PageSourceSearch

https://www.postcodelottery.ca/_next/static/chunks/pages/_app-0fe8…?dpl=dpl_8c9yAYXa9rYbVGtz3TNxSkMxv3Xc

js postcodelottery.ca collected 2026-10-08 17:35:40 UTC 1,709,119 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:groupwebsite-cpl":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f42976a6-f6f1-4dc1-92f9-f0f8dd2e6e2e",e._sentryDebugIdIdentifier="sentry-dbid-f42976a6-f6f1-4dc1-92f9-f0f8dd2e6e2e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{17:e=>{"use strict";e.exports=Object},656:e=>{"use strict";e.exports=function(e,t,r){if(!Array.isArray(e))return[];Array.isArray(r)||(r=[]);var n=e.map(function(e,r){return{criteria:t.map(function(t){return e[t]}),index:r,value:e}});return n.sort(function(e,t){for(var n=-1;++n<e.criteria.length;){var a=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,a=void 0!==t,i=null===t;if(!i&&e>t||n&&a||!r)return 1;if(!n&&e<t||i&&r||!a)return -1}return 0}(e.criteria[n],t.criteria[n]);if(a){if(n>=r.length)return a;if("desc"===r[n])return-a;return a}}return e.index-t.index}),n.map(function(e){return e.value})}},1788:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},2068:(e,t,r)=>{"use strict";var n=r(16638);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},2212:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},2270:(e,t,r)=>{"use strict";r.d(t,{d:()=>x});var n=r(6029),a=r(75155),i=r(44160),o=r(41834),s=r(12645),l=r(69106);function c(e){let t,r,i,c,u,d,h,p,f=(0,a.c)(20),{onClick:m,shown:g,total:v}=e,{locale:y}=(0,s.p)();if(f[0]!==y||f[1]!==g||f[2]!==v){let{counter:e,showMoreLabel:a}=(0,l.I)(y);r=a,f[8]===Symbol.for("react.memo_cache_sentinel")?(u=(0,n.jsx)(o.cGx,{className:"col-span-full mt-5 sm:-mx-4 md:mx-0"}),f[8]=u):u=f[8],t=o.fzL,i="col-span-full mx-auto -mt-9 mb-2 self-center bg-ds-white px-4 py-2 text-center md:-mt-11",c=e(g,v),f[0]=y,f[1]=g,f[2]=v,f[3]=t,f[4]=r,f[5]=i,f[6]=c,f[7]=u}else t=f[3],r=f[4],i=f[5],c=f[6],u=f[7];return f[9]!==t||f[10]!==i||f[11]!==c?(d=(0,n.jsx)(t,{className:i,children:c}),f[9]=t,f[10]=i,f[11]=c,f[12]=d):d=f[12],f[13]!==m||f[14]!==r?(h=(0,n.jsx)("div",{className:"col-span-full mx-4 -mt-6 mb-4 w-full max-sm:!w-auto sm:mx-auto sm:max-w-[320px]",children:(0,n.jsx)(o.$nd,{variant:"secondary",onClick:m,className:"!w-full",children:r})}),f[13]=m,f[14]=r,f[15]=h):h=f[15],f[16]!==u||f[17]!==d||f[18]!==h?(p=(0,n.jsxs)(n.Fragment,{children:[u,d,h]}),f[16]=u,f[17]=d,f[18]=h,f[19]=p):p=f[19],p}var u=r(81278),d=r(32988),h=r.n(d);let p={sm:"h-4 w-4",md:"h-6 w-6",lg:"h-8 w-8",xl:"h-10 w-10",xxl:"h-12 w-12",none:"hidden"},f=e=>{let t,r,i,o=(0,a.c)(7),{size:s,primaryFill:l,testId:c}=e,u=void 0===s?"sm":s,d=void 0===c?"LoadingSpinner":c;if(o[0]!==l||o[1]!==u){let e=null==l?void 0:l.replace("fill-","border-");t=h()(p[u],e,"inline-block animate-spin rounded-full border-4 border-solid border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"),o[0]=l,o[1]=u,o[2]=t}else t=o[2];return o[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.jsx)("span",{className:"!overflow-hidde !absolute !-m-px !h-px !w-px !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]",children:"Loading..."}),o[3]=r):r=o[3],o[4]!==t||o[5]!==d?(i=(0,n.jsx)("div",{className:t,role:"status","data-testid":d,children:r}),o[4]=t,o[5]=d,o[6]=i):i=o[6],i};var m=r(55729),g=r(81619),v=r(69430);let y=e=>{let t,r,i,o=(0,a.c)(8),{cacheKey:s,fetchFn:l,renderItem:c}=e;o[0]===Symbol.for("react.memo_cache_sentinel")?(t={suspense:!0},o[0]=t):t=o[0];let{data:u}=(0,v.u)(s,l,t);if(o[1]!==u.items||o[2]!==c){let e;o[4]!==c?(e=e=>c(e),o[4]=c,o[5]=e):e=o[5],r=u.items.map(e),o[1]=u.items,o[2]=c,o[3]=r}else r=o[3];return o[6]!==r?(i=(0,n.jsx)(n.Fragment,{children:r}),o[6]=r,o[7]=i):i=o[7],i},b=e=>{let t,r,i,s=(0,a.c)(4);return s[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,n.jsx)(o.Eg0,{level:"error",children:(0,n.jsx)(o.Kxk,{children:(0,n.jsx)(o.fzL,{children:"Could not obtain the list of stories."})})}),s[0]=t):t=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.jsx)("div",{className:"text-center sm:max-lg:translate-x-1/2 lg:col-start-2 lg:justify-self-center",children:(0,n.jsx)(f,{size:"xxl"})}),s[1]=r):r=s[1],s[2]!==e?(i=(0,n.jsx)(g.tH,{fallback:t,children:(0,n.jsx)(m.Suspense,{fallback:r,children:(0,n.jsx)(y,{...e})})}),s[2]=e,s[3]=i):i=s[3],i};function x(e){let t,r,o,s=(0,a.c)(18),{cacheKey:l,fetchFunc:d,renderItem:h,total:p}=e,{query:f,replace:m}=(0,u.useRouter)(),g=function(e,t){let{page:r="1"}=e;Array.isArray(r)&&(r=r[0]);let n=parseInt(r,10);return Math.min(Math.max(isNaN(n)?1:n,1),Math.max(Math.ceil(t/i.SO)-i.y9+1,1))}(f,p),v=i.y9+g-1;if(s[0]!==l||s[1]!==d||s[2]!==h||s[3]!==g){let e;s[5]!==l||s[6]!==d||s[7]!==h?(e=(e,t)=>{let r=t+i.y9+1;return(0,n.jsx)(b,{cacheKey:()=>"".concat(l(),"-").concat(r),fetchFn:()=>d(r),renderItem:h},t)},s[5]=l,s[6]=d,s[7]=h,s[8]=e):e=s[8],t=Array.from({length:g-1},e),s[0]=l,s[1]=d,s[2]=h,s[3]=g,s[4]=t}else t=s[4];return s[9]!==v||s[10]!==f||s[11]!==m||s[12]!==p||s[13]!==g?(r=v*i.SO<p&&(0,n.jsx)(c,{shown:Math.min(v*i.SO,p),total:p,onClick:()=>{m({query:{...f,page:g+1}},void 0,{scroll:!1})}}
1),s[9]=v,s[10]=f,s[11]=m,s[12]=p,s[13]=g,s[14]=r):r=s[14],s[15]!==t||s[16]!==r?(o=(0,n.jsxs)(n.Fragment,{children:[t,r]}),s[15]=t,s[16]=r,s[17]=o):o=s[17],o}},2299:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});let n=e=>{switch(e){case"nl-NL":return{goBack:"Terug",menuTitle:"Menu",login:"Log in",close:"Sluiten",open:"Open",help:"Zoeken",home:"Home",search:"Zoeken",menuHeaderGeneral:"Algemeen",createAccount:"Account aanmaken",listItemOne:"Zie of je hebt gewonnen en bekijk je prijzen",listItemTwo:"Doe mee om extra weggeefacties te winnen",dividerText:"of"};case"de-DE":return{goBack:"Zur\xfcck",menuTitle:"Men\xfc",login:"Einloggen",close:"Schlie\xdfen",open:"\xd6ffnen",help:"Hilfe",home:"Home",search:"Suchen",menuHeaderGeneral:"Allgemein",createAccount:"Anmelden",listItemOne:"Losnummer(n) einsehen",listItemTwo:"Pers\xf6nliche Daten \xe4ndern",dividerText:"oder"};case"sv-SE":return{goBack:"G\xe5 tillbaka",menuTitle:"Meny",login:"Logga in",logout:"Logga ut",close:"St\xe4nga",open:"\xd6ppna",help:"S\xf6k",home:"Hem",search:"S\xf6k",menuHeaderGeneral:"Hem",createAccount:"K\xf6p din lott",listItemOne:"Se om du har vunnit och se dina priser",listItemTwo:"G\xe5 med f\xf6r att vinna extra giveaways",dividerText:"eller"};case"no-NO":return{goBack:"G\xe5 tilbake",menuTitle:"Meny",login:"Logg inn",close:"Lukke",open:"\xc5pne",help:"Hjelp",home:"Hjem",search:"S\xf8k",menuHeaderGeneral:"Alminnelig",createAccount:"Opprett konto",listItemOne:"Se om du har vunnet og se dine premier",listItemTwo:"Bli med for \xe5 vinne ekstra giveaways",dividerText:"eller"};default:return{goBack:"Go back",menuTitle:"Menu",login:"Log in",close:"Close",open:"Open",help:"Help",home:"Home",search:"Search",menuHeaderGeneral:"General",createAccount:"Create account",listItemOne:"View your latest wins",listItemTwo:"Manage your account",listItemThree:"Play games",dividerText:"or"}}}},3140:(e,t,r)=>{"use strict";var n,a=r(17),i=r(74002),o=r(61924),s=r(44451),l=r(43339),c=r(69497),u=r(72206),d=r(7016),h=r(33923),p=r(91925),f=r(37025),m=r(75739),g=r(41605),v=r(41167),y=r(2068),b=Function,x=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},T=r(27654),E=r(3194),C=function(){throw new u},w=T?function(){try{return arguments.callee,C}catch(e){try{return T(arguments,"callee").get}catch(e){return C}}}():C,k=r(72562)(),S=r(50865),I=r(61429),P=r(92709),_=r(57379),R=r(95185),A={},N="u">typeof Uint8Array&&S?S(Uint8Array):n,D={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":k&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float16Array%":"u"<typeof Float16Array?n:Float16Array,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":A,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":k&&S?S(S([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&k&&S?S(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":T,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&k&&S?S(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&S?S(""[Symbol.iterator]()):n,"%Symbol%":k?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":w,"%TypedArray%":N,"%TypeError%":u,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":d,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet,"%Function.prototype.call%":R,"%Function.prototype.apply%":_,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":I,"%Math.abs%":h,"%Math.floor%":p,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":v,"%Math.sign%":y,"%Reflect.getPrototypeOf%":P};if(S)try{null.error}catch(e){var O=S(S(e));D["%Error.prototype%"]=O}var j=function e(t){var r;if("%AsyncFunction%"===t)r=x("async function () {}");else if("%GeneratorFunction%"===t)r=x("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=x("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&S&&(r=S(a.prototype))}return D[t]=r,r},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},M=r(14274),H=r(98516),F=M.call(R,Array.prototype.concat),q=M.call(_,Array.prototype.splice),B=M.call(R,String.prototype.replace),U=M.call(R,String.prototype.slice),W=M.call(R,RegExp.prototype.exec),V=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,z=function(e){var t=U(e,0,1),r=U(e,-1);if("%"===t&&"%"!==r)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var n=[];return B(e,V,function(e,t,r,a){n[n.length]=r?B(a,G,"$1"):t||e}),n},Y=function(e,t){var r,n=e;
1if(H(L,n)&&(n="%"+(r=L[n])[0]+"%"),H(D,n)){var a=D[n];if(a===A&&(a=j(n)),void 0===a&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=z(e),n=r.length>0?r[0]:"",a=Y("%"+n+"%",t),i=a.name,o=a.value,s=!1,l=a.alias;l&&(n=l[0],q(r,F([0,1],l)));for(var d=1,h=!0;d<r.length;d+=1){var p=r[d],f=U(p,0,1),m=U(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===m||"'"===m||"`"===m)&&f!==m)throw new c("property names with quotes must have matching quotes");if("constructor"!==p&&h||(s=!0),n+="."+p,H(D,i="%"+n+"%"))o=D[i];else if(null!=o){if(!(p in o)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(T&&d+1>=r.length){var g=T(o,p);o=(h=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:o[p]}else h=H(o,p),o=o[p];h&&!s&&(D[i]=o)}}return o}},3194:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},3328:(e,t,r)=>{"use strict";var n=r(23368);e.exports=function(e,t){var r=(t||[]).map(function(e){return e.split(":")});return e.reduce(function(e,t){var a=t.split(":"),i=n(r,function(e){return e[0]===a[0]});return a.length>1||!i?(e[0].push(a[0]),e[1].push(a[1])):(e[0].push(i[0]),e[1].push(i[1])),e},[[],[]])}},3527:()=>{},4085:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},4140:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4220:(e,t,r)=>{"use strict";r.d(t,{v:()=>v});var n=r(44160),a=r(23051),i=r(11933);let o=["/_configuration/","/content-items/","/archive/"],s=e=>"dv"!==e?["/testing/",...o]:o,l=e=>(null==e?void 0:e.component)==="EventCard",c=e=>{let t=e.salesEndDate||e.endDate;return t?new Date(t.replace(" ","T")+"Z").getTime():1/0},u=async e=>{let t="groupwebsite-".concat(e,"/"),r=Date.now(),o=[];for(let e=1;e<=4;e++){let h={starts_with:t,sort_by:"first_published_at:desc",per_page:25,page:e,filter_query:{component:{is:n.L3.DetailPage},"topicType.topic":{is:"event"}},excluding_slugs:s((0,i.Tr)()).map(e=>"groupwebsite-*".concat(e.slice(0,-1),"*")).join(",")},{stories:p}=await (0,a.$h)({params:h,ensureLatestVersion:!0,errorDigest:"get_expiring_events_stories"});for(let e of p){var u,d;let t=null==(d=e.content)||null==(u=d.introCard)?void 0:u[0];if(!l(t))continue;let n=c(t);n>r&&o.push({story:e,endDate:n})}if(o.length>=3||p.length<25)break}return o.sort((e,t)=>e.endDate-t.endDate).map(e=>{let{story:t}=e;return t})},d=e=>{var t,r,n;let a=null==(n=e.content)||null==(r=n.introCard)||null==(t=r[0])?void 0:t.header;return"string"==typeof a&&a.trim().length>0},h=async(e,t)=>{let r="groupwebsite-".concat(t,"/"),i=[],o=1;for(;i.length<3;){let t={starts_with:r,sort_by:"first_published_at:desc",per_page:5,page:o,filter_query:{component:{is:n.L3.DetailPage},"topicType.topic":{is:e}},excluding_slugs:"groupwebsite-*/testing*,groupwebsite-*/sandbox*,groupwebsite-*/archive*"},{stories:s}=await (0,a.$h)({params:t,ensureLatestVersion:!0,errorDigest:"get_latest_updated_stories"});if(0===s.length)break;for(let e of s)if(d(e)&&(i.push(e),i.length>=3))break;if(s.length<5)break;o++}return i},p=async(e,t,r)=>{let i={component:{is:n.L3.DetailPage},"topicType.categories":{in:t},"topicType.topic":{is:e}},{stories:o}=await (0,a.$h)({params:{starts_with:"groupwebsite-".concat(r,"/"),sort_by:"first_published_at:desc",per_page:5,filter_query:i,excluding_slugs:"groupwebsite-*/testing*,groupwebsite-*/sandbox*,groupwebsite-*/archive*"},ensureLatestVersion:!0,errorDigest:"get_most_recent_stories"});return o},f=e=>"RelatedStoriesSection"===e.component,m=e=>{var t,r,n;let a=null==(n=e.content)||null==(r=n.introCard)||null==(t=r[0])?void 0:t.header;return"string"==typeof a&&a.trim().length>0},g=async(e,t)=>{let{lottery:r,topic:n,category:a}=t;switch(e){case"expiringOffers":return u(r);case"latestUpdated":return n?h(n,r):void 0;default:if(!n)return;return a?p(n,a,r):h(n,r)}},v=async(e,t)=>{let r=null==e?void 0:e.filter(f);(null==r?void 0:r.length)&&await Promise.all(r.map(async e=>{let r=await g(e.mode,t);r&&(e.relatedStories=r.filter(m).slice(0,4).map(e=>({...e,content:{...e.content,_skipEnhancement:!0}})))}))}},4661:e=>{"use strict";var t=function(e){var t,n,a;return!!(t=e)&&"object"==typeof t&&(n=e,"[object RegExp]"!==(a=Object.prototype.toString.call(n))&&"[object Date]"!==a&&n.$$typeof!==r)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function a(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function i(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function o(e,t){try{return t in e}catch(e){return!1}}function s(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||a,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var c,u,d=Array.isArray(r);return d!==Array.isArray(e)?n(r,l):d?l.arrayMerge(e,r,l):(u={},(c=l).isMergeableObject(e)&&i(e).forEach(function(t){u[t]=n(e[t],c)}),i(r).forEach(function(t){o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(o(e,t)&&c.isMergeableObject(r[t])?u[t]=(function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s})(t,c)(e[t],r[t],c):u[t]=n(r[t],c))}),u)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return s(e,r,t)},{})},e.exports=s},4972:(e,t,r)=>{"use strict";r.d(t,{e:()=>s});var n=r(6029),a=r(75155),i=r(32988),o=r.n(i);let s=e=>{let t,r,i=(0,a.c)(5),{className:s,backgroundColor:l}=e;return l?(i[0]!==l||i[1]!==s?(t=o()("absolute left-1/2 right-1/2 -z-50 -mx-[50vw] w-screen",s,l),i[0]=l,i[1]=s,i[2]=t):t=i[2],i[3]!==t?(r=(0,n.jsx)("div",{className:t}),i[3]=t,i[4]=r):r=i[4],r):null}},5168:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});let n=(e,t)=>{switch("".concat(t,"_").concat(e)){case"spl_sv-SE":return{title:"Hoppsan! Ingen hemma…",errorText404:"",errorText500:"",description:"Den h\xe4r sidan verkar ha flyttat till en annan postkod.",buttonLabel:"Tillbaka",image:"/spl/404_SPL.jpg",imageMobile:"/spl/404_mobile_SPL.jpg",linksTitle:"H\xe4r \xe4r n\xe5gra l\xe4nkar som kanske kan hj\xe4lpa dig att hitta r\xe4tt:",links:[{label:"Vinster",link:"/vinster"},{label:"S\xe5 fungerar lotteriet",link:"/lotteriet"},{label:"V\xe4lg\xf6renhet",link:"/valgorenhet"},{label:"K\xf6p lott",link:"/lotteriet/kop-lotter"}]};case"nopl_no-NO":return{title:"Oissan! Har var det ingen hjemme…",errorText404:"Feil 404",errorText500:"Feil 500",description:"Denne siden ser ut til \xe5 ha flyttet til et annet postnummer.",buttonLabel:"Tilbake",image:"",imageMobile:"",linksTitle:"",links:[]};case"npl_nl-NL":return{title:"Oeps, er gaat wat mis",errorText404:"404 pagina",errorText500:"Fout 500",description:"We konden dit op dit moment niet laden. Ververs de pagina om het opnieuw te proberen. Blijft het probleem terugkomen? Probeer het later nog eens.",description404:"De door u opgevraagde pagina bestaat niet - of niet meer. Het kan ook zijn dat er een foutje zat in de link waarop u klikte.",buttonLabel:"Vorige pagina",image:"/npl/404_desktop.png",imageMobile:"",linksTitle:"Meest bezochte pagina's",links:[{label:"Cadeaukaart activeren",link:"/kaart-activeren"},{label:"Producten",link:"/producten"},{label:"Recepten",link:"/recepten"},{label:"Onze impact",link:"/onze-impact"}]};case"vl_nl-NL":return{title:"Oeps, er gaat wat mis",errorText404:"404 Pagina",errorText500:"",description:"We konden dit op dit moment niet laden. Ververs de pagina om het opnieuw te proberen. Blijft het probleem terugkomen? Probeer het later nog eens.",description404:"De door u opgevraagde pagina bestaat niet - of niet meer. Het kan ook zijn dat er een foutje zat in de link waarop u klikte.",buttonLabel:"Vorige pagina",image:"/vl/404_friendslottery.png",imageMobile:"/vl/404_mobile_friendslottery.png",linksTitle:"Meest bezochte pagina's",links:[{label:"Prijzen",link:"/prijzen"},{label:"Hoe werkt het",link:"/hoe-werkt-het"},{label:"VIP-KAART",link:"/vipkaart"}]};
1case"cpl_en-CA":return{title:"Page not found",errorText404:"Error 404",errorText500:"Error 500",description:"The requested page does not exist - or no longer exists.",buttonLabel:"Back to overview",image:"/cpl/404_desktop.png",imageMobile:"/cpl/404_mobile.png",linksTitle:"",links:[]};case"dpl_de-DE":return{title:"Seite nicht gefunden",errorText404:"Fehler 404",errorText500:"Fehler 500",description:"Es k\xf6nnte sein, dass diese Website nicht mehr existiert oder nun eine andere URL hat. Oder haben Sie sich vielleicht bei der Adresse vertippt?",buttonLabel:"Zur\xfcck",image:"/dpl/404_desktop.png",imageMobile:"/dpl/404_mobile.png",linksTitle:"Meistbesuchten Seiten",links:[{label:"Gewinne",link:"/gewinne"},{label:"So funktioniert's",link:"/so-funktionierts"},{label:"Projekte",link:"/guter-zweck"},{label:"Anmelden",link:"/anmelden"}]};default:return{title:"Page not found",errorText404:"Error 404",errorText500:"Error 500",description:"It could be that this website no longer exists or now has a different URL. Or maybe you mistyped the address?",buttonLabel:"Back",image:"/ppl/404_desktop.png",imageMobile:"/ppl/404_mobile.png",linksTitle:"Most visited pages",links:[{label:"Prizes",link:"/prizes"},{label:"How it works",link:"/how-it-works"},{label:"Charities",link:"/charities"}]}}}},5387:(e,t,r)=>{"use strict";var n=r(24245),a=Object.prototype.hasOwnProperty,i=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e,t,r,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1){if(n&&t.throwOnLimitExceeded)for(var a=0,i=e.indexOf(",");i>-1;){if((a+=1)>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");i=e.indexOf(",",i+1)}return e.split(",")}if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t){var r={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=t.parameterLimit===1/0?void 0:t.parameterLimit,u=l.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==c?c+1:c);if(t.throwOnLimitExceeded&&void 0!==c&&u.length>c)throw RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var d=-1,h=t.charset;if(t.charsetSentinel)for(p=0;p<u.length;++p)0===u[p].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[p]?h="utf-8":"utf8=%26%2310003%3B"===u[p]&&(h="iso-8859-1"),d=p,p=u.length);for(p=0;p<u.length;++p)if(p!==d){var p,f,m,g=u[p],v=g.indexOf("]="),y=-1===v?g.indexOf("="):v+1;if(-1===y?(f=t.decoder(g,o.decoder,h,"key"),m=t.strictNullHandling?null:""):null!==(f=t.decoder(g.slice(0,y),o.decoder,h,"key"))&&(m=n.maybeMap(s(g.slice(y+1),t,i(r[f])?r[f].length:0,-1===g.indexOf("[]=")),function(e){return t.decoder(e,o.decoder,h,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=String(m).replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(m=i(m)?[m]:m),t.comma&&i(m)&&m.length>t.arrayLimit&&(m=n.combine([],m,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded)),null!==f){var b=a.call(r,f);b&&("combine"===t.duplicates||g.indexOf("[]=")>-1)?r[f]=n.combine(r[f],m,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded):b&&"last"!==t.duplicates||(r[f]=m)}}return r},c=function(e,t,r,a){var i=0;if(e.length>0&&"[]"===e[e.length-1]){var o=e.slice(0,-1).join("");i=Array.isArray(t)&&t[o]?t[o].length:0}for(var l=a?t:s(t,r,i),c=e.length-1;c>=0;--c){var u,d=e[c];if("[]"===d&&r.parseArrays)u=n.isOverflow(l)?l:r.allowEmptyArrays&&(""===l||r.strictNullHandling&&null===l)?[]:n.combine([],l,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded);else{u=r.plainObjects?{__proto__:null}:{};var h="["===d.charAt(0)&&"]"===d.charAt(d.length-1)?d.slice(1,-1):d,p=r.decodeDotInKeys?h.replace(/%2E/g,"."):h,f=parseInt(p,10),m=!isNaN(f)&&d!==p&&String(f)===p&&f>=0&&r.parseArrays;if(r.parseArrays||""!==p)if(m&&f<r.arrayLimit)(u=[])[f]=l;else if(m&&r.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");
1else m?(u[f]=l,n.markOverflow(u,f)):"__proto__"!==p&&(u[p]=l);else u={0:l}}l=u}return l},u=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&a.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=[],i=r.indexOf("["),o=i>=0?r.slice(0,i):r;if(o){if(!t.plainObjects&&a.call(Object.prototype,o)&&!t.allowPrototypes)return;n[n.length]=o}for(var s=r.length,l=i,c=0;l>=0&&c<t.depth;){for(var u=1,d=l+1,h=-1;d<s&&h<0;){var p=r.charCodeAt(d);91===p?u+=1:93===p&&0==(u-=1)&&(h=d),d+=1}if(h<0)return n[n.length]="["+r.slice(l)+"]",n;var f=r.slice(l,h+1),m=f.slice(1,-1);if(!t.plainObjects&&a.call(Object.prototype,m)&&!t.allowPrototypes)return;n[n.length]=f,c+=1,l=r.indexOf("[",h+1)}if(l>=0){if(!0===t.strictDepth)throw RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");n[n.length]="["+r.slice(l)+"]"}return n},d=function(e,t,r,n){if(e){var a=u(e,r);if(a)return c(a,t,r,n)}},h=function(e){if(!e)return o;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?o.charset:e.charset,r=void 0===e.duplicates?o.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:o.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:o.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}};e.exports=function(e,t){var r=h(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var a="string"==typeof e?l(e,r):e,i=r.plainObjects?{__proto__:null}:{},o=Object.keys(a),s=0;s<o.length;++s){var c=o[s],u=d(c,a[c],r,"string"==typeof e);i=n.merge(i,u,r)}return!0===r.allowSparse?i:n.compact(i)}},5627:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});let n=(e,t)=>{switch("".concat(t,"_").concat(e)){case"npl_nl-NL":case"vl_nl-NL":return{home:"",back:"Terug"};case"dpl_de-DE":return{home:"Startseite",back:"Zur\xfcck"};case"spl_sv-SE":return{home:"Hem",back:"Tillbaka"};case"nopl_no-NO":return{home:"Hjem",back:"Tilbake"};default:return{home:"Home",back:"Back",shouldTitleCase:!0,customLabelMappings:{faq:"Frequently Asked Questions (FAQ)"}}}}},5747:e=>{"use strict";e.exports="3.29.3"},5813:(e,t,r)=>{"use strict";var n=r(95868),a=r(16996),i=r(50615).escapeFacetValue,o=r(70140),s=r(6536),l=r(78509),c=r(29377),u=r(22299),d=r(29753),h=r(79298),p=r(21385),f=r(91043),m=r(24029),g=r(26602);function v(e,t,r,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.setClient(e);var a=r||{};a.index=t,this.state=p.make(a),this.recommendState=new u({params:a.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryId
1Received=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=n,this._recommendCache={}}function y(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function b(){return this.state.page}o(v,n),v.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},v.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},v.prototype.searchWithComposition=function(){return this._runComposition({onlyWithDerivedHelpers:!0}),this},v.prototype.recommend=function(){return this._recommend(),this},v.prototype.getQuery=function(){var e=this.state;return h._getHitsSearchParams(e)},v.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=h._getQueries(r.index,r),a=this;return(this._currentNbQueries++,this.emit("searchOnce",{state:r}),t)?void this.client.search(n).then(function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new f(r,e.results),r)}).catch(function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,r)}):this.client.search(n).then(function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new f(r,e.results),state:r,_originalResponse:e}},function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e})},v.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),a=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:c(h._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),i="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(i);var o=this.client.initIndex(n.index);if("function"!=typeof o.findAnswers)throw Error(i);return o.findAnswers(n.query,e.queryLanguages,a)},v.prototype.searchForFacetValues=function(e,t,r,n){var a,o="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,s="function"==typeof this.client.initIndex;if(!o&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var l=this.state.setQueryParameters(n||{}),c=l.isDisjunctiveFacet(e),u=h.getSearchForFacetQuery(e,t,r,l);this._currentNbQueries++;var d=this;o?a=this.client.searchForFacetValues([{indexName:l.index,params:u}]):s?a=this.client.initIndex(l.index).searchForFacetValues(u):(delete u.facetName,a=this.client.search([{type:"facet",facet:e,indexName:l.index,params:u}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:l,facet:e,query:t});var p=this.lastResults&&this.lastResults.index===l.index&&this.lastResults.renderingContent&&this.lastResults.renderingContent.facetOrdering&&this.lastResults.renderingContent.facetOrdering.values&&this.lastResults.renderingContent.facetOrdering.values[e]&&this.lastResults.renderingContent.facetOrdering.values[e].hide||[];return a.then(function(t){return d._currentNbQueries--,0===d._currentNbQueries&&d.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits=t.facetHits.reduce(function(t,r){return p.indexOf(r.value)>-1||(r.escapedValue=i(r.value),r.isRefined=c?l.isDisjunctiveFacetRefined(e,r.escapedValue):l.isFacetRefined(e,r.escapedValue),t.push(r)),t},[]),t},function(e){throw d._currentNbQueries--,0===d._currentNbQueries&&d.emit("searchQueueEmpty"),e})},v.prototype.searchForCompositionFacetValues=function(e,t,r,n){if("function"!=typeof this.client.searchForFacetValues)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues");var a,o=this.state.setQueryParameters(n||{}),s=o.isDisjunctiveFacet(e);this._currentNbQueries++;var l=this;return a=this.client.searchForFacetValues({compositionID:o.index,facetName:e,searchForFacetValuesRequest:{params:{query:t,maxFacetHits:r,searchQuery:h._getCompositionHitsSearchParams(o)}}}
vendor: 8,568 bytes, line 1
1),this.emit("searchForFacetValues",{state:o,facet:e,query:t}),a.then(function(t){return l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),(t=t.results[0]).facetHits.forEach(function(t){t.escapedValue=i(t.value),t.isRefined=s?o.isDisjunctiveFacetRefined(e,t.escapedValue):o.isFacetRefined(e,t.escapedValue)}),t},function(e){throw l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),e})},v.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},v.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},v.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},v.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},v.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},v.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},v.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},v.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},v.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},v.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},v.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},v.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},v.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},v.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},v.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},v.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},v.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},v.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},v.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},v.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},v.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},v.prototype.setCurrentPage=y,v.prototype.setPage=y,v.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},v.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},v.prototype.setState=function(e){return this._change({state:p.make(e),isPageReset:!1}),this},v.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new p(e),this},v.prototype.hasRefinements=function(e){return!!l(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},v.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},v.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},v.prototype.hasTag=function(e){return this.state.isTagRefined(e)},v.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},v.prototype.getIndex=function(){return this.state.index},v.prototype.getCurrentPage=b,v.prototype.getPage=b,v.prototype.getTags=function(){return this.state.tagRefinements},v.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach(function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})}),t},v.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},v.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},v.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=h._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var a=this.derivedHelpers.map(function(e){var n=e.getModifiedState(t),a=n.index?h._getQueries(n.index,n):[];return r.push({state:n,queriesCount:a.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),a}),i=Array.prototype.concat.apply(n,a),o=this._queryId++;if(this._currentNbQueries++,!i.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,o));try{this.client.search(i).then(this._dispatchAlgoliaResponse.bind(this,r,o)).catch(this._dispatchAlgoliaError.bind(this,o))}catch(e){this.emit("error",{error:e})}},v.prototype._runComposition=function(){var e=this.state,t=[],r=this.derivedHelpers.map(function(r){var n=r.getModifiedState(e),a=h._getCompositionQueries(n);return t.push({state:n,helper:r}),r.emit("search",{state:n,results:r.lastResults}),a}),n=Array.prototype.concat.apply([],r),a=this._queryId++;if(this._currentNbQueries++,!n.length)return Promise.resolve({results:[]}
1).then(this._dispatchAlgoliaResponse.bind(this,t,a));if(n.length>1)throw Error("Only one query is allowed when using a composition.");var i=n[0];try{this.client.search(i).then(this._dispatchAlgoliaResponse.bind(this,t,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(e){this.emit("error",{error:e})}},v.prototype._recommend=function(){var e=this.state,t=this.recommendState,r=this.getIndex(),n=[{state:t,index:r,helper:this}],a=t.params.map(function(e){return e.$$id});this.emit("fetch",{recommend:{state:t,results:this.lastRecommendResults}});var i=this._recommendCache,o=this.derivedHelpers.map(function(t){var r=t.getModifiedState(e).index;if(!r)return[];var o=t.getModifiedRecommendState(new u);return n.push({state:o,index:r,helper:t}),a=Array.prototype.concat.apply(a,o.params.map(function(e){return e.$$id})),t.emit("fetch",{recommend:{state:o,results:t.lastRecommendResults}}),o._buildQueries(r,i)}),s=Array.prototype.concat.apply(this.recommendState._buildQueries(r,i),o);if(0!==s.length){if(s.length>0&&void 0===this.client.getRecommendations)return void console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");var l=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(s).then(this._dispatchRecommendResponse.bind(this,l,n,a)).catch(this._dispatchRecommendError.bind(this,l))}catch(e){this.emit("error",{error:e})}}},v.prototype._dispatchAlgoliaResponse=function(e,t,r){var n=this;if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var a=r.results.slice(),i=Object.keys(r).reduce(function(e,t){return"results"!==t&&(e[t]=r[t]),e},{});Object.keys(i).length<=0&&(i=void 0),e.forEach(function(e){var t=e.state,r=e.queriesCount,o=e.helper,s=void 0!==r?a.splice(0,r):a;if(!t.index)return void o.emit("result",{results:null,state:t});if(s.length>0&&s[0].feedID){var l=s.map(function(e){var r=new f(t,[e],n._searchResultsOptions);return void 0!==i&&(r._rawContent=i),r});o.lastResults=new f(t,[s[0]],n._searchResultsOptions),o.lastResults.feeds=l,void 0!==i&&(o.lastResults._rawContent=i)}else o.lastResults=new f(t,s,n._searchResultsOptions),void 0!==i&&(o.lastResults._rawContent=i);o.emit("result",{results:o.lastResults,state:t})})}},v.prototype._dispatchRecommendResponse=function(e,t,r,n){if(!(e<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty");var a=this._recommendCache,i={};r.filter(function(e){return void 0===a[e]}).forEach(function(e,t){i[e]||(i[e]=[]),i[e].push(t)}
1),Object.keys(i).forEach(function(e){var t=i[e],o=n.results[t[0]];if(1===t.length){a[e]=o;return}a[e]=Object.assign({},o,{hits:m(r,t.map(function(e){return n.results[e].hits}))})});var o={};r.forEach(function(e){o[e]=a[e]}),t.forEach(function(e){var t=e.state,r=e.helper;e.index?(r.lastRecommendResults=new d(t,o),r.emit("recommend:result",{recommend:{results:r.lastRecommendResults,state:t}})):r.emit("recommend:result",{results:null,state:t})})}},v.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},v.prototype._dispatchRecommendError=function(e,t){e<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty"))},v.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},v.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},v.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},v.prototype._recommendChange=function(e){var t=e.state;t!==this.recommendState&&(this.recommendState=t,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},v.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},v.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.client=e),this},v.prototype.getClient=function(){return this.client},v.prototype.derive=function(e,t){var r=new a(this,e,t);return this.derivedHelpers.push(r),r},v.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},v.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=v},6536:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var r=1,n=arguments.length;r<n;r++){var a=arguments[r];t(a)&&function e(r,n){if(r===n)return r;for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a)&&"__proto__"!==a&&"constructor"!==a){var i=n[a],o=r[a];(void 0===o||void 0!==i)&&(t(o)&&t(i)?r[a]=e(o,i):r[a]="object"==typeof i&&null!==i?e(Array.isArray(i)?[]:{},i):i)}return r}(e,a)}return e}},6687:(e,t,r)=>{"use strict";r.d(t,{I:()=>c});var n=r(6929),a=r(7201),i=r(15819);let o=/[A-Z]/g,s=/-[a-z]/g,l=/^data[-\w.:]+$/i;function c(e,t){let r=(0,i.S)(t),c=t,h=a.R;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&l.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(s,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!s.test(e)){let r=e.replace(o,u);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}h=n.E}return new h(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},6772:(e,t,r)=>{e.exports=r(3803)},6929:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var n=r(7201),a=r(92650);let i=Object.keys(a);class o extends n.R{constructor(e,t,r,n){let o=-1;if(super(e,t),function(e,t,r){r&&(e[t]=r)}(this,"space",n),"number"==typeof r)for(;++o<i.length;){const e=i[o];!function(e,t,r){r&&(e[t]=r)}(this,i[o],(r&a[e])===a[e])}}}o.prototype.defined=!0},7016:e=>{"use strict";e.exports=URIError},7201:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});class n{constructor(e,t){this.attribute=t,this.property=e}}n.prototype.attribute="",n.prototype.booleanish=!1,n.prototype.boolean=!1,n.prototype.commaOrSpaceSeparated=!1,n.prototype.commaSeparated=!1,n.prototype.defined=!1,n.prototype.mustUseProperty=!1,n.prototype.number=!1,n.prototype.overloadedBoolean=!1,n.prototype.property="",n.prototype.spaceSeparated=!1,n.prototype.space=void 0},7718:(e,t,r)=>{"use strict";function n(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}r.d(t,{E:()=>n})},7978:e=>{"use strict";e.exports="u">typeof Reflect&&Reflect&&Reflect.apply},8973:(e,t,r)=>{"use strict";r.d(t,{M1:()=>ee,TJ:()=>e6});var n,a,i,o=r(6029),s=r(75155),l=r(97398),c=r(94534),u=r(55729),d=r(78269);let h="SiteWideConfig",p="[sitewideconfig live preview]";function f(e){console.warn(p,"could not enhance bridged content",e)}var m=r(51652);function g(e){let t,r=(0,s.c)(3),{config:n,children:a}=e;return r[0]!==a||r[1]!==n?(t=(0,o.jsx)(m.K.Provider,{value:n,children:a}),r[0]=a,r[1]=n,r[2]=t):t=r[2],t}var v=r(13119);function y(e){let t,r=(0,s.c)(3),{story:n,children:a}=e;return r[0]!==a||r[1]!==n?(t=(0,o.jsx)(v.C.Provider,{value:n,children:a}),r[0]=a,r[1]=n,r[2]=t):t=r[2],t}let b=e=>{let t,r,n=(0,s.c)(6),{children:a,pageProps:i}=e,l=(e=>{var t;let r,n,a=(0,s.c)(2),[i,o]=(0,u.useState)(null);return a[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{if(!window.location.search.includes("_storyblok"))return;let e=!0,t=null,r=r=>{r!==t&&(t=r,(0,d.TL)(r).catch(f).finally(()=>{e&&r===t&&o({...r})}))},n=(e=>{if(window.StoryblokBridge)return e(),()=>void 0;let t=Date.now(),r=window.setInterval(()=>{if(window.StoryblokBridge){window.clearInterval(r),e();return}Date.now()-t>15e3&&(window.clearInterval(r),console.warn(p,"bridge script never became available"))},100);return()=>window.clearInterval(r)})(()=>{new window.StoryblokBridge().on(["input"],e=>{var t;let n=null==e||null==(t=e.story)?void 0:t.content;(null==n?void 0:n.component)===h&&r(n)})}),a=e=>{var t;if(!(e=>{try{return new URL(e).hostname.endsWith(".storyblok.com")}catch(e){return!1}})(e.origin))return;let n=(e=>{if("object"==typeof e&&null!==e)return e;if("string"!=typeof e)return null;try{return JSON.parse(e)}catch(e){return null}})(e.data);if((null==n?void 0:n.action)!=="input")return;let a=null==(t=n.story)?void 0:t.content;(null==a?void 0:a.component)===h&&r(a)};return window.addEventListener("message",a),()=>{e=!1,n(),window.removeEventListener("message",a)}},n=[],a[0]=r,a[1]=n):(r=a[0],n=a[1]),(0,u.useEffect)(r,n),null!=(t=null!=i?i:null==e?void 0:e.content)?t:null})(i.config);return n[0]!==a||n[1]!==l?(t=(0,o.jsx)(g,{config:l,children:a}),n[0]=a,n[1]=l,n[2]=t):t=n[2],n[3]!==i.story||n[4]!==t?(r=(0,o.jsx)(y,{story:i.story,children:t}),n[3]=i.story,n[4]=t,n[5]=r):r=n[5],r},x=e=>{var t;let r,n,a,i=(0,s.c)(12),{children:u,config:d,pageProps:h}=e,p=null==(t=d.lotteryNav)?void 0:t.excludedSearchTopics;return i[0]!==u||i[1]!==h?(r=(0,o.jsx)(b,{pageProps:h,children:u}),i[0]=u,i[1]=h,i[2]=r):r=i[2],i[3]!==d.environment||i[4]!==d.lottery||i[5]!==r?(n=(0,o.jsx)(c.J0,{lottery:d.lottery,environment:d.environment,children:r}),i[3]=d.environment,i[4]=d.lottery,i[5]=r,i[6]=n):n=i[6],i[7]!==d.locale||i[8]!==d.lottery||i[9]!==p||i[10]!==n?(a=(0,o.jsx)(l.n,{locale:d.locale,lottery:d.lottery,excludedSearchTopics:p,children:n}),i[7]=d.locale,i[8]=d.lottery,i[9]=p,i[10]=n,i[11]=a):a=i[11],a};
1var T=r(44160),E=r(12645),C=r(93128),w=r(49614),k=r(24486),S=r(32988),I=r.n(S),P=r(88702),_=r(18794),R=r(21091),A=r(41834);let N=e=>void 0!==e,D=e=>null==e||""===e,O=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every(D)},j={phone:A.kKJ,messageChatSquare:A.Ap7},L=e=>{var t;let r=null==(t=e.image)?void 0:t.filename;if(r)return{imageSrc:r,imageAlt:e.imageAlt||"",href:(0,_.n)(e.href),className:e.className,caption:e.caption||void 0}},M=e=>(null==e?void 0:e.map(L).filter(N))||[],H=function(e){var t,r,n;let{trustPilotConfig:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{footerTitles:(e=>{var t;let r=null==(t=e.footerTitles)?void 0:t[0];if(!r)return;let n=r.footerCertificatesTitle,a=r.footerPaymentMethodsTitle,i=r.footerSocialMediaTitle,o=r.footerContactTitle,s=r.footerGambleAwareTitle;if(!O(n,a,i,o,s))return{footerCertificatesTitle:n,footerPaymentMethodsTitle:a,footerSocialMediaTitle:i,footerContactTitle:o,footerGambleAwareTitle:s}})(e),footerText:(e=>{var t;let r=null==(t=e.footerText)?void 0:t[0];if(!r)return;let n=r.footerContactBodyTop||"",a=r.footerContactBodyBottom||"";if(n||a)return{footerContactBodyTop:n,footerContactBodyBottom:a}})(e),footerDataCertificates:M(e.footerDataCertificates),footerDataPaymentMethods:M(e.footerDataPaymentMethods),footerSocialMediaData:(null==(t=e.footerSocialMediaData)?void 0:t.map(e=>{if(e.type)return{type:e.type,href:(0,_.n)(e.href),alt:e.alt||""}}).filter(N))||[],footerContactData:(null==(r=e.footerContactData)?void 0:r.map(e=>{let t=e.icon?j[e.icon]:void 0;return{href:(0,_.n)(e.href),label:e.label||"",icon:t}}).filter(e=>e.label||e.href))||[],footerGambleAware:((e,t)=>{let r=M(e.footerGambleAware),n=e.showTrustPilotWidget&&t;if(!n&&0===r.length)return;let a=[];return n&&a.push((0,u.createElement)(w.Tj,{footerVariant:!0,config:t})),a.push(...r),a})(e,a),footerAdditionalLinks:(null==(n=e.footerAdditionalLinks)?void 0:n.map(e=>{var t,r;let n=null==(t=e.linkHref)?void 0:t.target;return{title:e.linkLabel||"",href:(null==(r=(0,R.M)(e))?void 0:r.href)||"",...n&&{target:n}}}))||[],subFooter:(e=>{var t,r,n;let a=null==(r=e.subFooter)?void 0:r[0];if(!a)return;let i=a.infoAge,o=a.infoCharity,s=a.copyrightInfo,l=a.addressInfo,c=a.licenseInfo,u=null!=(t=null==(n=a.image)?void 0:n.filename)?t:void 0;if(!O(i,o,s,l,c,u))return{infoAge:i,infoCharity:o,copyrightInfo:s,addressInfo:l,licenseInfo:c,image:u}})(e),footerNewsletter:(e=>{var t;let r=null==(t=e.footerNewsletter)?void 0:t[0];if(!r)return;let n=r.title,a=r.description,i=r.buttonLabel,o=(0,_.n)(r.href);if(!O(n,a,i,o))return{title:n,description:a,buttonLabel:i,href:o}})(e)}},F=[T.L3.HomePage,T.L3.HubPage,T.L3.ResultsPageTemplate,T.L3.ResultsPage],q=[T.L3.HomePage,T.L3.HubPage],B=e=>null==e||""===e||!!Array.isArray(e)&&0===e.length,U=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),W=(e,t)=>{if(!t)return e;let r={...e};for(let[n,a]of Object.entries(t)){if(B(a))continue;let t=e[n];r[n]=U(a)&&U(t)?W(t,a):a}return r},V=e=>{var t,r,n,a,i,s,l,c,d,h,p,f,g,v,y,b,x;let{children:T,pageName:S,navigationVariations:A={},navigationConfig:N,topNavVariant:D,withBottomPadding:O=!0}=e,j=(0,u.useRef)(null),{topNav:L,footer:M,stickyFooter:B}=(0,P.E)(),{locale:U,lottery:V}=(0,E.p)(),{isLoggedIn:G}=(0,C.E)(),{searchResultsLink:z,popularPages:Y,footerBottom:$,trustPilotConfig:Q}=(0,m.q)(),K=((e,t)=>{if(!e)return;let{trustPilotId:r,trustPilotURL:n}=e;return{...{id:r,href:(0,_.n)(n)},locale:t}})(null==Q?void 0:Q[0],U),{TopNavigationMobile:Z,smartBanner:X,extraFooterColumn:J,extraFooterComponents:ee,conditionText:et,footerBottomData:er,getFooterBottomData:en}=A,ea=null==$?void 0:$[0],ei=ea?H(ea,{trustPilotConfig:K}):void 0,eo=W(null!=(t=null!=er?er:null==en?void 0:en({trustPilotConfig:K}))?t:{},ei),es="function"==typeof J?J(eo):J,{additionalMobileLinks:el,logoHref:ec,logo:eu,logoAltText:ed,items:eh,isTopNavAlwaysVisible:ep,isSearchEnabled:ef,myAccountFavouritesLink:em,myAccountLink:eg,myAccountIsLoggedInLink:ev,salesFlowLink:ey,isFixed:eb,withCta:ex}=L,eT=(0,R.M)(em),eE=(0,R.M)(eg),eC=(0,R.M)(ev),ew={config:{locale:U,lottery:V,isLoggedIn:G,popularPages:Y,searchResultsLink:{href:(0,_.n)(z)}},headerData:{additionalMobileLinks:el,logo:{href:(0,k.b)(null!=ec?ec:""),src:eu,alt:ed},topNav:{items:eh}
1,isSearchEnabled:ef,isTopNavAlwaysVisible:ep,isBurgerMenuOrderLast:null==N?void 0:N.isBurgerMenuOrderLast,myAccountFavouritesLink:eT?{name:null!=(r=eT.label)?r:"",link:eT.href||"/"}:void 0,myAccountLink:eE?{name:eE.label,link:eE.href||"/"}:void 0,myAccountIsLoggedInLink:eC?{name:null!=(n=null==eC?void 0:eC.label)?n:"",link:(null==eC?void 0:eC.href)||"/"}:void 0,salesFlowLink:ey.label?{name:ey.label,shortName:ey.shortLabel,supportingText:ey.supportingText,buttonLayout:ey.buttonLayout,link:ey.link,hideOnMobile:ey.hideOnMobile,hideLinkOnDesktop:ey.hideLinkOnDesktop,withAnalytics:ey.withAnalytics}:void 0,alwaysShowCta:null!=(a=null==N||null==(s=N.stickyFooterOverride)?void 0:s.alwaysShown)?a:!!S&&!q.includes(S),hasStickyCta:S&&F.includes(S),stickyFooter:null!=(i=null==N||null==(l=N.stickyFooterOverride)?void 0:l.stickFooter)?i:B,skipLink:{focusTo:j,text:(e=>{switch(e){case"de-DE":return"Zum Hauptinhalt springen";case"nl-NL":return"Ga naar de hoofdinhoud";case"en-GB":default:return"Skip to main content";case"sv-SE":return"Hoppa till huvudinneh\xe5llet";case"no-NO":return"G\xe5 til hovedinnhold"}})(U)},TopNavigationMobile:Z,smartBanner:X,isFixed:eb,withCta:ex},footerData:{footerSections:M.footerSections.map(e=>{var t;return{...e,items:null==(t=e.items)?void 0:t.map(e=>({...e,...(0,R.M)(e)}))}}),footerBottomData:eo,extraFooterColumn:es,extraFooterComponents:ee,conditionText:null!=et?et:M.conditionText}},ek=I()({"pb-6 md:pb-10":O,"pt-12 md:pt-16":"showNone"!==D}),eS=(0,o.jsx)("main",{role:"main",className:ek,tabIndex:-1,ref:j,children:T}),eI={...ew.config,popularPages:null==(c=ew.config.popularPages)?void 0:c.map(e=>({...e,label:e.linkLabel||e.label,link:e.linkHref||e.link}))};switch(D){case"showNone":return(0,o.jsx)(w._B,{footerData:ew.footerData,config:eI,children:eS});case"showOnlyLogo":return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(w.Y9,{headerData:{logo:{href:null!=(d=ew.headerData.logo.href)?d:"",src:null!=(h=ew.headerData.logo.src)?h:"",alt:null!=(p=ew.headerData.logo.alt)?p:""},isSearchEnabled:!1,isTopNavAlwaysVisible:ep,additionalMobileLinks:[],topNav:{items:[]},TopNavigationMobile:Z,smartBanner:X},config:eI}),eS]});case"showOnlyLogoAndFooter":return(0,o.jsx)(w._B,{footerData:ew.footerData,config:eI,headerData:{logo:{href:null!=(f=ew.headerData.logo.href)?f:"",src:null!=(g=ew.headerData.logo.src)?g:"",alt:null!=(v=ew.headerData.logo.alt)?v:""},isSearchEnabled:!1,isTopNavAlwaysVisible:ep,additionalMobileLinks:[],topNav:{items:[]},TopNavigationMobile:Z,smartBanner:X},children:eS});case"showFullNav":return(0,o.jsx)(w._B,{headerData:{...ew.headerData,logo:{href:null!=(y=ew.headerData.logo.href)?y:"",src:null!=(b=ew.headerData.logo.src)?b:"",alt:null!=(x=ew.headerData.logo.alt)?x:""}},footerData:ew.footerData,config:eI,children:eS})}};var G=r(29143);let z=e=>{let{manifestUrl:t="/manifest.json",workerUrl:r="/serviceWorker.js"}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("link",{rel:"manifest",href:t}),(0,o.jsx)("meta",{httpEquiv:"Service-Worker-Allowed",content:"/"}),(0,o.jsx)("script",{id:"serviceWorker",type:"text/javascript",dangerouslySetInnerHTML:{__html:'\nif ("serviceWorker" in navigator) window.addEventListener(\n"load", () => navigator.serviceWorker.register("'.concat(r,'",{scope:"/"}).catch(err => console.info(err))\n);')}})]})},Y={vl:[],npl:[],cpl:[],nopl:[],ppl:[],dpl:[],spl:[]},$=e=>{let t,r,n=(0,s.c)(4),{lottery:a}=e,i=Y[a];return n[0]!==i?(t=i.map(Q),n[0]=i,n[1]=t):t=n[1],n[2]!==t?(r=(0,o.jsx)("div",{id:"vwo-flags-container",children:t}),n[2]=t,n[3]=r):r=n[3],r};function Q(e){return(0,o.jsx)("div",{id:"".concat(e),className:"invisible h-0"},e)}var K=r(95669),Z=r.n(K),X=r(6772),J=r.n(X);r(21637),r(32039),r(49564),r(98805),r(3527);let ee=e=>{var t,r,n,a,i;let l,u,d,h,p,f,m,g,v,y,b,T,E,C,w,k,S,I,P,_,R=(0,s.c)(85),{Component:N,pageProps:D,config:O,headScripts:j,bodyScripts:L,locale:M,navigationVariations:H,topNavVariant:F,includeVwoSplitTest:q,suppressConsentForAppRequests:B}=e,U=void 0===F?"showFullNav":F,W=void 0===q||q;R[0]!==O.environment||R[1]!==O.locale||R[2]!==O.lottery?(n=O.locale,a=O.environment,l={brand:((e,t)=>{switch(e){case"de-DE":return"de-dpl";case"en-GB":return"gb-ppl";case"nl-NL":if("vl"===t)return"nl-vl";return"nl-npl";case"no-NO":return"no-npl";case"sv-SE":return"se-spl";case"fr-CA":case"en-CA":return"ca-cpl";default:throw Error("Unsupported locale: ".concat(e))}})(n,O.lottery),name:"retail",environment:a,language:n,platform:"web",architecture:"spa",framework:"storyblok",scope:"public",build_version:null!=(i=G.env.NEXT_PUBLIC_CI_COMMIT_SHA)?i:""},R[0]=O.environment,R[1]=O.locale,R[2]=O.lottery,R[3]=l):l=R[3];let Y=l,Q=(0,c.KZ)(),K=void 0!==B&&B&&Q,X=!!D.story;R[4]!==O.lottery||R[5]!==W?(u=W?(0,o.jsx)($,{lottery:O.lottery}):void 0,R[4]=O.lottery,R[5]=W,R[6]=u):u=R[6];let J=u;R[7]!==O.environment||R[8]!==O.tagManagerScriptUrl||R[9]!==Y?(d=(0,o.jsx)(c.d6,{environment:O.environment,tagManagerScriptUrl:O.tagManagerScriptUrl,plgGtmConfig:Y}),R[7]=O.environment,R[8]=O.tagManagerScriptUrl,R[9]=Y,R[10]=d):d=R[10],R[11]!==O.firstPartyProxy||R[12]!==O.userCentricsID||R[13]!==K?(h=O.userCentricsID&&!K&&(0,o.jsx)(c.TM,{userCentricsID:O.userCentricsID,firstPartyProxy:O.firstPartyProxy}),R[11]=O.firstPartyProxy,R[12]=O.userCentricsID,R[13]=K,R[14]=h):h=R[14],R[15]!==O.consentNeededForTracking||R[16]!==O.consentStrategy||R[17]!==O.hotjarId?(p=O.hotjarId&&(0,o.jsx)(c.zJ,{id:O.hotjarId,consentNeeded:O.consentNeededForTracking,consentStrategy:O.consentStrategy}),R[15]=O.consentNeededForTracking,R[16]=O.consentStrategy,R[17]=O.hotjarId,R[18]=p):p=R[18],R[19]!==O.consentNeededForTracking||R[20]!==O.consentStrategy||R[21]!==O.vwoId?(f=O.vwoId&&(0,o.jsx)(c.Nz,{accountId:O.vwoId,consentNeeded:O.consentNeededForTracking,consentStrategy:O.consentStrategy}),R[19]=O.consentNeededForTracking,R[20]=O.consentStrategy,R[21]=O.vwoId,R[22]=f):f=R[22],R[23]!==O.enableVercelAnalytics||R[24]!==O.environment?(m=O.enableVercelAnalytics&&(0,o.jsx)(c.kI,{environment:O.environment}),R[23]=O.enableVercelAnalytics,R[24]=O.environment,R[25]=m):m=R[25],R[26]!==j||R[27]!==m||R[28]!==d||R[29]!==h||R[30]!==p||R[31]!==f?(g=(0,o.jsxs)(o.Fragment,{children:[d,h,p,f,j,m]}
1),R[26]=j,R[27]=m,R[28]=d,R[29]=h,R[30]=p,R[31]=f,R[32]=g):g=R[32];let ee=g;if(X){let e,t,r,n,a;return R[33]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)(et,{}),R[33]=e):e=R[33],R[34]!==N||R[35]!==D?(t=(0,o.jsx)(N,{...D}),R[34]=N,R[35]=D,R[36]=t):t=R[36],R[37]!==O.environment?(r=(0,o.jsx)(c.uY,{environment:O.environment,sampleRate:.1}),R[37]=O.environment,R[38]=r):r=R[38],R[39]!==L||R[40]!==O||R[41]!==D||R[42]!==t||R[43]!==r||R[44]!==ee?(n=(0,o.jsxs)(x,{config:O,pageProps:D,children:[ee,e,t,L,r]}),R[39]=L,R[40]=O,R[41]=D,R[42]=t,R[43]=r,R[44]=ee,R[45]=n):n=R[45],R[46]!==n||R[47]!==J?(a=(0,o.jsxs)(o.Fragment,{children:[J,n]}),R[46]=n,R[47]=J,R[48]=a):a=R[48],a}R[49]===Symbol.for("react.memo_cache_sentinel")?(v=(0,o.jsx)(et,{}),R[49]=v):v=R[49];let en=O.theme,ea=null==(t=O.lotteryNav)?void 0:t.isBurgerMenuOrderLast;return R[50]!==ea?(y={isBurgerMenuOrderLast:ea},R[50]=ea,R[51]=y):y=R[51],R[52]!==O.serviceWorker?(b=(null==(r=O.serviceWorker)?void 0:r.enabled)&&z({manifestUrl:O.serviceWorker.manifestUrl,workerUrl:O.serviceWorker.workerUrl}),R[52]=O.serviceWorker,R[53]=b):b=R[53],R[54]!==O.favIconSet?(T=O.favIconSet.map(er),R[54]=O.favIconSet,R[55]=T):T=R[55],R[56]!==b||R[57]!==T?(E=(0,o.jsxs)(Z(),{children:[b,T]}),R[56]=b,R[57]=T,R[58]=E):E=R[58],R[59]!==N||R[60]!==D?(C=(0,o.jsx)(N,{...D}),R[59]=N,R[60]=D,R[61]=C):C=R[61],R[62]!==O.environment?(w=(0,o.jsx)(c.uY,{environment:O.environment,sampleRate:.1}),R[62]=O.environment,R[63]=w):w=R[63],R[64]===Symbol.for("react.memo_cache_sentinel")?(k=(0,o.jsx)("div",{id:"portal"}),R[64]=k):k=R[64],R[65]!==L||R[66]!==H||R[67]!==y||R[68]!==E||R[69]!==C||R[70]!==w||R[71]!==U?(S=(0,o.jsxs)(V,{navigationVariations:H,navigationConfig:y,topNavVariant:U,children:[E,C,L,w,k]}),R[65]=L,R[66]=H,R[67]=y,R[68]=E,R[69]=C,R[70]=w,R[71]=U,R[72]=S):S=R[72],R[73]!==O.theme||R[74]!==M||R[75]!==S?(I=(0,o.jsx)(A.D3S,{locale:M,theme:en,children:S}),R[73]=O.theme,R[74]=M,R[75]=S,R[76]=I):I=R[76],R[77]!==O||R[78]!==D||R[79]!==I||R[80]!==ee?(P=(0,o.jsxs)(x,{config:O,pageProps:D,children:[ee,v,I]}),R[77]=O,R[78]=D,R[79]=I,R[80]=ee,R[81]=P):P=R[81],R[82]!==P||R[83]!==J?(_=(0,o.jsxs)(o.Fragment,{children:[J,P]}),R[82]=P,R[83]=J,R[84]=_):_=R[84],_},et=()=>{var e,t;let r,n=(0,s.c)(1);return(null==(t=(0,m.q)().trustPilotConfig)||null==(e=t[0])?void 0:e.trustPilotId)?(n[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,o.jsx)(J(),{type:"text/javascript",src:"https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js"}),n[0]=r):r=n[0],r):null};function er(e,t){return(0,o.jsx)("link",{...e,type:e.type||"image/png",rel:e.rel||"icon"},"".concat(e.href,"-").concat(t))}r(23051);var en=r(11933);let ea=["FaqSection.faqItems","AllInPage.spotlightCard","CategoryPage.spotlightCard","PopularCategorySection.popularCategories","ContentGridSection.contentItems","IconCard.contentItem","RelatedCategoriesSection.categories","LocationSection.locations","WinnerHighlightSection.highlights","CampaignPage.overrideSiteWideConfig","DetailPage.overrideSiteWideConfig","CategoryPage.overrideSiteWideConfig","LottieHowItWorksSection.storyCard","LottieStoryCard.dynamicStoryCard","ContentCard.relatedStory","PrizeDrawPeriod.period","PrizeDraw.trust","PrizeDrawPrize.prizeInformation"];function ei(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var eo=function(){return(eo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function es(e,t){for(var r={},n={},a=e.split("~~"),i=!1,o=0;a.length>o;o++){for(var s=a[o].split("~"),l=0;l<s.length;l+=2){var c=s[l],u=s[l+1],d="&"+c+";";r[d]=u,i&&(r["&"+c]=u),n[u]=d}i=!0}return t?{entities:eo(eo({},r),t.entities),characters:eo(eo({},n),t.characters)}:{entities:r,characters:n}}var el={};el.xml=es("lt~<~gt~>~quot~\"~apos~'~amp~&"),el.html4=es("apos~'~OElig~Œ~oelig~œ~Scaron~Å ~scaron~Å¡~Yuml~Ÿ~circ~ˆ~tilde~˜~ensp~ ~emsp~ ~thinsp~ ~zwnj~‌~zwj~‍~lrm~‎~rlm~‏~ndash~–~mdash~—~lsquo~‘~rsquo~’~sbquo~‚~ldquo~“~rdquo~”~bdquo~„~dagger~†~Dagger~‡~permil~‰~lsaquo~‹~rsaquo~›~euro~€~fnof~ƒ~Alpha~Α~Beta~Β~Gamma~Γ~Delta~Δ~Epsilon~Ε~Zeta~Ζ~Eta~Η~Theta~Θ~Iota~Ι~Kappa~Κ~Lambda~Λ~Mu~Μ~Nu~Ν~Xi~Ξ~Omicron~Ο~Pi~Π~Rho~Ρ~Sigma~Σ~Tau~Τ~Upsilon~Î¥~Phi~Φ~Chi~Χ~Psi~Ψ~Omega~Ω~alpha~α~beta~β~gamma~γ~delta~δ~epsilon~ε~zeta~ζ~eta~η~theta~θ~iota~ι~kappa~κ~lambda~λ~mu~μ~nu~ν~xi~ξ~omicron~ο~pi~π~rho~ρ~sigmaf~ς~sigma~σ~tau~τ~upsilon~υ~phi~φ~chi~χ~psi~ψ~omega~ω~thetasym~ϑ~upsih~ϒ~piv~ϖ~bull~•~hellip~…~prime~′~Prime~″~oline~‾~frasl~⁄~weierp~℘~image~ℑ~real~ℜ~trade~™~alefsym~ℵ~larr~←~uarr~↑~rarr~→~darr~↓~harr~↔~crarr~↵~lArr~⇐~uArr~⇑~rArr~⇒~dArr~⇓~hArr~⇔~forall~∀~part~∂~exist~∃~empty~∅~nabla~∇~isin~∈~notin~∉~ni~∋~prod~∏~sum~∑~minus~−~lowast~∗~radic~√~prop~∝~infin~∞~ang~∠~and~∧~or~∨~cap~∩~cup~∪~int~∫~there4~∴~sim~∼~cong~≅~asymp~≈~ne~≠~equiv~≡~le~≤~ge~≥~sub~⊂~sup~⊃~nsub~⊄~sube~⊆~supe~⊇~oplus~⊕~otimes~⊗~perp~⊥~sdot~⋅~lceil~⌈~rceil~⌉~lfloor~⌊~rfloor~⌋~lang~〈~rang~〉~loz~◊~spades~♠~clubs~♣~hearts~♥~diams~♦~~nbsp~\xa0~iexcl~\xa1~cent~\xa2~pound~\xa3~curren~\xa4~yen~\xa5~brvbar~\xa6~sect~\xa7~uml~\xa8~copy~\xa9~ordf~\xaa~laquo~\xab~not~\xac~shy~\xad~reg~\xae~macr~\xaf~deg~\xb0~plusmn~\xb1~sup2~\xb2~sup3~\xb3~acute~\xb4~micro~\xb5~para~\xb6~middot~\xb7~cedil~\xb8~sup1~\xb9~ordm~\xba~raquo~\xbb~frac14~\xbc~frac12~\xbd~frac34~\xbe~iquest~\xbf~Agrave~\xc0~Aacute~\xc1~Acirc~\xc2~Atilde~\xc3~Auml~\xc4~Aring~\xc5~AElig~\xc6~Ccedil~\xc7~Egrave~\xc8~Eacute~\xc9~Ecirc~\xca~Euml~\xcb~Igrave~\xcc~Iacute~\xcd~Icirc~\xce~Iuml~\xcf~ETH~\xd0~Ntilde~\xd1~Ograve~\xd2~Oacute~\xd3~Ocirc~\xd4~Otilde~\xd5~Ouml~\xd6~times~\xd7~Oslash~\xd8~Ugrave~\xd9~Uacute~\xda~Ucirc~\xdb~Uuml~\xdc~Yacute~\xdd~THORN~\xde~szlig~\xdf~agrave~\xe0~aacute~\xe1~acirc~\xe2~atilde~\xe3~auml~\xe4~aring~\xe5~aelig~\xe6~ccedil~\xe7~egrave~\xe8~eacute~\xe9~ecirc~\xea~euml~\xeb~igrave~\xec~iacute~\xed~icirc~\xee~iuml~\xef~eth~\xf0~ntilde~\xf1~ograve~\xf2~oacute~\xf3~ocirc~\xf4~otilde~\xf5~ouml~\xf6~divide~\xf7~oslash~\xf8~ugrave~\xf9~uacute~\xfa~ucirc~\xfb~uuml~\xfc~yacute~\xfd~thorn~\xfe~yuml~\xff~quot~\"~amp~&~lt~<~gt~>"),el.html5=es('Abreve~Ă~Acy~А~Afr~\uD835\uDD04~Amacr~Ā~And~⩓~Aogon~Ą~Aopf~\uD835\uDD38~ApplyFunction~⁡~Ascr~\uD835\uDC9C~Assign~≔~Backslash~∖~Barv~â«§~Barwed~⌆~Bcy~Б~Because~∵~Bernoullis~ℬ~Bfr~\uD835\uDD05~Bopf~\uD835\uDD39~Breve~˘~Bscr~ℬ~Bumpeq~≎~CHcy~Ч~Cacute~Ć~Cap~⋒~CapitalDifferentialD~ⅅ~Cayleys~ℭ~Ccaron~Č~Ccirc~Ĉ~Cconint~∰~Cdot~Ċ~Cedilla~\xb8~CenterDot~\xb7~Cfr~ℭ~CircleDot~⊙~CircleMinus~⊖~CirclePlus~⊕~CircleTimes~⊗~ClockwiseContourIntegral~∲~CloseCurlyDoubleQuote~”~CloseCurlyQuote~’~Colon~∷~Colone~â©´~Congruent~≡~Conint~∯~ContourIntegral~∮~Copf~ℂ~Coproduct~∐~CounterClockwiseContourIntegral~∳~Cross~⨯~Cscr~\uD835\uDC9E~Cup~⋓~CupCap~≍~DD~ⅅ~DDotrahd~⤑~DJcy~Ђ~DScy~Ѕ~DZcy~Џ~Darr~↡~Dashv~⫤~Dcaron~Ď~Dcy~Д~Del~∇~Dfr~\uD835\uDD07~DiacriticalAcute~\xb4~DiacriticalDot~˙~DiacriticalDoubleAcute~˝~DiacriticalGrave~`~DiacriticalTilde~˜~Diamond~⋄~DifferentialD~ⅆ~Dopf~\uD835\uDD3B~Dot~\xa8~DotDot~⃜~DotEqual~≐~DoubleContourIntegral~∯~DoubleDot~\xa8~DoubleDownArrow~⇓~DoubleLeftArrow~⇐~DoubleLeftRightArrow~⇔~DoubleLeftTee~⫤~DoubleLongLeftArrow~⟸~DoubleLongLeftRightArrow~⟺~DoubleLongRightArrow~⟹~DoubleRightArrow~⇒~DoubleRightTee~⊨~DoubleUpArrow~⇑~DoubleUpDownArrow~⇕~DoubleVerticalBar~∥~DownArrow~↓~DownArrowBar~⤓~DownArrowUpArrow~⇵~DownBreve~̑~DownLeftRightVector~⥐~DownLeftTeeVector~⥞~DownLeftVector~↽~DownLeftVectorBar~⥖~DownRightTeeVector~⥟~DownRightVector~⇁~DownRightVectorBar~⥗~DownTee~⊤~DownTeeArrow~↧~Downarrow~⇓~Dscr~\uD835\uDC9F~Dstrok~Đ~ENG~Ŋ~Ecaron~Ě~Ecy~Э~Edot~Ė~Efr~\uD835\uDD08~Element~∈~Emacr~Ē~EmptySmallSquare~◻~EmptyVerySmallSquare~▫~Eogon~Ę~Eopf~\uD835\uDD3C~Equal~⩵~EqualTilde~≂~Equilibrium~⇌~Escr~ℰ~Esim~⩳~Exists~∃~ExponentialE~ⅇ~Fcy~Ф~Ffr~\uD835\uDD09~FilledSmallSquare~◼~FilledVerySmallSquare~▪~Fopf~\uD835\uDD3D~ForAll~∀~Fouriertrf~ℱ~Fscr~ℱ~GJcy~Ѓ~Gammad~Ϝ~Gbreve~Ğ~Gcedil~Ä¢~Gcirc~Ĝ~Gcy~Г~Gdot~Ä ~Gfr~\uD835\uDD0A~Gg~⋙~Gopf~\uD835\uDD3E~GreaterEqual~≥~GreaterEqualLess~⋛~GreaterFullEqual~≧~GreaterGreater~⪢~GreaterLess~≷~GreaterSlantEqual~⩾~GreaterTilde~≳~Gscr~\uD835\uDCA2~Gt~≫~HARDcy~Ъ~Hacek~ˇ~Hat~^~Hcirc~Ĥ~Hfr~ℌ~HilbertSpace~ℋ~Hopf~ℍ~HorizontalLine~─~Hscr~ℋ~Hstrok~Ħ~HumpDownHump~≎~HumpEqual~≏~IEcy~Е~IJlig~IJ~IOcy~Ё~Icy~И~Idot~İ~Ifr~ℑ~Im~ℑ~Imacr~Ī~ImaginaryI~ⅈ~Implies~⇒~Int~∬~Integral~∫~Intersection~⋂~InvisibleComma~⁣~InvisibleTimes~⁢~Iogon~Ä®~Iopf~\uD835\uDD40~Iscr~ℐ~Itilde~Ĩ~Iukcy~І~Jcirc~Ä´~Jcy~Й~Jfr~\uD835\uDD0D~Jopf~\uD835\uDD41~Jscr~\uD835\uDCA5~Jsercy~Ј~Jukcy~Є~KHcy~Ð¥~KJcy~Ќ~Kcedil~Ķ~Kcy~К~Kfr~\uD835\uDD0E~Kopf~\uD835\uDD42~Kscr~\uD835\uDCA6~LJcy~Љ~Lacute~Ĺ~Lang~⟪~Laplacetrf~ℒ~Larr~↞~Lcaron~Ľ~Lcedil~Ä»~Lcy~Л~LeftAngleBracket~⟨~LeftArrow~←~LeftArrowBar~⇤~LeftArrowRightArrow~⇆~LeftCeiling~⌈~LeftDoubleBracket~⟦~LeftDownTeeVector~⥡~LeftDownVector~⇃~LeftDownVectorBar~⥙~LeftFloor~⌊~LeftRightArrow~↔~LeftRightVector~⥎~LeftTee~⊣~LeftTeeArrow~↤~LeftTeeVector~⥚~LeftTriangle~⊲~LeftTriangleBar~â§
1~LeftTriangleEqual~⊴~LeftUpDownVector~⥑~LeftUpTeeVector~⥠~LeftUpVector~↿~LeftUpVectorBar~⥘~LeftVector~↼~LeftVectorBar~⥒~Leftarrow~⇐~Leftrightarrow~⇔~LessEqualGreater~⋚~LessFullEqual~≦~LessGreater~≶~LessLess~⪡~LessSlantEqual~⩽~LessTilde~≲~Lfr~\uD835\uDD0F~Ll~⋘~Lleftarrow~⇚~Lmidot~Ä¿~LongLeftArrow~⟵~LongLeftRightArrow~⟷~LongRightArrow~⟶~Longleftarrow~⟸~Longleftrightarrow~⟺~Longrightarrow~⟹~Lopf~\uD835\uDD43~LowerLeftArrow~↙~LowerRightArrow~↘~Lscr~ℒ~Lsh~↰~Lstrok~Ł~Lt~≪~Map~⤅~Mcy~М~MediumSpace~ ~Mellintrf~ℳ~Mfr~\uD835\uDD10~MinusPlus~∓~Mopf~\uD835\uDD44~Mscr~ℳ~NJcy~Њ~Nacute~Ń~Ncaron~Ň~Ncedil~Ņ~Ncy~Н~NegativeMediumSpace~​~NegativeThickSpace~​~NegativeThinSpace~​~NegativeVeryThinSpace~​~NestedGreaterGreater~≫~NestedLessLess~≪~NewLine~\n~Nfr~\uD835\uDD11~NoBreak~⁠~NonBreakingSpace~\xa0~Nopf~ℕ~Not~⫬~NotCongruent~≢~NotCupCap~≭~NotDoubleVerticalBar~∦~NotElement~∉~NotEqual~≠~NotEqualTilde~≂̸~NotExists~∄~NotGreater~≯~NotGreaterEqual~≱~NotGreaterFullEqual~≧̸~NotGreaterGreater~≫̸~NotGreaterLess~≹~NotGreaterSlantEqual~⩾̸~NotGreaterTilde~≵~NotHumpDownHump~≎̸~NotHumpEqual~≏̸~NotLeftTriangle~⋪~NotLeftTriangleBar~⧏̸~NotLeftTriangleEqual~⋬~NotLess~≮~NotLessEqual~≰~NotLessGreater~≸~NotLessLess~≪̸~NotLessSlantEqual~⩽̸~NotLessTilde~≴~NotNestedGreaterGreater~⪢̸~NotNestedLessLess~⪡̸~NotPrecedes~⊀~NotPrecedesEqual~⪯̸~NotPrecedesSlantEqual~⋠~NotReverseElement~∌~NotRightTriangle~⋫~NotRightTriangleBar~⧐̸~NotRightTriangleEqual~⋭~NotSquareSubset~⊏̸~NotSquareSubsetEqual~⋢~NotSquareSuperset~⊐̸~NotSquareSupersetEqual~⋣~NotSubset~⊂⃒~NotSubsetEqual~⊈~NotSucceeds~⊁~NotSucceedsEqual~⪰̸~NotSucceedsSlantEqual~⋡~NotSucceedsTilde~≿̸~NotSuperset~⊃⃒~NotSupersetEqual~⊉~NotTilde~≁~NotTildeEqual~≄~NotTildeFullEqual~≇~NotTildeTilde~≉~NotVerticalBar~∤~Nscr~\uD835\uDCA9~Ocy~О~Odblac~Ő~Ofr~\uD835\uDD12~Omacr~Ō~Oopf~\uD835\uDD46~OpenCurlyDoubleQuote~“~OpenCurlyQuote~‘~Or~⩔~Oscr~\uD835\uDCAA~Otimes~⨷~OverBar~‾~OverBrace~⏞~OverBracket~⎴~OverParenthesis~⏜~PartialD~∂~Pcy~П~Pfr~\uD835\uDD13~PlusMinus~\xb1~Poincareplane~ℌ~Popf~ℙ~Pr~⪻~Precedes~≺~PrecedesEqual~⪯~PrecedesSlantEqual~≼~PrecedesTilde~≾~Product~∏~Proportion~∷~Proportional~∝~Pscr~\uD835\uDCAB~Qfr~\uD835\uDD14~Qopf~ℚ~Qscr~\uD835\uDCAC~RBarr~⤐~Racute~Ŕ~Rang~⟫~Rarr~↠~Rarrtl~⤖~Rcaron~Ř~Rcedil~Ŗ~Rcy~Р~Re~ℜ~ReverseElement~∋~ReverseEquilibrium~⇋~ReverseUpEquilibrium~⥯~Rfr~ℜ~RightAngleBracket~⟩~RightArrow~→~RightArrowBar~⇥~RightArrowLeftArrow~⇄~RightCeiling~⌉~RightDoubleBracket~⟧~RightDownTeeVector~⥝~RightDownVector~⇂~RightDownVectorBar~⥕~RightFloor~⌋~RightTee~⊢~RightTeeArrow~↦~RightTeeVector~⥛~RightTriangle~⊳~RightTriangleBar~⧐~RightTriangleEqual~⊵~RightUpDownVector~⥏~RightUpTeeVector~⥜~RightUpVector~↾~RightUpVectorBar~⥔~RightVector~⇀~RightVectorBar~⥓~Rightarrow~⇒~Ropf~ℝ~RoundImplies~⥰~Rrightarrow~⇛~Rscr~ℛ~Rsh~↱~RuleDelayed~â§´~SHCHcy~Щ~SHcy~Ш~SOFTcy~Ь~Sacute~Ś~Sc~⪼~Scedil~Ş~Scirc~Ŝ~Scy~С~Sfr~\uD835\uDD16~ShortDownArrow~↓~ShortLeftArrow~←~ShortRightArrow~→~ShortUpArrow~↑~SmallCircle~∘~Sopf~\uD835\uDD4A~Sqrt~√~Square~□~SquareIntersection~⊓~SquareSubset~⊏~SquareSubsetEqual~⊑~SquareSuperset~⊐~SquareSupersetEqual~⊒~SquareUnion~⊔~Sscr~\uD835\uDCAE~Star~⋆~Sub~⋐~Subset~⋐~SubsetEqual~⊆~Succeeds~≻~SucceedsEqual~⪰~SucceedsSlantEqual~≽~SucceedsTilde~≿~SuchThat~∋~Sum~∑~Sup~⋑~Superset~⊃~SupersetEqual~⊇~Supset~⋑~TRADE~™~TSHcy~Ћ~TScy~Ц~Tab~	~Tcaron~Ť~Tcedil~Å¢~Tcy~Т~Tfr~\uD835\uDD17~Therefore~∴~ThickSpace~  ~ThinSpace~ ~Tilde~∼~TildeEqual~≃~TildeFullEqual~≅~TildeTilde~≈~Topf~\uD835\uDD4B~TripleDot~⃛~Tscr~\uD835\uDCAF~Tstrok~Ŧ~Uarr~↟~Uarrocir~⥉~Ubrcy~Ў~Ubreve~Ŭ~Ucy~У~Udblac~Ű~Ufr~\uD835\uDD18~Umacr~Ū~UnderBar~_~UnderBrace~⏟~UnderBracket~⎵~UnderParenthesis~⏝~Union~⋃~UnionPlus~⊎~Uogon~Ų~Uopf~\uD835\uDD4C~UpArrow~↑~UpArrowBar~⤒~UpArrowDownArrow~⇅~UpDownArrow~↕~UpEquilibrium~⥮~UpTee~⊥~UpTeeArrow~↥~
1Uparrow~⇑~Updownarrow~⇕~UpperLeftArrow~↖~UpperRightArrow~↗~Upsi~ϒ~Uring~Ů~Uscr~\uD835\uDCB0~Utilde~Ũ~VDash~⊫~Vbar~⫫~Vcy~В~Vdash~⊩~Vdashl~⫦~Vee~⋁~Verbar~‖~Vert~‖~VerticalBar~∣~VerticalLine~|~VerticalSeparator~❘~VerticalTilde~≀~VeryThinSpace~ ~Vfr~\uD835\uDD19~Vopf~\uD835\uDD4D~Vscr~\uD835\uDCB1~Vvdash~⊪~Wcirc~Ŵ~Wedge~⋀~Wfr~\uD835\uDD1A~Wopf~\uD835\uDD4E~Wscr~\uD835\uDCB2~Xfr~\uD835\uDD1B~Xopf~\uD835\uDD4F~Xscr~\uD835\uDCB3~YAcy~Я~YIcy~Ї~YUcy~Ю~Ycirc~Ŷ~Ycy~Ы~Yfr~\uD835\uDD1C~Yopf~\uD835\uDD50~Yscr~\uD835\uDCB4~ZHcy~Ж~Zacute~Ź~Zcaron~Ž~Zcy~З~Zdot~Ż~ZeroWidthSpace~​~Zfr~ℨ~Zopf~ℤ~Zscr~\uD835\uDCB5~abreve~ă~ac~∾~acE~∾̳~acd~∿~acy~а~af~⁡~afr~\uD835\uDD1E~aleph~ℵ~amacr~ā~amalg~⨿~andand~⩕~andd~⩜~andslope~⩘~andv~⩚~ange~⦤~angle~∠~angmsd~∡~angmsdaa~⦨~angmsdab~⦩~angmsdac~⦪~angmsdad~⦫~angmsdae~⦬~angmsdaf~⦭~angmsdag~⦮~angmsdah~⦯~angrt~∟~angrtvb~⊾~angrtvbd~⦝~angsph~∢~angst~\xc5~angzarr~⍼~aogon~ą~aopf~\uD835\uDD52~ap~≈~apE~⩰~apacir~⩯~ape~≊~apid~≋~approx~≈~approxeq~≊~ascr~\uD835\uDCB6~ast~*~asympeq~≍~awconint~∳~awint~⨑~bNot~⫭~backcong~≌~backepsilon~϶~backprime~‵~backsim~∽~backsimeq~⋍~barvee~⊽~barwed~⌅~barwedge~⌅~bbrk~⎵~bbrktbrk~⎶~bcong~≌~bcy~б~becaus~∵~because~∵~bemptyv~⦰~bepsi~϶~bernou~ℬ~beth~ℶ~between~≬~bfr~\uD835\uDD1F~bigcap~⋂~bigcirc~◯~bigcup~⋃~bigodot~⨀~bigoplus~⨁~bigotimes~⨂~bigsqcup~⨆~bigstar~★~bigtriangledown~▽~bigtriangleup~△~biguplus~⨄~bigvee~⋁~bigwedge~⋀~bkarow~⤍~blacklozenge~⧫~blacksquare~▪~blacktriangle~▴~blacktriangledown~▾~blacktriangleleft~◂~blacktriangleright~▸~blank~␣~blk12~▒~blk14~░~blk34~▓~block~█~bne~=⃥~bnequiv~≡⃥~bnot~⌐~bopf~\uD835\uDD53~bot~⊥~bottom~⊥~bowtie~⋈~boxDL~╗~boxDR~╔~boxDl~╖~boxDr~╓~boxH~═~boxHD~╦~boxHU~╩~boxHd~╤~boxHu~╧~boxUL~╝~boxUR~╚~boxUl~╜~boxUr~╙~boxV~║~boxVH~╬~boxVL~╣~boxVR~╠~boxVh~╫~boxVl~╢~boxVr~╟~boxbox~⧉~boxdL~╕~boxdR~╒~boxdl~┐~boxdr~┌~boxh~─~boxhD~╥~boxhU~╨~boxhd~┬~boxhu~┴~boxminus~⊟~boxplus~⊞~boxtimes~⊠~boxuL~╛~boxuR~╘~boxul~┘~boxur~└~boxv~│~boxvH~╪~boxvL~╡~boxvR~╞~boxvh~┼~boxvl~┤~boxvr~├~bprime~‵~breve~˘~bscr~\uD835\uDCB7~bsemi~⁏~bsim~∽~bsime~⋍~bsol~\\~bsolb~⧅~bsolhsub~⟈~bullet~•~bump~≎~bumpE~⪮~bumpe~≏~bumpeq~≏~cacute~ć~capand~⩄~capbrcup~⩉~capcap~⩋~capcup~⩇~capdot~⩀~caps~∩︀~caret~⁁~caron~ˇ~ccaps~⩍~ccaron~č~ccirc~ĉ~ccups~⩌~ccupssm~⩐~cdot~ċ~cemptyv~⦲~centerdot~\xb7~cfr~\uD835\uDD20~chcy~ч~check~✓~checkmark~✓~cir~○~cirE~⧃~circeq~≗~circlearrowleft~↺~circlearrowright~↻~circledR~\xae~circledS~Ⓢ~circledast~⊛~circledcirc~⊚~circleddash~⊝~cire~≗~cirfnint~⨐~cirmid~⫯~cirscir~⧂~clubsuit~♣~colon~:~colone~≔~coloneq~≔~comma~,~commat~@~comp~∁~compfn~∘~complement~∁~complexes~ℂ~congdot~⩭~conint~∮~copf~\uD835\uDD54~coprod~∐~copysr~℗~cross~✗~cscr~\uD835\uDCB8~csub~⫏~csube~⫑~csup~⫐~csupe~⫒~ctdot~⋯~cudarrl~⤸~cudarrr~⤵~cuepr~⋞~cuesc~⋟~cularr~↶~cularrp~⤽~cupbrcap~⩈~cupcap~⩆~cupcup~⩊~cupdot~⊍~cupor~⩅~cups~∪︀~curarr~↷~curarrm~⤼~curlyeqprec~⋞~curlyeqsucc~⋟~curlyvee~⋎~curlywedge~⋏~curvearrowleft~↶~curvearrowright~↷~cuvee~⋎~cuwed~⋏~cwconint~∲~cwint~∱~cylcty~⌭~dHar~⥥~daleth~ℸ~dash~‐~dashv~⊣~dbkarow~⤏~dblac~˝~dcaron~ď~dcy~д~dd~ⅆ~ddagger~‡~ddarr~⇊~ddotseq~⩷~demptyv~⦱~dfisht~⥿~dfr~\uD835\uDD21~dharl~⇃~dharr~⇂~diam~⋄~diamond~⋄~diamondsuit~♦~die~\xa8~digamma~ϝ~disin~⋲~div~\xf7~divideontimes~⋇~divonx~⋇~djcy~ђ~dlcorn~⌞~dlcrop~⌍~dollar~$~dopf~\uD835\uDD55~dot~˙~doteq~≐~doteqdot~≑~dotminus~∸~dotplus~∔~dotsquare~⊡~doublebarwedge~⌆~downarrow~↓~downdownarrows~⇊~downharpoonleft~⇃~downharpoonright~⇂~drbkarow~⤐~drcorn~⌟~drcrop~⌌~dscr~\uD835\uDCB9~dscy~ѕ~dsol~⧶~dstrok~đ~dtdot~⋱~dtri~▿~dtrif~▾~duarr~⇵~duhar~⥯~dwangle~⦦~dzcy~џ~dzigrarr~⟿~eDDot~⩷~eDot~≑~easter~⩮~ecaron~ě~ecir~≖~ecolon~≕~ecy~э~edot~ė~ee~ⅇ~efDot~≒~efr~\uD835\uDD22~eg~⪚~egs~⪖~egsdot~⪘~el~⪙~elinters~⏧~ell~ℓ~els~⪕~elsdot~⪗~emacr~ē~emptyset~∅~emptyv~∅~emsp13~ ~emsp14~ ~eng~ŋ~eogon~ę~eopf~\uD835\uDD56~epar~⋕~eparsl~⧣~eplus~⩱~epsi~ε~epsiv~ϵ~eqcirc~≖~eqcolon~≕~eqsim~≂~eqslantgtr~⪖~eqslantless~⪕~equals~=~equest~≟~equivDD~⩸~eqvparsl~⧥~erDot~≓~erarr~⥱~escr~ℯ~esdot~≐~esim~≂~excl~!~expectation~ℰ~exponentiale~ⅇ~fallingdotseq~≒~fcy~ф~female~♀~ffilig~ffi~fflig~ff~ffllig~ffl~ffr~\uD835\uDD23~filig~fi~fjlig~fj~flat~♭~fllig~fl~fltns~▱~fopf~\uD835\uDD57~fork~⋔~forkv~⫙~fpartint~⨍~frac13~⅓~frac15~⅕~frac16~⅙~frac18~⅛~frac23~⅔~frac25~⅖~frac35~⅗~frac38~⅜~frac45~⅘~frac
156~⅚~frac58~⅝~frac78~⅞~frown~⌢~fscr~\uD835\uDCBB~gE~≧~gEl~⪌~gacute~ǵ~gammad~ϝ~gap~⪆~gbreve~ğ~gcirc~ĝ~gcy~г~gdot~ġ~gel~⋛~geq~≥~geqq~≧~geqslant~⩾~ges~⩾~gescc~⪩~gesdot~⪀~gesdoto~⪂~gesdotol~⪄~gesl~⋛︀~gesles~⪔~gfr~\uD835\uDD24~gg~≫~ggg~⋙~gimel~ℷ~gjcy~ѓ~gl~≷~glE~⪒~gla~⪥~glj~⪤~gnE~≩~gnap~⪊~gnapprox~⪊~gne~⪈~gneq~⪈~gneqq~≩~gnsim~⋧~gopf~\uD835\uDD58~grave~`~gscr~ℊ~gsim~≳~gsime~⪎~gsiml~⪐~gtcc~⪧~gtcir~⩺~gtdot~⋗~gtlPar~⦕~gtquest~⩼~gtrapprox~⪆~gtrarr~⥸~gtrdot~⋗~gtreqless~⋛~gtreqqless~⪌~gtrless~≷~gtrsim~≳~gvertneqq~≩︀~gvnE~≩︀~hairsp~ ~half~\xbd~hamilt~ℋ~hardcy~ъ~harrcir~⥈~harrw~↭~hbar~ℏ~hcirc~ĥ~heartsuit~♥~hercon~⊹~hfr~\uD835\uDD25~hksearow~⤥~hkswarow~⤦~hoarr~⇿~homtht~∻~hookleftarrow~↩~hookrightarrow~↪~hopf~\uD835\uDD59~horbar~―~hscr~\uD835\uDCBD~hslash~ℏ~hstrok~ħ~hybull~⁃~hyphen~‐~ic~⁣~icy~и~iecy~е~iff~⇔~ifr~\uD835\uDD26~ii~ⅈ~iiiint~⨌~iiint~∭~iinfin~⧜~iiota~℩~ijlig~ij~imacr~ī~imagline~ℐ~imagpart~ℑ~imath~ı~imof~⊷~imped~Ƶ~in~∈~incare~℅~infintie~⧝~inodot~ı~intcal~⊺~integers~ℤ~intercal~⊺~intlarhk~⨗~intprod~⨼~iocy~ё~iogon~į~iopf~\uD835\uDD5A~iprod~⨼~iscr~\uD835\uDCBE~isinE~⋹~isindot~⋵~isins~⋴~isinsv~⋳~isinv~∈~it~⁢~itilde~ĩ~iukcy~і~jcirc~ĵ~jcy~й~jfr~\uD835\uDD27~jmath~ȷ~jopf~\uD835\uDD5B~jscr~\uD835\uDCBF~jsercy~ј~jukcy~є~kappav~ϰ~kcedil~ķ~kcy~к~kfr~\uD835\uDD28~kgreen~ĸ~khcy~х~kjcy~ќ~kopf~\uD835\uDD5C~kscr~\uD835\uDCC0~lAarr~⇚~lAtail~⤛~lBarr~⤎~lE~≦~lEg~⪋~lHar~⥢~lacute~ĺ~laemptyv~⦴~lagran~ℒ~langd~⦑~langle~⟨~lap~⪅~larrb~⇤~larrbfs~⤟~larrfs~⤝~larrhk~↩~larrlp~↫~larrpl~⤹~larrsim~⥳~larrtl~↢~lat~⪫~latail~⤙~late~⪭~lates~⪭︀~lbarr~⤌~lbbrk~❲~lbrace~{~lbrack~[~lbrke~⦋~lbrksld~⦏~lbrkslu~⦍~lcaron~ľ~lcedil~ļ~lcub~{~lcy~л~ldca~⤶~ldquor~„~ldrdhar~⥧~ldrushar~⥋~ldsh~↲~leftarrow~←~leftarrowtail~↢~leftharpoondown~↽~leftharpoonup~↼~leftleftarrows~⇇~leftrightarrow~↔~leftrightarrows~⇆~leftrightharpoons~⇋~leftrightsquigarrow~↭~leftthreetimes~⋋~leg~⋚~leq~≤~leqq~≦~leqslant~⩽~les~⩽~lescc~⪨~lesdot~⩿~lesdoto~⪁~lesdotor~⪃~lesg~⋚︀~lesges~⪓~lessapprox~⪅~lessdot~⋖~lesseqgtr~⋚~lesseqqgtr~⪋~lessgtr~≶~lesssim~≲~lfisht~⥼~lfr~\uD835\uDD29~lg~≶~lgE~⪑~lhard~↽~lharu~↼~lharul~⥪~lhblk~▄~ljcy~љ~ll~≪~llarr~⇇~llcorner~⌞~llhard~⥫~lltri~◺~lmidot~ŀ~lmoust~⎰~lmoustache~⎰~lnE~≨~lnap~⪉~lnapprox~⪉~lne~⪇~lneq~⪇~lneqq~≨~lnsim~⋦~loang~⟬~loarr~⇽~lobrk~⟦~longleftarrow~⟵~longleftrightarrow~⟷~longmapsto~⟼~longrightarrow~⟶~looparrowleft~↫~looparrowright~↬~lopar~⦅~lopf~\uD835\uDD5D~loplus~⨭~lotimes~⨴~lowbar~_~lozenge~◊~lozf~⧫~lpar~(~lparlt~⦓~lrarr~⇆~lrcorner~⌟~lrhar~⇋~lrhard~⥭~lrtri~⊿~lscr~\uD835\uDCC1~lsh~↰~lsim~≲~lsime~⪍~lsimg~⪏~lsqb~[~lsquor~‚~lstrok~ł~ltcc~⪦~ltcir~⩹~ltdot~⋖~lthree~⋋~ltimes~⋉~ltlarr~⥶~ltquest~⩻~ltrPar~⦖~ltri~◃~ltrie~⊴~ltrif~◂~lurdshar~⥊~luruhar~⥦~lvertneqq~≨︀~lvnE~≨︀~mDDot~∺~male~♂~malt~✠~maltese~✠~map~↦~mapsto~↦~mapstodown~↧~mapstoleft~↤~mapstoup~↥~marker~▮~mcomma~⨩~mcy~м~measuredangle~∡~mfr~\uD835\uDD2A~mho~℧~mid~∣~midast~*~midcir~⫰~minusb~⊟~minusd~∸~minusdu~⨪~mlcp~⫛~mldr~…~mnplus~∓~models~⊧~mopf~\uD835\uDD5E~mp~∓~mscr~\uD835\uDCC2~mstpos~∾~multimap~⊸~mumap~⊸~nGg~⋙̸~nGt~≫⃒~nGtv~≫̸~nLeftarrow~⇍~nLeftrightarrow~⇎~nLl~⋘̸~nLt~≪⃒~nLtv~≪̸~nRightarrow~⇏~nVDash~⊯~nVdash~⊮~nacute~ń~nang~∠⃒~nap~≉~napE~⩰̸~napid~≋̸~napos~ʼn~napprox~≉~natur~♮~natural~♮~naturals~ℕ~nbump~≎̸~nbumpe~≏̸~ncap~⩃~ncaron~ň~ncedil~ņ~ncong~≇~ncongdot~⩭̸~ncup~⩂~ncy~н~neArr~⇗~nearhk~⤤~nearr~↗~nearrow~↗~nedot~≐̸~nequiv~≢~nesear~⤨~nesim~≂̸~nexist~∄~nexists~∄~nfr~\uD835\uDD2B~ngE~≧̸~nge~≱~ngeq~≱~ngeqq~≧̸~ngeqslant~⩾̸~nges~⩾̸~ngsim~≵~ngt~≯~ngtr~≯~nhArr~⇎~nharr~↮~nhpar~⫲~nis~⋼~nisd~⋺~niv~∋~njcy~њ~nlArr~⇍~nlE~≦̸~nlarr~↚~nldr~‥~nle~≰~nleftarrow~↚~nleftrightarrow~↮~nleq~≰~nleqq~≦̸~nleqslant~⩽̸~nles~⩽̸~nless~≮~nlsim~≴~nlt~≮~nltri~⋪~nltrie~⋬~nmid~∤~nopf~\uD835\uDD5F~notinE~⋹̸~notindot~⋵̸~notinva~∉~notinvb~⋷~notinvc~⋶~notni~∌~notniva~∌~notnivb~⋾~notnivc~⋽~npar~∦~nparallel~∦~
1nparsl~⫽⃥~npart~∂̸~npolint~⨔~npr~⊀~nprcue~⋠~npre~⪯̸~nprec~⊀~npreceq~⪯̸~nrArr~⇏~nrarr~↛~nrarrc~⤳̸~nrarrw~↝̸~nrightarrow~↛~nrtri~⋫~nrtrie~⋭~nsc~⊁~nsccue~⋡~nsce~⪰̸~nscr~\uD835\uDCC3~nshortmid~∤~nshortparallel~∦~nsim~≁~nsime~≄~nsimeq~≄~nsmid~∤~nspar~∦~nsqsube~⋢~nsqsupe~⋣~nsubE~⫅̸~nsube~⊈~nsubset~⊂⃒~nsubseteq~⊈~nsubseteqq~⫅̸~nsucc~⊁~nsucceq~⪰̸~nsup~⊅~nsupE~⫆̸~nsupe~⊉~nsupset~⊃⃒~nsupseteq~⊉~nsupseteqq~⫆̸~ntgl~≹~ntlg~≸~ntriangleleft~⋪~ntrianglelefteq~⋬~ntriangleright~⋫~ntrianglerighteq~⋭~num~#~numero~№~numsp~ ~nvDash~⊭~nvHarr~⤄~nvap~≍⃒~nvdash~⊬~nvge~≥⃒~nvgt~>⃒~nvinfin~⧞~nvlArr~⤂~nvle~≤⃒~nvlt~<⃒~nvltrie~⊴⃒~nvrArr~⤃~nvrtrie~⊵⃒~nvsim~∼⃒~nwArr~⇖~nwarhk~⤣~nwarr~↖~nwarrow~↖~nwnear~⤧~oS~Ⓢ~oast~⊛~ocir~⊚~ocy~о~odash~⊝~odblac~ő~odiv~⨸~odot~⊙~odsold~⦼~ofcir~⦿~ofr~\uD835\uDD2C~ogon~˛~ogt~⧁~ohbar~⦵~ohm~Ω~oint~∮~olarr~↺~olcir~⦾~olcross~⦻~olt~⧀~omacr~ō~omid~⦶~ominus~⊖~oopf~\uD835\uDD60~opar~⦷~operp~⦹~orarr~↻~ord~⩝~order~ℴ~orderof~ℴ~origof~⊶~oror~⩖~orslope~⩗~orv~⩛~oscr~ℴ~osol~⊘~otimesas~⨶~ovbar~⌽~par~∥~parallel~∥~parsim~⫳~parsl~⫽~pcy~п~percnt~%~period~.~pertenk~‱~pfr~\uD835\uDD2D~phiv~ϕ~phmmat~ℳ~phone~☎~pitchfork~⋔~planck~ℏ~planckh~ℎ~plankv~ℏ~plus~+~plusacir~⨣~plusb~⊞~pluscir~⨢~plusdo~∔~plusdu~⨥~pluse~⩲~plussim~⨦~plustwo~⨧~pm~\xb1~pointint~⨕~popf~\uD835\uDD61~pr~≺~prE~⪳~prap~⪷~prcue~≼~pre~⪯~prec~≺~precapprox~⪷~preccurlyeq~≼~preceq~⪯~precnapprox~⪹~precneqq~⪵~precnsim~⋨~precsim~≾~primes~ℙ~prnE~⪵~prnap~⪹~prnsim~⋨~profalar~⌮~profline~⌒~profsurf~⌓~propto~∝~prsim~≾~prurel~⊰~pscr~\uD835\uDCC5~puncsp~ ~qfr~\uD835\uDD2E~qint~⨌~qopf~\uD835\uDD62~qprime~⁗~qscr~\uD835\uDCC6~quaternions~ℍ~quatint~⨖~quest~?~questeq~≟~rAarr~⇛~rAtail~⤜~rBarr~⤏~rHar~⥤~race~∽̱~racute~ŕ~raemptyv~⦳~rangd~⦒~range~⦥~rangle~⟩~rarrap~⥵~rarrb~⇥~rarrbfs~⤠~rarrc~⤳~rarrfs~⤞~rarrhk~↪~rarrlp~↬~rarrpl~⥅~rarrsim~⥴~rarrtl~↣~rarrw~↝~ratail~⤚~ratio~∶~rationals~ℚ~rbarr~⤍~rbbrk~❳~rbrace~}~rbrack~]~rbrke~⦌~rbrksld~⦎~rbrkslu~⦐~rcaron~ř~rcedil~ŗ~rcub~}~rcy~р~rdca~⤷~rdldhar~⥩~rdquor~”~rdsh~↳~realine~ℛ~realpart~ℜ~reals~ℝ~rect~▭~rfisht~⥽~rfr~\uD835\uDD2F~rhard~⇁~rharu~⇀~rharul~⥬~rhov~ϱ~rightarrow~→~rightarrowtail~↣~rightharpoondown~⇁~rightharpoonup~⇀~rightleftarrows~⇄~rightleftharpoons~⇌~rightrightarrows~⇉~rightsquigarrow~↝~rightthreetimes~⋌~ring~˚~risingdotseq~≓~rlarr~⇄~rlhar~⇌~rmoust~⎱~rmoustache~⎱~rnmid~⫮~roang~⟭~roarr~⇾~robrk~⟧~ropar~⦆~ropf~\uD835\uDD63~roplus~⨮~rotimes~⨵~rpar~)~rpargt~⦔~rppolint~⨒~rrarr~⇉~rscr~\uD835\uDCC7~rsh~↱~rsqb~]~rsquor~’~rthree~⋌~rtimes~⋊~rtri~▹~rtrie~⊵~rtrif~▸~rtriltri~⧎~ruluhar~⥨~rx~℞~sacute~ś~sc~≻~scE~⪴~scap~⪸~sccue~≽~sce~⪰~scedil~ş~scirc~ŝ~scnE~⪶~scnap~⪺~scnsim~⋩~scpolint~⨓~scsim~≿~scy~с~sdotb~⊡~sdote~⩦~seArr~⇘~searhk~⤥~searr~↘~searrow~↘~semi~;~seswar~⤩~setminus~∖~setmn~∖~sext~✶~sfr~\uD835\uDD30~sfrown~⌢~sharp~♯~shchcy~щ~shcy~ш~shortmid~∣~shortparallel~∥~sigmav~ς~simdot~⩪~sime~≃~simeq~≃~simg~⪞~simgE~⪠~siml~⪝~simlE~⪟~simne~≆~simplus~⨤~simrarr~⥲~slarr~←~smallsetminus~∖~smashp~⨳~smeparsl~⧤~smid~∣~smile~⌣~smt~⪪~smte~⪬~smtes~⪬︀~softcy~ь~sol~/~solb~⧄~solbar~⌿~sopf~\uD835\uDD64~spadesuit~♠~spar~∥~sqcap~⊓~sqcaps~⊓︀~sqcup~⊔~sqcups~⊔︀~sqsub~⊏~sqsube~⊑~sqsubset~⊏~sqsubseteq~⊑~sqsup~⊐~sqsupe~⊒~sqsupset~⊐~sqsupseteq~⊒~squ~□~square~□~squarf~▪~squf~▪~srarr~→~sscr~\uD835\uDCC8~ssetmn~∖~ssmile~⌣~sstarf~⋆~star~☆~starf~★~straightepsilon~ϵ~straightphi~ϕ~strns~\xaf~subE~⫅~subdot~⪽~subedot~⫃~submult~⫁~subnE~⫋~subne~⊊~subplus~⪿~subrarr~⥹~subset~⊂~subseteq~⊆~subseteqq~⫅~subsetneq~⊊~subsetneqq~⫋~subsim~⫇~subsub~⫕~subsup~⫓~succ~≻~succapprox~⪸~succcurlyeq~≽~succeq~⪰~succnapprox~⪺~succneqq~⪶~succnsim~⋩~succsim~≿~sung~♪~supE~⫆~supdot~⪾~supdsub~⫘~supedot~⫄~suphsol~⟉~suphsub~⫗~suplarr~⥻~supmult~⫂~supnE~⫌~supne~⊋~supplus~⫀~supset~⊃~supseteq~⊇~supseteqq~⫆~supsetneq~⊋~supsetneqq~⫌~supsim~⫈~supsub~⫔~supsup~⫖~swArr~⇙~swarhk~⤦~swarr~↙~swarrow~↙~swnwar~⤪~target~⌖~tbrk~⎴~tcaron~ť~tcedil~ţ~tcy~т~tdot~⃛~telrec~⌕~tfr~\uD835\uDD31~therefore~∴~thetav~ϑ~thickapprox~≈~thicksim~∼~thkap~≈~thksim~∼~timesb~⊠~timesbar~⨱~timesd~⨰~tint~∭~toea~⤨~top~⊤~topbot~⌶~topcir~⫱~topf~\uD835\uDD65~topfork~⫚~tosa~⤩~tprime~‴~triangle~▵~triangledown~▿~tri
1angleleft~◃~trianglelefteq~⊴~triangleq~≜~triangleright~▹~trianglerighteq~⊵~tridot~◬~trie~≜~triminus~⨺~triplus~⨹~trisb~⧍~tritime~⨻~trpezium~⏢~tscr~\uD835\uDCC9~tscy~ц~tshcy~ћ~tstrok~ŧ~twixt~≬~twoheadleftarrow~↞~twoheadrightarrow~↠~uHar~⥣~ubrcy~ў~ubreve~ŭ~ucy~у~udarr~⇅~udblac~ű~udhar~⥮~ufisht~⥾~ufr~\uD835\uDD32~uharl~↿~uharr~↾~uhblk~▀~ulcorn~⌜~ulcorner~⌜~ulcrop~⌏~ultri~◸~umacr~ū~uogon~ų~uopf~\uD835\uDD66~uparrow~↑~updownarrow~↕~upharpoonleft~↿~upharpoonright~↾~uplus~⊎~upsi~υ~upuparrows~⇈~urcorn~⌝~urcorner~⌝~urcrop~⌎~uring~ů~urtri~◹~uscr~\uD835\uDCCA~utdot~⋰~utilde~ũ~utri~▵~utrif~▴~uuarr~⇈~uwangle~⦧~vArr~⇕~vBar~⫨~vBarv~⫩~vDash~⊨~vangrt~⦜~varepsilon~ϵ~varkappa~ϰ~varnothing~∅~varphi~ϕ~varpi~ϖ~varpropto~∝~varr~↕~varrho~ϱ~varsigma~ς~varsubsetneq~⊊︀~varsubsetneqq~⫋︀~varsupsetneq~⊋︀~varsupsetneqq~⫌︀~vartheta~ϑ~vartriangleleft~⊲~vartriangleright~⊳~vcy~в~vdash~⊢~vee~∨~veebar~⊻~veeeq~≚~vellip~⋮~verbar~|~vert~|~vfr~\uD835\uDD33~vltri~⊲~vnsub~⊂⃒~vnsup~⊃⃒~vopf~\uD835\uDD67~vprop~∝~vrtri~⊳~vscr~\uD835\uDCCB~vsubnE~⫋︀~vsubne~⊊︀~vsupnE~⫌︀~vsupne~⊋︀~vzigzag~⦚~wcirc~ŵ~wedbar~⩟~wedge~∧~wedgeq~≙~wfr~\uD835\uDD34~wopf~\uD835\uDD68~wp~℘~wr~≀~wreath~≀~wscr~\uD835\uDCCC~xcap~⋂~xcirc~◯~xcup~⋃~xdtri~▽~xfr~\uD835\uDD35~xhArr~⟺~xharr~⟷~xlArr~⟸~xlarr~⟵~xmap~⟼~xnis~⋻~xodot~⨀~xopf~\uD835\uDD69~xoplus~⨁~xotime~⨂~xrArr~⟹~xrarr~⟶~xscr~\uD835\uDCCD~xsqcup~⨆~xuplus~⨄~xutri~△~xvee~⋁~xwedge~⋀~yacy~я~ycirc~ŷ~ycy~ы~yfr~\uD835\uDD36~yicy~ї~yopf~\uD835\uDD6A~yscr~\uD835\uDCCE~yucy~ю~zacute~ź~zcaron~ž~zcy~з~zdot~ż~zeetrf~ℨ~zfr~\uD835\uDD37~zhcy~ж~zigrarr~⇝~zopf~\uD835\uDD6B~zscr~\uD835\uDCCF~~AMP~&~COPY~\xa9~GT~>~LT~<~QUOT~"~REG~\xae',el.html4);var ec={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},eu=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)};String.prototype.codePointAt;var ed=function(){return(ed=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},eh=ed(ed({},el),{all:el.html5}),ep={scope:"body",level:"all"},ef=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,em=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,eg={xml:{strict:ef,attribute:em,body:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},html4:{strict:ef,attribute:em,body:/&notin;|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},html5:{strict:ef,attribute:em,body:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g}},ev=ed(ed({},eg),{all:eg.html5}),ey=String.fromCharCode,eb=ey(65533);function ex(e,t){var r=void 0===t?ep:t,n=r.level,a=void 0===n?"all":n,i=r.scope,o=void 0===i?"xml"===a?"strict":"body":i;if(!e)return"";var s=ev[a][o],l=eh[a].entities,c="attribute"===o,u="strict"===o;return e.replace(s,function(e){return function(e,t,r,n){var a=e,i=e[e.length-1];if(r&&"="===i)a=e;else if(n&&";"!==i)a=e;else{var o=t[e];if(o)a=o;else if("&"===e[0]&&"#"===e[1]){var s=e[2],l="x"==s||"X"==s?parseInt(e.substr(3),16):parseInt(e.substr(2));a=l>=1114111?eb:l>65535?eu(l):ey(ec[l]||l)}}return a}(e,l,c,u)})}function eT(){let e=ei(["<"],["\\u003c"]);return eT=function(){return e},e}function eE(){let e=ei([">"],["\\u003e"]);return eE=function(){return e},e}function eC(){let e=ei(["<"],["\\u003c"]);return eC=function(){return e},e}function ew(){let e=ei([">"],["\\u003e"]);return ew=function(){return e},e}function ek(){let e=ei(["<"],["\\u003c"]);return ek=function(){return e},e}function eS(){let e=ei([">"],["\\u003e"]);return eS=function(){return e},e}function eI(){let e=ei(["<"],["\\u003c"]);return eI=function(){return e},e}function eP(){let e=ei([">"],["\\u003e"]);return eP=function(){return e},e}let e_=e=>{try{let{protocol:t}=new URL(e);return"http:"===t||"https:"===t}catch(e){return!1}},eR=(e,t)=>{let r=(0,en.uq)(e);return e_(r)||!e_(t)?r:new URL(r,new URL(t).origin).href},eA=/\/f\/\d+\/(\d+)x(\d+)\//,eN=e=>{let{metadata:t,pageUrl:r,lotteryFullName:n,orgSchema:a,videoSchemas:i,websiteSchema:s,newsArticleSchema:l,locale:c}=e,u=(null==t?void 0:t.canonical_url)||r,d=(0,en.UC)(u),h=((e,t,r)=>{let n=null==e?void 0:e.alternates;
1if(!n||0===n.length||!r)return[];let a=(0,en.UC)(t);if((null==e?void 0:e.canonical_url)&&(0,en.UC)(e.canonical_url)!==a)return[];let i=new Map;for(let e of(i.set(r,a),n))(null==e?void 0:e.locale)&&(null==e?void 0:e.url)&&e_(e.url)&&(i.has(e.locale)||i.set(e.locale,(0,en.UC)(e.url)));return i.size<2?[]:Array.from(i,e=>{let[t,r]=e;return{hreflang:t,href:r}})})(t,r,c),p=(null==t?void 0:t.og_title)||(null==t?void 0:t.title),f=(null==t?void 0:t.og_description)||(null==t?void 0:t.description),m=(null==t?void 0:t.twitter_title)||(null==t?void 0:t.title),g=(null==t?void 0:t.twitter_description)||(null==t?void 0:t.description),v=(null==t?void 0:t.twitter_image)||(null==t?void 0:t.og_image),y=(null==t?void 0:t.og_image)?(e=>{let t=eA.exec(e);if(!t)return;let[,r,n]=t;return{width:r,height:n}})(t.og_image):void 0;return(0,o.jsxs)(Z(),{children:[(0,o.jsx)("title",{children:(null==t?void 0:t.title)&&n?"".concat(null==t?void 0:t.title," | ").concat(n):(null==t?void 0:t.title)||n||""}),(null==t?void 0:t.description)&&(0,o.jsx)("meta",{name:"description",content:t.description}),p&&(0,o.jsx)("meta",{property:"og:title",content:p}),f&&(0,o.jsx)("meta",{property:"og:description",content:f}),(null==t?void 0:t.og_image)&&(0,o.jsx)("meta",{property:"og:image",content:eR(t.og_image,r)}),y&&[(0,o.jsx)("meta",{property:"og:image:width",content:y.width},"og:image:width"),(0,o.jsx)("meta",{property:"og:image:height",content:y.height},"og:image:height")],(null==t?void 0:t.og_type)&&(0,o.jsx)("meta",{property:"og:type",content:t.og_type}),(null==t?void 0:t.og_locale)&&(0,o.jsx)("meta",{property:"og:locale",content:t.og_locale}),(null==t?void 0:t.og_site_name)&&(0,o.jsx)("meta",{property:"og:site_name",content:t.og_site_name}),(null==t?void 0:t.og_url)&&(0,o.jsx)("meta",{property:"og:url",content:t.og_url}),(null==t?void 0:t.twitter_card)&&(0,o.jsx)("meta",{name:"twitter:card",content:t.twitter_card}),(null==t?void 0:t.twitter_url)&&(0,o.jsx)("meta",{name:"twitter:url",content:t.twitter_url}),(null==t?void 0:t.twitter_site)&&(0,o.jsx)("meta",{name:"twitter:site",content:t.twitter_site}),(null==t?void 0:t.twitter_creator)&&(0,o.jsx)("meta",{name:"twitter:creator",content:t.twitter_creator}),m&&(0,o.jsx)("meta",{name:"twitter:title",content:m}),g&&(0,o.jsx)("meta",{name:"twitter:description",content:g}),v&&(0,o.jsx)("meta",{name:"twitter:image",content:eR(v,r)}),(null==t?void 0:t.twitter_image_alt)&&(0,o.jsx)("meta",{name:"twitter:image:alt",content:t.twitter_image_alt}),(null==t?void 0:t.disable_indexing)?(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots"):(0,o.jsx)("meta",{name:"robots",content:"index, follow"},"robots"),(0,o.jsx)("meta",{name:"format-detection",content:"telephone=no"}),(0,o.jsx)("link",{rel:"canonical",href:d}),h.map(e=>{let{hreflang:t,href:r}=e;return(0,o.jsx)("link",{rel:"alternate",hrefLang:t,href:r},"alternate-".concat(t))}),a&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:ex(JSON.stringify(a).replace(/</g,String.raw(eT())).replace(/>/g,String.raw(eE())))}}),null==i?void 0:i.map((e,t)=>(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:ex(JSON.stringify(e).replace(/</g,String.raw(eC())).replace(/>/g,String.raw(ew())))}},"video-schema-".concat(t,"-").concat(null==e?void 0:e.name))),s&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:ex(JSON.stringify(s).replace(/</g,String.raw(ek())).replace(/>/g,String.raw(eS())))}}),l&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:ex(JSON.stringify(l).replace(/</g,String.raw(eI())).replace(/>/g,String.raw(eP())))}})]})};var eD=r(95816),eO=r.n(eD);let ej=new Set(["results","charities"]),eL=(e,t)=>/^https?:\/\//i.test(e)?e:e.startsWith("//")?"https:".concat(e):e.startsWith("/")?"".concat(t).concat(e):e,eM=(e,t)=>{if("object"==typeof e&&null!==e&&"component"in e&&"CtaSection"===e.component&&"Author"===e.label&&"string"==typeof e.title)return{name:e.title.trim(),url:((e,t)=>{let r=(0,R.M)(null==e?void 0:e[0]);if(null==r?void 0:r.href)return eL(r.href,t)})(e.callToAction,t)}},eH={npl:{path:"zoeken",param:"query"},dpl:{path:"suchen",param:"query"},ppl:null,spl:null,vl:null,nopl:null,cpl:null},eF=e=>{var t,r;let n=null==e||null==(t=e.content)?void 0:t.SEOMetadata,a=(null==n||null==(r=n.title)?void 0:r.length)>0;return!n||a?n:{...n,title:eq(e)}},eq=e=>{var t;if(!(null==e?void 0:e.content))return"";let{content:r}=e;return"DetailPage"===r.component&&(null==(t=r.introCard)?void 0:t[0].header)?r.introCard[0].header:"CategoryPage"===r.component&&r.pageTitleOverride?r.pageTitleOverride:r.heading?r.heading:""},eB=e=>{var t,r,n,a,i,l,c,u,d,h,p,f,g,v,y,b,x,T;let E,C,w,S,I,P,_,R,A=(0,s.c)(33),{config:N,story:D,enrichedVideos:O}=e;A[0]!==D?(E=eF(D),A[0]=D,A[1]=E):E=A[1];let j=E,L=(0,m.q)(),M=null==(a=L.organisationLinkedData)?void 0:a[0],H=null!=(t=null!=(r=null==M||null==(i=M.logo)?void 0:i.filename)?r:null==(l=L.logo)?void 0:l.filename)?t:"";A[2]!==N.baseUrl||A[3]!==H?(C=H.startsWith("http")?H:"".concat((null!=(c=N.baseUrl)?c:"").replace(/\/$/,"")).concat(H),A[2]=N.baseUrl,A[3]=H,A[4]=C):C=A[4];let F=C;A[5]!==(null==D?void 0:D.full_slug)?(w=(null==D?void 0:D.full_slug)?"".concat((0,k.b)(null==D?void 0:D.full_slug)):"",A[5]=null==D?void 0:D.full_slug,A[6]=w):w=A[6];let q=w,B="".concat(N.baseUrl).concat(q);if(A[7]!==N.baseUrl||A[8]!==N.lottery||A[9]!==F||A[10]!==M){let e;S=M?(u=N.lottery,d=N.baseUrl,e=(e=>{switch(e){case"ppl":default:return{addressCountry:"GB",availableLanguage:"English"};case"npl":case"vl":return{addressCountry:"NL",availableLanguage:"Dutch"};case"dpl":return{addressCountry:"DE",availableLanguage:"German"};case"spl":return{addressCountry:"SE",availableLanguage:"Swedish"};case"cpl":return{addressCountry:"CA",availableLanguage:"English"};case"nopl":return{addressCountry:"NO",availableLanguage:"Norwegian"}}})(null!=u?u:"ppl"),{"@context":"https://schema.org","@type":"Organization",name:null!=(h=null==M?void 0:M.name)?h:"",alternateName:null!=(p=null==M?void 0:M.alternateName)?p:"",url:null!=d?d:"",description:null!=(f=null==M?void 0:M.description)?f:"",logo:{"@type":"ImageObject","@id":F,url:F,contentUrl:F,inLanguage:e.availableLanguage},address:{"@type":"PostalAddress",streetAddress:null!=(g=null==M?void 0:M.address)?g:"",addressLocality:null!=(v=null==M?void 0:M.city)?v:"",postalCode:null!=(y=null==M?void 0:M.postalCode)?y:"",addressCountry:e.addressCountry},contactPoint:{"@type":"ContactPoint",telephone:null!=(b=null==M?void 0:M.telephoneNumber)?b:"",contactType:"customer service",areaServed:e.addressCountry,availableLanguage:e.availableLanguage},sameAs:null!=(x=null==M||null==(T=M.socialMediaLinks)?void 0:T.map(e=>{var t;return null==(t=e.linkHref||e.link)?void 0:t.url}).filter(e=>"string"==typeof e))?x:[]}):void 0,A[7]=N.baseUrl,A[8]=N.lottery,A[9]=F,A[10]=M,A[11]=S}else S=A[11];let U=S,W=null!=(n=N.baseUrl)?n:"";A[12]!==N.lottery||A[13]!==W?(I=((e,t)=>{let r=eH[t],n={"@context":"https://schema.org","@type":"WebSite","@id":"".concat(e,"/#website"),url:e};if(!r)return n;let{path:a,param:i}=r;return{...n,potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"".concat(e,"/").concat(a,"?").concat(i,"={search_term_string}")}}}})(W,N.lottery),A[12]=N.lottery,A[13]=W,A[14]=I):I=A[14];let V=I,G=(null==M?void 0:M.name)||N.lotteryFullName;if(A[15]!==N.baseUrl||A[16]!==N.enableNewsArticleSchema||A[17]!==O||A[18]!==F||A[19]!==B||A[20]!==D||A[21]!==G){let e={name:G,logoUrl:F};_=eO()(O)?void 0:O.map(t=>((e,t,r)=>{var n;return e.title&&e.thumbnailUrl&&e.uploadDate?{"@context":"https://schema.org","@type":"VideoObject",name:e.title,...e.description&&{description:e.description},thumbnailUrl:(n=e.thumbnailUrl,/^https?:\/\//i.test(n)?n:n.startsWith("//")?"https:".concat(n):n.startsWith("/")?"".concat(r).concat(n):n),uploadDate:e.uploadDate,...e.videoUrl&&{contentUrl:e.videoUrl},...e.embedUrl&&{embedUrl:e.embedUrl},...e.duration&&{duration:"PT".concat(e.duration,"S")},...t&&{publisher:{"@type":"Organization",name:t.name,logo:{"@type":"ImageObject",url:t.logoUrl,...t.logoWidth&&{width:"".concat(t.logoWidth)},...t.logoHeight&&{height:"".concat(t.logoHeight)}}}}}:null})(t,e,N.baseUrl||"")).filter(eU),P=N.enableNewsArticleSchema?((e,t,r,n)=>{var a,i,o,s,l,c,u,d,h;let p,f,m=null==e?void 0:e.content;if((null==m?void 0:m.component)!=="DetailPage"||!ej.has(null!=(a=null==(o=m.topicType)?void 0:o.topic)?a:""))return;let g=(e=>{var t;let r=null==(t=e.introCard)?void 0:t[0],n=r&&"header"in r?r.header:void 0;if(n)return n.length>110?n.slice(0,110):n})(m),v=[null==(p=null==(c=m.heroSection)||null==(l=c[0])||null==(s=l.images)?void 0:s[0])||null==(u=p.desktop)?void 0:u.filename,null==p||null==(d=p.mobile)?void 0:d.filename,null==(h=m.imageThumbnail)?void 0:h.filename].find(e=>"string"==typeof e&&e.length>0),y=e.first_published_at;if(!g||!v||!y)return;let b={"@context":"https://schema.org","@type":"NewsArticle",headline:g,image:{"@type":"ImageObject",url:eL(v,r)},datePublished:y,dateModified:null!=(i=e.published_at)?i:y,url:n,mainEntityOfPage:{"@type":"WebPage","@id":n}},x=(e=>{var t,r;let n=null==(t=e.SEOMetadata)?void 0:t.description;if(n)return n;let a=null==(r=e.introCard)?void 0:r[0];return a&&"text"in a?a.text:void 0})(m);x&&(b.description=x);let T=((e,t)=>{let r=((e,t)=>{if(e.sections)for(let r of e.sections){let e=eM(r,t);if(e)return e}})(e,t);if(!r)return;let n={"@type":"Person",name:r.name};return r.url&&(n.url=r.url),n})(m,r);return T&&(b.author=T),t&&(f={"@type":"ImageObject",url:t.logoUrl},t.logoWidth&&(f.width=String(t.logoWidth)),t.logoHeight&&(f.height=String(t.logoHeight)),b.publisher={"@type":"Organization",name:t.name,logo:f}),b})(D,e,N.baseUrl||"",B):void 0,A[15]=N.baseUrl,A[16]=N.enableNewsArticleSchema,A[17]=O,A[18]=F,A[19]=B,A[20]=D,A[21]=G,A[22]=P,A[23]=_}else P=A[22],_=A[23];let z=P;return A[24]!==N.locale||A[25]!==N.lotteryFullName||A[26]!==z||A[27]!==U||A[28]!==B||A[29]!==j||A[30]!==_||A[31]!==V?(R=(0,o.jsx)(eN,{metadata:j,pageUrl:B,lotteryFullName:N.lotteryFullName,orgSchema:U,videoSchemas:_,websiteSchema:V,newsArticleSchema:z,locale:N.locale}),A[24]=N.locale,A[25]=N.lotteryFullName,A[26]=z,A[27]=U,A[28]=B,A[29]=j,A[30]=_,A[31]=V,A[32]=R):R=A[32],R};function eU(e){return null!==e}var eW=r(66186);let eV={white:"bg-message-bar-white-bg",red:"bg-message-bar-light-red-bg",green:"bg-message-bar-light-green-bg",blue:"bg-message-bar-light-blue-bg"},eG={white:"text-message-bar-white-icon",red:"text-message-bar-light-red-icon",green:"text-message-bar-light-green-icon",blue:"text-message-bar-light-blue-icon"},ez={info:A.eeW,alert:A.eqn,check:A.C1y,ticket:A.fGs,users:A.tCF,"annotation-alert":A.t5o,"annotation-check":A.V2N,settings:A.AU2,heart:A.C3E,"annotation-dots":A.zbF},eY=e=>{var t;let r,n,a,i,l,c,d,h,p,f,m,g=(0,s.c)(20),{isVisible:v,message:y,icon:b,colorScheme:x}
1=e,T=void 0===x?"white":x,[E,C]=(0,u.useState)(!1),k=(0,u.useRef)(null),S=(0,u.useRef)(0),P=null!=(t=ez[void 0===b?"info":b])?t:A.eeW;if(g[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{let e=()=>{if(k.current){let e=k.current.offsetHeight;S.current=window.scrollY>0?-e:0,k.current.style.marginTop="".concat(S.current,"px")}};return window.addEventListener("scroll",e),e(),()=>{window.removeEventListener("scroll",e)}},n=[],g[0]=r,g[1]=n):(r=g[0],n=g[1]),(0,u.useEffect)(r,n),!v||E)return null;let _=eV[T];g[2]===Symbol.for("react.memo_cache_sentinel")?(a=I()("flex items-start justify-between py-2 transition-all duration-300 ease-in-out md:py-4"),g[2]=a):a=g[2];let R=eG[T];return g[3]!==R?(i=I()("min-w-6",R),g[3]=R,g[4]=i):i=g[4],g[5]!==P||g[6]!==i?(l=(0,o.jsx)(P,{className:i}),g[5]=P,g[6]=i,g[7]=l):l=g[7],g[8]!==y?(c=(0,o.jsx)(eW.o,{className:"pl-2 pr-2",content:y}),g[8]=y,g[9]=c):c=g[9],g[10]!==c||g[11]!==l?(d=(0,o.jsxs)("div",{className:"flex items-start",children:[l,c]}),g[10]=c,g[11]=l,g[12]=d):d=g[12],g[13]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{C(!0)},g[13]=h):h=g[13],g[14]===Symbol.for("react.memo_cache_sentinel")?(p=(0,o.jsx)("button",{className:"cursor-pointer","data-testid":"close-message-bar-btn",onClick:h,"aria-label":"Close",children:(0,o.jsx)(A.$Xg,{size:"lg",className:"text-fill-action"})}),g[14]=p):p=g[14],g[15]!==d?(f=(0,o.jsxs)("div",{ref:k,"data-testid":"homepage-message-bar",className:a,children:[d,p]}),g[15]=d,g[16]=f):f=g[16],g[17]!==f||g[18]!==_?(m=(0,o.jsx)(w.xI,{className:_,children:f}),g[17]=f,g[18]=_,g[19]=m):m=g[19],m};var e$=r(69430),eQ=r(5627),eK=r(40439);let eZ=e=>{let t,r,n,a,i,l,c=(0,s.c)(19),{currentPath:u,baseUrl:d,currentPageTitle:h,useLocalisedLabels:p}=e;c[0]!==u||c[1]!==p?(t=p?(0,eK.ii)(u):null,c[0]=u,c[1]=p,c[2]=t):t=c[2];let f=t;c[3]===Symbol.for("react.memo_cache_sentinel")?(r={revalidateOnFocus:!1,revalidateOnReconnect:!1},c[3]=r):r=c[3];let{data:m}=(0,e$.u)(f,eK.uo,r),{locale:g,lottery:v}=(0,E.p)();c[4]!==g||c[5]!==v?(n=(0,eQ.R)(g,v),c[4]=g,c[5]=v,c[6]=n):n=c[6];let{home:y,shouldTitleCase:b,customLabelMappings:x}=n,T=void 0!==b&&b;if(c[7]!==d||c[8]!==m||c[9]!==h||c[10]!==u||c[11]!==x||c[12]!==y||c[13]!==T){e:{let e=(0,eK.vY)(u).filter(eX),t=m&&m.length>0?m.map((t,r)=>{var n,a;return{href:t.href,label:null!=(n=t.label)?n:null==(a=e[r])?void 0:a.label}}):e;if(0===t.length||!(0,eK.Lk)(t.length,y)){a=null;break e}let r=[...y?[{label:y,href:"/"}]:[],...t];a={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:r.map((e,t)=>{let n=t===r.length-1&&h?(0,eK.om)(h):(0,eK.WG)(e.label,T,x);return{"@type":"ListItem",position:t+1,name:n,item:"".concat(d).concat(e.href)}})}}c[7]=d,c[8]=m,c[9]=h,c[10]=u,c[11]=x,c[12]=y,c[13]=T,c[14]=a}else a=c[14];let C=a;return C?(c[15]!==C?(i=JSON.stringify(C),c[15]=C,c[16]=i):i=c[16],c[17]!==i?(l=(0,o.jsx)(Z(),{children:(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:i}},"breadcrumbLdJson")}),c[17]=i,c[18]=l):l=c[18],l):null};function eX(e){return!(0,eK.kI)(e.label)}var eJ=r(95702),e1=r(99649),e0=r(93096),e2=r(92424),e3=r(56031);function e5(e){var t=e.children,r=(0,e2._)(e,["children"]),n=u.useRef(null),a=u.useRef(0),i=u.useRef(!1);if(u.useEffect(function(){i.current=!0},[]),0===Object.keys(r).length)return u.createElement(u.Fragment,null,t);var o=(0,e0._)((0,e1._)({},r),{ssrSearchRef:n,recommendIdx:a,hydrationCompleteRef:i});return u.createElement(e3.R.Provider,{value:o},t)}let e4=[T.L3.AllInPage,T.L3.CategoryPage,T.L3.HubPage,T.L3.CampaignPage,T.L3.ResultsPage,T.L3.ResultsPageTemplate,T.L3.PplResultsPage,T.L3.AllInCharitiesPage],e8=["IntroCardSection","TextIntroInline","EventCard"],e6=e=>{var t,r,n,a,i,l,u,h,p,f,g,v,y,b,x,E,C,w,S,I,P,_,R,N,D,O,j,L,M,H,F,q,B,U,W,G,Y,$,Q;let K,X,J,ee,et,er,en,ei,eo,es,el,ec,eu,ed,eh,ep,ef,em,eg,ev,ey,eb,ex,eT,eE=(0,s.c)(74),{story:eC,instantSearchServerState:ew,pagesThatShowOnlyLogoTopNav:ek,config:eS,locale:eI,enrichedVideos:eP,navigationVariations:e_,withToastProvider:eR}=e,eA=null==eC?void 0:eC.content.component;eE[0]!==eA?(K=(e=>{switch(e){case"AllInPage":return"all-in";case"CategoryPage":case"ResultsPageTemplate":return"category";case"DetailPage":return"detail";case"HomePage":return"homepage";case"HubPage":return"hub";
1case"ResultsPage":case"PplResultsPage":return"results";case"SearchResultsPage":return"search";case"CampaignPage":return"campaign";default:return e}})(eA),eE[0]=eA,eE[1]=K):K=eE[1];let eN=null==eC||null==(t=eC.content.topicType)?void 0:t.topic;eE[2]!==(null==eC||null==(r=eC.content.topicType)?void 0:r.categories)?(X=null==eC||null==(I=eC.content.topicType)||null==(S=I.categories)?void 0:S.map(e9),eE[2]=null==eC||null==(P=eC.content.topicType)?void 0:P.categories,eE[3]=X):X=eE[3];let eD=null==eC?void 0:eC.content.additionalPageTrackingData;eE[4]!==K||eE[5]!==eN||eE[6]!==X||eE[7]!==eD?(J={pageType:K,pageTopic:eN,pageCategories:X,additionalData:eD},eE[4]=K,eE[5]=eN,eE[6]=X,eE[7]=eD,eE[8]=J):J=eE[8],(0,c.CF)(J),eE[9]===Symbol.for("react.memo_cache_sentinel")?(ee={resolveRelations:ea},eE[9]=ee):ee=eE[9];let eO=(0,d.kY)(eC,ee),{shouldUseLocalisedBreadcrumbs:ej}=(0,m.q)();if(!(null==eO?void 0:eO.content))return null;let eL=(null==eO||null==(n=eO.content)?void 0:n.component)===T.L3.HomePage&&(null==eO||null==(i=eO.content)||null==(a=i.messageBar)?void 0:a[0])&&(null==eO||null==(u=eO.content)||null==(l=u.messageBar)?void 0:l[0]),eM=(null==eO||null==(h=eO.content)?void 0:h.topNavVariant)||void 0,eH=ek.includes(null==eO||null==(p=eO.content)?void 0:p.component)&&eO.content.hideNavigation?"showOnlyLogo":eM;eE[10]!==eO||eE[11]!==eH?(et=((e,t)=>{var r;if(t)return t;if((null==e||null==(r=e.content)?void 0:r.component)===T.L3.CampaignPage){let t=e.content.headerNavigation;switch(t){case void 0:case"fullNavigation":break;case"disabledNavigation":return"showNone";case"simpleNavigation":return"showOnlyLogo";default:throw Error("Unknown 'headerNavigation' value on Campaign page: ".concat(t))}}return"showFullNav"})(eO,eH),eE[10]=eO,eE[11]=eH,eE[12]=et):et=eE[12];let eq=et;eE[13]!==eR?(er=e=>{let{children:t}=e;return eR?(0,o.jsx)(A.tEY,{children:t}):t},eE[13]=eR,eE[14]=er):er=eE[14];let eU=er,eW=(null==eO||null==(f=eO.content)?void 0:f.component)===T.L3.CplRegistrationPage,eV=null==eO||null==(v=eO.content)||null==(g=v.introCard)?void 0:g[0];eE[15]!==(null==eV?void 0:eV.component)||eE[16]!==(null==eV?void 0:eV.hideBreadcrumbs)||eE[17]!==(null==(y=eO.content)?void 0:y.component)?(en=(null==eO||null==(_=eO.content)?void 0:_.component)===T.L3.DetailPage&&e8.includes(null==eV?void 0:eV.component)&&!(null==eV?void 0:eV.hideBreadcrumbs),eE[15]=null==eV?void 0:eV.component,eE[16]=null==eV?void 0:eV.hideBreadcrumbs,eE[17]=null==(R=eO.content)?void 0:R.component,eE[18]=en):en=eE[18];let eG=en;eE[19]!==eG||eE[20]!==(null==(b=eO.content)?void 0:b.component)?(ei=e4.includes(null==eO||null==(N=eO.content)?void 0:N.component)||eG,eE[19]=eG,eE[20]=null==(D=eO.content)?void 0:D.component,eE[21]=ei):ei=eE[21];let ez=ei;eE[22]!==eL?(eo=eL&&(0,o.jsx)(eY,{...eL}),eE[22]=eL,eE[23]=eo):eo=eE[23];let e$=eS.theme,eQ=!eW,eK=null==eO||null==(x=eO.content)?void 0:x.component,eX=null==(E=eS.lotteryNav)?void 0:E.isBurgerMenuOrderLast;return eE[24]!==(null==(w=eO.content)||null==(C=w.stickyFooter)?void 0:C[0])?(es=(null==eO||null==(j=eO.content)||null==(O=j.stickyFooter)?void 0:O[0])?{stickFooter:null==eO||null==(M=eO.content)||null==(L=M.stickyFooter)?void 0:L[0],alwaysShown:!0}:void 0,eE[24]=null==(F=eO.content)||null==(H=F.stickyFooter)?void 0:H[0],eE[25]=es):es=eE[25],eE[26]!==eX||eE[27]!==es?(el={isBurgerMenuOrderLast:eX,stickyFooterOverride:es},eE[26]=eX,eE[27]=es,eE[28]=el):el=eE[28],eE[29]!==eP?(ec=null!=eP?eP:[],eE[29]=eP,eE[30]=ec):ec=eE[30],eE[31]!==eS||eE[32]!==eO||eE[33]!==ec?(eu=(0,o.jsx)(eB,{config:eS,story:eO,enrichedVideos:ec}),eE[31]=eS,eE[32]=eO,eE[33]=ec,eE[34]=eu):eu=eE[34],eE[35]!==eS.baseUrl||eE[36]!==eS.enableBreadcrumbSchema||eE[37]!==ez||eE[38]!==ej||eE[39]!==eO?(ed=eS.enableBreadcrumbSchema&&!(null==eO||null==(B=eO.content)?void 0:B.hideBreadcrumbs)&&ez&&(0,o.jsx)(eZ,{currentPath:(0,k.b)(null!=(q=null==eO?void 0:eO.full_slug)?q:""),baseUrl:eS.baseUrl,currentPageTitle:(null==eO||null==(U=eO.content)?void 0:U.heading)||(null==eO||null==(Y=eO.content)||null==(G=Y.introCard)||null==(W=G[0])?void 0:W.header)||(null==($=eF(eO))?void 0:$.title)||(null==eO?void 0:eO.name)||"",useLocalisedLabels:ej}),eE[35]=eS.baseUrl,eE[36]=eS.enableBreadcrumbSchema,eE[37]=ez,eE[38]=ej,eE[39]=eO,eE[40]=ed):ed=eE[40],eE[41]!==eS.serviceWorker?(eh=(null==(Q=eS.serviceWorker)?void 0:Q.enabled)&&z({manifestUrl:eS.serviceWorker.manifestUrl,workerUrl:eS.serviceWorker.workerUrl}),eE[41]=eS.serviceWorker,eE[42]=eh):eh=eE[42],eE[43]!==eS.favIconSet?(ep=eS.favIconSet.map(e7),eE[43]=eS.favIconSet,eE[44]=ep):ep=eE[44],eE[45]!==eh||eE[46]!==ep?(ef=(0,o.jsxs)(Z(),{children:[eh,ep]}),eE[45]=eh,eE[46]=ep,eE[47]=ef):ef=eE[47],eE[48]!==eO.content?(em=(0,o.jsx)(eJ.A,{blok:eO.content}),eE[48]=eO.content,eE[49]=em):em=eE[49],eE[50]!==ew||eE[51]!==em?(eg=(0,o.jsx)(e5,{...ew,children:em}),eE[50]=ew,eE[51]=em,eE[52]=eg):eg=eE[52],eE[53]!==eU||eE[54]!==eg?
1(ev=(0,o.jsx)(eU,{children:eg}),eE[53]=eU,eE[54]=eg,eE[55]=ev):ev=eE[55],eE[56]===Symbol.for("react.memo_cache_sentinel")?(ey=(0,o.jsx)("div",{id:"portal"}),eE[56]=ey):ey=eE[56],eE[57]!==e_||eE[58]!==eQ||eE[59]!==eK||eE[60]!==el||eE[61]!==eu||eE[62]!==ed||eE[63]!==ef||eE[64]!==ev||eE[65]!==eq?(eb=(0,o.jsxs)(V,{withBottomPadding:eQ,pageName:eK,navigationVariations:e_,navigationConfig:el,topNavVariant:eq,children:[eu,ed,ef,ev,ey]}),eE[57]=e_,eE[58]=eQ,eE[59]=eK,eE[60]=el,eE[61]=eu,eE[62]=ed,eE[63]=ef,eE[64]=ev,eE[65]=eq,eE[66]=eb):eb=eE[66],eE[67]!==eS.theme||eE[68]!==eI||eE[69]!==eb?(ex=(0,o.jsx)(A.D3S,{locale:eI,theme:e$,children:eb}),eE[67]=eS.theme,eE[68]=eI,eE[69]=eb,eE[70]=ex):ex=eE[70],eE[71]!==eo||eE[72]!==ex?(eT=(0,o.jsxs)(o.Fragment,{children:[eo,ex]}),eE[71]=eo,eE[72]=ex,eE[73]=eT):eT=eE[73],eT};function e9(e){return e?e.toLowerCase():e}function e7(e,t){return(0,o.jsx)("link",{...e,type:e.type||"image/png",rel:e.rel||"icon"},"".concat(e.href,"-").concat(t))}let t
vendor: 27,076 bytes, line 1
1e={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(
1te);let tt={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["w
1off"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(tt);var tr=function(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class tn{constructor(...e){for(const t of(n.set(this,new Map),a.set(this,new Map),i.set(this,new Map),e))this.define(t)}define(e,t=!1){for(let[r,o]of Object.entries(e)){r=r.toLowerCase(),o=o.map(e=>e.toLowerCase()),tr(this,i,"f").has(r)||tr(this,i,"f").set(r,new Set);let e=tr(this,i,"f").get(r),s=!0;for(let i of o){let o=i.startsWith("*");if(i=o?i.slice(1):i,e?.add(i),s&&tr(this,a,"f").set(r,i),s=!1,o)continue;let l=tr(this,n,"f").get(i);if(l&&l!=r&&!t)throw Error(`"${r} -> ${i}" conflicts with "${l} -> ${i}". Pass \`force=true\` to override this definition.`);tr(this,n,"f").set(i,r)}}return this}getType(e){if("string"!=typeof e)return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=t.replace(/^.*\./s,"").toLowerCase(),a=t.length<e.length;return!(r.length<t.length-1)&&a?null:tr(this,n,"f").get(r)??null}getExtension(e){return"string"!=typeof e?null:((e=e?.split?.(";")[0])&&tr(this,a,"f").get(e.trim().toLowerCase()))??null}getAllExtensions(e){return"string"!=typeof e?null:tr(this,i,"f").get(e.toLowerCase())??null}_freeze(){for(let e of(this.define=()=>{throw Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")}
1,Object.freeze(this),tr(this,i,"f").values()))Object.freeze(e);return this}_getTestState(){return{types:tr(this,n,"f"),extensions:tr(this,a,"f")}}}n=new WeakMap,a=new WeakMap,i=new WeakMap,new tn(tt,te)._freeze(),r(46137),r(29143)},9039:(e,t,r)=>{"use strict";r.d(t,{dc:()=>i,VG:()=>o});var n=r(93227);let a=[],i=!1;function o(e,t,r,o){let s;"function"==typeof t&&"function"!=typeof r?(o=r,r=t):s=t;let l=(0,n.C)(s),c=o?-1:1;(function e(n,s,u){let d=n&&"object"==typeof n?n:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(h,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return h;function h(){var d;let h,p,f,m=a;if((!t||l(n,s,u[u.length-1]||void 0))&&(m=Array.isArray(d=r(n,u))?d:"number"==typeof d?[!0,d]:null==d?a:[d])[0]===i)return m;if("children"in n&&n.children&&n.children&&"skip"!==m[0])for(p=(o?n.children.length:-1)+c,f=u.concat(n);p>-1&&p<n.children.length;){if((h=e(n.children[p],p,f)())[0]===i)return h;p="number"==typeof h[1]?h[1]:p+c}return m}})(e,void 0,[])()}},9069:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return d},permanentRedirect:function(){return u},redirect:function(){return c}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let i=r(84732),o=r(54918),s=r(55957);function l(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.RedirectStatusCode.TemporaryRedirect,n=Object.defineProperty(Error(o.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n.digest="".concat(o.REDIRECT_ERROR_CODE,";").concat(t,";").concat(e,";").concat(r,";"),n}function c(e,t){var r,n;throw null!=t||(t=(null==(n=s.actionAsyncStorage)||null==(r=n.getStore())?void 0:r.isAction)?"push":"replace"),l(e,t,i.RedirectStatusCode.TemporaryRedirect)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"replace";throw l(e,t,i.RedirectStatusCode.PermanentRedirect)}function d(e){return(0,o.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function h(e){if(!(0,o.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function p(e){if(!(0,o.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9447:()=>{},9860:(e,t,r)=>{"use strict";r.d(t,{M:()=>a});var n=r(44160);let a=e=>{var t;return!!e&&Array.isArray(e)&&(null==(t=e[0])?void 0:t.component)===n.T6.ResponsiveImage}},10603:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});var n=(0,r(55729).createContext)(null)},11492:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});let n=e=>{switch(e){case"buttonPrimary":case"primary":return"primary";case"buttonSecondary":case"secondary":return"secondary";default:return}}},12068:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CategoryPage:()=>j,categoryPageEnhancer:()=>L});var n=r(6029),a=r(75155),i=r(12645),o=r(29829),s=r(41834),l=r(32988),c=r.n(l),u=r(87581),d=r(69106);let h=e=>{let t,r,i,o,s=(0,a.c)(14),{date:l,tags:u,inverse:d}=e,h=void 0!==d&&d,p=!h;if(s[0]!==h||s[1]!==p?(t=c()("flex items-center gap-2 py-2 text-sm",{"text-ds-gray-48":p,"text-ds-white":h}),s[0]=h,s[1]=p,s[2]=t):t=s[2],s[3]!==l?(r=(0,n.jsx)("div",{className:"flex",children:(0,n.jsx)("p",{children:l})}),s[3]=l,s[4]=r):r=s[4],s[5]!==h||s[6]!==u){let e;s[8]!==h?(e=e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:c()("h-1.5 w-1.5 rounded-full",{"bg-ds-gray-48":!h,"bg-ds-white":h})}),(0,n.jsx)("p",{children:e})]},e),s[8]=h,s[9]=e):e=s[9],i=u.map(e),s[5]=h,s[6]=u,s[7]=i}else i=s[7];return s[10]!==t||s[11]!==r||s[12]!==i?(o=(0,n.jsxs)("div",{className:t,children:[r,i]}),s[10]=t,s[11]=r,s[12]=i,s[13]=o):o=s[13],o},p=e=>{var t,r;
1let l,c,p,f,m,g,v,y,b,x,T,E,C=(0,a.c)(32),{title:w,text:k,backgroundImage:S,date:I,label:P,tags:_,href:R}=e,{isGreaterOrEqual:A}=(0,o._X)(),{locale:N}=(0,i.p)(),D=null!=(t=null==S||null==(r=S.desktop)?void 0:r.filename)?t:"";C[0]!==D?(l=(0,u.gJ)({mobile:{filename:D}}),C[0]=D,C[1]=l):l=C[1];let O=l;C[2]!==O?(c={alt:"",srcSet:O},C[2]=O,C[3]=c):c=C[3],C[4]!==P?(p=P&&""!==P?(0,n.jsx)(s.JU7,{className:"left-0",color:"red",label:P,alignment:"left"}):void 0,C[4]=P,C[5]=p):p=C[5],C[6]!==c||C[7]!==p?(f=(0,n.jsx)(s.x_k,{className:"h-[360px] sm:rounded-ds",image:c,label:p}),C[6]=c,C[7]=p,C[8]=f):f=C[8];let j=A("sm")?"inside":"outside";return C[9]!==w?(m=(0,n.jsx)(s.B7q,{children:w}),C[9]=w,C[10]=m):m=C[10],C[11]!==I||C[12]!==_?(g=(0,n.jsx)(h,{date:I,tags:_,inverse:!0}),C[11]=I,C[12]=_,C[13]=g):g=C[13],C[14]!==k?(v=(0,n.jsx)(s.fzL,{className:"line-clamp-2",children:k}),C[14]=k,C[15]=v):v=C[15],C[16]!==g||C[17]!==v?(y=(0,n.jsxs)(s.Lue,{children:[g,v]}),C[16]=g,C[17]=v,C[18]=y):y=C[18],C[19]!==N?(b=(0,d.I)(N),C[19]=N,C[20]=b):b=C[20],C[21]!==R||C[22]!==b.showMoreLabel?(x=(0,n.jsx)(s.TMd,{link:{href:R,label:b.showMoreLabel}}),C[21]=R,C[22]=b.showMoreLabel,C[23]=x):x=C[23],C[24]!==y||C[25]!==x||C[26]!==j||C[27]!==m?(T=(0,n.jsxs)(s.S_V,{placement:j,inverse:!0,children:[m,y,x]}),C[24]=y,C[25]=x,C[26]=j,C[27]=m,C[28]=T):T=C[28],C[29]!==T||C[30]!==f?(E=(0,n.jsxs)(s.Liv,{children:[f,T]}),C[29]=T,C[30]=f,C[31]=E):E=C[31],E};var f=r(39476),m=r(27872),g=r(74632),v=r(44160),y=r(39136),b=r(78440),x=r(37608),T=r(57586),E=r(23051),C=r(81278),w=r(2270),k=r(51652),S=r(78263),I=r(88454),P=r(99280),_=r(9860),R=r(11933),A=r(95525),N=r(72787),D=r(93625),O=r(21091);let j=e=>{var t,r,o,l,c,d,h,T,j,L,M,U,W,V,G,z,Y,$,Q,K,Z,X,J,ee,et,er,en,ea,ei,eo,es;let el,ec,eu,ed,eh,ep,ef,em,eg,ev,ey,eb,ex,eT,eE=(0,a.c)(57),{blok:eC,lottery:ew,environment:ek,analyticsEnabled:eS}=e,{locale:eI}=(0,i.p)(),{asPath:eP}=(0,C.useRouter)(),{shouldUseLocalisedBreadcrumbs:e_}=(0,k.q)(),eR=null==(r=eC.ctaSection)?void 0:r[0],eA=null!=(t=null==(o=eC.topicType)?void 0:o.topic)?t:"",eN=null==(c=eC.topicType)||null==(l=c.categories)?void 0:l[0],eD=eC.gridItems,eO=eC.pageTitleOverride||eC.heading,ej=null==(d=eC.spotlightCard)?void 0:d[0],eL=(0,P.S)(ej)?null==ej?void 0:ej.id:void 0;eE[0]!==eI||eE[1]!==ej?(el=ej&&((e,t)=>{if("object"==typeof e&&"content"in e){var r,n,a,i,o,s,l,c;let u=null==(r=e.content.introCard)?void 0:r[0];if((0,A.n)(u)){let r=(0,R.N1)(null!=t?t:"en-GB",null!=(n=e.first_published_at)?n:e.created_at),d=(0,D.g)(u,t,null!=(a=e.first_published_at)?a:e.created_at);return{id:e.id,date:r,title:null!=(i=u.header)?i:"",text:null!=(o=u.text)?o:"",backgroundImage:null==(c=e.content.heroSection)||null==(l=c[0])||null==(s=l.images)?void 0:s[0],tags:d,label:(0,N.t)(u)&&u.label||"",href:e.full_slug}}}return null})(ej,eI),eE[0]=eI,eE[1]=ej,eE[2]=el):el=eE[2];let eM=el;eE[3]!==eM?(ec=eM&&(0,n.jsx)(p,{title:eM.title,text:eM.text,backgroundImage:{desktop:{filename:null!=(h=null==(U=eM.backgroundImage)||null==(M=U.desktop)?void 0:M.filename)?h:""},mobile:{filename:null!=(T=null==(V=eM.backgroundImage)||null==(W=V.mobile)?void 0:W.filename)?T:""}},date:null!=(j=eM.date)?j:"",tags:null!=(L=eM.tags)?L:[],label:eM.label,href:eM.href}),eE[3]=eM,eE[4]=ec):ec=eE[4];let eH=ec;eE[5]!==eS||eE[6]!==eR?(eu=eR&&(0,n.jsx)(f.C,{mode:eR.mode,title:eR.title,text:eR.text,label:eR.label,ctaVariant:null!=(G=eR.ctaVariant)?G:"buttonPrimary",callToAction:null!=(z=(0,O.M)(null==(Y=eR.callToAction)?void 0:Y[0]))?z:{label:"",href:""},wide:!0,analyticsEnabled:!!eS,anchorId:eR._uid}),eE[5]=eS,eE[6]=eR,eE[7]=eu):eu=eE[7];let eF=eu;if(eE[8]!==eC||eE[9]!==eI||eE[10]!==ew||eE[11]!==eP||eE[12]!==e_){let e,t=((e,t)=>{switch("".concat(t,"_").concat(e)){case"npl_nl-NL":return{participate:"Deelnemen",drawsPayments:"Trekking en betalingen",winnings:"Winnen",postcode:"Postcode",updatePersonalData:"Werk persoonlijke gegevens bij",myAccount:"Mijn account",sundayWinners:"Zondag prijs",avoidFraud:"Bestrijd fraude",tickets:"Tickets",charities:"Charities",address:"Adres",prizes:"Prijzen",press:"Pers",magazine:"Magazine"};case"dpl_de-DE":return{participate:"Teilnehmen",drawsPayments:"Ziehungen und Auszahlungen",winnings:"Gewinne",postcode:"Postcode",updatePersonalData:"Pers\xf6nliche Daten aktualisieren",myAccount:"Mein Konto",sundayWinners:"Sonntagsgewinn",avoidFraud:"Betrug vermeiden",tickets:"Tickets",charities:"F\xf6rderung",address:"Adresse",prizes:"Preise",press:"Presse",magazine:"Magazin"};case"spl_sv-SE":return{participate:"Deltag",drawsPayments:"Dragningar och betalningar",winnings:"Vinster",postcode:"Postnummer",updatePersonalData:"Uppdatera personlig information",myAccount:"Mitt konto",sundayWinners:"S\xf6ndagsvinst",avoidFraud:"F\xf6rhindra bedr\xe4geri",tickets:"Biljetter",charities:"V\xe4lg\xf6renheter",address:"Adress",prizes:"Priser",press:"Trycka",magazine:"Magasin"};case"nopl_no-NO":return{participate:"Bli med",drawsPayments:"Trekninger og betalinger",winnings:"Gevinster",postcode:"Postkode",updatePersonalData:"Oppdater personlig informasjon",myAccount:"Mine sider",sundayWinners:"S\xf8ndagsgevinst",avoidFraud:"Unng\xe5 svindel",tickets:"Lodd",charities:"Gode form\xe5l",address:"Adresse",prizes:"Gevinster",press:"Presse",magazine:"Magasin"};default:return{participate:"Participate",drawsPayments:"Draws & Payments",winnings:"Winnings",postcode:"Postcode",updatePersonalData:"Update Personal Data",myAccount:"My Account",sundayWinners:"Sunday Winners",avoidFraud:"Avoid Fraud",tickets:"Tickets",charities:"Charities",address:"Address",prizes:"Prizes",press:"Press",magazine:"Magazine"}}})(eI,ew),r=null==($=eC.headerImage)?void 0:$[0];eE[18]!==eC.headerImage||eE[19]!==r?(e=(0,_.M)(eC.headerImage)?(0,u.gJ)({mobile:{filename:null!=(K=null==r?void 0:r.mobile.filename)?K:"",alt:null!=(Z=null==r?void 0:r.mobile.alt)?Z:void 0,focus:null!=(X=null==r?void 0:r.mobile.focus)?X:void 0},...(null==r?void 0:r.desktop)?{desktop:{filename:r.desktop.filename,alt:null!=(J=r.desktop.alt)?J:void 0,focus:null!=(ee=r.desktop.focus)?ee:void 0}}:{},...(null==r?void 0:r.desktopLarge)?{desktopLarge:{filename:r.desktopLarge.filename,alt:null!=(et=r.desktopLarge.alt)?et:void 0,focus:null!=(er=r.desktopLarge.focus)?er:void 0}}:{}},480):void 0,eE[18]=eC.headerImage,eE[19]=r,eE[20]=e):e=eE[20];let a=e;ed=m.x,eE[21]!==eC?(ef=(0,I.d)(eC),eE[21]=eC,eE[22]=ef):ef=eE[22],eE[23]!==(null==(Q=eC.headerImage)?void 0:Q[0])||eE[24]!==eC.headerImageText||eE[25]!==eC.heroBanner||eE[26]!==a?(em=(null==(en=eC.heroBanner)?void 0:en[0])&&(null==(ea=eC.heroBanner)?void 0:ea.length)>0?(0,n.jsx)(g.d,{blok:eC.heroBanner[0]}):(null==(ei=eC.headerImage)?void 0:ei[0].component)===v.T6.ResponsiveImage&&a&&(0,n.jsx)(y.r,{textContent:eC.headerImageText,imageSrcSet:a}),eE[23]=null==(eo=eC.headerImage)?void 0:eo[0],eE[24]=eC.headerImageText,eE[25]=eC.heroBanner,eE[26]=a,eE[27]=em):em=eE[27],eh="grid gap-y-2 lg:w-[824px]",ep=!eC.hideBreadcrumbs&&(0,n.jsx)(b.N,{currentPath:eP,currentLinkLabel:(()=>{var e,r;let n=null==(r=eC.topicType)||null==(e=r.categories)?void 0:e[0];if(n){let e=function(e){return e.replace(/[\s&]+(.)/g,H).replace(/^\w/,F)}(n);if(e in t)return t[e]}return eC.heading})(),className:"mb-2",useLocalisedLabels:e_}),eE[8]=eC,eE[9]=eI,eE[10]=ew,eE[11]=eP,eE[12]=e_,eE[13]=ed,eE[14]=eh,eE[15]=ep,eE[16]=ef,eE[17]=em}else ed=eE[13],eh=eE[14],ep=eE[15],ef=eE[16],em=eE[17];return eE[28]!==eO?(eg=(0,n.jsx)(s.OUT,{children:eO}),eE[28]=eO,eE[29]=eg):eg=eE[29],eE[30]!==eC.introText?(ev=(0,n.jsx)(s.fzL,{testId:"introtext",variant:"introduction",className:"md:mt-2",children:eC.introText}),eE[30]=eC.introText,eE[31]=ev):ev=eE[31],eE[32]!==eh||eE[33]!==ep||eE[34]!==eg||eE[35]!==ev?(ey=(0,n.jsxs)("div",{className:eh,
1children:[ep,eg,ev]}),eE[32]=eh,eE[33]=ep,eE[34]=eg,eE[35]=ev,eE[36]=ey):ey=eE[36],eE[37]!==eC.topicType||eE[38]!==eN||eE[39]!==eF||eE[40]!==ek||eE[41]!==eD||eE[42]!==eI||eE[43]!==ew||eE[44]!==eL||eE[45]!==eH||eE[46]!==eA?(eb=eC.topicType&&eD&&(0,n.jsx)(x.i,{gridItems:eD.items,ctaSectionComponent:eF,spotlightCardComponent:eH,paginationComponent:(0,n.jsx)(w.d,{total:eD.total,fetchFunc:e=>(0,S.l)({topic:eA,lottery:ew,locale:eI,version:(0,E.qg)(ek),spotlightStoryId:eL,category:eN,pageNumber:e}),cacheKey:()=>"gridItems-".concat(eA,"-").concat(eN),renderItem:q})}),eE[37]=eC.topicType,eE[38]=eN,eE[39]=eF,eE[40]=ek,eE[41]=eD,eE[42]=eI,eE[43]=ew,eE[44]=eL,eE[45]=eH,eE[46]=eA,eE[47]=eb):eb=eE[47],eE[48]!==eC.sections?(ex=null==(es=eC.sections)?void 0:es.map(B),eE[48]=eC.sections,eE[49]=ex):ex=eE[49],eE[50]!==ed||eE[51]!==ey||eE[52]!==eb||eE[53]!==ex||eE[54]!==ef||eE[55]!==em?(eT=(0,n.jsxs)(ed,{...ef,children:[em,ey,eb,ex]}),eE[50]=ed,eE[51]=ey,eE[52]=eb,eE[53]=ex,eE[54]=ef,eE[55]=em,eE[56]=eT):eT=eE[56],eT},L=e=>async t=>{if(M(t)){var r;let n=t.topicType.categories[0],a=null==(r=t.spotlightCard)?void 0:r[0],i=(0,P.S)(a)?null==a?void 0:a.id:void 0,o=await (0,S.l)({topic:t.topicType.topic,lottery:e.lottery,locale:e.locale,version:(0,E.qg)(e.environment),spotlightStoryId:i,category:n});t.gridItems=o}},M=e=>{var t;return"CategoryPage"===e.component&&"object"==typeof e.topicType&&"string"==typeof e.topicType.topic&&"string"==typeof(null==(t=e.topicType.categories)?void 0:t[0])};function H(e,t){return t.toUpperCase()}function F(e){return e.toLowerCase()}function q(e){return(0,n.jsx)(T.x,{content:e},e._uid)}function B(e){return(0,n.jsx)(g.d,{blok:e},e._uid)}},12395:(e,t,r)=>{"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,{_:()=>n})},12438:(e,t,r)=>{"use strict";r.d(t,{s:()=>n});let n=e=>{let{isLoggedIn:t,loggedInField:r,loggedOutField:n}=e;return t&&r?r:n}},12481:e=>{"use strict";e.exports=function(e,t,r){if(!Array.isArray(e))return[];Array.isArray(r)||(r=[]);var n=e.map(function(e,r){return{criteria:t.map(function(t){return e[t]}),index:r,value:e}});return n.sort(function(e,t){for(var n=-1;++n<e.criteria.length;){var a=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,a=void 0!==t,i=null===t;if(!i&&e>t||n&&a||!r)return 1;if(!n&&e<t||i&&r||!a)return -1}return 0}(e.criteria[n],t.criteria[n]);if(a){if(n>=r.length)return a;if("desc"===r[n])return-a;return a}}return e.index-t.index}),n.map(function(e){return e.value})}},12645:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(55729),a=r(97398);let i=()=>{let e=(0,n.useContext)(a.T);if(!e)throw Error("LotteryConfigContext is undefined. Did you wrap it with LotteryConfigProvider?");return e}},12853:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var r=1,n=arguments.length;r<n;r++){var a=arguments[r];t(a)&&function e(r,n){if(r===n)return r;for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a)&&"__proto__"!==a&&"constructor"!==a){var i=n[a],o=r[a];(void 0===o||void 0!==i)&&(t(o)&&t(i)?r[a]=e(o,i):r[a]="object"==typeof i&&null!==i?e(Array.isArray(i)?[]:{},i):i)}return r}(e,a)}return e}},13112:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});var n=(0,r(55729).createContext)(null)},13119:(e,t,r)=>{"use strict";r.d(t,{C:()=>a,P:()=>i});var n=r(55729);let a=(0,r(55620).H)("__plg_storyblokStoryContext__",(0,n.createContext)(null)),i=()=>{let e=(0,n.useContext)(a);if(!e)throw Error("StoryblokStoryContext is undefined. Did you wrap it a StoryblokStoryProvider?");return e}},13532:(e,t,r)=>{"use strict";r.d(t,{YR:()=>a});var n=r(9039);function a(e,t,r,a){let i,o,s;"function"==typeof t&&"function"!=typeof r?(o=void 0,s=t,i=r):(o=t,s=r,i=a),(0,n.VG)(e,o,function(e,t){let r=t[t.length-1],n=r?r.children.indexOf(e):void 0;return s(e,n,r)},i)}},13593:(e,t,r)=>{"use strict";r.d(t,{O:()=>n});let n=e=>function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e[t],a={};if(!n)return a;for(let e in n){let t=n[e];if("string"==typeof t){a[e]=t;continue}let i=r[e];if(void 0===i||"object"!=typeof t)continue;let o=String(i);a[e]=o in t?t[o]:void 0}return a}},13823:(e,t,r)=>{"use strict";r.d(t,{j:()=>function e(t,r,i){var o,s;if((null==i?void 0:i(t,r))||t===r)return!0;
1if(t&&r&&(o=t.constructor)===r.constructor){if(o===Date)return t.getTime()===r.getTime();if(o===RegExp)return t.toString()===r.toString();if(o===Array){if((s=t.length)===r.length)for(;s--&&e(t[s],r[s],i););return -1===s}if(!o||(void 0===t?"undefined":(0,n._)(t))==="object"){for(o in s=0,t)if(a.call(t,o)&&++s&&!a.call(r,o)||!(o in r)||!e(t[o],r[o],i))return!1;return Object.keys(r).length===s}}return t!=t&&r!=r}});var n=r(99490),a=Object.prototype.hasOwnProperty},14274:(e,t,r)=>{"use strict";var n=r(80656);e.exports=Function.prototype.bind||n},14882:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){var n="number"==typeof e[r]?e[r]:0,a=t[r];void 0!==a&&a>=n&&(void 0!==e[r]&&delete e[r],e[r]=a)}),e},{})}},15113:(e,t,r)=>{"use strict";r.d(t,{N:()=>a});var n=r(39932);function a(e,t,r,a){let i=a?a-1:1/0,o=0;return function(a){return(0,n.On)(a)?(e.enter(r),function a(s){return(0,n.On)(s)&&o++<i?(e.consume(s),a):(e.exit(r),t(s))}(a)):t(a)}}},15308:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(55729),a=r(56031);function i(){return(0,n.useContext)(a.R)}},15440:(e,t,r)=>{"use strict";r.d(t,{YB:()=>v,Kk:()=>x,K1:()=>y,YV:()=>T});let n=async(e,t)=>Promise.all(e.map(t)),a=e=>{if(/%[0-9A-F]{2}/i.test(e))try{return decodeURIComponent(e)}catch{}return e},i=(e,t,r)=>{let n=[];for(let a in e){let o;if(!Object.prototype.hasOwnProperty.call(e,a))continue;let s=e[a];if(null==s)continue;let l=r?"":encodeURIComponent(a);o="object"==typeof s?i(s,t?t+encodeURIComponent(`[${l}]`):l,Array.isArray(s)):`${t?t+encodeURIComponent(`[${l}]`):l}=${encodeURIComponent(s)}`,n.push(o)}return n.join("&")},o=e=>{let t={eu:"api.storyblok.com",us:"api-us.storyblok.com",cn:"app.storyblokchina.cn",ap:"api-ap.storyblok.com",ca:"api-ca.storyblok.com"};return t[e]??t.eu};var s=class{baseURL;timeout;headers;responseInterceptor;fetch;ejectInterceptor;url;parameters;fetchOptions;constructor(e){this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=e?.timeout?1e3*e.timeout:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url="",this.parameters={},this.fetchOptions={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler("get")}post(e,t){return this.url=e,this.parameters=t,this._methodHandler("post")}put(e,t){return this.url=e,this.parameters=t,this._methodHandler("put")}patch(e,t){return this.url=e,this.parameters=t,this._methodHandler("patch")}delete(e,t){return this.url=e,this.parameters=t??{},this._methodHandler("delete")}async _responseHandler(e){let t=[],r={data:{},headers:{},status:0,statusText:""};for(let n of(204!==e.status&&await e.json().then(e=>{r.data=e}),e.headers.entries()))t[n[0]]=n[1];return r.headers={...t},r.status=e.status,r.statusText=e.statusText,r}async _methodHandler(e){let t=`${this.baseURL}${this.url}`,r=null;"get"===e?t=`${this.baseURL}${this.url}?${i(this.parameters)}`:r=JSON.stringify(this.parameters);let n=new URL(t),a=new AbortController,{signal:o}=a,s=null;this.timeout&&(s=setTimeout(()=>a.abort(),this.timeout));try{let t=await this.fetch(`${n}`,{method:e,headers:this.headers,body:r,signal:o,...this.fetchOptions});this.timeout&&s&&clearTimeout(s);let a=await this._responseHandler(t);if(this.responseInterceptor&&!this.ejectInterceptor)return this._statusHandler(this.responseInterceptor(a));return this._statusHandler(a)}catch(e){if("AbortError"===e.name)return{message:"Request timeout: The request was aborted due to timeout"};return{message:e.message||e.toString()||"An unknown error occurred"}}}setFetchOptions(e={}){Object.keys(e).length>0&&"method"in e&&delete e.method,this.fetchOptions={...e}}eject(){this.ejectInterceptor=!0}_normalizeErrorMessage(e){if(Array.isArray(e))return e[0]||"Unknown error";if(e&&"object"==typeof e){if(e.error)return e.error;for(let t in e){if(Array.isArray(e[t]))return`${t}: ${e[t][0]}`;if("string"==typeof e[t])return`${t}: ${e[t]}`}if(e.slug)return e.slug}return"Unknown error"}_statusHandler(e){let t=/20[0-6]/g;return new Promise((r,n)=>{if(t.test(`${e.status}`))return r(e);n({message:this._normalizeErrorMessage(e.data),status:e.status,response:e})})}};let l={DRAFT:"draft",PUBLISHED:"published"};Object.values(l);function c(e,t,r={},n){let a,i;if(void 0!==r.userRateLimit)return Math.min(r.userRateLimit,1e3);if(void 0!==r.serverHeadersRateLimit)return Math.min(r.serverHeadersRateLimit,1e3);if(void 0!==n)return n;if(!e||!t||(a=e.includes("/cdn/stories/"),i=e.split("/").length>3&&!e.endsWith("/cdn/stories"),a&&i||"find_by"in t))return 50;var o=t.per_page||25;return o<=25?50:o<=50?15:o<=75?10:6}
1var u=class extends Error{constructor(e){super(e),this.name="AbortError"}},d=class{queues;interval;throttledRequestFn;constructor(e,t=1e3){this.queues=new Map,this.interval=t,this.throttledRequestFn=e}getQueue(e){let t=this.queues.get(e);return t||(t=function(e,t,r){if(!Number.isFinite(t))throw TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(r))throw TypeError("Expected `interval` to be a finite number");let n=[],a=[],i=0,o=!1,s=async()=>{i++;let t=n.shift();if(t)try{let r=await e(...t.args);t.resolve(r)}catch(e){t.reject(e)}let o=setTimeout(()=>{i--,n.length>0&&s(),a=a.filter(e=>e!==o)},r);a.includes(o)||a.push(o)},l=(...e)=>o?Promise.reject(Error("Throttled function is already aborted and not accepting new promises")):new Promise((r,a)=>{n.push({resolve:r,reject:a,args:e}),i<t&&s()});return l.abort=()=>{o=!0,a.forEach(clearTimeout),a=[],n.forEach(e=>e.reject(()=>new u("Throttle function aborted"))),n.length=0},l}(this.throttledRequestFn,e,this.interval),this.queues.set(e,t)),t}execute(e,...t){return this.getQueue(e)(...t)}
1abortAll(){this.queues.forEach(e=>{e.abort?.()}),this.queues.clear()}getQueueCount(){return this.queues.size}};let h={},p={};var f=class{client;maxRetries;retriesDelay;throttleManager;accessToken;cache;resolveCounter;relations;links;version;rateLimitConfig;cvMode;richTextResolver;resolveNestedRelations;stringifiedStoriesCache;inlineAssets;constructor(e,t){let r=e.endpoint||t;if(!r){const t=!1===e.https?"http":"https";r=e.oauthToken?`${t}://${o(e.region)}/v1`:`${t}://${o(e.region)}/v2`}const n=new Headers;!e.oauthToken&&"u">typeof window||n.set("Content-Type","application/json"),n.set("Accept","application/json"),e.headers&&("Headers"===e.headers.constructor.name?e.headers.entries().toArray():Object.entries(e.headers)).forEach(([e,t])=>{n.set(e,t)}),e.oauthToken&&n.set("Authorization",e.oauthToken),this.rateLimitConfig=function(e,t=!1){return{userRateLimit:e,serverHeadersRateLimit:void 0,isManagementApi:t}}(e.rateLimit,!!e.oauthToken),this.maxRetries=e.maxRetries||10,this.retriesDelay=e.retriesDelay??300,this.throttleManager=new d(this.throttledRequest.bind(this),1e3),this.accessToken=e.accessToken||"",this.relations={},this.links={},this.cache=e.cache||{clear:"manual"},this.cvMode=e.cache?.cv??"auto",this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.version=e.version||l.PUBLISHED,this.inlineAssets=e.inlineAssets||!1,this.client=new s({baseURL:r,timeout:e.timeout||0,headers:n,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}parseParams(e){return e.token||(e.token=this.getToken()),e.cv||"auto"!==this.cvMode||(e.cv=p[e.token]),Array.isArray(e.resolve_relations)?e.resolve_relations=e.resolve_relations.map(a).join(","):"string"==typeof e.resolve_relations&&(e.resolve_relations=a(e.resolve_relations)),void 0!==e.resolve_relations&&(e.resolve_level=2),e}factoryParamOptions(e,t){return((e="")=>e.includes("/cdn/"))(e)?this.parseParams(t):t}
1makeRequest(e,t,r,n,a){let i=this.factoryParamOptions(e,((e,t=25,r=1)=>({...e,per_page:t,page:r}))(t,r,n));return this.cacheResponse(e,i,void 0,a)}get(e,t={},r){t||(t={});let n=`/${e}`;((e="")=>e.includes("/cdn/"))(n)&&(t.version=t.version||this.version);let a=this.factoryParamOptions(n,t);return this.cacheResponse(n,a,void 0,r)}async getAll(e,t={},r,a){let i=t?.per_page||25,o=`/${e}`.replace(/\/$/,""),s=r??o.substring(o.lastIndexOf("/")+1);t.version=t.version||this.version;let l=await this.makeRequest(o,t,i,1,a);return((e=[],t)=>e.map(t).reduce((e,t)=>[...e,...t],[]))([l,...await n(((e=0,t=e)=>{let r=Math.abs(t-e)||0,n=e<t?1:-1;return((e=0,t)=>Array.from({length:e},t))(r,(t,r)=>r*n+e)})(1,l.total?Math.ceil(l.total/(l.perPage||i)):1),e=>this.makeRequest(o,t,i,e+1,a))],e=>Object.values(e.data[s]))}post(e,t={},r){let n=`/${e}`,a=c(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(a,"post",n,t,r)}put(e,t={},r){let n=`/${e}`,a=c(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(a,"put",n,t,r)}patch(e,t={},r){let n=`/${e}`,a=c(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(a,"patch",n,t,r)}delete(e,t={},r){t||(t={});let n=`/${e}`,a=c(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(a,"delete",n,t,r)}getStories(e={},t){return this._addResolveLevel(e),this.get("cdn/stories",e,t)}getStory(e,t={},r){return this._addResolveLevel(t),this.get(`cdn/stories/${e}`,t,r)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(e){void 0!==e.resolve_relations&&(e.resolve_level=2)}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,r){let n=e[t];n&&"multilink"===n.fieldtype&&"story"===n.linktype&&"string"==typeof n.id&&this.links[r][n.id]?n.story=this._cleanCopy(this.links[r][n.id]):n&&"story"===n.linktype&&"string"==typeof n.uuid&&this.links[r][n.uuid]&&(n.story=this._cleanCopy(this.links[r][n.uuid]))}getStoryReference(e,t){return this.relations[e][t]?JSON.parse(this.stringifiedStoriesCache[t]||JSON.stringify(this.relations[e][t])):t}_resolveField(e,t,r){let n=e[t];"string"==typeof n?e[t]=this.getStoryReference(r,n):Array.isArray(n)&&(e[t]=n.map(e=>this.getStoryReference(r,e)).filter(Boolean))}_insertRelations(e,t,r,n){if(Array.isArray(r)?r.find(e=>e.endsWith(`.${t}`)):r.endsWith(`.${t}`))return void this._resolveField(e,t,n);let a=e.component?`${e.component}.${t}`:t;(Array.isArray(r)?r.includes(a):r===a)&&this._resolveField(e,t,n)}iterateTree(e,t,r){let n=(e,a="")=>{if(e&&!e._stopResolving){if(Array.isArray(e))e.forEach((e,t)=>n(e,`${a}[${t}]`));else if("object"==typeof e)for(let i in e){let o=a?`${a}.${i}`:i;(e.component&&e._uid||"link"===e.type)&&(this._insertRelations(e,i,t,r),this._insertLinks(e,i,r)),n(e[i],o)}}};n(e.content)}async resolveLinks(e,t,r){let n=[];if(e.link_uuids){let r=e.link_uuids.length,a=[];for(let t=0;t<r;t+=50){let n=Math.min(r,t+50);a.push(e.link_uuids.slice(t,n))}for(let e=0;e<a.length;
1e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:a[e].join(",")})).data.stories.forEach(e=>{n.push(e)})}else n=e.links;n.forEach(e=>{this.links[r][e.uuid]={...e,_stopResolving:!0}})}async resolveRelations(e,t,r){let n=[];if(e.rel_uuids){let r=e.rel_uuids.length,a=[];for(let t=0;t<r;t+=50){let n=Math.min(r,t+50);a.push(e.rel_uuids.slice(t,n))}for(let e=0;e<a.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:a[e].join(","),excluding_fields:t.excluding_fields})).data.stories.forEach(e=>{n.push(e)});n.length>0&&(e.rels=n,delete e.rel_uuids)}else n=e.rels;n&&n.length>0&&n.forEach(e=>{this.relations[r][e.uuid]={...e,_stopResolving:!0}})}async resolveStories(e,t,r){let n=[];if(this.links[r]={},this.relations[r]={},void 0!==t.resolve_relations&&t.resolve_relations.length>0&&("string"==typeof t.resolve_relations&&(n=t.resolve_relations.split(",")),await this.resolveRelations(e,t,r)),t.resolve_links&&["1","story","url","link"].includes(t.resolve_links)&&(e.links?.length||e.link_uuids?.length)&&await this.resolveLinks(e,t,r),this.resolveNestedRelations)for(let e in this.relations[r])this.iterateTree(this.relations[r][e],n,r);e.story?this.iterateTree(e.story,n,r):e.stories.forEach(e=>{this.iterateTree(e,n,r)}),this.stringifiedStoriesCache={},delete this.links[r],delete this.relations[r]}async cacheResponse(e,t,r,n){let a=i({url:e,params:t}),o=this.cacheProvider();if("published"===t.version&&"/cdn/spaces/me"!==e){let e=await o.get(a);if(e)return Promise.resolve(e)}let s=!((e="")=>e.includes("/cdn/"))(e)&&this.rateLimitConfig.isManagementApi?3:void 0,l=c(e,t,this.rateLimitConfig,s);return new Promise(async(i,s)=>{try{let r=await this.throttleManager.execute(l,"get",e,t,n);if(200!==r.status)return s(r);let c={data:r.data,headers:r.headers},u=function(e){if(!e)return null;let t=e["x-ratelimit"]||e["X-RateLimit"],r=e["x-ratelimit-policy"]||e["X-RateLimit-Policy"];if(!t&&!r)return null;let n={};if(t){let e=t.match(/r=(\d+)/);e&&(n.remaining=Number.parseInt(e[1],10))}if(r){let e=r.match(/q=(\d+)/);e&&(n.max=Number.parseInt(e[1],10))}return Object.keys(n).length>0?n:null}(r.headers);if(u?.max!==void 0&&(this.rateLimitConfig.serverHeadersRateLimit=u.max),r.headers?.["per-page"]&&(c=Object.assign({},c,{perPage:r.headers["per-page"]?Number.parseInt(r.headers["per-page"]):0,total:r.headers["per-page"]?Number.parseInt(r.headers.total):0})),c.data.story||c.data.stories){let e=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(c.data,t,`${e}`),c=await this.processInlineAssets(c)}"published"===t.version&&"/cdn/spaces/me"!==e&&await o.set(a,c);let d="onpreview"===this.cache.clear&&"draft"===t.version||"auto"===this.cache.clear;return t.token&&c.data.cv&&(d&&p[t.token]&&p[t.token]!==c.data.cv&&await this.flushCache(),p[t.token]=c.data.cv),i(c)}catch(n){if(n.response&&429===n.status&&(r=void 0===r?0:r+1)<this.maxRetries){let n;return console.log(`Hit rate limit. Retrying in ${this.retriesDelay/1e3} seconds.`),await (n=this.retriesDelay,new Promise(e=>setTimeout(e,n))),this.cacheResponse(e,t,r).then(i).catch(s)}s(n)}})}throttledRequest(e,t,r,n){return this.client.setFetchOptions(n),this.client[e](t,r)}cacheVersions(){return p}cacheVersion(){return p[this.accessToken]}setCacheVersion(e){this.accessToken&&(p[this.accessToken]=e)}clearCacheVersion(){this.accessToken&&(p[this.accessToken]=0)}cacheProvider(){switch(this.cache.type){case"memory":return{get:e=>Promise.resolve(h[e]),getAll:()=>Promise.resolve(h),set:(e,t)=>(h[e]=t,Promise.resolve(void 0)),flush:()=>(h={},Promise.resolve(void 0))};case"custom":if(this.cache.custom)return this.cache.custom;default:return{get:()=>Promise.resolve(),getAll:()=>Promise.resolve(void 0),set:()=>Promise.resolve(void 0),flush:()=>Promise.resolve(void 0)}}}async flushCache(){return await this.cacheProvider().flush(),this.clearCacheVersion(),this}async processInlineAssets(e){if(!this.inlineAssets)return e;let t=r=>{if(!r||"object"!=typeof r)return r;if(Array.isArray(r))return r.map(e=>t(e));let n={...r};for(let r in"asset"===n.fieldtype&&Array.isArray(e.data.assets)&&(n={...e.data.assets.find(e=>e.id===n.id),...n}),n)"object"==typeof n[r]&&(n[r]=t(n[r]));return n};return e.data.story&&(e.data.story.content=t(e.data.story.content)),e.data.stories&&(e.data.stories=e.data.stories.map(e=>(e.content=t(e.content),e))),e}};let m=!1,g=[],v=(e={})=>{let{apiOptions:t}=e;return t&&t.accessToken?{storyblokApi:new f(t)}:void console.error("You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication")},y=e=>{if("object"!=typeof e||typeof e._editable>"u")return{};try{let t=JSON.parse(e._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}},b="https://app.storyblok.com/f/storyblok-v2-latest.js",x=(e,t,r={})=>{var n;let a=!(typeof window>"u")&&"u">typeof window.storyblokRegisterEvent,i=new URL(null==(n=window.location)?void 0:n.href).searchParams.get("_storyblok");if(!(!a||null===i||+i!==e)){if(!e)return void console.warn("Story ID is not defined. Please provide a valid ID.");window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(r).on(["input","published","change"],r=>{var n;r&&("input"===r.action&&(null==(n=r.story)?void 0:n.id)===e?t(r.story):("change"===r.action||"published"===r.action)&&r.storyId===e&&window.location.reload())})})}},T=(e={})=>{var t,r;let n,{bridge:a,accessToken:i,use:o=[],apiOptions:s={},bridgeUrl:l}=e;s.accessToken=s.accessToken||i;let c={bridge:a,apiOptions:s},u={};
1o.forEach(e=>{u={...u,...e(c)}}),l&&(b=l);let d=!(typeof window>"u")&&(null==(r=null==(t=window.location)?void 0:t.search)?void 0:r.includes("_storyblok_tk"));return!1!==a&&d&&(n=b,new Promise((e,t)=>{if(typeof window>"u")return void t(Error("Cannot load Storyblok bridge: window is undefined (server-side environment)"));if(window.storyblokRegisterEvent=e=>{window.location.search.includes("_storyblok")?m?e():g.push(e):console.warn("You are not in Draft Mode or in the Visual Editor.")},document.getElementById("storyblok-javascript-bridge"))return void e(void 0);let r=document.createElement("script");r.async=!0,r.src=n,r.id="storyblok-javascript-bridge",r.onerror=e=>t(e),r.onload=t=>{g.forEach(e=>e()),m=!0,e(t)},document.getElementsByTagName("head")[0].appendChild(r)})),u}},15675:e=>{e.exports={contentContainer:"ContentContainer_contentContainer__We7m1",narrow:"ContentContainer_narrow__6Gw8d"}},15680:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});let n=(e,t)=>{switch("".concat(e,"_").concat(t)){case"npl_nl-NL":return"postcodeloterij.nl";case"vl_nl-NL":return"vriendenloterij.nl";case"dpl_de-DE":return"postcode-lotterie.de";case"spl_sv-SE":return"postkodlotteriet.se";case"nopl_no-NO":return"postkodelotteriet.no";case"cpl_en-CA":return"postcodelottery.ca";default:return"postcodelottery.co.uk"}}},15819:(e,t,r)=>{"use strict";function n(e){return e.toLowerCase()}r.d(t,{S:()=>n})},16039:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.map(function(e){var t;return["https://www.algolia.com/doc/api-reference/widgets/",e.name,"/js/",void 0!==(t=e.connector)&&t?"#connector":""].join("")}).join(", ");return function(e){return[e,"See documentation: ".concat(n)].filter(Boolean).join("\n\n")}}r.d(t,{V:()=>n})},16526:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&a&&"function"==typeof a.get?a.get:null,o=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,x=String.prototype.toUpperCase,T=String.prototype.toLowerCase,E=RegExp.prototype.test,C=Array.prototype.concat,w=Array.prototype.join,k=Array.prototype.slice,S=Math.floor,I="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R?"object":"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function O(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-S(-e):S(e);if(n!==e){var a=String(n),i=y.call(t,a.length+1);return b.call(a,r,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var j=r(86973),L=j.custom,M=V(L)?L:null,H={__proto__:null,double:'"',single:"'"},F={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function q(e,t,r){var n=H[r.quoteStyle||t];return n+e+n}function B(e){return!A||!("object"==typeof e&&(A in e||void 0!==e[A]))}function U(e){return"[object Array]"===Y(e)&&B(e)}function W(e){return"[object RegExp]"===Y(e)&&B(e)}function V(e){if(R)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
1if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,a,s){var l,m,x,E,S,P=n||{};if(z(P,"quoteStyle")&&!z(H,P.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(z(P,"maxStringLength")&&("number"==typeof P.maxStringLength?P.maxStringLength<0&&P.maxStringLength!==1/0:null!==P.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var L=!z(P,"customInspect")||P.customInspect;if("boolean"!=typeof L&&"symbol"!==L)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(P,"indent")&&null!==P.indent&&"	"!==P.indent&&!(parseInt(P.indent,10)===P.indent&&P.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(P,"numericSeparator")&&"boolean"!=typeof P.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var G=P.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(y.call(t,0,r.maxStringLength),r)+("... "+n)+" more character"+(n>1?"s":"")}var a=F[r.quoteStyle||"single"];return a.lastIndex=0,q(b.call(b.call(t,a,"\\$1"),/[\x00-\x1f]/g,Q),"single",r)}(t,P);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var et=String(t);return G?O(t,et):et}if("bigint"==typeof t){var er=String(t)+"n";return G?O(t,er):er}var en=void 0===P.depth?5:P.depth;if(void 0===a&&(a=0),a>=en&&en>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var ea=function(e,t){var r;if("	"===e.indent)r="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=w.call(Array(e.indent+1)," ")}return{base:r,prev:w.call(Array(t+1),r)}}(P,a);if(void 0===s)s=[];else if($(s,t)>=0)return"[Circular]";function ei(t,r,n){if(r&&(s=k.call(s)).push(r),n){var i={depth:P.depth};return z(P,"quoteStyle")&&(i.quoteStyle=P.quoteStyle),e(t,i,a+1,s)}return e(t,P,a+1,s)}if("function"==typeof t&&!W(t)){var eo=function(e){if(e.name)return e.name;var t=v.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),es=ee(t,ei);return"[Function"+(eo?": "+eo:" (anonymous)")+"]"+(es.length>0?" { "+w.call(es,", ")+" }":"")}if(V(t)){var el=R?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||R?el:K(el)}if((ec=t)&&"object"==typeof ec&&("u">typeof HTMLElement&&ec instanceof HTMLElement||"string"==typeof ec.nodeName&&"function"==typeof ec.getAttribute)){for(var ec,eu,ed="<"+T.call(String(t.nodeName)),eh=t.attributes||[],ep=0;ep<eh.length;ep++){ed+=" "+eh[ep].name+"="+q((eu=eh[ep].value,b.call(String(eu),/"/g,"&quot;")),"double",P)}return ed+=">",t.childNodes&&t.childNodes.length&&(ed+="..."),ed+="</"+T.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ef=ee(t,ei);return ea&&!function(e){for(var t=0;t<e.length;t++)if($(e[t],"\n")>=0)return!1;return!0}(ef)?"["+J(ef,ea)+"]":"[ "+w.call(ef,", ")+" ]"}if("[object Error]"===Y(l=t)&&B(l)){var em=ee(t,ei);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===em.length?"["+String(t)+"]":"{ ["+String(t)+"] "+w.call(em,", ")+" }":"{ ["+String(t)+"] "+w.call(C.call("[cause]: "+ei(t.cause),em),", ")+" }"}if("object"==typeof t&&L){if(M&&"function"==typeof t[M]&&j)return j(t,{depth:en-a});else if("symbol"!==L&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var eg=[];return o&&o.call(t,function(e,r){eg.push(ei(r,t,!0)+" => "+ei(e,t))}),X("Map",i.call(t),eg,ea)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ev=[];return u&&u.call(t,function(e){ev.push(ei(e,t))}),X("Set",c.call(t),ev,ea)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if("[object Number]"===Y(m=t)&&B(m))return K(ei(Number(t)));if(function(e){if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}(t))return K(ei(I.call(t)));if("[object Boolean]"===Y(x=t)&&B(x))return K(f.call(t));if("[object String]"===Y(E=t)&&B(E))return K(ei(String(t)));if("u">typeof window&&t===window)return"{ [object Window] }";if("u">typeof globalThis&&t===globalThis||void 0!==r.g&&t===r.g)return"{ [object globalThis] }";if(!("[object Date]"===Y(S=t)&&B(S))&&!W(t)){var ey=ee(t,ei),eb=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,ex=t instanceof Object?"":"null prototype",eT=!eb&&A&&Object(t)===t&&A in t?y.call(Y(t),8,-1):ex?"Object":"",eE=(eb||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(eT||ex?"["+w.call(C.call([],eT||[],ex||[]),": ")+"] ":"");return 0===ey.length?eE+"{}":ea?eE+"{"+J(ey,ea)+"}":eE+"{ "+w.call(ey,", ")+" }"}return String(t)};var G=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return G.call(e,t)}function Y(e){return m.call(e)}function $(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function Q(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function K(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function X(e,t,r,n){return e+" ("+t+") {"+(n?J(r,n):w.call(r,", "))+"}"}function J(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+w.call(e,","+r)+"\n"+t.prev}function ee(e,t){var r,n=U(e),a=[];if(n){a.length=e.length;for(var i=0;i<e.length;i++)a[i]=z(e,i)?t(e[i],e):""}var o="function"==typeof P?P(e):[];if(R){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=o[s]}for(var l in e)if(z(e,l)&&(!n||String(Number(l))!==l||!(l<e.length)))if(R&&r["$"+l]instanceof Symbol)continue;else E.call(/[^\w$]/,l)?a.push(t(l,e)+": "+t(e[l],e)):a.push(l+": "+t(e[l],e));if("function"==typeof P)for(var c=0;c<o.length;c++)N.call(e,o[c])&&a.push("["+t(o[c])+"]: "+t(e[o[c]],e));return a}},16638:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},16996:(e,t,r)=>{"use strict";var n=r(95868);function a(e,t,r){this.main=e,this.fn=t,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}
1r(70140)(a,n),a.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},a.prototype.getModifiedState=function(e){return this.fn(e)},a.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},e.exports=a},17612:(e,t,r)=>{let n,a;var i=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===r||o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},h={},p={default:()=>y};for(var f in p)o(h,f,{get:p[f],enumerable:!0});e.exports=d(o({},"__esModule",{value:!0}),h);var m=(a=null!=(n=r(89777))?i(c(n)):{},d(n&&n.__esModule?a:o(a,"default",{value:n,enumerable:!0}),n)),g=r(46998);let v=m.default[m.default.length-1];var y=(0,g.createReactPlayer)(m.default,v)},17859:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{_:()=>n})},18642:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});let n={"yellow-100":"bg-ds-vl-yellow-100","blue-100":"bg-ds-vl-blue-100","red-100":"bg-ds-vl-red-100","green-100":"bg-ds-vl-green-100","purple-100":"bg-ds-vl-purple-100","red-200":"bg-ds-vl-red-200","purple-200":"bg-ds-vl-purple-200"}},18790:(e,t,r)=>{"use strict";function n(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}r.d(t,{_:()=>n})},18794:(e,t,r)=>{"use strict";r.d(t,{n:()=>n});let n=e=>e&&((null==e?void 0:e.url)||(null==e?void 0:e.cached_url))||""},19023:(e,t,r)=>{"use strict";function n(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,{_:()=>n})},19736:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var n,c,u,d,h,p=e.hierarchicalFacets[r],f=e.hierarchicalFacetsRefinements[p.name]&&e.hierarchicalFacetsRefinements[p.name][0]||"",m=e._getHierarchicalFacetSeparator(p),g=e._getHierarchicalRootPath(p),v=e._getHierarchicalShowParentLevel(p),y=i(e._getHierarchicalFacetSortBy(p)),b=t.every(function(e){return e.exhaustive}),x=(n=y,c=m,u=g,d=v,h=f,function(e,t,r){var i=e;if(r>0){var p=0;for(i=e;p<r;)i=a(i&&Array.isArray(i.data)?i.data:[],function(e){return e.isRefined}),p++}if(i){var f=Object.keys(t.data).map(function(e){return[e,t.data[e]]}).filter(function(e){var t,r,n,a,o,s;return t=e[0],r=i.path||u,n=h,a=c,o=u,s=d,(!o||0===t.indexOf(o)&&o!==t)&&(!o&&-1===t.indexOf(a)||o&&t.split(a).length-o.split(a).length==1||-1===t.indexOf(a)&&-1===n.indexOf(a)||0===n.indexOf(t)||0===t.indexOf(r+a)&&(s||0===t.indexOf(n)))});i.data=o(f.map(function(e){var r,n,a,i,o,u,d=e[0];return r=e[1],n=d,a=c,i=l(h),o=t.exhaustive,{name:(u=n.split(a))[u.length-1].trim(),path:n,escapedValue:s(n),count:r,isRefined:i===n||0===i.indexOf(n+a),exhaustive:o,data:null}}),n[0],n[1])}return e}),T=t;return g&&(T=t.slice(g.split(m).length)),T.reduce(x,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:b,data:null})}};var n=r(1788),a=r(23368),i=r(3328),o=r(656),s=n.escapeFacetValue,l=n.unescapeFacetValue},19782:(e,t,r)=>{"use strict";var n=r(16526),a=r(72206),i=function(e,t,r){for(var n,a=e;null!=(n=a.next);a=n)if(n.key===t)return a.next=n.next,r||(n.next=e.next,e.next=n),n},o=function(e,t){if(e){var r=i(e,t);return r&&r.value}},s=function(e,t,r){var n=i(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},l=function(e,t){if(e)return i(e,t,!0)};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+n(e))},delete:function(t){var r=l(e,t);return r&&e&&!e.next&&(e=void 0),!!r},get:function(t){return o(e,t)},has:function(t){var r;return!!(r=e)&&!!i(r,t)},set:function(t,r){e||(e={next:void 0}),s(e,t,r)}};return t}},20444:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=null;if(!e||"string"!=typeof e)return r;let n=(0,a.default)(e),i="function"==typeof t;
1return n.forEach(e=>{if("declaration"!==e.type)return;let{property:n,value:a}=e;i?t(n,a,e):a&&((r=r||{})[n]=a)}),r};let a=n(r(47492))},21091:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});var n=r(40092),a=r(18794);let i=e=>{var t;let r,i=(null==(r=null==e?void 0:e.linkHref)?void 0:r.url)||(null==r?void 0:r.cached_url)?null==e?void 0:e.linkHref:null==e?void 0:e.link;if(!i||"string"==typeof i&&""===i||!(i.url||i.cached_url||i.linktype))return;let o=(null==e?void 0:e.linkLabel)||(null==e?void 0:e.label);return{label:null!=o?o:"",href:null!==(t=(0,n.D)(null==e?void 0:e.withAnchorId,null==e?void 0:e.anchorId))&&void 0!==t?t:(0,a.n)(i)}}},21093:(e,t,r)=>{"use strict";var n,a=r(83639),i=r(27654);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!n&&i&&i(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=o&&"function"==typeof o.get?a([o.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},21385:(e,t,r)=>{"use strict";var n=r(26104),a=r(69299),i=r(70701),o=r(6536),s=r(78509),l=r(29377),c=r(45647),u=r(47474),d=r(30234);function h(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,r){return h(t[r],e)}):e===t}function p(e){var t=e?p._parseNumbers(e):{};void 0===t.userToken||u(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n  - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach(function(e){var n=-1!==p.PARAMETERS.indexOf(e),a=void 0!==t[e];!n&&a&&(r[e]=t[e])})}function f(e){var t=parseFloat(e);return isFinite(t)?t:null}p.PARAMETERS=Object.keys(new p),p._parseNumbers=function(e){if(e instanceof p)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(r){var n=e[r];if("string"==typeof n){var a=parseFloat(n);isNaN(a)?t[r]=n:isFinite(a)?t[r]=a:t[r]=null}else"number"!=typeof n||isFinite(n)||(t[r]=null)}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null}):e})),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach(function(e){var a=n[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null}):"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null});r[t][e]=a})}),t.numericRefinements=r}return o(e,t)},p.make=function(e){var t=new p(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},p.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&s(r.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&r.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},p.prototype={constructor:p,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:d.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:d.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:d.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:d.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var n=c(r);if(this.isNumericRefined(e,t,n))return this;var a=o({},this.numericRefinements);return a[e]=o({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(n)):a[e][t]=[n],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,a){return a===e&&n.op===t&&h(n.val,c(r))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,n){return n===e&&r.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,r){return r===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return l(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce(function(n,a){var i=r[a],o={};return Object.keys(i=i||{}
vendor: 8,277 bytes, line 1
1).forEach(function(r){var n=i[r]||[],s=[];n.forEach(function(t){e({val:t,op:r},a,"numeric")||s.push(t)}),s.length!==n.length&&(t=!0),o[r]=s}),n[a]=o,n},{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:d.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:d.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return d.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:d.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:d.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:d.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return d.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:d.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:d.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:d.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:d.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),a={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?a[e]=[]:a[e]=[t.slice(0,t.lastIndexOf(r))]:a[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(a,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:n(t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&d.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&d.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&d.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n,i=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!i)return i;var o=c(r),s=void 0!==(n=this.numericRefinements[e][t],a(n,function(e){return h(e,o)}));return i&&s},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=i(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return i(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;
1return Object.keys(this).forEach(function(n){var a=r[n];-1===e.indexOf(n)&&void 0!==a&&(t[n]=a)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=p.validate(this,e);if(t)throw t;var r=this,n=p._parseNumbers(e),a=Object.keys(this).reduce(function(e,t){return e[t]=r[t],e},{}),i=Object.keys(n).reduce(function(e,t){var r=void 0!==e[t],a=void 0!==n[t];return r&&!a?l(e,[t]):(a&&(e[t]=n[t]),e)},a);return new this.constructor(i)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return a(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=p},21637:()=>{},21692:(e,t,r)=>{"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(59170),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22176:(e,t,r)=>{"use strict";r.d(t,{aw:()=>d,iX:()=>l,qm:()=>u,Ht:()=>h});var n=r(89736),a=r(55729);let i=n.p&&window.__SWR_DEVTOOLS_USE__,o=i?window.__SWR_DEVTOOLS_USE__:[],s=e=>(0,n.e)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],l=()=>{let e=(0,a.useContext)(n.q);return(0,a.useMemo)(()=>(0,n.m)(n.d,e),[e])},c=o.concat(e=>(t,r,a)=>{let i=r&&((...e)=>{let[a]=(0,n.s)(t),[,,,i]=n.a.get(n.o);if(a.startsWith("$inf$"))return r(...e);let o=i[a];return(0,n.i)(o)?r(...e):(delete i[a],o)});return e(t,i,a)}),u=e=>function(...t){let r=l(),[a,i,o]=s(t),u=(0,n.t)(r,o),d=e,{use:h}=u,p=(h||[]).concat(c);for(let e=p.length;e--;)d=p[e](d);return d(a,i||u.fetcher||null,u)},d=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},h=(e,t)=>(...r)=>{let[n,a,i]=s(r),o=(i.use||[]).concat(t);return e(n,a,{...i,use:o})};i&&(window.__SWR_DEVTOOLS_REACT__=a)},22299:e=>{"use strict";function t(e){e=e||{},this.params=e.params||[]}t.prototype={constructor:t,addParams:function(e){var r=this.params.slice();return r.push(e),new t({params:r})},removeParams:function(e){return new t({params:this.params.filter(function(t){return t.$$id!==e})})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,t){return this.params.filter(function(e){return void 0===t[e.$$id]}).map(function(t){var r=Object.assign({},t,{indexName:e,threshold:t.threshold||0});return delete r.$$id,r})}},e.exports=t},23051:(e,t,r)=>{"use strict";r.d(t,{qg:()=>n,Jv:()=>l,$h:()=>c});let n=e=>"published";var a=r(38070),i=r(78269),o=r(11933),s=r(64776);let l=e=>{let t,r=((t=(0,s.zg)())||console.error("You can't use getStoryblokApi if you're not loading apiPlugin."),t);return new o.e6({...r,...e||{}})},c=async e=>{let{params:t,errorDigest:r,ensureLatestVersion:s}=e;try{var c,u,d,h;let e=l(),r=(0,o.Tr)(),a=await e.get("cdn/stories",{...s&&1?{cv:Date.now()}:{},resolve_links:"url",resolve_assets:1,version:n(r),...t});return{stories:(0,i.uD)(null!=(c=null==a||null==(d=a.data)?void 0:d.stories)?c:[],null==a||null==(h=a.data)?void 0:h.assets),total:null!=(u=null==a?void 0:a.total)?u:0}}catch(t){let e=t instanceof Error?t:Error("An unknown error occurred: ".concat(JSON.stringify(t)));return(0,a.Oz)(e,500,{path:"_error",digest:r||"storyblok_stories_fetch_error"}),{stories:[],total:0}}}},23368:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}}},24029:(e,t,r)=>{"use strict";var n=r(69299),a=r(68963);e.exports=function(e,t){var r,i,o={};return t.forEach(function(t){t.forEach(function(t,r){e.includes(t.objectID)||(o[t.objectID]?o[t.objectID]={indexSum:o[t.objectID].indexSum+r,count:o[t.objectID].count+1}:o[t.objectID]={indexSum:r,count:1})})}
1),(r=t.length,i=[],Object.keys(o).forEach(function(e){o[e].count<2&&(o[e].indexSum+=100),i.push({objectID:e,avgOfIndices:o[e].indexSum/r})}),i.sort(function(e,t){return e.avgOfIndices>t.avgOfIndices?1:-1})).reduce(function(e,r){var i=n(a(t),function(e){return e.objectID===r.objectID});return i?e.concat(i):e},[])}},24245:(e,t,r)=>{"use strict";var n=r(32236),a=r(85397),i=r(3194),o=Object.prototype.hasOwnProperty,s=Array.isArray,l=a(),c=function(e,t){return l.set(e,t),e},u=function(e){return l.has(e)},d=function(e){return l.get(e)},h=function(e,t){l.set(e,t)},p=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(s(r)){for(var n=[],a=0;a<r.length;++a)void 0!==r[a]&&(n[n.length]=r[a]);t.obj[t.prop]=n}}},m=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},g=function(e,t,r){"__proto__"===t&&i?i(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};e.exports={arrayToObject:m,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return g(e,r,t[r]),e},e)},combine:function(e,t,r,n,a){if(u(e)){if(a)throw RangeError("Array limit exceeded. Only "+r+" element"+(1===r?"":"s")+" allowed in an array.");var i=d(e)+1;return e[i]=t,h(e,i),e}var o=[].concat(e,t);if(o.length>r){if(a)throw RangeError("Array limit exceeded. Only "+r+" element"+(1===r?"":"s")+" allowed in an array.");return c(m(o,{plainObjects:n}),o.length-1)}return o},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=a(),n=0;n<t.length;++n)for(var i=t[n],o=i.obj[i.prop],s=Object.keys(o),l=0;l<s.length;++l){var c=s[l],u=o[c];"object"!=typeof u||null===u||r.has(u)||(t[t.length]={obj:o,prop:c},r.set(u,!0))}return f(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,a,i){if(0===e.length)return e;var o=e;if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===r)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<o.length;l+=1024){var c=o.length>=1024?o.slice(l,l+1024):o;if(l+1024<o.length){var u=c.charCodeAt(c.length-1);u>=55296&&u<=56319&&(c=c.slice(0,-1),l-=1)}for(var d=[],h=0;h<c.length;++h){var f=c.charCodeAt(h);if(45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===n.RFC1738&&(40===f||41===f)){d[d.length]=c.charAt(h);continue}if(f<128){d[d.length]=p[f];continue}if(f<2048){d[d.length]=p[192|f>>6]+p[128|63&f];continue}if(f<55296||f>=57344){d[d.length]=p[224|f>>12]+p[128|f>>6&63]+p[128|63&f];continue}h+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(h)),d[d.length]=p[240|f>>18]+p[128|f>>12&63]+p[128|f>>6&63]+p[128|63&f]}s+=d.join("")}return s},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:u,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:c,maybeMap:function(e,t){if(s(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(s(t)){var a=t.length;if(n&&"number"==typeof n.arrayLimit&&a>=n.arrayLimit){if(n.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");return c(m(t.concat(r),n),a)}t[a]=r}else if(!t||"object"!=typeof t)return[t,r];else if(u(t)){var i=d(t)+1;t[i]=r,h(t,i)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t){if(u(r)){for(var l=Object.keys(r),p=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},f=0;f<l.length;f++)p[parseInt(l[f],10)+1]=r[l[f]];return c(p,d(r)+1)}var v=[t].concat(r);if(n&&"number"==typeof n.arrayLimit&&v.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");return c(m(v,n),v.length-1)}return v}var y=t;if(s(t)&&!s(r)&&(y=m(t,n)),s(t)&&s(r)){if(r.forEach(function(r,a){
1if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,n):t[t.length]=r}else t[a]=r}),n&&"number"==typeof n.arrayLimit&&t.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");return c(m(t,n),t.length-1)}return t}return Object.keys(r).reduce(function(t,a){var i=r[a];if(o.call(t,a)?g(t,a,e(t[a],i,n)):g(t,a,i),u(r)&&!u(t)&&c(t,d(r)),u(t)){var s=parseInt(a,10);String(s)===a&&s>=0&&s>d(t)&&h(t,s)}return t},y)}}},24435:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}r.d(t,{l:()=>n})},24486:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});var n=r(29143);let a=e=>{var t,r,a,i;let o="groupwebsite-cpl",s=n.env.NEXT_PUBLIC_PATH_PREFIX,l=!!s,c="true"===n.env.NEXT_PUBLIC_REMOVE_TRAILING_SLASH?(t=e).endsWith("/")&&!/^\/?groupwebsite-[A-Za-z]{2,4}\/$/.test(t)?t.slice(0,-1):t:e;if(l){return 0===c.length?s:c.startsWith("http")||c.startsWith("mailto:")?c:(r=c,a=s,r.startsWith(a)?r:"".concat(a).concat((i=r).startsWith("/")?i:"/".concat(i))).replace(new RegExp("^".concat(s,"/").concat(o)),s)}if(o&&o.includes("my-account")){let e=new RegExp("^/?".concat(o,"/pages"));return c.replace(e,"")}if(o){let e=new RegExp("^/?".concat(o));return c.replace(e,"")}return c}},24625:(e,t,r)=>{"use strict";function n(){}function a(){}r.d(t,{HB:()=>a,ok:()=>n})},26104:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])}),e},{})}},26602:e=>{"use strict";e.exports="3.29.2"},27133:(e,t,r)=>{"use strict";e.exports=r(85596)},27420:function(e,t,r){"use strict";var n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(20444)),a=r(72756);function i(e,t){var r={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(r[(0,a.camelCase)(e,t)]=n)}),r}i.default=i,e.exports=i},27654:(e,t,r)=>{"use strict";var n=r(31652);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},27872:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,x:()=>l});var n=r(6029),a=r(32988),i=r.n(a),o=r(93005),s=r.n(o);let l=e=>{let{children:t,className:r,narrow:a=!1,...o}=e;return(0,n.jsx)("div",{className:i()(s().contentContainer,{["".concat(s().narrow)]:a},r),...o,children:t})},c=l},28126:(e,t,r)=>{"use strict";r.d(t,{r:()=>s});var n=r(6029),a=r(74632),i=r(32988),o=r.n(i);let s=e=>{let{sections:t}=e;return t.map((e,r)=>{var i;let s="CtaSection"===e.component||r>0&&(null==(i=t[r-1])?void 0:i.component)==="CtaSection";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:o()("border-light-gray col-span-3 col-start-2 border-t first-of-type:hidden md:hidden",{hidden:!s})}),(0,n.jsx)(a.d,{blok:e},e._uid)]},e._uid)})}},28392:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},o=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,a=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;else if(a)return a(e,r).value}return e[r]};e.exports=function e(){var t,r,n,a,c,u,d=arguments[0],h=1,p=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<p;++h)if(t=arguments[h],null!=t)for(r in t)n=l(d,r),d!==(a=l(t,r))&&(f&&a&&(o(a)||(c=i(a)))?(c?(c=!1,u=n&&i(n)?n:[]):u=n&&o(n)?n:{},s(d,{name:r,newValue:e(f,u,a)})):void 0!==a&&s(d,{name:r,newValue:a}));return d}},28438:e=>{var t="u">typeof Element,r="function"==typeof Map,n="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,i){try{return function e(i,o){if(i===o)return!0;
1if(i&&o&&"object"==typeof i&&"object"==typeof o){var s,l,c,u;if(i.constructor!==o.constructor)return!1;if(Array.isArray(i)){if((s=i.length)!=o.length)return!1;for(l=s;0!=l--;)if(!e(i[l],o[l]))return!1;return!0}if(r&&i instanceof Map&&o instanceof Map){if(i.size!==o.size)return!1;for(u=i.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;for(u=i.entries();!(l=u.next()).done;)if(!e(l.value[1],o.get(l.value[0])))return!1;return!0}if(n&&i instanceof Set&&o instanceof Set){if(i.size!==o.size)return!1;for(u=i.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(o)){if((s=i.length)!=o.length)return!1;for(l=s;0!=l--;)if(i[l]!==o[l])return!1;return!0}if(i.constructor===RegExp)return i.source===o.source&&i.flags===o.flags;if(i.valueOf!==Object.prototype.valueOf&&"function"==typeof i.valueOf&&"function"==typeof o.valueOf)return i.valueOf()===o.valueOf();if(i.toString!==Object.prototype.toString&&"function"==typeof i.toString&&"function"==typeof o.toString)return i.toString()===o.toString();if((s=(c=Object.keys(i)).length)!==Object.keys(o).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(o,c[l]))return!1;if(t&&i instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!i.$$typeof)&&!e(i[c[l]],o[c[l]]))return!1;return!0}return i!=i&&o!=o}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},28563:(e,t,r)=>{"use strict";r.d(t,{e:()=>c});var n=r(6029),a=r(75155),i=r(41834),o=r(73202),s=r(67624),l=r(53129);let c=e=>{let t,r,c,u,d,h,p,f=(0,a.c)(18);f[0]!==e?({href:t,target:u,rel:c,...r}=e,f[0]=e,f[1]=t,f[2]=r,f[3]=c,f[4]=u):(t=f[1],r=f[2],c=f[3],u=f[4]),f[5]!==t||f[6]!==c||f[7]!==u?(d=(0,l.I)(t,u,c),f[5]=t,f[6]=c,f[7]=u,f[8]=d):d=f[8];let{rewrittenHref:m,isPdf:g,appAwareRel:v}=d;f[9]!==t?(h=(0,o.u)(t),f[9]=t,f[10]=h):h=f[10];let{shouldUseNextLink:y}=h;return f[11]!==v||f[12]!==g||f[13]!==r||f[14]!==m||f[15]!==y||f[16]!==u?(p=g?(0,n.jsx)(i.N_E,{href:m,target:"_blank",rel:"noopener noreferrer",...r}):(0,n.jsx)(i.N_E,{linkRender:y?s.F:void 0,href:m,rel:v,target:u,...r}),f[11]=v,f[12]=g,f[13]=r,f[14]=m,f[15]=y,f[16]=u,f[17]=p):p=f[17],p}},28751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return s.ReadonlyURLSearchParams},RedirectType:function(){return h.RedirectType},ServerInsertedHTMLContext:function(){return u.ServerInsertedHTMLContext},forbidden:function(){return h.forbidden},notFound:function(){return h.notFound},permanentRedirect:function(){return h.permanentRedirect},redirect:function(){return h.redirect},unauthorized:function(){return h.unauthorized},unstable_isUnrecognizedActionError:function(){return d.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return h.unstable_rethrow},useParams:function(){return b},usePathname:function(){return v},useRouter:function(){return y},useSearchParams:function(){return g},useSelectedLayoutSegment:function(){return T},useSelectedLayoutSegments:function(){return x},useServerInsertedHTML:function(){return u.useServerInsertedHTML}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let i=r(13514)._(r(55729)),o=r(39003),s=r(66522),l=r(37459),c=r(32492),u=r(96352),d=r(52176),h=r(84350),{instrumentParamsForClientValidation:p,instrumentSearchParamsForClientValidation:f,expectCompleteParamsInClientValidation:m}={};function g(){var e;null==(e=c.useDynamicSearchParams)||e.call(c,"useSearchParams()");let t=(0,i.useContext)(s.SearchParamsContext);return(0,i.useMemo)(()=>t?new s.ReadonlyURLSearchParams(t):null,[t])}function v(){var e;return null==(e=c.useDynamicRouteParams)||e.call(c,"usePathname()"),(0,i.useContext)(s.PathnameContext)}function y(){var e;let t=(0,i.useContext)(o.AppRouterContext);if(null===t)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});let r=(0,i.useContext)(o.LayoutRouterContext),n=null!=(e=null==r?void 0:r.parentCacheNode.bfcacheId)?e:0;return(0,i.useMemo)(()=>({back:t.back,forward:t.forward,refresh:t.refresh,hmrRefresh:t.hmrRefresh,push:t.push,replace:t.replace,prefetch:t.prefetch,experimental_gesturePush:t.experimental_gesturePush,bfcacheId:"_b_"+n+"_"}),[t,n])}function b(){var e;
1return null==(e=c.useDynamicRouteParams)||e.call(c,"useParams()"),(0,i.useContext)(s.PathParamsContext)}function x(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"children";null==(e=c.useDynamicRouteParams)||e.call(c,"useSelectedLayoutSegments()");let r=(0,i.useContext)(o.LayoutRouterContext);return r?(0,l.getSelectedLayoutSegmentPath)(r.parentTree,t):null}function T(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"children";null==(e=c.useDynamicRouteParams)||e.call(c,"useSelectedLayoutSegment()"),(0,i.useContext)(s.NavigationPromisesContext);let r=x(t);return(0,l.computeSelectedLayoutSegment)(r,t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29377:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}},29753:e=>{"use strict";function t(e,t){this._state=e,this._rawResults={};var r=this;e.params.forEach(function(e){var n=e.$$id;r[n]=t[n],r._rawResults[n]=t[n]})}t.prototype={constructor:t},e.exports=t},29829:(e,t,r)=>{"use strict";r.d(t,{_X:()=>s});var n=r(75155),a=r(55729);let i={xs:480,sm:640,md:768,lg:1024,xl:1280,"2xl":1440,"3xl":1920},o=Object.entries(i),s=()=>{let e,t,r,s,l,c,u,d,h=(0,n.c)(14),[p,f]=(0,a.useState)("xs"),[m,g]=(0,a.useState)(0),v=(0,a.useRef)(void 0);h[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=window.innerWidth;f((e=>{let[t]=o.find(t=>{let[,r]=t;return e<r})||o[o.length-1];return t})(e)),g(e)},h[0]=e):e=h[0];let y=e;h[1]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{clearTimeout(v.current),v.current=setTimeout(y,100)},h[1]=t):t=h[1];let b=t;h[2]===Symbol.for("react.memo_cache_sentinel")?(r=()=>(y(),window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}),s=[b],h[2]=r,h[3]=s):(r=h[2],s=h[3]),(0,a.useEffect)(r,s),h[4]===Symbol.for("react.memo_cache_sentinel")?(l=["xs","sm"],h[4]=l):l=h[4];let x=l.includes(p);if(h[5]!==m)c=e=>m>=i[e],h[5]=m,h[6]=c;else c=h[6];if(h[7]!==m)u=e=>m<i[e],h[7]=m,h[8]=u;else u=h[8];return h[9]!==p||h[10]!==x||h[11]!==c||h[12]!==u?(d={breakpoint:p,isMobile:x,isGreaterOrEqual:c,isSmaller:u},h[9]=p,h[10]=x,h[11]=c,h[12]=u,h[13]=d):d=h[13],d}},30048:(e,t,r)=>{"use strict";r.d(t,{d:()=>a});let n={};function a(e,t){let r=t||n;return i(e,"boolean"!=typeof r.includeImageAlt||r.includeImageAlt,"boolean"!=typeof r.includeHtml||r.includeHtml)}function i(e,t,r){var n;if((n=e)&&"object"==typeof n){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,t,r)}return Array.isArray(e)?o(e,t,r):""}function o(e,t,r){let n=[],a=-1;for(;++a<e.length;)n[a]=i(e[a],t,r);return n.join("")}},30166:e=>{function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,n){var a=document.head||document.getElementsByTagName("head")[0],i=document.createElement("script");"function"==typeof r&&(n=r,r={}),n=n||function(){},i.type=(r=r||{}).type||"text/javascript",i.charset=r.charset||"utf8",i.async=!("async"in r)||!!r.async,i.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(i,r.attrs),r.text&&(i.text=""+r.text),("onload"in i?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(i,n),i.onload||t(i,n),a.appendChild(i)}},30234:(e,t,r)=>{"use strict";var n=r(26104),a=r(78509),i=r(29377),o={addRefinement:function(e,t,r){if(o.isRefined(e,t,r))return e;var a=""+r,i=e[t]?e[t].concat(a):[a],s={};return s[t]=i,n(s,e)},removeRefinement:function(e,t,r){if(void 0===r)return o.clearRefinement(e,function(e,r){return t===r});var n=""+r;return o.clearRefinement(e,function(e,r){return t===r&&n===e})},toggleRefinement:function(e,t,r){if(void 0===r)throw Error("toggleRefinement should be used with a value");
1return o.isRefined(e,t,r)?o.removeRefinement(e,t,r):o.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var n=!1,o=Object.keys(e).reduce(function(a,i){var o=e[i]||[],s=o.filter(function(e){return!t(e,i,r)});return s.length!==o.length&&(n=!0),a[i]=s,a},{});return n?o:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;return void 0!==r&&n?-1!==e[t].indexOf(""+r):n}};e.exports=o},30763:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return n}}),r(62418).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31652:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},31677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,a.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(69714),a=r(66534);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},32039:()=>{},32181:(e,t,r)=>{"use strict";r.d(t,{G:()=>g});var n,a=r(87581),i=r(44160),o=r(11933),s=((n={}).Environment="Environment",n.Social="Social",n.Equal="Equal",n.PostcodeEffect="Postcode Effect",n.HealthAndResearch="Health and Research",n.SportsAndOutdoorActivities="Sports and Outdoor Activities",n.DreamProjects="Dream projects",n.People="People",n.Domestic="Domestic",n.International="International",n.OneOffDonations="One-off Donations",n.ExtraContribution="Extra Contribution",n.Organization="Organization",n.Partners="Partners",n.General="General",n.Animals="Animals",n.Education="Education",n.Children="Children",n.Cancer="Cancer",n.PovertyPrevention="Poverty Prevention",n.Health="Health",n.MentalHealth="Mental Health",n.Other="Other",n),l=r(95525),c=r(72787),u=r(93625);let d=(0,o.uq)("https://a.storyblok.com/f/276879/600x400/09ab01b721/natur_default.jpg"),h=(0,o.uq)("https://a.storyblok.com/f/276879/600x400/5ce7469786/social_default.jpg"),p=(0,o.uq)("https://a.storyblok.com/f/276879/600x400/08498b1f59/chancengleichheit_default.jpg"),f={[s.Environment]:{desktop:d,mobile:d},[s.Social]:{desktop:h,mobile:h},[s.Equal]:{desktop:p,mobile:p}},m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0;if(e){let t=e.desktop,n=e.mobile,i=e=>{var t,n,i;return(null==e?void 0:e.filename)?(0,a.xG)({src:e.filename,focus:null!=(t=e.focu
1s)?t:void 0},null!=(n=null==r?void 0:r.width)?n:0,null!=(i=null==r?void 0:r.height)?i:0):""};return{desktop:i(t),mobile:i(n)}}return!e&&t&&t in f?{desktop:f[t].desktop,mobile:f[t].mobile}:{desktop:"",mobile:""}},g=function(e,t){var r,n,a,o,s,d,h,p,f,g,v,y,b,x,T,E,C,w,k,S;let I,P=arguments.length>2&&void 0!==arguments[2]&&arguments[2],_=arguments.length>3?arguments[3]:void 0;if("Post"===e.content.component)return{_uid:e.uuid,slug:e.slug,title:e.content.title||"",text:e.content.body||"",image:m({desktop:e.content.image,mobile:e.content.image}),winnersLink:e.content.link&&"url"===e.content.link.linktype&&e.content.link.url||"",categories:[],tags:[],imageThumbnail:(null==(E=e.content.imageThumbnail)?void 0:E.filename)?{filename:e.content.imageThumbnail.filename,alt:null!=(T=e.content.imageThumbnail.alt)?T:void 0}:void 0,alt:(null==(C=e.content.image)?void 0:C.alt)||""};if((null==(I=e.content)?void 0:I.component)==="Charity"){let t=null==(k=e.content.images)?void 0:k[0],r=(e=>{var t,r,n,a,i,o,s;let l=Array.isArray(e)?e[0]:e,c=l&&"string"!=typeof l?l.content:null;if(c)return{logo:{src:null!=(t=null==(o=c.logo)?void 0:o.filename)?t:"",alt:null!=(r=null==(s=c.logo)?void 0:s.alt)?r:""},name:null!=(n=c.name)?n:"",companyNumber:null!=(a=c.companyNumber)?a:"",oscrNumber:null!=(i=c.oscrNumber)?i:""}})(e.content.trustInfo);return{_uid:e.uuid,slug:e.slug,title:e.content.title,shorthand:e.content.shorthand,categories:e.content.topicType.categories||[],amountRaised:"\xa3".concat(Number(e.content.amountRaised).toLocaleString("en-GB")," raised"),image:m({desktop:t,mobile:t},(null==(S=e.content.topicType.categories)?void 0:S[0])||"",_),charityLogo:e.content.charityLogo.filename?{src:e.content.charityLogo.filename,alt:null!=(w=e.content.charityLogo.alt)?w:"".concat(e.content.title," logo")}:void 0,charityUrl:e.content.charityUrl.url,...P&&e.content.topicType.categories&&{categories:e.content.topicType.categories},alt:(null==t?void 0:t.alt)||"",tags:[],winnersLink:"",text:e.content.description,trustInfo:r}}let R=null==(o=e.content.introCard)?void 0:o[0],A=(0,l.n)(R),N=P&&(null==(d=e.content)||null==(s=d.topicType)?void 0:s.categories),D=null==(h=e.content.sections)?void 0:h.find(e=>e.component===i.T6.SingleMediaSection&&e.mediaType===i.zu.Image),O=(null==D?void 0:D.component)===i.T6.SingleMediaSection?{desktop:D.image,mobile:D.image}:void 0,j=null!=(r=null==(g=e.content.heroSection)||null==(f=g[0])||null==(p=f.images)?void 0:p[0])?r:O,L=(0,u.g)(R,t,null!=(n=e.first_published_at)?n:e.created_at),{desktop:M,mobile:H}=m(j,(null==(b=e.content)||null==(y=b.topicType)||null==(v=y.categories)?void 0:v[0])||"",_);return{_uid:e.uuid,slug:e.slug,title:(null==R?void 0:R.header)||"",secondaryText:A&&R.secondaryText?R.secondaryText:void 0,text:A?null==R?void 0:R.text:"",tags:L,label:A&&(0,c.t)(R)&&R.label||"",image:{desktop:M,mobile:H},winnersLink:e.full_slug,...N&&{categories:N},imageThumbnail:(null==(x=e.content.imageThumbnail)?void 0:x.filename)?{filename:e.content.imageThumbnail.filename,alt:null!=(a=e.content.imageThumbnail.alt)?a:void 0}:void 0}}},32236:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},32492:(e,t)=>{"use strict";let r,n;Object.defineProperty(t,"__esModule",{value:!0});var a={useDynamicRouteParams:function(){return r},useDynamicSearchParams:function(){return n}};for(var i in a)Object.defineProperty(t,i,{enumerable:!0,get:a[i]});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},32988:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=i(t,r));return t}(r)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):void 0===(r=(function(){return a}
1).apply(t,[]))||(e.exports=r)}()},33764:(e,t,r)=>{"use strict";r.d(t,{I:()=>a});var n=r(45953);function a(e){var t=n.sn.highlightPostTag,r=n.sn.highlightPreTag,a=e.split(r),i=a.shift(),o=i?[{value:i,isHighlighted:!1}]:[];return a.forEach(function(e){var r=e.split(t);o.push({value:r[0],isHighlighted:!0}),""!==r[1]&&o.push({value:r[1],isHighlighted:!1})}),o}},33923:e=>{"use strict";e.exports=Math.abs},34955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return c},noSSR:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let i=r(14761);r(6029),r(55729);let o=i._(r(70628));function s(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){return delete t.webpack,delete t.modules,e(t)}function c(e,t){let r=o.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let a=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=a?a().then(s):Promise.resolve(s(()=>null))}):(delete n.webpack,delete n.modules,l(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35146:(e,t,r)=>{"use strict";var n=r(3140),a=r(54913),i=r(16526),o=r(80510),s=r(72206),l=n("%WeakMap%",!0),c=a("WeakMap.prototype.get",!0),u=a("WeakMap.prototype.set",!0),d=a("WeakMap.prototype.has",!0),h=a("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+i(e))},delete:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return h(e,r)}else if(o&&t)return t.delete(r);return!1},get:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?c(e,r):t&&t.get(r)},has:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?d(e,r):!!t&&t.has(r)},set:function(r,n){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),u(e,r,n)):o&&(t||(t=o()),t.set(r,n))}};return r}:o},36021:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(64925)}])},36152:e=>{e.exports=function(e){return e.reduce(function(e,t){return e.concat(t)},[])}},36176:(e,t,r)=>{"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,{_:()=>n})},37025:e=>{"use strict";e.exports=Math.max},37490:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});let n={"de-DE":{"/_configuration/monthlyresultspagetemplate":"/ergebnisse/monatsgewinn","/_configuration/streetresultspagetemplate":"/ergebnisse/strassenpreis","/_configuration/dailyresultspagetemplate":"/ergebnisse/tagesgewinne","/_configuration/sundayresultspagetemplate":"/ergebnisse/sonntagsgewinne","/_configuration/specialresultspagetemplate":"/ergebnisse/sonderverlosung"},"nl-NL":{},"sv-SE":{},"no-NO":{},"en-GB":{}},a=(e,t)=>{var r;let a=null!=(r=n[t])?r:n["en-GB"];return(null==a?void 0:a[e])||e}},37608:(e,t,r)=>{"use strict";r.d(t,{i:()=>c});var n=r(6029),a=r(75155),i=r(32988),o=r.n(i),s=r(74746),l=r(57586);let c=e=>{let t,r,i,c,d,h=(0,a.c)(24),{gridItems:p,ctaSectionComponent:f,spotlightCardComponent:m,paginationComponent:g,showCtaAndSpotlight:v}=e,y=void 0===v||v,b=+!!m,x=p.length-1,T=Math.min(1,x),E=Math.min(0,x),C=Math.min(1+b,x),w=Math.min(5+b,x),k=2===p.length,S=2!==p.length;h[0]!==k||h[1]!==S?(t=o()("grid gap-4 sm:grid-cols-2 md:gap-6",{"lg:grid-cols-2":k,"lg:grid-cols-3":S}),h[0]=k,h[1]=S,h[2]=t):t=h[2];let I=t,P=u;h[3]!==y||h[4]!==E||h[5]!==T||h[6]!==m?(r=(e,t)=>P(m,!!(y&&m&&(t?e===T:e===E)),t?"block sm:hidden lg:col-span-2 -mx-4 sm:mx-0":"hidden sm:block lg:col-span-2"),h[3]=y,h[4]=E,h[5]=T,h[6]=m,h[7]=r):r=h[7];let _=r;h[8]!==w||h[9]!==C||h[10]!==f||h[11]!==y?(i=(e,t)=>P(f,!!(y&&f&&(t?e===C:e===w)),t?"border-light-grey block border-y px-4 py-6 sm:hidden lg:col-span-2 -mx-4 sm:mx-0":"hidden px-4 sm:col-span-2 sm:block md:px-0 lg:col-span-3"),h[8]=w,h[9]=C,h[10]=f,h[11]=y,h[12]=i):i=h[12];let R=i;if(h[13]!==p||h[14]!==R||h[15]!==_){let e;h[17]!==R||h[18]!==_?(e=(e,t)=>(0,n.jsxs)(n.Fragment,{children:[_(t,!0),R(t,!0),(0,n.jsx)(l.x,{content:e}),_(t,!1),R(t,!1)]},e._uid),h[17]=R,h[18]=_,h[19]=e):e=h[19],c=p.map(e),h[13]=p,h[14]=R,h[15]=_,h[16]=c}else c=h[16];return h[20]!==I||h[21]!==g||h[22]!==c?(d=(0,n.jsx)(s.d,{children:(0,n.jsxs)("div",{className:I,children:[c,g]})}),h[20]=I,h[21]=g,h[22]=c,h[23]=d):d=h[23],d};function u(e,t,r){return t?(0,n.jsx)("div",{className:o()(r),children:e}):null}},37664:(e,t,r)=>{"use strict";r.d(t,{X:()=>p});var n=r(6029),a=r(75155),i=r(66186),o=r(11933),s=r(41834),l=r(32988),c=r.n(l),u=r(12645);let d=(0,r(13593).O)({vl:{tableStyle:"higlight-row-color"}});var h=r(24486);let p=e=>{let t,r,l,p,g,v=(0,a.c)(22),{content:y,listFormat:b,classNameListElement:x,className:T,testID:E}=e,C=void 0===b?"checkmarks":b,{lottery:w}=(0,u.p)();v[0]!==w?(t=d(w),v[0]=w,v[1]=t):t=v[1];let{tableStyle:k}=t,S="checkmarks"===C||""===C,I="bulleted"===C,P="numeric"===C;v[2]!==y?(r=y.replace(/\[(.*?)\]\((.*?)\)/g,(e,t,r)=>"[".concat(t,"](").concat((0,h.b)(r),")")).replace(/(!\[.*?\]\()(.+?)(\))/g,(e,t,r,n)=>{let a=(0,o.uq)(r);return"".concat(t).concat(a).concat(n)}),v[2]=y,v[3]=r):r=v[3];let _=r;return v[4]!==T||v[5]!==_||v[6]!==S||v[7]!==k||v[8]!==E?(l=S&&(0,n.jsx)(i.o,{testId:E,content:_,listIcon:(0,n.jsx)(s.Srz,{className:"text-icon-positive",testId:"checkmark"}),className:T,tableStyle:k}),v[4]=T,v[5]=_,v[6]=S,v[7]=k,v[8]=E,v[9]=l):l=v[9],v[10]!==T||v[11]!==x||v[12]!==_||v[13]!==I||v[14]!==S||v[15]!==P||v[16]!==k||v[17]!==E?(p=!S&&(0,n.jsx)(i.o,{testId:E,componentOverrides:{ul:e=>(0,n.jsx)("ul",{className:c()(f.listStyles,x,{"list-disc":I,"list-decimal":P}),...e}),ol:e=>(0,n.jsx)("ol",{className:c()(f.listStyles,x,{"list-disc":I,"list-decimal":P}),...e}),mark:m},className:T,content:_,tableStyle:k}),v[10]=T,v[11]=x,v[12]=_,v[13]=I,v[14]=S,v[15]=P,v[16]=k,v[17]=E,v[18]=p):p=v[18],v[19]!==l||v[20]!==p?(g=(0,n.jsxs)(n.Fragment,{children:[l,p]}),v[19]=l,v[20]=p,v[21]=g):g=v[21],g},f={listStyles:"list-outside pl-4 leading-brand-normal *:pt-3"};function m(e){let{children:t,node:r,...a}=e;return(0,n.jsx)("strong",{...a,children:t})}},38174:(e,t,r)=>{"use strict";var n=r(95868),a=r(57601),i=r(1788).escapeFacetValue,o=r(83783),s=r(12853),l=r(48444),c=r(89298),u=r(54850),d=r(57642),h=r(99553),p=r(41822),f=r(40814),m=r(55044),g=r(5747);function v(e,t,r,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.setClient(e);var a=r||{};a.index=t,this.state=p.make(a),this.recommendState=new u({params:a.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryId
1Received=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=n,this._recommendCache={}}function y(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function b(){return this.state.page}o(v,n),v.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},v.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},v.prototype.searchWithComposition=function(){return this._runComposition({onlyWithDerivedHelpers:!0}),this},v.prototype.recommend=function(){return this._recommend(),this},v.prototype.getQuery=function(){var e=this.state;return h._getHitsSearchParams(e)},v.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=h._getQueries(r.index,r),a=this;return(this._currentNbQueries++,this.emit("searchOnce",{state:r}),t)?void this.client.search(n).then(function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new f(r,e.results),r)}).catch(function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,r)}):this.client.search(n).then(function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new f(r,e.results),state:r,_originalResponse:e}},function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e})},v.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),a=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:c(h._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),i="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(i);var o=this.client.initIndex(n.index);if("function"!=typeof o.findAnswers)throw Error(i);return o.findAnswers(n.query,e.queryLanguages,a)},v.prototype.searchForFacetValues=function(e,t,r,n){var a,o="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,s="function"==typeof this.client.initIndex;if(!o&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var l=this.state.setQueryParameters(n||{}),c=l.isDisjunctiveFacet(e),u=h.getSearchForFacetQuery(e,t,r,l);this._currentNbQueries++;var d=this;o?a=this.client.searchForFacetValues([{indexName:l.index,params:u}]):s?a=this.client.initIndex(l.index).searchForFacetValues(u):(delete u.facetName,a=this.client.search([{type:"facet",facet:e,indexName:l.index,params:u}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:l,facet:e,query:t});var p=this.lastResults&&this.lastResults.index===l.index&&this.lastResults.renderingContent&&this.lastResults.renderingContent.facetOrdering&&this.lastResults.renderingContent.facetOrdering.values&&this.lastResults.renderingContent.facetOrdering.values[e]&&this.lastResults.renderingContent.facetOrdering.values[e].hide||[];return a.then(function(t){return d._currentNbQueries--,0===d._currentNbQueries&&d.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits=t.facetHits.reduce(function(t,r){return p.indexOf(r.value)>-1||(r.escapedValue=i(r.value),r.isRefined=c?l.isDisjunctiveFacetRefined(e,r.escapedValue):l.isFacetRefined(e,r.escapedValue),t.push(r)),t},[]),t},function(e){throw d._currentNbQueries--,0===d._currentNbQueries&&d.emit("searchQueueEmpty"),e})},v.prototype.searchForCompositionFacetValues=function(e,t,r,n){if("function"!=typeof this.client.searchForFacetValues)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues");var a,o=this.state.setQueryParameters(n||{}),s=o.isDisjunctiveFacet(e);this._currentNbQueries++;var l=this;return a=this.client.searchForFacetValues({compositionID:o.index,facetName:e,searchForFacetValuesRequest:{params:{query:t,maxFacetHits:r,searchQuery:h._getCompositionHitsSearchParams(o)}}}
vendor: 8,568 bytes, line 1
1),this.emit("searchForFacetValues",{state:o,facet:e,query:t}),a.then(function(t){return l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),(t=t.results[0]).facetHits.forEach(function(t){t.escapedValue=i(t.value),t.isRefined=s?o.isDisjunctiveFacetRefined(e,t.escapedValue):o.isFacetRefined(e,t.escapedValue)}),t},function(e){throw l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),e})},v.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},v.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},v.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},v.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},v.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},v.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},v.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},v.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},v.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},v.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},v.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},v.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},v.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},v.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},v.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},v.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},v.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},v.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},v.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},v.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},v.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},v.prototype.setCurrentPage=y,v.prototype.setPage=y,v.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},v.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},v.prototype.setState=function(e){return this._change({state:p.make(e),isPageReset:!1}),this},v.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new p(e),this},v.prototype.hasRefinements=function(e){return!!l(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},v.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},v.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},v.prototype.hasTag=function(e){return this.state.isTagRefined(e)},v.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},v.prototype.getIndex=function(){return this.state.index},v.prototype.getCurrentPage=b,v.prototype.getPage=b,v.prototype.getTags=function(){return this.state.tagRefinements},v.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach(function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})}),t},v.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},v.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},v.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=h._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var a=this.derivedHelpers.map(function(e){var n=e.getModifiedState(t),a=n.index?h._getQueries(n.index,n):[];return r.push({state:n,queriesCount:a.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),a}),i=Array.prototype.concat.apply(n,a),o=this._queryId++;if(this._currentNbQueries++,!i.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,o));try{this.client.search(i).then(this._dispatchAlgoliaResponse.bind(this,r,o)).catch(this._dispatchAlgoliaError.bind(this,o))}catch(e){this.emit("error",{error:e})}},v.prototype._runComposition=function(){var e=this.state,t=[],r=this.derivedHelpers.map(function(r){var n=r.getModifiedState(e),a=h._getCompositionQueries(n);return t.push({state:n,helper:r}),r.emit("search",{state:n,results:r.lastResults}),a}),n=Array.prototype.concat.apply([],r),a=this._queryId++;if(this._currentNbQueries++,!n.length)return Promise.resolve({results:[]}
1).then(this._dispatchAlgoliaResponse.bind(this,t,a));if(n.length>1)throw Error("Only one query is allowed when using a composition.");var i=n[0];try{this.client.search(i).then(this._dispatchAlgoliaResponse.bind(this,t,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(e){this.emit("error",{error:e})}},v.prototype._recommend=function(){var e=this.state,t=this.recommendState,r=this.getIndex(),n=[{state:t,index:r,helper:this}],a=t.params.map(function(e){return e.$$id});this.emit("fetch",{recommend:{state:t,results:this.lastRecommendResults}});var i=this._recommendCache,o=this.derivedHelpers.map(function(t){var r=t.getModifiedState(e).index;if(!r)return[];var o=t.getModifiedRecommendState(new u);return n.push({state:o,index:r,helper:t}),a=Array.prototype.concat.apply(a,o.params.map(function(e){return e.$$id})),t.emit("fetch",{recommend:{state:o,results:t.lastRecommendResults}}),o._buildQueries(r,i)}),s=Array.prototype.concat.apply(this.recommendState._buildQueries(r,i),o);if(0!==s.length){if(s.length>0&&void 0===this.client.getRecommendations)return void console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");var l=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(s).then(this._dispatchRecommendResponse.bind(this,l,n,a)).catch(this._dispatchRecommendError.bind(this,l))}catch(e){this.emit("error",{error:e})}}},v.prototype._dispatchAlgoliaResponse=function(e,t,r){var n=this;if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var a=r.results.slice(),i=Object.keys(r).reduce(function(e,t){return"results"!==t&&(e[t]=r[t]),e},{});Object.keys(i).length<=0&&(i=void 0),e.forEach(function(e){var t=e.state,r=e.queriesCount,o=e.helper,s=void 0!==r?a.splice(0,r):a;if(!t.index)return void o.emit("result",{results:null,state:t});if(s.length>0&&s[0].feedID){var l=s.map(function(e){var r=new f(t,[e],n._searchResultsOptions);return void 0!==i&&(r._rawContent=i),r});o.lastResults=new f(t,[s[0]],n._searchResultsOptions),o.lastResults.feeds=l,void 0!==i&&(o.lastResults._rawContent=i)}else o.lastResults=new f(t,s,n._searchResultsOptions),void 0!==i&&(o.lastResults._rawContent=i);o.emit("result",{results:o.lastResults,state:t})})}},v.prototype._dispatchRecommendResponse=function(e,t,r,n){if(!(e<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty");var a=this._recommendCache,i={};r.filter(function(e){return void 0===a[e]}).forEach(function(e,t){i[e]||(i[e]=[]),i[e].push(t)}
1),Object.keys(i).forEach(function(e){var t=i[e],o=n.results[t[0]];if(1===t.length){a[e]=o;return}a[e]=Object.assign({},o,{hits:m(r,t.map(function(e){return n.results[e].hits}))})});var o={};r.forEach(function(e){o[e]=a[e]}),t.forEach(function(e){var t=e.state,r=e.helper;e.index?(r.lastRecommendResults=new d(t,o),r.emit("recommend:result",{recommend:{results:r.lastRecommendResults,state:t}})):r.emit("recommend:result",{results:null,state:t})})}},v.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},v.prototype._dispatchRecommendError=function(e,t){e<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty"))},v.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},v.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},v.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},v.prototype._recommendChange=function(e){var t=e.state;t!==this.recommendState&&(this.recommendState=t,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},v.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},v.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.client=e),this},v.prototype.getClient=function(){return this.client},v.prototype.derive=function(e,t){var r=new a(this,e,t);return this.derivedHelpers.push(r),r},v.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},v.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=v},39080:(e,t,r)=>{"use strict";r.d(t,{Q:()=>T});var n=r(6029),a=r(75155),i=r(55729),o=r(32988),s=r.n(o),l=r(66186),c=r(29829);r(61480);let u=e=>{let t,r,n,o,s=(0,a.c)(9);s[0]!==e?(t=()=>{let t=e.getTime()-Date.now();return{total:t,days:Math.floor(t/864e5),hours:Math.floor(t/36e5%24),minutes:Math.floor(t/6e4%60),seconds:Math.floor(t/1e3%60)}},s[0]=e,s[1]=t):t=s[1];let l=t;s[2]!==l?(r=l(),s[2]=l,s[3]=r):r=s[3];let[c,u]=(0,i.useState)(r);return s[4]!==l?(n=()=>{let e=setInterval(()=>{u(l())},1e3);return()=>{clearInterval(e)}},s[4]=l,s[5]=n):n=s[5],s[6]!==l||s[7]!==e?(o=[l,e,1e3],s[6]=l,s[7]=e,s[8]=o):o=s[8],(0,i.useEffect)(n,o),c},d=(e,t)=>e&&"extraLarge"===t?"extraLarge":e?"small":t,h=e=>{let t,r,i,o,c,u,d=(0,a.c)(16),{position:h,digit:p,animating:f,label:m,showPad:g}=e,v=void 0!==f&&f,y=void 0!==g&&g;return d[0]!==v||d[1]!==h?(t=s()(v?"flipCard ".concat(h):h,"flex justify-center absolute left-0 w-full group-[.large]:h-countdown-large-height group-[.small]:h-countdown-small-height group-[.extraLarge]:h-[18px] overflow-hidden group-[.large]:px-countdown-large-horizontal-padding group-[.small]:px-countdown-small-horizontal-padding group-[.extraLarge]:px-3",{"flex items-end relative justify-center group-[.large]:pt-countdown-large-vertical-padding group-[.small]:pt-countdown-small-vertical-padding group-[.extraLarge]:pt-0 rounded-tl-countdown-left-border-radius rounded-tr-countdown-right-border-radius w-full overflow-hidden bg-gradient-to-t from-countdown-right-flip-border-color from-[1px] via-countdown-right-top-fill-color via-[1px] to-countdown-right-top-fill-color [&>span]:translate-y-1/2 group-[.left]:from-countdown-left-flip-border-color group-[.left]:from-[1px] group-[.left]:via-countdown-left-top-fill-color group-[.left]:via-[1px] group-[.left]:to-countdown-left-top-fill-color":"upperCard"===h,"flex items-start relative justify-center group-[.large]:pb-countdown-large-vertical-padding group-[.small]:pb-countdown-small-vertical-padding group-[.extraLarge]:pb-0 rounded-bl-countdown-left-border-radius rounded-br-countdown-right-border-radius w-full overflow-hidden bg-gradient-to-b from-countdown-right-flip-border-color from-[1px] via-countdown-right-bottom-fill-color via-[1px] to-countdown-right-bottom-fill-color [&>span]:-translate-y-1/2 group-[.left]:from-countdown-left-flip-border-color group-[.left]:from-[1px] group-[.left]:via-countdown-left-bottom-fill-color group-[.left]:via-[1px] group-[.left]:to-countdown-left-bottom-fill-color":"lowerCard"===h,"top-0 items-end origin-[50%_100%] rotate-0 rounded-tl-countdown-left-border-radius rounded-tr-countdown-right-border-radius bg-gradient-to-t from-countdown-right-flip-border-color from-[1px] via-countdown-right-top-fill-color via-[1px] to-countdown-right-top-fill-color [&>span]:translate-y-1/2 group-[.left]:from-countdown-left-flip-border-color group-[.left]:from-[1px] group-[.left]:via-countdown-left-top-fill-color group-[.left]:via-[1px] group-[.left]:to-countdown-left-top-fill-color":"fold"===h,"top-1/2 items-start origin-[50%_0%] rotate-180 rounded-bl-countdown-left-border-radius rounded-br-countdown-right-border-radius bg-gradient-to-b from-countdown-right-flip-border-color from-[1px] via-countdown-right-bottom-fill-color via-[1px] to-countdown-right-bottom-fill-color [&>span]:-translate-y-1/2 group-[.left]:from-countdown-left-flip-border-color group-[.left]:from-[1px] group-[.left]:via-countdown-left-bottom-fill-color group-[.left]:via-[1px] group-[.left]:to-countdown-left-bottom-fill-color":"unfold"===h}),d[0]=v,d[1]=h,d[2]=t):t=d[2],d[3]!==p||d[4]!==y?(r=p.toString().padStart(2,y?"0":""),d[3]=p,d[4]=y,d[5]=r):r=d[5],d[6]!==r?(i=(0,n.jsx)("span",{className:"group-[.extraLarge]:text-[24px]",children:r}),d[6]=r,d[7]=i):i=d[7],d[8]!==m?(o=!!m&&(0,n.jsx)(l.o,{className:"group-[.extraLarge]:text-[18px] [&_.ds-link-inline]:!text-inherit [&_a]:cursor-pointer [&_a]:!text-inherit [&_a]:underline",content:m}),d[8]=m,d[9]=o):o=d[9],d[10]!==i||d[11]!==o?(c=(0,n.jsxs)("span",{className:"flex items-baseline gap-group-level-xs font-bold group-[.left]:text-countdown-left-text-color",children:[i," ",o]}),d[10]=i,d[11]=o,d[12]=c):c=d[12],d[13]!==t||d[14]!==c?(u=(0,n.jsx)("div",{className:t,children:c}),d[13]=t,d[14]=c,d[15]=u):u=d[15],u},p=e=>{let t,r,i,o,l,c,u,d=(0,a.c)(28),{currentDigit:p,showCursor:f,shuffle:m,unit:g,label:v,showPad:y,animating:b}=e,x=void 0!==y&&y,T=p+1;"seconds"===g||"minutes"===g?T=60===T?0:T:"hours"===g&&(T=24===T?0:T);let E=b&&(p<T||0===T),C=m?T:p,w=m?p:T,k=m?"fold":"unfold",S=m?"unfold":"fold";d[0]===Symbol.for("react.memo_cache_sentinel")?(t=s()("flipUnitContainer","group block relative w-fit h-fit shadow-countdown"),d[0]=t):t=d[0];let I=E||!b?p:T;d[1]!==v||d[2]!==x||d[3]!==I?(r=(0,n.jsx)(h,{digit:I,label:v,position:"upperCard",showPad:x}),d[1]=v,d[2]=x,d[3]=I,d[4]=r):r=d[4];let P=E?T:p;return d[5]!==v||d[6]!==x||d[7]!==P?(i=(0,n.jsx)(h,{digit:P,label:v,position:"lowerCard",showPad:x}),d[5]=v,d[6]=x,d[7]=P,d[8]=i):i=d[8],d[9]!==b||d[10]!==k||d[11]!==S||d[12]!==C||d[13]!==w||d[14]!==v||d[15]!==E||d[16]!==x?(o=b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h,{animating:!0,digit:C,label:v,position:E?k:S,showPad:x}),(0,n.jsx)(h,{animating:!0,digit:w,position:E?S:k,label:v,showPad:x})]}),d[9]=b,d[10]=k,d[11]=S,d[12]=C,d[13]=w,d[14]=v,d[15]=E,d[16]=x,d[17]=o):o=d[17],d[18]!==r||d[19]!==i||d[20]!==o||d[21]!==g?(l=(0,n.jsxs)("div",{className:t,"data-testid":g,children:[r,i,o]}),d[18]=r,d[19]=i,d[20]=o,d[21]=g,d[22]=l):l=d[22],d[23]!==f?(c=f&&(0,n.jsx)("div",{className:"content-center font-bold text-countdown-cursor-color",children:":"}),d[23]=f,d[24]=c):c=d[24],d[25]!==l||d[26]!==c?(u=(0,n.jsxs)(n.Fragment,{children:[l,c]}
1),d[25]=l,d[26]=c,d[27]=u):u=d[27],u},f=e=>{let t,r,o,s,l,c,d,h,f,m,b,x,T,E,C,w,k=(0,a.c)(60),{animating:S,text:I,isFirstCounter:P,endDate:_,locale:R}=e;if(null===R)throw Error("locale is null");let A=u(_);k[0]!==R?(t=(e=>{switch(e){case"nl-NL":return{days:{one:"dag",other:"dagen"},hours:{one:"uur",other:"uren"},minutes:{one:"minuut",other:"minuten"},seconds:{one:"seconde",other:"seconden"}};case"de-DE":return{days:{one:"Tag",other:"Tage"},hours:{one:"Stunde",other:"Stunden"},minutes:{one:"Minute",other:"Minuten"},seconds:{one:"Sekunde",other:"Sekunden"}};default:return{days:{one:"day",other:"days"},hours:{one:"hour",other:"hours"},minutes:{one:"minute",other:"minutes"},seconds:{one:"second",other:"seconds"}}}})(R),k[0]=R,k[1]=t):t=k[1];let N=t,[D,O]=(0,i.useState)(!0),[j,L]=(0,i.useState)(!0),[M,H]=(0,i.useState)(!0);k[2]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{O(g)},k[2]=r):r=k[2],k[3]!==A.seconds?(o=[A.seconds],k[3]=A.seconds,k[4]=o):o=k[4],(0,i.useEffect)(r,o),k[5]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{L(v)},k[5]=s):s=k[5],k[6]!==A.minutes?(l=[A.minutes],k[6]=A.minutes,k[7]=l):l=k[7],(0,i.useEffect)(s,l),k[8]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{H(y)},k[8]=c):c=k[8],k[9]!==A.hours?(d=[A.hours],k[9]=A.hours,k[10]=d):d=k[10],(0,i.useEffect)(c,d);let F=A.days>0,q=F||A.hours>0,B=q||A.minutes>0,U=P&&!F&&A.hours>0||!P&&F,W=P&&!F&&!U&&A.minutes>0||!P&&q,V=P&&!F&&!U&&!W&&A.seconds>0||!P&&B;if(k[11]!==P||k[12]!==R||k[13]!==N.days||k[14]!==N.hours||k[15]!==N.minutes||k[16]!==N.seconds||k[17]!==I||k[18]!==A.days||k[19]!==A.hours||k[20]!==A.minutes||k[21]!==A.seconds){let e=new Intl.PluralRules(R);h=P?N.hours[e.select(A.hours)]:"",f=P?N.minutes[e.select(A.minutes)]:"",m=P?N.seconds[e.select(A.seconds)]:"",b=I?"".concat(N.days[e.select(A.days)]," ").concat(I):N.days[e.select(A.days)],k[11]=P,k[12]=R,k[13]=N.days,k[
114]=N.hours,k[15]=N.minutes,k[16]=N.seconds,k[17]=I,k[18]=A.days,k[19]=A.hours,k[20]=A.minutes,k[21]=A.seconds,k[22]=h,k[23]=f,k[24]=m,k[25]=b}else h=k[22],f=k[23],m=k[24],b=k[25];let G=b;return k[26]!==S||k[27]!==P||k[28]!==G||k[29]!==F||k[30]!==A.days?(x=F&&P&&(0,n.jsx)(p,{animating:S,currentDigit:A.days,label:G,showCursor:!1,shuffle:!1,unit:"days"}),k[26]=S,k[27]=P,k[28]=G,k[29]=F,k[30]=A.days,k[31]=x):x=k[31],k[32]!==S||k[33]!==h||k[34]!==M||k[35]!==P||k[36]!==F||k[37]!==U||k[38]!==A.hours?(T=U&&(0,n.jsx)(p,{animating:S,currentDigit:A.hours,label:h,showCursor:!S&&!P,showPad:F,shuffle:M,unit:"hours"}),k[32]=S,k[33]=h,k[34]=M,k[35]=P,k[36]=F,k[37]=U,k[38]=A.hours,k[39]=T):T=k[39],k[40]!==S||k[41]!==P||k[42]!==f||k[43]!==j||k[44]!==U||k[45]!==W||k[46]!==A.minutes?(E=W&&(0,n.jsx)(p,{animating:S,currentDigit:A.minutes,label:f,showCursor:!S&&!P,showPad:U,shuffle:j,unit:"minutes"}),k[40]=S,k[41]=P,k[42]=f,k[43]=j,k[44]=U,k[45]=W,k[46]=A.minutes,k[47]=E):E=k[47],k[48]!==S||k[49]!==m||k[50]!==D||k[51]!==W||k[52]!==V||k[53]!==A.seconds?(C=V&&(0,n.jsx)(p,{animating:S,currentDigit:A.seconds,label:m,showCursor:!1,showPad:W,shuffle:D,unit:"seconds"}),k[48]=S,k[49]=m,k[50]=D,k[51]=W,k[52]=V,k[53]=A.seconds,k[54]=C):C=k[54],k[55]!==T||k[56]!==E||k[57]!==C||k[58]!==x?(w=(0,n.jsxs)(n.Fragment,{children:[x,T,E,C]}),k[55]=T,k[56]=E,k[57]=C,k[58]=x,k[59]=w):w=k[59],w},m=e=>{let t,r=(0,a.c)(10),{className:i,text:o,endDate:l,size:h,locale:p,animating:m,single:g}=e,v=void 0===h?"large":h,y=void 0===p?"en-GB":p,b=void 0===m||m;if(null===y)throw Error("locale is null");let x=u(l),{isMobile:T}=(0,c._X)();if(r[0]!==b||r[1]!==i||r[2]!==l||r[3]!==T||r[4]!==y||r[5]!==g||r[6]!==v||r[7]!==o||r[8]!==x.total){let e={flipClock:"group flex justify-between w-fit gap-countdown-large-gap",small:"text-countdown-small-font-size leading-countdown-small-line-height",large:"text-countdown-large-font-size leading-countdown-large-line-height",extraLarge:"text-countdown-large-font-size leading-countdown-large-line-height"},a=d(T,v);t=x.total>0&&(0,n.jsxs)("div",{className:s()("flipClock",a,e.flipClock,e[d(T,v)],i),suppressHydrationWarning:!0,children:[(0,n.jsx)("div",{className:"left group flex flex-row group-[.extraLarge_>_div.flex]:px-countdown-left-large-horizontal-padding group-[.large_>_div.flex]:px-countdown-left-large-horizontal-padding group-[.small_>_div.flex]:px-countdown-left-small-horizontal-padding",children:(0,n.jsx)(f,{text:o,animating:b,endDate:l,isFirstCounter:!0,locale:y})}),!g&&(0,n.jsx)("div",{className:"right group flex flex-row rounded-countdown-right-border-radius bg-countdown-right-color empty:hidden group-[.large]:gap-countdown-right-large-gap group-[.small]:gap-countdown-right-small-gap group-[.large]:px-countdown-right-large-horizontal-padding group-[.small]:px-countdown-right-small-horizontal-padding",children:(0,n.jsx)(f,{animating:b,endDate:l,isFirstCounter:!1,locale:y})})]}),r[0]=b,r[1]=i,r[2]=l,r[3]=T,r[4]=y,r[5]=g,r[6]=v,r[7]=o,r[8]=x.total,r[9]=t}else t=r[9];return t};function g(e){return!e}function v(e){return!e}function y(e){return!e}var b=r(11933),x=r(12645);let T=e=>{let t,r,i,o,c=(0,a.c)(14),{className:u,textClassName:d,textPlacement:h,date:p,text:f,countDownTextInsideTimer:g}=e,v=void 0===h?"outside":h,{locale:y}=(0,x.p)();c[0]!==u?(t=s()("group flex items-center justify-center gap-4",u),c[0]=u,c[1]=t):t=c[1];let T=t;c[2]!==p?(r=(0,b.yf)(p.substring(0,10)).add(2,"day").toDate(),c[2]=p,c[3]=r):r=c[3];let E=r;return 1>=(0,b.yf)(E).diff((0,b.yf)(),"day",!0)?null:(c[4]!==g||c[5]!==y||c[6]!==E||c[7]!==f||c[8]!==d||c[9]!==v?(i="inside"===v?(0,n.jsx)(m,{className:"text-center",endDate:E,locale:y,size:"extraLarge",text:f,single:!0,animating:!0}):(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2 md:flex-row",children:[(0,n.jsx)(m,{endDate:E,locale:y,single:!0,animating:!0,text:g,size:"extraLarge"}),(0,n.jsx)(l.o,{className:d,content:f})]}),c[4]=g,c[5]=y,c[6]=E,c[7]=f,c[8]=d,c[9]=v,c[10]=i):i=c[10],c[11]!==T||c[12]!==i?(o=(0,n.jsx)("div",{className:T,children:i}),c[11]=T,c[12]=i,c[13]=o):o=c[13],o)}},39136:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});var n=r(6029),a=r(75155);let i=e=>{let t,r,i,s,l,c,u,d,h,p=(0,a.c)(23),{textContent:f,imageSrcSet:m,imageAlt:g}=e,v=m.default;p[0]!==v?(t={minWidth:1,maxWidth:768,src:v},p[0]=v,p[1]=t):t=p[1],p[2]!==m.md?(r={minWidth:769,maxWidth:1280,src:m.md},p[2]=m.md,p[3]=r):r=p[3],p[4]!==m.xl?(i={minWidth:1281,src:m.xl},p[4]=m.xl,p[5]=i):i=p[5],p[6]!==t||p[7]!==r||p[8]!==i?(s=[t,r,i],p[6]=t,p[7]=r,p[8]=i,p[9]=s):s=p[9];let y=s;return p[10]!==y?(l=y.map(o),p[10]=y,p[11]=l):l=p[11],p[12]!==g||p[13]!==m.default?(c=(0,n.jsx)("img",{srcSet:m.default,alt:g,className:"w-full object-cover",fetchPriority:"high"}),p[12]=g,p[13]=m.default,p[14]=c):c=p[14],p[15]!==l||p[16]!==c?(u=(0,n.jsxs)("picture",{children:[l,c]}),p[15]=l,p[16]=c,p[17]=u):u=p[17],p[18]!==f?(d=f&&(0,n.jsx)("div",{className:"absolute bottom-0 left-0 right-0 grid min-h-40 items-end justify-center bg-gradient-to-t from-[rgba(0,0,0,0.5)]",children:(0,n.jsx)("p",{className:"ds-heading-super w-full px-8 py-6 text-center font-bold !text-ds-white [text-shadow:_0px_2px_4px_rgba(0,0,0,0.6)] sm:p-16 sm:text-[56px]",children:f})}),p[18]=f,p[19]=d):d=p[19],p[20]!==u||p[21]!==d?(h=(0,n.jsxs)("div",{className:"relative col-span-full",children:[u,d]}),p[20]=u,p[21]=d,p[22]=h):h=p[22],h};function o(e){let{minWidth:t,maxWidth:r,src:a}=e;return(0,n.jsx)("source",{media:"(min-width: ".concat(t,"px)").concat(r?" and (max-width: ".concat(r,"px)"):""),srcSet:a},"".concat(a,"_").concat(t))}},39476:(e,t,r)=>{"use strict";r.d(t,{C:()=>p});var n=r(6029),a=r(75155),i=r(11492),o=r(66819),s=r(90800),l=r(41834),c=r(32988),u=r.n(c),d=r(37664),h=r(74746);let p=e=>
1{let t,r,c,p,f,m,g,v,y,b,x,T,E,C,w,k,S,I,P,_,R,A,N,D,O,j,L,M,H,F,q,B,U,W,V,G,z,Y,$,Q=(0,a.c)(97);Q[0]!==e?({title:x,ctaVariant:p,callToAction:c,text:b,label:f,mode:g,wide:T,listFormat:m,styleVariant:y,anchorId:r,analyticsEnabled:t,...v}=e,Q[0]=e,Q[1]=t,Q[2]=r,Q[3]=c,Q[4]=p,Q[5]=f,Q[6]=m,Q[7]=g,Q[8]=v,Q[9]=y,Q[10]=b,Q[11]=x,Q[12]=T):(t=Q[1],r=Q[2],c=Q[3],p=Q[4],f=Q[5],m=Q[6],g=Q[7],v=Q[8],y=Q[9],b=Q[10],x=Q[11],T=Q[12]);let K=void 0===y?"default":y;Q[13]!==t?(E=t?{label:"cta-section"}:void 0,Q[13]=t,Q[14]=E):E=Q[14];let Z=E;Q[15]===Symbol.for("react.memo_cache_sentinel")?(C={"--confetti-left":"url(".concat("/_next/static/media/confetti-left.95a46d5f.png",")"),"--confetti-right":"url(".concat("/_next/static/media/confetti-right.f968cb74.png",")")},Q[15]=C):C=Q[15];let X=C,J="confetti"===K;Q[16]!==J?(w=u()({"bg-no-repeat py-8 [background-position:3%_center,97%_center] [background-size:326px_200px] md:[background-image:var(--confetti-left),var(--confetti-right)]":J}),Q[16]=J,Q[17]=w):w=Q[17],Q[18]!==J?(k=u()("z-10 hidden p-8 md:block",{"mx-auto w-2/3 !border-none !p-4":J}),Q[18]=J,Q[19]=k):k=Q[19],Q[20]!==f||Q[21]!==x?(S=x&&(0,n.jsx)(l.fV8,{className:u()({"pb-4":!f}),children:x}),Q[20]=f,Q[21]=x,Q[22]=S):S=Q[22],Q[23]!==f?(I=f&&(0,n.jsx)(l.JU7,{className:"ml-auto md:ml-2",color:"light-green",label:f}),Q[23]=f,Q[24]=I):I=Q[24],Q[25]!==S||Q[26]!==I?(P=(0,n.jsxs)("div",{className:"flex gap-3",children:[S,I]}),Q[25]=S,Q[26]=I,Q[27]=P):P=Q[27],Q[28]!==g||Q[29]!==b?(_="text"===g&&b&&(0,n.jsx)(l.fzL,{children:b}),Q[28]=g,Q[29]=b,Q[30]=_):_=Q[30],Q[31]!==m||Q[32]!==g||Q[33]!==b?(R="list"===g&&b&&(0,n.jsx)(d.X,{content:b,listFormat:null!=m?m:""}),Q[31]=m,Q[32]=g,Q[33]=b,Q[34]=R):R=Q[34],Q[35]!==R||Q[36]!==_?(A=(0,n.jsxs)("div",{className:"mr-6 w-2/3",children:[_,R]}),Q[35]=R,Q[36]=_,Q[37]=A):A=Q[37];let ee=c.href;Q[38]!==p?(N=(0,i.Z)(p)||"primary",Q[38]=p,Q[39]=N):N=Q[39];let et=!T,er="text"!==g;return Q[40]!==et||Q[41]!==er||Q[42]!==T?(D=u()({"!w-[371px]":T,"!w-[290px]":et,"md:mt-3":er}),Q[40]=et,Q[41]=er,Q[42]=T,Q[43]=D):D=Q[43],Q[44]!==Z?(O={...Z,variant:"desktop"},Q[44]=Z,Q[45]=O):O=Q[45],Q[46]!==c.href||Q[47]!==c.label||Q[48]!==N||Q[49]!==D||Q[50]!==O?(j=(0,n.jsx)(o.Y,{href:ee,variant:N,className:D,analytics:O,children:c.label}),Q[46]=c.href,Q[47]=c.label,Q[48]=N,Q[49]=D,Q[50]=O,Q[51]=j):j=Q[51],Q[52]!==A||Q[53]!==j?(L=(0,n.jsxs)("div",{className:"justify-between md:flex",children:[A,j]}),Q[52]=A,Q[53]=j,Q[54]=L):L=Q[54],Q[55]!==L||Q[56]!==P?(M=(0,n.jsxs)("div",{className:"px-4 md:px-0",children:[P,L]}),Q[55]=L,Q[56]=P,Q[57]=M):M=Q[57],Q[58]!==v||Q[59]!==M||Q[60]!==k?(H=(0,n.jsx)(s.Z,{className:k,...v,children:M}),Q[58]=v,Q[59]=M,Q[60]=k,Q[61]=H):H=Q[61],Q[62]!==f||Q[63]!==x?(F=x&&(0,n.jsx)(l.fV8,{className:u()({"pb-4":!f}),children:x}),Q[62]=f,Q[63]=x,Q[64]=F):F=Q[64],Q[65]!==f?(q=f&&(0,n.jsx)(l.JU7,{className:"ml-auto md:ml-2",color:"light-green",label:f}),Q[65]=f,Q[66]=q):q=Q[66],Q[67]!==F||Q[68]!==q?(B=(0,n.jsxs)("div",{className:"flex gap-3",children:[F,q]}),Q[67]=F,Q[68]=q,Q[69]=B):B=Q[69],Q[70]!==g||Q[71]!==b?(U="text"===g&&b&&(0,n.jsx)(l.fzL,{children:b}),Q[70]=g,Q[71]=b,Q[72]=U):U=Q[72],Q[73]!==m||Q[74]!==g||Q[75]!==b?(W="list"===g&&b&&(0,n.jsx)(d.X,{content:b,listFormat:null!=m?m:""}),Q[73]=m,Q[74]=g,Q[75]=b,Q[76]=W):W=Q[76],Q[77]!==p?(V=(0,i.Z)(p)||"primary",Q[77]=p,Q[78]=V):V=Q[78],Q[79]!==Z?(G={...Z,variant:"mobile"},Q[79]=Z,Q[80]=G):G=Q[80],Q[81]!==c.href||Q[82]!==c.label||Q[83]!==V||Q[84]!==G?(z=(0,n.jsx)(o.Y,{href:c.href,variant:V,className:"mt-4 w-full md:mt-0",analytics:G,children:c.label}),Q[81]=c.href,Q[82]=c.label,Q[83]=V,Q[84]=G,Q[85]=z):z=Q[85],Q[86]!==B||Q[87]!==U||Q[88]!==W||Q[89]!==z?(Y=(0,n.jsxs)("div",{className:"md:hidden",children:[B,U,W,z]}),Q[86]=B,Q[87]=U,Q[88]=W,Q[89]=z,Q[90]=Y):Y=Q[90],Q[91]!==r||Q[92]!==v||Q[93]!==H||Q[94]!==Y||Q[95]!==w?($=(0,n.jsxs)(h.d,{...v,anchorId:r,style:X,className:w,children:[H,Y]}),Q[91]=r,Q[92]=v,Q[93]=H,Q[94]=Y,Q[95]=w,Q[96]=$):$=Q[96],$}},39932:(e,t,r)=>{"use strict";r.d(t,{BM:()=>s,CW:()=>n,Ee:()=>d,HP:()=>u,JQ:()=>o,Ny:()=>f,On:()=>h,cx:()=>i,es:()=>p,lV:()=>a,ok:()=>l,ol:()=>c});let n=m(/[A-Za-z]/),a=m(/[\dA-Za-z]/),i=m(/[#-'*+\--9=?A-Z^-~]/);function o(e){return null!==e&&(e<32||127===e)}let s=m(/\d/),l=m(/[\dA-Fa-f]/),c=m(/[!-/:-@[-`{-~]/);function u(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function h(e){return -2===e||-1===e||32===e}let p=m(/\p{P}|\p{S}/u),f=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},40092:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});let n=(e,t)=>{if(e){if("string"==typeof t)return t;if("string"==typeof(null==t?void 0:t.anchorId))return t.anchorId}}},40275:(e,t,r)=>{"use strict";r.d(t,{Lf:()=>a,Y9:()=>p,k9:()=>i,sY:()=>
1f,ah:()=>l,a7:()=>x,ym:()=>N});var n=r(55729);let a=n.lazy(()=>r.e(2313).then(r.bind(r,92313)).then(e=>({default:e.CustomerServiceModalComponent})));r(74896);let i=n.lazy(()=>r.e(6756).then(r.bind(r,26756)).then(e=>({default:e.MenuPanelComponent})));var o=r(6029),s=r(75155);let l=e=>{let t,r=(0,s.c)(2),{icon:n}=e;return r[0]!==n?(t=(0,o.jsx)("div",{className:"flex h-9 w-9 items-center justify-start rounded-[18px] bg-ds-generic-fill-color-inform p-2 text-fill-action",children:(0,o.jsx)(n,{size:"md"})}),r[0]=n,r[1]=t):t=r[1],t};var c=r(70767),u=r(40846),d=r(12438);let h=n.lazy(()=>r.e(6454).then(r.bind(r,36454)).then(e=>({default:e.StickyCtaComponent}))),p=e=>{let t,r,n,a,i,l,p,f,m,g=(0,s.c)(44),{headerData:v,config:y}=e,{isLoggedIn:b}=y,{topNav:T,logo:E,salesFlowLink:C,myAccountFavouritesLink:w,myAccountIsLoggedInLink:k,myAccountLink:S,isSearchEnabled:I,isNarrow:P,isBurgerMenuOrderLast:_,alwaysShowCta:R,hasStickyCta:A,stickyFooter:D,skipLink:O,TopNavigationMobile:j,isFixed:L,withCta:M}=v,H=void 0===j?N:j;g[0]!==b||g[1]!==k||g[2]!==S?(t=(0,d.s)({isLoggedIn:b,loggedInField:k,loggedOutField:S}),g[0]=b,g[1]=k,g[2]=S,g[3]=t):t=g[3];let F=t;if(g[4]!==C||g[5]!==T){if(r=[],C){var q;let e,t=null!=(q=C.name)?q:"";g[7]!==C.link||g[8]!==t?(e={name:t,link:C.link},g[7]=C.link,g[8]=t,g[9]=e):e=g[9],r.push(e)}(null==T?void 0:T.items)&&r.push(...T.items),g[4]=C,g[5]=T,g[6]=r}else r=g[6];let{isSmaller:B}=(0,u._X)();g[10]!==B?(n=B("md"),g[10]=B,g[11]=n):n=g[11];let U=n,W=(null==D?void 0:D.hideOnDesktop)&&U||!(null==D?void 0:D.hideOnDesktop);return g[12]!==O?(a=O&&(0,o.jsx)(c.q1,{...O}),g[12]=O,g[13]=a):a=g[13],g[14]!==H||g[15]!==y||g[16]!==v||g[17]!==_||g[18]!==P||g[19]!==E?(i=(0,o.jsx)(H,{logo:E,config:y,isNarrow:P,isBurgerMenuOrderLast:_,headerData:v}),g[14]=H,g[15]=y,g[16]=v,g[17]=_,g[18]=P,g[19]=E,g[20]=i):i=g[20],g[21]!==y||g[22]!==L||g[23]!==P||g[24]!==I||g[25]!==E||g[26]!==w||g[27]!==r||g[28]!==F||g[29]!==C||g[30]!==M?(l=(0,o.jsx)(x,{logo:E,items:r,myAccountLink:F,myAccountFavouritesLink:w,isSearchEnabled:I,isNarrow:P,config:y,isFixed:L,withCta:M,salesFlowLink:C}),g[21]=y,g[22]=L,g[23]=P,g[24]=I,g[25]=E,g[26]=w,g[27]=r,g[28]=F,g[29]=C,g[30]=M,g[31]=l):l=g[31],g[32]!==R||g[33]!==A||g[34]!==W||g[35]!==D?(p=A&&D&&W&&(0,o.jsx)(h,{alwaysShowCta:R,stickyFooter:D}),g[32]=R,g[33]=A,g[34]=W,g[35]=D,g[36]=p):p=g[36],g[37]!==i||g[38]!==l||g[39]!==p?(f=(0,o.jsxs)("header",{children:[i,l,p]}),g[37]=i,g[38]=l,g[39]=p,g[40]=f):f=g[40],g[41]!==a||g[42]!==f?(m=(0,o.jsxs)(o.Fragment,{children:[a,f]}),g[41]=a,g[42]=f,g[43]=m):m=g[43],m},f=n.lazy(()=>r.e(3220).then(r.bind(r,53220)).then(e=>({default:e.SearchModalComponent})));var m=r(41834),g=r(32988),v=r.n(g),y=r(50136);let b=e=>{let t,r=(0,s.c)(3),{isLoggedIn:n,breakpoint:a}=e,i="lg"===a?"md":"lg";return r[0]!==n||r[1]!==i?(t=n?(0,o.jsx)(m.Ynd,{size:i,color:"plh-white"}):(0,o.jsx)(m.KYp,{size:i,color:"plh-white"}),r[0]=n,r[1]=i,r[2]=t):t=r[2],t},x=e=>{var t,r;let a,i,l,d,h,p,g,y,x,I,P,_=(0,s.c)(40),{logo:R,items:A,myAccountLink:N,myAccountFavouritesLink:D,isSearchEnabled:O,config:j,isNarrow:L,isFixed:M,salesFlowLink:H,withCta:F}=e,{locale:q,isLoggedIn:B}=j,{breakpoint:U}=(0,u._X)(),[W,V]=(0,n.useState)(null);_[0]!==q?(a=(0,c.D_)(q),_[0]=q,_[1]=a):a=_[1];let G=a,z=(0,c.aP)();_[2]!==(null==z?void 0:z.query)?(i=null==z||null==(t=z.query)?void 0:t.get("slug"),_[2]=null==z?void 0:z.query,_[3]=i):i=_[3];let Y=i,$=(0,m.DPo)();_[4]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{V(null)},_[4]=l):l=_[4],_[5]!==Y?(d=[Y],_[5]=Y,_[6]=d):d=_[6],(0,n.useEffect)(l,d);let{onClick:Q,alt:K,href:Z,src:X}=R,J=K||G.home,ee=$===m.Sxu.FRIENDS_LOTTERY?m.to8:m.JDF,et=L?"narrow":"default";return _[7]!==M?(h=v()(T.navbar,{"!fixed":M}),_[7]=M,_[8]=h):h=_[8],_[9]!==J||_[10]!==Z||_[11]!==Q||_[12]!==X?(p=Q?(0,o.jsx)("button",{onClick:Q,children:(0,o.jsx)("img",{src:X,alt:J,"data-testid":"desktop-logo",className:"h-full w-full"})}):(0,o.jsx)("a",{href:Z||"/",children:(0,o.jsx)("img",{src:X,alt:J,"data-testid":"desktop-logo",className:"h-full w-full"})}),_[9]=J,_[10]=Z,_[11]=Q,_[12]=X,_[13]=p):p=_[13],_[14]!==ee||_[15]!==p?(g=(0,o.jsx)(ee,{children:p}),_[14]=ee,_[15]=p,_[16]=g):g=_[16],_[17]!==A||_[18]!==(null==H?void 0:H.hideLinkOnDesktop)||_[19]!==(null==H?void 0:H.name)?(y=!!(null==A?void 0:A.length)&&(0,o.jsx)(m.ST,{children:A.map(e=>w(e)?(null==H?void 0:H.hideLinkOnDesktop)&&e.name===(null==H?void 0:H.name)?null:(0,o.jsx)(m.$ZR,{testId:e.name===(null==H?void 0:H.name)?"nav-item-start-playing":C("nav-item-".concat(e.name)),children:(0,o.jsx)(m.N_E,{href:e.link,variant:"inverse",children:e.name})},e.name):k(e)?(0,o.jsx)(m.dh6,{title:e.name,testId:C("nav-item-".concat(e.name)),className:"[&_ul]:bg-fill-default",children:e.subMenuItems.map(S)},e.name):null)}),_[17]=A,_[18]=null==H?void 0:H.hideLinkOnDesktop,_[19]=null==H?void 0:H.name,_[20]=y):y=_[20],_[21]!==g||_[22]!==y?(x=(0,o.jsxs)(m.B3R,{children:[g,y]}),_[21]=g,_[22]=y,_[23]=x):x=_[23],_[24]!==U||_[25]!==j||_[26]!==B||_[27]!==O||_[28]!==D||_[29]!==N||_[30]!==G||_[31]!==W||_[32]!==H||_[33]!==F?(I=(O||(null==N?void 0:N.link)||D||F&&(null==H?void 0:H.link))&&(0,o.jsx)(m.B3R,{children:(0,o.jsxs)(m._DU,{accessibleLabel:"Secondary navigation",children:[O&&(0,o.jsxs)(m.VOL,{children:[(0,o.jsxs)(m.N_E,{variant:"inverse",testId:"search",onClick:()=>V("SearchModal"),children:[(0,o.jsx)(E,{}),G.help]}),(0,o.jsx)(n.Suspense,{fallback:null,children:(0,o.jsx)(f,{active:"SearchModal"===W,onClose:()=>V(null),config:j})})]}),D&&(0,o.jsx)(m.VOL,{children:(0,o.jsx)("a",{href:D.link,"aria-label":D.name,children:B?(0,o.jsx)(m.zwu,{size:"lg"}):(0,o.jsx)(m.C3E,{size:"lg"})})}),F&&(null==H?void 0:H.link)&&!H.hideOnMobile&&(0,o.jsx)(m.VOL,{children:(0,o.jsx)(m.$nd,{variant:"primary",size:"sm",href:H.link,analytics:H.withAnalytics?{label:"sales-flow-navigate",variant:"header-nav-cta"}:void 0,children:null!=(r=H.shortName)?r:""})}),(null==N?void 0:N.link)&&(0,o.jsx)(m.VOL,{children:(0,o.jsxs)("a",{href:N.link,"data-testid":"desktop-login ",children:[(0,o.jsx)(b,{breakpoint:U,isLoggedIn:B}),(0,o.jsx)("span",{children:null==N?void 0:N.name})]})})]})}),_[24]=U,_[25]=j,_[26]=B,_[27]=O,_[28]=D,_[29]=N,_[30]=G,_[31]=W,_[32]=H,_[33]=F,_[34]=I):I=_[34],_[35]!==x||_[36]!==I||_[37]!==et||_[38]!==h?(P=(0,o.jsxs)(m.Y9Y,{variant:et,className:h,children:[x,I]}
1),_[35]=x,_[36]=I,_[37]=et,_[38]=h,_[39]=P):P=_[39],P},T={navbar:"absolute z-ds-popup-nav w-full bg-my-account-brand-background h-16 hidden xl:block"},E=e=>{let t,r=(0,s.c)(3),{breakpoint:n}=(0,u._X)(),a="lg"===n?"md":"lg";return r[0]!==e||r[1]!==a?(t=(0,o.jsx)(m.frS,{...e,size:a,className:"-mr-0.5"}),r[0]=e,r[1]=a,r[2]=t):t=r[2],t},C=e=>e.toLowerCase().replace(/\s/g,"-"),w=e=>"link"in e,k=e=>"subMenuItems"in e;function S(e){return(0,o.jsx)(m.Ibg,{testId:C("submenu-item-".concat(e.name)),children:(0,o.jsx)("a",{href:e.link,children:e.iconLabel?(0,o.jsxs)("span",{className:"flex flex-col items-start gap-1",children:[e.name,(0,o.jsx)(y.s,{icon:e.icon,text:e.iconLabel})]}):e.name})},e.name)}let I=e=>{var t,r;let n,a=(0,s.c)(4),{config:l,headerData:c,dockTo:u}=e;if(null==c||null==(r=c.topNav)||null==(t=r.items)?void 0:t.length)return a[0]!==l||a[1]!==u||a[2]!==c?(n=(0,o.jsx)(i,{testId:"mobile-top-menu",dockTo:u,config:l,headerData:c}),a[0]=l,a[1]=u,a[2]=c,a[3]=n):n=a[3],n},P=["vl"],_=e=>{let t,r,n,a,i=(0,s.c)(11),{href:l,ariaLabel:c,isLoggedIn:u,lottery:d}=e;i[0]!==d?(t=P.includes(d),i[0]=d,i[1]=t):t=i[1];let h=!t;return i[2]!==h?(r=v()({"hidden min-[480px]:block":h},"focus-visible:outline-ds-actions-stroke-color-focus-ring"),i[2]=h,i[3]=r):r=i[3],i[4]!==u?(n=(0,o.jsx)("div",{className:"flex justify-between gap-2",children:(0,o.jsx)(b,{isLoggedIn:u})}),i[4]=u,i[5]=n):n=i[5],i[6]!==c||i[7]!==l||i[8]!==r||i[9]!==n?(a=(0,o.jsx)("a",{href:l,"aria-label":c,"data-testid":"login",className:r,children:n}),i[6]=c,i[7]=l,i[8]=r,i[9]=n,i[10]=a):a=i[10],a},R=e=>{let t,r,n=(0,s.c)(8),{href:a,ariaLabel:i,isLoggedIn:l}=e;if(!l){let e;return n[0]!==a?(e=(0,o.jsx)(m.N_E,{href:a,"data-testid":"login",className:"text-white no-underline visited:text-white hover:text-white hover:underline active:text-white",children:"Log in"}),n[0]=a,n[1]=e):e=n[1],e}return n[2]!==l?(t=(0,o.jsx)("div",{className:"flex justify-between gap-2",children:(0,o.jsx)(b,{isLoggedIn:l})}),n[2]=l,n[3]=t):t=n[3],n[4]!==i||n[5]!==a||n[6]!==t?(r=(0,o.jsx)("a",{href:a,"aria-label":i,"data-testid":"login",className:"focus-visible:outline-ds-actions-stroke-color-focus-ring",children:t}),n[4]=i,n[5]=a,n[6]=t,n[7]=r):r=n[7],r},A=e=>{let t,r,n,a=(0,s.c)(6);return a[0]!==e?({children:t,...r}=e,a[0]=e,a[1]=t,a[2]=r):(t=a[1],r=a[2]),a[3]!==t||a[4]!==r?(n=(0,o.jsx)(m.to8,{...r,alignmentBreakpoint:"none",children:t}),a[3]=t,a[4]=r,a[5]=n):n=a[5],n},N=e=>{let t,r,i,l,u,h,p,f,g,y,b,x,T,E,C=(0,s.c)(48),{logo:w,config:k,headerData:S,isNarrow:P,isBurgerMenuOrderLast:N}=e,O=void 0!==N&&N,{locale:j,lottery:L,isLoggedIn:M}=k,{salesFlowLink:H,myAccountLink:F,isTopNavAlwaysVisible:q,myAccountIsLoggedInLink:B,smartBanner:U}=S,W=(0,c.U9)(),[V,G]=(0,n.useState)(!1);C[0]!==j?(t=(0,c.D_)(j),C[0]=j,C[1]=t):t=C[1];let z=t,Y=O?"right":"left";C[2]!==k||C[3]!==S||C[4]!==Y?(r=(0,o.jsx)(I,{config:k,headerData:S,dockTo:Y}),C[2]=k,C[3]=S,C[4]=Y,C[5]=r):r=C[5];let $=r,{onClick:Q,alt:K,href:Z,src:X}=w,J=K||z.home,ee="vl"===L?A:m.JDF,et="ppl"===L,er=null==B?void 0:B.link,en=null==F?void 0:F.link;C[6]!==M||C[7]!==er||C[8]!==en?(i=(0,d.s)({isLoggedIn:M,loggedInField:er,loggedOutField:en}),C[6]=M,C[7]=er,C[8]=en,C[9]=i):i=C[9];let ea=i,ei=!q&&W;C[10]!==ei?(l=v()(D.smartBannerWrapper,{[D.hiddenSmartBannerWrapper]:ei}),C[10]=ei,C[11]=l):l=C[11];let eo=P?"narrow":"default",es=!O&&$;if(C[12]!==J||C[13]!==Z||C[14]!==Q||C[15]!==X?(u=Q?(0,o.jsx)("button",{onClick:Q,children:(0,o.jsx)("img",{className:"h-full w-full",src:X,alt:J,"data-testid":"mobile-logo"})}):(0,o.jsx)("a",{href:Z||"/",children:(0,o.jsx)("img",{className:"h-full w-full",src:X,alt:J,"data-testid":"mobile-logo"})}),C[12]=J,C[13]=Z,C[14]=Q,C[15]=X,C[16]=u):u=C[16],C[17]!==ee||C[18]!==u?(h=(0,o.jsx)(ee,{children:u}),C[17]=ee,C[18]=u,C[19]=h):h=C[19],C[20]!==es||C[21]!==h?(p=(0,o.jsxs)(m.B3R,{children:[es,h]}),C[20]=es,C[21]=h,C[22]=p):p=C[22],C[23]!==M||C[24]!==et||C[25]!==L||C[26]!==z||C[27]!==ea||C[28]!==H){var el;f=(H||ea)&&(0,o.jsxs)(m._DU,{accessibleLabel:"Secondary navigation",className:"ml-auto gap-3",children:[(null==H?void 0:H.link)&&!H.hideOnMobile&&(0,o.jsx)(m.VOL,{children:(0,o.jsx)(m.$nd,{variant:"primary",href:H.link,size:"sm",children:null!=(el=H.shortName)?el:""})}),ea&&(0,o.jsx)(m.VOL,{children:et?(0,o.jsx)(R,{href:ea,ariaLabel:z.login,isLoggedIn:M}):(0,o.jsx)(_,{href:ea,ariaLabel:z.login,isLoggedIn:M,lottery:L})})]}
1),C[23]=M,C[24]=et,C[25]=L,C[26]=z,C[27]=ea,C[28]=H,C[29]=f}else f=C[29];let ec=O&&$;return C[30]!==f||C[31]!==ec?(g=(0,o.jsxs)(m.B3R,{children:[f,ec]}),C[30]=f,C[31]=ec,C[32]=g):g=C[32],C[33]!==eo||C[34]!==p||C[35]!==g?(y=(0,o.jsxs)(m.Y9Y,{variant:eo,className:D.navbar,children:[p,g]}),C[33]=eo,C[34]=p,C[35]=g,C[36]=y):y=C[36],C[37]!==U||C[38]!==l||C[39]!==y?(b=(0,o.jsxs)("div",{className:l,children:[U,y]}),C[37]=U,C[38]=l,C[39]=y,C[40]=b):b=C[40],C[41]===Symbol.for("react.memo_cache_sentinel")?(x=()=>G(!1),C[41]=x):x=C[41],C[42]!==j||C[43]!==V?(T=(0,o.jsx)(a,{active:V,onClose:x,locale:j}),C[42]=j,C[43]=V,C[44]=T):T=C[44],C[45]!==b||C[46]!==T?(E=(0,o.jsxs)(o.Fragment,{children:[b,T]}),C[45]=b,C[46]=T,C[47]=E):E=C[47],E},D={navbar:"w-full bg-my-account-brand-background",smartBannerWrapper:"fixed z-ds-popup-nav w-full xl:hidden",hiddenSmartBannerWrapper:"z-0 -translate-y-full transition-all duration-300 ease-in-out mt-[-48px]"}},40439:(e,t,r)=>{"use strict";r.d(t,{AM:()=>d,AV:()=>u,Lk:()=>p,WG:()=>c,ii:()=>a,kI:()=>i,om:()=>h,uo:()=>n,vY:()=>s});let n=async e=>{let t=await fetch(e);if(!t.ok)throw Error(await t.text());return t.json()},a=e=>{let t=e.endsWith("/")?e.slice(0,-1):e;return"/api/breadcrumbs?".concat(new URLSearchParams({pathName:t}))},i=e=>{let t=e.toLowerCase();return["dv"].includes(t)||t.startsWith("groupwebsite")},o=e=>"vipkaart"===e.toLowerCase()?"VIP-KAART":e.charAt(0).toUpperCase()+e.slice(1).replace(/-/g," "),s=e=>{let t=(e||"").split("/").filter(e=>e),r=[];for(let[e,n]of t.entries()){let a="/"+t.slice(0,e+1).join("/");r.push({label:o(n),href:a})}return r},l=e=>e.replace(/\w\S*/g,e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).replace(/faq/gi,"FAQ"),c=(e,t,r)=>{let n=e.toLowerCase(),a=r&&r[n]?r[n]:e;return t?l(a):a},u=e=>{let{homeLabel:t,pathItems:r,currentLinkLabel:n,shouldTitleCase:a,customLabelMappings:i}=e,o="Sonntagsgewinne"===n||"Tagesgewinne"===n?r.length-3:r.length-1;return[...t?[{label:t,href:"/"}]:[],...r.slice(0,o)].map(e=>({...e,label:c(e.label,a,i)}))},d=(e,t)=>e?t?l(e):e:"",h=e=>e.endsWith(" FAQ")?e.slice(0,-4):e,p=(e,t)=>!!t||e>1},40814:(e,t,r)=>{"use strict";var n=r(2212),a=r(80071),i=r(1788),o=r(23368),s=r(62476),l=r(3328),c=r(14882),u=r(656),d=i.escapeFacetValue,h=i.unescapeFacetValue,p=r(19736);function f(e){var t={};return e.forEach(function(e,r){t[e]=r}),t}function m(e,t,r){t&&t[r]&&(e.stats=t[r])}function g(e,t,r){var i=t[0]||{};this._rawResults=t;var l=this;
1Object.keys(i).forEach(function(e){l[e]=i[e]});var u=a(r,{persistHierarchicalRootCount:!1});Object.keys(u).forEach(function(e){l[e]=u[e]}),this.processingTimeMS=t.reduce(function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map(function(){return[]}),this.facets=[];var d=e.getRefinedDisjunctiveFacets(),g=f(e.facets),v=f(e.disjunctiveFacets),y=1,b=i.facets||{};Object.keys(b).forEach(function(t){var r=b[t],n=(u=e.hierarchicalFacets,o(u,function(e){return(e.attributes||[]).indexOf(t)>-1}));if(n){var a=n.attributes.indexOf(t),c=s(e.hierarchicalFacets,function(e){return e.name===n.name});l.hierarchicalFacets[c][a]={attribute:t,data:r,exhaustive:i.exhaustiveFacetsCount}}else{var u,d,h=-1!==e.disjunctiveFacets.indexOf(t),p=-1!==e.facets.indexOf(t);h&&(d=v[t],l.disjunctiveFacets[d]={name:t,data:r,exhaustive:i.exhaustiveFacetsCount},m(l.disjunctiveFacets[d],i.facets_stats,t)),p&&(d=g[t],l.facets[d]={name:t,data:r,exhaustive:i.exhaustiveFacetsCount},m(l.facets[d],i.facets_stats,t))}}),this.hierarchicalFacets=n(this.hierarchicalFacets),d.forEach(function(r){var n=t[y],o=n&&n.facets?n.facets:{},u=e.getHierarchicalFacetByName(r);Object.keys(o).forEach(function(t){var r,d=o[t];if(u){r=s(e.hierarchicalFacets,function(e){return e.name===u.name});var p=s(l.hierarchicalFacets[r],function(e){return e.attribute===t});if(-1===p)return;l.hierarchicalFacets[r][p].data=l.persistHierarchicalRootCount?c(l.hierarchicalFacets[r][p].data,d):a(d,l.hierarchicalFacets[r][p].data)}else{r=v[t];var f=i.facets&&i.facets[t]||{};l.disjunctiveFacets[r]={name:t,data:c(f,d),exhaustive:n.exhaustiveFacetsCount},m(l.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(n){!l.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(h(n))>-1&&(l.disjunctiveFacets[r].data[n]=0)})}}),y++}),e.getRefinedHierarchicalFacets().forEach(function(r){var n=e.getHierarchicalFacetByName(r),i=e._getHierarchicalFacetSeparator(n),o=e.getHierarchicalRefinement(r);0===o.length||o[0].split(i).length<2||t.slice(y).forEach(function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach(function(t){var c=r[t],u=s(e.hierarchicalFacets,function(e){return e.name===n.name}),d=s(l.hierarchicalFacets[u],function(e){return e.attribute===t});if(-1!==d){var h={};if(o.length>0&&!l.persistHierarchicalRootCount){var p=o[0].split(i)[0];h[p]=l.hierarchicalFacets[u][d].data[p]}l.hierarchicalFacets[u][d].data=a(h,c,l.hierarchicalFacets[u][d].data)}}),y++})}),Object.keys(e.facetsExcludes).forEach(function(t){var r=e.facetsExcludes[t],n=g[t];l.facets[n]={name:t,data:b[t],exhaustive:i.exhaustiveFacetsCount},r.forEach(function(e){l.facets[n]=l.facets[n]||{name:t},l.facets[n].data=l.facets[n].data||{},l.facets[n].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(p(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function v(e,t){var r=o(e,function(e){return e.name===t});return r&&r.stats}function y(e,t,r,n,a){var i=o(a,function(e){return e.name===r}),s=i&&i.data&&i.data[n]?i.data[n]:0;return{type:t,attributeName:r,name:n,count:s,exhaustive:i&&i.exhaustive||!1}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return o(this.facets,t)||o(this.disjunctiveFacets,t)||o(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var r,n=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=o(e.facets,r);return n?Object.keys(n.data).map(function(r){var a=d(r);return{name:r,escapedValue:a,count:n.data[r],isRefined:e._state.isFacetRefined(t,a),isExcluded:e._state.isExcludeRefined(t,r)}}):[]}if(e._state.isDisjunctiveFacet(t)){var a=o(e.disjunctiveFacets,r);return a?Object.keys(a.data).map(function(r){var n=d(r);return{name:r,escapedValue:n,count:a.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}}):[]}if(e._state.isHierarchicalFacet(t)){var i=o(e.hierarchicalFacets,r);if(!i)return i;var s=e._state.getHierarchicalFacetByName(t),l=e._state._getHierarchicalFacetSeparator(s),c=h(e._state.getHierarchicalRefinement(t)[0]||"");0===c.indexOf(s.rootPath)&&(c=c.replace(s.rootPath+l,""));var u=c.split(l);return u.unshift(t),function e(t,r,n){t.isRefined=t.name===(r[n]&&r[n].trim()),t.data&&t.data.forEach(function(t){e(t,r,n+1)})}(i,u,0),i}}(this,e);if(n){var i=a(t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return r=Array.isArray(n)?[e]:s._state.getHierarchicalFacetByName(n.name).attributes,function e(t,r,n,i){if(i=i||0,Array.isArray(r))return t(r,n[i]);if(!r.data||0===r.data.length)return r;var o=r.data.map(function(r){return e(t,r,n,i+1)});return a({data:t(o,n[i])},r)}(function(e,t){var r,n,a,o,c,d,h,p=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(i.facetOrdering&&p)return n=[],a=[],o=p.hide||[],c=(p.order||[]).reduce(function(e,t,r){return e[t]=r,e},{}),e.forEach(function(e){var t=e.path||e.name,r=o.indexOf(t)>-1;r||void 0===c[t]?r||a.push(e):n[c[t]]=e}),n=n.filter(function(e){return e}),"hidden"===(d=p.sortRemainingBy)?n:(r="alpha"===d?[["path","name"],["asc","asc"]]:[["count"],["desc"]],n.concat(u(a,r[0],r[1])));if(Array.isArray(i.sortBy)){var f=l(i.sortBy,g.DEFAULT_SORT),m=u(e,f[0],f[1]),v=p&&p.hide?p.hide:[];if(v.length>0){var y=[];return m.forEach(function(e){var t=e.path||e.name;-1===v.indexOf(t)&&y.push(e)}),y}return m}if("function"==typeof i.sortBy)return h=i.sortBy,e.sort(h);throw Error("options.sortBy is optional but if defined it must be either an array of str
1ing (predicates) or a sorting function")},n,r)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?v(this.facets,e):this._state.isDisjunctiveFacet(e)?v(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach(function(n){e.facetsRefinements[n].forEach(function(a){r.push(y(e,"facet",n,a,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(n){e.facetsExcludes[n].forEach(function(a){r.push(y(e,"exclude",n,a,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(n){e.disjunctiveFacetsRefinements[n].forEach(function(a){r.push(y(e,"disjunctive",n,a,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(n){e.hierarchicalFacetsRefinements[n].forEach(function(a){var i,s,l,c,u,d,h,p,f,m,g;r.push((i=e,s=n,l=a,c=t.hierarchicalFacets,u=i.getHierarchicalFacetByName(s),d=i._getHierarchicalFacetSeparator(u),h=l.split(d),p=o(c,function(e){return e.name===s}),m=(f=h.reduce(function(e,t){var r=e&&o(e.data,function(e){return e.name===t});return void 0!==r?r:e},p))&&f.count||0,g=f&&f.exhaustive||!1,{type:"hierarchical",attributeName:s,name:f&&f.path||"",count:m,exhaustive:g}))})}),Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t];Object.keys(n).forEach(function(e){n[e].forEach(function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})})})}),e.tagRefinements.forEach(function(e){r.push({type:"tag",attributeName:"_tags",name:e})}),r},e.exports=g},40846:(e,t,r)=>{"use strict";r.d(t,{U9:()=>i,aP:()=>o,Fc:()=>s,_X:()=>u});var n=r(75155),a=r(55729);let i=()=>{let e,t,r=(0,n.c)(2),[i,o]=(0,a.useState)(!1),s=(0,a.useRef)(0),l=(0,a.useRef)(null),c=(0,a.useRef)(null);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=()=>{if(!c.current){if(window.scrollY<64)return void o(!1);c.current=window.setTimeout(()=>{let e=Math.max(0,window.scrollY),t=e>s.current,r=t?"down":"up";Math.abs(e-s.current)>10&&r===l.current&&(t&&e>64?o(!0):t||o(!1)),l.current=r,s.current=e,c.current=null},100)}};return document.addEventListener("scroll",e,{passive:!0}),()=>{document.removeEventListener("scroll",e),c.current&&clearTimeout(c.current)}},t=[],r[0]=e,r[1]=t):(e=r[0],t=r[1]),(0,a.useEffect)(e,t),i},o=()=>({path:window.location.pathname,query:new URLSearchParams(window.location.search)}),s=(e,t)=>{let r,i,o,s,l=(0,n.c)(10);l[0]!==e?(r=void 0===e?[]:e,l[0]=e,l[1]=r):r=l[1];let c=r,[u,d]=(0,a.useState)(!!t);return l[2]!==t||l[3]!==c?(i=()=>{if(t)return void d(!0);let e=null;for(let t of c)if(e=document.querySelector(".".concat(t)))break;if(!e)return void d(!0);let r=new IntersectionObserver(e=>{let[t]=e;d(!t.isIntersecting)},{threshold:0});return r.observe(e),()=>{r.disconnect()}},l[2]=t,l[3]=c,l[4]=i):i=l[4],l[5]!==c?(o=c.join(","),l[5]=c,l[6]=o):o=l[6],l[7]!==t||l[8]!==o?(s=[o,t],l[7]=t,l[8]=o,l[9]=s):s=l[9],(0,a.useEffect)(i,s),u},l={xs:480,sm:640,md:768,lg:1024,xl:1280,"2xl":1440,"3xl":1920},c=Object.entries(l),u=()=>{let e,t,r,i,o,s,u,d,h=(0,n.c)(14),[p,f]=(0,a.useState)("xs"),[m,g]=(0,a.useState)(0),v=(0,a.useRef)(void 0);h[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=window.innerWidth;f((e=>{let[t]=c.find(t=>{let[,r]=t;return e<r})||c[c.length-1];return t})(e)),g(e)},h[0]=e):e=h[0];let y=e;h[1]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{clearTimeout(v.current),v.current=setTimeout(y,100)},h[1]=t):t=h[1];let b=t;h[2]===Symbol.for("react.memo_cache_sentinel")?(r=()=>(y(),window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}),i=[b],h[2]=r,h[3]=i):(r=h[2],i=h[3]),(0,a.useEffect)(r,i),h[4]===Symbol.for("react.memo_cache_sentinel")?(o=["xs","sm"],h[4]=o):o=h[4];let x=o.includes(p);if(h[5]!==m)s=e=>m>=l[e],h[5]=m,h[6]=s;else s=h[6];if(h[7]!==m)u=e=>m<l[e],h[7]=m,h[8]=u;else u=h[8];return h[9]!==p||h[10]!==x||h[11]!==s||h[12]!==u?(d={breakpoint:p,isMobile:x,isGreaterOrEqual:s,isSmaller:u},h[9]=p,h[10]=x,h[11]=s,h[12]=u,h[13]=d):d=h[13],d}},41167:e=>{"use strict";e.exports=Math.round},41605:e=>{"use strict";e.exports=Math.pow},41822:(e,t,r)=>{"use strict";var n=r(80071),a=r(23368),i=r(90590),o=r(12853),s=r(48444),l=r(89298),c=r(74934),u=r(49501),d=r(66311);function h(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,r){return h(t[r],e)}):e===t}function p(e){var t=e?p._parseNumbers(e):{};void 0===t.userToken||u(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invali
1d. This can lead to wrong analytics.\n  - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach(function(e){var n=-1!==p.PARAMETERS.indexOf(e),a=void 0!==t[e];!n&&a&&(r[e]=t[e])})}function f(e){var t=parseFloat(e);return isFinite(t)?t:null}p.PARAMETERS=Object.keys(new p),p._parseNumbers=function(e){if(e instanceof p)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(r){var n=e[r];if("string"==typeof n){var a=parseFloat(n);isNaN(a)?t[r]=n:isFinite(a)?t[r]=a:t[r]=null}else"number"!=typeof n||isFinite(n)||(t[r]=null)}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null}):e})),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach(function(e){var a=n[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null}):"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null});r[t][e]=a})}),t.numericRefinements=r}return o(e,t)},p.make=function(e){var t=new p(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},p.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&s(r.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&r.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},p.prototype={constructor:p,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:d.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:d.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:d.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:d.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var n=c(r);if(this.isNumericRefined(e,t,n))return this;var a=o({},this.numericRefinements);return a[e]=o({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(n)):a[e][t]=[n],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,a){return a===e&&n.op===t&&h(n.val,c(r))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,n){return n===e&&r.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,r){return r===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return l(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce(function(n,a){var i=r[a],o={};return Object.keys(i=i||{}
vendor: 8,277 bytes, line 1
1).forEach(function(r){var n=i[r]||[],s=[];n.forEach(function(t){e({val:t,op:r},a,"numeric")||s.push(t)}),s.length!==n.length&&(t=!0),o[r]=s}),n[a]=o,n},{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:d.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:d.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return d.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:d.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:d.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:d.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return d.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:d.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:d.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:d.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:d.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),a={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?a[e]=[]:a[e]=[t.slice(0,t.lastIndexOf(r))]:a[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(a,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:n(t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&d.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&d.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&d.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n,i=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!i)return i;var o=c(r),s=void 0!==(n=this.numericRefinements[e][t],a(n,function(e){return h(e,o)}));return i&&s},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=i(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return i(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;
1return Object.keys(this).forEach(function(n){var a=r[n];-1===e.indexOf(n)&&void 0!==a&&(t[n]=a)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=p.validate(this,e);if(t)throw t;var r=this,n=p._parseNumbers(e),a=Object.keys(this).reduce(function(e,t){return e[t]=r[t],e},{}),i=Object.keys(n).reduce(function(e,t){var r=void 0!==e[t],a=void 0!==n[t];return r&&!a?l(e,[t]):(a&&(e[t]=n[t]),e)},a);return new this.constructor(i)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return a(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=p},41834:(e,t,r)=>{"use strict";let n,a;r.d(t,{nD3:()=>K,eqn:()=>vr,t5o:()=>ya,V2N:()=>yi,zbF:()=>yo,Exy:()=>ee,dE3:()=>yv,hqv:()=>yd,QpV:()=>ep,m_y:()=>yL,$nd:()=>eb,A0M:()=>d3,iDK:()=>yX,ZpM:()=>o$,bwi:()=>eI,wLy:()=>eP,VoS:()=>oG,ZBx:()=>oe,PWg:()=>yf,C1y:()=>yC,Srz:()=>oX,lnm:()=>yw,Sc0:()=>o2,D3D:()=>$,YJP:()=>ec,vKP:()=>ed,Mtm:()=>yn,O4:()=>yJ,X8T:()=>y1,_gV:()=>yy,hfe:()=>yb,D3S:()=>U,UrA:()=>v4,ivS:()=>v8,LDj:()=>yK,cGx:()=>sJ,fQo:()=>yk,u88:()=>y0,ZzN:()=>yM,PX$:()=>yx,I9o:()=>yW,Y9Y:()=>f3,B3R:()=>f4,JDF:()=>f8,to8:()=>f6,ebS:()=>me,_aR:()=>v6,fV8:()=>v9,_B7:()=>vV,f_e:()=>v7,mMs:()=>ye,OUT:()=>yt,w58:()=>yz,zwu:()=>ym,RNm:()=>yS,C3E:()=>yI,lqD:()=>gX,QEv:()=>gd,Vr3:()=>yP,z55:()=>g4,eeW:()=>vn,FON:()=>hj,l1Y:()=>hq,XgC:()=>hM,PkS:()=>hH,I$x:()=>hF,xWo:()=>yH,JU7:()=>g2,mTK:()=>yY,N_E:()=>g5,hII:()=>q,$1Q:()=>yF,H5m:()=>y_,hTi:()=>v,Fod:()=>yR,ru2:()=>yA,khQ:()=>ys,Xpy:()=>yl,uWp:()=>yV,ydX:()=>oV,bFK:()=>g8,Ap7:()=>yc,aFV:()=>sl,cwr:()=>st,jlY:()=>sr,wto:()=>si,Eg0:()=>vu,Kxk:()=>ve,AOD:()=>vi,Kkm:()=>vo,Zkm:()=>sy,l_d:()=>sd,WHF:()=>sh,V3v:()=>sp,Ash:()=>mr,xuO:()=>mh,oEH:()=>mp,X$H:()=>mf,n3k:()=>mm,GNW:()=>mg,xwu:()=>sf,fzL:()=>g9,CSW:()=>oo,NKo:()=>y$,kKJ:()=>yu,AD3:()=>vT,DWr:()=>oi,AfY:()=>yN,ST:()=>m9,dh6:()=>gt,Ibg:()=>gs,$ZR:()=>gl,EQC:()=>s2,wF7:()=>oa,Clc:()=>yT,frS:()=>yD,_DU:()=>gc,VOL:()=>gu,l6P:()=>fJ,g05:()=>vC,AU2:()=>yO,UN7:()=>yQ,bXL:()=>yE,JRC:()=>vS,rrI:()=>vI,y$y:()=>v_,Liv:()=>vD,Lue:()=>vO,S_V:()=>vU,TMd:()=>vM,x_k:()=>vW,B7q:()=>vG,rCF:()=>yZ,OHR:()=>yr,ksK:()=>lt,Sxu:()=>y,fGs:()=>yG,V4t:()=>yq,tEY:()=>v0,ZQw:()=>yp,KYp:()=>y2,Ynd:()=>y3,tCF:()=>y5,CeX:()=>oB,NwZ:()=>oq,sB5:()=>yg,zhk:()=>yh,qhh:()=>yj,$Xg:()=>o9,vjv:()=>yB,S8e:()=>yU,Ci8:()=>sa,DPo:()=>W,djX:()=>v3});var i,o,s,l,c,u,d,h,p,f,m,g,v,y,b,x,T,E,C=r(6029),w=r(32988),k=r(55729),S=r.t(k,2);let I=e=>e.replace(/[^\w\s-]/g,"").replace(/([a-z])([A-Z])/g,"$1-$2").trim().replace(/\s+/g,"-").replace(/-+$/g,"").toLowerCase(),P=(e,t,{label:r,variant:n}={})=>e?{"data-design-system-component":t?`${I(e)}-${I(t)}`:I(e),...r&&{"data-analytics-label":I(r)},...r&&n&&{"data-analytics-variant":I(n)}}:{};(i=v||(v={})).EN_GB="en-GB",i.NL_NL="nl-NL",i.DE_DE="de-DE",i.SV_SE="sv-SE",i.NO_NO="no-NO",i.EN_CA="en-CA",i.FR_CA="fr-CA",(o=y||(y={})).FRIENDS_LOTTERY="VriendenLoterij",o.POSTCODE_LOTTERY="Postcode Lottery",o.POSTCODE_LOTTERY_HEARTS="Postcode Lottery New";var _=r(74312),R=r(74060);_.extend(R);let A=["DD.MM.YYYY","D.MM.YYYY","DD.M.YYYY","D.M.YYYY","DD.MM.YY","D.MM.YY","DD.M.YY","D.M.YY","DDMMYYYY","DDMMYY","DDMM","YYYY","DD.MM","D.MM","DD.M","D.M"],N=["YYYY-MM-DD","YYYY-MM-D","YYYY-M-DD","YYYY-M-D","YYYYMMDD","YYYYMMD","YYYY-MM","YYYY-M","YYYY"],D={[v.EN_GB]:["DD/MM/YYYY","D/MM/YYYY","DD/M/YYYY","D/M/YYYY","DD/MM/YY","D/MM/YY","DD/M/YY","D/M/YY","DDMMYYYY","DDMMYY","DDMM","YYYY","DD/MM","D/MM","DD/M","D/M"],[v.NL_NL]:["DD-MM-YYYY","D-MM-YYYY","DD-M-YYYY","D-M-YYYY","DD-MM-YY","D-MM-YY","DD-M-YY","D-M-YY","DDMMYYYY","DDMMYY","DDMM","YYYY","DD-MM","D-MM","DD-M","D-M"],[v.DE_DE]:A,[v.SV_SE]:N,[v.NO_NO]:A,[v.EN_CA]:N,[v.FR_CA]:N},O=["DD.MM.YYYY","D.MM.YYYY","DD.M.YYYY","D.M.YYYY"],j=["YYYY-MM-DD","YYYY-MM-D","YYYY-M-DD","YYYY-M-D"],L={[v.EN_GB]:["DD/MM/YYYY","D/MM/YYYY","DD/M/YYYY","D/M/YYYY"],[v.NL_NL]:["DD-MM-YYYY","D-MM-YYYY","DD-M-YYYY","D-M-YYYY"],[v.DE_DE]:O,[v.SV_SE]:j,[v.NO_NO]:O,[v.EN_CA]:j,[v.FR_CA]:j},M=(e,{allowPartial:t}={allowPartial:!1})=>r=>
1{let n=_(r,t?D[e]:L[e],!0);if(n.isValid())return n.format("YYYY-MM-DD");throw TypeError(`${r} is not a valid date for locale ${e}. Please ensure it is a real date and matches one of these formats: ${D[e].join(", ")}`)},H={"pl-white-28pc":"var(--postcode-lottery-colors-white-28-percent)","pl-white":"var(--postcode-lottery-colors-white)","pl-black-8pc":"var(--postcode-lottery-colors-black-8-percent)","pl-black-16pc":"var(--postcode-lottery-colors-black-16-percent)","pl-black-20pc":"var(--postcode-lottery-colors-black-20-percent)","pl-black-60pc":"var(--postcode-lottery-colors-black-60-percent)","pl-black":"var(--postcode-lottery-colors-black)","pl-gray-95":"var(--postcode-lottery-colors-gray-95)","pl-gray-90":"var(--postcode-lottery-colors-gray-90)","pl-gray-78":"var(--postcode-lottery-colors-gray-78)","pl-gray-67":"var(--postcode-lottery-colors-gray-67)","pl-gray-58":"var(--postcode-lottery-colors-gray-58)","pl-gray-48":"var(--postcode-lottery-colors-gray-48)","pl-gray-43":"var(--postcode-lottery-colors-gray-43)","pl-gray-31":"var(--postcode-lottery-colors-gray-31)","pl-gray-20":"var(--postcode-lottery-colors-gray-20)","pl-gray-7":"var(--postcode-lottery-colors-gray-7)","pl-red-100":"var(--postcode-lottery-colors-red-100)","pl-red-500":"var(--postcode-lottery-colors-red-500)","pl-red-600":"var(--postcode-lottery-colors-red-600)","pl-red-800":"var(--postcode-lottery-colors-red-800)","pl-green-200":"var(--postcode-lottery-colors-green-200)","pl-green-500":"var(--postcode-lottery-colors-green-500)","pl-green-550":"var(--postcode-lottery-colors-green-550)","pl-green-600":"var(--postcode-lottery-colors-green-600)","pl-green-700":"var(--postcode-lottery-colors-green-700)","pl-green-800":"var(--postcode-lottery-colors-green-800)","pl-blue-100":"var(--postcode-lottery-colors-blue-100)","pl-blue-200":"var(--postcode-lottery-colors-blue-200)","pl-blue-600":"var(--postcode-lottery-colors-blue-600)","pl-blue-700":"var(--postcode-lottery-colors-blue-700)","pl-yellow-100":"var(--postcode-lottery-colors-yellow-100)","pl-yellow-500":"var(--postcode-lottery-colors-yellow-500)","pl-yellow-600":"var(--postcode-lottery-colors-yellow-600)","pl-yellow-900":"var(--postcode-lottery-colors-yellow-900)","pl-orange-100":"var(--postcode-lottery-colors-orange-100)","pl-orange-300":"var(--postcode-lottery-colors-orange-300)","pl-orange-500":"var(--postcode-lottery-colors-orange-500)"},F={"plh-white-28pc":"var(--postcode-lottery-new-colors-white-28-percent)","plh-white":"var(--postcode-lottery-new-colors-white)","plh-black-8pc":"var(--postcode-lottery-new-colors-black-8-percent)","plh-black-16pc":"var(--postcode-lottery-new-colors-black-16-percent)","plh-black-20pc":"var(--postcode-lottery-new-colors-black-20-percent)","plh-black-60pc":"var(--postcode-lottery-new-colors-black-60-percent)","plh-black":"var(--postcode-lottery-new-colors-black)","plh-gray-95":"var(--postcode-lottery-new-colors-gray-95)","plh-gray-90":"var(--postcode-lottery-new-colors-gray-90)","plh-gray-78":"var(--postcode-lottery-new-colors-gray-78)","plh-gray-67":"var(--postcode-lottery-new-colors-gray-67)","plh-gray-58":"var(--postcode-lottery-new-colors-gray-58)","plh-gray-48":"var(--postcode-lottery-new-colors-gray-48)","plh-gray-43":"var(--postcode-lottery-new-colors-gray-43)","plh-gray-31":"var(--postcode-lottery-new-colors-gray-31)","plh-gray-7":"var(--postcode-lottery-new-colors-gray-7)","plh-red-50":"var(--postcode-lottery-new-colors-red-50)","plh-red-500":"var(--postcode-lottery-new-colors-red-500)","plh-red-700":"var(--postcode-lottery-new-colors-red-700)","plh-red-900":"var(--postcode-lottery-new-colors-red-900)","plh-green-50":"var(--postcode-lottery-new-colors-green-50)","plh-green-300":"var(--postcode-lottery-new-colors-green-300)","plh-green-500":"var(--postcode-lottery-new-colors-green-500)","plh-green-700":"var(--postcode-lottery-new-colors-green-700)","plh-green-900":"var(--postcode-lottery-new-colors-green-900)","plh-blue-50":"var(--postcode-lottery-new-colors-blue-50)","plh-blue-300":"var(--postcode-lottery-new-colors-blue-300)","plh-blue-500":"var(--postcode-lottery-new-colors-blue-500)","plh-blue-700":"var(--postcode-lottery-new-colors-blue-700)","plh-blue-900":"var(--postcode-lottery-new-colors-blue-900)","plh-yellow-100":"var(--postcode-lottery-new-colors-yellow-100)","plh-yellow-700":"var(--postcode-lottery-new-colors-yellow-700)","plh-orange-50":"var(--postcode-lottery-new-colors-orange-50)","plh-orange-300":"var(--postcode-lottery-new-colors-orange-300)","plh-orange-500":"var(--postcode-lottery-new-colors-orange-500)","plh-orange-700":"var(--postcode-lottery-new-colors-orange-700)"},q=(0,k.forwardRef)(({children:e,href:t,target:r,className:n,style:a,testId:i="LinkRender",dataPlgType:o="link",...s},l)=>(0,C.jsx)("a",{ref:l,href:t,target:r,className:n,style:a,"data-testid":i,"data-plg-type":o,...s,children:e})),B=(0,k.createContext)({locale:v.EN_GB,theme:y.POSTCODE_LOTTERY,linkRender:q}),U=({children:e,locale:t=v.EN_GB,theme:r=y.POSTCODE_LOTTERY,linkRender:n=q})=>(0,C.jsx)(B.Provider,{value:{locale:t,theme:r,linkRender:n},children:e}),W=()=>{let{theme:e}=(0,k.useContext)(B);return e},V={[y.POSTCODE_LOTTERY]:H,[y.POSTCODE_LOTTERY_HEARTS]:F,[y.FRIENDS_LOTTERY]:{"vl-white-28pc":"var(--friends-lottery-colors-white-28-percent)","vl-white":"var(--friends-lottery-colors-white)","vl-black-8pc":"var(--friends-lottery-colors-black-8-percent)","vl-black-16pc":"var(--friends-lottery-colors-black-16-percent)","vl-black-20pc":"var(--friends-lottery-colors-black-20-percent)","vl-black-60pc":"var(--friends-lottery-colors-black-60-percent)","vl-black":"var(--friends-lottery-colors-black)","vl-gray-95":"var(--friends-lottery-colors-gray-95)","vl-gray-90":"var(--friends-lottery-colors-gray-90)","vl-gray-78":"var(--friends-lottery-colors-gray-78)","vl-gray-66":"var(--friends-lottery-colors-gray-66)","vl-gray-58":"var(--friends-lottery-colors-gray-58)","vl-gray-48":"var(--friends-lottery-colors-gray-48)","vl-gray-43":"var(--friends-lottery-colors-gray-43)","vl-gray-35":"var(--friends-lottery-colors-gray-35)","vl-gray-20":"var(--friends-lottery-colors-gray-20)","vl-gray-7":"var(--friends-lottery-colors-gray-7)","vl-yellow-100":"var(--friends-lottery-colors-yellow-100)","vl-yellow-200":"var(--friends-lottery-colors-yellow-200)","vl-yellow-300":"var(--friends-lottery-colors-yellow-300)","vl-yellow-400":"var(--friends-lottery-colors-yellow-400)","vl-yellow-600":"var(--friends-lottery-colors-yellow-600)","vl-yellow-900":"var(--friends-lottery-colors-yellow-900)","vl-orange-500":"var(--friends-lottery-colors-orange-500)","vl-green-100":"var(--friends-lottery-colors-green-100)","vl-green-200":"var(--friends-lottery-colors-green-200)","vl-green-300":"var(--friends-lottery-colors-green-300)","vl-green-400":"var(--friends-lottery-colors-green-400)","vl-green-600":"var(--friends-lottery-colors-green-600)","vl-green-700":"var(--friends-lottery-colors-green-700)","vl-green-750":"var(--friends-lottery-colors-green-750)","vl-green-800":"var(--friends-lottery-colors-green-800)","vl-green-900":"var(--friends-lottery-colors-green-900)","vl-red-200":"var(--friends-lottery-colors-red-200)","vl-red-400":"var(--friends-lottery-colors-red-400)","vl-red-500":"var(--friends-lottery-colors-red-500)","vl-red-600":"var(--friends-lottery-colors-red-600)","vl-red-700":"var(--friends-lottery-colors-red-700)","vl-red-800":"var(--friends-lottery-colors-red-800)","vl-purple-200":"var(--friends-lottery-colors-purple-200)","vl-purple-300":"var(--friends-lottery-colors-purple-300)","vl-purple-400":"var(--friends-lottery-colors-purple-400)","vl-purple-600":"var(--friends-lottery-colors-purple-600)","vl-purple-800":"var(--friends-lottery-colors-purple-800)","vl-blue-100":"var(--friends-lottery-colors-blue-100)","vl-blue-200":"var(--friends-lottery-colors-blue-200)","vl-blue-250":"var(--friends-lottery-colors-blue-250)","vl-blue-300":"var(--friends-lottery-colors-blue-300)","vl-blue-400":"var(--friends-lottery-colors-blue-400)","vl-blue-500":"var(--friends-lottery-colors-blue-500)","vl-blue-700":"var(--friends-lottery-colors-blue-700)","vl-blue-800":"var(--friends-lottery-colors-blue-800)","vl-blue-900":"var(--friends-lottery-colors-blue-900)"}},G={xs:"size-3",sm:"size-4",md:"size-5",lg:"size-6",xl:"size-7","2xl":"size-10","3xl":"size-12","4xl":"size-16",none:""},z={xs:"stroke-[2.5]",sm:"stroke-[2.5]",md:"stroke-[2.41]",lg:"stroke-[2]",xl:"stroke-[1.71]","2xl":"stroke-[1.79]","3xl":"stroke-[2]","4xl":"stroke-[1.87]",none:""},Y=({size:e="md",alt:t,color:r,children:n,testId:a="IconContainer",className:i,style:o,...s})=>{let l=V[W()],c=!!r&&r in l,u=w(G[e],z[e],"fill-none",i),d=c?{...o,color:l[r]}:o,h=!!t;return(0,C.jsx)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","data-testid":a,"data-ds-icon-size":e,"aria-label":h?t:void 0,"aria-hidden":!h,role:h?"
1img":void 0,className:u,style:d,...s,children:n})},$=({testId:e="ChevronDownIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),Q=({label:e,content:t,monochrome:r,onToggle:n,unbordered:a,iconPosition:i,open:o})=>{let s=(0,k.useId)(),l=w("pb-5 pt-5 group-open:pb-3",{"px-5":!a},"flex cursor-pointer items-center font-semibold leading-4 hover:underline",{"text-[color:var(--actions-text-colors-action-text-fill-default)] hover:text-[color:var(--actions-text-colors-action-text-fill-hover)]":!r},{"flex-row-reverse justify-end justify-items-end":"left"===i},{"justify-between":"right"===i}),c=w("group -mb-[1px]","border-t-[length:var(--generic-strokes-stroke-width)] border-[color:var(--generic-stroke-colors-stroke-color-default)]",{"first-of-type:border-none":!a,"last-of-type:border-b-[length:var(--generic-strokes-stroke-width)]":a}),u=w("pb-5",{"px-5":!a});return(0,C.jsxs)("details",{className:c,open:o,children:[(0,C.jsx)("summary",{"aria-controls":s,className:"list-none",onClick:t=>{t.preventDefault(),n(e)},"data-testid":"AccordionSummary",children:(0,C.jsxs)("div",{className:l,children:[e,(0,C.jsx)($,{className:w({"ml-3":"right"===i},{"mr-3":"left"===i},"shrink-0","transition-all group-open:-rotate-180")})]})}),(0,C.jsx)("div",{id:s,tabIndex:0,className:u,children:t})]})},K=({items:e,unbordered:t=!1,testId:r="Accordion",monochrome:n=!1,iconPosition:a="right",className:i,style:o,analytics:s})=>{let l=e&&e.find(e=>!!e.open),[c,u]=(0,k.useState)(null);(0,k.useEffect)(()=>{l&&u(l.label)},[e,l]);let d=e=>{e===c?u(null):u(e)},h=P("accordion",void 0,s),p=w({"rounded-ds border-[length:var(--generic-strokes-stroke-width)] border-[color:var(--generic-stroke-colors-stroke-color-default)] bg-[color:var(--generic-fill-colors-fill-default)] shadow-[0px_var(--generic-effects-action-shadow-default-y-offset)_var(--generic-effects-action-shadow-blur)_0px_var(--generic-effects-action-shadow-fill)]":!t},i);return e?.length?(0,C.jsx)("div",{className:p,"data-testid":r,"data-plg-type":"accordion",style:o,...h,children:e.map((e,r)=>{let i=e.label===c;return(0,C.jsx)(Q,{monochrome:n,unbordered:t,label:e.label,content:e.content,onToggle:d,iconPosition:a,open:i},`${e.label}-${r}`)})}):null},Z={xs:"h-5 min-w-5 rounded-[0.625rem] text-[0.625rem]",sm:"h-7 min-w-7 rounded-[0.875rem] text-[0.875rem]",md:"h-9 min-w-9 rounded-[1.125rem] text-[1rem]",lg:"h-12 min-w-12 rounded-[1.5rem] text-[1rem]"},X={xs:"px-1.5",sm:"px-2",md:"px-3",lg:"px-4"},J={xs:"font-bold",sm:"font-semibold",md:"font-semibold",lg:"font-bold"},ee=({count:e,plus:t=!1,size:r="md",disabled:n,className:a,style:i,testId:o="Badge",analytics:s})=>{let l=`${e}${t?"+":""}`,c=l.length>2,u=P("badge",void 0,s),d=w("inline-flex items-center justify-center",n?"bg-[color:var(--other-badge-badge-fill-disabled)]":"bg-[color:var(--other-badge-badge-fill-primary)]","leading-none text-[color:var(--generic-text-color-text-color-inverted)]",Z[r],J[r],{[X[r]]:c},"shadow-[0_0_0_1px_var(--other-badge-badge-stroke)]",a);return(0,C.jsx)("div",{className:d,"data-testid":o,style:i,...u,children:l})},et=({linkRender:e,ignoreLinkRender:t}={})=>{let{linkRender:r}=(0,k.useContext)(B);return t?q:e||r},er=()=>{let{locale:e}=(0,k.useContext)(B);return e},en={xs:480,sm:640,md:768,lg:1024,xl:1280,"2xl":1440,"3xl":1920},ea=Object.entries(en);function ei(e){let t,r=()=>{clearTimeout(t),t=setTimeout(e,100)};return window.addEventListener("resize",r),()=>{clearTimeout(t),window.removeEventListener("resize",r)}}function eo(){return window.innerWidth}function es(){return 0}let el=()=>{let e=(0,k.useSyncExternalStore)(ei,eo,es),t=(e=>{let[t]=ea.find(([,t])=>e<t)||ea[ea.length-1];return t})(e),r=["xs","sm"].includes(t);return{breakpoint:t,isMobile:r,isGreaterOrEqual:t=>e>=en[t],isSmaller:t=>e<en[t]}},ec=({testId:e="ChevronLeftIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),eu={"en-GB":{breadcrumbs:"Breadcrumbs"},"nl-NL":{breadcrumbs:"Kruimelpad"},"de-DE":{breadcrumbs:"Breadcrumb-Navigation"},"sv-SE":{breadcrumbs:"Br\xf6dsmulor"},"no-NO":{breadcrumbs:"Br\xf8dsmuler"},"en-CA":{breadcrumbs:"Breadcrumbs"},"fr-CA":{breadcrumbs:"Fil d'Ariane"}},ed=({testId:e="ChevronRightIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M9 18L15 12L9 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),eh=({link:e,defaultLinkRender:t})=>{let r=et({linkRender:e.linkRender||t,ignoreLinkRender:e.ignoreLinkRender});return(0,C.jsxs)("li",{className:"flex cursor-pointer flex-row items-center",children:[(0,C.jsx)(r,{href:e.href,target:e.target,className:"mr-3 hover:underline",children:e.label}),(0,C.jsx)(ed,{className:"text-[color:var(--generic-fill-colors-tertiary-color)]",size:"sm"})]})},ep=({alwaysShowBackLink:e=!1,analytics:t,backLabel:r="Back",className:n,currentLinkLabel:a,links:i,renderLink:o,style:s,testId:l="Breadcrumb"})=>{let c=et({linkRender:o}),u=eu[er()],d=i[i.length-1],h=et({...d,linkRender:d.linkRender||c}),p=P("breadcrumb",void 0,t),f=w("flex items-center","gap-6",n),m=w("max-md:hidden","w-full","flex","flex-row","gap-3","items-center");return(0,C.jsxs)("nav",{className:f,style:s,"aria-label":u.breadcrumbs,"data-testid":l,...p,children:[(0,C.jsxs)(h,{className:w("ds-link",{"md:!hidden":!e}),href:d.href,target:d.target,children:[(0,C.jsx)(ec,{size:"sm"}),r]}),(0,C.jsxs)("ol",{className:m,children:[i.map((e,t)=>(0,C.jsx)(eh,{link:e,defaultLinkRender:c},`${e.label}-${t}`)),(0,C.jsx)("li",{className:"text-[color:var(--generic-text-color-text-color-secondary)]",children:a})]})]})};var ef={"en-GB":{loading:"loading"},"nl-NL":{loading:"laden"},"de-DE":{loading:"laden"},"sv-SE":{loading:"laddar"},"no-NO":{loading:"lasting"},"en-CA":{loading:"loading"},"fr-CA":{loading:"chargement"}};let em=({className:e,testId:t="AnimatedCircleIcon",...r})=>(0,C.jsx)(Y,{testId:t,className:w("styles-module_animated-circle-icon__yD-Y9",e),...r,children:(0,C.jsx)("circle",{cx:"12",cy:"12",r:"7.5",stroke:"none",fill:"
1currentColor"})}),eg=({className:e,testId:t="AnimatedWimpelIcon",...r})=>(0,C.jsxs)(Y,{...r,className:w("styles-module_animated-wimpel-icon__f0rlv",e),testId:t,children:[(0,C.jsx)("path",{stroke:"none",d:"M20.513 14.334q2.081 0.131 3.488 0.478l-4.313 -3.75 4.313 -2.063q-1.509 -0.488 -3.787 -0.694 -4.566 -0.413 -8.4 1.003 -3.225 1.2 -7.837 0.281Q1.669 9.131 0 8.438l4.313 4.125L0 14.625q1.678 0.656 4.134 1.05Q9.038 16.462 12.938 15.188q3.403 -1.116 7.575 -0.853",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M18.788 14.4q1.772 -0.159 5.025 -0.047l-4.125 -3.375 4.313 -2.831q-3 -0.131 -5.109 0.131 -2.194 0.262 -5.709 1.209 -3.403 0.909 -6.806 0.234 -0.909 -0.178 -3.019 -0.75 -2.063 -0.563 -3.356 -0.806l4.313 3.938 -4.313 2.25q1.922 0.112 5.616 1.181 3.722 0.788 7.622 -0.141 3.375 -0.806 5.55 -0.994",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M19.181 14.484q2.259 -0.403 4.819 -0.319l-4.313 -3.188 4.313 -2.831q-2.334 0.019 -3.947 0.244 -2.513 0.338 -6.872 1.472 -2.325 0.6 -6.459 -0.478 -2.241 -0.619 -3.366 -0.881 -1.941 -0.469 -3.356 -0.525l4.313 3.75 -4.313 2.25q1.153 0.066 2.953 0.516 1.013 0.244 3.244 0.806 4.322 0.947 8.241 0.178 1.969 -0.384 4.744 -0.994",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M18.506 15.038q3.3 -0.834 5.494 -0.872l-4.313 -2.438 4.313 -3.581q-1.894 -0.019 -4.978 0.731Q15.544 9.712 13.369 9.863q-1.397 0.094 -2.897 -0.197 -0.563 -0.112 -2.728 -0.684Q3.909 7.959 0.188 8.166l4.125 3.188 -4.313 2.813q1.997 -0.047 3.666 0.216 0.975 0.15 2.728 0.591 3.534 0.9 6.919 0.881 1.9
169 0 5.194 -0.816",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M19.2 15.291q0.75 -0.197 2.222 -0.628 1.341 -0.356 2.578 -0.497l-4.313 -1.875 4.313 -3.956q-1.313 0.094 -4.903 0.966 -2.963 0.712 -5.541 0.563 -1.341 -0.084 -3.066 -0.497Q8.522 8.85 7.5 8.606q-3.797 -0.881 -7.313 -0.253l4.125 2.813 -4.313 3.188q4.106 -0.563 6.891 0.244 2.503 0.722 2.55 0.731 1.725 0.413 3.872 0.525 3.141 0.169 5.887 -0.563",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M16.125 15.853q2.475 -0.009 4.912 -0.544 1.303 -0.281 2.963 -0.769l-4.313 -1.875 4.313 -4.144q-0.881 0.178 -2.091 0.553 -1.416 0.441 -1.931 0.563Q17.625 10.209 14.494 9.863q-1.35 -0.15 -3.3 -0.666 -2.503 -0.666 -3.169 -0.806 -3.863 -0.769 -7.837 0.525l4.125 2.063 -4.313 3.938q4.678 -1.247 9.038 -0.319 1.181 0.253 3.422 0.825Q14.456 15.862 16.125 15.853",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M16.688 15.853q2.878 0.216 5.381 -0.338 1.256 -0.281 1.931 -0.6l-4.313 -1.875 4.313 -3.956q-2.606 0.684 -3.891 0.844 -2.1 0.253 -5.428 -0.441 -2.419 -0.563 -3.488 -0.806 -1.847 -0.422 -3.15 -0.525Q4.603 7.884 0 9.478l4.313 1.875 -4.313 3.938q5.625 -1.641 9.806 -0.872 0.647 0.112 3.319 0.806 2.006 0.516 3.563 0.628",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M17.063 15.666q3.272 0.6 5.428 0.272 1.087 -0.169 1.509 -0.459l-4.313 -2.438 4.313 -3.581q-2.869 0.563 -3.984 0.572 -1.978 0.009 -5.334 -0.919 -3.675 -1.022 -6.3 -0.994Q4.875 8.166 0 9.853l4.313 1.875 -4.313 4.125q5.963 -1.931 9.844 -1.612 1.378 0.112 3.422 0.591Q16.2 15.506 17.063 15.666",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M15.563 14.916q3.009 0.947 6.028 1.031 1.509 0.047 2.409 -0.094l-4.313 -3 4.313 -3.019q-2.541 0.15 -4.378 -0.141 -0.581 -0.094 -5.681 -1.209Q10.359 7.706 6.188 8.625q-4.266 1.209 -6.188 1.416l4.313 2.25 -4.313 3.75q1.163 -0.188 3.572 -0.75 2.447 -0.572 3.75 -0.788 4.556 -0.741 8.241 0.413",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M18.103 15.075q3.056 0.872 5.897 0.778l-4.313 -3.188 4.313 -2.831q-2.278 0.122 -4.884 -0.497 -3.591 -0.862 -5.175 -1.041 -2.081 -0.225 -3.497 -0.066 -0.909 0.112 -2.381 0.553 -1.716 0.516 -2.925 0.741Q2.991 9.928 0 10.041l4.313 2.625 -4.313 3.375q3.525 0 6.422 -0.938 1.491 -0.488 2.325 -0.656 1.5 -0.291 3.506 -0.291 2.625 0 5.85 0.919",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M18.778 14.737q0.712 0.188 2.222 0.6 1.425 0.347 3 0.516l-4.313 -3.938 4.313 -1.894q-2.25 -0.244 -4.706 -0.994 -2.362 -0.712 -4.603 -0.919 -1.997 -0.178 -3.591 0.112 -0.75 0.141 -2.672 0.75 -1.725 0.544 -3.206 0.75 -2.213 0.3 -5.222 0.131l4.313 3.188 -4.313 2.625q3.966 0.525 7.509 -0.366 0.938 -0.234 2.644 -0.722Q11.625 14.194 12.816 14.156q3.366 -0.103 5.963 0.581",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M18.216 14.259q2.081 0.319 5.784 1.303l-4.313 -4.125 4.313 -1.875q-2.1 -0.619 -4.716 -1.041Q14.044 7.669 11.438 8.625q-4.425 1.631 -8.372 1.266Q1.087 9.703 0 9.188l4.313 3.75L0 15.188q1.125 0.469 3.094 0.656Q7.022 16.228 11.25 14.813q3.309 -1.106 6.966 -0.553",fill:"currentColor"}),(0,C.jsx)("path",{stroke:"none",d:"M20.044 14.522q2.316 0.319 3.956 0.853l-4.313 -3.938 4.313 -2.063q-1.763 -0.581 -4.162 -0.938 -4.809 -0.722 -8.025 0.375 -3.553 1.209 -8.034 0.825Q1.537 9.441 0 9l4.125 3.938L0 15q1.444 0.516 3.666 0.769Q8.1 16.275 12 15q3.403 -1.116 8.044 -0.478",fill:"currentColor"})]}),ev=({accessibleText:e,children:t,size:r})=>{let n=W();return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("span",{className:"absolute",children:[n===y.POSTCODE_LOTTERY?(0,C.jsx)(eg,{size:"none",className:"sm"===r?"size-6":"size-8"}):(0,C.jsx)(em,{size:"sm"===r?"sm":"lg"}),(0,C.jsx)("span",{className:"sr-only",children:e?.loading})]}),(0,C.jsx)("span",{className:w("invisible flex gap-x-[var(--spacing-levels-group-level---s)]",{"[&_svg]:size-4":"sm"===r}),children:t})]})},ey={primary:{md:{default:{default:"ds-primary-button",iconOnly:"ds-primary-button--icon-only"},selected:{default:"ds-primary-button--selected",iconOnly:"ds-primary-button--selected-icon-only"},loading:{default:"ds-primary-button--loading",iconOnly:"ds-primary-button--loading-icon-only"}},sm:{default:{default:"ds-primary-button--small",iconOnly:"ds-primary-button--small"},selected:{default:"ds-primary-button--small-selected",iconOnly:"ds-primary-button--small-selected"},loading:{default:"ds-primary-button--small-loading",iconOnly:"ds-primary-button--small-loading"}}},secondary:{md:{default:{default:"ds-secondary-button",iconOnly:"ds-secondary-button--icon-only"},selected:{default:"ds-secondary-button--selected",iconOnly:"ds-secondary-button--selected-icon-only"},loading:{default:"ds-secondary-button--loading",iconOnly:"ds-secondary-button--loading-icon-only"}},sm:{default:{default:"ds-secondary-button--small",iconOnly:"ds-secondary-button--small"},selected:{default:"ds-secondary-button--small-selected",iconOnly:"ds-secondary-button--small-selected"},loading:{default:"ds-secondary-button--small-loading",iconOnly:"ds-secondary-button--small-loading"}}}},eb=(0,k.forwardRef)(({type:e="button",variant:t="primary",size:r="md",selected:n=!1,loading:a=!1,disabled:i=!1,className:o="",style:s,testId:l="Button",accessibleText:c,action:u,link:d,children:h,analytics:p,href:f,...m},g)=>{let v=er(),y=et({linkRender:d?.linkRender,ignoreLinkRender:d?.ignoreLinkRender}),b=ef[v],x=P("button",t,p),T=a?"loading":n?"selected":"default",E=1===k.Children.count(h)&&"string"!=typeof h,S=w("w-full md:w-fit",ey[t][r][T][E?"iconOnly":"default"],o),I=a?(0,C.jsx)(ev,{size:r,accessibleText:{loading:c?.loading||(0,C.jsxs)(C.Fragment,{children:["(",b.loading,") ",h]})},children:h}):h,_=d||f,{linkRender:R,ignoreLinkRender:A,...N}=d||{};return _?(0,C.jsx)(y,{style:s,className:S,"data-testid":l,"data-plg-type":`button-${t}`,...x,href:f||d?.href,ref:g,...{...N,...m},children:I}):(0,C.jsx)("button",{style:s,className:S,"data-testid":l,"data-plg-type":`button-${t}`,...x,onClick:u||m.onClick,type:e,disabled:i||a||n,ref:g,...m,children:I})}),ex=(0,k.createContext)({interactive:!1,disabled:!1,orientation:"vertical",showContextMenu:!1}),eT=({children:e,orientation:t="vertical",className:r,style:n,testId:a="CardLayout"})=>{let i=w("h-full w-full text-left","flex",{"flex-col":"vertical"===t},r);return(0,C.jsx)("div",{"data-testid":a,className:i,style:n,children:e})},eE={borderWidthDefault:"border-[length:var(--generic-strokes-stroke-width)]",enabled:w("bg-[color:var(--generic-fill-colors-fill-default)]","shadow-[0px_var(--actions-effects-action-shadow-y-offset)_var(--generic-effects-action-shadow-blur)_0px_var(--actions-effects-shadow-color)]"),borderDefault:"border-[color:var(--actions-stroke-colors-action-stroke-color-default)]",invali
1d:"border-[color:var(--generic-stroke-colors-stroke-color-negative)]",invalidBorderWidth:"border-[length:var(--actions-strokes-validation-state-stroke)]",interactive:"hover:not(:focus):shadow-[0px_var(--actions-effects-action-shadow-y-offset)_var(--generic-effects-action-shadow-blur)_0px_var(--actions-effects-shadow-color-hover)]",hoverBorder:"hover:border-[color:var(--actions-stroke-colors-action-stroke-color-hover)]",invalidHoverBorder:"hover:border-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]",disabled:w("bg-[color:var(--actions-fill-colors-action-fill-disabled)]","text-[color:var(--actions-text-colors-action-text-fill-disabled)]","border-[color:var(--actions-stroke-colors-action-stroke-color-disabled)]"),selectableBackground:"peer-checked/input:bg-[color:var(--actions-fill-colors-action-fill-active)]",invalidSelectableBackground:"peer-checked/input:bg-[color:var(--generic-fill-colors-fill-negative)]",selectableBorder:"peer-checked/input:border-[color:var(--actions-stroke-colors-action-stroke-color-active)]",invalidSelectableBorder:"peer-checked/input:border-[color:var(--generic-stroke-colors-stroke-color-negative)]",invalidSelectableBorderHover:w("peer-checked/input:hover:border-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]"),selectableRing:"peer-checked/input:after:ring-[color:var(--actions-stroke-colors-action-stroke-color-active)]"},eC=w("peer-checked/input:after:ring-inset","peer-checked/input:after:absolute peer-checked/input:after:inset-0","peer-checked/input:after:rounded-[calc(var(--generic-corners-corner-radius-default)_-_var(--generic-strokes-stroke-width))]","peer-checked/input:after:ring-[length:calc(var(--actions-strokes-action-stroke-width-active)-var(--generic-strokes-stroke-width))]"),ew=({disabled:e,interactive:t,selectable:r,status:n}={disabled:!1,interactive:!1,selectable:!1,status:"none"})=>w("block overflow-hidden","rounded-[var(--generic-corners-corner-radius-default)]",{"cursor-pointer":r&&!e,"hover:active:shadow-none":t,"peer-checked/input:shadow-none":r,[eC]:r&&!e&&"invalid"!==n,[eE.borderWidthDefault]:e||"invalid"!==n,[eE.invalidBorderWidth]:!e&&"invalid"===n,[eE.borderDefault]:!e&&"invalid"!==n,[eE.hoverBorder]:(t||r)&&!e&&"invalid"!==n,[eE.invalid]:!e&&"invalid"===n,[eE.invalidHoverBorder]:(t||r)&&!e&&"invalid"===n,[eE.enabled]:!e,[eE.disabled]:e,[eE.interactive]:(t||r)&&!e,[eE.selectableBackground]:r&&!e&&"invalid"!==n,[eE.invalidSelectableBackground]:r&&!e&&"invalid"===n,[eE.selectableBorder]:r&&!e&&"invalid"!==n,[eE.invalidSelectableBorder]:r&&!e&&"invalid"===n,[eE.invalidSelectableBorderHover]:r&&!e&&"invalid"===n,[eE.selectableRing]:r&&!e&&"invalid"!==n}),ek=(0,k.forwardRef)(({children:e,action:t,disabled:r=!1,orientation:n="vertical",className:a,style:i,testId:o,analytics:s,...l},c)=>{let u=P("card","action",s),d=w(ew({interactive:!0,disabled:r}),a);return(0,C.jsx)(ex.Provider,{value:{interactive:!0,disabled:r,orientation:n},children:(0,C.jsx)(C.Fragment,{children:(0,C.jsx)("button",{className:w(d,"ActionCard-module_buttonCardInlineSize__Xn97X"),style:i,"data-testid":o,"data-plg-type":"card",disabled:r,ref:c,type:"button",...u,...l,onClick:t,children:(0,C.jsx)(eT,{orientation:n,children:e})})})})}),eS=(e,t)=>(0,k.isValidElement)(e)&&e.type===k.Fragment?eS(e.props.children,t):(0,k.isValidElement)(e)?e.type===t?e:void 0:Array.isArray(e)?e.find(e=>(0,k.isValidElement)(e)&&e.type===t):void 0,eI=({children:e,className:t,style:r,testId:n="CardBody"})=>{let a=w("flex flex-col items-start gap-2","text-left",t);return(0,C.jsx)("div",{className:a,style:r,"data-testid":n,children:e})},eP=({children:e,testId:t="CardFooter",className:r,style:n})=>{let a=w("mt-auto w-full grow-0 items-start",r);return(0,C.jsx)("div",{className:a,style:n,"data-testid":t,children:e})};var e_=Object.defineProperty,eR=(e,t)=>e_(e,"name",{value:t,configurable:!0}),eA=!!("u">typeof window&&window.document&&window.document.createElement);function eN(e,t,{checkForDefaultPrevented:r=!0}={}){return eR(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function eD(e){if(!eA)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function eO(e){return"IFRAME"===e.tagName}eR(eN,"composeEventHandlers"),eR(function(e){if(!eA)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),eR(eD,"getOwnerDocument"),eR(function e(t,r=!1){let{activeElement:n}=eD(t);if(!n?.nodeName)return null;if(eO(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=eD(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),eR(eO,"isFrame");var ej=Object.defineProperty,eL=(e,t)=>ej(e,"name",{value:t,configurable:!0});function eM(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function eH(...e){return t=>{let r=!1,n=e.map(e=>{let n=eM(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():eM(e[t],null)}}}}function eF(...e){return k.useCallback(eH(...e),e)}eL(eM,"setRef"),eL(eH,"composeRefs"),eL(eF,"useComposedRefs");var eq=Object.defineProperty,eB=(e,t)=>eq(e,"name",{value:t,configurable:!0});function eU(e,t=[]){let r=[];function n(t,n){let a=k.createContext(n);a.displayName=t+"Context";let i=r.length;r=[...r,n];let o=eB(t=>{let{scope:r,children:n,...o}=t,s=r?.[e]?.[i]||a,l=k.useMemo(()=>o,Object.values(o));return(0,C.jsx)(s.Provider,{value:l,children:n})},"Provider");function s(r,o,l={}){let{optional:c=!1}
1=l,u=o?.[e]?.[i]||a,d=k.useContext(u);if(d)return d;if(void 0!==n)return n;if(!c)throw Error(`\`${r}\` must be used within \`${t}\``)}return o.displayName=t+"Provider",eB(s,"useContext"),[o,s]}eB(n,"createContext");let a=eB(()=>{let t=r.map(e=>k.createContext(e));return eB(function(r){let n=r?.[e]||t;return k.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])},"useScope")},"createScope");return a.scopeName=e,[n,eW(a,...t)]}function eW(...e){let t=e[0];if(1===e.length)return t;let r=eB(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return eB(function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let a=r(e)[`__scope${n}`];return{...t,...a}},{});return k.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}eB(function(e,t){let r=k.createContext(t);r.displayName=e+"Context";let n=eB(e=>{let{children:t,...n}=e,a=k.useMemo(()=>n,Object.values(n));return(0,C.jsx)(r.Provider,{value:a,children:t})},"Provider");function a(n,i={}){let{optional:o=!1}=i,s=k.useContext(r);if(s)return s;if(void 0!==t)return t;if(!o)throw Error(`\`${n}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",eB(a,"useContext"),[n,a]},"createContext"),eB(eU,"createContextScope"),eB(eW,"composeContextScopes");var eV=globalThis?.document?k.useLayoutEffect:()=>{},eG=Object.defineProperty,ez=S[" useEffectEvent ".trim().toString()],eY=S[" useInsertionEffect ".trim().toString()];function e$(e){if("function"==typeof ez)return ez(e);let t=k.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof eY?eY(()=>{t.current=e}):eV(()=>{t.current=e}),k.useMemo(()=>(...e)=>t.current?.(...e),[])}eG(e$,"name",{value:"useEffectEvent",configurable:!0});var eQ=Object.defineProperty,eK=(e,t)=>eQ(e,"name",{value:t,configurable:!0}),eZ=S[" useInsertionEffect ".trim().toString()]||eV;function eX({prop:e,defaultProp:t,onChange:r=eK(()=>{},"onChange"),caller:n}){let[a,i,o]=eJ({defaultProp:t,onChange:r}),s=void 0!==e,l=s?e:a;return[l,k.useCallback(t=>{if(s){let r=e1(t)?t(e):t;r!==e&&o.current?.(r)}else i(t)},[s,e,i,o])]}function eJ({defaultProp:e,onChange:t}){let[r,n]=k.useState(e),a=k.useRef(r),i=k.useRef(t);return eZ(()=>{i.current=t},[t]),k.useEffect(()=>{a.current!==r&&(i.current?.(r),a.current=r)},[r,a]),[r,n,i]}function e1(e){return"function"==typeof e}eK(eX,"useControllableState"),eK(eJ,"useUncontrolledState"),eK(e1,"isFunction");var e0=Symbol("RADIX:SYNC_STATE");eK(function(e,t,r,n){let{prop:a,defaultProp:i,onChange:o,caller:s}=t,l=void 0!==a,c=e$(o),u=[{...r,state:i}];n&&u.push(n);let[d,h]=k.useReducer((t,r)=>{if(r.type===e0)return{...t,state:r.state};let n=e(t,r);return l&&!Object.is(n.state,t.state)&&c(n.state),n},...u),p=d.state,f=k.useRef(p);k.useEffect(()=>{f.current!==p&&(f.current=p,l||c(p))},[p,f,l]);let m=k.useMemo(()=>void 0!==a?{...d,state:a}:d,[d,a]);return k.useEffect(()=>{l&&!Object.is(a,d.state)&&h({type:e0,state:a})},[a,d.state,l]),[m,h]},"useControllableStateReducer");var e2=r(56760),e3=Object.defineProperty,e5=(e,t)=>e3(e,"name",{value:t,configurable:!0});function e4(e){let t=k.forwardRef((t,r)=>{let{children:n,...a}=t,i=null,o=!1,s=[];tr(n)&&"function"==typeof to&&(n=to(n._payload)),k.Children.forEach(n,e=>{if(te(e)){o=!0;let t="child"in e.props?e.props.child:e.props.children;tr(t)&&"function"==typeof to&&(t=to(t._payload)),i=e6(e,t),s.push(i?.props?.children)}else s.push(e)}),i?i=k.cloneElement(i,void 0,s):!o&&1===k.Children.count(n)&&k.isValidElement(n)&&(i=n);let l=i?e7(i):void 0,c=eF(r,l);if(!i){if(n||0===n)throw Error(o?ti(e):ta(e));return n}let u=e9(a,i.props??{});return i.type!==k.Fragment&&(u.ref=r?c:l),k.cloneElement(i,u)});return t.displayName=`${e}.Slot`,t}e5(e4,"createSlot");var e8=Symbol.for("radix.slottable");e5(function(e){let t=e5(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=e8,t},"createSlottable");var e6=e5((e,t)=>{if("child"in e.props){let t=e.props.child;return k.isValidElement(t)?k.cloneElement(t,void 0,e.props.children(t.props.children)):null}return k.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function e9(e,t){let r={...t};for(let n in t){let a=e[n],i=t[n];/^on[A-Z]/.test(n)?a&&i?r[n]=(...e)=>{let t=i(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...i}
1:"className"===n&&(r[n]=[a,i].filter(Boolean).join(" "))}return{...e,...r}}function e7(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function te(e){return k.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===e8}e5(e9,"mergeProps"),e5(e7,"getElementRef"),e5(te,"isSlottable");var tt=Symbol.for("react.lazy");function tr(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===tt&&"_payload"in e&&tn(e._payload)}function tn(e){return"object"==typeof e&&null!==e&&"then"in e}e5(tr,"isLazyComponent"),e5(tn,"isPromiseLike");var ta=e5(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),ti=e5(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),to=S[" use ".trim().toString()],ts=Object.defineProperty,tl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=e4(`Primitive.${t}`),n=k.forwardRef((e,n)=>{let{asChild:a,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,C.jsx)(a?r:t,{...i,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function tc(e,t){e&&e2.flushSync(()=>e.dispatchEvent(t))}ts(tc,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0});var tu=Object.defineProperty,td=(e,t)=>tu(e,"name",{value:t,configurable:!0});function th(e){let t=e+"CollectionProvider",[r,n]=eU(t),[a,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),o=td(e=>{let{scope:t,children:r}=e,n=k.useRef(null),i=k.useRef(new Map).current;return(0,C.jsx)(a,{scope:t,itemMap:i,collectionRef:n,children:r})},"CollectionProvider");o.displayName=t;let s=e+"CollectionSlot",l=e4(s),c=k.forwardRef((e,t)=>{let{scope:r,children:n}=e,a=eF(t,i(s,r).collectionRef);return(0,C.jsx)(l,{ref:a,children:n})});c.displayName=s;let u=e+"CollectionItemSlot",d="data-radix-collection-item",h=e4(u),p=k.forwardRef((e,t)=>{let{scope:r,children:n,...a}=e,o=k.useRef(null),s=eF(t,o),l=i(u,r);return k.useEffect(()=>(l.itemMap.set(o,{ref:o,...a}),()=>void l.itemMap.delete(o))),(0,C.jsx)(h,{...{[d]:""},ref:s,children:n})});function f(t){let r=i(e+"CollectionConsumer",t);return k.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])}return p.displayName=u,td(f,"useCollection"),[{Provider:o,Slot:c,ItemSlot:p},f,n]}td(th,"createCollection");var tp=new WeakMap,tf=class e extends Map{static{td(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],tp.set(this,!0)}set(e,t){return tp.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,a=this.has(t),i=this.#e.length,o=tv(e),s=o>=0?o:i+o,l=s<0||s>=i?-1:s;if(l===this.size||a&&l===this.size-1||-1===l)return this.set(t,r),this;let c=this.size+ +!a;o<0&&s++;let u=[...this.#e],d=!1;for(let e=s;e<c;e++)if(s===e){let i=u[e];u[e]===t&&(i=u[e+1]),a&&this.delete(t),n=this.get(i),this.set(t,r)}else{d||u[e-1]!==t||(d=!0);let r=u[d?e:e-1],a=n;n=this.get(r),this.delete(r),this.set(r,a)}return this}with(t,r,n){let a=new e(this);return a.insert(t,r,n),a}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=tm(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=tm(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return tm(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],a=0;for(let e of this)Reflect.apply(t,r,[e,a,this])&&n.push(e),a++;return new e(n)}map(t,r){let n=[],a=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,a,this])]),a++;return new e(n)}reduce(...e){let[t,r]=e,n=0,a=r??this.at(0);for(let r of this)a=0===n&&1===e.length?r:Reflect.apply(t,this,[a,r,n,this]),n++;return a}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let a=this.at(r);n=r===this.size-1&&1===e.length?a:Reflect.apply(t,this,[n,a,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,a=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(a=r-1);for(let e=t;e<=a;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}};function tm(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=tg(e,t);return -1===r?void 0:e[r]}function tg(e,t){let r=e.length,n=tv(t),a=n>=0?n:r+n;return a<0||a>=r?-1:a}function tv(e){return e!=e||0===e?0:Math.trunc(e)}function ty(e,t){if(e===t)return!0;
1if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function tb(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function tx(e,t){return e[1].element&&t[1].element?tb(e[1].element,t[1].element)?-1:1:0}function tT(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}td(tm,"at"),td(tg,"toSafeIndex"),td(tv,"toSafeInteger"),td(function(e){let t=e+"CollectionProvider",[r,n]=eU(t),[a,i]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new tf,setItemMap:td(()=>void 0,"setItemMap")}),o=td(({state:e,...t})=>e?(0,C.jsx)(l,{...t,state:e}):(0,C.jsx)(s,{...t}),"CollectionProvider");o.displayName=t;let s=td(e=>{let t=m();return(0,C.jsx)(l,{...e,state:t})},"CollectionInit");s.displayName=t+"Init";let l=td(e=>{let{scope:t,children:r,state:n}=e,i=k.useRef(null),[o,s]=k.useState(null),l=eF(i,s),[c,u]=n;return k.useEffect(()=>{if(!o)return;let e=tT(()=>{});return e.observe(o,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[o]),(0,C.jsx)(a,{scope:t,itemMap:c,setItemMap:u,collectionRef:l,collectionRefObject:i,collectionElement:o,children:r})},"CollectionProviderImpl");l.displayName=t+"Impl";let c=e+"CollectionSlot",u=e4(c),d=k.forwardRef((e,t)=>{let{scope:r,children:n}=e,a=eF(t,i(c,r).collectionRef);return(0,C.jsx)(u,{ref:a,children:n})});d.displayName=c;let h=e+"CollectionItemSlot",p=e4(h),f=k.forwardRef((e,t)=>{let{scope:r,children:n,...a}=e,o=k.useRef(null),[s,l]=k.useState(null),c=eF(t,o,l),{setItemMap:u}=i(h,r),d=k.useRef(a);ty(d.current,a)||(d.current=a);let f=d.current;return k.useEffect(()=>(u(e=>s?e.has(s)?e.set(s,{...f,element:s}).toSorted(tx):(e.set(s,{...f,element:s}),e.toSorted(tx)):e),()=>{u(e=>s&&e.has(s)?(e.delete(s),new tf(e)):e)}),[s,f,u]),(0,C.jsx)(p,{"data-radix-collection-item":"",ref:c,children:n})});function m(){return k.useState(new tf)}function g(t){let{itemMap:r}=i(e+"CollectionConsumer",t);return r}return f.displayName=h,td(m,"useInitCollection"),td(g,"useCollection"),[{Provider:o,Slot:d,ItemSlot:f},{createCollectionScope:n,useCollection:g,useInitCollection:m}]},"createCollection"),td(ty,"shallowEqual"),td(tb,"isElementPreceding"),td(tx,"sortByDocumentPosition"),td(tT,"getChildListObserver");var tE=Object.defineProperty,tC=k.createContext(void 0);function tw(e){let t=k.useContext(tC);return e||t||"ltr"}function tk(e){let t=k.useRef(e);return k.useEffect(()=>{t.current=e}),k.useMemo(()=>(...e)=>t.current?.(...e),[])}tE(tw,"name",{value:"useDirection",configurable:!0}),(0,Object.defineProperty)(tk,"name",{value:"useCallbackRef",configurable:!0});var tS=Object.defineProperty,tI=(e,t)=>tS(e,"name",{value:t,configurable:!0}),tP="dismissableLayer.update",t_=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),tR=k.forwardRef(tI(function(e,t){let{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:n=!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:l,...c}=e,u=k.useContext(t_),[d,h]=k.useState(null),p=d?.ownerDocument??globalThis?.document,[,f]=k.useState({}),m=eF(t,h),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v?g.indexOf(v):-1,x=d?g.indexOf(d):-1,T=u.layersWithOutsidePointerEventsDisabled.size>0,E=x>=y,w=k.useRef(!1),S=tN(e=>{i?.(e),s?.(e),e.defaultPrevented||l?.()},{ownerDocument:p,deferPointerDownOutside:n,isDeferredPointerDownOutsideRef:w,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:k.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...u.branches].some(t=>t.contains(e));return E&&!t},[u.branches,E])}),I=tD(e=>{if(n&&w.current)return;let t=e.target;![...u.branches].some(e=>e.contains(t))&&(o?.(e),s?.(e),e.defaultPrevented||l?.())},p),P=!!d&&x===g.length-1,_=tk(e=>{"Escape"===e.key&&(a?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))});return k.useEffect(()=>{if(P)return p.addEventListener("keydown",_,{capture:!0}),()=>p.removeEventListener("keydown",_,{capture:!0})},[p,P,_]),k.useEffect(()=>{if(d)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(b=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),tO(),()=>
1{r&&(u.layersWithOutsidePointerEventsDisabled.delete(d),0===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=b))}},[d,p,r,u]),k.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),tO())},[d,u]),k.useEffect(()=>{let e=tI(()=>f({}),"handleUpdate");return document.addEventListener(tP,e),()=>document.removeEventListener(tP,e)},[]),(0,C.jsx)(tl.div,{...c,ref:m,style:{pointerEvents:T?E?"auto":"none":void 0,...e.style},onFocusCapture:eN(e.onFocusCapture,I.onFocusCapture),onBlurCapture:eN(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:eN(e.onPointerDownCapture,S.onPointerDownCapture)})},"DismissableLayer"));tI(function(){let e=k.useContext(t_),[t,r]=k.useState(null);return k.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r},"useDismissableLayerSurface");var tA=tI(()=>!0,"IS_TRUE");function tN(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:n=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:i,shouldHandlePointerDownOutside:o=tA}=t,s=tk(e),l=k.useRef(!1),c=k.useRef(!1),u=k.useRef(new Map),d=k.useRef(()=>{});return k.useEffect(()=>{function e(){c.current=!1,a.current=!1,u.current.clear()}function t(){return Array.from(u.current.values()).some(Boolean)}function h(e){if(!c.current)return;let t=e.target;t instanceof Node&&[...i].some(e=>e.contains(t))||u.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{c.current&&d.current()},0)}function p(e){c.current&&u.current.set(e.type,!1)}tI(e,"resetOutsideInteraction"),tI(t,"isOutsideInteractionIntercepted"),tI(h,"handleInteractionCapture"),tI(p,"handleInteractionBubble");let f=tI(i=>{if(i.target&&!l.current){let h=function(){r.removeEventListener("click",d.current);let n=t();e(),n||tj("dismissableLayer.pointerDownOutside",s,p,{discrete:!0})};if(tI(h,"handleAndDispatchPointerDownOutsideEvent"),!o(i.target)){r.removeEventListener("click",d.current),e(),l.current=!1;return}let p={originalEvent:i};c.current=!0,a.current=n&&0===i.button,u.current.clear(),n&&0===i.button?(r.removeEventListener("click",d.current),d.current=h,r.addEventListener("click",d.current,{once:!0})):h()}else r.removeEventListener("click",d.current),e();l.current=!1},"handlePointerDown"),m=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of m)r.addEventListener(e,h,!0),r.addEventListener(e,p);let g=window.setTimeout(()=>{r.addEventListener("pointerdown",f)},0);return()=>{for(let e of(window.clearTimeout(g),r.removeEventListener("pointerdown",f),r.removeEventListener("click",d.current),m))r.removeEventListener(e,h,!0),r.removeEventListener(e,p)}},[r,s,n,a,i,o]),{onPointerDownCapture:tI(()=>l.current=!0,"onPointerDownCapture")}}function tD(e,t=globalThis?.document){let r=tk(e),n=k.useRef(!1);return k.useEffect(()=>{let e=tI(e=>{e.target&&!n.current&&tj("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:tI(()=>n.current=!0,"onFocusCapture"),onBlurCapture:tI(()=>n.current=!1,"onBlurCapture")}}function tO(){let e=new CustomEvent(tP);document.dispatchEvent(e)}function tj(e,t,r,{discrete:n}){let a=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?tc(a,i):a.dispatchEvent(i)}tI(tN,"usePointerDownOutside"),tI(tD,"useFocusOutside"),tI(tO,"dispatchUpdate"),tI(tj,"handleAndDispatchCustomEvent");var tL=Object.defineProperty,tM=(e,t)=>tL(e,"name",{value:t,configurable:!0}),tH=0,tF=null;function tq(){k.useEffect(()=>{tF||(tF={start:tB(),end:tB()});let{start:e,end:t}=tF;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),tH++,()=>{1===tH&&(tF?.start.remove(),tF?.end.remove(),tF=null),tH=Math.max(0,tH-1)}},[])}function tB(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
1style.position="fixed",e.style.pointerEvents="none",e}tM(function(e){return tq(),e.children},"FocusGuards"),tM(tq,"useFocusGuards"),tM(tB,"createFocusGuard");var tU=Object.defineProperty,tW=(e,t)=>tU(e,"name",{value:t,configurable:!0}),tV="focusScope.autoFocusOnMount",tG="focusScope.autoFocusOnUnmount",tz={bubbles:!1,cancelable:!0},tY=k.forwardRef(tW(function(e,t){let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...o}=e,[s,l]=k.useState(null),c=tk(a),u=tk(i),d=k.useRef(null),h=eF(t,l),p=k.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k.useEffect(()=>{if(n){let e=function(e){if(p.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:t1(d.current,{select:!0})},t=function(e){if(p.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||t1(d.current,{select:!0}))},r=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&t1(s)};tW(e,"handleFocusIn"),tW(t,"handleFocusOut"),tW(r,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(r);return s&&n.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[n,s,p.paused]),k.useEffect(()=>{if(s){t0.add(p);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(tV,tz);s.addEventListener(tV,c),s.dispatchEvent(t),t.defaultPrevented||(t$(t5(tK(s)),{select:!0}),document.activeElement===e&&t1(s))}return()=>{s.removeEventListener(tV,c),setTimeout(()=>{let t=new CustomEvent(tG,tz);s.addEventListener(tG,u),s.dispatchEvent(t),t.defaultPrevented||t1(e??document.body,{select:!0}),s.removeEventListener(tG,u),t0.remove(p)},0)}}},[s,c,u,p]);let f=k.useCallback(e=>{if(!r&&!n||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,a=document.activeElement;if(t&&a){let t=e.currentTarget,[n,i]=tQ(t);n&&i?e.shiftKey||a!==i?e.shiftKey&&a===n&&(e.preventDefault(),r&&t1(i,{select:!0})):(e.preventDefault(),r&&t1(n,{select:!0})):a===t&&e.preventDefault()}},[r,n,p.paused]);return(0,C.jsx)(tl.div,{tabIndex:-1,...o,ref:h,onKeyDown:f})},"FocusScope"));function t$(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(t1(n,{select:t}),document.activeElement!==r)return}function tQ(e){let t=tK(e);return[tZ(t,e),tZ(t.reverse(),e)]}function tK(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:tW(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}function tZ(e,t){let r="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let n of e)if(!(r?!n.checkVisibility({checkVisibilityCSS:!0}):tX(n,{upTo:t})))return n}function tX(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function tJ(e){return e instanceof HTMLInputElement&&"select"in e}function t1(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&tJ(e)&&t&&e.select()}}tW(t$,"focusFirst"),tW(tQ,"getTabbableEdges"),tW(tK,"getTabbableCandidates"),tW(tZ,"findVisible"),tW(tX,"isHidden"),tW(tJ,"isSelectableInput"),tW(t1,"focus");var t0=t2();function t2(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),(e=t3(e,t)).unshift(t)},remove(t){e=t3(e,t),e[0]?.resume()}}}function t3(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}function t5(e){return e.filter(e=>"A"!==e.tagName)}tW(t2,"createFocusScopesStack"),tW(t3,"arrayRemove"),tW(t5,"removeLinks");let t4=["top","right","bottom","left"],t8=Math.min,t6=Math.max,t9=Math.round,t7=Math.floor,re=e=>({x:e,y:e}),rt={left:"right",right:"left",bottom:"top",top:"bottom"};function rr(e,t){return"function"==typeof e?e(t):e}function rn(e){return e.split("-")[0]}function ra(e){return e.split("-")[1]}function ri(e){return"x"===e?"y":"x"}function ro(e){return"y"===e?"height":"width"}function rs(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function rl(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let rc=["left","right"],ru=["right","left"],rd=["top","bottom"],rh=["bottom","top"];function rp(e){let t=rn(e);return rt[t]+e.slice(t.length)}function rf(e){var t,r,n,a;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(a=e.left)?a:0}:{top:e,right:e,bottom:e,left:e}}function rm(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function rg(e,t,r){let n,{reference:a,floating:i}=e,o=rs(t),s=ri(rs(t)),l=ro(s),c=rn(t),u=a.x+a.width/2-i.width/2,d=a.y+a.height/2-i.height/2,h=a[l]/2-i[l]/2;switch(c){case"top":n={x:u,y:a.y-i.height};break;case"bottom":n={x:u,y:a.y+a.height};break;case"right":n={x:a.x+a.width,y:d};break;case"left":n={x:a.x-i.width,y:d};break;default:n={x:a.x,y:a.y}}let p=ra(t);return p&&(n[s]+=h*("end"===p?1:-1)*(r&&"y"===o?-1:1)),n}async function rv(e,t){var r;void 0===t&&(t={});let{x:n,y:a,platform:i,rects:o,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=rr(t,e),f=rf(p),m=s[h?"floating"===d?"reference":"floating":d],g=rm(await i.getClippingRect
vendor: 1,248 bytes, line 1
1({element:null==(r=await (null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:n,y:a,width:o.floating.width,height:o.floating.height}:o.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},x=rm(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-x.top+f.top)/b.y,bottom:(x.bottom-g.bottom+f.bottom)/b.y,left:(g.left-x.left+f.left)/b.x,right:(x.right-g.right+f.right)/b.x}}let ry=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:o}=r,s=o.detectOverflow?o:{...o,detectOverflow:rv},l=await (null==o.isRTL?void 0:o.isRTL(t)),c=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=rg(c,n,l),h=n,p=0,f={};for(let r=0;r<i.length;r++){let m=i[r];if(!m)continue;let{name:g,fn:v}=m,{x:y,y:b,data:x,reset:T}=await v({x:u,y:d,initialPlacement:n,placement:h,strategy:a,middlewareData:f,re
1cts:c,platform:s,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=b?b:d,f[g]={...f[g],...x},T&&p<50&&(p++,"object"==typeof T&&(T.placement&&(h=T.placement),T.rects&&(c=!0===T.rects?await o.getElementRects({reference:e,floating:t,strategy:a}):T.rects),{x:u,y:d}=rg(c,h,l)),r=-1)}return{x:u,y:d,placement:h,strategy:a,middlewareData:f}},rb=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:a,rects:i,platform:o,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=rr(e,t)||{};if(null==c)return{};let d=rf(u),h={x:r,y:n},p=ri(rs(a)),f=ro(p),m=await o.getDimensions(c),g="y"===p,v=g?"clientHeight":"clientWidth",y=i.reference[f]+i.reference[p]-h[p]-i.floating[f],b=h[p]-i.reference[p],x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(c)),T=x?x[v]:0;T&&await (null==o.isElement?void 0:o.isElement(x))||(T=s.floating[v]||i.floating[f]);let E=T/2-m[f]/2-1,C=t8(d[g?"top":"left"],E),w=t8(d[g?"bottom":"right"],E),k=T-m[f]-w,S=T/2-m[f]/2+(y/2-b/2),I=t6(C,t8(S,k)),P=!l.arrow&&null!=ra(a)&&S!==I&&i.reference[f]/2-(S<C?C:w)-m[f]/2<0,_=P?S<C?S-C:S-k:0;return{[p]:h[p]+_,data:{[p]:I,centerOffset:S-I-_,...P&&{alignmentOffset:_}},reset:P}}}),rx=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,a,i,o,s,l,c;
1let u,d,h,{placement:p,middlewareData:f,rects:m,initialPlacement:g,platform:v,elements:y}=t,{mainAxis:b=!0,crossAxis:x=!0,fallbackPlacements:T,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:w=!0,...k}=rr(e,t);if(null!=(r=f.arrow)&&r.alignmentOffset)return{};let S=rn(p),I=rs(g),P=rn(g)===g,_=await (null==v.isRTL?void 0:v.isRTL(y.floating)),R=T||(P||!w?[rp(g)]:(u=rp(g),[rl(g),u,rl(u)])),A="none"!==C;!T&&A&&R.push(...(d=ra(g),h=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?ru:rc;return t?rc:ru;case"left":case"right":return t?rd:rh;default:return[]}}(rn(g),"start"===C,_),d&&(h=h.map(e=>e+"-"+d),w&&(h=h.concat(h.map(rl)))),h));let N=[g,...R],D=await v.detectOverflow(t,k),O=[],j=(null==(n=f.flip)?void 0:n.overflows)||[];if(b&&O.push(D[S]),x){let e,t,r,n,a=(s=p,l=m,void 0===(c=_)&&(c=!1),e=ra(s),r=ro(t=ri(rs(s))),n="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[r]>l.floating[r]&&(n=rp(n)),[n,rp(n)]);O.push(D[a[0]],D[a[1]])}if(j=[...j,{placement:p,overflows:O}],!O.every(e=>e<=0)){let e=((null==(a=f.flip)?void 0:a.index)||0)+1,t=N[e];if(t&&("alignment"!==x||I===rs(t)||j.every(e=>rs(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:j},reset:{placement:t}};let r=null==(i=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(E){case"bestFit":{let e=null==(o=j.filter(e=>{if(A){let t=rs(e.placement);return t===I||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=g}if(p!==r)return{reset:{placement:r}}}return{}}}};function rT(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function rE(e){return t4.some(t=>e[t]>=0)}let rC=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:n}=t,{strategy:a="referenceHidden",...i}=rr(e,t);switch(a){case"referenceHidden":{let e=rT(await n.detectOverflow(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:rE(e)}}}case"escaped":{let e=rT(await n.detectOverflow(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:rE(e)}}}default:return{}}}}},rw=new Set(["left","top"]);async function rk(e,t){let{placement:r,platform:n,elements:a}=e,i=await (null==n.isRTL?void 0:n.isRTL(a.floating)),o=rn(r),s=ra(r),l="y"===rs(r),c=rw.has(o)?-1:1,u=i&&l?-1:1,d=rr(t,e),{mainAxis:h,crossAxis:p,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof f&&(p="end"===s?-1*f:f),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}let rS=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:i,placement:o,middlewareData:s}=t,l=await rk(t,e);return o===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:o}}}}},rI=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=rr(e,t),u={x:r,y:n},d=await i.detectOverflow(t,c),h=rs(a),p=ri(h),f=u[p],m=u[h],g=(e,t)=>t6(t+d["y"===e?"top":"left"],t8(t,t-d["y"===e?"bottom":"right"]));o&&(f=g(p,f)),s&&(m=g(h,m));let v=l.fn({...t,[p]:f,[h]:m});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[p]:o,[h]:s}}}}}},rP=function(e){return void 0===e&&(e={}),{options:e,fn(t){var r,n,a,i;let{x:o,y:s,placement:l,rects:c,middlewareData:u}=t,{offset:d=0,mainAxis:h=!0,crossAxis:p=!0}=rr(e,t),f={x:o,y:s},m=rs(l),g=ri(m),v=f[g],y=f[m],b=rr(d,t),x="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:null!=(r=b.mainAxis)?r:0,crossAxis:null!=(n=b.crossAxis)?n:0};if(h){let e="y"===g?"height":"width",t=c.reference[g]-c.floating[e]+x.mainAxis,r=c.reference[g]+c.reference[e]-x.mainAxis;v<t?v=t:v>r&&(v=r)}if(p){let e="y"===g?"width":"height",t=rw.has(rn(l)),r=c.reference[m]-c.floating[e]+(t&&(null==(a=u.offset)?void 0:a[m])||0)+(t?0:x.crossAxis),n=c.reference[m]+c.reference[e]+(t?0:(null==(i=u.offset)?void 0:i[m])||0)-(t?x.crossAxis:0);y<r?y=r:y>n&&(y=n)}return{[g]:v,[m]:y}}}},r_=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,n,{placement:a,rects:i,platform:o,elements:s}=t,{apply:l=()=>{},...c}=rr(e,t),u=await o.detectOverflow(t,c),d=rn(a),h=ra(a),p="y"===rs(a),{width:f,height:m}=i.floating;"top"===d||"bottom"===d?(r=d,n=h===(await (null==o.isRTL?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(n=d,r="end"===h?"to
1p":"bottom");let g=m-u.top-u.bottom,v=f-u.left-u.right,y=t8(m-u[r],g),b=t8(f-u[n],v),x=t.middlewareData.shift,T=!x,E=y,C=b;null!=x&&x.enabled.x&&(C=v),null!=x&&x.enabled.y&&(E=g),T&&!h&&(p?C=f-2*t6(u.left,u.right):E=m-2*t6(u.top,u.bottom)),await l({...t,availableWidth:C,availableHeight:E});let w=await o.getDimensions(s.floating);return f!==w.width||m!==w.height?{reset:{rects:!0}}:{}}}};function rR(){return"u">typeof window}function rA(e){return rO(e)?(e.nodeName||"").toLowerCase():"#document"}function rN(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function rD(e){var t;return null==(t=(rO(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function rO(e){return!!rR()&&(e instanceof Node||e instanceof rN(e).Node)}function rj(e){return!!rR()&&(e instanceof Element||e instanceof rN(e).Element)}function rL(e){return!!rR()&&(e instanceof HTMLElement||e instanceof rN(e).HTMLElement)}function rM(e){return!(!rR()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof rN(e).ShadowRoot)}function rH(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=r$(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==a&&"contents"!==a}function rF(e){return/^(table|td|th)$/.test(rA(e))}function rq(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let rB=/transform|translate|scale|rotate|perspective|filter/,rU=/paint|layout|strict|content/,rW=e=>!!e&&"none"!==e;function rV(e){let t=rj(e)?r$(e):e;return rW(t.transform)||rW(t.translate)||rW(t.scale)||rW(t.rotate)||rW(t.perspective)||!rz()&&(rW(t.backdropFilter)||rW(t.filter))||rB.test(t.willChange||"")||rU.test(t.contain||"")}function rG(e){let t=rK(e);for(;rL(t)&&!rY(t);){if(rV(t))return t;if(rq(t))break;t=rK(t)}return null}function rz(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function rY(e){return/^(html|body|#document)$/.test(rA(e))}function r$(e){return rN(e).getComputedStyle(e)}function rQ(e){return rj(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rK(e){if("html"===rA(e))return e;let t=e.assignedSlot||e.parentNode||rM(e)&&e.host||rD(e);return rM(t)?t.host:t}function rZ(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let a=function e(t){let r=rK(t);return rY(r)?(t.ownerDocument||t).body:rL(r)&&rH(r)?r:e(r)}(e),i=a===(null==(n=e.ownerDocument)?void 0:n.body),o=rN(a);if(!i)return t.concat(a,rZ(a,[],r));{let e=rX(o);return t.concat(o,o.visualViewport||[],rH(a)?a:[],e&&r?rZ(e):[])}}function rX(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rJ(e){let t=r$(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=rL(e),i=a?e.offsetWidth:r,o=a?e.offsetHeight:n,s=t9(r)!==i||t9(n)!==o;return s&&(r=i,n=o),{width:r,height:n,$:s}}function r1(e){return rj(e)?e:e.contextElement}function r0(e){let t=r1(e);if(!rL(t))return re(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=rJ(t),o=(i?t9(r.width):r.width)/n,s=(i?t9(r.height):r.height)/a;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}let r2=re(0);function r3(e){let t=rN(e);return rz()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:r2}function r5(e,t,r,n){var a;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),o=r1(e),s=re(1);t&&(n?rj(n)&&(s=r0(n)):s=r0(e));let l=(void 0===(a=r)&&(a=!1),n&&a&&n===rN(o))?r3(o):re(0),c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,d=i.width/s.x,h=i.height/s.y;if(o&&n){let e=rN(o),t=rj(n)?rN(n):n,r=e,a=rX(r);for(;a&&t!==r;){let e=r0(a),t=a.getBoundingClientRect(),n=r$(a),i=t.left+(a.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(a.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,h*=e.y,c+=i,u+=o,a=rX(r=rN(a))}}return rm({width:d,height:h,x:c,y:u})}function r4(e,t){let r=rQ(e).scrollLeft;return t?t.left+r:r5(rD(e)).left+r}function r8(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-r4(e,r),y:r.top+t.scrollTop}}function r6(e,t,r){var n;let a;if("viewport"===t||"layoutViewport"===t)a=function(e,t,r){void 0===r&&(r="viewport");
1let n="layoutViewport"===r,a=rN(e),i=rD(e),o=a.visualViewport,s=i.clientWidth,l=i.clientHeight,c=0,u=0;if(o){let e=!rz()||"fixed"===t;n?e||(c=-o.offsetLeft,u=-o.offsetTop):(s=o.width,l=o.height,e&&(c=o.offsetLeft,u=o.offsetTop))}if(0>=r4(i)){let e=i.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(i.clientWidth-t.clientWidth-n),o="stable both-edges"===getComputedStyle(i).scrollbarGutter?a/2:a;o<=25&&(s-=o)}return{width:s,height:l,x:c,y:u}}(e,r,t);else if("document"===t){let t,r,i,o,s,l;t=rQ(n=rD(e)),r=n.ownerDocument.body,i=t6(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),o=t6(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight),s=-t.scrollLeft+r4(n),l=-t.scrollTop,"rtl"===r$(r).direction&&(s+=t6(n.clientWidth,r.clientWidth)-i),a={width:i,height:o,x:s,y:l}}else if(rj(t)){let e,n,i,o,s,l;n=(e=r5(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,o=r0(t),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a={width:s,height:l,x:i*o.x,y:n*o.y}}else{let r=r3(e);a={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return rm(a)}function r9(e){return"static"===r$(e).position}function r7(e,t){if(!rL(e)||"fixed"===r$(e).position)return null;if(t)return t(e);let r=e.offsetParent;return rD(e)===r&&(r=r.ownerDocument.body),r}function ne(e,t){let r=rN(e);if(rq(e))return r;if(!rL(e)){let t=rK(e);for(;t&&!rY(t);){if(rj(t)&&!r9(t))return t;t=rK(t)}return r}let n=r7(e,t);for(;n&&rF(n)&&r9(n);)n=r7(n,t);return n&&rY(n)&&r9(n)&&!rV(n)?r:n||rG(e)||r}let nt=async function(e){let t=this.getOffsetParent||ne,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=rL(t),a=rD(t),i="fixed"===r,o=r5(e,!0,i,t),s={scrollLeft:0,scrollTop:0},l=re(0);if((n||!i)&&(("body"!==rA(t)||rH(a))&&(s=rQ(t)),n)){let e=r5(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}!n&&a&&(l.x=r4(a));let c=!a||n||i?re(0):r8(a,s);return{x:o.left+s.scrollLeft-l.x-c.x,y:o.top+s.scrollTop-l.y-c.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},nr={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i="fixed"===a,o=rD(n),s=!!t&&rq(t.floating);if(n===o||s&&i)return r;let l={scrollLeft:0,scrollTop:0},c=re(1),u=re(0),d=rL(n);if((d||!i)&&(("body"!==rA(n)||rH(o))&&(l=rQ(n)),d)){let e=r5(n);c=r0(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}let h=!o||d||i?re(0):r8(o,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:r.y*c.y-l.scrollTop*c.y+u.y+h.y}},getDocumentElement:rD,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,i=[..."clippingAncestors"===r?rq(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=rZ(e,[],!1).filter(e=>rj(e)&&"body"!==rA(e)),a=null,i="fixed"===r$(e).position,o=i?rK(e):e;for(;rj(o)&&!rY(o);){let e=r$(o),t=rV(o),r=a?a.position:i?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?a=e:n=n.filter(e=>e!==o),o=rK(o)}return t.set(e,n),n}(t,this._c):[].concat(r),n],o=r6(t,i[0],a),s=o.top,l=o.right,c=o.bottom,u=o.left;for(let e=1;e<i.length;e++){let r=r6(t,i[e],a);s=t6(r.top,s),l=t8(r.right,l),c=t8(r.bottom,c),u=t6(r.left,u)}return{width:l-u,height:c-s,x:u,y:s}},getOffsetParent:ne,getElementRects:nt,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:r}=rJ(e);return{width:t,height:r}},getScale:r0,isElement:rj,isRTL:function(e){return"rtl"===r$(e).direction}};function nn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var na="u">typeof document?k.useLayoutEffect:function(){};function ni(e,t){let r,n,a;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!ni(e[n],t[n]))return!1;return!0}if((r=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,a[n]))return!1;for(n=r;0!=n--;){let r=a[n];if(("_owner"!==r||!e.$$typeof)&&!ni(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function no(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ns(e,t){let r=no(e);return Math.round(t*r)/r}function nl(e){let t=k.useRef(e);return na(()=>{t.current=e}),t}var nc=Object.defineProperty,nu=k.forwardRef(nc(function(e,t){let{children:r,width:n=10,height:a=5,...i}=e;return(0,C.jsx)(tl.svg,{...i,ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,C.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0}));
1function nd(e){let[t,r]=k.useState(void 0);return eV(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,a;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,a=t.blockSize}else n=e.offsetWidth,a=e.offsetHeight;r({width:n,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(0,Object.defineProperty)(nd,"name",{value:"useSize",configurable:!0});var nh=Object.defineProperty,np=(e,t)=>nh(e,"name",{value:t,configurable:!0}),nf="Popper",[nm,ng]=eU(nf),[nv,ny]=nm(nf),nb=np(e=>{let{__scopePopper:t,children:r}=e,[n,a]=k.useState(null),[i,o]=k.useState(void 0);return(0,C.jsx)(nv,{scope:t,anchor:n,onAnchorChange:a,placementState:i,setPlacementState:o,children:r})},"Popper"),nx=k.forwardRef(np(function(e,t){let{__scopePopper:r,virtualRef:n,...a}=e,i=ny("PopperAnchor",r),o=k.useRef(null),s=i.onAnchorChange,l=eF(t,k.useCallback(e=>{o.current=e,e&&s(e)},[s])),c=k.useRef(null);k.useEffect(()=>{if(!n)return;let e=c.current;c.current=n.current,e!==c.current&&s(c.current)});let u=i.placementState&&n_(i.placementState),d=u?.[0],h=u?.[1];return n?null:(0,C.jsx)(tl.div,{"data-radix-popper-side":d,"data-radix-popper-align":h,...a,ref:l})},"PopperAnchor")),nT="PopperContent",[nE,nC]=nm(nT),nw=k.forwardRef(np(function(e,t){var r,n,a,i,o,s,l;let c,u,d,h,p,f,{__scopePopper:m,side:g="bottom",sideOffset:v=0,align:y="center",alignOffset:b=0,arrowPadding:x=0,avoidCollisions:T=!0,collisionBoundary:E=[],collisionPadding:w=0,sticky:S="partial",hideWhenDetached:I=!1,updatePositionStrategy:P="optimized",onPlaced:_,...R}=e,A=ny(nT,m),[N,D]=k.useState(null),O=eF(t,D),[j,L]=k.useState(null),M=nd(j),H=M?.width??0,F=M?.height??0,q="number"==typeof w?w:{top:0,right:0,bottom:0,left:0,...w},B=Array.isArray(E)?E:[E],U=B.length>0,W={padding:q,boundary:B.filter(nI),altBoundary:U},{refs:V,floatingStyles:G,placement:z,isPositioned:Y,middlewareData:$}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:i,floating:o}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[u,d]=k.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=k.useState(n);ni(h,n)||p(n);let[f,m]=k.useState(null),[g,v]=k.useState(null),y=k.useCallback(e=>{e!==E.current&&(E.current=e,m(e))},[]),b=k.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),x=i||f,T=o||g,E=k.useRef(null),C=k.useRef(null),w=k.useRef(u),S=null!=l,I=nl(l),P=nl(a),_=nl(c),R=k.useCallback(()=>{var e,n;let a,i,o;if(!E.current||!C.current)return;let s={placement:t,strategy:r,middleware:h};P.current&&(s.platform=P.current),(e=E.current,n=C.current,a=new Map,i=null!=s?s:{},o={...nr,...i.platform,_c:a},ry(e,n,{...i,platform:o})).then(e=>{let t={...e,isPositioned:!1!==_.current};A.current&&!ni(w.current,t)&&(w.current=t,e2.flushSync(()=>{d(t)}))})},[h,t,r,P,_]);na(()=>{!1===c&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let A=k.useRef(!1);na(()=>(A.current=!0,()=>{A.current=!1}),[]),na(()=>{if(x&&(E.current=x),T&&(C.current=T),x&&T){if(I.current)return I.current(x,T,R);R()}},[x,T,R,I,S]);let N=k.useMemo(()=>({reference:E,floating:C,setReference:y,setFloating:b}),[y,b]),D=k.useMemo(()=>({reference:x,floating:T}),[x,T]),O=k.useMemo(()=>{let e={position:r,left:0,top:0};if(!D.floating)return e;let t=ns(D.floating,u.x),n=ns(D.floating,u.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...no(D.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,D.floating,u.x,u.y]);return k.useMemo(()=>({...u,update:R,refs:N,elements:D,floatingStyles:O}),[u,R,N,D,O])}({strategy:"fixed",placement:g+("center"!==y?"-"+y:""),whileElementsMounted:np((...e)=>(function(e,t,r,n){let a;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,u=r1(e),d=i||o?[...u?rZ(u):[],...t?rZ(t):[]]:[];d.forEach(e=>{i&&e.addEventListener("scroll",r),o&&e.addEventListener("resize",r)});let h=u&&l?function(e,t,r){let n,a=null,i=rD(e);function o(){var e;clearTimeout(n),null==(e=a)||e.disconnect(),a=null}function s(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),o();let c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:p}=c;if(r||t(),!h||!p)return;
1let f={rootMargin:-t7(d)+"px "+-t7(i.clientWidth-(u+h))+"px "+-t7(i.clientHeight-(d+p))+"px "+-t7(u)+"px",threshold:t6(0,t8(1,l))||1},m=!0;function g(t){let r=t[0].intersectionRatio;if(!nn(c,e.getBoundingClientRect()))return s();if(r!==l){if(!m)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}m=!1}try{a=new IntersectionObserver(g,{...f,root:i.ownerDocument})}catch(e){a=new IntersectionObserver(g,f)}a.observe(e)}let l=rN(e),c=()=>s(r);return l.addEventListener("resize",c),s(!0),()=>{l.removeEventListener("resize",c),o()}}(u,r,o):null,p=-1,f=null;s&&(f=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&f&&t&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),r()}),u&&!c&&f.observe(u),t&&f.observe(t));let m=c?r5(e):null;return c&&function t(){let n=r5(e);m&&!nn(m,n)&&r(),m=n,a=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(a)}})(...e,{animationFrame:"always"===P}),"whileElementsMounted"),elements:{reference:A.anchor},middleware:[{name:(c=rS(r={mainAxis:v+F,alignmentAxis:b})).name,fn:c.fn,options:[r,void 0]},T&&{name:(u=rI(n={mainAxis:!0,crossAxis:!1,limiter:"partial"===S?{fn:rP(void 0).fn,options:[void 0,void 0]}:void 0,...W})).name,fn:u.fn,options:[n,void 0]},T&&{name:(d=rx(a={...W})).name,fn:d.fn,options:[a,void 0]},{name:(h=r_(i={...W,apply:np(({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:a,height:i}=t.reference,o=e.floating.style;o.setProperty("--radix-popper-available-width",`${r}px`),o.setProperty("--radix-popper-available-height",`${n}px`),o.setProperty("--radix-popper-anchor-width",`${a}px`),o.setProperty("--radix-popper-anchor-height",`${i}px`)},"apply")})).name,fn:h.fn,options:[i,void 0]},j&&{name:(p={name:"arrow",options:s=o={element:j,padding:x},fn(e){let{element:t,padding:r}="function"==typeof s?s(e):s;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?rb({element:t.current,padding:r}).fn(e):{}:t?rb({element:t,padding:r}).fn(e):{}}}).name,fn:p.fn,options:[o,void 0]},nP({arrowWidth:H,arrowHeight:F}),I&&{name:(f=rC(l={strategy:"referenceHidden",...W,boundary:U?W.boundary:void 0})).name,fn:f.fn,options:[l,void 0]}]}),Q=A.setPlacementState;eV(()=>(Q(z),()=>{Q(void 0)}),[z,Q]);let[K,Z]=n_(z),X=tk(_);eV(()=>{Y&&X?.()},[Y,X]);let J=$.arrow?.x,ee=$.arrow?.y,et=$.arrow?.centerOffset!==0,[er,en]=k.useState();return eV(()=>{N&&en(window.getComputedStyle(N).zIndex)},[N]),(0,C.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:Y?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:er,"--radix-popper-transform-origin":[$.transformOrigin?.x,$.transformOrigin?.y].join(" "),...$.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,C.jsx)(nE,{scope:m,placedSide:K,placedAlign:Z,onArrowChange:L,arrowX:J,arrowY:ee,shouldHideArrow:et,children:(0,C.jsx)(tl.div,{"data-side":K,"data-align":Z,...R,ref:O,style:{...R.style,animation:Y?R.style?.animation:"none"}})})})},"PopperContent")),nk={top:"bottom",right:"left",bottom:"top",left:"right"},nS=k.forwardRef(np(function(e,t){let{__scopePopper:r,...n}=e,a=nC("PopperArrow",r),i=nk[a.placedSide];return(0,C.jsx)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:(0,C.jsx)(nu,{...n,ref:t,style:{...n.style,display:"block"}})})},"PopperArrow"));function nI(e){return null!==e}np(nI,"isNotNull");var nP=np(e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:a}=t,i=a.arrow?.centerOffset!==0,o=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,c]=n_(r),u={start:"0%",center:"50%",end:"100%"}[c],d=(a.arrow?.x??0)+o/2,h=(a.arrow?.y??0)+s/2,p="",f="";return"bottom"===l?(p=i?u:`${d}px`,f=`${-s}px`):"top"===l?(p=i?u:`${d}px`,f=`${n.floating.height+s}px`):"right"===l?(p=`${-s}px`,f=i?u:`${h}px`):"left"===l&&(p=`${n.floating.width+s}px`,f=i?u:`${h}px`),{data:{x:p,y:f}}}}),"transformOrigin");function n_(e){let[t,r="center"]=e.split("-");return[t,r]}np(n_,"getSideAndAlignFromPlacement");var nR=Object.defineProperty,nA=k.forwardRef(nR(function(e,t){let{c
1ontainer:r,...n}=e,[a,i]=k.useState(!1);eV(()=>i(!0),[]);let o=r||a&&globalThis?.document?.body;return o?e2.createPortal((0,C.jsx)(tl.div,{...n,ref:t}),o):null},"name",{value:"Portal",configurable:!0})),nN=Object.defineProperty,nD=(e,t)=>nN(e,"name",{value:t,configurable:!0});function nO(e,t){return k.useReducer((e,r)=>t[e][r]??e,e)}nD(nO,"useStateMachine");var nj=nD(e=>{let{present:t,children:r}=e,n=nL(t),a="function"==typeof r?r({present:n.isPresent}):k.Children.only(r),i=nH(n.ref,nq(a));return"function"==typeof r||n.isPresent?k.cloneElement(a,{ref:i}):null},"Presence");function nL(e){let[t,r]=k.useState(),n=k.useRef(null),a=k.useRef(e),i=k.useRef("none"),o=k.useRef(void 0),[s,l]=nO(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{"mounted"===s?(i.current=o.current??nF(n.current),o.current=void 0):i.current="none"},[s]),eV(()=>{let t=n.current,r=a.current;if(r!==e){let n=i.current,s=nF(t);e?(o.current=s,l("MOUNT")):"none"===s||t?.display==="none"?l("UNMOUNT"):r&&n!==s?l("ANIMATION_OUT"):l("UNMOUNT"),a.current=e}},[e,l]),eV(()=>{if(t){let e,r=t.ownerDocument.defaultView??window,o=nD(i=>{let o=nF(n.current).includes(CSS.escape(i.animationName));if(i.target===t&&o&&(l("ANIMATION_END"),!a.current)){let n=t.style.animationFillMode;t.style.animationFillMode="forwards",e=r.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=n)})}},"handleAnimationEnd"),s=nD(e=>{e.target===t&&(i.current=nF(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",o),t.addEventListener("animationend",o),()=>{r.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",o),t.removeEventListener("animationend",o)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:k.useCallback(e=>{if(e){let t=getComputedStyle(e);n.current=t,o.current=nF(t)}else n.current=null;r(e)},[])}}function nM(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function nH(...e){let t=k.useRef(e);return t.current=e,k.useCallback(e=>{let r=t.current,n=!1,a=r.map(t=>{let r=nM(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<a.length;e++){let t=a[e];"function"==typeof t?t():nM(r[e],null)}}},[])}function nF(e){return e?.animationName||"none"}function nq(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}nD(nL,"usePresence"),nD(nM,"setRef"),nD(nH,"useStableComposedRefs"),nD(nF,"getAnimationName"),nD(nq,"getElementRef");var nB=Object.defineProperty,nU=S[" useId ".trim().toString()]||(()=>void 0),nW=0;function nV(e){let[t,r]=k.useState(nU());return eV(()=>{e||r(e=>e??String(nW++))},[e]),e||(t?`radix-${t}`:"")}nB(nV,"name",{value:"useId",configurable:!0});var nG=Object.defineProperty,nz=(e,t)=>nG(e,"name",{value:t,configurable:!0}),nY=!1;function n$(){let[e,t]=k.useState(nY);return k.useEffect(()=>{nY||(nY=!0,t(!0))},[]),e}nz(n$,"useIsHydrated");var nQ=S[" useSyncExternalStore ".trim().toString()];function nK(){return()=>{}}function nZ(){return nQ(nK,()=>!0,()=>!1)}nz(nK,"subscribe"),nz(nZ,"useIsHydratedModern");var nX="function"==typeof nQ?nZ:n$,nJ=Object.defineProperty,n1=(e,t)=>nJ(e,"name",{value:t,configurable:!0}),n0="rovingFocusGroup.onEntryFocus",n2={bubbles:!1,cancelable:!0},n3="RovingFocusGroup",[n5,n4,n8]=th(n3),[n6,n9]=eU(n3,[n8]),[n7,ae]=n6(n3),at=k.forwardRef(n1(function(e,t){return(0,C.jsx)(n5.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,C.jsx)(n5.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,C.jsx)(ar,{...e,ref:t})})})},"RovingFocusGroup")),ar=k.forwardRef(n1(function(e,t){let{__scopeRovingFocusGroup:r,orientation:n,loop:a=!1,dir:i,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...d}=e,h=k.useRef(null),p=eF(t,h),f=tw(i),[m,g]=eX({prop:o,defaultProp:s??null,onChange:l,caller:n3}),[v,y]=k.useState(!1),b=tk(c),x=n4(r),T=k.useRef(!1),[E,w]=k.useState(0);return k.useEffect(()=>{let e=h.current;if(e)return e.addEventListener(n0,b),()=>e.removeEventListener(n0,b)},[b]),(0,C.jsx)(n7,{scope:r,orientation:n,dir:f,loop:a,currentTabStopId:m,onItemFocus:k.useCallback(e=>g(e),[g]),onItemShiftTab:k.useCallback(()=>y(!0),[]),onFocusableItemAdd:k.useCallback(()=>w(e=>e+1),[]),onFocusableItemRemove:k.useCallback(()=>w(e=>e-1),[]),children:(0,C.jsx)(tl.div,{tabIndex:v||0===E?-1:0,"data-orientation":n,...d,ref:p,style:{outline:"none",...e.style},onMouseDown:eN(e.onMouseDown,()=>{T.current=!0}),onFocus:eN(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!v){let t=new CustomEvent(n0,n2);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=x().filter(e=>
1e.focusable);as([e.find(e=>e.active),e.find(e=>e.id===m),...e].filter(Boolean).map(e=>e.ref.current),u)}}T.current=!1}),onBlur:eN(e.onBlur,()=>y(!1))})})},"RovingFocusGroupImpl")),an=k.forwardRef(n1(function(e,t){let{__scopeRovingFocusGroup:r,focusable:n=!0,active:a=!1,tabStopId:i,children:o,...s}=e,l=nV(),c=i||l,u=ae("RovingFocusGroupItem",r),d=u.currentTabStopId===c,h=n4(r),{onFocusableItemAdd:p,onFocusableItemRemove:f,currentTabStopId:m}=u,g=nX();return eV(()=>{if(g&&n)return p(),()=>f()},[g,n,p,f]),k.useEffect(()=>{if(!g&&n)return p(),()=>f()},[g,n,p,f]),(0,C.jsx)(n5.ItemSlot,{scope:r,id:c,focusable:n,active:a,children:(0,C.jsx)(tl.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:eN(e.onMouseDown,e=>{n?u.onItemFocus(c):e.preventDefault()}),onFocus:eN(e.onFocus,()=>u.onItemFocus(c)),onKeyDown:eN(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void u.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=ao(e,u.orientation,u.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=h().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=u.loop?al(r,n+1):r.slice(n+1)}setTimeout(()=>as(r))}}),children:"function"==typeof o?o({isCurrentTabStop:d,hasTabStop:null!=m}):o})})},"RovingFocusGroupItem")),aa={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ai(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function ao(e,t,r){let n=ai(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return aa[n]}function as(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function al(e,t){return e.map((r,n)=>e[(t+n)%e.length])}n1(ai,"getDirectionAwareKey"),n1(ao,"getFocusIntent"),n1(as,"focu
1sFirst"),n1(al,"wrapArray");var ac=new WeakMap,au=new WeakMap,ad={},ah=0,ap=function(e){return e&&(e.host||ap(e.parentNode))},af=function(e,t,r,n){var a=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=ap(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});ad[r]||(ad[r]=new WeakMap);var i=ad[r],o=[],s=new Set,l=new Set(a),c=function(e){!e||s.has(e)||(s.add(e),c(e.parentNode))};a.forEach(c);var u=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(n),a=null!==t&&"false"!==t,l=(ac.get(e)||0)+1,c=(i.get(e)||0)+1;ac.set(e,l),i.set(e,c),o.push(e),1===l&&a&&au.set(e,!0),1===c&&e.setAttribute(r,"true"),a||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),ah++,function(){o.forEach(function(e){var t=ac.get(e)-1,a=i.get(e)-1;ac.set(e,t),i.set(e,a),t||(au.has(e)||e.removeAttribute(n),au.delete(e)),a||e.removeAttribute(r)}),--ah||(ac=new WeakMap,ac=new WeakMap,au=new WeakMap,ad={})}},am=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live], script"))),af(n,a,r,"aria-hidden")):function(){return null}},ag=function(){return(ag=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function av(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}var ay=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),ab="width-before-scroll-bar";function ax(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var aT="u">typeof window?k.useLayoutEffect:k.useEffect,aE=new WeakMap,aC=(void 0===s&&(s={}),(void 0===l&&(l=function(e){return e}),c=[],u=!1,d={read:function(){if(u)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return c.length?c[c.length-1]:null},useMedium:function(e){var t=l(e,u);return c.push(t),function(){c=c.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(u=!0;c.length;){var t=c;c=[],t.forEach(e)}c={push:function(t){return e(t)},filter:function(){return c}}},assignMedium:function(e){u=!0;var t=[];if(c.length){var r=c;c=[],r.forEach(e),t=c}var n=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(n)};a(),c={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),c}}}}).options=ag({async:!0,ssr:!1},s),d),aw=function(){},ak=k.forwardRef(function(e,t){var r,n,a,i,o=k.useRef(null),s=k.useState({onScrollCapture:aw,onWheelCapture:aw,onTouchMoveCapture:aw}),l=s[0],c=s[1],u=e.forwardProps,d=e.children,h=e.className,p=e.removeScrollBar,f=e.enabled,m=e.shards,g=e.sideCar,v=e.noRelative,y=e.noIsolation,b=e.inert,x=e.allowPinchZoom,T=e.as,E=e.gapMode,C=av(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=(r=[o,t],n=function(e){return r.forEach(function(t){return ax(t,e)})},(a=(0,k.useState)(function(){return{value:null,callback:n,facade:{get current(){return a.value},set current(value){var e=a.value;e!==value&&(a.value=value,a.callback(value,e))}}}})[0]).callback=n,i=a.facade,aT(function(){var e=aE.get(i);if(e){var t=new Set(e),n=new Set(r),a=i.current;t.forEach(function(e){n.has(e)||ax(e,null)}),n.forEach(function(e){t.has(e)||ax(e,a)})}aE.set(i,r)},[r]),i),S=ag(ag({},C),l);return k.createElement(k.Fragment,null,f&&k.createElement(g,{sideCar:aC,removeScrollBar:p,shards:m,noRelative:v,noIsolation:y,inert:b,setCallbacks:c,allowPinchZoom:!!x,lockRef:o,gapMode:E}),u?k.cloneElement(k.Children.only(d),ag(ag({},S),{ref:w})):k.createElement(void 0===T?"div":T,ag({},S,{className:h,ref:w}),d))});ak.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ak.classNames={fullWidth:ab,zeroRight:ay};var aS=function(e){var t=e.sideCar,r=av(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return k.createElement(n,ag({},r))};
1aS.isSideCarExport=!0;var aI=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=x||r.nc;return t&&e.setAttribute("nonce",t),e}())){var a,i;(a=t).styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},aP=function(){var e=aI();return function(t,r){k.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},a_=function(){var e=aP();return function(t){return e(t.styles,t.dynamic),null}},aR={left:0,top:0,right:0,gap:0},aA=function(e){return parseInt(e||"",10)||0},aN=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[aA(r),aA(n),aA(a)]},aD=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return aR;var t=aN(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},aO=a_(),aj="data-scroll-locked",aL=function(e,t,r,n){var a=e.left,i=e.top,o=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body[").concat(aj,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(a,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(o,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(ay," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(ab," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(ay," .").concat(ay," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(ab," .").concat(ab," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(aj,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},aM=function(){var e=parseInt(document.body.getAttribute(aj)||"0",10);return isFinite(e)?e:0},aH=function(){k.useEffect(function(){return document.body.setAttribute(aj,(aM()+1).toString()),function(){var e=aM()-1;e<=0?document.body.removeAttribute(aj):document.body.setAttribute(aj,e.toString())}},[])},aF=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=void 0===n?"margin":n;aH();var i=k.useMemo(function(){return aD(a)},[a]);return k.createElement(aO,{styles:aL(i,!t,a,r?"":"!important")})},aq=!1;if("u">typeof window)try{var aB=Object.defineProperty({},"passive",{get:function(){return aq=!0,!0}});window.addEventListener("test",aB,aB),window.removeEventListener("test",aB,aB)}catch(e){aq=!1}var aU=!!aq&&{passive:!1},aW=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},aV=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),aG(e,n)){var a=az(e,n);if(a[1]>a[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},aG=function(e,t){return"v"===e?aW(t,"overflowY"):aW(t,"overflowX")},az=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},aY=function(e,t,r,n,a){var i,o=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=o*n,l=r.target,c=t.contains(l),u=!1,d=s>0,h=0,p=0;do{if(!l)break;var f=az(e,l),m=f[0],g=f[1]-f[2]-o*m;(m||g)&&aG(e,l)&&(h+=g,p+=m);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return d&&(a&&1>Math.abs(h)||!a&&s>h)?u=!0:!d&&(a&&1>Math.abs(p)||!a&&-s>p)&&(u=!0),u},a$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},aQ=function(e){return[e.deltaX,e.deltaY]},aK=function(e){return e&&"current"in e?e.current:e},aZ=0,aX=[];let aJ=(h=function(e){var t=k.useRef([]),r=k.useRef([0,0]),n=k.useRef(),a=k.useState(aZ++)[0],i=k.useState(a_)[0],o=k.useRef(e);k.useEffect(function(){o.current=e},[e]),k.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}
1)([e.lockRef.current],(e.shards||[]).map(aK),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=k.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var a,i=a$(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-i[0],c="deltaY"in e?e.deltaY:s[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var h=window.getSelection(),p=h&&h.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var f=aV(d,u);if(!f)return!0;if(f?a=d:(a="v"===d?"h":"v",f=aV(d,u)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||c)&&(n.current=a),!a)return!0;var m=n.current||a;return aY(m,t,e,"h"===m?l:c,!0)},[]),l=k.useCallback(function(e){if(aX.length&&aX[aX.length-1]===i){var r="deltaY"in e?aQ(e):a$(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var a=(o.current.shards||[]).map(aK).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?s(e,a[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=k.useCallback(function(e,r,n,a){var i={name:e,delta:r,target:n,should:a,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=k.useCallback(function(e){r.current=a$(e),n.current=void 0},[]),d=k.useCallback(function(t){c(t.type,aQ(t),t.target,s(t,e.lockRef.current))},[]),h=k.useCallback(function(t){c(t.type,a$(t),t.target,s(t,e.lockRef.current))},[]);k.useEffect(function(){return aX.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,aU),document.addEventListener("touchmove",l,aU),document.addEventListener("touchstart",u,aU),function(){aX=aX.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,aU),document.removeEventListener("touchmove",l,aU),document.removeEventListener("touchstart",u,aU)}},[]);var p=e.removeScrollBar,f=e.inert;return k.createElement(k.Fragment,null,f?k.createElement(i,{styles:"\n  .block-interactivity-".concat(a," {pointer-events: none;}\n  .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,p?k.createElement(aF,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},aC.useMedium(h),aS);var a1=k.forwardRef(function(e,t){return k.createElement(ak,ag({},e,{ref:t,sideCar:aJ}))});a1.classNames=ak.classNames;var a0=Object.defineProperty,a2=(e,t)=>
1a0(e,"name",{value:t,configurable:!0}),a3=["Enter"," "],a5=["ArrowUp","PageDown","End"],a4=["ArrowDown","PageUp","Home",...a5];[...a3],[...a3];var a8="Menu",[a6,a9,a7]=th(a8),[ie,it]=eU(a8,[a7,ng,n9]),ir=ng(),ia=n9(),[ii,io]=ie(a8),[is,il]=ie(a8),ic=a2(e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:a,onOpenChange:i,modal:o=!0}=e,s=ir(t),[l,c]=k.useState(null),u=k.useRef(!1),d=tk(i),h=tw(a);return k.useEffect(()=>{let e=a2(()=>{u.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},"handleKeyDown"),t=a2(()=>u.current=!1,"handlePointer");return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),k.useEffect(()=>{if(!r)return;let e=a2(()=>d(!1),"handleBlur");return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[r,d]),(0,C.jsx)(nb,{...s,children:(0,C.jsx)(ii,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:c,children:(0,C.jsx)(is,{scope:t,onClose:k.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:h,modal:o,children:n})})})},"Menu"),iu=k.forwardRef(a2(function(e,t){let{__scopeMenu:r,...n}=e,a=ir(r);return(0,C.jsx)(nx,{...a,...n,ref:t})},"MenuAnchor")),id="MenuPortal",[ih,ip]=ie(id,{forceMount:void 0}),im=a2(e=>{let{__scopeMenu:t,forceMount:r,children:n,container:a}=e,i=io(id,t);return(0,C.jsx)(ih,{scope:t,forceMount:r,children:(0,C.jsx)(nj,{present:r||i.open,children:(0,C.jsx)(nA,{asChild:!0,container:a,children:n})})})},"MenuPortal"),ig="MenuContent",[iv,iy]=ie(ig),ib=k.forwardRef(a2(function(e,t){let r=ip(ig,e.__scopeMenu),{forceMount:n=r.forceMount,...a}=e,i=io(ig,e.__scopeMenu),o=il(ig,e.__scopeMenu);return(0,C.jsx)(a6.Provider,{scope:e.__scopeMenu,children:(0,C.jsx)(nj,{present:n||i.open,children:(0,C.jsx)(a6.Slot,{scope:e.__scopeMenu,children:o.modal?(0,C.jsx)(ix,{...a,ref:t}):(0,C.jsx)(iT,{...a,ref:t})})})})},"MenuContent")),ix=k.forwardRef(a2(function(e,t){let r=io(ig,e.__scopeMenu),n=k.useRef(null),a=eF(t,n);return k.useEffect(()=>{let e=n.current;if(e)return am(e)},[]),(0,C.jsx)(iC,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:eN(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})},"MenuRootContentModal")),iT=k.forwardRef(a2(function(e,t){let r=io(ig,e.__scopeMenu);return(0,C.jsx)(iC,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})},"MenuRootContentNonModal")),iE=e4("MenuContent.ScrollLock"),iC=k.forwardRef(a2(function(e,t){let{__scopeMenu:r,loop:n=!1,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:p,disableOutsideScroll:f,...m}=e,g=io(ig,r),v=il(ig,r),y=ir(r),b=ia(r),x=a9(r),[T,E]=k.useState(null),w=k.useRef(null),S=eF(t,w,g.onContentChange),I=k.useRef(0),P=k.useRef(""),_=k.useRef(0),R=k.useRef(null),A=k.useRef("right"),N=k.useRef(0),D=f?a1:k.Fragment,O=a2(e=>{let t=P.current+e,r=x().filter(e=>!e.disabled),n=document.activeElement,a=r.find(e=>e.ref.current===n)?.textValue,i=iH(r.map(e=>e.textValue),t,a),o=r.find(e=>e.textValue===i)?.ref.current;o&&setTimeout(()=>o.focus())},"handleTypeaheadSearch");k.useEffect(()=>()=>window.clearTimeout(I.current),[]),tq();let j=k.useCallback(e=>A.current===R.current?.side&&iq(e,R.current?.area),[]);return(0,C.jsx)(iv,{scope:r,searchRef:P,onItemEnter:k.useCallback(e=>{j(e)&&e.preventDefault()},[j]),onItemLeave:k.useCallback(e=>{j(e)||(w.current?.focus(),E(null))},[j]),onTriggerLeave:k.useCallback(e=>{j(e)&&e.preventDefault()},[j]),pointerGraceTimerRef:_,onPointerGraceIntentChange:k.useCallback(e=>{R.current=e},[]),children:(0,C.jsx)(D,{...f?{as:iE,allowPinchZoom:!0}:void 0,children:(0,C.jsx)(tY,{asChild:!0,trapped:a,onMountAutoFocus:eN(i,e=>{e.preventDefault(),w.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:(0,C.jsx)(tR,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:p,children:(0,C.jsx)(at,{asChild:!0,...b,dir:v.dir,orientation:"vertical",loop:n,currentTabStopId:T,onCurrentTabStopIdChange:E,onEntryFocus:eN(l,e=>{v.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,C.jsx)(nw,{role:"menu","aria-orientation":"vertical","data-state":iO(g.open),"data-radix-menu-content":"",dir:v.dir,...y,...m,ref:S,style:{outline:"none",...m.style},onKeyDown:eN(m.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.ke
1y.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&O(e.key));let a=w.current;if(e.target!==a||!a4.includes(e.key))return;e.preventDefault();let i=x().filter(e=>!e.disabled).map(e=>e.ref.current);a5.includes(e.key)&&i.reverse(),iL(i)}),onBlur:eN(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(I.current),P.current="")}),onPointerMove:eN(e.onPointerMove,iB(e=>{let t=e.target,r=N.current!==e.clientX;e.currentTarget.contains(t)&&r&&(A.current=e.clientX>N.current?"right":"left",N.current=e.clientX)}))})})})})})})},"MenuContentImpl")),iw="MenuItem",ik="menu.itemSelect",iS=k.forwardRef(a2(function(e,t){let{disabled:r=!1,onSelect:n,...a}=e,i=k.useRef(null),o=il(iw,e.__scopeMenu),s=iy(iw,e.__scopeMenu),l=eF(t,i),c=k.useRef(!1),u=a2(()=>{let e=i.current;if(!r&&e){let t=new CustomEvent(ik,{bubbles:!0,cancelable:!0});e.addEventListener(ik,e=>n?.(e),{once:!0}),tc(e,t),t.defaultPrevented?c.current=!1:o.onClose()}},"handleSelect");return(0,C.jsx)(iI,{...a,ref:l,disabled:r,onClick:eN(e.onClick,u),onPointerDown:t=>{e.onPointerDown?.(t),c.current=!0},onPointerUp:eN(e.onPointerUp,e=>{c.current||e.currentTarget?.click()}),onKeyDown:eN(e.onKeyDown,e=>{r||e.target!==e.currentTarget||(""===s.searchRef.current||" "!==e.key)&&a3.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})},"MenuItem")),iI=k.forwardRef(a2(function(e,t){let{__scopeMenu:r,disabled:n=!1,textValue:a,...i}=e,o=iy(iw,r),s=ia(r),l=k.useRef(null),c=eF(t,l),[u,d]=k.useState(!1),[h,p]=k.useState("");return k.useEffect(()=>{let e=l.current;e&&p((e.textContent??"").trim())},[i.children]),(0,C.jsx)(a6.ItemSlot,{scope:r,disabled:n,textValue:a??h,children:(0,C.jsx)(an,{asChild:!0,...s,focusable:!n,children:(0,C.jsx)(tl.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...i,ref:c,onPointerMove:eN(e.onPointerMove,iB(e=>{n?o.onItemLeave(e):(o.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:eN(e.onPointerLeave,iB(e=>o.onItemLeave(e))),onFocus:eN(e.onFocus,()=>d(!0)),onBlur:eN(e.onBlur,()=>d(!1))})})})},"MenuItemImpl")),[iP,i_]=ie("MenuRadioGroup",{value:void 0,onValueChange:a2(()=>{},"onValueChange")}),[iR,iA]=ie("MenuItemIndicator",{checked:!1}),[iN,iD]=ie("MenuSub");function iO(e){return e?"open":"closed"}function ij(e){return"indeterminate"===e}function iL(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function iM(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function iH(e,t,r){let n=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=r?e.indexOf(r):-1,i=iM(e,Math.max(a,0));1===n.length&&(i=i.filter(e=>e!==r));let o=i.find(e=>e.toLowerCase().startsWith(n.toLowerCase()));return o!==r?o:void 0}function iF(e,t){let{x:r,y:n}=e,a=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let o=t[e],s=t[i],l=o.x,c=o.y,u=s.x,d=s.y;c>n!=d>n&&r<(u-l)*(n-c)/(d-c)+l&&(a=!a)}return a}function iq(e,t){return!!t&&iF({x:e.clientX,y:e.clientY},t)}function iB(e){return t=>"mouse"===t.pointerType?e(t):void 0}a2(iO,"getOpenState"),a2(ij,"isIndeterminate"),a2(function(e){return ij(e)?"indeterminate":e?"checked":"unchecked"},"getCheckedState"),a2(iL,"focusFirst"),a2(iM,"wrapArray"),a2(iH,"getNextMatch"),a2(iF,"isPointInPolygon"),a2(iq,"isPointerInGraceArea"),a2(iB,"whenMouse");var iU=Object.defineProperty,iW=(e,t)=>iU(e,"name",{value:t,configurable:!0}),iV="DropdownMenu",[iG,iz]=eU(iV,[it]),iY=it(),[i$,iQ]=iG(iV),iK=iW(e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:a,defaultOpen:i,onOpenChange:o,modal:s=!0}=e,l=iY(t),c=k.useRef(null),[u,d]=eX({prop:a,defaultProp:i??!1,onChange:o,caller:iV});return(0,C.jsx)(i$,{scope:t,triggerId:nV(),triggerRef:c,contentId:nV(),open:u,onOpenChange:d,onOpenToggle:k.useCallback(()=>d(e=>!e),[d]),modal:s,children:(0,C.jsx)(ic,{...l,open:u,onOpenChange:d,dir:n,modal:s,children:r})})},"DropdownMenu"),iZ=k.forwardRef(iW(function(e,t){let{__scopeDropdownMenu:r,disabled:n=!1,...a}=e,i=iQ("DropdownMenuTrigger",r),o=iY(r),s=eF(t,i.triggerRef);return(0,C.jsx)(iu,{asChild:!0,...o,children:(0,C.jsx)(tl.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...a,ref:s,onPointerDown:eN(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:eN(e.onKeyDown,e=>
1{!n&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})},"DropdownMenuTrigger")),iX=iW(e=>{let{__scopeDropdownMenu:t,...r}=e,n=iY(t);return(0,C.jsx)(im,{...n,...r})},"DropdownMenuPortal"),iJ=k.forwardRef(iW(function(e,t){let{__scopeDropdownMenu:r,...n}=e,a=iQ("DropdownMenuContent",r),i=iY(r),o=k.useRef(!1);return(0,C.jsx)(ib,{id:a.contentId,"aria-labelledby":a.triggerId,...i,...n,ref:t,onCloseAutoFocus:eN(e.onCloseAutoFocus,e=>{o.current||a.triggerRef.current?.focus(),o.current=!1,e.preventDefault()}),onInteractOutside:eN(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!a.modal||n)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})},"DropdownMenuContent")),i1=k.forwardRef(iW(function(e,t){let{__scopeDropdownMenu:r,...n}=e,a=iY(r);return(0,C.jsx)(iS,{...a,...n,ref:t})},"DropdownMenuItem"));let i0=(0,k.createContext)({}),i2=(0,k.createContext)({}),i3=()=>{let e=(0,k.useContext)(i0),t=(0,k.useContext)(i2);return{isWithinDialog:!!Object.keys(e).length||!!Object.keys(t).length}},i5=()=>()=>{};function i4(){return(0,k.useSyncExternalStore)(i5,()=>!0,()=>!1)}let i8=({testId:e="DotsVerticalFillIcon",...t})=>(0,C.jsxs)(Y,{...t,testId:e,children:[(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12Z",fill:"currentColor"}),(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5C10 3.89543 10.8954 3 12 3C13.1046 3 14 3.89543 14 5C14 6.10457 13.1046 7 12 7C10.8954 7 10 6.10457 10 5Z",fill:"currentColor"}),(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19C10 17.8954 10.8954 17 12 17C13.1046 17 14 17.8954 14 19C14 20.1046 13.1046 21 12 21C10.8954 21 10 20.1046 10 19Z",fill:"currentColor"})]}),i6={xs:"w-[6rem]",sm:"w-[8rem]",md:"w-[13.75rem]",lg:"w-[17.5rem]",xl:"w-[21.25rem]"},i9=({className:e,style:t,testId:r="ContextMenu",items:n,withIcons:a,width:i="md",triggerIcon:o=i8,placement:s="top-right",accessibleMenuLabel:l,analytics:c})=>{let u=i4(),{menuContentSide:d,menuContentAlign:h}=(e=>{let[t,r]=e.split("-");return{menuContentSide:t,menuContentAlign:({left:"start",right:"end"})[r]}})(s),{isWithinDialog:p}=i3(),f=P("context-menu",void 0,c),m=w("w-fit rounded-ds-semi text-[color:var(--actions-fill-colors-action-icon-fill-default)] hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]",e),g=w(ew(),i6[i],"ds-body-text","list-none","border border-[color:var(--generic-stroke-colors-stroke-color-default)]","z-ds-popover","focus-visible:shadow-none",{"ContextMenu-module_transitionInAnimationTopAlign__JTK7-":"top"===d,"ContextMenu-module_transitionInAnimationBottomAlign__U38t7":"bottom"===d}),v=w("w-full px-4 py-3","relative","flex items-center gap-x-3","group","cursor-pointer","first-of-type:rounded-t-ds last-of-type:rounded-b-ds","focus-visible:shadow-none"),y=w("focus:outline-0 focus-visible:outline-0",'focus-visible:[&:not(:hover)]:after:content-[""]',"focus-visible:after:absolute focus-visible:after:inset-0","focus-visible:after:pointer-events-none","focus-visible:after:rounded-ds","focus-visible:[&:not(:hover)]:after:border-2","focus-visible:after:border-[color:var(--actions-stroke-colors-action-stroke-color-focus)]"),b=w("hover:bg-[var(--actions-fill-colors-action-fill-active)] hover:active:bg-[var(--actions-fill-colors-action-fill-active-hover)]","hover:after:!border-none hover:after:!content-none"),x=w("aria-disabled:hover:bg-inherit aria-disabled:hover:active:bg-inherit","aria-disabled:cursor-default aria-disabled:text-[color:var(--actions-stroke-colors-action-stroke-color-disabled)]"),T=w(v,y,b,x),E=w("shrink-0 text-[color:var(--actions-fill-colors-action-icon-fill-default)] hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]","group-aria-disabled:text-[color:var(--actions-stroke-colors-action-stroke-color-disabled)] group-hover:group-aria-disabled:text-[color:var(--actions-stroke-colors-action-stroke-color-disabled)]"),k=(0,C.jsxs)(iJ,{onClick:e=>{e.stopPropagation()},className:g,side:d,align:h,sideOffset:8,alignOffset:-4,collisionPadding:{top:12,left:12},children:[a&&n.map(({icon:e,label:t,disabled:r,action:n})=>(0,C.jsxs)(i1,{className:T,disabled:r,onSelect:n,children:[(0,C.jsx)(e,{size:"md",className:E}),(0,C.jsx)("div",{className:"truncate",children:t})]},t)),!a&&n.map(({label:e,disabled:t,action:r})=>(0,C.jsx)(i1,{className:T,disabled:t,onSelect:r,children:(0,C.jsx)("div",{className:"truncate",children:e})},e))]});return u?(0,C.jsxs)(iK,{modal:!1,children:[(0,C.jsx)(iZ,{asChild:!0,className:m,style:t,"data-testid":r,type:"button",...f,children:(0,C.jsx)("button",{onClick:e=>{e.stopPropagation()},"aria-label":l,children:(0,C.jsx)(o,{size:"lg"})})}),p?k:(0,C.jsx)(iX,{children:k})]}):null},i7=({testId:e="CardMenu",className:t,...r})=>(0,C.jsx)(i9,{...r,testId:e,className:t}),oe=({children:e,centered:t=!1,className:r,style:n,tag:a="p",testId:i="CardTitle"})=>{let{interactive:o,disabled:s,hasNoFooterAndBody:l,hasOnlyTitle:c,visualSelector:u}=(0,k.useContext)(ex),d=w("ds-body-text--compact",{"ds-strong-text":!c,"text-[color:var(--actions-text-colors-action-text-fill-default)]":o&&!s,"text-center":(l||t)&&!u});return(0,C.jsx)("div",{"data-testid":i,className:r,style:n,children:(0,C.jsx)(a,{className:d,children:e})})},ot=({children:e,className:t,style:r,testId:n="CardContent"})=>{let{showContextMenu:a,hasOnlyTitle:i,hasMedia:o,visualSelector:s}=(0,k.useContext)(ex),l=eS(e,oe),c=eS(e,eI),u=eS(e,eP),d=eS(e,i7),h=w("flex grow flex-col gap-5 px-5",{"py-5":!i,"py-4":i},"order-2",t),p=!o&&!!s,f=(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("div",{className:w({"flex grow gap-3":p}),children:[p&&s,(0,C.jsxs)("div",{className:"grow flex flex-col gap-2",children:[l,c]})]}),u]});return(0,C.jsx)("div",{className:h,style:r,"data-testid":n,children:d&&a?(0,C.jsxs)("div",{className:"flex justify-between gap-4",children:[f,(0,C.jsx)("div",{className:"flex h-6 w-6 justify-center",children:d})]}):f})},or=["default","xs","sm","md","lg","xl","2xl","3xl"],on={default:0,...en},oa=({alt:e="",srcSet:t,className:r,style:n,testId:a="ResponsiveImage",analytics:i,...o})=>{let s=(0,k.useMemo)(()=>{let e;return(e=or.filter(e=>Object.keys(t).includes(e))).map((r,n)=>{let a,i=n<e.length-1,o=on[r],s=`(min-width: ${o}px)`;return{src:t[r],media:i?`${s} and ${a=on[e[n+1]]-1,`(max-width: ${a}px)`}`:s}})},[t]),l=P("responsive-image",void 0,i);return(0,C.jsxs)("picture",{children:[s.map(({media:e,src:t})=>(0,C.jsx)("source",{media:e,srcSet:t},`${t}_${e}`)),(0,C.jsx)("img",{srcSet:t.default,alt:e,className:r,style:n,"data-testid":a,...l,...o}
1)]})},oi=({testId:e="PlayFillIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00625 2.80218C8.0182 2.81015 8.03019 2.81815 8.04222 2.82617L18.591 9.85866C18.8962 10.0621 19.1792 10.2507 19.3965 10.426C19.6234 10.609 19.8908 10.8626 20.0447 11.2337C20.2481 11.7242 20.2481 12.2755 20.0447 12.766C19.8908 13.1371 19.6234 13.3908 19.3965 13.5737C19.1792 13.749 18.8962 13.9376 18.591 14.1411L8.00628 21.1975C7.63319 21.4463 7.29772 21.67 7.01305 21.8243C6.72818 21.9786 6.33717 22.1551 5.8808 22.1278C5.29705 22.0929 4.75779 21.8043 4.40498 21.338C4.12916 20.9734 4.05905 20.5502 4.02949 20.2275C3.99994 19.9051 3.99997 19.5019 4 19.0535L4 4.9895C4 4.97504 4 4.96063 4 4.94626C3.99997 4.49786 3.99994 4.09466 4.02949 3.77224C4.05905 3.44959 4.12916 3.02639 4.40498 2.66178C4.75779 2.1954 5.29705 1.9068 5.8808 1.87195C6.33717 1.8447 6.72818 2.02111 7.01305 2.17549C7.29771 2.32975 7.63317 2.55343 8.00625 2.80218Z",fill:"currentColor"})}),oo=({testId:e="PauseCircleIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M9.5 15V9M14.5 15V9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),os=({testId:e="VolumeMaxIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M19.7479 4.99993C21.1652 6.97016 22 9.38756 22 11.9999C22 14.6123 21.1652 17.0297 19.7479 18.9999M15.7453 7.99993C16.5362 9.13376 17 10.5127 17 11.9999C17 13.4872 16.5362 14.8661 15.7453 15.9999M9.63432 4.36561L6.46863 7.5313C6.29568 7.70425 6.2092 7.79073 6.10828 7.85257C6.01881 7.9074 5.92127 7.9478 5.81923 7.9723C5.70414 7.99993 5.58185 7.99993 5.33726 7.99993H3.6C3.03995 7.99993 2.75992 7.99993 2.54601 8.10892C2.35785 8.20479 2.20487 8.35777 2.10899 8.54594C2 8.75985 2 9.03987 2 9.59993V14.3999C2 14.96 2 15.24 2.10899 15.4539C2.20487 15.6421 2.35785 15.7951 2.54601 15.8909C2.75992 15.9999 3.03995 15.9999 3.6 15.9999H5.33726C5.58185 15.9999 5.70414 15.9999 5.81923 16.0276C5.92127 16.0521 6.01881 16.0925 6.10828 16.1473C6.2092 16.2091 6.29568 16.2956 6.46863 16.4686L9.63431 19.6342C10.0627 20.0626 10.2769 20.2768 10.4608 20.2913C10.6203 20.3038 10.7763 20.2392 10.8802 20.1175C11 19.9773 11 19.6744 11 19.0686V4.9313C11 4.32548 11 4.02257 10.8802 3.88231C10.7763 3.76061 10.6203 3.69602 10.4608 3.70858C10.2769 3.72305 10.0627 3.93724 9.63432 4.36561Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),ol=({testId:e="VolumeXIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M22 8.99993L16 14.9999M16 8.99993L22 14.9999M9.63432 4.36561L6.46863 7.5313C6.29568 7.70425 6.2092 7.79073 6.10828 7.85257C6.01881 7.9074 5.92127 7.9478 5.81923 7.9723C5.70414 7.99993 5.58185 7.99993 5.33726 7.99993H3.6C3.03995 7.99993 2.75992 7.99993 2.54601 8.10892C2.35785 8.20479 2.20487 8.35777 2.10899 8.54594C2 8.75985 2 9.03987 2 9.59993V14.3999C2 14.96 2 15.24 2.10899 15.4539C2.20487 15.6421 2.35785 15.7951 2.54601 15.8909C2.75992 15.9999 3.03995 15.9999 3.6 15.9999H5.33726C5.58185 15.9999 5.70414 15.9999 5.81923 16.0276C5.92127 16.0521 6.01881 16.0925 6.10828 16.1473C6.2092 16.2091 6.29568 16.2956 6.46863 16.4686L9.63431 19.6342C10.0627 20.0626 10.2769 20.2768 10.4608 20.2913C10.6203 20.3038 10.7763 20.2392 10.8802 20.1175C11 19.9773 11 19.6744 11 19.0686V4.9313C11 4.32548 11 4.02257 10.8802 3.88231C10.7763 3.76061 10.6203 3.69602 10.4608 3.70858C10.2769 3.72305 10.0627 3.93724 9.63432 4.36561Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),oc=(0,k.createContext)({}),ou=()=>(0,k.useContext)(oc),od="top-left",oh="top-right",op=({playing:e})=>e?(0,C.jsx)(oo,{size:"xl"}):(0,C.jsx)(oi,{size:"xl"}),of=({muted:e})=>e?(0,C.jsx)(ol,{size:"xl"}):(0,C.jsx)(os,{size:"xl"}),om=({className:e,testId:t="VideoControls",position:r})=>{let n,a,{togglePlayPause:i,toggleMute:o,accessibleText:s,config:{disableAudio:l},state:{playing:c,muted:u,previewImageDisplaying:d,videoPhase:h}}=ou();if("playing"!==h)return null;let p=c?s.pauseVideo:s.playVideo,f=u?s.unMuteAudio:s.muteAudio,m=w("pointer-events-none flex gap-3","text-[color:var(--actions-fill-colors-action-fill-icon-invert)]",e),g=r?(n=new Set([od,oh]).has(r),w("absolute","p-[var(--other-media-container-media-container-padding-large)]",{"bottom-0":!n,"top-0":n,"right-0":!(a=new Set(["bottom-left",od]).has(r)),"left-0":a})):"relative h-fit",v=w(m,g);return!d&&(0,C.jsxs)("div",{className:v,"data-testid":t,children:[(0,C.jsx)("button",{type:"button",onClick:i,className:"pointer-events-auto","aria-label":p,"data-testid":"PauseButton",children:(0,C.jsx)(op,{playing:c})}),!l&&(0,C.jsx)("button",{type:"button",onClick:o,className:"pointer-events-auto","aria-label":f,"data-testid":"MuteButton",children:(0,C.jsx)(of,{muted:u})})]})},og=({inverted:e,position:t,className:r,style:n,testId:a="VideoControlsBackgroun
1d"})=>{let{state:{previewImageDisplaying:i}}=ou(),o=w("pointer-events-none absolute w-full","min-h-[76px]",{"bg-gradient-to-t from-black/75 to-transparent":!1===e||"bottom"===t,"bg-gradient-to-t from-transparent to-black/75":!0===e||"top"===t,"top-0":"top"===t,"bottom-0":"bottom"===t},r);return!i&&(0,C.jsx)("div",{className:o,style:n,"data-testid":a})};var ov=r(17612);let oy=()=>{let{accessibleText:e,state:{playing:t,videoPhase:r},togglePlayPause:n}=ou(),a=t?e.pauseVideo:e.playVideo;return"playing"===r?(0,C.jsx)("button",{type:"button",onClick:n,className:"absolute inset-0","data-testid":"VideoPlayerCoverPlayPauseBtn",tabIndex:-1,children:(0,C.jsx)("span",{className:"sr-only",children:a})}):null},ob=({autoPlay:e})=>({youtube:{playerVars:{autoplay:+!!e}},vimeo:{playerOptions:{autoplay:e,playsinline:!0}}}),ox={"21:9":"aspect-[21/9]","16:9":"aspect-video","4:3":"aspect-[4/3]","1:1":"aspect-square","9:16":"aspect-[9/16]","4:5":"aspect-[4/5]"},oT=({aspectRatio:e="16:9",sizing:t="aspect-ratio"})=>{let r="cover"===t;return w({"absolute left-1/2 top-1/2 min-h-full min-w-full -translate-x-1/2 -translate-y-1/2 overflow-hidden":r,[ox[e]]:r,"h-full w-full":"contain"===t})},oE="u"<typeof window,oC=()=>({width:oE?0:window.innerWidth,height:oE?0:window.innerHeight}),ow=["youtube.com","youtu.be","youtube-nocookie.com","googleapis.com"],ok=Object.keys(en).map(e=>({key:e,width:en[e]})).slice().reverse(),oS=({defaultSrc:e,srcSet:t})=>{let{width:r}=(()=>{let e,t,[r,n]=(0,k.useState)(oC),a=(0,k.useCallback)(()=>{n(oC())},[]),i=(e=(0,k.useRef)(void 0),t=(0,k.useCallback)((...t)=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{a(...t)},100)},[a,100]),(0,k.useEffect)(()=>()=>{e.current&&clearTimeout(e.current)},[]),t);return(oE?k.useEffect:k.useLayoutEffect)(()=>{if(!oE)return a(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[i,a]),r})(),n=(0,k.useMemo)(()=>(({screenWidth:e,defaultSrc:t,srcSet:r})=>{if(!r)return t;let n=ok.find(t=>e>=t.width&&r[t.key]);return n?r[n.key]??t:t})({screenWidth:r,defaultSrc:e,srcSet:t}),[e,r,t]),a=(0,k.useMemo)(()=>{let e;return e=n.url.toLowerCase(),ow.some(t=>e.includes(t))?"youTube":e.includes("vimeo.com")?"vimeo":"unknown"},[n.url]);return{videoSrc:n,videoPlatform:a}},oI=(0,k.createContext)({}),oP=()=>(0,k.useContext)(oI),o_=({className:e})=>{let t=w("PlayIcon-module_play-icon__b7wli","rounded-full fill-[var(--actions-fill-colors-action-icon-fill-default)] hover:fill-[var(--actions-fill-colors-action-icon-fill-hover)]","group-focus-visible:shadow-ds-focus",e);return(0,C.jsxs)("svg",{className:t,viewBox:"7 7 130 130",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,C.jsx)("circle",{cx:"72",cy:"72",r:"64",fill:"#fff"}),(0,C.jsx)("path",{d:"M97.468 63.512c4.709 2.72 4.709 9.517 0 12.237l-33.87 19.555C58.887 98.023 53 94.624 53 89.186v-39.11c0-5.44 5.887-8.838 10.597-6.119l33.87 19.555Z"})]})},oR=({posterImage:e})=>{let{accessibleText:t,state:{videoPhase:r}}=ou(),{startVideo:n,replayVideo:a}=oP();return e?.length&&"playing"!==r?(0,C.jsxs)("button",{className:"absolute inset-0 group focus:outline-none overflow-hidden","aria-label":t.playVideo,"data-analytics-label":"play-video",onClick:{ready:n,playing:void 0,ended:a}[r],type:"button",children:[(0,C.jsx)("img",{src:e,alt:"",className:"w-full h-full object-cover"}),(0,C.jsx)(o_,{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"})]}):null},oA=({analytics:e,className:t,testId:r,style:n,backgroundImage:a,roundedCorners:i=!1,aspectRatio:o="16:9",sizing:s="aspect-ratio",children:l})=>{let c=P("video",void 0,e),u=a?{backgroundImage:`url("${a}")`,backgroundPosition:"center center",backgroundSize:"cover"}:{},d={...n,...u},h="aspect-ratio"===s,p=w("relative inset-0 overflow-hidden bg-black [container-type:size]",{[ox[o]]:h,"h-full":!h,"rounded-ds":i},t);return(0,C.jsx)("div",{className:w(p,t),"data-testid":r,style:d,...c,children:l})},oN=ov.default?ov.default:ov,oD=({testId:e="VideoPlayer",posterImage:t,url:r,srcSet:n,aspectRatio:a="16:9",sizing:i="aspect-ratio",children:o,...s})=>{let{playerRef:l,state:{videoPhase:c,muted:u,playing:d,retrievedMotionPreference:h},config:{loop:p,autoPlay:f}}=ou(),{handleVideoEnded:m,initialisePlayingState:g}=oP(),v=ob({autoPlay:f}),{videoSrc:y,videoPlatform:b}=oS({defaultSrc:{url:r,aspectRatio:a},srcSet:n}),x=oT({aspectRatio:y.aspectRatio,sizing:i}),T=!!t?.length,E="cover"===i,w="vimeo"===b||"youTube"===b&&!E;return(0,C.jsxs)(oA,{backgroundImage:w?void 0:t,aspectRatio:a,sizing:i,testId:e,...s,children:[w&&h&&(0,C.jsx)(oN,{ref:l,style:{display:"ended"===c&&T?"n
1one":void 0},className:x,url:y.url,volume:1,muted:u,loop:p,playing:d,width:E?"auto":"100%",height:E?"auto":"100%",controls:!E,onStart:g,onEnded:p?void 0:m,config:v,previewTabIndex:null}),E&&(0,C.jsx)(oy,{}),o,(0,C.jsx)(oR,{posterImage:t})]})},oO=()=>()=>{};function oj(){return!window.matchMedia("(prefers-reduced-motion: no-preference)").matches}function oL(){}function oM(){let e=(0,k.useSyncExternalStore)(oO,oj,oL);return{prefersReducedMotion:e,retrievedMotionPreference:void 0!==e}}let oH={"en-GB":{playVideo:"play video",pauseVideo:"pause video",muteAudio:"mute audio",unMuteAudio:"unmute audio"},"nl-NL":{playVideo:"video afspelen",pauseVideo:"video pauzeren",muteAudio:"audio dempen",unMuteAudio:"audio dempen opheffen"},"de-DE":{playVideo:"Video abspielen",pauseVideo:"Video pausieren",muteAudio:"Audio stummschalten",unMuteAudio:"Audio einschalten"},"sv-SE":{playVideo:"spela upp video",pauseVideo:"pausa video",muteAudio:"st\xe4ng av ljudet",unMuteAudio:"sl\xe5 p\xe5 ljudet"},"no-NO":{playVideo:"spill av video",pauseVideo:"sett video p\xe5 pause",muteAudio:"demp lyd",unMuteAudio:"opphev demping av lyd"},"en-CA":{playVideo:"play video",pauseVideo:"pause video",muteAudio:"mute audio",unMuteAudio:"unmute audio"},"fr-CA":{playVideo:"lire la vid\xe9o",pauseVideo:"mettre la vid\xe9o en pause",muteAudio:"couper le son",unMuteAudio:"r\xe9tablir le son"}},oF={autoPlay:!1,loop:!1,muted:!1},oq=({children:e,config:t,disableAudio:r=!1})=>{let n=oH[er()],{autoPlay:a,muted:i,loop:o}={...oF,...t},{prefersReducedMotion:s,retrievedMotionPreference:l}=oM(),[c,u]=(0,k.useState)(!1),[d,h]=(0,k.useState)(a||i||r),[p,f]=(0,k.useState)("ready"),m=(0,k.useRef)(null),g=a&&"ended"===p||!a&&"playing"!==p,v=a&&l&&!s;return(0,C.jsx)(oc.Provider,{value:{config:{autoPlay:v,loop:o,disableAudio:r},state:{playing:c,muted:d,videoPhase:p,retrievedMotionPreference:l,previewImageDisplaying:g},playerRef:m,accessibleText:n,togglePlayPause:()=>{u(!c)},toggleMute:()=>{h(!d)}},children:(0,C.jsx)(oI.Provider,{value:{startVideo:()=>{u(!0),f("playing")},initialisePlayingState:()=>{f("playing"),u(!0);let e=i||r;s&&a&&!e&&h(!1)},handleVideoEnded:()=>{u(!1),f("ended")},replayVideo:()=>{m?.current?.seekTo(0),u(!0),f("playing")}},children:e})})},oB=({aspectRatio:e="16:9",className:t,style:r,config:n,disableAudio:a=!1,customControlsPosition:i="bottom-right",posterImage:o,roundedCorners:s=!1,sizing:l="aspect-ratio",testId:c="Video",url:u,srcSet:d,analytics:h})=>{let p=new Set([od,oh]).has(i);return(0,C.jsx)(oq,{config:n,disableAudio:a,children:(0,C.jsx)(oD,{url:u,srcSet:d,analytics:h,aspectRatio:e,testId:c,posterImage:o,roundedCorners:s,sizing:l,className:t,style:r,children:"cover"===l&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(og,{position:p?"top":"bottom"}),(0,C.jsx)(om,{position:i})]})})})},oU={xs:"h-40",sm:"h-[12.5rem]",md:"h-60",lg:"h-[18.5rem]",xl:"h-[21.25rem]","2xl":"h-[30rem]","3xl":"h-[40rem]","fit-height":"h-full",none:""},oW={xs:"w-24",sm:"w-32",md:"w-[13.75rem]",lg:"w-[17.5rem]",xl:"w-[21.25rem]","2xl":"w-[30rem]","3xl":"w-[40rem]","fit-width":"w-full",none:""},oV=({className:e,style:t,testId:r="MediaContainer",image:n,video:a,label:i,labelAlignment:o="left",cornerVariant:s="rounded",height:l="md",width:c="md",squaredCorners:u=!1,positionContext:d="relative",children:h})=>{let p=w("overflow-hidden",d,oU[l],oW[c],{"rounded-ds":"rounded"===s&&!u,"rounded-t-ds":"rounded-top"===s,"rounded-l-ds":"rounded-left"===s},e);return(0,C.jsxs)("div",{className:p,style:t,"data-testid":r,children:[n&&(0,C.jsx)(oa,{...n,className:"h-full w-full object-cover"}),a&&(0,C.jsx)(oB,{...a}),i&&(0,C.jsx)("div",{className:"absolute left-0 right-0 top-0",children:(0,C.jsx)("div",{className:w({"flex justify-end":"right"===o},{lite:w("pt-[var(--other-media-container-media-container-padding-default)]",{"pr-[var(--other-media-container-media-container-padding-default)]":"left"===o},{"pl-[var(--other-media-container-media-container-label-padding-side-default)]":"left"===o},{"pl-[var(--other-media-container-media-container-padding-default)]":"right"===o},{"pr-[var(--other-media-container-media-container-label-padding-side-default)]":"right"===o}),sm:w("pt-[var(--other-media-container-media-container-padding-small)]",{"pr-[var(--other-media-container-media-container-padding-small)]":"left"
1===o},{"pl-[var(--other-media-container-media-container-label-padding-side-small)]":"left"===o},{"pl-[var(--other-media-container-media-container-padding-small)]":"right"===o},{"pr-[var(--other-media-container-media-container-label-padding-side-small)]":"right"===o}),md:w("pt-[var(--other-media-container-media-container-padding-default)]",{"pr-[var(--other-media-container-media-container-padding-default)]":"left"===o},{"pl-[var(--other-media-container-media-container-label-padding-side-default)]":"left"===o},{"pl-[var(--other-media-container-media-container-padding-default)]":"right"===o},{"pr-[var(--other-media-container-media-container-label-padding-side-default)]":"right"===o}),lg:w("pt-[var(--other-media-container-media-container-padding-large)]",{"pr-[var(--other-media-container-media-container-padding-large)]":"left"===o},{"pl-[var(--other-media-container-media-container-label-padding-side-large)]":"left"===o},{"pl-[var(--other-media-container-media-container-padding-large)]":"right"===o},{"pr-[var(--other-media-container-media-container-label-padding-side-large)]":"right"===o}),"two-line":w("pt-[var(--other-media-container-media-container-padding-large)]",{"pr-[var(--other-media-container-media-container-padding-large)]":"left"===o},{"pl-[var(--other-media-container-media-container-label-padding-side-large)]":"left"===o},{"pl-[var(--other-media-container-media-container-padding-large)]":"right"===o},{"pr-[var(--other-media-container-media-container-label-padding-side-large)]":"right"===o})}[i.props?.variant??"md"]),children:(0,k.cloneElement)(i,{alignment:o})})}),h]})},oG=({testId:e="CardMedia",className:t,style:r,width:n,height:a,children:i,image:o,video:s,label:l,...c})=>{let{orientation:u,visualSelector:d}=(0,k.useContext)(ex),h="horizontal"===u&&!a,p=o||s||l,f=w("relative","overflow-hidden","shrink-0","order-1",{"min-h-[7.5rem]":h,[oU[a||"md"]]:!h,[oW[n||"md"]]:"horizontal"===u},t);return(0,C.jsxs)("div",{className:f,style:r,"data-testid":e,children:[i,p&&(0,C.jsx)(oV,{image:o,video:s,label:l,width:"fit-width",height:"fit-height",squaredCorners:!0,positionContext:"absolute",...c}),d&&(0,C.jsx)("div",{className:"absolute left-5 top-5",children:d})]})},oz=(0,k.forwardRef)(({children:e,link:t,renderLink:r,orientation:n="vertical",className:a,style:i,testId:o,analytics:s},l)=>{let{linkRender:c,ignoreLinkRender:u}=t,d=et({linkRender:c||r,ignoreLinkRender:u}),h=P("card","link",s),p=w(ew({interactive:!0}),a);return(0,C.jsx)(ex.Provider,{value:{interactive:!0,orientation:n},children:(0,C.jsx)(d,{className:p,style:i,testId:o,"data-plg-type":"card",href:t.href,target:t.target,ref:l,...h,children:(0,C.jsx)(eT,{orientation:n,children:e})})})}),oY=(0,k.forwardRef)(({children:e,orientation:t="vertical",showContextMenu:r,className:n,style:a,testId:i,analytics:o},s)=>{let l=w(ew(),n),c=P("card",void 0,o);return(0,C.jsx)(ex.Provider,{value:{orientation:t,showContextMenu:r},children:(0,C.jsx)("div",{className:l,style:a,"data-testid":i,"data-plg-type":"card",ref:s,...c,children:(0,C.jsx)(eT,{orientation:t,children:e})})})}),o$=(0,k.forwardRef)(({action:e,cardTitle:t,children:r,className:n,style:a,disabled:i,footer:o,link:s,media:l,orientation:c="vertical",renderLink:u,testId:d="Card",analytics:h,...p},f)=>{let m=eS(r,oe),g=eS(r,eI),v=eS(r,eP),y=eS(r,oG),b=eS(r,i7),x=m||g||v||y?g:(0,C.jsx)(eI,{children:r}),T=(0,C.jsxs)(C.Fragment,{children:[y||l&&(0,C.jsx)(oG,{...l.props}),(0,C.jsxs)(ot,{children:[m||t&&(0,C.jsx)(oe,{children:t}),x,v||o&&(0,C.jsx)(eP,{children:o}),b]})]});return e?(0,C.jsx)(ek,{className:n,style:a,testId:d,action:e,disabled:i,orientation:c,ref:f,analytics:h,...p,children:T}):s?(0,C.jsx)(oz,{className:n,style:a,testId:d,link:s,renderLink:u,orientation:c,ref:f,analytics:h,children:T}):(0,C.jsx)(oY,{className:n,style:a,testId:d,orientation:c,showContextMenu:!0,ref:f,analytics:h,children:T})}),oQ={xs:"max-w-[6rem] w-full",sm:"max-w-[8rem] w-full",md:"max-w-[13.75rem] w-full",lg:"max-w-[17.5rem] w-full",xl:"max-w-[21.25rem] w-full",full:"w-full"},oK=({variant:e="none",accessibleTitle:t,width:r,children:n,className:a,style:i,type:o,status:s="none",testId:l="SelectableCardGroupFieldset"})=>{let c=w({"flex flex-wrap gap-3":"tag-list"===e},r?oQ[r]:null,a);return(0,C.jsxs)("fieldset",{className:c,style:i,"data-testid":l,role:"radio"===o?"radiogroup":void 0,"aria-invalid":"radio"===o?"invali
1d"===s:void 0,children:[t&&(0,C.jsx)("legend",{className:"sr-only",children:t}),n]})},oZ=({variant:e="none",accessibleTitle:t,onValueChange:r,defaultValues:n,values:a,disabled:i=!1,name:o,selectableCards:s,showSelector:l,className:c,style:u,testId:d="MultiSelectableCardGroup",width:h,controlled:p=!1})=>{let{handleCheckedChange:f}=(({defaultValues:e=[],values:t=[],onValueChange:r,controlled:n})=>{let a=(0,k.useRef)(new Set(e));return{handleCheckedChange:e=>i=>{if(n){let n;n=new Set(t),i?n.add(e):n.delete(e),r?.(Array.from(n))}else i?a.current.add(e):a.current.delete(e),r?.(Array.from(a.current))}}})({defaultValues:n,values:a,onValueChange:r,controlled:p}),m="checkbox";return(0,C.jsx)(oK,{variant:e,accessibleTitle:t,width:h,className:c,style:u,testId:d,type:m,children:s.map(e=>(0,k.cloneElement)(e,{type:m,name:o,key:e.props.id,onCheckedChange:f(e.props.value),checked:a?a.includes(e.props.value):void 0,defaultChecked:n?n.includes(e.props.value):void 0,disabled:i||e.props.disabled,showSelector:l||e.props.showSelector}))})},oX=({testId:e="CheckIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M20 6L9 17L4 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),oJ=({children:e,label:t,description:r,descriptionId:n,htmlFor:a,disabled:i=!1,largeGap:o=!1,className:s,style:l,testId:c="ToggleWrapper",checked:u=!1})=>{let d=w({flex:t||r,"gap-4":o&&(t||r),"gap-3":!o&&(t||r),"text-[color:var(--generic-text-color-text-color-disabled)]":i},s),h=w("flex",{"flex-col gap-1":r,"items-center":!r,"cursor-pointer":!i,"ds-label-text--compact":r||i||u,"ds-body-text--compact":!r}),p=w({block:t&&r,"flex items-center":!t,"text-[color:var(--generic-text-color-text-color-default)]":!i},"ds-body-text--compact"),f=r&&(0,C.jsx)("span",{"aria-hidden":!0,className:p,id:n,children:r});return(0,C.jsxs)("div",{className:d,style:l,"data-testid":c,children:[t||r?(0,C.jsx)("div",{className:"shrink-0",children:e}):e,t&&(0,C.jsxs)("label",{htmlFor:a,className:h,children:[(0,C.jsx)("div",{children:t}),f]}),!t&&r&&f]})},o1={iconColor:{default:"text-[color:var(--generic-fill-colors-fill-default)]",disabled:"text-[color:var(--actions-fill-colors-action-icon-fill-disabled)]"},dimensions:w("w-[var(--form-selector-check-box-size)]","h-[var(--form-selector-check-box-size)]"),status:{none:w("bg-[color:var(--generic-fill-colors-fill-default)]","border-[length:var(--generic-strokes-stroke-width)]","border-[color:var(--form-field-form-element-stroke-color)]","hover:border-[color:var(--form-field-form-element-stroke-color-hover)]","group-has-[:hover]:border-[color:var(--form-field-form-element-stroke-color-hover)]","checked:bg-[color:var(--actions-fill-colors-action-fill)]","group-has-[:checked]:bg-[color:var(--actions-fill-colors-action-fill)]","checked:hover:bg-[color:var(--actions-fill-colors-action-fill-hover)]","group-has-[:checked:hover]:bg-[color:var(--actions-fill-colors-action-fill-hover)]"),disabled:w("bg-[color:var(--actions-fill-colors-action-fill-disabled)]","checked:bg-[color:var(--actions-fill-colors-action-fill-disabled)]","border-[length:var(--generic-strokes-stroke-width)]","border-[color:var(--actions-stroke-colors-action-stroke-color-disabled)]"),invalid:w("border-[length:var(--actions-strokes-validation-state-stroke)]","checked:bg-[color:var(--generic-fill-colors-icon-color-negative)]","group-has-[:checked]:bg-[color:var(--generic-fill-colors-icon-color-negative)]","border-[color:var(--generic-stroke-colors-stroke-color-negative)]","checked:hover:bg-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]","group-has-[:checked:hover]:bg-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]","hover:border-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]","group-has-[:hover]:border-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]")}},o0=w("relative flex",o1.dimensions),o2=(0,k.forwardRef)(({id:e,name:t,value:r,className:n,style:a,testId:i="Checkbox",onCheckedChange:o,onChange:s,checked:l,defaultChecked:c,label:u,description:d,disabled:h,status:p="none",...f},m)=>{let g=(0,k.useId)();return(0,C.jsx)(oJ,{label:u,description:d,htmlFor:e,descriptionId:g,className:n,style:a,disabled:h,testId:i,children:(0,C.jsxs)("div",{className:o0,children:[(0,C.jsx)("input",{ref:m,className:w("roun
1ded-ds-semi","m-0 h-full w-full","appearance-none","peer",{"cursor-pointer checked:border-0":!h,[o1.status.none]:"none"===p&&!h,[o1.status.invalid]:"invalid"===p,[o1.status.disabled]:h}),id:e,name:t||e,value:r,type:"checkbox",defaultChecked:c,checked:l,onChange:e=>{o?.(e.target.checked),s?.(e)},"aria-describedby":d?g:void 0,"aria-invalid":"invalid"===p,disabled:h,"data-plg-type":"input-checkbox",...f}),(0,C.jsx)(oX,{className:w("absolute left-0.5 top-0.5","pointer-events-none","hidden peer-checked:block","group-has-[:checked]:block",{[o1.iconColor.default]:!h,[o1.iconColor.disabled]:h}),size:"sm"})]})})}),o3={decorativeCircleColor:{default:"bg-[color:var(--generic-fill-colors-fill-default)]",disabled:"bg-[color:var(--actions-fill-colors-action-icon-fill-disabled)]"},dimensions:w("w-[var(--form-selector-radio-size)]","h-[var(--form-selector-radio-size)]"),status:{none:w("bg-[color:var(--generic-fill-colors-fill-default)]","border-[length:var(--generic-strokes-stroke-width)]","border-[color:var(--form-field-form-element-stroke-color)]","hover:border-[color:var(--form-field-form-element-stroke-color-hover)]","group-has-[:hover]:border-[color:var(--form-field-form-element-stroke-color-hover)]","checked:bg-[color:var(--actions-fill-colors-action-fill)]","group-has-[:checked]:bg-[color:var(--actions-fill-colors-action-fill)]","checked:hover:bg-[color:var(--actions-fill-colors-action-fill-hover)]","group-has-[:checked:hover]:bg-[color:var(--actions-fill-colors-action-fill-hover)]"),disabled:w("bg-[color:var(--actions-fill-colors-action-fill-disabled)]","checked:bg-[color:var(--actions-fill-colors-action-fill-disabled)]","border-[length:var(--generic-strokes-stroke-width)]","border-[color:var(--actions-stroke-colors-action-stroke-color-disabled)]"),invalid:w("border-[length:var(--actions-strokes-validation-state-stroke)]","checked:bg-[color:var(--generic-fill-colors-icon-color-negative)]","group-has-[:checked]:bg-[color:var(--generic-fill-colors-icon-color-negative)]","border-[color:var(--generic-stroke-colors-stroke-color-negative)]","checked:hover:bg-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]","group-has-[:checked:hover]:bg-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]","hover:border-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]","group-has-[:hover]:border-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]")}},o5=w("relative flex",o3.dimensions);(0,k.forwardRef)(({id:e,name:t,className:r,style:n,testId:a="Radio",onCheckedChange:i,onChange:o,checked:s,defaultChecked:l,label:c,value:u,description:d,disabled:h,status:p="none",...f},m)=>{let g=(0,k.useId)();return(0,C.jsx)(oJ,{label:c,description:d,htmlFor:e,descriptionId:g,className:r,style:n,disabled:h,testId:a,children:(0,C.jsxs)("div",{className:o5,children:[(0,C.jsx)("input",{ref:m,className:w("h-full w-full","m-0 appearance-none","rounded-full","peer",{"cursor-pointer checked:border-0":!h,[o3.status.none]:"none"===p&&!h,[o3.status.invalid]:"invalid"===p,[o3.status.disabled]:h}),id:e,name:t,value:u,type:"radio",defaultChecked:l,checked:s,onChange:e=>{i?.(e.target.checked),o?.(e)},"aria-describedby":d?g:void 0,disabled:h,...f}),(0,C.jsx)("div",{className:w("hidden peer-checked:block","group-has-[input:checked]:block","pointer-events-none","h-2 w-2","rounded-full","absolute left-1.5 top-1.5",{[o3.decorativeCircleColor.default]:!h,[o3.decorativeCircleColor.disabled]:h})})]})})});let o4=({variant:e="none",accessibleTitle:t,onValueChange:r,defaultValue:n,value:a,disabled:i=!1,name:o,selectableCards:s,showSelector:l,className:c,style:u,status:d="none",testId:h="SelectableCardGroup",width:p})=>{let f="radio";return(0,C.jsx)(oK,{variant:e,accessibleTitle:t,width:p,className:c,style:u,testId:h,status:d,type:f,children:s.map(e=>{let t;return(0,k.cloneElement)(e,{type:f,name:o,key:e.props.id,onCheckedChange:(t=e.props.value,e=>{e&&t&&r?.(t)}),checked:void 0!==a?a===e.props.value:void 0,defaultChecked:n?n===e.props.value:void 0,disabled:i||e.props.disabled,showSelector:l||e.props.showSelector})})})},o8="u"<typeof window?k.useEffect:k.useLayoutEffect,o6=e=>{o8(()=>{let t=getComputedStyle(document.body).overflow;return e&&(document.body.style.overflow="hidden"),()=>
1{"hidden"!==t&&(document.body.style.overflow=t)}},[e])},o9=({testId:e="XCloseIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M18 6L6 18M6 6L18 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),o7=({title:e,body:t,footer:r,onClose:n=()=>void 0,className:a,testId:i="DialogInner",media:o})=>{let{accessibleCloseLabel:s,contentId:l,titleId:c}=(0,k.useContext)(i0),u=(0,k.useRef)(null),d=(0,k.useRef)(null),h=function(e){let[t,r]=(0,k.useState)(!1);return(0,k.useEffect)(()=>{let t=new IntersectionObserver(([e])=>{r(e.isIntersecting)});return e.current&&t.observe(e.current),()=>{t.disconnect()}},[e]),t}(d),{scrollPosition:p,isScrollable:f}=(({scrollableContainerRef:e})=>{let[t,r]=(0,k.useState)(0),[n,a]=(0,k.useState)(0),[i,o]=(0,k.useState)("top"),s=(0,k.useCallback)(()=>{let t=e.current?.scrollTop??0,n=e.current?.clientHeight??0,i=e.current?.scrollHeight??0;(r(n),a(i),0===t)?o("top"):t+n===i?o("bottom"):o("middle")},[e]),l=(e=>{let[t,r]=(0,k.useState)(!1),n=(0,k.useRef)(void 0),a=(0,k.useCallback)((...a)=>{t||(e(...a),r(!0),n.current=setTimeout(()=>{r(!1)},50))},[e,50,t]);return(0,k.useEffect)(()=>()=>{n.current&&clearTimeout(n.current)},[]),a})(s),c=(0,k.useRef)(!1);return(0,k.useEffect)(()=>{let t=null;c.current?s():(c.current=!0,t=setTimeout(s,50));let r=e.current;return window.addEventListener("resize",l),r?.addEventListener("scroll",l,{passive:!0}),()=>{window.removeEventListener("resize",l),r?.removeEventListener("scroll",l),t&&clearTimeout(t)}},[s,l,e]),{scrollPosition:i,isScrollable:n>t}})({scrollableContainerRef:u}),m=o&&h,g=w("flex w-full flex-col",a),v=w("flex items-start justify-between","p-[var(--spacing-levels-section-level---s)]","sm:px-[var(--spacing-levels-section-level---l)] sm:py-[var(--spacing-levels-section-level---m)]","sticky top-0 bg-white","z-[1]","after:absolute after:block","after:h-4 after:shadow-[0_10px_10px_-5px_rgba(0,0,0,0.2)]","after:bottom-0 after:left-0 after:right-0","after:pointer-events-none","after:content-['']","after:transition-opacity after:duration-[var(--dialog-transition-duration)] after:ease-out",{"after:opacity-0":o?h:"top"===p||!f,"after:opacity-100":o?!h:"top"!==p&&f}),y=w("ml-4 sm:ml-6","text-[color:var(--actions-fill-colors-action-icon-fill-default)]","hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]","rounded-full","mt-[calc((var(--typography-line-height-secondary-line-height-h2-mobile)-var(--shared-base-sizes-size-6))/2)]","sm:mt-[calc((var(--typography-line-height-secondary-line-height-h2-desktop)-var(--shared-base-sizes-size-6))/2)]"),b=w("text-[color:var(--actions-fill-colors-action-fill-icon-invert)]","absolute","z-[1]","right-[var(--spacing-levels-section-level---s)] top-[var(--spacing-levels-section-level---s)]","sm:right-[var(--spacing-levels-section-level---l)] sm:top-[var(--spacing-levels-section-level---l)]","h-8 w-8 sm:h-10 sm:w-10","rounded-full","bg-[color:var(--ds-core--button--fill-icon-button-fill-alt)]","hover:bg-[color:var(--ds-core--button--fill-icon-button-fill-alt-hover)]","flex items-center justify-center"),x=w("shrink-0","h-[10.25rem] sm:h-60","focus:outline-offset-[-0.125rem]"),T=w("px-4 sm:px-6","outline-offset-[-2px] focus-visible:outline focus-visible:outline-2","focus-visible:outline-[color:var(--actions-stroke-colors-action-stroke-color-active)]",{"pb-4 sm:pb-6":!r}),E=w("gap-4 p-4 sm:gap-6 sm:p-6","bg-[color:var(--generic-fill-colors-fill-default)]","sticky bottom-0","mt-auto w-full","after:absolute after:block","after:h-4 after:shadow-[0_-10px_10px_-5px_rgba(0,0,0,0.2)]","after:left-0 after:right-0 after:top-0","after:pointer-events-none","after:content-['']","after:transition-opacity after:duration-[var(--dialog-transition-duration)] after:ease-out",{"after:opacity-0":"bottom"===p||!f,"after:opacity-100":"bottom"!==p&&f}),S=(0,C.jsx)("button",{className:y,type:"button",onClick:n,"aria-label":s,children:(0,C.jsx)(o9,{size:"lg"})}),I=(0,C.jsx)("button",{className:b,type:"button",onClick:n,"aria-label":s,children:(0,C.jsx)(o9,{size:"md"})});return(0,C.jsxs)("section",{"data-testid":i,id:l,className:g,onClick:e=>{e.stopPropagation()},children:[(0,C.jsxs)("div",{className:"overflow-auto",ref:u,"aria-labelledby":c,role:"region",children:[o&&(0,C.jsx)("div",{className:x,tabIndex:o.props.video?0:void 0,ref:d,children:(0,k.cloneElement)(o,{width:"fit-width",height:"fit-height",squaredCorners:!0})}),(0,C.jsxs)("header",{className:v,children:[e,!m&&S]}),m&&I,(0,C.jsx)("div",{className:T,tabIndex:0,role:"group",children:t})]}
1),r&&(0,C.jsx)("footer",{className:E,children:r})]})},se=({dialogRef:e,active:t=!1,onClose:r})=>{let[n,a]=(0,k.useState)(t),i=(0,k.useRef)(!1),o=(0,k.useCallback)(()=>{let t=e.current;t&&("function"==typeof t.requestClose?t.requestClose():t?.close())},[e]);return t&&!n&&a(!0),(0,k.useEffect)(()=>{let r=e.current;if(!r)return;let n=r.open;t&&!n?r.showModal?.():!t&&n&&o()},[t,e,o]),(0,k.useEffect)(()=>{if(t)return;let r=e.current;if(!r)return;let n=!1,i=async()=>{let e=(r.getAnimations?.({subtree:!0})??[]).filter(e=>{let t=e.effect;return!(t instanceof KeyframeEffect)||t.getTiming().iterations!==1/0});await Promise.allSettled(e.map(e=>e.finished)),n||a(!1)},o=requestAnimationFrame(()=>{n||i()});return()=>{n=!0,cancelAnimationFrame(o)}},[t,e]),(0,k.useEffect)(()=>{let t=e.current,n=e=>{r(e),e.defaultPrevented||(i.current=!0)};return t?.addEventListener("cancel",n),()=>{t?.removeEventListener("cancel",n)}},[e,r]),(0,k.useEffect)(()=>{let t=e.current,n=e=>{if(i.current){i.current=!1;return}r(e)};return t?.addEventListener("close",n),()=>{t?.removeEventListener("close",n)}},[e,r]),(0,k.useEffect)(()=>{let t=e.current,r=e=>{t===e.target&&o()};return t?.addEventListener("click",r),()=>{t?.removeEventListener("click",r)}},[e,o]),{requestCloseDialog:o,shouldRenderContent:n}},st=({children:e,className:t,style:r,testId:n="ModalBody"})=>(0,C.jsx)("div",{className:t,style:r,"data-testid":n,children:e}),sr=({children:e,className:t,style:r,testId:n="ModalFooter"})=>{let a=w("flex gap-4",t);return(0,C.jsx)("div",{className:a,style:r,"data-testid":n,children:e})},sn=({className:e,style:t,testId:r="ModalMedia",...n})=>(0,C.jsx)(oV,{className:e,style:t,testId:r,...n,width:"fit-width",height:"fit-height",squaredCorners:!0}),sa={headingUltra:"ds-heading-ultra",headingSuper:"ds-heading-super",heading1:"ds-heading-1",heading2:"ds-heading-2",heading3:"ds-heading-3",heading4:"ds-heading-4",heading5:"ds-heading-5",introduction:"ds-introduction-text",label:"ds-label-text",labelCompact:"ds-label-text--compact",body:"ds-body-text",bodyCompact:"ds-body-text--compact",small:"ds-small-text",strong:"ds-strong-text"},si=({children:e,className:t,style:r,tag:n="p",testId:a="ModalTitle"})=>{let i=w(sa.heading2,t);return(0,C.jsx)(n,{"data-testid":a,className:i,style:r,children:e})},so=({children:e,onSubmit:t,className:r,style:n,method:a="dialog",testId:i="ModalForm",...o})=>{let s=(0,k.useContext)(i0),l=eS(e,si),c=eS(e,st),u=eS(e,sr),d=eS(e,sn),h=w("flex w-full",r);return(0,C.jsx)("form",{...o,onSubmit:t,className:h,"data-testid":i,method:a,style:n,children:(0,C.jsx)(o7,{media:d,title:(0,C.jsx)("div",{id:s.titleId,children:l}),onClose:s.onClose,body:c,footer:u})})},ss={sm:"20rem",md:"25rem",lg:"37.5rem",xl:"50rem","2xl":"100rem"},sl=({id:e,active:t,title:r="",body:n=null,defaultButton:a,secondaryButton:i,className:o,style:s,testId:l="Modal",onClose:c=()=>void 0,width:u="md",children:d,accessibleCloseLabel:h="Close",media:p,analytics:f})=>{let m=(0,k.useId)(),g=(0,k.useId)(),v=(0,k.useRef)(null),y=P("modal",void 0,f),b=eS(d,si)??r,x=eS(d,st)??n,T=eS(d,sr),E=eS(d,sn)??p,S=eS(d,so),{requestCloseDialog:I,shouldRenderContent:_}=se({dialogRef:v,active:t,onClose:c});o6(t);let R=w("w-full","open:flex","max-h-[calc(100%_-_2.5rem)]","max-w-[min(var(--ds-modal-width),_calc(100%_-_2.5rem))]","rounded-ds shadow-[0px_var(--generic-effects-action-shadow-top-y-offset)_var(--generic-effects-action-shadow-blur)_0px_rgba(0,0,0,0.20)]","overflow-hidden","Modal-module_dialog__rjxVI",o),A={"--ds-modal-width":ss[u],...s},N=(0,C.jsxs)("div",{className:"flex gap-4",children:[a,i]}),D=S||(0,C.jsx)(o7,{media:E,title:(0,C.jsx)("div",{className:d?"":"ds-heading-2",id:m,children:b}),onClose:I,body:x,footer:d?T:N});return(0,C.jsx)(i0.Provider,{value:{onClose:I,titleId:m,contentId:g,accessibleCloseLabel:h},children:(0,C.jsx)("dialog",{id:e,ref:v,className:R,style:A,"data-testid":l,"aria-labelledby":m,"aria-describedby":g,...y,children:_&&D})})};var sc="Panel-module_dialog__iDjft",su="Panel-module_dialogBottom__N9vnf";let sd=({children:e,className:t,style:r,testId:n="PanelBody"})=>(0,C.jsx)("div",{className:w("flex flex-col gap-6",t),style:r,"data-testid":n,children:e}),sh=({children:e,className:t,style:r,testId:n="PanelFooter"})=>(0,C.jsx)("div",{className:t,style:r,"data-testid":n,children:e}),sp=({className:e,style:t,testId:r="PanelMedia",...n})=>(0,C.jsx)(oV,{className:e,style:t,testId:r,...n,width:"fit-width",height:"fit-height",squaredCorners:!0}),sf=({children:e,className:t,style:r,tag:n="p",testId:a="PanelTitle"})=>{let i=w(sa.heading2,t);return(0,C.jsx)(n,{"data-testid":a,className:i,style:r,children:e})},sm=({children:e,onSubmit:t,className:r,style:n,method:a="dialog",testId:i="PanelForm",...o})=>{let s=(0,k.useContext)(i0),l=eS(e,sf),c=eS(e,sd),u=eS(e,sh),d=eS(e,sp),h=w("flex h-full",r);return(0,C.jsx)("form",{...o,onSubmit:t,className:h,"data-testid":i,method:a,style:n,children:(0,C.jsx)(o7,{media:d,title:(0,C.jsx)("div",{id:s.titleId,children:l}),onClose:s.onClose,body:c,footer:u})})},sg={sm:"20rem",md:"25rem",lg:"37.5rem",xl:"50rem","2xl":"62.5rem"},sv=({children:e,onSubmit:t})=>t?(0,C.jsx)("form",{onSubmit:t,className:"h-full max-h-[inherit]",children:e}):e,sy=(0,k.forwardRef)(({id:e,active:t,children:r,title:n="",body:a=null,footer
1:i=null,className:o,style:s,testId:l="Panel",onClose:c=()=>void 0,dockTo:u="bottom",width:d="md",accessibleCloseLabel:h="Close",onSubmit:p,media:f,analytics:m,...g},v)=>{let y=(0,k.useId)(),b=(0,k.useId)(),x=(0,k.useRef)(null);(0,k.useImperativeHandle)(v,()=>x.current,[x]);let T=P("panel",void 0,m),E=eS(r,sm),S=eS(r,sf)??n,I=eS(r,sd)??a,_=eS(r,sh)??i,R=eS(r,sp)??f,{requestCloseDialog:A,shouldRenderContent:N}=se({dialogRef:x,active:t,onClose:c});o6(t);let D=w(su,"rounded-t-ds","top-auto max-w-[100%]","max-h-[calc(100%_-_2.5rem)]"),O=w("min-h-screen max-w-[min(var(--ds-panel-width),_calc(100%_-_2.5rem))]","supports-[height:100dvh]:min-h-dvh"),j=w("Panel-module_dialogLeft__u6N8W","right-auto","rounded-tr-ds"),L=w("Panel-module_dialogRight__a2CLa","left-auto","rounded-tl-ds"),M=w("w-full","shadow-[0px_var(--generic-effects-action-shadow-top-y-offset)_var(--generic-effects-action-shadow-blur)_0px_rgba(0,0,0,0.20)]","overflow-hidden","open:flex",sc,{[O]:"left"===u||"right"===u,[j]:"left"===u,[L]:"right"===u,[D]:"bottom"===u},o),H={"--ds-panel-width":sg[d],...s},F=E?(0,C.jsx)("div",{className:"w-full",children:E}):(0,C.jsx)(sv,{onSubmit:p,children:(0,C.jsx)(o7,{media:R,title:(0,C.jsx)("div",{className:r?"":"ds-heading-2",id:y,children:S}),onClose:A,body:I,footer:_})});return(0,C.jsx)("dialog",{id:e,ref:x,className:M,style:H,"data-testid":l,"aria-labelledby":y,"aria-describedby":b,...g,...T,children:(0,C.jsx)(i0.Provider,{value:{onClose:A,titleId:y,contentId:b,accessibleCloseLabel:h},children:N&&F})})});var sb=Object.defineProperty,sx=(e,t)=>sb(e,"name",{value:t,configurable:!0}),sT="Popover",[sE,sC]=eU(sT,[ng]),sw=ng(),[sk,sS]=sE(sT),sI=sx(e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:a,onOpenChange:i,modal:o=!1}=e,s=sw(t),l=k.useRef(null),[c,u]=k.useState(!1),[d,h]=eX({prop:n,defaultProp:a??!1,onChange:i,caller:sT});return(0,C.jsx)(nb,{...s,children:(0,C.jsx)(sk,{scope:t,contentId:nV(),triggerRef:l,open:d,onOpenChange:h,onOpenToggle:k.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:c,onCustomAnchorAdd:k.useCallback(()=>u(!0),[]),onCustomAnchorRemove:k.useCallback(()=>u(!1),[]),modal:o,children:r})})},"Popover"),sP=k.forwardRef(sx(function(e,t){let{__scopePopover:r,...n}=e,a=sS("PopoverTrigger",r),i=sw(r),o=eF(t,a.triggerRef),s=(0,C.jsx)(tl.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":sq(a.open),...n,ref:o,onClick:eN(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?s:(0,C.jsx)(nx,{asChild:!0,...i,children:s})},"PopoverTrigger")),s_="PopoverPortal",[sR,sA]=sE(s_,{forceMount:void 0}),sN=sx(e=>{let{__scopePopover:t,forceMount:r,children:n,container:a}=e,i=sS(s_,t);return(0,C.jsx)(sR,{scope:t,forceMount:r,children:(0,C.jsx)(nj,{present:r||i.open,children:(0,C.jsx)(nA,{asChild:!0,container:a,children:n})})})},"PopoverPortal"),sD="PopoverContent",sO=k.forwardRef(sx(function(e,t){let r=sA(sD,e.__scopePopover),{forceMount:n=r.forceMount,...a}=e,i=sS(sD,e.__scopePopover);return(0,C.jsx)(nj,{present:n||i.open,children:i.modal?(0,C.jsx)(sL,{...a,ref:t}):(0,C.jsx)(sM,{...a,ref:t})})},"PopoverContent")),sj=e4("PopoverContent.RemoveScroll"),sL=k.forwardRef(sx(function(e,t){let r=sS(sD,e.__scopePopover),n=k.useRef(null),a=eF(t,n),i=k.useRef(!1);return k.useEffect(()=>{let e=n.current;if(e)return am(e)},[]),(0,C.jsx)(a1,{as:sj,allowPinchZoom:!0,children:(0,C.jsx)(sH,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:eN(e.onCloseAutoFocus,e=>{e.preventDefault(),i.current||r.triggerRef.current?.focus()}),onPointerDownOutside:eN(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:eN(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),sM=k.forwardRef(sx(function(e,t){let r=sS(sD,e.__scopePopover),n=k.useRef(!1),a=k.useRef(!1);return(0,C.jsx)(sH,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let i=t.target;r.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})},"PopoverContentNonModal")),sH=k.forwardRef(sx(function(e,t){let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,h=sS(sD,r),p=sw(r);return tq(),(0,C.jsx)(tY,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,C.jsx)(tR,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>h.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,C.jsx)(nw,{"data-state":sq(h.open),role:"dialog",id:h.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})},"PopoverContentImpl")),sF=k.forwardRef(sx(function(e,t){let{__scopePopover:r,...n}=e,a=sw(r);return(0,C.jsx)(nS,{...a,...n,ref:t})},"PopoverArrow"));function sq(e){return e?"open":"closed"}sx(sq,"getState");let sB=({children:e,className:t,style:r,testId:n="PopoverBody"})=>(0,C.jsx)("div",{className:t,style:r,"data-testid":n,children:e}),sU=(e,t)=>(0,k.isValidElement)(e)&&e.type===k.Fragment?sU(e.props.children,t):(0,k.isValidElement)(e)?e.type===t?[e]:[]:Array.isArray(e)?e.filter(e=>(0,k.isValidElement)(e)&&e.type===t):[],sW=({children:e,closeOnPrimaryAction:t,closeOnSecondaryAction:r,testId:n="PopoverFooter",className:a,style:i})=>{let o=(0,k.useContext)(i2),s=w("flex gap-4",a),l=[...sU(e,eb)];return(0,C.jsx)("div",{className:s,"data-testid":n,style:i,children:l.map((e,n)=>t&&"primary"===e.props.variant||r&&"secondary"===e.props.variant?(0,C.jsx)(k.Fragment,{children:(0,k.cloneElement)(e,{onClick:()=>{e.props.onClick?.(),o.onClose?.()}})},n):(0,C.jsx)(k.Fragment,{children:e},n))})},sV=()=>W()===y.FRIENDS_LOTTERY?(0,C.jsx)(sF,{width:44,height:12,className:"px-2","data-testid":"popoverArrow",asChild:!0,children:(0,C.jsxs)("svg",{strokeWidth:"var(--generic-strokes-stroke-width-overlay)",children:[(0,C.jsx)("path",{d:"M3 0.5 L15 8.5 L27 0.5 Z",fill:"var(--generic-fill-colors-fill-default)",stroke:"var(--generic-fill-colors-fill-default)",strokeLinejoin:"round"}),(0,C.jsx)("line",{x1:"3",y1:"1",x2:"27",y2:"1",stroke:"var(--generic-fill-colors-fill-default)"}),(0,C.jsx)("line",{x1:"3",y1:"1",x2:"15",y2:"9",stroke:"var(--generic-stroke-colors-stroke-color-default)",strokeLinecap:"round"}),(0,C.jsx)("line",{x1:"15",y1:"9",x2:"27",y2:"1",stroke:"var(--generic-stroke-colors-stroke-color-default)",strokeLinecap:"round"})]})}):(0,C.jsx)(sF,{width:44,height:12,className:"-mt-[1px] fill-[var(--generic-fill-colors-fill-default)] px-2","data-testid":"popoverArrow",stroke:"var(--generic-fill-colors-fill-default)"}),sG=w("flex flex-col gap-4"),sz=w("text-ds-panel-close-button ml-6 self-start md:ml-4","text-[color:var(--actions-fill-colors-action-icon-fill-default)]","hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]"),sY=({title:e,body:t,footer
1:r,hideCloseButton:n,hideArrow:a,accessibleCloseLabel:i})=>{let o=(0,k.useContext)(i2),s=w("flex",{"justify-between":e,"justify-end":!e});return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("div",{className:sG,children:[(e||!n)&&(0,C.jsxs)("div",{className:s,children:[e,!n&&(0,C.jsx)("button",{"aria-label":i,className:sz,onClick:()=>{o.onClose?.()},type:"button",children:(0,C.jsx)(o9,{size:"lg"})})]}),t,r]}),!a&&(0,C.jsx)(sV,{})]})},s$=({children:e,className:t,style:r,tag:n="p",testId:a="PopoverTitle"})=>{let{titleId:i}=(0,k.useContext)(i2),o=w(sa.heading3,t);return(0,C.jsx)(n,{"data-testid":a,className:o,style:r,id:i,children:e})},sQ=({children:e,onSubmit:t,testId:r="PopoverForm",...n})=>{let a=(0,k.useContext)(i2),i=eS(e,s$),o=eS(e,sB),s=eS(e,sW);return(0,C.jsx)("form",{onSubmit:e=>{e.preventDefault(),t?.(e)},...n,"data-testid":r,children:(0,C.jsx)(sY,{title:i,body:o,footer:s,hideArrow:a.hideArrow,hideCloseButton:a.hideCloseButton,accessibleCloseLabel:a.accessibleCloseLabel})})},sK={sm:"20rem",md:"25rem",lg:"37.5rem",xl:"50rem"},sZ=({accessibleCloseLabel:e="Close popover",accessibleTitle:t,preventFocusReturn:r=!1,children:n,className:a,style:i,hideArrow:o=!1,hideCloseButton:s=!1,onClose:l=()=>void 0,placement:c={side:"bottom",align:"start"}
1,testId:u="Popover",triggerElement:d,width:h="md",active:p=!1,analytics:f})=>{let m=(0,k.useId)(),{isWithinDialog:g}=i3(),[v,y]=(0,k.useState)("pointer"),b=eS(n,sQ),x=eS(n,s$),T=eS(n,sB),E=eS(n,sW),S=P("popover",void 0,f),{side:I,align:_}=c,{isSmaller:R}=el(),A=R("md"),N=i4(),D=w("z-ds-popover","rounded-ds bg-[var(--generic-fill-colors-fill-default)]","border-[length:var(--generic-strokes-stroke-width-overlay)] border-[color:var(--generic-stroke-colors-stroke-color-default)]","drop-shadow-[0_var(--generic-effects-action-shadow-default-y-offset)_var(--generic-effects-action-shadow-blur)_var(--generic-effects-overlay-shadow-fill)]","transform-gpu","p-[var(--spacing-levels-section-level---s)] sm:p-[var(--spacing-levels-section-level---l)]",sa.body,a,"Popover-module_slideAndFade__f7M97"),O={...i,width:`min(${sK[h]}, calc(var(--radix-popover-content-available-width) - 1.5rem))`},j=(0,C.jsx)(sO,{side:A&&"top"!==I?"bottom":I,align:_,className:D,sideOffset:8,onCloseAutoFocus:e=>{r&&"pointer"===v&&e.preventDefault()},onEscapeKeyDown:l,onInteractOutside:e=>{let t=e.target;for(;t&&!t.dataset.popoverTrigger;)t=t.parentElement;t||l()},onMouseDown:()=>{y("pointer")},onKeyDown:()=>{y("keyboard")},style:O,"data-testid":u,...S,"aria-labelledby":t?void 0:m,"aria-label":t,children:(0,C.jsx)(i2.Provider,{value:{hideArrow:o,hideCloseButton:s,accessibleCloseLabel:e,titleId:t?void 0:m,onClose:l},children:b||(0,C.jsx)(sY,{title:x,body:T,footer:E,hideArrow:o,hideCloseButton:s,accessibleCloseLabel:e})})});return N?(0,C.jsxs)(sI,{open:p,children:[(0,C.jsx)(sP,{"data-popover-trigger":!0,asChild:!0,children:d}),g?j:(0,C.jsx)(sN,{children:j})]}):null},sX=({defaultOpen:e,...t})=>{let[r,n]=(0,k.useState)(e??!1);return(0,C.jsx)(sZ,{...t,onClose:()=>{t.onClose?.(),n(!1)},triggerElement:(0,k.cloneElement)(t.triggerElement,{onClick:()=>{n(e=>!e)}}),active:r,children:t.children})},sJ=({testId:e="Divider",className:t,style:r})=>{let n=w("border-t-[length:var(--generic-other-divider-height)] border-[color:var(--other-divider-divider-color)]",t);return(0,C.jsx)("hr",{"aria-hidden":"true",className:n,style:r,"data-testid":e})};(0,k.createContext)({}),(0,k.createContext)({variant:"default"}),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("path",{d:"M18 34C26.8366 34 34 26.8366 34 18C34 9.16344 26.8366 2 18 2C9.16344 2 2 9.16344 2 18C2 26.8366 9.16344 34 18 34Z",stroke:"currentColor",strokeWidth:"2.5"}),(0,C.jsx)("path",{d:"M18.7898 12.4238H18.8058C21.0618 12.4238 22.0698 13.7678 22.0698 15.0478C22.0698 15.9278 21.6058 16.8398 20.4698 17.3998V17.4478C21.6058 17.8798 22.4538 18.7758 22.4538 20.0718C22.4538 21.9278 20.8858 23.1758 18.6618 23.1758C16.2298 23.1758 14.9658 21.7678 14.9658 20.3118C14.9658 19.0318 15.7178 18.1518 16.9178 17.6238V17.5758C15.8298 17.0478 15.3338 16.1838 15.3338 15.2718C15.3338 13.5758 16.8378 12.4238 18.7898 12.4238ZM18.7098 21.7838H18.7258C19.7658 21.7838 20.4538 21.1278 20.4538 20.2318C20.4538 19.1758 19.6858 18.5998 18.5178 18.2798C17.5418 18.5518 16.9818 19.2398 16.9818 20.0878C16.9498 20.9838 17.6218 21.7838 18.7098 21.7838ZM18.7258 13.7838H18.7098C17.7178 13.7838 17.2058 14.4398 17.2058 15.1918C17.2058 16.0398 17.9098 16.5518 18.9018 16.8238C19.6218 16.6158 20.1978 16.0398 20.1978 15.2558C20.1978 14.5358 19.7658 13.7838 18.7258 13.7838Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M11.5396 23.0001V14.3761H11.5076L9.60358 15.3361L9.26758 13.8481L11.8116 12.6001H13.4436V23.0001H11.5396Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M25.4414 15.6802H26.5714V17.7902H28.5914V18.8702H26.5714V21.0002H25.4414V18.8702H23.4214V17.7902H25.4414V15.6802Z",fill:"currentColor"})]}),y.POSTCODE_LOTTERY,y.POSTCODE_LOTTERY_HEARTS,y.FRIENDS_LOTTERY,(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("path",{d:"M18 34C26.8366 34 34 26.8366 34 18C34 9.16344 26.8366 2 18 2C9.16344 2 2 9.16344 2 18C2 26.8366 9.16344 34 18 34Z",stroke:"currentColor",strokeWidth:"2.5"}),(0,C.jsx)("path",{d:"M18.7898 12.4238H18.8058C21.0618 12.4238 22.0698 13.7678 22.0698 15.0478C22.0698 15.9278 21.6058 16.8398 20.4698 17.3998V17.4478C21.6058 17.8798 22.4538 18.7758 22.4538 20.0718C22.4538 21.9278 20.8858 23.1758 18.6618 23.1758C16.2298 23.1758 14.9658 21.7678 14.9658 20.3118C14.9658 19.0318 15.7178 18.1518 16.9178 17.6238V17.5758C15.8298 17.0478 15.3338 16.1838 15.3338 15.2718C15.3338 13.5758 16.8378 12.4238 18.7898 12.4238ZM18.7098 21.7838H18.7258C19.7658 21.7838 20.4538 21.1278 20.4538 20.2318C20.4538 19.1758 19.6858 18.5998 18.5178 18.2798C17.5418 18.5518 16.9818 19.2398 16.9818 20.0878C16.9498 20.9838 17.6218 21.7838 18.7098 21.7838ZM18.7258 13.7838H18.7098C17.7178 13.7838 17.2058 14.4398 17.2058 15.1918C17.2058 16.0398 17.9098 16.5518 18.9018 16.8238C19.6218 16.6158 20.1978 16.0398 20.1978 15.2558C20.1978 14.5358 19.7658 13.7838 18.7258 13.7838Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M11.5396 23.0001V14.3761H11.5076L9.60358 15.3361L9.26758 13.8481L11.8116 12.6001H13.4436V23.0001H11.5396Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M28.374 17.2301V18.6401H26.684V20.3001H25.264V18.6401H23.624V17.2301H25.264V15.5801H26.684V17.2301H28.374Z",fill:"currentColor"})]});let s1=(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("path",{d:"M18 34C26.8366 34 34 26.8366 34 18C34 9.16344 26.8366 2 18 2C9.16344 2 2 9.16344 2 18C2 26.8366 9.16344 34 18 34Z",stroke:"currentColor",strokeWidth:"2.5"}),(0,C.jsx)("path",{d:"M18.26 23.1758H18.244C15.86 23.1758 14.58 20.9998 14.564 17.8318C14.564 14.5838 15.94 12.4238 18.372 12.4238C20.884 12.4238 22.052 14.6638 22.052 17.7198C22.052 21.0798 20.756 23.1758 18.26 23.1758ZM18.292 21.6718H18.308C19.492 21.6718 20.084 20.2638 20.084 17.7678C20.084 15.3518 19.508 13.9278 18.324 13.9278C17.236 13.9278 16.532 15.3038 16.532 17.7678C16.5 20.2958 17.204 21.6718 18.292 21.6718Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M7.04199 22.4558L7.48999 20.9678C7.88999 21.2078 8.86599 21.6078 9.85799 21.6078C11.362 21.6078 11.954 20.7598 11.954 19.9438C11.954 18.7118 10.786 18.1838 9.60199 18.1838H8.70599V16.7438H9.58599C10.482 16.7438 11.634 16.3278 11.634 15.3038C11.634 14.5838 11.122 13.9918 9.96999 13.9918C9.12199 13.9918 8.27399 14.3598 7.84199 14.6478L7.39399 13.2238C7.98599 12.8238 9.15399 12.4238 10.386 12.4238C12.546 12.4238 13.634 13.6078 13.634 14.9678C13.634 16.0558 12.994 16.9518 11.714 17.3998V17.4318C12.978 17.6718 14.002 18.6158 14.002 20.0238C14.002 21.7838 12.53 23.1758 9.95399 23.1758C8.68999 23.1758 7.60199 22.8238 7.04199 22.4558Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M24.585 14.3901H24.595C25.795 14.3901 26.445 15.2601 26.445 16.3201C26.445 17.6701 25.525 18.4001 24.535 18.4001C23.475 18.4001 22.665 17.6201 22.665 16.4401C22.665 15.3301 23.375 14.3901 24.585 14.3901ZM24.565 15.3501H24.555C24.145 15.3501 23.985 15.8101 23.985 16.4001C23.985 17.0201 24.175 17.4401 24.575 17.4401C24.935 17.4401 25.125 17.0901 25.125 16.4001C25.125 15.8001 24.975 15.3501 24.565 15.3501ZM25.605 21.1101H24.675L28.375 14.4101H29.295L25.605 21.1101ZM29.465 17.0901H29.475C30.675 17.0901 31.325 17.9601 31.325 19.0201C31.325 20.3701 30.405 21.1001 29.415 21.1001C28.355 21.1001 27.545 20.3201 27.545 19.1301C27.545 18.0301 28.255 17.0901 29.465 17.0901ZM29.445 18.0501H29.435C29.025 18.0501 28.865 18.5101 28.865 19.1001C28.865 19.7201 29.055 20.1401 29.455 20.1401C29.815 20.1401 30.005 19.7801 30.005 19.0901C30.005 18.4901 29.855 18.0501 29.445 18.0501Z",fill:"currentColor"})]}),s0={[y.POSTCODE_LOTTERY]:s1,[y.POSTCODE_LOTTERY_HEARTS]:s1,[y.FRIENDS_LOTTERY]:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("path",{d:"M18 34C26.8366 34 34 26.8366 34 18C34 9.16344 26.8366 2 18 2C9.16344 2 2 9.16344 2 18C2 26.8366 9.16344 34 18 34Z",stroke:"currentColor",strokeWidth:"2.5"}),(0,C.jsx)("path",{d:"M18.0662 23.192C15.3462 23.192 13.5542 21.464 13.5542 17.8C13.5542 
114.152 15.3302 12.248 18.1462 12.248C20.9942 12.248 22.7222 14.184 22.7222 17.704C22.7222 21.336 20.8822 23.192 18.0662 23.192ZM18.0982 21.352C19.5222 21.352 20.4182 20.248 20.4182 17.72C20.4182 15.288 19.5862 14.088 18.1462 14.088C16.7062 14.088 15.8582 15.288 15.8582 17.8C15.8582 20.296 16.7062 21.352 18.0982 21.352Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M10.5118 17.544C12.1278 17.896 12.9918 18.76 12.9918 20.104C12.9918 22.024 11.2158 23.192 8.60781 23.192C7.16781 23.192 5.67981 22.84 5.00781 22.28L5.77581 20.616C6.39981 20.984 7.31181 21.352 8.44781 21.352C9.88781 21.352 10.6878 20.76 10.6878 19.912C10.6878 18.824 9.45581 18.36 7.59981 18.36H7.10381V16.888H7.59981C9.15181 16.888 10.4318 16.328 10.4318 15.192C10.4318 14.376 9.74381 14.088 8.83181 14.088C7.90381 14.088 6.73581 14.36 5.98381 14.824L5.40781 13.128C6.36781 12.552 7.64781 12.248 8.92781 12.248C11.0398 12.248 12.7198 13.096 12.7198 15C12.7198 16.184 12.0638 17.096 10.5118 17.544Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M24.6192 17.6919C23.5745 17.6919 23 17.0281 23 15.8356C23 14.6533 23.5832 14 24.6366 14C25.7073 14 26.2992 14.6533 26.2992 15.8252C26.2992 17.0281 25.6986 17.6919 24.6192 17.6919ZM24.3058 20.917L28.3275 14.0726H29.6768L25.6638 20.917H24.3058ZM24.6453 16.603C24.9499 16.603 25.124 16.3333 25.124 15.8563C25.124 15.3585 24.9499 15.0889 24.6453 15.0889C24.3406 15.0889 24.1665 15.3585 24.1665 15.8459C24.1665 16.3333 24.3406 16.603 24.6453 16.603ZM29.3199 21C28.2753 21 27.7008 20.3363 27.7008 19.1437C27.7008 17.9511 28.284 17.3081 29.3373 17.3081C30.4081 17.3081 31 17.9615 31 19.1333C31 20.3363 30.3993 21 29.3199 21ZM29.3199 19.9111C29.6246 19.9111 29.7987 19.6415 29.7987 19.1644C29.7987 18.6667 29.6246 18.397 29.3199 18.397C29.0152 18.397 28.8411 18.6667 28.8411 19.1541C28.8411 19.6415 29.0152 19.9111 29.3199 19.9111Z",fill:"currentColor"})]})},s2=({className:e,style:t,analytics:r,testId:n="Responsibility30PercentLogo"})=>{let a=W(),i=P("responsibility-30-percent-logo","",r);return(0,C.jsx)("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"30%",role:"img",className:e,"data-testid":n,style:t,...i,children:s0[a]})},s3=e=>{let t=w({"has-[:disabled]:ring-[color:var(--actions-stroke-colors-action-stroke-color-disabled)] has-[:disabled]:hover:ring-[color:var(--actions-stroke-colors-action-stroke-color-disabled)]":e,"disabled:ring-[color:var(--actions-stroke-colors-action-stroke-color-disabled)] disabled:hover:ring-[color:var(--actions-stroke-colors-action-stroke-color-disabled)]":!e});return{none:w("ring-[length:var(--actions-strokes-action-stroke-width)] ring-inset","ring-[color:var(--form-field-form-element-stroke-color)]","hover:ring-[color:var(--form-field-form-element-stroke-color-hover)]",t),invalid:w("ring-[length:var(--actions-strokes-validation-state-stroke)] ring-inset","ring-[color:var(--generic-stroke-colors-stroke-color-negative)]","hover:ring-[color:var(--generic-stroke-colors-stroke-color-negative-hover)]",t),valid:w("ring-[length:var(--actions-strokes-validation-state-stroke)] ring-inset","ring-[color:var(--actions-stroke-colors-stroke-color-positive)]","hover:ring-[color:var(--actions-stroke-colors-stroke-color-positive-hover)]",t)}},s5=(0,k.createContext)({disabled:!1}),s4=({icon:e,action:t,label:r,link:n,testId:a="TextInputSlotIcon"})=>{let{disabled:i}=(0,k.useContext)(s5),o=et(n),s=w({"-mx-0.5 p-0.5 text-[color:var(--actions-fill-colors-action-icon-fill-default)] group-hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]":!i,"-mx-0.5 p-0.5 text-[color:var(--actions-fill-colors-action-icon-fill-disabled)]":i});return(0,C.jsxs)(C.Fragment,{children:[!t&&!n&&(0,C.jsx)("span",{className:s,"data-testid":a,children:(0,C.jsx)(e,{alt:r})}),t&&(0,C.jsx)("button",{onClick:t,className:s,"data-testid":a,disabled:i,type:"button",children:(0,C.jsx)(e,{alt:r})}),n&&(i?(0,C.jsx)("span",{className:s,"data-testid":a,children:(0,C.jsx)(e,{alt:r})}):(0,C.jsx)(o,{href:n.href,target:n.target,className:s,"data-testid":a,children:(0,C.jsx)(e,{alt:r})}))]})},s8=({children:e,action:t,link:r,testId:n="TextInputSlotText",className:a,style:i})=>{let{disabled:o}=(0,k.useContext)(s5),s=et(r),l="font-[var(--ds-core--link--font-weight)] text-[color:var(--actions-text-colors-action-text-fill-disabled)]";return(0,C.jsxs)(C.Fragment,{children:[!t&&!r&&(0,C.jsx)("span",{"data-testid":n,className:w("text-[color:var(--form-field-field-secondary-text-color)]",a),style:i,children:e}),t&&(0,C.jsx)("button",{onClick:t,className:w({"ds-link":!o,[l]:o},a),style:i,"data-testid":n,disabled:o,type:"button",children:e}),r&&(o?(0,C.jsx)("span",{className:w(l,a),"data-testid":n,style:i,children:e}):(0,C.jsx)(s,{href:r.href,target:r.target,className:w("ds-link",a),style:i,"data-testid":n,children:e}))]})},s6=({testId:e="AlertCircleIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 8V12M12 16H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),s9=({status:e,disabled:t})=>"valid"===e?(0,C.jsx)(oX,{className:w({"text-[color:var(--generic-fill-colors-icon-color-positive)]":!t,"text-[color:var(--actions-fill-colors-action-icon-fill-disabled)]":t})}):"invalid"===e?(0,C.jsx)(s6,{className:w({"text-[color:var(--generic-fill-colors-icon-color-negative)]":!t,"text-[color:var(--actions-fill-colors-action-icon-fill-disabled)]":t})}
1):null,s7=s3(!0),le=e=>{if(e){if("string"==typeof e)return(0,C.jsx)(s8,{children:e});if("function"==typeof e)return(0,C.jsx)(s4,{icon:e});if((0,k.isValidElement)(e))return e}},lt=(0,k.forwardRef)(({icon:e,iconPosition:t="right",id:r,name:n,className:a,style:i,testId:o="TextInput",status:s="none",width:l="full",disabled:c=!1,placeholder:u,type:d="text",preSlot:h,postSlot:p,onValueChange:f=()=>void 0,onChange:m=()=>void 0,...g},v)=>{let y="none"!==s,b=w("ds-body-text--compact ds-text-prevent-autozoom","group relative flex h-[52px] flex-row items-center gap-3 rounded-ds","has-[:focus]:shadow-ds-focus","bg-[color:var(--generic-fill-colors-fill-default)] has-[:disabled]:bg-[color:var(--actions-fill-colors-action-fill-disabled)]",oQ[l],s7[s],a),x=w("box-border min-w-0 flex-grow appearance-none truncate bg-inherit py-4",{"ps-4":!h,"pe-4":!p},"focus-visible:shadow-none","placeholder:text-[color:var(--form-field-field-text-fill-placeholder)] disabled:text-[color:var(--actions-text-colors-action-text-fill-disabled)]",{"ml-[var(--actions-strokes-validation-state-stroke)]":!h,"mr-[var(--actions-strokes-validation-state-stroke)]":!p&&!y},{"rounded-l-[calc(8px_-_var(--actions-strokes-action-stroke-width))]":!h,"rounded-r-[calc(8px_-_var(--actions-strokes-action-stroke-width))]":!p},{"h-[calc(52px-(var(--actions-strokes-action-stroke-width)*2))]":"none"===s,"h-[calc(52px-(var(--actions-strokes-validation-state-stroke)*2))]":"none"!==s});return e&&("left"===t&&(h=e),"right"===t&&(p=e)),(0,C.jsx)(s5.Provider,{value:{disabled:c},children:(0,C.jsxs)("div",{className:b,style:i,"data-testid":o,children:[h&&(0,C.jsx)("div",{className:"flex items-center gap-2 pl-4",children:le(h)}),(0,C.jsx)("input",{ref:v,className:x,name:n||r,id:r,type:d,disabled:c,placeholder:u,"aria-invalid":"invalid"===s,onChange:e=>{f(e.target.value),m(e)},...g}),(p||y)&&(0,C.jsxs)("div",{className:"flex items-center gap-2 pr-4",children:[(0,C.jsx)(s9,{disabled:c,status:s}),le(p)]})]})})});var lr={"en-GB":{code:"GBP",symbol:"\xa3",position:"left"},"nl-NL":{code:"EUR",symbol:"€",position:"left"},"de-DE":{code:"EUR",symbol:"€",position:"left"},"sv-SE":{code:"SEK",symbol:"kr",position:"right"},"no-NO":{code:"NOK",symbol:"kr",position:"right"},"en-CA":{code:"CAD",symbol:"$",position:"left"},"fr-CA":{code:"CAD",symbol:"$",position:"left"}};let ln=(e,t)=>{try{if(Number.isNaN(parseFloat(e)))return e;return((e,t=v.EN_GB)=>new Intl.NumberFormat(t,{minimumFractionDigits:2,maximumFractionDigits:20}).format(e))(parseFloat(e),t)}catch(t){return e}},la=(e,t)=>{let r=new Intl.NumberFormat(t).formatToParts(1234567.89),n=r.find(e=>"group"===e.type)?.value||",",a=r.find(e=>"decimal"===e.type)?.value||".";return e.replace(RegExp(" ","g"),"").replace(RegExp(`[${n}]`,"g"),"").replace(RegExp(`[${a}]`,"g"),".")};(0,k.forwardRef)(({id:e,name:t,className:r,style:n,testId:a="CurrencyInput",status:i="none",width:o="full",disabled:s=!1,placeholder:l,type:c="text",locale:u,onValueChange:d,onInput:h,onBlur:p,value:f,defaultValue:m,...g},v)=>{let y=er(),b=u||y,x=lr[b],T=m?ln(la(m,b),b):"",[E,w]=(0,k.useState)(T);return(0,C.jsx)(lt,{ref:v,className:r,name:t||e,id:e,type:c,disabled:s,placeholder:l&&((e,t)=>{let r=la(e,t);if(""===r)return"";return/^\d+(\.\d*)?$/.test(r)?ln(r,t):e})(l,b),"aria-invalid":"invalid"===i,onInput:e=>{if(e.target instanceof HTMLInputElement){w(e.target.value);let t=la(e.target.value,b);d?.(t,{rawValue:e.target.value}),h?.(e)}},testId:a,style:n,value:f||E,width:o,...g,status:i,preSlot:"left"==x.position&&(0,C.jsx)(s8,{children:x.symbol}),postSlot:"right"==x.position&&(0,C.jsx)(s8,{className:"order-[-1]",children:x.symbol}),onBlur:e=>{let t=la(e.target.value,b);/^\d+(\.\d*)?$/.test(t)&&(w(ln(t,b)),d?.(t,{rawValue:e.target.value}),p?.(e))}})});var li=(e,t)=>e.reduce((e,r,n)=>{if(n%t==0)e.push([r]);else e[e.length-1]?.push(r);return e},[]);Function.prototype.toString.call(Object);var lo=()=>{},ls=(...e)=>(...t)=>{e.forEach(function(e){e?.(...t)})};function ll(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw Error.captureStackTrace?.(n,ll),n}var{floor:lc,abs:lu,round:ld,min:lh,max:lp,pow:lf,sign:lm}=Math,lg=e=>Number.isNaN(e)?0:e;function lv(e){if(!ly(e)||void 0===e)return e;let t=Reflect.ownKeys(e).filter(e=>"string"==typeof e),r={};for(let n of t){let t=e[n];void 0!==t&&(r[n]=lv(t))}return r}var ly=e=>e&&"object"==typeof e&&e.constructor===Object,lb=e=>function(t){let r={},n={},a=new Set(e);for(let e in t)a.has(e)?n[e]=t[e]:r[e]=t[e];return[n,r]};function lx(...e){1===e.length?e[0]:e[1],2!==e.length||e[0]}var lT=()=>void 0,lE=e=>"object"==typeof e&&null!==e,lC=e=>e?"":void 0,lw=e=>e?"true":void 0,lk=e=>lE(e)&&1===e.nodeType&&"string"==typeof e.nodeName,lS=e=>lE(e)&&9===e.nodeType,lI=e=>lk(e)?e.localName||"":"#document",lP=e=>lE(e)&&void 0!==e.nodeType&&11===e.nodeType&&"host"in e;function l_(e,t){if(!e||!t||!lk(e)||!lk(t))return!1;let r=t.getRootNode?.();if(e===t||e.contains(t))return!0;
1if(r&&lP(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function lR(e){return lS(e)?e:lE(e)&&e===e.window?e.document:e?.ownerDocument??document}function lA(e){return lP(e)?lA(e.host):lS(e)?e.defaultView??window:lk(e)?e.ownerDocument?.defaultView??window:window}var lN=new WeakMap;function lD(e){return lN.has(e)||lN.set(e,lA(e).getComputedStyle(e)),lN.get(e)}var lO=e=>{let t;return"u">typeof document&&e.test((t=navigator.userAgentData,t?.platform??navigator.platform))},lj=()=>"u">typeof document&&!!navigator.maxTouchPoints,lL=()=>lO(/^iPhone/i)||lO(/^iPad/i)||lM()&&navigator.maxTouchPoints>1,lM=()=>lO(/^Mac/i);function lH(e){let t=e.composedPath?.()??e.nativeEvent?.composedPath?.();return t?.[0]??e.target}var lF={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},lq={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function lB(e){return e.nativeEvent??e}var lU=(e,t,r,n)=>{let a="function"==typeof e?e():e;return a?.addEventListener(t,r,n),()=>{a?.removeEventListener(t,r,n)}};function lW(e,t,r="value"){if(!e)return;let n="input"===e.localName?"HTMLInputElement":"textarea"===e.localName?"HTMLTextAreaElement":"select"===e.localName?"HTMLSelectElement":void 0;if(n){let a=function(e,t){let{type:r="HTMLInputElement",property:n="value"}=t;return Object.getOwnPropertyDescriptor(lA(e)[r].prototype,n)??{}}(e,{type:n,property:r});a.set?.call(e,t)}e.setAttribute(r,t)}function lV(e){return!(!e||e.closest("[inert]"))&&e.matches("input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type")&&!!lk(e)&&(e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0)}function lG(e){let t=new Set;function r(e){let r=globalThis.requestAnimationFrame(e);t.add(()=>globalThis.cancelAnimationFrame(r))}return r(()=>r(e)),function(){t.forEach(e=>e())}}function lz(e){let t,r=globalThis.requestAnimationFrame(()=>{t=e()});return()=>{globalThis.cancelAnimationFrame(r),t?.()}}function lY(e){let t=function(e){if("html"===lI(e))return e;let t=e.assignedSlot||e.parentNode||lP(e)&&e.host||lR(e).documentElement;return lP(t)?t.host:t}(e);return["html","body","#document"].includes(lI(t))?lR(t).body:lk(t)&&function(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=lA(e).getComputedStyle(e);return l$.test(t+n+r)&&!["inline","contents"].includes(a)}(t)?t:lY(t)}var l$=/auto|scroll|overlay|hidden|clip/,lQ="default",lK="",lZ=new WeakMap;function lX(e={}){let{target:t,doc:r}=e,n=(r??document).documentElement;if(lL()){if("disabled"!==lQ)return;lQ="restoring",setTimeout(()=>{lG(()=>{"restoring"===lQ&&("none"===n.style.webkitUserSelect&&(n.style.webkitUserSelect=lK||""),lK="",lQ="default")})},300)}else if(t&&lZ.has(t)){let e=lZ.get(t);"none"===t.style.userSelect&&(t.style.userSelect=e??""),""===t.getAttribute("style")&&t.removeAttribute("style"),lZ.delete(t)}}function lJ(e,t){if(!e)return lT;let r=Object.keys(t).reduce((t,r)=>(t[r]=e.style.getPropertyValue(r),t),{});return Object.assign(e.style,t),()=>{Object.assign(e.style,r),0===e.style.length&&e.removeAttribute("style")}}var l1=1e3/60,l0=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(" "),l2=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,l3=e=>{let t,r={};for(;t=l2.exec(e);)r[t[1]]=t[2];return r},l5=(e,t)=>{if("string"==typeof e){if("string"==typeof t)return`${e};${t}`;e=l3(e)}else"string"==typeof t&&(t=l3(t));return Object.assign({},e??{},t??{})};function l4(...e){let t={};for(let r of e){for(let e in t){if(e.startsWith("on")&&"function"==typeof t[e]&&"function"==typeof r[e]){t[e]=ls(r[e],t[e]);continue}if("className"===e||"class"===e){t[e]=l0(t[e],r[e]);continue}if("style"===e){t[e]=l5(t[e],r[e]);continue}t[e]=void 0!==r[e]?r[e]:t[e]}for(let e in r)void 0===t[e]&&(t[e]=r[e])}return t}var l8=((p=l8||{}).NotStarted="Not Started",p.Started="Started",p.Stopped="Stopped",p),l6="__init__";let l9=()=>(e,t)=>t.reduce((e,t)=>{let[r,n]=e;return void 0!==n[t]&&(r[t]=n[t]),delete n[t],[r,n]},[{},{...e}]);function l7(...e){return t=>{let r=[];for(let n of e)if("function"==typeof n){let e=n(t);"function"==typeof e&&r.push(e)}else n&&(n.current=t);if(r.length)return()=>{for(let e of r)e()}}}let ce=e=>{let t=(0,k.memo)((0,k.forwardRef)((t,r)=>{let n,{asChild:a,children:i,...o}=t;if(!a)return(0,k.createElement)(e,{...o,ref:r},i);let s=k.Children.only(i);if(!(0,k.isValidElement)(s))return null;let l=(n=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning?s.ref:(n=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning?s.props.ref:s.props.ref||s.ref;return(0,k.cloneElement)(s,{...l4(o,s.props),ref:r?l7(r,l):l})}));return t.displayName=e.displayName||e.name,t},ct=(a=new Map,new Proxy(ce,{apply:(e,t,r)=>ce(r[0]),get:(e,t)=>(a.has(t)||a.set(t,ce(t)),a.get(t))}));var cr=()=>e=>Array.from(new Set(e)),cn={props:({props:e})=>({...e,present:!!e.present}),initialState:({prop:e})=>e("present")?"mounted":"unmounted",refs:()=>({node:null,styles:null}
1),context:({bindable:e})=>({unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}),exit:["clearInitial","cleanupNode"],watch({track:e,action:t,prop:r}){e([()=>r("present")],()=>{t(["setInitial","syncPresence"])})},on:{"NODE.SET":{actions:["setNode","setStyles"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},setNode:({refs:e,event:t})=>{e.set("node",t.node)},setStyles:({refs:e,event:t})=>{e.set("styles",lD(t.node))},syncPresence:({context:e,refs:t,send:r,prop:n})=>{let a=n("present");if(a)return r({type:"MOUNT",src:"presence.changed"});let i=t.get("node");if(!a&&i?.ownerDocument.visibilityState==="hidden")return r({type:"UNMOUNT",src:"visibilitychange"});lz(()=>{let n=ca(t.get("styles"));e.set("unmountAnimationName",n),"none"===n||n===e.get("prevAnimationName")||t.get("styles")?.display==="none"||t.get("styles")?.animationDuration==="0s"?r({type:"UNMOUNT",src:"presence.changed"}):r({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:e,refs:t})=>{lz(()=>{e.set("prevAnimationName",ca(t.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:r})=>{let n=t.get("node");if(!n)return;let a=r=>{(r.composedPath?.()?.[0]??r.target)===n&&e.set("prevAnimationName",ca(t.get("styles")))},i=a=>{let i=ca(t.get("styles"));lH(a)===n&&i===e.get("unmountAnimationName")&&r({type:"UNMOUNT",src:"animationend"})};n.addEventListener("animationstart",a),n.addEventListener("animationcancel",i),n.addEventListener("animationend",i);let o=lJ(n,{animationFillMode:"forwards"});return()=>{n.removeEventListener("animationstart",a),n.removeEventListener("animationcancel",i),n.removeEventListener("animationend",i),lG(()=>o())}}}}};function ca(e){return e?.animationName||"none"}cr()(["onExitComplete","present","immediate"]);var ci=void 0!==globalThis.document?k.useLayoutEffect:k.useEffect;function co(e){let t=e().value??e().defaultValue,r=e().isEqual??Object.is,[n]=(0,k.useState)(t),[a,i]=(0,k.useState)(n),o=void 0!==e().value,s=(0,k.useRef)(a);s.current=o?e().value:a;let l=(0,k.useRef)(s.current);return ci(()=>{l.current=s.current},[a,e().value]),{initial:n,ref:s,get:function(){return o?e().value:a},set(t){(e().sync?e2.flushSync:e=>e())(()=>{var n;let a,s;return n=t,a=l.current,s="function"==typeof n?n(a):n,void(e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:s,prev:a}),o||i(s),r(s,a)||e().onChange?.(s,a))})},invoke(t,r){e().onChange?.(t,r)},hash:t=>e().hash?.(t)??String(t)}}co.cleanup=e=>{(0,k.useEffect)(()=>e,[])},co.ref=e=>{let t=(0,k.useRef)(e);return{get:()=>t.current,set:e=>{t.current=e}}};var cs=(e,t)=>{let r=(0,k.useRef)(!1),n=(0,k.useRef)(!1);(0,k.useEffect)(()=>{if(r.current&&n.current)return t();n.current=!0},[...(e??[]).map(e=>"function"==typeof e?e():e)]),(0,k.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])};function cl(e,t={}){var r;let n,a,i=(0,k.useMemo)(()=>{var e;let r,n,a,{id:i,ids:o,getRootNode:s}=t;return e={id:i,ids:o,getRootNode:s},r=()=>e.getRootNode?.()??document,n=()=>lR(r()),a=()=>(function(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t})(r()),{...e,getRootNode:r,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:a,isActiveElement:e=>e===a(),getById:e=>r().getElementById(e)}},[t]),o=(...t)=>{e.debug&&console.log(...t)},s=(n=cc(e.props?.({props:lv(t),scope:i})??t),function(e){return n.current[e]}),l=cc(e.context?.({prop:s,bindable:co,scope:i,flush:cu,getContext:()=>c,getComputed:()=>E,getRefs:()=>g})),c={get:e=>l.current?.[e].ref.current,set(e,t){l.current?.[e].set(t)},initial:e=>l.current?.[e].initial,hash(e){let t=l.current?.[e].get();return l.current?.[e].hash(t)}},u=(0,k.useRef)(new Map),d=(0,k.useRef)(null),h=(0,k.useRef)(null),p=(0,k.useRef)({type:""}),f=()=>({...p.current,current:()=>p.current,previous:()=>h.current}),m=()=>({...C,matches:(...e)=>e.includes(C.ref.current),hasTag:t=>!!e.states[C.ref.current]?.tags?.includes(t)}),g=(r=e.refs?.({prop:s,context:c})??{},a=(0,k.useRef)(r),{get:e=>a.current[e],set(e,t){a.current[e]=t}}),v=()=>({state:m(),context:c,event:f(),prop:s,send:I,action:y,guard:b,track:cs,refs:g,computed:E,flush:cu,scope:i,choose:T}),y=t=>{let r="function"==typeof t?t(v()):t;if(r)for(let t of r.map(t=>{let r=e.implementations?.actions?.[t];return r||lx(`[zag-js] No implementation found for action "${JSON.stringify(t)}"`),r}))t?.(v())},b=t=>"function"==typeof t?t(v()):e.implementations?.guards?.[t](v()),x=t=>{let r="function"==typeof t?t(v()):t;if(!r)return;let n=r.map(t=>{let r=e.implementations?.effects?.[t];return r||lx(`[zag-js] No implementation found for effect "${JSON.stringify(t)}"`),r}),a=[];for(let e of n){let t=e?.(v());t&&a.push(t)}return()=>
1a.forEach(e=>e?.())},T=e=>(!e?[]:Array.isArray(e)?e:[e]).find(e=>{let t=!e.guard;return"string"==typeof e.guard?t=!!b(e.guard):"function"==typeof e.guard&&(t=e.guard(v())),t}),E=t=>{if(null==e.computed)throw Error("[zag-js] No computed object found on machine");return(0,e.computed[t])({context:c,event:f(),prop:s,refs:g,scope:i,computed:E})},C=co(()=>({defaultValue:e.initialState({prop:s}),onChange(t,r){if(r){let e=u.current.get(r);e?.(),u.current.delete(r)}r&&y(e.states[r]?.exit),y(d.current?.actions);let n=x(e.states[t]?.effects);if(n&&u.current.set(t,n),r===l6){y(e.entry);let t=x(e.effects);t&&u.current.set(l6,t)}y(e.states[t]?.entry)}})),w=(0,k.useRef)(void 0),S=(0,k.useRef)(l8.NotStarted);ci(()=>{queueMicrotask(()=>{let e=S.current===l8.Started;S.current=l8.Started,o(e?"rehydrating...":"initializing...");let t=w.current??C.initial;C.invoke(t,e?C.get():l6)});let t=u.current,r=C.ref.current;return()=>{o("unmounting..."),w.current=r,S.current=l8.Stopped,t.forEach(e=>e?.()),u.current=new Map,d.current=null,queueMicrotask(()=>{y(e.exit)})}},[]);let I=t=>{queueMicrotask(()=>{if(S.current!==l8.Started)return;h.current=p.current,p.current=t,o("send",t);let r="ref"in C?C.ref.current:C.get(),n=T(e.states[r].on?.[t.type]??e.on?.[t.type]);if(!n)return;d.current=n;let a=n.target??r;o("transition",n);let i=a!==r;i?(0,e2.flushSync)(()=>C.set(a)):n.reenter&&!i?C.invoke(r,r):y(n.actions??[])})};return e.watch?.(v()),{state:m(),send:I,context:c,prop:s,scope:i,refs:g,computed:E,event:f(),getStatus:()=>S.current}}function cc(e){let t=(0,k.useRef)(e);return t.current=e,t}function cu(e){queueMicrotask(()=>{(0,e2.flushSync)(()=>e())})}var cd=(f=e=>e,new Proxy({},{get:(e,t)=>"style"===t?e=>f({style:e}).style:f}));function ch(e={}){let{name:t,strict:r=!0,hookName:n="useContext",providerName:a="Provider",errorMessage:i,defaultValue:o}=e,s=(0,k.createContext)(o);return s.displayName=t,[s.Provider,function e(){let t=(0,k.useContext)(s);if(!t&&r){let t=Error(i??`${n} returned \`undefined\`. Seems you forgot to wrap component within ${a}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},s]}let[cp,cf]=ch({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"});var cm=(e,t=[])=>({parts:(...r)=>{if(cv(t))return cm(e,r);throw Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...r)=>cm(e,[...t,...r]),rename:e=>cm(e,t),keys:()=>t,build:()=>[...new Set(t)].reduce((t,r)=>Object.assign(t,{[r]:{selector:`&[data-scope="${cg(e)}"][data-part="${cg(r)}"], & [data-scope="${cg(e)}"][data-part="${cg(r)}"]`,attrs:{"data-scope":cg(e),"data-part":cg(r)}}}),{})}),cg=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),cv=e=>0===e.length;let cy=new Map;class cb{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.formatter.format(e)} \u{2013} ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let r=this.formatter.formatToParts(e),n=this.formatter.formatToParts(t);return[...r.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return null==cC&&(cC="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle),cC&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let r=cT(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(e=>"hour"===e.type).value,10),a=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(e=>"hour"===e.type).value,10);if(0===n&&23===a)return"h23";if(24===n&&23===a)return"h24";if(0===n&&11===a)return"h11";if(12===n&&11===a)return"h12";throw Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=cT(e,t),this.options=t}}let cx={true:{ja:"h11"},false:{}};function cT(e,t={}){if("boolean"==typeof t.hour12&&(null==cE&&(cE="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))),cE)){let r=cx[String((t={...t}).hour12)][e.split("-")[0]],n=t.hour12?"h12":"h23";t.hourCycle=null!=r?r:n,delete t.hour12}let r=e+(t?Object.entries(t).sort((e,t)=>
1e[0]<t[0]?-1:1).join():"");if(cy.has(r))return cy.get(r);let n=new Intl.DateTimeFormat(e,t);return cy.set(r,n),n}let cE=null,cC=null;function cw(e,t){return e-t*Math.floor(e/t)}function ck(e,t,r,n){let a=(t=cI(e,t))-1,i=-2;return r<=2?i=0:cS(t)&&(i=-1),1721425+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*r-362)/12+i+n)}function cS(e){return e%4==0&&(e%100!=0||e%400==0)}function cI(e,t){return"BC"===e?1-t:t}let cP={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class c_{fromJulianDay(e){var t;let r,n=e-1721426,a=Math.floor(n/146097),i=cw(n,146097),o=Math.floor(i/36524),s=cw(i,36524),l=Math.floor(s/1461),c=Math.floor(cw(s,1461)/365),[u,d]=(r="AD",(t=400*a+100*o+4*l+c+ +(4!==o&&4!==c))<=0&&(r="BC",t=1-t),[r,t]),h=e-ck(u,d,1,1),p=2;e<ck(u,d,3,1)?p=0:cS(d)&&(p=1);let f=Math.floor(((h+p)*12+373)/367),m=e-ck(u,d,f,1)+1;return new cK(u,d,f,m)}toJulianDay(e){return ck(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return cP[cS(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return cS(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return"BC"===e.era}balanceDate(e){e.year<=0&&(e.era="BC"===e.era?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}function cR(e,t){let r=e.copy(),n="hour"in r?function(e,t){let r;return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,e.second+=Math.floor(e.millisecond/1e3),e.millisecond=cH(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=cH(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=cH(e.minute,60),r=Math.floor(e.hour/24),e.hour=cH(e.hour,24),r}(r,t):0;cA(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,cN(r),cD(r),r.day+=7*(t.weeks||0),r.day+=t.days||0,r.day+=n,function(e){for(;e.day<1;)e.month--,cN(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,cN(e)}(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let a=r.calendar.getYearsInEra(r);if(r.year>a){var i,o;let e=null==(i=(o=r.calendar).isInverseEra)?void 0:i.call(o,r);r.year=a,r.month=e?1:r.calendar.getMonthsInYear(r),r.day=e?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function cA(e,t){var r,n;(null==(r=(n=e.calendar).isInverseEra)?void 0:r.call(n,e))&&(t=-t),e.year+=t}function cN(e){for(;e.month<1;)cA(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,cA(e,1)}function cD(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function cO(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),cD(e)}function cj(e){let t={};for(let r in e)"number"==typeof e[r]&&(t[r]=-e[r]);return t}function cL(e,t){let r=e.copy();return null!=t.era&&(r.era=t.era),null!=t.year&&(r.year=t.year),null!=t.month&&(r.month=t.month),null!=t.day&&(r.day=t.day),cO(r),r}function cM(e,t){var r;let n=e.copy();return null!=t.hour&&(n.hour=t.hour),null!=t.minute&&(n.minute=t.minute),null!=t.second&&(n.second=t.second),null!=t.millisecond&&(n.millisecond=t.millisecond),(r=n).millisecond=Math.max(0,Math.min(r.millisecond,1e3)),r.second=Math.max(0,Math.min(r.second,59)),r.minute=Math.max(0,Math.min(r.minute,59)),r.hour=Math.max(0,Math.min(r.hour,23)),n}function cH(e,t){let r=e%t;return r<0&&(r+=t),r}function cF(e,t,r,n){let a=e.copy();switch(t){case"era":{let t=e.calendar.getEras(),i=t.indexOf(e.era);if(i<0)throw Error("Invalid era: "+e.era);i=cB(i,r,0,t.length-1,null==n?void 0:n.round),a.era=t[i],cO(a);break}case"year":var i,o;(null==(i=(o=a.calendar).isInverseEra)?void 0:i.call(o,a))&&(r=-r),a.year=cB(e.
1year,r,-1/0,9999,null==n?void 0:n.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=cB(e.month,r,1,e.calendar.getMonthsInYear(e),null==n?void 0:n.round);break;case"day":a.day=cB(e.day,r,1,e.calendar.getDaysInMonth(e),null==n?void 0:n.round);break;default:throw Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(a),cO(a),a}function cq(e,t,r,n){let a=e.copy();switch(t){case"hour":{let t=e.hour,i=0,o=23;if((null==n?void 0:n.hourCycle)===12){let e=t>=12;i=12*!!e,o=e?23:11}a.hour=cB(t,r,i,o,null==n?void 0:n.round);break}case"minute":a.minute=cB(e.minute,r,0,59,null==n?void 0:n.round);break;case"second":a.second=cB(e.second,r,0,59,null==n?void 0:n.round);break;case"millisecond":a.millisecond=cB(e.millisecond,r,0,999,null==n?void 0:n.round);break;default:throw Error("Unsupported field "+t)}return a}function cB(e,t,r,n,a=!1){if(a){(e+=Math.sign(t))<r&&(e=n);let a=Math.abs(t);(e=t>0?Math.ceil(e/a)*a:Math.floor(e/a)*a)>n&&(e=r)}else(e+=t)<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function cU(e,t){return ut(c9((null!=t.years&&0!==t.years||null!=t.months&&0!==t.months||null!=t.weeks&&0!==t.weeks||null!=t.days&&0!==t.days?c8(cR(ue(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):c0(e)-e.offset)+(t.milliseconds||0)+1e3*(t.seconds||0)+6e4*(t.minutes||0)+36e5*(t.hours||0),e.timeZone),e.calendar)}let cW=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/;function cV(e,t,r){let n=Number(e);if(n<t||n>r)throw RangeError(`Value out of range: ${t} <= ${n} <= ${r}`);return n}function cG(e){let t,r=ut(e,new c_);return t="BC"===r.era?1===r.year?"0000":"-"+String(Math.abs(1-r.year)).padStart(6,"00"):String(r.year).padStart(4,"0"),`${t}-${String(r.month).padStart(2,"0")}-${String(r.day).padStart(2,"0")}`}function cz(e){return`${cG(e)}T${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function cY(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function c$(e){let t,r="object"==typeof e[0]?e.shift():new c_;if("string"==typeof e[0])t=e.shift();else{let e=r.getEras();t=e[e.length-1]}return[r,t,e.shift(),e.shift(),e.shift()]}var cQ=new WeakMap;class cK{copy(){return this.era?new cK(this.calendar,this.era,this.year,this.month,this.day):new cK(this.calendar,this.year,this.month,this.day)}add(e){return cR(this,e)}subtract(e){return cR(this,cj(e))}set(e){return cL(this,e)}cycle(e,t,r){return cF(this,e,t,r)}toDate(e){return c6(this,e)}toString(){return cG(this)}compare(e){return ul(this,e)}constructor(...e){cY(this,cQ,{writable:!0,value:void 0});let[t,r,n,a,i]=c$(e);this.calendar=t,this.era=r,this.year=n,this.month=a,this.day=i,cO(this)}}var cZ=new WeakMap;class cX{copy(){return this.era?new cX(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new cX(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return cR(this,e)}subtract(e){return cR(this,cj(e))}set(e){return cL(cM(this,e),e)}cycle(e,t,r){switch(e){case"era":case"year":case"month":case"day":return cF(this,e,t,r);default:return cq(this,e,t,r)}}toDate(e,t){return c6(this,e,t)}toString(){return cz(this)}compare(e){var t,r;let n=ul(this,e);return 0===n?(t=this,r=ue(e),uc(t)-uc(r)):n}constructor(...e){cY(this,cZ,{writable:!0,value:void 0});let[t,r,n,a,i]=c$(e);this.calendar=t,this.era=r,this.year=n,this.month=a,this.day=i,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,cO(this)}}var cJ=new WeakMap;class c1{copy(){return this.era?new c1(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new c1(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return cU(this,e)}subtract(e){return cU(this,cj(e))}set(e,t){let r,n;return 0===(n=cM(cL(r=ue(this),e),e)).compare(r)?this:ut(c9(c8(n,this.timeZone,t),this.timeZone),this.calendar)}cycle(e,t,r){return function(e,t,r,n){switch(t){case"hour":{let t=0,a=23;if((null==n?void 0:n.hourCycle)===12){let r=e.hour>=12;t=12*!!r,a=r?23:11}let i=ue(e),o=ut(cM(i,{hour:t}),new c_),s=[c8(o,e.timeZone,"earlier"),c8(o,e.timeZone,"later")].filter(t=>c9(t,e.timeZone).day===o.day)[0],l=ut(cM(i,{hour:a}),new c_),c=[c8(l,e.timeZone,"earlier"),c8(l,e.timeZone,"later")].filter(t=>c9(t,e.timeZone).day===l.day).pop(),u=c0(e)-e.offset,d=Math.floor(u/36e5),h=u%36e5;return ut(c9(u=36e5*cB(d,r,Math.floor(s/36e5),Math.floor(c/36e5),null==n?void 0:n.round)+h,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return cq(e,t,r,n);case"era":case"year":case"month":case"day":return ut(c9(c8(cF(ue(e),t,r,n),e.timeZone),e.timeZone),e.calendar);default:throw Error("Unsupported field "+t)}}(this,e,t,r)}toDate(){var e;return e=this,new Date(c0(e)-e.offset)}toString(){var e;let t,r,n;return`${cz(this)}${t=0>Math.sign(e=this.offset)?"-":"+",r=Math.floor((e=Math.abs(e))/36e5),n=e%36e5/6e4,`${t}
1${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}[${this.timeZone}]`}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-(function(e,t){if(e instanceof c1){var r,n;return e.timeZone===t?e:(r=e,n=t,ut(c9(c0(r)-r.offset,n),r.calendar))}return c9(c8(e,t,void 0),t)})(e,this.timeZone).toDate().getTime()}constructor(...e){cY(this,cJ,{writable:!0,value:void 0});let[t,r,n,a,i]=c$(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=r,this.year=n,this.month=a,this.day=i,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,cO(this)}}function c0(e){return c2(cI((e=ut(e,new c_)).era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function c2(e,t,r,n,a,i,o){let s=new Date;return s.setUTCHours(n,a,i,o),s.setUTCFullYear(e,t-1,r),s.getTime()}function c3(e,t){if("UTC"===t)return 0;if(e>0&&t===ud())return -6e4*new Date(e).getTimezoneOffset();let{year:r,month:n,day:a,hour:i,minute:o,second:s}=c4(e,t);
1return c2(r,n,a,i,o,s,0)-1e3*Math.floor(e/1e3)}let c5=new Map;function c4(e,t){let r=c5.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),c5.set(t,r));let n=r.formatToParts(new Date(e)),a={};for(let e of n)"literal"!==e.type&&(a[e.type]=e.value);return{year:"BC"===a.era||"B"===a.era?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:"24"===a.hour?0:+a.hour,minute:+a.minute,second:+a.second}}function c8(e,t,r="compatible"){var n,a,i;let o=ue(e);if("UTC"===t)return c0(o);if(t===ud()&&"compatible"===r){o=ut(o,new c_);let e=new Date,t=cI(o.era,o.year);return e.setFullYear(t,o.month-1,o.day),e.setHours(o.hour,o.minute,o.second,o.millisecond),e.getTime()}let s=c0(o),l=c3(s-864e5,t),c=c3(s+864e5,t),u=(n=o,((a=s-l)==(i=s-c)?[a]:[a,i]).filter(e=>{var r;let a;return r=n,a=c4(e,t),r.year===a.year&&r.month===a.month&&r.day===a.day&&r.hour===a.hour&&r.minute===a.minute&&r.second===a.second}));if(1===u.length)return u[0];if(u.length>1)switch(r){case"compatible":case"earlier":return u[0];case"later":return u[u.length-1];case"reject":throw RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(s-l,s-c);case"compatible":case"later":return Math.max(s-l,s-c);case"reject":throw RangeError("No such absolute time found")}}function c6(e,t,r="compatible"){return new Date(c8(e,t,r))}function c9(e,t){let r=c3(e,t),n=new Date(e+r),a=n.getUTCFullYear();return new c1(a<1?"BC":"AD",a<1?-a+1:a,n.getUTCMonth()+1,n.getUTCDate(),t,r,n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds())}function c7(e){return new cK(e.calendar,e.era,e.year,e.month,e.day)}function ue(e,t){let r=0,n=0,a=0,i=0;if("timeZone"in e)({hour:r,minute:n,second:a,millisecond:i}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:a,millisecond:i}=t),new cX(e.calendar,e.era,e.year,e.month,e.day,r,n,a,i)}function ut(e,t){if(ua(e.calendar,t))return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,cO(n),n}let ur={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function un(e,t){return t=ut(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function ua(e,t){var r,n,a,i;return null!=(i=null!=(a=null==(r=e.isEqual)?void 0:r.call(e,t))?a:null==(n=t.isEqual)?void 0:n.call(t,e))?i:e.identifier===t.identifier}let ui={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function uo(e,t,r){let n,a=Math.ceil(e.calendar.toJulianDay(e)+1-(r?ui[r]:(n=uy(t))&&ur[n]||0))%7;return a<0&&(a+=7),a}function us(e){return c9(Date.now(),e)}function ul(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function uc(e){return 36e5*e.hour+6e4*e.minute+1e3*e.second+e.millisecond}let uu=null;function ud(){return null==uu&&(uu=new Intl.DateTimeFormat().resolvedOptions().timeZone),uu}function uh(e){return e.subtract({days:e.day-1})}function up(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function uf(e){return uh(e.subtract({months:e.month-1}))}function um(e,t,r){let n=uo(e,t,r);return e.subtract({days:n})}function ug(e,t,r){return um(e,t,r).add({days:6})}let uv=new Map;function uy(e){if(Intl.Locale){let t=uv.get(e);return!t&&(t=new Intl.Locale(e).maximize().region)&&uv.set(e,t),t}let t=e.split("-")[1];return"u"===t?void 0:t}function ub(e,t){return e&&t?0>=e.compare(t)?e:t:e||t}function ux(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}let uT={AF:[4,5],AE:[5,6],BH:[5,6],DZ:[5,6],EG:[5,6],IL:[5,6],IQ:[5,6],IR:[5,5],JO:[5,6],KW:[5,6],LY:[5,6],OM:[5,6],QA:[5,6],SA:[5,6],SD:[5,6],SY:[5,6],YE:[5,6]};function uE(e,t,r,n,a){let i=e;return t.years?i=uf(e):t.months?i=uh(e):t.weeks&&(i=um(e,r)),uw(e,i,t,r,n,a)}function uC(e,t,r,n,a){let i={...t};i.days?i.days--:i.weeks?i.weeks--:i.months?i.months--:i.years&&i.years--;let o=uE(e,t,r).subtract(i);return uw(e,o,t,r,n,a)}function uw(e,t,r,n,a,i){return a&&e.compare(a)>=0&&(t=ux(t,uE(c7(a),r,n))),i&&0>=e.compare(i)&&(t=ub(t,uC(c7(i),r,n))),t}function uk(e,t,r){return t&&(e=ux(e,c7(t))),r&&(e=ub(e,c7(r))),e}function uS(e,t,r,n,a,i){switch(t){case"start":return uE(e,r,n,a,i);case"end":return uC(e,r,n,a,i);default:let o={};for(let e in r){let t=r[e];null!=t&&(o[e]=Math.floor(t/2),o[e]>0&&t%2==0&&o[e]--)}let s=uE(e,r,n).subtract(o);return uw(e,s,r,n,a,i)}}function uI(e,t){return null!=t&&un(e,t)}function uP(e,t,r,n,a){return!!e&&(!!t?.(e,r)||u_(e,n,a))}function u_(e,t,r){return null!=t&&0>e.compare(t)||null!=r&&e.compare(r)>0}function uR(e){let t={...e};for(let e in t)t[e]=1;return t}function uA(e,t){let r={...t};return r.days?r.days--:r.days=-1,e.add(r)}function uN(e){return e?.calendar.identifier==="gregory"&&"BC"===e.era?"short":void 0}function uD(e,t){return new cb(e,{weekday:"long",month:"long",year:"numeric",day:"numeric",era:uN(ue(c7(us(t)))),timeZone:t})}function uO(e,t){let r=c7(c7(us(t)));return new cb(e,{month:"long",year:"numeric",era:uN(r),calendar:r?.calendar.identifier,timeZone:t})}var uj=["sun","mon","tue","wed","thu","fri","sat"];function uL(e){return null!=e?uj[e]:void 0}function uM(e,t,r,n){let a=t.add({weeks:e}),i=[],o=um(a,r,uL(n));for(;i.length<7;){i.push(o);let e=o.add({days:1});if(un(o,e))break;o=e}return i}function uH(e){let t=e-e%10-1,r=[];for(let e=0;e<12;e+=1){let n=t+e;r.push(n)}return r}function uF(e){return c7(us(e??ud()))}function uq(e,t,r,n){return function(a){let{startDate:i,focusedDate:o}=a,s=uA(i,e);return u_(o,r,n)?{startDate:i,focusedDate:uk(o,r,n),endDate:s}:0>o.compare(i)?{startDate:uC(o,e,t,r,n),focusedDate:uk(o,r,n),endDate:s}
1:o.compare(s)>0?{startDate:uE(o,e,t,r,n),endDate:s,focusedDate:uk(o,r,n)}:{startDate:i,endDate:s,focusedDate:uk(o,r,n)}}}function uB(e,t,r,n,a,i){let o=uq(r,n,a,i),s=t.add(r);return o({focusedDate:e.add(r),startDate:uE(uw(e,s,r,n,a,i),r,n)})}function uU(e,t,r,n,a,i){let o=uq(r,n,a,i),s=t.subtract(r);return o({focusedDate:e.subtract(r),startDate:uE(uw(e,s,r,n,a,i),r,n)})}var uW=e=>null!=e&&4===e.length;function uV(e,t,r){let n=us(r);switch(e){case"thisWeek":return[um(n,t),ug(n,t)];case"thisMonth":return[uh(n),n];case"thisQuarter":return[uh(n).add({months:-n.month%3}),n];case"thisYear":return[uf(n),n];case"last3Days":return[n.add({days:-2}),n];case"last7Days":return[n.add({days:-6}),n];case"last14Days":return[n.add({days:-13}),n];case"last30Days":return[n.add({days:-29}),n];case"last90Days":return[n.add({days:-89}),n];case"lastMonth":return[uh(n.add({months:-1})),up(n.add({months:-1}))];case"lastQuarter":return[uh(n.add({months:-n.month%3-3})),up(n.add({months:-n.month%3-1}))];case"lastWeek":return[um(n,t).add({weeks:-1}),ug(n,t).add({weeks:-1})];case"lastYear":var a;return[uf(n.add({years:-1})),up((a=n.add({years:-1})).add({months:a.calendar.getMonthsInYear(a)-a.month}))];default:throw Error(`Invalid date range preset: ${e}`)}}function uG(e){let t=r$(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=rL(e),i=a?e.offsetWidth:r,o=a?e.offsetHeight:n,s=t9(r)!==i||t9(n)!==o;return s&&(r=i,n=o),{width:r,height:n,$:s}}function uz(e){return rj(e)?e:e.contextElement}function uY(e){let t=uz(e);if(!rL(t))return re(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=uG(t),o=(i?t9(r.width):r.width)/n,s=(i?t9(r.height):r.height)/a;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}let u$=re(0);function uQ(e){let t=rN(e);return rz()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:u$}function uK(e,t,r,n){var a;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),o=uz(e),s=re(1);t&&(n?rj(n)&&(s=uY(n)):s=uY(e));let l=(void 0===(a=r)&&(a=!1),n&&(!a||n===rN(o))&&a)?uQ(o):re(0),c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,d=i.width/s.x,h=i.height/s.y;if(o){let e=rN(o),t=n&&rj(n)?rN(n):n,r=e,a=rX(r);for(;a&&n&&t!==r;){let e=uY(a),t=a.getBoundingClientRect(),n=r$(a),i=t.left+(a.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(a.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,h*=e.y,c+=i,u+=o,a=rX(r=rN(a))}}return rm({width:d,height:h,x:c,y:u})}function uZ(e,t){let r=rQ(e).scrollLeft;return t?t.left+r:uK(rD(e)).left+r}function uX(e,t,r){void 0===r&&(r=!1);let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:uZ(e,n)),y:n.top+t.scrollTop}}function uJ(e,t,r){var n;let a;if("viewport"===t)a=function(e,t){let r=rN(e),n=rD(e),a=r.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,l=0;if(a){i=a.width,o=a.height;let e=rz();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:i,height:o,x:s,y:l}}(e,r);else if("document"===t){let t,r,i,o,s,l,c;n=rD(e),t=rD(n),r=rQ(n),i=n.ownerDocument.body,o=t6(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=t6(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+uZ(n),c=-r.scrollTop,"rtl"===r$(i).direction&&(l+=t6(t.clientWidth,i.clientWidth)-o),a={width:o,height:s,x:l,y:c}}else if(rj(t)){let e,n,i,o,s,l;n=(e=uK(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,o=rL(t)?uY(t):re(1),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a={width:s,height:l,x:i*o.x,y:n*o.y}}else{let r=uQ(e);a={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return rm(a)}function u1(e){return"static"===r$(e).position}function u0(e,t){if(!rL(e)||"fixed"===r$(e).position)return null;if(t)return t(e);let r=e.offsetParent;return rD(e)===r&&(r=r.ownerDocument.body),r}function u2(e,t){let r=rN(e);if(rq(e))return r;if(!rL(e)){let t=rK(e);for(;t&&!rY(t);){if(rj(t)&&!u1(t))return t;t=rK(t)}return r}let n=u0(e,t);for(;n&&rF(n)&&u1(n);)n=u0(n,t);return n&&rY(n)&&u1(n)&&!rV(n)?r:n||rG(e)||r}let u3=async function(e){let t=this.getOffsetParent||u2,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=rL(t),a=rD(t),i="fixed"===r,o=uK(e,!0,i,t),s={scrollLeft:0,scrollTop:0},l=re(0);if(n||!n&&!i)if(("body"!==rA(t)||rH(a))&&(s=rQ(t)),n){let e=uK(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&(l.x=uZ(a));let c=!a||n||i?re(0):uX(a,s);return{x:o.left+s.scrollLeft-l.x-c.x,y:o.top+s.scrollTop-l.y-c.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},u5={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i="fixed"===a,o=rD(n),s=!!t&&rq(t.floating);if(n===o||s&&i)return r;let l={scrollLeft:0,scrollTop:0},c=re(1),u=re(0),d=rL(n);
1if((d||!d&&!i)&&(("body"!==rA(n)||rH(o))&&(l=rQ(n)),rL(n))){let e=uK(n);c=uY(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}let h=!o||d||i?re(0):uX(o,l,!0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:r.y*c.y-l.scrollTop*c.y+u.y+h.y}},getDocumentElement:rD,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,i=[..."clippingAncestors"===r?rq(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=rZ(e,[],!1).filter(e=>rj(e)&&"body"!==rA(e)),a=null,i="fixed"===r$(e).position,o=i?rK(e):e;for(;rj(o)&&!rY(o);){let t=r$(o),r=rV(o);r||"fixed"!==t.position||(a=null),(i?!r&&!a:!r&&"static"===t.position&&!!a&&["absolute","fixed"].includes(a.position)||rH(o)&&!r&&function e(t,r){let n=rK(t);return!(n===r||!rj(n)||rY(n))&&("fixed"===r$(n).position||e(n,r))}(e,o))?n=n.filter(e=>e!==o):a=t,o=rK(o)}return t.set(e,n),n}(t,this._c):[].concat(r),n],o=i[0],s=i.reduce((e,r)=>{let n=uJ(t,r,a);return e.top=t6(n.top,e.top),e.right=t8(n.right,e.right),e.bottom=t8(n.bottom,e.bottom),e.left=t6(n.left,e.left),e},uJ(t,o,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:u2,getElementRects:u3,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=uG(e);return{width:t,height:r}},getScale:uY,isElement:rj,isRTL:function(e){return"rtl"===r$(e).direction}};function u4(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function u8(e=0,t=0,r=0,n=0){if("function"==typeof DOMRect)return new DOMRect(e,t,r,n);let a={x:e,y:t,width:r,height:n,top:t,right:e+r,bottom:t+n,left:e};return{...a,toJSON:()=>a}}var u6=e=>({variable:e,reference:`var(${e})`}),u9={arrowSize:u6("--arrow-size"),arrowSizeHalf:u6("--arrow-size-half"),arrowBg:u6("--arrow-background"),transformOrigin:u6("--transform-origin"),arrowOffset:u6("--arrow-offset")},u7={name:"transformOrigin",fn({placement:e,elements:t,middlewareData:r}){let{arrow:n}=r,a={top:"bottom center","top-start":n?`${n.x}px bottom`:"left bottom","top-end":n?`${n.x}px bottom`:"right bottom",bottom:"top center","bottom-start":n?`${n.x}px top`:"top left","bottom-end":n?`${n.x}px top`:"top right",left:"right center","left-start":n?`right ${n.y}px`:"right top","left-end":n?`right ${n.y}px`:"right bottom",right:"left center","right-start":n?`left ${n.y}px`:"left top","right-end":n?`left ${n.y}px`:"left bottom"}[e],{floating:i}=t;return i.style.setProperty(u9.transformOrigin.variable,a),{data:{transformOrigin:a}}}},de={name:"rects",fn:({rects:e})=>({data:e})},dt={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function dr(e,t){let r=e.devicePixelRatio||1;return Math.round(t*r)/r}function dn(e){return((e,...t)=>("function"==typeof e?e(...t):e)??void 0)(e.boundary)}var da={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"},di="pointerdown.outside",ds="focus.outside";function dl(e,t){if(!t||!("clientY"in e))return!1;let r=t.scrollHeight>t.clientHeight,n=r&&e.clientX>t.offsetLeft+t.clientWidth,a=t.scrollWidth>t.clientWidth,i=a&&e.clientY>t.offsetTop+t.clientHeight,o={x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+16*!!r,height:t.clientHeight+16*!!a},s={x:e.clientX,y:e.clientY};return o.y<=s.y&&s.y<=o.y+o.height&&o.x<=s.x&&s.x<=o.x+o.width&&(n||i)}function dc(e,t,r){let n=new(e.ownerDocument.defaultView||window).CustomEvent(t,r);return e.dispatchEvent(n)}var du={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){return this.indexOf(e)<(this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1)},isTopMost(e){let t=this.layers[this.count()-1];return t?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},isInNestedLayer(e,t){return this.getNestedLayers(e).some(e=>l_(e.node,t))},isInBranch(e){return Array.from(this.branches).some(t=>l_(t,e))},add(e){let t=this.layers.push(e);e.node.style.setProperty("--layer-index",`${t}`)},addBranch(e){this.branches.push(e)},remove(e){let t=this.indexOf(e);
1t<0||(t<this.count()-1&&this.getNestedLayers(e).forEach(e=>e.dismiss()),this.layers.splice(t,1),e.style.removeProperty("--layer-index"))},removeBranch(e){let t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e){this.layers[this.indexOf(e)]?.dismiss()},clear(){this.remove(this.layers[0].node)}};function dd(){du.layers.forEach(({node:e})=>{e.style.pointerEvents=du.isBelowPointerBlockingLayer(e)?"none":"auto"})}var dh="__live-region__",dp=cm("date-picker").parts("clearTrigger","content","control","input","label","monthSelect","nextTrigger","positioner","presetTrigger","prevTrigger","rangeText","root","table","tableBody","tableCell","tableCellTrigger","tableHead","tableHeader","tableRow","trigger","view","viewControl","viewTrigger","yearSelect"),df=dp.build(),dm=e=>e.ids?.content??`datepicker:${e.id}:content`,dg=(e,t)=>e.ids?.cellTrigger?.(t)??`datepicker:${e.id}:cell-trigger:${t}`,dv=e=>e.ids?.clearTrigger??`datepicker:${e.id}:clear`,dy=e=>e.ids?.control??`datepicker:${e.id}:control`,db=(e,t)=>e.ids?.input?.(t)??`datepicker:${e.id}:input:${t}`,dx=e=>e.ids?.trigger??`datepicker:${e.id}:trigger`,dT=e=>e.ids?.positioner??`datepicker:${e.id}:positioner`,dE=e=>e.ids?.monthSelect??`datepicker:${e.id}:month-select`,dC=e=>e.ids?.yearSelect??`datepicker:${e.id}:year-select`,dw=(e,t)=>{var r,n;return r=dS(e),n=`[data-part=table-cell-trigger][data-view=${t}][data-focus]:not([data-outside-range])`,r?.querySelector(n)??null},dk=e=>e.getById(dx(e)),dS=e=>e.getById(dm(e)),dI=e=>{var t;return t=dP(e),Array.from(t?.querySelectorAll("[data-part=input]")??[])},dP=e=>e.getById(dy(e));function d_(e){let[t,r]=e;return t&&r?0>=t.compare(r)?e:[r,t]:e}function dR(e,t){let[r,n]=t;return!!r&&!!n&&0>=r.compare(e)&&n.compare(e)>=0}function dA(e){return e.slice().sort((e,t)=>e.compare(t))}var dN={day:"dd",month:"mm",year:"yyyy"},dD=(e,t)=>!e||/\d/.test(e)||e===t||1!==e.length,dO=e=>!Number.isNaN(e.day)&&!Number.isNaN(e.month)&&!Number.isNaN(e.year),dj={dayCell:e=>e.unavailable?`Not available. ${e.formattedDate}`:e.selected?`Selected date. ${e.formattedDate}`:`Choose ${e.formattedDate}`,trigger:e=>e?"Close calendar":"Open calendar",viewTrigger:e=>ll(e,{year:"Switch to month view",month:"Switch to day view",day:"Switch to year view"}),presetTrigger:e=>Array.isArray(e)?`select ${e[0].toString()} to ${e[1].toString()}`:`select ${e}`,prevTrigger:e=>ll(e,{year:"Switch to previous decade",month:"Switch to previous year",day:"Switch to previous month"}),nextTrigger:e=>ll(e,{year:"Switch to next decade",month:"Switch to next year",day:"Switch to next month"}),placeholder:()=>({day:"dd",month:"mm",year:"yyyy"}),content:"calendar",monthSelect:"Select month",yearSelect:"Select year",clearTrigger:"Clear selected dates"};function dL(e,t){return e?"day"===e?0:"month"===e?1:2:t||0}function dM(e){return 0===e?"day":1===e?"month":"year"}function dH(e,t,r){let n,a,i;return dM((n=dL(e,0),a=dL(t,0),i=dL(r,2),lh(lp(lg(n),a),i)))}var dF=["day","month","year"],{and:dq}={and:(...e)=>function(t){return e.every(e=>t.guard(e))},or:(...e)=>function(t){return e.some(e=>t.guard(e))},not:e=>function(t){return!t.guard(e)}};function dB(e,t){if(e?.length!==t?.length)return!1;let r=Math.max(e.length,t.length);for(let n=0;n<r;n++)if(!uI(e[n],t[n]))return!1;return!0}var dU={props({props:e}){let t=e.locale||"en-US",r=e.timeZone||"UTC",n=e.selectionMode||"single",a=e.numOfMonths||1,i=e.defaultValue?dA(e.defaultValue).map(t=>uk(t,e.min,e.max)):void 0,o=e.value?dA(e.value).map(t=>uk(t,e.min,e.max)):void 0,s=e.focusedValue||o?.[0]||i?.[0]||uF(r);s=uk(s,e.min,e.max);let l="year";return{locale:t,numOfMonths:a,timeZone:r,selectionMode:n,defaultView:dH(e.view||"day","day",l),minView:"day",maxView:l,outsideDaySelectable:!1,closeOnSelect:!0,format:(e,{locale:t,timeZone:r})=>new cb(t,{timeZone:r,day:"2-digit",month:"2-digit",year:"numeric"}).format(e.toDate(r)),parse:(e,{locale:t,timeZone:r})=>(function(e,t,r){var n,a;let i,o,s,{year:l,month:c,day:u}=(a=(n=t,new cb(n,{day:"numeric",month:"numeric",year:"numeric",timeZone:r}).formatToParts(new Date(2e3,11,25)).map(({type:e,value:t})=>
1"literal"===e?`${t}?`:`((?!=<${e}>)\\d+)?`).join("")),i=e.match(a),a.toString().match(/<(.+?)>/g)?.map(e=>{let t=e.match(/<(.+)>/);return!t||t.length<=0?null:e.match(/<(.+)>/)?.[1]}).reduce((e,t,r)=>(t&&(i&&i.length>r?e[t]=i[r+1]:e[t]=null),e),{})??{});if(null!=l||null!=c||null!=u){let e=new Date;l||(l=e.getFullYear().toString()),c||(c=(e.getMonth()+1).toString()),u||(u=e.getDate().toString())}if(uW(l)||(l=function(e){if(e){if(3===e.length)return e.padEnd(4,"0");if(2===e.length){let t=new Date().getFullYear(),r=100*Math.floor(t/100)+parseInt(e.slice(-2),10);return r>t+10?(r-100).toString():r.toString()}return e}}(l)),uW(l)&&null!=(o=c)&&12>=parseFloat(o)&&null!=(s=u)&&31>=parseFloat(s))return new cK(+l,+c,+u);let d=Date.parse(e);if(!isNaN(d)){let e=new Date(d);return new cK(e.getFullYear(),e.getMonth()+1,e.getDate())}})(e,t,r),...e,focusedValue:s,value:o,defaultValue:i??[],positioning:{placement:"bottom",...e.positioning}}},initialState:({prop:e})=>e("open")||e("defaultOpen")?"open":"idle",refs:()=>({announcer:void 0}),context:({prop:e,bindable:t,getContext:r,getComputed:n})=>({focusedValue:t(()=>({defaultValue:e("focusedValue"),isEqual:uI,hash:e=>e.toString(),sync:!0,onChange(t){let a=r(),i=n();e("onFocusChange")?.({value:a.get("value"),valueAsString:i("valueAsString"),view:a.get("view"),focusedValue:t})}})),value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:dB,hash:e=>e.map(e=>e.toString()).join(","),onChange(t){let n=r(),a=t.map(t=>e("format")(t,{locale:e("locale"),timeZone:e("timeZone")}));e("onValueChange")?.({value:t,valueAsString:a,view:n.get("view")})}})),inputValue:t(()=>({defaultValue:""})),activeIndex:t(()=>({defaultValue:0,sync:!0})),hoveredValue:t(()=>({defaultValue:null,isEqual:(e,t)=>null!==t&&null!==e&&uI(e,t)})),view:t(()=>({defaultValue:e("defaultView"),value:e("view"),onChange(t){e("onViewChange")?.({view:t})}})),startValue:t(()=>({defaultValue:uS(e("focusedValue"),"start",{months:e("numOfMonths")},e("locale")),isEqual:uI})),currentPlacement:t(()=>({defaultValue:void 0})),restoreFocus:t(()=>({defaultValue:!1}))}),computed:{isInteractive:({prop:e})=>!e("disabled")&&!e("readOnly"),visibleDuration:({prop:e})=>({months:e("numOfMonths")}),endValue:({context:e,computed:t})=>uA(e.get("startValue"),t("visibleDuration")),visibleRange:({context:e,computed:t})=>({start:e.get("startValue"),end:t("endValue")}),visibleRangeText({context:e,prop:t,computed:r}){let n=t("timeZone"),a=new cb(t("locale"),{month:"long",year:"numeric",timeZone:n}),i=a.format(e.get("startValue").toDate(n)),o=a.format(r("endValue").toDate(n)),s="range"===t("selectionMode")?`${i} - ${o}`:i;return{start:i,end:o,formatted:s}},isPrevVisibleRangeValid:({context:e,prop:t})=>{var r,n,a;let i;return r=e.get("startValue"),n=t("min"),a=t("max"),!(un(i=r.subtract({days:1}),r)||u_(i,n,a))},isNextVisibleRangeValid:({prop:e,computed:t})=>{var r,n,a;let i;return r=t("endValue"),n=e("min"),a=e("max"),!(un(i=r.add({days:1}),r)||u_(i,n,a))},valueAsString:({context:e,prop:t})=>e.get("value").map(e=>t("format")(e,{locale:t("locale"),timeZone:t("timeZone")}))},effects:["setupLiveRegion"],watch({track:e,prop:t,context:r,action:n,computed:a}){e([()=>t("locale")],()=>{n(["setStartValue"])}),e([()=>r.hash("focusedValue")],()=>{n(["setStartValue","syncMonthSelectElement","syncYearSelectElement","focusActiveCellIfNeeded","setHoveredValueIfKeyboard"])}),e([()=>r.get("inputValue")],()=>{n(["syncInputValue"])}),e([()=>r.hash("value")],()=>{n(["syncInputElement"])}),e([()=>a("valueAsString").toString()],()=>{n(["announceValueText"])}),e([()=>r.get("view")],()=>{n(["focusActiveCell"])}),e([()=>t("open")],()=>{n(["toggleVisibility"])})},on:{"VALUE.SET":{actions:["setDateValue","setFocusedDate"]},"VIEW.SET":{actions:["setView"]},"FOCUS.SET":{actions:["setFocusedDate"]},"VALUE.CLEAR":{actions:["clearDateValue","clearFocusedDate","focusFirstInputElement"]},"INPUT.CHANGE":[{guard:"isInputValueEmpty",actions:["setInputValue","clearDateValue","clearFocusedDate"]},{actions:["setInputValue","focusParsedDate"]}],"INPUT.ENTER":{actions:["focusParsedDate","selectFocusedDate"]},"INPUT.FOCUS":{actions:["setActiveIndex"]},"INPUT.BLUR":[{guard:"shouldFixOnBlur",actions:["setActiveIndexToStart","selectParsedDate"]},{actions:["setActiveIndexToStart"]}],"PRESET.CLICK":[{guard:"isOpenControlled",actions:["setDateValue","setFocusedDate","invokeOnClose"]},{target:"focused",actions:["setDateValue","setFocusedDate","focusInputElement"]}],"GOTO.NEXT":[{guard:"isYearView",actions:["focusNextDecade","announceVisibleRange"]},{guard:"isMonthView",actions:["focusNextYear","announceVisibleRange"]},{actions:["focusNextPage"]}],"GOTO.PREV":[{guard:"isYearView",actions:["focusPreviousDecade","announceVisibleRange"]},{guard:"isMonthView",actions:["focusPreviousYear","announceVisibleRange"]},{actions:["focusPreviousPage"]}]},states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":{target:"open",actions:["focusFirstSelectedDate","focusActiveCell"]},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["focusFirstSelectedDate","focusActiveCell","invokeOnOpen"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["focusFirstSelectedDate","focusActiveCell","invokeOnOpen"]}]}},focused:{tags:["closed"],on:{"CONTROLLED.OPEN":{target:"open",actions:["focusFirstSelectedDate","focusActiveCell"]},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["focusFirstSelectedDate","focusActiveCell","invokeOnOpen"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["focusFirstSelectedDate","focusActiveCell","invokeOnOpen"]}]}},open:{tags:["open"],effects:["trackDismissableElement","trackPositioning"],exit:["clearHoveredDate","resetView"],on:{"CONTROLLED.CLOSE":[{guard:dq("shouldRestoreFocus","isInteractOutsideEvent"),target:"focused",actions:["focusTriggerElement"]},{guard:"shouldRestoreFocus",target:"focused",actions:["focusInputElement"]},{target:"idle"}],"CELL.CLICK":[{guard:"isAboveMinView",actions:["setFocusedValueForView","setPreviousView"]},{guard:dq("isRangePicker","hasSelectedRange"),actions:["setActiveIndexToStart","resetSelection","setActiveIndexToEnd"]},{guard:dq("isRangePicker","isSelectingEndDate","closeOnSelect","isOpenControlled"),actions:["setFocusedDate","setSelectedDate","setActiveIndexToStart","invokeOnClose","setRestoreFocus"]},{guard:dq("isRangePicker","isSelectingEndDate","closeOnSelect"),target:"focused",actions:["setFocusedDate","setSelectedDate","setActiveIndexToStart","invokeOnClose","focusInputElement"]},{guard:dq("isRangePicker","isSelectingEndDate"),actions:["setFocusedDate","setSelectedDate","setActiveIndexToStart","clearHoveredDate"]},{guard:"isRangePicker",actions:["setFocusedDate","setSelectedDate","setActiveIndexToEnd"]},{guard:"isMultiPicker",actions:["setFocusedDate","toggleSelectedDate"]},{guard:dq("closeOnSelect","isOpenControlled"),actions:["setFocusedDate","setSelectedDate","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["setFocusedDate","setSelectedDate","invokeOnClose","focusInputElement"]},{actions:["setFocusedDate","setSelectedDate"]}
1],"CELL.POINTER_MOVE":{guard:dq("isRangePicker","isSelectingEndDate"),actions:["setHoveredDate","setFocusedDate"]},"TABLE.POINTER_LEAVE":{guard:"isRangePicker",actions:["clearHoveredDate"]},"TABLE.POINTER_DOWN":{actions:["disableTextSelection"]},"TABLE.POINTER_UP":{actions:["enableTextSelection"]},"TABLE.ESCAPE":[{guard:"isOpenControlled",actions:["focusFirstSelectedDate","invokeOnClose"]},{target:"focused",actions:["focusFirstSelectedDate","invokeOnClose","focusTriggerElement"]}],"TABLE.ENTER":[{guard:"isAboveMinView",actions:["setPreviousView"]},{guard:dq("isRangePicker","hasSelectedRange"),actions:["setActiveIndexToStart","clearDateValue","setSelectedDate","setActiveIndexToEnd"]},{guard:dq("isRangePicker","isSelectingEndDate","closeOnSelect","isOpenControlled"),actions:["setSelectedDate","setActiveIndexToStart","invokeOnClose"]},{guard:dq("isRangePicker","isSelectingEndDate","closeOnSelect"),target:"focused",actions:["setSelectedDate","setActiveIndexToStart","invokeOnClose","focusInputElement"]},{guard:dq("isRangePicker","isSelectingEndDate"),actions:["setSelectedDate","setActiveIndexToStart"]},{guard:"isRangePicker",actions:["setSelectedDate","setActiveIndexToEnd","focusNextDay"]},{guard:"isMultiPicker",actions:["toggleSelectedDate"]},{guard:dq("closeOnSelect","isOpenControlled"),actions:["selectFocusedDate","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectFocusedDate","invokeOnClose","focusInputElement"]},{actions:["selectFocusedDate"]}],"TABLE.ARROW_RIGHT":[{guard:"isMonthView",actions:["focusNextMonth"]},{guard:"isYearView",actions:["focusNextYear"]},{actions:["focusNextDay","setHoveredDate"]}],"TABLE.ARROW_LEFT":[{guard:"isMonthView",actions:["focusPreviousMonth"]},{guard:"isYearView",actions:["focusPreviousYear"]},{actions:["focusPreviousDay"]}],"TABLE.ARROW_UP":[{guard:"isMonthView",actions:["focusPreviousMonthColumn"]},{guard:"isYearView",actions:["focusPreviousYearColumn"]},{actions:["focusPreviousWeek"]}],"TABLE.ARROW_DOWN":[{guard:"isMonthView",actions:["focusNextMonthColumn"]},{guard:"isYearView",actions:["focusNextYearColumn"]},{actions:["focusNextWeek"]}],"TABLE.PAGE_UP":{actions:["focusPreviousSection"]},"TABLE.PAGE_DOWN":{actions:["focusNextSection"]},"TABLE.HOME":[{guard:"isMonthView",actions:["focusFirstMonth"]},{guard:"isYearView",actions:["focusFirstYear"]},{actions:["focusSectionStart"]}],"TABLE.END":[{guard:"isMonthView",actions:["focusLastMonth"]},{guard:"isYearView",actions:["focusLastYear"]},{actions:["focusSectionEnd"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"VIEW.TOGGLE":{actions:["setNextView"]},INTERACT_OUTSIDE:[{guard:"isOpenControlled",actions:["setActiveIndexToStart","invokeOnClose"]},{guard:"shouldRestoreFocus",target:"focused",actions:["setActiveIndexToStart","invokeOnClose","focusTriggerElement"]},{target:"idle",actions:["setActiveIndexToStart","invokeOnClose"]}],CLOSE:[{guard:"isOpenControlled",actions:["setActiveIndexToStart","invokeOnClose"]},{target:"idle",actions:["setActiveIndexToStart","invokeOnClose"]}]}}},implementations:{guards:{isAboveMinView:({context:e,prop:t})=>{var r,n;return r=e.get("view"),n=t("minView"),dL(r,0)>dL(n,0)},isDayView:({context:e,event:t})=>"day"===(t.view||e.get("view")),isMonthView:({context:e,event:t})=>"month"===(t.view||e.get("view")),isYearView:({context:e,event:t})=>"year"===(t.view||e.get("view")),isRangePicker:({prop:e})=>"range"===e("selectionMode"),hasSelectedRange:({context:e})=>2===e.get("value").length,isMultiPicker:({prop:e})=>"multiple"===e("selectionMode"),shouldRestoreFocus:({context:e})=>!!e.get("restoreFocus"),isSelectingEndDate:({context:e})=>1===e.get("activeIndex"),closeOnSelect:({prop:e})=>!!e("closeOnSelect"),isOpenControlled:({prop:e})=>void 0!=e("open"),isInteractOutsideEvent:({event:e})=>e.previousEvent?.type==="INTERACT_OUTSIDE",isInputValueEmpty:({event:e})=>""===e.value.trim(),shouldFixOnBlur:({event:e})=>!!e.fixOnBlur},effects:{trackPositioning:({context:e,prop:t,scope:r})=>(e.get("currentPlacement")||e.set("currentPlacement",t("positioning").placement),function(e,t,r={}){let{defer:n,...a}=r,i=[];return i.push((n?lz:e=>e())(()=>{let r="function"==typeof e?e():e,n="function"==typeof t?t():t;i.push(function(e,t,r={}){var n,a;let i=(n=r.getAnchorRect,{contextElement:lk(e)?e:void 0,getBoundingClientRect:()=>{let t=n?.(e);return t||!e?function(e){if(!e)return u8();let{x:t,y:r,width:n,height:a}=e;return u8(t,r,n,a)}(t):e.getBoundingClientRect()}});if(!t||!i)return;let o=Object.assign({},dt,r),s=t.querySelector("[data-part=arrow]"),l=[function(e,t){if(null!=(t.offset??t.gutter))return rS(({placement:r})=>{let n=(e?.clientHeight||0)/2,a=t.offset?.mainAxis??t.gutter,{hasAlign:i}=function(e){let[t,r]=e.split("-");return{side:t,align:r,hasAlign:null!=r}}(r),o=i?void 0:t.shift;return lv({crossAxis:t.offset?.crossAxis??o,mainAxis:"number"==typeof a?a+n:a??n,alignmentAxis:t.shift})})}(s,o),function(e){if(e.flip)return rx({boundary:dn(e),padding:e.overflowPadding,fallbackPlacements:!0===e.flip?void 0:e.flip})}(o),function(e){if(e.slide||e.overlap)return rI({boundary:dn(e),mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:rP()})}(o),function(e,t){if(e)return rb({element:e,padding:t.arrowPadding})}(s,o),(e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:r}){if(!r.arrow)return{};let{x:n,y:a}=r.arrow,i=t.split("-")[0];return Object.assign(e.style,{left:null!=n?`${n}px`:"",top:null!=a?`${a}px`:"",[i]:`calc(100% + ${u9.arrowOffset.reference})`}),{}}}})(s),u7,r_({padding:o.overflowPadding,apply({elements:e,rects:t,availableHeight:r,availableWidth:n}){let a=e.floating,i=Math.round(t.reference.width);n=Math.floor(n),r=Math.floor(r),a.style.setProperty("--reference-width",`${i}px`),a.style.setProperty("--available-width",`${n}px`),a.style.setProperty("--available-height",`${r}px`)}}),function(e){if(e.hideWhenDetached)return rC({strategy:"referenceHidden",boundary:e.boundary?.()??"clippingAncestors"})}(o),de],{placement:c,strategy:u,onComplete:d,onPositioned:h}=o,p=async()=>{var e;let r,n,a;if(!i||!t)return;let s=await (e={placement:c,middleware:l,strategy:u},r=new Map,a={...(n={platform:u5,...e}).platform,_c:r},ry(i,t,{...n,platform:a}));d?.(s),h?.({placed:!0});let p=lA(t),f=dr(p,s.x),m=dr(p,s.y);t.style.setProperty("--x",`${f}px`),t.style.setProperty("--y",`${m}px`),o.hideWhenDetached&&(s.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events")));let g=t.firstElementChild;if(g){let e=lD(g);t.style.setProperty("--z-index",e.zIndex)}},f=async()=>{r.updatePosition?(await r.updatePosition({updatePosition:p}),h?.({placed:!0})):await p()},m=(a=o.listeners)?!0===a?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:a:{},g=o.listeners?function(e,t,r,n){let a;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,u=uz(e),d=i||o?[...u?rZ(u):[],...rZ(t)]:[];
1d.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),o&&e.addEventListener("resize",r)});let h=u&&l?function(e,t){let r,n=null,a=rD(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function o(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();let c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:p}=c;if(s||t(),!h||!p)return;let f={rootMargin:-t7(d)+"px "+-t7(a.clientWidth-(u+h))+"px "+-t7(a.clientHeight-(d+p))+"px "+-t7(u)+"px",threshold:t6(0,t8(1,l))||1},m=!0;function g(t){let n=t[0].intersectionRatio;if(n!==l){if(!m)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}1!==n||u4(c,e.getBoundingClientRect())||o(),m=!1}try{n=new IntersectionObserver(g,{...f,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(g,f)}n.observe(e)}(!0),i}(u,r):null,p=-1,f=null;s&&(f=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),r()}),u&&!c&&f.observe(u),f.observe(t));let m=c?uK(e):null;return c&&function t(){let n=uK(e);m&&!u4(m,n)&&r(),m=n,a=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(a)}}(i,t,f,m):lo;return f(),()=>{g?.(),h?.({placed:!1})}}(r,n,a))})),()=>{i.forEach(e=>e?.())}}(dP(r),()=>r.getById(dT(r)),{...t("positioning"),defer:!0,onComplete(t){e.set("currentPlacement",t.placement)}})),setupLiveRegion({scope:e,refs:t}){let r=e.getDoc();return t.set("announcer",function(e={}){let{level:t="polite",document:r=document,root:n,delay:a=0}=e,i=r.defaultView??window,o=n??r.body;return{announce:function(e,n){let s=r.getElementById(dh);s?.remove(),n=n??a;let l=r.createElement("span");l.id=dh,l.dataset.liveAnnouncer="true",l.setAttribute("aria-live",t),l.setAttribute("role","assertive"!==t?"status":"alert"),Object.assign(l.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}),o.appendChild(l),i.setTimeout(()=>{l.textContent=e},n)},destroy:function(){let e=r.getElementById(dh);e?.remove()},toJSON:()=>dh}}({level:"assertive",document:r})),()=>t.get("announcer")?.destroy?.()},trackDismissableElement:({scope:e,send:t,context:r})=>(function(e,t){let{defer:r}=t,n=[];return n.push((r?lz:e=>e())(()=>{let r="function"==typeof e?e():e;n.push(function(e,t){var r;let{warnOnMissingNode:n=!0}=t;if(n&&!e)return void lx("[@zag-js/dismissable] node is `null` or `undefined`");if(!e)return;let{onDismiss:a,pointerBlocking:i,exclude:o,debug:s}=t;du.add({dismiss:a,node:e,pointerBlocking:i}),dd();let l=[i?function(e,t){let r=lR(e),n=[];if(du.hasPointerBlockingLayer()&&!r.body.hasAttribute("data-inert")&&(T=document.body.style.pointerEvents,queueMicrotask(()=>{r.body.style.pointerEvents="none",r.body.setAttribute("data-inert","")})),t){var a;let e,r=(a=e=>{n.push(lJ(e,{pointerEvents:"auto"}))},e=[],t?.forEach(t=>{let r=function(e,t){let r=e();if(lk(r)&&r.isConnected)return t(r),()=>void 0;{let r=setInterval(()=>{let n=e();lk(n)&&n.isConnected&&(t(n),clearInterval(r))},l1);return()=>clearInterval(r)}}(t,a);e.push(r)}),()=>{e.forEach(e=>e())});n.push(r)}return()=>{du.hasPointerBlockingLayer()||(queueMicrotask(()=>{r.body.style.pointerEvents=T,r.body.removeAttribute("data-inert"),0===r.body.style.length&&r.body.removeAttribute("style")}),n.forEach(e=>e()))}}(e,t.persistentElements):void 0,(r=function(r){du.isTopMost(e)&&(t.onEscapeKeyDown?.(r),!r.defaultPrevented&&a&&(r.preventDefault(),a()))},lU(lR(e),"keydown",e=>{"Escape"!==e.key||e.isComposing||r?.(e)},{capture:!0})),function(e,t){let{defer:r}=t,n=[];return n.push((r?lz:e=>e())(()=>{let r="function"==typeof e?e():e;n.push(function(e,t){let r,n,{exclude:a,onFocusOutside:i,onPointerDownOutside:o,onInteractOutside:s,defer:l}=t;if(!e)return;let c=lR(e),u=lA(e),d=r={each(e){for(let t=0;t<u.frames?.length;t+=1){let r=u.frames[t];r&&e(r)}},addEventListener:(e,t,n)=>(r.each(r=>{try{r.document.addEventListener(e,t,n)}catch{}}),()=>{try{r.removeEventListener(e,t,n)}catch{}}),removeEventListener(e,t,n){r.each(r=>{try{r.document.removeEventListener(e,t,n)}catch{}})}},h=(n=null!=u.frameElement?u.parent:null,{addEventListener:(e,t,r)=>{try{n?.addEventListener(e,t,r)}catch{}return()=>{try{n?.removeEventListener(e,t,r)}catch{}}},removeEventListener:(e,t,r)=>{try{n?.removeEventListener(e,t,r)}catch{}}});function p(t,r){if(!lk(r)||!r.isConnected||l_(e,r)||function(e,t){if(!("clientY"in t)||!e)return!1;let r=e.getBoundingClientRect();
1return 0!==r.width&&0!==r.height&&r.top<=t.clientY&&t.clientY<=r.top+r.height&&r.left<=t.clientX&&t.clientX<=r.left+r.width}(e,t))return!1;let n=c.querySelector(`[aria-controls="${e.id}"]`);return!(n&&dl(t,lY(n)))&&!dl(t,lY(e))&&!a?.(r)}let f=new Set,m=lP(e?.getRootNode());function g(t){function r(r){let n=l&&!lj()?lz:e=>e(),a=r??t,i=a?.composedPath?.()??[a?.target];n(()=>{let r=m?i[0]:lH(t);if(e&&p(t,r)){if(o||s){let t=ls(o,s);e.addEventListener(di,t,{once:!0})}dc(e,di,{bubbles:!1,cancelable:!0,detail:{originalEvent:a,contextmenu:2===a.button||lM()&&a.ctrlKey&&0===a.button,focusable:function(e){for(let t of e)if(lk(t)&&lV(t))return!0;return!1}(i),target:r}})}})}"touch"===t.pointerType?(f.forEach(e=>e()),f.add(lU(c,"click",r,{once:!0})),f.add(h.addEventListener("click",r,{once:!0})),f.add(d.addEventListener("click",r,{once:!0}))):r()}let v=new Set,y=setTimeout(()=>{v.add(lU(c,"pointerdown",g,!0)),v.add(h.addEventListener("pointerdown",g,!0)),v.add(d.addEventListener("pointerdown",g,!0))},0);function b(t){(l?lz:e=>e())(()=>{let r=lH(t);if(e&&p(t,r)){if(i||s){let t=ls(i,s);e.addEventListener(ds,t,{once:!0})}dc(e,ds,{bubbles:!1,cancelable:!0,detail:{originalEvent:t,contextmenu:!1,focusable:lV(r),target:r}})}})}
1return lj()||(v.add(lU(c,"focusin",b,!0)),v.add(h.addEventListener("focusin",b,!0)),v.add(d.addEventListener("focusin",b,!0))),()=>{clearTimeout(y),f.forEach(e=>e()),v.forEach(e=>e())}}(r,t))})),()=>{n.forEach(e=>e?.())}}(e,{exclude:function(r){if(!e)return!1;let n="function"==typeof o?o():o,a=Array.isArray(n)?n:[n],i=t.persistentElements?.map(e=>e()).filter(lk);return i&&a.push(...i),a.some(e=>l_(e,r))||du.isInNestedLayer(e,r)},onFocusOutside:function(e){let r=lH(e.detail.originalEvent);du.isInBranch(r)||(t.onFocusOutside?.(e),t.onInteractOutside?.(e),e.defaultPrevented||(s&&console.log("onFocusOutside:",e.detail.originalEvent),a?.()))},onPointerDownOutside:function(r){let n=lH(r.detail.originalEvent);du.isBelowPointerBlockingLayer(e)||du.isInBranch(n)||(t.onPointerDownOutside?.(r),t.onInteractOutside?.(r),r.defaultPrevented||(s&&console.log("onPointerDownOutside:",r.detail.originalEvent),a?.()))},defer:t.defer})];return()=>{du.remove(e),dd(),e.style.pointerEvents="",l.forEach(e=>e?.())}}(r,t))})),()=>{n.forEach(e=>e?.())}})(()=>dS(e),{defer:!0,exclude:[...dI(e),dk(e),e.getById(dv(e))],onInteractOutside(e){r.set("restoreFocus",!e.detail.focusable)},onDismiss(){t({type:"INTERACT_OUTSIDE"})},onEscapeKeyDown(e){e.preventDefault(),t({type:"TABLE.ESCAPE",src:"dismissable"})}})},actions:{setNextView({context:e,prop:t}){var r,n,a;let i=(r=e.get("view"),n=t("minView"),a=t("maxView"),dH(dM(dL(r,0)+1),n,a));e.set("view",i)},setPreviousView({context:e,prop:t}){var r,n,a;let i=(r=e.get("view"),n=t("minView"),a=t("maxView"),dH(dM(dL(r,0)-1),n,a));e.set("view",i)},setView({context:e,event:t}){e.set("view",t.view)},setRestoreFocus({context:e}){e.set("restoreFocus",!0)},announceValueText({context:e,prop:t,refs:r}){let n=e.get("value").map(e=>{var r,n;let a;return r=t("locale"),n=t("timeZone"),a=uD(r,n),un(e,e)?a.format(e.toDate(n)):function(e,t,r,n,a){let i=r.formatRangeToParts(e.toDate(a),t.toDate(a)),o=-1;for(let e=0;e<i.length;e++){let t=i[e];if("shared"===t.source&&"literal"===t.type)o=e;else if("endRange"===t.source)break}let s="",l="";for(let e=0;e<i.length;e++)e<o?s+=i[e].value:e>o&&(l+=i[e].value);return n(s,l)}(e,e,a,(e,t)=>`${e} \u2013 ${t}`,n)});r.get("announcer")?.announce(n.join(","),3e3)},announceVisibleRange({computed:e,refs:t}){let{formatted:r}=e("visibleRangeText");t.get("announcer")?.announce(r)},disableTextSelection({scope:e}){!function(e={}){let{defer:t,target:r,...n}=e,a=[];a.push((t?lz:e=>e())(()=>{let e="function"==typeof r?r():r;a.push(function(e={}){let{target:t,doc:r}=e,n=r??document,a=n.documentElement;return lL()?("default"===lQ&&(lK=a.style.webkitUserSelect,a.style.webkitUserSelect="none"),lQ="disabled"):t&&(lZ.set(t,t.style.userSelect),t.style.userSelect="none"),()=>lX({target:t,doc:n})}({...n,target:e}))}))}({target:dS(e),doc:e.getDoc()})},enableTextSelection({scope:e}){lX({doc:e.getDoc(),target:dS(e)})},focusFirstSelectedDate(e){let{context:t}=e;t.get("value").length&&dV(e,t.get("value")[0])},syncInputElement({scope:e,computed:t}){lz(()=>{dI(e).forEach((e,r)=>{lW(e,t("valueAsString")[r]||"")})})},setFocusedDate(e){let{event:t}=e;dV(e,Array.isArray(t.value)?t.value[0]:t.value)},setFocusedValueForView(e){let{context:t,event:r}=e;dV(e,t.get("focusedValue").set({[t.get("view")]:r.value}))},focusNextMonth(e){let{context:t}=e;dV(e,t.get("focusedValue").add({months:1}))},focusPreviousMonth(e){let{context:t}=e;dV(e,t.get("focusedValue").subtract({months:1}))},setDateValue({context:e,event:t,prop:r}){if(!Array.isArray(t.value))return;let n=t.value.map(e=>uk(e,r("min"),r("max")));e.set("value",n)},clearDateValue({context:e}){e.set("value",[])},setSelectedDate(e){let{context:t,event:r}=e,n=Array.from(t.get("value"));n[t.get("activeIndex")]=dW(e,r.value??t.get("focusedValue")),t.set("value",d_(n))},resetSelection(e){let{context:t,event:r}=e;t.set("value",[r.value??t.get("focusedValue")])},toggleSelectedDate(e){let{context:t,event:r}=e,n=dW(e,r.value??t.get("focusedValue")),a=t.get("value").findIndex(e=>uI(e,n));if(-1===a){let e=[...t.get("value"),n];t.set("value",dA(e))}else{let e=Array.from(t.get("value"));e.splice(a,1),t.set("value",dA(e))}},setHoveredDate({context:e,event:t}){e.set("hoveredValue",t.value)},clearHoveredDate({context:e}){e.set("hoveredValue",null)},selectFocusedDate({context:e,computed:t}){let r=Array.from(e.get("value")),n=e.get("activeIndex");r[n]=e.get("focusedValue").copy(),e.set("value",d_(r));let a=t("valueAsString");e.set("inputValue",a[n])}
1,focusPreviousDay(e){let{context:t}=e;dV(e,t.get("focusedValue").subtract({days:1}))},focusNextDay(e){let{context:t}=e;dV(e,t.get("focusedValue").add({days:1}))},focusPreviousWeek(e){let{context:t}=e;dV(e,t.get("focusedValue").subtract({weeks:1}))},focusNextWeek(e){let{context:t}=e;dV(e,t.get("focusedValue").add({weeks:1}))},focusNextPage(e){let{context:t,computed:r,prop:n}=e;dG(e,uB(t.get("focusedValue"),t.get("startValue"),r("visibleDuration"),n("locale"),n("min"),n("max")))},focusPreviousPage(e){let{context:t,computed:r,prop:n}=e;dG(e,uU(t.get("focusedValue"),t.get("startValue"),r("visibleDuration"),n("locale"),n("min"),n("max")))},focusSectionStart(e){let{context:t}=e;dV(e,t.get("startValue").copy())},focusSectionEnd(e){let{computed:t}=e;dV(e,t("endValue").copy())},focusNextSection(e){var t,r,n,a,i,o,s;let l,{context:c,event:u,computed:d,prop:h}=e,p=(t=c.get("focusedValue"),r=c.get("startValue"),n=u.larger,a=d("visibleDuration"),i=h("locale"),l=uq(a,i,o=h("min"),s=h("max")),n||a.days?a.days?uB(t,r,a,i,o,s):a.weeks?l({focusedDate:t.add({months:1}),startDate:r}):a.months||a.years?l({focusedDate:t.add({years:1}),startDate:r}):void 0:l({focusedDate:t.add(uR(a)),startDate:r}));p&&dG(e,p)},focusPreviousSection(e){var t,r,n,a,i,o,s;let l,{context:c,event:u,computed:d,prop:h}=e,p=(t=c.get("focusedValue"),r=c.get("startValue"),n=u.larger,a=d("visibleDuration"),i=h("locale"),l=uq(a,i,o=h("min"),s=h("max")),n||a.days?a.days?uU(t,r,a,i,o,s):a.weeks?l({focusedDate:t.subtract({months:1}),startDate:r}):a.months||a.years?l({focusedDate:t.subtract({years:1}),startDate:r}):void 0:l({focusedDate:t.subtract(uR(a)),startDate:r}));p&&dG(e,p)}
1,focusNextYear(e){let{context:t}=e;dV(e,t.get("focusedValue").add({years:1}))},focusPreviousYear(e){let{context:t}=e;dV(e,t.get("focusedValue").subtract({years:1}))},focusNextDecade(e){let{context:t}=e;dV(e,t.get("focusedValue").add({years:10}))},focusPreviousDecade(e){let{context:t}=e;dV(e,t.get("focusedValue").subtract({years:10}))},clearFocusedDate(e){let{prop:t}=e;dV(e,uF(t("timeZone")))},focusPreviousMonthColumn(e){let{context:t,event:r}=e;dV(e,t.get("focusedValue").subtract({months:r.columns}))},focusNextMonthColumn(e){let{context:t,event:r}=e;dV(e,t.get("focusedValue").add({months:r.columns}))},focusPreviousYearColumn(e){let{context:t,event:r}=e;dV(e,t.get("focusedValue").subtract({years:r.columns}))},focusNextYearColumn(e){let{context:t,event:r}=e;dV(e,t.get("focusedValue").add({years:r.columns}))},focusFirstMonth(e){let{context:t}=e;dV(e,t.get("focusedValue").set({month:0}))},focusLastMonth(e){let{context:t}=e;dV(e,t.get("focusedValue").set({month:12}))},focusFirstYear(e){let{context:t}=e,r=uH(t.get("focusedValue").year);dV(e,t.get("focusedValue").set({year:r[0]}))}
1,focusLastYear(e){let{context:t}=e,r=uH(t.get("focusedValue").year);dV(e,t.get("focusedValue").set({year:r[r.length-1]}))},setActiveIndex({context:e,event:t}){e.set("activeIndex",t.index)},setActiveIndexToEnd({context:e}){e.set("activeIndex",1)},setActiveIndexToStart({context:e}){e.set("activeIndex",0)},focusActiveCell({scope:e,context:t}){lz(()=>{let r=t.get("view");dw(e,r)?.focus({preventScroll:!0})})},focusActiveCellIfNeeded({scope:e,context:t,event:r}){r.focus&&lz(()=>{let r=t.get("view");dw(e,r)?.focus({preventScroll:!0})})},setHoveredValueIfKeyboard({context:e,event:t,prop:r}){t.type.startsWith("TABLE.ARROW")&&"range"===r("selectionMode")&&0!==e.get("activeIndex")&&e.set("hoveredValue",e.get("focusedValue").copy())},focusTriggerElement({scope:e}){lz(()=>{dk(e)?.focus({preventScroll:!0})})},focusFirstInputElement({scope:e}){lz(()=>{let[t]=dI(e);t?.focus({preventScroll:!0})})},focusInputElement({scope:e}){lz(()=>{let t=dI(e),r=Math.max(t.findLastIndex(e=>""!==e.value),0),n=t[r];n?.focus({preventScroll:!0}),n?.setSelectionRange(n.value.length,n.value.length)})},syncMonthSelectElement({scope:e,context:t}){lW(e.getById(dE(e)),t.get("startValue").month.toString())},syncYearSelectElement({scope:e,context:t}){lW(e.getById(dC(e)),t.get("startValue").year.toString())},setInputValue({context:e,event:t}){e.get("activeIndex")===t.index&&e.set("inputValue",t.value)},syncInputValue({scope:e,context:t,event:r}){queueMicrotask(()=>{lW(dI(e)[r.index??t.get("activeIndex")],t.get("inputValue"))})},focusParsedDate(e){let{event:t,prop:r}=e;if(null==t.index)return;let n=r("parse")(t.value,{locale:r("locale"),timeZone:r("timeZone")});n&&dO(n)&&dV(e,n)},selectParsedDate({context:e,event:t,computed:r,prop:n}){if(null==t.index)return;let a=n("parse")(t.value,{locale:n("locale"),timeZone:n("timeZone")});if(a&&dO(a)||!t.value||(a=e.get("focusedValue").copy()),!a)return;let i=Array.from(e.get("value"));i[t.index]=a,e.set("value",i),e.set("inputValue",r("valueAsString")[t.index])},resetView({context:e}){e.set("view",e.initial("view"))},setStartValue({context:e,computed:t,prop:r}){let n=e.get("focusedValue");if(!u_(n,e.get("startValue"),t("endValue")))return;let a=uS(n,"start",{months:r("numOfMonths")},r("locale"));e.set("startValue",a)},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},toggleVisibility({event:e,send:t,prop:r}){t({type:r("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}},dW=(e,t)=>{var r;let{context:n,prop:a}=e,i=n.get("view"),o="number"==typeof t?n.get("focusedValue").set({[i]:t}):t;return r=e=>{var t;t=a("minView"),dL(e,0)<dL(t,0)&&(o=o.set({[e]:+("day"===e)}))},dF.forEach(e=>r(e)),o};function dV(e,t){let{context:r,prop:n,computed:a}=e;if(!t)return;let i=dW(e,t);if(uI(r.get("focusedValue"),i))return;let o=uq(a("visibleDuration"),n("locale"),n("min"),n("max"))({focusedDate:i,startDate:r.get("startValue")});r.set("startValue",o.startDate),r.set("focusedValue",o.focusedDate)}function dG(e,t){let{context:r}=e;r.set("startValue",t.startDate),uI(r.get("focusedValue"),t.focusedDate)||r.set("focusedValue",t.focusedDate)}function dz(e){if(Array.isArray(e))return e.map(e=>dz(e));if(e instanceof Date)return new cK(e.getFullYear(),e.getMonth()+1,e.getDate());let t=e.match(cW);if(!t)throw Error("Invalid ISO 8601 date string: "+e);let r=new cK(cV(t[1],0,9999),cV(t[2],1,12),1);return r.day=cV(t[3],0,r.calendar.getDaysInMonth(r)),r}lb(cr()(["closeOnSelect","dir","disabled","fixedWeeks","focusedValue","format","parse","placeholder","getRootNode","id","ids","isDateUnavailable","locale","max","min","name","numOfMonths","onFocusChange","onOpenChange","onValueChange","onViewChange","open","defaultOpen","positioning","readOnly","selectionMode","startOfWeek","timeZone","translations","value","defaultView","defaultValue","view","defaultFocusedValue","outsideDaySelectable","minView","maxView"])),lb(cr()(["index","fixOnBlur"])),lb(cr()(["value"])),lb(cr()(["columns","id","view"])),lb(cr()(["disabled","value","columns"])),lb(cr()(["view"]));let[dY,d$]=ch({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),[dQ,dK]=ch({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),[dZ,dX]=ch({name:"DatePickerContext",hookName:"useDatePickerContext",providerName:"<DatePickerProvider />"}),dJ=(0,k.forwardRef)((e,t)=>{let[r,n]=l9()(e,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]),[a,i]=l9()(n,["closeOnSelect","defaultFocusedValue","defaultOpen","defaultValue","defaultView","disabled","fixedWeeks","focusedValue","format","id","ids","isDateUnavailable","locale","max","maxView","min","minView","name","numOfMonths","onFocusChange","onOpenChange","onValueChange","onViewChange","open","outsideDaySelectable","parse","placeholder","positioning","readOnly","selectionMode","startOfWeek","timeZone","translations","value","view"]),o=(e=>{let t=(0,k.useId)(),{getRootNode:r}=d$(),{dir:n,locale:a}=dK();return function(e,t){let r,{state:n,context:a,prop:i,send:o,computed:s,scope:l}=e,c=a.get("startValue"),u=s("endValue"),d=a.get("value"),h=a.get("focusedValue"),p=a.get("hoveredValue"),f=p?d_([d[0],p]):[],m=i("disabled"),g=i("readOnly"),v=s("isInteractive"),y=i("min"),b=i("max"),x=i("locale"),T=i("timeZone"),E=i("startOfWeek"),C=n.matches("focused"),w=n.matches("open"),k="range"===i("selectionMode"),S=i("isDateUnavailable"),I=a.get("currentPlacement"),P=function(e={}){let{placement:t,sameWidth:r,fitViewport:n,strategy:a="absolute"}=e;return{arrow:{position:"absolute",width:u9.arrowSize.reference,height:u9.arrowSize.reference,[u9.arrowSizeHalf.variable]:`calc(${u9.arrowSize.reference} / 2)`,[u9.arrowOffset.variable]:`calc(${u9.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?da[t.split("-")[0]]:void 0,background:u9.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:a,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:n?"var(--available-width)":void 0,maxHeight:n?"var(--available-height)":void 0,pointerEvents:t?void 0:"none",top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}({...i("positioning"),placement:I}),_=(r=new Intl.DateTimeFormat(x).formatToParts(new Date).find(e=>
1"literal"===e.type))?r.value:"/",R={...dj,...i("translations")};function A(e=c){let t,r,n=i("fixedWeeks")?6:void 0;return t=uL(E),[...Array(n??(r=e.calendar.getDaysInMonth(e),Math.ceil((uo(uh(e),x,t)+r)/7))).keys()].map(t=>uM(t,e,x,E))}function N(e={}){let{format:t}=e;return(function(e,t="long"){let r=new Date(2021,0,1),n=[];for(let a=0;a<12;a++)n.push(r.toLocaleString(e,{month:t})),r.setMonth(r.getMonth()+1);return n})(x,t).map((e,t)=>({label:e,value:t+1}))}function D(e){return uP(e,S,x,y,b)}function O(e){o({type:"FOCUS.SET",value:(c??uF(T)).set({month:e})})}function j(e){o({type:"FOCUS.SET",value:(c??uF(T)).set({year:e})})}function L(e){let t,r,{value:n,disabled:a}=e,i={focused:h.year===e.value,selectable:(t=y?.year??0,r=b?.year??9999,lg(n)>=t&&lg(n)<=r),selected:!!d.find(e=>e.year===n),valueText:n.toString(),get disabled(){return a||!i.selectable}};return i}function M(e){let{value:t,disabled:r}=e,n=h.set({month:t}),a=uO(x,T),i={focused:h.month===e.value,selectable:!u_(n,y,b),selected:!!d.find(e=>e.month===t&&e.year===h.year),valueText:a.format(n.toDate(T)),get disabled(){return r||!i.selectable}};return i}function H(e){let{value:t,disabled:r,visibleRange:n=s("visibleRange")}=e,a=uD(x,T),o=uR(s("visibleDuration")),l=i("outsideDaySelectable"),c=n.start.add(o).subtract({days:1}),u=u_(t,n.start,c),p={invalid:u_(t,y,b),disabled:r||!l&&u||u_(t,y,b),selected:d.some(e=>uI(t,e)),unavailable:uP(t,S,x,y,b)&&!r,outsideRange:u,inRange:k&&(dR(t,d)||dR(t,f)),firstInRange:k&&uI(t,d[0]),lastInRange:k&&uI(t,d[1]),today:un(t,c7(us(T))),weekend:function(e,t){let r=Math.ceil(e.calendar.toJulianDay(e)+1)%7;r<0&&(r+=7);let[n,a]=uT[uy(t)]||[6,0];return r===n||r===a}(t,x),formattedDate:a.format(t.toDate(T)),get focused(){return uI(t,h)&&(!p.outsideRange||l)},get ariaLabel(){return R.dayCell(p)},get selectable(){return!p.disabled&&!p.unavailable}};return p}return{focused:C,open:w,view:a.get("view"),getRangePresetValue:e=>uV(e,x,T),getDaysInWeek:(e,t=c)=>uM(e,t,x,E),getOffset(e){let t=c.add(e),r=u.add(e),n=uO(x,T);return{visibleRange:{start:t,end:r},weeks:A(t),visibleRangeText:{start:n.format(t.toDate(T)),end:n.format(r.toDate(T))}}},getMonthWeeks:A,isUnavailable:D,weeks:A(),weekDays:function(e,t,r,n){let a,i,o,s=um(e,n,uL(t)),l=[...Array(7).keys()],c=(a=new cb(n,{weekday:"long",timeZone:r}),i=new cb(n,{weekday:"short",timeZone:r}),o=new cb(n,{weekday:"narrow",timeZone:r}),e=>{let t=e instanceof Date?e:e.toDate(r);return{value:e,short:i.format(t),long:a.format(t),narrow:o.format(t)}});return l.map(e=>c(s.add({days:e})))}(uF(T),E,T,x),visibleRangeText:s("visibleRangeText"),value:d,valueAsDate:d.map(e=>e.toDate(T)),valueAsString:s("valueAsString"),focusedValue:h,focusedValueAsDate:h?.toDate(T),focusedValueAsString:i("format")(h,{locale:x,timeZone:T}),visibleRange:s("visibleRange"),selectToday(){o({type:"VALUE.SET",value:uk(uF(T),y,b)})},setValue(e){o({type:"VALUE.SET",value:e.map(e=>uk(e,y,b))})},clearValue(){o({type:"VALUE.CLEAR"})},setFocusedValue(e){o({type:"FOCUS.SET",value:e})},setOpen(e){n.matches("open")!==e&&o({type:e?"OPEN":"CLOSE"})},focusMonth:O,focusYear:j,getYears:function(){return(function(e){let t=[];for(let r=e.from;r<=e.to;r+=1)t.push(r);return t})({from:y?.year??1900,to:b?.year??2100}).map(e=>({label:e.toString(),value:e}))},getMonths:N,getYearsGrid(e={}){let{columns:t=1}=e;return li(uH(h.year).map(e=>({label:e.toString(),value:e})),t)},getDecade(){let e=uH(h.year);return{start:e.at(0),end:e.at(-1)}},getMonthsGrid(e={}){let{columns:t=1,format:r}=e;return li(N({format:r}),t)},format:(e,t={month:"long",year:"numeric"})=>new cb(x,t).format(e.toDate(T)),setView(e){o({type:"VIEW.SET",view:e})},goToNext(){o({type:"GOTO.NEXT",view:a.get("view")})},goToPrev(){o({type:"GOTO.PREV",view:a.get("view")})},getRootProps:()=>t.element({...df.root.attrs,dir:i("dir"),id:l.ids?.root??`datepicker:${l.id}`,"data-state":w?"open":"closed","data-disabled":lC(m),"data-readonly":lC(g)}),getLabelProps(e={}){let{index:r=0}=e;return t.label({...df.label.attrs,id:l.ids?.label?.(r)??`datepicker:${l.id}:label:${r}`,dir:i("dir"),htmlFor:db(l,r),"data-state":w?"open":"closed","data-index":r,"data-disabled":lC(m),"data-readonly":lC(g)})},getControlProps:()=>t.element({...df.control.attrs,dir:i("dir"),id:dy(l),"data-disabled":lC(m)}),getRangeTextProps:()=>t.element({...df.rangeText.attrs,dir:i("dir")}),getContentProps:()=>t.element({...df.content.attrs,hidden:!w,dir:i("dir"),"data-state":w?"open":"closed","data-
1placement":I,id:dm(l),tabIndex:-1,role:"application","aria-roledescription":"datepicker","aria-label":R.content}),getTableProps(e={}){let{view:r="day",columns:n="day"===r?7:4}=e,a=function(e){let{view:t="day",id:r}=e;return[t,r].filter(Boolean).join(" ")}(e);return t.element({...df.table.attrs,role:"grid","data-columns":n,"aria-roledescription":ll(r,{year:"calendar decade",month:"calendar year",day:"calendar month"}),id:l.ids?.table?.(a)??`datepicker:${l.id}:table:${a}`,"aria-readonly":lw(g),"aria-disabled":lw(m),"aria-multiselectable":lw("single"!==i("selectionMode")),"data-view":r,dir:i("dir"),tabIndex:-1,onKeyDown(e){if(e.defaultPrevented)return;let t={Enter(){D(h)||o({type:"TABLE.ENTER",view:r,columns:n,focus:!0})},ArrowLeft(){o({type:"TABLE.ARROW_LEFT",view:r,columns:n,focus:!0})},ArrowRight(){o({type:"TABLE.ARROW_RIGHT",view:r,columns:n,focus:!0})},ArrowUp(){o({type:"TABLE.ARROW_UP",view:r,columns:n,focus:!0})},ArrowDown(){o({type:"TABLE.ARROW_DOWN",view:r,columns:n,focus:!0})},PageUp(e){o({type:"TABLE.PAGE_UP",larger:e.shiftKey,view:r,columns:n,focus:!0})},PageDown(e){o({type:"TABLE.PAGE_DOWN",larger:e.shiftKey,view:r,columns:n,focus:!0})},Home(){o({type:"TABLE.HOME",view:r,columns:n,focus:!0})},End(){o({type:"TABLE.END",view:r,columns:n,focus:!0})}}[function(e,t={}){let{dir:r="ltr",orientation:n="horizontal"}=t,a=e.key;return a=lF[a]??a,"rtl"===r&&"horizontal"===n&&a in lq&&(a=lq[a]),a}(e,{dir:i("dir")})];t&&(t(e),e.preventDefault(),e.stopPropagation())},onPointerLeave(){o({type:"TABLE.POINTER_LEAVE"})},onPointerDown(){o({type:"TABLE.POINTER_DOWN",view:r})},onPointerUp(){o({type:"TABLE.POINTER_UP",view:r})}})},getTableHeadProps(e={}){let{view:r="day"}=e;return t.element({...df.tableHead.attrs,"aria-hidden":!0,dir:i("dir"),"data-view":r,"data-disabled":lC(m)})},getTableHeaderProps(e={}){let{view:r="day"}=e;return t.element({...df.tableHeader.attrs,dir:i("dir"),"data-view":r,"data-disabled":lC(m)})},getTableBodyProps(e={}){let{view:r="day"}=e;return t.element({...df.tableBody.attrs,"data-view":r,"data-disabled":lC(m)})},getTableRowProps(e={}){let{view:r="day"}=e;return t.element({...df.tableRow.attrs,"aria-disabled":lw(m),"data-disabled":lC(m),"data-view":r})},getDayTableCellState:H,getDayTableCellProps(e){let{value:r}=e,n=H(e);return t.element({...df.tableCell.attrs,role:"gridcell","aria-disabled":lw(!n.selectable),"aria-selected":n.selected||n.inRange,"aria-invalid":lw(n.invalid),"aria-current":n.today?"date":void 0,"data-value":r.toString()})},getDayTableCellTriggerProps(e){let{value:r}=e,n=H(e);return t.element({...df.tableCellTrigger.attrs,id:dg(l,r.toString()),role:"button",dir:i("dir"),tabIndex:n.focused?0:-1,"aria-label":n.ariaLabel,"aria-disabled":lw(!n.selectable),"aria-invalid":lw(n.invalid),"data-disabled":lC(!n.selectable),"data-selected":lC(n.selected),"data-value":r.toString(),"data-view":"day","data-today":lC(n.today),"data-focus":lC(n.focused),"data-unavailable":lC(n.unavailable),"data-range-start":lC(n.firstInRange),"data-range-end":lC(n.lastInRange),"data-in-range":lC(n.inRange),"data-outside-range":lC(n.outsideRange),"data-weekend":lC(n.weekend),onClick(e){e.defaultPrevented||n.selectable&&o({type:"CELL.CLICK",cell:"day",value:r})},onPointerMove(e){if("touch"===e.pointerType||!n.selectable)return;let t=e.currentTarget.ownerDocument.activeElement!==e.currentTarget;p&&ua(r.calendar,p.calendar)&&un(r,p)||o({type:"CELL.POINTER_MOVE",cell:"day",value:r,focus:t})}})},getMonthTableCellState:M,getMonthTableCellProps(e){let{value:r,columns:n}=e,a=M(e);return t.element({...df.tableCell.attrs,dir:i("dir"),colSpan:n,role:"gridcell","aria-selected":lw(a.selected),"data-selected":lC(a.selected),"aria-disabled":lw(!a.selectable),"data-value":r})},getMonthTableCellTriggerProps(e){let{value:r}=e,n=M(e);return t.element({...df.tableCellTrigger.attrs,dir:i("dir"),role:"button",id:dg(l,r.toString()),"data-selected":lC(n.selected),"aria-disabled":lw(!n.selectable),"data-disabled":lC(!n.selectable),"data-focus":lC(n.focused),"aria-label":n.valueText,"data-view":"month","data-value":r,tabIndex:n.focused?0:-1,onClick(e){e.defaultPrevented||n.selectable&&o({type:"CELL.CLICK",cell:"month",value:r})}})},getYearTableCellState:L,getYearTableCellProps(e){let{value:r,columns:n}=e,a=L(e);return t.element({...df.tableCell.attrs,dir:i("dir"),colSpan:n,role:"gridcell","aria-selected":lw(a.selected),"data-selected":lC(a.selected),"aria-disabled":lw(!a.selectable),"data-value":r})},getYearTableCellTriggerProps(e){let{value:r}=e,n=L(e);return t.element({...df.tableCellTrigger.attrs,dir:i("dir"),role:"button",id:dg(l,r.toString()),"data-selected":lC(n.selected),"data-focus":lC(n.focused),"aria-disabled":lw(!n.selectable),"data-disabled":lC(!n.selectable),"aria-label":n.valueText,"data-value":r,"data-view":"year",tabIndex:n.focused?0:-1,onClick(e){e.defaultPrevented||n.selectable&&o({type:"CELL.CLICK",cell:"year",value:r})}})},getNextTriggerProps(e={}){let{view:r="day"}=e,n=m||!s("isNextVisibleRangeValid");return t.button({...df.nextTrigger.attrs,dir:i("dir"),id:l.ids?.nextTrigger?.(r)??`datepicker:${l.id}:next:${r}`,type:"button","aria-label":R.nextTrigger(r),disabled:n,"data-disabled":lC(n),onClick(e){e.defaultPrevented||o({type:"GOTO.NEXT",view:r})}})},getPrevTriggerProps(e={}){let{view:r="day"}=e,n=m||!s("isPrevVisibleRangeValid");return t.button({...df.prevTrigger.attrs,dir:i("dir"),id:l.ids?.prevTrigger?.(r)??`datepicker:${l.id}:prev:${r}`,type:"button","aria-label":R.prevTrigger(r),disabled:n,"data-disabled":lC(n),onClick(e){e.defaultPrevented||o({type:"GOTO.PREV",view:r})}})},getClearTriggerProps:()=>t.button({...df.clearTrigger.attrs,id:dv(l),dir:i("dir"),type:"button","aria-label":R.clearTrigger,hidden:!d.length,onClick(e){e.defaultPrevented||o({type:"VALUE.CLEAR"})}}),getTriggerProps:()=>t.button({...df.trigger.attrs,id:dx(l),dir:i("dir"),type:"button","data-
1placement":I,"aria-label":R.trigger(w),"aria-controls":dm(l),"data-state":w?"open":"closed","aria-haspopup":"grid",disabled:m,onClick(e){e.defaultPrevented||v&&o({type:"TRIGGER.CLICK"})}}),getViewProps(e={}){let{view:r="day"}=e;return t.element({...df.view.attrs,"data-view":r,hidden:a.get("view")!==r})},getViewTriggerProps(e={}){let{view:r="day"}=e;return t.button({...df.viewTrigger.attrs,"data-view":r,dir:i("dir"),id:l.ids?.viewTrigger?.(r)??`datepicker:${l.id}:view:${r}`,type:"button",disabled:m,"aria-label":R.viewTrigger(r),onClick(e){e.defaultPrevented||v&&o({type:"VIEW.TOGGLE",src:"viewTrigger"})}})},getViewControlProps(e={}){let{view:r="day"}=e;return t.element({...df.viewControl.attrs,"data-view":r,dir:i("dir")})},getInputProps(e={}){let{index:r=0,fixOnBlur:n=!0}=e;return t.input({...df.input.attrs,id:db(l,r),autoComplete:"off",autoCorrect:"off",spellCheck:"false",dir:i("dir"),name:i("name"),"data-index":r,"data-state":w?"open":"closed",readOnly:g,disabled:m,placeholder:i("placeholder")||new cb(x).formatToParts(new Date).map(e=>dN[e.type]??e.value).join(""),defaultValue:s("valueAsString")[r],onBeforeInput(e){let{data:t}=lB(e);dD(t,_)||e.preventDefault()},onFocus(){o({type:"INPUT.FOCUS",index:r})},onBlur(e){o({type:"INPUT.BLUR",value:e.currentTarget.value.trim(),index:r,fixOnBlur:n})},onKeyDown(e){if(e.defaultPrevented||!v)return;let t={Enter(e){lB(e).isComposing||229===e.keyCode||D(h)||""!==e.currentTarget.value.trim()&&o({type:"INPUT.ENTER",value:e.currentTarget.value,index:r})}}[e.key];t&&(t(e),e.preventDefault())},onInput(e){let t;o({type:"INPUT.CHANGE",value:(t=e.currentTarget.value,t.split("").filter(e=>dD(e,_)).join("")),index:r})}})},getMonthSelectProps:()=>t.select({...df.monthSelect.attrs,id:dE(l),"aria-label":R.monthSelect,disabled:m,dir:i("dir"),defaultValue:c.month,onChange(e){O(Number(e.currentTarget.value))}}),getYearSelectProps:()=>t.select({...df.yearSelect.attrs,id:dC(l),disabled:m,"aria-label":R.yearSelect,dir:i("dir"),defaultValue:c.year,onChange(e){j(Number(e.currentTarget.value))}}),getPositionerProps:()=>t.element({id:dT(l),...df.positioner.attrs,dir:i("dir"),style:P.floating}),getPresetTriggerProps(e){let r=Array.isArray(e.value)?e.value:uV(e.value,x,T),n=r.map(e=>e.toDate(T).toDateString());return t.button({...df.presetTrigger.attrs,"aria-label":R.presetTrigger(n),type:"button",onClick(e){e.defaultPrevented||o({type:"PRESET.CLICK",value:r})}})}}}(cl(dU,{id:t,dir:n,locale:a,getRootNode:r,...e}),cd)})(a),s=((e={})=>{let{lazyMount:t,unmountOnExit:r,present:n,skipAnimationOnMount:a=!1,...i}=e,o=(0,k.useRef)(!1),s=function(e){let{state:t,send:r,context:n}=e,a=t.matches("mounted","unmountSuspended");return{skip:!n.get("initial"),present:a,setNode(e){e&&r({type:"NODE.SET",node:e})},unmount(){r({type:"UNMOUNT"})}}}(cl(cn,{...i,present:n,onExitComplete:function(e,t={}){var r;let n,{sync:a=!1}=t,i=(r=e,(n=(0,k.useRef)(r)).current=r,n);return(0,k.useCallback)((...e)=>a?queueMicrotask(()=>i.current?.(...e)):i.current?.(...e),[a,i])}(e.onExitComplete)}));s.present&&(o.current=!0);let l=!s.present&&!o.current&&t||r&&!s.present&&o.current;return{ref:s.setNode,getPresenceProps:()=>({"data-state":s.skip&&a?void 0:n?"open":"closed",hidden:!s.present}),present:s.present,unmounted:l}})(l4({present:o.open},r)),l=l4(o.getRootProps(),i);return(0,C.jsx)(dZ,{value:o,children:(0,C.jsx)(cp,{value:s,children:(0,C.jsx)(ct.div,{...l,ref:t})})})});dJ.displayName="DatePickerRoot";let d1=(0,k.forwardRef)((e,t)=>{let r=l4(dX().getControlProps(),e);return(0,C.jsx)(ct.div,{...r,ref:t})});d1.displayName="DatePickerControl";let d0=(0,k.forwardRef)((e,t)=>{let[r,n]=l9()(e,["index","fixOnBlur"]),a=l4(dX().getInputProps(r),n);return(0,C.jsx)(ct.input,{...a,ref:t})});d0.displayName="DatePickerInput";let d2=(0,k.forwardRef)((e,t)=>{let r=l4(dX().getTriggerProps(),e);return(0,C.jsx)(ct.button,{...r,ref:t})});d2.displayName="DatePickerTrigger";let d3=({testId:e="CalendarBasicIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21 10H3M16 2V6M8 2V6M7.8 22H16.2C17.8802 22 18.7202 22 19.362 21.673C19.9265 21.3854 20.3854 20.9265 20.673 20.362C21 19.7202 21 18.8802 21 17.2V8.8C2
11 7.11984 21 6.27976 20.673 5.63803C20.3854 5.07354 19.9265 4.6146 19.362 4.32698C18.7202 4 17.8802 4 16.2 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V17.2C3 18.8802 3 19.7202 3.32698 20.362C3.6146 20.9265 4.07354 21.3854 4.63803 21.673C5.27976 22 6.11984 22 7.8 22Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})});var d5={"en-GB":{openCalendar:"Open calendar",closeCalendar:"Close calendar",yearSelector:e=>`Currently viewing: ${e}. Switch to year selector`,previousYearRange:"View previous year range",nextYearRange:"View next year range",selectedYear:e=>`Selected year: ${e}`,chooseYear:e=>`Choose year: ${e}`,previousMonthRange:"View previous year",nextMonthRange:"View next year",chooseMonth:e=>`Choose month: ${e}`,selectedMonth:e=>`Selected month: ${e}`,dateSelector:e=>`Currently viewing: ${e}. Switch to date selector`,chooseDate:e=>`Choose date: ${e}`,selectedDate:e=>`Selected date: ${e}`,previousDateRange:"View previous month",nextDateRange:"View next month",shortMonthsOverwrite:null},"nl-NL":{openCalendar:"Kalender openen",closeCalendar:"Kalender sluiten",yearSelector:e=>`Huidige weergave: ${e}. Overschakelen naar jaarselectie`,previousYearRange:"Bekijk het bereik van vorig jaar",nextYearRange:"Bekijk het assortiment voor volgend jaar",selectedYear:e=>`Geselecteerd jaar: ${e}`,chooseYear:e=>`Kies jaar: ${e}`,previousMonthRange:"Vorige maand bekijken",nextMonthRange:"Volgende maand bekijken",chooseMonth:e=>`Kies maand: ${e}`,selectedMonth:e=>`Geselecteerde maand: ${e}`,dateSelector:e=>`Huidige weergave: ${e}. Overschakelen naar datumselectie`,chooseDate:e=>`Kies datum: ${e}`,selectedDate:e=>`Geselecteerde datum: ${e}`,previousDateRange:"Vorige maand bekijken",nextDateRange:"Volgende maand bekijken",shortMonthsOverwrite:null},"de-DE":{openCalendar:"Kalender \xf6ffnen",closeCalendar:"Kalender schlie\xdfen",yearSelector:e=>`Wird derzeit angezeigt: ${e}. Zum Jahresauswahl wechseln`,previousYearRange:"Vorjahresbereich anzeigen",nextYearRange:"Sehen Sie sich das Sortiment f\xfcr das n\xe4chste Jahr an",selectedYear:e=>`Ausgew\xe4hltes Jahr: ${e}`,chooseYear:e=>`Jahr w\xe4hlen: ${e}`,previousMonthRange:"Vorherigen Monat anzeigen",nextMonthRange:"N\xe4chsten Monat anzeigen",chooseMonth:e=>`Monat w\xe4hlen: ${e}`,selectedMonth:e=>`Ausgew\xe4hlter Monat: ${e}`,dateSelector:e=>`Wird derzeit angezeigt: ${e}. Zum Datumauswahl wechseln`,chooseDate:e=>`Datum w\xe4hlen: ${e}`,selectedDate:e=>`Ausgew\xe4hltes Datum: ${e}`,previousDateRange:"Vormonat anzeigen",nextDateRange:"N\xe4chsten Monat ansehen",shortMonthsOverwrite:null},"sv-SE":{openCalendar:"\xd6ppna kalender",closeCalendar:"St\xe4ng kalender",yearSelector:e=>`Visar just nu: ${e}. Byt till \xe5rsv\xe4ljare`,previousYearRange:"Se f\xf6reg\xe5ende \xe5rs intervallr",nextYearRange:"Se n\xe4sta \xe5rs intervall",selectedYear:e=>`Valt \xe5r: ${e}`,chooseYear:e=>`V\xe4lj \xe5r: ${e}`,previousMonthRange:"Visa f\xf6reg\xe5ende m\xe5nad",nextMonthRange:"Visa n\xe4sta m\xe5nad",chooseMonth:e=>`V\xe4lj m\xe5nad: ${e}`,selectedMonth:e=>`Vald m\xe5nad: ${e}`,dateSelector:e=>`Visar just nu: ${e}. Byt till datumv\xe4ljare`,chooseDate:e=>`V\xe4lj datum: ${e}`,selectedDate:e=>`Valt datum: ${e}`,previousDateRange:"Se f\xf6reg\xe5ende m\xe5nad",nextDateRange:"Se n\xe4sta m\xe5nad",shortMonthsOverwrite:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"]},"no-NO":{openCalendar:"\xc5pne kalender",closeCalendar:"Lukk kalender",yearSelector:e=>`Viser n\xe5: ${e}. Bytt til \xe5rvelger`,previousYearRange:"Se forrige \xe5rs rekkevidde",nextYearRange:"Se neste \xe5rs rekkevidde",selectedYear:e=>`Valgt \xe5r: ${e}`,chooseYear:e=>`Velg \xe5r: ${e}`,previousMonthRange:"Se forrige m\xe5ned",nextMonthRange:"Se neste m\xe5ned",chooseMonth:e=>`Velg m\xe5ned: ${e}`,selectedMonth:e=>`Valgt m\xe5ned: ${e}`,dateSelector:e=>`Viser n\xe5: ${e}. Bytt til datovelger`,chooseDate:e=>`Velg dato: ${e}`,selectedDate:e=>`Valgt dato: ${e}`,previousDateRange:"Se forrige m\xe5ned",nextDateRange:"Se neste m\xe5ned",shortMonthsOverwrite:null},"en-CA":{openCalendar:"Open calendar",closeCalendar:"Close calendar",yearSelector:e=>`Currently viewing: ${e}. Switch to year selector`,previousYearRange:"View previous year range",nextYearRange:"View next year range",selectedYear:e=>`Selected year: ${e}`,chooseYear:e=>`Choose year: ${e}`,previousMonthRange:"View previous year",nextMonthRange:"View next year",chooseMonth:e=>`Choose month: ${e}`,selectedMonth:e=>`Selected month: ${e}`,dateSelector:e=>`Currently viewing: ${e}. Switch to date selector`,chooseDate:e=>`Choose date: ${e}`,selectedDate:e=>`Selected date: ${e}`,previousDateRange:"View previous month",nextDateRange:"View next month",shortMonthsOverwrite:null},"fr-CA":{openCalendar:"Ouvrir le calendrier",closeCalendar:"Fermer le calendrier",yearSelector:e=>`Actuellement affich\xe9: ${e}. Passer au s\xe9lecteur d'ann\xe9e`,previousYearRange:"Voir la gamme de l'ann\xe9e pr\xe9c\xe9dente",nextYearRange:"Voir la gamme de l'ann\xe9e prochaine",selectedYear:e=>`Ann\xe9e s\xe9lectionn\xe9e: ${e}`,chooseYear:e=>`Choisir l'ann\xe9e: ${e}`,previousMonthRange:"Voir le mois pr\xe9c\xe9dent",nextMonthRange:"Voir le mois suivant",chooseMonth:e=>`Choisir le mois: ${e}`,selectedMonth:e=>`Mois s\xe9lectionn\xe9: ${e}`,dateSelector:e=>`Actuellement affich\xe9: ${e}. Passer au s\xe9lecteur de date`,chooseDate:e=>`Choisir la date: ${e}`,selectedDate:e=>`Date s\xe9lectionn\xe9e: ${e}`,previousDateRange:"Voir le mois pr\xe9c\xe9dent",nextDateRange:"Voir le mois prochain",shortMonthsOverwrite:null}};let d4=(0,k.forwardRef)((e,t)=>{let r=dX(),n=cf(),a=l4(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:(0,C.jsx)(ct.div,{...a,ref:l7(n.ref,t)})});d4.displayName="DatePickerContent";let d8=dp.extendWith("view"),[d6,d9]=ch({name:"DatePickerViewContext",hookName:"useDatePickerViewContext",providerName:"<DatePickerViewProvider />",strict:!1,defaultValue:{view:"day"}}),d7=(0,k.forwardRef)((e,t)=>{let[r,n]=l9()(e,["view"]),a=dX();return(0,C.jsx)(d6,{value:r,children:(0,C.jsx)(ct.div,{hidden:a.view!==r.view,...d8.build().view.attrs,...n,ref:t})})});d7.displayName="DatePickerView";let he=e=>e.children(dX()),[ht,hr]=ch({name:"DatePickerTableContext",hookName:"useDatePickerTableContext",providerName:"<DatePickerTableProvider />"}),hn=(0,k.forwardRef)((e,t)=>{let[{columns:r},n]=l9()(e,["columns"]),a=dX(),i=d9(),o={columns:r,id:(0,k.useId)(),...i},s=l4(a.getTableProps(o),n);return(0,C.jsx)(ht,{value:o,children:(0,C.jsx)(ct.table,{...s,ref:t})})});hn.displayName="DatePickerTable";let ha=(0,k.forwardRef)((e,t)=>{let r=dX(),n=hr(),a=l4(r.getTableHeadProps(n),e);return(0,C.jsx)(ct.thead,{...a,ref:t})});ha.displayName="DatePickerTableHead";let hi=(0,k.forwardRef)((e,t)=>{let r=dX(),n=hr(),a=l4(r.getTableRowProps(n),e);return(0,C.jsx)(ct.tr,{...a,ref:t})});hi.displayName="DatePickerTableRow";let ho=(0,k.forwardRef)((e,t)=>{let r=dX(),n=hr(),a=l4(r.getTableHeaderProps(n),e);return(0,C.jsx)(ct.th,{...a,ref:t})});ho.displayName="DatePickerTableHeader";let hs=(0,k.forwardRef)((e,t)=>{let r=dX(),n=hr(),a=l4(r.getTableBodyProps(n),e);return(0,C.jsx)(ct.tbody,{...a,ref:t})});hs.displayName="DatePickerTableBody";let[hl,hc]=ch({name:"DatePickerTableCellContext",hookName:"useDatePickerTableCellContext",providerName:"<DatePickerTableCellProvider />"}),hu=(0,k.forwardRef)((e,t)=>{let[r,n]=l9()(e,["disabled","value","visibleRange","columns"]),a=dX(),i=d9(),o=l4(({day:a.getDayTableCellProps,month:a.getMonthTableCellProps,year:a.getYearTableCellProps})[i.view](r),n);return(0,C.jsx)(hl,{value:r,children:(0,C.jsx)(ct.td,{ref:t,...o}
1)})});hu.displayName="DatePickerTableCell";let hd=(0,k.forwardRef)((e,t)=>{let r=dX(),n=hc(),a=d9(),i=l4((0,({day:r.getDayTableCellTriggerProps,month:r.getMonthTableCellTriggerProps,year:r.getYearTableCellTriggerProps})[a.view])(n),e);return(0,C.jsx)(ct.div,{ref:t,...i})});hd.displayName="DatePickerTableCellTrigger";let hh=w("w-full p-3","inline-block","rounded-md","text-center align-middle"),hp=w(hh,"ds-label-text--compact","text-[color:var(--actions-text-colors-action-text-fill-subtle)]","data-[selected]:bg-[color:var(--actions-fill-colors-action-fill-active)] data-[selected]:ring-2 data-[selected]:ring-inset data-[selected]:ring-[color:var(--actions-stroke-colors-action-stroke-color-active)]","hover:cursor-pointer hover:bg-[color:var(--generic-fill-colors-fill-light-color-hover)]"),hf=({value:e,isDisabled:t=!1,children:r,ariaLabel:n})=>(0,C.jsx)(hu,{value:e,children:t?(0,C.jsx)("div",{className:w(hh,"ds-body-text--compact","cursor-default","text-[color:var(--generic-text-color-text-color-disabled)]"),children:r}):(0,C.jsx)(hd,{asChild:!0,children:(0,C.jsx)("button",{type:"button",className:hp,"aria-label":n,children:r})})}),hm=({locale:e})=>{let t=d5[e];return(0,C.jsx)(d7,{view:"day",children:(0,C.jsx)(he,{children:r=>(0,C.jsxs)(hn,{className:"w-full table-fixed select-none","data-ds-datepicker-tableview":"day",children:[(0,C.jsx)(ha,{children:(0,C.jsx)(hi,{children:r.weekDays.map((e,t)=>(0,C.jsx)(ho,{"data-testid":"DatePickerCalendarDayView-tableheader",children:e.short},t))})}),(0,C.jsx)(hs,{className:"space-y-2",children:r.weeks.map((n,a)=>(0,C.jsx)(hi,{className:"space-x-1",children:n.map((n,a)=>{let i=r.visibleRange.start.month,o=r.isUnavailable(n)||n.month!==i,s=_(r.focusedValueAsDate).set("date",n.day).toDate(),l=r.valueAsDate[0]??void 0,c=l&&_(l).isSame(s)?t.selectedDate(new Intl.DateTimeFormat(e,{weekday:"long",day:"numeric",month:"long",year:"numeric"}).format(l).toString()):t.chooseDate(new Intl.DateTimeFormat(e,{weekday:"long",day:"numeric",month:"long",year:"numeric"}).format(s).toString());return(0,C.jsx)(hf,{value:n,isDisabled:o,ariaLabel:c,children:n.day},a)})},a))})]})})})};var hg=r(13597),hv=r(96614),hy=r(3731);_.extend(hg),_.extend(hv),_.extend(hy);let hb=({locale:e,minValidDate:t,maxValidDate:r})=>{let n=d5[e];return(0,C.jsx)(d7,{view:"month",children:(0,C.jsx)(he,{children:e=>(0,C.jsx)(hn,{className:"w-full select-none","data-ds-datepicker-tableview":"month",children:(0,C.jsx)(hs,{children:e.getMonthsGrid({columns:4,format:"short"}).map((a,i)=>(0,C.jsx)(hi,{children:a.map((a,i)=>{let o=new Date(e.focusedValue.year,a.value-1,1),s=(e.valueAsDate[0]?e.valueAsDate[0].getMonth():null)===a.value-1,l=(({currentMonthYear:e,minValidDate:t,maxValidDate:r})=>t&&r?_(e).isBetween(t,r,"month","[]"):t?_(e).isSameOrAfter(t,"month"):!r||_(e).isSameOrBefore(r,"month"))({currentMonthYear:o,minValidDate:t,maxValidDate:r}),c=n.shortMonthsOverwrite?n.shortMonthsOverwrite[a.value-1]:a.label;return(0,C.jsx)(hf,{value:a.value,isDisabled:!l,ariaLabel:s?n.selectedMonth(c):n.chooseMonth(c),children:c},i)})},i))})})})})},hx=({locale:e,minValidDate:t,maxValidDate:r})=>{let n=d5[e];return(0,C.jsx)(d7,{view:"year",children:(0,C.jsx)(he,{children:e=>{let a=_(e.valueAsDate[0]).get("year").toString();return(0,C.jsx)(hn,{className:"w-full select-none","data-ds-datepicker-tableview":"year",children:(0,C.jsx)(hs,{children:e.getYearsGrid({columns:4}).map((e,i)=>(0,C.jsx)(hi,{children:e.map((e,i)=>{let o=(({year:e,minYear:t,maxYear:r})=>(!t||e>=t)&&(!r||e<=r))({year:Number(e.label),minYear:t?_(t).get("year"):void 0,maxYear:r?_(r).get("year"):void 0});return(0,C.jsx)(hf,{value:e.value,isDisabled:!o,ariaLabel:a===e.label?n.selectedYear(e.label):n.chooseYear(e.label),children:e.label},i)})},i))})})}})})},hT=(0,k.forwardRef)((e,t)=>{let r=dX(),n=d9(),a=l4(r.getViewControlProps(n),e);return(0,C.jsx)(ct.div,{...a,ref:t})});hT.displayName="DatePickerViewControl";let hE=s3(!1),hC=({onToggle:e,active:t,view:r,locale:n,disabled:a})=>{let i,o=dX(),s=d5[n],l={day:o.visibleRangeText.formatted,month:String(o.focusedValue.year),year:(i=o.getYearsGrid().map(e=>e[0].value),`${i.shift()} - ${i.pop()}`)},c=w(hE.none,"ds-body-text--compact","truncate","box-border","group","rounded-ds","focus:ring-2 focus:ring-[color:var(--actions-stroke-colors-action-stroke-color-active)] focu
1s:hover:ring-[color:var(--actions-stroke-colors-action-stroke-color-active-hover)]","outline-none focus:outline-none","appearance-none","bg-[color:var(--generic-fill-colors-fill-default)] disabled:bg-[color:var(--actions-fill-colors-action-fill-disabled)]","placeholder:text-[color:var(--form-field-field-text-fill-placeholder)] disabled:cursor-not-allowed disabled:text-[color:var(--actions-text-colors-action-text-fill-disabled)]","w-full","mr-4 flex justify-between p-4"),u=w("transition-transform duration-300",{"rotate-180":t,"text-[color:var(--actions-fill-colors-action-icon-fill-default)] group-hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]":!a,"text-[color:var(--actions-fill-colors-action-icon-fill-disabled)]":a}),d={day:s.yearSelector(l[r]),month:s.yearSelector(l[r]),year:s.dateSelector(l[r])};return(0,C.jsxs)("button",{className:c,"aria-label":d[r],onClick:e,"data-testid":"ViewToggle",type:"button",disabled:a,children:[l[r],(0,C.jsx)($,{className:u})]})};_.extend(hy),_.extend(hv);let hw=e=>w({"cursor-pointer text-[color:var(--actions-fill-colors-action-icon-fill-default)] hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]":!e,"text-[color:var(--actions-fill-colors-action-icon-fill-disabled)]":e}),hk=({locale:e,minValidDate:t,maxValidDate:r})=>{let n=d5[e],a=dX(),i=["year","month"].includes(a.view),{isNextDisabled:o,isPrevDisabled:s}=((e,t,r)=>{if("day"===e.view){let n=new Date(e.visibleRange.end.year,e.visibleRange.end.month-1,e.visibleRange.end.day),a=!!r&&_(r).isSameOrBefore(_(n)),i=new Date(e.visibleRange.start.year,e.visibleRange.start.month-1,e.visibleRange.start.day);return{isNextDisabled:a,isPrevDisabled:!!t&&_(t).isSameOrAfter(_(i))}}if("year"===e.view){let n=e.getYearsGrid().pop()?.[0].value,a=e.getYearsGrid().shift()?.[0].value;return{isNextDisabled:!!r&&void 0!==n&&n>=new Date(r).getFullYear(),isPrevDisabled:!!t&&void 0!==a&&a<=new Date(t).getFullYear()}}if("month"===e.view){let n=e.focusedValue.year,a=!!t&&_(t).isSameOrAfter(new Date(n,0,1));return{isNextDisabled:!!r&&_(r).isSameOrBefore(new Date(n,11,31)),isPrevDisabled:a}}return{isNextDisabled:!1,isPrevDisabled:!1}})(a,t,r),l={day:{previous:n.previousDateRange,next:n.nextDateRange},month:{previous:n.previousMonthRange,next:n.nextMonthRange},year:{previous:n.previousYearRange,next:n.nextYearRange}};return(0,C.jsxs)(hT,{className:"mb-6 mt-1 flex gap-8",children:[(0,C.jsx)(hC,{active:i,onToggle:()=>{"year"!==a.view&&a.setView("year"),"year"===a.view&&a.setView("day")},view:a.view,locale:e,disabled:!!(t&&r&&_(t).isSame(_(r),"month"))}),(0,C.jsxs)("div",{className:"flex items-center gap-6",children:[(0,C.jsx)("button",{onClick:a.goToPrev,disabled:s,"aria-label":l[a.view].previous,className:"h-full rounded-sm",type:"button",children:(0,C.jsx)(ec,{size:"lg",className:hw(s)})}),(0,C.jsx)("button",{onClick:a.goToNext,"aria-label":l[a.view].next,disabled:o,className:"h-full rounded-sm",type:"button",children:(0,C.jsx)(ed,{size:"lg",className:hw(o)})})]})]})},hS=({locale:e,minValidDate:t,maxValidDate:r})=>(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(hk,{locale:e,minValidDate:t,maxValidDate:r}),(0,C.jsx)(hm,{locale:e}),(0,C.jsx)(hb,{locale:e,minValidDate:t,maxValidDate:r}),(0,C.jsx)(hx,{locale:e,minValidDate:t,maxValidDate:r})]}),hI=({doneButtonText:e})=>{let{onClose:t}=(0,k.useContext)(i0);return(0,C.jsx)(eb,{onClick:t,children:e})},hP=({active:e,title:t,locale:r,onClose:n,doneButtonText:a,minValidDate:i,maxValidDate:o})=>{let s=d5[r],[l,c]=(0,k.useState)(0),u=(0,k.useRef)(null);return(0,k.useEffect)(()=>{e&&u.current&&requestAnimationFrame(()=>{u.current&&c(u.current.clientHeight)})},[e]),(0,C.jsx)(C.Fragment,{children:(0,C.jsxs)(sy,{active:e,onClose:n,accessibleCloseLabel:s.closeCalendar,testId:"DatePickerPanel",children:[(0,C.jsx)(sf,{children:t}),(0,C.jsx)(sd,{children:(0,C.jsx)(d4,{asChild:!0,children:(0,C.jsx)("div",{className:"flex flex-col gap-6",children:(0,C.jsx)("div",{ref:u,style:{minHeight:l?`${l}px`:"auto"},children:(0,C.jsx)(hS,{locale:r,minValidDate:i,maxValidDate:o})})})})}),(0,C.jsx)(sh,{children:(0,C.jsx)(hI,{doneButtonText:a})})]})})},h_=(0,k.forwardRef)((e,t)=>{let r=l4(dX().getPositionerProps(),e);return cf().unmounted?null:(0,C.jsx)(ct.div,{...r,ref:t})});h_.displayName="DatePickerPositioner";let hR=({children:e})=>{let{isWithinDialog:t}=i3();return t?e:(0,e2.createPortal)(e,document.body)},hA=({locale:e,minValidDate:t,maxValidDate:r})=>{let n=(0,k.useRef)(null),a=dX();return(({containerRef:e,active:t,view:r})=>{let n=(0,k.useCallback)(()=>Array.from(e.current?.querySelectorAll('a[href], area[href], input
1:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')??[]),[e]),a=e=>e[0],i=(0,k.useCallback)(()=>e.current?.querySelector(`[data-ds-datepicker-tableview="${r}"] [data-focus]`),[e,r]),o=(0,k.useCallback)(()=>{let e=i();return n().filter(t=>!t.closest("[data-ds-datepicker-tableview]")||t===e)},[n,i]),s=(0,k.useCallback)(e=>{let t=o();t.length<=1?e.preventDefault():document.activeElement===i()&&(e.preventDefault(),a(t).focus())},[o,i]),l=(0,k.useCallback)(e=>{let t=o();t.length<=1?e.preventDefault():document.activeElement===a(t)&&(e.preventDefault(),i()?.focus())},[o,i]);(0,k.useEffect)(()=>{if(!t)return;let e=e=>{"Tab"!==e.key||e.shiftKey||s(e),"Tab"===e.key&&e.shiftKey&&l(e)};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[t,o,s,l])})({containerRef:n,active:a.open,view:a.view}),(0,C.jsx)(hR,{children:(0,C.jsx)(h_,{ref:n,className:"!z-ds-panel max-w-[25rem]",style:{minWidth:"min-content"},children:(0,C.jsx)(d4,{"data-testid":"DatePickerCalendar",className:"min-w-[25rem] rounded-ds bg-white p-6 shadow-ds-strong",children:(0,C.jsx)(hS,{locale:e,minValidDate:t,maxValidDate:r})})})})},hN=s3(!0),hD=(0,k.forwardRef)(({className:e="",style:t,testId:r="DatePicker",width:n="full",id:a,name:i,defaultValue:o,onValueChange:s=()=>void 0,onInput:l,disabled:c=!1,status:u="none",doneButtonText:d="Done",panelTitle:h="Choose your date",minValidDate:p,maxValidDate:f,preventPopoverFlip:m=!1,...g},v)=>{let y=er(),b=d5[y],[x,T]=(0,k.useState)(!1),[E,S]=(0,k.useState)(!1),{isSmaller:I}=el(),[P,_]=(0,k.useState)(o),R=I("md"),A=w(oQ[n],e),N=e=>{e!==P&&(s(e),_(e))};return(0,C.jsxs)(dJ,{fixedWeeks:!0,className:A,style:t,closeOnSelect:!R,"data-testid":r,defaultValue:o?[dz(o)]:void 0,locale:y,min:p?dz(p):void 0,max:f?dz(f):void 0,parse:(e,t)=>{let r;try{r=M(t.locale,{allowPartial:!0})(e)}catch(e){return}return dz(r)},onOpenChange:R?void 0:({open:e})=>S(e),onValueChange:e=>{N(e.value.length>0?e.value[0].toString():"")},positioning:{placement:"bottom-start",strategy:"fixed",flip:!m},unmountOnExit:!0,open:!!R||void 0,children:[(0,C.jsx)(d1,{className:"relative",children:(0,C.jsxs)("div",{className:w("ds-body-text--compact group flex h-[52px] w-full items-center rounded-ds","has-[:focus]:shadow-ds-focus","bg-[color:var(--generic-fill-colors-fill-default)] has-[input:disabled]:bg-[color:var(--actions-fill-colors-action-fill-disabled)]",hN[u]),children:[(0,C.jsx)(d0,{disabled:c,className:w("min-w-0 flex-1 appearance-none truncate py-4 ps-4","bg-transparent","ds-text-prevent-autozoom","placeholder:text-[color:var(--form-field-field-text-fill-placeholder)]","disabled:text-[color:var(--actions-text-colors-action-text-fill-disabled)]","focus-visible:shadow-none","rounded-l-[calc(8px_-_var(--actions-strokes-action-stroke-width))]","ml-[var(--actions-strokes-validation-state-stroke)]",{"h-[calc(52px-(var(--actions-strokes-action-stroke-width)*2))]":"none"===u,"h-[calc(52px-(var(--actions-strokes-validation-state-stroke)*2))]":"none"!==u}),id:a,name:i,"aria-invalid":"invalid"===u?"true":"false",autoComplete:"on",ref:v,onInput:e=>{l?.(e);try{N(M(y)(e.currentTarget.value))}catch(e){}},...g}),"none"!==u&&(0,C.jsx)("div",{className:"ml-3 flex items-center",children:(0,C.jsx)(s9,{status:u,disabled:c})}),(0,C.jsx)(d2,{className:"rounded-ds my-2 ml-1 mr-2 p-2",disabled:c,onClick:R?()=>T(!0):void 0,"aria-label":x||E?b.closeCalendar:b.openCalendar,...!(x||E)?{"aria-controls":null}:{},children:(0,C.jsx)(d3,{className:w({"text-[color:var(--actions-fill-colors-action-icon-fill-default)] group-hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]":!c,"text-[color:var(--actions-text-colors-action-text-fill-disabled)]":c})})})]})}),R?(0,C.jsx)(hP,{active:x,title:h,locale:y,onClose:()=>T(!1),doneButtonText:d,minValidDate:p,maxValidDate:f}):(0,C.jsx)(hA,{locale:y,minValidDate:p,maxValidDate:f})]})}),hO=({className:e,style:t,testId:r="InputValidationMessage",messageSets:n=[],hideIcon:a=!1})=>{let i=w("ds-body-text--compact",e,"space-y-2"),o=w("flex items-center gap-[var(--spacing-levels-group-level---s)]"),s=w("shrink-0","text-[color:var(--generic-fill-colors-icon-color-negative)]"),l=w("text-[color:var(--generic-text-color-text-color-negative-text)]");return(0,C.jsx)("div",{"data-testid":r,className:i,style:t,"aria-live":"assertive",children:n.map(({id:e,messages:t=[]},r)=>(0,C.jsx)(k.Fragment,{children:0===t.length?(0,C.jsx)("div",{id:e}):(0,C.jsx)("ul",{id:e,className:"space-y-[var(--spacing-levels-group-level---xs)]",children:t?.map(({description:e,status:t},n)=>{let i=0===r&&0===n;return(0,C.jsxs)("li",{className:o,children:["invalid"===t&&!a&&i&&(0,C.jsx)(s6,{size:"sm",className:s}),(0,C.jsx)("span",{className:w({"text-[color:var(--generic-text-color-text-color-positive)]":"valid"===t},{[l]:"invalid"===t},{"ml-6":!i&&!a&&"invalid"===t}),children:e})]},n)})})},e))})},hj=({input:e,label:t,orientation:r="vertical",width:n="full",validationMessages:a,validationMessageId:i,errors:o,errorMessageId:s,testId:l="InputField",className:c,style:u})=>{let d=(0,k.useId)(),h=(0,k.useId)(),p=e.props.width||"full",f=t.props.width||"full",m=w({[oQ[n]]:"vertical"===r},c),g=w({"flex gap-4":"horizontal"===r}),v=e.type===o4||e.type===oZ,y=w({"mb-2":"vertical"===r,"leading-[52px]":"horizontal"===r&&v,"self-center":"horizontal"===r&&!v,"shrink-0":"horizontal"===r&&"full"!==f}),b=w({"shrink-0":"horizontal"===r&&"full"!==p}),x=(i||s)??d,T=a||o?.map(({description:e})=>({description:e,status:"invalid"})),E={width:"horizontal"===r?f:void 0,className:w(t.props.className,y),id:e.type===hD?h:t.props.id,htmlFor:e.props.id},S={width:"horizontal"===r?p:void 0,className:w(e.props.className,b),"aria-describedby":T?.length||i||s?x:void 0,status:(e=>{if(e&&0!==e.length)return e.some(({status:e})=>
1"invalid"===e)?"invalid":"valid"})(T)||e.props.status,"aria-labelledby":e.type===hD?h:void 0};return(0,C.jsxs)("div",{className:m,style:u,"data-testid":l,children:[(0,C.jsxs)("div",{className:g,children:[(0,k.cloneElement)(t,E),(0,k.cloneElement)(e,S)]}),T&&(0,C.jsx)(hO,{messageSets:[{messages:T,id:x}],className:w({"mt-[var(--spacing-levels-group-level---m)]":T.length>0})})]})},hL=({testId:e="HelpCircleIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M9.09 9C9.3251 8.33167 9.78915 7.76811 10.4 7.40913C11.0108 7.05016 11.7289 6.91894 12.4272 7.03871C13.1255 7.15849 13.7588 7.52152 14.2151 8.06353C14.6713 8.60553 14.9211 9.29152 14.92 10C14.92 12 11.92 13 11.92 13M12 17H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),hM=({className:e,testId:t="InputLabelInfo",dialogConfig:r,label:n,icon:a,children:i,analytics:o,...s})=>{let[l,c]=(0,k.useState)(!1),{isSmaller:u}=el(),d=u("md"),h=P("input-label-info",void 0,o),p=w("ds-body-text--compact",{"ds-link":!a,"-m-0.5 p-0.5":a},e),f=a?(0,C.jsx)(hL,{alt:n,className:"text-[color:var(--actions-fill-colors-action-icon-fill-default)]"}):n,m=(0,C.jsx)("button",{...s,...h,type:"button",onClick:e=>{s.onClick?.(e),c(e=>!e)},"data-testid":t,className:p,children:f}),g=()=>{c(!1)};return d?(0,C.jsxs)(C.Fragment,{children:[m,(0,C.jsxs)(sy,{dockTo:"bottom",active:l,onClose:g,children:[(0,C.jsx)(sf,{children:r.title}),(0,C.jsx)(sd,{children:i})]})]}):(0,C.jsxs)(sX,{triggerElement:m,onClose:g,placement:{align:r?.alignment?.align??"center",side:r?.alignment?.side??"top"},width:r?.width,children:[(0,C.jsx)(s$,{children:r.title}),(0,C.jsx)(sB,{children:i})]})},hH=({children:e,className:t,testId:r="InputLabelSecondary"})=>{let n=w("text-[color:var(--label-colors-label-light-gray-content)]",sa.bodyCompact,t);return(0,C.jsx)("span",{className:n,"data-testid":r,children:e})},hF=({className:e,children:t})=>(0,C.jsx)("span",{className:e,children:t}),hq=({className:e,style:t,testId:r="InputLabel",width:n="full",htmlFor:a,secondaryLabel:i,children:o,id:s,mandatory:l=!1})=>{let c=eS(o,hF),u=eS(o,hM),d=eS(o,hH),h=c||u||d,p=w("flex items-start gap-2",oQ[n],e);return(0,C.jsxs)("span",{className:p,style:t,"data-testid":r,children:[(0,C.jsx)("label",{className:sa.labelCompact,htmlFor:a,id:s,children:h?(0,C.jsxs)(C.Fragment,{children:[c,l&&(0,C.jsx)("span",{"aria-hidden":!0,className:"ml-1 text-[color:var(--form-field-field-label-mandatory-text-color)]",children:"*"})]}):(0,C.jsxs)(C.Fragment,{children:[o,i&&(0,C.jsx)(hH,{children:i})]})}),u,d]})},hB=({testId:e="EyeIcon",...t})=>(0,C.jsxs)(Y,{...t,testId:e,children:[(0,C.jsx)("path",{d:"M2.42012 12.7132C2.28394 12.4975 2.21584 12.3897 2.17772 12.2234C2.14909 12.0985 2.14909 11.9015 2.17772 11.7766C2.21584 11.6103 2.28394 11.5025 2.42012 11.2868C3.54553 9.50484 6.8954 5 12.0004 5C17.1054 5 20.4553 9.50484 21.5807 11.2868C21.7169 11.5025 21.785 11.6103 21.8231 11.7766C21.8517 11.9015 21.8517 12.0985 21.8231 12.2234C21.785 12.3897 21.7169 12.4975 21.5807 12.7132C20.4553 14.4952 17.1054 19 12.0004 19C6.8954 19 3.54553 14.4952 2.42012 12.7132Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,C.jsx)("path",{d:"M12.0004 15C13.6573 15 15.0004 13.6569 15.0004 12C15.0004 10.3431 13.6573 9 12.0004 9C10.3435 9 9.0004 10.3431 9.0004 12C9.0004 13.6569 10.3435 15 12.0004 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]}),hU=({testId:e="EyeOffIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M10.7429 5.09232C11.1494 5.03223 11.5686 5 12.0004 5C17.1054 5 20.4553 9.50484 21.5807 11.2868C21.7169 11.5025 21.785 11.6103 21.8231 11.776
17C21.8518 11.9016 21.8517 12.0987 21.8231 12.2236C21.7849 12.3899 21.7164 12.4985 21.5792 12.7156C21.2793 13.1901 20.8222 13.8571 20.2165 14.5805M6.72432 6.71504C4.56225 8.1817 3.09445 10.2194 2.42111 11.2853C2.28428 11.5019 2.21587 11.6102 2.17774 11.7765C2.1491 11.9014 2.14909 12.0984 2.17771 12.2234C2.21583 12.3897 2.28393 12.4975 2.42013 12.7132C3.54554 14.4952 6.89541 19 12.0004 19C14.0588 19 15.8319 18.2676 17.2888 17.2766M3.00042 3L21.0004 21M9.8791 9.87868C9.3362 10.4216 9.00042 11.1716 9.00042 12C9.00042 13.6569 10.3436 15 12.0004 15C12.8288 15 13.5788 14.6642 14.1217 14.1213",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})});var hW={"en-GB":{show:"Show",hide:"Hide",passwordVisible:"Password is visible",passwordHidden:"Password is hidden"},"nl-NL":{show:"Toon",hide:"Verberg",passwordVisible:"Wachtwoord is zichtbaar",passwordHidden:"Wachtwoord is verborgen"},"de-DE":{show:"Anzeigen",hide:"Verbergen",passwordVisible:"Passwort ist sichtbar",passwordHidden:"Passwort ist versteckt"},"sv-SE":{show:"Visa",hide:"D\xf6lj",passwordVisible:"L\xf6senordet \xe4r synligt",passwordHidden:"L\xf6senordet \xe4r dolt"},"no-NO":{show:"Vis",hide:"Skjul",passwordVisible:"Passordet er synlig",passwordHidden:"Passordet er skjult"},"en-CA":{show:"Show",hide:"Hide",passwordVisible:"Password is visible",passwordHidden:"Password is hidden"},"fr-CA":{show:"Afficher",hide:"Masquer",passwordVisible:"Le mot de passe est visible",passwordHidden:"Le mot de passe est masqu\xe9"}};let hV=s3(!0);(0,k.forwardRef)(({id:e,name:t,className:r,style:n,testId:a="PasswordInput",status:i="none",width:o="full",disabled:s=!1,onValueChange:l=()=>void 0,onChange:c=()=>void 0,showPasswordToggle:u=!1,overridePasswordToggle:d=!1,autoComplete:h,...p},f)=>{let m=er(),[g,v]=(0,k.useState)(!1),y=hW[m],b="none"!==i,x=w("ds-body-text--compact group relative flex h-[52px] flex-row items-center gap-3 rounded-ds","has-[:focus]:shadow-ds-focus","bg-[color:var(--generic-fill-colors-fill-default)] has-[:disabled]:bg-[color:var(--actions-fill-colors-action-fill-disabled)]",oQ[o],hV[i],r),T=w("ds-body-text--compact ds-text-prevent-autozoom","w-full truncate bg-inherit py-4 pe-4 ps-4","focus-visible:shadow-none","appearance-none","placeholder:text-[color:var(--form-field-field-text-fill-placeholder)] disabled:text-[color:var(--actions-text-colors-action-text-fill-disabled)]","tracking-[.25em]","ml-[var(--actions-strokes-validation-state-stroke)]",{"mr-[var(--actions-strokes-validation-state-stroke)]":!b&&!u},"rounded-l-[calc(8px_-_var(--actions-strokes-action-stroke-width))]",{"rounded-r-[calc(8px_-_var(--actions-strokes-action-stroke-width))]":!u},{"h-[calc(52px-(var(--actions-strokes-action-stroke-width)*2))]":"none"===i,"h-[calc(52px-(var(--actions-strokes-validation-state-stroke)*2))]":"none"!==i}),E=g&&!d,S=E?y.hide:y.show,I=E?y.passwordVisible:y.passwordHidden,P=E?(0,C.jsx)(hU,{alt:S}):(0,C.jsx)(hB,{alt:S}),_=s||d;return(0,C.jsxs)("div",{className:x,style:n,"data-testid":a,children:[(0,C.jsx)("input",{ref:f,className:T,name:t||e,id:e,type:E?"text":"password",disabled:s,"aria-invalid":"invalid"===i,onChange:e=>{l(e.target.value),c(e)},autoComplete:E?"off":h,autoCapitalize:"none",spellCheck:"false",...p}),(u||b)&&(0,C.jsxs)("div",{className:"flex items-center gap-2 pr-4",children:[u&&(0,C.jsxs)("div",{className:"flex",children:[(0,C.jsx)("button",{className:w({"-mx-0.5 p-0.5 text-[color:var(--actions-fill-colors-action-icon-fill-default)]":!_,"-mx-0.5 p-0.5 text-[color:var(--actions-text-colors-action-text-fill-disabled)]":_}),disabled:_,"aria-controls":e,onClick:()=>{v(!g)},type:"button",children:P}),(0,C.jsx)("span",{className:"sr-only",role:"status","aria-live":"polite",children:I})]}),(0,C.jsx)(s9,{disabled:s,status:i})]})]})});var hG=Object.defineProperty,hz=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?hG(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},hY=()=>void 0,h$=e=>"object"==typeof e&&null!==e,hQ=e=>e?"":void 0,hK=e=>h$(e)&&1===e.nodeType&&"string"==typeof e.nodeName,hZ=e=>h$(e)&&9===e.nodeType,hX=e=>hK(e)?e.localName||"":"#document",hJ=e=>h$(e)&&void 0!==e.nodeType&&11===e.nodeType&&"host"in e;function h1(e){return!!e&&h4(e.getRootNode())===e}
1var h0=/(textarea|select)/;function h2(e,t){if(!e||!t||!hK(e)||!hK(t))return!1;let r=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(r&&hJ(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function h3(e){return hZ(e)?e:h$(e)&&e===e.window?e.document:e?.ownerDocument??document}function h5(e){return hJ(e)?h5(e.host):hZ(e)?e.defaultView??window:hK(e)?e.ownerDocument?.defaultView??window:window}function h4(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e&&e!==t)t=e;else break}return t}var h8=new WeakMap,h6=new Set(["menu","listbox","dialog","grid","tree","region"]),h9=e=>h6.has(e),h7=e=>e.getAttribute("aria-controls")?.split(" ")||[],pe=()=>"u">typeof document&&!!navigator.maxTouchPoints;function pt(e){let t=e.composedPath?.()??e.nativeEvent?.composedPath?.();return t?.[0]??e.target}var pr={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},pn={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function pa(e,t={}){let{dir:r="ltr",orientation:n="horizontal"}=t,a=e.key;return a=pr[a]??a,"rtl"===r&&"horizontal"===n&&a in pn&&(a=pn[a]),a}var pi=(e,t,r,n)=>{let a="function"==typeof e?e():e;return a?.addEventListener(t,r,n),()=>{a?.removeEventListener(t,r,n)}},po="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type";function ps(e){return!(!e||e.closest("[inert]"))&&e.matches(po)&&!!hK(e)&&(e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0)}function pl(e,t){if(!e)return[];let r=Array.from(e.querySelectorAll(po)),n=r.filter(pc);return(t&&pc(e)&&n.unshift(e),n.forEach((e,t)=>{let r;if(hK(r=e)&&"IFRAME"===r.tagName&&e.contentDocument){let r=pl(e.contentDocument.body);n.splice(t,1,...r)}}),!n.length&&t)?r:n}function pc(e){return null!=e&&!!(e.tabIndex>0)||ps(e)&&!(0>parseInt(e.getAttribute("tabindex")||"0",10))}var pu=class e{constructor(){hz(this,"id",null),hz(this,"fn_cleanup"),hz(this,"cleanup",()=>{this.cancel()})}static create(){return new e}request(e){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=e?.()})}cancel(){null!==this.id&&(globalThis.cancelAnimationFrame(this.id),this.id=null),this.fn_cleanup?.(),this.fn_cleanup=void 0}isActive(){return null!==this.id}};function pd(e){let t=pu.create();return t.request(e),t.cleanup}function ph(e){let t=function(e){if("html"===hX(e))return e;let t=e.assignedSlot||e.parentNode||hJ(e)&&e.host||h3(e).documentElement;return hJ(t)?t.host:t}(e);return["html","body","#document"].includes(hX(t))?h3(t).body:hK(t)&&pm(t)?t:ph(t)}var pp=/auto|scroll|overlay|hidden|clip/,pf=new Set(["inline","contents"]);function pm(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=h5(e).getComputedStyle(e);return pp.test(t+n+r)&&!pf.has(a)}var pg=Object.assign(function(e,t){let{state:r,activeId:n,key:a,timeout:i=350,itemToId:o}=t,s=r.keysSoFar+a,l=s.length>1&&Array.from(s).every(e=>e===s[0])?s[0]:s,c=function(e,t,r,n=e=>e.id){let a=r?function(e,t,r=e=>e.id){let n=function(e,t,r=e=>e.id){return e.find(e=>r(e)===t)}(e,t,r);return n?e.indexOf(n):-1}(e,r,n):-1,i=r?e.map((t,r)=>e[(Math.max(a,0)+r)%e.length]):e;return 1===t.length&&(i=i.filter(e=>n(e)!==r)),i.find(e=>{let r;return r=(e.dataset?.valuetext??e.textContent??"").split("").map(e=>{let t=e.charCodeAt(0);return t>0&&t<128?e:t>=128&&t<=255?`/x${t.toString(16)}`.replace("/","\\"):""}).join("").trim(),r.trim().toLowerCase().startsWith(t.toLowerCase())})}(e.slice(),l,n,o);function u(){clearTimeout(r.timer),r.timer=-1}return!function e(t){r.keysSoFar=t,u(),""!==t&&(r.timer=+setTimeout(()=>{e(""),u()},i))}(s),c},{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:function(e){return 1===e.key.length&&!e.ctrlKey&&!e.metaKey}}),pv={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}
1,py=((m=py||{}).NotStarted="Not Started",m.Started="Started",m.Stopped="Stopped",m),pb="__init__",px=(e,t)=>-1!==e.indexOf(t)?((e,...t)=>e.filter(e=>!t.includes(e)))(e,t):((e,...t)=>e.concat(t))(e,t),pT=e=>e?.constructor.name==="Array",pE=(e,t)=>{if(Object.is(e,t))return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if("function"==typeof e?.isEqual&&"function"==typeof t?.isEqual)return e.isEqual(t);if("function"==typeof e&&"function"==typeof t)return e.toString()===t.toString();if(pT(e)&&pT(t))return((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!pE(e[r],t[r]))return!1;return!0})(Array.from(e),Array.from(t));if("object"!=typeof e||"object"!=typeof t)return!1;let r=Object.keys(t??Object.create(null)),n=r.length;for(let t=0;t<n;t++)if(!Reflect.has(e,r[t]))return!1;for(let a=0;a<n;a++){let n=r[a];if(!pE(e[n],t[n]))return!1}return!0},pC=e=>null!=e&&"object"==typeof e,pw=e=>pC(e)&&!Array.isArray(e),pk=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),pS=Function.prototype.toString,pI=pS.call(Object),pP=()=>{},p_=(...e)=>(...t)=>{e.forEach(function(e){e?.(...t)})},{floor:pR,abs:pA,round:pN,min:pD,max:pO,pow:pj,sign:pL}=Math;function pM(e){if(!(e=>{if(!pC(e)||"[object Object]"!=Object.prototype.toString.call(e)||(e=>"object"==typeof e&&null!==e&&"$$typeof"in e&&"props"in e||"object"==typeof e&&null!==e&&"__v_isVNode"in e)(e))return!1;let t=Object.getPrototypeOf(e);if(null===t)return!0;let r=pk(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&pS.call(r)==pI})(e)||void 0===e)return e;let t=Reflect.ownKeys(e).filter(e=>"string"==typeof e),r={};for(let n of t){let t=e[n];void 0!==t&&(r[n]=pM(t))}return r}var pH=e=>function(t){let r={},n={},a=new Set(e);for(let e in t)a.has(e)?n[e]=t[e]:r[e]=t[e];return[n,r]};function pF(...e){1===e.length?e[0]:e[1],2!==e.length||e[0]}function pq(e,t){if(null==e)throw Error(t())}new WeakMap;var pB=()=>e=>Array.from(new Set(e)),pU=void 0!==globalThis.document?k.useLayoutEffect:k.useEffect;function pW(e){let t=e().value??e().defaultValue,r=e().isEqual??Object.is,[n]=(0,k.useState)(t),[a,i]=(0,k.useState)(n),o=void 0!==e().value,s=(0,k.useRef)(a);s.current=o?e().value:a;let l=(0,k.useRef)(s.current);return pU(()=>{l.current=s.current},[a,e().value]),{initial:n,ref:s,get:function(){return o?e().value:a},set(t){(e().sync?e2.flushSync:e=>e())(()=>{var n;let a,s;return n=t,a=l.current,s="function"==typeof n?n(a):n,void(e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:s,prev:a}),o||i(s),r(s,a)||e().onChange?.(s,a))})},invoke(t,r){e().onChange?.(t,r)},hash:t=>e().hash?.(t)??String(t)}}pW.cleanup=e=>{(0,k.useEffect)(()=>e,[])},pW.ref=e=>{let t=(0,k.useRef)(e);return{get:()=>t.current,set:e=>{t.current=e}}};var pV=(e,t)=>{let r=(0,k.useRef)(!1),n=(0,k.useRef)(!1);(0,k.useEffect)(()=>{if(r.current&&n.current)return t();n.current=!0},[...(e??[]).map(e=>"function"==typeof e?e():e)]),(0,k.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])};function pG(e){let t=(0,k.useRef)(e);return t.current=e,t}function pz(e){queueMicrotask(()=>{(0,e2.flushSync)(()=>e())})}var pY=(g=e=>e,new Proxy({},{get:(e,t)=>"style"===t?e=>g({style:e}).style:g})),p$=e=>{let{children:t,container:r,disabled:n,getRootNode:a}=e;if("u"<typeof window||n)return(0,C.jsx)(k.Fragment,{children:t});let i=a?.().ownerDocument??document,o=r?.current??i.body;return(0,C.jsx)(k.Fragment,{children:k.Children.map(t,e=>(0,e2.createPortal)(e,o))})},pQ=(e,t=[])=>({parts:(...r)=>{if(pZ(t))return pQ(e,r);throw Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...r)=>pQ(e,[...t,...r]),omit:(...r)=>pQ(e,t.filter(e=>!r.includes(e))),rename:e=>pQ(e,t),keys:()=>t,build:()=>[...new Set(t)].reduce((t,r)=>Object.assign(t,{[r]:{selector:`&[data-scope="${pK(e)}"][data-part="${pK(r)}"], & [data-scope="${pK(e)}"][data-part="${pK(r)}"]`,attrs:{"data-scope":pK(e),"data-part":pK(r)}}}),{})}),pK=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),pZ=e=>0===e.length,pX=Object.defineProperty,pJ=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?pX(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},p1={itemToValue:e=>"string"==typeof e?e:pw(e)&&pk(e,"value")?e.value:"",itemToString:e=>"string"==typeof e?e:pw(e)&&pk(e,"label")?e.label:p1.itemToValue(e),isItemDisabled:e=>!!(pw(e)&&pk(e,"disabled"))&&!!e.disabled},p0=class e{constructor(t){this.options=t,pJ(this,"items"),pJ(this,"indexMap",null),pJ(this,"copy",t=>
1new e({...this.options,items:t??[...this.items]})),pJ(this,"isEqual",e=>pE(this.items,e.items)),pJ(this,"setItems",e=>this.copy(e)),pJ(this,"getValues",(e=this.items)=>{let t=[];for(let r of e){let e=this.getItemValue(r);null!=e&&t.push(e)}return t}),pJ(this,"find",e=>{if(null==e)return null;let t=this.indexOf(e);return -1!==t?this.at(t):null}),pJ(this,"findMany",e=>{let t=[];for(let r of e){let e=this.find(r);null!=e&&t.push(e)}return t}),pJ(this,"at",e=>{if(!this.options.groupBy&&!this.options.groupSort)return this.items[e]??null;let t=0;for(let[,r]of this.group())for(let n of r){if(t===e)return n;t++}return null}),pJ(this,"sortFn",(e,t)=>(this.indexOf(e)??0)-(this.indexOf(t)??0)),pJ(this,"sort",e=>[...e].sort(this.sortFn.bind(this))),pJ(this,"getItemValue",e=>null==e?null:this.options.itemToValue?.(e)??p1.itemToValue(e)),pJ(this,"getItemDisabled",e=>null!=e&&(this.options.isItemDisabled?.(e)??p1.isItemDisabled(e))),pJ(this,"stringifyItem",e=>null==e?null:this.options.itemToString?.(e)??p1.itemToString(e)),pJ(this,"stringify",e=>null==e?null:this.stringifyItem(this.find(e))),pJ(this,"stringifyItems",(e,t=", ")=>{let r=[];for(let t of e){let e=this.stringifyItem(t);null!=e&&r.push(e)}return r.join(t)}),pJ(this,"stringifyMany",(e,t)=>this.stringifyItems(this.findMany(e),t)),pJ(this,"has",e=>-1!==this.indexOf(e)),pJ(this,"hasItem",e=>null!=e&&this.has(this.getItemValue(e))),pJ(this,"group",()=>{let{groupBy:e,groupSort:t}=this.options;if(!e)return[["",[...this.items]]];let r=new Map;this.items.forEach((t,n)=>{let a=e(t,n);r.has(a)||r.set(a,[]),r.get(a).push(t)});let n=Array.from(r.entries());return t&&n.sort(([e],[r])=>{if("function"==typeof t)return t(e,r);if(Array.isArray(t)){let n=t.indexOf(e),a=t.indexOf(r);return -1===n?1:-1===a?-1:n-a}return"asc"===t?e.localeCompare(r):"desc"===t?r.localeCompare(e):0}),n}),pJ(this,"getNextValue",(e,t=1,r=!1)=>{let n=this.indexOf(e);if(-1===n)return null;for(n=r?Math.min(n+t,this.size-1):n+t;n<=this.size&&this.getItemDisabled(this.at(n));)n++;return this.getItemValue(this.at(n))}),pJ(this,"getPreviousValue",(e,t=1,r=!1)=>{let n=this.indexOf(e);if(-1===n)return null;for(n=r?Math.max(n-t,0):n-t;n>=0&&this.getItemDisabled(this.at(n));)n--;return this.getItemValue(this.at(n))}),pJ(this,"indexOf",e=>{if(null==e)return -1;if(!this.options.groupBy&&!this.options.groupSort)return this.items.findIndex(t=>this.getItemValue(t)===e);if(!this.indexMap){this.indexMap=new Map;let e=0;for(let[,t]of this.group())for(let r of t){let t=this.getItemValue(r);null!=t&&this.indexMap.set(t,e),e++}}return this.indexMap.get(e)??-1}),pJ(this,"getByText",(e,t)=>{let r=null!=t?this.indexOf(t):-1,n=1===e.length;for(let a=0;a<this.items.length;a++){let i=this.items[(r+a+1)%this.items.length];if((!n||this.getItemValue(i)!==t)&&!this.getItemDisabled(i)&&p2(this.stringifyItem(i),e))return i}}),pJ(this,"search",(e,t)=>{let{state:r,currentValue:n,timeout:a=350}=t,i=r.keysSoFar+e,o=i.length>1&&Array.from(i).every(e=>e===i[0])?i[0]:i,s=this.getByText(o,n),l=this.getItemValue(s);function c(){clearTimeout(r.timer),r.timer=-1}return!function e(t){r.keysSoFar=t,c(),""!==t&&(r.timer=+setTimeout(()=>{e(""),c()},a))}(i),l}),pJ(this,"update",(e,t)=>{let r=this.indexOf(e);return -1===r?this:this.copy([...this.items.slice(0,r),t,...this.items.slice(r+1)])}),pJ(this,"upsert",(e,t,r="append")=>{let n=this.indexOf(e);return -1===n?("append"===r?this.append:this.prepend)(t):this.copy([...this.items.slice(0,n),t,...this.items.slice(n+1)])}),pJ(this,"insert",(e,...t)=>this.copy(p3(this.items,e,...t))),pJ(this,"insertBefore",(e,...t)=>{let r=this.indexOf(e);if(-1===r)if(0!==this.items.length)return this;else r=0;return this.copy(p3(this.items,r,...t))}),pJ(this,"insertAfter",(e,...t)=>{let r=this.indexOf(e);if(-1===r)if(0!==this.items.length)return this;else r=0;return this.copy(p3(this.items,r+1,...t))}),pJ(this,"prepend",(...e)=>this.copy(p3(this.items,0,...e))),pJ(this,"append",(...e)=>this.copy(p3(this.items,this.items.length,...e))),pJ(this,"filter",e=>{let t=this.items.filter((t,r)=>e(this.stringifyItem(t),r,t));return this.copy(t)}),pJ(this,"remove",(...e)=>{let t=e.map(e=>
1"string"==typeof e?e:this.getItemValue(e));return this.copy(this.items.filter(e=>{let r=this.getItemValue(e);return null!=r&&!t.includes(r)}))}),pJ(this,"move",(e,t)=>{let r=this.indexOf(e);return -1===r?this:this.copy(p5(this.items,[r],t))}),pJ(this,"moveBefore",(e,...t)=>{let r=this.items.findIndex(t=>this.getItemValue(t)===e);if(-1===r)return this;let n=t.map(e=>this.items.findIndex(t=>this.getItemValue(t)===e)).sort((e,t)=>e-t);return this.copy(p5(this.items,n,r))}),pJ(this,"moveAfter",(e,...t)=>{let r=this.items.findIndex(t=>this.getItemValue(t)===e);if(-1===r)return this;let n=t.map(e=>this.items.findIndex(t=>this.getItemValue(t)===e)).sort((e,t)=>e-t);return this.copy(p5(this.items,n,r+1))}),pJ(this,"reorder",(e,t)=>this.copy(p5(this.items,[e],t))),pJ(this,"compareValue",(e,t)=>{let r=this.indexOf(e),n=this.indexOf(t);return r<n?-1:+(r>n)}),pJ(this,"range",(e,t)=>{let r=[],n=e;for(;null!=n;){if(this.find(n)&&r.push(n),n===t)return r;n=this.getNextValue(n)}return[]}),pJ(this,"getValueRange",(e,t)=>e&&t?0>=this.compareValue(e,t)?this.range(e,t):this.range(t,e):[]),pJ(this,"toString",()=>{let e="";for(let t of this.items)e+=[this.getItemValue(t),this.stringifyItem(t),this.getItemDisabled(t)].filter(Boolean).join(":")+",";return e}),pJ(this,"toJSON",()=>({size:this.size,first:this.firstValue,last:this.lastValue})),this.items=[...t.items]}get size(){return this.items.length}get firstValue(){let e=0;for(;this.getItemDisabled(this.at(e));)e++;return this.getItemValue(this.at(e))}get lastValue(){let e=this.size-1;for(;this.getItemDisabled(this.at(e));)e--;return this.getItemValue(this.at(e))}*[Symbol.iterator](){yield*this.items}},p2=(e,t)=>!!e?.toLowerCase().startsWith(t.toLowerCase());function p3(e,t,...r){return[...e.slice(0,t),...r,...e.slice(t)]}function p5(e,t,r){let n=(t=[...t].sort((e,t)=>e-t)).map(t=>e[t]);for(let r=t.length-1;r>=0;r--)e=[...e.slice(0,t[r]),...e.slice(t[r]+1)];return r=Math.max(0,r-t.filter(e=>e<r).length),[...e.slice(0,r),...n,...e.slice(r)]}function p4(e){let t=r$(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=rL(e),i=a?e.offsetWidth:r,o=a?e.offsetHeight:n,s=t9(r)!==i||t9(n)!==o;return s&&(r=i,n=o),{width:r,height:n,$:s}}function p8(e){return rj(e)?e:e.contextElement}function p6(e){let t=p8(e);if(!rL(t))return re(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=p4(t),o=(i?t9(r.width):r.width)/n,s=(i?t9(r.height):r.height)/a;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}let p9=re(0);function p7(e){let t=rN(e);return rz()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:p9}function fe(e,t,r,n){var a;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),o=p8(e),s=re(1);t&&(n?rj(n)&&(s=p6(n)):s=p6(e));let l=(void 0===(a=r)&&(a=!1),n&&(!a||n===rN(o))&&a)?p7(o):re(0),c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,d=i.width/s.x,h=i.height/s.y;if(o){let e=rN(o),t=n&&rj(n)?rN(n):n,r=e,a=rX(r);for(;a&&n&&t!==r;){let e=p6(a),t=a.getBoundingClientRect(),n=r$(a),i=t.left+(a.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(a.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,h*=e.y,c+=i,u+=o,a=rX(r=rN(a))}}return rm({width:d,height:h,x:c,y:u})}function ft(e,t){let r=rQ(e).scrollLeft;return t?t.left+r:fe(rD(e)).left+r}function fr(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ft(e,r),y:r.top+t.scrollTop}}let fn=new Set(["absolute","fixed"]);function fa(e,t,r){var n;let a;if("viewport"===t)a=function(e,t){let r=rN(e),n=rD(e),a=r.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,l=0;if(a){i=a.width,o=a.height;let e=rz();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}let c=ft(n);if(c<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,o=Math.abs(n.clientWidth-t.clientWidth-a);o<=25&&(i-=o)}else c<=25&&(i+=c);return{width:i,height:o,x:s,y:l}}(e,r);else if("document"===t){let t,r,i,o,s,l,c;n=rD(e),t=rD(n),r=rQ(n),i=n.ownerDocument.body,o=t6(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=t6(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+ft(n),c=-r.
1scrollTop,"rtl"===r$(i).direction&&(l+=t6(t.clientWidth,i.clientWidth)-o),a={width:o,height:s,x:l,y:c}}else if(rj(t)){let e,n,i,o,s,l;n=(e=fe(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,o=rL(t)?p6(t):re(1),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a={width:s,height:l,x:i*o.x,y:n*o.y}}else{let r=p7(e);a={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return rm(a)}function fi(e){return"static"===r$(e).position}function fo(e,t){if(!rL(e)||"fixed"===r$(e).position)return null;if(t)return t(e);let r=e.offsetParent;return rD(e)===r&&(r=r.ownerDocument.body),r}function fs(e,t){let r=rN(e);if(rq(e))return r;if(!rL(e)){let t=rK(e);for(;t&&!rY(t);){if(rj(t)&&!fi(t))return t;t=rK(t)}return r}let n=fo(e,t);for(;n&&rF(n)&&fi(n);)n=fo(n,t);return n&&rY(n)&&fi(n)&&!rV(n)?r:n||rG(e)||r}let fl=async function(e){let t=this.getOffsetParent||fs,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=rL(t),a=rD(t),i="fixed"===r,o=fe(e,!0,i,t),s={scrollLeft:0,scrollTop:0},l=re(0);if(n||!n&&!i)if(("body"!==rA(t)||rH(a))&&(s=rQ(t)),n){let e=fe(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&(l.x=ft(a));i&&!n&&a&&(l.x=ft(a));let c=!a||n||i?re(0):fr(a,s);return{x:o.left+s.scrollLeft-l.x-c.x,y:o.top+s.scrollTop-l.y-c.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},fc={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i="fixed"===a,o=rD(n),s=!!t&&rq(t.floating);if(n===o||s&&i)return r;let l={scrollLeft:0,scrollTop:0},c=re(1),u=re(0),d=rL(n);if((d||!d&&!i)&&(("body"!==rA(n)||rH(o))&&(l=rQ(n)),rL(n))){let e=fe(n);c=p6(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}let h=!o||d||i?re(0):fr(o,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:r.y*c.y-l.scrollTop*c.y+u.y+h.y}},getDocumentElement:rD,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,i=[..."clippingAncestors"===r?rq(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=rZ(e,[],!1).filter(e=>rj(e)&&"body"!==rA(e)),a=null,i="fixed"===r$(e).position,o=i?rK(e):e;for(;rj(o)&&!rY(o);){let t=r$(o),r=rV(o);r||"fixed"!==t.position||(a=null),(i?!r&&!a:!r&&"static"===t.position&&!!a&&fn.has(a.position)||rH(o)&&!r&&function e(t,r){let n=rK(t);return!(n===r||!rj(n)||rY(n))&&("fixed"===r$(n).position||e(n,r))}(e,o))?n=n.filter(e=>e!==o):a=t,o=rK(o)}return t.set(e,n),n}(t,this._c):[].concat(r),n],o=i[0],s=i.reduce((e,r)=>{let n=fa(t,r,a);return e.top=t6(n.top,e.top),e.right=t8(n.right,e.right),e.bottom=t8(n.bottom,e.bottom),e.left=t6(n.left,e.left),e},fa(t,o,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:fs,getElementRects:fl,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=p4(e);return{width:t,height:r}},getScale:p6,isElement:rj,isRTL:function(e){return"rtl"===r$(e).direction}};function fu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fd(e=0,t=0,r=0,n=0){if("function"==typeof DOMRect)return new DOMRect(e,t,r,n);let a={x:e,y:t,width:r,height:n,top:t,right:e+r,bottom:t+n,left:e};return{...a,toJSON:()=>a}}var fh=e=>({variable:e,reference:`var(${e})`}),fp={arrowSize:fh("--arrow-size"),arrowSizeHalf:fh("--arrow-size-half"),arrowBg:fh("--arrow-background"),transformOrigin:fh("--transform-origin"),arrowOffset:fh("--arrow-offset")},ff={name:"rects",fn:({rects:e})=>({data:e})},fm={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function fg(e,t){let r=e.devicePixelRatio||1;return Math.round(t*r)/r}function fv(e){return"function"==typeof e?e():"clipping-ancestors"===e?"clippingAncestors":e}function fy(e,t,r={}){let{defer:n,...a}=r,i=[];return i.push((n?pd:e=>e())(()=>{let r="function"==typeof e?e():e,n="function"==typeof t?t():t;i.push(function(e,t,r={}){var n,a,i,o;let s=(n=r.getAnchorRect,{contextElement:hK(e)?e:void 0,getBoundingClientRect:()=>{let t=n?.(e);return t||!e?function(e){if(!e)return fd();let{x:t,y:r,width:n,height:a}=e;return fd(t,r,n,a)}(t):e.getBoundingClientRect()}});if(!t||!s)return;let l=Object.assign({},fm,r),c=t.querySelector("[data-part=arrow]"),u=[function(e,t){if(null!=(t.offset??t.gutter))return rS(({placement:r})=>{let n=(e?.clientHeight||0)/2,a=t.offset?.mainAxis??t.gutter,{hasAlign:i}=function(e){let[t,r]=e.split("-");return{side:t,align:r,hasAlign:null!=r}}(r),o=i?void 0:t.shift;return pM({crossAxis:t.offset?.crossAxis??o,mainAxis:"number"==typeof a?a+n:a??n,alignmentAxis:t.shift})})}(c,l),function(e){if(!e.flip)return;let t=fv(e.boundary);return rx({...t?{boundary:t}:void 0,padding:e.overflowPadding,fallbackPlacements:!0===e.flip?void 0:e.flip})}(l),function(e){if(!e.slide&&!e.overlap)return;let t=fv(e.boundary);return rI({...t?{boundary:t}:void 0,mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:rP()})}(l),(a=t.ownerDocument,rb({element:c||a.createElement("div"),padding:l.arrowPadding})),(e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:r}){if(!r.arrow)return{};let{x:n,y:a}=r.arrow,i=t.split("-")[0];return Object.assign(e.style,{left:null!=n?`${n}px`:"",top:null!=a?`${a}px`:"",[i]:`calc(100% + ${fp.arrowOffset.reference})`}),{}}}})(c),(i={gutter:l.gutter,offset:l.offset,overlap:l.overlap},{name:"transformOrigin",fn(e){let{elements:t,middlewareData:r,placement:n,rects:a,y:o}=e,s=n.split("-")[0],l=r.arrow?.x||0,u=r.arrow?.y||0,d=c?.clientWidth||0,h=c?.clientHeight||0,p=l+d/2,f=u+h/2,m=Math.abs(r.shift?.y||0),g=a.reference.height/2,v=h/2,y=i.offset?.mainAxis??i.gutter,b="number"==typeof y?y+v:y??v,x=m>b,T={top:`${p}px calc(100% + ${b}px)`,bottom:`${p}px ${-b}px`,left:`calc(100% + ${b}px) ${f}px`,right:`${-b}px ${f}px`}[s],E=`${p}px ${a.reference.y+g-o}px`,C=!!i.overlap&&"y"==("top"===s||"bottom"===s?"y":"x")&&x;return t.floating.style.setProperty(fp.transformOrigin.variable,C?E:T),{data:{transformOrigin:C?E:T}}}}),r_({padding:l.overflowPadding,apply({elements:e,rects:t,availableHeight:r,availableWidth:n}){let a=e.floating,i=Math.round(t.reference.width),o=Math.round(t.reference.height);n=Math.floor(n),r=Math.floor(r),a.style.setProperty("--reference-width",`${i}px`),a.style.setProperty("--reference-height",`${o}px`),a.style.setProperty("--available-width",`${n}px`),a.style.setProperty("--available-height",`${r}px`)}}),function(e){if(e.hideWhenDetached)return rC({strategy:"referenceHidden",boundary:fv(e.boundary)??"clippingAncestors"})}(l),ff],{placement:d,strategy:h,onComplete:p,onPositioned:f}=l,m=async()=>{var e;let r,n,a;if(!s||!t)return;let i=await (e={placement:d,middleware:u,strategy:h},r=new Map,a={...(n={platform:fc,...e}).platform,_c:r},ry(s,t,{...n,platform:a}));p?.(i),f?.({placed:!0});
1let o=h5(t),c=fg(o,i.x),m=fg(o,i.y);t.style.setProperty("--x",`${c}px`),t.style.setProperty("--y",`${m}px`),l.hideWhenDetached&&(i.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events")));let g=t.firstElementChild;if(g){let e=(h8.has(g)||h8.set(g,h5(g).getComputedStyle(g)),h8.get(g));t.style.setProperty("--z-index",e.zIndex)}},g=async()=>{r.updatePosition?(await r.updatePosition({updatePosition:m,floatingElement:t}),f?.({placed:!0})):await m()},v=(o=l.listeners)?!0===o?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:o:{},y=l.listeners?function(e,t,r,n){let a;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,u=p8(e),d=i||o?[...u?rZ(u):[],...rZ(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),o&&e.addEventListener("resize",r)});let h=u&&l?function(e,t){let r,n=null,a=rD(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function o(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();let c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:p}=c;if(s||t(),!h||!p)return;let f={rootMargin:-t7(d)+"px "+-t7(a.clientWidth-(u+h))+"px "+-t7(a.clientHeight-(d+p))+"px "+-t7(u)+"px",threshold:t6(0,t8(1,l))||1},m=!0;function g(t){let n=t[0].intersectionRatio;if(n!==l){if(!m)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}1!==n||fu(c,e.getBoundingClientRect())||o(),m=!1}try{n=new IntersectionObserver(g,{...f,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(g,f)}n.observe(e)}(!0),i}(u,r):null,p=-1,f=null;s&&(f=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),r()}),u&&!c&&f.observe(u),f.observe(t));let m=c?fe(e):null;return c&&function t(){let n=fe(e);m&&!fu(m,n)&&r(),m=n,a=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(a)}}(s,t,g,v):pP;return g(),()=>{y?.(),f?.({placed:!1})}}(r,n,a))})),()=>{i.forEach(e=>e?.())}}var fb={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"},fx="pointerdown.outside",fT="focus.outside";function fE(e,t){if(!t||!("clientY"in e))return!1;let r=t.scrollHeight>t.clientHeight,n=r&&e.clientX>t.offsetLeft+t.clientWidth,a=t.scrollWidth>t.clientWidth,i=a&&e.clientY>t.offsetTop+t.clientHeight,o={x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+16*!!r,height:t.clientHeight+16*!!a},s={x:e.clientX,y:e.clientY};return o.y<=s.y&&s.y<=o.y+o.height&&o.x<=s.x&&s.x<=o.x+o.width&&(n||i)}function fC(e,t,r){let n=new(e.ownerDocument.defaultView||window).CustomEvent(t,r);return e.dispatchEvent(n)}var fw="layer:request-dismiss",fk={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){return this.indexOf(e)<(this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1)},isTopMost(e){let t=this.layers[this.count()-1];return t?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},getLayersByType(e){return this.layers.filter(t=>t.type===e)},getNestedLayersByType(e,t){let r=this.indexOf(e);return -1===r?[]:this.layers.slice(r+1).filter(e=>e.type===t)},getParentLayerOfType(e,t){let r=this.indexOf(e);if(!(r<=0))return this.layers.slice(0,r).reverse().find(e=>e.type===t)},countNestedLayersOfType(e,t){return this.getNestedLayersByType(e,t).length},isInNestedLayer(e,t){return this.getNestedLayers(e).some(e=>h2(e.node,t))},isInBranch(e){return Array.from(this.branches).some(t=>h2(t,e))},add(e){this.layers.push(e),this.syncLayers()},addBranch(e){this.branches.push(e)},remove(e){let t=this.indexOf(e);t<0||(t<this.count()-1&&this.getNestedLayers(e).forEach(t=>fk.dismiss(t.node,e)),this.layers.splice(t,1),this.syncLayers())},removeBranch(e){let t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)}
1,syncLayers(){this.layers.forEach((e,t)=>{e.node.style.setProperty("--layer-index",`${t}`),e.node.removeAttribute("data-nested"),e.node.removeAttribute("data-has-nested"),this.getParentLayerOfType(e.node,e.type)&&e.node.setAttribute("data-nested",e.type);let r=this.countNestedLayersOfType(e.node,e.type);r>0&&e.node.setAttribute("data-has-nested",e.type),e.node.style.setProperty("--nested-layer-count",`${r}`)})},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e,t){var r,n,a,i,o,s;let l,c=this.indexOf(e);if(-1===c)return;let u=this.layers[c];r=e,n=fw,a=e=>{u.requestDismiss?.(e),e.defaultPrevented||u?.dismiss()},r.addEventListener(n,a,{once:!0}),i=e,o=fw,s={originalLayer:e,targetLayer:t,originalIndex:c,targetIndex:t?this.indexOf(t):-1},l=new(i.ownerDocument.defaultView||window).CustomEvent(o,{cancelable:!0,bubbles:!0,detail:s}),i.dispatchEvent(l),this.syncLayers()},clear(){this.remove(this.layers[0].node)}};function fS(){fk.layers.forEach(({node:e})=>{e.style.pointerEvents=fk.isBelowPointerBlockingLayer(e)?"none":"auto"})}var fI=pQ("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText").build(),fP=e=>new p0(e);fP.empty=()=>new p0({items:[]});var f_=e=>e.ids?.content??`select:${e.id}:content`,fR=e=>e.ids?.trigger??`select:${e.id}:trigger`,fA=e=>e.ids?.clearTrigger??`select:${e.id}:clear-trigger`,fN=e=>e.ids?.label??`select:${e.id}:label`,fD=(e,t)=>e.ids?.item?.(t)??`select:${e.id}:option:${t}`,fO=e=>e.ids?.hiddenSelect??`select:${e.id}:select`,fj=e=>e.ids?.positioner??`select:${e.id}:positioner`,fL=(e,t)=>e.ids?.itemGroupLabel?.(t)??`select:${e.id}:optgroup-label:${t}`,fM=e=>e.getById(fO(e)),fH=e=>e.getById(f_(e)),fF=e=>e.getById(fR(e)),fq=e=>e.getById(fj(e)),fB=(e,t)=>null==t?null:e.getById(fD(e,t)),{and:fU,not:fW,or:fV}={and:(...e)=>function(t){return e.every(e=>t.guard(e))},or:(...e)=>function(t){return e.some(e=>t.guard(e))},not:e=>function(t){return!t.guard(e)}},fG={props:({props:e})=>({loopFocus:!1,closeOnSelect:!e.multiple,composite:!0,defaultValue:[],...e,collection:e.collection??fP.empty(),positioning:{placement:"bottom-start",gutter:8,...e.positioning}}),context:({prop:e,bindable:t})=>({value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:pE,onChange(t){let r=e("collection").findMany(t);return e("onValueChange")?.({value:t,items:r})}})),highlightedValue:t(()=>({defaultValue:e("defaultHighlightedValue")||null,value:e("highlightedValue"),onChange(t){e("onHighlightChange")?.({highlightedValue:t,highlightedItem:e("collection").find(t),highlightedIndex:e("collection").indexOf(t)})}})),currentPlacement:t(()=>({defaultValue:void 0})),fieldsetDisabled:t(()=>({defaultValue:!1})),highlightedItem:t(()=>({defaultValue:null})),selectedItems:t(()=>{let t=e("value")??e("defaultValue")??[];return{defaultValue:e("collection").findMany(t)}})}),refs:()=>({typeahead:{...pg.defaultOptions}}),computed:{hasSelectedItems:({context:e})=>e.get("value").length>0,isTypingAhead:({refs:e})=>""!==e.get("typeahead").keysSoFar,isDisabled:({prop:e,context:t})=>!!e("disabled")||!!t.get("fieldsetDisabled"),isInteractive:({prop:e})=>!(e("disabled")||e("readOnly")),valueAsString:({context:e,prop:t})=>t("collection").stringifyItems(e.get("selectedItems"))},initialState:({prop:e})=>e("open")||e("defaultOpen")?"open":"idle",entry:["syncSelectElement"],watch({context:e,prop:t,track:r,action:n}){r([()=>e.get("value").toString()],()=>{n(["syncSelectedItems","syncSelectElement","dispatchChangeEvent"])}),r([()=>t("open")],()=>{n(["toggleVisibility"])}),r([()=>e.get("highlightedValue")],()=>{n(["syncHighlightedItem"])}),r([()=>t("collection").toString()],()=>{n(["syncCollection"])})},on:{"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedItem"]},"HIGHLIGHTED_VALUE.CLEAR":{actions:["clearHighlightedItem"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setSelectedItems"]},"VALUE.CLEAR":{actions:["clearSelectedItems"]},"CLEAR.CLICK":{actions:["clearSelectedItems","focusTriggerEl"]}},effects:["trackFormControlState"],states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["setInitialFocus","highlightFirstSelectedItem"]},{target:"open",actions:["setInitialFocus"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus","highlightFirstSelectedItem"]}],"TRIGGER.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen"]}]}},focused:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["setInitialFocus","highlightFirstSelectedItem"]},{guard:"isTriggerArrowUpEvent",target:"open",actions:["setInitialFocus","highlightComputedLastItem"]},{guard:fV("isTriggerArrowDownEvent","isTriggerEnterEvent"),target:"open",actions:["setInitialFocus","highlightComputedFirstItem"]},{target:"open",actions:["setInitialFocus"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen"]}],"TRIGGER.BLUR":{target:"idle"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.ENTER":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_UP":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedLastItem"]}],"TRIGGER.ARROW_DOWN":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_LEFT":[{guard:fU(fW("multiple"),"hasSelectedItems"),actions:["selectPreviousItem"]},{guard:fW("multiple"),actions:["selectLastItem"]}],"TRIGGER.ARROW_RIGHT":[{guard:fU(fW("multiple"),"hasSelectedItems"),actions:["selectNextItem"]},{guard:fW("multiple"),actions:["selectFirstItem"]}],"TRIGGER.HOME":{guard:fW("multiple"),actions:["selectFirstItem"]},"TRIGGER.END":{guard:fW("multiple"),actions:["selectLastItem"]},"TRIGGER.TYPEAHEAD":{guard:fW("multiple"),actions:["selectMatchingItem"]}}}
1,open:{tags:["open"],exit:["scrollContentToTop"],effects:["trackDismissableElement","computePlacement","scrollToHighlightedItem"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["focusTriggerEl","clearHighlightedItem"]},{target:"idle",actions:["clearHighlightedItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{guard:"restoreFocus",target:"focused",actions:["invokeOnClose","focusTriggerEl","clearHighlightedItem"]},{target:"idle",actions:["invokeOnClose","clearHighlightedItem"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"ITEM.CLICK":[{guard:fU("closeOnSelect","isOpenControlled"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","focusTriggerEl","clearHighlightedItem"]},{actions:["selectHighlightedItem"]}],"CONTENT.HOME":{actions:["highlightFirstItem"]},"CONTENT.END":{actions:["highlightLastItem"]},"CONTENT.ARROW_DOWN":[{guard:fU("hasHighlightedItem","loop","isLastItemHighlighted"),actions:["highlightFirstItem"]},{guard:"hasHighlightedItem",actions:["highlightNextItem"]},{actions:["highlightFirstItem"]}],"CONTENT.ARROW_UP":[{guard:fU("hasHighlightedItem","loop","isFirstItemHighlighted"),actions:["highlightLastItem"]},{guard:"hasHighlightedItem",actions:["highlightPreviousItem"]},{actions:["highlightLastItem"]}],"CONTENT.TYPEAHEAD":{actions:["highlightMatchingItem"]},"ITEM.POINTER_MOVE":{actions:["highlightItem"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedItem"]},"POSITIONING.SET":{actions:["reposition"]}}}},implementations:{guards:{loop:({prop:e})=>!!e("loopFocus"),multiple:({prop:e})=>!!e("multiple"),hasSelectedItems:({computed:e})=>!!e("hasSelectedItems"),hasHighlightedItem:({context:e})=>null!=e.get("highlightedValue"),isFirstItemHighlighted:({context:e,prop:t})=>e.get("highlightedValue")===t("collection").firstValue,isLastItemHighlighted:({context:e,prop:t})=>e.get("highlightedValue")===t("collection").lastValue,closeOnSelect:({prop:e,event:t})=>!!(t.closeOnSelect??e("closeOnSelect")),restoreFocus:({event:e})=>fz(e),isOpenControlled:({prop:e})=>void 0!==e("open"),isTriggerClickEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.CLICK",isTriggerEnterEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ENTER",isTriggerArrowUpEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ARROW_UP",isTriggerArrowDownEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ARROW_DOWN"},effects:{trackFormControlState:({context:e,scope:t})=>(function(e,t){if(!e)return;let{onFieldsetDisabledChange:r,onFormReset:n}=t,a=[function(e,t){if(!e)return;let r=e.matches("textarea, input, select, button")?e.form:e.closest("form"),n=e=>{e.defaultPrevented||t()};return r?.addEventListener("reset",n,{passive:!0}),()=>r?.removeEventListener("reset",n)}(e,n),function(e,t){let r=e?.closest("fieldset");if(!r)return;t(r.disabled);let n=new(h5(r)).MutationObserver(()=>t(r.disabled));return n.observe(r,{attributes:!0,attributeFilter:["disabled"]}),()=>n.disconnect()}(e,r)];return()=>a.forEach(e=>e?.())})(fM(t),{onFieldsetDisabledChange(t){e.set("fieldsetDisabled",t)},onFormReset(){let t=e.initial("value");e.set("value",t)}}),trackDismissableElement({scope:e,send:t,prop:r}){let n=!0;return function(e,t){let{defer:r}=t,n=[];return n.push((r?pd:e=>e())(()=>{let r="function"==typeof e?e():e;n.push(function(e,t){var r,n;let a,i,{warnOnMissingNode:o=!0}=t;if(o&&!e)return void pF("[@zag-js/dismissable] node is `null` or `undefined`");if(!e)return;let{onDismiss:s,onRequestDismiss:l,pointerBlocking:c,exclude:u,debug:d,type:h="dialog"}=t;fk.add({dismiss:s,node:e,type:h,pointerBlocking:c,requestDismiss:l}),fS();let p=[c?(r=t.persistentElements,a=h3(e),i=[],fk.hasPointerBlockingLayer()&&!a.body.hasAttribute("data-inert")&&(E=document.body.style.pointerEvents,queueMicrotask(()=>{a.body.style.pointerEvents="none",a.body.setAttribute("data-inert","")})),r?.forEach(e=>{let[t,r]=function(e,t){let{timeout:r,rootNode:n}=t,a=h5(n),i=h3(n),o=new a.AbortController;return function(e,t,r){let{signal:n}=t;return[new Promise((t,a)=>{let i=setTimeout(()=>{a(Error(`Timeout of ${r}ms exceeded`))},r);n.addEventListener("abort",()=>{clearTimeout(i),a(Error("Promise aborted"))}),e.then(e=>{n.aborted||(clearTimeout(i),t(e))}).catch(e=>{n.aborted||(clearTimeout(i),a(e))})}),()=>t.abort()]}(new Promise(t=>{let r=e();if(r)return void t(r);let n=new a.MutationObserver(()=>{let r=e();r&&r.isConnected&&(n.disconnect(),t(r))});n.observe(i.body,{childList:!0,subtree:!0})}),o,r)}(()=>{let t=e();return hK(t)?t:null},{timeout:1e3});t.then(e=>i.push(function(e,t){if(!e)return hY;let r=Object.keys(t).reduce((t,r)=>(t[r]=e.style.getPropertyValue(r),t),{});return Object.assign(e.style,t),()=>{Object.assign(e.style,r),0===e.style.length&&e.removeAttribute("style")}}(e,{pointerEvents:"auto"}))),i.push(r)}),()=>{fk.hasPointerBlockingLayer()||(queueMicrotask(()=>{a.body.style.pointerEvents=E,a.body.removeAttribute("data-inert"),0===a.body.style.length&&a.body.removeAttribute("style")}
1),i.forEach(e=>e()))}):void 0,(n=function(r){fk.isTopMost(e)&&(t.onEscapeKeyDown?.(r),!r.defaultPrevented&&s&&(r.preventDefault(),s()))},pi(h3(e),"keydown",e=>{"Escape"!==e.key||e.isComposing||n?.(e)},{capture:!0})),function(e,t){let{defer:r}=t,n=[];return n.push((r?pd:e=>e())(()=>{let r="function"==typeof e?e():e;n.push(function(e,t){let r,n,{exclude:a,onFocusOutside:i,onPointerDownOutside:o,onInteractOutside:s,defer:l,followControlledElements:c=!0}=t;if(!e)return;let u=h3(e),d=h5(e),h=r={each(e){for(let t=0;t<d.frames?.length;t+=1){let r=d.frames[t];r&&e(r)}},addEventListener:(e,t,n)=>(r.each(r=>{try{r.document.addEventListener(e,t,n)}catch{}}),()=>{try{r.removeEventListener(e,t,n)}catch{}}),removeEventListener(e,t,n){r.each(r=>{try{r.document.removeEventListener(e,t,n)}catch{}})}},p=(n=null!=d.frameElement?d.parent:null,{addEventListener:(e,t,r)=>{try{n?.addEventListener(e,t,r)}catch{}return()=>{try{n?.removeEventListener(e,t,r)}catch{}}},removeEventListener:(e,t,r)=>{try{n?.removeEventListener(e,t,r)}catch{}}});function f(t,r){let n,i,o;if(!hK(r)||!r.isConnected||h2(e,r)||function(e,t){if(!("clientY"in t)||!e)return!1;let r=e.getBoundingClientRect();return 0!==r.width&&0!==r.height&&r.top<=t.clientY&&t.clientY<=r.top+r.height&&r.left<=t.clientX&&t.clientX<=r.left+r.width}(e,t)||c&&(n=new Set,i=function(e){let t;try{if(t=e.getRootNode({composed:!0}),hZ(t)||hJ(t))return t}catch{}return e.ownerDocument??document}(e),(o=e=>{for(let t of e.querySelectorAll("[aria-controls]"))if("true"===t.getAttribute("aria-expanded"))for(let e of h7(t)){if(!e||n.has(e))continue;n.add(e);let t=i.getElementById(e);if(t){let e=t.getAttribute("role"),n="true"===t.getAttribute("aria-modal");if(e&&h9(e)&&!n&&(t===r||t.contains(r)||o(t)))return!0}}return!1})(e)))return!1;let s=u.querySelector(`[aria-controls="${e.id}"]`);return!(s&&fE(t,ph(s)))&&!fE(t,ph(e))&&!a?.(r)}let m=new Set,g=hJ(e?.getRootNode());function v(t){function r(r){let n=l&&!pe()?pd:e=>e(),a=r??t,i=a?.composedPath?.()??[a?.target];n(()=>{let r=g?i[0]:pt(t);if(e&&f(t,r)){var n;let t;if(o||s){let t=p_(o,s);e.addEventListener(fx,t,{once:!0})}fC(e,fx,{bubbles:!1,cancelable:!0,detail:{originalEvent:a,contextmenu:2===a.button||(n=/^Mac/i,"u">typeof document&&n.test((t=navigator.userAgentData,t?.platform??navigator.platform))&&a.ctrlKey&&0===a.button),focusable:function(e){for(let t of e)if(hK(t)&&ps(t))return!0;return!1}(i),target:r}})}})}"touch"===t.pointerType?(m.forEach(e=>e()),m.add(pi(u,"click",r,{once:!0})),m.add(p.addEventListener("click",r,{once:!0})),m.add(h.addEventListener("click",r,{once:!0}))):r()}let y=new Set,b=setTimeout(()=>{y.add(pi(u,"pointerdown",v,!0)),y.add(p.addEventListener("pointerdown",v,!0)),y.add(h.addEventListener("pointerdown",v,!0))},0);function x(t){(l?pd:e=>e())(()=>{let r=pt(t);if(e&&f(t,r)){if(i||s){let t=p_(i,s);e.addEventListener(fT,t,{once:!0})}fC(e,fT,{bubbles:!1,cancelable:!0,detail:{originalEvent:t,contextmenu:!1,focusable:ps(r),target:r}})}})}return pe()||(y.add(pi(u,"focusin",x,!0)),y.add(p.addEventListener("focusin",x,!0)),y.add(h.addEventListener("focusin",x,!0))),()=>{clearTimeout(b),m.forEach(e=>e()),y.forEach(e=>e())}}(r,t))})),()=>{n.forEach(e=>e?.())}}(e,{exclude:function(r){if(!e)return!1;let n="function"==typeof u?u():u,a=Array.isArray(n)?n:[n],i=t.persistentElements?.map(e=>e()).filter(hK);return i&&a.push(...i),a.some(e=>h2(e,r))||fk.isInNestedLayer(e,r)},onFocusOutside:function(e){let r=pt(e.detail.originalEvent);fk.isInBranch(r)||(t.onFocusOutside?.(e),t.onInteractOutside?.(e),e.defaultPrevented||(d&&console.log("onFocusOutside:",e.detail.originalEvent),s?.()))},onPointerDownOutside:function(r){let n=pt(r.detail.originalEvent);fk.isBelowPointerBlockingLayer(e)||fk.isInBranch(n)||(t.onPointerDownOutside?.(r),t.onInteractOutside?.(r),r.defaultPrevented||(d&&console.log("onPointerDownOutside:",r.detail.originalEvent),s?.()))},defer:t.defer})];return()=>{fk.remove(e),fS(),e.style.pointerEvents="",p.forEach(e=>e?.())}}(r,t))})),()=>{n.forEach(e=>e?.())}}(()=>fH(e),{type:"listbox",defer:!0,exclude:[fF(e),e.getById(fA(e))],onFocusOutside:r("onFocusOutside"),onPointerDownOutside:r("onPointerDownOutside"),onInteractOutside(e){r("onInteractOutside")?.(e),n=!(e.detail.focusable||e.detail.contextmenu)},onDismiss(){t({type:"CLOSE",src:"interact-outside",restoreFocus:n})}})},computePlacement({context:e,prop:t,scope:r}){let n=t("positioning");return e.set("currentPlacement",n.placement),fy(()=>fF(r),()=>fq(r),{defer:!0,...n,onComplete(t){e.set("currentPlacement",t.placement)}})},scrollToHighlightedItem({context:e,prop:t,scope:r,event:n}){let a=a=>{let i=e.get("highlightedValue");if(null==i||n.current().type.includes("POINTER"))return;let o=fH(r),s=t("scrollToIndexFn");if(s){let e=t("collection").indexOf(i);s?.({index:e,immediate:a,getElement:()=>fB(r,i)});return}!function(e,t){let{rootEl:r,...n}=t||{};e&&r&&pm(r)&&(r.scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth)&&e.scrollIntoView(n)}(fB(r,i),{rootEl:o,block:"nearest"})};return pd(()=>a(!0)),function(e,t){let{defer:r}=t,n=[];return n.push((r?pd:e=>e())(()=>{let r="function"==typeof e?e():e;n.push(function(e,t){if(!e)return;let{attributes:r,callback:n}=t,a=new(e.ownerDocument.defaultView||window).MutationObserver(e=>{for(let t of e)"attributes"===t.type&&t.attributeName&&r.includes(t.attributeName)&&n(t)});return a.observe(e,{attributes:!0,attributeFilter:r}),()=>a.disconnect()}(r,t))}
1)),()=>{n.forEach(e=>e?.())}}(()=>fH(r),{defer:!0,attributes:["data-activedescendant"],callback(){a(!1)}})}},actions:{reposition({context:e,prop:t,scope:r,event:n}){fy(fF(r),()=>fq(r),{...t("positioning"),...n.options,defer:!0,listeners:!1,onComplete(t){e.set("currentPlacement",t.placement)}})},toggleVisibility({send:e,prop:t,event:r}){e({type:t("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:r})},highlightPreviousItem({context:e,prop:t}){let r=e.get("highlightedValue");if(null==r)return;let n=t("collection").getPreviousValue(r,1,t("loopFocus"));null!=n&&e.set("highlightedValue",n)},highlightNextItem({context:e,prop:t}){let r=e.get("highlightedValue");if(null==r)return;let n=t("collection").getNextValue(r,1,t("loopFocus"));null!=n&&e.set("highlightedValue",n)},highlightFirstItem({context:e,prop:t}){let r=t("collection").firstValue;e.set("highlightedValue",r)},highlightLastItem({context:e,prop:t}){let r=t("collection").lastValue;e.set("highlightedValue",r)},setInitialFocus({scope:e}){pd(()=>{let t=function(e){let{root:t,getInitialEl:r,filter:n,enabled:a=!0}=e;if(!a)return;let i=null;if((i="function"==typeof r?r():r)||(i=t?.querySelector("[data-autofocus],[autofocus]")),!i){let e=pl(t);i=n?e.filter(n)[0]:e[0]}return i||t||void 0}({root:fH(e)});t?.focus({preventScroll:!0})})},focusTriggerEl({event:e,scope:t}){fz(e)&&pd(()=>{let e=fF(t);e?.focus({preventScroll:!0})})},selectHighlightedItem({context:e,prop:t,event:r}){let n=r.value??e.get("highlightedValue");null!=n&&t("collection").has(n)&&(t("onSelect")?.({value:n}),n=t("deselectable")&&!t("multiple")&&e.get("value").includes(n)?null:n,e.set("value",e=>null==n?[]:t("multiple")?px(e,n):[n]))},highlightComputedFirstItem({context:e,prop:t,computed:r}){let n=t("collection"),a=r("hasSelectedItems")?n.sort(e.get("value"))[0]:n.firstValue;e.set("highlightedValue",a)},highlightComputedLastItem({context:e,prop:t,computed:r}){let n=t("collection"),a=r("hasSelectedItems")?n.sort(e.get("value"))[0]:n.lastValue;e.set("highlightedValue",a)},highlightFirstSelectedItem({context:e,prop:t,computed:r}){if(!r("hasSelectedItems"))return;let n=t("collection").sort(e.get("value"))[0];e.set("highlightedValue",n)},highlightItem({context:e,event:t}){e.set("highlightedValue",t.value)},highlightMatchingItem({context:e,prop:t,event:r,refs:n}){let a=t("collection").search(r.key,{state:n.get("typeahead"),currentValue:e.get("highlightedValue")});null!=a&&e.set("highlightedValue",a)},setHighlightedItem({context:e,event:t}){e.set("highlightedValue",t.value)},clearHighlightedItem({context:e}){e.set("highlightedValue",null)},selectItem({context:e,prop:t,event:r}){t("onSelect")?.({value:r.value});let n=t("deselectable")&&!t("multiple")&&e.get("value").includes(r.value)?null:r.value;e.set("value",e=>null==n?[]:t("multiple")?px(e,n):[n])},clearItem({context:e,event:t}){e.set("value",e=>e.filter(e=>e!==t.value))},setSelectedItems({context:e,event:t}){e.set("value",t.value)},clearSelectedItems({context:e}){e.set("value",[])},selectPreviousItem({context:e,prop:t}){let[r]=e.get("value"),n=t("collection").getPreviousValue(r);n&&e.set("value",[n])},selectNextItem({context:e,prop:t}){let[r]=e.get("value"),n=t("collection").getNextValue(r);n&&e.set("value",[n])},selectFirstItem({context:e,prop:t}){let r=t("collection").firstValue;r&&e.set("value",[r])},selectLastItem({context:e,prop:t}){let r=t("collection").lastValue;r&&e.set("value",[r])},selectMatchingItem({context:e,prop:t,event:r,refs:n}){let a=t("collection").search(r.key,{state:n.get("typeahead"),currentValue:e.get("value")[0]});null!=a&&e.set("value",[a])},scrollContentToTop({prop:e,scope:t}){if(e("scrollToIndexFn")){let r=e("collection").firstValue;e("scrollToIndexFn")?.({index:0,immediate:!0,getElement:()=>fB(t,r)})}else fH(t)?.scrollTo(0,0)},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},syncSelectElement({context:e,prop:t,scope:r}){let n=fM(r);if(n){if(0===e.get("value").length&&!t("multiple")){n.selectedIndex=-1;return}for(let t of n.options)t.selected=e.get("value").includes(t.value)}},syncCollection({context:e,prop:t}){let r=t("collection"),n=r.find(e.get("highlightedValue"));n&&e.set("highlightedItem",n);let a=r.findMany(e.get("value"));e.set("selectedItems",a)},syncSelectedItems({context:e,prop:t}){let r=t("collection"),n=e.get("selectedItems"),a=e.get("value").map(e=>n.find(t=>
1r.getItemValue(t)===e)||r.find(e));e.set("selectedItems",a)},syncHighlightedItem({context:e,prop:t}){let r=t("collection"),n=e.get("highlightedValue"),a=n?r.find(n):null;e.set("highlightedItem",a)},dispatchChangeEvent({scope:e}){queueMicrotask(()=>{let t=fM(e);if(!t)return;let r=new(e.getWin()).Event("change",{bubbles:!0,composed:!0});t.dispatchEvent(r)})}}}};function fz(e){let t=e.restoreFocus??e.previousEvent?.restoreFocus;return null==t||!!t}pH(pB()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"])),pH(pB()(["item","persistFocus"])),pH(pB()(["id"])),pH(pB()(["htmlFor"]));let fY=({testId:e="XIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M17 7L7 17M7 7L17 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})});var f$={"en-GB":{placeholder:"Choose your option"},"nl-NL":{placeholder:"Kies uw optie"},"de-DE":{placeholder:"W\xe4hlen Sie Ihre Option"},"sv-SE":{placeholder:"V\xe4lj ditt alternativ"},"no-NO":{placeholder:"Velg ditt alternativ"},"en-CA":{placeholder:"Choose your option"},"fr-CA":{placeholder:"Choisissez votre option"}};let fQ=({active:e,onClose:t,children:r,testId:n="SelectPanel"})=>{let a=(0,k.useRef)(null);return(0,k.useEffect)(()=>{let t=a.current;t&&(e&&!t.open?t.showModal():!e&&t.open&&t.close())},[e]),(0,k.useEffect)(()=>{let e=a.current;if(!e)return;let r=r=>{r.target===e&&t()},n=e=>{e.preventDefault(),t()};return e.addEventListener("click",r),e.addEventListener("cancel",n),()=>{e.removeEventListener("click",r),e.removeEventListener("cancel",n)}},[t]),(0,C.jsx)("dialog",{ref:a,className:w(sc,su,"fixed bottom-0 top-auto max-w-[100%]","w-full rounded-t-ds","max-h-[calc(100%_-_2.5rem)]"),"data-testid":n,children:r})},fK={sm:"w-[8rem]",md:"w-[13.75rem]",lg:"w-[17.5rem]",xl:"min-w-[min(21.25rem,calc(var(--available-width)_-_1.5rem))] max-w-[min(21.25rem,calc(var(--available-width)_-_1.5rem))]",full:"min-w-[calc(var(--available-width)_-_1.5rem)] max-w-[calc(var(--available-width)_-_1.5rem)]"},{xs:fZ,...fX}=oQ,fJ=(0,k.forwardRef)(({id:e,className:t,containerWidth:r,defaultValue:n,disabled:a=!1,items:i=[],maxContainerItems:o=7,name:s,onValueChange:l,placeholder:c,readOnly:u=!1,required:d=!1,status:h="none",style:p,testId:f="Select",value:m,width:g="full",...v},y)=>{let{isWithinDialog:b}=i3(),{isMobile:x}=el(),T=i4(),E=er(),S=function(e,t){let{context:r,prop:n,scope:a,state:i,computed:o,send:s}=e,l=n("disabled")||r.get("fieldsetDisabled"),c=!!n("invalid"),u=!!n("required"),d=!!n("readOnly"),h=n("composite"),p=n("collection"),f=i.hasTag("open"),m=i.matches("focused"),g=r.get("highlightedValue"),v=r.get("highlightedItem"),y=r.get("selectedItems"),b=r.get("currentPlacement"),x=o("isTypingAhead"),T=o("isInteractive"),E=g?fD(a,g):void 0;function C(e){let t=p.getItemDisabled(e.item),n=p.getItemValue(e.item);return pq(n,()=>`[zag-js] No value found for item ${JSON.stringify(e.item)}`),{value:n,disabled:!!(l||t),highlighted:g===n,selected:r.get("value").includes(n)}}let w=function(e={}){let{placement:t,sameWidth:r,fitViewport:n,strategy:a="absolute"}=e;return{arrow:{position:"absolute",width:fp.arrowSize.reference,height:fp.arrowSize.reference,[fp.arrowSizeHalf.variable]:`calc(${fp.arrowSize.reference} / 2)`,[fp.arrowOffset.variable]:`calc(${fp.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?fb[t.split("-")[0]]:void 0,background:fp.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:a,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:n?"var(--available-width)":void 0,maxHeight:n?"var(--available-height)":void 0,pointerEvents:t?void 0:"none",top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}({...n("positioning"),placement:b});return{open:f,focused:m,empty:0===r.get("value").length,highlightedItem:v,highlightedValue:g,selectedItems:y,hasSelectedItems:o("hasSelectedItems"),value:r.get("value"),valueAsString:o("valueAsString"),collection:p,multiple:!!n("multiple"),disabled:!!l,reposition(e={}){s({type:"POSITIONING.SET",options:e})},focus(){fF(a)?.focus({preventScroll:!0})},setOpen(e){i.hasTag("open")!==e&&s({type:e?"OPEN":"CLOSE"})},selectValue(e){s({type:"ITEM.SELECT",value:e})},setValue(e){s({type:"VALUE.SET",value:e})},selectAll(){s({type:"VALUE.SET",value:p.getValues()})},setHighlightValue(e){s({type:"HIGHLIGHTED_VALUE.SET",value:e})},clearHighlightValue(){s({type:"HIGHLIGHTED_VALUE.CLEAR"})},clearValue(e){e?s({type:"ITEM.CLEAR",value:e}):s({type:"VALUE.CLEAR"})},getItemState:C,getRootProps:()=>t.element({...fI.root.attrs,dir:n("dir"),id:a.ids?.root??`select:${a.id}`,"data-invalid":hQ(c),"data-readonly":hQ(d)}),getLabelProps:()=>t.label({dir:n("dir"),id:fN(a),...fI.label.attrs,"data-disabled":hQ(l),"data-invalid":hQ(c),"data-readonly":hQ(d),"data-required":hQ(u),htmlFor:fO(a),onClick(e){e.defaultPrevented||l||fF(a)?.focus({preventScroll:!0})}}),getControlProps:()=>t.element({...fI.control.attrs,dir:n("dir"),id:a.ids?.control??`select:${a.id}:control`,"data-state":f?"open":"closed","data-focus":hQ(m),"data-disabled":hQ(l),"data-invalid":hQ(c)}),getValueTextProps:()=>t.element({...fI.valueText.attrs,dir:n("dir"),"data-disabled":hQ(l),"data-invalid":hQ(c),"data-focus":hQ(m)}),getTriggerProps:()=>t.button({id:fR(a),disabled:l,dir:n("dir"),type:"button",role:"combobox","aria-controls":f_(a),"aria-expanded":f,"aria-haspopup":"listbox","data-state":f?"open":"closed","aria-invalid":c,"aria-required":u,"aria-labelledby":fN(a),...fI.trigger.attrs,"data-disabled":hQ(l),"data-invalid":hQ(c),"data-readonly":hQ(d),"data-placement":b,"data-
1placeholder-shown":hQ(!o("hasSelectedItems")),onClick(e){!T||e.defaultPrevented||s({type:"TRIGGER.CLICK"})},onFocus(){s({type:"TRIGGER.FOCUS"})},onBlur(){s({type:"TRIGGER.BLUR"})},onKeyDown(e){if(e.defaultPrevented||!T)return;let t={ArrowUp(){s({type:"TRIGGER.ARROW_UP"})},ArrowDown(e){s({type:e.altKey?"OPEN":"TRIGGER.ARROW_DOWN"})},ArrowLeft(){s({type:"TRIGGER.ARROW_LEFT"})},ArrowRight(){s({type:"TRIGGER.ARROW_RIGHT"})},Home(){s({type:"TRIGGER.HOME"})},End(){s({type:"TRIGGER.END"})},Enter(){s({type:"TRIGGER.ENTER"})},Space(e){x?s({type:"TRIGGER.TYPEAHEAD",key:e.key}):s({type:"TRIGGER.ENTER"})}}[pa(e,{dir:n("dir"),orientation:"vertical"})];if(t){t(e),e.preventDefault();return}pg.isValidEvent(e)&&(s({type:"TRIGGER.TYPEAHEAD",key:e.key}),e.preventDefault())}}),getIndicatorProps:()=>t.element({...fI.indicator.attrs,dir:n("dir"),"aria-hidden":!0,"data-state":f?"open":"closed","data-disabled":hQ(l),"data-invalid":hQ(c),"data-readonly":hQ(d)}),getItemProps(r){let i=C(r);return t.element({id:fD(a,i.value),role:"option",...fI.item.attrs,dir:n("dir"),"data-value":i.value,"aria-selected":i.selected,"data-state":i.selected?"checked":"unchecked","data-highlighted":hQ(i.highlighted),"data-disabled":hQ(i.disabled),"aria-disabled":i.disabled?"true":void 0,onPointerMove(e){i.disabled||"mouse"!==e.pointerType||i.value!==g&&s({type:"ITEM.POINTER_MOVE",value:i.value})},onClick(e){e.defaultPrevented||i.disabled||s({type:"ITEM.CLICK",src:"pointerup",value:i.value})},onPointerLeave(t){i.disabled||r.persistFocus||"mouse"!==t.pointerType||e.event.previous()?.type.includes("POINTER")&&s({type:"ITEM.POINTER_LEAVE"})}})},getItemTextProps(e){let r=C(e);return t.element({...fI.itemText.attrs,"data-state":r.selected?"checked":"unchecked","data-disabled":hQ(r.disabled),"data-highlighted":hQ(r.highlighted)})},getItemIndicatorProps(e){let r=C(e);return t.element({"aria-hidden":!0,...fI.itemIndicator.attrs,"data-state":r.selected?"checked":"unchecked",hidden:!r.selected})},getItemGroupLabelProps(e){let{htmlFor:r}=e;return t.element({...fI.itemGroupLabel.attrs,id:fL(a,r),dir:n("dir"),role:"presentation"})},getItemGroupProps(e){let{id:r}=e;return t.element({...fI.itemGroup.attrs,"data-disabled":hQ(l),id:a.ids?.itemGroup?.(r)??`select:${a.id}:optgroup:${r}`,"aria-labelledby":fL(a,r),role:"group",dir:n("dir")})},getClearTriggerProps:()=>t.button({...fI.clearTrigger.attrs,id:fA(a),type:"button","aria-label":"Clear value","data-invalid":hQ(c),disabled:l,hidden:!o("hasSelectedItems"),dir:n("dir"),onClick(e){e.defaultPrevented||s({type:"CLEAR.CLICK"})}}),getHiddenSelectProps(){let e=r.get("value"),i=n("multiple")?e:e?.[0];return t.select({name:n("name"),form:n("form"),disabled:l,multiple:n("multiple"),required:n("required"),"aria-hidden":!0,id:fO(a),defaultValue:i,style:pv,tabIndex:-1,onFocus(){fF(a)?.focus({preventScroll:!0})},"aria-labelledby":fN(a)})},getPositionerProps:()=>t.element({...fI.positioner.attrs,dir:n("dir"),id:fj(a),style:w.floating}),getContentProps:()=>t.element({hidden:!f,dir:n("dir"),id:f_(a),role:h?"listbox":"dialog",...fI.content.attrs,"data-state":f?"open":"closed","data-placement":b,"data-activedescendant":E,"aria-activedescendant":h?E:void 0,"aria-multiselectable":!!n("multiple")&&!!h||void 0,"aria-labelledby":fN(a),tabIndex:0,onKeyDown(e){if(!T||!h2(e.currentTarget,pt(e)))return;if("Tab"===e.key&&!function(e){let t,r=e.currentTarget;if(!r)return!1;let[n,a]=[(t=pl(r,void 0))[0]||null,t[t.length-1]||null];return!(h1(n)&&e.shiftKey||h1(a)&&!e.shiftKey)&&(!!n||!!a)}(e))return void e.preventDefault();let t={ArrowUp(){s({type:"CONTENT.ARROW_UP"})},ArrowDown(){s({type:"CONTENT.ARROW_DOWN"})},Home(){s({type:"CONTENT.HOME"})},End(){s({type:"CONTENT.END"})},Enter(){s({type:"ITEM.CLICK",src:"keydown.enter"})},Space(e){x?s({type:"CONTENT.TYPEAHEAD",key:e.key}):t.Enter?.(e)}},r=t[pa(e)];if(r){r(e),e.preventDefault();return}!function(e){if(null==e||!hK(e))return!1;try{return hK(e)&&"input"===e.localName&&null!=e.selectionStart||h0.test(e.localName)||e.isContentEditable||"true"===e.getAttribute("contenteditable")||""===e.getAttribute("contenteditable")}catch{return!1}}
1(pt(e))&&pg.isValidEvent(e)&&(s({type:"CONTENT.TYPEAHEAD",key:e.key}),e.preventDefault())}}),getListProps:()=>t.element({...fI.list.attrs,tabIndex:0,role:h?void 0:"listbox","aria-labelledby":fR(a),"aria-activedescendant":h?void 0:E,"aria-multiselectable":!!(!h&&n("multiple"))||void 0})}}(function(e,t={}){var r;let n,a,i=(0,k.useMemo)(()=>{var e;let r,n,{id:a,ids:i,getRootNode:o}=t;return e={id:a,ids:i,getRootNode:o},r=()=>e.getRootNode?.()??document,n=()=>h3(r()),{...e,getRootNode:r,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>h4(r()),isActiveElement:h1,getById:e=>r().getElementById(e)}},[t]),o=(...t)=>{e.debug&&console.log(...t)},s=(n=pG(e.props?.({props:pM(t),scope:i})??t),function(e){return n.current[e]}),l=pG(e.context?.({prop:s,bindable:pW,scope:i,flush:pz,getContext:()=>c,getComputed:()=>E,getRefs:()=>g,getEvent:()=>f()})),c={get:e=>l.current?.[e].ref.current,set(e,t){l.current?.[e].set(t)},initial:e=>l.current?.[e].initial,hash(e){let t=l.current?.[e].get();return l.current?.[e].hash(t)}},u=(0,k.useRef)(new Map),d=(0,k.useRef)(null),h=(0,k.useRef)(null),p=(0,k.useRef)({type:""}),f=()=>({...p.current,current:()=>p.current,previous:()=>h.current}),m=()=>({...C,matches:(...e)=>e.includes(C.ref.current),hasTag:t=>!!e.states[C.ref.current]?.tags?.includes(t)}),g=(r=e.refs?.({prop:s,context:c})??{},a=(0,k.useRef)(r),{get:e=>a.current[e],set(e,t){a.current[e]=t}}),v=()=>({state:m(),context:c,event:f(),prop:s,send:I,action:y,guard:b,track:pV,refs:g,computed:E,flush:pz,scope:i,choose:T}),y=t=>{let r="function"==typeof t?t(v()):t;if(r)for(let t of r.map(t=>{let r=e.implementations?.actions?.[t];return r||pF(`[zag-js] No implementation found for action "${JSON.stringify(t)}"`),r}))t?.(v())},b=t=>"function"==typeof t?t(v()):e.implementations?.guards?.[t](v()),x=t=>{let r="function"==typeof t?t(v()):t;if(!r)return;let n=r.map(t=>{let r=e.implementations?.effects?.[t];return r||pF(`[zag-js] No implementation found for effect "${JSON.stringify(t)}"`),r}),a=[];for(let e of n){let t=e?.(v());t&&a.push(t)}return()=>a.forEach(e=>e?.())},T=e=>(null==e?[]:Array.isArray(e)?e:[e]).find(e=>{let t=!e.guard;return"string"==typeof e.guard?t=!!b(e.guard):"function"==typeof e.guard&&(t=e.guard(v())),t}),E=t=>(pq(e.computed,()=>"[zag-js] No computed object found on machine"),(0,e.computed[t])({context:c,event:f(),prop:s,refs:g,scope:i,computed:E})),C=pW(()=>({defaultValue:e.initialState({prop:s}),onChange(t,r){if(r){let e=u.current.get(r);e?.(),u.current.delete(r)}r&&y(e.states[r]?.exit),y(d.current?.actions);let n=x(e.states[t]?.effects);if(n&&u.current.set(t,n),r===pb){y(e.entry);let t=x(e.effects);t&&u.current.set(pb,t)}y(e.states[t]?.entry)}})),w=(0,k.useRef)(void 0),S=(0,k.useRef)(py.NotStarted);pU(()=>{queueMicrotask(()=>{let e=S.current===py.Started;S.current=py.Started,o(e?"rehydrating...":"initializing...");let t=w.current??C.initial;C.invoke(t,e?C.get():pb)});let t=u.current,r=C.ref.current;return()=>{o("unmounting..."),w.current=r,S.current=py.Stopped,t.forEach(e=>e?.()),u.current=new Map,d.current=null,queueMicrotask(()=>{y(e.exit)})}},[]);let I=t=>{queueMicrotask(()=>{if(S.current!==py.Started)return;h.current=p.current,p.current=t;let r="ref"in C?C.ref.current:C.get(),n=T(e.states[r].on?.[t.type]??e.on?.[t.type]);if(!n)return;d.current=n;let a=n.target??r;o("transition",t.type,n.target||r,`(${n.actions})`);let i=a!==r;i?(0,e2.flushSync)(()=>C.set(a)):n.reenter&&!i?C.invoke(r,r):y(n.actions??[])})};return e.watch?.(v()),{state:m(),send:I,context:c,prop:s,scope:i,refs:g,computed:E,event:f(),getStatus:()=>S.current}}(fG,{id:(0,k.useId)(),ids:{trigger:e},collection:fP({items:i,itemToString:e=>e.label,itemToValue:e=>e.value,isItemDisabled:e=>e.disabled||!1}),value:void 0!==m?[m]:void 0,defaultValue:n?[n]:void 0,disabled:a,name:s,readOnly:u,required:d,positioning:{placement:"bottom-start",strategy:"absolute",gutter:8},onValueChange:e=>{l?.(e.value[0]??"")},scrollToIndexFn:e=>{let{getElement:t}=e;t()?.scrollIntoView({block:"nearest",behavior:"smooth"})},onInteractOutside:e=>{e.target.closest('[data-testid="SelectPanel"]')&&x&&e.preventDefault()}}),pY);(0,k.useEffect)(()=>{S.open&&S.reposition()},[x,S]);let I=b?k.Fragment:p$,P=f$[E],_=w("group flex items-center justify-between rounded-ds p-[var(--spacing-levels-section-level---s)] leading-[120%]",s3(!1)[h],"data-[placeholder-shown]:text-[color:var(--form-field-field-text-fill-placeholder)]","data-[state=open]:ring-[color:var(--actions-stroke-colors-action-stroke-color-focus)]","data-[state=open]:ring-[length:var(--actions-strokes-action-stroke-width-active)]","[&>span]:truncate",fX[g],{"bg-[color:var(--actions-fill-colors-action-fill-disabled)] text-[color:var(--actions-text-colors-action-text-fill-disabled)]":a,"bg-[color:var(--generic-fill-colors-fill-default)]":!a,"ring-[length:var(--actions-strokes-action-stroke-width-active)] ring-[color:var(--actions-stroke-colors-action-stroke-color-focus)]":S.open},t),R=w("px-4 py-3","flex w-full max-w-full flex-row items-center justify-between gap-3","relative"),A=w('[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:content-[""]','[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:absolute','[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:inset-0','[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:pointer-events-none','[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:rounded-ds','[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:border-[color:var(--actions-stroke-colors-action-stroke-color-focus)]','[&_[data-scope="select"][data-part="item"][data-highlighted]:not(:hover)]:after:border-2','[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:transition-[border-width]','[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:duration-100','[&_[data-scope="select"][data-part="item"][data-highlighted]]:after:delay-50'),N=w("bg-[color:var(--actions-fill-colors-action-fill-disabled)]","text-[color:var(--actions-text-colors-action-text-fill-disabled)]"),D=c||P.placeholder,O=o?`calc(${o} * 48px + 24px)`:"auto",j=()=>i.map(e=>{let t=S.value.includes(e.value),r=w(R,{"cursor-pointer":!e.disabled,[N]:e.disabled,"bg-[
1color:var(--actions-fill-colors-action-fill-active)] font-bold":t,"hover:bg-[color:var(--actions-fill-colors-action-fill-active-hover)]":!e.disabled&&!t,"border-b-[length:var(--generic-other-divider-height)] border-[color:var(--other-divider-divider-color)]":x});return(0,C.jsxs)("li",{...S.getItemProps({item:e}),tabIndex:-1,className:r,children:[(0,C.jsx)("div",{className:"truncate",children:(0,C.jsx)("span",{...S.getItemTextProps({item:e}),children:e.label})}),(0,C.jsx)("span",{...S.getItemIndicatorProps({item:e}),children:(0,C.jsx)(oX,{className:w("shrink-0 text-[color:var(--actions-fill-colors-action-icon-fill-default)]",{flex:t,hidden:!t})})})]},e.value)}),L=S.getTriggerProps();return L["aria-labelledby"]=void 0,(0,C.jsxs)("div",{...S.getRootProps(),children:[(0,C.jsxs)("button",{...L,ref:y,className:_,style:p,"data-testid":f,"aria-invalid":"invalid"===h,...v,children:[(0,C.jsx)("span",{...S.getValueTextProps(),children:S.valueAsString||c||P.placeholder}),(0,C.jsx)("div",{className:"flex-shrink-0 pl-[var(--spacing-levels-group-level---l)]",children:(0,C.jsx)($,{className:w({"text-[color:var(--actions-fill-colors-action-icon-fill-default)]":!a,"text-[color:var(--actions-fill-colors-action-icon-fill-disabled)]":a},"transition-transform duration-300",{"rotate-180":S.open})})})]}),s&&(0,C.jsx)("select",{...S.getHiddenSelectProps(),children:i.map(e=>(0,C.jsx)("option",{value:e.value,disabled:e.disabled,children:e.label},e.value))}),T&&x&&(0,C.jsxs)(fQ,{active:S.open,onClose:()=>S.setOpen(!1),children:[D&&(0,C.jsxs)("div",{className:w("flex justify-between shadow-ds-subtle","bg-white px-[var(--spacing-levels-section-level---s)] pb-[var(--spacing-levels-group-level---l)] pt-[var(--spacing-levels-section-level---s)]"),children:[(0,C.jsx)("h2",{className:"ds-heading-2",children:D}),(0,C.jsx)("button",{type:"button",onClick:()=>S.setOpen(!1),children:(0,C.jsx)(fY,{size:"lg",className:"text-[color:var(--actions-fill-colors-action-icon-fill-default)]"})})]}),(0,C.jsx)("ul",{...S.getContentProps(),className:w(A,"focus-visible:shadow-none","overflow-y-auto"),style:{maxHeight:O},children:j()})]}),T&&!x&&(0,C.jsx)(I,{children:(0,C.jsx)("div",{...S.getPositionerProps(),children:(0,C.jsx)("div",{className:w("z-ds-popover overflow-y-auto rounded-ds bg-[color:var(--generic-fill-colors-fill-default)] shadow-ds-medium",{[fK[r||g]]:"full"!==g,"min-w-[var(--select-trigger-width)]":"full"===g}),style:{"--select-trigger-width":"var(--reference-width)",maxHeight:O},children:(0,C.jsx)("ul",{...S.getContentProps(),className:A,children:j()})})})})]})});(0,k.forwardRef)(({id:e,name:t,className:r,style:n,testId:a="Toggle",big:i=!1,variant:o="default",onCheckedChange:s,onChange:l,checked:c,defaultChecked:u,label:d,description:h,disabled:p,...f},m)=>{let g=(0,k.useId)(),[v,y]=(0,k.useState)(!1),b=w("appearance-none","peer","bg-[color:var(--form-selector-toggle-default-fill)]","transition-[background]","rounded-full","border-[length:var(--form-selector-toggle-border-width)]",{"border-[color:var(--actions-stroke-colors-action-stroke-color-default)]":!p,"border-[color:var(--generic-fill-colors-fill-default)]":p,"curs
1or-pointer":!p,"hover:border-[color:var(--actions-stroke-colors-action-stroke-color-hover)] hover:bg-[color:var(--form-selector-toggle-default-fill-hover)]":!p,"checked:border-[color:var(--actions-stroke-colors-action-stroke-color-active-hover)] checked:bg-[color:var(--actions-fill-colors-action-fill)]":"default"===o&&!p,"hover:checked:border-[color:var(--actions-stroke-colors-action-stroke-color-active-hover)] hover:checked:bg-[color:var(--actions-fill-colors-action-fill-hover)]":"default"===o&&!p,"checked:border-[color:var(--generic-stroke-colors-positive-fill-hover)] checked:bg-[color:var(--generic-stroke-colors-positive-fill)]":"positive"===o&&!p,"hover:checked:border-[color:var(--generic-stroke-colors-positive-fill-hover)] hover:checked:bg-[color:var(--generic-fill-colors-icon-color-positive-hover)]":"positive"===o&&!p,"h-12 w-[4.75rem]":i,"h-9 w-14":!i}),x=w("pointer-events-none","absolute flex items-center justify-center p-1","rounded-full","peer-checked:translate-x-full","drop-shadow-[0px_var(--actions-effects-action-shadow-y-offset)_var(--form-selector-toggle-top-button-shadow-blur)_var(--generic-effects-action-shadow-fill)] hover:drop-shadow-[0px_var(--actions-effects-action-shadow-y-offset)_var(--form-selector-toggle-top-button-shadow-blur)_var(--actions-effects-shadow-color-hover)]",{"bg-[color:var(--generic-fill-colors-fill-default)]":!p,"bg-[color:var(--actions-fill-colors-action-fill-disabled)]":p,"peer-hover:text-[color:var(--actions-fill-colors-action-fill-hover)]":!p,"text-[color:var(--actions-fill-colors-action-icon-fill-default)]":!p,"text-[color:var(--actions-fill-colors-action-icon-fill-disabled)]":p,"peer-checked:text-[color:var(--generic-fill-colors-icon-color-positive)] peer-checked:peer-hover:text-[color:var(--generic-fill-colors-icon-color-positive-hover)]":"positive"===o&&!p,"peer-checked:text-[color:var(--actions-fill-colors-action-icon-fill-default)] peer-checked:peer-hover:text-[color:var(--actions-text-colors-action-text-fill-hover)]":"default"===o&&!p,"start-3 top-3 h-6 w-6":i,"start-2 top-2 h-5 w-5":!i});return(0,C.jsx)(oJ,{label:d,description:h,htmlFor:e,descriptionId:g,disabled:p,className:r,style:n,testId:a,largeGap:!0,checked:v,children:(0,C.jsxs)("div",{className:"relative flex items-start",children:[(0,C.jsx)("input",{ref:m,id:e,name:t||e,type:"checkbox",defaultChecked:u,className:b,onChange:e=>{let t=e.target.checked;y(t),s?.(t),l?.(e)},role:"switch",checked:c,"aria-describedby":h?g:void 0,disabled:p,...f}),(0,C.jsx)("div",{className:w(x,"hidden peer-checked:flex"),children:(0,C.jsx)(oX,{})}),(0,C.jsx)("div",{className:w(x,"peer-checked:hidden"),children:(0,C.jsx)(ed,{})})]})})});let f1=({testId:e="Upload01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21 15V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V15M17 8L12 3M12 3L7 8M12 3V15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})});(0,k.forwardRef)(({id:e,name:t,disabled:r,label:n,icon:a=f1,hideLabel:i=!1,onValueChange:o,onChange:s,className:l,style:c,variant:u="secondary",testId:d="UploadButton",analytics:h,...p},f)=>{let m=(0,k.useId)(),g=(0,k.useId)();e&&(g=e);let v=P("upload-button",void 0,h);return(0,C.jsxs)("div",{id:m,"data-testid":d,className:l,style:c,...v,children:[(0,C.jsx)("input",{type:"file",onChange:e=>{let t=e.target.files;o&&t&&o(t),s?.(e)},className:"sr-only",disabled:r,id:g,name:t,ref:f,...p}),(0,C.jsxs)(eb,{variant:u,"aria-controls":g,disabled:r,onClick:()=>{let e;e=document.getElementById(m)?.querySelector('input[type="file"]'),e?.click()},children:[(0,C.jsx)(a,{size:"md"}),i?(0,C.jsx)("span",{className:"sr-only",children:n}):n]})]})});let f0=({testId:e="ImageUpIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M16 5L19 2M19 2L22 5M19 2V8M12.5 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H17C17.93 21 18.395 21 18.7765 20.8978C19.8117 20.6204 20.6204 19.8117 20.8978 18.7765C21 18.395 21 17.93 21 17M10.5 8.5C10.5 9.60457 9.60457 10.5 8.5 10.5C7.39543 10.5 6.5 9.60457 6.5 8.5C6.5 7.39543 7.39543 6.5 8.5 6.5C9.60457 6.5 10.5 7.39543 10.5 8.5ZM14.99 11.9181L6.53115 19.608C6.05536 20.0406 5.81747 20.2568 5.79643 20.4442C5.77819 20.6066 5.84045 20.7676 5.96319 20.8755C6.10478 21 6.42628 21 7.06929 21H16.456C17.8951 21 18.6147 21 19.1799 20.7582C19.8894 20.4547 20.4547 19.8894 20.7582 19.1799C21 18.6147 21 17.8951 21 16.456C21 15.9717 21 15.7296 20.9471 15.5042C20.8805 15.2208 20.753 14.9554 20.5733 14.7264C20.4303 14.5442 20.2412 14.3929 19.8631 14.0905L17.0658 11.8527C16.6874 11.5499 16.4982 11.3985 16.2898 11.3451C16.1061 11.298 15.9129 11.3041 15.7325 11.3627C15.5279 11.4291 15.3486 11.5921 14.99 11.9181Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),f2=TypeError("The drag event does not contain any valid files. Either there were no files, or the files provided did not match the permitted MIME types.");(0,k.forwardRef)(({children:e,onDropError:t,onValueChange:r,onChange:n,accept:a,multiple:i,icon:o=f0,className:s,style:l,testId:c="UploadTarget",analytics:u,...d},h)=>{let[p,f]=(0,k.useState)(!1),m=(0,k.useId)(),g=w("group p-6","h-full w-full","flex flex-col items-center justify-center gap-3","rounded-ds","border-[length:var(--actions-strokes-action-stroke-width)] border-dashed","cursor-pointer","transition-colors duration-[50ms] ease-[cubic-bezier(0.10,0.00,0.05,1.00)]",{"border-[color:var(--form-field-form-element-stroke-color)]":!p,"border-[color:var(--button-stroke-button-stroke-color-secondary)]":p,"bg-[color:var(--actions-fill-colors-action-fill-active)]":p}),v=w("pointer-events-none","group-hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]",{"text-[color:var(--actions-fill-colors-action-icon-fill-default)]":!p,"text-[color:var(--actions-fill-colors-action-icon-fill-hover)]":p}),y=w("pointer-events-none text-center","[&_strong]:font-[var(--ds-core--link--font-weight)]","[&_strong]:group-hover:text-[color:var(--actions-text-colors-action-text-fill-hover)]",{"[&_strong]:text-[color:var(--actions-text-colors-action-text-fill-default)]":!p,"[&_strong]:text-[color:var(--actions-text-colors-action-text-fill-hover)]":p}),b=P("upload-target",void 0,u),x=a?.split(",").map(e=>e.trim())??[];return(0,C.jsxs)("div",{"data-testid":c,className:s,style:l,...b,children:[(0,C.jsxs)("button",{type:"button",className:g,onClick:()=>{document.querySelector(`[data-ds-uploadtarget-id="${m}"]`).click()},onDrop:e=>{e.preventDefault(),f(!1);try{let t=((e,{acceptedMimeTypes:t=[],multiple:r=!1})=>{var n;let a;if(!e.dataTransfer.files||0===e.dataTransfer.files.length)throw f2;let i=Array.from(e.dataTransfer.files).filter(e=>t&&0!==t.length?t.some(t=>e.type===t):e);if(0===i.length)throw f2;
1return n=r?i:[i[0]],a=new DataTransfer,n.forEach(e=>{a.items.add(e)}),a.files})(e,{acceptedMimeTypes:x,multiple:i});r?.(t),document.querySelector(`[data-ds-uploadtarget-id="${m}"]`).files=t}catch(e){t?.(e)}},onDragOver:e=>{e.preventDefault()},onDragEnter:e=>{e.preventDefault(),f(!0)},onDragLeave:()=>{f(!1)},children:[(0,C.jsx)(o,{size:"4xl",className:v}),(0,C.jsx)("div",{className:y,children:e})]}),(0,C.jsx)("input",{type:"file",onChange:e=>{let t=e.target.files;t&&r?.(t),n?.(e)},className:"sr-only",ref:h,multiple:i,accept:a,"data-ds-uploadtarget-id":m,...d})]})});let f3=({children:e,style:t,variant:r="default",testId:n="Header",className:a,analytics:i})=>{let o=P("header",void 0,i),s=w({"ds-page-section--narrow":"narrow"===r,"ds-page-section":"default"===r},"bg-[var(--other-top-navigation-top-navigation-fill)]","text-[color:var(--actions-text-colors-action-text-fill-inverted)]","h-[var(--ds-core--header--height)]","shadow-[0_var(--generic-effects-action-shadow-default-y-offset)_var(--generic-effects-action-shadow-blur)_0px_rgba(0,0,0,0.08)]",a),l=w("flex h-full w-full items-center justify-between gap-4 sm:gap-6");return(0,C.jsx)("header",{className:s,style:t,"data-testid":n,...o,children:(0,C.jsx)("div",{className:l,children:e})})},f5="flex h-full items-center gap-4 sm:gap-6 lg:gap-8",f4=({children:e,style:t,testId:r="HeaderContainer",className:n,analytics:a})=>{let i=P("header-container",void 0,a);return(0,C.jsx)("div",{className:w(f5,"text-[color:var(--actions-text-colors-action-text-fill-inverted)]",n),style:t,"data-testid":r,...i,children:e})},f8=({testId:e="HeaderLogoPL",className:t,analytics:r,children:n,...a})=>{let i=W(),o=w("flex shrink-0",{"self-start pt-2 [&_img]:w-[78px] [&_img]:md:w-[110px]":i===y.POSTCODE_LOTTERY,"[&_img]:w-[114px] [&_img]:md:w-[145px]":i===y.POSTCODE_LOTTERY_HEARTS},t),s=P("HeaderLogoPL",void 0,r);return(0,C.jsx)("div",{className:o,"data-testid":e,...s,...a,children:n})},f6=({testId:e="HeaderLogoVL",className:t,analytics:r,children:n,alignmentBreakpoint:a="lg",...i})=>{let o=w("flex shrink-0 self-start pt-[13px]","md:pt-[19px] [&_img]:w-[151px] [&_img]:md:w-[166px]",{"max-lg:absolute max-lg:left-1/2 max-lg:-translate-x-[50%]":"lg"===a,"max-xl:absolute max-xl:left-1/2 max-xl:-translate-x-[50%]":"xl"===a,"max-2xl:absolute max-2xl:left-1/2 max-2xl:-translate-x-[50%]":"2xl"===a,"max-3xl:absolute max-3xl:left-1/2 max-3xl:-translate-x-[50%]":"3xl"===a,"absolute left-1/2 -translate-x-[50%]":"none"===a},t),s=P("HeaderLogoVL",void 0,r);return(0,C.jsx)("div",{className:o,"data-testid":e,...s,...i,children:n})},f9=({testId:e="Menu01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M3 12H21M3 6H21M3 18H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),f7={"en-GB":{openMenu:"Open website navigation menu"},"nl-NL":{openMenu:"Navigatiemenu van de website openen"},"de-DE":{openMenu:"Navigationsmen\xfc der Website \xf6ffnen"},"sv-SE":{openMenu:"\xd6ppna webbplatsens navigeringsmeny"},"no-NO":{openMenu:"\xc5pne nettstedets navigasjonsmeny"},"en-CA":{openMenu:"Open website navigation menu"},"fr-CA":{openMenu:"Ouvrir le menu de navigation du site Web"}},me=({children:e,dockTo:t="left",analytics:r,className:n,testId:a="HeaderPanel",style:i})=>{let[o,s]=(0,k.useState)(!1),l=er(),c=P("header-panel",void 0,r),u=w("h-full text-[color:var(--actions-fill-colors-action-fill-icon-invert)]",n),d=f7[l];return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("button",{type:"button",onClick:()=>{s(!0)},className:u,"data-testid":a,style:i,...c,"aria-label":d.openMenu,children:(0,C.jsx)(f9,{size:"lg"})}),(0,C.jsx)(sy,{active:o,onClose:()=>{s(!1)},width:"sm",dockTo:t,children:e})]})},mt=(0,k.createContext)({}),mr=({children:e,style:t,testId:r="PanelNav",accessibleLabel:n,className:a,analytics:i})=>{let[o,s]=(0,k.useState)(0),{prefersReducedMotion:l}=oM(),c=P("panel-nav",void 0,i),u=w("-mx-4 sm:-mx-6","relative","overflow-x-clip","border-t-[length:var(--generic-other-divider-height)] border-[color:var(--other-divider-divider-color)]",a);return(0,C.jsx)("nav",{className:u,style:t,"data-testid":r,"aria-label":n,...c,children:(0,C.jsx)(mt.Provider,{value:{activeMenuLevel:o,setActiveMenuLevel:s},children:(0,C.jsx)("ul",{className:w({"transition-transform duration-300":!l,invisible:o>0,visible:0===o,"supports-[hanging-punctuation:first]:will-change-transform":0!==o}),style:{transform:`translateX(-${100*o}%)`},children:e})})})},mn=(0,k.createContext)({menuLevel:0}),ma=(0,k.createContext)({});
1var mi={"en-GB":"Back","nl-NL":"Terug","de-DE":"Zur\xfcck","sv-SE":"Tillbaka","no-NO":"Tilbake","en-CA":"Back","fr-CA":"Retour"},mo={"en-GB":"to","nl-NL":"naar","de-DE":"zu","sv-SE":"till","no-NO":"til","en-CA":"to","fr-CA":"\xe0"};let ms=w("[&>:is(button,a)]:flex","[&>:is(button,a)]:items-center","[&>:is(button,a)]:w-full","[&>:is(button,a)]:px-4 [&>:is(button,a)]:sm:px-6","[&>:is(button,a):hover]:underline"),ml=w("hover:underline","flex w-full items-center justify-between gap-4","px-4 sm:px-6","group"),mc=w("flex grow items-center gap-4 text-left","[&_svg]:shrink-0","[&_svg]:m-2","[&_svg]:relative",'[&:has(svg)::before]:content-[""]',"[&:has(svg)::before]:absolute","[&:has(svg)::before]:rounded-full","[&:has(svg)::before]:size-[2.25rem]","[&:has(svg)::before]:bg-[color:var(--other-menu-menu-inactive-fill)]","group-hover:[&:has(svg):before]:bg-[color:var(--other-menu-menu-inactive-fill-hover)]","[&_svg]:text-[color:var(--actions-fill-colors-action-icon-fill-default)]"),mu=w("flex grow items-center gap-4 text-left","before:h-8","before:w-1","before:shrink-0","before:rounded-full",'before:content-[""]',"hover:before:bg-[color:var(--actions-fill-colors-hover-element-fill)]"),md=e=>{let t;return t=e?.current?.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'),t?.[0]},mh=({className:e,style:t,testId:r="PanelNavGroup",analytics:n,children:a,title:i})=>{let o=(0,k.useRef)(null),s=(0,k.useRef)(null),{activeMenuLevel:l,setActiveMenuLevel:c}=(0,k.useContext)(mt),{menuLevel:u}=(0,k.useContext)(mn),{navParentTitle:d}=(0,k.useContext)(ma),[h,p]=(0,k.useState)(!1),f=(0,k.useId)(),m=er(),{prefersReducedMotion:g}=oM(),v=P("panel-nav-group",void 0,n);return(0,C.jsxs)("li",{className:e,style:t,"data-testid":r,ref:o,...v,children:[(0,C.jsxs)("button",{className:ml,"aria-expanded":h,"aria-controls":f,onClick:()=>{c(e=>e+1),p(!0),setTimeout(()=>md(s)?.focus(),300*!g)},type:"button",children:[(0,C.jsx)("span",{className:u>0?mu:mc,children:i}),(0,C.jsx)(ed,{className:"shrink-0 text-[color:var(--actions-fill-colors-action-icon-fill-subtle)]"})]}),(0,C.jsxs)("div",{className:w("absolute left-full top-0 w-full",{invisible:!h,visible:l===u+1}),ref:s,children:[(0,C.jsxs)("div",{className:"flex flex-col gap-6 p-4 sm:px-6",children:[(0,C.jsxs)("button",{type:"button",className:"ds-link",onClick:()=>{c(e=>e-1),p(!1),setTimeout(()=>md(o)?.focus(),0)},children:[(0,C.jsx)(ec,{size:"sm"}),mi[m],(0,C.jsxs)("span",{className:"sr-only",children:[mo[m]," ",d]})]}),(0,C.jsxs)("div",{className:"flex flex-col gap-2 pl-5",children:[(0,C.jsx)("span",{className:"ds-heading-5 [&_svg]:hidden",children:i}),(0,C.jsx)(sJ,{})]})]}),(0,C.jsx)("ul",{className:w(ms,"flex flex-col gap-2 pb-4"),id:f,children:(0,C.jsx)(ma.Provider,{value:{navParentTitle:i},children:(0,C.jsx)(mn.Provider,{value:{menuLevel:u+1},children:a})})})]})]})},mp=({style:e,className:t,testId:r="PanelNavGroupItem",analytics:n,children:a,selected:i})=>{let o=w(ms,"[&>a]:gap-4","[&>a:before]:h-8","[&>a:before]:w-1","[&>a:before]:shrink-0","[&>a:before]:rounded-full",'[&>a:before]:content-[""]',{"[&>a:hover:before]:bg-[color:var(--actions-fill-colors-hover-element-fill)]":!i,"font-bold":i,"[&>a:before]:bg-[color:var(--actions-fill-colors-action-icon-fill-default)]":i,"[&>a:hover:before]:bg-[color:var(--actions-fill-colors-action-icon-fill-hover)]":i},t),s=P("panel-nav-group-item",void 0,n);return(0,C.jsx)("li",{style:e,className:o,"data-testid":r,...s,children:a})},mf=({style:e,testId:t="PanelNavItem",className:r,children:n,analytics:a})=>{let i=P("panel-nav-item",void 0,a),o=w(ms,"[&>:is(button,a)]:gap-1","[&>:is(button,a)]:py-5","[&>:is(button,a)]:ds-link [&>:is(button,a)]:w-full");return(0,C.jsx)("li",{className:w("list-none","[&:not(:first-of-type)]:border-t-[length:var(--generic-other-divider-height)]","[&:not(:first-of-type)]:border-[color:var(--other-divider-divider-color)]",r),style:e,"data-testid":t,...i,children:(0,C.jsx)("div",{className:o,children:n})})},mm=({className:e,style:t,testId:r="PanelNavSection",analytics:n,children:a,title:i,defaultOpen:o=!1})=>{let[s,l]=(0,k.useState)(o),c=(0,k.useId)(),u=w("flex w-full items-center justify-between","ds-link px-4 py-5 sm:px-6"),d=P("panel-nav-section",void 0,n);return(0,C.jsxs)("li",{className:w("[&:not(:first-of-type)]:border-t-[length:var(--generic-other-divider-height)]","[&:not(:first-of-type)]:border-[color:var(--other-divider-divider-color)]",e),style:t,"data-testid":r,...d,children:[(0,C.jsxs)("button",{className:u,"aria-expanded":s,"aria-controls":c,onClick:()=>{l(e=>!e)},type:"button",children:[(0,C.jsx)("span",{className:"flex flex-grow gap-1",children:i}),(0,C.jsx)($,{className:w("ml-3 shrink-0 transition-transform","text-[color:var(--actions-fill-colors-action-icon-fill-default)]",{"-rotate-180":s})})]}),(0,C.jsx)("ul",{id:c,className:w("flex flex-col gap-4 pb-4",{hidden:!s}),children:(0,C.jsx)(ma.Provider,{value:{navParentTitle:i},children:a})})]})},mg=({style:e,className:t,testId:r="PanelNavSectionItem",analytics:n,children:a,selected:i})=>{let o=w(ms,"[&>:is(a,button)]:gap-4","[&_svg]:shrink-0","[&_svg]:m-2","[&_svg]:relative",'[&>:is(a,button):has(svg):before]:absolute [&>:is(a,button):has(svg):before]:size-[2.25rem] [&>:is(a,button):has(svg):before]:rounded-full [&>:is(a,button):has(svg):before]:content-[""]',{"[&>:is(a,button):has(svg):before]:bg-[color:var(--other-menu-menu-inactive-fill)]":!i,"[&>:is(a,button):has(svg):hover:before]:bg-[color:var(--other-menu-menu-inactive-fill-hover)]":!i,"[&_svg]:text-[color:var(--actions-fill-colors-action-icon-fill-default)]":!i,"font-bold":i,"[&>:is(a,button):has(svg):before]:bg-[color:var(--actions-fill-colors-action-icon-fill-default)]":i,"[&>:is(a,button):has(svg):hover:before]:bg-[color:var(--actions-fill-colors-action-icon-fill-hover)]":i,"[&_svg]:text-[color:var(--actions-fill-colors-action-fill-icon-invert)]":i},t),s=P("panel-nav-section-item",void 0,n);return(0,C.jsx)("li",{style:e,className:o,"data-testid":r,...s,children:a})};function mv(e){let t=k.useRef({value:e,previous:e});return k.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(0,Object.defineProperty)(mv,"name",{value:"usePrevious",configurable:!0});var my=Object.defineProperty,mb=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),mx=k.forwardRef(my(function(e,t){return(0,C.jsx)(tl.span,{...e,ref:t,style:{...mb,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0})),mT=Object.defineProperty,mE=(e,t)=>mT(e,"name",{value:t,configurable:!0}),mC="NavigationMenu",[mw,mk,mS]=th(mC),[mI,mP,m_]=th(mC),[mR,mA]=eU(mC,[mS,m_]),[mN,mD]=mR(mC),[mO,mj]=mR(mC),mL=k.forwardRef(mE(function(e,t){let{__scopeNavigationMenu:r,value:n,onValueChange:a,defaultValue:i,delayDuration:o=200,skipDelayDuration:s=300,orientation:l="horizontal",dir:c,...u}=e,[d,h]=k.useState(null),p=eF(t,h),f=tw(c),m=k.useRef(0),g=k.useRef(0),v=k.useRef(0),[y,b]=k.useState(!0),[x,T]=eX({prop:n,onChange:mE(e=>{let t=s>0;""!==e?(window.clearTimeout(v.current),t&&b(!1)):(window.clearTimeout(v.current),v.current=window.setTimeout(()=>b(!0),s)),a?.(e)}
1,"onChange"),defaultProp:i??"",caller:mC}),E=k.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>T(""),150)},[T]),w=k.useCallback(e=>{window.clearTimeout(g.current),T(e)},[T]),S=k.useCallback(e=>{x===e?window.clearTimeout(g.current):m.current=window.setTimeout(()=>{window.clearTimeout(g.current),T(e)},o)},[x,T,o]);return k.useEffect(()=>()=>{window.clearTimeout(m.current),window.clearTimeout(g.current),window.clearTimeout(v.current)},[]),(0,C.jsx)(mM,{scope:r,isRootMenu:!0,value:x,dir:f,orientation:l,rootNavigationMenu:d,onTriggerEnter:e=>{window.clearTimeout(m.current),y?S(e):w(e)},onTriggerLeave:()=>{window.clearTimeout(m.current),E()},onContentEnter:()=>window.clearTimeout(g.current),onContentLeave:E,onItemSelect:e=>{T(t=>t===e?"":e)},onItemDismiss:()=>T(""),children:(0,C.jsx)(tl.nav,{"aria-label":"Main","data-orientation":l,dir:f,...u,ref:p})})},"NavigationMenu")),mM=mE(e=>{let{scope:t,isRootMenu:r,rootNavigationMenu:n,dir:a,orientation:i,children:o,value:s,onItemSelect:l,onItemDismiss:c,onTriggerEnter:u,onTriggerLeave:d,onContentEnter:h,onContentLeave:p}=e,[f,m]=k.useState(null),[g,v]=k.useState(new Map),[y,b]=k.useState(null);return(0,C.jsx)(mN,{scope:t,isRootMenu:r,rootNavigationMenu:n,value:s,previousValue:mv(s),baseId:nV(),dir:a,orientation:i,viewport:f,onViewportChange:m,indicatorTrack:y,onIndicatorTrackChange:b,onTriggerEnter:tk(u),onTriggerLeave:tk(d),onContentEnter:tk(h),onContentLeave:tk(p),onItemSelect:tk(l),onItemDismiss:tk(c),onViewportContentChange:k.useCallback((e,t)=>{v(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:k.useCallback(e=>{v(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,C.jsx)(mw.Provider,{scope:t,children:(0,C.jsx)(mO,{scope:t,items:g,children:o})})})},"NavigationMenuProvider"),mH=k.forwardRef(mE(function(e,t){let{__scopeNavigationMenu:r,...n}=e,a=mD("NavigationMenuList",r),i=(0,C.jsx)(tl.ul,{"data-orientation":a.orientation,...n,ref:t});return(0,C.jsx)(tl.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,C.jsx)(mw.Slot,{scope:r,children:a.isRootMenu?(0,C.jsx)(mZ,{asChild:!0,children:i}):i})})},"NavigationMenuList")),[mF,mq]=mR("NavigationMenuItem"),mB=k.forwardRef(mE(function(e,t){let{__scopeNavigationMenu:r,value:n,...a}=e,i=nV(),o=k.useRef(null),s=k.useRef(null),l=k.useRef(null),c=k.useRef(()=>{}),u=k.useRef(!1),d=k.useCallback((e="start")=>{if(o.current){c.current();let t=m1(o.current);t.length&&m0("start"===e?t:t.reverse())}},[]),h=k.useCallback(()=>{if(o.current){let e=m1(o.current);e.length&&(c.current=m2(e))}},[]);return(0,C.jsx)(mF,{scope:r,value:n||i||"LEGACY_REACT_AUTO_VALUE",triggerRef:s,contentRef:o,focusProxyRef:l,wasEscapeCloseRef:u,onEntryKeyDown:d,onFocusProxyEnter:d,onRootContentClose:h,onContentFocusOutside:h,children:(0,C.jsx)(tl.li,{...a,ref:t})})},"NavigationMenuItem")),mU="NavigationMenuTrigger",mW=k.forwardRef(mE(function(e,t){let{__scopeNavigationMenu:r,disabled:n,...a}=e,i=mD(mU,e.__scopeNavigationMenu),o=mq(mU,e.__scopeNavigationMenu),s=k.useRef(null),l=eF(s,o.triggerRef,t),c=m5(i.baseId,o.value),u=m4(i.baseId,o.value),d=k.useRef(!1),h=k.useRef(!1),p=o.value===i.value;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(mw.ItemSlot,{scope:r,value:o.value,children:(0,C.jsx)(mJ,{asChild:!0,children:(0,C.jsx)(tl.button,{id:c,disabled:n,"data-disabled":n?"":void 0,"data-state":m3(p),"aria-expanded":p,"aria-controls":p?u:void 0,...a,ref:l,onPointerEnter:eN(e.onPointerEnter,()=>{h.current=!1,o.wasEscapeCloseRef.current=!1}),onPointerMove:eN(e.onPointerMove,m8(()=>{n||h.current||o.wasEscapeCloseRef.current||d.current||(i.onTriggerEnter(o.value),d.current=!0)})),onPointerLeave:eN(e.onPointerLeave,m8(()=>{n||(i.onTriggerLeave(),d.current=!1)})),onClick:eN(e.onClick,()=>{i.onItemSelect(o.value),h.current=p}),onKeyDown:eN(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===i.dir?"ArrowLeft":"ArrowRight"}[i.orientation];p&&e.key===t&&(o.onEntryKeyDown(),e.preventDefault())})})})}),p&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(mx,{"aria-hidden":!0,tabIndex:0,ref:o.focusProxyRef,onFocus:e=>
1{let t=o.contentRef.current,r=e.relatedTarget,n=r===s.current,a=t?.contains(r);(n||!a)&&o.onFocusProxyEnter(n?"start":"end")}}),i.viewport&&(0,C.jsx)("span",{"aria-owns":u})]})]})},"NavigationMenuTrigger")),mV="navigationMenu.linkSelect",mG=k.forwardRef(mE(function(e,t){let{__scopeNavigationMenu:r,active:n,onSelect:a,...i}=e;return(0,C.jsx)(mJ,{asChild:!0,children:(0,C.jsx)(tl.a,{"data-active":n?"":void 0,"aria-current":n?"page":void 0,...i,ref:t,onClick:eN(e.onClick,e=>{let t=e.target,r=new CustomEvent(mV,{bubbles:!0,cancelable:!0});t.addEventListener(mV,e=>a?.(e),{once:!0}),tc(t,r),r.defaultPrevented||e.metaKey||tc(t,new CustomEvent(mQ,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})})},"NavigationMenuLink")),mz="NavigationMenuContent",mY=k.forwardRef(mE(function(e,t){let{forceMount:r,...n}=e,a=mD(mz,e.__scopeNavigationMenu),i=mq(mz,e.__scopeNavigationMenu),o=eF(i.contentRef,t),s=i.value===a.value,l={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...n};return a.viewport?(0,C.jsx)(m$,{forceMount:r,...l,ref:o}):(0,C.jsx)(nj,{present:r||s,children:(0,C.jsx)(mK,{"data-state":m3(s),...l,ref:o,onPointerEnter:eN(e.onPointerEnter,a.onContentEnter),onPointerLeave:eN(e.onPointerLeave,m8(a.onContentLeave)),style:{pointerEvents:!s&&a.isRootMenu?"none":void 0,...l.style}})})},"NavigationMenuContent")),m$=k.forwardRef(mE(function(e,t){let{onViewportContentChange:r,onViewportContentRemove:n}=mD(mz,e.__scopeNavigationMenu);return eV(()=>{r(e.value,{ref:t,...e})},[e,t,r]),eV(()=>()=>n(e.value),[e.value,n]),null},"ViewportContentMounter")),mQ="navigationMenu.rootContentDismiss",mK=k.forwardRef(mE(function(e,t){let{__scopeNavigationMenu:r,value:n,triggerRef:a,focusProxyRef:i,wasEscapeCloseRef:o,onRootContentClose:s,onContentFocusOutside:l,...c}=e,u=mD(mz,r),d=k.useRef(null),h=eF(d,t),p=m5(u.baseId,n),f=m4(u.baseId,n),m=mk(r),g=k.useRef(null),{onItemDismiss:v}=u;k.useEffect(()=>{let e=d.current;if(u.isRootMenu&&e){let t=mE(()=>{v(),s(),e.contains(document.activeElement)&&a.current?.focus()},"handleClose");return e.addEventListener(mQ,t),()=>e.removeEventListener(mQ,t)}},[u.isRootMenu,e.value,a,v,s]);let y=k.useMemo(()=>{let e=m().map(e=>e.value);"rtl"===u.dir&&e.reverse();let t=e.indexOf(u.value),r=e.indexOf(u.previousValue),a=n===u.value,i=r===e.indexOf(n);if(!a&&!i)return g.current;let o=(()=>{if(t!==r){if(a&&-1!==r)return t>r?"from-end":"from-start";if(i&&-1!==t)return t>r?"to-start":"to-end"}return null})();return g.current=o,o},[u.previousValue,u.value,u.dir,m,n]);return(0,C.jsx)(mZ,{asChild:!0,children:(0,C.jsx)(tR,{id:f,"aria-labelledby":p,"data-motion":y,"data-orientation":u.orientation,...c,ref:h,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(mQ,{bubbles:!0,cancelable:!0});d.current?.dispatchEvent(e)},onFocusOutside:eN(e.onFocusOutside,e=>{l();let t=e.target;u.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:eN(e.onPointerDownOutside,e=>{let t=e.target,r=m().some(e=>e.ref.current?.contains(t)),n=u.isRootMenu&&u.viewport?.contains(t);(r||n||!u.isRootMenu)&&e.preventDefault()}),onKeyDown:eN(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=m1(e.currentTarget),r=document.activeElement,n=t.findIndex(e=>e===r);m0(e.shiftKey?t.slice(0,n).reverse():t.slice(n+1,t.length))?e.preventDefault():i.current?.focus()}}),onEscapeKeyDown:eN(e.onEscapeKeyDown,e=>{o.current=!0})})})},"NavigationMenuContentImpl")),mZ=k.forwardRef(mE(function(e,t){let{__scopeNavigationMenu:r,...n}=e,a=mD("FocusGroup",r);return(0,C.jsx)(mI.Provider,{scope:r,children:(0,C.jsx)(mI.Slot,{scope:r,children:(0,C.jsx)(tl.div,{dir:a.dir,...n,ref:t})})})},"FocusGroup")),mX=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],mJ=k.forwardRef(mE(function(e,t){let{__scopeNavigationMenu:r,...n}=e,a=mP(r),i=mD("FocusGroupItem",r);return(0,C.jsx)(mI.ItemSlot,{scope:r,children:(0,C.jsx)(tl.button,{...n,ref:t,onKeyDown:eN(e.onKeyDown,e=>
1{if(["Home","End",...mX].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),mX.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>m0(t)),e.preventDefault()}})})})},"FocusGroupItem"));function m1(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:mE(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}function m0(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function m2(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}function m3(e){return e?"open":"closed"}function m5(e,t){return`${e}-trigger-${t}`}function m4(e,t){return`${e}-content-${t}`}function m8(e){return t=>"mouse"===t.pointerType?e(t):void 0}mE(m1,"getTabbableCandidates"),mE(m0,"focusFirst"),mE(m2,"removeFromTabOrder"),mE(function(e,t){let r=tk(t);eV(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])},"useResizeObserver"),mE(m3,"getOpenState"),mE(m5,"makeTriggerId"),mE(m4,"makeContentId"),mE(m8,"whenMouse");let m6=(0,k.createContext)({openDropdownId:""}),m9=({children:e,style:t,testId:r="PrimaryNav",className:n,analytics:a})=>{let i=P("primary-nav",void 0,a),[o,s]=(0,k.useState)(""),l=(0,k.useMemo)(()=>({openDropdownId:o}),[o]);return(0,C.jsx)(m6.Provider,{value:l,children:(0,C.jsx)(mL,{value:o,onValueChange:s,className:w("flex h-full",n),style:t,"data-testid":r,...i,children:(0,C.jsx)(mH,{className:"flex h-full gap-8",children:e})})})},m7=w("text-[color:var(--actions-text-colors-action-text-fill-inverted)]","font-[var(--ds-core--link--font-weight)]","leading-[var(--typography-line-height-body-compact-line-height)]","no-underline hover:underline","text-nowrap"),ge={sm:"w-[var(--widths-width---s)]",md:"w-[var(--widths-width---m)]",lg:"w-[var(--widths-width---l)]"},gt=({className:e,style:t,testId:r="PrimaryNavDropdown",analytics:n,title:a,width:i="md",children:o})=>{let s=w("shadow-[0px_var(--actions-effects-action-shadow-y-offset)_var(--generic-effects-action-shadow-blur)_0px_var(--actions-effects-shadow-color)]","ds-body-text","bg-[color:var(--generic-fill-colors-fill-default)]","text-[color:var(--generic-text-color-text-color-default)]","overflow-hidden rounded-ds","border border-[color:var(--other-divider-divider-color)]","focus-visible:shadow-none"),l=P("primary-nav-dropdown",void 0,n),c=(0,k.useId)(),u=`${c}-sub-menu`,{openDropdownId:d}=(0,k.useContext)(m6),h=d===c,p=w("absolute",ge[i],"z-ds-popover","pt-1.5","focus-visible:shadow-none"),f=(0,C.jsx)(mH,{className:s,children:o});return(0,C.jsxs)(mB,{value:c,className:w("h-full list-none",e),style:t,"data-testid":r,...l,children:[(0,C.jsxs)(mW,{"aria-controls":u,className:w(m7,"inline-flex h-full flex-nowrap items-center","gap-1","[&>svg]:data-[state=open]:-rotate-180"),onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),children:[a,(0,C.jsx)($,{className:"shrink-0 self-center transition-transform"})]}),h?(0,C.jsx)(mY,{id:u,className:p,onPointerLeave:e=>e.preventDefault(),children:f}):(0,C.jsx)("div",{id:u,"data-state":"closed",className:p,hidden:!0,children:f})]})},gr=({className:e,testId:t,children:r,...n})=>{let a=w("[&:not(:last-child)]:border-b",e);return(0,C.jsx)(mB,{className:a,"data-testid":t,...n,children:r})},gn=w("w-full px-4 py-3","relative","flex items-center gap-x-3","group","cursor-pointer","focus-visible:shadow-none"),ga=w("focus:outline-0 focus-visible:outline-0",'focus-visible:[&:not(:hover)]:after:content-[""]',"focus-visible:after:absolute focus-visible:after:inset-0","focus-visible:after:pointer-events-none","focus-visible:after:rounded-ds","focus-visible:[&:not(:hover)]:after:border-2","focus-visible:after:border-[color:var(--actions-stroke-colors-action-stroke-color-focus)]"),gi=w("hover:bg-ds-actions-fill-color-active-hover hover:active:bg-ds-actions-fill-color-active","hover:after:!border-none hover:after:!content-none"),go=w(gn,ga,gi),gs=({style:e,className:t,testId:r="PrimaryNavDropdownItem",analytics:n,children:a})=>{let i=P("primary-nav-dropdown-item",void 0,n);return(0,C.jsx)(gr,{style:e,className:t,testId:r,...i,children:(0,C.jsx)(mG,{asChild:!0,className:go,children:a})})},gl=({style:e,testId:t="PrimaryNavItem",className:r,children:n,analytics:a})=>{let i=P("primary-nav-item",void 0,a);return(0,C.jsx)(mB,{className:w(m7,"relative","flex","list-none",r),style:e,"data-testid":t,...i,children:(0,C.jsx)(mG,{className:"flex h-full items-center",asChild:!0,children:n})})},gc=({children:e,accessibleLabel:t,style:r,testId:n="SecondaryNav",className:a,analytics:i})=>{let o=P("secondary-nav",void 0,i);return(0,C.jsx)("nav",{"aria-label":t,className:a,style:r,"data-testid":n,...o,children:(0,C.jsx)("ul",{className:f5,children:e})})},gu=({children:e,style:t,testId:r="SecondaryNavItem",className:n,analytics:a})=>{let i=P("secondary-nav-item",void 0,a);return(0,C.jsx)("li",{className:w("flex h-full gap-2","[&_svg]:shrink-0","[&>:is(a:hover,button:hover)]:underline","[&>:is(button,a)]:flex [&>:is(button,a)]:items-center [&>:is(button,a)]:gap-2","text-nowrap text-[color:var(--actions-text-colors-action-text-fill-inverted)]",n),style:t,"data-testid":r,...i,children:e})},gd=({title:e,description:t,action:r,link:n,image:a,label:i,className:o,style:s,testId:l="HeroPromoCard",analytics:c})=>{let u=w("h-[8.375rem]","min-w-[80vw] sm:min-w-0","@container",o),d=w("w-32","@[27rem]:w-[13.75rem]","@[34.5rem]:w-[17.5rem]");return(0,C.jsxs)(o$,{action:r,className:u,style:s,link:n,orientation:"horizontal",testId:l,analytics:c,children:[(0,C.jsx)(oe,{className:"line-clamp-2",children:e}),(0,C.jsx)(oG,{image:a,label:i,width:"none",className:d}),(0,C.jsx)(eI,{children:(0,C.jsx)("div",{className:"line-clamp-2",children:t})})]})},gh={active:!0,breakpoints:{},announceChanges:!1,carouselAriaLabel:"Carousel",carouselAriaRoleDescription:"carousel",carouselRole:"region",previousButtonAriaLabel:"Go to previous Slide",nextButtonAriaLabel:"Go to next Slide",slideAriaRoleDescription:"slide",slideRole:"group",rootNode:null,slideAriaLabel:(e,t,r,n,a,i)=>{let o=t+1,s=`(group ${a+1}
1 of ${i})`;return e?t===r?`Slide ${o} of ${n} ${s}`:`Slides ${o}-${r+1} of ${n} ${s}`:`Slide ${o} of ${n}`},dotButtonAriaLabel:(e,t,r,n,a,i)=>{let o=t+1,s=`(group ${a+1} of ${i})`;return e?t===r?`Go to slide ${o} of ${n} ${s}`:`Go to slides ${o}-${r+1} of ${n} ${s}`:`Go to slide ${o} of ${n}`},liveRegionContent:(e,t,r,n,a,i)=>{let o=t+1,s=`(group ${a+1} of ${i})`;return e?t===r?`Showing slide ${o} of ${n} ${s}`:`Showing slides ${o}-${r+1} of ${n} ${s}`:`Showing slide ${o} of ${n}`}};function gp(e){let t=new Map,r=e||null;function n(e,n){!r||n&&(t.set(e,n),r.setAttribute(e,n))}function a(e){r&&(t.delete(e),r.removeAttribute(e))}return{connect:function(e){r=e},set:n,toggle:function(e,t){if(r){if(!t)return a(e);n(e,t.toString())}},remove:a,removeAll:function(){r&&(t.forEach((e,t)=>a(t)),t.clear())}}}function gf(e){return"string"==typeof e}function gm(e,t){return gf(t)?e.querySelector(t):t}function gg(e,t){let r=gf(t)?e.querySelectorAll(t):t;return r?Array.from(r):[]}function gv(e={}){let t,r,n,a,i,o,s,l=["a[href]","area[href]",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","summary","details","object","embed","audio[controls]","video[controls]",'[tabindex]:not([tabindex="-1"])','[contenteditable]:not([contenteditable="false"])'].map(e=>`${e}:not([hidden])`).join(","),c=!1,u=!1,d=null,h=null,p=[],f=!1,m=null,g=[],v=[],y=[];function b(){return!c&&!u&&t.active}function x(){if(null===m||m<0)return;let{snapBySlide:e}=r.internalEngine().scrollSnapList;k([e[m]]),m=null}function T(e){let t=e.previousSnap(),r=e.selectedSnap(),n=[r];r!==t&&n.push(t),k(n),w(n),C(),E()}function E(){if(!b()||!d||!f||!t.liveRegionContent)return;let e=S(r.selectedSnap(),t.liveRegionContent);e&&(d.innerHTML=e)}function C(){let e=!r.canGoToPrev(),t=!r.canGoToNext();i.toggle("aria-disabled",e),o.toggle("aria-disabled",t)}function w(e=p){e.forEach(e=>{let t=e===r.selectedSnap(),n=v[e];n&&n.toggle("aria-current",t)})}function k(e=p){let{slidesBySnap:t}=r.internalEngine().scrollSnapList;e.forEach(e=>{let n=t[e],a=e===r.selectedSnap();n.forEach(e=>{let t=r.slideNodes()[e].contains(document.activeElement),n=y[e],i=g[e];n.toggle("aria-hidden",!a&&!t),i.forEach(e=>{let{focusAttributes:t,prevTabIndex:r}=e;t.toggle("tabindex",a?r:"-1")})})})}function S(e,t){let{slidesBySnap:n}=r.internalEngine().scrollSnapList,a=n[e];if(!t||!p.length||!a)return"";let i=n.some(e=>e.length>1),o=r.slideNodes().length,s=p.length;return t(i,a[0],a[a.length-1],o,e,s)}return{name:"accessibility",options:e,init:function(d,E){r=d;let{mergeOptions:C,optionsAtMedia:w}=E,I=C(gh,gv.globalOptions),P=C(I,e);if(u=!1,t=w(P),c=r.internalEngine().isSsr,b()){var _,R;let e;a=gp(),i=gp(),o=gp(),s=gp(),v=r.snapList().map(()=>gp()),y=r.slideNodes().map(()=>gp()),_=r,R=t.rootNode,e=_.rootNode(),n=R&&R(e)||e,p=r.snapList().map((e,t)=>t),g=r.slideNodes().map(()=>[]),f=t.announceChanges,function(){if(!b())return;let{carouselRole:e,carouselAriaLabel:n,carouselAriaRoleDescription:i}=t;h&&h.disconnect(),a.connect(r.rootNode()),a.set("role",e),a.set("aria-label",n),a.set("aria-roledescription",i)}(),function(){if(!b())return;let{scrollSnapList:e,eventStore:n}=r.internalEngine(),{slideRole:a,slideAriaRoleDescription:i,slideAriaLabel:o}=t,s={capture:!0};r.slideNodes().forEach((t,c)=>{let u=S(e.snapBySlide[c],o),d=y[c],h=gg(t,l);d.connect(t),d.set("role",a),d.set("aria-roledescription",i),d.set("aria-label",u),n.add(t,"focusout",x,s),n.add(t,"focusin",()=>{m=c;let{snapBySlide:e}=r.internalEngine().scrollSnapList;k([e[m]])},s),g[c]=h.map(e=>({focusAttributes:gp(e),prevTabIndex:e.getAttribute("tabindex")}))}),k()}(),r.on("select",T)}},destroy:function(){b()&&(r.off("select",T),a.removeAll(),i.removeAll(),o.removeAll(),s.removeAll(),y.forEach(e=>e.removeAll()),v.forEach(e=>e.removeAll()),g.flat().forEach(e=>{let{focusAttributes:t,prevTabIndex:r}=e;t.toggle("tabindex",r)}))},setupPrevAndNextButtons:function(e,r){if(!b())return;let{previousButtonAriaLabel:a,nextButtonAriaLabel:s}=t;i.connect(gm(n,e)),i.set("aria-label",a),o.connect(gm(n,r)),o.set("aria-label",s),C()},setupDotButtons:function e(r){if(!b())return;let{dotButtonAriaLabel:a}=t,i=gm(n,r),o=gg(i,null==i?void 0:i.children);v=o.map(()=>gp()),o.forEach((e,t)=>{let r=S(t,a),n=v[t];n.connect(e),n.set("aria-label",r)}),i&&(h&&h.disconnect(),(h=new MutationObserver(()=>e(r))).observe(i,{childList:!0})),w()}
1,setupLiveRegion:function(e){b()&&(d=gm(n,e),s.connect(d),s.set("aria-live","polite"),s.set("aria-atomic","true"),E())},setUpdateLiveRegion:function(e){f=e,E()},updateSlides:k,updateDotButtons:w,updatePrevAndNextButtons:C,updateLiveRegion:E}}function gy(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function gb(e,t){let r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&r.every(r=>{let n=e[r],a=t[r];return"function"==typeof n?`${n}`==`${a}`:gy(n)&&gy(a)?gb(n,a):n===a})}function gx(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function gT(e){return t=>e(gE(t)?t:t.get())}function gE(e){return"number"==typeof e}function gC(e){return"string"==typeof e}function gw(e){return"[object Object]"===Object.prototype.toString.call(e)}function gk(e){return Math.abs(e)}function gS(e){return Math.sign(e)}gv.globalOptions=void 0;function gI(e){return gA(e).map(Number)}function gP(e){return e[g_(e)]}function g_(e){return Math.max(0,e.length-1)}function gR(e,t=0){return Array.from(Array(e-t+1),(e,r)=>t+r)}function gA(e){return Object.keys(e)}function gN(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function gD(){let e=[],t={add:function(r,n,a,i={passive:!0}){let o;return"addEventListener"in r?(r.addEventListener(n,a,i),o=()=>r.removeEventListener(n,a,i)):(r.addListener(a),o=()=>r.removeListener(a)),e.push(o),t},clear:function(){e=e.filter(e=>e())}};return t}function gO(e=0,t=0){let r=gk(e-t);function n(t){return t<e}function a(e){return e>t}function i(e){return n(e)||a(e)}return{length:r,max:t,min:e,clamp:gT(function(r){return i(r)?n(r)?e:t:r}),pastAnyBound:gT(i),pastMaxBound:gT(a),pastMinBound:gT(n),removeOffset:gT(function(e){return r?e-r*Math.ceil((e-t)/r):e})}}function gj(e){let t=e||0;function r(e){t+=e}function n(e){return t+e}return{get:function(){return t},set:gT(function(e){t=e}),add:gT(r),subtract:gT(function(e){r(-e)}),plus:gT(n),minus:gT(function(e){return n(-e)})}}function gL(e,t){let r,n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},a=t.style,i=!1;return{clear:function(){a.transform="",t.getAttribute("style")||t.removeAttribute("style")},to:gT(function(t){if(i)return;let o=Math.round(100*e.direction(t))/100;o!==r&&(a.transform=n(o),r=o)}),toggleActive:function(e){i=!e}}}let gM={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,inViewMargin:"0px",breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startSnap:0,active:!0,draggable:!0,resize:!0,focus:!0,slideChanges:!0};function gH(e,t,r){let n,a,i,o,s,l,c=!e,u=function(){let e;function t(e,t){return function e(t,r){return[t,r].reduce((t,r)=>(gA(r).forEach(n=>{let a=t[n],i=r[n],o=gw(a)&&gw(i);t[n]=o?e(a,i):i}),t),{})}(e,t||{})}return{init:function(t){t&&(e=t)},mergeOptions:t,optionsAtMedia:function(r){if(!e)return r;let n=r.breakpoints||{},a=gA(n).filter(t=>e.matchMedia(t).matches).map(e=>n[e]).reduce((e,r)=>t(e,r),{});return t(r,a)},optionsMediaQueries:function(t){return e?t.map(e=>gA(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia):[]}}}(),d=(l=[],{init:function(e,t){return l=t,t.reduce((t,r)=>(r.init(e,u),Object.assign(Object.assign({},t),{[r.name]:r})),{})},destroy:function(){l=l.filter(e=>e.destroy())}}),h=gD(),p=function(){let e,t={};function r(e,r){return t=Object.assign(Object.assign({},t),{[e]:r(t[e]||[])}),n}let n={init:function(t){e=t},clear:function(){t={}},createEvent:function(r,n){return{api:e,emit:()=>(function(r,n){let a={api:e,type:r,detail:n};return(t[r]||[]).every(t=>!1!==t(e,a))})(r,n)}},on:function(e,t){return r(e,e=>e.includes(t)?e:[...e,t]),n},off:function(e,t){return r(e,e=>e.filter(e=>e!==t)),n}};return n}(),{mergeOptions:f,optionsAtMedia:m,optionsMediaQueries:g}=u,{on:v,off:y,createEvent:b}=p,x=!1,T=f(gM,gH.globalOptions),E=f(T),C=[],w={};function k(e){return S(f(E,e),o,s,!0)}function S(e,t,r,n){let o=a.getRects(t,r,n),s=function(e,t,r,n,a,i,o,s){var l,c;let u,d,h,p,f,m,g,{align:v,axis:y,direction:b,startSnap:x,loop:T,duration:E,dragFree:C,dragThreshold:w,inViewThreshold:k,inViewMargin:S,slidesToScroll:I,skipSnaps:P,containScroll:_,draggable:R,resize:A,slideChanges:N,focus:D}=n,O=2*!s,j=(d="rtl"===b,p=(h="y"===y)||!d?1:-1,f=h?"top":d?"right":"left",m=h?"bottom":d?"left":"right",{scroll:h?"y":"x",cross:h?"x":"y",startEdge:f,endEdge:m,nativeScroll:h?"scrollTop":"scrollLeft",getSize:function(e){let{height:t,width:r}=e;return h?t:r},direction:gT(function(e){return e*p})}),{containerRect:L,slideRects:M}=o,H=j.getSize(L),F={measure:function(e){return e/100*H}},q=(l=v,c=H,u={start:function(){return 0},center:function(e){return(c-e)/2},end:function(e){return c-e}},{measure:function(e,t){return gC(l)?u[l](e):l(c,e,t)}}),B=!T&&!!_,{slideSizes:U,slideSizesWithGaps:W,startGap:V,endGap:G}=function(e,t,r,n,a,i){let{ownerWindow:o}=i,{getSize:s,startEdge:l,endEdge:c}=e,u=r[0]&&a&&o,d=function(){if(!u)return 0;let e=r[0];return gk(t[l]-e[l])}(),h=u?parseFloat(o.getComputedStyle(gP(n)).getPropertyValue(`margin-${c}`)):0,p=r.map(s),f=r.map((e,t,r)=>{let n=t===g_(r);return t?n?p[t]+h:r[t+1][l]-e[l]:p[t]+d}).map(gk);return{slideSizes:p,slideSizesWithGaps:f,startGap:d,endGap:h}}(j,L,M,r,T||!!_,a),z=function(e,t,r,n,a,i,o,s,l){let{startEdge:c,endEdge:u,direction:d}=e,h=gE(r);return{groupSlides:function(e){return h?gI(e).filter(e=>e%r==0).map(t=>e.slice(t,t+r)):e.length?gI(e).reduce((r,h,p)=>{let f=gP(r)||0,m=h===g_(e),g=a[c]-i[f][c],v=a[c]-i[h][u],y=n||0!==f?0:d(o),b=gk(v-(!n&&m?d(s):0)-(g+y));return p&&b>t+l&&r.push(h),m&&r.push(e.length),r},[]).map((t,r,n)=>{let a=Math.max(n[r-1]||0);return e.slice(a,t)}):[]}}}(j,H,I,T,L,M,V,G,O),{snaps:Y,snapsAligned:$}=function(e,t,r,n,a){let{startEdge:i,endEdge:o}=e,{groupSlides:s}=a,l=s(n).map(e=>gP(e)[o]-e[0][i]).map(gk).map(t.measure),c=n.map(e=>r[i]-e[i]).map(e=>-gk(e)),u=s(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:u}}(j,q,L,M,z),Q=-gP(Y)+gP(W),{snapsContained:K,scrollContainLimit:Z}=function(e,t,r,n,a){let i,o,s=gO(-t+e,0),l=r.map((e,t)=>{let{min:n,max:a}=s,i=s.clamp(e),o=t===g_(r);return t?o||u(n,i)?n:u(a,i)?a:i:a}).map(e=>parseFloat(e.toFixed(3))),c=(i=l[0],o=gP(l),gO(l.lastIndexOf(i),l.indexOf(o)+1));function u(e,t){return!!a&&1>=gk(e-t)}return{snapsContained:function(){if(t<=e+a)return[s.max];if("keepSnaps"===n)return l;let{min:r,max:i}=c;return l.slice(r,i)}(),scrollContainLimit:c}}(H,Q,$,_,O),X=B?K:$,{limit:J}=(g=X[0],{limit:gO(T?g-Q:gP(X),g)}),ee=function e(t,r,n){let{clamp:a}=gO(0,t),i=t+1,o=s(r);function s(e){return n?gk((i+e)%i):a(e)}function l(){return e(t,o,n)}let c={get:function(){return o}
1,set:function(e){return o=s(e),c},add:function(e){return l().set(o+e)},clone:l};return c}(g_(X),x,T),et=ee.clone(),er=gI(r),en=function(e){let{dragHandler:t,scrollBody:r,scrollBounds:n,options:{loop:a}}=e;a||n.constrain(t.pointerDown()),r.seek()},ea=function(e,t){let{scrollBody:r,translate:n,location:a,offsetLocation:i,previousLocation:o,scrollLooper:s,slideLooper:l,dragHandler:c,animation:u,eventHandler:d,scrollBounds:h,options:{loop:p}}=e,f=r.settled(),m=!h.shouldConstrain(),g=c.pointerDown(),v=f&&(p||m),y=!v,b=v&&!g;b&&u.stop();let x=a.get()*t+o.get()*(1-t);i.set(x),p&&(s.loop(r.direction()),l.loop()),n.to(i),b&&d.createEvent("settle",null).emit(),y&&d.createEvent("scroll",{isDragging:y&&g}).emit()},ei=function(e,t){let r,n=gD(),a=1e3/60,i=null,o=0,s=0;function l(n){if(!s)return;i||(i=n,e(),e());let c=n-i;for(i=n,o+=c;o>=a;)e(),o-=a;t(o/a),s&&(s=r.requestAnimationFrame(l))}function c(){s&&(r.cancelAnimationFrame(s),i=null,o=0,s=0)}return{init:function(e){let t=e.document;r=e,n.add(t,"visibilitychange",()=>{t.hidden&&(i=null,o=0)})},destroy:function(){c(),n.clear()},start:function(){s||(s=r.requestAnimationFrame(l))},stop:c,update:e,render:t}}(()=>en(eE),e=>ea(eE,e)),eo=X[ee.get()],es=gj(eo),el=gj(eo),ec=gj(eo),eu=gj(eo),ed=gL(j,t),eh=r.map(e=>gL(j,e)),ep=function(e){let{max:t,length:r}=e;return{get:gT(function(e){return r?-((e-t)/r):0})}}(J),ef=function(e,t,r,n,a){let i=0,o=0,s=a,l=.68,c=e.get(),u=0;function d(e){return s=e,p}function h(e){return l=e,p}let p={direction:function(){return o},duration:function(){return s},velocity:function(){return i},seek:function(){let t=n.minus(e),a=0;return s?(r.set(e),i+=t/s,i*=l,c+=i,e.add(i),a=c-u):(i=0,r.set(n),e.set(n),a=t),o=gS(a),u=c,p},settled:function(){return .001>gk(n.minus(t))},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return d(a)},useFriction:h,useDuration:d};return p}(es,ec,el,eu,E),em=function(e,t,r,n,a,i,o){let s,l,{groupSlides:c}=a,{min:u,max:d}=n,h=(s=c(i),1===r.length?[i]:e&&"keepSnaps"!==t?s.slice(u,d).map((e,t,r)=>{let n=t===g_(r);return t?n?gR(g_(i),e[0]):e:gR(gP(e))}):s),p=(l={},h.forEach((e,t)=>{e.forEach(e=>{l[e]=t})}),l),f=r.map(o.get);return{slidesBySnap:h,snapBySlide:p,progressBySnap:f,length:r.length}}(B,_,X,Z,z,er,ep),eg=function(e,t,r,n,a,i,o,s){let l=gI(n),c=gI(n).reverse(),u=p(h(c,i[0]),t,!1).concat(p(h(l,e-i[0]-1),-t,!0));function d(e,t){return e.reduce((e,t)=>e-n[t],t)}function h(e,t){return e.reduce((e,r)=>d(e,t)>0?[...e,r]:e,[])}function p(n,i,l){let c=a.map((t,n)=>({start:t-r[n]+.5+i,end:t+e-.5+i}));return n.map(e=>{let r=l?0:-t,n=l?t:0,a=c[e][l?"end":"start"];return{index:e,loopPoint:a,slideLocation:gj(-1),translate:s[e],target:()=>o.get()>a?r:n}})}return{canLoop:function(){return u.every(({index:t})=>.1>=d(l.filter(e=>e!==t),e))},loop:function(){u.forEach(e=>{let{target:t,translate:r,slideLocation:n}=e,a=t();a!==n.get()&&(r.to(a),n.set(a))})},loopPoints:u}}(H,Q,U,W,Y,X,ec,eh),ev=function(e,t,r,n,a){let{pastAnyBound:i,removeOffset:o,clamp:s}=n;function l(e){return e.sort((e,t)=>gk(e)-gk(t))[0]}function c(t,n){if(!e)return t;let a=[t,t+r,t-r];if(!n)return l(a);let i=a.filter(e=>gS(e)===n);return i.length?l(i):gP(a)-r}return{byDistance:function(r,n){let l=a.plus(r),{index:u,distance:d}=function(r){let n=e?o(r):s(r),{index:a}=t.reduce((e,t,r)=>{let a=gk(c(t-n,0));return a>=e.smallestDisplacement?e:{smallestDisplacement:a,index:r}},{smallestDisplacement:1/0,index:0});return{index:a,distance:n}}(l),h=!e&&i(l);if(!n||h)return{index:u,distance:r};let p=r+c(t[u]-d,0);return{index:u,distance:p}},byIndex:function(e,r){let n=c(t[e]-a.get(),r);return{index:e,distance:n}},shortcut:c}}(T,X,Q,J,eu),ey=function(e,t,r,n,a,i,o){function s(a){let{index:s,distance:l}=a,c=t.get(),u=s!==c;
1l&&(i.add(l),n.duration()?e.start():(e.update(),e.render(1),e.update())),u&&(r.set(c),t.set(s),o.createEvent("select",{targetSnap:s,sourceSnap:c}).emit())}return{distance:function(e,t){s(a.byDistance(e,t))},index:function(e,r){var n;let i=t.clone().set(e).get();s(a.byIndex(i,(n=r)?gE(n)?n:"forward"===n?-1:1:0))}}}(ei,ee,et,ef,ev,eu,i),eb=gD(),ex=function(e,t,r,n,a){let i,o=new Set,s=!1;function l(e){let n=[],a=[];for(let r of e){if(s)return;let e=t.indexOf(r.target);r.isIntersecting?(o.add(e),n.push(e)):(o.delete(e),a.push(e))}r.createEvent("slidesinview",{slidesInView:c(),slidesLeftView:a,slidesEnterView:n}).emit()}function c(){return[...o]}return{init:function(r){i=new r.IntersectionObserver(l,{root:e.parentElement,threshold:n,rootMargin:a}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),s=!0},get:c}}(t,r,i,k,S),eT=function(e,t,r,n,a,i,o,s,l){let c={passive:!0,capture:!0},u=0;function d(e){"Tab"===e.code&&(u=new Date().getTime())}return{init:function(h){t&&(s.add(h.document,"keydown",d,!1),n.forEach((t,n)=>{s.add(t,"focus",t=>(function(t,n){if(new Date().getTime()-u>10||!l.createEvent("slidefocus",t).emit())return;r[e.nativeScroll]=0;let s=a.snapBySlide[n];gE(s)&&(o.useDuration(0),i.index(s,0))})(t,n),c)}))}}}(j,D,e,r,em,ey,ef,eb,i),eE={eventHandler:i,containerRect:L,contentSize:Q,slideRects:M,nodeHandler:a,animation:ei,slideSizes:U,isSsr:s,axis:j,dragHandler:function(e,t,r,n,a,i,o,s,l,c,u,d,h,p,f,m){let g,v,{cross:y,direction:b}=t,x=["INPUT","SELECT","TEXTAREA"],T={passive:!1},E=gD(),C=gD(),w=gO(50,225).clamp(h.measure(20)),k={mouse:300,touch:400},S={mouse:500,touch:600},I=!0===p||"snap"===p,P=!0!==p,_=I?43:25,R=!1,A=0,N=0,D=!1,O=!1,j=!1,L=!1,M=!1;function H(e){return c.byDistance(e,P).distance}function F(e){let t;if(!d.createEvent("pointerdown",e).emit())return;let o=gN(e,v),s=o&&0!==e.button;if((M=o,L=I&&o&&!e.buttons&&R,R=gk(n.get()-i.get())>=2,!s)&&(t=e.target.nodeName||"",!x.includes(t))){let t;O=!0,a.pointerDown(e),l.useFriction(0).useDuration(0),n.set(i),A=a.readPoint(e),N=a.readPoint(e,y),t=M?g:r,C.add(t,"mousemove",q,T).add(t,"mouseup",B),D=!0}}function q(e){if(!d.createEvent("pointermove",e).emit()||!gN(e,v)&&e.touches.length>=2)return B(e);let t=a.readPoint(e),r=a.readPoint(e,y),i=gk(t-A),s=gk(r-N);if(!j&&!M&&(!e.cancelable||!(j=i>s)))return B(e);let c=a.pointerMove(e);i>f&&(L=!0),l.useFriction(.3).useDuration(.75),o.start(),n.add(b(c)),e.cancelable&&e.preventDefault()}function B(e){var t;let r,n=d.createEvent("pointerup",e),i=a.pointerUp(e)*(I?S:k)[M?"mouse":"touch"],o=(t=b(i),r=u.add(-1*gS(t)),I||gk(t)<w?H(t):m&&c.byDistance(0,!1).index!==u.get()?.5*H(t):c.byIndex(r.get(),0).distance),h=function(e,t){var r,n;if(0===e||0===t||gk(e)<=gk(t))return 0;let a=(r=gk(e),n=gk(t),gk(r-n));return gk(a/e)}(i,o);j=!1,O=!1,D=!1,M=!1,C.clear(),l.useDuration(_-10*h).useFriction(.68+h/50),s.distance(o,P),n.emit()}function U(e){L&&(e.stopPropagation(),e.preventDefault(),L=!1)}return{init:function(t){e&&(g=t.document,v=t,a.init(t),E.add(r,"dragstart",e=>e.preventDefault(),T).add(r,"touchmove",e=>D&&q(e),T).add(r,"touchend",e=>D&&B(e)).add(r,"touchstart",F).add(r,"mousedown",F).add(r,"touchcancel",B).add(r,"contextmenu",B).add(r,"click",U,!0))},destroy:function(){E.clear(),C.clear(),D=!1},pointerDown:function(){return O}}}(R,j,e,eu,function(e){let t,r,n;function a(e){return e.timeStamp}function i(r,n){let a=n||e.scroll,i=`client${"x"===a?"X":"Y"}`;return(gN(r,t)?r:r.touches[0])[i]}return{init:function(e){t=e},pointerDown:function(e){return r=e,n=e,i(e)},pointerMove:function(e){let t=i(e)-i(n),o=a(e)-a(r)>170;return n=e,o&&(r=e),t},pointerUp:function(e){if(!r||!n)return 0;let t=i(n)-i(r),o=a(e)-a(r),s=a(e)-a(n)>170,l=t/o;return o&&!s&&gk(l)>.1?l:0},readPoint:i}}(j),es,ei,ey,ef,ev,ee,i,F,C,w,P),eventStore:eb,percentOfView:F,indexCurrent:ee,indexPrevious:et,limit:J,location:es,offsetLocation:ec,previousLocation:el,options:n,resizeHandler:function(e,t,r,n,a,i){let o,s,l=[t,...n],c=[],u=!1;function d(e){return a.getSize(i.getRect(e))}function h(e){let a=r.createEvent("resize",e);if(a.emit())for(let r of e){if(u)return;let e=r.target===t,i=n.indexOf(r.target),o=e?s:c[i];if(gk(d(e?t:n[i])-o)>=.5){a.api.reInit();break}}}
1return{init:function(r){e&&(s=d(t),c=n.map(d),o=new r.ResizeObserver(h),r.requestAnimationFrame(()=>{l.forEach(e=>o.observe(e))}))},destroy:function(){u=!0,o&&o.disconnect()}}}(A,t,i,r,j,a),scrollBody:ef,scrollBounds:function(e,t,r,n,a){let{pastAnyBound:i,pastMinBound:o,clamp:s}=e,l=a.measure(10),c=a.measure(50),u=gO(.1,.99),d=!1;function h(){return!d&&!!i(r)&&!!i(t)}return{shouldConstrain:h,constrain:function(a){if(!h())return;let i=gk(e[o(t)?"min":"max"]-t.get()),d=r.minus(t),p=u.clamp(i/c);r.subtract(d*p),!a&&gk(d)<l&&(r.set(s(r)),n.useDuration(25).useBaseFriction())},toggleActive:function(e){d=!e}}}(J,ec,eu,ef,F),scrollLooper:function(e,t,r,n){let{pastMinBound:a,pastMaxBound:i}=gO(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?i(r):-1===t&&a(r)))return;let o=-1*t*e;n.forEach(e=>e.add(o))}}}(Q,J,ec,[es,ec,el,eu]),scrollProgress:ep,scrollSnaps:X,scrollTarget:ev,scrollTo:ey,slideLooper:eg,slideFocus:eT,slidesHandler:function(e,t,r){let n,a=!1;function i(e){let t=r.createEvent("slideschanged",e);if(t.emit())for(let r of e){if(a)return;if("childList"===r.type){t.api.reInit();break}}}return{init:function(r){e&&(n=new r.MutationObserver(i)).observe(t,{childList:!0})},destroy:function(){n&&n.disconnect(),a=!0}}}(N,t,i),slidesInView:ex,slideIndexes:er,slidesToScroll:z,slideTranslates:eh,scrollSnapList:em,translate:ed,target:eu};return eE}(i,t,r,e,a,p,o,c);return e.loop&&!s.slideLooper.canLoop()?k({loop:!1}):s}function I(t,r){if(x)return;let{ownerWindow:l}=a=function(e){let t,r=e?e.ownerDocument:null,n=r?r.defaultView:null;function a(e){let{offsetTop:t,offsetLeft:r,offsetWidth:n,offsetHeight:a}=e;return{top:t,right:r+n,bottom:t+a,left:r,width:n,height:a}}return{ownerDocument:r,ownerWindow:n,getNodes:function(t){if(!e)return{root:{},container:{},slides:[]};let{container:r,slides:n}=t,a=(gC(r)?e.querySelector(r):r)||e.children[0],i=Array.from((gC(n)?a.querySelectorAll(n):n)||a.children);return{root:e,container:a,slides:i}},getRect:a,getRects:function(r,n,i){if(i&&t)return t;let o=e?r.style:{transform:""},s=o.transform;o.transform="none";let l=a(r),c=n.map(a);return o.transform=s,t={containerRect:l,slideRects:c}}}}(e);u.init(l),E=m(T=f(T,t)),C=r||C;let p=E,v=a.getNodes(E),y=C.find(({name:e})=>"ssr"===e);c&&y&&(y.setup(S,f,T),p=f(p,{direction:"ltr"}),v=y.getNodes()),i=v.root,o=v.container,s=v.slides,n=S(p,o,s),g([T,...C.map(({options:e})=>e)]).forEach(e=>h.add(e,"change",P)),E.active&&(!c&&l&&(n.translate.to(n.location),n.options.loop&&n.slideLooper.loop(),n.animation.init(l),n.resizeHandler.init(l),n.slidesInView.init(l),n.slidesHandler.init(l),n.slideFocus.init(l),n.eventHandler.init(D),o.offsetParent&&s.length&&n.dragHandler.init(l)),w=d.init(D,C))}function P(e,t){let r=p.createEvent("reinit",null),n=N();_(),I(f({startSnap:n},e),t),r.emit()}function _(){n.dragHandler.destroy(),n.resizeHandler.destroy(),n.slidesHandler.destroy(),n.slidesInView.destroy(),n.animation.destroy(),d.destroy(),n.eventStore.clear(),h.clear(),n.translate.clear(),n.slideTranslates.forEac
1h(e=>e.clear())}function R(e,t,r){x||c||E.active&&(n.scrollBody.useBaseFriction().useDuration(!0===t?0:E.duration),n.scrollTo.index(e,r))}function A(e){return n.indexCurrent.add(e).get()}function N(){return A(0)}let D={canGoToNext:function(){return A(1)!==N()},canGoToPrev:function(){return A(-1)!==N()},cloneEngine:k,containerNode:function(){return o},createEvent:b,internalEngine:function(){return n},destroy:function(){if(x||c)return;let e=p.createEvent("destroy",null);x=!0,h.clear(),_(),e.emit(),p.clear()},on:v,off:y,plugins:function(){return w},previousSnap:function(){return n.indexPrevious.get()},reInit:P,rootNode:function(){return i},goToNext:function(e){R(A(1),e,-1)},goToPrev:function(e){R(A(-1),e,1)},scrollProgress:function(){return n.scrollProgress.get(n.offsetLocation)},goTo:R,selectedSnap:N,slideNodes:function(){return s},slidesInView:function(){return n.slidesInView.get()},snapIndex:A,snapList:function(){return n.scrollSnapList.progressBySnap}};return I(t||{},r||[]),D}function gF(e={},t=[]){gH.globalOptions=gF.globalOptions;let r=(0,k.useRef)(e),n=(0,k.useRef)(t),a=(0,k.useRef)(null),[i,o]=(0,k.useState)(),[s,l]=(0,k.useState)();null===a.current&&(a.current=gH(null,r.current,n.current));let c=(0,k.useCallback)(()=>{i&&i.reInit(r.current,n.current)},[i]);return(0,k.useEffect)(()=>{gb(r.current,e)||(r.current=e,c())},[e,c]),(0,k.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let r=gx(e),n=gx(t);return r.every((e,t)=>gb(e,n[t]))}(n.current,t)&&(n.current=t,c())},[t,c]),(0,k.useEffect)(()=>{if(s){gH.globalOptions=gF.globalOptions;let e=gH(s,r.current,n.current);return o(e),()=>e.destroy()}o(void 0)},[s]),[l,i,a.current]}gH.globalOptions=void 0,gF.globalOptions=void 0;let gq=(e,t,r)=>(n,a,i,o,s,l)=>{let c=a+1;if(!n)return`${e} ${c} ${t} ${o}`;let u=`(${r} ${s+1} ${t} ${l})`;return a===i?`${e} ${c} ${t} ${o} ${u}`:`${e} ${c}-${i+1} ${t} ${o} ${u}`};var gB={"en-GB":{previousSlide:"Previous slide",nextSlide:"Next slide",slideAriaLabel:gq("Slide","of","group"),liveRegionContent:gq("Showing slide","of","group")},"nl-NL":{previousSlide:"Vorige dia",nextSlide:"Volgende dia",slideAriaLabel:gq("Dia","van","groep"),liveRegionContent:gq("Toont dia","van","groep")},"de-DE":{previousSlide:"Vorherige Folie",nextSlide:"N\xe4chste Folie",slideAriaLabel:gq("Folie","von","Gruppe"),liveRegionContent:gq("Zeigt Folie","von","Gruppe")},"sv-SE":{previousSlide:"F\xf6reg\xe5ende bild",nextSlide:"N\xe4sta bild",slideAriaLabel:gq("Bild","av","grupp"),liveRegionContent:gq("Visar bild","av","grupp")},"no-NO":{previousSlide:"Forrige lysark",nextSlide:"Neste lysark",slideAriaLabel:gq("Lysark","av","gruppe"),liveRegionContent:gq("Viser lysark","av","gruppe")},"en-CA":{previousSlide:"Previous slide",nextSlide:"Next slide",slideAriaLabel:gq("Slide","of","group"),liveRegionContent:gq("Showing slide","of","group")},"fr-CA":{previousSlide:"Diapositive pr\xe9c\xe9dente",nextSlide:"Diapositive suivante",slideAriaLabel:gq("Diapositive","sur","groupe"),liveRegionContent:gq("Affiche la diapositive","sur","groupe")}};let gU={responsive:"h-8 w-8 md:h-10 md:w-10 lg:h-[3.25rem] lg:w-[3.25rem]",sm:"h-8 w-8",md:"h-10 w-10",lg:"h-[3.25rem] w-[3.25rem]"},gW={previous:{responsive:"-ml-4 md:-ml-5 lg:-ml-[1.625rem]",sm:"-ml-4",md:"-ml-5",lg:"-ml-[1.625rem]"},next:{responsive:"-mr-4 md:-mr-5 lg:-mr-[1.625rem]",sm:"-mr-4",md:"-mr-5",lg:"-mr-[1.625rem]"}},gV=({Icon:e})=>(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(e,{size:"sm",className:"md:hidden"}),(0,C.jsx)(e,{size:"md",className:"hidden md:block lg:hidden"}),(0,C.jsx)(e,{size:"lg",className:"hidden lg:block"})]}),gG=({testId:e="ScrollableContainerButton",scrollableContainerId:t,size:r="responsive",buttonRole:n,rounded:a=!1,...i})=>{let o=w("shadow-[0px_var(--button-effects-icon-button-shadow-offset)_var(--button-fill-icon-button-shadow-blur)_0px_var(--generic-effects-action-shadow-fill)]","focus-visible:shadow-ds-focus","bg-[color:var(--button-fill-icon-button-fill)]","text-[color:var(--actions-fill-colors-action-icon-fill-default)]","hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]","disabled:opacity-0",gU[r],{"rounded-r-full":!a&&"previous"===n,"rounded-l-full":!a&&"next"===n,"rounded-full":a,[gW[n][r]]:a}),s="previous"===n?ec:ed;return(0,C.jsx)("button",{type:"button",className:o,"data-testid":e,"data-ds-scrollablecontainer-control":`${t}-${n}`,...i,children:(0,C.jsx)("span",{className:"flex items-center justify-center",children:"responsive"!==r?(0,C.jsx)(s,{size:r}):(0,C.jsx)(gV,{Icon:s})})})},gz=({children:e,className:t,style:r,testId:n="ScrollableContainer",buttonSize:a,roun
1dedButtons:i=!1,roundedButtonBreakpoint:o,slideOffset:s,slideGap:l=16,analytics:c})=>{let u,d=(0,k.useId)(),h=er(),{isGreaterOrEqual:p}=el(),f=gB[h],m=P("scrollable-container",void 0,c),g=void 0!==s,v=i||o&&p(o),y=(({roundedButtons:e,slideOffset:t})=>{let r=void 0!==t;return e&&!r?0:r?t:16})({roundedButtons:i,slideOffset:s}),b=!g&&!i,x=el().isGreaterOrEqual("sm"),T=b&&x?24:y,[E,S]=gF({align:"start",containScroll:"trimSnaps",slidesToScroll:"auto",dragFree:!0,duration:20},[gv({announceChanges:!0,rootNode:e=>e.parentElement,previousButtonAriaLabel:f.previousSlide,nextButtonAriaLabel:f.nextSlide,slideAriaLabel:f.slideAriaLabel,liveRegionContent:f.liveRegionContent})]);u=(0,k.useCallback)(e=>{e.plugins().accessibility?.setupPrevAndNextButtons(`[data-ds-scrollablecontainer-control="${d}-previous"]`,`[data-ds-scrollablecontainer-control="${d}-next"]`),e.plugins().accessibility?.setupLiveRegion(`[data-ds-scrollablecontainer-live-region="${d}"]`)},[d]),(0,k.useEffect)(()=>{if(S)return S.on("reinit",u),u(S),()=>{S.off("reinit",u)}},[S,u]);let{isInitialised:I,canScrollPrev:_,canScrollNext:R,scrollPrev:A,scrollNext:N}=(e=>{let[t,r]=(0,k.useState)(!1),[n,a]=(0,k.useState)(!1),[i,o]=(0,k.useState)(!1),s=(0,k.useCallback)(()=>{e&&e.goToPrev()},[e]),l=(0,k.useCallback)(()=>{e&&e.goToNext()},[e]),c=(0,k.useCallback)(()=>{e&&(a(e.canGoToPrev()),o(e.canGoToNext()))},[e]);return(0,k.useEffect)(()=>{if(e)return c(),r(!0),e.on("select",c),e.on("reinit",c),()=>{e.off("select",c),e.off("reinit",c)}},[e,c]),{isInitialised:t,canScrollPrev:n,canScrollNext:i,scrollPrev:s,scrollNext:l}})(S);(0,k.useEffect)(()=>{S?.reInit()},[S,T]);let D=w("relative",{"opacity-0":!I},t),O=w("absolute left-0 top-1/2 z-ds-popup-nav -translate-y-1/2",{"pointer-events-none":!_}),j=w("absolute right-0 top-1/2 z-ds-popup-nav -translate-y-1/2",{"pointer-events-none":!R}),L=k.Children.toArray(e);return(0,C.jsxs)("div",{"data-testid":n,className:D,style:r,...m,children:[(0,C.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only","data-ds-scrollablecontainer-live-region":d}),(0,C.jsx)("div",{className:O,children:(0,C.jsx)(gG,{"aria-label":f.previousSlide,testId:"ScrollableContainerPreviousButton",scrollableContainerId:d,buttonRole:"previous",size:a,rounded:v,onClick:A,disabled:!_})}),(0,C.jsx)("div",{className:j,children:(0,C.jsx)(gG,{"aria-label":f.nextSlide,testId:"ScrollableContainerNextButton",scrollableContainerId:d,buttonRole:"next",size:a,rounded:v,onClick:N,disabled:!R})}),(0,C.jsx)("div",{className:"-mb-[8px] -mt-[8px] overflow-hidden",ref:E,style:{paddingLeft:`${T}px`,paddingRight:`${T}px`},children:(0,C.jsx)("div",{className:"flex",style:{gap:`${l}px`},children:L.map((e,t)=>(0,C.jsx)("div",{className:"!w-auto pt-[8px] pb-[8px] flex-[0_0_auto]","data-testid":"ScrollableContainerSlide",children:e},t))})})]})},gY=({children:e,className:t,style:r,testId:n="HeroPromoCardContainer"})=>{let a=2===e.length,i=1===e.length,o=w({"w-full max-w-[35rem]":i,"w-full max-w-[56rem]":a,"grid grid-cols-2 gap-[var(--spacing-levels-section-level---s)] sm:gap-[var(--spacing-levels-section-level---l)]":a},t);return i?(0,C.jsx)("div",{className:o,style:r,"data-testid":n,children:e}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:w("-mx-4 self-stretch sm:hidden",t),style:r,"data-testid":n,children:(0,C.jsx)(gz,{buttonSize:"lg",roundedButtonBreakpoint:"md",children:e})}),(0,C.jsx)("div",{className:w(o,"hidden sm:grid"),children:e})]})},g$=ov.default?ov.default:ov,gQ=({testId:e="BackgroundVideo",posterImage:t,url:r,srcSet:n,aspectRatio:a="16:9",children:i,...o})=>{let{playerRef:s,state:{playing:l,retrievedMotionPreference:c,muted:u},config:{autoPlay:d}}=ou(),{initialisePlayingState:h}=oP(),{videoSrc:p,videoPlatform:f}=oS({defaultSrc:{url:r,aspectRatio:a},srcSet:n}),m=ob({autoPlay:d}),g=oT({aspectRatio:p.aspectRatio,sizing:"cover"});return(0,C.jsxs)(oA,{aspectRatio:a,sizing:"cover",testId:e,...o,backgroundImage:t,children:["vimeo"===f&&c&&(0,C.jsx)(g$,{ref:s,className:g,url:p.url,volume:1,muted:u,loop:!0,playing:l,width:"auto",height:"auto",controls:!1,config:m,previewTabIndex:null,onStart:h}),(0,C.jsx)(oy,{}),i]})},gK=({disableAudio:e,accessibleText:t,...r})=>(0,C.jsx)(oq,{accessibleText:t,config:{autoPlay:!0,muted:!0,loop:!0},disableAudio:e,children:(0,C.jsx)(gQ,{...r})}),gZ=({accessibleText:e,disableAudio:t=!1,posterImage:r,url:n,srcSet:a,aspectRatio:i})=>(0,C.jsx)("div",{className:"absolute h-full w-full",children:(0,C.jsxs)(gK,{disableAudio:t,accessibleText:e,posterImage:r,url:n,srcSet:a,aspectRatio:i,children:[(0,C.jsx)(og,{position:"top"}),(0,C.jsx)(om,{position:"top-right"})]})}),gX=({backgroundImage:e,backgroundColor:t,foregroundImage:r,video:n,textContent:a,callToAction:i,promoCards:o,contentAlign:s="middle",height:l="tall",hideGradient:c=!1,className:u,style:d,testId:h="Hero",analytics:p})=>{let f=W(),m=sU(o,gd),g=!!m.length,v=P("hero",void 0,p),b=w({"pb-[3.25rem] sm:pb-[3rem]":g},u),x="absolute inset-0 object-cover h-full w-full",T=w("h-40","absolute bottom-0 left-0 right-0","bg-gradient-to-t from-[var(--generic-fill-colors-fill-dark)] to-[var(--generic-fill-colors-fill-transparent)]",{"opacity-75":f===y.FRIENDS_LOTTERY,"pointer-events-none":n}),E=w("relative","px-4 py-5 sm:p-6","flex flex-col items-center gap-6","h-full",{"pointer-events-none":n}),k=w("flex grow flex-col items-center gap-2",{"justify-start":"top"===s,"justify-center":"middle"===s,"justify-end":"bottom"===s}),S=w("w-full max-w-[27.5rem]","text-center text-[color:var(--generic-text-color-text-color-inverted)]","Hero-module_textShadow__uoHhr","ds-heading-2"),I=w("max-w-[22.5rem] shrink-0 md:w-full",{"pointer-events-auto":n});return(0,C.jsx)("div",{className:b,style:d,"data-testid":h,...v,children:(0,C.jsxs)("div",{className:{short:"relative h-[30rem]",tall:"relative h-[40rem]"}[l],children:[n&&(0,C.jsx)(gZ,{...n}),!n&&e&&(0,C.jsx)(oa,{...e,className:x}),!n&&!e&&t&&(0,C.jsx)("div",{className:w(x,t),"aria-hidden":"true"}),!c&&(0,C.jsx)("div",{className:T}
1),(0,C.jsxs)("div",{className:E,children:[(0,C.jsxs)("div",{className:k,children:[r&&(0,C.jsx)("img",{...r,alt:r.alt||"",className:w("max-h-56",r.className)}),"string"==typeof a||"number"==typeof a?(0,C.jsx)("p",{className:S,children:a}):a]}),(i?.action||i?.link)&&(0,C.jsx)(eb,{onClick:i?.action,href:i?.link?.href,target:i?.link?.target,className:I,children:i.label}),g&&(0,C.jsx)(gY,{className:"-mb-[4.5rem]",children:m})]})]})})},gJ={white:w("bg-[color:var(--label-colors-label-white-fill)]","text-[color:var(--label-colors-label-white-content)]"),grey:w("bg-[color:var(--label-colors-label-gray-fill)]","text-[color:var(--label-colors-label-gray-content)]"),"light-grey":w("bg-[color:var(--label-colors-label-light-gray-fill)]","text-[color:var(--label-colors-label-light-gray-content)]"),green:w("bg-[color:var(--label-colors-label-green-fill)]","text-[color:var(--label-colors-label-green-content)]"),"light-green":w("bg-[color:var(--label-colors-label-light-green-fill)]","text-[color:var(--label-colors-label-light-green-content)]"),blue:w("bg-[color:var(--label-colors-label-blue-fill)]","text-[color:var(--label-colors-label-blue-content)]"),"light-blue":w("bg-[color:var(--label-colors-label-light-blue-fill)]","text-[color:var(--label-colors-label-light-blue-content)]"),red:w("bg-[color:var(--label-colors-label-red-fill)]","text-[color:var(--label-colors-label-red-content)]"),"light-red":w("bg-[color:var(--label-colors-label-light-red-fill)]","text-[color:var(--label-colors-label-light-red-content)]"),"light-yellow":w("bg-[color:var(--label-colors-label-light-yellow-fill)]","text-[color:var(--label-colors-label-light-yellow-content)]"),gold:w("bg-[linear-gradient(90deg,_var(--label-colors-label-gold-gradient-stop-1)_-93.08%,_var(--label-colors-label-gold-gradient-stop-2)_-53.58%,_var(--label-colors-label-gold-gradient-stop-3)_-14.09%,_var(--label-colors-label-gold-gradient-stop-4)_55.03%,_var(--label-colors-label-gold-gradient-stop-5)_104.4%)]","text-[color:var(--label-colors-label-gold-content)]"),brand:w("bg-[color:var(--label-colors-label-brand-fill)]","text-[color:var(--label-colors-label-brand-content)]")},g1={white:"text-[color:var(--label-colors-label-white-fill)]",grey:"text-[color:var(--label-colors-label-light-gray-content)]","light-grey":"text-[color:var(--label-colors-label-light-gray-content)]",green:"text-[color:var(--label-colors-label-light-green-content)]","light-green":"text-[color:var(--label-colors-label-light-green-content)]",blue:"text-[color:var(--label-colors-label-light-blue-content)]","light-blue":"text-[color:var(--label-colors-label-light-blue-content)]",red:"text-[color:var(--label-colors-label-light-red-content)]","light-red":"text-[color:var(--label-colors-label-light-red-content)]","light-yellow":"text-[color:var(--label-colors-label-light-yellow-content)]",gold:"text-[color:var(--label-colors-label-light-yellow-content)]",brand:"text-[color:var(--label-colors-label-brand-fill)]"},g0={lite:"sm",md:"sm",lg:"md","two-line":"lg"},g2=({color:e="light-grey",variant:t="md",label:r,subLabel:n,icon:a,className:i,style:o,alignment:s="left",testId:l="Label",analytics:c})=>{let u=P("label",void 0,c),d="lite"!==t,h=w("leading-[var(--typography-line-height-body-compact-line-height)]","inline-block","relative",{lite:"text-[length:var(--typography-font-sizes-body-font-size)]",sm:w("text-[length:var(--typography-font-sizes-small-font-size)]","py-[var(--label-other-label-small-padding-vertical)]",{"pl-[var(--label-other-label-small-side-padding)] pr-[var(--label-other-label-small-padding-horizontal)]":"left"===s,"pl-[var(--label-other-label-small-padding-horizontal)] pr-[var(--label-other-label-small-side-padding)]":"right"===s,"px-[var(--label-other-label-small-padding-horizontal)]":"center"===s}),md:w("text-[length:var(--typography-font-sizes-body-font-size)]","py-[var(--label-other-label-big-padding-vertical)]",{"pl-[var(--label-other-label-big-side-padding)] pr-[var(--label-other-label-big-padding-horizontal)]":"left"===s,"pl-[var(--label-other-label-big-padding-horizontal)] pr-[var(--label-other-label-big-side-padding)]":"right"===s,"px-[var(--label-other-label-big-padding-horizontal)]":"center"===s}),lg:w("text-[length:var(--typography-font-sizes-label-large-font-size)]","py-[var(--label-other-label-big-padding-vertical)]",{"pl-[var(--label-other-label-big-side-padding)] pr-[var(--label-other-label-big-padding-horizontal)]":"left"
1===s,"pl-[var(--label-other-label-big-padding-horizontal)] pr-[var(--label-other-label-big-side-padding)]":"right"===s,"px-[var(--label-other-label-big-padding-horizontal)]":"center"===s}),"two-line":w("text-[length:var(--typography-font-sizes-secondary-font-size-h2-mobile)]","py-[var(--label-other-label-two-line-padding-vertical)]","px-[var(--label-other-label-two-line-padding-horizontal)]")}[t],{"font-[var(--ds-core--label--font-weight--lite)]":"lite"===t,"font-[var(--ds-core--label--font-weight)]":"lite"!==t,"[text-transform:var(--ds-core--label--text-transform)]":"lite"!==t,[w({"rounded-l-[var(--label-other-label-corner-radius-side)]":"left"===s},{"rounded-r-[var(--label-other-label-corner-radius-default)]":"left"===s||"center"===s},{"rounded-r-[var(--label-other-label-corner-radius-side)]":"right"===s},{"rounded-l-[var(--label-other-label-corner-radius-default)]":"right"===s||"center"===s})]:d,[w('after:content-[""]',"after:absolute after:inset-0","after:pointer-events-none","after:border-[length:var(--label-other-label-light-border-width)]","after:border-[color:var(--label-colors-label-light-stroke)]",{"after:rounded-l-[var(--label-other-label-corner-radius-side)]":"left"===s},{"after:rounded-r-[var(--label-other-label-corner-radius-default)]":"left"===s||"center"===s},{"after:rounded-r-[var(--label-other-label-corner-radius-side)]":"right"===s},{"after:rounded-l-[var(--label-other-label-corner-radius-default)]":"right"===s||"center"===s})]:("white"===e||"light-grey"===e)&&"lite"!==t,[gJ[e]]:d,[g1[e]]:!d},i),p=w("mr-[var(--spacing-levels-group-level---m)] shrink-0",{"mt-0.5":"md"===t||"lite"===t});return(0,C.jsx)("span",{className:h,style:o,"data-testid":l,...u,children:(0,C.jsxs)("span",{className:"flex items-start",children:[a&&"sm"!==t&&(0,C.jsx)(a,{size:g0[t],className:p}),"two-line"!==t&&r,"two-line"===t&&(0,C.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[(0,C.jsx)("span",{className:"font-bold",children:r}),(0,C.jsx)("span",{className:"text-[length:var(--typography-font-sizes-label-large-font-size)] font-[var(--ds-core--label--font-weight--lite)]",children:n})]})]})})},g3=(0,k.forwardRef)(({children:e,href:t,onClick:r,target:n,action:a,type:i="button",ignoreLinkRender:o,linkRender:s,...l},c)=>{let u=et({linkRender:s,ignoreLinkRender:o});return t?(0,C.jsx)(u,{href:t,target:n,onClick:r||a,ref:c,...l,children:e}):(0,C.jsx)("button",{type:i,onClick:r||a,ref:c,...l,children:e})}),g5=(0,k.forwardRef)(({variant:e="default",className:t,analytics:r,testId:n="Link",...a},i)=>{let o=P("link",e,r),s=w({"ds-link":"default"===e,"ds-link--inverse":"inverse"===e},t);return(0,C.jsx)(g3,{...a,ref:i,className:s,"data-testid":n,...o})}),g4=({testId:e="HorizontalList",className:t,items:r,inverse:n,...a})=>{let i=w("flex","flex-row","gap-3","flex-wrap",{"text-[var(--generic-text-color-text-color-inverted)]":n,"text-[var(--generic-text-color-text-color-secondary)]":!n},t);return(0,C.jsx)("ul",{"data-testid":e,className:i,...a,children:r.map((e,t)=>(0,C.jsxs)(k.Fragment,{children:[t>0&&(0,C.jsx)("svg",{"aria-hidden":"true",className:"my-[.5625rem] h-1.5 w-1.5 shrink-0 fill-[var(--other-divider-divider-color)]",viewBox:"0 0 6 6",children:(0,C.jsx)("circle",{cx:3,cy:3,r:3})}),(0,C.jsx)("li",{className:"flex flex-row gap-2 items-center",children:e})]},t))})},g8=({children:e,size:t="md",testId:r="MediaContainerFooter",className:n})=>{let a=w("absolute inset-x-0 bottom-0","bg-gradient-to-b from-transparent to-black/75",{"px-[--other-media-container-media-container-padding-small] pb-[--other-media-container-media-container-padding-small] pt-[calc(28px+var(--other-media-container-media-container-padding-small))]":"xs"===t||"sm"===t,"px-[--other-media-container-media-container-padding-default] pb-[--other-media-container-media-container-padding-default] pt-[calc(28px+var(--other-media-container-media-container-padding-default))]":"md"===t,"px-[--other-media-container-media-container-padding-large] pb-[--other-media-container-media-container-padding-large] pt-[calc(28px+var(--other-media-container-media-container-padding-large))]":"lg"===t||"xl"===t,"sm:px-[--other-media-container-media-container-padding-extra-large] sm:pb-[--other-media-container-media-container-padding-extra-large] sm:pt-[calc(28px+var(--other-media-container-media-container-padding-extra-large))]":"xl"===t},"[text-shadow:_0_var(--generic-effects-action-shadow-default-y-offset)_var(--generic-effects-action-shadow-blur)_var(--actions-effects-text-shadow-fill)]","text-center",{"ds-heading-5":"xs"===t,"ds-heading-4":"sm"===t,"ds-heading-3":"md"===t,"ds-heading-2":"lg"===t,"ds-heading-ultra":"xl"===t},"text-[color:--generic-text-color-text-color-inverted]",n);return(0,C.jsx)("div",{className:a,"data-testid":r,children:e})},g6={label:"ds-label-text",labelCompact:"ds-label-text--compact",introduction:"ds-introduction-text",body:"ds-body-text",bodyCompact:"ds-body-text--compact",small:"ds-small-text",smallCompact:"ds-small-text--compact"},g9=({children:e,className:t,variant:r="body",testId:n="Paragraph",...a})=>(0,C.jsx)("p",{className:w(g6[r],t),"data-testid":n,...a,children:e}),g7={"en-GB":{info:"Information",warning:"Warning",error:"Error",success:"Success",close:"Close"},"nl-NL":{info:"Informatie",warning:"Waarschuwing",error:"Fout",success:"Succes",close:"Sluiten"},"de-DE":{info:"Information",warning:"Warnung",error:"Fehler",success:"Erfolg",close:"Schlie\xdfen"},"sv-SE":{info:"Information",warning:"Varning",error:"Fel",success:"Lyckades",close:"St\xe4ng"},"no-NO":{info:"Informasjon",warning:"Advarsel",error:"Feil",success:"Vellykket",close:"Lukk"},"en-CA":{info:"Information",warning:"Warning",error:"Error",success:"Success",close:"Close"},"fr-CA":{info:"Information",warning:"Avertissement",error:"Erreur",success:"Succ\xe8s",close:"Fermer"}},ve=({className:e,style:t,testId:r="NotificationBody",children:n})=>{let a=w("flex flex-col","gap-[var(--shared-base-sizes-size-3)]","[&_ol]:ds-ordered-list","[&_ul]:ds-unordered-list","[&_p]:ds-body-text","[&_li]:ds-body-text","[&_a]:ds-link-inline","[&_strong]:ds-strong",e);return(0,C.jsx)("div",{className:a,style:t,"data-testid":r,children:n})},vt=({testId:e="AlertHexagonIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 8.00008V12.0001M12 16.0001H12.01M3 7.94153V16.0586C3 16.4013 3 16.5726 3.05048 16.7254C3.09515 16.8606 3.16816 16.9847 3.26463 17.0893C3.37369 17.2077 3.52345 17.2909 3.82297 17.4573L11.223 21.5684C11.5066 21.726 11.6484 21.8047 11.7985 21.8356C11.9315 21.863 12.0685 21.863 12.2015 21.8356C12.3516 21.8047 12.4934 21.726 12.777 21.5684L20.177 17.4573C20.4766 17.2909 20.6263 17.2077 20.7354 17.0893C20.8318 16.9847 20.9049 16.8606 20.9495 16.7254C21 16.5726 21 16.4013 21 16.0586V7.94153C21 7.59889 21 7.42756 20.9495 7.27477C20.9049 7.13959 20.8318 7.01551 20.7354 6.91082C20.6263 6.79248 20.4766 6.70928 20.177 6.54288L12.777 2.43177C12.4934 2.27421 12.3516 2.19543 12.2015 2.16454C12.0685 2.13721 11.9315 2.13721 11.7985 2.16454C11.6484 2.19543 11.5066 2.27421 11.223 2.43177L3.82297 6.54288C3.52345 6.70928 3.37369 6.79248 3.26463 6.91082C3.16816 7.01551 3.09515 7.13959 3.05048 7.27477C3 7.42756 3 7.59889 3 7.94153Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),vr=({testId:e="AlertTriangleIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M11.9998 8.99999V13M11.9998 17H12.0098M10.6151 3.89171L2.39019 18.0983C1.93398 18.8863 1.70588 19.28
103 1.73959 19.6037C1.769 19.8857 1.91677 20.142 2.14613 20.3088C2.40908 20.5 2.86435 20.5 3.77487 20.5H20.2246C21.1352 20.5 21.5904 20.5 21.8534 20.3088C22.0827 20.142 22.2305 19.8857 22.2599 19.6037C22.2936 19.2803 22.0655 18.8863 21.6093 18.0983L13.3844 3.89171C12.9299 3.10654 12.7026 2.71396 12.4061 2.58211C12.1474 2.4671 11.8521 2.4671 11.5935 2.58211C11.2969 2.71396 11.0696 3.10655 10.6151 3.89171Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),vn=({testId:e="InfoCircleIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 16V12M12 8H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),va=({level:e})=>{switch(e){case"success":return(0,C.jsx)(oX,{className:"shrink-0 text-[color:var(--generic-fill-colors-icon-color-positive)]"});case"error":return(0,C.jsx)(vr,{className:"shrink-0 text-[color:var(--generic-fill-colors-icon-color-negative)]"});case"warning":return(0,C.jsx)(vt,{className:"shrink-0 text-[color:var(--generic-fill-colors-icon-color-warning)]"});case"info":return(0,C.jsx)(vn,{className:"shrink-0 text-[color:var(--generic-fill-colors-icon-color-inform)]"})}},vi=({className:e,style:t,testId:r="NotificationLink",children:n,href:a,target:i,linkRender:o,ignoreLinkRender:s,...l})=>{let c=w("self-start",e);return(0,C.jsxs)(g5,{className:c,style:t,testId:r,linkRender:o,ignoreLinkRender:s,href:a,target:i,...l,children:[n,(0,C.jsx)(ed,{size:"sm"})]})},vo=({children:e,className:t,style:r,testId:n="NotificationTitle"})=>{let a=w(sa.heading5,t);return(0,C.jsx)("p",{className:a,style:r,"data-testid":n,children:e})},vs=e=>e.type===g9,vl={success:"border-[color:var(--actions-stroke-colors-stroke-color-positive)] bg-[color:var(--generic-fill-colors-fill-positive)]",info:"border-[color:var(--generic-stroke-colors-stroke-color-inform)] bg-[
1color:var(--generic-fill-colors-fill-inform)]",error:"border-[color:var(--generic-stroke-colors-stroke-color-negative)] bg-[color:var(--generic-fill-colors-fill-negative)]",warning:"border-[color:var(--generic-stroke-colors-stroke-color-warning)] bg-[color:var(--generic-fill-colors-fill-warning)]"},vc={success:"text-[color:var(--generic-fill-colors-icon-color-positive)]",info:"text-[color:var(--generic-fill-colors-icon-color-inform)]",error:"text-[color:var(--generic-fill-colors-icon-color-negative)]",warning:"text-[color:var(--generic-fill-colors-icon-color-warning)]"},vu=({className:e,style:t,closable:r=!1,onClose:n,description:a,hasIcon:i=!1,level:o="info",testId:s="Notification",title:l,icon:c=!1,customIcon:u,children:d,analytics:h,...p})=>{let f=er(),[m,g]=(0,k.useState)(!0),v=g7[f],y=P("notification",o,h),b=eS(d,vo),x=eS(d,ve),T=eS(d,vi),E=w("border-[0.1875rem]","rounded-lg","flex","flex-row","gap-2","p-5","items-start",vl[o],{hidden:!m},e);return(0,C.jsxs)("div",{className:E,style:t,"data-testid":s,...y,"aria-live":p["aria-live"]||"assertive",children:[(i||c)&&!u&&(0,C.jsx)(va,{level:o}),u&&(0,C.jsx)(u,{className:w("shrink-0",vc[o])}),(0,C.jsx)("span",{className:"sr-only",children:v[o]}),(0,C.jsxs)("div",{className:"flex grow flex-col gap-2",children:[b,!b&&l&&(0,C.jsx)(vo,{children:l}),x,!x&&a?.filter(vs),T]}),r&&(0,C.jsx)("button",{type:"button",onClick:()=>{g(!1),n?.()},className:"-m-0.5 p-0.5 text-[color:var(--actions-fill-colors-action-icon-fill-default)] hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]","aria-label":v.close,children:(0,C.jsx)(o9,{size:"md"})})]})},vd=w("w-fit","flex items-center gap-2 whitespace-nowrap","rounded-full","px-[1.5rem] py-[1rem]","ds-body-text--compact","border-[length:var(--actions-strokes-action-stroke-width)]","group/label"),vh=w("cursor-pointer","bg-[color:var(--generic-fill-colors-fill-default)]","border-[color:var(--actions-stroke-colors-action-stroke-color-default)]","hover:border-[color:var(--actions-stroke-colors-action-stroke-color-hover)]","shadow-[0px_var(--actions-effects-action-shadow-y-offset)_var(--generic-effects-action-shadow-blur)_0px_var(--generic-effects-action-shadow-fill)]","hover:not(:focus):shadow-[0px_var(--actions-effects-action-shadow-y-offset)_var(--generic-effects-action-shadow-blur)_0px_var(--actions-effects-shadow-color-hover)]","[--ds-pill-count-color:var(--generic-text-color-text-color-tertiary)]"),vp=w("bg-[color:var(--actions-fill-colors-action-fill-disabled)]","text-[color:var(--actions-text-colors-action-text-fill-disabled)]","border-[color:var(--actions-stroke-colors-action-stroke-color-disabled)]","[--ds-pill-count-color:var(--generic-text-color-text-color-disabled)]"),vf=w("peer-checked/input:border-[color:var(--actions-stroke-colors-action-stroke-color-active)]","peer-checked/input:border-[length:var(--actions-strokes-action-stroke-width-active)]","peer-checked/input:hover:border-[color:var(--actions-stroke-colors-action-stroke-color-active-hover)]","peer-checked/input:bg-[color:var(--actions-fill-colors-action-fill-active)]","peer-checked/input:hover:bg-[color:var(--actions-fill-colors-action-fill-active-hover)]","peer-checked/input:shadow-[0px_var(--actions-effects-action-shadow-y-offset)_var(--generic-effects-action-shadow-blur)_0px_var(--generic-effects-action-shadow-fill-active)]","peer-checked/input:hover:shadow-[0px_var(--actions-effects-action-shadow-y-offset))_var(--generic-effects-action-shadow-blur)_0px_var(--generic-effects-action-shadow-fill-active-hover)]","peer-checked/input:px-[calc(1.5rem+var(--actions-strokes-action-stroke-width)-var(--actions-strokes-action-stroke-width-active))]","peer-checked/input:py-[calc(1rem+var(--actions-strokes-action-stroke-width)-var(--actions-strokes-action-stroke-width-active))]","peer-checked/input:[--ds-pill-count-color:var(--generic-text-color-text-color-tertiary-active)]","peer-checked/input:hover:[--ds-pill-count-color:var(--generic-text-color-text-color-tertiary-hover)]"),vm=({disabled:e,selectable:t}={disabled:!1,selectable:!1})=>w(vd,{[vh]:!e,[vp]:e,[vf]:t}),vg=(0,k.createContext)({disabled:!1}),vv=()=>(0,k.useContext)(vg);(0,k.forwardRef)(({disabled:e=!1,type:t="button",link:r,children:n,className:a,testId:i="Pill",analytics:o,style:s,href:l,...c},u)=>
1{let d=et({linkRender:r?.linkRender,ignoreLinkRender:r?.ignoreLinkRender}),h=P("pill",void 0,o),p=w(vm({disabled:e}),a),f=r||l;return(0,C.jsx)(vg.Provider,{value:{disabled:e},children:f?(0,C.jsx)(d,{style:s,className:p,"data-testid":i,...h,...r,href:l||r?.href,ref:u,...c,children:n}):(0,C.jsx)("button",{style:s,className:p,"data-testid":i,...h,type:t,disabled:e,ref:u,...c,children:n})})});let vy=({count:e,plus:t,badge:r,className:n,accessibleDescription:a,testId:i="PillCount"})=>{let{disabled:o}=vv(),s=(0,C.jsxs)("span",{className:"sr-only",children:[" ",a]});return r?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ee,{count:e,plus:t,size:"xs",disabled:o,className:n,testId:i}),s]}):(0,C.jsxs)("div",{className:w("text-[color:var(--ds-pill-count-color)]",n),"data-testid":i,children:["(",`${e}${t?"+":""}`,s,")"]})},vb=w("text-[color:var(--actions-fill-colors-action-icon-fill-default)]","group-hover/label:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]"),vx=({icon:e,className:t,...r})=>{let{disabled:n}=vv(),a=w({[vb]:!n},t);return(0,C.jsx)(e,{size:"md",className:a,...r})},vT=({children:e,className:t,testId:r="PillLabel"})=>(0,C.jsx)("div",{className:t,"data-testid":r,children:e}),vE=({children:e})=>{let t=eS(e,vx),r=eS(e,vT),n=eS(e,vy);return(0,C.jsxs)(C.Fragment,{children:[t,r,n]})},vC=({className:e,style:t,testId:r="SelectablePill",children:n,id:a,name:i,type:o="radio",value:s,onCheckedChange:l,checked:c,defaultChecked:u,disabled:d,analytics:h,...p})=>{let f=P("pill","selectable",h),m=w("relative inline-block",e),g=w("peer/input","absolute inset-0 z-0","appearance-none","!outline-offset-3","rounded-full"),v=w(vm({disabled:d,selectable:!0}),"z-1 relative");return(0,C.jsx)(vg.Provider,{value:{disabled:d},children:(0,C.jsxs)("div",{"data-testid":r,"data-plg-type":"SelectablePill",className:m,style:t,...f,children:[(0,C.jsx)("input",{type:o,className:g,onChange:e=>{l?.(e.target.checked)},id:a,name:i,value:s,defaultChecked:u,checked:c,disabled:d,...p}),(0,C.jsx)("label",{htmlFor:a,className:v,children:(0,C.jsx)(vE,{children:n})})]})})};var vw="Skeleton-module_skeleton-loading__9c6Lb";({...G,xs:"h-3 w-3"});let vk={xs:"h-40",sm:"h-[12.5rem]",md:"h-60",lg:"h-[18.5rem]",xl:"h-[21.25rem]","fit-height":"h-full",none:""},vS=({className:e,style:t,height:r="xs",testId:n="SkeletonRectangle",analytics:a})=>{let i=P("skeleton-rectangle",void 0,a),o=w("rounded-ds",vw,vk[r],e);return(0,C.jsx)("div",{"data-testid":n,className:o,style:t,...i})},vI=({lines:e=1,className:t,style:r,testId:n="SkeletonText",compact:a=!1,analytics:i})=>{let o=P("skeleton-text",void 0,i),s=Array.from(Array(e),(t,r)=>{let n=e>1&&r+1===e;
1return(0,C.jsx)("div",{className:w("rounded-ds",{"h-6":!a},{"h-5":a}),children:(0,C.jsx)("div",{className:w("h-3 rounded-ds",{"w-2/4":n},vw)})},r)});return(0,C.jsx)("div",{"data-testid":n,className:t,style:r,...o,children:s})},vP={sm:"size-5",md:"size-8",lg:"size-16"},v_=({accessibleLabel:e,size:t="md",inverse:r=!1,testId:n="Spinner",className:a,style:i})=>{let o=w(vP[t],a),s=w({"fill-[var(--other-spinner-spinner-background-fill)]":!r},{"fill-[var(--other-spinner-spinner-inverted-background-fill)]":r}),l=w("origin-center","motion-safe:animate-[spin_1.1s_cubic-bezier(0.21,0.05,0.15,0.74)_infinite]",{"fill-[color:var(--generic-stroke-colors-stroke-color-brand)]":!r},{"fill-[color:var(--generic-fill-colors-fill-default)]":r});return(0,C.jsxs)("svg",{viewBox:"0 0 64 64",xmlns:"http://www.w3.org/2000/svg",className:o,style:i,"data-testid":n,"aria-live":"polite",role:"status","aria-label":e,children:[(0,C.jsx)("path",{fillRule:"evenodd",d:"M32 54.8571C44.6237 54.8571 54.8571 44.6237 54.8571 32C54.8571 19.3764 44.6237 9.14286 32 9.14286C19.3764 9.14286 9.14286 19.3764 9.14286 32C9.14286 44.6237 19.3764 54.8571 32 54.8571ZM32 64C49.6731 64 64 49.6731 64 32C64 14.3269 49.6731 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",className:s}),(0,C.jsx)("path",{className:l,d:"M56.335 19.3394C58.5734 18.1749 59.4688 15.3918 57.9977 13.3419C54.8124 8.90363 50.5273 5.33279 45.5308 3.00141C40.5343 0.670037 35.0449 -0.319898 29.5973 0.0902843C27.0813 0.27973 25.5237 2.75389 26.0692 5.21736C26.6147 7.68082 29.0636 9.18645 31.5863 9.14082C35.046 9.07824 38.4956 9.80161 41.6673 11.2815C44.8389 12.7614 47.6094 14.9403 49.784 17.6319C51.3697 19.5945 54.0967 20.504 56.335 19.3394Z"})]})},vR=(0,k.createContext)({inverse:!1}),vA=(0,k.createContext)({inline:!1}),vN=()=>(0,k.useContext)(vA),vD=({children:e,className:t,style:r,inline:n=!1,link:a,testId:i="Spotlight",analytics:o})=>{let s=w("@container",{"flex flex-grow":n},"relative overflow-hidden",t),l=P("spotlight",void 0,o);return(0,C.jsx)(vA.Provider,{value:{inline:n,link:a},children:(0,C.jsx)("div",{className:s,style:r,"data-testid":i,...l,children:e})})},vO=({children:e,className:t,style:r,testId:n})=>(0,C.jsx)("div",{className:t,style:r,"data-testid":n,children:e}),vj="pointer-events-none",vL={sm:{left:"col-start-1 col-span-8 @md:col-span-4",center:"col-start-3 col-span-8 @md:col-start-5 @md:col-span-4",right:"col-end-13 col-span-8 @md:col-end-13 @md:col-span-4"},md:{left:"col-start-1 col-span-9 @md:col-span-6",center:"col-start-2 col-span-10 @md:col-start-4 @md:col-span-6",right:"col-end-13 col-span-9 @md:col-end-13 @md:col-span-6"}},vM=({link:e})=>{let{link:t}=vN(),{inverse:r}=(0,k.useContext)(vR),n="mt-[var(--spacing-levels-section-level---s)]",a=w(n,"inline-flex items-baseline gap-1","font-semibold group-hover/spotlight:underline",{"text-[color:var(--actions-text-colors-action-text-fill-default)] group-hover/spotlight:text-[color:var(--actions-text-colors-action-text-fill-hover)]":!r,"text-[color:var(--actions-text-colors-action-text-fill-inverted)]":r}),{label:i,href:o,target:s,linkRender:l,ignoreLinkRender:c}=e;return(0,C.jsxs)(C.Fragment,{children:[!t&&(0,C.jsxs)(g5,{className:n,variant:r?"inverse":"default",linkRender:l,ignoreLinkRender:c,href:o,target:s,children:[i,(0,C.jsx)(ed,{size:"sm"})]}),!!t?.label&&(0,C.jsxs)("div",{className:a,children:[t.label,(0,C.jsx)(ed,{size:"sm",className:"top-[3px] shrink-0 inline relative"})]})]})},vH=w("border-[length:var(--spotlight-section-generic-spotlight-section-content-stroke-width)]","border-[color:var(--generic-stroke-colors-stroke-color-default)]","shadow-[0px_var(--generic-effects-action-shadow-default-y-offset)_var(--generic-effects-action-shadow-blur)_0px_var(--generic-effects-action-shadow-fill)]","bg-[color:var(--generic-fill-colors-fill-default)]","text-[color:var(--generic-text-color-text-color-default)]"),vF=w("text-[color:var(--generic-text-color-text-color-inverted)]","bg-[color:var(--generic-fill-colors-fill-brand)]"),vq=w("roun
1ded-[var(--generic-corners-corner-radius-default)]","p-[var(--spotlight-section-content-spotlight-section-content-mobile-padding)]","sm:p-[var(--spotlight-section-content-spotlight-section-content-desktop-padding)]"),vB={left:w("rounded-l-[var(--spotlight-section-side-aligned-spotlight-section-corner-radius-small)]","rounded-r-[var(--spotlight-section-side-aligned-spotlight-section-corner-radius-big)]","py-[var(--spotlight-section-content-spotlight-section-content-mobile-padding)]","pr-[var(--spotlight-section-side-aligned-spotlight-section-content-padding-big-desktop)]","pl-[var(--spotlight-section-content-spotlight-section-content-mobile-padding)]","sm:py-[var(--spotlight-section-content-spotlight-section-content-desktop-padding)]","sm:pr-[var(--spotlight-section-side-aligned-spotlight-section-content-padding-big-desktop)]","sm:pl-[var(--spotlight-section-content-spotlight-section-content-desktop-padding)]"),right:w("rounded-l-[var(--spotlight-section-side-aligned-spotlight-section-corner-radius-big)]","rounded-r-[var(--spotlight-section-side-aligned-spotlight-section-corner-radius-small)]","py-[var(--spotlight-section-content-spotlight-section-content-mobile-padding)]","pr-[var(--spotlight-section-content-spotlight-section-content-mobile-padding)]","pl-[var(--spotlight-section-side-aligned-spotlight-section-content-padding-big-desktop)]","sm:py-[var(--spotlight-section-content-spotlight-section-content-desktop-padding)]","sm:pr-[var(--spotlight-section-content-spotlight-section-content-desktop-padding)]","sm:pl-[var(--spotlight-section-side-aligned-spotlight-section-content-padding-big-desktop)]"),center:w("rounded-l-[var(--spotlight-section-side-aligned-spotlight-section-corner-radius-small)]","rounded-r-[var(--spotlight-section-side-aligned-spotlight-section-corner-radius-big)]","py-[var(--spotlight-section-content-spotlight-section-content-mobile-padding)]","pr-[var(--spotlight-section-side-aligned-spotlight-section-content-padding-big-desktop)]","pl-[var(--spotlight-section-content-spotlight-section-content-mobile-padding)]","sm:py-[var(--spotlight-section-content-spotlight-section-content-desktop-padding)]","sm:pr-[var(--spotlight-section-side-aligned-spotlight-section-content-padding-big-desktop)]","sm:pl-[var(--spotlight-section-content-spotlight-section-content-desktop-padding)]","lg:rounded-[var(--generic-corners-corner-radius-default)]","lg:p-[var(--spotlight-section-content-spotlight-section-content-desktop-padding)]")},vU=({children:e,placement:t="inside",position:r="left",width:n="md",inverse:a=!1,className:i,style:o,testId:s="SpotlightContent"})=>{let{inline:l,link:c}=vN(),u=et(c),d=w("pointer-events-auto","row-span-1 row-end-3",vL[n][r]),h=w("items-start","group/spotlight","flex flex-col","pointer-events-auto",d,{[vq]:"outside"===t,[vB[r]]:"inside"===t,[vH]:!a,[vF]:a},i),p=(0,C.jsxs)(C.Fragment,{children:[e,c?.label&&(0,C.jsx)(vM,{link:c})]});return(0,C.jsx)(vR.Provider,{value:{inverse:a},children:(0,C.jsxs)("div",{className:(({placement:e,position:t,inline:r,isCardContent:n})=>"outside"===e?w(vj,"relative -top-5 -mb-5 sm:-top-20 sm:-mb-20","px-4 sm:px-6"):w(vj,((e,t)=>{switch(e){case"left":case"center":return w("pr-[var(--spotlight-section-side-aligned-spotlight-section-outer-padding-mobile)]","py-[var(--spotlight-section-generic-spotlight-section-vertical-padding-mobile)]",{"pl-[var(--spotlight-section-side-aligned-spotlight-section-padding-small-mobile)]":!t,"pl-[var(--spotlight-section-side-aligned-spotlight-section-outer-padding-mobile)]":t},"sm:pr-[var(--spotlight-section-side-aligned-spotlight-section-outer-padding-desktop)]","sm:py-[var(--spotlight-section-generic-spotlight-section-vertical-padding-desktop)]",{"sm:pl-[var(--spotlight-section-generic-spotlight-section-horizontal-padding-desktop)]":!t,"sm:pl-[var(--spotlight-section-side-aligned-spotlight-section-outer-padding-desktop)]":t});case"right":return w({"pr-[var(--spotlight-section-side-aligned-spotlight-section-padding-small-mobile)]":!t,"pr-[var(--spotlight-section-side-aligned-spotlight-section-outer-padding-mobile)]":t},"py-[var(--spotlight-section-generic-spotlight-section-vertical-padding-mobile)]","pl-[var(--spotlight-section-side-aligned-spotlight-section-outer-padding-mobile)]",{"sm:pr-[var(--spotlight-section-generic-spotlight-section-horizontal-padding-desktop)]":!t,"sm:pr-[var(--spotlight-section-side-aligned-spotlight-section-outer-padding-desktop)]":t},"sm:py-[var(--spotlight-section-generic-spotlight-section-vertical-padding-desktop)]","sm:pl-[var(--spotlight-section-side-aligned-spotlight-section-outer-padding-desktop)]")}})(t,n),"@xs:grid @xs:grid-cols-12 @xs:grid-rows-1 @xs:gap-x-6",{"absolute bottom-0 left-0 right-0":!r,"relative w-full self
1-end":r}))({placement:t,position:r,inline:l,isCardContent:!1}),style:o,"data-testid":s,children:[!!c&&(0,C.jsx)(u,{className:h,href:c.href,target:c.target,children:p}),!c&&(0,C.jsx)("div",{className:h,children:p})]})})},vW=e=>{let{inline:t,link:r}=vN(),n=et(r),a=!!e.image&&!!r,i=w("block overflow-hidden md:rounded-ds",{"absolute size-full rounded-ds":t}),o=(0,C.jsx)(oV,{...e,className:w(e.className,{"h-full":t}),style:e.style,height:t?"none":e.height,width:"fit-width",squaredCorners:!0});return a?(0,C.jsx)(n,{href:r.href,target:r.target,className:i,tabIndex:-1,children:o}):(0,C.jsx)("div",{className:i,children:o})},vV=({children:e,tag:t="h3",className:r,testId:n="Heading3",...a})=>(0,C.jsx)(t,{className:w("ds-heading-3",r),"data-testid":n,...a,children:e}),vG=({children:e,tag:t="h3",testId:r="SpotlightTitle",className:n,style:a})=>(0,C.jsx)(vV,{tag:t,className:w("mb-[var(--title-spacings-h3)]",n),style:a,testId:r,children:e}),{labelCompact:vz}=sa;(0,k.createContext)(null);let vY={"en-GB":{info:"Information",warning:"Warning",error:"Error",success:"Success",close:"Close",messages:"Messages"},"nl-NL":{info:"Informatie",warning:"Waarschuwing",error:"Fout",success:"Succes",close:"Sluiten",messages:"Berichten"},"de-DE":{info:"Information",warning:"Warnung",error:"Fehler",success:"Erfolg",close:"Schlie\xdfen",messages:"Nachrichten"},"sv-SE":{info:"Information",warning:"Varning",error:"Fel",success:"Lyckades",close:"St\xe4ng",messages:"Meddelanden"},"no-NO":{info:"Informasjon",warning:"Advarsel",error:"Feil",success:"Vellykket",close:"Lukk",messages:"Meldinger"},"en-CA":{info:"Information",warning:"Warning",error:"Error",success:"Success",close:"Close",messages:"Messages"},"fr-CA":{info:"Information",warning:"Avertissement",error:"Erreur",success:"Succ\xe8s",close:"Fermer",messages:"Messages"}},v$=({level:e})=>{switch(e){case"success":return(0,C.jsx)(oX,{className:"shrink-0 text-[color:var(--generic-fill-colors-icon-color-positive)]"});case"error":return(0,C.jsx)(vr,{className:"shrink-0 text-[color:var(--generic-fill-colors-icon-color-negative)]"});case"warning":return(0,C.jsx)(vt,{className:"shrink-0 text-[color:var(--generic-fill-colors-icon-color-warning)]"});case"info":return(0,C.jsx)(vn,{className:"shrink-0 text-[color:var(--generic-fill-colors-icon-color-inform)]"})}},vQ={success:"border-[color:var(--actions-stroke-colors-stroke-color-positive)] bg-[color:var(--generic-fill-colors-fill-positive)]",info:"border-[color:var(--generic-stroke-colors-stroke-color-inform)] bg-[
1color:var(--generic-fill-colors-fill-inform)]",error:"border-[color:var(--generic-stroke-colors-stroke-color-negative)] bg-[color:var(--generic-fill-colors-fill-negative)]",warning:"border-[color:var(--generic-stroke-colors-stroke-color-warning)] bg-[color:var(--generic-fill-colors-fill-warning)]"},vK={success:"text-[color:var(--generic-fill-colors-icon-color-positive)]",info:"text-[color:var(--generic-fill-colors-icon-color-inform)]",error:"text-[color:var(--generic-fill-colors-icon-color-negative)]",warning:"text-[color:var(--generic-fill-colors-icon-color-warning)]"},vZ=(0,k.forwardRef)(({style:e,onClose:t,level:r="info",testId:n="ToastMessage",showIcon:a=!1,overrideIcon:i,className:o,analytics:s,title:l,message:c,action:u,importance:d="normal",...h},p)=>{let f=vY[er()],m=P("toast-message",r,s),g=w("border-[0.1875rem]","p-[var(--spacing-levels-section-level---m)]","gap-[var(--spacing-levels-group-level---s)]","rounded-[var(--generic-corners-corner-radius-medium)]","flex","items-start","shadow-ds-medium","w-fit max-w-[560px]",vQ[r],o);return(0,C.jsxs)("div",{ref:p,className:g,style:e,"data-testid":n,..."high"===d?{role:"alert"}:{},"aria-atomic":"true",...m,...h,children:[a&&(i?(0,C.jsx)(i,{className:w("shrink-0",vK[r])}):(0,C.jsx)(v$,{level:r})),(0,C.jsx)("span",{className:"sr-only",children:f[r]}),(0,C.jsxs)("div",{className:"flex grow flex-col gap-[var(--spacing-levels-section-level---m)]",children:[l&&(0,C.jsx)("p",{className:"ds-heading-5",children:l}),c&&(0,C.jsx)(g9,{children:c}),u&&(0,C.jsxs)(g5,{className:"self-start",onClick:()=>{u?.callback(),t?.()},children:[u.label,(0,C.jsx)(ed,{size:"sm"})]})]}),(0,C.jsx)("button",{type:"button",onClick:()=>{t?.()},className:"-m-0.5 p-0.5 text-[color:var(--actions-fill-colors-action-icon-fill-default)] hover:text-[color:var(--actions-fill-colors-action-icon-fill-hover)]","aria-label":f.close,children:(0,C.jsx)(o9,{size:"md"})})]})}),vX=({onSwipeDismiss:e,swipeThreshold:t=40,className:r,...n})=>{let a=(0,k.useRef)(null),i=(({onDismiss:e,threshold:t,toastRef:r})=>{let n=(0,k.useRef)(0),a=(0,k.useRef)(!1),i=(0,k.useRef)(!1),o=(0,k.useCallback)(()=>t/100*(r.current?.offsetHeight||70),[t,r]),s=(0,k.useCallback)((e,t)=>{if(r.current){let n=o(),a=e>0?Math.max(.3,1-e/(2*n)):1;r.current.style.setProperty("transform",`translateY(${e}px)`,"important"),r.current.style.setProperty("opacity",a.toString(),"important"),r.current.style.setProperty("transition",t?"none":"transform 150ms ease, opacity 150ms ease","important"),r.current.style.cursor=t?"grabbing":"grab",r.current.style.userSelect=t?"none":"auto"}},[o,r]),l=e=>{a.current&&(a.current=!1,e.target.releasePointerCapture(e.pointerId),i.current||s(0,!1),i.current=!1)};return{onPointerDown:e=>{a.current=!0,i.current=!1,n.current=e.clientY,e.target.setPointerCapture(e.pointerId),s(0,!0)},onPointerMove:t=>{if(!a.current)return;t.preventDefault();let r=Math.max(0,t.clientY-n.current);requestAnimationFrame(()=>{s(r,!0)}),r>o()&&e&&!i.current&&(i.current=!0,e?.())},onPointerUp:l,onPointerCancel:l}})({onDismiss:e,threshold:t,toastRef:a}),o=w("cursor-grab touch-none",r);return(0,C.jsx)(vZ,{ref:a,className:o,...i,...n})},vJ=({activeToasts:e,children:t,portalChange:r})=>{let n=(0,k.useRef)(null),[a,i]=(0,k.useState)(0),[o,s]=(0,k.useState)(!1);return(0,k.useEffect)(()=>{s(!0)},[r]),(0,k.useLayoutEffect)(()=>{i(n.current?.scrollHeight||0),s(!1)},[e]),(0,C.jsx)("div",{className:w("relative flex flex-col items-center gap-[var(--shared-base-sizes-size-3)] transition-[max-height] duration-300",{"transition-none":o}),style:{maxHeight:a},ref:n,children:e.map(e=>(0,C.jsx)("div",{className:w("grid",{"ToastStack-module_animateToastIn__XS7sH":e.active,"ToastStack-module_animateToastOut__rYSmS":!e.active}),children:(0,C.jsx)("div",{className:"overflow-hidden",children:t(e)})},e.id))})},v1=(0,k.createContext)(void 0),v0=({defaultDuration:e=5e3,children:t,className:r,analytics:n,testId:a="ToastProvider",style:i})=>{let o,s=(()=>{let[e,t]=(0,k.useState)(null),r=(0,k.useRef)(null);return(0,k.useEffect)(()=>{let e=()=>{let e=document.querySelectorAll("dialog[open]"),r=e[e.length-1]??document.body;t(e=>e===r?e:r)};e();let n=new MutationObserver(t=>{let n,a=t.find(e=>"attributes"===e.type&&"open"===e.attributeName&&e.target instanceof HTMLDialogElement);if(!a)return;r.current&&(clearTimeout(r.current),r.current=null);let i=a.target,o=isNaN(n=parseFloat(getComputedStyle(document.body).getPropertyValue("--dialog-transition-duration")))?150:n;i.open?r.current=setTimeout(e,o):e()});return n.observe(document.body,{attributes:!0,subtree:!0,attributeFilter:["open"]}),()=>{n.disconnect(),r.current&&(clearTimeout(r.current),r.current=null)}},[]),e})(),l=vY[er()],{setToastTimeout:c,clearToastTimeout:u,pauseAllToastTimeouts:d,resumeAllToastTimeouts:h}=(o=(0,k.useRef)(new Map),(0,k.useEffect)(()=>()=>
1{o.current.forEach(e=>clearTimeout(e.timeoutId))},[]),{setToastTimeout:(e,t,r)=>{let n=o.current.get(e);n?.timeoutId&&clearTimeout(n.timeoutId);let a=Date.now()+t,i=setTimeout(()=>{r(),o.current.delete(e)},t);o.current.set(e,{timeoutId:i,deadline:a,callback:r})},clearToastTimeout:e=>{let t=o.current.get(e);t&&(clearTimeout(t.timeoutId),o.current.delete(e))},resumeAllToastTimeouts:()=>{for(let[e,t]of o.current){let r=t.remainingTime;if(!t.timeoutId&&void 0!==r){if(0===r){t.callback(),o.current.delete(e);continue}let n=setTimeout(()=>{t.callback(),o.current.delete(e)},r);o.current.set(e,{timeoutId:n,deadline:Date.now()+r,callback:t.callback})}}},pauseAllToastTimeouts:()=>{for(let[e,t]of o.current)t.timeoutId&&void 0!==t.deadline&&(clearTimeout(t.timeoutId),o.current.set(e,{remainingTime:Math.max(0,t.deadline-Date.now()),callback:t.callback}))}}),[p,f]=(0,k.useState)([]),m=P("toast-container",void 0,n),g=e=>{u(e),f(t=>t.map(t=>t.id===e?{...t,active:!1}:t)),setTimeout(()=>{f(t=>t.filter(t=>t.id!==e))},300)},v=w("pointer-events-none fixed inset-x-0 bottom-0 z-ds-panel p-4 md:p-8",r);return(0,C.jsxs)(v1.Provider,{value:{createToastMessage:({persist:t,duration:r,...n})=>{let a=crypto.randomUUID();f(e=>[...e,{id:a,active:!0,...n}]),t||c(a,Math.max(0,(r??e)-300),()=>{g(a)})}},children:[t,s&&(0,e2.createPortal)((0,C.jsx)("div",{className:v,style:i,"data-testid":a,...m,role:"region","aria-live":"polite","aria-label":l.messages,onPointerEnter:d,onPointerLeave:h,onFocus:d,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||h()},children:(0,C.jsx)(vJ,{portalChange:s,activeToasts:p,children:({active:e,...t})=>(0,C.jsx)(vX,{onClose:()=>g(t.id),onSwipeDismiss:()=>g(t.id),style:{pointerEvents:e?"auto":"none"},...t},t.id)})}),s)]})},v2={createToastMessage:()=>{}},v3=()=>(0,k.useContext)(v1)??v2,{bodyCompact:v5}=sa,v4=({children:e,tag:t="h1",className:r,testId:n="DecorativeMedium",...a})=>(0,C.jsx)(t,{className:w("ds-decorative-text--medium",r),"data-testid":n,...a,children:e}),v8=({children:e,tag:t="h1",className:r,testId:n="DecorativeSmall",...a})=>(0,C.jsx)(t,{className:w("ds-decorative-text--small",r),"data-testid":n,...a,children:e}),v6=({children:e,tag:t="h1",className:r,testId:n="Heading1",...a})=>(0,C.jsx)(t,{className:w("ds-heading-1",r),"data-testid":n,...a,children:e}),v9=({children:e,tag:t="h2",className:r,testId:n="Heading2",...a})=>(0,C.jsx)(t,{className:w("ds-heading-2",r),"data-testid":n,...a,children:e}),v7=({children:e,tag:t="h4",className:r,testId:n="Heading4",...a})=>(0,C.jsx)(t,{className:w("ds-heading-4",r),"data-testid":n,...a,children:e}),ye=({children:e,tag:t="h5",className:r,testId:n="Heading5",...a})=>(0,C.jsx)(t,{className:w("ds-heading-5",r),"data-testid":n,...a,children:e}),yt=({children:e,tag:t="h1",className:r,testId:n="HeadingSuper",...a})=>(0,C.jsx)(t,{className:w("ds-heading-super",r),"data-testid":n,...a,children:e}),yr=({compact:e=!1,children:t,className:r,testId:n="Strong",...a})=>(0,C.jsx)("strong",{className:w({"ds-strong-text":!e,"ds-strong-text--compact":e},r),"data-testid":n,...a,children:t});y.POSTCODE_LOTTERY,y.POSTCODE_LOTTERY_HEARTS,y.FRIENDS_LOTTERY;let yn=({testId:e="ChevronUpIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M18 15L12 9L6 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),ya=({testId:e="AnnotationAlertIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 10.5V7M12 14H12.01M9.9 19.2L11.36 21.1467C11.5771 21.4362 11.6857 21.5809 11.8188 21.6327C11.9353 21.678 12.0647 21.678 12.1812 21.6327C12.3143 21.5809 12.4229 21.4362 12.64 21.1467L14.1 19.2C14.3931 18.8091 14.5397 18.6137 14.7185 18.4645C14.9569 18.2656 15.2383 18.1248 15.5405 18.0535C15.7671 18 16.0114 18 16.5 18C17.8978 18 18.5967 18 19.1481 17.7716C19.8831 17.4672 20.4672 16.8831 20.7716 16.1481C21 15.5967 21 14.8978 21 13.5V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V13.5C3 14.8978 3 15.5967 3.22836 16.1481C3.53284 16.8831 4.11687 17.4672 4.85195 17.7716C5.40326 18 6.10218 18 7.5 18C7.98858 18 8.23287 18 8.45951 18.0535C8.76169 18.1248 9.04312 18.2656 9.2815 18.4645C9.46028 18.6137 9.60685 18.8091 9.9 19.2Z",
1stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yi=({testId:e="AnnotationCheckIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M9 11L11 13L15.5 8.5M9.9 19.2L11.36 21.1467C11.5771 21.4362 11.6857 21.5809 11.8188 21.6327C11.9353 21.678 12.0647 21.678 12.1812 21.6327C12.3143 21.5809 12.4229 21.4362 12.64 21.1467L14.1 19.2C14.3931 18.8091 14.5397 18.6137 14.7185 18.4645C14.9569 18.2656 15.2383 18.1248 15.5405 18.0535C15.7671 18 16.0114 18 16.5 18C17.8978 18 18.5967 18 19.1481 17.7716C19.8831 17.4672 20.4672 16.8831 20.7716 16.1481C21 15.5967 21 14.8978 21 13.5V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V13.5C3 14.8978 3 15.5967 3.22836 16.1481C3.53284 16.8831 4.11687 17.4672 4.85195 17.7716C5.40326 18 6.10218 18 7.5 18C7.98858 18 8.23287 18 8.45951 18.0535C8.76169 18.1248 9.04312 18.2656 9.2815 18.4645C9.46028 18.6137 9.60685 18.8091 9.9 19.2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yo=({testId:e="AnnotationDotsIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M7.5 10.5H7.51M12 10.5H12.01M16.5 10.5H16.51M9.9 19.2L11.36 21.1467C11.5771 21.4362 11.6857 21.5809 11.8188 21.6327C11.9353 21.678 12.0647 21.678 12.1812 21.6327C12.3143 21.5809 12.4229 21.4362 12.64 21.1467L14.1 19.2C14.3931 18.8091 14.5397 18.6137 14.7185 18.4645C14.9569 18.2656 15.2383 18.1248 15.5405 18.0535C15.7671 18 16.0114 18 16.5 18C17.8978 18 18.5967 18 19.1481 17.7716C19.8831 17.4672 20.4672 16.8831 20.7716 16.1481C21 15.5967 21 14.8978 21 13.5V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V13.5C3 14.8978 3 15.5967 3.22836 16.1481C3.53284 16.8831 4.11687 17.4672 4.85195 17.7716C5.40326 18 6.10218 18 7.5 18C7.98858 18 8.23287 18 8.45951 18.0535C8.76169 18.1248 9.04312 18.2656 9.2815 18.4645C9.46028 18.6137 9.60685 18.8091 9.9 19.2ZM8 10.5C8 10.7761 7.77614 11 7.5 11C7.22386 11 7 10.7761 7 10.5C7 10.2239 7.22386 10 7.5 10C7.77614 10 8 10.2239 8 10.5ZM12.5 10.5C12.5 10.7761 12.2761 11 12 11C11.7239 11 11.5 10.7761 11.5 10.5C11.5 10.2239 11.7239 10 12 10C12.2761 10 12.5 10.2239 12.5 10.5ZM17 10.5C17 10.7761 16.7761 11 16.5 11C16.2239 11 16 10.7761 16 10.5C16 10.2239 16.2239 10 16.5 10C16.7761 10 17 10.2239 17 10.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),ys=({testId:e="Mail01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M2 7L10.1649 12.7154C10.8261 13.1783 11.1567 13.4097 11.5163 13.4993C11.8339 13.5785 12.1661 13.5785 12.4837 13.4993C12.8433 13.4097 13.1739 13.1783 13.8351 12.7154L22 7M6.8 20H17.2C18.8802 20 19.7202 20 20.362 19.673C20.9265 19.3854 21.3854 18.9265 21.673 18.362C22 17.7202 22 16.8802 22 15.2V8.8C22 7.11984 22 6.27976 21.673 5.63803C21.3854 5.07354 20.9265 4.6146 20.362 4.32698C19.7202 4 18.8802 4 17.2 4H6.8C5.11984 4 4.27976 4 3.63803 4.32698C3.07354 4.6146 2.6146 5.07354 2.32698 5.63803C2 6.27976 2 7.11984 2 8.8V15.2C2 16.8802 2 17.7202 2.32698 18.362C2.6146 18.9265 3.07354 19.3854 3.63803 19.673C4.27976 20 5.11984 20 6.8 20Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yl=({testId:e="Mail02Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21.5 18L14.8571 12M9.14286 12L2.50003 18M2 7L10.1649 12.7154C10.8261 13.1783 11.1567 13.4097 11.5163 13.4993C11.8339 13.5785 12.1661 13.5785 12.4837 13.4993C12.8433 13.4097 13.1739 13.1783 13.8351 12.7154L22 7M6.8 20H17.2C18.8802 20 19.7202 20 20.362 19.673C20.9265 19.3854 21.3854 18.9265 21.673 18.362C22 17.7202 22 16.8802 22 15.2V8.8C22 7.11984 22 6.27976 21.673 5.63803C21.3854 5.07354 20.9265 4.6146 20.362 4.32698C19.7202 4 18.8802 4 17.2 4H6.8C5.11984 4 4.27976 4 3.63803 4.32698C3.07354 4.6146 2.6146 5.07354 2.32698 5.63803C2 6.27976 2 7.11984 2 8.8V15.2C2 16.8802 2 17.7202 2.32698 18.362C2.6146 18.9265 3.07354 19.3854 3.63803 19.673C4.27976 20 5.11984 20 6.8 20Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yc=({testId:e="MessageChatSquareIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M10 15L6.92474 18.1137C6.49579 18.548 6.28131 18.7652 6.09695 18.7805C5.93701 18.7938 5.78042 18.7295 5.67596 18.6076C5.55556 18.4672 5.55556 18.162 5.55556 17.5515V15.9916C5.55556 15.444 5.10707 15.0477 4.5652 14.9683V14.9683C3.25374 14.7762 2.22378 13.7463 2.03168 12.4348C2 12.2186 2 11.9605 2 11.4444V6.8C2 5.11984 2 4.27976 2.32698 3.63803C2.6146 3.07354 3.07354 2.6146 3.63803 2.32698C4.27976 2 5.11984 2 6.8 2H14.2C15.8802 2 16.7202 2 17.362 2.32698C17.9265 2.6146 18.3854 3.07354 18.673 3.63803C19 4.27976 19 5.11984 19 6.8V11M19 22L16.8236 20.4869C16.5177 20.2742 16.3647 20.1678 16.1982 20.0924C16.0504 20.0255 15.8951 19.9768 15.7356 19.9474C15.5558 
119.9143 15.3695 19.9143 14.9969 19.9143H13.2C12.0799 19.9143 11.5198 19.9143 11.092 19.6963C10.7157 19.5046 10.4097 19.1986 10.218 18.8223C10 18.3944 10 17.8344 10 16.7143V14.2C10 13.0799 10 12.5198 10.218 12.092C10.4097 11.7157 10.7157 11.4097 11.092 11.218C11.5198 11 12.0799 11 13.2 11H18.8C19.9201 11 20.4802 11 20.908 11.218C21.2843 11.4097 21.5903 11.7157 21.782 12.092C22 12.5198 22 13.0799 22 14.2V16.9143C22 17.8462 22 18.3121 21.8478 18.6797C21.6448 19.1697 21.2554 19.5591 20.7654 19.762C20.3978 19.9143 19.9319 19.9143 19 19.9143V22Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yu=({testId:e="PhoneBasicIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M8.38028 8.85335C9.07627 10.303 10.0251 11.6616 11.2266 12.8632C12.4282 14.0648 13.7869 15.0136 15.2365 15.7096C15.3612 15.7694 15.4235 15.7994 15.5024 15.8224C15.7828 15.9041 16.127 15.8454 16.3644 15.6754C16.4313 15.6275 16.4884 15.5704 16.6027 15.4561C16.9523 15.1064 17.1271 14.9316 17.3029 14.8174C17.9658 14.3864 18.8204 14.3864 19.4833 14.8174C19.6591 14.9316 19.8339 15.1064 20.1835 15.4561L20.3783 15.6509C20.9098 16.1824 21.1755 16.4481 21.3198 16.7335C21.6069 17.301 21.6069 17.9713 21.3198 18.5389C21.1755 18.8242 20.9098 19.09 20.3783 19.6214L20.2207 19.779C19.6911 20.3087 19.4263 20.5735 19.0662 20.7757C18.6667 21.0001 18.0462 21.1615 17.588 21.1601C17.1751 21.1589 16.8928 21.0788 16.3284 20.9186C13.295 20.0576 10.4326 18.4332 8.04466 16.0452C5.65668 13.6572 4.03221 10.7948 3.17124 7.76144C3.01103 7.19699 2.93092 6.91477 2.9297 6.50182C2.92833 6.0436 3.08969 5.42311 3.31411 5.0236C3.51636 4.66357 3.78117 4.39876 4.3108 3.86913L4.46843 3.7115C4.99987 3.18006 5.2656 2.91433 5.55098 2.76999C6.11854 2.48292 6.7888 2.48292 7.35636 2.76999C7.64174 2.91433 7.90747 3.18006 8.43891 3.7115L8.63378 3.90637C8.98338 4.25597 9.15819 4.43078 9.27247 4.60655C9.70347 5.26945 9.70347 6.12403 9.27247 6.78692C9.15819 6.96269 8.98338 7.1375 8.63378 7.4871C8.51947 7.60142 8.46231 7.65857 8.41447 7.72538C8.24446 7.96281 8.18576 8.30707 8.26748 8.58743C8.29048 8.66632 8.32041 8.72866 8.38028 8.85335Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yd=({testId:e="BingoIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M15.9377 15.9377C19.3603 15.4795 22 12.548 22 9C22 5.13401 18.866 2 15 2C11.452 2 8.52049 4.63967 8.06227 8.06227M14 6L17.5 6.80385L14.5789 10.7713M14.5789 10.7713C13.3005 9.08742 11.2772 8 9 8C5.13401 8 2 11.134 2 15C2 18.866 5.13401 22 9 22C12.866 22 16 18.866 16 15C16 13.4112 15.4707 11.9461 14.5789 10.7713ZM11.5 17.0622L8 18C9.5 15.5 11 13.5 9.5 12.5C8 11.634 7 13.5 7 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yh=({testId:e="VipIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M5.40444 9.71793L7.40436 14.218L9.40444 9.71793M12.4045 9.71794V14.218M15.4044 14.218L15.4045 12.7179M15.4045 12.7179V9.71794H17.2045C18.0329 9.71794 18.7045 10.3895 18.7045 11.2179C18.7045 12.0464 18.0329 12.7179 17.2045 12.7179H15.4045ZM2 8.2L2 15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.07989 19 5.2 19L18.8 19C19.9201 19 20.4802 19 20.908 18.782C21.2843 18.5903 21.5903 18.2843 21.782 17.908C22 17.4802 22 16.9201 22 15.8V8.2C22 7.0799 22 6.51984 21.782 6.09202C21.5903 5.7157 21.2843 5.40974 20.908 5.21799C20.4802 5 19.9201 5 18.8 5L5.2 5C4.0799 5 3.51984 5 3.09202 5.21799C2.7157 5.40973 2.40973 5.71569 2.21799 6.09202C2 6.51984 2 7.07989 2 8.2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yp=({testId:e="Trophy01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 15C8.68629 15 6 12.3137 6 9V3.44444C6 3.0306 6 2.82367 6.06031 2.65798C6.16141 2.38021 6.38021 2.16141 6.65798 2.06031C6.82367 2 7.0306 2 7.44444 2H16.5556C16.9694 2 17.1763 2 17.342 2.06031C17.6198 2.16141 17.8386 2.38021 17.9397 2.65798C18 2.82367 18 3.0306 18 3.44444V9C18 12.3137 15.3137 15 12 15ZM12 15V18M18 4H20.5C20.9659 4 21.1989 4 21.3827 4.07612C21.6277 4.17761 21.8224 4.37229 21.9239 4.61732C22 4.80109 22 5.03406 22 5.5V6C22 6.92997 22 7.39496 21.8978 7.77646C21.6204 8.81173 20.8117 9.62038 19.7765 9.89778C19.395 10 18.93 10 18 10M6 4H3.5C3.03406 4 2.80109 4 2.61732 4.07612C2.37229 4.17761 2.17761 4.37229 2.07612 4.61732C2 4.80109 2 5.03406 2 5.5V6C2 6.92997 2 7.39496 2.10222 7.77646C2.37962 8.81173 3.18827 9.62038 4.22354 9.89778C4.60504 10 5.07003 10 6 10M7.44444 22H16.5556C16.801 22 17 21.801 17 21.5556C17 19.5919 15.4081 18 13.4444 18H10.5556C8.59188 18 7 19.5919 7 21.5556C7 21.801 7.19898 22 7.44444 22Z",
1stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yf=({testId:e="CheckCircleFillIcon",...t})=>(0,C.jsxs)(Y,{...t,testId:e,children:[(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M16.5 9L10.3125 15.1875L7.5 12.375",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})]}),ym=({testId:e="HeartFillIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9929 3.71691C9.65298 1.67202 6.19252 1.25356 3.50521 3.54965C0.598423 6.03328 0.176093 10.2161 2.47471 13.1739C3.34724 14.2967 5.05023 15.9835 6.68684 17.5282C8.34261 19.0911 9.99457 20.5679 10.8092 21.2894L10.8247 21.3031C10.9013 21.371 10.9967 21.4555 11.0881 21.5244C11.1975 21.6068 11.3547 21.7091 11.5645 21.7717C11.8434 21.8549 12.1432 21.8549 12.4221 21.7717C12.6319 21.7091 12.789 21.6068 12.8984 21.5244C12.9898 21.4555 13.0852 21.371 13.1618 21.3031L13.1773 21.2894C13.992 20.5679 15.6439 19.0911 17.2997 17.5282C18.9363 15.9835 20.6393 14.2967 21.5118 13.1739C23.8016 10.2275 23.4445 6.01238 20.4709 3.54088C17.7537 1.28246 14.3301 1.67124 11.9929 3.71691Z",fill:"currentColor"})}),yg=({testId:e="VipFillIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.16195 4L18.839 4C19.3662 3.99998 19.8209 3.99997 20.1955 4.03057C20.5909 4.06287 20.9841 4.13419 21.3625 4.32698C21.9269 4.6146 22.3859 5.07354 22.6735 5.63803C22.8663 6.01641 22.9376 6.40963 22.9699 6.80498C23.0005 7.17954 23.0005 7.6343 23.0005 8.16144V15.8386C23.0005 16.3657 23.0005 16.8205 22.9699 17.195C22.9376 17.5904 22.8663 17.9836 22.6735 18.362C22.3859 18.9265 21.9269 19.3854 21.3625 19.673C20.9841 19.8658 20.5909 19.9371 20.1955 19.9694C19.8209 20 19.3662 20 18.8391 20L5.16197 20C4.63481 20 4.18004 20 3.80546 19.9694C3.41012 19.9371 3.0169 19.8658 2.63852 19.673C2.07403 19.3854 1.61509 18.9265 1.32747 18.362C1.13468 17.9836 1.06336 17.5904 1.03106 17.195C1.00046 16.8205 1.00047 16.3657 1.00049 15.8385L1.00049 8.16146C1.00047 7.63431 1.00046 7.17955 1.03106 6.80497C1.06336 6.40963 1.13468 6.01641 1.32747 5.63803C1.61509 5.07354 2.07403 4.6146 2.63852 4.32698C3.0169 4.13419 3.41012 4.06287 3.80546 4.03057C4.18003 3.99997 4.6348 3.99998 5.16195 4ZM4.99881 8.80411C5.50349 8.57982 6.09445 8.80712 6.31875 9.31181L7.40488 11.7557L8.49112 9.31178C8.71543 8.8071 9.3064 8.57982 9.81108 8.80413C10.3158 9.02844 10.543 9.6194 10.3187 10.1241L8.31865 14.6241C8.15815 14.9852 7.80002 15.218 7.40483 15.218C7.00964 15.218 6.65152 14.9852 6.49103 14.6241L4.49111 10.1241C4.26681 9.61937 4.49412 9.02841 4.99881 8.80411ZM12.405 8.71794C12.9572 8.71794 13.405 9.16565 13.405 9.71794V14.218C13.405 14.7702 12.9572 15.218 12.405 15.218C11.8527 15.218 11.405 14.7702 11.405 14.218V9.71794C11.405 9.16565 11.8527 8.71794 12.405 8.71794ZM14.405 9.71794C14.405 9.16565 14.8527 8.71794 15.405 8.71794H17.205C18.5857 8.71794 19.705 9.83723 19.705 11.2179C19.705 12.5986 18.5857 13.7179 17.205 13.7179H16.4049L16.4048 14.218C16.4048 14.7703 15.9571 15.218 15.4048 15.218C14.8525 15.2179 14.4048 14.7702 14.4048 14.2179L14.405 9.71794ZM16.405 11.7179H17.205C17.4811 11.7179 17.705 11.4941 17.705 11.2179C17.705 10.9418 17.4811 10.7179 17.205 10.7179H16.405V11.7179Z",fill:"currentColor"})}),yv=({testId:e="BankNote01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M6 11V15M18 9V13M17 4C19.4487 4 20.7731 4.37476 21.4321 4.66544C21.5199 4.70415 21.5638 4.72351 21.6904 4.84437C21.7663 4.91682 21.9049 5.12939 21.9405 5.22809C22 5.39274 22 5.48274 22 5.66274V16.4111C22 17.3199 22 17.7743 21.8637 18.0079C21.7251 18.2454 21.5914 18.3559 21.3319 18.4472C21.0769 18.5369 20.562 18.438 19.5322 18.2401C18.8114 18.1017 17.9565 18 17 18C14 18 11 20 7 20C4.55129 20 3.22687 19.6252 2.56788 19.3346C2.48012 19.2958 2.43624 19.2765 2.3096 19.1556C2.23369 19.0832 2.09512 18.8706 2.05947 18.7719C2 18.6073 2 18.5173 2 18.3373L2 7.58885C2 6.68009 2 6.2257 2.13628 5.99214C2.2749 5.75456 2.40859 5.64412 2.66806 5.55281C2.923
114 5.46305 3.43803 5.56198 4.46783 5.75985C5.18862 5.89834 6.04348 6 7 6C10 6 13 4 17 4ZM14.5 12C14.5 13.3807 13.3807 14.5 12 14.5C10.6193 14.5 9.5 13.3807 9.5 12C9.5 10.6193 10.6193 9.5 12 9.5C13.3807 9.5 14.5 10.6193 14.5 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yy=({testId:e="CreditCard01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M22 10H2M2 8.2L2 15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.07989 19 5.2 19L18.8 19C19.9201 19 20.4802 19 20.908 18.782C21.2843 18.5903 21.5903 18.2843 21.782 17.908C22 17.4802 22 16.9201 22 15.8V8.2C22 7.0799 22 6.51984 21.782 6.09202C21.5903 5.7157 21.2843 5.40974 20.908 5.21799C20.4802 5 19.9201 5 18.8 5L5.2 5C4.0799 5 3.51984 5 3.09202 5.21799C2.7157 5.40973 2.40973 5.71569 2.21799 6.09202C2 6.51984 2 7.07989 2 8.2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yb=({testId:e="CreditCardCheckIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M16 18L18 20L22 16M22 10H2M22 12V8.2C22 7.0799 22 6.51984 21.782 6.09202C21.5903 5.7157 21.2843 5.40974 20.908 5.21799C20.4802 5 19.9201 5 18.8 5H5.2C4.0799 5 3.51984 5 3.09202 5.21799C2.7157 5.40973 2.40973 5.71569 2.21799 6.09202C2 6.51984 2 7.0799 2 8.2V15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.0799 19 5.2 19H12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yx=({testId:e="Gift01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 6V22M12 6H8.46429C7.94332 6 7.4437 5.78929 7.07533 5.41421C6.70695 5.03914 6.5 4.53043 6.5 4C6.5 3.46957 6.70695 2.96086 7.07533 2.58579C7.4437 2.21071 7.94332 2 8.46429 2C11.2143 2 12 6 12 6ZM12 6H15.5357C16.0567 6 16.5563 5.78929 16.9247 5.41421C17.293 5.03914 17.5 4.53043 17.5 4C17.5 3.46957 17.293 2.96086 16.9247 2.58579C16.5563 2.21071 16.0567 2 15.5357 2C12.7857 2 12 6 12 6ZM20 11V18.8C20 19.9201 20 20.4802 19.782 20.908C19.5903 21.2843 19.2843 21.5903 18.908 21.782C18.4802 22 17.9201 22 16.8 22L7.2 22C6.07989 22 5.51984 22 5.09202 21.782C4.71569 21.5903 4.40973 21.2843 4.21799 20.908C4 20.4802 4 19.9201 4 18.8V11M2 7.6L2 9.4C2 9.96005 2 10.2401 2.10899 10.454C2.20487 10.6422 2.35785 10.7951 2.54601 10.891C2.75992 11 3.03995 11 3.6 11L20.4 11C20.9601 11 21.2401 11 21.454 10.891C21.6422 10.7951 21.7951 10.6422 21.891 10.454C22 10.2401 22 9.96005 22 9.4V7.6C22 7.03995 22 6.75992 21.891 6.54601C21.7951 6.35785 21.6422 6.20487 21.454 6.10899C21.2401 6 20.9601 6 20.4 6L3.6 6C3.03995 6 2.75992 6 2.54601 6.10899C2.35785 6.20487 2.20487 6.35785 2.10899 6.54601C2 6.75992 2 7.03995 2 7.6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yT=({testId:e="Sale03Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M9 9H9.01M15 15H15.01M16 8L8 16M17.9012 4.99851C18.1071 5.49653 18.5024 5.8924 19.0001 6.09907L20.7452 6.82198C21.2433 7.02828 21.639 7.42399 21.8453 7.92206C22.0516 8.42012 22.0516 8.97974 21.8453 9.47781L21.1229 11.2218C20.9165 11.7201 20.9162 12.2803 21.1236 12.7783L21.8447 14.5218C21.9469 14.7685 21.9996 15.0329 21.9996 15.2999C21.9997 15.567 21.9471 15.8314 21.8449 16.0781C21.7427 16.3249 21.5929 16.549 21.4041 16.7378C21.2152 16.9266 20.991 17.0764 20.7443 17.1785L19.0004 17.9009C18.5023 18.1068 18.1065 18.5021 17.8998 18.9998L17.1769 20.745C16.9706 21.2431 16.575 21.6388 16.0769 21.8451C15.5789 22.0514 15.0193 22.0514 14.5212 21.8451L12.7773 21.1227C12.2792 20.9169 11.7198 20.9173 11.2221 21.1239L9.47689 21.8458C8.97912 22.0516 8.42001 22.0514 7.92237 21.8453C7.42473 21.6391 7.02925 21.2439 6.82281 20.7464L6.09972 19.0006C5.8938 18.5026 5.49854 18.1067 5.00085 17.9L3.25566 17.1771C2.75783 16.9709 2.36226 16.5754 2.15588 16.0777C1.94951 15.5799 1.94923 15.0205 2.1551 14.5225L2.87746 12.7786C3.08325 12.2805 3.08283 11.7211 2.8763 11.2233L2.15497 9.47678C2.0527 9.2301 2.00004 8.96568 2 8.69863C1.99996 8.43159 2.05253 8.16715 2.15472 7.92043C2.25691 7.67372 2.40671 7.44955 2.59557 7.26075C2.78442 7.07195 3.00862 6.92222 3.25537 6.8201L4.9993 6.09772C5.49687 5.89197 5.89248 5.4972 6.0993 5.00006L6.82218 3.25481C7.02848 2.75674 7.42418 2.36103 7.92222 2.15473C8.42027 1.94842 8.97987 1.94842 9.47792 2.15473L11.2218 2.87712C11.7199 3.08291 12.2793 3.08249 12.7771 2.87595L14.523 2.15585C15.021 1.94966 15.5804 1.9497 16.0784 2.15597C16.5763 2.36223 16.972 2.75783 17.1783 3.25576L17.9014 5.00153L17.9012 4.99851ZM9.5 9C9.5 9.27614 9.27614 9.5 9 9.5C8.72386 9.5 8.5 9.27614 8.5 9C8.5 8.72386 8.72386 8.5 9 8.5C9.27614 8.5 9.5 8.72386 9.5 9ZM15.5 15C15.5 15.2761 15.2761 15.5 15 15.5C14.7239 15.5 14.5 15.2761 14.5 15C14.5 14.7239 14.7239 14.5 15 14.5C15.2761 14.5 15.5 14.7239 15.5 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yE=({testId:e="ShoppingCart01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M2 2H3.30616C3.55218 2 3.67519 2 3.77418 2.04524C3.86142 2.08511 3.93535 2.14922 3.98715 2.22995C4.04593 2.32154 4.06333 2.44332 4.09812 2.68686L4.57143 6M4.57143 6L5.62332 13.7314C5.75681 14.7125 5.82355 15.2031 6.0581 15.5723C6.26478 15.8977 6.56108 16.1564 6.91135 16.3174C7.30886 16.5 7.80394 16.5 8.79411 16.5H17.352C18.2945 16.5 18.7658 16.5 19.151 16.3304C19.4905 16.1809 19.7818 15.9398 19.9923 15.6342C20.2309 15.2876 20.3191 14.8247 20.4955 13.8988L21.8191 6.94969C21.8812 6.62381 21.9122 6.46087 21.8672 6.3335C21.8278 6.22177 21.7499 6.12768 21.6475 6.06802C21.5308 6 21.365 6 21.0332 6H4.57143ZM10 21C10 21.5523 9.55228 22 9 22C8.44772 22 8 21.5523 8 21C8 20.4477 8.44772 20 9 20C9.55228 20 10 20.4477 10 21ZM18 21C18 21.5523 17.5523 22 17 22C16.4477 22 16 21.5523 16 21C16 20.4477 16.4477 20 17 20C17.5523 20 18 20.4477 18 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yC=({testId:e="CheckCircleIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yw=({testId:e="CheckVerified03Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M9 12L11 14L15.5 9.5M9.2019 20.6009C9.52965 20.5575 9.86073 20.6464 10.1218 20.8475L11.3251 21.7708C11.7228 22.0764 12.2761 22.0764 12.6727 21.7708L13.9215 20.812C14.1548 20.6331 14.4492 20.5542 14.7403 20.5931L16.3024 20.7986C16.799 20.8642 17.2779 20.5875 17.4701 20.1242L18.0712 18.6709C18.1834 18.3987 18.3989 18.1832 18.6711 18.0709L20.1243 17.4698C20.5876 17.2787 20.8643 16.7988 20.7987 16.3021L20.601 14.7966C20.5576 14.4688 20.6465 14.1377 20.8476 13.8766L21.7709 12.6733C22.0764 12.2755 22.0764 11.7222 21.7709 11.3256L20.812 10.0767C20.6332 9.84339 20.5543 9.54896 20.5932 9.25785L20.7987 7.69568C20.8643 7.19902 20.5876 6.72015 20.1243 6.52793L18.6711 5.92684C18.3989 5.81462 18.1834 5.59907 18.0712 5.32685L17.4701 3.87356C17.279 3.41024 16.799 3.13358 16.3024 3.19913L14.7403 3.40468C14.4492 3.44468 14.1548 3.36579 13.9226 3.18802L12.6738 2.22916C12.2761 1.92361 11.7228 1.92361 11.3262 2.22916L10.0774 3.18802C9.84407 3.36579 9.54965 3.44468 9.25856 3.40691L7.69647 3.20136C7.19984 3.1358 6.721 3.41246 6.52879 3.87578L5.92884 5.32907C5.81552 5.60018 5.59998 5.81573 5.32889 5.92906L3.87568 
16.52904C3.41238 6.72126 3.13574 7.20013 3.20129 7.69679L3.40683 9.25897C3.4446 9.55007 3.36572 9.8445 3.18796 10.0767L2.22915 11.3256C1.92362 11.7233 1.92362 12.2767 2.22915 12.6733L3.18796 13.9222C3.36683 14.1555 3.44571 14.4499 3.40683 14.741L3.20129 16.3032C3.13574 16.7999 3.41238 17.2787 3.87568 17.471L5.32889 18.0721C5.60109 18.1843 5.81663 18.3998 5.92884 18.672L6.5299 20.1253C6.721 20.5887 7.20096 20.8653 7.69758 20.7998L9.2019 20.6009Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yk=({testId:e="Download01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21 15V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V15M17 10L12 15M12 15L7 10M12 15V3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yS=({testId:e="HeartHandIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M6 20.0872H8.61029C8.95063 20.0872 9.28888 20.1277 9.61881 20.2087L12.3769 20.8789C12.9753 21.0247 13.5988 21.0389 14.2035 20.9214L17.253 20.3281C18.0585 20.1712 18.7996 19.7855 19.3803 19.2205L21.5379 17.1217C22.154 16.5234 22.154 15.5524 21.5379 14.9531C20.9832 14.4135 20.1047 14.3527 19.4771 14.8103L16.9626 16.6449C16.6025 16.9081 16.1643 17.0498 15.7137 17.0498H13.2855L14.8311 17.0498C15.7022 17.0498 16.4079 16.3633 16.4079 15.5159V15.2092C16.4079 14.5055 15.9156 13.892 15.2141 13.7219L12.8286 13.1418C12.4404 13.0476 12.0428 13 11.6431 13C10.6783 13 8.93189 13.7988 8.93189 13.7988L6 15.0249M2 14.6L2 20.4C2 20.9601 2 21.2401 2.10899 21.454C2.20487 21.6422 2.35785 21.7951 2.54601 21.891C2.75992 22 3.03995 22 3.6 22H4.4C4.96005 22 5.24008 22 5.45399 21.891C5.64215 21.7952 5.79513 21.6422 5.89101 21.454C6 21.2401 6 20.9601 6 20.4V14.6C6 14.04 6 13.7599 5.89101 13.546C5.79513 13.3579 5.64215 13.2049 5.45399 13.109C5.24008 13 4.96005 13 4.4 13H3.6C3.03995 13 2.75992 13 2.54601 13.109C2.35785 13.2049 2.20487 13.3579 2.10899 13.546C2 13.7599 2 14.04 2 14.6ZM17.1914 3.59227C16.5946 2.34341 15.2186 1.6818 13.8804 2.32039C12.5423 2.95898 11.9722 4.4734 12.5325 5.80284C12.8787 6.62448 13.8707 8.22002 14.5781 9.31905C14.8394 9.72513 14.9701 9.92817 15.161 10.0469C15.3247 10.1488 15.5297 10.2037 15.7224 10.1974C15.9471 10.1899 16.1618 10.0794 16.5911 9.85845C17.7532 9.26033 19.4101 8.37457 20.1208 7.83614C21.2707 6.96494 21.5556 5.36359 20.6947 4.14626C19.8337 2.92892 18.3327 2.80914 17.1914 3.59227Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yI=({testId:e="HeartIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9932 5.13581C9.9938 2.7984 6.65975 2.16964 4.15469 4.31001C1.64964 6.45038 1.29697 10.029 3.2642 12.5604C4.89982 14.6651 9.84977 19.1041 11.4721 20.5408C11.6536 20.7016 11.7444 20.7819 11.8502 20.8135C11.9426 20.8411 12.0437 20.8411 12.1361 20.8135C12.2419 20.7819 12.3327 20.7016 12.5142 20.5408C14.1365 19.1041 19.0865 14.6651 20.7221 12.5604C22.6893 10.029 22.3797 6.42787 19.8316 4.31001C17.2835 2.19216 13.9925 2.7984 11.9932 5.13581Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yP=({testId:e="HomeSmileIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M8.12602 14C8.57006 15.7252 10.1362 17 12 17C13.8638 17 15.4299 15.7252 15.874 14M11.0177 2.764L4.23539 8.03912C3.78202 8.39175 3.55534 8.56806 3.39203 8.78886C3.24737 8.98444 3.1396 9.20478 3.07403 9.43905C3 9.70352 3 9.9907 3 10.5651V17.8C3 18.9201 3 19.4801 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21H17.8C18.9201 21 19.4802 21 19.908 20.782C20.2843 20.5903 20.5903 20.2843 20.782 19.908C21 19.4801 21 18.9201 21 17.8V10.5651C21 9.9907 21 9.70352 20.926 9.43905C20.8604 9.20478 20.7526 8.98444 20.608 8.78886C20.4447 8.56806 20.218 8.39175 19.7646 8.03913L12.9823 2.764C12.631 2.49075 12.4553 2.35412 12.2613 2.3016C12.0902 2.25526 11.9098 2.25526 11.7387 2.3016C11.5447 2.35412 11.369 2.49075 11.0177 2.764Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),y_=({testId:e="Loading01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 2.25V4.75M12 18V22M5.75 12H2.25M21.25 12H19.75M18.4571 18.4571L17.75 17.75M18.6642 5.41579L17.25 6.83M4.92157 19.0784L7.75 16.25M5.12868 5.20868L7.25 7.33",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yR=({testId:e="LogOut01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M16 17L21 12M21 12L16 7M21 12H9M9 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yA=({testId:e="LogOut03Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M16 16.9999L21 11.9999M21 11.9999L16 6.99994M21 11.9999H9M12 16.9999C12 17.2955 12 17.4433 11.989 17.5713C11.8748 18.9019 10.8949 19.9968 9.58503 20.2572C9.45903 20.2823 9.31202 20.2986 9.01835 20.3312L7.99694 20.4447C6.46248 20.6152 5.69521 20.7005 5.08566 20.5054C4.27293 20.2453 3.60942 19.6515 3.26118 18.8724C3 18.2881 3 17.5162 3 15.9722V8.02764C3 6.4837 3 5.71174 3.26118 5.12746C3.60942 4.34842 4.27293 3.75454 5.08566 3.49447C5.69521 3.29941 6.46246 3.38466 7.99694 3.55516L9.01835 3.66865C9.31212 3.70129 9.45901 3.71761 9.58503 3.74267C10.8949 4.0031 11.8748 5.09798 11.989 6.42855C12 6.55657 12 6.70436 12 6.99994",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yN=({testId:e="PlusBasicIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 5V19M5 12H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}
1),yD=({testId:e="SearchMdIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yO=({testId:e="Settings01Icon",...t})=>(0,C.jsxs)(Y,{...t,testId:e,children:[(0,C.jsx)("path",{d:"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,C.jsx)("path",{d:"M18.7273 14.7273C18.6063 15.0015 18.5702 15.3056 18.6236 15.6005C18.6771 15.8954 18.8177 16.1676 19.0273 16.3818L19.0818 16.4364C19.2509 16.6052 19.385 16.8057 19.4765 17.0265C19.568 17.2472 19.6151 17.4838 19.6151 17.7227C19.6151 17.9617 19.568 18.1983 19.4765 18.419C19.385 18.6397 19.2509 18.8402 19.0818 19.0091C18.913 19.1781 18.7124 19.3122 18.4917 19.4037C18.271 19.4952 18.0344 19.5423 17.7955 19.5423C17.5565 19.5423 17.3199 19.4952 17.0992 19.4037C16.8785 19.3122 16.678 19.1781 16.5091 19.0091L16.4545 18.9545C16.2403 18.745 15.9682 18.6044 15.6733 18.5509C15.3784 18.4974 15.0742 18.5335 14.8 18.6545C14.5311 18.7698 14.3018 18.9611 14.1403 19.205C13.9788 19.4489 13.8921 19.7347 13.8909 20.0273V20.1818C13.8909 20.664 13.6994 21.1265 13.3584 21.4675C13.0174 21.8084 12.5549 22 12.0727 22C11.5905 22 11.1281 21.8084 10.7871 21.4675C10.4461 21.1265 10.2545 20.664 10.2545 20.1818V20.1C10.2475 19.7991 10.1501 19.5073 9.97501 19.2625C9.79991 19.0176 9.55521 18.8312 9.27273 18.7273C8.99853 18.6063 8.69437 18.5702 8.39947 18.6236C8.10456 18.6771 7.83244 18.8177 7.61818 19.0273L7.56364 19.0818C7.39478 19.2509 7.19425 19.385 6.97353 19.4765C6.7528 19.568 6.51621 19.6151 6.27727 19.6151C6.03834 19.6151 5.80174 19.568 5.58102 19.4765C5.36029 19.385 5.15977 19.2509 4.99091 19.0818C4.82186 18.913 4.68775 18.7124 4.59626 18.4917C4.50476 18.271 4.45766 18.0344 4.45766 17.7955C4.45766 17.5565 4.50476 17.3199 4.59626 17.0992C4.68775 16.8785 4.82186 16.678 4.99091 16.5091L5.04545 16.4545C5.25503 16.2403 5.39562 15.9682 5.4491 15.6733C5.50257 15.3784 5.46647 15.0742 5.34545 14.8C5.23022 14.5311 5.03887 14.3018 4.79497 14.1403C4.55107 13.9788 4.26526 13.8921 3.97273 13.8909H3.81818C3.33597 13.8909 2.87351 13.6994 2.53253 13.3584C2.19156 13.0174 2 12.5549 2 12.0727C2 11.5905 2.19156 11.1281 2.53253 10.7871C2.87351 10.4461 3.33597 10.2545 3.81818 10.2545H3.9C4.2009 10.2475 4.49273 10.1501 4.73754 9.97501C4.98236 9.79991 5.16883 9.55521 5.27273 9.27273C5.39374 8.99853 5.42984 8.69437 5.37637 8.39947C5.3229 8.10456 5.18231 7.83244 4.97273 7.61818L4.91818 7.56364C4.74913 7.39478 4.61503 7.19425 4.52353 6.97353C4.43203 6.7528 4.38493 6.51621 4.38493 6.27727C4.38493 6.03834 4.43203 5.80174 4.52353 5.58102C4.61503 5.36029 4.74913 5.15977 4.91818 4.99091C5.08704 4.82186 5.28757 4.68775 5.50829 4.59626C5.72901 4.50476 5.96561 4.45766 6.20455 4.45766C6.44348 4.45766 6.68008 4.50476 6.9008 4.59626C7.12152 4.68775 7.32205 4.82186 7.49091 4.99091L7.54545 5.04545C7.75971 5.25503 8.03183 5.39562 8.32674 5.4491C8.62164 5.50257 8.9258 5.46647 9.2 5.34545H9.27273C9.54161 5.23022 9.77093 5.03887 9.93245 4.79497C10.094 4.55107 10.1807 4.26526 10.1818 3.97273V3.81818C10.1818 3.33597 10.3734 2.87351 10.7144 2.53253C11.0553 2.19156 11.5178 2 12 2C12.4822 2 12.9447 2.19156 13.2856 2.53253C13.6266 2.87351 13.8182 3.33597 13.8182 3.81818V3.9C13.8193 4.19253 13.906 4.47834 14.0676 4.72224C14.2291 4.96614 14.4584 5.15749 14.7273 5.27273C15.0015 5.39374 15.3056 5.42984 15.6005 5.37637C15.8954 5.3229 16.1676 5.18231 16.3818 4.97273L16.4364 4.91818C16.6052 4.74913 16.8057 4.61503 17.0265 4.52353C17.2472 4.43203 17.4838 4.38493 17.7227 4.38493C17.9617 4.38493 18.1983 4.43203 18.419 4.52353C18.6397 4.61503 18.8402 4.74913 19.0091 4.91818C19.1781 5.08704 19.3122 5.28757 19.4037 5.50829C19.4952 5.72901 19.5423 5.96561 19.5423 6.20455C19.5423 6.44348 19.4952 6.68008 19.4037 6.9008C19.3122 7.12152 19.1781 7.32205 19.0091 7.49091L18.9545 7.54545C18.745 7.75971 18.6044 8.03183 18.5509 8.32674C18.4974 8.62164 18.5335 8.9258 18.6545 9.2V9.27273C18.7698 9.54161 18.9611 9.77093 19.205 9.93245C19.4489 10.094 19.7347 10.1807 20.0273 10.1818H20.1818C20.664 10.1818 21.1265 10.3734 21.4675 10.7144C21.8084 11.0553 22 11.5178 22 12C22 12.4822 21.8084 12.9447 21.4675 13.2856C21.1265 13.6266 20.664 13.8182 20.1818 13.8182H20.1C19.8075 13.8193 19.5217 13.906 19.2778 14.0676C19.0339 14.2291 18.8425 14.4584 18.7273 14.7273Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]}),yj=({testId:e="XCircleIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M15 9L9 15M9 9L15 15M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yL=({testId:e="BulletListIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21 12L9 12M21 6L9 6M21 18L9 18M5 12C5 12.5523 4.55228 13 4 13C3.44772 13 3 12.5523 3 12C3 11.4477 3.44772 11 4 11C4.55228 11 5 11.4477 5 12ZM5 6C5 6.55228 4.55228 7 4 7C3.44772 7 3 6.55228 3 6C3 5.44772 3.44772 5 4 5C4.55228 5 5 5.44772 5 6ZM5 18C5 18.5523 4.55228 19 4 19C3.44772 19 3 18.5523 3 18C3 17.4477 3.44772 17 4 17C4.55228 17 5 17.4477 5 18Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yM=({testId:e="FacebookLogoIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{id:"facebook_2",d:"M24 12C24 5.4 18.6 0 12 0C5.4 0 0 5.4 0 12C0 18 4.35 22.95 10.05 23.85V15.45H7.05V12H10.05V9.3C10.05 6.3 11.85 4.65 14.55 4.65C15.9 4.65 17.25 4.95 17.25 4.95V7.95H15.75C14.25 7.95 13.8 8.85 13.8 9.75V12H17.1L16.5 15.45H13.65V24C19.65 23.1 24 18 24 12Z",fill:"currentColor"})}),yH=({testId:e="InstagramLogoIcon",...t})=>(0,C.jsxs)(Y,{...t,testId:e,children:[(0,C.jsx)("path",{d:"M12 2.16867C15.1807 2.16867 15.6145 2.16867 16.9157 2.16867C18.0723 2.16867 18.6506 2.45783 19.0843 2.60241C19.6627 2.89157 20.0964 3.03615 20.5301 3.46988C20.9639 3.90362 21.253 4.33735 21.3976 4.91566C21.5422 5.3494 21.6867 5.92771 21.8313 7.08434C21.8313 8.38554 21.8313 8.6747 21.8313 12C21.8313 15.3253 21.8313 15.6145 21.8313 16.9157C21.8313 18.0723 21.5422 18.6506 21.3976 19.0843C21.1084 19.6627 20.9639 20.0964 20.5301 20.5301C20.0964 20.9639 19.6627 21.253 19.0843 21.3976C18.6506 21.5422 18.0723 21.6867 16.9157 21.8313C15.6145 21.8313 15.3253 21.8313 12 21.8313C8.6747 21.8313 8.38554 21.8313 7.08434 21.8313C5.92771 21.8313 5.3494 21.5422 4.91566 21.3976C4.33735 21.1084 3.90362 20.9
1639 3.46988 20.5301C3.03615 20.0964 2.74699 19.6627 2.60241 19.0843C2.45783 18.6506 2.31325 18.0723 2.16867 16.9157C2.16867 15.6145 2.16867 15.3253 2.16867 12C2.16867 8.6747 2.16867 8.38554 2.16867 7.08434C2.16867 5.92771 2.45783 5.3494 2.60241 4.91566C2.89157 4.33735 3.03615 3.90362 3.46988 3.46988C3.90362 3.03615 4.33735 2.74699 4.91566 2.60241C5.3494 2.45783 5.92771 2.31325 7.08434 2.16867C8.38554 2.16867 8.81928 2.16867 12 2.16867ZM12 0C8.6747 0 8.38554 0 7.08434 0C5.78313 0 4.91566 0.289157 4.19277 0.578314C3.46988 0.867471 2.74699 1.30121 2.0241 2.0241C1.30121 2.74699 1.01205 3.3253 0.578314 4.19277C0.289157 4.91566 0.144578 5.78313 0 7.08434C0 8.38554 0 8.81928 0 12C0 15.3253 0 15.6145 0 16.9157C0 18.2169 0.289157 19.0843 0.578314 19.8072C0.867471 20.5301 1.30121 21.253 2.0241 21.9759C2.74699 22.6988 3.3253 22.988 4.19277 23.4217C4.91566 23.7108 5.78313 23.8554 7.08434 24C8.38554 24 8.81928 24 12 24C15.1807 24 15.6145 24 16.9157 24C18.2169 24 19.0843 23.7108 19.8072 23.4217C20.5301 23.1325 21.253 22.6988 21.9759 21.9759C22.6988 21.253 22.988 20.6747 23.4217 19.8072C23.7108 19.0843 23.8554 18.2169 24 16.9157C24 15.6145 24 15.1807 24 12C24 8.81928 24 8.38554 24 7.08434C24 5.78313 23.7108 4.91566 23.4217 4.19277C23.1325 3.46988 22.6988 2.74699 21.9759 2.0241C21.253 1.30121 20.6747 1.01205 19.8072 0.578314C19.0843 0.289157 18.2169 0.144578 16.9157 0C15.6145 0 15.3253 0 12 0Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M12 5.78313C8.53012 5.78313 5.78313 8.53012 5.78313 12C5.78313 15.4699 8.53012 18.2169 12 18.2169C15.4699 18.2169 18.2169 15.4699 18.2169 12C18.2169 8.53012 15.4699 5.78313 12 5.78313ZM12 16.0482C9.83133 16.0482 7.95181 14.3133 7.95181 12C7.95181 9.83133 9.68675 7.95181 12 7.95181C14.1687 7.95181 16.0482 9.68675 16.0482 12C16.0482 14.1687 14.1687 16.0482 12 16.0482Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M18.3614 7.08434C19.1599 7.08434 19.8072 6.43704 19.8072 5.63856C19.8072 4.84007 19.1599 4.19277 18.3614 4.19277C17.563 4.19277 16.9157 4.84007 16.9157 5.63856C16.9157 6.43704 17.563 7.08434 18.3614 7.08434Z",fill:"currentColor"})]}),yF=({testId:e="LinkedinLogoIcon",...t})=>(0,C.jsxs)(Y,{...t,testId:e,children:[(0,C.jsx)("path",{d:"M12.8249 10.7876V10.8249H12.8008C12.8087 10.8126 12.8167 10.8001 12.8249 10.7876Z",fill:"currentColor"}),(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1.71921C0 0.769973 0.789019 0 1.76237 0H22.0863C23.0596 0 23.8487 0.769973 23.8487 1.71921V22.2808C23.8487 23.2303 23.0596 24 22.0863 24H1.76237C0.789019 24 0 23.2303 0 22.2808V1.71921ZM7.22913 20.0906V9.25323H3.627V20.0906H7.22913ZM5.42805 7.77358C6.68419 7.77358 7.46603 6.94139 7.46603 5.9014C7.44262 4.83799 6.68419 4.0289 5.45188 4.0289C4.2197 4.0289 3.41406 4.83799 3.41406 5.9014C3.41406 6.94139 4.19574 7.77358 5.40457 7.77358H5.42805ZM12.8248 20.0906H9.22266C9.22266 20.0906 9.27002 10.2701 9.22275 9.25323H12.8249V10.7876C13.3036 10.0491 14.1603 8.99893 16.0711 8.99893C18.441 8.99893 20.2181 10.5479 20.2181 13.8766V20.0906H16.6163V14.2929C16.6163 12.836 16.0949 11.8421 14.7915 11.8421C13.7964 11.8421 13.2037 12.5124 12.9433 13.1595C12.8482 13.3911 12.8248 13.7147 12.8248 14.0385V20.0906Z",fill:"currentColor"})]}),yq=({testId:e="TiktokLogoIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M19.8981 5.13274C19.7362 5.04902 19.5785 4.95725 19.4257 4.85776C18.9813 4.564 18.5739 4.21786 18.2122 3.82681C17.3073 2.79136 16.9693 1.74091 16.8448 1.00545H16.8498C16.7458 0.39498 16.7888 0 16.7953 0H12.6735V15.9382C12.6735 16.1522 12.6735 16.3637 12.6645 16.5727C12.6645 16.5987 12.662 16.6227 12.6605 16.6507C12.6605 16.6622 12.6605 16.6742 12.658 16.6862C12.658 16.6892 12.658 16.6922 12.658 16.6952C12.6146 17.267 12.4312 17.8194 12.1242 18.3038C11.8171 18.7882 11.3957 19.1897 10.8971 19.473C10.3774 19.7687 9.7896 19.9238 9.19168 19.923C7.27128 19.923 5.71485 18.3571 5.71485 16.4232C5.71485 14.4893 7.27128 12.9234 9.19168 12.9234C9.55521 12.923 9.91649 12.9802 10.2621 13.0928L10.2671 8.89606C9.21786 8.76052 8.15189 8.84391 7.13647 9.14096C6.12105 9.43802 5.1782 9.94229 4.36742 10.622C3.65699 11.2392 3.05973 11.9758 2.60251 12.7984C2.42852 13.0983 1.77205 14.3038 1.69256 16.2602C1.64256 17.3706 1.97604 18.5211 2.13503 18.9966V19.0066C2.23503 19.2865 2.62251 20.242 3.25398 21.0474C3.76317 21.6936 4.36477 22.2611 5.03939 22.7319V22.7219L5.04939 22.7319C7.04479 24.0878 9.25718 23.9988 9.25718 23.9988C9.64016 23.9833 10.9231 23.9988 12.38 23.3083C13.9959 22.5429 14.9159 21.4024 14.9159 21.4024C15.5036 20.721 15.9709 19.9444 16.2978 19.106C16.6708 18.1256 16.7953 16.9497 16.7953 16.4797V8.0241C16.8453 8.0541 17.5113 8.49458 17.5113 8.49458C17.5113 8.49458 18.4707 9.10955 19.9676 9.51003C21.0416 9.79501 22.4885 9.85501 22.4885 9.85501V5.76321C21.9815 5.81821 20.9521 5.65822 19.8981 5.13274Z",fill:"currentColor"})}),yB=({testId:e="XLogoIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M14.2737 10.1635L23.2022 0H21.0872L13.3312 8.82302L7.14122 0H0L9.36257 13.3432L0 23.9999H2.11503L10.3002 14.6805L16.8387 23.9999H23.9799M2.87839 1.56189H6.12767L21.0856 22.5148H17.8355",fill:"currentColor"})}),yU=({testId:e="YoutubeLogoIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M19.0155 3.5625H4.98449C2.23163 3.5625 0 5.79413 0 8.54699V15.561C0 18.3139 2.23163 20.5455 4.98449 20.5455H19.0155C21.7684 20.5455 24 18.3139 24 15.561V8.54699C24 5.79413 21.7684 3.5625 19.0155 3.5625ZM15.6445 12.3953L9.08177 15.5253C8.9069 15.6087 8.7049 15.4812 8.7049 15.2875V8.83176C8.7049 8.63529 8.91221 8.50795 9.08744 8.59676L15.6502 11.9224C15.8453 12.0213 15.8419 12.3011 15.6445 12.3953Z",fill:"currentColor"})}),yW=({testId:e="Globe01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M2 12H22M2 12C2 17.5228 6.47715 22 12 22M2 12C2 6.47715 6.47715 2 12 2M22 12C22 17.5228 17.5228 22 12 22M22 12C22 6.47715 17.5228 2 12 2M12 2C14.5013 4.73835 15.9228 8.29203 16 12C15.9228 15.708 14.5013 19.2616 12 22M12 2C9.49872 4.73835 8.07725 8.29203 8 12C8.07725 15.708 9.49872 19.2616 12 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yV=({testId:e="MarkerPin01Icon",...t})=>(0,C.jsxs)(Y,{...t,testId:e,children:[(0,C.jsx)("path",{d:"M12 13C13.6569 13 15 11.6569 15 10C15 8.34315 13.6569 7 12 7C10.3431 7 9 8.34315 9 10C9 11.6569 10.3431 13 12 13Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,C.jsx)("path",{d:"M12 22C16 18 20 14.4183 20 10C20 5.58172 16.4183 2 12 2C7.58172 2 4 5.58172 4 10C4 14.4183 8 18 12 22Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]}),yG=({testId:e="Ticket01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M10 8V7M10 12.5V11.5M10 17V16M5.2 4H18.8C19.9201 4 20.4802 4 20.908 4.21799C21.2843 4.40973 21.5903 4.71569 21.782 5.09202C22 5.51984 22 6.0799 22 7.2V8.5C20.067 8.5 18.5 10.067 18.5 12C18.5 13.933 20.067 15.5 22 15.5V16.8C22 17.9201 22 18.4802 21.782 18.908C21.5903 19.2843 21.2843 19.5903 20.908 19.782C20.4802 20 19.9201 20 18.8 20H5.2C4.0799 20 3.51984 20 3.09202 19.782C2.71569 19.5903 2.40973 19.2843 2.21799 18.908C2 18.4802 2 17.9201 2 16.8V15.5C3.933 15.5 5.5 13.933 5.5 12C5.5 10.067 3.933 8.5 2 8.5V7.2C2 6.0799 2 5.51984 2.21799 5.09202C2.40973 4.71569 2.71569 4.40973 3.09202 4.21799C3.51984 4 4.0799 4 5.2 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yz=({testId:e="Headphones01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21 18V12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12V18M5.5 21C4.11929 21 3 19.8807 3 18.5V16.5C3 15.1193 4.11929 14 5.5 14C6.88071 14 8 15.1193 8 16.5V18.5C8 19.8807 6.88071 21 5.5 21ZM18.5 21C17.1193 21 16 19.8807 16 18.5V16.5C16 15.1193 17.1193 14 18.5 14C19.8807 14 21 15.1193 21 16.5V18.5C21 19.8807 19.8807 21 18.5 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yY=({testId:e="Laptop02Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21 16V7.2C21 6.0799 21 5.51984 20.782 5.09202C20.5903 4.71569 20.2843 4.40973 19.908 4.21799C19.4802 4 18.9201 4 17.8 4H6.2C5.07989 4 4.51984 4 4.09202 4.21799C3.71569 4.40973 3.40973 4.71569 3.21799 5.09202C3 5.51984 3 6.0799 3 7.2V16M4.66667 20H19.3333C19.9533 20 20.2633 20 20.5176 19.9319C21.2078 19.7469 21.7469 19.2078 21.9319 18.5176C22 18.2633 22 17.9533 22 17.3333C22 17.0233 22 16.8683 21.9659 16.7412C21.8735 16.3961 21.6039 16.1265 21.2588 16.0341C21.1317 16 20.9767 16 20.6667 16H3.33333C3.02334 16 2.86835 16 2.74118 16.0341C2.39609 16.1265 2.12654 16.3961 2.03407 16.7412C2 16.8683 2 17.0233 2 17.3333C2 17.9533 2 18.2633 2.06815 18.5176C2.25308 
119.2078 2.79218 19.7469 3.48236 19.9319C3.73669 20 4.04669 20 4.66667 20Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),y$=({testId:e="Phone01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 17.5H12.01M8.2 22H15.8C16.9201 22 17.4802 22 17.908 21.782C18.2843 21.5903 18.5903 21.2843 18.782 20.908C19 20.4802 19 19.9201 19 18.8V5.2C19 4.07989 19 3.51984 18.782 3.09202C18.5903 2.71569 18.2843 2.40973 17.908 2.21799C17.4802 2 16.9201 2 15.8 2H8.2C7.0799 2 6.51984 2 6.09202 2.21799C5.71569 2.40973 5.40973 2.71569 5.21799 3.09202C5 3.51984 5 4.0799 5 5.2V18.8C5 19.9201 5 20.4802 5.21799 20.908C5.40973 21.2843 5.71569 21.5903 6.09202 21.782C6.51984 22 7.07989 22 8.2 22ZM12.5 17.5C12.5 17.7761 12.2761 18 12 18C11.7239 18 11.5 17.7761 11.5 17.5C11.5 17.2239 11.7239 17 12 17C12.2761 17 12.5 17.2239 12.5 17.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yQ=({testId:e="ShieldTickIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M9 11.4999L11 13.4999L15.5 8.99987M20 11.9999C20 16.9083 14.646 20.4783 12.698 21.6147C12.4766 21.7439 12.3659 21.8085 12.2097 21.842C12.0884 21.868 11.9116 21.868 11.7903 21.842C11.6341 21.8085 11.5234 21.7439 11.302 21.6147C9.35396 20.4783 4 16.9083 4 11.9999V7.21747C4 6.41796 4 6.0182 4.13076 5.67457C4.24627 5.37101 4.43398 5.10015 4.67766 4.8854C4.9535 4.64231 5.3278 4.50195 6.0764 4.22122L11.4382 2.21054C11.6461 2.13258 11.75 2.0936 11.857 2.07815C11.9518 2.06444 12.0482 2.06444 12.143 2.07815C12.25 2.0936 12.3539 2.13258 12.5618 2.21054L17.9236 4.22122C18.6722 4.50195 19.0465 4.64231 19.3223 4.8854C19.566 5.10015 19.7537 5.37101 19.8692 5.67457C20 6.0182 20 6.41796 20 7.21747V11.9999Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yK=({testId:e="Dice6Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M16.25 7.75H16.255M16.25 11.75H16.255M16.25 16.25H16.255M7.75 7.75H7.755M7.75 11.75H7.755M7.75 16.25H7.755M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21ZM16.5 7.75C16.5 7.88807 16.3881 8 16.25 8C16.1119 8 16 7.88807 16 7.75C16 7.61193 16.1119 7.5 16.25 7.5C16.3881 7.5 16.5 7.61193 16.5 7.75ZM16.5 11.75C16.5 11.8881 16.3881 12 16.25 12C16.1119 12 16 11.8881 16 11.75C16 11.6119 16.1119 11.5 16.25 11.5C16.3881 11.5 16.5 11.6119 16.5 11.75ZM16.5 16.25C16.5 16.3881 16.3881 16.5 16.25 16.5C16.1119 16.5 16 16.3881 16 16.25C16 16.1119 16.1119 16 16.25 16C16.3881 16 16.5 16.1119 16.5 16.25ZM8 7.75C8 7.88807 7.88807 8 7.75 8C7.61193 8 7.5 7.88807 7.5 7.75C7.5 7.61193 7.61193 7.5 7.75 7.5C7.88807 7.5 8 7.61193 8 7.75ZM8 11.75C8 11.8881 7.88807 12 7.75 12C7.61193 12 7.5 11.8881 7.5 11.75C7.5 11.6119 7.61193 11.5 7.75 11.5C7.88807 11.5 8 11.6119 8 11.75ZM8 16.25C8 16.3881 7.88807 16.5 7.75 16.5C7.61193 16.5 7.5 16.3881 7.5 16.25C7.5 16.1119 7.61193 16 7.75 16C7.88807 16 8 16.1119 8 16.25Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yZ=({testId:e="Star01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M11.2827 3.45332C11.5131 2.98638 11.6284 2.75291 11.7848 2.67831C11.9209 2.61341 12.0791 2.61341 12.2152 2.67831C12.3717 2.75291 12.4869 2.98638 12.7174 3.45332L14.9041 7.88328C14.9721 8.02113 15.0061 8.09006 15.0558 8.14358C15.0999 8.19096 15.1527 8.22935 15.2113 8.25662C15.2776 8.28742 15.3536 8.29854 15.5057 8.32077L20.397 9.03571C20.9121 9.11099 21.1696 9.14863 21.2888 9.27444C21.3925 9.38389 21.4412 9.5343 21.4215 9.68377C21.3988 9.85558 21.2124 10.0372 20.8395 10.4004L17.3014 13.8464C17.1912 13.9538 17.136 14.0076 17.1004 14.0715C17.0689 14.128 17.0487 14.1902 17.0409 14.2545C17.0321 14.3271 17.0451 14.403 17.0711 14.5547L17.906 19.4221C17.994 19.9355 18.038 20.1922 17.9553 20.3445C17.8833 20.477 17.7554 20.57 17.6071 20.5975C17.4366 20.6291 17.2061 20.5078 16.7451 20.2654L12.3724 17.9658C12.23
161 17.8942 12.168 17.8584 12.0962 17.8443C12.0327 17.8318 11.9673 17.8318 11.9038 17.8443C11.832 17.8584 11.7639 17.8942 11.6277 17.9658L7.25492 20.2654C6.79392 20.5078 6.56341 20.6291 6.39297 20.5975C6.24468 20.57 6.11672 20.477 6.04474 20.3445C5.962 20.1922 6.00603 19.9355 6.09407 19.4221L6.92889 14.5547C6.95491 14.403 6.96793 14.3271 6.95912 14.2545C6.95132 14.1902 6.93111 14.128 6.89961 14.0715C6.86402 14.0076 6.80888 13.9538 6.69859 13.8464L3.16056 10.4004C2.78766 10.0372 2.60121 9.85558 2.57853 9.68377C2.55879 9.5343 2.60755 9.38389 2.71125 9.27444C2.83044 9.14863 3.08797 9.11099 3.60304 9.03571L8.49431 8.32077C8.64642 8.29854 8.72248 8.28742 8.78872 8.25662C8.84736 8.22935 8.90016 8.19096 8.94419 8.14358C8.99391 8.09006 9.02793 8.02113 9.09597 7.88328L11.2827 3.45332Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yX=({testId:e="CalendarCheck02Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M21 10H3M21 12.5V8.8C21 7.11984 21 6.27976 20.673 5.63803C20.3854 5.07354 19.9265 4.6146 19.362 4.32698C18.7202 4 17.8802 4 16.2 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V17.2C3 18.8802 3 19.7202 3.32698 20.362C3.6146 20.9265 4.07354 21.3854 4.63803 21.673C5.27976 22 6.11984 22 7.8 22H12M16 2V6M8 2V6M14.5 19L16.5 21L21 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),yJ=({testId:e="ClockIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),y1=({testId:e="ClockRewindIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M22.7 13.5L20.7005 11.5L18.7 13.5M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C15.3019 3 18.1885 4.77814 19.7545 7.42909M12 7V12L15 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),y0=({testId:e="FaceContentIcon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M8 14C8 14 9.5 16 12 16C14.5 16 16 14 16 14M17 9.24C16.605 9.725 16.065 10 15.5 10C14.935 10 14.41 9.725 14 9.24M10 9.24C9.605 9.725 9.065 10 8.5 10C7.935 10 7.41 9.725 7 9.24M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),y2=({testId:e="User01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M20 21C20 19.6044 20 18.9067 19.8278 18.3389C19.44 17.0605 18.4395 16.06 17.1611 15.6722C16.5933 15.5 15.8956 15.5 14.5 15.5H9.5C8.10444 15.5 7.40665 15.5 6.83886 15.6722C5.56045 16.06 4.56004 17.0605 4.17224 18.3389C4 18.9067 4 19.6044 4 21M16.5 7.5C16.5 9.98528 14.4853 12 12 12C9.51472 12 7.5 9.98528 7.5 7.5C7.5 5.01472 9.51472 3 12 3C14.4853 3 16.5 5.01472 16.5 7.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),y3=({testId:e="UserCheck01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M12 15.5H7.5C6.10444 15.5 5.40665 15.5 4.83886 15.6722C3.56045 16.06 2.56004 17.0605 2.17224 18.3389C2 18.9067 2 19.6044 2 21M16 18L18 20L22 16M14.5 7.5C14.5 9.98528 12.4853 12 10 12C7.51472 12 5.5 9.98528 5.5 7.5C5.5 5.01472 7.51472 3 10 3C12.4853 3 14.5 5.01472 14.5 7.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),y5=({testId:e="Users01Icon",...t})=>(0,C.jsx)(Y,{...t,testId:e,children:(0,C.jsx)("path",{d:"M22 21V19C22 17.1362 20.7252 15.5701 19 15.126M15.5 3.29076C16.9659 3.88415 18 5.32131 18 7C18 8.67869 16.9659 10.1159 15.5 10.7092M17 21C17 19.1362 17 18.2044 16.6955 17.4693C16.2895 16.4892 15.5108 15.7105 14.5307 15.3045C13.7956 15 12.8638 15 11 15H8C6.13623 15 5.20435 15 4.46927 15.3045C3.48915 15.7105 2.71046 16.4892 2.30448 17.4693C2 18.2044 2 19.1362 2 21M13.5 7C13.5 9.20914 11.7091 11 9.5 11C7.29086 11 5.5 9.20914 5.5 7C5.5 4.79086 7.29086 3 9.5 3C11.7091 3 13.5 4.79086 13.5 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})},42580:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var n=r(44160),a=r(23051),i=r(4765);let o=e=>async t=>{if(s(t)){let{variant:r,labels:n}=t;if("groupedByLabels"===r&&n&&n.length>0){let r;t.faqItems=await (0,a.Jv)().getAll("cdn/stories",{version:(0,a.qg)(e.environment),resolve_links:"url",starts_with:(r=e,"groupwebsite-".concat(r.lottery,"/content-items/question-and-answer-items")),filter_query:{__and:{label:{in:n.join(",")}}},...{cv:Date.now()}}).catch(e=>((0,i.Cp)(e),console.error("Service error: ".concat(JSON.stringify(e))),[]))}}},s=e=>"object"==typeof e&&!!e&&"component"in e&&e.component===n.T6.FaqSection},43110:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function a(e,t){if(e.length!==t.length)return!1;for(var r,a,i=0;i<e.length;i++)if(!((r=e[i])===(a=t[i])||n(r)&&n(a))&&1)return!1;return!0}let i=function(e,t){void 0===t&&(t=a);var r,n,i=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&r===this&&t(a,i)||(n=e.apply(this,a),o=!0,r=this,i=a),n}}},43339:e=>{"use strict";e.exports=ReferenceError},43552:(e,t,r)=>{e.exports=r(79990)(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})},44160:(e,t,r)=>{"use strict";r.d(t,{Bk:()=>h,Fi:()=>n,Ji:()=>a,L3:()=>d,SO:()=>i,T6:()=>p,y9:()=>o,zu:()=>f});let n="faq-story",a=50,i=18,o=1;var s,l,c,u,d=((s={}).AllInPage="AllInPage",s.CategoryPage="CategoryPage",s.DetailPage="DetailPage",s.HomePage="HomePage",s.HubPage="HubPage",s.SearchResultsPage="SearchResultsPage",s.StandardPage="StandardPage",s.ResultsPage="ResultsPage",s.ResultsPageTemplate="ResultsPageTemplate",s.CampaignPage="CampaignPage",s.CplRegistrationPage="CplRegistrationPage",s.FunnelPage="FunnelPage",s.PplResultsPage="PplResultsPage",s.AllInCharitiesPage="AllInCharitiesPage",s),h=((l={}).SearchModal="SearchModal",l.CustomerServiceModal="CustomerServiceModal",l),p=((c={}).ResponsiveVideo="ResponsiveVideo",c.RelatedStoriesSection="RelatedStoriesSection",c.ResponsiveImage="ResponsiveImage",c.RelatedCategoriesSection="RelatedCategoriesSection",c.CardGridSection="CardGridSection",c.IntroCardTag="IntroCardTag",c.SingleMediaSection="SingleMediaSection",c.FaqSection="FaqSection",c.DplPostc
1odeSearch="DplPostcodeSearchSection",c.SmileBlockSection="SmileBlockSection",c.IconListSection="IconListSection",c.PplCancelForm="PplCancelForm",c.PrizeDrawCalendarSection="PrizeDrawCalendarSection",c.PrizeDrawPeriod="PrizeDrawPeriod",c.PartnerLogosSection="PartnerLogosSection",c.Charity="Charity",c.SmallCard="SmallCard",c),f=((u={}).Video="video",u.Image="image",u)},44451:e=>{"use strict";e.exports=RangeError},45647:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},45953:(e,t,r)=>{"use strict";r.d(t,{FU:()=>u,S8:()=>p,sn:()=>d});var n=r(78191),a=r(12395),i=r(50311),o=r(99649),s=r(93096),l=r(67202),c=r(63650),u={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},d={highlightPreTag:"<mark>",highlightPostTag:"</mark>"};function h(e){var t;return(0,c.Q)(e)&&"string"!=typeof e.value?Object.keys(e).reduce(function(t,r){return(0,s._)((0,o._)({},t),(0,n._)({},r,h(e[r])))},{}):Array.isArray(e)?e.map(h):(0,s._)((0,o._)({},e),{value:(t=e.value,(0,l.i)(t).replace(RegExp(u.highlightPreTag,"g"),d.highlightPreTag).replace(RegExp(u.highlightPostTag,"g"),d.highlightPostTag))})}function p(e){return void 0===e.__escaped&&((e=e.map(function(e){(0,i._)(e);var t=(0,a._)({},e);return t._highlightResult&&(t._highlightResult=h(t._highlightResult)),t._snippetResult&&(t._snippetResult=h(t._snippetResult)),t})).__escaped=!0),e}},46773:(e,t,r)=>{var n=Object.create,a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||a(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)),d={},h={callPlayer:()=>N,getConfig:()=>R,getSDK:()=>_,isBlobUrl:()=>O,isMediaStream:()=>D,lazy:()=>v,omit:()=>A,parseEndTime:()=>w,parseStartTime:()=>C,queryString:()=>S,randomString:()=>k,supportsWebKitPresentationMode:()=>j};for(var p in h)a(d,p,{get:h[p],enumerable:!0});e.exports=c(a({},"__esModule",{value:!0}),d);var f=u(r(55729)),m=u(r(30166)),g=u(r(4661));let v=e=>f.default.lazy(async()=>{let t=await e();return"function"==typeof t.default?t:t.default}),y=/[?&#](?:start|t)=([0-9hms]+)/,b=/[?&#]end=([0-9hms]+)/,x=/(\d+)(h|m|s)/g,T=/^\d+$/;function E(e,t){if(e instanceof Array)return;let r=e.match(t);if(r){let e=r[1];if(e.match(x)){var n=e;let t=0,r=x.exec(n);for(;null!==r;){let[,e,a]=r;"h"===a&&(t+=60*parseInt(e,10)*60),"m"===a&&(t+=60*parseInt(e,10)),"s"===a&&(t+=parseInt(e,10)),r=x.exec(n)}return t}if(T.test(e))return parseInt(e)}}function C(e){return E(e,y)}function w(e){return E(e,b)}function k(){return Math.random().toString(36).substr(2,5)}function S(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function I(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}let P={},_=function(e,t,r=null,n=()=>!0,a=m.default){let i=I(t);return i&&n(i)?Promise.resolve(i):new Promise((n,i)=>{if(P[e])return void P[e].push({resolve:n,reject:i});P[e]=[{resolve:n,reject:i}];let o=t=>{P[e].forEach(e=>e.resolve(t))};if(r){let e=window[r];window[r]=function(){e&&e(),o(I(t))}}a(e,n=>{n?(P[e].forEach(e=>e.reject(n)),P[e]=null):r||o(I(t))})})};function R(e,t){return(0,g.default)(t.config,e.config)}function A(e,...t){let r=[].concat(...t),n={};for(let t of Object.keys(e))-1===r.indexOf(t)&&(n[t]=e[t]);return n}function N(e,...t){if(!this.player||!this.player[e]){let t=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c \u2013 `;return this.player?this.player[e]||(t+="The method was not available"):t+="The player was not available",console.warn(t,"font-weight: bold",""),null}return this.player[e](...t)}function D(e){return"u">typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream}function O(e){return/^blob:/.test(e)}function j(e=document.createElement("video")){let t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t}},46998:(e,t,r)=>{var n=Object.create,a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||a(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{}
1,c(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)),d=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?a(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r},h={},p={createReactPlayer:()=>P};for(var f in p)a(h,f,{get:p[f],enumerable:!0});e.exports=c(a({},"__esModule",{value:!0}),h);var m=u(r(55729)),g=u(r(4661)),v=u(r(43110)),y=u(r(28438)),b=r(64150),x=r(46773),T=u(r(60369));let E=(0,x.lazy)(()=>r.e(6353).then(r.t.bind(r,48100,23))),C="u">typeof window&&window.document&&"u">typeof document,w=void 0!==r.g&&r.g.window&&r.g.window.document,k=Object.keys(b.propTypes),S=C||w?m.Suspense:()=>null,I=[],P=(e,t)=>{var r;return r=class extends m.Component{constructor(){super(...arguments),d(this,"state",{showPreview:!!this.props.light}),d(this,"references",{wrapper:e=>{this.wrapper=e},player:e=>{this.player=e}}),d(this,"handleClickPreview",e=>{this.setState({showPreview:!1}),this.props.onClickPreview(e)}),d(this,"showPreview",()=>{this.setState({showPreview:!0})}),d(this,"getDuration",()=>this.player?this.player.getDuration():null),d(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),d(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),d(this,"getInternalPlayer",(e="player")=>this.player?this.player.getInternalPlayer(e):null),d(this,"seekTo",(e,t,r)=>{if(!this.player)return null;this.player.seekTo(e,t,r)}),d(this,"handleReady",()=>{this.props.onReady(this)}),d(this,"getActivePlayer",(0,v.default)(r=>{for(let t of[...I,...e])if(t.canPlay(r))return t;return t||null})),d(this,"getConfig",(0,v.default)((e,t)=>{let{config:r}=this.props;return g.default.all([b.defaultProps.config,b.defaultProps.config[t]||{},r,r[t]||{}])})),d(this,"getAttributes",(0,v.default)(e=>(0,x.omit)(this.props,k))),d(this,"renderActivePlayer",e=>{if(!e)return null;let t=this.getActivePlayer(e);if(!t)return null;let r=this.getConfig(e,t.key);return m.default.createElement(T.default,{...this.props,key:t.key,ref:this.references.player,config:r,activePlayer:t.lazyPlayer||t,onReady:this.handleReady})})}shouldComponentUpdate(e,t){return!(0,y.default)(this.props,e)||!(0,y.default)(this.state,t)}componentDidUpdate(e){let{light:t}=this.props;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}renderPreview(e){if(!e)return null;let{light:t,playIcon:r,previewTabIndex:n,oEmbedUrl:a,previewAriaLabel:i}=this.props;return m.default.createElement(E,{url:e,light:t,playIcon:r,previewTabIndex:n,previewAriaLabel:i,oEmbedUrl:a,onClick:this.handleClickPreview})}render(){let{url:e,style:t,width:r,height:n,fallback:a,wrapper:i}=this.props,{showPreview:o}=this.state,s=this.getAttributes(e),l="string"==typeof i?this.references.wrapper:void 0;return m.default.createElement(i,{ref:l,style:{...t,width:r,height:n},...s},m.default.createElement(S,{fallback:a},o?this.renderPreview(e):this.renderActivePlayer(e)))}},d(r,"displayName","ReactPlayer"),d(r,"propTypes",b.propTypes),d(r,"defaultProps",b.defaultProps),d(r,"addCustomPlayer",e=>{I.push(e)}),d(r,"removeCustomPlayers",()=>{I.length=0}),d(r,"canPlay",t=>{for(let r of[...I,...e])if(r.canPlay(t))return!0;return!1}),d(r,"canEnablePIP",t=>{for(let r of[...I,...e])if(r.canEnablePIP&&r.canEnablePIP(t))return!0;return!1}),r}},47175:(e,t,r)=>{"use strict";r.d(t,{a:()=>u});var n=r(6029),a=r(55729),i=r(41834),o=r(82203),s=r.n(o),l=r(73202),c=r(53129);let u=(0,a.forwardRef)((e,t)=>{let{href:r,target:a,rel:o,...u}=e,{rewrittenHref:d,appAwareRel:h}=(0,c.I)(r,a,o),{shouldUseNextLink:p,enablePrefetch:f}=(0,l.u)(d);return p?(0,n.jsx)(s(),{prefetch:f,legacyBehavior:!0,href:null!=d?d:"",passHref:!0,children:(0,n.jsx)(i.hII,{href:"replace",ref:t,target:a,rel:o,...u})}):(0,n.jsx)(i.hII,{href:d,rel:h,target:a,...u})})},47474:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},47492:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function c(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,d=1;function h(e){var t=e.match(r);t&&(u+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function p(){var e={line:u,column:d};return function(t){return t.position=new f(e),g(n),t}}function f(e){this.start=e,this.end={line:u,column:d},this.source=l.source}function m(t){var r=Error(l.source+":"+u+":"+d+": "+t);if(r.reason=t,r.filename=l.source,r.line=u,r.column=d,r.source=e,l.silent);else throw r}function g(t){var r=t.exec(e);if(r){var n=r[0];return h(n),e=e.slice(n.length),r}}function v(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return m("End of comment missing");var n=e.slice(2,r-2);return d+=2,h(n),e=e.slice(r),d+=2,t({type:"comment",comment:n})}}f.prototype.content=e,g(n);var b,x=[];for(v(x);b=function(){var e=p(),r=g(a);if(r){if(y(),!g(i))return m("property missing ':'");var n=g(o),l=e({type:"declaration",property:c(r[0].replace(t,"")),value:n?c(n[0].replace(t,"")):""});return g(s),l}}();)!1!==b&&(x.push(b),v(x));return x}},47684:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},48444:e=>{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},48535:(e,t,r)=>{e.exports=r(54114)},49501:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},49564:()=>{},49614:(e,t,r)=>{"use strict";let n,a,i,o,s;r.d(t,{xI:()=>c.xI,Lf:()=>e3.Lf,wi:()=>e0,Y9:()=>e3.Y9,_B:()=>e4,Tj:()=>e1,AE:()=>e2,U9:()=>c.U9}),r(65440);
1var l,c=r(70767),u=r(6029),d=r(75155),h=r(55729),p=r(41834),f=r(92840),m=r(32988),g=r.n(m);let v=e=>{let t,r,n=(0,d.c)(6),{narrow:a,children:i,classNames:o}=e,s=void 0!==a&&a;return n[0]!==o?(t=g()("bg-my-account-brand-background","text-center","text-ds-actions-text-color-inverted",o),n[0]=o,n[1]=t):t=n[1],n[2]!==i||n[3]!==s||n[4]!==t?(r=(0,u.jsx)(b,{narrow:s,yPadding:"normal",className:t,children:i}),n[2]=i,n[3]=s,n[4]=t,n[5]=r):r=n[5],r},y=e=>{var t,r,n,a,i,o,s,l,m,g,y,b,x;let T,E,C,w,k,_=(0,d.c)(28),{narrow:N,gridColsClass:D,bottomPartData:O,conditionText:j,config:L}=e,M="vl"===L.lottery||"npl"===L.lottery;return _[0]!==O.footerConditions||_[1]!==O.footerContactData||_[2]!==O.footerDataCertificates||_[3]!==O.footerDataPaymentMethods||_[4]!==O.footerGambleAware||_[5]!==O.footerSocialMediaData||_[6]!==(null==(t=O.footerText)?void 0:t.footerContactBodyBottom)||_[7]!==(null==(r=O.footerText)?void 0:r.footerContactBodyTop)||_[8]!==O.footerTitles||_[9]!==j||_[10]!==D||_[11]!==M||_[12]!==N?(T=O.footerTitles&&!M&&(0,u.jsx)(c.xI,{className:"bg-ds-generic-fill-color-neutral",children:(0,u.jsxs)(S,{narrow:N,xPadding:"none",children:[(0,u.jsxs)(u.Fragment,{children:[O.footerTitles.footerGambleAwareTitle&&O.footerGambleAware&&(0,u.jsxs)("div",{className:D,children:[(0,u.jsx)(p.f_e,{tag:"h2",className:"mb-3",children:(null==O||null==(a=O.footerTitles)?void 0:a.footerGambleAwareTitle)||""}),O.footerGambleAware.map((e,t)=>"object"==typeof e&&null!==e&&"imageSrc"in e&&"href"in e&&"string"==typeof e.imageSrc&&"string"==typeof e.href?(0,u.jsx)(R,{imageLinks:[e],className:D},t):(0,u.jsx)(h.Fragment,{children:e},t))]}),O.footerTitles.footerCertificatesTitle&&O.footerDataCertificates&&(0,u.jsxs)("div",{className:D,children:[(0,u.jsx)(p.f_e,{tag:"h2",className:"mb-3",children:(null==O||null==(i=O.footerTitles)?void 0:i.footerCertificatesTitle)||""}),(0,u.jsx)(R,{bigImages:!0,imageLinks:O.footerDataCertificates})]}),(0,u.jsxs)("div",{className:D,children:[(0,u.jsx)(p.f_e,{tag:"h2",className:"mb-3",children:O.footerTitles.footerPaymentMethodsTitle}),(0,u.jsx)(R,{classNameForList:"gap-y-2",smallGap:!0,imageLinks:O.footerDataPaymentMethods||[]})]}),(0,u.jsx)(eY,{className:D,title:O.footerTitles.footerSocialMediaTitle,media:O.footerSocialMediaData||[]}),N?null:(0,u.jsxs)("div",{className:D,children:[(0,u.jsx)(P,{title:O.footerTitles.footerContactTitle,links:O.footerContactData||[]}),(0,u.jsx)("div",{children:null==(o=O.footerText)?void 0:o.footerContactBodyTop}),(0,u.jsx)("div",{children:null==(s=O.footerText)?void 0:s.footerContactBodyBottom})]})]}),(0,u.jsxs)("div",{className:"col-span-12 flex flex-col justify-center gap-4 text-center [&_a]:text-ds-actions-text-color-default [&_a]:underline",children:[(x=j)?"string"==typeof x?(0,u.jsx)(f.oz,{"data-testid":"markdown",children:x.replace(/\[([^\]]+)\]\(([^)]+)\)/g,(e,t,r)=>{let n=r.replace(/\/groupwebsite-[^/)]+/g,"");return"[".concat(t,"](").concat(n,")")})}):x:null,O.footerConditions&&O.footerConditions.conditionAdditionalInfo]})]})}),_[0]=O.footerConditions,_[1]=O.footerContactData,_[2]=O.footerDataCertificates,_[3]=O.footerDataPaymentMethods,_[4]=O.footerGambleAware,_[5]=O.footerSocialMediaData,_[6]=null==(l=O.footerText)?void 0:l.footerContactBodyBottom,_[7]=null==(m=O.footerText)?void 0:m.footerContactBodyTop,_[8]=O.footerTitles,_[9]=j,_[10]=D,_[11]=M,_[12]=N,_[13]=T):T=_[13],_[14]!==O.footerAdditionalLinks||_[15]!==N?(E=(null==(g=O.footerAdditionalLinks)?void 0:g.length)?(0,u.jsx)(A,{narrow:N,links:O.footerAdditionalLinks}):null,_[14]=O.footerAdditionalLinks,_[15]=N,_[16]=E):E=_[16],_[17]!==(null==(n=O.footerAdditionalLinks)?void 0:n.length)||_[18]!==O.subFooter?(C=(null==(y=O.footerAdditionalLinks)?void 0:y.length)&&O.subFooter?(0,u.jsx)(I,{}):null,_[17]=null==(b=O.footerAdditionalLinks)?void 0:b.length,_[18]=O.subFooter,_[19]=C):C=_[19],_[20]!==O.subFooter||_[21]!==N?(w=O.subFooter?(0,u.jsx)(v,{narrow:N,children:(0,u.jsx)(eQ,{content:O.subFooter})}):null,_[20]=O.subFooter,_[21]=N,_[22]=w):w=_[22],_[23]!==T||_[24]!==E||_[25]!==C||_[26]!==w?(k=(0,u.jsxs)(u.Fragment,{children:[T,E,C,w]}),_[23]=T,_[24]=E,_[25]=C,_[26]=w,_[27]=k):k=_[27],k},b=e=>{let t,r,n,a,i,o,s,l=(0,d.c)(25),{children:c,className:h,narrow:p,gridCols:f,xPadding:m,yPadding:v,debug:y,bgImage:b,testId:x}=e,T=void 0!==p&&p,E=void 0!==f&&f,C=void 0===v?"main":v,w=void 0!==y&&y,k="normal"===(void 0===m?"normal":m),S="main"===C,I="normal"===C;l[0]!==h||l[1]!==k||l[2]!==S||l[3]!==I?(t=g()("relative",{"px-4 sm:px-6":k,"py-6 md:py-10":S,"py-6 md:py-8":I},h),l[0]=h,l[1]=k,l[2]=S,l[3]=I,l[4]=t):t=l[4];let P=t;l[5]===Symbol.for("react.memo_cache_sentinel")?(r=g()("absolute inset-0","h-full w-full max-w-[1920px]","ml-auto mr-auto","bg-cover bg-center bg-no-repeat"),l[5]=r):r=l[5];let _=r,R=!T,A=!E;l[6]!==w||l[7]!==E||l[8]!==T||l[9]!==R||l[10]!==A?(n=g()("mx-auto","grid gap-x-4 gap-y-6 md:gap-x-6 md:gap-y-8","relative",{"max-w-4xl":T,"max-w-8xl":R,"grid-cols-8 md:grid-cols-12":E,"grid-cols-1":A,"h-full":w}),l[6]=w,l[7]=E,l[8]=T,l[9]=R,l[10]=A,l[11]=n):n=l[11];let N=n;l[12]!==b?(a=b?{backgroundImage:'url("'.concat(b,'")')}:{},l[12]=b,l[13]=a):a=l[13];let D=a,O=x||"ContentContainer";return l[14]!==D||l[15]!==b?(i=b&&(0,u.jsx)("div",{className:_,style:D}),l[14]=D,l[15]=b,l[16]=i):i=l[16],l[17]!==c||l[18]!==N?(o=(0,u.jsx)("div",{className:N,children:c}),l[17]=c,l[18]=N,l[19]=o):o=l[19],l[20]!==P||l[21]!==O||l[22]!==i||l[23]!==o?(s=(0,u.jsxs)("div",{className:P,"data-testid":O,children:[i,o]}),l[20]=P,l[21]=O,l[22]=i,l[23]=o,l[24]=s):s=l[24],s},x={spl:{label:"Hantera cookies"}},T=()=>{var e;null==(e=window.Cookiebot)||e.show()},E=e=>{let t,r=(0,d.c)(2),{lottery:n}=e,a=x[n];return a?(r[0]!==a.label?(t=(0,u.jsx)(b,{yPadding:"none",testId:"CookieSettingsFo
1oter",className:"flex min-h-[4.25rem] items-center justify-center bg-my-account-brand-background px-4 py-4 text-center sm:px-6",children:(0,u.jsx)("button",{type:"button",onClick:T,className:"text-ds-actions-text-color-inverted underline",children:a.label})}),r[0]=a.label,r[1]=t):t=r[1],t):null},C=e=>{let t,r,n,a,i,o=(0,d.c)(12),{links:s,className:l,testId:c}=e,h=void 0===c?"FooterAccordion":c;o[0]!==s?(t=null==s?void 0:s.map(k),o[0]=s,o[1]=t):t=o[1];let f=t;return o[2]!==l?(r=g()("col-span-8 md:col-span-12 lg:col-span-3",l),o[2]=l,o[3]=r):r=o[3],o[4]!==f?(n=null!=f?f:[],o[4]=f,o[5]=n):n=o[5],o[6]!==n?(a=(0,u.jsx)(p.nD3,{items:n,unbordered:!0,monochrome:!0,className:"[&>details:first-of-type]:border-t-0"}),o[6]=n,o[7]=a):a=o[7],o[8]!==r||o[9]!==a||o[10]!==h?(i=(0,u.jsx)("div",{className:r,"testid-id":h,children:a}),o[8]=r,o[9]=a,o[10]=h,o[11]=i):i=o[11],i};function w(e,t){return(0,u.jsx)(c.ck,{className:"pt-3 first:pt-0 lg:pt-0",children:(0,u.jsx)("a",{href:e.href,"data-plg-type":"footer-navigation-link",className:"hover:underline",children:e.title})},"".concat(e.href,"-").concat(t))}function k(e){var t;return{label:e.title,content:(0,u.jsx)(c.B8,{compact:!0,children:null==e||null==(t=e.links)?void 0:t.map(w)})}}let S=e=>{let t,r,n=(0,d.c)(8),{children:a,narrow:i,xPadding:o,className:s,testId:l}=e,c=void 0!==i&&i,h=void 0===o?"normal":o,p=void 0===l?"FooterContentContainer":l;return n[0]!==s?(t=g()(s,"bg-ds-generic-fill-color-neutral py-5 sm:py-6 lg:py-8"),n[0]=s,n[1]=t):t=n[1],n[2]!==a||n[3]!==c||n[4]!==t||n[5]!==p||n[6]!==h?(r=(0,u.jsx)(b,{testId:p,narrow:c,xPadding:h,yPadding:"none",className:t,gridCols:!0,children:a}),n[2]=a,n[3]=c,n[4]=t,n[5]=p,n[6]=h,n[7]=r):r=n[7],r},I=e=>{let t,r,n=(0,d.c)(5),{grey:a}=e,i=void 0!==a&&a,o=!i;n[0]!==i||n[1]!==o?(t=g()("border-t",{"border-footer-divider":o,"bg-ds-generic-fill-color-tertiary":i}),n[0]=i,n[1]=o,n[2]=t):t=n[2];let s=t;return n[3]!==s?(r=(0,u.jsx)("hr",{className:s}),n[3]=s,n[4]=r):r=n[4],r},P=e=>{let t,r,n,a=(0,d.c)(9),{title:i,testId:o,className:s,links:l}=e,c=void 0===o?"FooterHyperLinks":o;return a[0]!==i?(t=i&&(0,u.jsx)(p.f_e,{tag:"h2",className:"mb-3",children:i}),a[0]=i,a[1]=t):t=a[1],a[2]!==l?(r=l.map(_),a[2]=l,a[3]=r):r=a[3],a[4]!==s||a[5]!==t||a[6]!==r||a[7]!==c?(n=(0,u.jsxs)("div",{className:s,"data-testid":c,children:[t,r]}),a[4]=s,a[5]=t,a[6]=r,a[7]=c,a[8]=n):n=a[8],n};function _(e){let{href:t,label:r,icon:n}=e;return(0,u.jsxs)(p.N_E,{href:t,className:"flex items-center gap-2",children:[n&&(0,u.jsx)(n,{}),r]},t)}let R=e=>{let t,r,n,a=(0,d.c)(13),{imageLinks:i,className:o,bigImages:s,smallGap:l,classNameForList:h,testId:p}=e,f=void 0===p?"FooterImageLinks":p;if(a[0]!==s||a[1]!==i){let e;a[3]!==s?(e=e=>{let t=(0,u.jsx)("img",{className:g()(e.className,s?"h-12 lg:h-16":"h-6 lg:h-8"),src:e.imageSrc,alt:e.imageAlt}),r=e.href?(0,u.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer",className:"inline-block","data-plg-type":"footer-navigation-link",children:t}):t;return(0,u.jsx)(c.ck,{children:e.caption?(0,u.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[r,(0,u.jsx)("span",{className:"text-[calc(1em+2px)]",children:e.caption})]}):r},e.imageSrc)},a[3]=s,a[4]=e):e=a[4],t=i.map(e),a[0]=s,a[1]=i,a[2]=t}else t=a[2];let m=t;return a[5]!==h||a[6]!==m||a[7]!==l?(r=(0,u.jsx)(c.z5,{smallGap:l,className:h,children:m}),a[5]=h,a[6]=m,a[7]=l,a[8]=r):r=a[8],a[9]!==o||a[10]!==r||a[11]!==f?(n=(0,u.jsx)("div",{className:o,"data-testid":f,children:r}),a[9]=o,a[10]=r,a[11]=f,a[12]=n):n=a[12],n},A=e=>{let t,r,n,a=(0,d.c)(7),{links:i,narrow:o}=e,s=void 0!==o&&o;return a[0]!==i?(t=i.map(N),a[0]=i,a[1]=t):t=a[1],a[2]!==t?(r=(0,u.jsx)("nav",{"aria-label":"Footer Navigation",children:(0,u.jsx)("ul",{className:"text-center leading-brand-compact",children:t})}),a[2]=t,a[3]=r):r=a[3],a[4]!==s||a[5]!==r?(n=(0,u.jsx)(b,{narrow:s,yPadding:"none",className:"bg-my-account-brand-background pb-6 pt-3",children:r}),a[4]=s,a[5]=r,a[6]=n):n=a[6],n};function N(e,t){let{href:r,title:n,target:a}=e;return(0,u.jsx)("li",{className:"mt-3 inline-block px-4 md:pt-0",children:(0,u.jsx)(p.N_E,{variant:"inverse",href:r,target:null!=a?a:"_blank",rel:"noreferrer","data-plg-type":"footer-navigation-link",className:"font-normal",children:null!=n?n:""})},"".concat(r,"-").concat(t))}let D=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),O=[],j=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],a=r.nextPart.get(n);if(a){let r=j(e,t+1,a);if(r)return r}let i=r.validators;if(null===i)return;let o=0===t?e.join("-"):e.slice(t).join("-"),s=i.length;for(let e=0;e<s;e++){let t=i[e];if(t.validator(o))return t.classGroupId}},L=(e,t)=>{let r=D();for(let n in e)M(e[n],r,n,t);return r},M=(e,t,r,n)=>{let a=e.length;for(let i=0;i<a;i++)H(e[i],t,r,n)},H=(e,t,r,n)=>{"string"==typeof e?F(e,t,r):"function"==typeof e?q(e,t,r,n):B(e,t,r,n)},F=(e,t,r)=>{(""===e?t:U(t,e)).classGroupId=r},q=(e,t,r,n)=>{W(e)?M(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},B=(e,t,r,n)=>{let a=Object.entries(e),i=a.length;for(let e=0;e<i;e++){let[i,o]=a[e];M(o,U(t,i),r,n)}},U=(e,t)=>{let r=e,n=t.split("-"),a=n.length;for(let e=0;e<a;e++){let t=n[e],a=r.nextPart.get(t);a||(a=D(),r.nextPart.set(t,a)),r=a}return r},W=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,V=[],G=(e,t,r,n,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),z=/\s+/,Y=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=Y(e[n]))&&(r&&(r+=" "),r+=t);return r},$=[],Q=e=>{let t=t=>t[e]||$;return t.isThemeGetter=!0,t},K=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Z=/^\((?:(\w[\w-]*):)?(.+)\)$/i,X=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,J=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,et=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,er=
vendor: 5,157 bytes, line 1
1/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,en=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ea=e=>X.test(e),ei=e=>!!e&&!Number.isNaN(Number(e)),eo=e=>!!e&&Number.isInteger(Number(e)),es=e=>e.endsWith("%")&&ei(e.slice(0,-1)),el=e=>J.test(e),ec=()=>!0,eu=e=>ee.test(e)&&!et.test(e),ed=()=>!1,eh=e=>er.test(e),ep=e=>en.test(e),ef=e=>!ev(e)&&!ek(e),em=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),eg=e=>eD(e,eM,ed),ev=e=>K.test(e),ey=e=>eD(e,eH,eu),eb=e=>eD(e,eF,ei),ex=e=>eD(e,eB,ec),eT=e=>eD(e,eq,ed),eE=e=>eD(e,ej,ed),eC=e=>eD(e,eL,ep),ew=e=>eD(e,eU,eh),ek=e=>Z.test(e),eS=e=>eO(e,eH),eI=e=>eO(e,eq),eP=e=>eO(e,ej),e_=e=>eO(e,eM),eR=e=>eO(e,eL),eA=e=>eO(e,eU,!0),eN=e=>eO(e,eB,!0),eD=(e,t,r)=>{let n=K.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},eO=(e,t,r=!1)=>{let n=Z.exec(e);return!!n&&(n[1]?t(n[1]):r)},ej=e=>"position"===e||"percentage"===e,eL=e=>"image"===e||"url"===e,eM=e=>"length"===e||"size"===e||"bg-size"===e,eH=e=>"length"===e,eF=e=>"number"===e,eq=e=>"family-name"===e,eB=e=>"number"===e||"weight"===e,eU=e=>"shadow"===e,eW=(l=()=>{let e=Q("color"),t=Q("font"),r=Q("text"),n=Q("font-weight"),a=Q("tracking"),i=Q("leading"),o=Q("breakpoint"),s=Q("container"),l=Q("spacing"),c=Q("radius"),u=Q("shadow"),d=Q("inset-shadow"),h=Q("text-shadow"),p=Q("drop-shadow"),f=Q("blur"),m=Q("perspective"),g=Q("aspect"),v=Q("ease"),y=Q("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...x(),ek,ev],E=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],w=()=>[ek,ev,l],k=()=>[ea,"full","auto",...w()],S=()=>[eo,"none","subgrid",ek,ev],I=()=>["auto",{span:["full",eo,ek,ev]},eo,ek,ev],P=()=>[eo,"auto",ek,ev],_=()=>["auto","min","max","fr",ek,ev],R=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],A=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...w()],D=()=>[ea,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],O=()=>[ea,"screen","full","dvw","lvw","svw","min","max","fit",...w()],j=()=>[ea,"screen","full","lh","dvh","lvh","svh","min","max","fit",...w()],L=()=>[e,ek,ev],M=()=>[...x(),eP,eE,{position:[ek,ev]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],F=()=>["auto","cover","contain",e_,eg,{size:[ek,ev]}],q=()=>[es,eS,ey],B=()=>["","none","full",c,ek,ev],U=()=>["",ei,eS,ey],W=()=>["solid","dashed","dotted","double"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>[ei,es,eP,eE],z=()=>["","none",f,ek,ev],Y=()=>["none",ei,ek,ev],$=()=>["none",ei,ek,ev],K=()=>[ei,ek,ev],Z=()=>[ea,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[el],breakpoint:[el],color:[ec],container:[el],"drop-shadow":[el],ease:["in","out","in-out"],font:[ef],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[el],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[el],shadow:[el],spacing:["px",ei],text:[el],"text-shadow":[el],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ea,ev,ek,g]}],container:["container"],"container-type":[{"@container":["","normal","size",ek,ev]}],"container-named":[em],columns:[{columns:[ei,ev,ek,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}
vendor: 4,771 bytes, line 1
1],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[eo,"auto",ek,ev]}],basis:[{basis:[ea,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ei,ea,"auto","initial","none",ev]}],grow:[{grow:["",ei,ek,ev]}],shrink:[{shrink:["",ei,ek,ev]}],order:[{order:[eo,"first","last","none",ek,ev]}],"grid-cols":[{"grid-cols":S()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":S()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_()}],"auto-rows":[{"auto-rows":_()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...R(),"normal"]}],"justify-items":[{"justify-items":[...A(),"normal"]}],"justify-self":[{"justify-self":["auto",...A()]}],"align-content":[{content:["normal",...R()]}],"align-items":[{items:[...A(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...A(),{baseline:["","last"]}]}],"place-content":[{"place-content":R()}],"place-items":[{"place-items":[...A(),"baseline"]}],"place-self":[{"place-self":["auto",...A()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mbs:[{mbs:N()}],mbe:[{mbe:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:D()}],"inline-size":[{inline:["auto",...O()]}],"min-inline-size":[{"min-inline":["auto",...O()]}],"max-inline-size":[{"max-inline":["none",...O()]}],"block-size":[{block:["auto",...j()]}],"min-block-size":[{"min-block":["auto",...j()]}],"max-block-size":[{"max-block":["none",...j()]}],w:[{w:[s,"screen",...D()]}],"min-w":[{"min-w":[s,"screen","none",...D()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...D()]}],h:[{h:["screen","lh",...D()]}],"min-h":[{"min-h":["screen","lh","none",...D()]}],"max-h":[{"max-h":["screen","lh",...D()]}],"font-size":[{text:["base",r,eS,ey]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,eN,ex]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",es,ev]}],"font-family":[{font:[eI,eT,t]}],"font-features":[{"font-features":[ev]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,ek,ev]}],"line-clamp":[{"line-clamp":[ei,"none",ek,eb]}],leading:[{leading:[i,...w()]}],"list-image":[{"list-image":["none",ek,ev]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ek,ev]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[ei,"from-font","auto",ek,ey]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[ei,"auto",ek,ev]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"tab-size":[{tab:[eo,ek,ev]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ek,ev]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ek,ev]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:F()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},eo,ek,ev],radial:["",ek,ev],conic:[eo,ek,ev]},eR,eC]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:q()}
vendor: 7,355 bytes, line 1
1],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:U()}],"border-w-x":[{"border-x":U()}],"border-w-y":[{"border-y":U()}],"border-w-s":[{"border-s":U()}],"border-w-e":[{"border-e":U()}],"border-w-bs":[{"border-bs":U()}],"border-w-be":[{"border-be":U()}],"border-w-t":[{"border-t":U()}],"border-w-r":[{"border-r":U()}],"border-w-b":[{"border-b":U()}],"border-w-l":[{"border-l":U()}],"divide-x":[{"divide-x":U()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":U()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-bs":[{"border-bs":L()}],"border-color-be":[{"border-be":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ei,ek,ev]}],"outline-w":[{outline:["",ei,eS,ey]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",u,eA,ew]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",d,eA,ew]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[ei,ey]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":U()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",h,eA,ew]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[ei,ek,ev]}],"mix-blend":[{"mix-blend":[...V(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":V()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ei]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"mask-image-t-from-pos":[{"mask-t-from":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"mask-image-t-from-color":[{"mask-t-from":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"mask-image-r-from-pos":[{"mask-r-from":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"mask-image-r-from-color":[{"mask-r-from":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"mask-image-b-from-pos":[{"mask-b-from":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"mask-image-b-from-color":[{"mask-b-from":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"mask-image-l-from-pos":[{"mask-l-from":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"mask-image-l-from-color":[{"mask-l-from":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"mask-image-x-from-pos":[{"mask-x-from":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"mask-image-x-from-color":[{"mask-x-from":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"mask-image-y-from-pos":[{"mask-y-from":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[ek,ev]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"mask-image-radial-from-color":[{"mask-radial-from":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[ei]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:F()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ek,ev]}],filter:[{filter:["","none",ek,ev]}],blur:[{blur:z()}],brightness:[{brightness:[ei,ek,ev]}],contrast:[{contrast:[ei,ek,ev]}],"drop-shadow":[{"drop-shadow":["","none",p,eA,ew]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",ei,ek,ev]}],"hue-rotate":[{"hue-rotate":[ei,ek,ev]}],invert:[{invert:["",ei,ek,ev]}],saturate:[{saturate:[ei,ek,ev]}],sepia:[{sepia:["",ei,ek,ev]}],"backdrop-filter":[{"backdrop-filter":["","none",ek,ev]}],"backdrop-blur":[{"backdrop-blur":z()}],"backdrop-brightness":[{"backdrop-brightness":[ei,ek,ev]}],"backdrop-contrast":[{"backdrop-contrast":[ei,ek,ev]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ei,ek,ev]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ei,ek,ev]}],"backdrop-invert":[{"backdrop-invert":["",ei,ek,ev]}],"backdrop-opacity":[{"backdrop-opacity":[ei,ek,ev]}],"backdrop-saturate":[{"backdrop-saturate":[ei,ek,ev]}],"backdrop-sepia":[{"backdrop-sepia":["",ei,ek,ev]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ek,ev]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ei,"initial",ek,ev]}],ease:[{ease:["linear","initial",v,ek,ev]}],delay:[{delay:[ei,ek,ev]}],animate:[{animate:["none",y,ek,ev]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,ek,ev]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:$()}],"scale-x":[{"scale-x":$()}],"scale-y":[{"scale-y":$()}],"scale-z":[{"scale-z":$()}],"scale-3d":["scale-3d"],skew:[{skew:K()}],"skew-x":[{"skew-x":K()}],"skew-y":[{"skew-y":K()}],transform:[{transform:[ek,ev,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Z()}],"translate-x":[{"translate-x":Z()}],"translate-y":[{"translate-y":Z()}],"translate-z":[{"translate-z":Z()}],"translate-none":["translate-none"],zoom:[{zoom:[eo,ek,ev]}],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ek,ev]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":L()}],"scrollbar-track-color":[{"scrollbar-track":L()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ek,ev]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[ei,eS,ey,eb]}],stroke:[{stroke:["none",...L()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},s=e=>{let t=a(e);if(t)return t;let r=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:i,postfixLookupClassGroupIds:o}=t,s=[],l=e.trim().split(z),c="";for(let e=l.length-1;e>=0;e-=1){let t,u=l[e],{isExternal:d,modifiers:h,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:m}=r(u);if(d){c=u+(c.length>0?" "+c:c);continue}let g=!!m;if(g){let e=(t=n(f.substring(0,m)))&&o[t]?n(f):void 0;e&&e!==t&&(t=e,g=!1)}else t=n(f);if(!t){if(!g||!(t=n(f))){c=u+(c.length>0?" "+c:c);continue}g=!1}let v=0===h.length?"":1===h.length?h[0]:i(h).join(":"),y=p?v+"!":v,b=y+t;if(s.indexOf(b)>-1)continue;s.push(b);let x=a(t,g);for(let e=0;e<x.length;++e){let t=x[e];s.push(y+t)}c=u+(c.length>0?" "+c:c)}return c})(e,n);return i(e,r),r},o=e=>{var t;let r;return a=(n={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),a=(a,i)=>{r[a]=i,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(a(e,t),t):void 0},set(e,t){e in r?r[e]=t:a(e,t)}}})((t=[].reduce((e,t)=>
1t(e),l())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,a=0,i=0,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(0===n&&0===a){if(":"===o){r.push(e.slice(i,s)),i=s+1;continue}if("/"===o){t=s;continue}}"["===o?n++:"]"===o?n--:"("===o?a++:")"===o&&a--}let s=0===r.length?e:e.slice(i),l=s,c=!1;return s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0),G(r,c,l,t&&t>i?t-i:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):G(V,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(t),sortModifiers:(r=new Map,t.orderSensitiveModifiers.forEach((e,t)=>{r.set(e,1e6+t)}),e=>{let t=[],n=[];for(let a=0;a<e.length;a++){let i=e[a],o="["===i[0],s=r.has(i);o||s?(n.length>0&&(n.sort(),t.push(...n),n=[]),t.push(i)):n.push(i)}return n.length>0&&(n.sort(),t.push(...n)),t}),postfixLookupClassGroupIds:(e=>{let t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let e=0;e<r.length;e++)t[r[e]]=!0;return t})(t),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return L(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,a;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(a=t.slice(0,n))?"arbitrary.."+a:void 0)}let n=e.split("-"),a=+(""===n[0]&&n.length>1);return j(n,a,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],a=r[e];if(t){if(a){let e=Array(a.length+t.length);for(let t=0;t<a.length;t++)e[t]=a[t];for(let r=0;r<t.length;r++)e[a.length+r]=t[r];return e}return t}return a||O}return r[e]||O}}})(t)}).cache.get,i=n.cache.set,o=s,s(e)},(...e)=>o(((...e)=>{let t,r,n=0,a="";for(;n<e.length;)(t=e[n++])&&(r=Y(t))&&(a&&(a+=" "),a+=r);return a})(...e))),eV=e=>{let t,r,n=(0,d.c)(6),{links:a,className:i,testId:o}=e,s=void 0===o?"FooterList":o;return n[0]!==i||n[1]!==a||n[2]!==s?(t=null==a?void 0:a.map(e=>{var t;return(0,u.jsxs)("div",{className:eW("col-span-8 md:col-span-12 lg:col-span-3",i),"testid-id":s,children:[(0,u.jsx)(p.f_e,{tag:"h2",className:"mb-3",children:e.title}),(0,u.jsx)(c.B8,{children:null==e||null==(t=e.links)?void 0:t.map(eG)})]},e.title)}),n[0]=i,n[1]=a,n[2]=s,n[3]=t):t=n[3],n[4]!==t?(r=(0,u.jsx)(u.Fragment,{children:t}),n[4]=t,n[5]=r):r=n[5],r};function eG(e,t){return(0,u.jsx)(c.ck,{className:"mb-3",children:(0,u.jsx)("a",{href:e.href,target:e.target,"data-plg-type":"footer-navigation-link",className:"hover:underline",children:e.title})},"".concat(e.href,"-").concat(t))}let ez={instagram:p.xWo,facebook:p.ZzN,youtube:p.S8e,tiktok:p.V4t,x:p.vjv,linkedin:p.$1Q},eY=e=>{let t,r,n,a,i=(0,d.c)(12),{className:o,testId:s,media:l,title:h}=e,f=void 0===s?"FooterSocialMediaLinks":s;return i[0]!==h?(t=h&&(0,u.jsx)(p.f_e,{tag:"h2",className:"mb-3",children:h}),i[0]=h,i[1]=t):t=i[1],i[2]!==l?(r=l.map(e$),i[2]=l,i[3]=r):r=i[3],i[4]!==r||i[5]!==f?(n=(0,u.jsx)(c.z5,{smallGap:!0,"data-testid":f,children:r}),i[4]=r,i[5]=f,i[6]=n):n=i[6],i[7]!==o||i[8]!==t||i[9]!==n||i[10]!==f?(a=(0,u.jsxs)("div",{className:o,"data-testid":f,children:[t,n]}),i[7]=o,i[8]=t,i[9]=n,i[10]=f,i[11]=a):a=i[11],a};function e$(e){let t=ez[e.type],r=(0,u.jsx)(t,{size:"lg",alt:e.alt});return(0,u.jsx)(c.ck,{children:e.href?(0,u.jsx)("a",{"data-plg-type":"footer-navigation-link",href:e.href,target:"_blank",rel:"noreferrer",className:"text-menu-item-icon-color inline-block hover:text-ds-actions-text-color-hover focus:outline-fill-action",children:r}):(0,u.jsx)("span",{className:"text-menu-item-icon-color inline-block hover:text-ds-actions-text-color-hover focus:outline-fill-action",children:r})},e.type)}let eQ=e=>{let t,r,n,a,i,o=(0,d.c)(16),{content:s}=e,l=!!s.infoAge&&!!s.infoCharity;return o[0]!==s.infoAge||o[1]!==s.infoCharity||o[2]!==l?(t=(s.infoAge||s.infoCharity)&&(0,u.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-8 md:gap-6",children:(0,u.jsxs)("div",{className:"flex flex-col justify-start gap-3 sm:flex-row sm:gap-6",children:[(0,u.jsx)("div",{className:g()("flex flex-row items-center gap-2 text-center",{"flex-row md:inline-flex":l}),children:s.infoAge&&(0,u.jsxs)("div",{className:"flex items-center justify-start gap-2",children:[(0,u.jsx)(c.RC,{primaryFill:"fill-ds-generic-fill-color-icon-inverted",size:"none",className:"h-8 w-8 md:h-12 md:w-12",alt:"18+"}),(0,u.jsx)("span",{className:"text-center leading-tight",children:s.infoAge})]})}),(0,u.jsx)("div",{className:g()("flex flex-row items-center gap-2 text-center",{"flex-row md:inline-flex":l}),children:s.infoCharity&&(0,u.jsxs)("div",{className:"flex items-center justify-start gap-2",children:[(0,u.jsx)(p.EQC,{className:"h-8 w-8 md:h-12 md:w-12"}),(0,u.jsx)("span",{className:"text-center leading-tight",children:s.infoCharity})]})})]})}),o[0]=s.infoAge,o[1]=s.infoCharity,o[2]=l,o[3]=t):t=o[3],o[4]!==s.addressInfo||o[5]!==s.copyrightInfo?(r=(s.copyrightInfo||s.addressInfo)&&(0,u.jsxs)("div",{children:[s.copyrightInfo&&"\xa9 ".concat(new Date().getFullYear()," ").concat(s.copyrightInfo),s.addressInfo&&(0,u.jsx)("div",{children:s.addressInfo})]}),o[4]=s.addressInfo,o[5]=s.copyrightInfo,o[6]=r):r=o[6],o[7]!==s.licenseInfo?(n=s.licenseInfo&&(0,u.jsx)("div",{className:"flex w-full justify-center",children:s.licenseInfo}),o[7]=s.licenseInfo,o[8]=n):n=o[8],o[9]!==s.image?(a=s.image&&(0,u.jsx)("div",{className:"pb-16 xs:pb-0",children:(0,u.jsx)("img",{className:"inline-block h-12 max-w-[286px] md:h-auto",src:s.image,"aria-hidden":"true",alt:""})}),o[9]=s.image,o[10]=a):a=o[10],o[11]!==t||o[12]!==r||o[13]!==n||o[14]!==a?(i=(0,u.jsxs)(u.Fragment,{children:[t,r,n,a]}),o[11]=t,o[12]=r,o[13]=n,o[14]=a,o[15]=i):i=o[15],i},eK=e=>{let t,r,n,a,i,o,s,l=(0,d.c)(21),{narrow:h,gridColsClass:p,footerDataFromCms:f,extraColumn:m}=e;l[0]!==f||l[1]!==h?(t=h?f.slice(0,-1):f,l[0]=f,l[1]=h,l[2]=t):t=l[2];let g=t;l[3]!==g?(r=g.map(eX),l[3]=g,l[4]=r):r=l[4];let v=r;return l[5]!==p||l[6]!==v?(n=(0,u.jsx)(eV,{className:p,links:v}),l[5]=p,l[6]=v,l[7]=n):n=l[7],l[8]!==m||l[9]!==h||l[10]!==n?(a=(0,u.jsxs)(S,{className:"hidden lg:block",narrow:h,xPadding:"none",children:[n,m]}),l[8]=m,l[9]=h,l[10]=n,l[11]=a):a=l[11],l[12]!==v?(i=(0,u.jsx)(C,{links:v,className:"-my-4"}),l[12]=v,l[13]=i):i=l[13],l[14]!==m||l[15]!==h||l[16]!==i?(o=(0,u.jsxs)(S,{className:"lg:hidden",narrow:h,xPadding:"none",children:[i,m]}),l[14]=m,l[15]=h,l[16]=i,l[17]=o):o=l[17],l[18]!==a||l[19]!==o?(s=(0,u.jsxs)(c.xI,{className:"bg-ds-generic-fill-color-neutral",children:[a,o]}),l[18]=a,l[19]=o,l[20]=s):s=l[20],s};function eZ(e){let{label:t,href:r}=e;return{title:t,href:r}}function eX(e){var t;let{heading:r,items:n}=e;return{title:null!=r?r:"",links:null!=(t=null==n?void 0:n.map(eZ))?t:[{title:"",href:""}]}}let eJ=e=>({"data-template-id":"53aa8807dec7e10d38f59f32","data-businessunit-id":e,"data-testid":"trustpilot-mini-widget","data-style-height":"117px"}),e1=e=>{let t,r,n,a,i,o,s=(0,d.c)(14),{footerVariant:l,config:c}=e,p=(0,h.useRef)(null);s[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{let e=window.Trustpilot;e&&e.loadFromElement(p.current,!0)},r=[],s[0]=t,s[1]=r):(t=s[0],r=s[1]),(0,h.useEffect)(t,r);let f=c.id;if(!f){let e;return s[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,u.jsx)("div",{children:"Missing TrustPilot ID"}),s[2]=e):e=s[2],e}s[3]!==l||s[4]!==f?(n=()=>l?eJ(f):{...eJ(f),"data-analytics-label":"trustpilot-navigate","data-analytics-variant":"homepage-trustpilot-cta"},s[3]=l,s[4]=f,s[5]=n):n=s[5];let m=n,g=c.locale;
1return s[6]!==m?(a=m(),s[6]=m,s[7]=a):a=s[7],s[8]!==c.href?(i=(0,u.jsx)("a",{href:c.href,target:"_blank",rel:"noreferrer noopener",children:"Trustpilot not initialized"}),s[8]=c.href,s[9]=i):i=s[9],s[10]!==c.locale||s[11]!==a||s[12]!==i?(o=(0,u.jsx)("div",{className:"trustpilot-widget ml-[-30px]",ref:p,"data-locale":g,"data-theme":"light",...a,children:i}),s[10]=c.locale,s[11]=a,s[12]=i,s[13]=o):o=s[13],o},e0=e=>{var t;let r,n,a,i,o,s=(0,d.c)(20),{footerData:l,config:c}=e,h=l.footerBottomData,p=null!=(t=null==h?void 0:h.narrow)&&t,f=p?"lg:col-span-4":"lg:col-span-3";s[0]!==f?(r=g()("col-span-8 md:col-span-12",f),s[0]=f,s[1]=r):r=s[1];let m=r;s[2]!==l.extraFooterColumn||s[3]!==l.footerSections||s[4]!==m||s[5]!==p?(n=(0,u.jsx)(eK,{narrow:p,gridColsClass:m,footerDataFromCms:l.footerSections,extraColumn:l.extraFooterColumn}),s[2]=l.extraFooterColumn,s[3]=l.footerSections,s[4]=m,s[5]=p,s[6]=n):n=s[6],s[7]!==h||s[8]!==c||s[9]!==l.conditionText||s[10]!==m||s[11]!==p?(a=(0,u.jsx)(y,{bottomPartData:h,narrow:p,gridColsClass:m,config:c,conditionText:l.conditionText}),s[7]=h,s[8]=c,s[9]=l.conditionText,s[10]=m,s[11]=p,s[12]=a):a=s[12];let v=(null==l?void 0:l.extraFooterComponents)||null;return s[13]!==c.lottery?(i=(0,u.jsx)(E,{lottery:c.lottery}),s[13]=c.lottery,s[14]=i):i=s[14],s[15]!==n||s[16]!==a||s[17]!==v||s[18]!==i?(o=(0,u.jsxs)("footer",{children:[n,a,v,i]}),s[15]=n,s[16]=a,s[17]=v,s[18]=i,s[19]=o):o=s[19],o},e2=e=>"string"==typeof e?e:e.src;var e3=r(40275),e5=r(40846);let e4=e=>{var t,r,n,a,i,o,s,l;let c,h,p,f,m,v=(0,d.c)(18),{headerData:y,footerData:b,config:x,children:T}=e,E=(null==y||null==(r=y.stickyFooter)||null==(t=r.callToAction)?void 0:t.length)&&(null==y||null==(a=y.stickyFooter)||null==(n=a.uniqueSellingPointsSection)?void 0:n.length),{isSmaller:C}=(0,e5._X)();if(v[0]!==(null==y?void 0:y.hasStickyCta)||v[1]!==(null==y||null==(i=y.stickyFooter)?void 0:i.hideOnDesktop)||v[2]!==C||v[3]!==E){let e=C("md"),t=(null==y||null==(o=y.stickyFooter)?void 0:o.hideOnDesktop)&&e||!(null==y||null==(s=y.stickyFooter)?void 0:s.hideOnDesktop);c="NavigationWrapper",h=g()({"pb-[100px]":(null==y?void 0:y.hasStickyCta)&&E&&t}),v[0]=null==y?void 0:y.hasStickyCta,v[1]=null==y||null==(l=y.stickyFooter)?void 0:l.hideOnDesktop,v[2]=C,v[3]=E,v[4]=c,v[5]=h}else c=v[4],h=v[5];return v[6]!==x||v[7]!==y?(p=y&&(0,u.jsx)(e3.Y9,{headerData:y,config:x}),v[6]=x,v[7]=y,v[8]=p):p=v[8],v[9]!==x||v[10]!==b?(f=(0,u.jsx)(e0,{footerData:b,config:x}),v[9]=x,v[10]=b,v[11]=f):f=v[11],v[12]!==T||v[13]!==c||v[14]!==h||v[15]!==p||v[16]!==f?(m=(0,u.jsxs)("div",{"data-testid":c,className:h,children:[p,T,f]}),v[12]=T,v[13]=c,v[14]=h,v[15]=p,v[16]=f,v[17]=m):m=v[17],m}},50136:(e,t,r)=>{"use strict";r.d(t,{s:()=>s});var n=r(6029),a=r(75155),i=r(41834);let o={GiftIcon:i.PX$},s=e=>{let t,r=(0,a.c)(3),{text:s,icon:l}=e,c=o[void 0===l?"":l];return r[0]!==c||r[1]!==s?(t=(0,n.jsx)(i.JU7,{className:"w-full",color:"light-blue",label:s,icon:c}),r[0]=c,r[1]=s,r[2]=t):t=r[2],t}},50311:(e,t,r)=>{"use strict";function n(e){if(null==e)throw TypeError("Cannot destructure "+e);return e}r.d(t,{_:()=>n})},50615:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},50865:(e,t,r)=>{"use strict";var n=r(92709),a=r(61429),i=r(21093);e.exports=n?function(e){return n(e)}:a?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return a(e)}:i?function(e){return i(e)}:null},51652:(e,t,r)=>{"use strict";r.d(t,{K:()=>a,q:()=>i});var n=r(55729);let a=(0,r(55620).H)("__plg_siteWideConfigContext__",(0,n.createContext)(null)),i=()=>{let e=(0,n.useContext)(a);if(!e)throw Error("useSiteWideConfig is undefined are you using it within StoryblokConfigProvider?");return e}},51879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return i}});let n=r(62418),a="".concat(n.HTTP_ERROR_FALLBACK_ERROR_CODE,";404");function i(){let e=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E1041",enumerable:!1,
1configurable:!0});throw e.digest=a,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52176:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={UnrecognizedActionError:function(){return a},unstable_isUnrecognizedActionError:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});class a extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function i(e){return!!(e&&"object"==typeof e&&e instanceof a)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52229:(e,t,r)=>{e.exports=r(28751)},53129:(e,t,r)=>{"use strict";r.d(t,{I:()=>a});var n=r(24486);let a=(e,t,r)=>{let a=e?(0,n.b)(e):e,i=!!a&&/\.pdf($|\?|#)/i.test(a);return{rewrittenHref:a,isPdf:i,appAwareRel:null!=r?r:"_blank"===t?"noopener noreferrer":void 0}}},53575:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});let n=e=>{switch(e){case"nl-NL":return{playVideo:"Afspelen",pauseVideo:"Pauzeren",muteAudio:"Geluid dempen",unMuteAudio:"Dempen opheffen"};case"de-DE":return{playVideo:"Abspielen",pauseVideo:"Anhalten",muteAudio:"Stumm schalten",unMuteAudio:"Aufheben der stummschaltung"};case"sv-SE":return{playVideo:"Spela",pauseVideo:"Pausa",muteAudio:"St\xe4ng av ljud",unMuteAudio:"S\xe4tt p\xe5 ljud"};case"no-NO":return{playVideo:"Spill av",pauseVideo:"Pause",muteAudio:"Sl\xe5 av lyd",unMuteAudio:"Sl\xe5 p\xe5 lyd"};default:return{playVideo:"Play",pauseVideo:"Pause",muteAudio:"Mute",unMuteAudio:"Unmute"}}}},53732:(e,t,r)=>{"use strict";function n(e){let t=[],r=String(e||""),n=r.indexOf(","),a=0,i=!1;for(;!i;){-1===n&&(n=r.length,i=!0);let e=r.slice(a,n).trim();(e||!i)&&t.push(e),a=n+1,n=r.indexOf(",",a)}return t}function a(e,t){let r=t||{};return(""===e[e.length-1]?[...e,""]:e).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}r.d(t,{A:()=>a,q:()=>n})},54114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useRouter",{enumerable:!0,get:function(){return i}});let n=r(55729),a=r(46137);function i(){return(0,n.useContext)(a.RouterContext)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54495:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var n,c,u,d,h,p=e.hierarchicalFacets[r],f=e.hierarchicalFacetsRefinements[p.name]&&e.hierarchicalFacetsRefinements[p.name][0]||"",m=e._getHierarchicalFacetSeparator(p),g=e._getHierarchicalRootPath(p),v=e._getHierarchicalShowParentLevel(p),y=i(e._getHierarchicalFacetSortBy(p)),b=t.every(function(e){return e.exhaustive}),x=(n=y,c=m,u=g,d=v,h=f,function(e,t,r){var i=e;if(r>0){var p=0;for(i=e;p<r;)i=a(i&&Array.isArray(i.data)?i.data:[],function(e){return e.isRefined}),p++}if(i){var f=Object.keys(t.data).map(function(e){return[e,t.data[e]]}).filter(function(e){var t,r,n,a,o,s;return t=e[0],r=i.path||u,n=h,a=c,o=u,s=d,(!o||0===t.indexOf(o)&&o!==t)&&(!o&&-1===t.indexOf(a)||o&&t.split(a).length-o.split(a).length==1||-1===t.indexOf(a)&&-1===n.indexOf(a)||0===n.indexOf(t)||0===t.indexOf(r+a)&&(s||0===t.indexOf(n)))});i.data=o(f.map(function(e){var r,n,a,i,o,u,d=e[0];return r=e[1],n=d,a=c,i=l(h),o=t.exhaustive,{name:(u=n.split(a))[u.length-1].trim(),path:n,escapedValue:s(n),count:r,isRefined:i===n||0===i.indexOf(n+a),exhaustive:o,data:null}}),n[0],n[1])}return e}),T=t;return g&&(T=t.slice(g.split(m).length)),T.reduce(x,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:b,data:null})}};var n=r(50615),a=r(69299),i=r(69179),o=r(12481),s=n.escapeFacetValue,l=n.unescapeFacetValue},54850:e=>{"use strict";function t(e){e=e||{},this.params=e.params||[]}t.prototype={constructor:t,addParams:function(e){var r=this.params.slice();return r.push(e),new t({params:r})}
1,removeParams:function(e){return new t({params:this.params.filter(function(t){return t.$$id!==e})})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,t){return this.params.filter(function(e){return void 0===t[e.$$id]}).map(function(t){var r=Object.assign({},t,{indexName:e,threshold:t.threshold||0});return delete r.$$id,r})}},e.exports=t},54913:(e,t,r)=>{"use strict";var n=r(3140),a=r(83639),i=a([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?a([r]):r}},55044:(e,t,r)=>{"use strict";var n=r(23368),a=r(36152);e.exports=function(e,t){var r,i,o={};return t.forEach(function(t){t.forEach(function(t,r){e.includes(t.objectID)||(o[t.objectID]?o[t.objectID]={indexSum:o[t.objectID].indexSum+r,count:o[t.objectID].count+1}:o[t.objectID]={indexSum:r,count:1})})}),(r=t.length,i=[],Object.keys(o).forEach(function(e){o[e].count<2&&(o[e].indexSum+=100),i.push({objectID:e,avgOfIndices:o[e].indexSum/r})}),i.sort(function(e,t){return e.avgOfIndices>t.avgOfIndices?1:-1})).reduce(function(e,r){var i=n(a(t),function(e){return e.objectID===r.objectID});return i?e.concat(i):e},[])}},55440:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});var n=["ais.index","ais.feedContainer"];function a(e){return n.includes(e.$$type)}},55620:(e,t,r)=>{"use strict";function n(e,t){return t}r.d(t,{H:()=>n})},55957:(e,t)=>{"use strict";let r,n,a;Object.defineProperty(t,"__esModule",{value:!0});var i={actionAsyncStorage:function(){return r},workAsyncStorage:function(){return n},workUnitAsyncStorage:function(){return a}};for(var o in i)Object.defineProperty(t,o,{enumerable:!0,get:i[o]});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56031:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});var n=(0,r(55729).createContext)(null)},56121:(e,t,r)=>{e.exports=r(61847)()},57379:e=>{"use strict";e.exports=Function.prototype.apply},57586:(e,t,r)=>{"use strict";r.d(t,{x:()=>f});var n=r(6029),a=r(75155),i=r(11933),o=r(41834),s=r(32988),l=r.n(s),c=r(87581),u=r(12645),d=r(37490);let h=()=>{let e,t=(0,a.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,n.jsx)("svg",{"aria-hidden":"true",className:"my-[.5625rem] h-1.5 w-1.5 shrink-0 fill-[var(--other-divider-divider-color)]",viewBox:"0 0 6 6",children:(0,n.jsx)("circle",{cx:3,cy:3,r:3})}),t[0]=e):e=t[0],e},p=e=>{let t,r,i=(0,a.c)(6),{tags:o}=e;if(!(null==o?void 0:o.length))return null;if(i[0]!==o){let e;i[2]!==o.length?(e=(e,t)=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"whitespace-nowrap !text-left text-[var(--generic-text-color-text-color-secondary)] ".concat(0===t?"flex-shrink-0":"min-w-0 flex-1 overflow-hidden text-ellipsis"),children:e}),t<o.length-1&&(0,n.jsx)(h,{})]},t),i[2]=o.length,i[3]=e):e=i[3],t=o.slice(0,2).map(e),i[0]=o,i[1]=t}else t=i[1];return i[4]!==t?(r=(0,n.jsx)("div",{className:"flex w-full flex-row items-center gap-3",children:t}),i[4]=t,i[5]=r):r=i[5],r},f=e=>{var t;let r,i,s,c,h,p,f,T,E,C,w,k,S,I,P,_,R,A,N,D,O,j,L,M=(0,a.c)(61);M[0]!==e?({content:i,isSlider:p,variant:f,className:r,mediaHeight:c,imageLoading:s,...h}=e,M[0]=e,M[1]=r,M[2]=i,M[3]=s,M[4]=c,M[5]=h,M[6]=p,M[7]=f):(r=M[1],i=M[2],s=M[3],c=M[4],h=M[5],p=M[6],f=M[7]);let H=void 0!==p&&p,F=void 0===f?"md":f,{locale:q}=(0,u.p)();M[8]!==q?(T=(e=>{switch(e){case"de-DE":return{"Monthly Winner":"Monatsgewinn","Street Winner":"Stra\xdfenpreis","Sunday Winner":"Sonntagsgewinn","Daily Winner":"Tagesgewinn"};case"sv-SE":return{"Monthly Winner":"M\xe5nadsvinnare","Street Winner":"Gatupris","Sunday Winner":"S\xf6ndagsvinnare","Daily Winner":"Dagsvinnare"};case"no-NO":return{"Monthly Winner":"M\xe5nedlig vinner","Street Winner":"Gatepris","Sunday Winner":"S\xf8ndagsvinner","Daily Winner":"Dagsvinner"};case"nl-NL":return{"Monthly Winner":"Maandelijkse winnaar","Street Winner":"Straatprijs","Sunday Winner":"Zondag winnaar","Daily Winner":"Dagwinnaar"};default:return{"Monthly Winner":"Monthly Winner","Street Winner":"Street Winner","Sunday Winner":"Sunday Winner","Daily Winner":"Daily Winner"}}})(q),M[8]=q,M[9]=T):T=M[9];let B=T,U="categories"in i?null==(t=i.categories)?void 0:t[0]:void 0,W=U?m[U]:"red",V=U&&B[U]||"";M[10]!==W||M[11]!==V?(E={color:W,label:V},M[10]=W,M[11]=V,M[12]=E):E=M[12];let G=E,z="charityUrl"in i&&null!=i.charityUrl,Y="winnersLink"in i?i.winnersLink:i.link;M[13]!==q||M[14]!==Y?(C=(0,d.C)(Y,q),M[13]=q,M[14]=Y,M[15]=C):C=M[15];let $=C;M[16]!==z||M[17]!==$?(w=z?void 0:{href:$},M[16]=z,M[17]=$,M[18]=w):w=M[18];let Q=w;M[19]!==i||M[20]!==s?(k=x(i,s),M[19]=i,M[20]=s,M[21]=k):k=M[21];let K=k;return M[22]!==r?(S=l()("relative",r),M[22]=r,M[23]=S):S=M[23],M[24]!==K||M[25]!==c?(I=(0,n.jsx)(o.VoS,{height:c,image:K}),M[24]=K,M[25]=c,M[26]=I):I=M[26],M[27]!==i||M[28]!==H?(P=l()({"line-clamp-2":H,hidden:g(i)}),M[27]=i,M[28]=H,M[29]=P):P=M[29],M[30]!==i.title||M[31]!==P?(_=(0,n.jsx)(o.ZBx,{className:P,children:i.title}),M[30]=i.title,M[31]=P,M[32]=_):_=M[32],M[33]!==G.color||M[34]!==G.label||M[35]!==F?(R=G.label&&(0,n.jsx)("div",{className:"absolute left-5 top-5",children:(0,n.jsx)(o.JU7,{label:G.label,color:G.color,variant:F})}),M[33]=G.color,M[34]=G.label,M[35]=F,M[36]=R):R=M[36],M[37]!==i.secondaryText?(A=i.secondaryText&&(0,n.jsx)("p",{className:"text-intro-card-tag-content-color",children:i.secondaryText}),M[37]=i.secondaryText,M[38]=A):A=M[38],M[39]!==i||M[40]!==F?(N=v(i,F),M[39]=i,M[40]=F,M[41]=N):N=M[41],M[42]!==i||M[43]!==H||M[44]!==F?(D=y(i,H,F),M[42]=i,M[43]=H,M[44]=F,M[45]=D):D=M[45],M[46]!==i?(O=b(i),M[46]=i,M[47]=O):O=M[47],M[48]!==R||M[49]!==A||M[50]!==N||M[51]!==D||M[52]!==O?(j=(0,n.jsxs)(o.bwi,{children:[R,A,N,D,O]}),M[48]=R,M[49]=A,M[50]=N,M[51]=D,M[52]=O,M[53]=j):j=M[53],M[54]!==Q||M[55]!==h||M[56]!==S||M[57]!==I||M[58]!==_||M[59]!==j?(L=(0,n.jsxs)(o.ZpM,{className:S,orientation:"vertical",link:Q,...h,children:[I,_,
1j]}),M[54]=Q,M[55]=h,M[56]=S,M[57]=I,M[58]=_,M[59]=j,M[60]=L):L=M[60],L},m={"Monthly Winner":"red","Street Winner":"green","Sunday Winner":"gold"},g=e=>"amountRaised"in e&&"charityLogo"in e,v=(e,t)=>{var r;if(!("subTitle"in e)&&!("text"in e)||g(e))return null;let a="date"in e&&e.date,i=e.tags&&e.tags.length>0;if(!a&&!i)return null;let s=null!=(r=e.tags)?r:[];return"sm"===t?(0,n.jsx)(p,{tags:s}):(0,n.jsx)(o.z55,{items:s})},y=(e,t,r)=>{if(g(e))return null;let a=l()({"line-clamp-3":"md"===r||"sm"===r,"!line-clamp-1":"md"===r&&t,"line-clamp-3 md:line-clamp-1":"lg"===r});return"text"in e?(0,n.jsx)(o.fzL,{className:a,children:(0,i.eA)(e.text)}):"subTitle"in e?(0,n.jsx)(o.fzL,{className:a,children:(0,i.eA)(e.subTitle)}):null},b=e=>{if(g(e)){var t;let r=e.charityLogo;return(0,n.jsxs)("div",{className:"flex w-full items-start justify-between",children:[(0,n.jsxs)("div",{className:"leading-5",children:[(0,n.jsx)(o.OHR,{className:"text-ds-plh-blue-600 block",children:e.title}),(0,n.jsx)(o.JU7,{label:null!=(t=e.amountRaised)?t:"",color:"light-green",className:"mt-2"})]}),r&&(0,n.jsx)("img",{src:r.src,alt:r.alt,className:"max-h-16 max-w-16 object-cover",loading:"lazy"})]})}return null},x=(e,t)=>{var r,n,a,i,o,s,l,u,d,h;let p=e.imageThumbnail&&null!==e.imageThumbnail,f={mobile:null!=(r=(0,c.o5)(null!=(n=null==(l=e.image)?void 0:l.mobile)?n:"",0,400))?r:"",desktop:null!=(a=(0,c.o5)(null!=(i=null==(u=e.image)?void 0:u.desktop)?i:"",0,400))?a:"",thumbnail:p&&(null!=(o=(0,c.o5)(null!=(s=null==(d=e.imageThumbnail)?void 0:d.filename)?s:"",0,400))?o:"")};return{loading:t,srcSet:{default:p?f.thumbnail||f.mobile:f.mobile||f.desktop||"",xl:p?f.thumbnail||f.desktop:f.desktop||f.mobile||""},alt:p?null==(h=e.imageThumbnail)?void 0:h.alt:void 0}}},57601:(e,t,r)=>{"use strict";var n=r(95868);function a(e,t,r){this.main=e,this.fn=t,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}r(83783)(a,n),a.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},a.prototype.getModifiedState=function(e){return this.fn(e)},a.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},e.exports=a},57642:e=>{"use strict";function t(e,t){this._state=e,this._rawResults={};var r=this;e.params.forEach(function(e){var n=e.$$id;r[n]=t[n],r._rawResults[n]=t[n]})}t.prototype={constructor:t},e.exports=t},59248:(e,t,r)=>{"use strict";r.d(t,{G1:()=>o,PW:()=>a,Y:()=>n});let n=i("end"),a=i("start");function i(e){return function(t){let r=t&&t.position&&t.position[e]||{};if("number"==typeof r.line&&r.line>0&&"number"==typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"==typeof r.offset&&r.offset>-1?r.offset:void 0}}}function o(e){let t=a(e),r=n(e);if(t&&r)return{start:t,end:r}}},59638:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(17859),a=r(18790),i=r(93574);function o(e){return function(e){if(Array.isArray(e))return(0,n._)(e)}(e)||(0,a._)(e)||(0,i._)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},60369:(e,t,r)=>{var n=Object.create,a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||a(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)),d=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?a(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r},h={},p={default:()=>b};for(var f in p)a(h,f,{get:p[f],enumerable:!0});e.exports=c(a({},"__esModule",{value:!0}),h);var m=u(r(55729)),g=u(r(28438)),v=r(64150),y=r(46773);class b extends m.Component{constructor(){super(...arguments),d(this,"mounted",!1),d(this,"isReady",!1),d(this,"isPlaying",!1),d(this,"isLoading",!0),d(this,"loadOnReady",null),d(this,"startOnPlay",!0),d(this,"seekOnPlay",null),d(this,"onDurationCalled",!1),d(this,"handlePlayerMount",e=>{this.player||(this.player=e,this.player.load(this.props.url)),this.progress()}),d(this,"getInternalPlayer",e=>this.player?this.player[e]:null),d(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){let e=this.getCurrentTime()||0,t=this.getSecondsLoaded(),r=this.getDuration();if(r){let n={playedSeconds:e,played:e/r};null!==t&&(n.loadedSeconds=t,n.loaded=t/r),(n.playedSeconds!==this.prevPlayed||n.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(n),this.prevPlayed=n.playedSeconds,this.prevLoaded=n.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),d(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;let{onReady:e,playing:t,volume:r,muted:n}=this.props;e(),n||null===r||this.player.setVolume(r),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):t&&this.player.play(),this.handleDurationCheck()}),d(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;let{onStart:e,onPlay:t,playbackRate:r}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&1!==r&&this.player.setPlaybackRate(r),e(),this.startOnPlay=!1),t(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),d(this,"handlePause",e=>{this.isPlaying=!1,this.isLoading||this.props.onPause(e)}),d(this,"handleEnded",()=>{let{activePlayer:e,loop:t,onEnded:r}=this.props;e.loopOnEnded&&t&&this.seekTo(0),t||(this.isPlaying=!1,r())}),d(this,"handleError",(...e)=>{this.isLoading=!1,this.props.onError(...e)}),d(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);let e=this.getDuration();e?this.onDurationCalled||(this.props.onDuration(e),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),d(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
1)),this.mounted=!1}componentDidUpdate(e){if(!this.player)return;let{url:t,playing:r,volume:n,muted:a,playbackRate:i,pip:o,loop:s,activePlayer:l,disableDeferredLoading:c}=this.props;if(!(0,g.default)(e.url,t)){if(this.isLoading&&!l.forceLoad&&!c&&!(0,y.isMediaStream)(t)){console.warn(`ReactPlayer: the attempt to load ${t} is being deferred until the player has loaded`),this.loadOnReady=t;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(t,this.isReady)}e.playing||!r||this.isPlaying||this.player.play(),e.playing&&!r&&this.isPlaying&&this.player.pause(),!e.pip&&o&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!o&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==n&&null!==n&&this.player.setVolume(n),e.muted!==a&&(a?this.player.mute():(this.player.unmute(),null!==n&&setTimeout(()=>this.player.setVolume(n)))),e.playbackRate!==i&&this.player.setPlaybackRate&&this.player.setPlaybackRate(i),e.loop!==s&&this.player.setLoop&&this.player.setLoop(s)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(e,t,r){if(!this.isReady){0!==e&&(this.seekOnPlay=e,setTimeout(()=>{this.seekOnPlay=null},5e3));return}if(t?"fraction"===t:e>0&&e<1){let t=this.player.getDuration();return t?void this.player.seekTo(t*e,r):void console.warn("ReactPlayer: could not seek using fraction –\xa0duration not yet available")}this.player.seekTo(e,r)}render(){let e=this.props.activePlayer;return e?m.default.createElement(e,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}d(b,"displayName","Player"),d(b,"propTypes",v.propTypes),d(b,"defaultProps",v.defaultProps)},60573:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(36176),a=r(19023),i=r(93574);function o(e,t){return(0,n._)(e)||function(e,t){var r,n,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i=[],o=!0,s=!1;try{for(a=a.call(e);!(o=(r=a.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==a.return||a.return()}finally{if(s)throw n}}return i}}(e,t)||(0,i._)(e,t)||(0,a._)()}},61429:(e,t,r)=>{"use strict";e.exports=r(17).getPrototypeOf||null},61480:()=>{},61847:(e,t,r)=>{"use strict";var n=r(4140);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,i,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return r.PropTypes=r,r}},61924:e=>{"use strict";e.exports=EvalError},62476:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}},62869:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var n=r(75155),a=r(55729),i=r(29829);let o=e=>{let t,r,o,s,l,c=(0,n.c)(9);c[0]!==e?(t=void 0===e?{}:e,c[0]=e,c[1]=t):t=c[1];let{initialOffset:u}=t,[d,h]=(0,a.useState)(0),{isSmaller:p}=(0,i._X)(),f=p("md")?24:40,m=(null!=u?u:f)+.75*d,g=Math.min(d/100*.5,.5);c[2]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{window.scrollY<256&&h(window.scrollY)},c[2]=r):r=c[2];let v=r;return c[3]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{if("u">typeof document)return v(),!0!==window.matchMedia("(prefers-reduced-motion: reduce)").matches&&document.addEventListener("scroll",v),()=>document.removeEventListener("scroll",v)},c[3]=o):o=c[3],c[4]!==u?(s=[u,v],c[4]=u,c[5]=s):s=c[5],(0,a.useEffect)(o,s),c[6]!==g||c[7]!==m?(l={offset:m,backdropOpacity:g},c[6]=g,c[7]=m,c[8]=l):l=c[8],l}},63650:(e,t,r)=>{"use strict";r.d(t,{Q:()=>a});var n=r(99490);function a(e){if((void 0===e?"undefined":(0,n._)(e))!=="object"||null===e||"[object Object]"!==(null===e?void 0===e?"[object Undef
1ined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},63854:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});var n=r(55729),a=(0,n.createContext)(null);function i(){return(0,n.useContext)(a)}},64050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=r(55729);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=i(e,n)),t&&(a.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64150:(e,t,r)=>{let n,a;var i=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===r||o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},h={},p={defaultProps:()=>S,propTypes:()=>w};for(var f in p)o(h,f,{get:p[f],enumerable:!0});e.exports=d(o({},"__esModule",{value:!0}),h);let{string:m,bool:g,number:v,array:y,oneOfType:b,shape:x,object:T,func:E,node:C}=(a=null!=(n=r(56121))?i(c(n)):{},d(n&&n.__esModule?a:o(a,"default",{value:n,enumerable:!0}),n)).default,w={url:b([m,y,T]),playing:g,loop:g,controls:g,volume:v,muted:g,playbackRate:v,width:b([m,v]),height:b([m,v]),style:T,progressInterval:v,playsinline:g,pip:g,stopOnUnmount:g,light:b([g,m,T]),playIcon:C,previewTabIndex:v,previewAriaLabel:m,fallback:C,oEmbedUrl:m,wrapper:b([m,E,x({render:E.isRequired})]),config:x({soundcloud:x({options:T}),youtube:x({playerVars:T,embedOptions:T,onUnstarted:E}),facebook:x({appId:m,version:m,playerId:m,attributes:T}),dailymotion:x({params:T}),vimeo:x({playerOptions:T,title:m}),mux:x({attributes:T,version:m}),file:x({attributes:T,tracks:y,forceVideo:g,forceAudio:g,forceHLS:g,forceSafariHLS:g,forceDisableHls:g,forceDASH:g,forceFLV:g,hlsOptions:T,hlsVersion:m,dashVersion:m,flvVersion:m}),wistia:x({options:T,playerId:m,customControls:y}),mixcloud:x({options:T}),twitch:x({options:T,playerId:m}),vidyard:x({options:T})}),onReady:E,onStart:E,onPlay:E,onPause:E,onBuffer:E,onBufferEnd:E,onEnded:E,onError:E,onDuration:E,onSeek:E,onPlaybackRateChange:E,onPlaybackQualityChange:E,onProgress:E,onClickPreview:E,onEnablePIP:E,onDisablePIP:E},k=()=>{},S={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:k},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:k,onStart:k,onPlay:k,onPause:k,onBuffer:k,onBufferEnd:k,onEnded:k,onError:k,onDuration:k,onSeek:k,onPlaybackRateChange:k,onPlaybackQualityChange:k,onProgress:k,onClickPreview:k,onEnablePIP:k,onDisablePIP:k}}
1,64776:(e,t,r)=>{"use strict";r.d(t,{QQ:()=>u,Rg:()=>f,ZR:()=>c,Zv:()=>l,l_:()=>d,nr:()=>p,xo:()=>h,zg:()=>s});let n=null,a=new Map,i=!1,o=null,s=()=>n,l=e=>{n=e},c=e=>(Object.entries(e).forEach(([e,t])=>{a.set(e,t)}),a),u=e=>a.has(e)?a.get(e):(console.error(`Component ${e} doesn't exist.`),!1),d=()=>i,h=e=>{i=e},p=()=>o,f=e=>{o=e}},64925:(e,t,r)=>{"use strict";let n;r.r(t),r.d(t,{default:()=>is});var a,i,o,s={};r.r(s),r.d(s,{abtestingV3Client:()=>aS,apiClientVersion:()=>aw});var l={};r.r(l),r.d(l,{abtestingClient:()=>a_,apiClientVersion:()=>aI});var c={};r.r(c),r.d(c,{analyticsClient:()=>aN,apiClientVersion:()=>aR});var u={};r.r(u),r.d(u,{apiClientVersion:()=>aD,insightsClient:()=>aj});var d={};r.r(d),r.d(d,{apiClientVersion:()=>aL,personalizationClient:()=>aH});var h={};r.r(h),r.d(h,{apiClientVersion:()=>aF,querySuggestionsClient:()=>aB});var p={};r.r(p),r.d(p,{apiClientVersion:()=>aU,searchClient:()=>aW});var f={};r.r(f),r.d(f,{apiClientVersion:()=>aV,ingestionClient:()=>aQ,isOnDemandTrigger:()=>az,isScheduleTrigger:()=>aY,isSubscriptionTrigger:()=>a$});var m={};r.r(m),r.d(m,{apiClientVersion:()=>aK,monitoringClient:()=>aZ});var g={};r.r(g),r.d(g,{apiClientVersion:()=>aX,recommendClient:()=>aJ});var v=r(6029),y=r(75155),b=r(44160),x=r(78269),T=r(24486),E=r(11933),C=r(42580),w=r(90750),k=r(68886),S=r(4220),I=r(71137),P=r(12068);let _=async e=>{"object"==typeof e.story&&null!==e.story&&"url"in e.story&&"string"==typeof e.story.url&&(e.story.url=(0,T.b)(e.story.url)),e.cached_url&&"string"==typeof e.cached_url&&(e.cached_url=(0,T.b)(e.cached_url))};var R=r(71024),A=r.n(R),N=r(28563),D=r(66186),O=r(41834),j=r(32988),L=r.n(j);let M={bingo:O.hqv,check:O.Srz,"check-circle":O.C1y,"check-verified-03":O.lnm,"credit-card-01":O._gV,"gift-01":O.PX$,"heart-hand":O.RNm,"mail-01":O.khQ,phone:O.NKo,"shield-tick":O.UN7,"shopping-cart-01":O.bXL,"trophy-01":O.ZQw,"ticket-01":O.fGs,vip:O.zhk},H=e=>{let t,r,n,a,i,o,s,l,c,u,d,h,p,f,m,g,b,x,T,E=(0,y.c)(42);E[0]!==e?({uniqueSellingPoints:o,trustMarks:i,variant:s,mobileTitle:r,sectionLink:a,anchorId:t,...n}=e,E[0]=e,E[1]=t,E[2]=r,E[3]=n,E[4]=a,E[5]=i,E[6]=o,E[7]=s):(t=E[1],r=E[2],n=E[3],a=E[4],i=E[5],o=E[6],s=E[7]);let C="link"===s,w="trustMarks"===s&&i.length>0;E[8]!==C||E[9]!==r?(l=C&&r&&(0,v.jsx)(O.fV8,{className:"mb-3 lg:hidden",children:r}),E[8]=C,E[9]=r,E[10]=l):l=E[10];let k=!C;E[11]!==C||E[12]!==k?(c=L()("flex w-full justify-between lg:flex-row lg:items-center",{"flex-col items-start gap-4":C,"flex-row items-center":k}),E[11]=C,E[12]=k,E[13]=c):c=E[13];let S=!C;return E[14]!==S?(u=L()("flex flex-col gap-2 lg:w-auto lg:flex-row lg:gap-4",{"lg:mx-auto":S}),E[14]=S,E[15]=u):u=E[15],E[16]!==o?(d=o.map(F),E[16]=o,E[17]=d):d=E[17],E[18]!==u||E[19]!==d?(h=(0,v.jsx)("div",{className:u,children:d}),E[18]=u,E[19]=d,E[20]=h):h=E[20],E[21]!==w||E[22]!==i?(p=w&&(0,v.jsx)("div",{className:"flex flex-col items-end gap-2 lg:w-auto lg:flex-row lg:gap-4",children:i.map(q)}),E[21]=w,E[22]=i,E[23]=p):p=E[23],E[24]!==C||E[25]!==a?(f=C&&a&&(0,v.jsxs)(N.e,{href:a.href,className:"lg:ml-4",testId:"usp-section-link",children:[a.label,(0,v.jsx)(O.vKP,{})]}),E[24]=C,E[25]=a,E[26]=f):f=E[26],E[27]!==c||E[28]!==h||E[29]!==p||E[30]!==f?(m=(0,v.jsxs)("div",{className:c,children:[h,p,f]}),E[27]=c,E[28]=h,E[29]=p,E[30]=f,E[31]=m):m=E[31],E[32]!==l||E[33]!==m?(g=(0,v.jsxs)("div",{className:"w-full",children:[l,m]}),E[32]=l,E[33]=m,E[34]=g):g=E[34],E[35]!==t||E[36]!==n||E[37]!==g?(b=(0,v.jsx)("section",{...n,id:t,className:"pt-6",children:g}),E[35]=t,E[36]=n,E[37]=g,E[38]=b):b=E[38],E[39]===Symbol.for("react.memo_cache_sentinel")?(x=(0,v.jsx)(O.cGx,{className:"col-span-5 mt-6"}),E[39]=x):x=E[39],E[40]!==b?(T=(0,v.jsxs)(v.Fragment,{children:[b,x]}),E[40]=b,E[41]=T):T=E[41],T};function F(e,t){var r;let{text:n,icon:a}=e,i=null!=(r=a&&M[a])?r:O.Srz;return(0,v.jsxs)("div",{className:"flex items-center gap-2",children:[(0,v.jsx)(i,{className:L()("h-5 w-5 shrink-0",{"text-ds-generic-text-color-positive":i===O.Srz,"text-ds-generic-text-color-brand":i!==O.Srz}),testId:"usp-icon"}),(0,v.jsx)(D.o,{content:n})]},t)}function q(e,t){return(0,v.jsx)("div",{children:(0,v.jsx)("a",{href:e.logoUrl,target:"_blank",rel:"noreferrer",children:(0,v.jsx)("img",{src:e.logoFilename,alt:e.logoAlt,className:"max-h-12"})})},t)}
1var B=r(88454),U=r(21091),W=r(87581),V=r(67203),G=r(12645),z=r(55729);let Y={76:O._aR,60:O._aR,42:O.fV8},$={76:"!leading-[1.05] sm:text-[4.75rem]",60:"!leading-[1.1] sm:text-[3.75rem]",42:"!leading-[1.15] sm:text-[2.625rem]"},Q={left:"text-center md:text-left",center:"text-center"},K=e=>{let t,r,n,a=(0,y.c)(11),{children:i,headingTag:o,size:s,textColorClassName:l,highlightWords:c}=e,u=Y[s],d=$[s];if(a[0]!==d||a[1]!==l?(t=L()(d,l),a[0]=d,a[1]=l,a[2]=t):t=a[2],a[3]!==i||a[4]!==c)r=c?z.Children.map(i,e=>"string"==typeof e?((e,t,r)=>{let n=(null!=t?t:"").split(/[\n,]+/).map(e=>e.trim()).filter(Boolean);if(!n.length)return e;let a=new Set(n.map(e=>e.toLowerCase()));return e.split(RegExp("(".concat(n.join("|"),")"),"gi")).filter(Boolean).map((e,t)=>a.has(e.toLowerCase())?(0,v.jsx)("span",{className:r,children:e},"".concat(e,"-").concat(t)):e)})(e,c,"bg-[linear-gradient(30deg,#FFF7D6_0%,#F8DE85_20%,#EBAE34_42%,#FCE795_57%,#E5A126_80%,#CE8A1C_100%)] bg-clip-text text-transparent"):e):i,a[3]=i,a[4]=c,a[5]=r;else r=a[5];return a[6]!==u||a[7]!==o||a[8]!==t||a[9]!==r?(n=(0,v.jsx)(u,{tag:o,className:t,children:r}),a[6]=u,a[7]=o,a[8]=t,a[9]=r,a[10]=n):n=a[10],n},Z=e=>{let t,r,n,a,i,o=(0,y.c)(18),{content:s,headingTag:l,alignment:c,textColorClassName:u,className:d}=e,h=void 0===l?"h1":l,{heading:p,headingSize:f,highlightWords:m,supporting:g}=s,b=null!=f?f:"60";if(o[0]!==h||o[1]!==m||o[2]!==b||o[3]!==u){let e;e={headingTag:h,size:b,textColorClassName:u,highlightWords:m},t={p:t=>{let{children:r}=t;return(0,v.jsx)(K,{...e,children:r})}},o[0]=h,o[1]=m,o[2]=b,o[3]=u,o[4]=t}else t=o[4];let x=t,T=Q[void 0===c?"left":c];return o[5]!==d||o[6]!==T||o[7]!==u?(r=L()("flex flex-col gap-3",T,u,d),o[5]=d,o[6]=T,o[7]=u,o[8]=r):r=o[8],o[9]!==p||o[10]!==x?(n=(0,v.jsx)(D.o,{content:p,componentOverrides:x}),o[9]=p,o[10]=x,o[11]=n):n=o[11],o[12]!==g?(a=!!g&&(0,v.jsx)("p",{className:"text-[1.25rem] leading-[1.75rem]",children:g}),o[12]=g,o[13]=a):a=o[13],o[14]!==r||o[15]!==n||o[16]!==a?(i=(0,v.jsxs)("div",{className:r,children:[n,a]}),o[14]=r,o[15]=n,o[16]=a,o[17]=i):i=o[17],i};var X=r(39080);let J=e=>{let t,r,n,a,i=(0,y.c)(12),{countdown:o,inverted:s,className:l}=e,c=void 0!==s&&s;return i[0]!==l||i[1]!==c?(t=L()("flex flex-col items-center gap-2 md:flex-row",{"text-ds-generic-text-color-inverted":c},l),i[0]=l,i[1]=c,i[2]=t):t=i[2],i[3]!==o.date||i[4]!==o.text?(r=(0,v.jsx)(X.Q,{textPlacement:"inside",date:o.date,text:o.text}),i[3]=o.date,i[4]=o.text,i[5]=r):r=i[5],i[6]!==o.description?(n=!!o.description&&(0,v.jsx)(D.o,{content:o.description}),i[6]=o.description,i[7]=n):n=i[7],i[8]!==t||i[9]!==r||i[10]!==n?(a=(0,v.jsxs)("div",{className:t,children:[r,n]}),i[8]=t,i[9]=r,i[10]=n,i[11]=a):a=i[11],a},ee=e=>{let t,r,n,a,i=(0,y.c)(11),{callToAction:o,analyticsEnabled:s,className:l}=e;return i[0]!==l?(t=L()("sticky-visibility w-full md:max-w-[22.5rem]",l),i[0]=l,i[1]=t):t=i[1],i[2]!==o.href?(r={href:o.href},i[2]=o.href,i[3]=r):r=i[3],i[4]!==s?(n=s?{label:"hero-header-cta"}:void 0,i[4]=s,i[5]=n):n=i[5],i[6]!==o.label||i[7]!==t||i[8]!==r||i[9]!==n?(a=(0,v.jsx)(O.$nd,{className:t,link:r,analytics:n,children:o.label}
1),i[6]=o.label,i[7]=t,i[8]=r,i[9]=n,i[10]=a):a=i[10],a},et={left:{textFirst:"flex-col items-center md:flex-row",imageFirst:"flex-col-reverse items-center md:flex-row"},center:{textFirst:"flex-col items-center",imageFirst:"flex-col-reverse items-center"}},er={left:"w-full md:flex-1",center:"w-full md:max-w-[45rem]"},en={left:"justify-center md:justify-start",center:"justify-center"},ea={left:"items-center md:items-start",center:"items-center"},ei={left:"h-auto max-h-[18rem] w-auto max-w-full object-contain md:max-h-[27rem]",center:"h-auto max-h-[18rem] w-auto max-w-full object-contain"},eo={textFirst:"order-last",imageFirst:"order-first"},es="text-ds-generic-text-color-inverted",el={background:"bg-ds-generic-fill-color-brand",text:es},ec={solid:{background:"bg-ds-vl-blue-100",text:"text-ds-vl-blue-700"},vlSolidDark:{background:"bg-ds-vl-blue-700",text:es}},eu=e=>{var t,r;let n,a,i,o,s,l,c,u,d,h,p,f,m,g,x,T=(0,y.c)(60),{backgroundType:E,backgroundImage:C,keyVisual:w,content:k,callToAction:S,countdown:I,textAlignment:P,imageTextOrder:_,analyticsEnabled:R}=e;T[0]!==k?(n=void 0===k?[]:k,T[0]=k,T[1]=n):n=T[1];let A=n,N=void 0===P?"left":P,D=void 0===_?"imageFirst":_,{lottery:j}=(0,G.p)(),M=E===b.zu.Image&&!!C;if(T[2]!==R||T[3]!==E||T[4]!==S||T[5]!==A.length||T[6]!==I||T[7]!==w||T[8]!==j||T[9]!==N){s=Symbol.for("react.early_return_sentinel");e:{let e,r,n,c="image"==E?void 0:"vl"===j?ec[E]:el,u=(l=null!=(t=null==c?void 0:c.text)?t:es)===es;if(i="center"===N,!A.length&&!w){s=null;break e}T[15]!==R||T[16]!==S?(e=S&&(0,v.jsx)(ee,{callToAction:S,analyticsEnabled:R}),T[15]=R,T[16]=S,T[17]=e):e=T[17],T[18]!==I||T[19]!==u?(r=I&&(0,v.jsx)(J,{countdown:I,inverted:u}),T[18]=I,T[19]=u,T[20]=r):r=T[20],T[21]!==e||T[22]!==r?(n=(0,v.jsxs)(v.Fragment,{children:[e,r]}),T[21]=e,T[22]=r,T[23]=n):n=T[23],a=n,o=L()("relative overflow-hidden",null==c?void 0:c.background)}T[2]=R,T[3]=E,T[4]=S,T[5]=A.length,T[6]=I,T[7]=w,T[8]=j,T[9]=N,T[10]=a,T[11]=i,T[12]=o,T[13]=s,T[14]=l}else a=T[10],i=T[11],o=T[12],s=T[13],l=T[14];if(s!==Symbol.for("react.early_return_sentinel"))return s;T[24]!==C||T[25]!==M?(c=M&&(0,v.jsx)(O.wF7,{srcSet:C.srcSet,alt:null!=(r=C.alt)?r:"",fetchPriority:"high",className:"object-fit absolute inset-0 h-full w-full"}),T[24]=C,T[25]=M,T[26]=c):c=T[26];let H=et[N][D],F=!w&&en[N];T[27]!==H||T[28]!==F?(u=L()("relative mx-auto flex min-h-[480px] w-full max-w-[1248px] gap-3 px-4 pb-4 pt-8 sm:min-h-[600px] md:px-6 md:py-6",H,F),T[27]=H,T[28]=F,T[29]=u):u=T[29];let q=er[N],B=ea[N];if(T[30]!==q||T[31]!==B?(d=L()("flex flex-col gap-3",q,B),T[30]=q,T[31]=B,T[32]=d):d=T[32],T[33]!==A||T[34]!==N||T[35]!==l){let e;T[37]!==N||T[38]!==l?(e=(e,t)=>(0,v.jsx)(Z,{content:e,headingTag:0===t?"h1":"h2",alignment:N,textColorClassName:l},e.id),T[37]=N,T[38]=l,T[39]=e):e=T[39],h=A.map(e),T[33]=A,T[34]=N,T[35]=l,T[36]=h}else h=T[36];let U=!i&&a;return T[40]!==d||T[41]!==h||T[42]!==U?(p=(0,v.jsxs)("div",{className:d,children:[h,U]}),T[40]=d,T[41]=h,T[42]=U,T[43]=p):p=T[43],T[44]!==w||T[45]!==N?(f=w&&(0,v.jsx)("div",{className:L()("flex",er[N],en[N]),children:(0,v.jsx)("img",{src:w.src,alt:w.alt,className:ei[N]})}),T[44]=w,T[45]=N,T[46]=f):f=T[46],T[47]!==a||T[48]!==D||T[49]!==i?(m=i&&(0,v.jsx)("div",{className:L()("flex w-full flex-col items-center gap-3",eo[D]),children:a}),T[47]=a,T[48]=D,T[49]=i,T[50]=m):m=T[50],T[51]!==u||T[52]!==p||T[53]!==f||T[54]!==m?(g=(0,v.jsxs)("div",{className:u,children:[p,f,m]}),T[51]=u,T[52]=p,T[53]=f,T[54]=m,T[55]=g):g=T[55],T[56]!==g||T[57]!==o||T[58]!==c?(x=(0,v.jsxs)("div",{className:o,children:[c,g]}),T[56]=g,T[57]=o,T[58]=c,T[59]=x):x=T[59],x};var ed=r(29829),eh=r(53575);let ep=A()(()=>r.e(1537).then(r.bind(r,81537)).then(e=>{let{default:t}=e;return function(e){let{videoRef:r,...n}=e;return(0,v.jsx)(t,{ref:r,...n})}}),{loadableGenerated:{webpack:()=>[81537]}}),ef={light:"var(--generic-fill-colors-fill-default)",dark:"var(--generic-fill-colors-fill-dark)"},em={"gradient-left":"to right","gradient-bottom":"to top"},eg={"--media-object-fit":"cover"},ev=e=>{let t,r,n,a,i,o,s,l,c,u,d,h,p,f,m,g=(0,y.c)(32),{video:b,overlay:x,autoplay:T,loop:E,showControls:C,className:w}
1=e,{isSmaller:k}=(0,ed._X)(),{locale:S}=(0,G.p)(),I=(0,z.useRef)(null),[P,_]=(0,z.useState)(T),[R,A]=(0,z.useState)(!1),[N,D]=(0,z.useState)(!1);g[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{D(!0)},r=[],g[0]=t,g[1]=r):(t=g[0],r=g[1]),(0,z.useEffect)(t,r),g[2]!==S?(n=(0,eh.j)(S),g[2]=S,g[3]=n):n=g[3];let j=n;g[4]!==x?(a=x?(e=>{let{color:t,gradient:r,opacity:n}=e;if(!(n<=0))return{backgroundImage:"linear-gradient(".concat(em[r],", ").concat(ef[t],", transparent)"),opacity:n/100}})(x):void 0,g[4]=x,g[5]=a):a=g[5];let M=a,H=k("md")?b.mobile:b.desktop,F=N&&C;g[6]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=I.current;if(e){if(e.paused){e.play(),_(!0);return}e.pause(),_(!1)}},g[6]=i):i=g[6];let q=i;if(g[7]!==w?(o=L()("absolute inset-0 overflow-hidden",w),g[7]=w,g[8]=o):o=g[8],g[9]===Symbol.for("react.memo_cache_sentinel")?(l=()=>A(!0),c=()=>_(!0),u=()=>_(!1),s=()=>_(!1),g[9]=s,g[10]=l,g[11]=c,g[12]=u):(s=g[9],l=g[10],c=g[11],u=g[12]),g[13]!==R||g[14]!==b.posterImage){let e;d=!R&&(0,v.jsx)(O.wF7,{srcSet:(e=b.posterImage,(0,W.gJ)({mobile:{filename:e.mobile},desktop:{filename:e.desktop},desktopLarge:{filename:e.desktopLarge}})),alt:""}),g[13]=R,g[14]=b.posterImage,g[15]=d}else d=g[15];return g[16]!==T||g[17]!==E||g[18]!==H||g[19]!==d?(h=(0,v.jsx)(ep,{videoRef:I,src:H,autoPlay:T,loop:E,controls:!1,muted:!0,className:"absolute inset-0 h-full w-full object-cover [&_.next-video-bg-text]:p-0",onPlaying:l,onPlay:c,onPause:u,onEnded:s,children:d}),g[16]=T,g[17]=E,g[18]=H,g[19]=d,g[20]=h):h=g[20],g[21]!==j||g[22]!==P||g[23]!==F?(p=F&&(0,v.jsxs)("button",{type:"button",onClick:q,className:"absolute right-4 top-4 roun
1ded-full text-ds-white","data-testid":"hero-header-video-play-pause",children:[P?(0,v.jsx)(O.CSW,{size:"xl"}):(0,v.jsx)(O.DWr,{size:"xl"}),(0,v.jsx)("span",{className:"sr-only",children:P?j.pauseVideo:j.playVideo})]}),g[21]=j,g[22]=P,g[23]=F,g[24]=p):p=g[24],g[25]!==M?(f=M&&(0,v.jsx)("div",{className:"pointer-events-none absolute inset-0",style:M,"data-testid":"hero-header-video-overlay"}),g[25]=M,g[26]=f):f=g[26],g[27]!==h||g[28]!==p||g[29]!==f||g[30]!==o?(m=(0,v.jsxs)("div",{className:o,style:eg,suppressHydrationWarning:!0,children:[h,p,f]}),g[27]=h,g[28]=p,g[29]=f,g[30]=o,g[31]=m):m=g[31],m},ey=e=>{let t,r,n,a,i,o,s,l=(0,y.c)(25),{video:c,overlay:u,autoplay:d,loop:h,showVideoControls:p,overlayMode:f,overlayText:m,overlayImage:g,callToAction:b,countdown:x,analyticsEnabled:T}=e;return c.mobile||c.desktop?(l[0]!==d||l[1]!==h||l[2]!==u||l[3]!==p||l[4]!==c?(t=(0,v.jsx)(ev,{video:c,overlay:u,autoplay:d,loop:h,showControls:p}),l[0]=d,l[1]=h,l[2]=u,l[3]=p,l[4]=c,l[5]=t):t=l[5],l[6]!==g||l[7]!==f?(r="image"===f&&g&&(0,v.jsx)("img",{src:g.src,alt:g.alt,className:"max-h-[50%] w-auto max-w-full object-contain md:max-w-[45rem]"}),l[6]=g,l[7]=f,l[8]=r):r=l[8],l[9]!==f||l[10]!==m?(n="text"===f&&m&&(0,v.jsx)(Z,{content:m,alignment:"center",textColorClassName:"text-ds-generic-text-color-inverted"}),l[9]=f,l[10]=m,l[11]=n):n=l[11],l[12]!==T||l[13]!==b?(a=b&&(0,v.jsx)(ee,{callToAction:b,analyticsEnabled:T}),l[12]=T,l[13]=b,l[14]=a):a=l[14],l[15]!==x?(i=x&&(0,v.jsx)(J,{countdown:x,inverted:!0,className:"pointer-events-auto"}),l[15]=x,l[16]=i):i=l[16],l[17]!==r||l[18]!==n||l[19]!==a||l[20]!==i?(o=(0,v.jsxs)("div",{className:"pointer-events-none absolute inset-0 flex flex-col items-center justify-end gap-3 px-4 pb-4 pt-8",children:[r,n,a,i]}),l[17]=r,l[18]=n,l[19]=a,l[20]=i,l[21]=o):o=l[21],l[22]!==t||l[23]!==o?(s=(0,v.jsxs)("div",{className:"relative h-[480px] w-full overflow-hidden sm:h-[600px]",children:[t,o]}),l[22]=t,l[23]=o,l[24]=s):s=l[24],s):null},eb=e=>{let t,r,n,a,i,o,s=(0,y.c)(12);s[0]!==e?({variant:n,imageVariant:t,videoVariant:a,...r}=e,s[0]=e,s[1]=t,s[2]=r,s[3]=n,s[4]=a):(t=s[1],r=s[2],n=s[3],a=s[4]),s[5]!==t||s[6]!==n||s[7]!==a?(i=(e=>{let{variant:t,imageVariant:r,videoVariant:n}=e;return t===b.zu.Video&&n?(0,v.jsx)(ey,{...n}):t===b.zu.Image&&r?(0,v.jsx)(eu,{...r}):void 0})({variant:n,imageVariant:t,videoVariant:a}),s[5]=t,s[6]=n,s[7]=a,s[8]=i):i=s[8];let l=i;return l?(s[9]!==r||s[10]!==l?(o=(0,v.jsx)("section",{className:"col-span-5",...r,children:l}),s[9]=r,s[10]=l,s[11]=o):o=s[11],o):null};function ex(e){var t,r,n,a,i,o;return{mobile:null!=(t=e.mobile.filename)?t:"",desktop:null!=(r=(null!=(n=e.desktop)?n:e.mobile).filename)?r:"",desktopLarge:null!=(a=(null!=(i=null!=(o=e.desktopLarge)?o:e.desktop)?i:e.mobile).filename)?a:""}}let eT=["light","dark"],eE=["gradient-left","gradient-bottom"],eC=e=>({id:e._uid,heading:e.heading,headingSize:e.headingSize||void 0,highlightWords:e.highlightWords,supporting:e.supporting}),ew=e=>{let t=(0,U.M)(null==e?void 0:e[0]);if((null==t?void 0:t.label)&&t.href)return{label:t.label,href:t.href}},ek=e=>{var t;let r=null==e?void 0:e[0];if(null==r?void 0:r.countdownDate)return{date:r.countdownDate,text:null!=(t=r.countdownText)?t:"",description:r.description}},eS=e=>{var t;if(null==e?void 0:e.filename)return{src:e.filename,alt:null!=(t=e.alt)?t:""}},eI={mobile:960,desktop:600,desktopLarge:600},eP=e=>{var t,r,n,a,i,o,s,l,c,u,d,h,p;let f,m,g,b,x=(0,y.c)(14),{blok:T,analyticsEnabled:E}=e,C=null==(t=T.heroHeaderImageVariant)?void 0:t[0],w=null==(r=T.heroHeaderVideoVariant)?void 0:r[0],k=(0,V.n)(null==C||null==(n=C.image)?void 0:n[0]);if((x[0]!==T?(f=(0,B.d)(T),x[0]=T,x[1]=f):f=x[1],x[2]!==E||x[3]!==k||x[4]!==C)?(m=C?(a=!!E,{backgroundType:C.backgroundType,backgroundImage:((e,t)=>{var r;let n=null==(r=e.image)?void 0:r[0];if("image"===e.backgroundType&&n)return{srcSet:(0,W.gJ)(n,eI),alt:t}})(C,k),keyVisual:eS(C.keyVisual),content:null==(i=C.content)?void 0:i.map(eC),callToAction:ew(C.cta),countdown:ek(C.countdownTimer),textAlignment:C.textAlignment||void 0,imageTextOrder:C.imageTextOrder||void 0,analyticsEnabled:a}):void 0,x[2]=E,x[3]=k,x[4]=C,x[5]=m):m=x[5],x[6]!==E||x[7]!==w){let e,t,r;g=w?(o=!!E,e=null==(s=w.overlayText)?void 0:s[0],{video:(r=null==(t=null==(l=w.video)?void 0:l[0])||null==(d=t.fallbackImage)?void 0:d[0],{mobile:null!=(c=null==t||null==(h=t.mobile)?void 0:h.cached_url)?c:"",desktop:null!=(u=null==t||null==(p=t.desktop)?void 0:p.cached_url)?u:"",posterImage:r?ex(r):{mobile:"",desktop:"",desktopLarge:""}}),overlay:(e=>{var t,r,n;let a=null!=(t=e.overlay)?t:[],i=eT.filter(e=>a.includes(e)),o=eE.filter(e=>a.includes(e));if(!a.includes("none")&&1===i.length&&1===o.length)return{color:i[0],gradient:o[0],opacity:null!=(r=null==(n=e.overlayOpacity)?void 0:n.value)?r:0}})(w),autoplay:w.autoplay,loop:w.loop,showVideoControls:w.showVideoControls,overlayMode:w.videoOverlayMode||void 0,overlayText:e?eC(e):void 0,overlayImage:eS(w.overlayImage),callToAction:ew(w.cta),countdown:ek(w.countdownTimer),analyticsEnabled:o}):void 0,x[6]=E,x[7]=w,x[8]=g}else g=x[8];return x[9]!==T.variant||x[10]!==f||x[11]!==m||x[12]!==g?(b=(0,v.jsx)(eb,{...f,variant:T.variant,imageVariant:m,videoVariant:g}),x[9]=T.variant,x[10]=f,x[11]=m,x[12]=g,x[13]=b):b=x[13],b};var e_=r(27872);let eR=e=>{let t,r,n,a,i,o,s=(0,y.c)(12);return s[0]!==e?({images:t,logo:r,...n}=e,s[0]=e,s[1]=t,s[2]=r,s[3]=n):(t=s[1],r=s[2],n=s[3]),s[4]!==t?(a=t.map(eA),s[4]=t,s[5]=a):a=s[5],s[6]!==r?(i=r&&(null==r?void 0:r.url)&&(0,v.jsx)(e_.A,{narrow:!0,className:"absolute inset-0 top-10 z-10 h-24 w-full",children:(0,v.jsx)("img",{"data-testid":"HeroMediaContainerSection-logo",src:r.url,className:"ml-auto size-16 md:size-[104px]",alt:null==r?void 0:r.alt})}),s[6]=r,s[7]=i):i=s[7],s[8]!==n||s[9]!==a||s[10]!==i?(o=(0,v.jsxs)("section",{...n,className:"relative w-full",children:[a,i]}),s[8]=n,s[9]=a,s[10]=i,s[11]=o):o=s[11],o};function eA(e){var t;return(0,v.jsx)(z.Fragment,{children:(0,v.jsx)(O.lqD,{textContent:null!=(t=e.title)?t:"",contentAlign:"bottom",backgroundImage:{srcSet:e.responsiveImage,alt:e.alt,fetchPriority:"high"},height:"short"})},e._uid)}let eN=(0,r(13593).O)({vl:{customTextColorClass:"text-ds-generic-text-color-brand"}}),eD=e=>{var t;let r,n,a,i,o,s,l,c,u,d,h,p=(0,y.c)(32),{src:f,poster:m,isPlaying:g,onTogglePlayPause:b,className:x,videoRef:T,fullBleed:E,overlay:C,hasGradient:w,gradientOpacity:k}=e,S=void 0===x?"":x,[I,P]=(0,z.useState)(!1),_=C/100,R=w&&(null!=(t=eO[void 0===k?"100":k])?t:eO["100"]);p[0]!==R?(r=L()("to-transparant pointer-events-none absolute bottom-0 left-0 right-0 h-40 bg-gradient-to-t",R),p[0]=R,p[1]=r):r=p[1];let A=r;p[2]!==S?(n=L()("absolute inset-0 h-full w-full cursor-pointer overflow-hidden",S),p[2]=S,p[3]=n):n=p[3],p[4]!==E?(a=L()("absolute inset-0 h-full w-full object-cover [&_.next-video-bg-text]:p-0",{"!aspect-[21_/_9] [&_.next-video-bg-poster]:h-full [&_.next-video-bg-poster]:w-full [&_.next-video-bg]:overflow-hidden":E}),p[4]=E,p[5]=a):a=p[5],p[6]===Symbol.for("react.memo_cache_sentinel")?(i=()=>P(!0),p[6]=i):i=p[6],p[7]!==I||p[8]!==m?(o=!I&&(0,v.jsx)(O.wF7,{srcSet:m,alt:""}),p[7]=I,p[8]=m,p[9]=o):o=p[9],p[10]!==f||p[11]!==a||p[12]!==o||p[13]!==T?(s=(0,v.jsx)(ep,{videoRef:T,controls:!1,muted:!0,loop:!0,autoPlay:!0,className:a,src:f,onPlaying:i,children:o}
1),p[10]=f,p[11]=a,p[12]=o,p[13]=T,p[14]=s):s=p[14],p[15]!==_?(l=(0,v.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[var(--generic-fill-colors-fill-dark)]",style:{opacity:_},"data-testid":"video-overlay"}),p[15]=_,p[16]=l):l=p[16],p[17]!==A||p[18]!==w?(c=w&&(0,v.jsx)("div",{className:A}),p[17]=A,p[18]=w,p[19]=c):c=p[19];let N=g?"Pause Video":"Play Video";return p[20]!==g?(u=g?(0,v.jsx)(O.CSW,{size:"xl",className:"text-white"}):(0,v.jsx)(O.DWr,{size:"xl",className:"text-white"}),p[20]=g,p[21]=u):u=p[21],p[22]!==N||p[23]!==u?(d=(0,v.jsx)("div",{className:"absolute right-4 top-4",children:(0,v.jsx)("button",{"aria-label":N,"data-testid":"video-toggle-button",children:u})}),p[22]=N,p[23]=u,p[24]=d):d=p[24],p[25]!==b||p[26]!==l||p[27]!==c||p[28]!==d||p[29]!==n||p[30]!==s?(h=(0,v.jsxs)("div",{onClick:b,className:n,children:[s,l,c,d]}),p[25]=b,p[26]=l,p[27]=c,p[28]=d,p[29]=n,p[30]=s,p[31]=h):h=p[31],h},eO={50:"from-black/50",75:"from-black/75",100:"from-black/100"},ej={"--media-object-fit":"cover"},eL=e=>{let t,r,n,a=(0,y.c)(16),{fullBleed:i,mobileUrl:o,desktopUrl:s,posterImage:l,overlay:c,hasGradient:u,gradientOpacity:d}=e,h=void 0===c?0:c,{isSmaller:p}=(0,ed._X)(),[f,m]=(0,z.useState)(!0),g=(0,z.useRef)(null);a[0]!==f?(t=()=>{var e,t;f?null==(e=g.current)||e.pause():null==(t=g.current)||t.play(),m(!f)},a[0]=f,a[1]=t):t=a[1];let b=t;a[2]!==s||a[3]!==i||a[4]!==p||a[5]!==o||a[6]!==l?(r=function(e,t){let{mobileUrl:r,desktopUrl:n,posterImage:a,fullBleed:i}=e,o=(0,W.gJ)({mobile:{filename:a.mobile},desktop:{filename:a.desktop},desktopLarge:{filename:a.desktopLarge}});return t(i?"sm":"md")?{src:r,poster:o}:(t("xl"),{src:n,poster:o})}({mobileUrl:o,desktopUrl:s,posterImage:l,fullBleed:i},p),a[2]=s,a[3]=i,a[4]=p,a[5]=o,a[6]=l,a[7]=r):r=a[7];let x=r;return a[8]!==i||a[9]!==d||a[10]!==u||a[11]!==f||a[12]!==h||a[13]!==b||a[14]!==x?(n=(0,v.jsx)("div",{style:ej,suppressHydrationWarning:!0,children:(0,v.jsx)(eD,{...x,isPlaying:f,onTogglePlayPause:b,videoRef:g,fullBleed:i,overlay:h,hasGradient:u,gradientOpacity:d})}),a[8]=i,a[9]=d,a[10]=u,a[11]=f,a[12]=h,a[13]=b,a[14]=x,a[15]=n):n=a[15],n},eM=L()("pointer-events-auto z-10 mt-6 w-full max-w-[26.375rem] rounded-lg bg-fill-brand p-4","shadow-[0px_0px_16px_0px_rgba(0,0,0,0.18)]"),eH=e=>{let t,r,n,a,i,o,s,l,c,u,d=(0,y.c)(20),{label:h,ctaHref:p}=e,[f,m]=(0,z.useState)(""),[g,b]=(0,z.useState)("");d[0]!==p||d[1]!==f?(t=()=>{let e=f.trim();if(0===e.length){window.location.href=p;return}if(!(0,E.aw)(e,"en-GB"))return void b(e.length<5?"Please enter your full postcode":"This is not a valid postcode");b("");let t=new URL(p,window.location.origin);t.searchParams.set("postcode",e),t.searchParams.set("skipPostcode","1"),window.location.href=t.toString()},d[0]=p,d[1]=f,d[2]=t):t=d[2];let x=t;return d[3]===Symbol.for("react.memo_cache_sentinel")?(r=e=>{m(e.target.value),b("")},d[3]=r):r=d[3],d[4]!==f?(n=(0,v.jsx)(O.ksK,{id:"hero-postcode-entry",type:"text",autoComplete:"off",placeholder:"Your playing postcode",value:f,onChange:r}),d[4]=f,d[5]=n):n=d[5],d[6]===Symbol.for("react.memo_cache_sentinel")?(a=(0,v.jsx)(O.l1Y,{htmlFor:"hero-postcode-entry",className:"text-ds-white",children:(0,v.jsx)(O.I$x,{children:"Enter your postcode for a chance to win"})}),d[6]=a):a=d[6],d[7]!==g?(i=g?[{description:g,status:"invalid"}]:void 0,d[7]=g,d[8]=i):i=d[8],d[9]===Symbol.for("react.memo_cache_sentinel")?(o={"--generic-text-color-text-color-negative-text":"var(--ds-white)","--generic-fill-colors-icon-color-negative":"var(--ds-white)"},d[9]=o):o=d[9],d[10]!==n||d[11]!==i?(s=(0,v.jsx)(O.FON,{input:n,label:a,validationMessages:i,className:"mb-3",style:o}),d[10]=n,d[11]=i,d[12]=s):s=d[12],d[13]===Symbol.for("react.memo_cache_sentinel")?(l={label:"sales-flow-navigate",variant:"hero-banner-cta"},d[13]=l):l=d[13],d[14]!==x||d[15]!==h?(c=(0,v.jsx)(O.$nd,{className:"md:w-full",onClick:x,analytics:l,children:h}),d[14]=x,d[15]=h,d[16]=c):c=d[16],d[17]!==s||d[18]!==c?(u=(0,v.jsxs)("div",{className:eM,children:[s,c]}),d[17]=s,d[18]=c,d[19]=u):u=d[19],u},eF=L()("w-full max-w-[27.5rem]","ds-heading-2 text-center text-ds-white [text-shadow:_0px_2px_4px_rgba(0,0,0,0.6)]"),eq=L()("pointer-events-auto z-10 max-w-[22.5rem] md:w-full"),eB=e=>{var t,r;let n,a,i,o,s,l,c,u,d,h,p=(0,y.c)(38),{mobileUrl:f,desktopUrl:m,fullBleed:g,title:b,callToAction:x,analytics:T,posterImage:E,foregroundImage:C,className:w,overlay:k,hasGradient:S,gradientOpacity:I}=e,P=void 0===w?"":w,_=void 0===k?0:k,{lottery:R}=(0,G.p)(),A="ppl"===R,N=null==x||null==(t=x.link)?void 0:t.href;p[0]!==P?(n=L()("relative",P),p[0]=P,p[1]=n):n=p[1],p[2]!==m||p[3]!==g||p[4]!==I||p[5]!==S||p[6]!==f||p[7]!==_||p[8]!==E?(a=(0,v.jsx)(eL,{overlay:_,fullBleed:g,mobileUrl:f,desktopUrl:m,posterImage:E,hasGradient:S,gradientOpacity:I}),p[2]=m,p[3]=g,p[4]=I,p[5]=S,p[6]=f,p[7]=_,p[8]=E,p[9]=a):a=p[9];let D=!g;return p[10]!==g||p[11]!==D?(i=L()("pointer-events-none relative z-10 flex flex-col items-center justify-center gap-2 px-4 py-5 sm:p-6",{"min-h-[min(125vw,65vh)] w-full sm:h-[clamp(274px,42vw,600px)] sm:min-h-fit":g,"h-[480px] min-h-fit":D}),p[10]=g,p[11]=D,p[12]=i):i=p[12],p[13]!==C?(o=C&&(0,v.jsx)("img",{src:C.src,alt:C.alt||"",className:"max-h-56 sm:h-1/2"}),p[13]=C,p[14]=o):o=p[14],p[15]!==b?(s=b&&(0,v.jsx)("p",{className:eF,children:b}),p[15]=b,p[16]=s):s=p[16],p[17]!==o||p[18]!==s?(l=(0,v.jsxs)("div",{className:"flex grow flex-col items-center justify-end",children:[o,s]}),p[17]=o,p[18]=s,p[19]=l):l=p[19],p[20]!==x||p[21]!==N||p[22]!==A?(c=A&&x&&N&&(0,v.jsx)(eH,{label:
1x.label,ctaHref:N}),p[20]=x,p[21]=N,p[22]=A,p[23]=c):c=p[23],p[24]!==T||p[25]!==x||p[26]!==N||p[27]!==A?(u=!A&&x&&N&&(0,v.jsx)(O.$nd,{className:eq,href:N,target:null==(r=x.link)?void 0:r.target,analytics:T,children:x.label}),p[24]=T,p[25]=x,p[26]=N,p[27]=A,p[28]=u):u=p[28],p[29]!==c||p[30]!==u||p[31]!==i||p[32]!==l?(d=(0,v.jsxs)("div",{className:i,children:[l,c,u]}),p[29]=c,p[30]=u,p[31]=i,p[32]=l,p[33]=d):d=p[33],p[34]!==d||p[35]!==n||p[36]!==a?(h=(0,v.jsxs)("div",{className:n,children:[a,d]}),p[34]=d,p[35]=n,p[36]=a,p[37]=h):h=p[37],h},eU=A()(()=>Promise.all([r.e(8968),r.e(8082)]).then(r.bind(r,28082)).then(e=>e.Carousel),{loadableGenerated:{webpack:()=>[28082]}}),eW=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"sticky-visibility";return L()(t,{"mx-auto max-w-[1248px]":e})},eV={sm:{slidesPerView:1,slidesOffsetAfter:0,slidesOffsetBefore:0},md:{slidesPerView:1,slidesOffsetAfter:0,slidesOffsetBefore:0},lg:{slidesPerView:1,slidesOffsetAfter:0,slidesOffsetBefore:0}},eG=e=>{if(e)return e.slice(0,2).map((e,t)=>{var r,n,a,i,o,s,l,c;return(0,v.jsx)(O.QEv,{description:null!=(r=e.text)?r:"",image:{alt:null!=(n=null==(s=e.image)?void 0:s.alt)?n:"",srcSet:{default:null!=(a=null==(l=e.image)?void 0:l.src)?a:""}},label:e.label?(0,v.jsx)("div",{className:"hidden md:block",children:(0,v.jsx)(O.JU7,{color:"green",label:e.label})}):void 0,link:{href:null!=(i=null==(c=e.link)?void 0:c.href)?i:""},title:null!=(o=e.title)?o:""},t)})},ez=(e,t)=>{let r=e?t:null;return L()({"[&_.bg-gradient-to-t]:from-transparent":!e,"[&_.bg-gradient-to-t]:from-black/50":"50"===r,"[&_.bg-gradient-to-t]:from-black/75":"75"===r,"[&_.bg-gradient-to-t]:from-black/100":"100"===r})},eY=e=>{var t,r,n;let a,i,o,s,l=(0,y.c)(57),{slide:c,height:u,promoCards:d,callToAction:h,analytics:p,hasGradient:f,gradientOpacity:m}=e,g="video"===c.type;if("video"===c.type){let e,n,a,i,o,s,y;if(c.customPlayer){let e,r,n,a=c._uid,i=c.mobile,o=c.fullBleed,s=c.desktop,u=c.posterImage,d=c.title;l[0]!==c.foregroundImage?(e=(null==(t=c.foregroundImage)?void 0:t.src)?{alt:c.foregroundImage.alt,src:c.foregroundImage.src}:void 0,l[0]=c.foregroundImage,l[1]=e):e=l[1];let g=c.overlay,y=!c.fullBleed;return l[2]!==y?(r=L()("sticky-visibility",{"mx-auto min-h-[30rem] max-w-[1248px]":y}),l[2]=y,l[3]=r):r=l[3],l[4]!==p||l[5]!==h||l[6]!==m||l[7]!==f||l[8]!==c._uid||l[9]!==c.desktop||l[10]!==c.fullBleed||l[11]!==c.mobile||l[12]!==c.overlay||l[13]!==c.posterImage||l[14]!==c.title||l[15]!==r||l[16]!==e?(n=(0,v.jsx)(eB,{mobileUrl:i,fullBleed:o,hasGradient:f,gradientOpacity:m,desktopUrl:s,posterImage:u,callToAction:h,analytics:p,title:d,foregroundImage:e,overlay:g,className:r},a),l[4]=p,l[5]=h,l[6]=m,l[7]=f,l[8]=c._uid,l[9]=c.desktop,l[10]=c.fullBleed,l[11]=c.mobile,l[12]=c.overlay,l[13]=c.posterImage,l[14]=c.title,l[15]=r,l[16]=e,l[17]=n):n=l[17],n}let b=c._uid;return l[18]!==g?(e=eW(g),l[18]=g,l[19]=e):e=l[19],l[20]===Symbol.for("react.memo_cache_sentinel")?(n={srcSet:{default:""}},l[20]=n):n=l[20],l[21]!==c.foregroundImage?(a=(null==(r=c.foregroundImage)?void 0:r.src)?{alt:c.foregroundImage.alt,src:c.foregroundImage.src}:void 0,l[21]=c.foregroundImage,l[22]=a):a=l[22],l[23]===Symbol.for("react.memo_cache_sentinel")?(i={muteAudio:"mute",pauseVideo:"pause",playVideo:"play",unMuteAudio:"unmute"},l[23]=i):i=l[23],l[24]!==c.desktop?(o={md:{url:c.desktop,aspectRatio:"16:9"}},l[24]=c.desktop,l[25]=o):o=l[25],l[26]!==c.mobile||l[27]!==c.posterImage.desktop||l[28]!==o?(s={aspectRatio:"4:5",accessibleText:i,posterImage:c.posterImage.desktop,disableAudio:!0,url:c.mobile,srcSet:o},l[26]=c.mobile,l[27]=c.posterImage.desktop,l[28]=o,l[29]=s):s=l[29],l[30]!==p||l[31]!==h||l[32]!==u||l[33]!==d||l[34]!==c._uid||l[35]!==c.title||l[36]!==e||l[37]!==a||l[38]!==s?(y=(0,v.jsx)(O.lqD,{className:e,backgroundImage:n,height:u,callToAction:h,analytics:p,foregroundImage:a,video:s,textContent:c.title,contentAlign:"bottom",promoCards:d},b),l[30]=p,l[31]=h,l[32]=u,l[33]=d,l[34]=c._uid,l[35]=c.title,l[36]=e,l[37
1]=a,l[38]=s,l[39]=y):y=l[39],y}let b=c._uid;l[40]!==c.srcSet?(a={srcSet:c.srcSet},l[40]=c.srcSet,l[41]=a):a=l[41],l[42]!==c.foregroundImage?(i=(null==(n=c.foregroundImage)?void 0:n.src)?{alt:c.foregroundImage.alt,src:c.foregroundImage.src}:void 0,l[42]=c.foregroundImage,l[43]=i):i=l[43];let x=c.title;return l[44]!==m||l[45]!==f?(o=ez(f,m),l[44]=m,l[45]=f,l[46]=o):o=l[46],l[47]!==p||l[48]!==h||l[49]!==u||l[50]!==d||l[51]!==c._uid||l[52]!==c.title||l[53]!==a||l[54]!==i||l[55]!==o?(s=(0,v.jsx)(O.lqD,{backgroundImage:a,height:u,callToAction:h,analytics:p,foregroundImage:i,textContent:x,promoCards:d,className:o},b),l[47]=p,l[48]=h,l[49]=u,l[50]=d,l[51]=c._uid,l[52]=c.title,l[53]=a,l[54]=i,l[55]=o,l[56]=s):s=l[56],s},e$=e=>{let t,r,n,a,i=(0,y.c)(22),{slides:o,height:s,campaignCards:l,callToAction:c,analytics:u,countDown:d,hasGradient:h,gradientOpacity:p}=e;i[0]!==l?(t=eG(l),i[0]=l,i[1]=t):t=i[1];let f=t;if(i[2]!==d?(r={beforeBullets:d},i[2]=d,i[3]=r):r=i[3],i[4]!==u||i[5]!==c||i[6]!==p||i[7]!==h||i[8]!==s||i[9]!==f||i[10]!==o){let e;i[12]!==u||i[13]!==c||i[14]!==p||i[15]!==h||i[16]!==s||i[17]!==f?(e=e=>(0,v.jsx)(eY,{slide:e,height:s,promoCards:f,callToAction:c,analytics:u,hasGradient:h,gradientOpacity:p},e._uid),i[12]=u,i[13]=c,i[14]=p,i[15]=h,i[16]=s,i[17]=f,i[18]=e):e=i[18],n=o.map(e),i[4]=u,i[5]=c,i[6]=p,i[7]=h,i[8]=s,i[9]=f,i[10]=o,i[11]=n}else n=i[11];return i[19]!==r||i[20]!==n?(a=(0,v.jsx)(eU,{autoHeight:!0,navigation:!0,includeMargin:!0,breakpoints:eV,slidesPerViewDesktop:1,slidesPerViewMobile:1,spaceBetween:0,slidesOffsetAfter:0,slidesOffsetBefore:0,fixedSlidesPerView:1,pagination:r,className:"sticky-visibility",children:n}),i[19]=r,i[20]=n,i[21]=a):a=i[21],a},eQ=e=>{let t,r,n,a,i,o,s,l,c,u,d,h,p,f,m,g,x,E,C,w,k,S,I,P,_,R,A,N,D=(0,y.c)(68);D[0]!==e?({backgroundImage:r,buttonText:i,buttonLink:a,title:C,subText:g,slides:m,pageName:h,height:u,foregroundImage:s,backgroundVideo:n,campaignCards:x,salesFlowLink:f,countDown:o,overlay:d,hasGradient:c,gradientOpacity:l,analyticsEnabled:t,isTextBrandColor:E,...p}=e,D[0]=e,D[1]=t,D[2]=r,D[3]=n,D[4]=a,D[5]=i,D[6]=o,D[7]=s,D[8]=l,D[9]=c,D[10]=u,D[11]=d,D[12]=h,D[13]=p,D[14]=f,D[15]=m,D[16]=g,D[17]=x,D[18]=E,D[19]=C):(t=D[1],r=D[2],n=D[3],a=D[4],i=D[5],o=D[6],s=D[7],l=D[8],c=D[9],u=D[10],d=D[11],h=D[12],p=D[13],f=D[14],m=D[15],g=D[16],x=D[17],E=D[18],C=D[19]),D[20]!==x?(w=void 0===x?[]:x,D[20]=x,D[21]=w):w=D[21];let j=w,M=void 0!==E&&E,{lottery:H}=(0,G.p)();if(D[22]!==t||D[23]!==r||D[24]!==n||D[25]!==a||D[26]!==i||D[27]!==j||D[28]!==o||D[29]!==s||D[30]!==l||D[31]!==c||D[32]!==u||D[33]!==M||D[34]!==H||D[35]!==d||D[36]!==h||D[37]!==p||D[38]!==f||D[39]!==m||D[40]!==g||D[41]!==C){R=Symbol.for("react.early_return_sentinel");e:{var F,q;let e,y,x,E,w,{customTextColorClass:A}=eN(H),N=M&&!!A,B=N?A:"text-ds-generic-text-color-inverted",U=(null==n?void 0:n.mobile)||(null==m?void 0:m.some(eK));S=!!(null==m?void 0:m.length);let W=null!=u?u:h===b.L3.HubPage?"short":"tall",V=null!=(F=null==m?void 0:m.some(eZ))&&F;D[48]!==m?(e=null==m||null==(q=m.find(eX))?void 0:q.gradientOpacity,D[48]=m,D[49]=e):e=D[49];let G=e,z=a||f;D[50]!==z?(y=(0,T.b)(z),D[50]=z,D[51]=y):y=D[51];let Y=y;if(!(U||r||(null==m?void 0:m.length))){R=null;break e}D[52]!==i||D[53]!==Y?(x=i?{link:{href:Y},label:i}:void 0,D[52]=i,D[53]=Y,D[54]=x):x=D[54];let $=x;D[55]!==n?(E=(null==n?void 0:n.desktop)?{video:{aspectRatio:"4:5",accessibleText:{muteAudio:"mute",pauseVideo:"pause",playVideo:"play",unMuteAudio:"unmute"},posterImage:n.posterImage.desktop,disableAudio:!0,url:n.mobile,srcSet:n.fullBleed?{sm:{url:n.desktop,aspectRatio:"21:9"}}:{md:{url:n.desktop,aspectRatio:"16:9"}}}}:void 0,D[55]=n,D[56]=E):E=D[56];let Q=E,K=(c||V)&&("100"===G||"100"===l);k=o&&(0,v.jsx)(X.Q,{...o,className:L()({"pt-4":!S||!V||!c,"text-ds-white":K}),textClassName:"px-4 text-center md:px-0 [&_a]:!text-ds-white"}),D[57]!==j?(w=eG(j),D[57]=j,D[58]=w):w=D[58];let Z=w;I=p,P=L()("col-span-5",{"bg-ds-black":K,relative:S,"pb-2":S&&o,"pb-4":S&&!o}),_=(()=>{if(S)return(0,v.jsx)(e$,{slides:m,height:W,campaignCards:j,callToAction:$,analytics:t?{label:"hero-carousel-cta"}:void 0,countDown:k&&(0,v.jsx)("div",{className:"-mt-2 pb-6",children:k}),hasGradient:V,gradientOpacity:G});if(null==n?void 0:n.customPlayer){var e,a;return(0,v.jsx)(eB,{mobileUrl:null!=(e=n.mobile)?e:"",desktopUrl:null!=(a=n.desktop)?a:"",posterImage:n.posterImage,callToAction:$,analytics:t?{label:"hero-video-cta"}:void 0,title:C,fullBleed:n.fullBleed,foregroundImage:(null==s?void 0:s.src)?{alt:s.alt,src:s.src}:void 0,className:L()("sticky-visibility",{"mx-auto max-w-[1248px]":!n.fullBleed}),overlay:d,hasGradient:null!=c&&c,gradientOpacity:l})}return(0,v.jsx)(O.lqD,{className:L()("sticky-visibility",ez(c,l),{"mx-auto max-w-[1248px]":U}),backgroundImage:{srcSet:(null==r?void 0:r.srcSet)||{default:""},alt:null==r?void 0:r.alt,fetchPriority:"high"},height:W,callToAction:$,analytics:t?{label:"hero-cta"}:void 0,foregroundImage:(null==s?void 0:s.src)?{alt:s.alt,src:s.src}:void 0,...Q,textContent:C||g?(0,v.jsxs)("div",{className:L()("flex w-full max-w-[27.5rem] flex-col gap-[var(--spacing-levels-group-level---xs)] text-center",{"[text-shadow:_0px_2px_4px_rgba(0,0,0,0.6)]":!N}),children:[!!C&&(0,v.jsx)("h1",{className:L()("ds-heading-1",B),children:C}),!!g&&(0,v.jsx)("p",{className:L()("ds-introduction-text font-normal leading-[1.75rem]",B),children:g})]}):void 0,contentAlign:U?void 0:"bottom",promoCards:Z})})()}D[22]=t,D[23]=r,D[24]=n,D[25]=a,D[26]=i,D[27]=j,D[28]=o,D[29]=s,D[30]=l,D[31]=c,D[32]=u,D[33]=M,D[34]=H,D[35]=d,D[36]=h,D[37]=p,D[38]=f,D[39]=m,D[40]=g,D[41]=C,D[42]=k,D[43]=S,D[44]=I,D[45]=P,D[46]=_,D[47]=R}else k=D[42],S=D[43],I=D[44],P=D[45],_=D[46],R=D[47];return R!==Symbol.for("react.early_return_sentinel")?R:(D[59]!==o||D[60]!==k||D[61]!==S?(A=!S&&o&&(0,v.jsx)("div",{className:"pb-6",children:k}),D[59]=o,D[60]=k,D[61]=S,D[62]=A):A=D[62],D[63]!==I||D[64]!==P||D[65]!==_||D[66]!==A?(N=(0,v.jsxs)("section",{...I,className:P,children:[_,A]}),D[63]=I,D[64]=P,D[65]=_,D[66]=A,D[67]=N):N=D[67],N)};function eK(e){return"video"===e.type}function eZ(e){return e.hasGradient}function eX(e){return e.gradientOpacity}var eJ=r(88702);let e1=()=>{let{topNav:e}=(0,eJ.E)(),{salesFlowLink:t}=e;return t};function e0(e){var t,r,n,a,i,o,s,l,c;return{image:{src:null!=(t=null==(s=e.image)?void 0:s.filename)?t:"",alt:null!=(r=null==(l=e.image)?void 0:l.alt)?r:""},title:null!=(n=e.title)?n:"",text:null!=(a=e.text)?a:"",link:null!=(i=(0,U.M)(null==(c=e.link)?void 0:c[0]))?i:{label:"",href:""},label:null!=(o=e.label)?o:""}}var e2=r(40092),e3=r(18794);let e5=e=>{var t,r,n,a,i,o,s;let l,c,u,d,h,p,f=(0,y.c)(25),{blok:m,analyticsEnabled:g}=e,b=e1();f[0]!==m.campaignCards?(l=null!=(n=null==(a=m.campaignCards)?void 0:a.map(e0))?n:[],f[0]=m.campaignCards,f[1]=l):l=f[1];let x=l;f[2]!==m.countDownDate||f[3]!==m.countDownText||f[4]!==m.countDownTextInsideTimer||f[5]!==m.displayCountDown?(c=m.displayCountDown&&m.countDownDate?{date:m.countDownDate,text:null!=(i=m.countDownText)?i:"",countDownTextInsideTimer:null!=(o=m.countDownTextInsideTimer)?o:""}:void 0,f[2]=m.countDownDate,f[3]=m.countDownText,f[4]=m.countDownTextInsideTimer,f[5]=m.displayCountDown,f[6]=c):c=f[6];let T=c;if(!(null==(r=m.slides)?void 0:r.length))return null;f[7]!==m?(u=(0,B.d)(m),f[7]=m,f[8]=u):u=f[8];let E=m.buttonText;f[9]!==m.anchorId||f[10]!==m.buttonLink||f[11]!==m.withAnchorId?(d=null!=(s=(0,e2.D)(m.withAnchorId,m.anchorId))?s:(0,e3.n)(m.buttonLink),f[9]=m.anchorId,f[10]=m.buttonLink,f[11]=m.withAnchorId,f[12]=d):d=f[12],f[13]!==m.slides?(h=m.slides.map(e=>{var t,r,n,a,i,o,s,l,c,u,d,h,p;let f={_uid:e._uid,title:e.title,foregroundImage:e.foregroundImage&&{src:null!=(t=e.foregroundImage.filename)?t:"",alt:null!=(r=e.foregroundImage.alt)?r:""}};return(null==(a=e.background)||null==(n=a[0])?void 0:n.component)==="ResponsiveImage"?{...f,type:"image",srcSet:(0,W.gJ)(e.background[0],400*!e.fullHeight),hasGradient:!!e.hasGradient,gradientOpacity:e.gradientOpacity||"100"}:(null==(o=e.background)||null==(i=o[0])?void 0:i.component)==="ResponsiveVideo"?{...f,type:"video",mobile:null!=(s=null==(u=e.background[0].mobile)?void 0:u.cached_url)?s:"",desktop:null!=(l=null==(d=e.background[0].desktop)?void 0:d.cached_url)?l:"",posterImage:(null==(h=e.background[0].fallbackImage)?void 0:h[0])?ex(e.background[0].fallbackImage[0]):{mobile:"",desktop:"",desktopLarge:""},customPlayer:null!=(c=e.customPlayerForVideo)&&c,fullBleed:e.customPlayerForVideo&&e.fullBleed,overlay:null==(p=e.overlay)?void 0:p.value,hasGradient:!!e.hasGradient,gradientOpacity:e.gradientOpacity||"100"}:void 0}).filter(e=>!!e),f[13]=m.slides,f[14]=h):h=f[14];let C=m.height||void 0,w=null!=(t=b.link)?t:"",k=!!g;return f[15]!==m.buttonText||f[16]!==x||f[17]!==T||f[18]!==u||f[19]!==d||f[20]!==
1h||f[21]!==C||f[22]!==w||f[23]!==k?(p=(0,v.jsx)(eQ,{...u,buttonText:E,buttonLink:d,slides:h,height:C,campaignCards:x,salesFlowLink:w,countDown:T,analyticsEnabled:k}),f[15]=m.buttonText,f[16]=x,f[17]=T,f[18]=u,f[19]=d,f[20]=h,f[21]=C,f[22]=w,f[23]=k,f[24]=p):p=f[24],p};var e4=r(74632),e8=r(75043),e6=r(13119);let e9=e=>(null==e?void 0:e.component)==="ResponsiveImage",e7=["DplPostcodeSearchSection"],te=e=>{var t,r,n,a,i,o,s,l,c,u,d,h,p,f,m,g,x,T,E,C,w;let k,S,I,P,_,R,A,N,D,O,j,L=(0,y.c)(51),{blok:M,analyticsEnabled:H}=e,F=e1(),{content:q}=(0,e6.P)();L[0]!==M.campaignCards?(k=null!=(s=null==(l=M.campaignCards)?void 0:l.map(e0))?s:[],L[0]=M.campaignCards,L[1]=k):k=L[1];let U=k;L[2]!==M.customization?(S=(0,e8.w)(M.customization),L[2]=M.customization,L[3]=S):S=L[3];let{brandColor:G}=S,z=(0,V.n)(e9(M.background[0])?M.background[0]:void 0);L[4]!==M.countDownDate||L[5]!==M.countDownText||L[6]!==M.countDownTextInsideTimer||L[7]!==M.displayCountDown?(I=M.displayCountDown&&M.countDownDate?{date:M.countDownDate,text:null!=(c=M.countDownText)?c:"",countDownTextInsideTimer:null!=(u=M.countDownTextInsideTimer)?u:""}:void 0,L[4]=M.countDownDate,L[5]=M.countDownText,L[6]=M.countDownTextInsideTimer,L[7]=M.displayCountDown,L[8]=I):I=L[8];let Y=I;if(!(null==(n=M.background)?void 0:n.length))return null;if(j=M.background[0],e7.some(e=>(null==j?void 0:j.component)===e)){let e;return L[9]!==M.background[0]?(e=(0,v.jsx)(e4.d,{blok:M.background[0]}),L[9]=M.background[0],L[10]=e):e=L[10],e}L[11]!==M.background[0]||L[12]!==q.component?(P=((e,t)=>{if(!e9(e))return;let r=t===b.L3.HubPage?480:{mobile:960,desktop:600,desktopLarge:600};return(0,W.gJ)(e,r)})(M.background[0],q.component),L[11]=M.background[0],L[12]=q.component,L[13]=P):P=L[13];let $=P;L[14]!==M?(_=(0,B.d)(M),L[14]=M,L[15]=_):_=L[15],L[16]!==M.anchorId||L[17]!==M.buttonLink||L[18]!==M.withAnchorId?(R=null!=(d=(0,e2.D)(M.withAnchorId,M.anchorId))?d:(0,e3.n)(M.buttonLink),L[16]=M.anchorId,L[17]=M.buttonLink,L[18]=M.withAnchorId,L[19]=R):R=L[19],L[20]!==M.foregroundImage?(A=M.foregroundImage?{alt:null!=(h=M.foregroundImage.alt)?h:"",src:null!=(p=M.foregroundImage.filename)?p:""}:void 0,L[20]=M.foregroundImage,L[21]=A):A=L[21],L[22]!==z||L[23]!==$?(N=$?{srcSet:$,alt:z}:void 0,L[22]=z,L[23]=$,L[24]=N):N=L[24],L[25]!==M.background[0].component||L[26]!==(null==(a=M.background[0].desktop)?void 0:a.cached_url)||L[27]!==M.background[0].fallbackImage||L[28]!==(null==(i=M.background[0].mobile)?void 0:i.cached_url)||L[29]!==M.customPlayerForVideo||L[30]!==M.fullBleed?(D="ResponsiveVideo"===M.background[0].component?{mobile:null!=(f=null==(x=M.background[0].mobile)?void 0:x.cached_url)?f:"",desktop:null!=(m=null==(T=M.background[0].desktop)?void 0:T.cached_url)?m:"",posterImage:(null==(E=M.background[0].fallbackImage)?void 0:E[0])?ex(M.background[0].fallbackImage[0]):{mobile:"",desktop:"",desktopLarge:""},customPlayer:null!=(g=M.customPlayerForVideo)&&g,fullBleed:M.customPlayerForVideo&&M.fullBleed}:void 0,L[25]=M.background[0].component,L[26]=null==(C=M.background[0].desktop)?void 0:C.cached_url,L[27]=M.background[0].fallbackImage,L[28]=null==(w=M.background[0].mobile)?void 0:w.cached_url,L[29]=M.customPlayerForVideo,L[30]=M.fullBleed,L[31]=D):D=L[31];let Q=M.height||void 0,K=null!=(t=F.link)?t:"",Z=null!=(r=null==(o=M.overlay)?void 0:o.value)?r:0,X=M.gradientOpacity||"100",J=!!H,ee=!!G;return L[32]!==M.buttonText||L[33]!==M.hasGradient||L[34]!==M.subText||L[35]!==M.title||L[36]!==U||L[37]!==q.component||L[38]!==Y||L[39]!==Q||L[40]!==K||L[41]!==Z||L[42]!==X||L[43]!==J||L[44]!==ee||L[45]!==_||L[46]!==R||L[47]!==A||L[48]!==N||L[49]!==D?(O=(0,v.jsx)(eQ,{..._,title:M.title,subText:M.subText,buttonText:M.buttonText,buttonLink:R,foregroundImage:A,backgroundImage:N,backgroundVideo:D,height:Q,campaignCards:U,salesFlowLink:K,countDown:Y,pageName:q.component,overlay:Z,hasGradient:M.hasGradient,gradientOpacity:X,analyticsEnabled:J,isTextBrandColor:ee}),L[32]=M.buttonText,L[33]=M.hasGradient,L[34]=M.subText,L[35]=M.title,L[36]=U,L[37]=q.component,L[38]=Y,L[39]=Q,L[40]=K,L[41]=Z,L[42]=X,L[43]=J,L[44]=ee,L[45]=_,L[46]=R,L[47]=A,L[48]=N,L[49]=D,L[50]=O):O=L[50],O};var tt=r(71e3),tr=r(74746),tn=r(66819),ta=r(11492);let ti=e=>{var t,r,n;let a,i,o,s,l,c,u,d,h,p,f,m,g=(0,y.c)(40),{heroStory:b,darkMode:x,classnames:T}=e;g[0]!==b.contentHeaderType||g[1]!==b.logo||g[2]!==b.title?(a="logo"===b.contentHeaderType&&(0,v.jsx)("div",{className:L()("h-12 w-12 rounded-full bg-white p-4 md:h-16 md:w-16"),children:(0,v.jsx)("img",{src:b.logo,alt:"logo: ".concat(b.title)})}),g[0]=b.contentHeaderType,g[1]=b.logo,g[2]=b.title,g[3]=a):a=g[3],g[4]!==x||g[5]!==b.contentHeaderType||g[6]!==b.text?(i="text"===b.contentHeaderType&&b.text&&(0,v.jsx)(O.mMs,{className:L()({"text-white":x,"text-black":!x},"md:text-2xl lg:text-brand-xl lg:leading-ds-compact"),children:b.text}),g[4]=x,g[5]=b.contentHeaderType,g[6]=b.text,g[7]=i):i=g[7];let E=!x;g[8]!==x||g[9]!==E?(o=L()({"text-white":x,"text-black":E},"md:text-2xl lg:text-brand-4xl lg:leading-ds-compact"),g[8]=x,g[9]=E,g[10]=o):o=g[10
1],g[11]!==b.title||g[12]!==o?(s=(0,v.jsx)(O.fV8,{className:o,children:b.title}),g[11]=b.title,g[12]=o,g[13]=s):s=g[13];let C=!x;return g[14]!==x||g[15]!==C?(l=L()({"text-white":x,"text-black":C}),g[14]=x,g[15]=C,g[16]=l):l=g[16],g[17]!==b.description||g[18]!==l?(c=(0,v.jsx)("div",{className:"max-w-[362px] lg:w-[362px]",children:(0,v.jsx)(O.fzL,{className:l,children:b.description})}),g[17]=b.description,g[18]=l,g[19]=c):c=g[19],g[20]!==x||g[21]!==b.link?(u=(null==(t=b.link)?void 0:t.href)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(N.e,{className:L()({"text-white":x,"text-light-blue":!x},"text-md font-bold"),href:b.link.href,children:b.link.label}),(0,v.jsx)(O.vKP,{className:"m-1",size:"sm",color:x?"plh-white":"plh-black"})]}),g[20]=x,g[21]=b.link,g[22]=u):u=g[22],g[23]!==u?(d=(0,v.jsx)("div",{className:"flew-row mt-2 flex md:mt-0",children:u}),g[23]=u,g[24]=d):d=g[24],g[25]!==b.callToAction||g[26]!==b.ctaVariant?(h=(null==(r=b.callToAction)?void 0:r.href)&&b.ctaVariant&&(0,v.jsx)("div",{className:"mt-2 sm:w-full md:mt-0 md:w-full",children:(0,v.jsx)(tn.Y,{className:"md:w-full",href:b.callToAction.href,variant:(0,ta.Z)(b.ctaVariant),children:null==(n=b.callToAction)?void 0:n.label})}),g[25]=b.callToAction,g[26]=b.ctaVariant,g[27]=h):h=g[27],g[28]!==d||g[29]!==h||g[30]!==s||g[31]!==c?(p=(0,v.jsxs)("div",{className:"flex flex-col gap-1",children:[s,c,d,h]}),g[28]=d,g[29]=h,g[30]=s,g[31]=c,g[32]=p):p=g[32],g[33]!==a||g[34]!==p||g[35]!==i?(f=(0,v.jsxs)("div",{className:"flex flex-col gap-2 pl-4 pr-4 md:pl-1 lg:gap-3",children:[a,i,p]}),g[33]=a,g[34]=p,g[35]=i,g[36]=f):f=g[36],g[37]!==T||g[38]!==f?(m=(0,v.jsx)("div",{className:T,children:f}),g[37]=T,g[38]=f,g[39]=m):m=g[39],m},to=e=>{var t,r,n,a,i,o,s,l;let c,u,d,h,p,f,m,g,b,x=(0,y.c)(23),{height:T,selectedSlide:E,darkMode:C}=e,[w,k]=(0,z.useState)(!1),[S,I]=(0,z.useState)(E),P=(0,V.n)(S.image);x[0]!==S||x[1]!==E?(c=()=>{if(E!==S){k(!0);let e=setTimeout(()=>{I(E),k(!1)},500);return()=>clearTimeout(e)}},u=[E,S],x[0]=S,x[1]=E,x[2]=c,x[3]=u):(c=x[2],u=x[3]),(0,z.useEffect)(c,u);let _=void 0===C||C?"bg-black":"bg-white",R=w?"opacity-100":"opacity-0";x[4]!==_||x[5]!==R?(d=L()("pointer-events-none absolute inset-0 z-10 transition-opacity duration-500",_,R),x[4]=_,x[5]=R,x[6]=d):d=x[6],x[7]!==d?(h=(0,v.jsx)("div",{className:d}),x[7]=d,x[8]=h):h=x[8];let A=null!=(t=null==(r=S.image.mobile)?void 0:r.url)?t:"";return x[9]!==(null==(n=S.image.desktop)?void 0:n.url)||x[10]!==A?(p=(0,W.gJ)({mobile:{filename:A},desktop:{filename:null!=(a=null==(o=S.image.desktop)?void 0:o.url)?a:""},desktopLarge:{filename:null!=(i=null==(s=S.image.desktop)?void 0:s.url)?i:""}}),x[9]=null==(l=S.image.desktop)?void 0:l.url,x[10]=A,x[11]=p):p=x[11],x[12]!==P||x[13]!==p?(f={alt:P,srcSet:p},x[12]=P,x[13]=p,x[14]=f):f=x[14],x[15]!==T?(m=L()("opacity-100","w-full rounded-brand object-cover transition-opacity duration-500 ease-in-out md:ring-2 md:ring-ds-gray-95 md:drop-shadow-md",T),x[15]=T,x[16]=m):m=x[16],x[17]!==f||x[18]!==m?(g=(0,v.jsx)(O.ydX,{squaredCorners:!0,image:f,className:m}),x[17]=f,x[18]=m,x[19]=g):g=x[19],x[20]!==g||x[21]!==h?(b=(0,v.jsxs)("div",{className:"absolute z-0 w-full overflow-hidden",children:[h,g]}),x[20]=g,x[21]=h,x[22]=b):b=x[22],b},ts="h-[780px] md:h-[612px]",tl=e=>
1{let t,r,n,a,i,o,s,l,c,u,d,h,p,f,m,g,b,x,T,E,C,w,k,S,I,P,_,R,A=(0,y.c)(75);A[0]!==e?({darkMode:a,title:c,subtitle:l,slides:s,sectionLink:o,anchorId:r,className:n,analyticsEnabled:t,...i}=e,A[0]=e,A[1]=t,A[2]=r,A[3]=n,A[4]=a,A[5]=i,A[6]=o,A[7]=s,A[8]=l,A[9]=c):(t=A[1],r=A[2],n=A[3],a=A[4],i=A[5],o=A[6],s=A[7],l=A[8],c=A[9]);let[N,D]=(0,z.useState)(0);A[10]!==s.length?(u=()=>{D(e=>(e+1)%s.length)},A[10]=s.length,A[11]=u):u=A[11];let j=u;A[12]!==s.length?(d=()=>{D(e=>(e-1+s.length)%s.length)},A[12]=s.length,A[13]=d):d=A[13];let M=d;A[14]!==n?(h=L()(n,"col-span-3 col-start-2 bg-center bg-no-repeat md:col-span-1 md:col-start-3"),A[14]=n,A[15]=h):h=A[15],A[16]!==t?(p=t?{label:"page-section-link",variant:"hero-story-section"}:void 0,A[16]=t,A[17]=p):p=A[17];let H=s[N];A[18]!==a||A[19]!==H?(f=(0,v.jsx)(to,{darkMode:a,selectedSlide:H,height:ts}),A[18]=a,A[19]=H,A[20]=f):f=A[20];let F=!a;A[21]!==a||A[22]!==F?(m=L()("absolute top-0 z-0 w-full rounded-brand bg-gradient-to-t to-transparent to-55%",{"from-black":a,"from-white":F},ts),A[21]=a,A[22]=F,A[23]=m):m=A[23],A[24]!==m?(g=(0,v.jsx)("div",{className:m}),A[24]=m,A[25]=g):g=A[25],A[26]!==M||A[27]!==N?(b=N>0&&(0,v.jsx)(tt.t,{size:"lg",className:"absolute top-[275px] z-10 md:!-ml-6 lg:!-ml-6",onClick:M,variant:{variant:"previous"},testId:"PreviousSlideButton"}),A[26]=M,A[27]=N,A[28]=b):b=A[28],A[29]!==j||A[30]!==N||A[31]!==s.length?(x=N<s.length-1&&(0,v.jsx)(tt.t,{size:"lg",className:"absolute right-0 top-[275px] z-10 md:!-mr-6 lg:!-mr-6",onClick:j,variant:{variant:"next"},testId:"NextSlideButton"}),A[29]=j,A[30]=N,A[31]=s.length,A[32]=x):x=A[32],A[33]!==b||A[34]!==x||A[35]!==f||A[36]!==g?(T=(0,v.jsxs)("div",{className:"relative w-full",children:[f,g,b,x]}),A[33]=b,A[34]=x,A[35]=f,A[36]=g,A[37]=T):T=A[37];let q=!a;A[38]!==a||A[39]!==q?(E=L()({"bg-black":a,"bg-white":q},"flex h-[780px] w-full flex-col justify-end gap-6 rounded-brand md:h-[612px] md:bg-transparent lg:m-auto"),A[38]=a,A[39]=q,A[40]=E):E=A[40];let B=s[N];if(A[41]!==a||A[42]!==B?(C=(0,v.jsx)("div",{className:"flex flex-col",children:(0,v.jsx)(ti,{classnames:"block md:hidden z-10 pb-6",heroStory:B,darkMode:a})}),A[41]=a,A[42]=B,A[43]=C):C=A[43],A[44]!==a||A[45]!==N||A[46]!==s){let e;A[48]!==a||A[49]!==N?(e=(e,t)=>{var r;return(0,v.jsxs)("button",{onClick:()=>D(t),className:L()(t===N?"ring ring-ds-blue-primary":"ring-1 ring-ds-gray-90","relative m-1 flex h-40 w-28 min-w-28 cursor-pointer flex-col items-center justify-end rounded-lg bg-cover bg-center pb-2 md:m-1"),style:{backgroundImage:"url(".concat(null==(r=e.image.mobile)?void 0:r.url,")")},children:[(0,v.jsx)("div",{className:L()("absolute inset-0 rounded-brand bg-gradient-to-t to-transparent to-55% drop-shadow-none",{"from-black":a,"from-white":!a})}),(0,v.jsx)("div",{className:"relative z-10",children:(0,v.jsx)(O.fzL,{className:L()({"text-white":a,"text-ds-blue-primary":!a},"text-ds-label-compact mx-2 text-left font-semibold"),children:e.heroStoryName})})]},t)},A[48]=a,A[49]=N,A[50]=e):e=A[50],w=s.map(e),A[44]=a,A[45]=N,A[46]=s,A[47]=w}else w=A[47];A[51]!==w?(k=(0,v.jsx)("div",{className:"flex w-full overflow-x-auto md:flex-row-reverse",children:(0,v.jsx)("div",{className:"flex w-max gap-3 md:items-end md:justify-end",children:w})}),A[51]=w,A[52]=k):k=A[52];let U=s[N];return A[53]!==a||A[54]!==U?(S=(0,v.jsx)("div",{className:"z-10 w-full md:flex md:flex-col md:gap-6 lg:w-[362px]",children:(0,v.jsx)(ti,{classnames:"hidden z-10 md:flex",heroStory:U,darkMode:a})}),A[53]=a,A[54]=U,A[55]=S):S=A[55],A[56]!==k||A[57]!==S?(I=(0,v.jsxs)("div",{className:"flex flex-col justify-between pb-4 pl-4 md:flex-row-reverse md:gap-8 md:p-6",children:[k,S]}),A[56]=k,A[57]=S,A[58]=I):I=A[58],A[59]!==C||A[60]!==I?(P=(0,v.jsxs)("div",{children:[C,I]}),A[59]=C,A[60]=I,A[61]=P):P=A[61],A[62]!==E||A[63]!==P?(_=(0,v.jsx)("div",{className:E,children:P}),A[62]=E,A[63]=P,A[64]=_):_=A[64],A[65]!==r||A[66]!==i||A[67]!==o||A[68]!==l||A[69]!==T||A[70]!==_||A[71]!==h||A[72]!==p||A[73]!==c?(R=(0,v.jsxs)(tr.d,{anchorId:r,...i,link:o,title:c,subtitle:l,titleClasses:"px-4 md:px-0",linkClasses:"px-4 md:px-0",className:h,linkA
1nalytics:p,children:[T,_]}),A[65]=r,A[66]=i,A[67]=o,A[68]=l,A[69]=T,A[70]=_,A[71]=h,A[72]=p,A[73]=c,A[74]=R):R=A[74],R};function tc(e){var t,r,n,a,i,o,s,l,c,u,d,h,p,f,m,g,v,y,b,x,T,E,C,w,k;let S,I,P,_,R,A;return{title:null!=(t=e.title)?t:"",heroStoryName:null!=(r=e.thumbnailTitle)?r:"",description:null!=(n=e.description)?n:"",link:(0,U.M)(null==(s=e.link)?void 0:s[0]),contentHeaderType:null!=(a=e.contentHeaderType)?a:"logo",logo:(null==(l=e.logo)?void 0:l.filename)||"",text:null!=(i=e.text)?i:"",ctaVariant:null!=(o=e.ctaVariant)?o:"buttonPrimary",callToAction:(0,U.M)(null==(c=e.callToAction)?void 0:c[0]),image:(S=null==(u=e.image)||null==(m=u[0])||null==(f=m.desktop)?void 0:f.filename,I=(null==u||null==(v=u[0])||null==(g=v.desktopLarge)?void 0:g.filename)||S,P=null==u||null==(b=u[0])||null==(y=b.mobile)?void 0:y.filename,_=null!=(d=null==u||null==(T=u[0])||null==(x=T.desktop)?void 0:x.alt)?d:"",R=null!=(h=null==u||null==(C=u[0])||null==(E=C.desktopLarge)?void 0:E.alt)?h:"",A=null!=(p=null==u||null==(k=u[0])||null==(w=k.mobile)?void 0:w.alt)?p:"",{desktop:S?{url:S,alt:_}:void 0,desktopLarge:I?{url:I,alt:R}:void 0,mobile:P?{url:P,alt:A}:void 0})}}var tu=r(83460),td=r(77348),th=r.n(td);let tp={default:"px-3 py-2 sm:px-5 sm:py-1 sm:text-lg",small:L()(th().small,"px-2 text-sm")},tf=()=>{let e,t=(0,y.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,v.jsxs)("svg",{className:"absolute inset-0 h-full w-full",viewBox:"0 0 70 26",preserveAspectRatio:"none","aria-hidden":"true",focusable:"false",children:[(0,v.jsx)("path",{d:"M101.689 -0.117188H-32.1713V34.0298H101.689V-0.117188Z",fill:"#E30027"}),(0,v.jsx)("path",{d:"M40.8432 -0.117188L-32.1713 18.0307V34.0298H9.9532L34.2913 13.7265L40.8432 -0.117188Z",fill:"#CB0023"}),(0,v.jsx)("path",{d:"M101.688 34.0298V6.70374L34.2913 13.7265L9.95319 34.0298H101.688Z",fill:"#9E001B"}),(0,v.jsx)("path",{d:"M40.8432 -0.117188H101.689V12.727L34.2914 13.7265L40.8432 -0.117188Z",fill:"#B4001F"})]}),t[0]=e):e=t[0],e},tm=e=>{let t,r,n,a,i=(0,y.c)(9),{label:o,size:s,className:l}=e,c=tp[void 0===s?"default":s];i[0]!==l||i[1]!==c?(t=L()(th().label,"rounded-full font-bold text-white",c,l),i[0]=l,i[1]=c,i[2]=t):t=i[2];let u=t;return i[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,v.jsx)(tf,{}),i[3]=r):r=i[3],i[4]!==o?(n=(0,v.jsx)("span",{className:"relative",children:o}),i[4]=o,i[5]=n):n=i[5],i[6]!==u||i[7]!==n?(a=(0,v.jsxs)("span",{className:u,children:[r,n]}),i[6]=u,i[7]=n,i[8]=a):a=i[8],a},tg=e=>{let t,r,n=(0,y.c)(7),{style:a,label:i}=e;if(a.startsWith("addon")){let e,t="addonPlus"===a?"Plus":"Premium";return n[0]!==t?(e=(0,v.jsx)(tm,{size:"small",label:t,className:"absolute left-5 top-5 !h-7 !px-4 text-base uppercase"}),n[0]=t,n[1]=e):e=n[1],e}return i?(n[2]!==a?(t=(e=>{switch(e){case"defaultGreen":default:return"green";case"defaultRed":return"red";case"defaultBlue":return"blue"}})(a),n[2]=a,n[3]=t):t=n[3],n[4]!==i||n[5]!==t?(r=(0,v.jsx)("div",{className:"absolute left-5 top-5",children:(0,v.jsx)(O.JU7,{variant:"sm",label:i,color:t})}),n[4]=i,n[5]=t,n[6]=r):r=n[6],r):null},tv=e=>{let t,r,n,a,i,o,s,l,c,u=(0,y.c)(22),{backgroundImage:d,isBigCard:h,title:p,subtitle:f}=e,m=(0,O.DPo)();return u[0]!==d||u[1]!==m?(t=L()("z-20 mt-auto flex w-full items-end justify-between gap-2 text-ds-default",{"text-ds-white":d},{"text-ds-vl-blue-800":m===O.Sxu.FRIENDS_LOTTERY&&!d}),u[0]=d,u[1]=m,u[2]=t):t=u[2],u[3]!==h?(r=L()("ds-heading-3 md:ds-heading-4 line-clamp-2",{"!ds-heading-3":h}),u[3]=h,u[4]=r):r=u[4],u[5]!==r||u[6]!==p?(n=(0,v.jsx)("h3",{className:r,children:p}),u[5]=r,u[6]=p,u[7]=n):n=u[7],u[8]!==f?(a=(0,v.jsx)(O.fzL,{variant:"bodyCompact",className:"line-clamp-1",children:f}),u[8]=f,u[9]=a):a=u[9],u[10]!==n||u[11]!==a?(i=(0,v.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[n,a]}),u[10]=n,u[11]=a,u[12]=i):i=u[12],u[13]!==h?(o=L()("rounded-full bg-white p-[0.375rem] shadow-ds-medium",{"p-[0.625rem]":h}),u[13]=h,u[14]=o):o=u[14],u[15]===Symbol.for("react.memo_cache_sentinel")?(s=(0,v.jsx)(O.vKP,{className:"text-ds-actions-stroke-color-active"}),u[15]=s):s=u[15],u[16]!==o?(l=(0,v.jsx)("div",{className:o,children:s}),u[16]=o,u[17]=l):l=u[17],u[18]!==t||u[19]!==i||u[20]!==l?(c=(0,v.jsxs)("footer",{className:t,children:[i,l]}),u[18]=t,u[19]=i,u[20]=l,u[21]=c):c=u[21],c},ty=e=>{let t,r=(0,y.c)(11),{children:n,link:a,onClick:i,className:o}=e;if(!a&&!i){let e;return r[0]!==n||r[1]!==o?(e=(0,v.jsx)("article",{className:o,children:n}),r[0]=n,r[1]=o,r[2]=e):e=r[2],e}if(!a){let e;return r[3]!==n||r[4]!==o||r[5]!==i?(e=(0,v.jsx)("button",{type:"button",onClick:i,className:o,children:n}),r[3]=n,r[4]=o,r[5]=i,r[6]=e):e=r[6],e}return r[7]!==n||r[8]!==o||r[9]!==a?(t=(0,v.jsx)(N.e,{href:a,className:o,children:n}),r[7]=n,r[8]=o,r[9]=a,r[10]=t):t=r[10],t},tb={blue:"bg-ds-plh-blue-50",green:"bg-ds-plh-green-50",yellow:"bg-ds-plh-orange-50",red:"bg-ds-plh-red-50"},tx="transition-transform duration-700 group-hover:scale-110",tT=e=>{let t,r,n,a,i,o,s=(0,y.c)(27),{className:l,title:c,subtitle:u,foregroundImage:d,backgroundImage:h,backgroundColor:p,labelStyle:f,label:m,link:g,isBig
1Card:b,onClick:x}=e,T=void 0===p?"blue":p,E=void 0===f?"none":f,C=(0,O.DPo)(),w=tb[T],k=T&&C!==O.Sxu.FRIENDS_LOTTERY,S=C===O.Sxu.FRIENDS_LOTTERY;return s[0]!==l||s[1]!==w||s[2]!==k||s[3]!==S?(t=L()("group relative flex h-full min-h-0 w-full flex-col items-start !gap-0 overflow-hidden rounded-lg p-5 text-left hover:no-underline md:shadow-lg",{[w]:k,"bg-ds-vl-blue-100":S},l),s[0]=l,s[1]=w,s[2]=k,s[3]=S,s[4]=t):t=s[4],s[5]!==h||s[6]!==d||s[7]!==b?(r=h&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("img",{src:h.src,alt:h.alt||"",className:L()("absolute left-0 top-0 h-full w-full object-cover",tx,{"group-hover:scale-[1.02]":d,"duration-1000":b})}),(0,v.jsx)("div",{className:"absolute left-0 top-0 h-full w-full bg-gradient-to-t from-black/65 to-transparent to-[40%]"})]}),s[5]=h,s[6]=d,s[7]=b,s[8]=r):r=s[8],s[9]!==d?(n=d&&(0,v.jsx)("img",{src:d.src,alt:d.alt||"",className:L()("relative mx-auto min-h-0 flex-1 object-contain",tx)}),s[9]=d,s[10]=n):n=s[10],s[11]!==m||s[12]!==E?(a="none"!==E&&(0,v.jsx)(tg,{style:E,label:m}),s[11]=m,s[12]=E,s[13]=a):a=s[13],s[14]!==h||s[15]!==b||s[16]!==u||s[17]!==c?(i=(0,v.jsx)(tv,{backgroundImage:h,isBigCard:b,title:c,subtitle:u}),s[14]=h,s[15]=b,s[16]=u,s[17]=c,s[18]=i):i=s[18],s[19]!==g||s[20]!==x||s[21]!==i||s[22]!==t||s[23]!==r||s[24]!==n||s[25]!==a?(o=(0,v.jsxs)(ty,{link:g,onClick:x,className:t,children:[r,n,a,i]}),s[19]=g,s[20]=x,s[21]=i,s[22]=t,s[23]=r,s[24]=n,s[25]=a,s[26]=o):o=s[26],o},tE={[tu.L.xs]:{slidesPerView:1.2},[tu.L.sm]:{slidesPerView:1.8}},tC=e=>({spaceBetween:16,slidesOffsetBefore:16,slidesOffsetAfter:16,...tE[e]}),tw="!w-[calc(100%_-_calc(var(--spacings-page-level-side-padding--mobile)_*_2))]",tk="ml-4 md:ml-0",tS=e=>{let t,r,n,a,i,o,s,l,c,u,d,h,p,f,m,g,b,x=(0,y.c)(33);if(x[0]!==e?({title:i,description:r,link:n,cards:t,...a}=e,x[0]=e,x[1]=t,x[2]=r,x[3]=n,x[4]=a,x[5]=i):(t=x[1],r=x[2],n=x[3],a=x[4],i=x[5]),5!==t.length)return null;let T=t[0];x[6]!==t?(o=t.slice(1).map(tI),x[6]=t,x[7]=o):o=x[7];let E=o;if(x[8]===Symbol.for("react.memo_cache_sentinel")?(s=L()(tk,tw,"md:!w-fit"),x[8]=s):s=x[8],x[9]!==n){var C,w;l=n?{label:null!=(C=null==n?void 0:n.label)?C:"",href:null!=(w=null==n?void 0:n.href)?w:""}:void 0,x[9]=n,x[10]=l}else l=x[10];return x[11]!==T?(c=(0,v.jsx)(tT,{isBigCard:!0,className:"row-span-2",...T}),x[11]=T,x[12]=c):c=x[12],x[13]!==E||x[14]!==c?(u=(0,v.jsxs)("div",{"data-testid":"prize-plan-desktop-card",className:"hidden gap-6 md:grid md:h-[30.25rem] md:grid-cols-[42fr_29fr_29fr] lg:h-[33.5rem] lg:grid-cols-[2fr_1fr_1fr]",children:[c,E]}),x[13]=E,x[14]=c,x[15]=u):u=x[15],x[16]===Symbol.for("react.memo_cache_sentinel")?(d=L()(tk,tw,"!h-[25.75rem]"),x[16]=d):d=x[16],x[17]!==T?(h=(0,v.jsx)(tT,{isBigCard:!0,className:d,...T}),x[17]=T,x[18]=h):h=x[18],x[19]===Symbol.for("react.memo_cache_sentinel")?(p=tC(tu.L.xs),x[19]=p):p=x[19],x[20]===Symbol.for("react.memo_cache_sentinel")?(f={[tu.L.xs]:p,[tu.L.sm]:tC(tu.L.sm)},x[20]=f):f=x[20],x[21]!==E?(m=(0,v.jsx)(eU,{slidesPerViewDesktop:1.1,spaceBetween:16,className:"mt-2 h-[16rem]",breakpoints:f,children:E}),x[21]=E,x[22]=m):m=x[22],x[23]!==m||x[24]!==h?(g=(0,v.jsxs)("div",{"data-testid":"prize-plan-mobile-card",className:"mt-5 md:hidden",children:[h,m]}),x[23]=m,x[24]=h,x[25]=g):g=x[25],x[26]!==r||x[27]!==a||x[28]!==g||x[29]!==l||x[30]!==u||x[31]!==i?(b=(0,v.jsxs)(tr.d,{title:i,description:r,linkStyle:"buttonSecondary",className:"col-span-3 col-start-2 md:col-span-1 md:col-start-3",titleClasses:tk,descriptionClasses:"md:!px-0 md:mb-6",linkClasses:s,link:l,...a,children:[u,g]}),x[26]=r,x[27]=a,x[28]=g,x[29]=l,x[30]=u,x[31]=i,x[32]=b):b=x[32],b};function tI(e){return(0,v.jsx)(tT,{...e},"".concat(e.title,"-").concat(e.subtitle))}let tP=e=>{if(null==e?void 0:e.filename)return{src:e.filename||"",alt:e.alt||""}},t_=e=>{var t,r,n,a;let i,o,s,l,c=(0,y.c)(12),{blok:u}=e;c[0]!==u.prizeCards?(i=null!=(n=null==(a=u.prizeCards)?void 0:a.map(tR))?n:[],c[0]=u.prizeCards,c[1]=i):i=c[1];let d=i,h=null==(r=u.link)?void 0:r[0];c[2]!==h?(o=h?(0,U.M)(h):void 0,c[2]=h,c[3]=o):o=c[3];let p=o;c[4]!==u?(s=(0,B.d)(u),c[4]=u,c[5]=s):s=c[5];let f=null!=(t=u.title)?t:"";return c[6]!==u.description||c[7]!==d||c[8]!==p||c[9]!==s||c[10]!==f?(l=(0,v.jsx)(tS,{...s,title:f,description:u.description,link:p,cards:d}),c[6]=u.description,c[7]=d,c[8]=p,c[9]=s,c[10]=f,c[11]=l):l=c[11],l};function tR(e){return{...e,backgroundColor:e.backgroundColor||void 0,link:(0,e3.n)(e.link)||void 0,foregroundImage:tP(e.foregroundImage),backgroundImage:tP(e.backgroundImage)}}let tA={UniqueSellingPointSection:e=>{var t,r,n,a;let i,o,s,l,c,u=(0,y.c)(17),{blok:d}=e,{uniqueSellingPoints:h,trustMarks:p,variant:f,mobileTitle:m}=d;u[0]!==h?(i=h.map(e=>{let{content:t,text:r,icon:n}=e;return{text:t||r,icon:n||void 0}}),u[0]=h,u[1]=i):i=u[1];let g=i;u[2]!==p?(o=null!=(a=null==p?void 0:p.filter(e=>{var t;return!!(null==(t=e.image)?void 0:t.filename)}).map(e=>{var t,r,n,a;let i=(0,U.M)(null==(r=e.linkSection)?void 0:r[0]);return{logoFilename:null!=(t=null==(n=e.image)?void 0:n.filename)?t:void 0,logoUrl:null==i?void 0:i.href,logoAlt:(null==(a=e.image)?void 0:a.alt)||"Trust Mark"}}))?a:[],u[2]=p,u[3]=o):o=u[3];let b=o;u[4]!==(null==(t=d.sectionLink)?void 0:t[0])||u[5]!==f?(s="link"===f?(0,U.M)(null==(r=d.sectionLink)?void 0:r[0]):void 0,u[4]=null==(n=d.sectionLink)?void 0:n[0],u[5]=f,u[6]=s):s=u[6];let x=s;u[7]!==d?(l=(0,B.d)(d),u[7]=d,u[8]=l):l=u[8];let T=f||"trustMarks";return u[9]!==d._uid||u[10]!==m||u[11]!==x||u[12]!==l||u[13]!==T||u[14]!==b||u[15]!==g?(c=(0,v.jsx)(H,{...l,uniqueSellingPoints:g,trustMarks:b,variant:T,mobileTitle:m,sectionLink:x,anchorId:d._uid}),u[9]=d._uid,u[10]=m,u[11]=x,u[12]=l,u[13]=T,u[14]=b,u[15]=g,u[16]=c):c=u[16],c},HeroHeader:e=>(0,v.jsx)(eP,{...e,analyticsEnabled:!0}),HeroMediaContainerSection:e=>{var t,r,n,a,i,o,s,l;let c,u,d,h,p,f=(0,y.c)(15),{blok:m}=e;f[0]!==m.images||f[1]!==m.logo||f[2]!==m.title?(c=null!=(r=null==(n=m.images)?void 0:n.map(e=>{var t,r,n,a,i,o,s,l,c,u,d,h,p,f;return{alt:null!=(t=e.mobile.alt)?t:"",responsiveImage:(0,W.gJ)({mobile:{filename:null!=(r=e.mobile.filename)?r:"",focus:null!=(n=e.mobile.focus)?n:""},desktop:{filename:null!=(a=null==(u=e.desktop)?void 0:u.filename)?a:"",focus:null!=(i=null==(d=e.desktop)?void 0:d.focus)?i:""},desktopLarge:{filename:null!=(o=null==(h=e.desktopLarge)?void 0:h.filename)?o:"",focus:null!=(s=null==(p=e.desktopLarge)?void 0:p.focus)?s:""}},480),title:m.title,logo:(null==(f=m.logo)?void 0:f.filename)?{url:null!=(l=m.logo.filename)?l:"",alt:null!=(c=m.logo.alt)?c:""}:void 0,_uid:e._uid}}))?r:[],f[0]=m.images,f[1]=m.logo,f[2]=m.title,f[3]=c):c=f[3];let g=c;f[4]!==m.logo?(u=(null==(i=m.logo)?void 0:i.filename)?(0,W.xG)({src:m.logo.filename,focus:null!=(a=m.logo.focus)?a:void 0},W.HQ,W.HQ):void 0,f[4]=m.logo,f[5]=u):u=f[5];let b=u;return f[6]!==m?(d=(0,B.d)(m),f[6]=m,f[7]=d):d=f[7],f[8]!==(null==(t=m.logo)?void 0:t.alt)||f[9]!==b?(h=b?{url:null!=b?b:"",alt:null!=(o=null==(s=m.logo)?void 0:s.alt)?o:""}:void 0,f[8]=null==(l=m.logo)?void 0:l.alt,f[9]=b,f[10]=h):h=f[10],f[11]!==g||f[12]!==d||f[13]!==h?(p=(0,v.jsx)(eR,{...d,images:g,logo:h}),f[11]=g,f[12]=d,f[13]=h,f[14]=p):p=f[14],p},HeroBannerCarouselSection:e=>(0,v.jsx)(e5,{...e,analyticsEnabled:!0}),HeroBannerSection:e=>(0,v.jsx)(te,{...e,analyticsEnabled:!0}),HeroStorySection:e=>{var t,r,n,a;let i,o,s,l,c=(0,y.c)(14),{blok:u}=e;c[0]!==u.slides?(i=null!=(n=null==(a=u.slides)?void 0:a.map(tc))?n:[],c[0]=u.slides,c[1]=i):i=c[1];let d=i;c[2]!==u?(o=(0,B.d)(u),c[2]=u,c[3]=o):o=c[3];let h=null==(r=u.sectionLink)?void 0:r[0];c[4]!==h?(s=(0,U.M)(h),c[4]=h,c[5]=s):s=c[5];let p=null!=(t=u.title)?t:"";
1return c[6]!==u._uid||c[7]!==u.darkMode||c[8]!==u.subtitle||c[9]!==d||c[10]!==o||c[11]!==s||c[12]!==p?(l=(0,v.jsx)(tl,{...o,sectionLink:s,darkMode:u.darkMode,slides:d,title:p,subtitle:u.subtitle,anchorId:u._uid,analyticsEnabled:!0}),c[6]=u._uid,c[7]=u.darkMode,c[8]=u.subtitle,c[9]=d,c[10]=o,c[11]=s,c[12]=p,c[13]=l):l=c[13],l}},tN=A()(()=>r.e(1907).then(r.bind(r,71907)).then(e=>e.BrandedHighlightCardSB),{loadableGenerated:{webpack:()=>[71907]}}),tD=A()(()=>r.e(2916).then(r.bind(r,42916)).then(e=>e.CardAndSpotlightSectionSB),{loadableGenerated:{webpack:()=>[42916]}}),tO=A()(()=>r.e(8090).then(r.bind(r,88090)).then(e=>e.ContentGridSectionSB),{loadableGenerated:{webpack:()=>[88090]}}),tj=A()(()=>r.e(4993).then(r.bind(r,64993)).then(e=>e.CookiesTableSectionSB),{loadableGenerated:{webpack:()=>[64993]}}),tL=A()(()=>r.e(8735).then(r.bind(r,78735)).then(e=>e.CountdownTimerSectionSB),{loadableGenerated:{webpack:()=>[78735]}}),tM=A()(()=>r.e(302).then(r.bind(r,30302)).then(e=>e.CtaSectionSB),{loadableGenerated:{webpack:()=>[30302]}}),tH=A()(()=>r.e(9798).then(r.bind(r,29798)).then(e=>e.CustomerCardSectionSB),{loadableGenerated:{webpack:()=>[29798]}}),tF=A()(()=>r.e(1522).then(r.bind(r,71522)).then(e=>e.IntroCardSectionSB),{loadableGenerated:{webpack:()=>[71522]}}),tq=A()(()=>Promise.all([r.e(2006),r.e(1642),r.e(5104),r.e(4201),r.e(6222)]).then(r.bind(r,96222)).then(e=>e.TextIntroFloatingSB),{loadableGenerated:{webpack:()=>[96222]}}),tB=A()(()=>r.e(931).then(r.bind(r,33312)).then(e=>e.TextIntroInlineSB),{loadableGenerated:{webpack:()=>[33312]}}),tU=A()(()=>r.e(4486).then(r.bind(r,4486)).then(e=>e.FaqSectionSB),{loadableGenerated:{webpack:()=>[4486]}}),tW=A()(()=>r.e(8844).then(r.bind(r,58844)).then(e=>e.HorizontalCardGridSectionSB),{loadableGenerated:{webpack:()=>[58844]}}),tV=A()(()=>r.e(9669).then(r.bind(r,99669)).then(e=>e.HowItWorksSectionSB),{loadableGenerated:{webpack:()=>[99669]}}),tG=A()(()=>r.e(3180).then(r.bind(r,53180)).then(e=>e.IconCardSectionSB),{loadableGenerated:{webpack:()=>[53180]}}),tz=A()(()=>r.e(9699).then(r.bind(r,99699)).then(e=>e.IconListSectionSB),{loadableGenerated:{webpack:()=>[99699]}}),tY=A()(()=>Promise.all([r.e(8968),r.e(5916)]).then(r.bind(r,75916)).then(e=>e.LargeCardCarouselSectionSB),{loadableGenerated:{webpack:()=>[75916]}}),t$=A()(()=>Promise.all([r.e(8968),r.e(7736)]).then(r.bind(r,27736)).then(e=>e.LayoutRowSB),{loadableGenerated:{webpack:()=>[27736]}}),tQ=A()(()=>r.e(3593).then(r.bind(r,73593)).then(e=>e.LottieHowItWorksSectionSB),{loadableGenerated:{webpack:()=>[73593]}}),tK=A()(()=>r.e(4652).then(r.bind(r,94652)).then(e=>e.MediaGridSB),{loadableGenerated:{webpack:()=>[94652]}}),tZ=A()(()=>Promise.all([r.e(8968),r.e(6569)]).then(r.bind(r,96569)).then(e=>e.MediaPrizeCardCarouselSB),{loadableGenerated:{webpack:()=>[96569]}}),tX=A()(()=>r.e(3231).then(r.bind(r,43231)).then(e=>e.ImageSectionSB),{loadableGenerated:{webpack:()=>[43231]}}),tJ=A()(()=>Promise.all([r.e(8968),r.e(8785),r.e(1491)]).then(r.bind(r,41491)).then(e=>e.MultiMediaSectionSB),{loadableGenerated:{webpack:()=>[41491]}}),t1=A()(()=>Promise.all([r.e(8785),r.e(2332)]).then(r.bind(r,22332)).then(e=>e.SingleMediaSectionSB),{loadableGenerated:{webpack:()=>[22332]}}),t0=A()(()=>Promise.all([r.e(8968),r.e(1852)]).then(r.bind(r,91852)).then(e=>e.MediaSliderSectionSB),{loadableGenerated:{webpack:()=>[91852]}}),t2=A()(()=>r.e(6789).then(r.bind(r,66789)).then(e=>e.MoreLinksSectionSB),{loadableGenerated:{webpack:()=>[66789]}}),t3=A()(()=>Promise.all([r.e(8968),r.e(3618)]).then(r.bind(r,93618)).then(e=>e.PartnerLogosSectionSB),{loadableGenerated:{webpack:()=>[93618]}}),t5=A()(()=>r.e(665).then(r.bind(r,90665)).then(e=>e.PlanMatrixSB),{loadableGenerated:{webpack:()=>[90665]}}),t4=A()(()=>r.e(7974).then(r.bind(r,87974)).then(e=>e.PrivacyStatementSB),{loadableGenerated:{webpack:()=>[87974]}}),t8=A()(()=>r.e(4372).then(r.bind(r,84372)).then(e=>e.PrizePlanSectionSB),{loadableGenerated:{webpack:()=>[84372]}}),t6=A()(()=>r.e(1754).then(r.bind(r,41754)).then(e=>e.ReferAFriendSectionSB),{loadableGenerated:{webpack:()=>[41754]}}),t9=A()(()=>Promise.all([r.e(8968),r.e(2746)]).then(r.bind(r,22746)).then(e=>e.RelatedCategoriesSectionSB),{loadableGenerated:{webpack:()=>[22746]}}),t7=A()(()=>Promise.all([r.e(8968),r.e(9146)]).then(r.bind(r,79146)).then(e=>e.RelatedStoriesSectionSB),{loadableGenerated:{webpack:()=>[79146]}}),re=A()(()=>r.e(2641).then(r.bind(r,12641)).then(e=>e.RichCardsSB),{loadableGenerated:{webpack:()=>[12641]}}),rt=A()(()=>r.e(2756).then(r.bind(r,82756)).then(e=>e.SpotlightSectionSB),{loadableGenerated:{webpack:()=>[82756]}}),rr=A()(()=>r.e(2396).then(r.bind(r,12396)).then(e=>e.StatSectionSB),{loadableGenerated:{webpack:()=>[12396]}}),rn=A()(()=>r.e(9089).then(r.bind(r,89089)).then(e=>e.StepHighlightCardSectionSB),{loadableGenerated:{webpack:()=>[89089]}}),ra=A()(()=>Promise.all([r.e(8968),r.e(6199)]).then(r.bind(r,76199)).then(e=>e.StoryCardSectionSB),{loadableGenerated:{webpack:()=>[76199]}}),ri=A()(()=>r.e(1756).then(r.bind(r,11756)).then(e=>e.TextOnlySectionSB),{loadableGenerated:{webpack:()=>[11756]}}),ro=A()(()=>r.e(8805).then(r.bind(r,21186)).then(e=>e.TrustPilotSectionSB),{loadableGenerated:{webpack:()=>[21186]}}),rs=A()(()=>Promise.all([r.e(8968),r.e(538)]).then(r.bind(r,20538)).then(e=>e.WinnerHighlightSectionSB),{loadableGenerated:{webpack:()=>[20538]}}),rl=A()(()=>Promise.resolve().then(r.bind(r,71137)).then(e=>
1e.AllInPage),{loadableGenerated:{webpack:()=>[71137]}}),rc=A()(()=>Promise.all([r.e(2006),r.e(1642),r.e(5104),r.e(7722),r.e(4201),r.e(870)]).then(r.bind(r,20870)).then(e=>e.CampaignPage),{loadableGenerated:{webpack:()=>[20870]}}),ru=A()(()=>Promise.resolve().then(r.bind(r,12068)).then(e=>e.CategoryPage),{loadableGenerated:{webpack:()=>[12068]}}),rd=A()(()=>Promise.resolve().then(r.bind(r,68886)).then(e=>e.DetailPage),{loadableGenerated:{webpack:()=>[68886]}}),rh=A()(()=>r.e(8975).then(r.bind(r,88975)).then(e=>e.FunnelPage),{loadableGenerated:{webpack:()=>[88975]}}),rp=A()(()=>r.e(6950).then(r.bind(r,56950)).then(e=>e.HomePage),{loadableGenerated:{webpack:()=>[56950]}}),rf=A()(()=>r.e(6727).then(r.bind(r,76727)).then(e=>e.HubPage),{loadableGenerated:{webpack:()=>[76727]}}),rm=A()(()=>Promise.all([r.e(1642),r.e(3708),r.e(696)]).then(r.bind(r,90696)).then(e=>e.SearchResultsPage),{loadableGenerated:{webpack:()=>[90696]}}),rg=A()(()=>r.e(7970).then(r.bind(r,87970)).then(e=>e.StandardPage),{loadableGenerated:{webpack:()=>[87970]}}),rv=A()(()=>r.e(1560).then(r.bind(r,81560)).then(e=>e.SiteWideConfigPage),{loadableGenerated:{webpack:()=>[81560]}}),ry=A()(()=>r.e(5662).then(r.bind(r,75662)).then(e=>e.ContentCardSB),{loadableGenerated:{webpack:()=>[75662]}});var rb=r(92424),rx=r(13112),rT=r(10603),rE=r(99649),rC=r(59638);function rw(e){return(rw=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rk=function(){return!!e})()}var rS=r(99490);function rI(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function rP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r_(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}var rR=r(78191);function rA(e,t){return(rA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rN(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var rD=r(60573),rO=r(95868),rj=r(96162),rL=r(93096);function rM(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}var rH="4.118.0",rF=r(89663),rq="ais.usage.sessionId",rB=null,rU="u">typeof performance?function(){return performance.now()}:function(){return Date.now()},rW=r(55440);function rV(e,t,r){var n=t.getHelper();return{uiState:r,helper:n,parent:t,instantSearchInstance:e,state:n.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function rG(e,t,r){var n=t.getResultsForWidget(r),a=t.getHelper();return{helper:a,parent:t,instantSearchInstance:e,results:n,scopedResults:t.getScopedResults(),state:n&&"_state"in n?n._state:a.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function rz(e){var t=e.renderState,r=e.instantSearchInstance,n=e.parent,a=n?n.getIndexId():r.mainIndex.getIndexId();r.renderState=(0,rL._)((0,rE._)({},r.renderState),(0,rR._)({},a,(0,rE._)({},r.renderState[a],t)))}function rY(e){var t=[];return Object.keys(e).forEach(function(r){var n=e[r];if(void 0!==n){var a=function(e){if(null==e)return null;var t=void 0===e?"undefined":(0,rS._)(e);if("string"===t||"number"===t||"boolean"===t)return{value:String(e),type:t};if(Array.isArray(e)||"object"===t){var r=Array.isArray(e)?"array":"object";try{return{value:JSON.stringify(e),type:r}}catch(e){return{type:r}}}return"function"===t?{value:e.name,type:"function"}:null}(n);a?t.push((0,rE._)({name:r},a)):t.push({name:r})}}),t}function r$(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}}).fallback;return"u"<typeof window?t():e({window:window})}function rQ(e){if(e.appId&&e.apiKey)return[e.appId,e.apiKey];if(!e.transporter)return[e.applicationID,e.apiKey];var t=e.transporter,r=t.headers||t.baseHeaders,n=t.queryParameters||t.baseQueryParameters,a="x-algolia-application-id",i="x-algolia-api-key";return[r[a]||n[a],r[i]||n[i]]}function rK(e,t){for(var r,n=0;n<e.length;n++)if(t(r=e[n],n,e))return r}var rZ=r(24435);function rX(e){return e.transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua}var rJ="2.17.2",r1="https://cdn.jsdelivr.net/npm/search-insights@".concat(rJ,"/dist/search-insights.min.js"),r0=["searchClient","
1insightsClient","initialUiState"];function r2(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,r=e.insightsInitParams,n=e.onEvent,a=e.$$internal,i=void 0!==a&&a,o=e.$$automatic,s=void 0!==o&&o,l=t;t||null===t||r$(function(e){var t=e.window,r=t.AlgoliaAnalyticsObject||"aa";"string"==typeof r&&(l=t[r]),l||(t.AlgoliaAnalyticsObject=r,t[r]||(t[r]=function(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];t[r].queue||(t[r].queue=[]),t[r].queue.push(n)},t[r].version=rJ,t[r].shouldAddScript=!0),l=t[r])});var c=l||rZ.l;return function(e){var t,a,o,l=e.instantSearchInstance,u=l.middleware.filter(function(e){return"ais.insights"===e.instance.$$type&&e.instance.$$internal}).map(function(e){return e.creator});l.unuse.apply(l,(0,rC._)(u));var d=(0,rD._)(rQ(l.client),2),h=d[0],p=d[1],f=void 0,m=void 0,g=void 0,v=c.queue;Array.isArray(v)&&(m=(t=(0,rD._)(["setUserToken","init"].map(function(e){return(0,rD._)(rK(v.slice().reverse(),function(t){return(0,rD._)(t,1)[0]===e})||[],2)[1]}),2))[0],f=t[1]),c("getUserToken",null,function(e,t){g=r5(t)}),(r||!r3(c))&&c("init",(0,rE._)({appId:h,apiKey:p,partial:!0},r));var y=null;return{$$type:"ais.insights",$$internal:i,$$automatic:s,onStateChange:function(){},subscribe:function(){if(c.shouldAddScript){var e="[insights middleware]: could not load search-insights.js. Please load it manually following https://alg.li/insights-init";try{var t=document.createElement("script");t.async=!0,t.src=r1,t.onerror=function(){l.emit("error",Error(e))},document.body.appendChild(t),c.shouldAddScript=!1}catch(t){c.shouldAddScript=!1,l.emit("error",Error(e))}}},started:function(){c("addAlgoliaAgent","insights-middleware"),o=l.mainHelper;var e,t,u,d,p,v,b,x,T,E,C,w,k=c.queue;Array.isArray(k)&&(m=(E=(0,rD._)(["setUserToken","init"].map(function(e){return(0,rD._)(rK(k.slice().reverse(),function(t){return(0,rD._)(t,1)[0]===e})||[],2)[1]}),2))[0],f=E[1]),d=(null==(u=(e=l)._initialResults)||null==(t=u[e.indexName])?void 0:t.state)||{},p=e.mainHelper.state,a={userToken:d.userToken||p.userToken,clickAnalytics:d.clickAnalytics||p.clickAnalytics},s||o.overrideStateWithoutTriggeringChangeEvent((0,rL._)((0,rE._)({},o.state),{clickAnalytics:!0})),i||l.scheduleSearch();var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=r5(e);if(r){var n=o.state.userToken;t?a():setTimeout(a,0)}function a(){o.overrideStateWithoutTriggeringChangeEvent((0,rL._)((0,rE._)({},o.state),{userToken:r})),n&&n!==r&&(o._recommendCache={},l.scheduleSearch())}};function I(e){S(e,!0),c("setUserToken",e)}var P=void 0,_=function(){if(("u"<typeof document?"undefined":(0,rS._)(document))==="object"&&"string"==typeof document.cookie)for(var e="".concat("_ALGOLIA","="),t=document.cookie.split(";"),r=0;r<t.length;r++){for(var n=t[r];" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(e))return n.substring(e.length,n.length)}}();P=_||"anonymous-".concat(rM());var R=a.userToken;(null==r?void 0:r.userToken)&&(C=r.userToken),C?I(C):R?I(R):g?I(g):m?I(m):P&&(I(P),((null==r?void 0:r.useCookie)||(null==f?void 0:f.useCookie))&&(v=P,b=(null==r?void 0:r.cookieDuration)||(null==f?void 0:f.cookieDuration),(x=new Date).setTime(x.getTime()+(b||15552e6)),T="expires=".concat(x.toUTCString()),document.cookie="_ALGOLIA=".concat(v,";").concat(T,";path=/"))),c("onUserTokenChange",function(e){return S(e,!0)},{immediate:!0});var A=c;r3(c)&&(A=function(e,t){var r=(0,rD._)(rQ(l.client),2);return c(e,t,{headers:{"X-Algolia-Application-Id":r[0],"X-Algolia-API-Key":r[1]}})});var N=new Set;l.mainHelper.derivedHelpers[0].on("result",function(e){var t=e.results;t&&(!t.queryID||t.queryID!==w)&&(w=t.queryID,N.clear())}),l.sendEventToInsights=function(e){if(n)n(e,A);else if(e.insightsMethod){if("viewedObjectIDs"===e.insightsMethod){var t=e.payload,r=function(e){return t.queryID?"".concat(t.queryID,":").concat(e):e},a=t.objectIDs.filter(function(e){return!N.has(r(e))});if(0===a.length)return;a.forEach(function(e){return N.add(r(e))}),t.objectIDs=a}e.payload.algoliaSource=["instantsearch"],s&&e.payload.algoliaSource.pu
1sh("instantsearch-automatic"),"internal"===e.eventModifier&&e.payload.algoliaSource.push("instantsearch-internal"),A(e.insightsMethod,e.payload)}},r$(function(){var e=function(){if(rB)return rB;try{var e=sessionStorage.getItem(rq);if(e)return rB=e;return rB=rM(),sessionStorage.setItem(rq,rB),rB}catch(e){return rB=rM()}}(),t=function(){try{var t,r,n,a,i,s=Math.round(rU()-l._createdAt);n={eventName:"__start__",algoliaAgent:rX(l.client),version:rH,applicationId:h,performance:{bootstrapMs:s},widgets:[{type:"ais.instantSearch",params:l._initialOptions?rY((t=l._initialOptions,r=(0,rC._)(r0),null==t?t:Object.keys(t).reduce(function(e,n){return r.indexOf(n)>=0||(e[n]=t[n]),e},{}))):[],children:function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.mainIndex,a=rV(r,n,r._initialUiState);return t.map(function(t){var n={};if(t.getWidgetRenderState){var i=t.getWidgetRenderState(a);i&&i.widgetParams&&(n=i.widgetParams)}var o=rY(n),s=(0,rW.l)(t)?e(t.getWidgets(),r,t):[];return{type:t.$$widgetType||t.$$type||"unknown",params:o,children:s}})}(l.mainIndex.getWidgets(),l)}]},i=null==(a=o.state)?void 0:a.userToken,A("sendEvents",[(0,rE._)({eventType:"instantsearch",timestamp:Date.now(),sessionID:e,userToken:i?String(i):void 0},n)])}catch(e){}};l.once("render",t),y=function(){return l.removeListener("render",t)}})},unsubscribe:function(){y&&y(),c("onUserTokenChange",void 0),l.sendEventToInsights=rZ.l,o&&a&&(o.overrideStateWithoutTriggeringChangeEvent((0,rE._)({},o.state,a)),l.scheduleSearch())}}}}function r3(e){var t=(0,rD._)((e.version||"").split(".").map(Number),2),r=t[0],n=t[1];return r>=3||2===r&&n>=6||1===r&&n>=10}function r5(e){if(e)return"number"==typeof e?e.toString():e}var r4=r(97036),r8=function(e){e&&(window.document.title=e)},r6=function(){function e(t){var r=this,n=t.windowTitle,a=t.writeDelay,i=t.createURL,o=t.parseURL,s=t.getLocation,l=t.start,c=t.dispose,u=t.push,d=t.cleanUrlOnDispose;rI(this,e),(0,rR._)(this,"$$type","ais.browser"),(0,rR._)(this,"windowTitle",void 0),(0,rR._)(this,"writeDelay",void 0),(0,rR._)(this,"_createURL",void 0),(0,rR._)(this,"parseURL",void 0),(0,rR._)(this,"getLocation",void 0),(0,rR._)(this,"writeTimer",void 0),(0,rR._)(this,"_onPopState",void 0),(0,rR._)(this,"inPopState",!1),(0,rR._)(this,"isDisposed",!1),(0,rR._)(this,"latestAcknowledgedHistory",0),(0,rR._)(this,"_start",void 0),(0,rR._)(this,"_dispose",void 0),(0,rR._)(this,"_push",void 0),(0,rR._)(this,"_cleanUrlOnDispose",void 0),this.windowTitle=n,this.writeTimer=void 0,this.writeDelay=void 0===a?400:a,this._createURL=i,this.parseURL=o,this.getLocation=s,this._start=l,this._dispose=c,this._push=u,this._cleanUrlOnDispose=void 0===d||d,r$(function(e){var t=e.window;r8(r.windowTitle&&r.windowTitle(r.read())),r.latestAcknowledgedHistory=t.history.length})}return r_(e,[{key:"read",value:function(){return this.parseURL({qsModule:r4,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;r$(function(r){var n=r.window,a=t.createURL(e),i=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){r8(i),t.shouldWrite(a)&&(t._push?t._push(a):n.history.pushState(e,i||"",a),t.latestAcknowledgedHistory=n.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},r$(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:r4,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,r$(function(t){var r=t.window;e._onPopState&&r.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return r$(function(r){var n=r.window;if(t.isDisposed&&!t._cleanUrlOnDispose)return!1;var a=!(t.isDisposed&&t.latestAcknowledgedHistory!==n.history.length);return!t.inPopState&&a&&e!==n.location.href})}}]),e}();function r9(e){return e.configure,(0,rb._)(e,["configure"])}function r7(e){return e!==Object(e)}var ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,r=void 0===t?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,r=void 0===t?function(e){var t=e.qsModule,r=e.routeState,n=e.location,a=n.protocol,i=n.hostname,o=n.port,s=void 0===o?"":o,l=n.pathname,c=n.hash,u=t.stringify(r),d=""===s?"":":".concat(s);
1return u?"".concat(a,"//").concat(i).concat(d).concat(l,"?").concat(u).concat(c):"".concat(a,"//").concat(i).concat(d).concat(l).concat(c)}:t,n=e.parseURL,a=void 0===n?function(e){var t=e.qsModule,r=e.location;return t.parse(r.search.slice(1),{arrayLimit:99})}:n,i=e.writeDelay,o=e.windowTitle,s=e.getLocation;return new r6({createURL:r,parseURL:a,writeDelay:void 0===i?400:i,windowTitle:o,getLocation:void 0===s?function(){return r$(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:s,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}():t,n=e.stateMapping,a=void 0===n?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,r){return(0,rL._)((0,rE._)({},t),(0,rR._)({},r,r9(e[r])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];return(void 0===n?"undefined":(0,rS._)(n))!=="object"||null===n?t:(0,rL._)((0,rE._)({},t),(0,rR._)({},r,r9(n)))},{})}}:n,i=e.$$internal,o=void 0!==i&&i;return function(e){var t=e.instantSearchInstance;t._createURL=function(e){var n=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),i=Object.keys(e).reduce(function(t,r){return(0,rL._)((0,rE._)({},t),(0,rR._)({},r,e[r]))},n),o=a.stateToRoute(i);return r.createURL(o)};var n=void 0,i=t._initialUiState;return{$$type:"ais.router({router:".concat(r.$$type||"__unknown__",", stateMapping:").concat(a.$$type||"__unknown__","})"),$$internal:o,onStateChange:function(e){var t=e.uiState,i=a.stateToRoute(t);(void 0===n||!function e(t,r){if(t===r)return!0;if(r7(t)||r7(r)||"function"==typeof t||"function"==typeof r)return t===r;if(Object.keys(t).length!==Object.keys(r).length)return!1;var n=!0,a=!1,i=void 0;try{for(var o,s=Object.keys(t)[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;if(!(l in r)||!e(t[l],r[l]))return!1}}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return!0}(n,i))&&(r.write(i),n=i)},subscribe:function(){t._initialUiState=(0,rE._)({},i,a.routeToState(r.read())),r.onUpdate(function(e){t.mainIndex.getWidgets().length>0&&t.setUiState(a.routeToState(e))})},started:function(){var e;null==(e=r.start)||e.call(r)},unsubscribe:function(){r.dispose()}}}},nt=0;function nr(e){"recommend"===e.dependsOn&&(e.$$id=nt++)}function nn(e){for(var t=e.getParent(),r=[e.getHelper().state];null!==t;)r=[t.getHelper().state].concat(r),t=t.getParent();return r}var na=r(16039),ni=Promise.resolve();function no(e,t){var r=null,n=!1,a=null,i=function(){for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];if(null!==r){t&&null!==a&&(a=t(a,o));return}a=o,r=ni.then(function(){r=null;var t=a;if(a=null,n){n=!1;return}e.apply(void 0,(0,rC._)(t))})};return i.wait=function(){if(null===r)throw Error("The deferred function should be called before calling `wait()`");return r},i.cancel=function(){null!==r&&(n=!0)},i}var ns=r(85897),nl=(0,na.V)({name:"index-widget"});function nc(e,t){var r=t.state,n=t.recommendState,a=t.isPageReset,i=t._uiState;r!==e.state&&(e.state=r,e.emit("change",{state:e.state,results:e.lastResults,isPageReset:a,_uiState:i})),n!==e.recommendState&&(e.recommendState=n)}function nu(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,r){return!(0,rW.l)(r)&&(r.getWidgetUiState||r.getWidgetState)?r.getWidgetUiState?r.getWidgetUiState(e,t):r.getWidgetState(e,t):e},r)}function nd(e,t){var r=t.initialSearchParameters,n=(0,rb._)(t,["initialSearchParameters"]);return e.reduce(function(e,t){return!t.getWidgetSearchParameters||(0,rW.l)(t)?e:"search"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,n):t.getWidgetSearchParameters(e,n)},r)}function nh(e,t){var r=t.initialRecommendParameters,n=(0,rb._)(t,["initialRecommendParameters"]);return e.reduce(function(e,t){return!(0,rW.l)(t)&&"recommend"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,n):e},r)}var np=function(e){if(void 0===e||void 0===e.indexName&&!e.isolated&&!e.EXPERIMENTAL_isolated)throw Error(nl("The `indexName` option is required."));var t,r,n=e.indexName,a=void 0===n?"":n,i=e.indexId,o=void 0===i?a:i,s=e.isolated,l=void 0===s?null!=(t=e.EXPERIMENTAL_isolated)&&t:s,c=[],u={},d=null,h=null,p=null,f=null,m=null,g=function(){var e,t,r,n;d&&(r=(t=function e(t){return t.reduce(function(t,r){if((0,rW.l)(r)){if(r._isolated)return t;var n=e(r.getWidgets());return{hasSearchWidget:t.hasSearchWidget||n.hasSearchWidget,hasRecommendWidget:t.hasRecommendWidget||n.hasRecommendWidget}}return"recommend"===r.dependsOn?(0,rL._)((0,rE._)({},t),{hasRecommendWidget:!0}):"none"===r.dependsOn?t:(0,rL._)((0,rE._)({},t),{hasSearchWidget:!0})},{hasSearchWidget:!1,hasRecommendWidget:!1})}((e=d).mainIndex.getWidgets())).hasSearchWidget,n=t.hasRecommendWidget,e._hasSearchWidget=r,e._hasRecommendWidget=n)};return{$$type:"ais.index",$$widgetType:"ais.index",_isolated:l,getIndexName:function(){return a},getIndexId:function(){return o},getHelper:function(){return p},getResults:function(){return(null==f?void 0:f.lastResults)?(f.lastResults._state=p.state,f.lastResults):null},getResultsForWidget:function(e){return"recommend"!==e.dependsOn||(0,rW.l)(e)||void 0===e.$$id?this.getResults():(null==p?void 0:p.lastRecommendResults)?p.lastRecommendResults[e.$$id]:null},getPreviousState:function(){return m},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(rW.l).reduce(function(t,r){return t.concat.apply(t,[{indexId:r.getIndexId(),results:r.getResults(),helper:r.getHelper()}].concat((0,rC._)(e(r.getWidgets()))))},[])}(e?e.getWidgets():0===a.length?this.getWidgets():[this])},getParent:function(){return l?null:h},createURL:function(e){return"function"==typeof e?d._createURL((0,rR._)({},o,e(u))):d._createURL((0,rR._)({},o,nu(c,{searchParameters:e,helper:p})))},scheduleLocalSearch:no(function(){l&&(null==p||p.search())}),getWidgets:function(){return c},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(nl("The `addWidgets` method expects an array of widgets."));var r=e.reduce(function(e,t){return e.concat(Array.isArray(t)?t:[t])},[]);if(r.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(nl("The widget definition expects a `render` and/or an `init` method."));return r.forEach(function(e){e.parent=t,(0,rW.l)(e)||nr(e)}),c=c.concat(r),g(),d&&r.length&&(nc(p,{state:nd(c,{uiState:u,initialSearchParameters:p.state}),recommendState:nh(c,{uiState:u,initialRecommendParameters:p.recommendState}),_uiState:u}
1),r.forEach(function(e){e.getRenderState&&rz({renderState:e.getRenderState(d.renderState[t.getIndexId()]||{},rV(d,t,d._initialUiState)),instantSearchInstance:d,parent:t})}),r.forEach(function(e){e.init&&e.init(rV(d,t,d._initialUiState))}),l?this.scheduleLocalSearch():d.scheduleSearch()),this},updateWidget:function(e,t){if("function"!=typeof e.dispose)throw Error(nl("The widget definition expects a `dispose` method."));if("function"!=typeof t.init&&"function"!=typeof t.render)throw Error(nl("The widget definition expects a `render` and/or an `init` method."));var r=u;e.parent=void 0,t.parent=this,(0,rW.l)(t)||nr(t);var n=c.slice(),a=n.indexOf(e);if(-1===a?n.push(t):n[a]=t,c=n,g(),!d)return this;var i=e.dispose({helper:p,state:p.state,recommendState:p.recommendState,parent:this}),o=rN(i,rj.RecommendParameters)?i:p.recommendState,s=i&&!rN(i,rj.RecommendParameters)?i:p.state,h=d.future.preserveSharedStateOnUnmount?new rj.SearchParameters({index:this.getIndexName()}):s;u=nu(c,{searchParameters:nd(c,{uiState:r,initialSearchParameters:h}),helper:p});var f=nd(c,{uiState:u,initialSearchParameters:h});return nc(p,{state:f,recommendState:nh(c,{uiState:u,initialRecommendParameters:o}),_uiState:u}),t.getRenderState&&rz({renderState:t.getRenderState(d.renderState[this.getIndexId()]||{},rV(d,this,d._initialUiState)),instantSearchInstance:d,parent:this}),t.init&&t.init(rV(d,this,d._initialUiState)),l?this.scheduleLocalSearch():d.scheduleSearch(),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(nl("The `removeWidgets` method expects an array of widgets."));var r=e.reduce(function(e,t){return e.concat(Array.isArray(t)?t:[t])},[]);if(r.some(function(e){return"function"!=typeof e.dispose}))throw Error(nl("The widget definition expects a `dispose` method."));if(c=c.filter(function(e){return -1===r.indexOf(e)}),r.forEach(function(e){e.parent=void 0}),g(),d&&r.length){var n=r.reduce(function(e,r){var n=r.dispose({helper:p,state:e.cleanedSearchState,recommendState:e.cleanedRecommendState,parent:t});return rN(n,rj.RecommendParameters)?e.cleanedRecommendState=n:n&&(e.cleanedSearchState=n),e},{cleanedSearchState:p.state,cleanedRecommendState:p.recommendState}),a=n.cleanedSearchState,i=n.cleanedRecommendState,o=d.future.preserveSharedStateOnUnmount?nd(c,{uiState:u,initialSearchParameters:new rj.SearchParameters({index:this.getIndexName()})}):nd(c,{uiState:nu(c,{searchParameters:a,helper:p}),initialSearchParameters:a});u=nu(c,{searchParameters:o,helper:p}),p.setState(o),p.recommendState=i,c.length&&(l?this.scheduleLocalSearch():d.scheduleSearch())}return this},init:function(e){var t,r=this,n=e.instantSearchInstance,i=e.parent,s=e.uiState;if(null===p){d=n,h=i,u=s[o]||{};var v=n.mainHelper,y=nd(c,{uiState:u,initialSearchParameters:new rj.SearchParameters({index:a})}),b=nh(c,{uiState:u,initialRecommendParameters:new rj.RecommendParameters});(p=rj(v.getClient(),y.index,y)).recommendState=b,p.search=function(){return l?(n.status="loading",r.render({instantSearchInstance:n}),n.compositionID?p.searchWithComposition():p.searchOnlyWithDerivedHelpers()):n.onStateChange?(n.onStateChange({uiState:n.mainIndex.getWidgetUiState({}),setUiState:function(e){return n.setUiState(e,!1)}}),v):v.search()},p.searchWithoutTriggeringOnStateChange=function(){return v.search()},p.searchForFacetValues=function(e,t,n,a){var i=ns.p.apply(void 0,[v.state].concat((0,rC._)(nn(r)))).setQueryParameters(a);return v.searchForFacetValues(e,t,n,i)};var x=a?p:rj({},"__empty_index__",{});f=(l?x:function(e,t){for(;e;){if(e._isolated)return e.getHelper();e=e.getParent()}return t}(i,v)).derive(function(){return ns.p.apply(void 0,[v.state].concat((0,rC._)(nn(r))))},function(){return function(e,t){var r=t.userToken,n=t.clickAnalytics;if(void 0===r&&void 0===n)return e;var a=(0,rE._)({},void 0===n?{}:{clickAnalytics:n},void 0===r?{}:{userToken:r});return new rj.RecommendParameters({params:e.params.map(function(e){var t=e.queryParameters,r=e.fallbackParameters;return(0,rE._)((0,rL._)((0,rE._)({},e),{queryParameters:(0,rE._)({},a,t)}),r&&{fallbackParameters:(0,rE._)({},a,r)})})})}(r.getHelper().recommendState,v.state)});var T=null==(t=n._initialResults)?void 0:t[this.getIndexId()];if(null==T?void 0:T.results){var E=new rj.SearchResults(new rj.SearchParameters(T.state),T.results);f.lastResults=E,p.lastResults=E}if(null==T?void 0:T.recommendResults){var C=new rj.RecommendResults(new rj.RecommendParameters({params:T.recommendResults.params}),T.recommendResults.results);f.lastRecommendResults=C,p.lastRecommendResults=C}p.on("change",function(e){e.isPageReset&&function e(t){var r=t.filter(rW.l);0!==r.length&&r.forEach(function(t){var r=t.getHelper();nc(r,{state:r.state.resetPage(),recommendState:r.recommendState,isPageReset:!0}
1),e(t.getWidgets())})}(c)}),f.on("search",function(){n.scheduleStalledRender()}),f.on("result",function(e){var t=e.results;n.scheduleRender(),p.lastResults=t,m=null==t?void 0:t._state}),f.on("recommend:result",function(e){var t=e.recommend;n.scheduleRender(),p.lastRecommendResults=t.results}),c.forEach(function(e){e.getRenderState&&rz({renderState:e.getRenderState(n.renderState[r.getIndexId()]||{},rV(n,r,s)),instantSearchInstance:n,parent:r})}),c.forEach(function(e){e.init&&e.init(rV(n,r,s))}),p.on("change",function(e){var t=e.state,r=e._uiState;u=nu(c,{searchParameters:t,helper:p},r||{}),n.onStateChange||n.onInternalStateChange()}),T&&n.scheduleRender(),g()}},render:function(e){var t=this,n=e.instantSearchInstance;"error"!==n.status?r=void 0:n.error!==r&&!n.mainHelper.hasPendingRequests()&&m&&(r=n.error,p.setState(m));var i=this.getResults()||(null==f?void 0:f.lastRecommendResults)||l&&!a?c:c.filter(function(e){return e.shouldRender});(i=i.filter(function(e){return!e.shouldRender||e.shouldRender({instantSearchInstance:n})})).forEach(function(e){e.getRenderState&&rz({renderState:e.getRenderState(n.renderState[t.getIndexId()]||{},rG(n,t,e)),instantSearchInstance:n,parent:t})}
1),i.forEach(function(e){e.render&&e.render(rG(n,t,e))})},dispose:function(){var e=this;c.forEach(function(t){t.dispose&&p&&t.dispose({helper:p,state:p.state,recommendState:p.recommendState,parent:e})}),d=null,h=null,null==p||p.removeAllListeners(),p=null,null==f||f.detach(),f=null},getWidgetUiState:function(e){return c.filter(rW.l).filter(function(e){return!e._isolated}).reduce(function(e,t){return t.getWidgetUiState(e)},(0,rL._)((0,rE._)({},e),(0,rR._)({},o,(0,rE._)({},e[o],u))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var r=t.uiState;return nd(c,{uiState:r,initialSearchParameters:e})},shouldRender:function(){return!0},refreshUiState:function(){u=nu(c,{searchParameters:this.getHelper().state,helper:this.getHelper()},u)},setIndexUiState:function(e){var t="function"==typeof e?e(u):e;d.setUiState(function(e){return(0,rL._)((0,rE._)({},e),(0,rR._)({},o,t))})}}},nf=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.descendantName,n=t.modifierName;return"".concat("ais","-").concat(e).concat(r?"-".concat(r):"").concat(n?"--".concat(n):"")}},nm=r(7718),ng=r(45953),nv=nf("Highlight");function ny(e){var t=ng.sn.highlightPreTag,r=ng.sn.highlightPostTag;return e.map(function(e){return e.isHighlighted?t+e.value+r:e.value}).join("")}var nb=r(67202),nx=new RegExp(/\w/i);function nT(e){return e.some(function(e){return e.isHighlighted})?e.map(function(t,r){var n,a,i,o,s,l,c;return(0,rL._)((0,rE._)({},t),{isHighlighted:(s=e[r],l=null==(n=null==(i=e[r+1])?void 0:i.isHighlighted)||n,c=null==(a=null==(o=e[r-1])?void 0:o.isHighlighted)||a,nx.test((0,nb.x)(s.value))||c!==l?!s.isHighlighted:!c)})}):e.map(function(e){return(0,rL._)((0,rE._)({},e),{isHighlighted:!1})})}var nE=r(33764),nC=nf("ReverseHighlight"),nw=nf("Snippet"),nk=nf("ReverseSnippet");function nS(e){var t;return(null==(t=e.compositionFeedsResults)?void 0:t.length)?e.compositionFeedsResults:e.results||[]}function nI(e){var t=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[a++])})};return Object.keys(e).map(function(r){var n;return t("%s=%s",r,(n=e[r],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n))?JSON.stringify(e[r]):e[r])}).join("&")}function nP(e,t){var r=e[t.getIndexId()]||{};t.getHelper().setState(t.getWidgetSearchParameters(t.getHelper().state,{uiState:r})),t.getWidgets().filter(rW.l).forEach(function(t){return nP(e,t)})}var n_=(0,na.V)({name:"instantsearch"});function nR(){return"#"}var nA={preserveSharedStateOnUnmount:!1,persistHierarchicalRootCount:!1},nN=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(e){rI(this,t),r=function(e,t){t=rw(t);var r=rk()?Reflect.construct(t,[],rw(e).constructor):t.apply(e,void 0);if(r&&("object"===(0,rS._)(r)||"function"==typeof r))return r;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,t),(0,rR._)(r,"client",void 0),(0,rR._)(r,"indexName",void 0),(0,rR._)(r,"compositionID",void 0),(0,rR._)(r,"insightsClient",void 0),(0,rR._)(r,"onStateChange",null),(0,rR._)(r,"future",void 0),(0,rR._)(r,"helper",void 0),(0,rR._)(r,"mainHelper",void 0),(0,rR._)(r,"mainIndex",void 0),(0,rR._)(r,"started",void 0),(0,rR._)(r,"templatesConfig",void 0),(0,rR._)(r,"renderState",{}),(0,rR._)(r,"_stalledSearchDelay",void 0),(0,rR._)(r,"_searchStalledTimer",void 0),(0,rR._)(r,"_initialUiState",void 0),(0,rR._)(r,"_initialResults",void 0),(0,rR._)(r,"_manuallyResetScheduleSearch",!1),(0,rR._)(r,"_resetScheduleSearch",void 0),(0,rR._)(r,"_createURL",void 0),(0,rR._)(r,"_searchFunction",void 0),(0,rR._)(r,"_mainHelperSearch",void 0),(0,rR._)(r,"_hasSearchWidget",!1),(0,rR._)(r,"_hasRecommendWidget",!1),(0,rR._)(r,"_insights",void 0),(0,rR._)(r,"_initialOptions",void 0),(0,rR._)(r,"middleware",[]),(0,rR._)(r,"sendEventToInsights",void 0),(0,rR._)(r,"_createdAt",rU()),(0,rR._)(r,"status","idle"),(0,rR._)(r,"error",void 0),(0,rR._)(r,"scheduleSearch",no(function(){r.started&&r.mainHelper.search()})),(0,rR._)(r,"scheduleRender",no(function(){var e,t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(null==(e=r.mainHelper)?void 0:e.hasPendingRequests())||(clearTimeout(r._searchStalledTimer),r._searchStalledTimer=null,t&&(r.status="idle",r.error=void 0)),r.mainIndex.render({instantSearchInstance:r}),r.emit("render")},function(e,t){var r=(0,rD._)(e,1)[0],n=(0,rD._)(t,1)[0];return[void 0===r||r||void 0===n||n]})),(0,rR._)(r,"onInternalStateChange",no(function(){var e=r.mainIndex.getWidgetUiState({});r.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),r.setMaxListeners(100);var r,n=e.indexName,a=e.compositionID,i=e.numberLocale,o=e.initialUiState,s=e.routing,l=void 0===s?null:s,c=e.insights,u=void 0===c?void 0:c,d=e.searchFunction,h=e.stalledSearchDelay,p=e.searchClient,f=void 0===p?null:p,m=e.insightsClient,g=void 0===m?null:m,v=e.onStateChange,y=e.future,b=void 0===y?(0,rE._)({},nA,e.future||{}):y;if(null===f)throw Error(n_("The `searchClient` option is required."));if("function"!=typeof f.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof f.addAlgoliaAgent&&f.addAlgoliaAgent("instantsearch.js (".concat(rH,")")),g&&"function"!=typeof g)throw Error(n_("The `insightsClient` option should be a function."));if(r._initialOptions=e,r.client=f,r.future=b,r.insightsClient=g,r.indexName=void 0===n?"":n,r.compositionID=a,r.helper=null,r.mainHelper=null,r.mainIndex=np({indexName:r.compositionID||r.indexName}),r.onStateChange=void 0===v?null:v,r.started=!1,r.templatesConfig={helpers:{formatNumber:function(e,t){var r;
1return r=Number(t(e)),r.toLocaleString(i)},highlight:function(e,t){try{var r,n,a,i,o,s,l,c,u,d=JSON.parse(e);return t((n=(r=(0,rL._)((0,rE._)({},d),{hit:this})).attribute,a=r.highlightedTagName,i=void 0===a?"mark":a,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,c=((0,nm.E)(o._highlightResult,n)||{}).value,u=nv({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),(void 0===c?"":c).replace(RegExp(ng.sn.highlightPreTag,"g"),"<".concat(i,' class="').concat(u,'">')).replace(RegExp(ng.sn.highlightPostTag,"g"),"</".concat(i,">"))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var r,n,a,i,o,s,l,c,u,d=JSON.parse(e);return t((n=(r=(0,rL._)((0,rE._)({},d),{hit:this})).attribute,a=r.highlightedTagName,i=void 0===a?"mark":a,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,c=((0,nm.E)(o._highlightResult,n)||{}).value,u=nC({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),ny(nT((0,nE.I)(void 0===c?"":c))).replace(RegExp(ng.sn.highlightPreTag,"g"),"<".concat(i,' class="').concat(u,'">')).replace(RegExp(ng.sn.highlightPostTag,"g"),"</".concat(i,">"))))}catch(e){throw Error('\n  The reverseHighlight helper expects a JSON object of the format:\n  { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var r,n,a,i,o,s,l,c,u,d=JSON.parse(e);return t((n=(r=(0,rL._)((0,rE._)({},d),{hit:this})).attribute,a=r.highlightedTagName,i=void 0===a?"mark":a,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,c=((0,nm.E)(o._snippetResult,n)||{}).value,u=nw({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),(void 0===c?"":c).replace(RegExp(ng.sn.highlightPreTag,"g"),"<".concat(i,' class="').concat(u,'">')).replace(RegExp(ng.sn.highlightPostTag,"g"),"</".concat(i,">"))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var r,n,a,i,o,s,l,c,u,d=JSON.parse(e);return t((n=(r=(0,rL._)((0,rE._)({},d),{hit:this})).attribute,a=r.highlightedTagName,i=void 0===a?"mark":a,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,c=((0,nm.E)(o._snippetResult,n)||{}).value,u=nk({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),ny(nT((0,nE.I)(void 0===c?"":c))).replace(RegExp(ng.sn.highlightPreTag,"g"),"<".concat(i,' class="').concat(u,'">')).replace(RegExp(ng.sn.highlightPostTag,"g"),"</".concat(i,">"))))}catch(e){throw Error('\n  The reverseSnippet helper expects a JSON object of the format:\n  { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var r,n=JSON.parse(e),a=n.method,i=n.payload;return t((r=(0,rE._)({objectIDs:[this.objectID]},i),function(e){var t,r=e.method,n=e.payload;if((void 0===n?"undefined":(0,rS._)(n))!=="object")throw Error("The insights helper expects the payload to be an object.");try{t=(0,rF.h)(n)}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(r,'" data-insights-payload="').concat(t,'"')}({method:a,payload:r})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},r._stalledSearchDelay=void 0===h?200:h,r._searchStalledTimer=null,r._createURL=nR,r._initialUiState=void 0===o?{}:o,r._initialResults=null,r._insights=u,d&&(r._searchFunction=d),r.sendEventToInsights=rZ.l,l){var x="boolean"==typeof l?{}:l;x.$$internal=!0,r.use(ne(x))}if(u){var T="boolean"==typeof u?{}:u;T.$$internal=!0,r.use(r2(T))}return r$(function(e){var t,r;return(null==(r=e.window.navigator)||null==(t=r.userAgent)?void 0:t.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&r.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,r=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,n={widgets:[]},a=document.createElement("meta"),i=document.querySelector("head");return a.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:r,onStateChange:function(){},subscribe:function(){setTimeout(function(){n.ua=rX(t.client),function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.mainIndex,i=rV(r,a,r._initialUiState);t.forEach(function(t){var a={};
1if(t.getWidgetRenderState){var o=t.getWidgetRenderState(i);o&&o.widgetParams&&(a=o.widgetParams)}var s=Object.keys(a).filter(function(e){return void 0!==a[e]});n.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:s}),(0,rW.l)(t)&&e(t.getWidgets(),r,n,t)})}(t.mainIndex.getWidgets(),t,n),t.middleware.forEach(function(e){return n.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),a.content=JSON.stringify(n),i.appendChild(a)},0)},started:function(){},unsubscribe:function(){a.remove()}}}}({$$internal:!0})),r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rA(t,e),r_(t,[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r.map(function(t){var r=(0,rE._)({$$type:"__unknown__",$$internal:!1,subscribe:rZ.l,started:rZ.l,unsubscribe:rZ.l,onStateChange:rZ.l},t({instantSearchInstance:e}));return e.middleware.push({creator:t,instance:r}),r});return this.started&&a.forEach(function(e){e.subscribe(),e.started()}),this}},{key:"unuse",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.middleware.filter(function(e){return t.includes(e.creator)}).forEach(function(e){return e.instance.unsubscribe()}),this.middleware=this.middleware.filter(function(e){return!t.includes(e.creator)}),this}},{key:"EXPERIMENTAL_use",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.use.apply(this,(0,rC._)(t))}},{key:"addWidget",value:function(e){return this.addWidgets([e])}},{key:"addWidgets",value:function(e){if(!Array.isArray(e))throw Error(n_("The `addWidgets` method expects an array of widgets. Please use `addWidget`."));if(this.compositionID&&e.some(function(e){return!Array.isArray(e)&&(0,rW.l)(e)&&!e._isolated}))throw Error(n_("The `index` widget cannot be used with a composition-based InstantSearch implementation."));return this.mainIndex.addWidgets(e),this}},{key:"removeWidget",value:function(e){return this.removeWidgets([e])}},{key:"removeWidgets",value:function(e){if(!Array.isArray(e))throw Error(n_("The `removeWidgets` method expects an array of widgets. Please use `removeWidget`."));return this.mainIndex.removeWidgets(e),this}},{key:"start",value:function(){var e=this;if(this.started)throw Error(n_("The `start` method has already been called once."));var t=this.mainHelper||rj(this.client,this.indexName,void 0,{persistHierarchicalRootCount:this.future.persistHierarchicalRootCount});if(this.compositionID&&(t.searchForFacetValues=t.searchForCompositionFacetValues.bind(t)),t.search=function(){var r=e._hasSearchWidget||e._hasRecommendWidget;return r&&(e.status="loading"),e.scheduleRender(!r),e._hasSearchWidget&&(e.compositionID?t.searchWithComposition():t.searchOnlyWithDerivedHelpers()),e._hasRecommendWidget&&t.recommend(),t},this._searchFunction){var r={search:function(){return new Promise(rZ.l)}};this._mainHelperSearch=t.search.bind(t),t.search=function(){var n=e.mainIndex.getHelper(),a=rj(r,n.state.index,n.state);return a.once("search",function(t){var r=t.state;n.overrideStateWithoutTriggeringChangeEvent(r),e._mainHelperSearch()}),a.on("change",function(e){var t=e.state;n.setState(t)}),e._searchFunction(a),t}}if(t.on("error",function(t){var r=t.error;if(!rN(r,Error)){var n=r;r=Object.keys(n).reduce(function(e,t){return e[t]=n[t],e},Error(n.message))}r.error=r,e.error=r,e.status="error",e.scheduleRender(!e._hasSearchWidget&&!e._hasRecommendWidget),e.emit("error",r)}),this.mainHelper=t,this.middleware.forEach(function(e){e.instance.subscribe()}),this.mainIndex.init({instantSearchInstance:this,parent:null,uiState:this._initialUiState}),this._initialResults){!function(e,t){if(t&&("transporter"in e&&!e._cacheHydrated||e._useCache&&"function"==typeof e.addAlgoliaAgent)){var r=[Object.keys(t).reduce(function(e,r){var n=t[r],a=n.state,i=n.requestParams,o=nS(n),s=o&&a?o.map(function(e,t){return(0,rE._)({indexName:a.index||e.index},(null==i?void 0:i[t])||e.params?{params:nI((null==i?void 0:i[t])||e.params.split("&").reduce(function(e,t){var r=(0,rD._)(t.split("="),2),n=r[0],a=r[1];return e[n]=a?decodeURIComponent(a):"",e},{}))}:{})}):[];return e.concat(s)},[])],n=Object.keys(t).reduce(function(e,r){var n=nS(t[r]);return n?e.concat(n):e},[]);if("transporter"in e&&!e._cacheHydrated){e._cacheHydrated=!0;var a=e.search.bind(e);e.search=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o=Array.isArray(t)?t.map(function(e){return(0,rL._)((0,rE._)({},e),{params:nI(e.params)})}):nI(t.requestBody.params);return e.transporter.responsesCache.get({method:"search",args:[o].concat((0,rC._)(n))},function(){return a.apply(void 0,[t].concat((0,rC._)(n)))})},e.transporter.responsesCache.set({method:"search",args:r},{results:n})}if(!("transporter"in e)){var i="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:r}));e.cache=(0,rL._)((0,rE._)({},e.cache),(0,rR._)({},i,JSON.stringify({results:Object.keys(t).map(function(e){return nS(t[e])})})))}}}(this.client,this._initialResults),this.mainHelper._recommendCache=Object.keys(n=this._initialResults).reduce(function(e,t){var r=n[t];return r.recommendResults?(0,rE._)({},e,r.recommendResults.results):e},{});var n,a=this.scheduleSearch;this.scheduleSearch=no(rZ.l),this._manuallyResetScheduleSearch?this._resetScheduleSearch=function(){e.scheduleSearch=a}:no(function(){e.scheduleSearch=a})()}else this.mainIndex.getWidgets().length>0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights})&&e.use(r2({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null==(e=this.mainHelper)||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()}),this._initialOptions=null}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(n_("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var n="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&r?this.onStateChange({uiState:n,setUiState:function(e){nP("function"==typeof e?e(n):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(nP(n,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(n_("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(n_("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}]),t}
1(rO),nD=r(27133),nO="7.50.0",nj=r(13823),nL=r(63854),nM=r(15308),nH=r(80095),nF=r(29143),nq=["react (".concat(z.version,")"),"react-instantsearch (".concat(nO,")"),"react-instantsearch-core (".concat(nO,")")],nB="react-instantsearch-server (".concat(nO,")");function nU(e,t){"function"==typeof e.addAlgoliaAgent&&t.filter(Boolean).forEach(function(t){e.addAlgoliaAgent(t)})}function nW(e){var t=e.children,r=function(e){var t=(0,rD._)((0,z.useReducer)(function(e){return e+1},0),2)[1],r=(0,nL.r)(),n=(0,nM.m)(),a=(0,nH.t)().waitForResultsRef,i=null==n?void 0:n.initialResults,o=(0,z.useRef)(e),s=r||i||a,l=(0,z.useRef)(null);if((null==n?void 0:n.ssrSearchRef)&&(l=n.ssrSearchRef),null===l.current){var c,u,d=new nN(e);d._schedule=function(e){d._schedule.queue.push(e),clearTimeout(d._schedule.timer),d._schedule.timer=setTimeout(function(){d._schedule.queue.forEach(function(e){e()}),d._schedule.queue=[]},0)},d._schedule.queue=[],s&&(d._initialResults=i||{},d._manuallyResetScheduleSearch=!0),nU(e.searchClient,(0,rC._)(nq).concat([r&&nB,(u="u">typeof window&&(null==(c=window.next)?void 0:c.version)||(void 0!==nF?null==nF.env?void 0:"":void 0))?"next.js (".concat(u,")"):null])),s&&d.start(),r&&r.notifyServer({search:d}),e.routing,l.current=d}var h,p=l.current,f=o.current;f.indexName!==e.indexName&&(p.helper.setIndex(e.indexName||"").search(),o.current=e),f.searchClient!==e.searchClient&&(nU(e.searchClient,(0,rC._)(nq).concat([r&&nB])),p.mainHelper.setClient(e.searchClient).search(),o.current=e),f.onStateChange!==e.onStateChange&&(p.onStateChange=e.onStateChange,o.current=e),f.searchFunction!==e.searchFunction&&(p._searchFunction=e.searchFunction,o.current=e),f.stalledSearchDelay!==e.stalledSearchDelay&&(p._stalledSearchDelay=null!=(h=e.stalledSearchDelay)?h:200,o.current=e),(0,nj.j)(f.future,e.future)||(p.future=(0,rE._)({},nA,e.future),o.current=e);var m=(0,z.useRef)(null);return(0,nD.useSyncExternalStore)((0,z.useCallback)(function(){var e=l.current;return null===m.current?e.started||(e.start(),t()):(clearTimeout(m.current),e._preventWidgetCleanup=!1),function(){null!=n&&n.ssrSearchRef||(clearTimeout(e._schedule.timer),m.current=setTimeout(function(){e.dispose()}),e._preventWidgetCleanup=!0)}},[t,n]),function(){return l.current},function(){return l.current})}((0,rb._)(e,["children"]));return r.started?z.createElement(rT.t.Provider,{value:r},z.createElement(rx.m.Provider,{value:r.mainIndex},t,z.createElement(nV,{search:r}))):null}function nV(e){var t=e.search;return(0,z.useEffect)(function(){t._resetScheduleSearch&&t._resetScheduleSearch()},[t]),null}var nG=r(38070),nz=r(81619),nY=r(5168),n$=r(70606);let nQ=e=>{let t,r,n,a,i=(0,y.c)(12),{children:o,config:s,path:l}=e;i[0]!==s.locale||i[1]!==s.lottery?(t=(0,nY.Q)(s.locale,s.lottery),i[0]=s.locale,i[1]=s.lottery,i[2]=t):t=i[2];let c=t;return i[3]!==c?(r=()=>(0,v.jsx)(n$.M,{i18nData:c,statusCode:0}),i[3]=c,i[4]=r):r=i[4],i[5]!==s.lottery||i[6]!==l?(n=e=>{(0,nG.Oz)(e,0,{lottery:s.lottery,path:l})},i[5]=s.lottery,i[6]=l,i[7]=n):n=i[7],i[8]!==o||i[9]!==r||i[10]!==n?(a=(0,v.jsx)(nz.tH,{FallbackComponent:r,onError:n,children:o}),i[8]=o,i[9]=r,i[10]=n,i[11]=a):a=i[11],a};var nK=r(8973),nZ=r(15440),nX=r(64776);function nJ(e){let t,r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function a(){return JSON.parse(n().getItem(r)||"{}")}function i(){return new Promise(e=>setTimeout(e,0))}return{get:(t,o,s={miss:()=>Promise.resolve()})=>i().then(()=>{let i,l,c,u,{namespace:d,changed:h}=(i=e.timeToLive?1e3*e.timeToLive:null,l=a(),c=new Date().getTime(),u=!1,{namespace:Object.fromEntries(Object.entries(l).filter(([,e])=>e&&void 0!==e.timestamp&&(!i||!(e.timestamp+i<c))||(u=!0,!1))),changed:u}),p=d[JSON.stringify(t)];return(h&&n().setItem(r,JSON.stringify(d)),p)?p.value:o().then(e=>s.miss(e).then(()=>e))}),set:(e,t)=>i().then(()=>{let i=a();return i[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(i)),t}),delete:e=>i().then(()=>{let t=a();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}function n1(e){let t=[...e.caches],r=t.shift();return void 0===r?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,n,a={miss:()=>Promise.resolve()})=>r.get(e,n,a).catch(()=>
1n1({caches:t}).get(e,n,a)),set:(e,n)=>r.set(e,n).catch(()=>n1({caches:t}).set(e,n)),delete:e=>r.delete(e).catch(()=>n1({caches:t}).delete(e)),clear:()=>r.clear().catch(()=>n1({caches:t}).clear())}}function n0(e={serializable:!0}){let t={};return{get(r,n,a={miss:()=>Promise.resolve()}){let i=JSON.stringify(r);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);let o=n();return o.then(e=>a.miss(e)).then(()=>o)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function n2(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}function n3({func:e,validate:t,aggregator:r,error:n,timeout:a=()=>0}){let i=o=>new Promise((s,l)=>{e(o).then(async e=>(r&&await r(e),await t(e))?s(e):n&&await n.validate(e)?l(Error(await n.message(e))):setTimeout(()=>{i(e).then(s).catch(l)},await a())).catch(e=>{l(e)})});return i()}function n5({algoliaAgents:e,client:t,version:r}){let n,a=(n={value:`Algolia for JavaScript (${r})`,add(e){let t=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===n.value.indexOf(t)&&(n.value=`${n.value}${t}`),n}}).add({segment:t,version:r});return e.forEach(e=>a.add(e)),a}function n4(){return{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()}}function n8(e,t){e.warn?Promise.resolve(e.warn(t)).catch(()=>{}):console.warn(t)}async function*n6(e){let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}async function*n9(e){let t=new TextDecoder("utf-8"),r=[],n=0,a=!1,i=!0;for await(let o of Symbol.asyncIterator in e?e:n6(e)){let e=t.decode(o,{stream:!0}),s=0;for(a&&(a=!1,e.length>0&&"\n"===e[0]&&(s=1));s<e.length;){let t,o,l=e.indexOf("\r",s),c=e.indexOf("\n",s);if(-1===l&&-1===c){let t=e.slice(s);if(r.push(t),(n+=t.length)>0xa00000)throw Error("SSE line buffer exceeded 10MB");break}-1!==l&&(-1===c||l<c)?(t=l,l+1<e.length?o="\n"===e[l+1]?2:1:(a=!0,o=1)):(t=c,o=1);let u=e.slice(s,t);r.push(u);let d=1===r.length?r[0]:r.join("");r.length=0,n=0,i&&(d.startsWith("\uFEFF")&&(d=d.slice(1)),i=!1),yield d,s=t+o}}let o=t.decode();if(o&&r.push(o),r.length>0){let e=r.join("");i&&e.startsWith("\uFEFF")&&(e=e.slice(1)),yield e}}var n7=class{data=[];eventType="";lastEventId=null;retry=null;decode(e){let t,r;if(""===e)return this.dispatch();if(":"===e[0])return null;let n=e.indexOf(":");switch(-1===n?(t=e,r=""):(t=e.slice(0,n)," "===(r=e.slice(n+1))[0]&&(r=r.slice(1))),t){case"data":this.data.push(r);break;case"event":this.eventType=r;break;case"id":r.includes("\0")||(this.lastEventId=r);break;case"retry":/^[0-9]+$/.test(r)&&(this.retry=parseInt(r,10))}return null}dispatch(){let e=this.eventType;if(this.eventType="",0===this.data.length)return null;let t={data:this.data.join("\n"),event:e,id:this.lastEventId,retry:this.retry};return this.data=[],t}};async function*ae(e){let t=new n7;for await(let r of n9(e)){let e=t.decode(r);null!==e&&(yield e)}}function at(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var ar=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},an=class extends ar{stackTrace;correlationId;constructor(e,t,r,n){super(n?`${e} (Correlation-ID: ${n})`:e,r),this.stackTrace=t,this.correlationId=n}},aa=class extends an{constructor(e,t){super("Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support",e,"RetryError",t)}},ai=class extends an{status;constructor(e,t,r,n="ApiError",a){super(e,r,n,a),this.status=t}},ao=class extends ar{response;correlationId;constructor(e,t,r){super(r?`${e} (Correlation-ID: ${r})`:e,"DeserializationError"),this.response=t,this.correlationId=r}},as=class extends ai{error;constructor(e,t,r,n,a){super(e,t,n,"DetailedApiError",a),this.error=r}};function al(e){for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function ac(e,t,r){var n;let a=Object.keys(n=r).filter(e=>void 0!==n[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(n[e])?n[e].join(","):n[e]).replace(/\+/g,"%20")}`).join("&"),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return a.length&&(i+=`?${a}`),i}function au(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}function ad(e,t,r){let n={Accept:"application/json",...e,...t,...r},a={};
1return Object.keys(n).forEach(e=>{let t=n[e];a[e.toLowerCase()]=t}),a}function ah(e){if(204!==e.status&&0!==e.content.length)try{return JSON.parse(e.content)}catch(t){throw new ao(t.message,e,ap(e.headers))}}function ap(e){if(!e)return;if(void 0!==e["correlation-id"])return e["correlation-id"];let t=Object.keys(e).find(e=>"correlation-id"===e.toLowerCase());return void 0===t?void 0:e[t]}var af="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";function am(){var e;let t="";if("function"==typeof(null==(e=globalThis.crypto)?void 0:e.getRandomValues)){let e=new Uint8Array(11);for(let r of(globalThis.crypto.getRandomValues(e),e))t+=af[r%af.length];return t}for(let e=0;e<11;e++)t+=af[Math.floor(Math.random()*af.length)];return t}function ag(e,t){return void 0!==e&&Object.keys(e).some(e=>"request-id"===e.toLowerCase())||void 0!==t&&Object.keys(t).some(e=>"x-algolia-request-id"===e.toLowerCase())}function av(e,t){return void 0===e.requestIdChannel||ag(e.baseHeaders,e.baseQueryParameters)||ag(null==t?void 0:t.headers,null==t?void 0:t.queryParameters)?t:"headers"===e.requestIdChannel?{...t,headers:{...null==t?void 0:t.headers,"request-id":am()}}:{...t,queryParameters:{...null==t?void 0:t.queryParameters,"x-algolia-request-id":am()}}}var ay=/^HTTP 429(?:\D|$)/;function ab(e){var t;let r=null==(t=null==e?void 0:e["retry-after"])?void 0:t.trim();if(void 0===r||0===r.length||!/^\d+$/.test(r))return 1e3;let n=Number.parseInt(r,10);return n<=0?1e3:1e3*n}function ax(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function aT({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:a,algoliaAgent:i,timeouts:o,requester:s,requestsCache:l,responsesCache:c,compress:u,compression:d,requestIdChannel:h,maxRateLimitRetries:p=3}){function f(e,t){void 0===h||void 0!==e["request-id"]||Object.keys(t).some(e=>"x-algolia-request-id"===e.toLowerCase())||("headers"===h?e["request-id"]=am():t["x-algolia-request-id"]=am())}let m=e=>new Promise(t=>{setTimeout(t,e)});async function g(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(at(e))))),n=r.filter(e=>e.isUp()),a=r.filter(e=>e.isTimedOut()),i=[...n,...a];return{hosts:i.length>0?i:e,getTimeout:(e,t)=>(0===a.length&&0===e?1:a.length+3+e)*t}}async function v(l,c,h){let v=[],y=au(l,c),b=ad(r,l.headers,c.headers),x="gzip"===d&&void 0!==y&&y.length>750&&("POST"===l.method||"PUT"===l.method);x&&void 0===u&&n.info("Compression is disabled because no compress method is available.");let T=x&&void 0!==u,E=T?await u(y):y;T&&(b["content-encoding"]="gzip");let C="GET"===l.method?{...l.data,...c.data}:{},w={...a,...l.queryParameters,...C};if(i.value&&(w["x-algolia-agent"]=i.value),c&&c.queryParameters)for(let e of Object.keys(c.queryParameters))c.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(c.queryParameters[e])?w[e]=c.queryParameters[e].toString():w[e]=c.queryParameters[e];f(b,w);let k=0,S=p,I=async(e,r)=>{let a=e.pop();if(void 0===a)throw new aa(v.map(e=>ax(e)),function(e){for(let t=e.length-1;t>=0;t--){let r=ap(e[t].response.headers);if(void 0!==r)return r}}(v));let i={...o,...c.timeouts},u={data:E,headers:b,method:l.method,url:ac(a,l.path,w),connectTimeout:r(k,i.connect),responseTimeout:r(k,h?i.read:i.write)},d=t=>{let r={request:u,response:t,host:a,triesLeft:e.length};return v.push(r),r},p=await s.send(u);if(function({status:e}){return 429==~~e}(p)&&S>0){S--,e.push(a);let t=d(p),i=ab(p.headers);return n.info("Retryable failure",{...ax(t),wait:i,rateLimitRetriesLeft:S}),await m(i),I(e,r)}if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(p)){let i=d(p);return p.isTimedOut&&k++,n.info("Retryable failure",ax(i)),await t.set(a,at(a,p.isTimedOut?"timed out":"down")),I(e,r)}if(function({status:e}){return 2==~~(e/100)}(p))return p;throw d(p),function(e,t){let{content:r,status:n}=e,a=ap(e.headers);try{let e=JSON.parse(r);if("error"in e)return new as(e.message,n,e.error,t,a);return new ai(e.message,n,t,"ApiError",a)}catch{}return new ai(r,n,t,"ApiError",a)}(p,v)},P=e.filter(e=>"readWrite"===e.accept||(h?"read"===e.accept:"write"===e.accept)),_=await g(P);return I([..._.hosts].reverse(),_.getTimeout)}async function*y(t,l={}){if(!s.sendStream)throw Error("This requester does not support streaming");let c=au(t,l),u=ad(r,t.headers,l.headers);u.accept="text/event-stream";let d="GET"===t.method?{...t.data,...l.data}:{},h={...a,...t.queryParameters,...d};if(i.value&&(h["x-algolia-agent"]=i.value),l&&l.queryParameters)for(let e of Object.keys(l.queryParameters))l.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(l.queryParameters[e])?h[e]=l.queryParameters[e].toString():h[e]=l.queryParameters[e];f(u,h);let v=t.useReadTransporter||"GET"===t.method,b=e.filter(e=>"readWrite"===e.accept||(v?"read"===e.accept:"write"===e.accept)),x=(await g(b)).hosts[0];if(!x)throw new aa([]);let T={...o,...l.timeouts},E={data:c,headers:u,method:t.method,url:ac(x,t.path,h),connectTimeout:T.connect,responseTimeout:v?T.read:T.write},C=p;for(;;){let e;try{e=await s.sendStream(E)}catch(e){if(("object"==typeof e&&null!==e&&"status"in e?function({status:e}){return 429==~~e}(e):e instanceof Error&&ay.test(e.message))&&C>0){C--;let t=ab(function(e){if("object"==typeof e&&null!==e&&"headers"in e)return e.headers}(e));
1n.info("Retryable failure",{wait:t,rateLimitRetriesLeft:C,host:x}),await m(t);continue}throw e}yield*ae(e);return}}return{hostsCache:t,requester:s,timeouts:o,logger:n,algoliaAgent:i,baseHeaders:r,baseQueryParameters:a,requestIdChannel:h,hosts:e,maxRateLimitRetries:p,request:function(e,t={}){let n=()=>v(e,t,i).then(e=>ah(e)),i=e.useReadTransporter||"GET"===e.method;if(!0!==(t.cacheable||e.cacheable))return n();let o={request:e,requestOptions:t,transporter:{queryParameters:a,headers:r}};return c.get(o,()=>l.get(o,()=>l.set(o,n()).then(e=>Promise.all([l.delete(o),e]),e=>Promise.all([l.delete(o),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>c.set(o,e)})},requestWithHttpInfo:function(e,t={}){let r=e.useReadTransporter||"GET"===e.method;return v(e,t,r).then(e=>({status:e.status,headers:e.headers,content:e.content,data:ah(e)}))},requestStream:y,requestsCache:l,responsesCache:c}}function aE(e,t,r){if(null==r||"string"==typeof r&&0===r.length)throw Error(`Parameter \`${e}\` is required when calling \`${t}\`.`)}function aC(){return{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),a=n(e.connectTimeout,"Connection timeout"),i;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===i&&(clearTimeout(a),i=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(a),clearTimeout(i),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(a),clearTimeout(i),t({content:r.responseText,headers:function(e){let t={};for(let r of e.trim().split(/[\r\n]+/)){let e=r.indexOf(": ");e>0&&(t[r.slice(0,e).toLowerCase()]=r.slice(e+2))}return t}(r.getAllResponseHeaders()),status:r.status,isTimedOut:!1})},r.send(e.data)})}}}var aw="1.25.0",ak=["de","us"];function aS(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!ak.includes(r)))throw Error(`\`region\` must be one of the following: ${ak.join(", ")}`);let{compression:a,...i}=n||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:a,...i}){let o=n2(e,t,r),s=aT({hosts:[{url:a?"analytics.{region}.algolia.com".replace("{region}",a):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...i,algoliaAgent:n5({algoliaAgents:n,client:"AbtestingV3",version:aw}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},addABTests:(e,t)=>(aE("addABTestsRequest","addABTests",e),aE("addABTestsRequest.name","addABTests",e.name),aE("addABTestsRequest.variants","addABTests",e.variants),aE("addABTestsRequest.metrics","addABTests",e.metrics),aE("addABTestsRequest.endAt","addABTests",e.endAt),s.request({method:"POST",path:"/3/abtests",queryParameters:{},headers:{},data:e},t)),addABTestsWithHTTPInfo:(e,t)=>(aE("addABTestsRequest","addABTestsWithHTTPInfo",e),aE("addABTestsRequest.name","addABTestsWithHTTPInfo",e.name),aE("addABTestsRequest.variants","addABTestsWithHTTPInfo",e.variants),aE("addABTestsRequest.metrics","addABTestsWithHTTPInfo",e.metrics),aE("addABTestsRequest.endAt","addABTestsWithHTTPInfo",e.endAt),s.requestWithHttpInfo({method:"POST",path:"/3/abtests",queryParameters:{},headers:{},data:e},t)),customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return s.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return s.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},deleteABTest({id:e},t){aE("id","deleteABTest",e);let r="/3/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteABTestWithHTTPInfo({id:e},t){aE("id","deleteABTestWithHTTPInfo",e);let r="/3/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},estimateABTest:(e,t)=>
1(aE("estimateABTestRequest","estimateABTest",e),aE("estimateABTestRequest.configuration","estimateABTest",e.configuration),aE("estimateABTestRequest.variants","estimateABTest",e.variants),s.request({method:"POST",path:"/3/abtests/estimate",queryParameters:{},headers:{},data:e},t)),estimateABTestWithHTTPInfo:(e,t)=>(aE("estimateABTestRequest","estimateABTestWithHTTPInfo",e),aE("estimateABTestRequest.configuration","estimateABTestWithHTTPInfo",e.configuration),aE("estimateABTestRequest.variants","estimateABTestWithHTTPInfo",e.variants),s.requestWithHttpInfo({method:"POST",path:"/3/abtests/estimate",queryParameters:{},headers:{},data:e},t)),getABTest({id:e},t){aE("id","getABTest",e);let r="/3/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getABTestWithHTTPInfo({id:e},t){aE("id","getABTestWithHTTPInfo",e);let r="/3/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTimeseries({id:e,startDate:t,endDate:r,metric:n},a){aE("id","getTimeseries",e);let i="/3/abtests/{id}/timeseries".replace("{id}",encodeURIComponent(e)),o={};return void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.metric=n.toString()),s.request({method:"GET",path:i,queryParameters:o,headers:{}},a)},getTimeseriesWithHTTPInfo({id:e,startDate:t,endDate:r,metric:n},a){aE("id","getTimeseriesWithHTTPInfo",e);let i="/3/abtests/{id}/timeseries".replace("{id}",encodeURIComponent(e)),o={};return void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.metric=n.toString()),s.requestWithHttpInfo({method:"GET",path:i,queryParameters:o,headers:{}},a)},listABTests({offset:e,limit:t,indexPrefix:r,indexSuffix:n,direction:a}={},i){let o={};return void 0!==e&&(o.offset=e.toString()),void 0!==t&&(o.limit=t.toString()),void 0!==r&&(o.indexPrefix=r.toString()),void 0!==n&&(o.indexSuffix=n.toString()),void 0!==a&&(o.direction=a.toString()),s.request({method:"GET",path:"/3/abtests",queryParameters:o,headers:{}},i)},listABTestsWithHTTPInfo({offset:e,limit:t,indexPrefix:r,indexSuffix:n,direction:a}={},i){let o={};return void 0!==e&&(o.offset=e.toString()),void 0!==t&&(o.limit=t.toString()),void 0!==r&&(o.indexPrefix=r.toString()),void 0!==n&&(o.indexSuffix=n.toString()),void 0!==a&&(o.direction=a.toString()),s.requestWithHttpInfo({method:"GET",path:"/3/abtests",queryParameters:o,headers:{}},i)},stopABTest({id:e},t){aE("id","stopABTest",e);let r="/3/abtests/{id}/stop".replace("{id}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},stopABTestWithHTTPInfo({id:e},t){aE("id","stopABTestWithHTTPInfo",e);let r="/3/abtests/{id}/stop".replace("{id}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"POST",path:r,queryParameters:{},headers:{}},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aw}-${e}`}),n0()]}),...i})}var aI="5.59.0",aP=["de","us"];function a_(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!aP.includes(r)))throw Error(`\`region\` must be one of the following: ${aP.join(", ")}`);let{compression:a,...i}=n||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:a,...i}){let o=n2(e,t,r),s=aT({hosts:[{url:a?"analytics.{region}.algolia.com".replace("{region}",a):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...i,algoliaAgent:n5({algoliaAgents:n,client:"Abtesting",version:aI}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},addABTests:(e,t)=>(aE("addABTestsRequest","addABTests",e),aE("addABTestsRequest.name","addABTests",e.name),aE("addABTestsRequest.variants","addABTests",e.variants),aE("addABTestsRequest.endAt","addABTests",e.endAt),s.request({method:"POST",path:"/2/abtests",queryParameters:{},headers:{},data:e},t)),addABTestsWithHTTPInfo:(e,t)=>(aE("addABTestsRequest","addABTestsWithHTTPInfo",e),aE("addABTestsRequest.name","addABTestsWithHTTPInfo",e.name),aE("addABTestsRequest.variants","addABTestsWithHTTPInfo",e.variants),aE("addABTestsRequest.endAt","addABTestsWithHTTPInfo",e.endAt),s.requestWithHttpInfo({method:"POST",path:"/2/abtests",queryParameters:{},headers:{},data:e},t)),customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return s.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return s.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},deleteABTest({id:e},t){aE("id","deleteABTest",e);let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteABTestWithHTTPInfo({id:e},t){aE("id","deleteABTestWithHTTPInfo",e);let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},estimateABTest:(e,t)=>(aE("estimateABTestRequest","estimateABTest",e),aE("estimateABTestRequest.configuration","estimateABTest",e.configuration),aE("estimateABTestRequest.variants","estimateABTest",e.variants),s.request({method:"POST",path:"/2/abtests/estimate",queryParameters:{},headers:{},data:e},t)),estimateABTestWithHTTPInfo:(e,t)=>(aE("estimateABTestRequest","estimateABTestWithHTTPInfo",e),aE("estimateABTestRequest.configuration","estimateABTestWithHTTPInfo",e.configuration),aE("estimateABTestRequest.variants","estimateABTestWithHTTPInfo",e.variants),s.requestWithHttpInfo({method:"POST",path:"/2/abtests/estimate",queryParameters:{},headers:{},data:e},t)),getABTest({id:e},t){aE("id","getABTest",e);let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getABTestWithHTTPInfo({id:e},t){aE("id","getABTestWithHTTPInfo",e);let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},listABTests({offset:e,limit:t,indexPrefix:r,indexSuffix:n}={},a){let i={};return void 0!==e&&(i.offset=e.toString()),void 0!==t&&(i.limit=t.toString()),void 0!==r&&(i.indexPrefix=r.toString()),void 0!==n&&(i.indexSuffix=n.toString()),s.request({method:"GET",path:"/2/abtests",queryParameters:i,headers:{}},a)},listABTestsWithHTTPInfo({offset:e,limit:t,indexPrefix:r,indexSuffix:n}={},a){let i={};return void 0!==e&&(i.offset=e.toString()),void 0!==t&&(i.limit=t.toString()),void 0!==r&&(i.indexPrefix=r.toString()),void 0!==n&&(i.indexSuffix=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/abtests",queryParameters:i,headers:{}},a)},stopABTest({id:e},t){aE("id","stopABTest",e);let r="/2/abtests/{id}/stop".replace("{id}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},stopABTestWithHTTPInfo({id:e},t){aE("id","stopABTestWithHTTPInfo",e);let r="/2/abtests/{id}/stop".replace("{id}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"POST",path:r,queryParameters:{},headers:{}},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aI}-${e}`}),n0()]}),...i})}var aR="5.59.0",aA=["de","us"];function aN(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!aA.includes(r)))throw Error(`\`region\` must be one of the following: ${aA.join(", ")}`);let{compression:a,...i}=n||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:a,...i}){let o=n2(e,t,r),s=aT({hosts:[{url:a?"analytics.{region}.algolia.com".replace("{region}",a):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...i,algoliaAgent:n5({algoliaAgents:n,client:"Analytics",version:aR}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return s.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return s.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},getAddToCartRate({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getAddToCartRate",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/addToCartRate",queryParameters:i,headers:{}},a)},getAddToCartRateWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getAddToCartRateWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/conversions/addToCartRate",queryParameters:i,headers:{}},a)},getAverageClickPosition({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getAverageClickPosition",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/averageClickPosition",queryParameters:i,headers:{}},a)},getAverageClickPositionWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getAverageClickPositionWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/clicks/averageClickPosition",queryParameters:i,headers:{}},a)},getClickPositions({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getClickPositions",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/positions",queryParameters:i,headers:{}},a)},getClickPositionsWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getClickPositionsWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/clicks/positions",queryParameters:i,headers:{}},a)},getClickThroughRate({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getClickThroughRate",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/clickThroughRate",queryParameters:i,headers:{}},a)},getClickThroughRateWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getClickThroughRateWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/clicks/clickThroughRate",queryParameters:i,headers:{}},a)},getConversionRate({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getConversionRate",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/conversionRate",queryParameters:i,headers:{}},a)},getConversionRateWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getConversionRateWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/conversions/conversionRate",queryParameters:i,headers:{}},a)},getNoClickRate({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getNoClickRate",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/searches/noClickRate",queryParameters:i,headers:{}},a)},getNoClickRateWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getNoClickRateWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/searches/noClickRate",queryParameters:i,headers:{}},a)},getNoResultsRate({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getNoResultsRate",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/searches/noResultRate",queryParameters:i,headers:{}},a)},getNoResultsRateWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getNoResultsRateWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/searches/noResultRate",queryParameters:i,headers:{}},a)},getPatternsFields:e=>s.request({method:"GET",path:"/3/patterns/fields",queryParameters:{},headers:{}},e),getPatternsFieldsWithHTTPInfo:e=>s.requestWithHttpInfo({method:"GET",path:"/3/patterns/fields",queryParameters:{},headers:{}},e),getPurchaseRate({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getPurchaseRate",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/purchaseRate",queryParameters:i,headers:{}},a)},getPurchaseRateWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getPurchaseRateWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/conversions/purchaseRate",queryParameters:i,headers:{}},a)},getRevenue({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getRevenue",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/revenue",queryParameters:i,headers:{}},a)},getRevenueWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getRevenueWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/conversions/revenue",queryParameters:i,headers:{}},a)},getSearchesCount({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getSearchesCount",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/searches/count",queryParameters:i,headers:{}},a)},getSearchesCountWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getSearchesCountWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/searches/count",queryParameters:i,headers:{}},a)},getSearchesNoClicks({index:e,startDate:t,endDate:r,limit:n,offset:a,tags:i},o){aE("index","getSearchesNoClicks",e);let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==a&&(l.offset=a.toString()),void 0!==i&&(l.tags=i.toString()),s.request({method:"GET",path:"/2/searches/noClicks",queryParameters:l,headers:{}},o)},getSearchesNoClicksWithHTTPInfo({index:e,startDate:t,endDate:r,limit:n,offset:a,tags:i},o){aE("index","getSearchesNoClicksWithHTTPInfo",e);let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==a&&(l.offset=a.toString()),void 0!==i&&(l.tags=i.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/searches/noClicks",queryParameters:l,headers:{}},o)},getSearchesNoResults({index:e,startDate:t,endDate:r,limit:n,offset:a,tags:i},o){aE("index","getSearchesNoResults",e);let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==a&&(l.offset=a.toString()),void 0!==i&&(l.tags=i.toString()),s.request({method:"GET",path:"/2/searches/noResults",queryParameters:l,headers:{}},o)},getSearchesNoResultsWithHTTPInfo({index:e,startDate:t,endDate:r,limit:n,offset:a,tags:i},o){aE("index","getSearchesNoResultsWithHTTPInfo",e);let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==a&&(l.offset=a.toString()),void 0!==i&&(l.tags=i.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/searches/noResults",queryParameters:l,headers:{}},o)},getStatus({index:e},t){aE("index","getStatus",e);let r={};return void 0!==e&&(r.index=e.toString()),s.request({method:"GET",path:"/2/status",queryParameters:r,headers:{}},t)},getStatusWithHTTPInfo({index:e},t){aE("index","getStatusWithHTTPInfo",e);let r={};return void 0!==e&&(r.index=e.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/status",queryParameters:r,headers:{}},t)},getTopCountries({index:e,startDate:t,endDate:r,limit:n,offset:a,tags:i},o){aE("index","getTopCountries",e);let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==a&&(l.offset=a.toString()),void 0!==i&&(l.tags=i.toString()),s.request({method:"GET",path:"/2/countries",queryParameters:l,headers:{}},o)},getTopCountriesWithHTTPInfo({index:e,startDate:t,endDate:r,limit:n,offset:a,tags:i},o){aE("index","getTopCountriesWithHTTPInfo",e);let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==a&&(l.offset=a.toString()),void 0!==i&&(l.tags=i.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/countries",queryParameters:l,headers:{}},o)},getTopFilterAttributes({index:e,search:t,startDate:r,endDate:n,limit:a,offset:i,tags:o},l){aE("index","getTopFilterAttributes",e);let c={};return void 0!==e&&(c.index=e.toString()),void 0!==t&&(c.search=t.toString()),void 0!==r&&(c.startDate=r.toString()),void 0!==n&&(c.endDate=n.toString()),void 0!==a&&(c.limit=a.toString()),void 0!==i&&(c.offset=i.toString()),void 0!==o&&(c.tags=o.toString()),s.request({method:"GET",path:"/2/filters",queryParameters:c,headers:{}},l)},getTopFilterAttributesWithHTTPInfo({index:e,search:t,startDate:r,endDate:n,limit:a,offset:i,tags:o},l){aE("index","getTopFilterAttributesWithHTTPInfo",e);let c={};return void 0!==e&&(c.index=e.toString()),void 0!==t&&(c.search=t.toString()),void 0!==r&&(c.startDate=r.toString()),void 0!==n&&(c.endDate=n.toString()),void 0!==a&&(c.limit=a.toString()),void 0!==i&&(c.offset=i.toString()),void 0!==o&&(c.tags=o.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/filters",queryParameters:c,headers:{}},l)},getTopFilterForAttribute({attribute:e,index:t,search:r,startDate:n,endDate:a,limit:i,offset:o,tags:l},c){aE("attribute","getTopFilterForAttribute",e),aE("index","getTopFilterForAttribute",t);let u="/2/filters/{attribute}".replace("{attribute}",encodeURIComponent(e)),d={};return void 0!==t&&(d.index=t.toString()),void 0!==r&&(d.search=r.toString()),void 0!==n&&(d.startDate=n.toString()),void 0!==a&&(d.endDate=a.toString()),void 0!==i&&(d.limit=i.toString()),void 0!==o&&(d.offset=o.toString()),void 0!==l&&(d.tags=l.toString()),s.request({method:"GET",path:u,queryParameters:d,headers:{}},c)},getTopFilterForAttributeWithHTTPInfo({attribute:e,index:t,search:r,startDate:n,endDate:a,limit:i,offset:o,tags:l},c){aE("attribute","getTopFilterForAttributeWithHTTPInfo",e),aE("index","getTopFilterForAttributeWithHTTPInfo",t);let u="/2/filters/{attribute}".replace("{attribute}",encodeURIComponent(e)),d={};return void 0!==t&&(d.index=t.toString()),void 0!==r&&(d.search=r.toString()),void 0!==n&&(d.startDate=n.toString()),void 0!==a&&(d.endDate=a.toString()),void 0!==i&&(d.limit=i.toString()),void 0!==o&&(d.offset=o.toString()),void 0!==l&&(d.tags=l.toString()),s.requestWithHttpInfo({method:"GET",path:u,queryParameters:d,headers:{}},c)},getTopFiltersNoResults({index:e,search:t,startDate:r,endDate:n,limit:a,offset:i,tags:o},l){aE("index","getTopFiltersNoResults",e);let c={};return void 0!==e&&(c.index=e.toString()),void 0!==t&&(c.search=t.toString()),void 0!==r&&(c.startDate=r.toString()),void 0!==n&&(c.endDate=n.toString()),void 0!==a&&(c.limit=a.toString()),void 0!==i&&(c.offset=i.toString()),void 0!==o&&(c.tags=o.toString()),s.request({method:"GET",path:"/2/filters/noResults",queryParameters:c,headers:{}},l)},getTopFiltersNoResultsWithHTTPInfo({index:e,search:t,startDate:r,endDate:n,limit:a,offset:i,tags:o},l){aE("index","getTopFiltersNoResultsWithHTTPInfo",e);let c={};return void 0!==e&&(c.index=e.toString()),void 0!==t&&(c.search=t.toString()),void 0!==r&&(c.startDate=r.toString()),void 0!==n&&(c.endDate=n.toString())
1,void 0!==a&&(c.limit=a.toString()),void 0!==i&&(c.offset=i.toString()),void 0!==o&&(c.tags=o.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/filters/noResults",queryParameters:c,headers:{}},l)},getTopHits({index:e,search:t,clickAnalytics:r,revenueAnalytics:n,startDate:a,endDate:i,limit:o,offset:l,tags:c},u){aE("index","getTopHits",e);let d={};return void 0!==e&&(d.index=e.toString()),void 0!==t&&(d.search=t.toString()),void 0!==r&&(d.clickAnalytics=r.toString()),void 0!==n&&(d.revenueAnalytics=n.toString()),void 0!==a&&(d.startDate=a.toString()),void 0!==i&&(d.endDate=i.toString()),void 0!==o&&(d.limit=o.toString()),void 0!==l&&(d.offset=l.toString()),void 0!==c&&(d.tags=c.toString()),s.request({method:"GET",path:"/2/hits",queryParameters:d,headers:{}},u)},getTopHitsWithHTTPInfo({index:e,search:t,clickAnalytics:r,revenueAnalytics:n,startDate:a,endDate:i,limit:o,offset:l,tags:c},u){aE("index","getTopHitsWithHTTPInfo",e);let d={};return void 0!==e&&(d.index=e.toString()),void 0!==t&&(d.search=t.toString()),void 0!==r&&(d.clickAnalytics=r.toString()),void 0!==n&&(d.revenueAnalytics=n.toString()),void 0!==a&&(d.startDate=a.toString()),void 0!==i&&(d.endDate=i.toString()),void 0!==o&&(d.limit=o.toString()),void 0!==l&&(d.offset=l.toString()),void 0!==c&&(d.tags=c.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/hits",queryParameters:d,headers:{}},u)},getTopSearches({index:e,clickAnalytics:t,revenueAnalytics:r,startDate:n,endDate:a,orderBy:i,direction:o,limit:l,offset:c,tags:u},d){aE("index","getTopSearches",e);let h={};return void 0!==e&&(h.index=e.toString()),void 0!==t&&(h.clickAnalytics=t.toString()),void 0!==r&&(h.revenueAnalytics=r.toString()),void 0!==n&&(h.startDate=n.toString()),void 0!==a&&(h.endDate=a.toString()),void 0!==i&&(h.orderBy=i.toString()),void 0!==o&&(h.direction=o.toString()),void 0!==l&&(h.limit=l.toString()),void 0!==c&&(h.offset=c.toString()),void 0!==u&&(h.tags=u.toString()),s.request({method:"GET",path:"/2/searches",queryParameters:h,headers:{}},d)},getTopSearchesWithHTTPInfo({index:e,clickAnalytics:t,revenueAnalytics:r,startDate:n,endDate:a,orderBy:i,direction:o,limit:l,offset:c,tags:u},d){aE("index","getTopSearchesWithHTTPInfo",e);let h={};return void 0!==e&&(h.index=e.toString()),void 0!==t&&(h.clickAnalytics=t.toString()),void 0!==r&&(h.revenueAnalytics=r.toString()),void 0!==n&&(h.startDate=n.toString()),void 0!==a&&(h.endDate=a.toString()),void 0!==i&&(h.orderBy=i.toString()),void 0!==o&&(h.direction=o.toString()),void 0!==l&&(h.limit=l.toString()),void 0!==c&&(h.offset=c.toString()),void 0!==u&&(h.tags=u.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/searches",queryParameters:h,headers:{}},d)},getUsersCount({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getUsersCount",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.request({method:"GET",path:"/2/users/count",queryParameters:i,headers:{}},a)},getUsersCountWithHTTPInfo({index:e,startDate:t,endDate:r,tags:n},a){aE("index","getUsersCountWithHTTPInfo",e);let i={};return void 0!==e&&(i.index=e.toString()),void 0!==t&&(i.startDate=t.toString()),void 0!==r&&(i.endDate=r.toString()),void 0!==n&&(i.tags=n.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/users/count",queryParameters:i,headers:{}},a)},queryPatternsDistribution({distributionPayload:e,index:t},r){aE("distributionPayload","queryPatternsDistribution",e),aE("distributionPayload.distributions","queryPatternsDistribution",e.distributions),aE("distributionPayload.parameters","queryPatternsDistribution",e.parameters);let n={};return void 0!==t&&(n.index=t.toString()),s.request({method:"POST",path:"/3/patterns/distribution",queryParameters:n,headers:{},data:e},r)},queryPatternsDistributionWithHTTPInfo({distributionPayload:e,index:t},r){aE("distributionPayload","queryPatternsDistributionWithHTTPInfo",e),aE("distributionPayload.distributions","queryPatternsDistributionWithHTTPInfo",e.distributions),aE("distributionPayload.parameters","queryPatternsDistributionWithHTTPInfo",e.parameters);let n={};return void 0!==t&&(n.index=t.toString()),s.requestWithHttpInfo({method:"POST",path:"/3/patterns/distribution",queryParameters:n,headers:{},data:e},r)},queryPatternsScalar({scalarPayload:e,index:t},r){aE("scalarPayload","queryPatternsScalar",e),aE("scalarPayload.metrics","queryPatternsScalar",e.metrics),aE("scalarPayload.parameters","queryPatternsScalar",e.parameters);let n={};return void 0!==t&&(n.index=t.toString()),s.request({method:"POST",path:"/3/patterns/scalar",queryParameters:n,headers:{},data:e},r)},queryPatternsScalarWithHTTPInfo({scalarPayload:e,index:t},r){aE("scalarPayload","queryPatternsScalarWithHTTPInfo",e),aE("scalarPayload.metrics","queryPatternsScalarWithHTTPInfo",e.metrics),aE("scalarPayload.parameters","queryPatternsScalarWithHTTPInfo",e.parameters);let n={};return void 0!==t&&(n.index=t.toString()),s.requestWithHttpInfo({method:"POST",path:"/3/patterns/scalar",queryParameters:n,headers:{},data:e},r)},queryPatternsTable({tablePayload:e,index:t},r){aE("tablePayload","queryPatternsTable",e),aE("tablePayload.metrics","queryPatternsTable",e.metrics),aE("tablePayload.parameters","queryPatternsTable",e.parameters);let n={};return void 0!==t&&(n.index=t.toString()),s.request({method:"POST",path:"/3/patterns/table",queryParameters:n,headers:{},data:e},r)},queryPatternsTableWithHTTPInfo({tablePayload:e,index:t},r){aE("tablePayload","queryPatternsTableWithHTTPInfo",e),aE("tablePayload.metrics","queryPatternsTableWithHTTPInfo",e.metrics),aE("tablePayload.parameters","queryPatternsTableWithHTTPInfo",e.parameters);let n={};return void 0!==t&&(n.index=t.toString()),s.requestWithHttpInfo({method:"POST",path:"/3/patterns/table",queryParameters:n,headers:{},data:e},r)},queryPatternsTimeseries({timeseriesPayload:e,index:t},r){aE("timeseriesPayload","queryPatternsTimeseries",e),aE("timeseriesPayload.metrics","queryPatternsTimeseries",e.metrics),aE("timeseriesPayload.parameters","queryPatternsTimeseries",e.parameters);let n={};return void 0!==t&&(n.index=t.toString()),s.request({method:"POST",path:"/3/patterns/timeseries",queryParameters:n,headers:{},data:e},r)},queryPatternsTimeseriesWithHTTPInfo({timeseriesPayload:e,index:t},r){aE("timeseriesPayload","queryPatternsTimeseriesWithHTTPInfo",e),aE("timeseriesPayload.metrics","queryPatternsTimeseriesWithHTTPInfo",e.metrics),aE("timeseriesPayload.parameters","queryPatternsTimeseriesWithHTTPInfo",e.parameters);let n={};return void 0!==t&&(n.index=t.toString()),s.requestWithHttpInfo({method:"POST",path:"/3/patterns/timeseries",queryParameters:n,headers:{},data:e},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aR}-${e}`}),n0()]}),...i})}var aD="5.59.0",aO=["de","us"];function aj(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!aO.includes(r)))throw Error(`\`region\` must be one of the following: ${aO.join(", ")}`);let{compression:a,...i}=n||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:a,...i}){let o=n2(e,t,r),s=aT({hosts:[{url:a?"insights.{region}.algolia.io".replace("{region}",a):"insights.algolia.io",accept:"readWrite",protocol:"https"}],...i,algoliaAgent:n5({algoliaAgents:n,client:"Insights",version:aD}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return s.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return s.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},deleteUserToken({userToken:e},t){aE("userToken","deleteUserToken",e);let r="/1/usertokens/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteUserTokenWithHTTPInfo({userToken:e},t){aE("userToken","deleteUserTokenWithHTTPInfo",e);let r="/1/usertokens/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},pushEvents:(e,t)=>(aE("insightsEvents","pushEvents",e),aE("insightsEvents.events","pushEvents",e.events),s.request({method:"POST",path:"/1/events",queryParameters:{},headers:{},data:e},t)),pushEventsWithHTTPInfo:(e,t)=>(aE("insightsEvents","pushEventsWithHTTPInfo",e),aE("insightsEvents.events","pushEventsWithHTTPInfo",e.events),s.requestWithHttpInfo({method:"POST",path:"/1/events",queryParameters:{},headers:{},data:e},t))}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aD}-${e}`}),n0()]}),...i})}var aL="5.59.0",aM=["eu","us"];function aH(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!aM.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${aM.join(", ")}`);let{compression:a,...i}=n||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:a,...i}){let o=n2(e,t,r),s=aT({hosts:[{url:"personalization.{region}.algolia.com".replace("{region}",a),accept:"readWrite",protocol:"https"}],...i,algoliaAgent:n5({algoliaAgents:n,client:"Personalization",version:aL}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return s.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return s.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},deleteUserProfile({userToken:e},t){aE("userToken","deleteUserProfile",e);let r="/1/profiles/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteUserProfileWithHTTPInfo({userToken:e},t){aE("userToken","deleteUserProfileWithHTTPInfo",e);let r="/1/profiles/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},getPersonalizationStrategy:e=>s.request({method:"GET",path:"/1/strategies/personalization",queryParameters:{},headers:{}},e),getPersonalizationStrategyWithHTTPInfo:e=>s.requestWithHttpInfo({method:"GET",path:"/1/strategies/personalization",queryParameters:{},headers:{}},e),getUserTokenProfile({userToken:e},t){aE("userToken","getUserTokenProfile",e);let r="/1/profiles/personalization/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getUserTokenProfileWithHTTPInfo({userToken:e},t){aE("userToken","getUserTokenProfileWithHTTPInfo",e);let r="/1/profiles/personalization/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},setPersonalizationStrategy:(e,t)=>(aE("personalizationStrategyParams","setPersonalizationStrategy",e),aE("personalizationStrategyParams.eventsScoring","setPersonalizationStrategy",e.eventsScoring),aE("personalizationStrategyParams.facetsScoring","setPersonalizationStrategy",e.facetsScoring),aE("personalizationStrategyParams.personalizationImpact","setPersonalizationStrategy",e.personalizationImpact),s.request({method:"POST",path:"/1/strategies/personalization",queryParameters:{},headers:{},data:e},t)),setPersonalizationStrategyWithHTTPInfo:(e,t)=>(aE("personalizationStrategyParams","setPersonalizationStrategyWithHTTPInfo",e),aE("personalizationStrategyParams.eventsScoring","setPersonalizationStrategyWithHTTPInfo",e.eventsScoring),aE("personalizationStrategyParams.facetsScoring","setPersonalizationStrategyWithHTTPInfo",e.facetsScoring),aE("personalizationStrategyParams.personalizationImpact","setPersonalizationStrategyWithHTTPInfo",e.personalizationImpact),s.requestWithHttpInfo({method:"POST",path:"/1/strategies/personalization",queryParameters:{},headers:{},data:e},t))}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aL}-${e}`}),n0()]}),...i})}var aF="5.59.0",aq=["eu","us"];function aB(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!aq.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${aq.join(", ")}`);let{compression:a,...i}=n||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:a,...i}){let o=n2(e,t,r),s=aT({hosts:[{url:"query-suggestions.{region}.algolia.com".replace("{region}",a),accept:"readWrite",protocol:"https"}],...i,algoliaAgent:n5({algoliaAgents:n,client:"QuerySuggestions",version:aF}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},createConfig:(e,t)=>(aE("configurationWithIndex","createConfig",e),s.request({method:"POST",path:"/1/configs",queryParameters:{},headers:{},data:e},t)),createConfigWithHTTPInfo:(e,t)=>(aE("configurationWithIndex","createConfigWithHTTPInfo",e),s.requestWithHttpInfo({method:"POST",path:"/1/configs",queryParameters:{},headers:{},data:e},t)),customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return s.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return s.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},deleteConfig({indexName:e},t){aE("indexName","deleteConfig",e);let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteConfigWithHTTPInfo({indexName:e},t){aE("indexName","deleteConfigWithHTTPInfo",e);let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},getAllConfigs:e=>s.request({method:"GET",path:"/1/configs",queryParameters:{},headers:{}},e),getAllConfigsWithHTTPInfo:e=>s.requestWithHttpInfo({method:"GET",path:"/1/configs",queryParameters:{},headers:{}},e),getConfig({indexName:e},t){aE("indexName","getConfig",e);let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getConfigWithHTTPInfo({indexName:e},t){aE("indexName","getConfigWithHTTPInfo",e);let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getConfigStatus({indexName:e},t){aE("indexName","getConfigStatus",e);let r="/1/configs/{indexName}/status".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getConfigStatusWithHTTPInfo({indexName:e},t){aE("indexName","getConfigStatusWithHTTPInfo",e);let r="/1/configs/{indexName}/status".replace("{indexName}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLogFile({indexName:e},t){aE("indexName","getLogFile",e);let r="/1/logs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLogFileWithHTTPInfo({indexName:e},t){aE("indexName","getLogFileWithHTTPInfo",e);let r="/1/logs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},updateConfig({indexName:e,configuration:t},r){aE("indexName","updateConfig",e),aE("configuration","updateConfig",t),aE("configuration.sourceIndices","updateConfig",t.sourceIndices);let n="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},updateConfigWithHTTPInfo({indexName:e,configuration:t},r){aE("indexName","updateConfigWithHTTPInfo",e),aE("configuration","updateConfigWithHTTPInfo",t),aE("configuration.sourceIndices","updateConfigWithHTTPInfo",t.sourceIndices);let n="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aF}-${e}`}),n0()]}),...i})}var aU="5.59.0";function aW(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let{compression:n,...a}=r||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...a}){let i=n2(e,t,r),o=aT({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(al([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...a,algoliaAgent:n5({algoliaAgents:n,client:"Search",version:aU}),baseHeaders:{"content-type":"text/plain",...i.headers(),...a.baseHeaders},baseQueryParameters:{...i.queryParameters(),...a.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache:()=>Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0),get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?o.baseQueryParameters["x-algolia-api-key"]=e:o.baseHeaders["x-algolia-api-key"]=e},waitForTask({indexName:e,taskID:t,maxRetries:r=100,timeout:n=e=>Math.min(200*e,5e3)},a){a=av(o,a);let i=0;return n3({func:()=>this.getTask({indexName:e,taskID:t},a),validate:e=>"published"===e.status,aggregator:()=>i+=1,error:{validate:()=>i>=r,message:()=>`Stopped waiting for the task after ${r} retries. This does not mean the operation failed; it may still complete. If you need to keep polling, retry with a higher maxRetries.`},timeout:()=>n(i)})},waitForAppTask({taskID:e,maxRetries:t=100,timeout:r=e=>Math.min(200*e,5e3)},n){n=av(o,n);let a=0;return n3({func:()=>this.getAppTask({taskID:e},n),validate:e=>"published"===e.status,aggregator:()=>a+=1,error:{validate:()=>a>=t,message:()=>`Stopped waiting for the task after ${t} retries. This does not mean the operation failed; it may still complete. If you need to keep polling, retry with a higher maxRetries.`},timeout:()=>r(a)})},waitForApiKey({operation:e,key:t,apiKey:r,maxRetries:n=100,timeout:a=e=>Math.min(200*e,5e3)},i){i=av(o,i);let s=0,l={aggregator:()=>s+=1,error:{validate:()=>s>=n,message:()=>`Stopped waiting for the API key operation after ${n} retries. This does not mean the operation failed; it may still complete. If you need to keep polling, retry with a higher maxRetries.`},timeout:()=>a(s)};if("update"===e){if(!r)throw Error("`apiKey` is required when waiting for an `update` operation.");return n3({...l,func:()=>this.getApiKey({key:t},i),validate:e=>{for(let t of Object.keys(r)){let n=r[t],a=e[t];if(Array.isArray(n)&&Array.isArray(a)){if(n.length!==a.length||n.some((e,t)=>e!==a[t]))return!1}else if(n!==a)return!1}return!0}})}return n3({...l,func:()=>this.getApiKey({key:t},i).catch(e=>{if(404!==e.status)throw e}),validate:t=>"add"===e?void 0!==t:void 0===t})},browseObjects({indexName:e,browseParams:t,...r},n){return n=av(o,n),n3({func:r=>this.browse({indexName:e,browseParams:{cursor:r?r.cursor:void 0,hitsPerPage:1e3,...t}},n),validate:e=>void 0===e.cursor,...r})},browseRules({indexName:e,searchRulesParams:t,...r},n){n=av(o,n);let a={...t,hitsPerPage:t?.hitsPerPage||1e3};return n3({func:t=>this.searchRules({indexName:e,searchRulesParams:{...a,page:t?t.page+1:a.page||0}},n),validate:e=>e.hits.length<a.hitsPerPage,...r})},browseSynonyms({indexName:e,searchSynonymsParams:t,...r},n){n=av(o,n);let a={...t,page:t?.page||0,hitsPerPage:1e3};return n3({func:t=>{let r=this.searchSynonyms({indexName:e,searchSynonymsParams:{...a,page:a.page}},n);return a.page+=1,r},validate:e=>e.hits.length<a.hitsPerPage,...r})},async chunkedBatch({indexName:e,objects:t,action:r="addObject",waitForTasks:n,batchSize:a=1e3,maxRetries:i=100},s){s=av(o,s);let l=[],c=[];for(let[n,i]of t.entries())l.push({action:r,body:i}),(l.length===a||n===t.length-1)&&(c.push(await this.batch({indexName:e,batchWriteParams:{requests:l}},s)),l=[]);if(n)for(let t of c)await this.waitForTask({indexName:e,taskID:t.taskID,maxRetries:i},s);return c},async saveObjects({indexName:e,objects:t,waitForTasks:r,batchSize:n,maxRetries:a},i){return await this.chunkedBatch({indexName:e,objects:t,action:"addObject",waitForTasks:r,batchSize:n,maxRetries:a},i)},async deleteObjects({indexName:e,objectIDs:t,waitForTasks:r,batchSize:n,maxRetries:a},i){return await this.chunkedBatch({indexName:e,objects:t.map(e=>({objectID:e})),action:"deleteObject",waitForTasks:r,batchSize:n,maxRetries:a},i)},async partialUpdateObjects({indexName:e,objects:t,createIfNotExists:r,waitForTasks:n,batchSize:a,maxRetries:i},o){return await this.chunkedBatch({indexName:e,objects:t,action:r?"partialUpdateObject":"partialUpdateObjectNoCreate",batchSize:a,waitForTasks:n,maxRetries:i},o)}
1,async replaceAllObjects({indexName:e,objects:t,batchSize:r,scopes:n,maxRetries:a=800},i){i=av(o,i),0===t.length&&n8(o.logger,`replaceAllObjects was called with an empty list of objects, which will delete all records currently in the "${e}" index.`);let s=Math.floor(1e6*Math.random())+1e5,l=`${e}_tmp_${s}`;void 0===n&&(n=["settings","rules","synonyms"]);try{let o=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:l,scope:n}},i),s=await this.chunkedBatch({indexName:l,objects:t,waitForTasks:!0,batchSize:r,maxRetries:a},i);await this.waitForTask({indexName:l,taskID:o.taskID,maxRetries:a},i),o=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:l,scope:n}},i),await this.waitForTask({indexName:l,taskID:o.taskID,maxRetries:a},i);let c=await this.operationIndex({indexName:l,operationIndexParams:{operation:"move",destination:e}},i);return await this.waitForTask({indexName:l,taskID:c.taskID,maxRetries:a},i),{copyOperationResponse:o,batchResponses:s,moveOperationResponse:c}}catch(e){throw await this.deleteIndex({indexName:l},i),e}},async indexExists({indexName:e}
1,t){try{await this.getSettings({indexName:e},t)}catch(e){if(e instanceof ai&&404===e.status)return!1;throw e}return!0},searchForHits(e,t){return this.search(e,t)},searchForFacets(e,t){return this.search(e,t)},addApiKey:(e,t)=>(aE("apiKey","addApiKey",e),aE("apiKey.acl","addApiKey",e.acl),o.request({method:"POST",path:"/1/keys",queryParameters:{},headers:{},data:e},t)),addApiKeyWithHTTPInfo:(e,t)=>(aE("apiKey","addApiKeyWithHTTPInfo",e),aE("apiKey.acl","addApiKeyWithHTTPInfo",e.acl),o.requestWithHttpInfo({method:"POST",path:"/1/keys",queryParameters:{},headers:{},data:e},t)),addOrUpdateObject({indexName:e,objectID:t,body:r},n){aE("indexName","addOrUpdateObject",e),aE("objectID","addOrUpdateObject",t),aE("body","addOrUpdateObject",r);let a="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.request({method:"PUT",path:a,queryParameters:{},headers:{},data:r},n)},addOrUpdateObjectWithHTTPInfo({indexName:e,objectID:t,body:r},n){aE("indexName","addOrUpdateObjectWithHTTPInfo",e),aE("objectID","addOrUpdateObjectWithHTTPInfo",t),aE("body","addOrUpdateObjectWithHTTPInfo",r);let a="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"PUT",path:a,queryParameters:{},headers:{},data:r},n)},appendSource:(e,t)=>(aE("source","appendSource",e),aE("source.source","appendSource",e.source),o.request({method:"POST",path:"/1/security/sources/append",queryParameters:{},headers:{},data:e},t)),appendSourceWithHTTPInfo:(e,t)=>(aE("source","appendSourceWithHTTPInfo",e),aE("source.source","appendSourceWithHTTPInfo",e.source),o.requestWithHttpInfo({method:"POST",path:"/1/security/sources/append",queryParameters:{},headers:{},data:e},t)),assignUserId({xAlgoliaUserID:e,assignUserIdParams:t},r){aE("xAlgoliaUserID","assignUserId",e),aE("assignUserIdParams","assignUserId",t),aE("assignUserIdParams.cluster","assignUserId",t.cluster);let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),o.request({method:"POST",path:"/1/clusters/mapping",queryParameters:{},headers:n,data:t},r)},assignUserIdWithHTTPInfo({xAlgoliaUserID:e,assignUserIdParams:t},r){aE("xAlgoliaUserID","assignUserIdWithHTTPInfo",e),aE("assignUserIdParams","assignUserIdWithHTTPInfo",t),aE("assignUserIdParams.cluster","assignUserIdWithHTTPInfo",t.cluster);let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),o.requestWithHttpInfo({method:"POST",path:"/1/clusters/mapping",queryParameters:{},headers:n,data:t},r)},batch({indexName:e,batchWriteParams:t},r){aE("indexName","batch",e),aE("batchWriteParams","batch",t),aE("batchWriteParams.requests","batch",t.requests);let n="/1/indexes/{indexName}/batch".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},batchWithHTTPInfo({indexName:e,batchWriteParams:t},r){aE("indexName","batchWithHTTPInfo",e),aE("batchWriteParams","batchWithHTTPInfo",t),aE("batchWriteParams.requests","batchWithHTTPInfo",t.requests);let n="/1/indexes/{indexName}/batch".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},batchAssignUserIds({xAlgoliaUserID:e,batchAssignUserIdsParams:t},r){aE("xAlgoliaUserID","batchAssignUserIds",e),aE("batchAssignUserIdsParams","batchAssignUserIds",t),aE("batchAssignUserIdsParams.cluster","batchAssignUserIds",t.cluster),aE("batchAssignUserIdsParams.users","batchAssignUserIds",t.users);let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),o.request({method:"POST",path:"/1/clusters/mapping/batch",queryParameters:{},headers:n,data:t},r)},batchAssignUserIdsWithHTTPInfo({xAlgoliaUserID:e,batchAssignUserIdsParams:t},r){aE("xAlgoliaUserID","batchAssignUserIdsWithHTTPInfo",e),aE("batchAssignUserIdsParams","batchAssignUserIdsWithHTTPInfo",t),aE("batchAssignUserIdsParams.cluster","batchAssignUserIdsWithHTTPInfo",t.cluster),aE("batchAssignUserIdsParams.users","batchAssignUserIdsWithHTTPInfo",t.users);let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),o.requestWithHttpInfo({method:"POST",path:"/1/clusters/mapping/batch",queryParameters:{},headers:n,data:t},r)},batchDictionaryEntries({dictionaryName:e,batchDictionaryEntriesParams:t},r){aE("dictionaryName","batchDictionaryEntries",e),aE("batchDictionaryEntriesParams","batchDictionaryEntries",t),aE("batchDictionaryEntriesParams.requests","batchDictionaryEntries",t.requests);let n="/1/dictionaries/{dictionaryName}/batch".replace("{dictionaryName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},batchDictionaryEntriesWithHTTPInfo({dictionaryName:e,batchDictionaryEntriesParams:t},r){aE("dictionaryName","batchDictionaryEntriesWithHTTPInfo",e),aE("batchDictionaryEntriesParams","batchDictionaryEntriesWithHTTPInfo",t),aE("batchDictionaryEntriesParams.requests","batchDictionaryEntriesWithHTTPInfo",t.requests);let n="/1/dictionaries/{dictionaryName}/batch".replace("{dictionaryName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},browse({indexName:e,browseParams:t},r){aE("indexName","browse",e);let n="/1/indexes/{indexName}/browse".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0},r)},browseWithHTTPInfo({indexName:e,browseParams:t},r){aE("indexName","browseWithHTTPInfo",e);let n="/1/indexes/{indexName}/browse".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0},r)},clearObjects({indexName:e},t){aE("indexName","clearObjects",e);let r="/1/indexes/{indexName}/clear".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},clearObjectsWithHTTPInfo({indexName:e},t){aE("indexName","clearObjectsWithHTTPInfo",e);let r="/1/indexes/{indexName}/clear".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:r,queryParameters:{},headers:{}},t)},clearRules({indexName:e,forwardToReplicas:t},r){aE("indexName","clearRules",e);let n="/1/indexes/{indexName}/rules/clear".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==t&&(a.forwardToReplicas=t.toString()),o.request({method:"POST",path:n,queryParameters:a,headers:{}},r)},clearRulesWithHTTPInfo({indexName:e,forwardToReplicas:t},r){aE("indexName","clearRulesWithHTTPInfo",e);let n="/1/indexes/{indexName}/rules/clear".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==t&&(a.forwardToReplicas=t.toString()),o.requestWithHttpInfo({method:"POST",path:n,queryParameters:a,headers:{}},r)},clearSynonyms({indexName:e,forwardToReplicas:t},r){aE("indexName","clearSynonyms",e);let n="/1/indexes/{indexName}/synonyms/clear".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==t&&(a.forwardToReplicas=t.toString()),o.request({method:"POST",path:n,queryParameters:a,headers:{}},r)},clearSynonymsWithHTTPInfo({indexName:e,forwardToReplicas:t},r){aE("indexName","clearSynonymsWithHTTPInfo",e);let n="/1/indexes/{indexName}/synonyms/clear".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==t&&(a.forwardToReplicas=t.toString()),o.requestWithHttpInfo({method:"POST",path:n,queryParameters:a,headers:{}},r)},customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return o.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return o.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return o.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return o.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},deleteApiKey({key:e},t){aE("key","deleteApiKey",e);let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteApiKeyWithHTTPInfo({key:e},t){aE("key","deleteApiKeyWithHTTPInfo",e);let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteBy({indexName:e,deleteByParams:t},r){aE("indexName","deleteBy",e),aE("deleteByParams","deleteBy",t);let n="/1/indexes/{indexName}/deleteByQuery".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},deleteByWithHTTPInfo({indexName:e,deleteByParams:t},r){aE("indexName","deleteByWithHTTPInfo",e),aE("deleteByParams","deleteByWithHTTPInfo",t);let n="/1/indexes/{indexName}/deleteByQuery".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},deleteIndex({indexName:e},t){aE("indexName","deleteIndex",e);let r="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return o.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteIndexWithHTTPInfo({indexName:e},t){aE("indexName","deleteIndexWithHTTPInfo",e);let r="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteObject({indexName:e,objectID:t},r){aE("indexName","deleteObject",e),aE("objectID","deleteObject",t);let n="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.request({method:"DELETE",path:n,queryParameters:{},headers:{}},r)},deleteObjectWithHTTPInfo({indexName:e,objectID:t},r){aE("indexName","deleteObjectWithHTTPInfo",e),aE("objectID","deleteObjectWithHTTPInfo",t);let n="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:{},headers:{}},r)},deleteRule({indexName:e,objectID:t,forwardToReplicas:r},n){aE("indexName","deleteRule",e),aE("objectID","deleteRule",t);let a="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),i={};return void 0!==r&&(i.forwardToReplicas=r.toString()),o.request({method:"DELETE",path:a,queryParameters:i,headers:{}},n)},deleteRuleWithHTTPInfo({indexName:e,objectID:t,forwardToReplicas:r},n){aE("indexName","deleteRuleWithHTTPInfo",e),aE("objectID","deleteRuleWithHTTPInfo",t);let a="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),i={};return void 0!==r&&(i.forwardToReplicas=r.toString()),o.requestWithHttpInfo({method:"DELETE",path:a,queryParameters:i,headers:{}},n)},deleteSource({source:e},t){aE("source","deleteSource",e);let r="/1/security/sources/{source}".replace("{source}",encodeURIComponent(e));return o.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSourceWithHTTPInfo({source:e},t){aE("source","deleteSourceWithHTTPInfo",e);let r="/1/security/sources/{source}".replace("{source}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSynonym({indexName:e,objectID:t,forwardToReplicas:r},n){aE("indexName","deleteSynonym",e),aE("objectID","deleteSynonym",t);let a="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),i={};return void 0!==r&&(i.forwardToReplicas=r.toString()),o.request({method:"DELETE",path:a,queryParameters:i,headers:{}},n)},deleteSynonymWithHTTPInfo({indexName:e,objectID:t,forwardToReplicas:r},n){aE("indexName","deleteSynonymWithHTTPInfo",e),aE("objectID","deleteSynonymWithHTTPInfo",t);let a="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),i={};return void 0!==r&&(i.forwardToReplicas=r.toString()),o.requestWithHttpInfo({method:"DELETE",path:a,queryParameters:i,headers:{}},n)},getApiKey({key:e},t){aE("key","getApiKey",e);let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getApiKeyWithHTTPInfo({key:e},t){aE("key","getApiKeyWithHTTPInfo",e);let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getAppTask({taskID:e},t){aE("taskID","getAppTask",e);let r="/1/task/{taskID}".replace("{taskID}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getAppTaskWithHTTPInfo({taskID:e},t){aE("taskID","getAppTaskWithHTTPInfo",e);let r="/1/task/{taskID}".replace("{taskID}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDictionaryLanguages:e=>o.request({method:"GET",path:"/1/dictionaries/*/languages",queryParameters:{},headers:{}}
1,e),getDictionaryLanguagesWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/dictionaries/*/languages",queryParameters:{},headers:{}},e),getDictionarySettings:e=>o.request({method:"GET",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{}},e),getDictionarySettingsWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{}},e),getLogs({offset:e,length:t,indexName:r,type:n}={},a){let i={};return void 0!==e&&(i.offset=e.toString()),void 0!==t&&(i.length=t.toString()),void 0!==r&&(i.indexName=r.toString()),void 0!==n&&(i.type=n.toString()),o.request({method:"GET",path:"/1/logs",queryParameters:i,headers:{}},a)},getLogsWithHTTPInfo({offset:e,length:t,indexName:r,type:n}={},a){let i={};return void 0!==e&&(i.offset=e.toString()),void 0!==t&&(i.length=t.toString()),void 0!==r&&(i.indexName=r.toString()),void 0!==n&&(i.type=n.toString()),o.requestWithHttpInfo({method:"GET",path:"/1/logs",queryParameters:i,headers:{}},a)},getObject({indexName:e,objectID:t,attributesToRetrieve:r},n){aE("indexName","getObject",e),aE("objectID","getObject",t);let a="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),i={};return void 0!==r&&(i.attributesToRetrieve=r.toString()),o.request({method:"GET",path:a,queryParameters:i,headers:{}},n)},getObjectWithHTTPInfo({indexName:e,objectID:t,attributesToRetrieve:r},n){aE("indexName","getObjectWithHTTPInfo",e),aE("objectID","getObjectWithHTTPInfo",t);let a="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),i={};return void 0!==r&&(i.attributesToRetrieve=r.toString()),o.requestWithHttpInfo({method:"GET",path:a,queryParameters:i,headers:{}},n)},getObjects:(e,t)=>(aE("getObjectsParams","getObjects",e),aE("getObjectsParams.requests","getObjects",e.requests),o.request({method:"POST",path:"/1/indexes/*/objects",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)),getObjectsWithHTTPInfo:(e,t)=>(aE("getObjectsParams","getObjectsWithHTTPInfo",e),aE("getObjectsParams.requests","getObjectsWithHTTPInfo",e.requests),o.requestWithHttpInfo({method:"POST",path:"/1/indexes/*/objects",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)),getRule({indexName:e,objectID:t},r){aE("indexName","getRule",e),aE("objectID","getRule",t);let n="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getRuleWithHTTPInfo({indexName:e,objectID:t},r){aE("indexName","getRuleWithHTTPInfo",e),aE("objectID","getRuleWithHTTPInfo",t);let n="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"GET",path:n,queryParameters:{},headers:{}},r)},getSettings({indexName:e,getVersion:t},r){aE("indexName","getSettings",e);let n="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==t&&(a.getVersion=t.toString()),o.request({method:"GET",path:n,queryParameters:a,headers:{}},r)},getSettingsWithHTTPInfo({indexName:e,getVersion:t},r){aE("indexName","getSettingsWithHTTPInfo",e);let n="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==t&&(a.getVersion=t.toString()),o.requestWithHttpInfo({method:"GET",path:n,queryParameters:a,headers:{}},r)},getSources:e=>o.request({method:"GET",path:"/1/security/sources",queryParameters:{},headers:{}},e),getSourcesWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/security/sources",queryParameters:{},headers:{}},e),getSynonym({indexName:e,objectID:t},r){aE("indexName","getSynonym",e),aE("objectID","getSynonym",t);let n="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getSynonymWithHTTPInfo({indexName:e,objectID:t},r){aE("indexName","getSynonymWithHTTPInfo",e),aE("objectID","getSynonymWithHTTPInfo",t);let n="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTask({indexName:e,taskID:t},r){aE("indexName","getTask",e),aE("taskID","getTask",t);let n="/1/indexes/{indexName}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{taskID}",encodeURIComponent(t));return o.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTaskWithHTTPInfo({indexName:e,taskID:t},r){aE("indexName","getTaskWithHTTPInfo",e),aE("taskID","getTaskWithHTTPInfo",t);let n="/1/indexes/{indexName}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{taskID}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTopUserIds:e=>o.request({method:"GET",path:"/1/clusters/mapping/top",queryParameters:{},headers:{}},e),getTopUserIdsWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/clusters/mapping/top",queryParameters:{},headers:{}},e),getUserId({userID:e},t){aE("userID","getUserId",e);let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)}
1,getUserIdWithHTTPInfo({userID:e},t){aE("userID","getUserIdWithHTTPInfo",e);let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},hasPendingMappings({getClusters:e}={},t){let r={};return void 0!==e&&(r.getClusters=e.toString()),o.request({method:"GET",path:"/1/clusters/mapping/pending",queryParameters:r,headers:{}},t)},hasPendingMappingsWithHTTPInfo({getClusters:e}={},t){let r={};return void 0!==e&&(r.getClusters=e.toString()),o.requestWithHttpInfo({method:"GET",path:"/1/clusters/mapping/pending",queryParameters:r,headers:{}},t)},listApiKeys:e=>o.request({method:"GET",path:"/1/keys",queryParameters:{},headers:{}},e),listApiKeysWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/keys",queryParameters:{},headers:{}},e),listClusters:e=>o.request({method:"GET",path:"/1/clusters",queryParameters:{},headers:{}},e),listClustersWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/clusters",queryParameters:{},headers:{}},e),listIndices({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),o.request({method:"GET",path:"/1/indexes",queryParameters:n,headers:{}},r)},listIndicesWithHTTPInfo({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),o.requestWithHttpInfo({method:"GET",path:"/1/indexes",queryParameters:n,headers:{}},r)},listUserIds({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),o.request({method:"GET",path:"/1/clusters/mapping",queryParameters:n,headers:{}},r)},listUserIdsWithHTTPInfo({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),o.requestWithHttpInfo({method:"GET",path:"/1/clusters/mapping",queryParameters:n,headers:{}},r)},multipleBatch:(e,t)=>(aE("batchParams","multipleBatch",e),aE("batchParams.requests","multipleBatch",e.requests),o.request({method:"POST",path:"/1/indexes/*/batch",queryParameters:{},headers:{},data:e},t)),multipleBatchWithHTTPInfo:(e,t)=>(aE("batchParams","multipleBatchWithHTTPInfo",e),aE("batchParams.requests","multipleBatchWithHTTPInfo",e.requests),o.requestWithHttpInfo({method:"POST",path:"/1/indexes/*/batch",queryParameters:{},headers:{},data:e},t)),operationIndex({indexName:e,operationIndexParams:t},r){aE("indexName","operationIndex",e),aE("operationIndexParams","operationIndex",t),aE("operationIndexParams.operation","operationIndex",t.operation),aE("operationIndexParams.destination","operationIndex",t.destination);let n="/1/indexes/{indexName}/operation".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},operationIndexWithHTTPInfo({indexName:e,operationIndexParams:t},r){aE("indexName","operationIndexWithHTTPInfo",e),aE("operationIndexParams","operationIndexWithHTTPInfo",t),aE("operationIndexParams.operation","operationIndexWithHTTPInfo",t.operation),aE("operationIndexParams.destination","operationIndexWithHTTPInfo",t.destination);let n="/1/indexes/{indexName}/operation".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},partialUpdateObject({indexName:e,objectID:t,attributesToUpdate:r,createIfNotExists:n},a){aE("indexName","partialUpdateObject",e),aE("objectID","partialUpdateObject",t),aE("attributesToUpdate","partialUpdateObject",r);let i="/1/indexes/{indexName}/{objectID}/partial".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.createIfNotExists=n.toString()),o.request({method:"POST",path:i,queryParameters:s,headers:{},data:r},a)},partialUpdateObjectWithHTTPInfo({indexName:e,objectID:t,attributesToUpdate:r,createIfNotExists:n},a){aE("indexName","partialUpdateObjectWithHTTPInfo",e),aE("objectID","partialUpdateObjectWithHTTPInfo",t),aE("attributesToUpdate","partialUpdateObjectWithHTTPInfo",r);let i="/1/indexes/{indexName}/{objectID}/partial".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.createIfNotExists=n.toString()),o.requestWithHttpInfo({method:"POST",path:i,queryParameters:s,headers:{},data:r},a)},removeUserId({userID:e},t){aE("userID","removeUserId",e);let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return o.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)}
1,removeUserIdWithHTTPInfo({userID:e},t){aE("userID","removeUserIdWithHTTPInfo",e);let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},replaceSources:({source:e},t)=>(aE("source","replaceSources",e),o.request({method:"PUT",path:"/1/security/sources",queryParameters:{},headers:{},data:e},t)),replaceSourcesWithHTTPInfo:({source:e},t)=>(aE("source","replaceSourcesWithHTTPInfo",e),o.requestWithHttpInfo({method:"PUT",path:"/1/security/sources",queryParameters:{},headers:{},data:e},t)),restoreApiKey({key:e},t){aE("key","restoreApiKey",e);let r="/1/keys/{key}/restore".replace("{key}",encodeURIComponent(e));return o.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},restoreApiKeyWithHTTPInfo({key:e},t){aE("key","restoreApiKeyWithHTTPInfo",e);let r="/1/keys/{key}/restore".replace("{key}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:r,queryParameters:{},headers:{}},t)},saveObject({indexName:e,body:t},r){aE("indexName","saveObject",e),aE("body","saveObject",t);let n="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},saveObjectWithHTTPInfo({indexName:e,body:t},r){aE("indexName","saveObjectWithHTTPInfo",e),aE("body","saveObjectWithHTTPInfo",t);let n="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},saveRule({indexName:e,objectID:t,rule:r,forwardToReplicas:n},a){aE("indexName","saveRule",e),aE("objectID","saveRule",t),aE("rule","saveRule",r),aE("rule.objectID","saveRule",r.objectID),aE("rule.consequence","saveRule",r.consequence);let i="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),o.request({method:"PUT",path:i,queryParameters:s,headers:{},data:r},a)},saveRuleWithHTTPInfo({indexName:e,objectID:t,rule:r,forwardToReplicas:n},a){aE("indexName","saveRuleWithHTTPInfo",e),aE("objectID","saveRuleWithHTTPInfo",t),aE("rule","saveRuleWithHTTPInfo",r),aE("rule.objectID","saveRuleWithHTTPInfo",r.objectID),aE("rule.consequence","saveRuleWithHTTPInfo",r.consequence);let i="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),o.requestWithHttpInfo({method:"PUT",path:i,queryParameters:s,headers:{},data:r},a)},saveRules({indexName:e,rules:t,forwardToReplicas:r,clearExistingRules:n},a){aE("indexName","saveRules",e),aE("rules","saveRules",t);let i="/1/indexes/{indexName}/rules/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.clearExistingRules=n.toString()),o.request({method:"POST",path:i,queryParameters:s,headers:{},data:t},a)},saveRulesWithHTTPInfo({indexName:e,rules:t,forwardToReplicas:r,clearExistingRules:n},a){aE("indexName","saveRulesWithHTTPInfo",e),aE("rules","saveRulesWithHTTPInfo",t);let i="/1/indexes/{indexName}/rules/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.clearExistingRules=n.toString()),o.requestWithHttpInfo({method:"POST",path:i,queryParameters:s,headers:{},data:t},a)},saveSynonym({indexName:e,objectID:t,synonymHit:r,forwardToReplicas:n},a){aE("indexName","saveSynonym",e),aE("objectID","saveSynonym",t),aE("synonymHit","saveSynonym",r),aE("synonymHit.objectID","saveSynonym",r.objectID),aE("synonymHit.type","saveSynonym",r.type);let i="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),o.request({method:"PUT",path:i,queryParameters:s,headers:{},data:r},a)},saveSynonymWithHTTPInfo({indexName:e,objectID:t,synonymHit:r,forwardToReplicas:n},a){aE("indexName","saveSynonymWithHTTPInfo",e),aE("objectID","saveSynonymWithHTTPInfo",t),aE("synonymHit","saveSynonymWithHTTPInfo",r),aE("synonymHit.objectID","saveSynonymWithHTTPInfo",r.objectID),aE("synonymHit.type","saveSynonymWithHTTPInfo",r.type);let i="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),o.requestWithHttpInfo({method:"PUT",path:i,queryParameters:s,headers:{},data:r},a)},saveSynonyms({indexName:e,synonymHit:t,forwardToReplicas:r,replaceExistingSynonyms:n},a){aE("indexName","saveSynonyms",e),aE("synonymHit","saveSynonyms",t);let i="/1/indexes/{indexName}/synonyms/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.replaceExistingSynonyms=n.toString()),o.request({method:"POST",path:i,queryParameters:s,headers:{},data:t},a)},saveSynonymsWithHTTPInfo({indexName:e,synonymHit:t,forwardToReplicas:r,replaceExistingSynonyms:n},a){aE("indexName","saveSynonymsWithHTTPInfo",e),aE("synonymHit","saveSynonymsWithHTTPInfo",t);let i="/1/indexes/{indexName}/synonyms/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.replaceExistingSynonyms=n.toString()),o.requestWithHttpInfo({method:"POST",path:i,queryParameters:s,headers:{},data:t},a)},search(e,t){e&&Array.isArray(e)&&(e={requests:e.map(({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),aE("searchMethodParams","search",e),aE("searchMethodParams.requests","search",e.requests);let r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(r,t)},searchWithHTTPInfo(e,t){e&&Array.isArray(e)&&(e={requests:e.map(({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),aE("searchMethodParams","searchWithHTTPInfo",e),aE("searchMethodParams.requests","searchWithHTTPInfo",e.requests);let r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.requestWithHttpInfo(r,t)},searchDictionaryEntries({dictionaryName:e,searchDictionaryEntriesParams:t},r){aE("dictionaryName","searchDictionaryEntries",e),aE("searchDictionaryEntriesParams","searchDictionaryEntries",t),aE("searchDictionaryEntriesParams.query","searchDictionaryEntries",t.query);let n="/1/dictionaries/{dictionaryName}/search".replace("{dictionaryName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t,useReadTransporter:!0,cacheable:!0},r)},searchDictionaryEntriesWithHTTPInfo({dictionaryName:e,searchDictionaryEntriesParams:t},r){aE("dictionaryName","searchDictionaryEntriesWithHTTPInfo",e),aE("searchDictionaryEntriesParams","searchDictionaryEntriesWithHTTPInfo",t),aE("searchDictionaryEntriesParams.query","searchDictionaryEntriesWithHTTPInfo",t.query);let n="/1/dictionaries/{dictionaryName}/search".replace("{dictionaryName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t,useReadTransporter:!0,cacheable:!0},r)},searchForFacetValues({indexName:e,facetName:t,searchForFacetValuesRequest:r},n){aE("indexName","searchForFacetValues",e),aE("facetName","searchForFacetValues",t);let a="/1/indexes/{indexName}/facets/{facetName}/query".replace("{indexName}",encodeURIComponent(e)).replace("{facetName}",encodeURIComponent(t));return o.request({method:"POST",path:a,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)},searchForFacetValuesWithHTTPInfo({indexName:e,facetName:t,searchForFacetValuesRequest:r},n){aE("indexName","searchForFacetValuesWithHTTPInfo",e),aE("facetName","searchForFacetValuesWithHTTPInfo",t);let a="/1/indexes/{indexName}/facets/{facetName}/query".replace("{indexName}",encodeURIComponent(e)).replace("{facetName}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"POST",path:a,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)},searchRules({indexName:e,searchRulesParams:t},r){aE("indexName","searchRules",e);let n="/1/indexes/{indexName}/rules/search".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchRulesWithHTTPInfo({indexName:e,searchRulesParams:t},r){aE("indexName","searchRulesWithHTTPInfo",e);let n="/1/indexes/{indexName}/rules/search".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSingleIndex({indexName:e,searchParams:t},r){aE("indexName","searchSingleIndex",e);let n="/1/indexes/{indexName}/query".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSingleIndexWithHTTPInfo({indexName:e,searchParams:t},r){aE("indexName","searchSingleIndexWithHTTPInfo",e);let n="/1/indexes/{indexName}/query".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSynonyms({indexName:e,searchSynonymsParams:t},r){aE("indexName","searchSynonyms",e);let n="/1/indexes/{indexName}/synonyms/search".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSynonymsWithHTTPInfo({indexName:e,searchSynonymsParams:t},r){aE("indexName","searchSynonymsWithHTTPInfo",e);let n="/1/indexes/{indexName}/synonyms/search".replace("{indexName}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchUserIds:(e,t)=>(aE("searchUserIdsParams","searchUserIds",e),aE("searchUserIdsParams.query","searchUserIds",e.query),o.request({method:"POST",path:"/1/clusters/mapping/search",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)),searchUserIdsWithHTTPInfo:(e,t)=>(aE("searchUserIdsParams","searchUserIdsWithHTTPInfo",e),aE("searchUserIdsParams.query","searchUserIdsWithHTTPInfo",e.query),o.requestWithHttpInfo({method:"POST",path:"/1/clusters/mapping/search",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)),setDictionarySettings:(e,t)=>(aE("dictionarySettingsParams","setDictionarySettings",e),aE("dictionarySettingsParams.disableStandardEntries","setDictionarySettings",e.disableStandardEntries),o.request({method:"PUT",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{},data:e},t)),setDictionarySettingsWithHTTPInfo:(e,t)=>(aE("dictionarySettingsParams","setDictionarySettingsWithHTTPInfo",e),aE("dictionarySettingsParams.disableStandardEntries","setDictionarySettingsWithHTTPInfo",e.disableStandardEntries),o.requestWithHttpInfo({method:"PUT",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{},data:e},t)),setSettings({indexName:e,indexSettings:t,forwardToReplicas:r},n){aE("indexName","setSettings",e),aE("indexSettings","setSettings",t);let a="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==r&&(i.forwardToReplicas=r.toString()),o.request({method:"PUT",path:a,queryParameters:i,headers:{},data:t},n)},setSettingsWithHTTPInfo({indexName:e,indexSettings:t,forwardToReplicas:r},n){aE("indexName","setSettingsWithHTTPInfo",e),aE("indexSettings","setSettingsWithHTTPInfo",t);let a="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==r&&(i.forwardToReplicas=r.toString()),o.requestWithHttpInfo({method:"PUT",path:a,queryParameters:i,headers:{},data:t},n)},updateApiKey({key:e,apiKey:t},r){aE("key","updateApiKey",e),aE("apiKey","updateApiKey",t),aE("apiKey.acl","updateApiKey",t.acl);let n="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},updateApiKeyWithHTTPInfo({key:e,apiKey:t},r){aE("key","updateApiKeyWithHTTPInfo",e),aE("apiKey","updateApiKeyWithHTTPInfo",t),aE("apiKey.acl","updateApiKeyWithHTTPInfo",t.acl);let n="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",requestIdChannel:"queryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aU}-${e}`}),n0()]}),...a})}var aV="1.59.0",aG=["eu","us"];function az(e){return"onDemand"===e.type}function aY(e){return"schedule"===e.type}function a$(e){return"subscription"===e.type}function aQ(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!aG.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${aG.join(", ")}`);let{compression:a,...i}=n||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:a,...i}){let o=n2(e,t,r),s=aT({hosts:[{url:"data.{region}.algolia.com".replace("{region}",a),accept:"readWrite",protocol:"https"}],...i,algoliaAgent:n5({algoliaAgents:n,client:"Ingestion",version:aV}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},async chunkedPush({indexName:e,objects:t,action:r="addObject",waitForTasks:n,batchSize:a=1e3,referenceIndexName:i,maxRetries:o=100},s){if(a<1)throw Error("`batchSize` must be at least 1.");let l=[],c=0,u=[],d=Math.floor(a/10)||a,h=async(e,t)=>{for(let r of u.slice(e,t)){if(!r.eventID)throw Error("received unexpected response from the push endpoint, eventID must not be undefined");let e=0;await n3({func:async()=>{if(void 0===r.eventID||!r.eventID)throw Error("received unexpected response from the push endpoint, eventID must not be undefined");return this.getEvent({runID:r.runID,eventID:r.eventID}).catch(e=>{if(404!==e.status)throw e})},validate:e=>void 0!==e,aggregator:()=>e+=1,error:{validate:()=>e>=o,message:()=>`Stopped waiting for the task after ${o} retries. This does not mean the operation failed; it may still complete. If you need to keep polling, retry with a higher maxRetries.`},timeout:()=>Math.min(1500*e,5e3)})}};for(let[o,p]of t.entries())l.push(p),(l.length===a||o===t.length-1)&&(u.push(await this.push({indexName:e,pushTaskPayload:{action:r,records:l},referenceIndexName:i},s)),l=[]),n&&u.length-c>=d&&(await h(c,c+d),c+=d);return n&&await h(c,u.length),u},createAuthentication:(e,t)=>(aE("authenticationCreate","createAuthentication",e),aE("authenticationCreate.type","createAuthentication",e.type),aE("authenticationCreate.name","createAuthentication",e.name),aE("authenticationCreate.input","createAuthentication",e.input),s.request({method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:e},t)),createAuthenticationWithHTTPInfo:(e,t)=>(aE("authenticationCreate","createAuthenticationWithHTTPInfo",e),aE("authenticationCreate.type","createAuthenticationWithHTTPInfo",e.type),aE("authenticationCreate.name","createAuthenticationWithHTTPInfo",e.name),aE("authenticationCreate.input","createAuthenticationWithHTTPInfo",e.input),s.requestWithHttpInfo({method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:e},t)),createDestination:(e,t)=>(aE("destinationCreate","createDestination",e),aE("destinationCreate.type","createDestination",e.type),aE("destinationCreate.name","createDestination",e.name),aE("destinationCreate.input","createDestination",e.input),s.request({method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:e},t)),createDestinationWithHTTPInfo:(e,t)=>(aE("destinationCreate","createDestinationWithHTTPInfo",e),aE("destinationCreate.type","createDestinationWithHTTPInfo",e.type),aE("destinationCreate.name","createDestinationWithHTTPInfo",e.name),aE("destinationCreate.input","createDestinationWithHTTPInfo",e.input),s.requestWithHttpInfo({method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:e},t)),createSource:(e,t)=>(aE("sourceCreate","createSource",e),aE("sourceCreate.type","createSource",e.type),aE("sourceCreate.name","createSource",e.name),s.request({method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:e},t)),createSourceWithHTTPInfo:(e,t)=>(aE("sourceCreate","createSourceWithHTTPInfo",e),aE("sourceCreate.type","createSourceWithHTTPInfo",e.type),aE("sourceCreate.name","createSourceWithHTTPInfo",e.name),s.requestWithHttpInfo({method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:e},t)),createTask:(e,t)=>(aE("taskCreate","createTask",e),aE("taskCreate.sourceID","createTask",e.sourceID),aE("taskCreate.destinationID","createTask",e.destinationID),aE("taskCreate.action","createTask",e.action),s.request({method:"POST",path:"/2/tasks",queryParameters:{},headers:{},data:e},t)),createTaskWithHTTPInfo:(e,t)=>(aE("taskCreate","createTaskWithHTTPInfo",e),aE("taskCreate.sourceID","createTaskWithHTTPInfo",e.sourceID),aE("taskCreate.destinationID","createTaskWithHTTPInfo",e.destinationID),aE("taskCreate.action","createTaskWithHTTPInfo",e.action),s.requestWithHttpInfo({method:"POST",path:"/2/tasks",queryParameters:{},headers:{},data:e},t)),createTaskV1:(e,t)=>(aE("taskCreate","createTaskV1",e),aE("taskCreate.sourceID","createTaskV1",e.sourceID),aE("taskCreate.destinationID","createTaskV1",e.destinationID),aE("taskCreate.trigger","createTaskV1",e.trigger),aE("taskCreate.action","createTaskV1",e.action),s.request({method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:e},t)),createTaskV1WithHTTPInfo:(e,t)=>(aE("taskCreate","createTaskV1WithHTTPInfo",e),aE("taskCreate.sourceID","createTaskV1WithHTTPInfo",e.sourceID),aE("taskCreate.destinationID","createTaskV1WithHTTPInfo",e.destinationID),aE("taskCreate.trigger","createTaskV1WithHTTPInfo",e.trigger),aE("taskCreate.action","createTaskV1WithHTTPInfo",e.action),s.requestWithHttpInfo({method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:e},t)),createTransformation:(e,t)=>(aE("transformationCreate","createTransformation",e),aE("transformationCreate.name","createTransformation",e.name),s.request({method:"POST",path:"/1/transformations",queryParameters:{},headers:{},data:e},t)),createTransformationWithHTTPInfo:(e,t)=>(aE("transformationCreate","createTransformationWithHTTPInfo",e),aE("transformationCreate.name","createTransformationWithHTTPInfo",e.name),s.requestWithHttpInfo({method:"POST",path:"/1/transformations",queryParameters:{},headers:{},data:e},t)),customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return s.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return s.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return s.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},deleteAuthentication({authenticationID:e},t){aE("authenticationID","deleteAuthentication",e);let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteAuthenticationWithHTTPInfo({authenticationID:e},t){aE("authenticationID","deleteAuthenticationWithHTTPInfo",e);let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteDestination({destinationID:e},t){aE("destinationID","deleteDestination",e);let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteDestinationWithHTTPInfo({destinationID:e},t){aE("destinationID","deleteDestinationWithHTTPInfo",e);let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSource({sourceID:e},t){aE("sourceID","deleteSource",e);let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSourceWithHTTPInfo({sourceID:e},t){aE("sourceID","deleteSourceWithHTTPInfo",e);let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTask({taskID:e},t){aE("taskID","deleteTask",e);let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTaskWithHTTPInfo({taskID:e},t){aE("taskID","deleteTaskWithHTTPInfo",e);let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTaskV1({taskID:e},t){aE("taskID","deleteTaskV1",e);let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTaskV1WithHTTPInfo({taskID:e},t){aE("taskID","deleteTaskV1WithHTTPInfo",e);let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTransformation({transformationID:e},t){aE("transformationID","deleteTransformation",e);let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTransformationWithHTTPInfo({transformationID:e},t){aE("transformationID","deleteTransformationWithHTTPInfo",e);let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},disableTask({taskID:e},t){aE("taskID","disableTask",e);let r="/2/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},disableTaskWithHTTPInfo({taskID:e},t){aE("taskID","disableTaskWithHTTPInfo",e);let r="/2/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PUT",path:r,queryParameters:{},headers:{}},t)},disableTaskV1({taskID:e},t){aE("taskID","disableTaskV1",e);let r="/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},disableTaskV1WithHTTPInfo({taskID:e},t){aE("taskID","disableTaskV1WithHTTPInfo",e);let r="/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTask({taskID:e},t){aE("taskID","enableTask",e);let r="/2/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTaskWithHTTPInfo({taskID:e},t){aE("taskID","enableTaskWithHTTPInfo",e);let r="/2/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTaskV1({taskID:e},t){aE("taskID","enableTaskV1",e);let r="/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTaskV1WithHTTPInfo({taskID:e},t){aE("taskID","enableTaskV1WithHTTPInfo",e);let r="/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PUT",path:r,queryParameters:{},headers:{}},t)},getAuthentication({authenticationID:e},t){aE("authenticationID","getAuthentication",e);let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getAuthenticationWithHTTPInfo({authenticationID:e},t){aE("authenticationID","getAuthenticationWithHTTPInfo",e);let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDestination({destinationID:e},t){aE("destinationID","getDestination",e);let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDestinationWithHTTPInfo({destinationID:e},t){aE("destinationID","getDestinationWithHTTPInfo",e);let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getEvent({runID:e,eventID:t},r){aE("runID","getEvent",e),aE("eventID","getEvent",t);let n="/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(e)).replace("{eventID}",encodeURIComponent(t));return s.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getEventWithHTTPInfo({runID:e,eventID:t},r){aE("runID","getEventWithHTTPInfo",e),aE("eventID","getEventWithHTTPInfo",t);let n="/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(e)).replace("{eventID}",encodeURIComponent(t));return s.requestWithHttpInfo({method:"GET",path:n,queryParameters:{},headers:{}},r)},getRun({runID:e},t){aE("runID","getRun",e);let r="/1/runs/{runID}".replace("{runID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getRunWithHTTPInfo({runID:e},t){aE("runID","getRunWithHTTPInfo",e);let r="/1/runs/{runID}".replace("{runID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getSource({sourceID:e},t){aE("sourceID","getSource",e);let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)}
1,getSourceWithHTTPInfo({sourceID:e},t){aE("sourceID","getSourceWithHTTPInfo",e);let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTask({taskID:e},t){aE("taskID","getTask",e);let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTaskWithHTTPInfo({taskID:e},t){aE("taskID","getTaskWithHTTPInfo",e);let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTaskV1({taskID:e},t){aE("taskID","getTaskV1",e);let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTaskV1WithHTTPInfo({taskID:e},t){aE("taskID","getTaskV1WithHTTPInfo",e);let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTransformation({transformationID:e},t){aE("transformationID","getTransformation",e);let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTransformationWithHTTPInfo({transformationID:e},t){aE("transformationID","getTransformationWithHTTPInfo",e);let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},listAuthentications({itemsPerPage:e,page:t,type:r,platform:n,sort:a,order:i}={},o){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.platform=n.toString()),void 0!==a&&(l.sort=a.toString()),void 0!==i&&(l.order=i.toString()),s.request({method:"GET",path:"/1/authentications",queryParameters:l,headers:{}},o)},listAuthenticationsWithHTTPInfo({itemsPerPage:e,page:t,type:r,platform:n,sort:a,order:i}={},o){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.platform=n.toString()),void 0!==a&&(l.sort=a.toString()),void 0!==i&&(l.order=i.toString()),s.requestWithHttpInfo({method:"GET",path:"/1/authentications",queryParameters:l,headers:{}},o)},listDestinations({itemsPerPage:e,page:t,type:r,authenticationID:n,transformationID:a,sort:i,order:o}={},l){let c={};return void 0!==e&&(c.itemsPerPage=e.toString()),void 0!==t&&(c.page=t.toString()),void 0!==r&&(c.type=r.toString()),void 0!==n&&(c.authenticationID=n.toString()),void 0!==a&&(c.transformationID=a.toString()),void 0!==i&&(c.sort=i.toString()),void 0!==o&&(c.order=o.toString()),s.request({method:"GET",path:"/1/destinations",queryParameters:c,headers:{}},l)},listDestinationsWithHTTPInfo({itemsPerPage:e,page:t,type:r,authenticationID:n,transformationID:a,sort:i,order:o}={},l){let c={};return void 0!==e&&(c.itemsPerPage=e.toString()),void 0!==t&&(c.page=t.toString()),void 0!==r&&(c.type=r.toString()),void 0!==n&&(c.authenticationID=n.toString()),void 0!==a&&(c.transformationID=a.toString()),void 0!==i&&(c.sort=i.toString()),void 0!==o&&(c.order=o.toString()),s.requestWithHttpInfo({method:"GET",path:"/1/destinations",queryParameters:c,headers:{}},l)},listEvents({runID:e,itemsPerPage:t,page:r,status:n,type:a,sort:i,order:o,startDate:l,endDate:c},u){aE("runID","listEvents",e);let d="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(e)),h={};return void 0!==t&&(h.itemsPerPage=t.toString()),void 0!==r&&(h.page=r.toString()),void 0!==n&&(h.status=n.toString()),void 0!==a&&(h.type=a.toString()),void 0!==i&&(h.sort=i.toString()),void 0!==o&&(h.order=o.toString()),void 0!==l&&(h.startDate=l.toString()),void 0!==c&&(h.endDate=c.toString()),s.request({method:"GET",path:d,queryParameters:h,headers:{}},u)},listEventsWithHTTPInfo({runID:e,itemsPerPage:t,page:r,status:n,type:a,sort:i,order:o,startDate:l,endDate:c},u){aE("runID","listEventsWithHTTPInfo",e);let d="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(e)),h={};return void 0!==t&&(h.itemsPerPage=t.toString()),void 0!==r&&(h.page=r.toString()),void 0!==n&&(h.status=n.toString()),void 0!==a&&(h.type=a.toString()),void 0!==i&&(h.sort=i.toString()),void 0!==o&&(h.order=o.toString()),void 0!==l&&(h.startDate=l.toString()),void 0!==c&&(h.endDate=c.toString()),s.requestWithHttpInfo({method:"GET",path:d,queryParameters:h,headers:{}},u)}
1,listRuns({itemsPerPage:e,page:t,status:r,type:n,taskID:a,sort:i,order:o,startDate:l,endDate:c}={},u){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.status=r.toString()),void 0!==n&&(d.type=n.toString()),void 0!==a&&(d.taskID=a.toString()),void 0!==i&&(d.sort=i.toString()),void 0!==o&&(d.order=o.toString()),void 0!==l&&(d.startDate=l.toString()),void 0!==c&&(d.endDate=c.toString()),s.request({method:"GET",path:"/1/runs",queryParameters:d,headers:{}},u)},listRunsWithHTTPInfo({itemsPerPage:e,page:t,status:r,type:n,taskID:a,sort:i,order:o,startDate:l,endDate:c}={},u){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.status=r.toString()),void 0!==n&&(d.type=n.toString()),void 0!==a&&(d.taskID=a.toString()),void 0!==i&&(d.sort=i.toString()),void 0!==o&&(d.order=o.toString()),void 0!==l&&(d.startDate=l.toString()),void 0!==c&&(d.endDate=c.toString()),s.requestWithHttpInfo({method:"GET",path:"/1/runs",queryParameters:d,headers:{}},u)},listSources({itemsPerPage:e,page:t,type:r,authenticationID:n,sort:a,order:i}={},o){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.authenticationID=n.toString()),void 0!==a&&(l.sort=a.toString()),void 0!==i&&(l.order=i.toString()),s.request({method:"GET",path:"/1/sources",queryParameters:l,headers:{}},o)},listSourcesWithHTTPInfo({itemsPerPage:e,page:t,type:r,authenticationID:n,sort:a,order:i}={},o){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.authenticationID=n.toString()),void 0!==a&&(l.sort=a.toString()),void 0!==i&&(l.order=i.toString()),s.requestWithHttpInfo({method:"GET",path:"/1/sources",queryParameters:l,headers:{}},o)},listTasks({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:a,sourceType:i,destinationID:o,triggerType:l,withEmailNotifications:c,sort:u,order:d}={},h){let p={};return void 0!==e&&(p.itemsPerPage=e.toString()),void 0!==t&&(p.page=t.toString()),void 0!==r&&(p.action=r.toString()),void 0!==n&&(p.enabled=n.toString()),void 0!==a&&(p.sourceID=a.toString()),void 0!==i&&(p.sourceType=i.toString()),void 0!==o&&(p.destinationID=o.toString()),void 0!==l&&(p.triggerType=l.toString()),void 0!==c&&(p.withEmailNotifications=c.toString()),void 0!==u&&(p.sort=u.toString()),void 0!==d&&(p.order=d.toString()),s.request({method:"GET",path:"/2/tasks",queryParameters:p,headers:{}},h)},listTasksWithHTTPInfo({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:a,sourceType:i,destinationID:o,triggerType:l,withEmailNotifications:c,sort:u,order:d}={},h){let p={};return void 0!==e&&(p.itemsPerPage=e.toString()),void 0!==t&&(p.page=t.toString()),void 0!==r&&(p.action=r.toString()),void 0!==n&&(p.enabled=n.toString()),void 0!==a&&(p.sourceID=a.toString()),void 0!==i&&(p.sourceType=i.toString()),void 0!==o&&(p.destinationID=o.toString()),void 0!==l&&(p.triggerType=l.toString()),void 0!==c&&(p.withEmailNotifications=c.toString()),void 0!==u&&(p.sort=u.toString()),void 0!==d&&(p.order=d.toString()),s.requestWithHttpInfo({method:"GET",path:"/2/tasks",queryParameters:p,headers:{}},h)},listTasksV1({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:a,destinationID:i,triggerType:o,sort:l,order:c}={},u){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.action=r.toString()),void 0!==n&&(d.enabled=n.toString()),void 0!==a&&(d.sourceID=a.toString()),void 0!==i&&(d.destinationID=i.toString()),void 0!==o&&(d.triggerType=o.toString()),void 0!==l&&(d.sort=l.toString()),void 0!==c&&(d.order=c.toString()),s.request({method:"GET",path:"/1/tasks",queryParameters:d,headers:{}},u)},listTasksV1WithHTTPInfo({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:a,destinationID:i,triggerType:o,sort:l,order:c}={},u){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.action=r.toString()),void 0!==n&&(d.enabled=n.toString()),void 0!==a&&(d.sourceID=a.toString()),void 0!==i&&(d.destinationID=i.toString()),void 0!==o&&(d.triggerType=o.toString()),void 0!==l&&(d.sort=l.toString()),void 0!==c&&(d.order=c.toString()),s.requestWithHttpInfo({method:"GET",path:"/1/tasks",queryParameters:d,headers:{}},u)},listTransformations({itemsPerPage:e,page:t,sort:r,order:n,type:a}={},i){let o={};return void 0!==e&&(o.itemsPerPage=e.toString()),void 0!==t&&(o.page=t.toString()),void 0!==r&&(o.sort=r.toString()),void 0!==n&&(o.order=n.toString()),void 0!==a&&(o.type=a.toString()),s.request({method:"GET",path:"/1/transformations",queryParameters:o,headers:{}},i)},listTransformationsWithHTTPInfo({itemsPerPage:e,page:t,sort:r,order:n,type:a}={},i){let o={};return void 0!==e&&(o.itemsPerPage=e.toString()),void 0!==t&&(o.page=t.toString()),void 0!==r&&(o.sort=r.toString()),void 0!==n&&(o.order=n.toString()),void 0!==a&&(o.type=a.toString()),s.requestWithHttpInfo({method:"GET",path:"/1/transformations",queryParameters:o,headers:{}},i)},push({indexName:e,pushTaskPayload:t,watch:r,referenceIndexName:n},a){aE("indexName","push",e),aE("pushTaskPayload","push",t),aE("pushTaskPayload.action","push",t.action),aE("pushTaskPayload.records","push",t.records);let i="/1/push/{indexName}".replace("{indexName}",encodeURIComponent(e)),o={};return void 0!==r&&(o.watch=r.toString()),void 0!==n&&(o.referenceIndexName=n.toString()),a={...a,timeouts:{connect:18e4,read:18e4,write:18e4,...a?.timeouts}},s.request({method:"POST",path:i,queryParameters:o,headers:{},data:t},a)},pushWithHTTPInfo({indexName:e,pushTaskPayload:t,watch:r,referenceIndexName:n},a){aE("indexName","pushWithHTTPInfo",e),aE("pushTaskPayload","pushWithHTTPInfo",t),aE("pushTaskPayload.action","pushWithHTTPInfo",t.action),aE("pushTaskPayload.records","pushWithHTTPInfo",t.records);let i="/1/push/{indexName}".replace("{indexName}",encodeURIComponent(e)),o={};return void 0!==r&&(o.watch=r.toString()),void 0!==n&&(o.referenceIndexName=n.toString()),a={...a,timeouts:{connect:18e4,read:18e4,write:18e4,...a?.timeouts}},s.requestWithHttpInfo({method:"POST",path:i,queryParameters:o,headers:{},data:t},a)},pushTask({taskID:e,pushTaskPayload:t,watch:r},n){aE("taskID","pushTask",e),aE("pushTaskPayload","pushTask",t),aE("pushTaskPayload.action","pushTask",t.action),aE("pushTaskPayload.records","pushTask",t.records);let a="/2/tasks/{taskID}/push".replace("{taskID}",encodeURIComponent(e)),i={};return void 0!==r&&(i.watch=r.toString()),n={...n,timeouts:{connect:18e4,read:18e4,write:18e4,...n?.timeouts}},s.request({method:"POST",path:a,queryParameters:i,headers:{},data:t},n)},pushTaskWithHTTPInfo({taskID:e,pushTaskPayload:t,watch:r},n){aE("taskID","pushTaskWithHTTPInfo",e),aE("pushTaskPayload","pushTaskWithHTTPInfo",t),aE("pushTaskPayload.action","pushTaskWithHTTPInfo",t.action),aE("pushTaskPayload.records","pushTaskWithHTTPInfo",t.records);let a="/2/tasks/{taskID}/push".replace("{taskID}",encodeURIComponent(e)),i={};return void 0!==r&&(i.watch=r.toString()),n={...n,timeouts:{connect:18e4,read:18e4,write:18e4,...n?.timeouts}},s.requestWithHttpInfo({method:"POST",path:a,queryParameters:i,headers:{},data:t},n)},replaceTask({taskID:e,taskReplace:t},r){aE("taskID","replaceTask",e),aE("taskReplace","replaceTask",t),aE("taskReplace.destinationID","replaceTask",t.destinationID),aE("taskReplace.action","replaceTask",t.action);let n="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},replaceTaskWithHTTPInfo({taskID:e,taskReplace:t},r){aE("taskID","replaceTaskWithHTTPInfo",e),aE("taskReplace","replaceTaskWithHTTPInfo",t),aE("taskReplace.destinationID","replaceTaskWithHTTPInfo",t.destinationID),aE("taskReplace.action","replaceTaskWithHTTPInfo",t.action);let n="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},runSource({sourceID:e,runSourcePayload:t},r){aE("sourceID","runSource",e);let n="/1/sources/{sourceID}/run".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runSourceWithHTTPInfo({sourceID:e,runSourcePayload:t},r){aE("sourceID","runSourceWithHTTPInfo",e);let n="/1/sources/{sourceID}/run".replace("{sourceID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runTask({taskID:e,runTaskPayload:t},r){aE("taskID","runTask",e);let n="/2/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runTaskWithHTTPInfo({taskID:e,runTaskPayload:t},r){aE("taskID","runTaskWithHTTPInfo",e);let n="/2/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runTaskV1({taskID:e,runTaskPayload:t},r){aE("taskID","runTaskV1",e);let n="/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runTaskV1WithHTTPInfo({taskID:e,runTaskPayload:t},r){aE("taskID","runTaskV1WithHTTPInfo",e);let n="/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},searchAuthentications:(e,t)=>(aE("authenticationSearch","searchAuthentications",e),aE("authenticationSearch.authenticationIDs","
1searchAuthentications",e.authenticationIDs),s.request({method:"POST",path:"/1/authentications/search",queryParameters:{},headers:{},data:e},t)),searchAuthenticationsWithHTTPInfo:(e,t)=>(aE("authenticationSearch","searchAuthenticationsWithHTTPInfo",e),aE("authenticationSearch.authenticationIDs","searchAuthenticationsWithHTTPInfo",e.authenticationIDs),s.requestWithHttpInfo({method:"POST",path:"/1/authentications/search",queryParameters:{},headers:{},data:e},t)),searchDestinations:(e,t)=>(aE("destinationSearch","searchDestinations",e),aE("destinationSearch.destinationIDs","searchDestinations",e.destinationIDs),s.request({method:"POST",path:"/1/destinations/search",queryParameters:{},headers:{},data:e},t)),searchDestinationsWithHTTPInfo:(e,t)=>(aE("destinationSearch","searchDestinationsWithHTTPInfo",e),aE("destinationSearch.destinationIDs","searchDestinationsWithHTTPInfo",e.destinationIDs),s.requestWithHttpInfo({method:"POST",path:"/1/destinations/search",queryParameters:{},headers:{},data:e},t)),searchSources:(e,t)=>(aE("sourceSearch","searchSources",e),aE("sourceSearch.sourceIDs","searchSources",e.sourceIDs),s.request({method:"POST",path:"/1/sources/search",queryParameters:{},headers:{},data:e},t)),searchSourcesWithHTTPInfo:(e,t)=>(aE("sourceSearch","searchSourcesWithHTTPInfo",e),aE("sourceSearch.sourceIDs","searchSourcesWithHTTPInfo",e.sourceIDs),s.requestWithHttpInfo({method:"POST",path:"/1/sources/search",queryParameters:{},headers:{},data:e},t)),searchTasks:(e,t)=>(aE("taskSearch","searchTasks",e),aE("taskSearch.taskIDs","searchTasks",e.taskIDs),s.request({method:"POST",path:"/2/tasks/search",queryParameters:{},headers:{},data:e},t)),searchTasksWithHTTPInfo:(e,t)=>(aE("taskSearch","searchTasksWithHTTPInfo",e),aE("taskSearch.taskIDs","searchTasksWithHTTPInfo",e.taskIDs),s.requestWithHttpInfo({method:"POST",path:"/2/tasks/search",queryParameters:{},headers:{},data:e},t)),searchTasksV1:(e,t)=>(aE("taskSearch","searchTasksV1",e),aE("taskSearch.taskIDs","searchTasksV1",e.taskIDs),s.request({method:"POST",path:"/1/tasks/search",queryParameters:{},headers:{},data:e},t)),searchTasksV1WithHTTPInfo:(e,t)=>(aE("taskSearch","searchTasksV1WithHTTPInfo",e),aE("taskSearch.taskIDs","searchTasksV1WithHTTPInfo",e.taskIDs),s.requestWithHttpInfo({method:"POST",path:"/1/tasks/search",queryParameters:{},headers:{},data:e},t)),searchTransformations:(e,t)=>(aE("transformationSearch","searchTransformations",e),aE("transformationSearch.transformationIDs","searchTransformations",e.transformationIDs),s.request({method:"POST",path:"/1/transformations/search",queryParameters:{},headers:{},data:e},t)),searchTransformationsWithHTTPInfo:(e,t)=>(aE("transformationSearch","searchTransformationsWithHTTPInfo",e),aE("transformationSearch.transformationIDs","searchTransformationsWithHTTPInfo",e.transformationIDs),s.requestWithHttpInfo({method:"POST",path:"/1/transformations/search",queryParameters:{},headers:{},data:e},t)),triggerDockerSourceDiscover({sourceID:e},t){aE("sourceID","triggerDockerSourceDiscover",e);let r="/1/sources/{sourceID}/discover".replace("{sourceID}",encodeURIComponent(e));return t={...t,timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},triggerDockerSourceDiscoverWithHTTPInfo({sourceID:e},t){aE("sourceID","triggerDockerSourceDiscoverWithHTTPInfo",e);let r="/1/sources/{sourceID}/discover".replace("{sourceID}",encodeURIComponent(e));return t={...t,timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.requestWithHttpInfo({method:"POST",path:r,queryParameters:{},headers:{}},t)},tryTransformation:(e,t)=>(aE("transformationTry","tryTransformation",e),aE("transformationTry.sampleRecord","tryTransformation",e.sampleRecord),s.request({method:"POST",path:"/1/transformations/try",queryParameters:{},headers:{},data:e},t)),tryTransformationWithHTTPInfo:(e,t)=>(aE("transformationTry","tryTransformationWithHTTPInfo",e),aE("transformationTry.sampleRecord","tryTransformationWithHTTPInfo",e.sampleRecord),s.requestWithHttpInfo({method:"POST",path:"/1/transformations/try",queryParameters:{},headers:{},data:e},t)),tryTransformationBeforeUpdate({transformationID:e,transformationTry:t},r){aE("transformationID","tryTransformationBeforeUpdate",e),aE("transformationTry","tryTransformationBeforeUpdate",t),aE("transformationTry.sampleRecord","tryTransformationBeforeUpdate",t.sampleRecord);let n="/1/transformations/{transformationID}/try".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},tryTransformationBeforeUpdateWithHTTPInfo({transformationID:e,transformationTry:t},r){aE("transformationID","tryTransformationBeforeUpdateWithHTTPInfo",e),aE("transformationTry","tryTransformationBeforeUpdateWithHTTPInfo",t),aE("transformationTry.sampleRecord","tryTransformationBeforeUpdateWithHTTPInfo",t.sampleRecord);let n="/1/transformations/{transformationID}/try".replace("{transformationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},updateAuthentication({authenticationID:e,authenticationUpdate:t},r){aE("authenticationID","updateAuthentication",e),aE("authenticationUpdate","updateAuthentication",t);let n="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateAuthenticationWithHTTPInfo({authenticationID:e,authenticationUpdate:t},r){aE("authenticationID","updateAuthenticationWithHTTPInfo",e),aE("authenticationUpdate","updateAuthenticationWithHTTPInfo",t);let n="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateDestination({destinationID:e,destinationUpdate:t},r){aE("destinationID","updateDestination",e),aE("destinationUpdate","updateDestination",t);let n="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateDestinationWithHTTPInfo({destinationID:e,destinationUpdate:t},r){aE("destinationID","updateDestinationWithHTTPInfo",e),aE("destinationUpdate","updateDestinationWithHTTPInfo",t);let n="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateSource({sourceID:e,sourceUpdate:t},r){aE("sourceID","updateSource",e),aE("sourceUpdate","updateSource",t);let n="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateSourceWithHTTPInfo({sourceID:e,sourceUpdate:t},r){aE("sourceID","updateSourceWithHTTPInfo",e),aE("sourceUpdate","updateSourceWithHTTPInfo",t);let n="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTask({taskID:e,taskUpdate:t}
1,r){aE("taskID","updateTask",e),aE("taskUpdate","updateTask",t);let n="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTaskWithHTTPInfo({taskID:e,taskUpdate:t},r){aE("taskID","updateTaskWithHTTPInfo",e),aE("taskUpdate","updateTaskWithHTTPInfo",t);let n="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTaskV1({taskID:e,taskUpdate:t},r){aE("taskID","updateTaskV1",e),aE("taskUpdate","updateTaskV1",t);let n="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTaskV1WithHTTPInfo({taskID:e,taskUpdate:t},r){aE("taskID","updateTaskV1WithHTTPInfo",e),aE("taskUpdate","updateTaskV1WithHTTPInfo",t);let n="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTransformation({transformationID:e,transformationCreate:t},r){aE("transformationID","updateTransformation",e),aE("transformationCreate","updateTransformation",t),aE("transformationCreate.name","updateTransformation",t.name);let n="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},updateTransformationWithHTTPInfo({transformationID:e,transformationCreate:t},r){aE("transformationID","updateTransformationWithHTTPInfo",e),aE("transformationCreate","updateTransformationWithHTTPInfo",t),aE("transformationCreate.name","updateTransformationWithHTTPInfo",t.name);let n="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.requestWithHttpInfo({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},validateSource:(e,t)=>(t={...t,timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request({method:"POST",path:"/1/sources/validate",queryParameters:{},headers:{},data:e||{}},t)),validateSourceWithHTTPInfo:(e,t)=>(t={...t,timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.requestWithHttpInfo({method:"POST",path:"/1/sources/validate",queryParameters:{},headers:{},data:e||{}},t)),validateSourceBeforeUpdate({sourceID:e,sourceUpdate:t},r){aE("sourceID","validateSourceBeforeUpdate",e),aE("sourceUpdate","validateSourceBeforeUpdate",t);let n="/1/sources/{sourceID}/validate".replace("{sourceID}",encodeURIComponent(e));return r={...r,timeouts:{connect:18e4,read:18e4,write:18e4,...r?.timeouts}},s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},validateSourceBeforeUpdateWithHTTPInfo({sourceID:e,sourceUpdate:t},r){aE("sourceID","validateSourceBeforeUpdateWithHTTPInfo",e),aE("sourceUpdate","validateSourceBeforeUpdateWithHTTPInfo",t);let n="/1/sources/{sourceID}/validate".replace("{sourceID}",encodeURIComponent(e));return r={...r,timeouts:{connect:18e4,read:18e4,write:18e4,...r?.timeouts}},s.requestWithHttpInfo({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:25e3,read:25e3,write:25e3},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aV}-${e}`}),n0()]}),...i})}var aK="1.59.0";function aZ(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let{compression:n,...a}=r||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...a}){let i=n2(e,t,r),o=aT({hosts:[{url:"status.algolia.com",accept:"readWrite",protocol:"https"}],...a,algoliaAgent:n5({algoliaAgents:n,client:"Monitoring",version:aK}),baseHeaders:{"content-type":"text/plain",...i.headers(),...a.baseHeaders},baseQueryParameters:{...i.queryParameters(),...a.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache:()=>Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0),get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?o.baseQueryParameters["x-algolia-api-key"]=e:o.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return o.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return o.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return o.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return o.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},getClusterIncidents({clusters:e},t){aE("clusters","getClusterIncidents",e);let r="/1/incidents/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getClusterIncidentsWithHTTPInfo({clusters:e},t){aE("clusters","getClusterIncidentsWithHTTPInfo",e);let r="/1/incidents/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getClusterStatus({clusters:e},t){aE("clusters","getClusterStatus",e);let r="/1/status/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getClusterStatusWithHTTPInfo({clusters:e},t){aE("clusters","getClusterStatusWithHTTPInfo",e);let r="/1/status/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getIncidents:e=>o.request({method:"GET",path:"/1/incidents",queryParameters:{},headers:{}},e),getIncidentsWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/incidents",queryParameters:{},headers:{}},e),getIndexingTime({clusters:e},t){aE("clusters","getIndexingTime",e);let r="/1/indexing/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getIndexingTimeWithHTTPInfo({clusters:e},t){aE("clusters","getIndexingTimeWithHTTPInfo",e);let r="/1/indexing/{clusters}
1".replace("{clusters}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLatency({clusters:e},t){aE("clusters","getLatency",e);let r="/1/latency/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLatencyWithHTTPInfo({clusters:e},t){aE("clusters","getLatencyWithHTTPInfo",e);let r="/1/latency/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getMetrics({metric:e,period:t},r){aE("metric","getMetrics",e),aE("period","getMetrics",t);let n="/1/infrastructure/{metric}/period/{period}".replace("{metric}",encodeURIComponent(e)).replace("{period}",encodeURIComponent(t));return o.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getMetricsWithHTTPInfo({metric:e,period:t},r){aE("metric","getMetricsWithHTTPInfo",e),aE("period","getMetricsWithHTTPInfo",t);let n="/1/infrastructure/{metric}/period/{period}".replace("{metric}",encodeURIComponent(e)).replace("{period}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"GET",path:n,queryParameters:{},headers:{}},r)},getReachability({clusters:e},t){aE("clusters","getReachability",e);let r="/1/reachability/{clusters}/probes".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getReachabilityWithHTTPInfo({clusters:e},t){aE("clusters","getReachabilityWithHTTPInfo",e);let r="/1/reachability/{clusters}/probes".replace("{clusters}",encodeURIComponent(e));return o.requestWithHttpInfo({method:"GET",path:r,queryParameters:{},headers:{}},t)},getServers:e=>o.request({method:"GET",path:"/1/inventory/servers",queryParameters:{},headers:{}},e),getServersWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/inventory/servers",queryParameters:{},headers:{}},e),getStatus:e=>o.request({method:"GET",path:"/1/status",queryParameters:{},headers:{}},e),getStatusWithHTTPInfo:e=>o.requestWithHttpInfo({method:"GET",path:"/1/status",queryParameters:{},headers:{}},e)}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aK}-${e}`}),n0()]}),...a})}var aX="5.59.0";function aJ(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let{compression:n,...a}=r||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...a}){let i=n2(e,t,r),o=aT({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(al([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...a,algoliaAgent:n5({algoliaAgents:n,client:"Recommend",version:aX}),baseHeaders:{"content-type":"text/plain",...i.headers(),...a.baseHeaders},baseQueryParameters:{...i.queryParameters(),...a.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache:()=>Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0),get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?o.baseQueryParameters["x-algolia-api-key"]=e:o.baseHeaders["x-algolia-api-key"]=e},batchRecommendRules({indexName:e,model:t,recommendRule:r},n){aE("indexName","batchRecommendRules",e),aE("model","batchRecommendRules",t);let a="/1/indexes/{indexName}/{model}/recommend/rules/batch".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return o.request({method:"POST",path:a,queryParameters:{},headers:{},data:r||{}},n)},batchRecommendRulesWithHTTPInfo({indexName:e,model:t,recommendRule:r},n){aE("indexName","batchRecommendRulesWithHTTPInfo",e),aE("model","batchRecommendRulesWithHTTPInfo",t);let a="/1/indexes/{indexName}/{model}/recommend/rules/batch".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"POST",path:a,queryParameters:{},headers:{},data:r||{}},n)},customDelete({path:e,parameters:t},r){aE("path","customDelete",e);let n="/{path}".replace("{path}",e);return o.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customDeleteWithHTTPInfo({path:e,parameters:t},r){aE("path","customDeleteWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){aE("path","customGet",e);let n="/{path}".replace("{path}",e);return o.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customGetWithHTTPInfo({path:e,parameters:t},r){aE("path","customGetWithHTTPInfo",e);let n="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){aE("path","customPost",e);let a="/{path}".replace("{path}",e);return o.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPostWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPostWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){aE("path","customPut",e);let a="/{path}".replace("{path}",e);return o.request({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},customPutWithHTTPInfo({path:e,parameters:t,body:r},n){aE("path","customPutWithHTTPInfo",e);let a="/{path}".replace("{path}",e);return o.requestWithHttpInfo({method:"PUT",path:a,queryParameters:t||{},headers:{},data:r||{}},n)},deleteRecommendRule({indexName:e,model:t,objectID:r},n){aE("indexName","deleteRecommendRule",e),aE("model","deleteRecommendRule",t),aE("objectID","deleteRecommendRule",r);let a="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return o.request({method:"DELETE",path:a,queryParameters:{},headers:{}},n)},deleteRecommendRuleWithHTTPInfo({indexName:e,model:t,objectID:r},n){aE("indexName","deleteRecommendRuleWithHTTPInfo",e),aE("model","deleteRecommendRuleWithHTTPInfo",t),aE("objectID","deleteRecommendRuleWithHTTPInfo",r);let a="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return o.requestWithHttpInfo({method:"DELETE",path:a,queryParameters:{},headers:{}},n)},getRecommendRule({indexName:e,model:t,objectID:r},n){aE("indexName","getRecommendRule",e),aE("model","getRecommendRule",t),aE("objectID","getRecommendRule",r);let a="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return o.request({method:"GET",path:a,queryParameters:{},headers:{}},n)},getRecommendRuleWithHTTPInfo({indexName:e,model:t,objectID:r},n){aE("indexName","getRecommendRuleWithHTTPInfo",e),aE("model","getRecommendRuleWithHTTPInfo",t),aE("objectID","getRecommendRuleWithHTTPInfo",r);let a="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return o.requestWithHttpInfo({method:"GET",path:a,queryParameters:{},headers:{}},n)},getRecommendStatus({indexName:e,model:t,taskID:r},n){aE("indexName","getRecommendStatus",e),aE("model","getRecommendStatus",t),aE("taskID","getRecommendStatus",r);let a="/1/indexes/{indexName}/{model}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{taskID}",encodeURIComponent(r));return o.request({method:"GET",path:a,queryParameters:{},headers:{}},n)},getRecommendStatusWithHTTPInfo({indexName:e,model:t,taskID:r},n){aE("indexName","getRecommendStatusWithHTTPInfo",e),aE("model","getRecommendStatusWithHTTPInfo",t),aE("taskID","getRecommendStatusWithHTTPInfo",r);let a="/1/indexes/{indexName}/{model}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{taskID}",encodeURIComponent(r));return o.requestWithHttpInfo({method:"GET",path:a,queryParameters:{},headers:{}},n)},getRecommendations(e,t){e&&Array.isArray(e)&&(e={requests:e}),aE("getRecommendationsParams","getRecommendations",e),aE("getRecommendationsParams.requests","getRecommendations",e.requests);let r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(r,t)},getRecommendationsWithHTTPInfo(e,t){e&&Array.isArray(e)&&(e={requests:e}),aE("getRecommendationsParams","getRecommendationsWithHTTPInfo",e),aE("getRecommendationsParams.requests","getRecommendationsWithHTTPInfo",e.requests);let r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.requestWithHttpInfo(r,t)},searchRecommendRules({indexName:e,model:t,searchRecommendRulesParams:r},n){aE("indexName","searchRecommendRules",e),aE("model","searchRecommendRules",t);let a="/1/indexes/{indexName}/{model}/recommend/rules/search".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return o.request({method:"POST",path:a,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)},searchRecommendRulesWithHTTPInfo({indexName:e,model:t,searchRecommendRulesParams:r},n){aE("indexName","searchRecommendRulesWithHTTPInfo",e),aE("model","searchRecommendRulesWithHTTPInfo",t);let a="/1/indexes/{indexName}/{model}/recommend/rules/search".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return o.requestWithHttpInfo({method:"POST",path:a,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:n4(),requester:aC(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",requestIdChannel:"queryParameters",responsesCache:n0(),requestsCache:n0({serializable:!1}
1),hostsCache:n1({caches:[nJ({key:`${aX}-${e}`}),n0()]}),...a})}var a1=Object.defineProperty,a0=Object.getOwnPropertyDescriptor,a2=Object.getOwnPropertyNames,a3=Object.prototype.hasOwnProperty,a5=(e,t)=>{for(var r in t)a1(e,r,{get:t[r],enumerable:!0})},a4=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of a2(t))a3.call(e,a)||a===r||a1(e,a,{get:()=>t[a],enumerable:!(n=a0(t,a))||n.enumerable});return e},a8=(e,t,r)=>(a4(e,t,"default"),r&&a4(r,t,"default")),a6={};a5(a6,{algoliasearch:()=>a7,apiClientVersion:()=>aU});var a9={};function a7(e,t,r){let n,a;if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let i=aW(e,t,r);if(r?.transformationOptions?n=r.transformationOptions:r?.transformation&&(n={region:r.transformation.region}),n){if(!n.region)throw Error("`region` is required in `transformationOptions`. See https://www.algolia.com/doc/libraries/sdk/methods/ingestion/");let{region:r,...i}=n;a=aQ(e,t,r,i)}return{...i,async saveObjectsWithTransformation({indexName:e,objects:t,batchSize:r,waitForTasks:n,maxRetries:i},o){if(!a)throw Error("`transformationOptions` must be set in the client config before calling this method. It defaults to the Ingestion API defaults. See https://www.algolia.com/doc/libraries/sdk/methods/ingestion/");return a.chunkedPush({indexName:e,objects:t,action:"addObject",batchSize:r,waitForTasks:n,maxRetries:i},o)},async partialUpdateObjectsWithTransformation({indexName:e,objects:t,createIfNotExists:r,batchSize:n,waitForTasks:i,maxRetries:o},s){if(!a)throw Error("`transformationOptions` must be set in the client config before calling this method. It defaults to the Ingestion API defaults. See https://www.algolia.com/doc/libraries/sdk/methods/ingestion/");return a.chunkedPush({indexName:e,objects:t,action:r?"partialUpdateObject":"partialUpdateObjectNoCreate",batchSize:n,waitForTasks:i,maxRetries:o},s)},async replaceAllObjectsWithTransformation({indexName:e,objects:t,batchSize:r,scopes:n,maxRetries:o=800},s){if(!a)throw Error("`transformationOptions` must be set in the client config before calling this method. It defaults to the Ingestion API defaults. See https://www.algolia.com/doc/libraries/sdk/methods/ingestion/");let l=av(i.transporter,s);0===t.length&&n8(i.transporter.logger,`replaceAllObjectsWithTransformation was called with an empty list of objects, which will delete all records currently in the "${e}" index.`);let c=Math.floor(1e6*Math.random())+1e5,u=`${e}_tmp_${c}`;void 0===n&&(n=["settings","rules","synonyms"]);try{let i=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:u,scope:n}},l),c=await a.chunkedPush({indexName:u,objects:t,waitForTasks:!0,batchSize:r,referenceIndexName:e,maxRetries:o},s);await this.waitForTask({indexName:u,taskID:i.taskID,maxRetries:o},l),i=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:u,scope:n}},l),await this.waitForTask({indexName:u,taskID:i.taskID,maxRetries:o},l);let d=await this.operationIndex({indexName:u,operationIndexParams:{operation:"move",destination:e}},l);return await this.waitForTask({indexName:u,taskID:d.taskID,maxRetries:o},l),{copyOperationResponse:i,watchResponses:c,moveOperationResponse:d}}catch(e){throw await this.deleteIndex({indexName:u},l),e}},get _ua(){return i.transporter.algoliaAgent.value},initAbtesting:r=>a_(r.appId||e,r.apiKey||t,r.region,r.options),initAbtestingV3:r=>aS(r.appId||e,r.apiKey||t,r.region,r.options),initAnalytics:r=>aN(r.appId||e,r.apiKey||t,r.region,r.options),initIngestion:r=>aQ(r.appId||e,r.apiKey||t,r.region,r.options),initInsights:r=>aj(r.appId||e,r.apiKey||t,r.region,r.options),initMonitoring:(r={})=>aZ(r.appId||e,r.apiKey||t,r.options),initPersonalization:r=>aH(r.appId||e,r.apiKey||t,r.region,r.options),initQuerySuggestions:r=>aB(r.appId||e,r.apiKey||t,r.region,r.options),initRecommend:(r={})=>aJ(r.appId||e,r.apiKey||t,r.options)}}a5(a9,{apiClientVersion:()=>aU}),a8(a9,s),a8(a9,l),a8(a9,c),a8(a9,u),a8(a9,d),a8(a9,h),a8(a9,p),a8(a9,f),a8(a9,m),a8(a9,g),a8(a6,a9);var ie=r(36861);r(9447);let it=A()(()=>Promise.all([r.e(1736),r.e(1642),r.e(5104),r.e(5685),r.e(41)]).then(r.bind(r,40041)).then(e=>e.CplCancelFormSB),{loadableGenerated:{webpack:()=>[40041]}}),ir=A()(()=>Promise.all([r.e(1736),r.e(1642),r.e(5104),r.e(5685),r.e(41)]).then(r.bind(r,40041)).then(e=>
1e.CplRegistrationPage),{loadableGenerated:{webpack:()=>[40041]}}),ia=A()(()=>Promise.all([r.e(1736),r.e(1642),r.e(5104),r.e(5685),r.e(41)]).then(r.bind(r,40041)).then(e=>e.DataguardUnsubscribeSectionSB),{loadableGenerated:{webpack:()=>[40041]}});o=ie.$,(0,x.lK)("full_slug",async(e,t)=>{t[e]&&"string"==typeof t[e]&&(t[e]=(0,T.b)(t[e]))}),(0,x.VK)(b.L3.DetailPage,(0,k.detailPageEnhancer)(o)),(0,x.VK)(b.L3.HubPage,(e=>{let{lottery:t}=e;return async e=>{try{if((null==e?void 0:e.component)==="HubPage"){var r;let{topic:n}=null!=(r=e.pageTopic)?r:{};await (0,S.v)(e.sections,{lottery:t,topic:n||void 0})}}catch(e){console.log(e)}}})(o)),(0,x.VK)(b.L3.AllInPage,(0,I.allInPageEnhancer)(o)),(0,x.VK)(b.L3.CategoryPage,(0,P.categoryPageEnhancer)(o)),(0,x.VK)(b.T6.FaqSection,(0,C.E)(o)),(0,x.VK)(b.L3.DetailPage,async e=>{var t,r;let n=e.sections.find(e=>"LocationSection"===e.component);(null==n||null==(r=n.locations)||null==(t=r[0])?void 0:t.name)&&(e.introCard[0].locations=n.locations.map(e=>e.content))}),(0,x.VK)(b.T6.PartnerLogosSection,async e=>{let t="component"in e&&e.component===b.T6.PartnerLogosSection,r="variant"in e&&"charities"===e.variant;t&&r&&(e.charities=await (0,w.Lt)(o))}),(0,x.iU)("asset",async e=>{e.filename&&"string"==typeof e.filename&&(e.filename=(0,E.uq)(e.filename))}),(0,x.iU)("multilink",_);let{AlgoliaWrapper:ii}=(a=a7(ie.$.algoliaClient.appID,ie.$.algoliaClient.apiKey),i=ie.$.algoliaClient.indexName,n={...a,search:e=>e.every(e=>{let{params:t}=e;return!t.query&&!t.hitsPerPage})?Promise.resolve({results:e.map(()=>({hits:[],nbHits:0,nbPages:0,page:0,processingTimeMS:0,hitsPerPage:0,exhaustiveNbHits:!1,query:"",params:""}))}):a.search(e)},{AlgoliaWrapper:e=>{let t,r=(0,y.c)(2),{children:a}=e;return r[0]!==a?(t=(0,v.jsx)(nW,{searchClient:n,indexName:i,children:a}),r[0]=a,r[1]=t):t=r[1],t}}),io=(e=>{let{config:t,AlgoliaWrapper:r}=e;return{...tA,HomePage:rp,DetailPage:rd,FaqSection:tU,LargeCardCarouselSection:tY,SingleMediaSection:t1,TextOnlySection:ri,IntroCardSection:tF,TextIntroInline:tB,EventCard:tq,StorycardSection:ra,CountdownTimerSection:tL,HorizontalCardGridSection:tW,CustomerCardSection:tH,MultiMediaSection:tJ,SpotlightSection:e=>(0,v.jsx)(rt,{...e,analyticsEnabled:!0}),AllInPage:e=>(0,v.jsx)(rl,{environment:t.environment,lottery:t.lottery,...e}),HubPage:rf,CampaignPage:rc,CtaSection:e=>(0,v.jsx)(tM,{...e,analyticsEnabled:!0}),CategoryPage:e=>(0,v.jsx)(ru,{environment:t.environment,lottery:t.lottery,...e,analyticsEnabled:!0}),PrivacyStatement:e=>(0,v.jsx)(t4,{...e,consentStrategy:t.consentStrategy,locale:t.locale}),HowItWorksSection:tV,StandardPage:rg,SiteWideConfig:rv,FunnelPage:rh,SearchResultsPage:e=>(0,v.jsx)(rm,{AlgoliaWrapper:r,...e}),MoreLinksSection:t2,ContentGridSection:tO,IconCardSection:tG,BrandedHighlightCard:tN,RelatedCategoriesSection:t9,WinnerHighlightSection:rs,StepHighlightCardSection:rn,MediaSliderSection:t0,PrizePlanSection:t8,MediaPrizeCardCarousel:tZ,PartnerLogosSection:t3,IconListSection:tz,ImageSection:tX,CardAndSpotlightSection:tD,PlanMatrix:t5,StatSection:rr,LottieHowItWorksSection:e=>(0,v.jsx)(tQ,{...e,lottery:t.lottery}),ContentCard:ry,LayoutRow:t$,ReferAFriendSection:e=>(0,v.jsx)(t6,{...e,lottery:t.lottery,env:t.environment,locale:t.locale,consentStrategy:t.consentStrategy}),CookiesTableSection:e=>(0,v.jsx)(tj,{...e,lottery:t.lottery}),RichCards:re,RelatedStoriesSection:t7,MediaGrid:tK,TrustPilotSection:ro,PrizeCardSection:t_}})({config:ie.$,AlgoliaWrapper:ii});((e={})=>{let t=(0,nX.zg)();if(t)return()=>t;let{storyblokApi:r}=(0,nZ.YV)(e);return(0,nX.Zv)(r),e.components&&(0,nX.ZR)(e.components),void 0!==e.enableFallbackComponent&&(0,nX.xo)(e.enableFallbackComponent),e.customFallbackComponent&&(0,nX.Rg)(e.customFallbackComponent),()=>r})({accessToken:ie.$.storyblokToken,use:[nZ.YB],components:{...io,CplRegistrationPage:e=>(0,v.jsx)(ir,{environment:ie.$.environment,...e}),CplCancelForm:it,DataguardUnsubscribeSection:ia},apiOptions:{maxRetries:10,rateLimit:10}});let is=e=>{let t,r,n,a=(0,y.c)(6),i="pr"===ie.$.environment?"showOnlyLogo":"showFullNav";return a[0]===Symbol.for("react.memo_cache_sentinel")?(t={...ie.$,vwoId:null},a[0]=t):t=a[0],a[1]!==e?(r=(0,v.jsx)(nK.M1,{...e,config:t,includeVwoSplitTest:!0,locale:O.hTi.EN_CA,topNavVariant:i}),a[1]=e,a[2]=r):r=a[2],a[3]!==e.router.asPath||a[4]!==r?(n=(0,v.jsx)(nQ,{
1config:ie.$,path:e.router.asPath,children:r}),a[3]=e.router.asPath,a[4]=r,a[5]=n):n=a[5],n}},65251:(e,t,r)=>{"use strict";function n(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function a(e){return e.join(" ").trim()}r.d(t,{A:()=>a,q:()=>n})},65440:()=>{},65447:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){var n="number"==typeof e[r]?e[r]:0,a=t[r];void 0!==a&&a>=n&&(void 0!==e[r]&&delete e[r],e[r]=a)}),e},{})}},66186:(e,t,r)=>{"use strict";r.d(t,{o:()=>rR});var n,a,i,o,s,l,c,u,d,h,p,f,m,g,v,y,b,x,T,E,C,w,k,S,I,P,_,R,A,N,D=r(6029),O=r(41834),j=r(32988),L=r.n(j),M=r(24625);function H(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}r(76527);var q=r(13532),B=(r(9039),r(30048));function U(e,t,r){let n=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){let e,t=r.unsafe[i],a=r.compilePattern(t);if(t.atBreak)for(;e=a.exec(n);){let t=e.index;10===n.charCodeAt(t)&&13===n.charCodeAt(t-1)&&t--,n=n.slice(0,t)+" "+n.slice(e.index+1)}}return a+n+a}U.peek=function(){return"`"};(0,r(93227).C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function W(e){let t=e._align;(0,M.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function V(e){this.exit(e),this.data.inTable=void 0}function G(e){this.enter({type:"tableRow",children:[]},e)}function z(e){this.exit(e)}function Y(e){this.enter({type:"tableCell",children:[]},e)}function $(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Q));let r=this.stack[this.stack.length-1];(0,M.ok)("inlineCode"===r.type),r.value=t,this.exit(e)}function Q(e,t){return"|"===t?t:e}var K=r(15113),Z=r(39932);class X{constructor(){this.map=[],this.index=new Map}add(e,t,r){!function(e,t,r,n){if(0===r&&0===n.length)return;let a=e.index.get(t);if(a){a[1]+=r,a[2].push(...n);return}let i=[t,r,n];e.map.push(i),e.index.set(t,i)}(this,e,t,r)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,r=[];for(;t>0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];r.push(e.slice()),e.length=0;let n=r.pop();for(;n;){for(let t of n)e.push(t);n=r.pop()}this.map.length=0,this.index.clear()}}function J(e,t,r){let n,a=this,i=0,o=0;return function(e){let t=a.events.length-1;for(;t>-1;){let{type:e}=a.events[t][1];if("lineEnding"===e||"linePrefix"===e)t--;else break}let n=t>-1?a.events[t][1].type:null,i="tableHead"===n||"tableRow"===n?y:s;return i===y&&a.parser.lazy[a.now().line]?r(e):i(e)};function s(t){var r;return e.enter("tableHead"),e.enter("tableRow"),124===(r=t)||(n=!0,o+=1),l(r)}function l(t){return null===t?r(t):(0,Z.HP)(t)?o>1?(o=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):r(t):(0,Z.On)(t)?(0,K.N)(e,l,"whitespace")(t):(o+=1,n&&(n=!1,i+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),n=!0,l):(e.enter("data"),c(t))}function c(t){return null===t||124===t||(0,Z.Ee)(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?r(t):(e.enter("tableDelimiterRow"),n=!1,(0,Z.On)(t))?(0,K.N)(e,h,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):h(t)}function h(t){return 45===t||58===t?f(t):124===t?(n=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):r(t)}function p(t){return(0,Z.On)(t)?(0,K.N)(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(o+=1,n=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||(0,Z.HP)(t)?v(t):r(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(r){return 45===r?(e.consume(r),t):58===r?(n=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(r),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(r))}(t)):r(t)}function g(t){return(0,Z.On)(t)?(0,K.N)(e,v,"whitespace")(t):v(t)}function v(a){if(124===a)return h(a);if(null===a||(0,Z.HP)(a))return n&&i===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):r(a);return r(a)}function y(t){return e.enter("tableRow"),b(t)}function b(r){return 124===r?(e.enter("tableCellDivider"),e.consume(r),e.exit("tableCellDivider"),b):null===r||(0,Z.HP)(r)?(e.exit("tableRow"),t(r)):(0,Z.On)(r)?(0,K.N)(e,b,"whitespace")(r):(e.enter("data"),x(r))}function x(t){return null===t||124===t||(0,Z.Ee)(t)?(e.exit("data"),b(t)):(e.consume(t),92===t?T:x)}function T(t){return 92===t||124===t?(e.consume(t),x):x(t)}}function ee(e,t){let r,n,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,h=new X;for(;++i<e.length;){let p=e[i],f=p[1];
1"enter"===p[0]?"tableHead"===f.type?(u=!1,0!==d&&(er(h,t,d,r,n),n=void 0,d=0),r={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},h.add(i,0,[["enter",r,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(o=!0,a=void 0,l=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,n={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},h.add(i,0,[["enter",n,t]])),s="tableDelimiterRow"===f.type?2:n?3:1):s&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)?(o=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],a=et(h,t,l,s,void 0,a),l=[0,0,0,0]),c[2]=i)):"tableCellDivider"===f.type&&(o?o=!1:(0!==l[1]&&(c[0]=c[1],a=et(h,t,l,s,void 0,a)),c=[(l=c)[1],i,0,0])):"tableHead"===f.type?(u=!0,d=i):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=i,0!==l[1]?(c[0]=c[1],a=et(h,t,l,s,i,a)):0!==c[1]&&(a=et(h,t,c,s,i,a)),s=0):s&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)&&(c[3]=i)}for(0!==d&&er(h,t,d,r,n),h.consume(t.events),i=-1;++i<t.events.length;){let e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let r=!1,n=[];for(;t<e.length;){let a=e[t];if(r){if("enter"===a[0])"tableContent"===a[1].type&&n.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===a[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=n.length-1;n[e]="left"===n[e]?"center":"right"}}else if("tableDelimiterRow"===a[1].type)break}else"enter"===a[0]&&"tableDelimiterRow"===a[1].type&&(r=!0);t+=1}return n}(t.events,i))}return e}function et(e,t,r,n,a,i){0!==r[0]&&(i.end=Object.assign({},en(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));let o=en(t.events,r[1]);if(i={type:1===n?"tableHeader":2===n?"tableDelimiter":"tableData",start:Object.assign({},o),end:Object.assign({},o)},e.add(r[1],0,[["enter",i,t]]),0!==r[2]){let a=en(t.events,r[2]),i=en(t.events,r[3]),o={type:"tableContent",start:Object.assign({},a),end:Object.assign({},i)};if(e.add(r[2],0,[["enter",o,t]]),2!==n){let n=t.events[r[2]],a=t.events[r[3]];if(n[1].end=Object.assign({},a[1].end),n[1].type="chunkText",n[1].contentType="text",r[3]>r[2]+1){let t=r[2]+1,n=r[3]-r[2]-1;e.add(t,n,[])}}e.add(r[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},en(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function er(e,t,r,n,a){let i=[],o=en(t.events,r);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),n.end=Object.assign({},o),i.push(["exit",n,t]),e.add(r+1,0,i)}function en(e,t){let r=e[t],n="enter"===r[0]?"start":"end";return r[1][n]}let ea={none:"",left:' align="left"',right:' align="right"',center:' align="center"'};function ei(e,t){return"|"===t?t:e}var eo=r(92840),es=r(76792),el=r(76978),ec=r(53732);let eu=/[#.]/g;var ed=r(6687),eh=r(15819),ep=r(65251);function ef(e,t,r){let n=r?function(e){let t=new Map;for(let r of e)t.set(r.toLowerCase(),r);return t}(r):void 0;return function(r,a,...i){let o;if(null==r)o={type:"root",children:[]},i.unshift(a);else{let s=(o=function(e,t){let r,n,a=e||"",i={},o=0;for(;o<a.length;){eu.lastIndex=o;let e=eu.exec(a),t=a.slice(o,e?e.index:a.length);t&&(r?"#"===r?i.id=t:Array.isArray(i.className)?i.className.push(t):i.className=[t]:n=t,o+=t.length),e&&(r=e[0],o++)}return{type:"element",tagName:n||t||"div",properties:i,children:[]}}(r,t)).tagName.toLowerCase(),l=n?n.get(s):void 0;if(o.tagName=l||s,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let r=e[t];if(r&&"object"==typeof r){if(!Array.isArray(r))return!0;for(let e of r)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,r]of Object.entries(a))!function(e,t,r,n){let a,i=(0,ed.I)(e,r);if(null!=n){if("number"==typeof n){if(Number.isNaN(n))return;a=n}else a="boolean"==typeof n?n:"string"==typeof n?i.spaceSeparated?(0,ep.q)(n):i.commaSeparated?(0,ec.q)(n):i.commaOrSpaceSeparated?(0,ep.q)((0,ec.q)(n).join(" ")):em(i,i.property,n):Array.isArray(n)?[...n]:"style"===i.property?function(e){let t=[];for(let[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}(n):String(n);if(Array.isArray(a)){let e=[];
1for(let t of a)e.push(em(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,o.properties,t,r)}for(let e of i)!function e(t,r){if(null==r);else if("number"==typeof r||"string"==typeof r)t.push({type:"text",value:String(r)});else if(Array.isArray(r))for(let n of r)e(t,n);else if("object"==typeof r&&"type"in r)"root"===r.type?e(t,r.children):t.push(r);else throw Error("Expected node, nodes, or string, got `"+r+"`")}(o.children,e);return"element"===o.type&&"template"===o.tagName&&(o.content={type:"root",children:o.children},o.children=[]),o}}function em(e,t,r){if("string"==typeof r){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(""===r||(0,eh.S)(r)===(0,eh.S)(t)))return!0}return r}let eg=ef(el.qy,"div"),ev=ef(el.JW,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function ey(e,t){let r=e.indexOf("\r",t),n=e.indexOf("\n",t);return -1===n?r:-1===r||r+1===n?n:r<n?r:n}let eb={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ex={}.hasOwnProperty,eT=Object.prototype;function eE(e,t){let r;switch(t.nodeName){case"#comment":return r={type:"comment",value:t.data},ew(e,t,r),r;case"#document":case"#document-fragment":{let n="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(r={type:"root",children:eC(e,t.childNodes),data:{quirksMode:n}},e.file&&e.location){let t,n,a=String(e.file),i=(t=String(a),n=[],{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=ey(t,e),a=-1===r?t.length+1:r+1;if(e===a)break;n.push(a)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=ey(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}),o=i.toPoint(0),s=i.toPoint(a.length);(0,M.ok)(o,"expected `start`"),(0,M.ok)(s,"expected `end`"),r.position={start:o,end:s}}return r}case"#documentType":return ew(e,t,r={type:"doctype"}),r;case"#text":return r={type:"text",value:t.value},ew(e,t,r),r;default:return function(e,t){let r=e.schema;e.schema=t.namespaceURI===eb.svg?el.JW:el.qy;let n=-1,a={};for(;++n<t.attrs.length;){let e=t.attrs[n],r=(e.prefix?e.prefix+":":"")+e.name;ex.call(eT,r)||(a[r]=e.value)}let i=("svg"===e.schema.space?ev:eg)(t.tagName,a,eC(e,t.childNodes));if(ew(e,t,i),"template"===i.tagName){let r=t.sourceCodeLocation,n=r&&r.startTag&&ek(r.startTag),a=r&&r.endTag&&ek(r.endTag),o=eE(e,t.content);n&&a&&e.file&&(o.position={start:n.end,end:a.start}),i.content=o}return e.schema=r,i}(e,t)}}function eC(e,t){let r=-1,n=[];for(;++r<t.length;){let a=eE(e,t[r]);n.push(a)}return n}function ew(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let n=function(e,t,r){let n=ek(r);if("element"===t.type){let a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){let n,a={};if(r.attrs)for(n in r.attrs)ex.call(r.attrs,n)&&(a[(0,ed.I)(e.schema,n).property]=ek(r.attrs[n]));(0,M.ok)(r.startTag,"a start tag should exist");let i=ek(r.startTag),o=r.endTag?ek(r.endTag):void 0,s={opening:i};o&&(s.closing=o),s.properties=a,t.data={position:s}}}return n}(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function ek(e){let t=eS({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=eS({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function eS(e){return e.line&&e.column?e:void 0}let eI={}.hasOwnProperty;function eP(e,t){let r=t||{};function n(t,...r){let a=n.invalid,i=n.handlers;if(t&&eI.call(t,e)){let r=String(t[e]);a=eI.call(i,r)?i[r]:n.unknown}if(a)return a.call(this,t,...r)}return n.handlers=r.handlers||{}
1,n.invalid=r.invalid,n.unknown=r.unknown,n}let e_={}.hasOwnProperty,eR=eP("type",{handlers:{root:function(e,t){let r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=eA(e.children,r,t),eN(e,r),r},element:function(e,t){var r,n;let a,i,o=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(o=el.JW);let s=[];if(e.properties){for(a in e.properties)if("children"!==a&&e_.call(e.properties,a)){let t=function(e,t,r){let n=(0,ed.I)(e,t);if(!1===r||null==r||"number"==typeof r&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?(0,ec.A)(r):(0,ep.A)(r));let a={name:n.attribute,value:!0===r?"":String(r)};if(n.space&&"html"!==n.space&&"svg"!==n.space){let e=a.name.indexOf(":");e<0?a.prefix="":(a.name=a.name.slice(e+1),a.prefix=n.attribute.slice(0,e)),a.namespace=eb[n.space]}return a}(o,a,e.properties[a]);t&&s.push(t)}}let l=o.space;(0,M.ok)(l);let c={nodeName:e.tagName,tagName:e.tagName,attrs:s,namespaceURI:eb[l],childNodes:[],parentNode:null};return c.childNodes=eA(e.children,c,o),eN(e,c),"template"===e.tagName&&e.content&&(r=e.content,n=o,(i={nodeName:"#document-fragment",childNodes:[]}).childNodes=eA(r.children,i,n),eN(r,i),c.content=i),c},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return eN(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return eN(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return eN(e,t),t}}});function eA(e,t,r){let n=-1,a=[];if(e)for(;++n<e.length;){let i=eR(e[n],r);i.parentNode=t,a.push(i)}return a}function eN(e,t){let r=e.position;r&&r.start&&r.end&&((0,M.ok)("number"==typeof r.start.offset),(0,M.ok)("number"==typeof r.end.offset),t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}let eD=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],eO=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(n=y||(y={}))[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z";let ej="[CDATA[",eL="doctype",eM="script";function eH(e){return e>=55296&&e<=57343}function eF(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eq(e){return e>=64976&&e<=65007||eO.has(e)}(a=b||(b={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctype
1SystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class eB{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:r,col:n,offset:a}=this,i=n+t,o=a+t;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,y.EOF;return this._err(b.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;let r=this.html.charCodeAt(t);return r===y.CARRIAGE_RETURN?y.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;let e=this.html.charCodeAt(this.pos);return e===y.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,y.LINE_FEED):e===y.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,eH(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===y.LINE_FEED||e===y.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){eF(e)?this._err(b.controlCharacterInInputStream):eq(e)&&this._err(b.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function eU(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}(i=x||(x={}
1))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";let eW=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\uD835\uDD04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\uD835\uDD38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\uD835\uDC9Cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\uD835\uDD05pf;쀀\uD835\uDD39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\uD835\uDC9EpĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\uD835\uDD07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\uD835\uDD3Bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\uD835\uDC9Frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\uD835\uDD08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\uD835\uDD3Csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\uD835\uDD09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\uD835\uDD3DAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\uD835\uDD0A;拙pf;쀀\uD835\uDD3Eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\uD835\uDCA2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\uD835\uDD40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\uD835\uDD0Dpf;쀀\uD835\uDD41ǣ߇\0ߌr;쀀\uD835\uDCA5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\uD835\uDD0Epf;쀀\uD835\uDD42cr;쀀\uD835\uDCA6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\uD835\uDD0FĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\uD835\uDD43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\uD835\uDD10nusPlus;戓pf;쀀\uD835\uDD44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\uD835\uDD11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\uD835\uDCA9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\uD835\uDD12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\uD835\uDD46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\uD835\uDCAAash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;
1揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\uD835\uDD13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\uD835\uDCAB;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\uD835\uDD14pf;愚cr;쀀\uD835\uDCAC؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\uD835\uDD16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\uD835\uDD4Aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\uD835\uDCAEar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\uD835\uDD17Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\uD835\uDD4BipleDot;惛Āctዖዛr;쀀\uD835\uDCAFrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\uD835\uDD18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\uD835\uDD4CЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\uD835\uDCB0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\uD835\uDD19pf;쀀\uD835\uDD4Dcr;쀀\uD835\uDCB1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\uD835\uDD1Apf;쀀\uD835\uDD4Ecr;쀀\uD835\uDCB2Ȁfiosᓋᓐᓒᓘr;쀀\uD835\uDD1B;䎞pf;쀀\uD835\uDD4Fcr;쀀\uD835\uDCB3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\uD835\uDD1Cpf;쀀\uD835\uDD50cr;쀀\uD835\uDCB4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\uD835\uDCB5௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\uD835\uDD1Erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\uD835\uDD52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\uD835\uDCB6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\uD835\uDD1Fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\uD835\uDD53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\uD835\uDCB7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;
1䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\uD835\uDD20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\uD835\uDD54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\uD835\uDCB8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\uD835\uDD21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\uD835\uDD55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\uD835\uDCB9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\uD835\uDD22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\uD835\uDD56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\uD835\uDD23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\uD835\uDD57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\uD835\uDCBBࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\uD835\uDD24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\uD835\uDD58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\uD835\uDD25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\uD835\uDD59bar;怕ƀclt≯≴≸r;쀀\uD835\uDCBDas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;
1iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\uD835\uDD26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\uD835\uDD5Aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\uD835\uDCBEnʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\uD835\uDD27ath;䈷pf;쀀\uD835\uDD5Bǣ⏬\0⏱r;쀀\uD835\uDCBFrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\uD835\uDD28reen;䄸cy;䑅cy;䑜pf;쀀\uD835\uDD5Ccr;쀀\uD835\uDCC0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;
1䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\uD835\uDD29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\uD835\uDD5Dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\uD835\uDCC1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\uD835\uDD2Ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\uD835\uDD5EĀct⣸⣽r;쀀\uD835\uDCC2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\uD835\uDD2BȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\uD835\uDD5F膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\uD835\uDCC3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\uD835\uDD2Cͯ⵹\0\0⵼\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\uD835\uDD60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
1astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\uD835\uDD2Dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\uD835\uDD61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\uD835\uDCC5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\uD835\uDD2Epf;쀀\uD835\uDD62rime;恗cr;쀀\uD835\uDCC6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\uD835\uDD2FĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\uD835\uDD63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\uD835\uDCC7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\uD835\uDD30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\uD835\uDD64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\uD835\uDCC8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\uD835\uDD31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;
1aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\uD835\uDD65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\uD835\uDCC9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\uD835\uDD32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\uD835\uDD66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\uD835\uDCCAƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\uD835\uDD33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\uD835\uDD67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\uD835\uDCCBĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\uD835\uDD34pf;쀀\uD835\uDD68Ā;eᑹ㩦at\xe8ᑹcr;쀀\uD835\uDCCCૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tr\xe9៑r;쀀\uD835\uDD35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\uD835\uDD69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\uD835\uDCCDĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\uD835\uDD36cy;䑗pf;쀀\uD835\uDD6Acr;쀀\uD835\uDCCEĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\uD835\uDD37cy;䐶grarr;懝pf;쀀\uD835\uDD6Bcr;쀀\uD835\uDCCFĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),eV=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function eG(e){return e>=T.ZERO&&e<=T.NINE}(o=T||(T={}))[o.NUM=35]="NUM",o[o.SEMI=59]="SEMI",o[o.EQUALS=61]="EQUALS",o[o.ZERO=48]="ZERO",o[o.NINE=57]="NINE",o[o.LOWER_A=97]="LOWER_A",o[o.LOWER_F=102]="LOWER_F",o[o.LOWER_X=120]="LOWER_X",o[o.LOWER_Z=122]="LOWER_Z",o[o.UPPER_A=65]="UPPER_A",o[o.UPPER_F=70]="UPPER_F",o[o.UPPER_Z=90]="UPPER_Z",(s=E||(E={}))[s.VALUE_LENGTH=49152]="VALUE_LENGTH",s[s.BRANCH_LENGTH=16256]="BRANCH_LENGTH",s[s.JUMP_TABLE=127]="JUMP_TABLE",(l=C||(C={}))[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity",(c=w||(w={}))[c.Legacy=0]="Legacy",c[c.Strict=1]="Strict",c[c.Attribute=2]="Attribute";class ez{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=C.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=w.Strict}startEntity(e){this.decodeMode=e,this.state=C.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case C.EntityStart:if(e.charCodeAt(t)===T.NUM)return this.state=C.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=C.NamedEntity,this.stateNamedEntity(e,t);case C.NumericStart:return this.stateNumericStart(e,t);case C.NumericDecimal:return this.stateNumericDecimal(e,t);case C.NumericHex:return this.stateNumericHex(e,t);case C.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===T.LOWER_X?(this.state=C.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=C.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){let a=r-t;this.result=this.result*Math.pow(n,a)+Number.parseInt(e.substr(t,a),n),this.consumed+=a}}stateNumericHex(e,t){let r=t;for(;t<e.length;){var n;let a=e.charCodeAt(t);if(!eG(a)&&(!((n=a)>=T.UPPER_A)||!(n<=T.UPPER_F))&&(!(n>=T.LOWER_A)||!(n<=T.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(a,3);t+=1}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){let r=t;for(;t<e.length;){let n=e.charCodeAt(t);if(!eG(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r,n,a;if(this.consumed<=t)return null==(r=this.errors)||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===T.SEMI)this.consumed+=1;else if(this.decodeMode===w.Strict)return 0;return this.emitCodePoint((n=this.result)>=55296&&n<=57343||n>1114111?65533:null!=(a=eV.get(n))?a:n,this.consumed),this.errors&&(e!==T.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,n=r[this.treeIndex],a=(n&E.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let i=e.charCodeAt(t);if(this.treeIndex=function(e,t,r,n){let a=(t&E.BRANCH_LENGTH)>>7,i=t&E.JUMP_TABLE;if(0===a)return 0!==i&&n===i?r:-1;if(i){let t=n-i;return t<0||t>=a?-1:e[r+t]-1}let o=r,s=o+a-1;for(;o<=s;){let t=o+s>>>1,r=e[t];if(r<n)o=t+1;else{if(!(r>n))return e[t+a];s=t-1}}return -1}(r,n,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return 0===this.result||this.decodeMode===w.Attribute&&(0===a||function(e){var t;return e===T.EQUALS||(t=e)>=T.UPPER_A&&t<=T.UPPER_Z||t>=T.LOWER_A&&t<=T.LOWER_Z||eG(t)}(i))?0:this.emitNotTerminatedNamedEntity();if(0!=(a=((n=r[this.treeIndex])&E.VALUE_LENGTH)>>14)){if(i===T.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==w.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:r}=this,n=(r[t]&E.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~E.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case C.NamedEntity:return 0!==this.result&&(this.decodeMode!==w.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case C.NumericDecimal:return this.emitNumericEntity(0,2);case C.NumericHex:return this.emitNumericEntity(0,3);case C.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case C.EntityStart:return 0}}}(u=k||(k={})).HTML="http://www.w3.org/1999/xhtml",u.MATHML="http://www.w3.org/1998/Math/MathML",u.SVG="http://www.w3.org/2000/svg",u.XLINK="http://www.w3.org/1999/xlink",u.XML="http://www.w3.org/XML/1998/namespace",u.X
1MLNS="http://www.w3.org/2000/xmlns/",(d=S||(S={})).TYPE="type",d.ACTION="action",d.ENCODING="encoding",d.PROMPT="prompt",d.NAME="name",d.COLOR="color",d.FACE="face",d.SIZE="size",(h=I||(I={})).NO_QUIRKS="no-quirks",h.QUIRKS="quirks",h.LIMITED_QUIRKS="limited-quirks",(p=P||(P={})).A="a",p.ADDRESS="address",p.ANNOTATION_XML="annotation-xml",p.APPLET="applet",p.AREA="area",p.ARTICLE="article",p.ASIDE="aside",p.B="b",p.BASE="base",p.BASEFONT="basefont",p.BGSOUND="bgsound",p.BIG="big",p.BLOCKQUOTE="blockquote",p.BODY="body",p.BR="br",p.BUTTON="button",p.CAPTION="caption",p.CENTER="center",p.CODE="code",p.COL="col",p.COLGROUP="colgroup",p.DD="dd",p.DESC="desc",p.DETAILS="details",p.DIALOG="dialog",p.DIR="dir",p.DIV="div",p.DL="dl",p.DT="dt",p.EM="em",p.EMBED="embed",p.FIELDSET="fieldset",p.FIGCAPTION="figcaption",p.FIGURE="figure",p.FONT="font",p.FOOTER="footer",p.FOREIGN_OBJECT="foreignObject",p.FORM="form",p.FRAME="frame",p.FRAMESET="frameset",p.H1="h1",p.H2="h2",p.H3="h3",p.H4="h4",p.H5="h5",p.H6="h6",p.HEAD="head",p.HEADER="header",p.HGROUP="hgroup",p.HR="hr",p.HTML="html",p.I="i",p.IMG="img",p.IMAGE="image",p.INPUT="input",p.IFRAME="iframe",p.KEYGEN="keygen",p.LABEL="label",p.LI="li",p.LINK="link",p.LISTING="listing",p.MAIN="main",p.MALIGNMARK="malignmark",p.MARQUEE="marquee",p.MATH="math",p.MENU="menu",p.META="meta",p.MGLYPH="mglyph",p.MI="mi",p.MO="mo",p.MN="mn",p.MS="ms",p.MTEXT="mtext",p.NAV="nav",p.NOBR="nobr",p.NOFRAMES="noframes",p.NOEMBED="noembed",p.NOSCRIPT="noscript",p.OBJECT="object",p.OL="ol",p.OPTGROUP="optgroup",p.OPTION="option",p.P="p",p.PARAM="param",p.PLAINTEXT="plaintext",p.PRE="pre",p.RB="rb",p.RP="rp",p.RT="rt",p.RTC="rtc",p.RUBY="ruby",p.S="s",p.SCRIPT="script",p.SEARCH="search",p.SECTION="section",p.SELECT="select",p.SOURCE="source",p.SMALL="small",p.SPAN="span",p.STRIKE="strike",p.STRONG="strong",p.STYLE="style",p.SUB="sub",p.SUMMARY="summary",p.SUP="sup",p.TABLE="table",p.TBODY="tbody",p.TEMPLATE="template",p.TEXTAREA="textarea",p.TFOOT="tfoot",p.TD="td",p.TH="th",p.THEAD="thead",p.TITLE="title",p.TR="tr",p.TRACK="track",p.TT="tt",p.U="u",p.UL="ul",p.SVG="svg",p.VAR="var",p.WBR="wbr",p.XMP="xmp",(f=_||(_={}))[f.UNKNOWN=0]="UNKNOWN",f[f.A=1]="A",f[f.ADDRESS=2]="ADDRESS",f[f.ANNOTATION_XML=3]="ANNOTATION_XML",f[f.APPLET=4]="APPLET",f[f.AREA=5]="AREA",f[f.ARTICLE=6]="ARTICLE",f[f.ASIDE=7]="ASIDE",f[f.B=8]="B",f[f.BASE=9]="BASE",f[f.BASEFONT=10]="BASEFONT",f[f.BGSOUND=11]="BGSOUND",f[f.BIG=12]="BIG",f[f.BLOCKQUOTE=13]="BLOCKQUOTE",f[f.BODY=14]="BODY",f[f.BR=15]="BR",f[f.BUTTON=16]="BUTTON",f[f.CAPTION=17]="CAPTION",f[f.CENTER=18]="CENTER",f[f.CODE=19]="CODE",f[f.COL=20]="COL",f[f.COLGROUP=21]="COLGROUP",f[f.DD=22]="DD",f[f.DESC=23]="DESC",f[f.DETAILS=24]="DETAILS",f[f.DIALOG=25]="DIALOG",f[f.DIR=26]="DIR",f[f.DIV=27]="DIV",f[f.DL=28]="DL",f[f.DT=29]="DT",f[f.EM=30]="EM",f[f.EMBED=31]="EMBED",f[f.FIELDSET=32]="FIELDSET",f[f.FIGCAPTION=33]="FIGCAPTION",f[f.FIGURE=34]="FIGURE",f[f.FONT=35]="FONT",f[f.FOOTER=36]="FOOTER",f[f.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",f[f.FORM=38]="FORM",f[f.FRAME=39]="FRAME",f[f.FRAMESET=40]="FRAMESET",f[f.H1=41]="H1",f[f.H2=42]="H2",f[f.H3=43]="H3",f[f.H4=44]="H4",f[f.H5=45]="H5",f[f.H6=46]="H6",f[f.HEAD=47]="HEAD",f[f.HEADER=48]="HEADER",f[f.HGROUP=49]="HGROUP",f[f.HR=50]="HR",f[f.HTML=51]="HTML",f[f.I=52]="I",f[f.IMG=53]="IMG",f[f.IMAGE=54]="IMAGE",f[f.INPUT=55]="INPUT",f[f.IFRAME=56]="IFRAME",f[f.KEYGEN=57]="KEYGEN",f[f.LABEL=58]="LABEL",f[f.LI=59]="LI",f[f.LINK=60]="LINK",f[f.LISTING=61]="LISTING",f[f.MAIN=62]="MAIN",f[f.MALIGNMARK=63]="MALIGNMARK",f[f.MARQUEE=64]="MARQUEE",f[f.MATH=65]="MATH",f[f.MENU=66]="MENU",f[f.META=67]="META",f[f.MGLYPH=68]="MGLYPH",f[f.MI=69]="MI",f[f.MO=70]="MO",f[f.MN=71]="MN",f[f.MS=72]="MS",f[f.MTEXT=73]="MTEXT",f[f.NAV=74]="NAV",f[f.NOBR=75]="NOBR",f[f.NOFRAMES=76]="NOFRAMES",f[f.NOEMBED=77]="NOEMBED",f[f.NOSCRIPT=78]="NOSCRIPT",f[f.OBJECT=79]="OBJECT",f[f.OL=80]="OL",f[f.OPTGROUP=81]="OPTGROUP",f[f.OPTION=82]="OPTION",f[f.P=83]="P",f[f.PARAM=84]="PARAM",f[f.PLAINTEXT=85]="PLAINTEXT",f[f.PRE=86]="PRE",f[f.RB=87]="RB",f[f.RP=88]="RP",f[f.RT=89]="RT",f[f.RTC=90]="RTC",f[f.RUBY=91]="RUBY",f[f.S=92]="S",f[f.SCRIPT=93]="SCRIPT",f[f.SEARCH=94]="SEARCH",f[f.SECTION=95]="SECTION",f[f.SELECT=96]="SELECT",f[f.SOURCE=97]="SOURCE",f[f.SMALL=98]="SMALL",f[f.SPAN=99]="SPAN",f[f.STRIKE=100]="STRIKE",f[f.STRONG=101]="STRONG",f[f.STYLE=102]="STYLE",f[f.SUB=103]="SUB",f[f.SUMMARY=104]="SUMMARY",f[f.SUP=105]="SUP",f[f.TABLE=106]="TABLE",f[f.TBODY=107]="TBODY",f[f.TEMPLATE=108]="TEMPLATE",f[f.TEXTAREA=109]="TEXTAREA",f[f.TFOOT=110]="TFOOT",f[f.TD=111]="TD",f[f.TH=112]="TH",f[f.THEAD=113]="THEAD",f[f.TIT
1LE=114]="TITLE",f[f.TR=115]="TR",f[f.TRACK=116]="TRACK",f[f.TT=117]="TT",f[f.U=118]="U",f[f.UL=119]="UL",f[f.SVG=120]="SVG",f[f.VAR=121]="VAR",f[f.WBR=122]="WBR",f[f.XMP=123]="XMP";let eY=new Map([[P.A,_.A],[P.ADDRESS,_.ADDRESS],[P.ANNOTATION_XML,_.ANNOTATION_XML],[P.APPLET,_.APPLET],[P.AREA,_.AREA],[P.ARTICLE,_.ARTICLE],[P.ASIDE,_.ASIDE],[P.B,_.B],[P.BASE,_.BASE],[P.BASEFONT,_.BASEFONT],[P.BGSOUND,_.BGSOUND],[P.BIG,_.BIG],[P.BLOCKQUOTE,_.BLOCKQUOTE],[P.BODY,_.BODY],[P.BR,_.BR],[P.BUTTON,_.BUTTON],[P.CAPTION,_.CAPTION],[P.CENTER,_.CENTER],[P.CODE,_.CODE],[P.COL,_.COL],[P.COLGROUP,_.COLGROUP],[P.DD,_.DD],[P.DESC,_.DESC],[P.DETAILS,_.DETAILS],[P.DIALOG,_.DIALOG],[P.DIR,_.DIR],[P.DIV,_.DIV],[P.DL,_.DL],[P.DT,_.DT],[P.EM,_.EM],[P.EMBED,_.EMBED],[P.FIELDSET,_.FIELDSET],[P.FIGCAPTION,_.FIGCAPTION],[P.FIGURE,_.FIGURE],[P.FONT,_.FONT],[P.FOOTER,_.FOOTER],[P.FOREIGN_OBJECT,_.FOREIGN_OBJECT],[P.FORM,_.FORM],[P.FRAME,_.FRAME],[P.FRAMESET,_.FRAMESET],[P.H1,_.H1],[P.H2,_.H2],[P.H3,_.H3],[P.H4,_.H4],[P.H5,_.H5],[P.H6,_.H6],[P.HEAD,_.HEAD],[P.HEADER,_.HEADER],[P.HGROUP,_.HGROUP],[P.HR,_.HR],[P.HTML,_.HTML],[P.I,_.I],[P.IMG,_.IMG],[P.IMAGE,_.IMAGE],[P.INPUT,_.INPUT],[P.IFRAME,_.IFRAME],[P.KEYGEN,_.KEYGEN],[P.LABEL,_.LABEL],[P.LI,_.LI],[P.LINK,_.LINK],[P.LISTING,_.LISTING],[P.MAIN,_.MAIN],[P.MALIGNMARK,_.MALIGNMARK],[P.MARQUEE,_.MARQUEE],[P.MATH,_.MATH],[P.MENU,_.MENU],[P.META,_.META],[P.MGLYPH,_.MGLYPH],[P.MI,_.MI],[P.MO,_.MO],[P.MN,_.MN],[P.MS,_.MS],[P.MTEXT,_.MTEXT],[P.NAV,_.NAV],[P.NOBR,_.NOBR],[P.NOFRAMES,_.NOFRAMES],[P.NOEMBED,_.NOEMBED],[P.NOSCRIPT,_.NOSCRIPT],[P.OBJECT,_.OBJECT],[P.OL,_.OL],[P.OPTGROUP,_.OPTGROUP],[P.OPTION,_.OPTION],[P.P,_.P],[P.PARAM,_.PARAM],[P.PLAINTEXT,_.PLAINTEXT],[P.PRE,_.PRE],[P.RB,_.RB],[P.RP,_.RP],[P.RT,_.RT],[P.RTC,_.RTC],[P.RUBY,_.RUBY],[P.S,_.S],[P.SCRIPT,_.SCRIPT],[P.SEARCH,_.SEARCH],[P.SECTION,_.SECTION],[P.SELECT,_.SELECT],[P.SOURCE,_.SOURCE],[P.SMALL,_.SMALL],[P.SPAN,_.SPAN],[P.STRIKE,_.STRIKE],[P.STRONG,_.STRONG],[P.STYLE,_.STYLE],[P.SUB,_.SUB],[P.SUMMARY,_.SUMMARY],[P.SUP,_.SUP],[P.TABLE,_.TABLE],[P.TBODY,_.TBODY],[P.TEMPLATE,_.TEMPLATE],[P.TEXTAREA,_.TEXTAREA],[P.TFOOT,_.TFOOT],[P.TD,_.TD],[P.TH,_.TH],[P.THEAD,_.THEAD],[P.TITLE,_.TITLE],[P.TR,_.TR],[P.TRACK,_.TRACK],[P.TT,_.TT],[P.U,_.U],[P.UL,_.UL],[P.SVG,_.SVG],[P.VAR,_.VAR],[P.WBR,_.WBR],[P.XMP,_.XMP]]);function e$(e){var t;return null!=(t=eY.get(e))?t:_.UNKNOWN}let eQ=_,eK={[k.HTML]:new Set([eQ.ADDRESS,eQ.APPLET,eQ.AREA,eQ.ARTICLE,eQ.ASIDE,eQ.BASE,eQ.BASEFONT,eQ.BGSOUND,eQ.BLOCKQUOTE,eQ.BODY,eQ.BR,eQ.BUTTON,eQ.CAPTION,eQ.CENTER,eQ.COL,eQ.COLGROUP,eQ.DD,eQ.DETAILS,eQ.DIR,eQ.DIV,eQ.DL,eQ.DT,eQ.EMBED,eQ.FIELDSET,eQ.FIGCAPTION,eQ.FIGURE,eQ.FOOTER,eQ.FORM,eQ.FRAME,eQ.FRAMESET,eQ.H1,eQ.H2,eQ.H3,eQ.H4,eQ.H5,eQ.H6,eQ.HEAD,eQ.HEADER,eQ.HGROUP,eQ.HR,eQ.HTML,eQ.IFRAME,eQ.IMG,eQ.INPUT,eQ.LI,eQ.LINK,eQ.LISTING,eQ.MAIN,eQ.MARQUEE,eQ.MENU,eQ.META,eQ.NAV,eQ.NOEMBED,eQ.NOFRAMES,eQ.NOSCRIPT,eQ.OBJECT,eQ.OL,eQ.P,eQ.PARAM,eQ.PLAINTEXT,eQ.PRE,eQ.SCRIPT,eQ.SECTION,eQ.SELECT,eQ.SOURCE,eQ.STYLE,eQ.SUMMARY,eQ.TABLE,eQ.TBODY,eQ.TD,eQ.TEMPLATE,eQ.TEXTAREA,eQ.TFOOT,eQ.TH,eQ.THEAD,eQ.TITLE,eQ.TR,eQ.TRACK,eQ.UL,eQ.WBR,eQ.XMP]),[k.MATHML]:new Set([eQ.MI,eQ.MO,eQ.MN,eQ.MS,eQ.MTEXT,eQ.ANNOTATION_XML]),[k.SVG]:new Set([eQ.TITLE,eQ.FOREIGN_OBJECT,eQ.DESC]),[k.XLINK]:new Set,[k.XML]:new Set,[k.XMLNS]:new Set},eZ=new Set([eQ.H1,eQ.H2,eQ.H3,eQ.H4,eQ.H5,eQ.H6]);P.STYLE,P.SCRIPT,P.XMP,P.IFRAME,P.NOEMBED,P.NOFRAMES,P.PLAINTEXT,(m=R||(R={}))[m.DATA=0]="DATA",m[m.RCDATA=1]="RCDATA",m[m.RAWTEXT=2]="RAWTEXT",m[m.SCRIPT_DATA=3]="SCRIPT_DATA",m[m.PLAINTEXT=4]="PLAINTEXT",m[m.TAG_OPEN=5]="TAG_OPEN",m[m.END_TAG_OPEN=6]="END_TAG_OPEN",m[m.TAG_NAME=7]="TAG_NAME",m[m.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",m[m.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",m[m.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",m[m.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",m[m.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",m[m.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",m[m.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",m[m.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",m[m.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",m[m.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",m[m.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",m[m.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",m[m.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",m[m.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",m[m.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",m[m.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",m[m.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",m[m.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",m[m.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",m[m.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",m[m.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",m[m.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",m[m.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",m[m.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",m[m.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",m[m.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",m[m.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",m[m.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",m[m.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",m[m.BOGUS_COMMENT=40]="BOGUS_COMMENT",m[m.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",m[m.COMMENT_START=42]="COMMENT_START",m[m.COMMENT_START_DASH=43]="COMMENT_START_DASH",m[m.COMMENT=44]="COMMENT",m[m.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",m[m.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",m[m.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",m[m.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",m[m.COMMENT_END_DASH=49]="COMMENT_END_DASH",m[m.COMMENT_END=50]="COMMENT_END",m[m.COMMENT_END_BANG=51]="COMMENT_END_BANG",m[m.DOCTYPE=52]="DOCTYPE",m[m.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",m[m.DOCTYPE_NAME=54]="DOCTYPE_NAME",m[m.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",m[m.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",m[m.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",m[m.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",m[m.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",m[m.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",m[m.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",m[m.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",m[m.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",m[m.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",m[m.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",m[m.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",m[m.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",m[m.CDATA_SECTION=68]="CDATA_SECTION",m[m.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",m[m.CDATA_SECTION_END=70]="CDATA_SECTION_END",m[m.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",m[m.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let eX={DATA:R.DATA,RCDATA:R.RCDATA,RAWTEXT:R.RAWTEXT,SCRIPT_DATA:R.SCRIPT_DATA,PLAINTEXT:
1R.PLAINTEXT,CDATA_SECTION:R.CDATA_SECTION};function eJ(e){return e>=y.LATIN_CAPITAL_A&&e<=y.LATIN_CAPITAL_Z}function e1(e){return e>=y.LATIN_SMALL_A&&e<=y.LATIN_SMALL_Z||eJ(e)}function e0(e){return e1(e)||e>=y.DIGIT_0&&e<=y.DIGIT_9}function e2(e){return e===y.SPACE||e===y.LINE_FEED||e===y.TABULATION||e===y.FORM_FEED}function e3(e){return e2(e)||e===y.SOLIDUS||e===y.GREATER_THAN_SIGN}class e5{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=R.DATA,this.returnState=R.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new eB(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ez(eW,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(b.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(b.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===y.NULL)return b.nullCharacterReference;if(e>1114111)return b.characterReferenceOutsideUnicodeRange;if(eH(e))return b.surrogateCharacterReference;if(eq(e))return b.noncharacterCharacterReference;if(eF(e)||e===y.CARRIAGE_RETURN)return b.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var r,n;null==(n=(r=this.handler).onParseError)||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==r||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:x.START_TAG,tagName:"",tagID:_.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:x.END_TAG,tagName:"",tagID:_.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:x.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:x.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let r=this.currentToken;null===eU(r,this.currentAttr.name)?(r.attrs.push(this.currentAttr),r.location&&this.currentLocation&&((null!=(e=(t=r.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(b.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=e$(e.tagName),e.type===x.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(b.endTagWithAttributes),e.selfClosing&&this._err(b.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case x.CHARACTER:this.handler.onCh
vendor: 6,187 bytes, line 1
1aracter(this.currentCharacterToken);break;case x.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case x.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:x.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=e2(e)?x.WHITESPACE_CHARACTER:e===y.NULL?x.NULL_CHARACTER:x.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(x.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=R.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?w.Attribute:w.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===R.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case R.DATA:this._stateData(e);break;case R.RCDATA:this._stateRcdata(e);break;case R.RAWTEXT:this._stateRawtext(e);break;case R.SCRIPT_DATA:this._stateScriptData(e);break;case R.PLAINTEXT:this._statePlaintext(e);break;case R.TAG_OPEN:this._stateTagOpen(e);break;case R.END_TAG_OPEN:this._stateEndTagOpen(e);break;case R.TAG_NAME:this._stateTagName(e);break;case R.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case R.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case R.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case R.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case R.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case R.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case R.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case R.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case R.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case R.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case R.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case R.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case R.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case R.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case R.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case R.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case R.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case R.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case R.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case R.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case R.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case R.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case R.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case R.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case R.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case R.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case R.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case R.BOGUS_COMMENT:this._stateBogusComment(e);break;case R.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case R.COMMENT_START:this._stateCommentStart(e);break;case R.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case R.COMMENT:this._stateComment(e);break;case R.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case R.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case R.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case R.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case R.COMMENT_END:this._stateCommentEnd(e);break;case R.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case R.DOCTYPE:this._stateDoctype(e);break;case R.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case R.DOCTYPE_NAME:this._stateDoctypeName(e);break;case R.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case R.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case R.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctype
vendor: 4,147 bytes, line 1
1SystemIdentifier(e);break;case R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case R.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case R.CDATA_SECTION:this._stateCdataSection(e);break;case R.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case R.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case R.CHARACTER_REFERENCE:this._stateCharacterReference();break;case R.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case y.LESS_THAN_SIGN:this.state=R.TAG_OPEN;break;case y.AMPERSAND:this._startCharacterReference();break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitCodePoint(e);break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case y.AMPERSAND:this._startCharacterReference();break;case y.LESS_THAN_SIGN:this.state=R.RCDATA_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case y.LESS_THAN_SIGN:this.state=R.RAWTEXT_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case y.LESS_THAN_SIGN:this.state=R.SCRIPT_DATA_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(e1(e))this._createStartTagToken(),this.state=R.TAG_NAME,this._stateTagName(e);else switch(e){case y.EXCLAMATION_MARK:this.state=R.MARKUP_DECLARATION_OPEN;break;case y.SOLIDUS:this.state=R.END_TAG_OPEN;break;case y.QUESTION_MARK:this._err(b.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=R.BOGUS_COMMENT,this._stateBogusComment(e);break;case y.EOF:this._err(b.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(b.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=R.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(e1(e))this._createEndTagToken(),this.state=R.TAG_NAME,this._stateTagName(e);else switch(e){case y.GREATER_THAN_SIGN:this._err(b.missingEndTagName),this.state=R.DATA;break;case y.EOF:this._err(b.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(b.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=R.BEFORE_ATTRIBUTE_NAME;break;case y.SOLIDUS:this.state=R.SELF_CLOSING_START_TAG;break;case y.GREATER_THAN_SIGN:this.state=R.DATA,this.emitCurrentTagToken();break;case y.NULL:this._err(b.unexpectedNullCharacter),t.tagName+="�";break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(eJ(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===y.SOLIDUS?this.state=R.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){e1(e)?(this.state=R.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=R.BEFORE_ATTRIBUTE_NAME,
vendor: 6,196 bytes, line 1
1!1;case y.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=R.SELF_CLOSING_START_TAG,!1;case y.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=R.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===y.SOLIDUS?this.state=R.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){e1(e)?(this.state=R.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case y.SOLIDUS:this.state=R.SCRIPT_DATA_END_TAG_OPEN;break;case y.EXCLAMATION_MARK:this.state=R.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=R.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){e1(e)?(this.state=R.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===y.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===y.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case y.HYPHEN_MINUS:this.state=R.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case y.HYPHEN_MINUS:this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case y.HYPHEN_MINUS:this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case y.GREATER_THAN_SIGN:this.state=R.SCRIPT_DATA,this._emitChars(">");break;case y.NULL:this._err(b.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===y.SOLIDUS?this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:e1(e)?(this._emitChars("<"),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){e1(e)?(this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(eM,!1)&&e3(this.preprocessor.peek(eM.length))){this._emitCodePoint(e);for(let e=0;e<eM.length;e++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case y.HYPHEN_MINUS:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case y.HYPHEN_MINUS:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case y.NULL:this._err(b.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case y.HYPHEN_MINUS:this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case y.GREATER_THAN_SIGN:this.state=R.SCRIPT_DATA,this._emitChars(">");break;case y.NULL:this._err(b.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===y.SOLIDUS?(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(eM,!1)&&e3(this.preprocessor.peek(eM.length))){this._emitCodePoint(e);for(let e=0;e<eM.length;e++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}
vendor: 8,038 bytes, line 1
1_stateBeforeAttributeName(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case y.EQUALS_SIGN:this._err(b.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=R.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:this._leaveAttrName(),this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case y.EQUALS_SIGN:this._leaveAttrName(),this.state=R.BEFORE_ATTRIBUTE_VALUE;break;case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:this._err(b.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case y.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(eJ(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:this.state=R.SELF_CLOSING_START_TAG;break;case y.EQUALS_SIGN:this.state=R.BEFORE_ATTRIBUTE_VALUE;break;case y.GREATER_THAN_SIGN:this.state=R.DATA,this.emitCurrentTagToken();break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:this.state=R.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case y.APOSTROPHE:this.state=R.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingAttributeValue),this.state=R.DATA,this.emitCurrentTagToken();break;default:this.state=R.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case y.QUOTATION_MARK:this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case y.AMPERSAND:this._startCharacterReference();break;case y.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case y.APOSTROPHE:this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case y.AMPERSAND:this._startCharacterReference();break;case y.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break;case y.AMPERSAND:this._startCharacterReference();break;case y.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break;case y.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:case y.EQUALS_SIGN:case y.GRAVE_ACCENT:this._err(b.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break;case y.SOLIDUS:this._leaveAttrValue(),this.state=R.SELF_CLOSING_START_TAG;break;case y.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._err(b.missingWhitespaceBetweenAttributes),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case y.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=R.DATA,this.emitCurrentTagToken();break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._err(b.unexpectedSolidusInTag),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case y.GREATER_THAN_SIGN:this.state=R.DATA,this.emitCurrentComment(t);break;case y.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case y.NULL:this._err(b.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=R.COMMENT_START):this._consumeSequenceIfMatch(eL,!1)?(this.currentLocation=this.getCurrentLocation(eL.length+1),this.state=R.DOCTYPE):this._consumeSequenceIfMatch(ej,!0)?this.inForeignNode?this.state=R.CDATA_SECTION:(this._err(b.cdataInHtmlContent),this._createCommentToken(ej.length+1),this.currentToken.data="[CDATA[",this.state=R.BOGUS_COMMENT):this._ensureHibernation()||(this._err(b.incorrectlyOpenedComment),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case y.HYPHEN_MINUS:this.state=R.COMMENT_START_DASH;break;case y.GREATER_THAN_SIGN:{this._err(b.abruptClosingOfEmptyComment),this.state=R.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=R.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case y.HYPHEN_MINUS:this.state=R.COMMENT_END;break;case y.GREATER_THAN_SIGN:this._err(b.abruptClosingOfEmptyComment),this.state=R.DATA,this.emitCurrentComment(t);break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=R.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case y.HYPHEN_MINUS:this.state=R.COMMENT_END_DASH;break;case y.LESS_THAN_SIGN:t.data+="<",this.state=R.COMMENT_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.data+="�";break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case y.EXCLAMATION_MARK:t.data+="!",this.state=R.COMMENT_LESS_THAN_SIGN_BANG;break;case y.LESS_THAN_SIGN:t.data+="<";break;default:this.state=R.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===y.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=R.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===y.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=R.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==y.GREATER_THAN_SIGN&&e!==y.EOF&&this._err(b.nestedComment),this.state=R.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case y.HYPHEN_MINUS:this.state=R.COMMENT_END;break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=R.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case y.GREATER_THAN_SIGN:this.state=R.DATA,this.emitCurrentComment(t);break;case y.EXCLAMATION_MARK:this.state=R.COMMENT_END_BANG;break;case y.HYPHEN_MINUS:t.data+="-";break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=R.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case y.HYPHEN_MINUS:t.data+="--!",this.state=R.COMMENT_END_DASH;break;case y.GREATER_THAN_SIGN:this._err(b.incorrectlyClosedComment),this.state=R.DATA,this.emitCurrentComment(t);break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=R.COMMENT,this._stateComment(e)}}
vendor: 9,132 bytes, line 1
1_stateDoctype(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=R.BEFORE_DOCTYPE_NAME;break;case y.GREATER_THAN_SIGN:this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case y.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(b.missingWhitespaceBeforeDoctypeName),this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(eJ(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=R.DOCTYPE_NAME;else switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.NULL:this._err(b.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=R.DOCTYPE_NAME;break;case y.GREATER_THAN_SIGN:{this._err(b.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=R.DATA;break}case y.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=R.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=R.AFTER_DOCTYPE_NAME;break;case y.GREATER_THAN_SIGN:this.state=R.DATA,this.emitCurrentDoctype(t);break;case y.NULL:this._err(b.unexpectedNullCharacter),t.name+="�";break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(eJ(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:this.state=R.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=R.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=R.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(b.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case y.QUOTATION_MARK:this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:t.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:t.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case y.QUOTATION_MARK:this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.publicId+="�";break;case y.GREATER_THAN_SIGN:this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=R.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case y.APOSTROPHE:this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.publicId+="�";break;case y.GREATER_THAN_SIGN:this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=R.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case y.GREATER_THAN_SIGN:this.state=R.DATA,this.emitCurrentDoctype(t);break;case y.QUOTATION_MARK:this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=R.DATA;break;case y.QUOTATION_MARK:t.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:t.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case y.QUOTATION_MARK:this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:t.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:t.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case y.QUOTATION_MARK:this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.systemId+="�";break;case y.GREATER_THAN_SIGN:this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=R.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case y.APOSTROPHE:this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.systemId+="�";break;case y.GREATER_THAN_SIGN:this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=R.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;
vendor: 4,288 bytes, line 1
1switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=R.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=R.DATA;break;case y.NULL:this._err(b.unexpectedNullCharacter);break;case y.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case y.RIGHT_SQUARE_BRACKET:this.state=R.CDATA_SECTION_BRACKET;break;case y.EOF:this._err(b.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===y.RIGHT_SQUARE_BRACKET?this.state=R.CDATA_SECTION_END:(this._emitChars("]"),this.state=R.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case y.GREATER_THAN_SIGN:this.state=R.DATA;break;case y.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=R.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(y.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&e0(this.preprocessor.peek(1))?R.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){e0(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===y.SEMICOLON&&this._err(b.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let e4=new Set([_.DD,_.DT,_.LI,_.OPTGROUP,_.OPTION,_.P,_.RB,_.RP,_.RT,_.RTC]),e8=new Set([...e4,_.CAPTION,_.COLGROUP,_.TBODY,_.TD,_.TFOOT,_.TH,_.THEAD,_.TR]),e6=new Set([_.APPLET,_.CAPTION,_.HTML,_.MARQUEE,_.OBJECT,_.TABLE,_.TD,_.TEMPLATE,_.TH]),e9=new Set([...e6,_.OL,_.UL]),e7=new Set([...e6,_.BUTTON]),te=new Set([_.ANNOTATION_XML,_.MI,_.MN,_.MO,_.MS,_.MTEXT]),tt=new Set([_.DESC,_.FOREIGN_OBJECT,_.TITLE]),tr=new Set([_.TR,_.TEMPLATE,_.HTML]),tn=new Set([_.TBODY,_.TFOOT,_.THEAD,_.TEMPLATE,_.HTML]),ta=new Set([_.TABLE,_.TEMPLATE,_.HTML]),ti=new Set([_.TD,_.TH]);class to{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=_.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===_.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===k.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){let n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==k.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);
vendor: 16,174 bytes, line 1
1this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let r=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(eZ,k.HTML)}popUntilTableCellPopped(){this.popUntilPopped(ti,k.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return -1}clearBackTo(e,t){let r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(ta,k.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tn,k.HTML)}clearBackToTableRowContext(){this.clearBackTo(tr,k.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===_.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===_.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){let n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case k.HTML:if(n===e)return!0;if(t.has(n))return!1;break;case k.SVG:if(tt.has(n))return!1;break;case k.MATHML:if(te.has(n))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,e6)}hasInListItemScope(e){return this.hasInDynamicScope(e,e9)}hasInButtonScope(e){return this.hasInDynamicScope(e,e7)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case k.HTML:if(eZ.has(t))return!0;if(e6.has(t))return!1;break;case k.SVG:if(tt.has(t))return!1;break;case k.MATHML:if(te.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===k.HTML)switch(this.tagIDs[t]){case e:return!0;case _.TABLE:case _.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===k.HTML)switch(this.tagIDs[e]){case _.TBODY:case _.THEAD:case _.TFOOT:return!0;case _.TABLE:case _.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===k.HTML)switch(this.tagIDs[t]){case e:return!0;case _.OPTION:case _.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&e4.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&e8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&e8.has(this.currentTagId);)this.pop()}}(g=A||(A={}))[g.Marker=0]="Marker",g[g.Element=1]="Element";let ts={type:A.Marker};class tl{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let r=[],n=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===A.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===a&&this.treeAdapter.getNamespaceURI(o)===i){let t=this.treeAdapter.getAttrList(o);t.length===n&&r.push({idx:e,attrs:t})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<3)return;let n=new Map(t.map(e=>[e.name,e.value])),a=0;for(let e=0;e<r.length;e++){let t=r[e];t.attrs.every(e=>n.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(ts)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(ts);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}let tc={createDocument:()=>({nodeName:"#document",mode:I.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,r)=>({nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){let n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,r,n){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=r,a.systemId=n):tc.appendChild(e,{nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let r=e.childNodes[e.childNodes.length-1];if(tc.isTextNode(r)){r.value+=t;return}}tc.appendChild(e,tc.createTextNode(t))},insertTextBefore(e,t,r){let n=e.childNodes[e.childNodes.indexOf(r)-1];n&&tc.isTextNode(n)?n.value+=t:tc.insertBefore(e,tc.createTextNode(t),r)},adoptAttributes(e,t){let r=new Set(e.attrs.map(e=>e.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},tu="html",td=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],th=[...td,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],tp=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),tf=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],tm=[...tf,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function tg(e,t){return t.some(t=>e.startsWith(t))}let tv=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),ty=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:k.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:k.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:k.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:k.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:k.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:k.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:k.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:k.XML}],["xml:space",{prefix:"xml",name:"space",namespace:k.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:k.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:k.XMLNS}]]),tb=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),tx=new Set([_.B,_.BIG,_.BLOCKQUOTE,_.BODY,_.BR,_.CENTER,_.CODE,_.DD,_.DIV,_.DL,_.DT,_.EM,_.EMBED,_.H1,_.H2,_.H3,_.H4,_.H5,_.H6,_.HEAD,_.HR,_.I,_.IMG,_.LI,_.LISTING,_.MENU,_.META,_.NOBR,_.OL,_.P,_.PRE,_.RUBY,_.S,_.SMALL,_.SPAN,_.STRONG,_.STRIKE,_.SUB,_.SUP,_.TABLE,_.TT,_.U,_.UL,_.VAR]);function tT(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function tE(e){for(let t=0;t<e.attrs.length;t++){let r=tv.get(e.attrs[t].name);null!=r&&(e.attrs[t].name=r)}}function tC(e){for(let t=0;t<e.attrs.length;t++){let r=ty.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}(v=N||(N={}))[v.INITIAL=0]="INITIAL",v[v.BEFORE_HTML=1]="BEFORE_HTML",v[v.BEFORE_HEAD=2]="BEFORE_HEAD",v[v.IN_HEAD=3]="IN_HEAD",v[v.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",v[v.AFTER_HEAD=5]="AFTER_HEAD",v[v.IN_BODY=6]="IN_BODY",v[v.TEXT=7]="TEXT",v[v.IN_TABLE=8]="IN_TABLE",v[v.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",v[v.IN_CAPTION=10]="IN_CAPTION",v[v.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",v[v.IN_TABLE_BODY=12]="IN_TABLE_BODY",v[v.IN_ROW=13]="IN_ROW",v[v.IN_CELL=14]="IN_CELL",v[v.IN_SELECT=15]="IN_SELECT",v[v.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",v[v.IN_TEMPLATE=17]="IN_TEMPLATE",v[v.AFTER_BODY=18]="AFTER_BODY",v[v.IN_FRAMESET=19]="IN_FRAMESET",v[v.AFTER_FRAMESET=20]="AFTER_FRAMESET",v[v.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",v[v.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let tw={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},tk=new Set([_.TABLE,_.TBODY,_.TFOOT,_.THEAD,_.TR]),tS={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:tc,onParseError:null};class tI{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=N.INITIAL,this.originalInsertionMode=N.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...tS,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new e5(this.options,this),this.activeFormattingElements=new tl(this.treeAdapter),this.fragmentContextID=r?e$(this.treeAdapter.getTagName(r)):_.UNKNOWN,this._setContextModes(null!=r?r:this.document,this.fragmentContextID),this.openElements=new to(this.document,this.treeAdapter,this)}static parse(e,t){let r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){let r={...tS,...t};null!=e||(e=r.treeAdapter.createElement(P.TEMPLATE,k.HTML,[]));let n=r.treeAdapter.createElement("documentmock",k.HTML,[]),a=new this(r,n,e);return a.fragmentContextID===_.TEMPLATE&&a.tmplInsertionModeStack.unshift(N.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;let a=null!=(n=e.location)?n:tw,i={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(i)}onItemPush(e,t,r){var n,a;null==(a=(n=this.treeAdapter).onItemPush)||a.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(n=(r=this.treeAdapter).onItemPop)||n.call(r,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let r=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===k.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,k.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=N.TEXT}switchToPlaintextParsing(){this.insertionMode=N.TEXT,this.originalInsertionMode=N.IN_BODY,this.tokenizer.state=eX.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;
1for(;e;){if(this.treeAdapter.getTagName(e)===P.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===k.HTML)switch(this.fragmentContextID){case _.TITLE:case _.TEXTAREA:this.tokenizer.state=eX.RCDATA;break;case _.STYLE:case _.XMP:case _.IFRAME:case _.NOEMBED:case _.NOFRAMES:case _.NOSCRIPT:this.tokenizer.state=eX.RAWTEXT;break;case _.SCRIPT:this.tokenizer.state=eX.SCRIPT_DATA;break;case _.PLAINTEXT:this.tokenizer.state=eX.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){let r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){let r=this.treeAdapter.createElement(e,k.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,k.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(P.HTML,k.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,_.HTML)}_appendCommentNode(e,t){let r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(t),a=r?n.lastIndexOf(r):n.length,i=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:r,endOffset:n}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:r,endOffset:n})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let r=t.location,n=this.treeAdapter.getTagName(e),a=t.type===x.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,r;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,(e.tagID!==_.SVG||this.treeAdapter.getTagName(t)!==P.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==k.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===_.MGLYPH||e.tagID===_.MALIGNMARK)&&void 0!==r&&!this._isIntegrationPoint(r,t,k.HTML)))}_processToken(e){switch(e.type){case x.CHARACTER:this.onCharacter(e);break;case x.NULL_CHARACTER:this.onNullCharacter(e);break;case x.COMMENT:this.onComment(e);break;case x.DOCTYPE:this.onDoctype(e);break;case x.START_TAG:this._processStartTag(e);break;case x.END_TAG:this.onEndTag(e);break;case x.EOF:this.onEof(e);break;case x.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,r){let n=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!r||r===k.HTML)&&function(e,t,r){if(t===k.MATHML&&e===_.ANNOTATION_XML){for(let e=0;e<r.length;e++)if(r[e].name===S.ENCODING){let t=r[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}}
1return t===k.SVG&&(e===_.FOREIGN_OBJECT||e===_.DESC||e===_.TITLE)}(e,n,a)||(!r||r===k.MATHML)&&n===k.MATHML&&(e===_.MI||e===_.MO||e===_.MN||e===_.MS||e===_.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===A.Marker||this.openElements.contains(e.element)),r=-1===t?e-1:t-1;for(let e=r;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=N.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(_.P),this.openElements.popUntilTagNamePopped(_.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case _.TR:this.insertionMode=N.IN_ROW;return;case _.TBODY:case _.THEAD:case _.TFOOT:this.insertionMode=N.IN_TABLE_BODY;return;case _.CAPTION:this.insertionMode=N.IN_CAPTION;return;case _.COLGROUP:this.insertionMode=N.IN_COLUMN_GROUP;return;case _.TABLE:this.insertionMode=N.IN_TABLE;return;case _.BODY:this.insertionMode=N.IN_BODY;return;case _.FRAMESET:this.insertionMode=N.IN_FRAMESET;return;case _.SELECT:return void this._resetInsertionModeForSelect(e);case _.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case _.HTML:this.insertionMode=this.headElement?N.AFTER_HEAD:N.BEFORE_HEAD;return;case _.TD:case _.TH:if(e>0){this.insertionMode=N.IN_CELL;return}break;case _.HEAD:if(e>0){this.insertionMode=N.IN_HEAD;return}}this.insertionMode=N.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===_.TEMPLATE)break;if(e===_.TABLE){this.insertionMode=N.IN_SELECT_IN_TABLE;return}}this.insertionMode=N.IN_SELECT}_isElementCausesFosterParenting(e){return tk.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case _.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===k.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case _.TABLE:{let r=this.treeAdapter.getParentNode(t);if(r)return{parent:r,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return eK[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,r;return void(t=this,r=e,t._insertCharacters(r),t.framesetOk=!1)}switch(this.insertionMode){case N.INITIAL:tA(this,e);break;case N.BEFORE_HTML:tN(this,e);break;case N.BEFORE_HEAD:tD(this,e);break;case N.IN_HEAD:tL(this,e);break;case N.IN_HEAD_NO_SCRIPT:tM(this,e);break;case N.AFTER_HEAD:tH(this,e);break;case N.IN_BODY:case N.IN_CAPTION:case N.IN_CELL:case N.IN_TEMPLATE:tB(this,e);break;case N.TEXT:case N.IN_SELECT:case N.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case N.IN_TABLE:case N.IN_TABLE_BODY:case N.IN_ROW:tK(this,e);break;case N.IN_TABLE_TEXT:t0(this,e);break;case N.IN_COLUMN_GROUP:t4(this,e);break;case N.AFTER_BODY:ra(this,e);break;case N.AFTER_AFTER_BODY:ri(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,r;return void(t=this,(r=e).chars="�",t._insertCharacters(r))}switch(this.insertionMode){case N.INITIAL:tA(this,e);break;case N.BEFORE_HTML:tN(this,e);break;case N.BEFORE_HEAD:tD(this,e);break;case N.IN_HEAD:tL(this,e);break;case N.IN_HEAD_NO_SCRIPT:tM(this,e);break;case N.AFTER_HEAD:tH(this,e);break;case N.TEXT:this._insertCharacters(e);break;case N.IN_TABLE:case N.IN_TABLE_BODY:case N.IN_ROW:tK(this,e);break;case N.IN_COLUMN_GROUP:t4(this,e);break;case N.AFTER_BODY:ra(this,e);break;case N.AFTER_AFTER_BODY:ri(this,e)}}onComment(e){var t,r,n,a;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void t_(this,e);switch(this.insertionMode){case N.INITIAL:case N.BEFORE_HTML:case N.BEFORE_HEAD:case N.IN_HEAD:case N.IN_HEAD_NO_SCRIPT:case N.AFTER_HEAD:case N.IN_BODY:case N.IN_TABLE:case N.IN_CAPTION:case N.IN_COLUMN_GROUP:case N.IN_TABLE_BODY:case N.IN_ROW:case N.IN_CELL:case N.IN_SELECT:case N.IN_SELECT_IN_TABLE:case N.IN_TEMPLATE:case N.IN_FRAMESET:case N.AFTER_FRAMESET:t_(this,e);break;case N.IN_TABLE_TEXT:t2(this,e);break;case N.AFTER_BODY:t=this,r=e,t._appendCommentNode(r,t.openElements.items[0]);break;case N.AFTER_AFTER_BODY:case N.AFTER_AFTER_FRAMESET:n=this,a=e,n._appendCommentNode(a,n.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case N.INITIAL:!function(e,t){e._setDocumentType(t);let r=t.forceQuirks?I.QUIRKS:function(e){if(e.name!==tu)return I.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return I.QUIRKS;let{publicId:r}=e;if(null!==r){if(r=r.toLowerCase(),tp.has(r))return I.QUIRKS;let e=null===t?th:td;
1if(tg(r,e))return I.QUIRKS;if(tg(r,e=null===t?tf:tm))return I.LIMITED_QUIRKS}return I.NO_QUIRKS}(t);(t.name!==tu||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,b.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=N.BEFORE_HTML}(this,e);break;case N.BEFORE_HEAD:case N.IN_HEAD:case N.IN_HEAD_NO_SCRIPT:case N.AFTER_HEAD:this._err(e,b.misplacedDoctype);break;case N.IN_TABLE_TEXT:t2(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,b.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let r;if((r=t.tagID)===_.FONT&&t.attrs.some(({name:e})=>e===S.COLOR||e===S.SIZE||e===S.FACE)||tx.has(r))ro(e),e._startTagOutsideForeignContent(t);else{let r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);if(n===k.MATHML)tT(t);else if(n===k.SVG){let e;null!=(e=tb.get(t.tagName))&&(t.tagName=e,t.tagID=e$(t.tagName)),tE(t)}tC(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case N.INITIAL:tA(this,e);break;case N.BEFORE_HTML:t=this,(r=e).tagID===_.HTML?(t._insertElement(r,k.HTML),t.insertionMode=N.BEFORE_HEAD):tN(t,r);break;case N.BEFORE_HEAD:var t,r,n,a,i,o,s,l,c,u,d,h,p=this,f=e;switch(f.tagID){case _.HTML:tz(p,f);break;case _.HEAD:p._insertElement(f,k.HTML),p.headElement=p.openElements.current,p.insertionMode=N.IN_HEAD;break;default:tD(p,f)}break;case N.IN_HEAD:tO(this,e);break;case N.IN_HEAD_NO_SCRIPT:var m=this,g=e;switch(g.tagID){case _.HTML:tz(m,g);break;case _.BASEFONT:case _.BGSOUND:case _.HEAD:case _.LINK:case _.META:case _.NOFRAMES:case _.STYLE:tO(m,g);break;case _.NOSCRIPT:m._err(g,b.nestedNoscriptInHead);break;default:tM(m,g)}break;case N.AFTER_HEAD:var v=this,y=e;switch(y.tagID){case _.HTML:tz(v,y);break;case _.BODY:v._insertElement(y,k.HTML),v.framesetOk=!1,v.insertionMode=N.IN_BODY;break;case _.FRAMESET:v._insertElement(y,k.HTML),v.insertionMode=N.IN_FRAMESET;break;case _.BASE:case _.BASEFONT:case _.BGSOUND:case _.LINK:case _.META:case _.NOFRAMES:case _.SCRIPT:case _.STYLE:case _.TEMPLATE:case _.TITLE:v._err(y,b.abandonedHeadElementChild),v.openElements.push(v.headElement,_.HEAD),tO(v,y),v.openElements.remove(v.headElement);break;case _.HEAD:v._err(y,b.misplacedStartTagForHeadElement);break;default:tH(v,y)}break;case N.IN_BODY:tz(this,e);break;case N.IN_TABLE:tZ(this,e);break;case N.IN_TABLE_TEXT:t2(this,e);break;case N.IN_CAPTION:let x;n=this,x=(a=e).tagID,t3.has(x)?n.openElements.hasInTableScope(_.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(_.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=N.IN_TABLE,tZ(n,a)):tz(n,a);break;case N.IN_COLUMN_GROUP:t5(this,e);break;case N.IN_TABLE_BODY:t8(this,e);break;case N.IN_ROW:t9(this,e);break;case N.IN_CELL:let T;i=this,T=(o=e).tagID,t3.has(T)?(i.openElements.hasInTableScope(_.TD)||i.openElements.hasInTableScope(_.TH))&&(i._closeTableCell(),t9(i,o)):tz(i,o);break;case N.IN_SELECT:re(this,e);break;case N.IN_SELECT_IN_TABLE:let E;s=this,(E=(l=e).tagID)===_.CAPTION||E===_.TABLE||E===_.TBODY||E===_.TFOOT||E===_.THEAD||E===_.TR||E===_.TD||E===_.TH?(s.openElements.popUntilTagNamePopped(_.SELECT),s._resetInsertionMode(),s._processStartTag(l)):re(s,l);break;case N.IN_TEMPLATE:var C=this,w=e;switch(w.tagID){case _.BASE:case _.BASEFONT:case _.BGSOUND:case _.LINK:case _.META:case _.NOFRAMES:case _.SCRIPT:case _.STYLE:case _.TEMPLATE:case _.TITLE:tO(C,w);break;case _.CAPTION:case _.COLGROUP:case _.TBODY:case _.TFOOT:case _.THEAD:C.tmplInsertionModeStack[0]=N.IN_TABLE,C.insertionMode=N.IN_TABLE,tZ(C,w);break;case _.COL:C.tmplInsertionModeStack[0]=N.IN_COLUMN_GROUP,C.insertionMode=N.IN_COLUMN_GROUP,t5(C,w);break;case _.TR:C.tmplInsertionModeStack[0]=N.IN_TABLE_BODY,C.insertionMode=N.IN_TABLE_BODY,t8(C,w);break;case _.TD:case _.TH:C.tmplInsertionModeStack[0]=N.IN_ROW,C.insertionMode=N.IN_ROW,t9(C,w);break;default:C.tmplInsertionModeStack[0]=N.IN_BODY,C.insertionMode=N.IN_BODY,tz(C,w)}break;case N.AFTER_BODY:c=this,(u=e).tagID===_.HTML?tz(c,u):ra(c,u);break;case N.IN_FRAMESET:var S=this,I=e;switch(I.tagID){case _.HTML:tz(S,I);break;case _.FRAMESET:S._insertElement(I,k.HTML);break;case _.FRAME:S._appendElement(I,k.HTML),I.ackSelfClosing=!0;break;case _.NOFRAMES:tO(S,I)}break;case N.AFTER_FRAMESET:var P=this,R=e;switch(R.tagID){case _.HTML:tz(P,R);break;case _.NOFRAMES:tO(P,R)}break;case N.AFTER_AFTER_BODY:d=this,(h=e).tagID===_.HTML?tz(d,h):ri(d,h);break;case N.AFTER_AFTER_FRAMESET:var A=this,D=e;switch(D.tagID){case _.HTML:tz(A,D);break;case _.NOFRAMES:tO(A,D)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===_.P||t.tagID===_.BR){ro(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){let n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===k.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLe
1ngth(r);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case N.INITIAL:tA(this,e);break;case N.BEFORE_HTML:let t;n=this,((t=(a=e).tagID)===_.HTML||t===_.HEAD||t===_.BODY||t===_.BR)&&tN(n,a);break;case N.BEFORE_HEAD:let r;i=this,(r=(o=e).tagID)===_.HEAD||r===_.BODY||r===_.HTML||r===_.BR?tD(i,o):i._err(o,b.endTagWithoutMatchingOpenElement);break;case N.IN_HEAD:var n,a,i,o,s,l,c,u,d,h,p,f,m=this,g=e;switch(g.tagID){case _.HEAD:m.openElements.pop(),m.insertionMode=N.AFTER_HEAD;break;case _.BODY:case _.BR:case _.HTML:tL(m,g);break;case _.TEMPLATE:tj(m,g);break;default:m._err(g,b.endTagWithoutMatchingOpenElement)}break;case N.IN_HEAD_NO_SCRIPT:var v=this,y=e;switch(y.tagID){case _.NOSCRIPT:v.openElements.pop(),v.insertionMode=N.IN_HEAD;break;case _.BR:tM(v,y);break;default:v._err(y,b.endTagWithoutMatchingOpenElement)}break;case N.AFTER_HEAD:var x=this,T=e;switch(T.tagID){case _.BODY:case _.HTML:case _.BR:tH(x,T);break;case _.TEMPLATE:tj(x,T);break;default:x._err(T,b.endTagWithoutMatchingOpenElement)}break;case N.IN_BODY:t$(this,e);break;case N.TEXT:s=this,e.tagID===_.SCRIPT&&(null==(l=s.scriptHandler)||l.call(s,s.openElements.current)),s.openElements.pop(),s.insertionMode=s.originalInsertionMode;break;case N.IN_TABLE:tX(this,e);break;case N.IN_TABLE_TEXT:t2(this,e);break;case N.IN_CAPTION:var E=this,C=e;let w=C.tagID;switch(w){case _.CAPTION:case _.TABLE:E.openElements.hasInTableScope(_.CAPTION)&&(E.openElements.generateImpliedEndTags(),E.openElements.popUntilTagNamePopped(_.CAPTION),E.activeFormattingElements.clearToLastMarker(),E.insertionMode=N.IN_TABLE,w===_.TABLE&&tX(E,C));break;case _.BODY:case _.COL:case _.COLGROUP:case _.HTML:case _.TBODY:case _.TD:case _.TFOOT:case _.TH:case _.THEAD:case _.TR:break;default:t$(E,C)}break;case N.IN_COLUMN_GROUP:var k=this,S=e;switch(S.tagID){case _.COLGROUP:k.openElements.currentTagId===_.COLGROUP&&(k.openElements.pop(),k.insertionMode=N.IN_TABLE);break;case _.TEMPLATE:tj(k,S);break;case _.COL:break;default:t4(k,S)}break;case N.IN_TABLE_BODY:t6(this,e);break;case N.IN_ROW:t7(this,e);break;case N.IN_CELL:var I=this,P=e;let R=P.tagID;switch(R){case _.TD:case _.TH:I.openElements.hasInTableScope(R)&&(I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(R),I.activeFormattingElements.clearToLastMarker(),I.insertionMode=N.IN_ROW);break;case _.TABLE:case _.TBODY:case _.TFOOT:case _.THEAD:case _.TR:I.openElements.hasInTableScope(R)&&(I._closeTableCell(),t7(I,P));break;case _.BODY:case _.CAPTION:case _.COL:case _.COLGROUP:case _.HTML:break;default:t$(I,P)}break;case N.IN_SELECT:rt(this,e);break;case N.IN_SELECT_IN_TABLE:let A;c=this,(A=(u=e).tagID)===_.CAPTION||A===_.TABLE||A===_.TBODY||A===_.TFOOT||A===_.THEAD||A===_.TR||A===_.TD||A===_.TH?c.openElements.hasInTableScope(A)&&(c.openElements.popUntilTagNamePopped(_.SELECT),c._resetInsertionMode(),c.onEndTag(u)):rt(c,u);break;case N.IN_TEMPLATE:d=this,(h=e).tagID===_.TEMPLATE&&tj(d,h);break;case N.AFTER_BODY:rn(this,e);break;case N.IN_FRAMESET:p=this,e.tagID===_.FRAMESET&&!p.openElements.isRootHtmlElementCurrent()&&(p.openElements.pop(),p.fragmentContext||p.openElements.currentTagId===_.FRAMESET||(p.insertionMode=N.AFTER_FRAMESET));break;case N.AFTER_FRAMESET:f=this,e.tagID===_.HTML&&(f.insertionMode=N.AFTER_AFTER_FRAMESET);break;case N.AFTER_AFTER_BODY:ri(this,e)}}onEof(e){switch(this.insertionMode){case N.INITIAL:tA(this,e);break;case N.BEFORE_HTML:tN(this,e);break;case N.BEFORE_HEAD:tD(this,e);break;case N.IN_HEAD:tL(this,e);break;case N.IN_HEAD_NO_SCRIPT:tM(this,e);break;case N.AFTER_HEAD:tH(this,e);break;case N.IN_BODY:case N.IN_TABLE:case N.IN_CAPTION:case N.IN_COLUMN_GROUP:case N.IN_TABLE_BODY:case N.IN_ROW:case N.IN_CELL:case N.IN_SELECT:case N.IN_SELECT_IN_TABLE:tQ(this,e);break;case N.TEXT:var t,r;t=this,r=e,t._err(r,b.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(r);break;case N.IN_TABLE_TEXT:t2(this,e);break;case N.IN_TEMPLATE:rr(this,e);break;case N.AFTER_BODY:case N.IN_FRAMESET:case N.AFTER_FRAMESET:case N.AFTER_AFTER_BODY:case N.AFTER_AFTER_FRAMESET:tR(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCo
1deAt(0)===y.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case N.IN_HEAD:case N.IN_HEAD_NO_SCRIPT:case N.AFTER_HEAD:case N.TEXT:case N.IN_COLUMN_GROUP:case N.IN_SELECT:case N.IN_SELECT_IN_TABLE:case N.IN_FRAMESET:case N.AFTER_FRAMESET:this._insertCharacters(e);break;case N.IN_BODY:case N.IN_CAPTION:case N.IN_CELL:case N.IN_TEMPLATE:case N.AFTER_BODY:case N.AFTER_AFTER_BODY:case N.AFTER_AFTER_FRAMESET:tq(this,e);break;case N.IN_TABLE:case N.IN_TABLE_BODY:case N.IN_ROW:tK(this,e);break;case N.IN_TABLE_TEXT:t1(this,e)}}}function tP(e,t){for(let r=0;r<8;r++){let r=function(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):tY(e,t),r}(e,t);if(!r)break;let n=function(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){let a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}(e,r);if(!n)break;e.activeFormattingElements.bookmark=r;let a=function(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==r;i++,o=a){a=e.openElements.getCommonAncestor(o);let r=e.activeFormattingElements.getElementEntry(o),s=r&&i>=3;!r||s?(s&&e.activeFormattingElements.removeEntry(r),e.openElements.remove(o)):(o=function(e,t){let r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}(e,r),n===t&&(e.activeFormattingElements.bookmark=r),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(o,n),n=o)}return n}(e,n,r.element),i=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),i&&function(e,t,r){let n=e$(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(n))e._fosterParentElement(r);else{let a=e.treeAdapter.getNamespaceURI(t);n===_.TEMPLATE&&a===k.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}(e,i,a),function(e,t,r){let n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}(e,n,r)}}function t_(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function tR(e,t){if(e.stopped=!0,t.location){let r=2*!e.fragmentContext;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let r=e.openElements.items[0],n=e.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){let r=e.openElements.items[1],n=e.treeAdapter.getNodeSourceCodeLocation(r);n&&!n.endTag&&e._setEndLocation(r,t)}}}}function tA(e,t){e._err(t,b.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,I.QUIRKS),e.insertionMode=N.BEFORE_HTML,e._processToken(t)}function tN(e,t){e._insertFakeRootElement(),e.insertionMode=N.BEFORE_HEAD,e._processToken(t)}function tD(e,t){e._insertFakeElement(P.HEAD,_.HEAD),e.headElement=e.openElements.current,e.insertionMode=N.IN_HEAD,e._processToken(t)}function tO(e,t){switch(t.tagID){case _.HTML:tz(e,t);break;case _.BASE:case _.BASEFONT:case _.BGSOUND:case _.LINK:case _.META:e._appendElement(t,k.HTML),t.ackSelfClosing=!0;break;case _.TITLE:e._switchToTextParsing(t,eX.RCDATA);break;case _.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eX.RAWTEXT):(e._insertElement(t,k.HTML),e.insertionMode=N.IN_HEAD_NO_SCRIPT);break;case _.NOFRAMES:case _.STYLE:e._switchToTextParsing(t,eX.RAWTEXT);break;case _.SCRIPT:e._switchToTextParsing(t,eX.SCRIPT_DATA);break;case _.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=N.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(N.IN_TEMPLATE);break;case _.HEAD:e._err(t,b.misplacedStartTagForHeadElement);break;default:tL(e,t)}}function tj(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==_.TEMPLATE&&e._err(t,b.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(_.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,b.endTagWithoutMatchingOpenElement)}function tL(e,t){e.openElements.pop(),e.insertionMode=N.AFTER_HEAD,e._processToken(t)}function tM(e,t){let r=t.type===x.EOF?b.openElementsLeftAfterEof:b.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=N.IN_HEAD,e._processToken(t)}function tH(e,t){e._insertFakeElement(P.BODY,_.BODY),e.insertionMode=N.IN_BODY,tF(e,t)}function tF(e,t){switch(t.type){case x.CHARACTER:tB(e,t);break;case x.WHITESPACE_CHARACTER:tq(e,t);break;case x.COMMENT:t_(e,t);break;case x.START_TAG:tz(e,t);break;case x.END_TAG:t$(e,t);break;case x.EOF:tQ(e,t)}}function tq(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function tB(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tU(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,k.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tW(e){let t=eU(e,S.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tV(e,t){e._switchToTextParsing(t,eX.RAWTEXT)}function tG(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,k.HTML)}function tz(e,t){switch(t.tagID){case _.I:case _.S:case _.B:case _.U:case _.EM:case _.TT:case _.BIG:case _.CODE:case _.FONT:case _.SMALL:case _.STRIKE:case _.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,k.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case _.A:let r;(r=e.activeFormattingElements.getElementEntryInScopeWithTagName(P.A))&&(tP(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,k.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case _.H1:case _.H2:case _.H3:case _.H4:case _.H5:case _.H6:e.openElements.hasInButtonScope(_.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&eZ.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,k.HTML);break;case _.P:case _.DL:case _.OL:case _.UL:case _.DIV:case _.DIR:case _.NAV:case _.MAIN:case _.MENU:case _.ASIDE:case _.CENTER:case _.FIGURE:case _.FOOTER:case _.HEADER:case _.HGROUP:case _.DIALOG:case _.DETAILS:case _.ADDRESS:case _.ARTICLE:case _.SEARCH:case _.SECTION:case _.SUMMARY:case _.FIELDSET:case _.BLOCKQUOTE:case _.FIGCAPTION:e.openElements.hasInButtonScope(_.P)&&e._closePElement(),e._insertElement(t,k.HTML);break;case _.LI:case _.DD:case _.DT:e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];
1if(n===_.LI&&r===_.LI||(n===_.DD||n===_.DT)&&(r===_.DD||r===_.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==_.ADDRESS&&r!==_.DIV&&r!==_.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(_.P)&&e._closePElement(),e._insertElement(t,k.HTML);break;case _.BR:case _.IMG:case _.WBR:case _.AREA:case _.EMBED:case _.KEYGEN:tU(e,t);break;case _.HR:e.openElements.hasInButtonScope(_.P)&&e._closePElement(),e._appendElement(t,k.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case _.RB:case _.RTC:e.openElements.hasInScope(_.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,k.HTML);break;case _.RT:case _.RP:e.openElements.hasInScope(_.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(_.RTC),e._insertElement(t,k.HTML);break;case _.PRE:case _.LISTING:e.openElements.hasInButtonScope(_.P)&&e._closePElement(),e._insertElement(t,k.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case _.XMP:e.openElements.hasInButtonScope(_.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eX.RAWTEXT);break;case _.SVG:e._reconstructActiveFormattingElements(),tE(t),tC(t),t.selfClosing?e._appendElement(t,k.SVG):e._insertElement(t,k.SVG),t.ackSelfClosing=!0;break;case _.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case _.BASE:case _.LINK:case _.META:case _.STYLE:case _.TITLE:case _.SCRIPT:case _.BGSOUND:case _.BASEFONT:case _.TEMPLATE:tO(e,t);break;case _.BODY:let a;(a=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs));break;case _.FORM:let i;i=e.openElements.tmplCount>0,(!e.formElement||i)&&(e.openElements.hasInButtonScope(_.P)&&e._closePElement(),e._insertElement(t,k.HTML),i||(e.formElement=e.openElements.current));break;case _.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(_.NOBR)&&(tP(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,k.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case _.MATH:e._reconstructActiveFormattingElements(),tT(t),tC(t),t.selfClosing?e._appendElement(t,k.MATHML):e._insertElement(t,k.MATHML),t.ackSelfClosing=!0;break;case _.TABLE:e.treeAdapter.getDocumentMode(e.document)!==I.QUIRKS&&e.openElements.hasInButtonScope(_.P)&&e._closePElement(),e._insertElement(t,k.HTML),e.framesetOk=!1,e.insertionMode=N.IN_TABLE;break;case _.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,k.HTML),tW(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case _.PARAM:case _.TRACK:case _.SOURCE:e._appendElement(t,k.HTML),t.ackSelfClosing=!0;break;case _.IMAGE:t.tagName=P.IMG,t.tagID=_.IMG,tU(e,t);break;case _.BUTTON:e.openElements.hasInScope(_.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(_.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,k.HTML),e.framesetOk=!1;break;case _.APPLET:case _.OBJECT:case _.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,k.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case _.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eX.RAWTEXT);break;case _.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,k.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===N.IN_TABLE||e.insertionMode===N.IN_CAPTION||e.insertionMode===N.IN_TABLE_BODY||e.insertionMode===N.IN_ROW||e.insertionMode===N.IN_CELL?N.IN_SELECT_IN_TABLE:N.IN_SELECT;break;case _.OPTION:case _.OPTGROUP:e.openElements.currentTagId===_.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,k.HTML);break;case _.NOEMBED:case _.NOFRAMES:tV(e,t);break;case _.FRAMESET:let o;o=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&o&&(e.treeAdapter.detachNode(o),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,k.HTML),e.insertionMode=N.IN_FRAMESET);break;case _.TEXTAREA:e._insertElement(t,k.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eX.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=N.TEXT;break;case _.NOSCRIPT:e.options.scriptingEnabled?tV(e,t):tG(e,t);break;case _.PLAINTEXT:e.openElements.hasInButtonScope(_.P)&&e._closePElement(),e._insertElement(t,k.HTML),e.tokenizer.state=eX.PLAINTEXT;break;case _.COL:case _.TH:case _.TD:case _.TR:case _.HEAD:case _.FRAME:case _.TBODY:case _.TFOOT:case _.THEAD:case _.CAPTION:case _.COLGROUP:break;default:tG(e,t)}}function tY(e,t){let r=t.tagName,n=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(n===i&&(n!==_.UNKNOWN||e.treeAdapter.getTagName(a)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>
1=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function t$(e,t){switch(t.tagID){case _.A:case _.B:case _.I:case _.S:case _.U:case _.EM:case _.TT:case _.BIG:case _.CODE:case _.FONT:case _.NOBR:case _.SMALL:case _.STRIKE:case _.STRONG:tP(e,t);break;case _.P:e.openElements.hasInButtonScope(_.P)||e._insertFakeElement(P.P,_.P),e._closePElement();break;case _.DL:case _.UL:case _.OL:case _.DIR:case _.DIV:case _.NAV:case _.PRE:case _.MAIN:case _.MENU:case _.ASIDE:case _.BUTTON:case _.CENTER:case _.FIGURE:case _.FOOTER:case _.HEADER:case _.HGROUP:case _.DIALOG:case _.ADDRESS:case _.ARTICLE:case _.DETAILS:case _.SEARCH:case _.SECTION:case _.SUMMARY:case _.LISTING:case _.FIELDSET:case _.BLOCKQUOTE:case _.FIGCAPTION:let r;r=t.tagID,e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r));break;case _.LI:e.openElements.hasInListItemScope(_.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(_.LI),e.openElements.popUntilTagNamePopped(_.LI));break;case _.DD:case _.DT:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n));break;case _.H1:case _.H2:case _.H3:case _.H4:case _.H5:case _.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case _.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(P.BR,_.BR),e.openElements.pop(),e.framesetOk=!1;break;case _.BODY:if(e.openElements.hasInScope(_.BODY)&&(e.insertionMode=N.AFTER_BODY,e.options.sourceCodeLocationInfo)){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}break;case _.HTML:e.openElements.hasInScope(_.BODY)&&(e.insertionMode=N.AFTER_BODY,rn(e,t));break;case _.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(_.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(_.FORM):r&&e.openElements.remove(r))}(e);break;case _.APPLET:case _.OBJECT:case _.MARQUEE:let a;a=t.tagID,e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker());break;case _.TEMPLATE:tj(e,t);break;default:tY(e,t)}}function tQ(e,t){e.tmplInsertionModeStack.length>0?rr(e,t):tR(e,t)}function tK(e,t){if(void 0!==e.openElements.currentTagId&&tk.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=N.IN_TABLE_TEXT,t.type){case x.CHARACTER:t0(e,t);break;case x.WHITESPACE_CHARACTER:t1(e,t)}else tJ(e,t)}function tZ(e,t){switch(t.tagID){case _.TD:case _.TH:case _.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(P.TBODY,_.TBODY),e.insertionMode=N.IN_TABLE_BODY,t8(e,t);break;case _.STYLE:case _.SCRIPT:case _.TEMPLATE:tO(e,t);break;case _.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(P.COLGROUP,_.COLGROUP),e.insertionMode=N.IN_COLUMN_GROUP,t5(e,t);break;case _.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,k.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case _.TABLE:e.openElements.hasInTableScope(_.TABLE)&&(e.openElements.popUntilTagNamePopped(_.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case _.TBODY:case _.TFOOT:case _.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,k.HTML),e.insertionMode=N.IN_TABLE_BODY;break;case _.INPUT:tW(t)?e._appendElement(t,k.HTML):tJ(e,t),t.ackSelfClosing=!0;break;case _.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,k.HTML),e.insertionMode=N.IN_CAPTION;break;case _.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,k.HTML),e.insertionMode=N.IN_COLUMN_GROUP;break;default:tJ(e,t)}}function tX(e,t){switch(t.tagID){case _.TABLE:e.openElements.hasInTableScope(_.TABLE)&&(e.openElements.popUntilTagNamePopped(_.TABLE),e._resetInsertionMode());break;case _.TEMPLATE:tj(e,t);break;case _.BODY:case _.CAPTION:case _.COL:case _.COLGROUP:case _.HTML:case _.TBODY:case _.TD:case _.TFOOT:case _.TH:case _.THEAD:case _.TR:break;default:tJ(e,t)}}function tJ(e,t){let r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,tF(e,t),e.fosterParentingEnabled=r}
vendor: 5,181 bytes, line 1
1function t1(e,t){e.pendingCharacterTokens.push(t)}function t0(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function t2(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)tJ(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let t3=new Set([_.CAPTION,_.COL,_.COLGROUP,_.TBODY,_.TD,_.TFOOT,_.TH,_.THEAD,_.TR]);function t5(e,t){switch(t.tagID){case _.HTML:tz(e,t);break;case _.COL:e._appendElement(t,k.HTML),t.ackSelfClosing=!0;break;case _.TEMPLATE:tO(e,t);break;default:t4(e,t)}}function t4(e,t){e.openElements.currentTagId===_.COLGROUP&&(e.openElements.pop(),e.insertionMode=N.IN_TABLE,e._processToken(t))}function t8(e,t){switch(t.tagID){case _.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,k.HTML),e.insertionMode=N.IN_ROW;break;case _.TH:case _.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(P.TR,_.TR),e.insertionMode=N.IN_ROW,t9(e,t);break;case _.CAPTION:case _.COL:case _.COLGROUP:case _.TBODY:case _.TFOOT:case _.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N.IN_TABLE,tZ(e,t));break;default:tZ(e,t)}}function t6(e,t){let r=t.tagID;switch(t.tagID){case _.TBODY:case _.TFOOT:case _.THEAD:e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N.IN_TABLE);break;case _.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N.IN_TABLE,tX(e,t));break;case _.BODY:case _.CAPTION:case _.COL:case _.COLGROUP:case _.HTML:case _.TD:case _.TH:case _.TR:break;default:tX(e,t)}}function t9(e,t){switch(t.tagID){case _.TH:case _.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,k.HTML),e.insertionMode=N.IN_CELL,e.activeFormattingElements.insertMarker();break;case _.CAPTION:case _.COL:case _.COLGROUP:case _.TBODY:case _.TFOOT:case _.THEAD:case _.TR:e.openElements.hasInTableScope(_.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=N.IN_TABLE_BODY,t8(e,t));break;default:tZ(e,t)}}function t7(e,t){switch(t.tagID){case _.TR:e.openElements.hasInTableScope(_.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=N.IN_TABLE_BODY);break;case _.TABLE:e.openElements.hasInTableScope(_.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=N.IN_TABLE_BODY,t6(e,t));break;case _.TBODY:case _.TFOOT:case _.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(_.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=N.IN_TABLE_BODY,t6(e,t));break;case _.BODY:case _.CAPTION:case _.COL:case _.COLGROUP:case _.HTML:case _.TD:case _.TH:break;default:tX(e,t)}}function re(e,t){switch(t.tagID){case _.HTML:tz(e,t);break;case _.OPTION:e.openElements.currentTagId===_.OPTION&&e.openElements.pop(),e._insertElement(t,k.HTML);break;case _.OPTGROUP:e.openElements.currentTagId===_.OPTION&&e.openElements.pop(),e.openElements.currentTagId===_.OPTGROUP&&e.openElements.pop(),e._insertElement(t,k.HTML);break;case _.HR:e.openElements.currentTagId===_.OPTION&&e.openElements.pop(),e.openElements.currentTagId===_.OPTGROUP&&e.openElements.pop(),e._appendElement(t,k.HTML),t.ackSelfClosing=!0;break;case _.INPUT:case _.KEYGEN:case _.TEXTAREA:case _.SELECT:e.openElements.hasInSelectScope(_.SELECT)&&(e.openElements.popUntilTagNamePopped(_.SELECT),e._resetInsertionMode(),t.tagID!==_.SELECT&&e._processStartTag(t));break;case _.SCRIPT:case _.TEMPLATE:tO(e,t)}}function rt(e,t){switch(t.tagID){case _.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===_.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===_.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===_.OPTGROUP&&e.openElements.pop();break;case _.OPTION:e.openElements.currentTagId===_.OPTION&&e.openElements.pop();break;case _.SELECT:e.openElements.hasInSelectScope(_.SELECT)&&(e.openElements.popUntilTagNamePopped(_.SELECT),e._resetInsertionMode());break;case _.TEMPLATE:tj(e,t)}}function rr(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(_.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):tR(e,t)}function rn(e,t){var r;if(t.tagID===_.HTML){if(e.fragmentContext||(e.insertionMode=N.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===_.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];!n||(null==(r=e.treeAdapter.getNodeSourceCodeLocation(n))?void 0:r.endTag)||e._setEndLocation(n,t)}}else ra(e,t)}function ra(e,t){e.insertionMode=N.IN_BODY,tF(e,t)}function ri(e,t){e.insertionMode=N.IN_BODY,tF(e,t)}function ro(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==k.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
1penElements.current);)e.openElements.pop()}String.prototype.codePointAt,P.AREA,P.BASE,P.BASEFONT,P.BGSOUND,P.BR,P.COL,P.EMBED,P.FRAME,P.HR,P.IMG,P.INPUT,P.KEYGEN,P.LINK,P.META,P.PARAM,P.SOURCE,P.TRACK,P.WBR;var rs=r(59248);let rl=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,rc=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ru={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function rd(e,t){var r,n;let a,i,o=!!((a="root"===(n=e).type?n.children[0]:n)&&("doctype"===a.type||"element"===a.type&&"html"===a.tagName.toLowerCase())),s=eP("type",{handlers:{root:rp,element:rf,text:rm,comment:rv,doctype:rg,raw:ry},unknown:rb}),l={parser:o?new tI(ru):tI.getFragmentParser(void 0,ru),handle(e){s(e,l)},stitches:!1,options:t||{}};s(e,l),rx(l,(0,rs.PW)());let c=(r=o?l.parser.document:l.parser.getFragment(),eE({file:(i={file:l.options.file}).file||void 0,location:!1,schema:"svg"===i.space?el.JW:el.qy,verbose:i.verbose||!1},r));return(l.stitches&&(0,q.YR)(c,"comment",function(e,t,r){if(e.value.stitch&&r&&void 0!==t)return r.children[t]=e.value.stitch,t}),"root"===c.type&&1===c.children.length&&c.children[0].type===e.type)?c.children[0]:c}function rh(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function rp(e,t){rh(e.children,t)}function rf(e,t){(function(e,t){let r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===eX.PLAINTEXT)return;rx(t,(0,rs.PW)(e));let n=t.parser.openElements.current,a="namespaceURI"in n?n.namespaceURI:eb.html;a===eb.html&&"svg"===r&&(a=eb.svg);let i=eR({...e,children:[]},"svg"===({space:a===eb.svg?"svg":"html"}).space?el.JW:el.qy),o={type:x.START_TAG,tagName:r,tagID:e$(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:rE(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r})(e,t),rh(e.children,t),function(e,t){let r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&eD.includes(r)||t.parser.tokenizer.state===eX.PLAINTEXT)return;rx(t,(0,rs.Y)(e));let n={type:x.END_TAG,tagName:r,tagID:e$(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:rE(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===eX.RCDATA||t.parser.tokenizer.state===eX.RAWTEXT||t.parser.tokenizer.state===eX.SCRIPT_DATA)&&(t.parser.tokenizer.state=eX.DATA)}(e,t)}function rm(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let r={type:x.CHARACTER,chars:e.value,location:rE(e)};rx(t,(0,rs.PW)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function rg(e,t){let r={type:x.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:rE(e)};rx(t,(0,rs.PW)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function rv(e,t){let r=e.value,n={type:x.COMMENT,data:r,location:rE(e)};rx(t,(0,rs.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function ry(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,rT(t,(0,rs.PW)(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(rl,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function rb(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var r;let n;t.stitches=!0,n="children"in(r=e)?(0,es.Ay)({...r,children:[]}):(0,es.Ay)(r),"children"in e&&"children"in n&&(n.children=rd({type:"root",children:e.children},t.options).children),rv({type:"comment",value:{stitch:n}},t)}else{let t="";
1throw rc.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function rx(e,t){rT(e,t);let r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eX.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function rT(e,t){if(t&&void 0!==t.offset){let r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function rE(e){let t=(0,rs.PW)(e)||{line:void 0,column:void 0,offset:void 0},r=(0,rs.Y)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function rC(e){return function(t,r){return rd(t,{...e,file:r})}}var rw=r(75155),rk=r(55729);let rS=e=>{let t,r=(0,rw.c)(4),{children:n,className:a,testId:i}=e,o=void 0===i?"ListItem":i;return r[0]!==n||r[1]!==a||r[2]!==o?(t=(0,D.jsx)("li",{className:a,"data-testid":o,children:n}),r[0]=n,r[1]=a,r[2]=o,r[3]=t):t=r[3],t},rI=e=>{let t,r,n,a,i=(0,rw.c)(19),{children:o,icon:s,bullet:l,numbered:c,compact:u,short:d,squashed:h,className:p,testId:f}=e,m=void 0===s?null:s,g=void 0===f?"List":f;if(i[0]!==o||i[1]!==m){let e,r=rk.Children.toArray(o);i[3]!==m?(e=e=>rk.Children.toArray(e).map(e=>{var t;return(e.type===rS||"li"===e.type)&&m?(0,D.jsx)(rS,{testId:"iconListItem",className:"mt-1 first-of-type:mt-0",children:(0,D.jsxs)("span",{className:"relative",children:[m&&(0,D.jsx)("span",{"aria-hidden":"true",className:"absolute left-[-1.75rem]",children:m}),null==(t=e.props)?void 0:t.children]})},e.key):e}),i[3]=m,i[4]=e):e=i[4],t=r.map(e),i[0]=o,i[1]=m,i[2]=t}else t=i[2];let v=t;if(i[5]!==l||i[6]!==p||i[7]!==u||i[8]!==m||i[9]!==c||i[10]!==d||i[11]!==h){let e=L()("list-outside",{"list-decimal pl-7":c,"list-disc pl-7":l,"list-none pl-7":m,"mt-0":h,"mt-1":d,"mt-3":!d&&!h,"leading-brand-compact":u,"leading-brand-normal":!u},p);r=c?"ol":"ul",n=L()(e,p),i[5]=l,i[6]=p,i[7]=u,i[8]=m,i[9]=c,i[10]=d,i[11]=h,i[12]=r,i[13]=n}else r=i[12],n=i[13];return i[14]!==r||i[15]!==v||i[16]!==n||i[17]!==g?(a=(0,D.jsx)(r,{className:n,"data-testid":g,children:v}),i[14]=r,i[15]=v,i[16]=n,i[17]=g,i[18]=a):a=i[18],a};var rP=r(90510),r_=r.n(rP);let rR=e=>{let{testId:t="Markdown",listIcon:r,className:n,componentOverrides:a,content:i,tableStyle:o}=e,s=L()(r_()["markdown-container"],n),l={a:e=>{var t;let{href:r,target:n,children:a}=e,i=r?null==(t=decodeURIComponent(r))?void 0:t.replace(/<\/?[a-z]+>/g,""):void 0,o=(null==i?void 0:i.startsWith("http"))&&"_blank"===n,s=!!(null==i?void 0:i.match(/\.zip$/i));return(0,D.jsxs)("a",{className:s?"ds-link flex flex-row items-center gap-2":"ds-link-inline",href:i,target:n,rel:o?"noopener noreferrer":void 0,download:!!s||void 0,children:[a,s&&(0,D.jsx)(O.fQo,{})]})},ul:e=>{let{children:t}=e;return(0,D.jsx)(rI,{bullet:!0,icon:r,children:t})},ol:e=>{let{children:t}=e;return(0,D.jsx)(rI,{numbered:!0,icon:r,children:t})},h1:e=>{let{children:t}=e;return(0,D.jsx)(O._aR,{children:t})},h2:e=>{let{children:t}=e;return(0,D.jsx)(O.fV8,{children:t})},h3:e=>{let{children:t}=e;return(0,D.jsx)(O._B7,{children:t})},img:e=>{let{src:t,alt:r}=e;return(0,D.jsx)("img",{className:"rounded-brand",src:t,alt:r,loading:"lazy",decoding:"async",width:"100%",height:"auto"})},table:e=>{let{children:t}=e;return(0,D.jsx)("div",{className:r_()["table-wrapper"],children:(0,D.jsx)("table",{"data-table-style":o,children:t})})},...a};return(0,D.jsx)("div",{className:s,"data-testid":t,children:(0,D.jsx)(eo.oz,{rehypePlugins:[rC],remarkPlugins:[function(e){let t,r,n,a;r=(t=this.data()).micromarkExtensions||(t.micromarkExtensions=[]),n=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),a=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]),r.push({flow:{null:{name:"table",tokenize:J,resolveAll:ee}}}),r.push({enter:{table(e){let t=e._align;this.lineEndingIfNeeded(),this.tag("<table>"),this.setData("tableAlign",t)},tableBody(){this.tag("<tbody>")},tableData(){let e=ea[this.getData("tableAlign")[this.getData("tableColumn")]];void 0===e?this.buffer():(this.lineEndingIfNeeded(),this.tag("<td"+e+">"))},tableHead(){this.lineEndingIfNeeded(),this.tag("<thead>")},tableHeader(){let e=ea[this.getData("tableAlign")[this.getData("tableColumn")]];this.lineEndingIfNeeded(),this.tag("<th"+e+">")},tableRow(){this.setData("tableColumn",0),this.lineEndingIfNeeded(),this.tag("<tr>")}},exit:{codeTextData(e){let t=this.sliceSerialize(e);this.getData("tableAlign")&&(t=t.replace(/\\([\\|])/g,ei)),this.raw(this.encode(t))},table(){this.setData("tableAlign"),this.setData("slurpAllLineEndings"),this.lineEndingIfNeeded(),this.tag("</table>")},tableBody(){this.lineEndingIfNeeded(),this.tag("</tbody>")},tableData(){let e=this.getData("tableAlign"),t=this.getData("tableColumn");t in e?(this.tag("</td>"),this.setData("tableColumn",t+1)):this.resume()},tableHead(){this.lineEndingIfNeeded(),this.tag("</thead>")},tableHeader(){let e=this.getData("tableColumn");this.tag("</th>"),this.setData("tableColumn",e+1)},tableRow(){let e=this.getData("tableAlign"),t=this.getData("tableColumn");for(;t<e.length;)this.lineEndingIfNeeded(),this.tag("<td"+ea[e[t]]+"></td>"),t++;this.setData("tableColumn",t),this.lineEndingIfNeeded(),this.tag("</tr>")}}}),n.push({enter:{table:W,tableData:Y,tableHeader:Y,tableRow:G},exit:{codeText:$,table:V,tableData:z,tableHeader:z,tableRow:z}}),a.push(function(e){let t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,r){let n=U(e,t,r);return r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&")),n},table:function(e,t,r,n){return s(function(e,t,r){let n=e.children,a=-1,i=[],o=t.enter("table");for(;++a<n.length;)i[a]=l(n[a],t,r);return o(),i}(e,r,n),e.align)},tableCell:o,tableRow:function(e,t,r,n){let a=s([l(e,r,n)]);return a.slice(0,a.indexOf("\n"))}}};function o(e,t,r,n){let a=r.enter("tableCell"),o=r.enter("phrasing"),s=r.containerPhrasing(e,{...n,before:i,after:i});return o(),a(),s}function s(e,t){return function(e,t){let r=t||{},n=(r.align||[]).concat(),a=r.stringLength||H,i=[],o=[],s=[],l=[],c=0,u=-1;for(;++u<e.length;){let t=[],n=[],i=-1;for(e[u].length>c&&(c=e[u].length);++i<e[u].length;){var d;let o=null==(d=e[u][i])?"":String(d);if(!1!==r.alignDelimiters){let e=a(o);n[i]=e,(void 0===l[i]||e>l[i])&&(l[i]=e)}t.push(o)}
1o[u]=t,s[u]=n}let h=-1;if("object"==typeof n&&"length"in n)for(;++h<c;)i[h]=F(n[h]);else{let e=F(n);for(;++h<c;)i[h]=e}h=-1;let p=[],f=[];for(;++h<c;){let e=i[h],t="",n="";99===e?(t=":",n=":"):108===e?t=":":114===e&&(n=":");let a=!1===r.alignDelimiters?1:Math.max(1,l[h]-t.length-n.length),o=t+"-".repeat(a)+n;!1!==r.alignDelimiters&&((a=t.length+a+n.length)>l[h]&&(l[h]=a),f[h]=a),p[h]=o}o.splice(1,0,p),s.splice(1,0,f),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];h=-1;let n=[];for(;++h<c;){let a=e[h]||"",o="",s="";if(!1!==r.alignDelimiters){let e=l[h]-(t[h]||0),r=i[h];114===r?o=" ".repeat(e):99===r?e%2?(o=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):s=o=" ".repeat(e/2):s=" ".repeat(e)}!1===r.delimiterStart||h||n.push("|"),!1!==r.padding&&(!1!==r.alignDelimiters||""!==a)&&(!1!==r.delimiterStart||h)&&n.push(" "),!1!==r.alignDelimiters&&n.push(o),n.push(a),!1!==r.alignDelimiters&&n.push(s),!1!==r.padding&&n.push(" "),(!1!==r.delimiterEnd||h!==c-1)&&n.push("|")}m.push(!1===r.delimiterEnd?n.join("").replace(/ +$/,""):n.join(""))}return m.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:a})}function l(e,t,r){let n=e.children,a=-1,i=[],s=t.enter("tableRow");for(;++a<n.length;)i[a]=o(n[a],e,t,r);return s(),i}}(e||{}))}],components:l,urlTransform:e=>e.startsWith("tel:")?e:(0,eo.Lv)(e),children:i})})}},66311:(e,t,r)=>{"use strict";var n=r(80071),a=r(48444),i=r(89298),o={addRefinement:function(e,t,r){if(o.isRefined(e,t,r))return e;var a=""+r,i=e[t]?e[t].concat(a):[a],s={};return s[t]=i,n(s,e)},removeRefinement:function(e,t,r){if(void 0===r)return o.clearRefinement(e,function(e,r){return t===r});var n=""+r;return o.clearRefinement(e,function(e,r){return t===r&&n===e})},toggleRefinement:function(e,t,r){if(void 0===r)throw Error("toggleRefinement should be used with a value");return o.isRefined(e,t,r)?o.removeRefinement(e,t,r):o.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var n=!1,o=Object.keys(e).reduce(function(a,i){var o=e[i]||[],s=o.filter(function(e){return!t(e,i,r)});return s.length!==o.length&&(n=!0),a[i]=s,a},{});return n?o:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;return void 0!==r&&n?-1!==e[t].indexOf(""+r):n}};e.exports=o},66819:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c});var n=r(6029),a=r(75155),i=r(41834),o=r(73202),s=r(67624),l=r(53129);let c=e=>{let t,r,c,u,d,h,p,f=(0,a.c)(22);f[0]!==e?({href:t,target:u,rel:c,...r}=e,f[0]=e,f[1]=t,f[2]=r,f[3]=c,f[4]=u):(t=f[1],r=f[2],c=f[3],u=f[4]),f[5]!==t||f[6]!==c||f[7]!==u?(d=(0,l.I)(t,u,c),f[5]=t,f[6]=c,f[7]=u,f[8]=d):d=f[8];let{rewrittenHref:m,isPdf:g,appAwareRel:v}=d,{shouldUseNextLink:y}=(0,o.u)(t);if(g){let e,t,a=null!=m?m:"";return f[9]!==a?(e={href:a,target:"_blank"},f[9]=a,f[10]=e):e=f[10],f[11]!==r||f[12]!==e?(t=(0,n.jsx)(i.$nd,{link:e,rel:"noopener noreferrer",...r}),f[11]=r,f[12]=e,f[13]=t):t=f[13],t}let b=null!=m?m:"",x=y?s.F:void 0;f[14]!==v||f[15]!==b||f[16]!==x||f[17]!==u?(h={href:b,linkRender:x,target:u,rel:v},f[14]=v,f[15]=b,f[16]=x,f[17]=u,f[18]=h):h=f[18];let T=h,E=m?T:void 0;return f[19]!==r||f[20]!==E?(p=(0,n.jsx)(i.$nd,{link:E,...r}),f[19]=r,f[20]=E,f[21]=p):p=f[21],p}},67202:(e,t,r)=>{"use strict";r.d(t,{i:()=>o,x:()=>u});var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},a=/[&<>"']/g,i=RegExp(a.source);function o(e){return e&&i.test(e)?e.replace(a,function(e){return n[e]}):e}var s={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},l=/&(amp|quot|lt|gt|#39);/g,c=RegExp(l.source);function u(e){return e&&c.test(e)?e.replace(l,function(e){return s[e]}):e}},67203:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});var n=r(29829);let a=e=>{var t,r,a,i,o,s;let{isSmaller:l,isGreaterOrEqual:c}=(0,n._X)();return(null==e||null==(t=e.mobile)?void 0:t.alt)&&l("lg")?e.mobile.alt:(null==e||null==(r=e.desktop)?void 0:r.alt)&&c("lg")&&l("2xl")?e.desktop.alt:(null==e||null==(a=e.desktopLarge)?void 0:a.alt)&&c("2xl")?e.desktopLarge.alt:(null==e||null==(i=e.desktop)?void 0:i.alt)||(null==e||null==(o=e.desktopLarge)?void 0:o.alt)||(null==e||null==(s=e.mobile)?void 0:s.alt)||""}},67624:(e,t,r)=>{"use strict";r.d(t,{F:()=>l});var n=r(6029),a=r(55729),i=r(82203),o=r.n(i),s=r(73202);let l=(0,a.forwardRef)((e,t)=>{let{href:r,children:a,...i}=e,{enablePrefetch:l,shouldUseNextLink:c}=(0,s.u)(r);return c?(0,n.jsx)(o(),{ref:t,prefetch:l,href:null!=r?r:"",...i,children:a}):a})},68886:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DetailPage:()=>f,detailPageEnhancer:()=>m});var n=r(6029),a=r(75155),i=r(12645),o=r(62869),s=r(74632),l=r(27872),c=r(83650),u=r(32988),d=r.n(u),h=r(28126),p=r(4220);let f=e=>{var t,r,u,p;
1let f,m,g,y,b,x,T,E,C=(0,a.c)(24),{blok:w}=e,{locale:k}=(0,i.p)();C[0]!==k?(f=(e=>{switch(e){case"nl-NL":return{title:"Veelgestelde vragen"};case"de-DE":return{title:"H\xe4ufig gestellte Fragen"};case"sv-SE":return{title:"Vanliga fr\xe5gor och svar"};case"no-NO":return{title:"Ofte stilte sp\xf8rsm\xe5l"};default:return{title:"Frequency asked questions"}}})(k),C[0]=k,C[1]=f):f=C[1];let S=f,{offset:I,backdropOpacity:P}=(0,o.d)();return C[2]!==P||C[3]!==w.heroSection?(m=w.heroSection&&w.heroSection.length>0?(0,n.jsxs)("div",{className:"relative col-span-5",children:[(0,n.jsx)(s.d,{blok:w.heroSection[0]}),(0,n.jsx)("div",{className:"absolute inset-0 z-10 bg-black",style:{opacity:P}})]}):null,C[2]=P,C[3]=w.heroSection,C[4]=m):m=C[4],C[5]!==(null==(t=w.heroSection)?void 0:t.length)||C[6]!==w.introCard||C[7]!==I?(g=w.introCard&&w.introCard.length>0?(0,n.jsx)("div",{style:{marginTop:(null==(r=w.heroSection)?void 0:r.length)&&"TextIntroInline"!==w.introCard[0].component?"-".concat(I,"px"):void 0},className:d()({"mt-[30px] md:mt-[50px]":!(null==(u=w.heroSection)?void 0:u.length)}),children:(0,n.jsx)(s.d,{blok:w.introCard[0]})}):null,C[5]=null==(p=w.heroSection)?void 0:p.length,C[6]=w.introCard,C[7]=I,C[8]=g):g=C[8],C[9]!==m||C[10]!==g?(y=(0,n.jsxs)(l.x,{narrow:!0,className:"col-span-5 gap-y-0",children:[m,g]}),C[9]=m,C[10]=g,C[11]=y):y=C[11],C[12]!==w.sections?(b=w.sections&&(0,n.jsx)(h.r,{sections:w.sections}),C[12]=w.sections,C[13]=b):b=C[13],C[14]!==w.faqs||C[15]!==S?(x=w.faqs&&w.faqs.length>0&&(0,n.jsx)(c.I,{narrow:!0,variant:"manualEntry",title:S.title,items:w.faqs}),C[14]=w.faqs,C[15]=S,C[16]=x):x=C[16],C[17]!==w.components?(T=w.components&&w.components.map(v),C[17]=w.components,C[18]=T):T=C[18],C[19]!==y||C[20]!==b||C[21]!==x||C[22]!==T?(E=(0,n.jsxs)(l.x,{narrow:!0,children:[y,b,x,T]}),C[19]=y,C[20]=b,C[21]=x,C[22]=T,C[23]=E):E=C[23],E},m=e=>{let{lottery:t}=e;return async e=>{try{if(g(e)){var r;let{topic:n,categories:a}=null!=(r=e.topicType)?r:{};await (0,p.v)(e.sections,{lottery:t,topic:n||void 0,category:null==a?void 0:a[0]})}}catch(e){console.log(e)}}},g=e=>(null==e?void 0:e.component)==="DetailPage";function v(e){return(0,n.jsx)(s.d,{blok:e},e._uid)}},68963:e=>{e.exports=function(e){return e.reduce(function(e,t){return e.concat(t)},[])}},69106:(e,t,r)=>{"use strict";r.d(t,{I:()=>n});let n=e=>{switch(e){case"nl-NL":return{showMoreLabel:"Meer tonen",counter:(e,t)=>"".concat(e," getoond van ").concat(t)};case"de-DE":return{showMoreLabel:"Zeig mehr",counter:(e,t)=>"Zeigt ".concat(e," von ").concat(t)};case"sv-SE":return{showMoreLabel:"Visa mer",counter:(e,t)=>"Visar ".concat(e," av ").concat(t)};case"no-NO":return{showMoreLabel:"Vis mer",counter:(e,t)=>"Viser ".concat(e," av ").concat(t)};default:return{showMoreLabel:"Show more",counter:(e,t)=>"Showing ".concat(e," of ").concat(t)}}}},69179:(e,t,r)=>{"use strict";var n=r(69299);e.exports=function(e,t){var r=(t||[]).map(function(e){return e.split(":")});return e.reduce(function(e,t){var a=t.split(":"),i=n(r,function(e){return e[0]===a[0]});return a.length>1||!i?(e[0].push(a[0]),e[1].push(a[1])):(e[0].push(i[0]),e[1].push(i[1])),e},[[],[]])}},69299:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}}},69430:(e,t,r)=>{"use strict";r.d(t,{u:()=>p});var n=r(55729),a=r(27133),i=r(22176),o=r(89736);let s=n.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),l={dedupe:!0},c=(e,t,r)=>{var n;return!!t&&(null==(n=e.get(t))?void 0:n.has(r))===!0},u=(e,t,r)=>{if(!t)return;let n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(r)},d=Promise.resolve(o.U);d.status="fulfilled",d.value=o.U;let h=()=>o.n;o.O.defineProperty(o.S,"defaultValue",{value:o.d});let p=(0,i.qm)((e,t,r)=>{let{cache:p,compare:f,suspense:m,fallbackData:g,revalidateOnMount:v,revalidateIfStale:y,refreshInterval:b,refreshWhenHidden:x,refreshWhenOffline:T,keepPreviousData:E,strictServerPrefetchWarning:C}=r,[w,k,S,I]=o.a.get(p),[P,_]=(0,o.s)(e),R=(0,n.useRef)(!1),A=(0,n.useRef)(!1),N=(0,n.useRef)(P),D=(0,n.useRef)(t),O=(0,n.useRef)(r),j=()=>O.current.isVisible()&&O.current.isOnline(),[L,M,H,F]=(0,o.c)(p,P),q=(0,n.useRef)({}).current,B=(0,o.i)(g)?(0,o.i)(r.fallback)?o.U:r.fallback[P]:g,U=r.cacheData,W=P?null==U?void 0:U[P]:o.U,V=P?I[P]:o.U,G=(0,o.i)(V)&&!(0,o.i)(W),z=G?W:V,Y=(e,t)=>
1{for(let r in q)if("data"===r){if(!f(e[r],t[r])&&(!(0,o.i)(e[r])||!f(ei,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},$=!R.current,Q=(0,n.useMemo)(()=>{let e=L(),r=F(),n=e=>{let r=(0,o.m)(e);return(delete r._k,(()=>{if(!P||!t||O.current.isPaused())return!1;if($&&!(0,o.i)(v))return v;let e=(0,o.i)(B)?r.data:B;return!(m&&G&&(0,o.i)(e))&&((0,o.i)(e)||y)})())?{isValidating:!0,isLoading:!0,...r}:r},a=n(e),i=e===r?a:n(r),s=a;return[()=>{let e=n(L());return Y(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>i]},[p,P]),K=(0,a.useSyncExternalStore)((0,n.useCallback)(e=>H(P,(t,r)=>{Y(r,t)||e()}),[p,P]),Q[0],Q[1]),Z=w[P]&&w[P].length>0,X=K.data,J=(0,o.i)(X)?B&&(0,o.b)(B)?s(B):B:X,ee=K.error,et=(0,n.useRef)(J),er=(0,n.useRef)(o.U),en=er.current;en||(er.current=en=new WeakMap);let ea=(0,n.useRef)(null),ei=E?(0,o.i)(X)?(0,o.i)(et.current)?J:et.current:X:J,eo=P&&(0,o.i)(J),es=(0,n.useRef)(null);o.I||(0,a.useSyncExternalStore)(h,()=>(es.current=!1,es),()=>(es.current=!0,es));let el=es.current;C&&el&&!m&&eo&&console.warn(`Missing pre-initiated data for serialized key "${P}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let ec=!(!P||!t||O.current.isPaused())&&(!Z||!!(0,o.i)(ee))&&($&&!(0,o.i)(v)?v:(!m||!G||!eo)&&(m?!(0,o.i)(J)&&y:(0,o.i)(J)||y)),eu=$&&ec,ed=(0,o.i)(K.isValidating)?eu:K.isValidating,eh=(0,o.i)(K.isLoading)?eu:K.isLoading,ep=(0,n.useCallback)(async e=>{let t,n,a=D.current;if(!P||!a||A.current||O.current.isPaused())return!1;let i=!0,s=e||{},l=!S[P]||!s.dedupe,d=G&&!c(en,U,P)&&!(0,o.i)(z)&&(0,o.i)(L().data),h=()=>o.j?!A.current&&P===N.current&&R.current:P===N.current,p={isValidating:!1,isLoading:!1},m=()=>{M(p)},g=()=>{let e=S[P];e&&e[1]===n&&delete S[P]},v={isValidating:!0};(0,o.i)(L().data)&&(v.isLoading=!0);try{if(l&&(M(v),r.loadingTimeout&&(0,o.i)(L().data)&&setTimeout(()=>{i&&h()&&O.current.onLoadingSlow(P,r)},r.loadingTimeout),d&&u(en,U,P),S[P]=[d?z:a(_),(0,o.g)()],d&&I[P]&&delete I[P]),[t,n]=S[P],t=await t,l&&setTimeout(g,r.dedupingInterval),!S[P]||S[P][1]!==n)return l&&h()&&O.current.onDiscarded(P),!1;p.error=o.U;let e=k[P];if(!(0,o.i)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return m(),l&&h()&&O.current.onDiscarded(P),!1;let s=L().data;p.data=f(s,t)?s:t,l&&h()&&O.current.onSuccess(t,P,r)}catch(r){g();let e=O.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(p.error=r,l&&h()&&(e.onError(r,P,e),(!0===t||(0,o.e)(t)&&t(r))&&(!O.current.revalidateOnFocus||!O.current.revalidateOnReconnect||j())&&e.onErrorRetry(r,P,e,e=>{let t=w[P];t&&t[0]&&t[0](o.E,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return i=!1,m(),!0},[P,p]),ef=(0,n.useCallback)((...e)=>(0,o.f)(p,N.current,...e),[]);if((0,o.u)(()=>{let e=ea.current;e&&(ea.current=null,u(en,e.cacheData,e.key),(0,o.i)(L().data)&&M({data:e.data,error:o.U,_k:e._k}),I[e.key]&&delete I[e.key])}),(0,o.u)(()=>{D.current=t,O.current=r,(0,o.i)(X)||(et.current=X)}),(0,o.u)(()=>{if(t||!G||(0,o.i)(z)||c(en,U,P)||!(0,o.i)(L().data))return;u(en,U,P);let e=k[P];
1(({value:e,getCacheData:t,canCommit:r,setCache:n})=>{let a=e=>{r()&&(0,o.i)(t())&&n(e)};Promise.resolve(e).then(e=>{a({data:e,error:o.U})},e=>{a({error:e})})})({value:z,getCacheData:()=>L().data,canCommit:()=>!A.current&&P===N.current&&k[P]===e,setCache:e=>M({...e,_k:_})})}),(0,o.u)(()=>{if(!P)return;let e=ep.bind(o.U,l),t=0;O.current.revalidateOnFocus&&(t=Date.now()+O.current.focusThrottleInterval);let r=(0,i.aw)(P,w,(r,n={})=>{if(r==o.F){let r=Date.now();O.current.revalidateOnFocus&&r>t&&j()&&(t=r+O.current.focusThrottleInterval,e())}else if(r==o.R)O.current.revalidateOnReconnect&&j()&&e();else if(r==o.M)return ep();else if(r==o.E)return ep(n);else if(r==o.h&&(et.current=o.U,n.revalidate))return ep()});return A.current=!1,N.current=P,R.current=!0,M({_k:_}),ec&&!S[P]&&((0,o.i)(J)||o.I?e():(0,o.r)(e)),()=>{A.current=!0,r()}},[P]),(0,o.u)(()=>{let e;function t(){let t=(0,o.e)(b)?b(L().data):b;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!L().error&&(x||O.current.isVisible())&&(T||O.current.isOnline())?ep(l).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[b,x,T,P]),(0,n.useDebugValue)(ei),m){if(!o.j&&o.I&&eo&&(0,o.i)(z))throw Error("Fallback data is required when using Suspense in SSR.");eo&&(D.current=t,O.current=r,A.current=!1);let e=!(0,o.i)(z)&&eo,n=o.U;if(e&&G?(J=n=z&&(0,o.b)(z)?s(z):z,ei=n,o.I||(ea.current={data:n,_k:_,key:P,cacheData:U})):s(e?ef(z):d),!(0,o.i)(ee)&&eo)throw ee;let a=eo&&(0,o.i)(n)?ep(l):d;!(0,o.i)(ei)&&eo&&(a.status="fulfilled",a.value=!0),s(a)}return{mutate:ef,get data(){return q.data=!0,ei},get error(){return q.error=!0,ee},get isValidating(){return q.isValidating=!0,ed},get isLoading(){return q.isLoading=!0,eh}}})},69497:e=>{"use strict";e.exports=SyntaxError},70140:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},70606:(e,t,r)=>{"use strict";r.d(t,{M:()=>m});var n=r(6029),a=r(75155),i=r(94534),o=r(32988),s=r.n(o);let l=e=>{let t,r,i,o,l,c,u,d=(0,a.c)(25),{children:h,className:p,narrow:f,gridCols:m,xPadding:g,yPadding:v,debug:y,bgImage:b,testId:x}=e,T=void 0!==f&&f,E=void 0!==m&&m,C=void 0===v?"main":v,w=void 0!==y&&y,k="normal"===(void 0===g?"normal":g),S="main"===C,I="normal"===C;d[0]!==p||d[1]!==k||d[2]!==S||d[3]!==I?(t=s()("relative",{"px-4 sm:px-6":k,"py-6 md:py-10":S,"py-6 md:py-8":I},p),d[0]=p,d[1]=k,d[2]=S,d[3]=I,d[4]=t):t=d[4];let P=t;d[5]===Symbol.for("react.memo_cache_sentinel")?(r=s()("absolute inset-0","h-full w-full max-w-[1920px]","ml-auto mr-auto","bg-cover bg-center bg-no-repeat"),d[5]=r):r=d[5];let _=r,R=!T,A=!E;d[6]!==w||d[7]!==E||d[8]!==T||d[9]!==R||d[10]!==A?(i=s()("mx-auto","grid gap-x-4 gap-y-6 md:gap-x-6 md:gap-y-8","relative",{"max-w-4xl":T,"max-w-7xl":R,"grid-cols-8 md:grid-cols-12":E,"grid-cols-1":A,"h-full":w}),d[6]=w,d[7]=E,d[8]=T,d[9]=R,d[10]=A,d[11]=i):i=d[11];let N=i;d[12]!==b?(o=b?{backgroundImage:'url("'.concat(b,'")')}:{},d[12]=b,d[13]=o):o=d[13];let D=o,O=x||"ContentContainer";return d[14]!==D||d[15]!==b?(l=b&&(0,n.jsx)("div",{className:_,style:D}),d[14]=D,d[15]=b,d[16]=l):l=d[16],d[17]!==h||d[18]!==N?(c=(0,n.jsx)("div",{className:N,children:h}),d[17]=h,d[18]=N,d[19]=c):c=d[19],d[20]!==P||d[21]!==O||d[22]!==l||d[23]!==c?(u=(0,n.jsxs)("div",{className:P,"data-testid":O,children:[l,c]}),d[20]=P,d[21]=O,d[22]=l,d[23]=c,d[24]=u):u=d[24],u};var c=r(41834),u=r(81278),d=r(28563);let h=e=>{let t,r,i=(0,a.c)(4),{items:o}=e;return i[0]!==o?(t=o.map(p),i[0]=o,i[1]=t):t=i[1],i[2]!==t?(r=(0,n.jsx)("div",{className:"w-full",children:t}),i[2]=t,i[3]=r):r=i[3],r};function p(e){return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"pb-4",children:(0,n.jsx)(d.e,{href:e.link,className:"font-semibold",children:e.label})}),(0,n.jsx)("div",{className:"pb-4",children:(0,n.jsx)(c.cGx,{})})]},e.label)}let f=e=>{let t,r,i=(0,a.c)(6),{styleClasses:o,imageSrc:s,alt:l}=e;return i[0]!==l||i[1]!==s?(t=(0,n.jsx)("img",{src:s,alt:l,className:"h-full w-full object-cover md:h-[506px] md:w-[329px]"}),i[0]=l,i[1]=s,i[2]=t):t=i[2],i[3]!==o||i[4]!==t?(r=(0,n.jsx)("div",{className:o,children:t}),i[3]=o,i[4]=t,i[5]=r):r=i[5],r},m=e=>{let t,r,o,s,d,p,m,v,y,b,x,T=(0,a.c)(32),{i18nData:E,statusCode:C}=e,w=(0,u.useRouter)();return T[0]!==C?(t={pageType:"error",statusCode:C},T[0]=C,T[1]=t):t=T[1],(0,i.CF)(t),T[2]!==E.title?(r=(0,n.jsx)(c.OUT,{className:"pb-2",children:E.title}),T[2]=E.title,T[3]=r):r=T[3],T[4]!==E||T[5]!==C?(o=(0,n.jsx)(g,{i18nData:E,statusCode:C}),T[4]=E,T[5]=C,T[6]=o):o=T[6],T[7]!==E.buttonLabel||T[8]!==w?(s=E.buttonLabel&&(0,n.jsx)(c.$nd,{variant:"secondary",className:"mb-8 cursor-pointer",onClick:()=>w.back(),children:E.buttonLabel}),T[7]=E.buttonLabel,T[8]=w,T[9]=s):s=T[9],T[10]!==E.linksTitle?(d=(0,n.jsx)(c.fV8,{className:"pb-4",children:E.linksTitle}),T[10]=E.linksTitle,T[11]=d):d=T[11],T[12]!==E.links?(p=(0,n.jsx)(h,{items:E.links}),T[12]=E.links,T[13]=p):p=T[13],T[14]!==r||T[15]!==o||T[16]!==s||T[17]!==d||T[18]!==p?(m=(0,n.jsxs)("div",{className:"w-full sm:w-1/2 sm:pr-3",children:[r,o,s,d,p]}),T[14]=r,T[15]=o,T[16]=s,T[17]=d,T[18]=p,T[19]=m):m=T[19],T[20]!==E.image||T[21]!==E.title?(v=E.image&&(0,n.jsx)(f,{styleClasses:"mt-4 hidden sm:mt-0 sm:block sm:w-1/2 sm:pl-3",imageSrc:E.image,alt:E.title}),T[20]=E.image,T[21]=E.title,T[22]=v):v=T[22],T[23]!==m||T[24]!==v?(y=(0,n.jsx)(l,{narrow:!0,children:(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row",children:[m,v]})}),T[23]=m,T[24]=v,T[25]=y):y=T[25],T[26]!==E.imageMobile||T[27]!==E.title?(b=E.imageMobile&&(0,n.jsx)(f,{styleClasses:"mt-4 -mb-6 block sm:mt-0 sm:hidden sm:w-1/2 sm:pl-4",imageSrc:E.imageMobile,alt:E.title}),T[26]=E.imageMobile,T[27]=E.title,T[28]=b):b=T[28],T[29]!==b||T[30]!==y?(x=(0,n.jsxs)("section",{children:[y,b]}),T[29]=b,T[30]=y,T[31]=x):x=T[31],x},g=e=>{let t,r=(0,a.c)(8),{statusCode:i,i18nData:o}=e,{errorText404:s,errorText500:l,description:u,description404:d}=o,h=v;if(404===i){let e,t=d||u;return r[0]!==s||r[1]!==t?(e=h(s,t),r[0]=s,r[1]=t,r[2]=e):e=r[2],e}if(i&&i>=500&&i<600){let e;
1return r[3]!==u||r[4]!==l?(e=h(l,u),r[3]=u,r[4]=l,r[5]=e):e=r[5],e}return r[6]!==u?(t=(0,n.jsx)(c.fzL,{className:"pb-4 pt-2 md:pb-6",children:u}),r[6]=u,r[7]=t):t=r[7],t};function v(e,t){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.fV8,{className:"pb-4",children:e}),(0,n.jsx)(c.fzL,{className:"pb-4 md:pb-6",children:t})]})}},70628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let n=r(14761)._(r(55729)),a=r(93522),i=[],o=[],s=!1;function l(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),i=null;function l(){if(!i){let t=new c(e,r);i={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return i.promise()}if(!s){let e=r.webpack&&1?r.webpack():r.modules;e&&o.push(t=>{for(let r of e)if(t.includes(r))return l()})}function u(e,t){let o;l(),(o=n.default.useContext(a.LoadableContext))&&Array.isArray(r.modules)&&r.modules.forEach(e=>{o(e)});let s=n.default.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:i.retry}),[]),n.default.useMemo(()=>{var t;return s.loading||s.error?n.default.createElement(r.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:i.retry}):s.loaded?n.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return u.preload=()=>l(),u.displayName="LoadableComponent",n.default.forwardRef(u)}(l,e)}function d(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return d(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{d(i).then(e,t)}),u.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let r=()=>(s=!0,t());d(o,e).then(r,r)})},window.__NEXT_PRELOADREADY=u.preloadReady;let h=u},70701:e=>{"use strict";e.exports=function(e,t){return e.filter(function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n})}},70767:(e,t,r)=>{"use strict";r.d(t,{Qn:()=>em,xI:()=>l,RC:()=>ew,z5:()=>p,B8:()=>f,ck:()=>h,q1:()=>ey,h8:()=>ex,D_:()=>eT.D,U9:()=>eb.U9,aP:()=>eb.aP,Fc:()=>eb.Fc});var n=r(6029),a=r(32988),i=r.n(a),o=r(15675),s=r.n(o);let l=e=>{let{children:t,className:r,narrow:a=!1,...o}=e;return(0,n.jsx)("div",{className:i()(s().contentContainer,{["".concat(s().narrow)]:a},r),...o,children:t})};var c=r(75155),u=r(55729),d=r.t(u,2);let h=e=>{let t,r=(0,c.c)(4),{children:a,className:i,testId:o}=e,s=void 0===o?"ListItem":o;return r[0]!==a||r[1]!==i||r[2]!==s?(t=(0,n.jsx)("li",{className:i,"data-testid":s,children:a}),r[0]=a,r[1]=i,r[2]=s,r[3]=t):t=r[3],t},p=e=>{let t,r,a,o,s,l=(0,c.c)(18),{children:d,bullet:p,compact:f,wideGap:m,smallGap:g,invertColour:v,className:y}=e,b=void 0!==p&&p,x=void 0!==f&&f,T=void 0!==m&&m,E=void 0!==g&&g,C=void 0!==v&&v,w=!x;l[0]!==y||l[1]!==x||l[2]!==w?(t=i()("flex","flex-wrap","items-center",{"leading-brand-compact":x,"leading-brand-normal":w},y),l[0]=y,l[1]=x,l[2]=w,l[3]=t):t=l[3];let k=t,S=!C;l[4]!==C||l[5]!==S?(r=i()("relative",'after:absolute after:text-2xl after:leading-6 after:content-["•"]',"last-of-type:after:content-none",{"after:text-ds-generic-fill-color-tertiary":S,"after:text-ds-actions-text-color-hover":C}),l[4]=C,l[5]=S,l[6]=r):r=l[6];let I=r;if(l[7]!==b||l[8]!==d||l[9]!==k||l[10]!==I||l[11]!==E||l[12]!==T){let e=i()("whitespace-nowrap","last-of-type:mr-0",{[I]:b,"mr-7 after:right-[-1rem]":b&&!T,"mr-9 after:right-[-1.25rem]":b&&T,"mr-4":!b&&E,"mr-6":!b&&!T&&!E,"mr-8":!b&&T&&!E}),t=u.Children.toArray(d);a=k,o=t.map(t=>{let{props:r,key:a}=t,{className:o,children:s,...l}=r;return(0,n.jsx)(h,{className:i()(e,o),...l,children:s},a)}
1),l[7]=b,l[8]=d,l[9]=k,l[10]=I,l[11]=E,l[12]=T,l[13]=a,l[14]=o}else a=l[13],o=l[14];return l[15]!==a||l[16]!==o?(s=(0,n.jsx)("ul",{className:a,children:o}),l[15]=a,l[16]=o,l[17]=s):s=l[17],s},f=e=>{let t,r,a,o,s=(0,c.c)(19),{children:l,icon:d,bullet:p,numbered:f,compact:m,short:g,squashed:v,className:y,testId:b}=e,x=void 0===d?null:d,T=void 0===b?"List":b;if(s[0]!==l||s[1]!==x){let e,r=u.Children.toArray(l);s[3]!==x?(e=e=>u.Children.toArray(e).map(e=>{var t;return(e.type===h||"li"===e.type)&&x?(0,n.jsx)(h,{testId:"iconListItem",className:"mt-1 first-of-type:mt-0",children:(0,n.jsxs)("span",{className:"relative",children:[x&&(0,n.jsx)("span",{className:"absolute left-[-1.75rem]",children:x}),null==(t=e.props)?void 0:t.children]})},e.key):e}),s[3]=x,s[4]=e):e=s[4],t=r.map(e),s[0]=l,s[1]=x,s[2]=t}else t=s[2];let E=t;if(s[5]!==p||s[6]!==y||s[7]!==m||s[8]!==x||s[9]!==f||s[10]!==g||s[11]!==v){let e=i()("list-outside",{"list-decimal pl-7":f,"list-disc pl-7":p,"list-none pl-7":x,"mt-0":v,"mt-1":g,"mt-3":!g&&!v,"leading-brand-compact":m,"leading-brand-normal":!m},y);r=f?"ol":"ul",a=i()(e,y),s[5]=p,s[6]=y,s[7]=m,s[8]=x,s[9]=f,s[10]=g,s[11]=v,s[12]=r,s[13]=a}else r=s[12],a=s[13];return s[14]!==r||s[15]!==E||s[16]!==a||s[17]!==T?(o=(0,n.jsx)(r,{className:a,"data-testid":T,children:E}),s[14]=r,s[15]=E,s[16]=a,s[17]=T,s[18]=o):o=s[18],o};var m=r(41834),g=r(40275),v=r(78191),y=r(99649),b=r(93096),x=r(60573),T=r(99490);function E(e){var t=e.helper,r=e.widgetType;e.methodName;var n=e.args,a=e.instantSearchInstance;if(1===n.length&&"object"===(0,T._)(n[0]))return[n[0]];var i=(0,x._)(n[0].split(":"),2),o=i[0],s=i[1],l=n[1],c=n[2],u=n[3]||{};if(!l||("click"===o||"conversion"===o)&&!c)return[];var d=Array.isArray(l)?l:[l];if(0===d.length)return[];var h=d[0].__queryID,p=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n<Math.ceil(e.length/t);n++)r.push(e.slice(n*t,(n+1)*t));return r}(d),f=p.map(function(e){return e.map(function(e){return e.objectID})}),m=p.map(function(e){return e.map(function(e){return e.__position})});return"view"===o?"idle"!==a.status?[]:p.map(function(e,n){var a;return{insightsMethod:"viewedObjectIDs",widgetType:r,eventType:o,payload:(0,y._)({eventName:c||"Hits Viewed",index:(null==(a=t.lastResults)?void 0:a.index)||t.state.index,objectIDs:f[n]},u),hits:e,eventModifier:s}}):"click"===o?p.map(function(e,n){var a;return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:r,eventType:o,payload:(0,y._)({eventName:c||"Hit Clicked",index:(null==(a=t.lastResults)?void 0:a.index)||t.state.index,queryID:h,objectIDs:f[n],positions:m[n]},u),hits:e,eventModifier:s}}):"conversion"===o?p.map(function(e,n){var a;return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:r,eventType:o,payload:(0,y._)({eventName:c||"Hit Converted",index:(null==(a=t.lastResults)?void 0:a.index)||t.state.index,queryID:h,objectIDs:f[n]},u),hits:e,eventModifier:s}}):[]}var C=r(12395),w=r(50311),k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},S=/[&<>"']/g,I=RegExp(S.source),P={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},_=/&(amp|quot|lt|gt|#39);/g,R=RegExp(_.source),A={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},N="<mark>",D="</mark>";function O(e){var t;return function(e){if((void 0===e?"undefined":(0,T._)(e))!=="object"||null===e||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e)&&"string"!=typeof e.value?Object.keys(e).reduce(function(t,r){return(0,b._)((0,y._)({},t),(0,v._)({},r,O(e[r])))},{}):Array.isArray(e)?e.map(O):(0,b._)((0,y._)({},e),{value:((t=e.value)&&I.test(t)?t.replace(S,function(e){return k[e]}):t).replace(RegExp(A.highlightPreTag,"g"),N).replace(RegExp(A.highlightPostTag,"g"),D)})}function j(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}var L=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.map(function(e){var t;return["https://www.algolia.com/doc/api-reference/widgets/",e.name,"/js/",void 0!==(t=e.connector)&&t?"#connector":""].join("")}).join(", ");return function(e){return[e,"See documentation: ".concat(n)].filter(
1Boolean).join("\n\n")}}({name:"hits",connector:!0}),M=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j,r=L();if(void 0===e||"function"!=typeof e)throw Error("The render function is not valid (received type ".concat(Object.prototype.toString.call(e).slice(8,-1),").\n\n").concat(r));return function(r){var n,a,i=r||{},o=i.escapeHTML,s=void 0===o||o,l=i.transformItems,c=void 0===l?function(e){return e}:l;return{$$type:"ais.hits",init:function(t){e((0,b._)((0,y._)({},this.getWidgetRenderState(t)),{instantSearchInstance:t.instantSearchInstance}),!0)},render:function(t){var r=this.getWidgetRenderState(t);e((0,b._)((0,y._)({},r),{instantSearchInstance:t.instantSearchInstance}),!1),r.sendEvent("view:internal",r.items)},getRenderState:function(e,t){return(0,b._)((0,y._)({},e),{hits:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t,i,o,l,u,d,h,p,f,m,g,v,x,T,k,S,I,P,_,R=e.results,A=e.helper,N=e.instantSearchInstance;if(n||(i=(t={instantSearchInstance:N,helper:A,widgetType:this.$$type}).instantSearchInstance,o=t.helper,l=t.widgetType,u={},d=void 0,n=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];E({widgetType:l,helper:o,methodName:"sendEvent",args:t,instantSearchInstance:i}).forEach(function(e){"click"===e.eventType&&"internal"===e.eventModifier&&u[e.eventType]||(u[e.eventType]=!0,i.sendEventToInsights(e))}),clearTimeout(d),d=setTimeout(function(){u={}},0)}),a||(p=(h={helper:A,widgetType:this.$$type,instantSearchInstance:N}).helper,f=h.widgetType,m=h.instantSearchInstance,a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=E({widgetType:f,helper:p,methodName:"bindEvent",args:t,instantSearchInstance:m});return n.length?"data-insights-event=".concat(btoa(encodeURIComponent(JSON.stringify(n)))):""}),!R)return{hits:[],items:[],results:void 0,banner:void 0,sendEvent:n,bindEvent:a,widgetParams:r};s&&R.hits.length>0&&(void 0===(g=R.hits).__escaped&&((g=g.map(function(e){(0,w._)(e);var t=(0,C._)({},e);return t._highlightResult&&(t._highlightResult=O(t._highlightResult)),t._snippetResult&&(t._snippetResult=O(t._snippetResult)),t})).__escaped=!0),R.hits=g);var D=c((v=R.hits,x=R.page,T=R.hitsPerPage,k=v.map(function(e,t){return(0,b._)((0,y._)({},e),{__position:T*x+t+1})}),(S=R.queryID)?k.map(function(e){return(0,b._)((0,y._)({},e),{__queryID:S})}):k),{results:R}),j=null==(_=R.renderingContent)||null==(P=_.widgets)||null==(I=P.banners)?void 0:I[0];return{hits:D,items:D,results:R,banner:j,sendEvent:n,bindEvent:a,widgetParams:r}},dispose:function(e){var r=e.state;return(t(),s)?r.setQueryParameters(Object.keys(A).reduce(function(e,t){return(0,b._)((0,y._)({},e),(0,v._)({},t,void 0))},{})):r},getWidgetSearchParameters:function(e,t){return s?e.setQueryParameters(A):e}}}},H=r(92424),F=r(95661),q=Object.prototype.hasOwnProperty;function B(e,t,r){var n,a;if((null==r?void 0:r(e,t))||e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((a=e.length)===t.length)for(;a--&&B(e[a],t[a],r););return -1===a}if(!n||(void 0===e?"undefined":(0,T._)(e))==="object"){for(n in a=0,e)if(q.call(e,n)&&++a&&!q.call(t,n)||!(n in t)||!B(e[n],t[n],r))return!1;return Object.keys(t).length===a}}return e!=e&&t!=t}var U=r(83999);function W(e){var t,r,n;return new U.SearchResults(e,[{query:null!=(t=e.query)?t:"",page:null!=(r=e.page)?r:0,hitsPerPage:null!=(n=e.hitsPerPage)?n:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}var V=(0,u.createContext)(null);function G(e,t){if(!e)throw Error("Invariant failed")}var z=(0,u.createContext)(null);function Y(){var e=(0,u.useContext)(z);return G(null!==e),e}var $=(0,u.createContext)(null),Q=(0,u.createContext)(null);function K(e){var t=(0,x._)((0,u.useState)(function(){return e}),2),r=t[0],n=t[1];return B(r,e)||n(e),r}var Z=d.use,X="u">typeof window?u.useLayoutEffect:u.useEffect,J=(0,u.createContext)({countRef:{current:0},waitForResultsRef:null,ignoreMultipleHooksWarning:!1});function ee(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){return Array.isArray(t)?e.concat(t):e.concat([t])}
1,[]).filter(Boolean).join(" ")}var et=function(e){var t=e.createElement,r=e.Fragment,n=function(e){var r=e.classNames,n=e.children,a=e.highlightedTagName,i=e.isHighlighted,o=e.nonHighlightedTagName;return t(i?a:o,{className:i?r.highlighted:r.nonHighlighted},n)};return function(e){var a=e.parts,i=e.highlightedTagName,o=void 0===i?"mark":i,s=e.nonHighlightedTagName,l=void 0===s?"span":s,c=e.separator,u=void 0===c?", ":c,d=e.className,h=e.classNames,p=void 0===h?{}:h,f=(0,H._)(e,["parts","highlightedTagName","nonHighlightedTagName","separator","className","classNames"]);return t("span",(0,b._)((0,y._)({},f),{className:ee(p.root,d)}),a.map(function(e,i){var s=i===a.length-1;return t(r,{key:i},e.map(function(e,r){return t(n,{key:r,classNames:p,highlightedTagName:o,nonHighlightedTagName:l,isHighlighted:e.isHighlighted},e.value)}),!s&&t("span",{className:p.separator},u))}))}}({createElement:u.createElement,Fragment:u.Fragment});function er(e){var t=e.classNames,r=void 0===t?{}:t,n=(0,H._)(e,["classNames"]);return u.createElement(et,(0,y._)({classNames:{root:ee("ais-Highlight",r.root),highlighted:ee("ais-Highlight-highlighted",r.highlighted),nonHighlighted:ee("ais-Highlight-nonHighlighted",r.nonHighlighted),separator:ee("ais-Highlight-separator",r.separator)}},n))}function en(e){var t,r=e.hit,n=e.attribute,a=e.highlightedTagName,i=e.nonHighlightedTagName,o=e.separator,s=(0,H._)(e,["hit","attribute","highlightedTagName","nonHighlightedTagName","separator"]),l=(t=r._highlightResult,(Array.isArray(n)?n:n.split(".")).reduce(function(e,t){return e&&e[t]},t)||[]),c=(Array.isArray(l)?l:[l]).map(function(e){var t,r,n,a;return a=(n=(r=((t=e.value||"")&&R.test(t)?t.replace(_,function(e){return P[e]}):t).split(N)).shift())?[{value:n,isHighlighted:!1}]:[],r.forEach(function(e){var t=e.split(D);a.push({value:t[0],isHighlighted:!0}),""!==t[1]&&a.push({value:t[1],isHighlighted:!1})}),a});return u.createElement(er,(0,b._)((0,y._)({},s),{parts:c,highlightedTagName:a,nonHighlightedTagName:i,separator:o}))}let ea=e=>{let t,r,a=(0,c.c)(10),{title:i,noResultsLabel:o,linkLabel:s,handleQuerySelect:l,query:d}=e;a[0]===Symbol.for("react.memo_cache_sentinel")?(t={escapeHTML:!0},a[0]=t):t=a[0];let{results:h}=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=(0,F._)([r,n]),i=a[0],o=a.slice(1),s=(0,x._)(o,1)[0],l=void 0===s?{}:s,c=l.skipSuspense,d=(0,H._)(l,["skipSuspense"]),h=(0,u.useContext)($),p=(0,u.useContext)(Q),f=Y(),m=(G(null!==(t=(0,u.useContext)(V))),t),g=K(void 0===i?{}:i),v=K(d),T=(0,u.useRef)(!0),E=(0,u.useRef)(null),C=(0,u.useRef)(f.status),w=(0,u.useMemo)(function(){var t=e(function(e,t){if(t){T.current=!0;return}if(T.current){var r=e.instantSearchInstance;e.widgetParams;var n=(0,H._)(e,["instantSearchInstance","widgetParams"]);B(n,E.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&r.status===C.current||(I(n),E.current=n,C.current=r.status)}},function(){T.current=!1});return(0,y._)({},t(g),v)},[e,g,v]),k=(0,x._)((0,u.useState)(function(){if(w.getWidgetRenderState){var e,t,r,n,a=m.getHelper(),i=m.getWidgetUiState({})[m.getIndexId()];a.state=(null==(n=w.getWidgetSearchParameters)?void 0:n.call(w,a.state,{uiState:i}))||a.state;var o=(e=m.getHelper(),t=m.getResults()||W(e.state),r=m.getScopedResults().map(function(e){var r=e.indexId===m.getIndexId()?t:W(e.helper.state);return(0,b._)((0,y._)({},e),{results:e.results||r})}),{results:t,scopedResults:r,recommendResults:e.lastRecommendResults}),s=o.results,l=o.scopedResults,c=o.recommendResults,u=w.getWidgetRenderState({helper:a,parent:m,instantSearchInstance:f,results:"recommend"===w.dependsOn&&c&&p?c[p.recommendIdx.current++]:s,scopedResults:l,state:a.state,renderState:f.renderState,templatesConfig:f.templatesConfig,createURL:m.createURL,searchMetadata:{isSearchStalled:"stalled"===f.status},status:f.status,error:f.error});return u.widgetParams,(0,H._)(u,["widgetParams"])}return{}}),2),S=k[0],I=k[1];return!function(e){var t,r,n,a=e.widget,i=e.parentIndex,o=e.props,s=e.shouldSsr,l=e.skipSuspense,c=(0,u.useContext)(J),d=c.waitForResultsRef,h=c.countRef;c.ignoreMultipleHooksWarning;var p=(0,u.useRef)(o);(0,u.useEffect)(function(){p.current=o},[o]);var f=(0,u.useRef)(a);(0,u.useEffect)(function(){f.current=a},[a]);var m=(0,u.useRef)(null),g=s&&!i.getWidgets().includes(a),v=Y();X(function(){var e=f.current;return m.current?(clearTimeout(m.current),B(o,p.current)||(i.removeWidgets([e]),i.addWidgets([a]))):s||i.addWidgets([a]),function(){m.current=setTimeout(function(){v._schedule(function(){v._preventWidgetCleanup||i.removeWidgets([e])})})}},[i,a,s,v,o]),(g||(null==d||null==(t=d.current)?void 0:t.status)==="pending")&&i.addWidgets([a]),(null==d?void 0:d.current)&&!l&&(Z(d.current),"ais.dynamicWidgets"!==a.$$type&&"ais.feeds"!==a.$$type&&(null==(n=v.helper)?void 0:n.lastResults)&&Z(d.current)),(null==d||null==(r=d.current)?void 0:r.status)==="fulfilled"&&(h.current+=1)}({widget:w,parentIndex:m,props:g,shouldSsr:!!h,skipSuspense:void 0!==c&&c}),S}(M,t,void 0);if(a[1]!==l||a[2]!==s||a[3]!==o||a[4]!==d||a[5]!==h||a[6]!==i){let e,t=h?null==h?void 0:h.hits.filter(ei).slice(0,3):[];a[8]!==i?(e=(0,n.jsx)(m.f_e,{className:"pb-3",children:i}),a[8]=i,a[9]=e):e=a[9],r=(0,n.jsxs)("div",{children:[(0,n.jsxs)("ul",{children:[e,0===t.length?(0,n.jsx)(m.fzL,{className:"py-2",children:o}):t.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:e.slug,className:"group grid gap-1",onClick:()=>l,children:(0,n.jsxs)(m.fzL,{className:"flex grow items-center gap-4 py-2",children:[(0,n.jsx)(m.frS,{className:"text-ds-generic-fill-color-secondary"}),(0,n.jsx)(en,{hit:e,attribute:"header",classNames:{highlighted:"font-bold bg-transparent"}})]})})},e.objectID))]}),t.length>0&&(0,n.jsxs)("ul",{className:"mt-4 flex flex-col gap-4",children:[t.map(eo),(0,n.jsxs)(m.N_E,{onClick:()=>l(d),children:["".concat(s," '").concat(d,"'"),(0,n.jsx)(m.vKP,{size:"md"})]})]})]}),a[1]=l,a[2]=s,a[3]=o,a[4]=d,a[5]=h,a[6]=i,a[7]=r}else r=a[7];return r};function ei(e){return e.header}function eo(e){var t;return(0,n.jsxs)(m.ZpM,{orientation:"horizontal",link:{href:e.slug},className:"h-[92px]",children:[(0,n.jsx)(m.VoS,{image:{srcSet:{default:e.imageThumbnail||(null==(t=e.images)?void 0:t.desktop)||""},alt:e.header}}),(0,n.jsx)(m.ZBx,{children:e.header||""}),(0,n.jsx)(m.bwi,{children:(0,n.jsx)(en,{hit:e,attribute:"text",classNames:{root:"line-clamp-1",highlighted:"font-bold bg-transparent"}})})]},e.objectID)}let es=e=>{let t,r,a,i,o,s=(0,c.c)(11),{postcode:l,onClick:u}=e;if(s[0]!==l){let e;s[2]===Symbol.for("react.memo_cache_sentinel")?(e=/\s/g,s[2]=e):e=s[2],t=l.replace(e,""),s[0]=l,s[1]=t}else t=s[1];let d=t,h="/lottery-results-search?postcode=".concat(d);return s[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.jsx)(m.f_e,{className:"pb-3",children:"Search for wins at this postcode"}),s[3]=r):r=s[3],s[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.jsx)(m.frS,{className:"text-ds-generic-fill-color-secondary"}),s[4]=a):a=s[4],s[5]!==l?(i=(0,n.jsxs)(m.fzL,{className:"flex items-center gap-4 py-2",children:[a,"Search for wins at ",l]}),s[5]=l,s[6]=i):i=s[6],s[7]!==u||s[8]!==h||s[9]!==i?(o=(0,n.jsxs)("div",{children:[r,(0,n.jsx)("a",{href:h,onClick:u,"data-testid":"postcode-search-result",children:i})]}),s[7]=u,s[8]=h,s[9]=i,s[10]=o):o=s[10],o},el=e=>{switch(e){case"de-DE":return{search:"Suchen",customerService:"Kundenservice",customerServiceLink:"/kundenservice",counter:e=>"".concat(e," ergebnisse f\xfcr"),recent:"Letzte Suchanfragen",nothingFound:"Leider gibt es keine Ergebnisse f\xfcr",nothingFoundSubtitle:"Bitte versuchen Sie es erneut mit einem anderen Schl\xfcsselwort oder \xfcberpr\xfcfen Sie die Schreibweise.",popular:"Beliebte Suchanfragen",clearSearch:"Suche l\xf6schen",closeSearch:"Suche schlie\xdfen",searchAgain:"Erneut suchen nach:",removeSearch:"Suche entfernen",emptySearch:"Bitte geben Sie einen Suchbegriff ein."};case"nl-NL":return{search:"Zoeken",customerService:"Klantenservice",counter:e=>"".concat(e," resultaten voor"),recent:"Recente zoekopdrachten",nothingFound:"Helaas zijn er geen resultaten voor",nothingFoundSubtitle:"Probeer het opnieuw met een ander trefwoord of controleer of de spelling correct is.",popular:"Populaire zoekopdrachten",clearSearch:"Zoekveld leegmaken",closeSearch:"Zoeken sluiten",searchAgain:"Zoek opnieuw naar:",removeSearch:"Verwijder zoekopdracht",emptySearch:"Voer een zoekterm in.",vlSearchLabel:"Vind uw volgende uitje",vlSearchPlaceholder:"Zoek op uitje of locatie",autoCompleteTitle:"Zoeksuggesties",autoCompleteEmpty:"Geen resultaten gevonden",autoCompleteLink:"Toon alle uitjes met"};case"sv-SE":return{search:"Vad s\xf6ker du?",customerService:"Kundservice",counter:e=>"".concat(e," resultat f\xf6r "),recent:"Tidigare s\xf6kningar",nothingFound:"Tyv\xe4rr finns inga resultat f\xf6r",nothingFoundSubtitle:"F\xf6rs\xf6k igen med ett annat s\xf6kord eller kontrollera stavningen.",popular:"Popul\xe4ra s\xf6kningar",clearSearch:"Rensa s\xf6kning",closeSearch:"St\xe4ng s\xf6kning",searchAgain:"S\xf6k igen efter:",removeSearch:"Ta bort s\xf6kning",emptySearch:"Ange ett s\xf6kord."};default:return{search:"What are you looking for?",customerService:"Customer service",counter:e=>"".concat(e," results for"),recent:"Previous searches",nothingFound:"We’re sorry, there are no results for",nothingFoundSubtitle:"Please try again with a different keyword or check if the spelling is correct.",popular:"Popular searches",clearSearch:"
1Clear search",closeSearch:"Close search",searchAgain:"Search again for:",removeSearch:"Remove search",emptySearch:"Please enter a search term."}}},ec=e=>{let t,r,a,i=(0,c.c)(8),{handleDelete:o,locale:s,children:l}=e;i[0]!==s?(t=el(s),i[0]=s,i[1]=t):t=i[1];let u=t;return i[2]!==u||i[3]!==o?(r=o&&(0,n.jsxs)("button",{type:"button",onClick:o,className:"-mr-2 p-2",children:[(0,n.jsx)(m.$Xg,{className:"text-ds-generic-fill-color-secondary"}),(0,n.jsx)("span",{className:"sr-only",children:u.removeSearch})]}),i[2]=u,i[3]=o,i[4]=r):r=i[4],i[5]!==l||i[6]!==r?(a=(0,n.jsxs)("li",{className:"flex justify-between",children:[l,r]}),i[5]=l,i[6]=r,i[7]=a):a=i[7],a},eu=e=>{let t,r,a,i,o,s,l,u,d,h,p,f,g,v,y,b=(0,c.c)(35);b[0]!==e?({active:t,onClearSearch:a,onCloseSearch:i,showError:s,config:r,...o}=e,b[0]=e,b[1]=t,b[2]=r,b[3]=a,b[4]=i,b[5]=o,b[6]=s):(t=b[1],r=b[2],a=b[3],i=b[4],o=b[5],s=b[6]);let x=void 0!==s&&s,{locale:T}=r;b[7]!==T?(l=el(T),b[7]=T,b[8]=l):l=b[8];let E=l;b[9]!==a||b[10]!==E.clearSearch?(u=e=>(0,n.jsxs)("button",{className:"pointer-events-auto flex content-center",onClick:a,type:"button",children:[(0,n.jsx)(m.$Xg,{...e}),(0,n.jsx)("span",{className:"sr-only",children:E.clearSearch})]}),b[9]=a,b[10]=E.clearSearch,b[11]=u):u=b[11];let C=u;b[12]!==i||b[13]!==E.closeSearch?(d=e=>(0,n.jsxs)("button",{className:"pointer-events-auto flex content-center",onClick:i,type:"button",children:[(0,n.jsx)(m.YJP,{...e}),(0,n.jsx)("span",{className:"sr-only",children:E.closeSearch})]}),b[12]=i,b[13]=E.closeSearch,b[14]=d):d=b[14];let w=d;b[15]!==E.search?(h=e=>(0,n.jsxs)("button",{className:"pointer-events-auto flex content-center",type:"submit",children:[(0,n.jsx)(m.frS,{...e}),(0,n.jsx)("span",{className:"sr-only",children:E.search})]}),b[15]=E.search,b[16]=h):h=b[16];let k=h;b[17]!==w||b[18]!==k||b[19]!==t||b[20]!==i?(p=()=>t&&i?w:t?k:m.frS,b[17]=w,b[18]=k,b[19]=t,b[20]=i,b[21]=p):p=b[21];let S=p,I=E.vlSearchLabel||E.search;b[22]!==S?(f=S(),b[22]=S,b[23]=f):f=b[23];let P=t?C:void 0;return b[24]!==o||b[25]!==I||b[26]!==f||b[27]!==P?(g=(0,n.jsx)(m.ksK,{id:"searchInput",placeholder:I,preSlot:f,postSlot:P,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",...o}),b[24]=o,b[25]=I,b[26]=f,b[27]=P,b[28]=g):g=b[28],b[29]!==E.emptySearch||b[30]!==x?(v=x&&(0,n.jsx)("div",{className:"pt-2 md:pt-4",children:(0,n.jsx)("span",{className:"text-ds-body",children:E.emptySearch})}),b[29]=E.emptySearch,b[30]=x,b[31]=v):v=b[31],b[32]!==g||b[33]!==v?(y=(0,n.jsxs)(n.Fragment,{children:[g,v]}),b[32]=g,b[33]=v,b[34]=y):y=b[34],y},ed=(e,t)=>{if(!e)return e;switch(t){case"nl-NL":return e.replace(/\s/g,"").toUpperCase();case"en-GB":return e.toUpperCase().replace(/^([A-Z]{1,2}\d[A-Z\d]?)(\s?)(\d[A-Z]{2})$/,"$1 $3");default:return e.replace(/\s/g,"")}},eh=(e,t)=>{let r=ed(e,t);switch(t){case"nl-NL":return/^\d{4}[A-Z]{2}$/i.test(r);case"de-DE":return/^\d{5}$/i.test(r);case"en-GB":return/^([A-Z]{1,2}\d[A-Z\d]? ?)(\d[A-Z]{2})$/i.test(r);case"en-CA":return/^[ABCEGHJ-NPRSTVXY]\d[ABCEGHJ-NPRSTV-Z] ?\d[ABCEGHJ-NPRSTV-Z]\d$/i.test(r);default:return/^\d$/i.test(r)}},ep=e=>{var t;return JSON.parse((null==(t=window)?void 0:t.sessionStorage.getItem(e))||"[]")},ef=(e,t)=>{var r;null==(r=window)||r.sessionStorage.setItem(e,JSON.stringify(t))},em=e=>{let t,r,a,o,s,l,d,h,p,f,v,y,b,x,T,E,C,w,k,S,I,P,_,R,A=(0,c.c)(74);A[0]!==e?({showCustomerServiceButton:h,showAdditionalContent:p,setShowAdditionalContent:d,isCustomerServiceNav:a,onClose:o,className:t,refineSearch:s,config:r,...l}=e,A[0]=e,A[1]=t,A[2]=r,A[3]=a,A[4]=o,A[5]=s,A[6]=l,A[7]=d,A[8]=h,A[9]=p):(t=A[1],r=A[2],a=A[3],o=A[4],s=A[5],l=A[6],d=A[7],h=A[8],p=A[9]);let N=void 0!==h&&h,D=void 0===p||p,{locale:O,popularPages:j,searchResultsLink:L,lottery:M}=r;A[10]!==O?(f=el(O),A[10]=O,A[11]=f):f=A[11];let H=f,[F,q]=(0,u.useState)(""),[B,U]=(0,u.useState)(!1),[W,V,G]=(()=>{let e,t,r,n,a,i,o=(0,c.c)(14),s="recent-searches";o[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],o[0]=e):e=o[0];let[l,d]=(0,u.useState)(e);o[1]!==s?(t=()=>{d(ep(s))},r=[s],o[1]=s,o[2]=t,o[3]=r):(t=o[2],r=o[3]),(0,u.useEffect)(t,r),3!==o[4]||o[5]!==s?(n=e=>{let t=e.toLowerCase(),r=[t,...ep(s).filter(e=>e!==t)].slice(0,3);ef(s,r)},o[4]=3,o[5]=s,o[6]=n):n=o[6];let h=n;o[7]!==s||o[8]!==l?(a=e=>{let t=e.toLowerCase(),r=l.filter(e=>e!==t);ef(s,r),d(r)},o[7]=s,o[8]=l,o[9]=a):a=o[9];let p=a;
1return o[10]!==h||o[11]!==p||o[12]!==l?(i=[l,h,p],o[10]=h,o[11]=p,o[12]=l,o[13]=i):i=o[13],i})();A[12]!==O||A[13]!==M?(v=e=>"ppl"===M&&"en-GB"===O&&eh(e,"en-GB"),A[12]=O,A[13]=M,A[14]=v):v=A[14];let z=v;A[15]!==V||A[16]!==a||A[17]!==z||A[18]!==(null==L?void 0:L.href)?(y=e=>{var t;if(0===e.length)return void U(!0);if(U(!1),z(e)){let t=ed(e,"en-GB");V(t),window.location.href="/lottery-results-search?postcode=".concat(t.replace(/\s/g,""));return}q(e),V(e);let r=a?{topic:"faq-story"}:{},n=new URL((null!=(t=null==L?void 0:L.href)?t:"").replace(/\/$/,""),window.location.href),i={query:e};(null==r?void 0:r.topic)&&(i.topic=r.topic),Object.entries(i).forEach(e=>{let[t,r]=e;n.searchParams.set(t,r)}),window.location.href=n.toString()},A[15]=V,A[16]=a,A[17]=z,A[18]=null==L?void 0:L.href,A[19]=y):y=A[19];let Y=y;A[20]!==o||A[21]!==d?(b=e=>(q(""),U(!1),d)?d(!1):o?o(e):void 0,A[20]=o,A[21]=d,A[22]=b):b=A[22];let $=b;A[23]!==d?(x=d&&{onClick:()=>d(!0),onInput:()=>d(!0)},A[23]=d,A[24]=x):x=A[24];let Q=x,K=j&&j.length>0,Z=W.length>0;return A[25]!==t?(T=i()("grid gap-6",t),A[25]=t,A[26]=T):T=A[26],A[27]!==Y||A[28]!==F?(E=e=>{e.preventDefault(),Y(F)},A[27]=Y,A[28]=F,A[29]=E):E=A[29],A[30]!==s?(C=e=>{q(e),null==s||s(e)},A[30]=s,A[31]=C):C=A[31],A[32]!==s?(w=()=>{q(""),null==s||s("")},A[32]=s,A[33]=w):w=A[33],A[34]!==r||A[35]!==Q||A[36]!==$||A[37]!==F||A[38]!==D||A[39]!==B||A[40]!==C||A[41]!==w?(k=(0,n.jsx)(eu,{value:F,onValueChange:C,active:D,onClearSearch:w,onCloseSearch:$,...Q,showError:B,config:r}),A[34]=r,A[35]=Q,A[36]=$,A[37]=F,A[38]=D,A[39]=B,A[40]=C,A[41]=w,A[42]=k):k=A[42],A[43]!==k||A[44]!==E?(S=(0,n.jsx)("form",{onSubmit:E,children:k}),A[43]=k,A[44]=E,A[45]=S):S=A[45],A[46]!==H||A[47]!==N?(I=N&&H.customerServiceLink&&(0,n.jsxs)("a",{href:H.customerServiceLink,className:"inline-flex h-12 items-center justify-start gap-4 bg-white",children:[(0,n.jsx)(g.ah,{icon:m.w58}),(0,n.jsx)("div",{className:"flex h-12 shrink grow basis-0 items-center justify-between py-3.5",children:(0,n.jsx)(m.fzL,{children:H.customerService})})]}),A[46]=H,A[47]=N,A[48]=I):I=A[48],A[49]!==V||A[50]!==z||A[51]!==F||A[52]!==s?(P=F.length>0&&z(F)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(es,{postcode:ed(F,"en-GB"),onClick:()=>V(ed(F,"en-GB"))}),s&&(0,n.jsx)(m.cGx,{className:"my-4"})]}),A[49]=V,A[50]=z,A[51]=F,A[52]=s,A[53]=P):P=A[53],A[54]!==Y||A[55]!==a||A[56]!==O||A[57]!==j||A[58]!==F||A[59]!==s||A[60]!==G||A[61]!==H||A[62]!==D||A[63]!==K||A[64]!==Z||A[65]!==W?(_=s&&F.length>0?(0,n.jsx)(ea,{title:H.autoCompleteTitle||"Suggestions",noResultsLabel:H.autoCompleteEmpty||"No results found",linkLabel:H.autoCompleteLink||"Show all results with",handleQuerySelect:Y,query:F}):D&&(0,n.jsxs)(n.Fragment,{children:[K&&!a&&(0,n.jsx)(eg,{popularPagesTitle:H.popular,popularPages:j,locale:O}),K&&Z&&!a&&(0,n.jsx)(m.cGx,{}),Z&&(0,n.jsx)(ev,{recentSearchesTitle:H.recent,storedQueries:W,removeValue:G,handleQuerySelect:Y,locale:O})]}),A[54]=Y,A[55]=a,A[56]=O,A[57]=j,A[58]=F,A[59]=s,A[60]=G,A[61]=H,A[62]=D,A[63]=K,A[64]=Z,A[65]=W,A[66]=_):_=A[66],A[67]!==l||A[68]!==S||A[69]!==I||A[70]!==P||A[71]!==_||A[72]!==T?(R=(0,n.jsxs)("div",{className:T,...l,children:[S,I,P,_]}),A[67]=l,A[68]=S,A[69]=I,A[70]=P,A[71]=_,A[72]=T,A[73]=R):R=A[73],R},eg=e=>{let t,r,a,i,o=(0,c.c)(12),{popularPagesTitle:s,popularPages:l,locale:u}=e;if(o[0]!==s?(t=(0,n.jsx)(m.f_e,{className:"pb-3",children:s}),o[0]=s,o[1]=t):t=o[1],o[2]!==u||o[3]!==l){let e;o[5]!==u?(e=(e,t)=>{var r,a;return(0,n.jsx)(ec,{locale:u,children:(0,n.jsxs)("a",{href:(null==(r=e.link)?void 0:r.url)||(null==(a=e.link)?void 0:a.cached_url)||"",className:"flex grow items-center gap-4 py-2",children:[(0,n.jsx)("div",{children:(0,n.jsx)(m.frS,{className:"text-ds-generic-fill-color-secondary"})}),e.label]})},"".concat(e.label,"-").concat(t))},o[5]=u,o[6]=e):e=o[6],r=l.map(e),o[2]=u,o[3]=l,o[4]=r}else r=o[4];return o[7]!==r?(a=(0,n.jsx)("ul",{children:r}),o[7]=r,o[8]=a):a=o[8],o[9]!==t||o[10]!==a?(i=(0,n.jsxs)("div",{children:[t,a]}),o[9]=t,o[10]=a,o[11]=i):i=o[11],i},ev=e=>{let t,r,a,i,o,s=(0,c.c)(20),{recentSearchesTitle:l,storedQueries:u,removeValue:d,handleQuerySelect:h,locale:p}=e;s[0]!==p?(t=e=>eh(e,p)?ed(e,p):e,s[0]=p,s[1]=t):t=s[1];let f=t;if(s[2]!==l?(r=(0,n.jsx)(m.f_e,{className:"pb-3",children:l}),s[2]=l,s[3]=r):r=s[3],s[4]!==f||s[5]!==h||s[6]!==p||s[7]!==d||s[8]!==u){let e;s[10]!==f||s[11]!==h||s[12]!==p||s[13]!==d?(e=e=>(0,n.jsx)(ec,{handleDelete:()=>d(e),locale:p,children:(0,n.jsxs)("button",{type:"button",onClick:()=>h(e),className:"flex grow items-center gap-4 py-2",children:[(0,n.jsx)("div",{children:(0,n.jsx)(m.O4,{className:"text-ds-generic-fill-color-secondary"})}),f(e)]})},e),s[10]=f,s[11]=h,s[12]=p,s[13]=d,s[14]=e):e=s[14],a=u.map(e),s[4]=f,s[5]=h,s[6]=p,s[7]=d,s[8]=u,s[9]=a}else a=s[9];return s[15]!==a?(i=(0,n.jsx)("ul",{children:a}),s[15]=a,s[16]=i):i=s[16],s[17]!==r||s[18]!==i?(o=(0,n.jsxs)("div",{children:[r,i]}),s[17]=r,s[18]=i,s[19]=o):o=s[19],o},ey=e=>{let t,r,a=(0,c.c)(5),{text:i,focusTo:o}=e;return a[0]!==o.current?(t=()=>{var e;null==(e=o.current)||e.focus()},a[0]=o.current,a[1]=t):t=a[1],a[2]!==t||a[3]!==i?(r=(0,n.jsx)("button",{onClick:t,className:"ds-strong-text sr-only absolute left-0 top-0 z-ds-popup-nav bg-ds-generic-fill-color-icon-positive-hover p-2 text-left text-ds-actions-text-color-inverted focus:not-sr-only focu
1s:block focus:h-6 focus:w-full focus:pl-5 focus:underline",children:i}),a[2]=t,a[3]=i,a[4]=r):r=a[4],r};var eb=r(40846);let ex=e=>"de-DE"===e?{title:"Kundenservice",url:"https://faq.postcode-lotterie.de"}:{title:"Klantenservice",url:"https://faq.postcodeloterij.nl"};var eT=r(2299);let eE={none:"",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-7 w-7",xxl:"h-8 w-8"},eC=e=>{let t,r,a,o,s=(0,c.c)(16),{size:l,viewBox:d,children:h,className:p,alt:f,testId:m}=e,g=void 0===d?"0 0 128 128":d,v=void 0===m?"SvgIconWrapper":m,y=(0,u.useId)(),b=eE[void 0===l?"md":l];s[0]!==p||s[1]!==b?(t=i()(b,p),s[0]=p,s[1]=b,s[2]=t):t=s[2];let x=t;return s[3]!==f||s[4]!==y?(r=f?{"aria-labelledby":y}:{},s[3]=f,s[4]=y,s[5]=r):r=s[5],s[6]!==f||s[7]!==y?(a=f&&(0,n.jsx)("title",{id:y,children:f}),s[6]=f,s[7]=y,s[8]=a):a=s[8],s[9]!==h||s[10]!==x||s[11]!==r||s[12]!==a||s[13]!==v||s[14]!==g?(o=(0,n.jsxs)("svg",{className:x,viewBox:g,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img",...r,"data-testid":v,children:[a,h]}),s[9]=h,s[10]=x,s[11]=r,s[12]=a,s[13]=v,s[14]=g,s[15]=o):o=s[15],o},ew=e=>{let t,r,a,i,o,s,l,u,d,h,p,f,m,g,v,y,b,x,T,E=(0,c.c)(38);E[0]!==e?({primaryFill:r,...t}=e,E[0]=e,E[1]=t,E[2]=r):(t=E[1],r=E[2]);let C=void 0===r?"fill-fill-action":r;return E[3]!==C?(p=(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 30C23.732 30 30 23.732 30 16C30 8.26801 23.732 2 16 2C8.26801 2 2 8.26801 2 16C2 23.732 8.26801 30 16 30ZM16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",className:C}),f=(0,n.jsx)("path",{d:"M7.86607 20.8363H10.4554V11.1637H8.25298L5.5 12.3839L5.93155 14.378L7.83631 13.5298H7.86607V20.8363Z",className:C}),m=(0,n.jsx)("path",{d:"M15.8161 21C18.2417 21 19.7298 19.7946 19.7298 18.0089C19.7298 16.7143 18.8518 15.9554 18.0185 15.6429V15.6131C18.8816 15.1518 19.3429 14.3631 19.3429 13.5298C19.3429 12.369 18.4054 11 15.9649 11C13.9411 11 12.3935 12.0863 12.3935 13.7827C12.3935 14.631 12.8399 15.4048 13.7179 15.881V15.9107C12.7209 16.3571 12.081 17.131 12.081 18.2768C12.081 19.5417 13.1673 21 15.8161 21ZM15.9352 19.1845C15.2506 19.1845 14.8042 18.6042 14.8042 18.0238C14.8042 17.4286 15.1613 16.9821 15.7268 16.8333C16.4411 17.0119 16.9917 17.4881 16.9917 18.1875C16.9917 18.753 16.5602 19.1845 15.9352 19.1845ZM15.8607 12.7857C16.5453 12.7857 16.8429 13.2917 16.8429 13.8274C16.8429 14.3036 16.456 14.7351 16.0691 14.8244C15.4292 14.6161 14.9084 14.2292 14.9084 13.7083C14.9084 13.2173 15.2209 12.7857 15.8607 12.7857Z",className:C}),g=(0,n.jsx)("rect",{x:"22.8726",y:"13",width:"1.71429",height:"6",className:C}),v=(0,n.jsx)("rect",{x:"26.73",y:"15.1428",width:"1.71429",height:"6",transform:"rotate(90 26.73 15.1428)",className:C}),y=(0,n.jsx)("path",{d:"M44 19.584C44.592 19.936 45.776 20.256 46.912 20.256C49.696 20.256 51.008 18.752 51.008 17.024C51.008 15.472 50.096 14.528 48.224 13.824C46.784 13.264 46.16 12.88 46.16 12.048C46.16 11.424 46.704 10.752 47.952 10.752C48.96 10.752 49.712 11.056 50.096 11.264L50.576 9.67996C50.016 9.39196 49.152 9.13596 47.984 9.13596C45.648 9.13596 44.176 10.48 44.176 12.24C44.176 13.792 45.312 14.736 47.088 15.376C48.464 15.872 49.008 16.352 49.008 17.168C49.008 18.048 48.304 18.64 47.04 18.64C46.032 18.64 45.072 18.32 44.432 17.952L44 19.584Z",className:C}),b=(0,n.jsx)("path",{d:"M52.6969 23.264H54.6649V19.232H54.6969C55.0969 19.856 55.9129 20.272 56.8889 20.272C58.6649 20.272 60.4409 18.912 60.4409 16.096C60.4409 13.664 58.9529 12.128 57.1609 12.128C55.9769 12.128 55.0649 12.624 54.4889 13.504H54.4569L54.3609 12.304H52.6329C52.6649 13.04 52.6969 13.872 52.6969 14.896V23.264ZM54.6649 15.632C54.6649 15.472 54.6969 15.296 54.7449 15.136C54.9369 14.272 55.6889 13.68 56.5049 13.68C57.7689 13.68 58.4409 14.8 58.4409 16.176C58.4409 17.712 57.7049 18.752 56.4569 18.752C55.6249 18.752 54.9209 18.176 54.7289 17.376C54.6809 17.2 54.6649 17.024 54.6649 16.832V15.632Z",className:C}),x=(0,n.jsx)("path",{d:"M68.6643 16.752C68.6963 16.576 68.7283 16.288 68.7283 15.92C68.7283 14.208 67.8963 12.128 65.3682 12.128C62.8723 12.128 61.5602 14.16 61.5602 16.32C61.5602 18.704 63.0482 20.256 65.5763 20.256C66.6962 20.256 67.6243 20.048 68.2963 19.776L68.0082 18.416C67.4162 18.64 66.7602 18.768 65.8482 18.768C64.6002 18.768 63.4962 18.16 63.4482 16.752H68.6643ZM63.4482 15.376C63.5282 14.576 64.0403 13.472 65.2563 13.472C66.5683 13.472 66.8882 14.656 66.8722 15.376H63.4482Z",className:C}
1),a=(0,n.jsx)("path",{d:"M76.9143 16.752C76.9463 16.576 76.9783 16.288 76.9783 15.92C76.9783 14.208 76.1463 12.128 73.6182 12.128C71.1223 12.128 69.8102 14.16 69.8102 16.32C69.8102 18.704 71.2982 20.256 73.8263 20.256C74.9462 20.256 75.8743 20.048 76.5463 19.776L76.2583 18.416C75.6663 18.64 75.0102 18.768 74.0982 18.768C72.8502 18.768 71.7462 18.16 71.6982 16.752H76.9143ZM71.6982 15.376C71.7782 14.576 72.2903 13.472 73.5063 13.472C74.8183 13.472 75.1383 14.656 75.1223 15.376H71.6982Z",className:C}),i=(0,n.jsx)("path",{d:"M78.5563 20.096H80.5403V8.73596H78.5563V20.096Z",className:C}),o=(0,n.jsx)("path",{d:"M87.5941 20.096L87.6901 18.928H87.7221C88.2821 19.888 89.1781 20.272 90.1861 20.272C91.9461 20.272 93.7221 18.88 93.7221 16.08C93.7381 13.712 92.3781 12.128 90.4741 12.128C89.3061 12.128 88.4581 12.624 87.9781 13.376H87.9461V8.73596H85.9781V17.904C85.9781 18.704 85.9461 19.568 85.9141 20.096H87.5941ZM87.9461 15.616C87.9461 15.424 87.9781 15.248 88.0101 15.104C88.2341 14.24 88.9541 13.664 89.7541 13.664C91.0661 13.664 91.7221 14.784 91.7221 16.16C91.7221 17.728 90.9701 18.72 89.7381 18.72C88.8901 18.72 88.2021 18.128 87.9941 17.344C87.9621 17.2 87.9461 17.04 87.9461 16.88V15.616Z",className:C}),s=(0,n.jsx)("path",{d:"M101.946 16.752C101.978 16.576 102.01 16.288 102.01 15.92C102.01 14.208 101.178 12.128 98.6495 12.128C96.1535 12.128 94.8415 14.16 94.8415 16.32C94.8415 18.704 96.3295 20.256 98.8575 20.256C99.9775 20.256 100.906 20.048 101.578 19.776L101.29 18.416C100.698 18.64 100.042 18.768 99.1295 18.768C97.8815 18.768 96.7775 18.16 96.7295 16.752H101.946ZM96.7295 15.376C96.8095 14.576 97.3215 13.472 98.5375 13.472C99.8495 13.472 100.17 14.656 100.154 15.376H96.7295Z",className:C}),l=(0,n.jsx)("path",{d:"M102.709 12.304L105.013 20.096H106.853L107.845 16.928C108.069 16.16 108.277 15.392 108.437 14.432H108.469C108.645 15.376 108.821 16.112 109.061 16.928L109.989 20.096H111.813L114.261 12.304H112.325L111.461 15.76C111.253 16.672 111.077 17.52 110.949 18.368H110.917C110.741 17.52 110.533 16.672 110.293 15.76L109.317 12.304H107.717L106.709 15.856C106.485 16.656 106.229 17.52 106.069 18.368H106.037C105.893 17.52 105.717 16.672 105.541 15.84L104.725 12.304H102.709Z",className:C}),u=(0,n.jsx)("path",{d:"M122.501 12.304H120.533V17.008C120.533 17.232 120.485 17.44 120.421 17.616C120.213 18.112 119.701 18.672 118.917 18.672C117.877 18.672 117.461 17.84 117.461 16.544V12.304H115.493V16.88C115.493 19.424 116.789 20.272 118.213 20.272C119.605 20.272 120.373 19.472 120.709 18.912H120.741L120.837 20.096H122.565C122.533 19.456 122.501 18.688 122.501 17.76V12.304Z",className:C}),d=(0,n.jsx)("path",{d:"M124.154 19.712C124.73 20.032 125.578 20.256 126.522 20.256C128.586 20.256 129.69 19.232 129.69 17.824C129.674 16.672 129.018 15.952 127.61 15.44C126.618 15.088 126.25 14.848 126.25 14.352C126.25 13.872 126.634 13.536 127.338 13.536C128.026 13.536 128.65 13.792 128.986 13.984L129.37 12.592C128.922 12.352 128.17 12.128 127.306 12.128C125.498 12.128 124.362 13.2 124.362 14.576C124.346 15.488 124.986 16.32 126.506 16.848C127.466 17.184 127.786 17.456 127.786 17.984C127.786 18.496 127.402 18.848 126.538 18.848C125.834 18.848 124.986 18.56 124.538 18.288L124.154 19.712Z",className:C}),h=(0,n.jsx)("path",{d:"M131.642 10.544V12.304H130.522V13.776H131.642V17.44C131.642 18.464 131.834 19.168 132.25 19.616C132.618 20.016 133.226 20.256 133.946 20.256C134.57 20.256 135.082 20.176 135.37 20.064L135.338 18.56C135.162 18.608 134.906 18.656 134.57 18.656C133.818 18.656 133.562 18.16 133.562 17.216V13.776H135.434V12.304H133.562V10.08L131.642 10.544Z",className:C}),E[3]=C,E[4]=a,E[5]=i,E[6]=o,E[7]=s,E[8]=l,E[9]=u,E[10]=d,E[11]=h,E[12]=p,E[13]=f,E[14]=m,E[15]=g,E[16]=v,E[17]=y,E[18]=b,E[19]=x):(a=E[4],i=E[5],o=E[6],s=E[7],l=E[8],u=E[9],d=E[10],h=E[11],p=E[12],f=E[13],m=E[14],g=E[15],v=E[16],y=E[17],b=E[18],x=E[19]),E[20]!==t||E[21]!==a||E[22]!==i||E[23]!==o||E[24]!==s||E[25]!==l||E[26]!==u||E[27]!==d||E[28]!==h||E[29]!==p||E[30]!==f||E[31]!==m||E[32]!==g||E[33]!==v||E[34]!==y||E[35]!==b||E[36]!==x?(T=(0,n.jsxs)(eC,{viewBox:"0 0 32 32",...t,children:[p,f,m,g,v,y,b,x,a,i,o,s,l,u,d,h]}),E[20]=t,E[21]=a,E[22]=i,E[23]=o,E[24]=s,E[25]=l,E[26]=u,E[27]=d,E[28]=h,E[29]=p,E[30]=f,E[31]=m,E[32]=g,E[33]=v,E[34]=y,E[35]=b,E[36]=x,E[37]=T):T=E[37],T}},71e3:(e,t,r)=>{"use strict";r.d(t,{t:()=>c});var n=r(6029),a=r(75155),i=r(41834),o=r(32988),s=r.n(o);let l={sm:"h-10 w-10  lg:h-12 lg:w-12",lg:"h-12 w-12 lg:h-14 lg:w-14"},c=e=>{let t,r,o,c,u=(0,a.c)(15),{className:d,testId:h,onClick:p,carouselId:f,size:m,variant:g}=e,v=void 0===h?"CarouselButton":h,y=void 0===m?"lg":m;if(u[0]!==d||u[1]!==p||u[2]!==y||u[3]!==g){let e=s()("transition-opacity duration-150","pointer-events-auto","flex items-center justify-center",l[y],"rounded-full bg-fill-default text-color-action shadow-strong-highlight","disabled:pointer-events-none disabled:opacity-0",d),n=(null==g?void 0:g.variant)==="previous"&&g.includeLgMarginLeft,a=(null==g?void 0:g.variant)==="next"&&g.includeLgMarginRight,i=(null==g?void 0:g.variant)==="previous"?{"rounded-l-none lg:rou
1nded-l-full":!0,"lg:ml-10":n,"lg:-ml-6":!n}:{"rounded-r-none lg:rounded-r-full":!0,"lg:mr-10":a,"lg:-mr-6":!a};t=p,r=s()(e,i),u[0]=d,u[1]=p,u[2]=y,u[3]=g,u[4]=t,u[5]=r}else t=u[4],r=u[5];let b="".concat(f,"-").concat(null==g?void 0:g.variant),x=(null==g?void 0:g.variant)==="previous"?"Previous slide":"Next slide";return u[6]!==(null==g?void 0:g.variant)?(o=(null==g?void 0:g.variant)==="previous"?(0,n.jsx)(i.YJP,{}):(0,n.jsx)(i.vKP,{}),u[6]=null==g?void 0:g.variant,u[7]=o):o=u[7],u[8]!==t||u[9]!==r||u[10]!==b||u[11]!==x||u[12]!==o||u[13]!==v?(c=(0,n.jsx)("button",{onClick:t,className:r,"data-testid":v,"data-carousel-nav":b,"aria-label":x,children:o}),u[8]=t,u[9]=r,u[10]=b,u[11]=x,u[12]=o,u[13]=v,u[14]=c):c=u[14],c}},71024:(e,t,r)=>{e.exports=r(34955)},71137:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AllInPage:()=>x,allInPageEnhancer:()=>T});var n,a=r(6029),i=r(75155),o=r(12645),s=r(78440),l=r(37608),c=r(27872),u=((n={}).Results="results",n.Charities="charities",n.Prizes="prizes",n.General="general",n.Event="event",n.Blog="blog",n.News="news",n.Press="press",n.Discount="discount",n),d=r(57586),h=r(74632),p=r(23051),f=r(41834),m=r(81278),g=r(2270),v=r(51652),y=r(78263),b=r(88454);let x=e=>{var t,r,n;let u,d,h,x,T,E,k,S,I=(0,i.c)(27),{blok:P,environment:_,lottery:R}=e,{locale:A}=(0,o.p)(),N=null!=(t=null==(r=P.topicType)?void 0:r.topic)?t:"",{asPath:D}=(0,m.useRouter)(),{shouldUseLocalisedBreadcrumbs:O}=(0,v.q)();return I[0]!==P?(u=(0,b.d)(P),I[0]=P,I[1]=u):u=I[1],I[2]!==P.heading||I[3]!==D||I[4]!==O?(d=(0,a.jsx)(s.N,{currentPath:D,currentLinkLabel:P.heading,useLocalisedLabels:O}),I[2]=P.heading,I[3]=D,I[4]=O,I[5]=d):d=I[5],I[6]!==P.heading?(h=(0,a.jsx)(f.OUT,{className:"mt-2",children:P.heading}),I[6]=P.heading,I[7]=h):h=I[7],I[8]!==P.introText?(x=(0,a.jsx)(f.fzL,{testId:"introtext",className:"md:mt-2",variant:"introduction",children:P.introText}),I[8]=P.introText,I[9]=x):x=I[9],I[10]!==d||I[11]!==h||I[12]!==x?(T=(0,a.jsxs)("div",{className:"grid gap-y-2 pt-10 md:w-2/3",children:[d,h,x]}),I[10]=d,I[11]=h,I[12]=x,I[13]=T):T=I[13],I[14]!==P.results||I[15]!==_||I[16]!==A||I[17]!==R||I[18]!==N?(E=P.results&&(0,a.jsx)(l.i,{gridItems:P.results.items,paginationComponent:(0,a.jsx)(g.d,{total:P.results.total,fetchFunc:e=>(0,y.l)({topic:N,lottery:R,locale:A,version:(0,p.qg)(_),pageNumber:e}),cacheKey:()=>"gridItems-".concat(N),renderItem:C})}),I[14]=P.results,I[15]=_,I[16]=A,I[17]=R,I[18]=N,I[19]=E):E=I[19],I[20]!==P.sections?(k=null==(n=P.sections)?void 0:n.map(w),I[20]=P.sections,I[21]=k):k=I[21],I[22]!==u||I[23]!==T||I[24]!==E||I[25]!==k?(S=(0,a.jsxs)(c.x,{...u,children:[T,E,k]}),I[22]=u,I[23]=T,I[24]=E,I[25]=k,I[26]=S):S=I[26],S},T=e=>{let{lottery:t,environment:r,locale:n}=e;return async e=>{if(E(e)){let a=(0,p.qg)(r),{topic:i}=e.topicType;i!==u.Blog&&i!==u.Event&&(e.results=await (0,y.l)({topic:i,lottery:t,locale:n,version:a}))}}},E=e=>null!==e&&"object"==typeof e&&"component"in e&&"AllInPage"===e.component&&"topicType"in e&&"object"==typeof e.topicType&&null!==e.topicType&&"topic"in e.topicType&&"string"==typeof e.topicType.topic;function C(e){return(0,a.jsx)(d.x,{content:e},e._uid)}function w(e){return(0,a.jsx)(h.d,{blok:e},e._uid)}},72206:e=>{"use strict";e.exports=TypeError},72562:(e,t,r)=>{"use strict";var n="u">typeof Symbol&&Symbol,a=r(47684);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&a()}},72756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,a=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||a.test(c)||r.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,l):e.replace(i,l)).replace(n,s))}},72787:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});let n=e=>(null==e?void 0:e.mode)==="label"&&(null==e?void 0:e.label)!==void 0},73202:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(11933),a=r(29143);let i=e=>{let t=!!a.env.NEXT_PUBLIC_PATH_PREFIX,r=!!(e&&e.startsWith("/api/"));return{shouldUseNextLink:(!e||(0,n.mv)(e)||r,!1),enablePrefetch:!t}}},74002:e=>{"use strict";e.exports=Error},74632:(e,t,r)=>{"use strict";r.d(t,{d:()=>d});var n=r(6029),a=r(75155),i=r(38070),o=r(41834),s=r(95702),l=r(48535),c=r(81619),u=r(12645);let d=e=>{let t,r,d,h,p,f,m=(0,a.c)(17);m[0]!==e?({...t}=e,m[0]=e,m[1]=t):t=m[1];let{locale:g,lottery:v}=(0,u.p)(),y=(0,l.useRouter)();m[2]!==g?(r=(e=>{switch(e){case"nl-NL":return"Er is een fout opgetreden bij het laden van deze inhoud.";case"de-DE":return"Beim Laden dieses Inhalts ist ein Fehler aufgetreten.";case"sv-SE":return"Ett fel uppstod n\xe4r inneh\xe5llet skulle l\xe4sas in.";
1case"no-NO":return"Det oppstod en feil under innlasting av dette innholdet.";default:return"An error occurred while loading this content."}})(g),m[2]=g,m[3]=r):r=m[3],m[4]!==r?(d=(0,n.jsx)(o.Eg0,{level:"error",children:(0,n.jsx)(o.Kxk,{children:(0,n.jsx)(o.fzL,{children:r})})}),m[4]=r,m[5]=d):d=m[5];let b=d;m[6]!==g||m[7]!==v||m[8]!==(null==y?void 0:y.asPath)||m[9]!==t.blok?(h=e=>{var r;(0,i.Oz)(e instanceof Error?e:Error("Unknown component error"),500,{path:(null==y?void 0:y.asPath)||"_error",locale:g,lottery:v,digest:null==(r=t.blok)?void 0:r.component})},m[6]=g,m[7]=v,m[8]=null==y?void 0:y.asPath,m[9]=t.blok,m[10]=h):h=m[10];let x=h;return m[11]!==t?(p=(0,n.jsx)(s.A,{...t}),m[11]=t,m[12]=p):p=m[12],m[13]!==b||m[14]!==x||m[15]!==p?(f=(0,n.jsx)(c.tH,{fallback:b,onError:x,children:p}),m[13]=b,m[14]=x,m[15]=p,m[16]=f):f=m[16],f}},74746:(e,t,r)=>{"use strict";r.d(t,{d:()=>y});var n=r(6029),a=r(55729),i=r(28563),o=r(66819),s=r(41834),l=r(32988),c=r.n(l),u=r(15680),d=r(12645),h=r(4972),p=r(37664),f=r(18642),m=r(13593);let g={vl:{backgroundColor:f.N,containerStyle:"relative py-6 sm:py-10 [&+hr]:hidden"}},v=(0,m.O)(g),y=e=>{var t,r;let l,f,m,{children:g,testId:y="PageSection",title:b,subtitle:x,description:T,link:E,linkStyle:C="link",label:w,hasDivider:k=!0,titleClasses:S,descriptionClasses:I,linkClasses:P,anchorId:_,customizedValues:R={},linkAnalytics:A,...N}=e,{locale:D,lottery:O}=(0,d.p)(),{containerStyle:j,backgroundColor:L}=(0,a.useMemo)(()=>v(O,(null==R?void 0:R.backgroundColor)!==void 0?{backgroundColor:R.backgroundColor}:{}),[O,null==R?void 0:R.backgroundColor]),M=!!L;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.cGx,{className:c()("col-span-3 col-start-2 first-of-type:hidden md:hidden",{hidden:!k||M})}),(0,n.jsxs)("section",{"data-testid":y,...N,..._&&_.length>0?{id:_}:{},className:c()(N.className,M&&j),children:[(0,n.jsx)(h.e,{className:"inset-0",backgroundColor:L}),(null==b?void 0:b.trim())&&(0,n.jsxs)("div",{className:c()("mb-2 flex items-center gap-2",{"mb-3 gap-3 md:mb-4 md:gap-4":!T}),children:[(0,n.jsxs)(s.fV8,{className:c()(S),children:[b," "]}),w&&(0,n.jsx)(s.JU7,{label:w.label,color:w.color,variant:null!=(t=w.variant)?t:"sm"})]}),x&&(0,n.jsx)("div",{className:"mb-4 px-4 md:px-0",children:(0,n.jsx)(s.fzL,{children:x})}),T&&(0,n.jsx)("div",{className:c()("mb-3 px-4 md:mb-4 lg:px-0",I),children:(0,n.jsx)(p.X,{content:T})}),g,E&&(0,n.jsx)(n.Fragment,{children:"link"===C?(0,n.jsxs)(i.e,{href:E.href,target:(r=E.href,l=(0,u.U)(O,D),f=r.endsWith(".pdf"),m=/^https?:\/\//.test(r)&&!r.includes(l),f||m?"_blank":"_self"),className:c()("mt-3 md:mt-4",P),testId:"PageSectionCallToAction",...A&&{"data-analytics-label":A.label,"data-analytics-variant":A.variant},children:[E.label,(0,n.jsx)(s.vKP,{})]}):(0,n.jsx)(o.Y,{href:E.href,className:c()("mt-5 md:mt-6",P),variant:"buttonPrimary"===C?"primary":"secondary",testId:"PageSectionCallToAction",analytics:A,children:E.label})})]})]})}},74896:(e,t,r)=>{"use strict";r.d(t,{K:()=>c});var n=r(41834);let a=[{link:"/",name:"\xdcberblick",icon:n.Vr3},{link:"/gewinne",name:"Gewinne",icon:n.PX$},{link:"/ihre-lose",name:"Deine Lose",icon:n.fGs},{link:"/persoenliche-daten",name:"Pers\xf6nliche Daten",icon:n.KYp},{link:"/ausloggen",name:"Ausloggen",icon:n.ru2}],i=[{link:"/",name:"Overzicht",icon:n.Vr3},{link:"/prijzen",name:"Prijzen",icon:n.PX$},{link:"/voordelen",name:"Voordelen",icon:n.Clc},{link:"/loten",name:"Loten",icon:n.fGs},{link:"/gegevens",name:"Gegevens",icon:n.KYp},{link:"/logout",name:"Uitloggen",icon:n.ru2}],o=[{link:"/",name:"Overview",icon:n.Vr3},{link:"/prizes",name:"My Prizes",icon:n.PX$},{link:"https://games.postcodelottery.co.uk/",name:"Games",icon:n.LDj},{link:"/tickets",name:"My Tickets",icon:n.fGs},{link:"/personal-data",name:"My details",icon:n.KYp},{link:"/my-impact",name:"My Impact",icon:n.RNm},{link:"/logout",name:"Logout",icon:n.ru2}],s=[{link:"/mina-sidor/",name:"\xd6versikt",icon:n.m_y},{link:"/mina-sidor/ratta-lott",name:"R\xe4tta lott",icon:n.ZQw},{link:"/mina-sidor/manadens-vinstchanser",name:"M\xe5nadens vinstchanser",icon:n.iDK},{name:"Min prenumeration",type:"divider"},{link:"/mina-sidor/mina-lotter",name:"Mina lotter",icon:n.fGs},{link:"/mina-sidor/min-profil",name:"Min profil",icon:n.KYp},{link:"/mina-sidor/mina-betalningar",name:"Mina betalningar",icon:n.hfe},{link:"/mina-sidor/hantera-lotter",name:"Hantera lotter",icon:n.AU2},{name:"\xd6vrigt",type:"divider"},{link:"/mina-sidor/mina-smultronstallen",name:"Mina smultronst\xe4llen",icon:n.C3E},{link:"/mina-sidor/tavlingar",name:"T\xe4vlingar",icon:n.rCF},{link:"/mina-sidor/utskick",name:"Utskick",icon:n.khQ},{link:"/logga-ut",name:"Logga ut",icon:n.Fod,type:"button"}
1],l=[{link:"/",name:"Overzicht",icon:n.Vr3},{link:"/prijzen",name:"Prijzen",icon:n.PX$},{link:"/winacties",name:"Winacties",icon:n.fGs},{link:"/bingokaart",name:"Bingokaarten",icon:n.hqv},{link:"/vip-kaart",name:"VIP-KAART",icon:n.sB5},{link:"/loten",name:"Loten",icon:n.fGs},{link:"/gegevens",name:"Gegevens",icon:n.KYp},{link:"/logout",name:"Uitloggen",icon:n.ru2}],c=(e,t)=>{let r="".concat(t,"_").concat(e);switch(r){case"npl_nl-NL":return i;case"vl_nl-NL":return l;case"dpl_de-DE":return a;case"ppl_en-GB":return o;case"spl_sv-SE":return s;case"nopl_no-NO":case"cpl_fr-CA":case"cpl_en-CA":return[];default:throw Error("Unknown lottery/locale combination: ".concat(r))}}},74934:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},75043:(e,t,r)=>{"use strict";r.d(t,{w:()=>n});let n=e=>Array.isArray(e)?e.reduce((e,t)=>({...e,...(e=>{let{_uid:t,component:r,_editable:n,...a}=e;return a})(t)}),{}):{}},75739:e=>{"use strict";e.exports=Math.min},76527:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var n=r(39932);function a(e){return null===e||(0,n.Ee)(e)||(0,n.Ny)(e)?1:(0,n.es)(e)?2:void 0}},76599:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},l={AUDIO_EXTENSIONS:()=>k,DASH_EXTENSIONS:()=>P,FLV_EXTENSIONS:()=>_,HLS_EXTENSIONS:()=>I,MATCH_URL_DAILYMOTION:()=>T,MATCH_URL_FACEBOOK:()=>m,MATCH_URL_FACEBOOK_WATCH:()=>g,MATCH_URL_KALTURA:()=>w,MATCH_URL_MIXCLOUD:()=>E,MATCH_URL_MUX:()=>f,MATCH_URL_SOUNDCLOUD:()=>h,MATCH_URL_STREAMABLE:()=>v,MATCH_URL_TWITCH_CHANNEL:()=>x,MATCH_URL_TWITCH_VIDEO:()=>b,MATCH_URL_VIDYARD:()=>C,MATCH_URL_VIMEO:()=>p,MATCH_URL_WISTIA:()=>y,MATCH_URL_YOUTUBE:()=>d,VIDEO_EXTENSIONS:()=>S,canPlay:()=>A};for(var c in l)n(s,c,{get:l[c],enumerable:!0});e.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))o.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);var u=r(46773);let d=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,h=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,p=/vimeo\.com\/(?!progressive_redirect).+/,f=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,m=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,g=/^https?:\/\/fb\.watch\/.+$/,v=/streamable\.com\/([a-z0-9]+)$/,y=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,b=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,x=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,T=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,E=/mixcloud\.com\/([^/]+\/[^/]+)/,C=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,w=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/,k=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,S=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,I=/\.(m3u8)($|\?)/i,P=/\.(mpd)($|\?)/i,_=/\.(flv)($|\?)/i,R=e=>{if(e instanceof Array){for(let t of e)if("string"==typeof t&&R(t)||R(t.src))return!0;return!1}return!!((0,u.isMediaStream)(e)||(0,u.isBlobUrl)(e))||k.test(e)||S.test(e)||I.test(e)||P.test(e)||_.test(e)},A={youtube:e=>e instanceof Array?e.every(e=>d.test(e)):d.test(e),soundcloud:e=>h.test(e)&&!k.test(e),vimeo:e=>p.test(e)&&!S.test(e)&&!I.test(e),mux:e=>f.test(e),facebook:e=>m.test(e)||g.test(e),streamable:e=>v.test(e),wistia:e=>y.test(e),twitch:e=>b.test(e)||x.test(e),dailymotion:e=>T.test(e),mixcloud:e=>E.test(e),vidyard:e=>C.test(e),kaltura:e=>w.test(e),file:R}},76792:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d});let n="object"==typeof self?self:globalThis,a=(e,t)=>
1{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new n[e](t)},i=e=>{var t;let r,i;return(t=new Map,r=(e,r)=>(t.set(r,e),e),i=o=>{if(t.has(o))return t.get(o);let[s,l]=e[o];switch(s){case 0:case -1:return r(l,o);case 1:{let e=r([],o);for(let t of l)e.push(i(t));return e}case 2:{let e=r({},o);for(let[t,r]of l)e[i(t)]=i(r);return e}case 3:return r(new Date(l),o);case 4:{let{source:e,flags:t}=l;return r(new RegExp(e,t),o)}case 5:{let e=r(new Map,o);for(let[t,r]of l)e.set(i(t),i(r));return e}case 6:{let e=r(new Set,o);for(let t of l)e.add(i(t));return e}case 7:{let{name:e,message:t}=l;return r("function"==typeof n[e]?a(e,t):Error(t),o)}case 8:return r(BigInt(l),o);case"BigInt":return r(Object(BigInt(l)),o);case"ArrayBuffer":return r(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:e}=new Uint8Array(l);return r(new DataView(e),l)}}return r(a(s,l),o)})(0)},{toString:o}={},{keys:s}=Object,l=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let r=o.call(e).slice(8,-1);switch(r){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:e instanceof Error?[7,e.name||"Error"]:[2,r]},c=([e,t])=>0===e&&("function"===t||"symbol"===t),u=(e,{json:t,lossy:r}={})=>{var n,a,i;let o,u,d=[];return(n=!(t||r),a=!!t,i=new Map,o=(e,t)=>{let r=d.push(e)-1;return i.set(t,r),r},u=e=>{if(i.has(e))return i.get(e);let[t,r]=l(e);switch(t){case 0:{let a=e;switch(r){case"bigint":t=8,a=e.toString();break;case"function":case"symbol":if(n)throw TypeError("unable to serialize "+r);a=null;break;case"undefined":return o([-1],e)}return o([t,a],e)}case 1:{if(r){let t=e;return"DataView"===r?t=new Uint8Array(e.buffer):"ArrayBuffer"===r&&(t=new Uint8Array(e)),o([r,[...t]],e)}let n=[],a=o([t,n],e);for(let t of e)n.push(u(t));return a}case 2:{if(r)switch(r){case"BigInt":return o([r,e.toString()],e);case"Boolean":case"Number":case"String":return o([r,e.valueOf()],e)}if(a&&"toJSON"in e)return u(e.toJSON());let i=[],d=o([t,i],e);for(let t of s(e))(n||!c(l(e[t])))&&i.push([u(t),u(e[t])]);return d}case 3:return o([t,isNaN(e.getTime())?"":e.toISOString()],e);case 4:{let{source:r,flags:n}=e;return o([t,{source:r,flags:n}],e)}case 5:{let r=[],a=o([t,r],e);for(let[t,a]of e)(n||!(c(l(t))||c(l(a))))&&r.push([u(t),u(a)]);return a}case 6:{let r=[],a=o([t,r],e);for(let t of e)(n||!c(l(t)))&&r.push(u(t));return a}}let{message:d}=e;return o([t,{name:r,message:d}],e)})(e),d},d="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(u(e,t)):structuredClone(e):(e,t)=>i(u(e,t))},76916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return w},useLinkStatus:function(){return C}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let i=r(13514),o=r(6029),s=i._(r(55729)),l=r(14466),c=r(46184),u=r(6753),d=r(80983),h=r(52520),p=r(46137),f=r(91431),m=r(21692),g=r(29773),v=r(64050),y=new Set;function b(e,t,r,n){if((0,c.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let a=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(y.has(a))return;y.add(a)}e.prefetch(t,r,n).catch(e=>{})}}function x(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let T=s.default.forwardRef(function(e,t){let r,n,{href:a,as:i,children:u,prefetch:y=null,passHref:T,replace:E,shallow:C,scroll:w,locale:k,onClick:S,onNavigate:I,onMouseEnter:P,onTouchStart:_,legacyBehavior:R=!1,transitionTypes:A,...N}=e;r=u,R&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let D=s.default.useContext(p.RouterContext),O=!1!==y,{href:j,as:L}=s.default.useMemo(()=>{if(!D){let e=x(a);return{href:e,as:i?x(i):e}}let[e,t]=(0,l.resolveHref)(D,a,!0);return{href:e,as:i?(0,l.resolveHref)(D,i):t||e}},[D,a,i]),M=s.default.useRef(j),H=s.default.useRef(L);R&&(n=s.default.Children.only(r));let F=R?n&&"object"==typeof n&&n.ref:t,[q,B,U]=(0,f.useIntersection)({rootMargin:"200px"}),W=s.default.useCallback(e=>{(H.current!==L||M.current!==j)&&(U(),H.current=L,M.current=j),q(e)},[L,j,U,q]),V=(0,v.useMergedRef)(W,F);s.default.useEffect(()=>{!D||B&&O&&b(D,j,L,{bypassPrefetchedCheck:!1,locale:k})},[L,j,B,k,O,null==D?void 0:D.locale,D]);let G={ref:V,onClick(e){R||"function"!=typeof S||S(e),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!D||e.defaultPrevented||function(e,t,r,n,a,i,o,s,l){let u,{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if
1(!(0,c.isLocalURL)(r)){a&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=null==o||o;"beforePopState"in t?t[a?"replace":"push"](r,n,{shallow:i,locale:s,scroll:e}):t[a?"replace":"push"](n||r,{scroll:e})})()}}(e,D,j,L,E,C,w,k,I)},onMouseEnter(e){R||"function"!=typeof P||P(e),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),D&&b(D,j,L,{locale:k,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){R||"function"!=typeof _||_(e),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),D&&b(D,j,L,{locale:k,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(L))G.href=L;else if(!R||T||"a"===n.type&&!("href"in n.props)){let e=void 0!==k?k:null==D?void 0:D.locale;G.href=(null==D?void 0:D.isLocaleDomain)&&(0,m.getDomainLocale)(L,e,null==D?void 0:D.locales,null==D?void 0:D.domainLocales)||(0,g.addBasePath)((0,h.addLocale)(L,e,null==D?void 0:D.defaultLocale))}return R?s.default.cloneElement(n,G):(0,o.jsx)("a",{...N,...G,children:r})}),E=(0,s.createContext)({pending:!1}),C=()=>(0,s.useContext)(E),w=T;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},76978:(e,t,r)=>{"use strict";r.d(t,{qy:()=>v,JW:()=>y});class n{constructor(e,t,r){this.normal=t,this.property=e,r&&(this.space=r)}}function a(e,t){let r={},a={};for(let t of e)Object.assign(r,t.property),Object.assign(a,t.normal);return new n(r,a,t)}n.prototype.normal={},n.prototype.property={},n.prototype.space=void 0;var i=r(15819),o=r(6929);function s(e){let t={},r={};for(let[n,a]of Object.entries(e.properties)){let s=new o.E(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(s.mustUseProperty=!0),t[n]=s,r[(0,i.S)(n)]=n,r[(0,i.S)(s.attribute)]=n}return new n(t,r,e.space)}var l=r(92650);let c=s({properties:{ariaActiveDescendant:null,ariaAtomic:l.booleanish,ariaAutoComplete:null,ariaBusy:l.booleanish,ariaChecked:l.booleanish,ariaColCount:l.number,ariaColIndex:l.number,ariaColSpan:l.number,ariaControls:l.spaceSeparated,ariaCurrent:null,ariaDescribedBy:l.spaceSeparated,ariaDetails:null,ariaDisabled:l.booleanish,ariaDropEffect:l.spaceSeparated,ariaErrorMessage:null,ariaExpanded:l.booleanish,ariaFlowTo:l.spaceSeparated,ariaGrabbed:l.booleanish,ariaHasPopup:null,ariaHidden:l.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l.spaceSeparated,ariaLevel:l.number,ariaLive:null,ariaModal:l.booleanish,ariaMultiLine:l.booleanish,ariaMultiSelectable:l.booleanish,ariaOrientation:null,ariaOwns:l.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:l.number,ariaPressed:l.booleanish,ariaReadOnly:l.booleanish,ariaRelevant:null,ariaRequired:l.booleanish,ariaRoleDescription:l.spaceSeparated,ariaRowCount:l.number,ariaRowIndex:l.number,ariaRowSpan:l.number,ariaSelected:l.booleanish,ariaSetSize:l.number,ariaSort:null,ariaValueMax:l.number,ariaValueMin:l.number,ariaValueNow:l.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function u(e,t){return t in e?e[t]:t}function d(e,t){return u(e,t.toLowerCase())}let h=s({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l.commaSeparated,acceptCharset:l.spaceSeparated,accessKey:l.spaceSeparated,action:null,allow:null,allowFullScreen:l.boolean,allowPaymentRequest:l.boolean,allowUserMedia:l.boolean,alpha:l.boolean,alt:null,as:null,async:l.boolean,autoCapitalize:null,autoComplete:l.spaceSeparated,autoFocus:l.boolean,autoPlay:l.boolean,blocking:l.spaceSeparated,capture:null,charSet:null,checked:l.boolean,cite:null,className:l.spaceSeparated,closedBy:null,colorSpace:null,cols:l.number,colSpan:l.number,command:null,commandFor:null,content:null,contentEditable:l.booleanish,controls:l.boolean,controlsList:l.spaceSeparated,coords:l.number|l.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l.boolean,defer:l.boolean,dir:null,dirName:null,disabled:l.boolean,download:l.overloadedBoolean,draggable:l.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l.boolean,formTarget:null,headers:l.spaceSeparated,height:l.number,hidden:l.overloadedBoolean,high:l.number,href:null,hrefLang:null,htmlFor:l.spaceSeparated,httpEquiv:l.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:l.boolean,inputMode:null,integrity:null,is:null,isMap:l.boolean,itemId:null,itemProp:l.spaceSeparated,itemRef:l.spaceSeparated,itemScope:l.boolean,itemType:l.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l.boolean,low:l.number,manifest:null,max:null,maxLength:l.number,media:null,method:null,min:null,minLength:l.number,multiple:l.boolean,muted:l.boolean,name:null,nonce:null,noModule:l.boolean,noValidate:l.boolean,onAbort:null,onAfterPrint:null,onAuxCl
1ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:l.boolean,optimum:l.number,pattern:null,ping:l.spaceSeparated,placeholder:null,playsInline:l.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:l.boolean,referrerPolicy:null,rel:l.spaceSeparated,required:l.boolean,reversed:l.boolean,rows:l.number,rowSpan:l.number,sandbox:l.spaceSeparated,scope:null,scoped:l.boolean,seamless:l.boolean,selected:l.boolean,shadowRootClonable:l.boolean,shadowRootCustomElementRegistry:l.boolean,shadowRootDelegatesFocus:l.boolean,shadowRootMode:null,shadowRootSerializable:l.boolean,shape:null,size:l.number,sizes:null,slot:null,span:l.number,spellCheck:l.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:l.number,step:null,style:null,tabIndex:l.number,target:null,title:null,translate:null,type:null,typeMustMatch:l.boolean,useMap:null,value:l.booleanish,width:l.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:l.spaceSeparated,axis:null,background:null,bgColor:null,border:l.number,borderColor:null,bottomMargin:l.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l.boolean,declare:l.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:l.number,leftMargin:l.number,link:null,longDesc:null,lowSrc:null,marginHeight:l.number,marginWidth:l.number,noResize:l.boolean,noHref:l.boolean,noShade:l.boolean,noWrap:l.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:l.number,rules:null,scheme:null,scrolling:l.booleanish,standby:null,summary:null,text:null,topMargin:l.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l.number,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:l.boolean,disablePictureInPicture:l.boolean,disableRemotePlayback:l.boolean,exportParts:l.commaSeparated,part:l.spaceSeparated,prefix:null,property:null,results:l.number,security:null,unselectable:null},space:"html",transform:d}),p=s({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav
1-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:l.commaOrSpaceSeparated,accentHeight:l.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:l.number,amplitude:l.number,arabicForm:null,ascent:l.number,attributeName:null,attributeType:null,azimuth:l.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:l.number,by:null,calcMode:null,capHeight:l.number,className:l.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:l.number,diffuseConstant:l.number,direction:null,display:null,dur:null,divisor:l.number,dominantBaseline:null,download:l.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:l.number,enableBackgroun
1d:null,end:null,event:null,exponent:l.number,externalResourcesRequired:null,fill:null,fillOpacity:l.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:l.commaSeparated,g2:l.commaSeparated,glyphName:l.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:l.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:l.number,horizOriginX:l.number,horizOriginY:l.number,id:null,ideographic:l.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:l.number,k:l.number,k1:l.number,k2:l.number,k3:l.number,k4:l.number,kernelMatrix:l.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:l.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:l.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:l.number,overlineThickness:l.number,paintOrder:null,panose1:null,path:null,pathLength:l.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:l.number,pointsAtY:l.number,pointsAtZ:l.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:l.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:l.commaOrSpaceSeparated,rev:l.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:l.commaOrSpaceSeparated,requiredFeatures:l.commaOrSpaceSeparated,requiredFonts:l.commaOrSpaceSeparated,requiredFormats:l.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:l.number,specularExponent:l.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:l.number,strikethroughThickness:l.number,string:null,stroke:null,strokeDashArray:l.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:l.number,strokeOpacity:l.number,strokeWidth:null,style:null,surfaceScale:l.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:l.commaOrSpaceSeparated,tabIndex:l.number,tableValues:null,target:null,targetX:l.number,targetY:l.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:l.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:l.number,underlineThickness:l.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:l.number,values:null,vAlphabetic:l.number,vMathematical:l.number,vectorEffect:null,vHanging:l.number,vIdeographic:l.number,version:null,vertAdvY:l.number,vertOriginX:l.number,vertOriginY:l.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:l.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:u}),f=s({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
1"xlink:"+t.slice(5).toLowerCase()}),m=s({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d}),g=s({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),v=a([c,h,f,m,g],"html"),y=a([c,p,f,m,g],"svg")},77348:e=>{e.exports={label:"AddonLabel_label__8dKex",small:"AddonLabel_small__5ETfN"}},78191:(e,t,r)=>{"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:()=>n})},78263:(e,t,r)=>{"use strict";r.d(t,{l:()=>l});var n=r(44160),a=r(23051),i=r(78269),o=r(32181);let s={width:0,height:400},l=async e=>{let{topic:t,lottery:r,locale:n,version:l="published",spotlightStoryId:u,category:d,contentType:h,pageNumber:p=1,year:f,resolveRelations:m}=e,g=(0,a.Jv)(),v=Math.max(p,1),y="Charity"===h,b={starts_with:"groupwebsite-".concat(r,"/"),version:l,resolve_relations:m,resolve_links:"url",content_type:h||"DetailPage",..."ppl"===r&&{sort_by:"first_published_at:desc"},excluding_slugs:"groupwebsite-*/testing*,groupwebsite-*/sandbox*",...u&&{excluding_ids:"".concat(u)},filter_query:{__and:{"topicType.topic":{like:t},...d&&{"topicType.categories":{any_in_array:d}},...f&&{"introCard.0.tags":{like:'*"date": "'.concat(f,"*")}}}},...{cv:Date.now()}},{stories:x,total:T}=await c({storyblokApi:g,baseParams:b,requestedPage:v,fetchAll:y});if(!x.length)return{total:0,items:[]};let E=[];for(let e=0;e<x.length;e+=5){let t=x.slice(e,e+5),r=await Promise.all(t.map(async e=>(await (0,i.TL)(e),(0,o.G)(e,n,!1,y?s:void 0))));E.push(...r)}return{total:T,items:E}},c=async e=>{let{storyblokApi:t,baseParams:r,requestedPage:i,fetchAll:o}=e;if(o){let e=await t.getAll("cdn/stories",r);return{stories:e||[],total:(null==e?void 0:e.length)||0}}let{stories:s,total:l}=await (0,a.$h)({params:{...r,per_page:1===(i||1)?n.y9*n.SO:n.SO,page:i||1}});return{stories:s,total:l}}},78269:(e,t,r)=>{"use strict";r.d(t,{uD:()=>c,TL:()=>u,VK:()=>g,iU:()=>v,lK:()=>m,kY:()=>T});let n=["alt","title","source","copyright"],a=e=>"object"==typeof e&&null!==e,i=e=>"string"==typeof e&&""!==e.trim(),o=(e,t)=>{let r={...e};return n.forEach(e=>{let n=((e,t)=>{var r;let n=e[t];if(i(n))return n;let a=null==(r=e.meta_data)?void 0:r[t];if(i(a))return a})(t,e);n&&(r[e]=n)}),r},s=(e,t)=>{let r=e.id;return"number"==typeof r?t.get(r):void 0},l=(e,t)=>{if(Array.isArray(e))return e.map(e=>l(e,t));if(!a(e))return e;let r=((e,t)=>{if("asset"===e.fieldtype){let r=s(e,t);return r?o(e,r):{...e}}let r=e.attrs;if("image"===e.type&&a(r)){let n=s(r,t);return n?{...e,attrs:o(r,n)}:{...e}}return{...e}})(e,t);return Object.keys(r).forEach(e=>{let n=r[e];n&&"object"==typeof n&&(r[e]=l(n,t))}),r},c=(e,t)=>(null==t?void 0:t.length)?e.map(e=>{var r;return{...e,content:(r=e.content,(null==t?void 0:t.length)?l(r,new Map(t.map(e=>[e.id,e]))):r)}}):e;async function u(e){if(!e||"object"!=typeof e)return;for(let[t,r]of d)if(t in e&&"string"==typeof e[t])for(let n of r)await n(t,e);let t=e._skipEnhancement;if("component"in e&&"string"==typeof e.component&&!t)for(let t of h.get(e.component)||[])await t(e);if("fieldtype"in e&&"string"==typeof e.fieldtype)for(let t of p.get(e.fieldtype)||[])await t(e);let r=[];Object.keys(e).forEach(t=>{Array.isArray(e[t])?r.push(...e[t].map(e=>u(e))):"object"==typeof e[t]&&e[t]&&r.push(u(e[t]))}),await Promise.all(r)}let d=new Map,h=new Map,p=new Map,f=(e,t,r)=>{let n=e.get(t);n?n.push(r):e.set(t,[r])},m=(e,t)=>{f(d,e,t)},g=(e,t)=>{f(h,e,t)},v=(e,t)=>{f(p,e,t)};r(29143);var y=r(75155),b=r(55729),x=r(15440);let T=(e,t)=>{let r,n,a,i=(0,y.c)(5);i[0]!==t?(r=void 0===t?{}:t,i[0]=t,i[1]=r):r=i[1];let o=((e=null,t={})=>{let[r,n]=(0,b.useState)(null),a=(null==e?void 0:e.id)??null;return(0,b.useEffect)(()=>{n(null)},[a]),(0,b.useEffect)(()=>{"u">typeof window&&"u">typeof window.storyblokRegisterEvent&&a&&(0,x.Kk)(a,e=>n(e),t)},[a,t]),r&&r.id===a?r:e})(void 0===e?null:e,r),[s,l]=(0,b.useState)(o);return i[2]!==o?(n=()=>{u(null==o?void 0:o.content).then(()=>{l({...o})})},a=[o],i[2]=o,i[3]=n,i[4]=a):(n=i[3],a=i[4]),(0,b.useEffect)(n,a),s}},78383:e=>{e.exports=function(){}},78440:(e,t,r)=>{"use strict";r.d(t,{N:()=>d});var n=r(6029),a=r(75155),i=r(38070),o=r(41834),s=r(69430),l=r(12645),c=r(5627),u=r(40439);let d=e=>{let t,r,d,p,f,m,g,v,y,b=(0,a.c)(30),{currentPath:x,currentLinkLabel:T,className:E,useLocalisedLabels:C}=e;b[0]!==x||b[1]!==C?(t=C?(0,u.ii)(x):null,b[0]=x,b[1]=C,b[2]=t):t=b[2];let w=t;b[3]!==x?(r={onError:e=>{(0,i.Oz)(e instanceof Error?e:Error("An unknown error occurred: ".concat(JSON.stringify(e))),500,{path:x,digest:"fetcher_BreadcrumbsByPath"})}},b[3]=x,b[4]=r):r=b[4];let{data:k,isLoading:S}=(0,s.u)(w,u.uo,r);e:{let e,t;b[5]!==x?(e=(0,u.vY)(x).filter(h),b[5]=x,b[6]=e):e=b[6];let r=e;if(!C||!S&&!k){d=r;break e}if(!k||k.length<1){d=void 0;break e}if(b[7]!==k||b[8]!==r){let e;b[10]!==r?(e=(e,t)=>{var n,a;return{href:e.href,label:null!=(n=e.label)?n:null==(a=r[t])?void 0:a.label}},b[10]=r,b[11]=e):e=b[11],t=k.map(e),b[7]=k,b[8]=r,b[9]=t}else t=b[9];d=t}let I=d,{locale:P,lottery:_}=(0,l.p)();if(b[12]!==T||b[13]!==S||b[14]!==P||b[15]!==_||b[16]!==I||b[17]!==C){v=Symbol.for("react.early_return_sentinel");t:{var R;let{home:e,back:t,shouldTitleCase:r,customLabelMappings:a}=(0,c.R)(P,_);f=t;let i=void 0!==r&&r;if(!(0,u.Lk)(null!=(R=null==I?void 0:I.length)?R:0,e)){v=null;break t}if(C&&(S||void 0===I)){let e;b[23]===Symbol.for("react.memo_cache_sentinel")?(e=(0,n.jsx)(o.rrI,{}),b[23]=e):e=b[23],v=e;break t}let s=(0,u.AV)({homeLabel:e,pathItems:null!=I?I:[],currentLinkLabel:T,shouldTitleCase:i,customLabelMappings:a});p=o.QpV,m=s,g=(0,u.AM)(T,i)}b[12]=T,b[13]=S,b[14]=P,b[15]=_,b[16]=I,b[17]=C,b[18]=p,b[19]=f,b[20]=m,b[21]=g,b[22]=v}else p=b[18],f=b[19],m=b[20],g=b[21],v=b[22];return v!==Symbol.for("react.early_return_sentinel")?v:(b[24]!==p||b[25]!==f||b[26]!==E||b[27]!==m||b[28]!==g?(y=(0,n.jsx)(p,{links:m,currentLinkLabel:g,backLabel:f,alwaysShowBackLink:!0,className:E}),b[24]=p,b[25]=f,b[26]=E,b[27]=m,b[28]=g,b[29]=y):y=b[29],y)};function h(e){return!(0,u.kI)(e.label)}},78509:e=>{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},79298:(e,t,r)=>{"use strict";var n=r(6536);function a(e){return Object.keys(e).sort().reduce(function(t,r){return t[r]=e[r],t},{})}var i={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:i._getHitsSearchParams(t)}
vendor: 4,990 bytes, line 1
1),t.getRefinedDisjunctiveFacets().forEach(function(n){r.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,n)})}),t.getRefinedHierarchicalFacets().forEach(function(n){var a=t.getHierarchicalFacetByName(n),o=t.getHierarchicalRefinement(n),s=t._getHierarchicalFacetSeparator(a);if(o.length>0&&o[0].split(s).length>1){var l=o[0].split(s).slice(0,-1).reduce(function(e,t,r){return e.concat({attribute:a.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(s)})},[]);l.forEach(function(n,o){var s=i._getDisjunctiveFacetSearchParams(t,n.attribute,0===o);function c(e){return a.attributes.some(function(t){return t===e.split(":")[0]})}var u=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var r=t.filter(function(e){return!c(e)});r.length>0&&e.push(r)}return"string"!=typeof t||c(t)||e.push(t),e},[]),d=l[o-1];o>0?s.facetFilters=u.concat(d.attribute+":"+d.value):u.length>0?s.facetFilters=u:delete s.facetFilters,r.push({indexName:e,params:s})})}}),r},_getCompositionQueries:function(e){return[{compositionID:e.index,requestBody:{params:i._getCompositionHitsSearchParams(e)}}]},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)).sort(),r=i._getFacetFilters(e),o=i._getNumericFilters(e),s=i._getTagFilters(e),l={};return t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o),a(n({},e.getQueryParams(),l))},_getCompositionHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets.map(function(t){return e.disjunctiveFacetsRefinements&&e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].length>0?"disjunctive("+t+")":t})).concat(i._getHitsHierarchicalFacetsAttributes(e)).sort(),r=i._getFacetFilters(e),o=i._getNumericFilters(e),s=i._getTagFilters(e),l={};t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o);var c=e.getQueryParams();return delete c.highlightPreTag,delete c.highlightPostTag,delete c.index,a(n({},c,l))},_getDisjunctiveFacetSearchParams:function(e,t,r){var o=i._getFacetFilters(e,t,r),s=i._getNumericFilters(e,t),l=i._getTagFilters(e),c={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};l.length>0&&(c.tagFilters=l);var u=e.getHierarchicalFacetByName(t);return u?c.facets=i._getDisjunctiveHierarchicalFacetAttribute(e,u,r):c.facets=t,s.length>0&&(c.numericFilters=s),o.length>0&&(c.facetFilters=o),a(n({},e.getQueryParams(),c))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach(function(n){var a=e.numericRefinements[n]||{};Object.keys(a).forEach(function(e){var i=a[e]||[];t!==n&&i.forEach(function(t){if(Array.isArray(t)){var a=t.map(function(t){return n+e+t});r.push(a)}else r.push(n+e+t)})})}),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],a=e.facetsRefinements||{};Object.keys(a).sort().forEach(function(e){(a[e]||[]).slice().sort().forEach(function(t){n.push(e+":"+t)})});var i=e.facetsExcludes||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).sort().forEach(function(t){n.push(e+":-"+t)})});var o=e.disjunctiveFacetsRefinements||{};Object.keys(o).sort().forEach(function(e){var r=o[e]||[];if(e!==t&&r&&0!==r.length){var a=[];r.slice().sort().forEach(function(t){a.push(e+":"+t)}),n.push(a)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(a){var i,o,l=(s[a]||[])[0];if(void 0!==l){var c=e.getHierarchicalFacetByName(a),u=e._getHierarchicalFacetSeparator(c),d=e._getHierarchicalRootPath(c);if(t===a){if(-1===l.indexOf(u)||!d&&!0===r||d&&d.split(u).length===l.split(u).length)return;d?(o=d.split(u).length-1,l=d):(o=l.split(u).length-2,l=l.slice(0,l.lastIndexOf(u))),i=c.attributes[o]}else o=l.split(u).length-1,i=c.attributes[o];i&&n.push([i+":"+l])}}),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var a=e._getHierarchicalFacetSeparator(r),i=n.split(a).length,o=r.attributes.slice(0,i+1);return t.concat(o)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var a=e._getHierarchicalRootPath(t),i=0;return a&&(i=a.split(n).length),[t.attributes[i]]}var o=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,o+1)},getSearchForFacetQuery:function(e,t,r,o){var s=o.isDisjunctiveFacet(e)?o.clearRefinements(e):o,l={facetQuery:t,facetName:e};return"number"==typeof r&&(l.maxFacetHits=r),a(n({},i._getHitsSearchParams(s),l))}};e.exports=i},80071:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEac
1h(function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])}),e},{})}},80095:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});var n=r(55729),a=(0,n.createContext)({countRef:{current:0},waitForResultsRef:null,resolveWaitForResultsRef:{current:null},ignoreMultipleHooksWarning:!1});function i(){return(0,n.useContext)(a)}},80510:(e,t,r)=>{"use strict";var n=r(3140),a=r(54913),i=r(16526),o=r(72206),s=n("%Map%",!0),l=a("Map.prototype.get",!0),c=a("Map.prototype.set",!0),u=a("Map.prototype.has",!0),d=a("Map.prototype.delete",!0),h=a("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+i(e))},delete:function(t){if(e){var r=d(e,t);return 0===h(e)&&(e=void 0),r}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,r){e||(e=new s),c(e,t,r)}};return t}},80656:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var a=0;a<t.length;a+=1)r[a+e.length]=t[a];return r},a=function(e,t){for(var r=[],n=t||0,a=0;n<e.length;n+=1,a+=1)r[a]=e[n];return r},i=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var o,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=a(arguments,1),c=r(0,s.length-l.length),u=[],d=0;d<c;d++)u[d]="$"+d;if(o=Function("binder","return function ("+i(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=s.apply(this,n(l,arguments));return Object(t)===t?t:this}return s.apply(e,n(l,arguments))}),s.prototype){var h=function(){};h.prototype=s.prototype,o.prototype=new h,h.prototype=null}return o}},81619:(e,t,r)=>{"use strict";r.d(t,{tH:()=>s});var n=r(55729);let a=(0,n.createContext)(null);function i({children:e,didCatch:t,error:r,resetErrorBoundary:o}){let s=(0,n.useMemo)(()=>({didCatch:t,error:r,resetErrorBoundary:o}),[t,r,o]);return(0,n.createElement)(a.Provider,{value:s},e)}let o={didCatch:!1,error:null};class s extends n.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=o}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){let{didCatch:t}=this.state;t&&(this.props.onReset?.({args:e,reason:"imperative-api"}),this.setState(o))}componentDidCatch(e,t){this.props.onError?.(e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:n}=this.props;r&&t.didCatch&&function(e=[],t=[]){return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,n)&&(this.props.onReset?.({next:n,prev:e.resetKeys,reason:"keys"}),this.setState(o))}render(){let{children:e,fallbackRender:t,FallbackComponent:r,fallback:a}=this.props,{didCatch:o,error:s}=this.state,l=e;if(o){let e={error:s,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)l=t(e);else if(r)l=(0,n.createElement)(r,e);else if("fallback"in this.props)l=a;else throw s}return(0,n.createElement)(i,{didCatch:o,error:s,resetErrorBoundary:this.resetErrorBoundary},l)}}},82203:(e,t,r)=>{e.exports=r(76916)},82473:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}},83460:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,L:()=>n});let n={xs:280,sm:640,md:768,lg:1024,xl:1280,"2xl":1536},a=n},83639:(e,t,r)=>{"use strict";var n=r(14274),a=r(72206),i=r(95185),o=r(95605);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new a("a function is required");return o(n,i,e)}},83650:(e,t,r)=>{"use strict";r.d(t,{I:()=>w});var n=r(6029),a=r(75155),i=r(74746),o=r(29829),s=r(11933),l=r(41834),c=r(32988),u=r.n(c),d=r(95669),h=r.n(d),p=r(87581),f=r(28563),m=r(43552),g=r.n(m),v=r(37664),y=r(55729);let b=e=>{let t,r,i=(0,a.c)(7),{items:o}=e,s=(()=>{let e,t,r=(0,a.c)(2),[n,i]=(0,y.useState)(null);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{var e;let t=()=>{var e;let t=null==(e=globalThis.window)?void 0:e.location.hash;if(!t)return;let r=t.substring(1).toLowerCase();i(r),setTimeout(()=>{let e=document.getElementById(r);null==e||e.scrollIntoView({block:"start"})},0)};return t(),null==(e=globalThis.window)||e.addEventListener("hashchange",t),()=>{var e;return null==(e=globalThis.window)?void 0:e.removeEventListener("hashchange",t)}},t=[],r[0]=e,r[1]=t):(e=r[0],t=r[1]),(0,y.useEffect)(e,t),n})();if(i[0]!==o||i[1]!==s){let e;i[3]!==s?(e=e=>{let{question:t,answer:r,anchorId:a,moreInformationLink:i,listFormat:o}=e,c=a||g()(t);return{label:t,open:s===c,content:(0,n.jsxs)("div",{id:c,className:"scroll-mt-[7.5rem]",children:[(0,n.jsx)(v.X,{content:r,listFormat:null!=o?o:""}),i&&(0,n.jsxs)(f.e,{className:"mt-3 md:w-full",href:i.href,children:[i.label,(0,n.jsx)(l.vKP,{})]})]})}},i[3]=s,i[4]=e):e=i[4],t=o.map(e),i[0]=o,i[1]=s,i[2]=t}else t=i[2];return i[5]!==t?(r=(0,n.jsx)(l.nD3,{items:t,iconPosition:"right"}),i[5]=t,i[6]=r):r=i[6],r},x=e=>{let t,r,i,c,d,f,m,g,v,y,x,E=(0,a.c)(36),{items:C,narrow:w,csModal:k,actionCardData:S,withSEOMetaData:I}
1=e,{isSmaller:P}=(0,o._X)();E[0]!==P?(t=P("lg"),E[0]=P,E[1]=t):t=E[1];let _=t;if(E[2]!==(null==S?void 0:S.image)){var R;r=null!=(R=null==S?void 0:S.image)?R:{},E[2]=null==S?void 0:S.image,E[3]=r}else r=E[3];let{filename:A,focus:N,alt:D}=r,O=void 0===A?"":A;E[4]!==N?(i="string"==typeof N&&N.trim().length>0,E[4]=N,E[5]=i):i=E[5];let j=i;E[6]!==O||E[7]!==N||E[8]!==j||E[9]!==_?(c=j?(0,p.gJ)({mobile:{filename:O,focus:N},desktop:{filename:O,focus:N},desktopLarge:{filename:O,focus:N}},_?300:600):{default:O},E[6]=O,E[7]=N,E[8]=j,E[9]=_,E[10]=c):c=E[10];let L=c,M=!w&&S;E[11]!==M?(d=u()("flex flex-col gap-4 md:gap-6",{"lg:flex-row lg:items-start":M}),E[11]=M,E[12]=d):d=E[12];let H=!w&&S||k,F=!k;return E[13]!==H||E[14]!==F?(f=u()("basis-full",{"lg:basis-2/3":H,"!basis-full":F}),E[13]=H,E[14]=F,E[15]=f):f=E[15],E[16]!==C?(m=(0,n.jsx)(b,{items:C}),E[16]=C,E[17]=m):m=E[17],E[18]!==C||E[19]!==I?(g=I&&C.length>0&&(0,n.jsx)(h(),{children:(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:C.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:(0,s.eA)(e.answer)}}))})}},"faqLdJson")}),E[18]=C,E[19]=I,E[20]=g):g=E[20],E[21]!==f||E[22]!==m||E[23]!==g?(v=(0,n.jsxs)("div",{className:f,children:[m,g]}),E[21]=f,E[22]=m,E[23]=g,E[24]=v):v=E[24],E[25]!==S||E[26]!==D||E[27]!==k||E[28]!==O||E[29]!==L||E[30]!==C?(y=S&&k&&(0,n.jsxs)(l.ZpM,{className:"h-auto basis-1/3",link:{href:S.link},children:[O&&(0,n.jsx)(l.VoS,{image:{alt:D,srcSet:L||{default:O}},height:T(C.length)}),(0,n.jsx)(l.ZBx,{children:S.title}),(0,n.jsx)(l.bwi,{children:(0,n.jsx)(l.fzL,{children:S.text})})]}),E[25]=S,E[26]=D,E[27]=k,E[28]=O,E[29]=L,E[30]=C,E[31]=y):y=E[31],E[32]!==v||E[33]!==y||E[34]!==d?(x=(0,n.jsxs)("div",{className:d,children:[v,y]}),E[32]=v,E[33]=y,E[34]=d,E[35]=x):x=E[35],x},T=e=>e>=8?"lg":e>=6?"md":"sm",E=e=>{let t,r,i,o,s,l,c,u=(0,a.c)(18);u[0]!==e?({groupedItems:t,...r}=e,u[0]=e,u[1]=t,u[2]=r):(t=u[1],r=u[2]);let[d,h]=(0,y.useState)(0);u[3]!==t?(i=Object.keys(t),u[3]=t,u[4]=i):i=u[4];let p=i;if(u[5]!==t||u[6]!==p||u[7]!==d){var f;o=null!=(f=t[p[d]])?f:[],u[5]=t,u[6]=p,u[7]=d,u[8]=o}else o=u[8];let m=o;return u[9]!==p||u[10]!==d?(s=(0,n.jsx)("div",{children:(0,n.jsx)(C,{labels:p,selectedLabelIndex:d,onLabelSelect:h})}),u[9]=p,u[10]=d,u[11]=s):s=u[11],u[12]!==m||u[13]!==r?(l=(0,n.jsx)("div",{children:(0,n.jsx)(x,{items:m,...r})}),u[12]=m,u[13]=r,u[14]=l):l=u[14],u[15]!==s||u[16]!==l?(c=(0,n.jsxs)(n.Fragment,{children:[s,l]}),u[15]=s,u[16]=l,u[17]=c):c=u[17],c},C=e=>{let t,r,i=(0,a.c)(9),{labels:o,selectedLabelIndex:s,onLabelSelect:c}=e;if(i[0]!==o||i[1]!==c||i[2]!==s){let e;i[4]!==c||i[5]!==s?(e=(e,t)=>(0,n.jsx)(l.g05,{id:"faq-label-pill-".concat(e),name:"faq-label-selector",value:e,checked:t===s,onCheckedChange:e=>{e&&c(t)},className:"text-ds-gray-7",children:(0,n.jsx)(l.AD3,{children:function(e){return"".concat(e[0].toUpperCase()).concat(e.slice(1).toLowerCase())}(e)})},e),i[4]=c,i[5]=s,i[6]=e):e=i[6],t=o.map(e),i[0]=o,i[1]=c,i[2]=s,i[3]=t}else t=i[3];return i[7]!==t?(r=(0,n.jsx)("div",{className:"flex min-w-max space-x-4 pb-3 pt-2 lg:pb-4",children:t}),i[7]=t,i[8]=r):r=i[8],r},w=e=>{let t,r,o,s,l,c,u,d,h,p,f=(0,a.c)(22);if(f[0]!==e){let{title:n,csModal:a,narrow:i,withSEOMetaData:h,actionCardData:p,anchorId:m,...g}=e;u=n,t=p,r=m,l=g,o=void 0===a||a,s=void 0!==i&&i,d=void 0===h||h,c=(e=>{if("groupedByLabels"===e.variant){let{groupedItems:t,variant:r,...n}=e;return n}let{items:t,variant:r,...n}=e;return n})(l),f[0]=e,f[1]=t,f[2]=r,f[3]=o,f[4]=s,f[5]=l,f[6]=c,f[7]=u,f[8]=d}else t=f[1],r=f[2],o=f[3],s=f[4],l=f[5],c=f[6],u=f[7],d=f[8];let m=c,g=null!=r?r:"";return f[9]!==t||f[10]!==o||f[11]!==s||f[12]!==l.groupedItems||f[13]!==l.items||f[14]!==l.variant||f[15]!==d?(h="manualEntry"===l.variant?(0,n.jsx)(x,{items:l.items,actionCardData:t,csModal:o,narrow:s,withSEOMetaData:d}):(0,n.jsx)(E,{groupedItems:l.groupedItems,actionCardData:t,csModal:o,narrow:s,withSEOMetaData:d}),f[9]=t,f[10]=o,f[11]=s,f[12]=l.groupedItems,f[13]=l.items,f[14]=l.variant,f[15]=d,f[16]=h):h=f[16],f[17]!==m||f[18]!==g||f[19]!==h||f[20]!==u?(p=(0,n.jsx)(i.d,{title:u,...m,anchorId:g,children:h}),f[17]=m,f[18]=g,f[19]=h,f[20]=u,f[21]=p):p=f[21],p}},83783:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},83999:(e,t,r)=>{"use strict";var n=r(5813),a=r(22299),i=r(29753),o=r(21385),s=r(91043);function l(e,t,r,a){return new n(e,t,r,a)}l.version=r(26602),l.AlgoliaSearchHelper=n,l.SearchParameters=o,l.RecommendParameters=a,l.SearchResults=s,l.RecommendResults=i,e.exports=l},84350:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return h},forbidden:function(){return l.forbidden},notFound:function(){return s.notFound},permanentRedirect:function(){return o.permanentRedirect},redirect:function(){return o.redirect},unauthorized:function(){return c.unauthorized},unstable_isUnrecognizedActionError:function(){return d},unstable_rethrow:function(){return u.unstable_rethrow}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let i=r(70459),o=r(9069),s=r(51879),l=r(95178),c=r(30763),u=r(31677);function d(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}let h={push:"push",replace:"replace"};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85397:(e,t,r)=>{"use strict";var n=r(72206),a=r(16526),i=r(19782),o=r(80510),s=r(35146)||o||i;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+(e&&Object(e)===e?"the given object key":a(e)))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=s()),e.set(t,r)}};return t}},85596:(e,t,r)=>{"use strict";var n=r(55729),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,o=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),a=n[0].inst,u=n[1];return s(function(){a.value=r,a.getSnapshot=t,c(a)&&u({inst:a})},[e,r,t]),o(function(){return c(a)&&u({inst:a}),e(function(){c(a)&&u({inst:a})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},85761:(e,t,r)=>{"use strict";var n=r(85397),a=r(24245),i=r(32236),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,h=i.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:a.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f={},m=function e(t,r,i,o,s,c,d,h,m,g,v,y,b,x,T,E,C,w){for(var k,S,I=t,P=w,_=0,R=!1;void 0!==(P=P.get(f))&&!R;){var A=P.get(t);if(_+=1,void 0!==A)if(A===_)throw RangeError("Cyclic object value");else R=!0;void 0===P.get(f)&&(_=0)}if("function"==typeof g?I=g(r,I):I instanceof Date?I=b(I):"comma"===i&&l(I)&&(I=a.maybeMap(I,function(e){return e instanceof Date?b(e):e})),null===I){if(c)return T(m&&!E?m(r,p.encoder,C,"key",x):r);I=""}if("string"==typeof(k=I)||"number"==typeof k||"boolean"==typeof k||"symbol"==typeof k||"bigint"==typeof k||a.isBuffer(I))return m?[T(E?r:m(r,p.encoder,C,"key",x))+"="+T(m(I,p.encoder,C,"value",x))]:[T(r)+"="+T(String(I))];var N=[];if(void 0===I)return N;if("comma"===i&&l(I))E&&m&&(I=a.maybeMap(I,function(e){return null==e?e:m(e)})),S=[{value:I.length>0?I.join(",")||null:void 0}];else if(l(g))S=g;else{var D=Object.keys(I);S=v?D.sort(v):D}var O=h?String(r).replace(/\./g,"%2E"):String(r),j=o&&l(I)&&1===I.length?O+"[]":O;if(s&&l(I)&&0===I.length)return j+"[]";for(var L=0;L<S.length;++L){var M=S[L],H="object"==typeof M&&M&&void 0!==M.value?M.value:I[M];if(!d||null!==H){var F=y&&h?String(M).replace(/\./g,"%2E"):String(M),q=l(I)?"function"==typeof i?i(j,F):j:j+(y?"."+F:"["+F+"]");w.set(t,_);var B=n();B.set(f,w),u(N,e(H,q,i,o,s,c,d,h,"comma"===i&&E&&l(I)?null:m,g,v,y,b,x,T,E,
1C,B))}}return N},g=function(e){if(!e)return p;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!o.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");n=e.format}var a=i.formatters[n],c=p.filter;if(("function"==typeof e.filter||l(e.filter))&&(c=e.filter),t=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||p.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:t,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:c,format:n,formatter:a,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var r,a=e,i=g(t);"function"==typeof i.filter?a=(0,i.filter)("",a):l(i.filter)&&(r=i.filter);var o=[];if("object"!=typeof a||null===a)return"";var c=s[i.arrayFormat],d="comma"===c&&i.commaRoundTrip;r||(r=Object.keys(a)),i.sort&&r.sort(i.sort);for(var h=n(),p=0;p<r.length;++p){var f=r[p];if(null!=f){var v=a[f];i.skipNulls&&null===v||u(o,m(v,f,c,d,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,h))}}var y=o.join(i.delimiter),b=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?b+="utf8=%26%2310003%3B"+i.delimiter:b+="utf8=%E2%9C%93"+i.delimiter),y.length>0?b+y:""}},85897:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(99649),a=r(92424),i=function(e,t){t.facets,t.disjunctiveFacets,t.facetsRefinements,t.facetsExcludes,t.disjunctiveFacetsRefinements,t.numericRefinements,t.tagRefinements,t.hierarchicalFacets,t.hierarchicalFacetsRefinements,t.ruleContexts;var r=(0,a._)(t,["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"]);return e.setQueryParameters(r)},o=function(e,t){var r=[].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean).filter(function(e,t,r){return r.indexOf(e)===t});return r.length>0?e.setQueryParameters({ruleContexts:r}):e},s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){var r,a,s,l,c,u,d,h;return i((h=o((r=e.setQueryParameters({hierarchicalFacetsRefinements:(0,n._)({},e.hierarchicalFacetsRefinements,t.hierarchicalFacetsRefinements)}),a=r.setQueryParameters({hierarchicalFacets:t.hierarchicalFacets.reduce(function(e,t){var r=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}(e,function(e){return e.name===t.name});if(-1===r)return e.concat(t);var n=e.slice();return n.splice(r,1,t),n},r.hierarchicalFacets)}),s=t.tagRefinements.reduce(function(e,t){return e.addTagRefinement(t)},a),l=s.setQueryParameters({numericRefinements:(0,n._)({},s.numericRefinements,t.numericRefinements)}),c=l.setQueryParameters({disjunctiveFacetsRefinements:(0,n._)({},l.disjunctiveFacetsRefinements,t.disjunctiveFacetsRefinements)}),u=c.setQueryParameters({facetsExcludes:(0,n._)({},c.facetsExcludes,t.facetsExcludes)}),d=u.setQueryParameters({facetsRefinements:(0,n._)({},u.facetsRefinements,t.facetsRefinements)}),t.disjunctiveFacets.reduce(function(e,t){return e.addDisjunctiveFacet(t)},d)),t),t.facets.reduce(function(e,t){return e.addFacet(t)},h)),t)})}},86973:()=>{},87581:(e,t,r)=>{"use strict";r.d(t,{FB:()=>o,HQ:()=>n,gJ:()=>a,o5:()=>c,xG:()=>u});let n=400,a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,{mobile:r,desktop:n,desktopLarge:a}=o(e);return r.src||n.src||a.src?i({mobile:r,desktop:n,desktopLarge:a},t):{default:""}},i=function(e){var t,r;let n,{mobile:a,desktop:i,desktopLarge:o}=e,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=(n=l(t=a,768,r="number"==typeof s?s:s.mobile),"".concat(t.src).concat(n).concat(n?", "+t.src+l(t,1536,2*r)+" 2x":""));return Object.entries({md:i.src+l(i,1280,"number"==typeof s?s:s.desktop),xl:o.src+l(o,2500,"number"==typeof s?s:s.desktopLarge)}).filter(e=>{let[t,r]=e;return r!==c}).reduce((e,t)=>
1{let[r,n]=t;return{...e,[r]:n}},{default:c})},o=e=>{let t=t=>{for(let n of t){var r;if(null==(r=e[n])?void 0:r.filename)return{src:e[n].filename.replace(/\/m\/?$|\/m$/,""),focus:e[n].focus}}return{src:"",focus:""}},r=t(["mobile","desktop","desktopLarge"]);return{mobile:r,desktop:t(["desktop","desktopLarge","mobile"]),desktopLarge:t(["desktopLarge","desktop","mobile"])}},s=/^(https:\/\/a\.storyblok\.com)?\/f\/\d+\//,l=(e,t,r)=>{let{src:n,focus:a}=e,i=s.test(n),o=n.endsWith(".svg/m/")||n.endsWith(".svg");if(!i||o)return"";let l=n.endsWith("/m/")?"".concat(t,"x").concat(r):"/m/".concat(t,"x").concat(r);return"".concat(l).concat("/filters:quality(90)").concat(a?":focal(".concat(a,")"):"")},c=(e,t,r)=>{if(/\/\d+x\d+\//.test(e))return e;let n=l({src:null!=e?e:""},t,r);return"".concat(e).concat(n)},u=(e,t,r)=>{let{src:n}=e,a=l(e,null!=t?t:0,null!=r?r:0);return"".concat(n).concat(a)}},88454:(e,t,r)=>{"use strict";r.d(t,{d:()=>a});var n=r(15440);let a=e=>null!=e&&"object"==typeof e&&"component"in e&&"string"==typeof e.component&&"_uid"in e&&"string"==typeof e._uid?(0,n.K1)(e):{}},88702:(e,t,r)=>{"use strict";r.d(t,{E:()=>u});var n=r(75155),a=r(12645),i=r(21091),o=r(18794),s=r(51652);let l=e=>"string"==typeof e?e:void 0,c=e=>{var t,r,n,a,s;if("Link"===e.component){let t=(0,i.M)(e);return{name:null!=(r=null==t?void 0:t.label)?r:"",link:null==t?void 0:t.href}}return"LinkWithIcon"===e.component?{name:null!=(n=e.label)?n:"",link:(0,o.n)(e.link),icon:l(e.icon)}:"LinkWithLabel"===e.component?{name:null!=(a=e.label)?a:"",link:(0,o.n)(e.link),icon:e.icon?l(e.icon):"",iconLabel:null!=(s=e.iconLabel)?s:""}:{name:null!=(t=e.label)?t:"",icon:l(e.icon),subMenuItems:e.subMenuItems.map(e=>{var t,r;if("Link"===e.component){let t=(0,i.M)(e);return{name:null!=(r=null==t?void 0:t.label)?r:"",link:null==t?void 0:t.href}}return{name:null!=(t=e.label)?t:"",link:(0,o.n)(e.link),icon:"LinkWithIcon"===e.component||"LinkWithLabel"===e.component?l(e.icon):void 0,iconLabel:"LinkWithLabel"===e.component?e.iconLabel:void 0}})}},u=()=>{var e,t,r,l,u,d;let h,p,f,m,g,v,y,b,x=(0,n.c)(33),T=(0,s.q)(),{locale:E,lottery:C}=(0,a.p)(),w=T.mainNav[0],k=T.footer[0];x[0]!==w.items?(h=w.items.map(c),x[0]=w.items,x[1]=h):h=x[1];let S=h,I=T.logo,P=T.logoHref,_=null==T||null==(t=T.stickyFooter)?void 0:t[0];x[2]!==_?(p=(e=>{var t,r;if(!e)return;let n=(null!=(t=e.uniqueSellingPointsSection)?t:[]).map(e=>{var t,r;return{uniqueSellingPoints:(null!=(t=e.uniqueSellingPoints)?t:[]).map(e=>({UniqueSellingPoint:e.text})),trustMarks:(null!=(r=e.trustMarks)?r:[]).map(e=>{var t,r,n,a,o;return{image:{filename:null!=(t=null==(a=e.image)?void 0:a.filename)?t:"",alt:null!=(r=null==(o=e.image)?void 0:o.alt)?r:""},linkSection:(null!=(n=e.linkSection)?n:[]).map(i.M).filter(e=>!!e).map(e=>({label:e.label,link:{url:e.href}}))}})}}),a=(0,i.M)(e.callToAction[0]),o=null!=(r=e.hideOnDesktop)&&r;return{uniqueSellingPointsSection:n,callToAction:a?[{label:a.label,link:{url:a.href}}]:[],hideOnDesktop:o}})(_),x[2]=_,x[3]=p):p=x[3];let R=p;x[4]!==C?(f="ppl"===C?[{label:"Refer a friend",link:{url:"https://www.postcodelottery.co.uk/refer-a-friend?situation=web-nav-button"},icon:"GiftIcon",iconLabel:"Earn up to \xa375 in gift cards"}]:[],x[4]=C,x[5]=f):f=x[5];let A=f,N=T.withCtaInTopNav,D=T.withFixedTopNav,O=I.filename;x[6]!==P?(m=(0,o.n)(P),x[6]=P,x[7]=m):m=x[7];let j=I.alt,L=null==(r=w.salesFlowLink)?void 0:r[0],M=null==(u=w.salesFlowLink)||null==(l=u[0])?void 0:l.withAnalytics;x[8]!==E||x[9]!==C?(g=((e,t)=>{switch("".concat(t,"_").concat(e)){case"npl_nl-NL":case"vl_nl-NL":return;case"dpl_de-DE":return"/anmelden";case"spl_sv-SE":return"/lotteriet/kop-lotter?spl_source=main_menu";case"nopl_no-NO":return"https://www.postkodelotteriet.no/lotteriet/kjop-lodd.html";case"ppl_en-GB":return"https://www.postcodelottery.co.uk/play";case"cpl_en-CA":return"https://at.salesflow.postcodelottery.ca/play/step1";default:throw Error("Unknown locale: ".concat(e," and/or unknown lottery: ").concat(t))}})(E,C),x[8]=E,x[9]=C,x[10]=g):g=x[10],x[11]!==g||x[12]!==L||x[13]!==M?(v={...L,withAnalytics:M,link:g},x[11]=g,x[12]=L,x[13]=M,x[14]=v):v=x[14];let H=null==(d=w.myAccountFavouritesLink)?void 0:d[0],F=w.myAccountLink&&w.myAccountLink[0],q=w.myAccountIsLoggedInLink&&w.myAccountIsLoggedInLink[0],B=null==(e=w.isSearchEnabled)||e,U=!!w.isTopNavAlwaysVisible;return x[15]!==A||x[16]!==I.alt||x[17]!==I.filename||x[18]!==S||x[19]!==T.withCtaInTopNav||x[20]!==T.withFixedTopNav||x[21]!==v||x[22]!==H||x[23]!==F||x[24]!==q||x[25]!==B||x[26]!==U||x[27]!==m?(y={withCta:N,isFixed:D,additionalMobileLinks:A,items:S,logo:O,logoHref:m,logoAltText:j,salesFlowLink:v,myAccountFavouritesLink:H,myAccountLink:F,myAccountIsLoggedInLink:q,isSearchEnabled:B,isTopNavAlwaysVisible:U},x[15]=A,x[16]=I.alt,x[17]=I.filename,x[18]=S,x[19]=T.withCtaInTopNav,x[20]=T.withFixedTopNav,x[21]=v,x[22]=H,x[23]=F,x[24]=q,x[25]=B,x[26]=U,x[27]=m,x[28]=y):y=x[28],x[29]!==k||x[30]!==R||x[31]!==y?(b={to
1pNav:y,footer:k,stickyFooter:R},x[29]=k,x[30]=R,x[31]=y,x[32]=b):b=x[32],b}},89298:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}},89663:(e,t,r)=>{"use strict";function n(e){return btoa(encodeURIComponent(JSON.stringify(e)))}r.d(t,{h:()=>n})},89736:(e,t,r)=>{"use strict";r.d(t,{E:()=>l,F:()=>i,I:()=>R,M:()=>s,O:()=>p,R:()=>o,S:()=>Z,U:()=>h,a:()=>u,b:()=>v,c:()=>w,d:()=>$,e:()=>m,f:()=>U,g:()=>B,h:()=>c,i:()=>f,j:()=>_,m:()=>g,n:()=>d,o:()=>G,p:()=>T,q:()=>K,r:()=>A,s:()=>F,t:()=>Q,u:()=>N});var n=r(55729),a=Object.prototype.hasOwnProperty;let i=0,o=1,s=2,l=3,c=4,u=new WeakMap,d=()=>{},h=d(),p=Object,f=e=>e===h,m=e=>"function"==typeof e,g=(e,t)=>({...e,...t}),v=e=>m(e.then),y={},b={},x="undefined",T=typeof window!=x,E=typeof document!=x,C=T&&"Deno"in window,w=(e,t)=>{let r=u.get(e);return[()=>!f(t)&&e.get(t)||y,n=>{if(!f(t)){let a=e.get(t);t in b||(b[t]=a),r[5](t,g(a,n),a||y)}},r[6],()=>!f(t)&&t in b?b[t]:!f(t)&&e.get(t)||y]},k=!0,[S,I]=T&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[d,d],P={initFocus:e=>(E&&document.addEventListener("visibilitychange",e),S("focus",e),()=>{E&&document.removeEventListener("visibilitychange",e),I("focus",e)}),initReconnect:e=>{let t=()=>{k=!0,e()},r=()=>{k=!1};return S("online",t),S("offline",r),()=>{I("online",t),I("offline",r)}}},_=!n.useId,R=!T||C,A=e=>T&&typeof window.requestAnimationFrame!=x?window.requestAnimationFrame(e):setTimeout(e,1),N=R?n.useEffect:n.useLayoutEffect,D="u">typeof navigator&&navigator.connection,O=!R&&D&&(["slow-2g","2g"].includes(D.effectiveType)||D.saveData),j=new WeakMap,L=(e,t)=>e===`[object ${t}]`,M=0,H=e=>{let t,r,n=typeof e,a=p.prototype.toString.call(e),i=L(a,"Date"),o=L(a,"RegExp"),s=L(a,"Object");if(p(e)!==e||i||o)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=j.get(e))return t;if(t=++M+"~",j.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=H(e[r])+",";j.set(e,t)}if(s){t="#";let n=p.keys(e).sort();for(;!f(r=n.pop());)f(e[r])||(t+=r+":"+H(e[r])+",");j.set(e,t)}}return t},F=e=>{if(m(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?H(e):"",t]},q=0,B=()=>++q;async function U(...e){let[t,r,n,a]=e,i=g({populateCache:!0,throwOnError:!0},"boolean"==typeof a?{revalidate:a}:a||{}),o=i.populateCache,l=i.rollbackOnError,c=i.optimisticData,d=i.throwOnError;if(m(r)){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(p))}return p(r);async function p(r){let a,[p]=F(r);if(!p)return;let[g,y]=w(t,p),[b,x,T,E]=u.get(t),C=()=>{let e=b[p];return(m(i.revalidate)?i.revalidate(g().data,r):!1!==i.revalidate)&&(delete T[p],delete E[p],e&&e[0])?e[0](s).then(()=>g().data):g().data};if(e.length<3)return C();let k=n,S=!1,I=B();x[p]=[I,0];let P=!f(c),_=g(),R=_.data,A=_._c,N=f(A)?R:A;if(P&&y({data:c=m(c)?c(N,R):c,_c:N}),m(k))try{k=k(N)}catch(e){a=e,S=!0}if(k&&v(k)){let e;if(k=await k.catch(e=>{a=e,S=!0}),I!==x[p][0]){if(S)throw a;return k}S&&P&&(e=a,"function"==typeof l?l(e):!1!==l)&&(o=!0,y({data:N,_c:h}))}if(o&&!S&&(m(o)?y({data:o(k,N),error:h,_c:h}):y({data:k,error:h,_c:h})),x[p][1]=B(),Promise.resolve(C()).then(()=>{y({_c:h})}),S){if(d)throw a;return}return k}}let W=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},V=(e,t)=>{if(!u.has(e)){let r=g(P,t),n=Object.create(null),a=U.bind(h,e),s=d,l=Object.create(null),p=(e,t)=>{let r=l[e]||[];return l[e]=r,r.push(t),()=>{let e=r.indexOf(t);e>=0&&(r[e]=r[r.length-1],r.pop())}},f=(t,r,n)=>{e.set(t,r);let a=l[t];if(a)for(let e of a)e(r,n)},m=t=>{let r=u.get(e),[,a,i,o]=r,s=B();for(let e in r[8]++,i)delete i[e];for(let e in o)delete o[e];for(let e in a)a[e]=[s,s];let d={};for(let t of[...e.keys()]){let r=e.get(t);e.delete(t);let n=l[t];if(n)for(let e of n)e(d,r)}let h=!t||!1!==t.revalidate;for(let e in n){let t=n[e];for(let e=0;e<t.length;e++)t[e](c,{revalidate:h&&!e})}},v=()=>{if(!u.has(e)&&(u.set(e,[n,Object.create(null),Object.create(null),Object.create(null),a,f,p,m,0]),!R)){let t=r.initFocus(setTimeout.bind(h,W.bind(h,n,i))),a=r.initReconnect(setTimeout.bind(h,W.bind(h,n,o)));s=()=>{t&&t(),a&&a(),u.delete(e)}}};return v(),[e,a,v,s,m]}let r=u.get(e);return[e,r[4],h,h,r[7]]},[G,z,,,Y]=V(new Map),$=g({onLoadingSlow:d,onSuccess:d,onError:d,onErrorRetry:(e,t,r,n,a)=>{let i=r.errorRetryCount,o=a.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;(f(i)||!(o>i))&&setTimeout(n,s,a)},onDiscarded:d,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:O?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:O?5e3:3e3,compare:function e(t,r){var n,i;if(t===r)return!0;
1if(t&&r&&(n=t.constructor)===r.constructor){if(n===Date)return t.getTime()===r.getTime();if(n===RegExp)return t.toString()===r.toString();if(n===Array){if((i=t.length)===r.length)for(;i--&&e(t[i],r[i]););return -1===i}if(!n||"object"==typeof t){for(n in i=0,t)if(a.call(t,n)&&++i&&!a.call(r,n)||!(n in r)||!e(t[n],r[n]))return!1;return Object.keys(r).length===i}}return t!=t&&r!=r},isPaused:()=>!1,cache:G,mutate:z,unload:Y,fallback:{}},{isOnline:()=>k,isVisible:()=>{let e=E&&document.visibilityState;return f(e)||"hidden"!==e}}),Q=(e,t)=>{let r=g(e,t);if(t){let{use:n,fallback:a,cacheData:i}=e,{use:o,fallback:s,cacheData:l}=t;n&&o&&(r.use=n.concat(o)),a&&s&&(r.fallback=g(a,s)),i&&l&&(r.cacheData=g(i,l))}return r},K=(0,n.createContext)({}),Z=e=>{let{value:t}=e,r=(0,n.useContext)(K),a=m(t),i=(0,n.useMemo)(()=>a?t(r):t,[a,r,t]),o=(0,n.useMemo)(()=>a?i:Q(r,i),[a,r,i]),s=i&&i.provider,l=(0,n.useRef)(h);s&&!l.current&&(l.current=V(s(o.cache||G),i));let c=l.current;return c&&(o.cache=c[0],o.mutate=c[1],o.unload=c[4]),N(()=>{if(c)return c[2]&&c[2](),c[3]},[]),(0,n.createElement)(K.Provider,g(e,{value:o}))}},89777:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},l={default:()=>h};for(var c in l)n(s,c,{get:l[c],enumerable:!0});e.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))o.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);var u=r(46773),d=r(76599),h=[{key:"youtube",name:"YouTube",canPlay:d.canPlay.youtube,lazyPlayer:(0,u.lazy)(()=>r.e(8446).then(r.t.bind(r,12372,23)))},{key:"soundcloud",name:"SoundCloud",canPlay:d.canPlay.soundcloud,lazyPlayer:(0,u.lazy)(()=>r.e(9979).then(r.t.bind(r,14083,23)))},{key:"vimeo",name:"Vimeo",canPlay:d.canPlay.vimeo,lazyPlayer:(0,u.lazy)(()=>r.e(6173).then(r.t.bind(r,35009,23)))},{key:"mux",name:"Mux",canPlay:d.canPlay.mux,lazyPlayer:(0,u.lazy)(()=>r.e(2723).then(r.t.bind(r,74243,23)))},{key:"facebook",name:"Facebook",canPlay:d.canPlay.facebook,lazyPlayer:(0,u.lazy)(()=>r.e(6887).then(r.t.bind(r,82103,23)))},{key:"streamable",name:"Streamable",canPlay:d.canPlay.streamable,lazyPlayer:(0,u.lazy)(()=>r.e(7627).then(r.t.bind(r,10155,23)))},{key:"wistia",name:"Wistia",canPlay:d.canPlay.wistia,lazyPlayer:(0,u.lazy)(()=>r.e(9340).then(r.t.bind(r,29190,23)))},{key:"twitch",name:"Twitch",canPlay:d.canPlay.twitch,lazyPlayer:(0,u.lazy)(()=>r.e(2042).then(r.t.bind(r,32528,23)))},{key:"dailymotion",name:"DailyMotion",canPlay:d.canPlay.dailymotion,lazyPlayer:(0,u.lazy)(()=>r.e(6328).then(r.t.bind(r,78858,23)))},{key:"mixcloud",name:"Mixcloud",canPlay:d.canPlay.mixcloud,lazyPlayer:(0,u.lazy)(()=>r.e(7570).then(r.t.bind(r,55912,23)))},{key:"vidyard",name:"Vidyard",canPlay:d.canPlay.vidyard,lazyPlayer:(0,u.lazy)(()=>r.e(3392).then(r.t.bind(r,74802,23)))},{key:"kaltura",name:"Kaltura",canPlay:d.canPlay.kaltura,lazyPlayer:(0,u.lazy)(()=>r.e(6463).then(r.t.bind(r,13695,23)))},{key:"file",name:"FilePlayer",canPlay:d.canPlay.file,canEnablePIP:e=>d.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,u.supportsWebKitPresentationMode)())&&!d.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,u.lazy)(()=>r.e(7458).then(r.t.bind(r,95880,23)))}]},90510:e=>{e.exports={"markdown-container":"markdown_markdown-container__FOvg9","table-wrapper":"markdown_table-wrapper__hHDjG"}},90590:e=>{"use strict";e.exports=function(e,t){return e.filter(function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n})}},90750:(e,t,r)=>{"use strict";r.d(t,{JJ:()=>l,Lt:()=>c});var n=r(44160),a=r(23051),i=r(11933),o=r(18794);let s={"en-GB":{currency:"GBP",raisedLabel:"raised"},"nl-NL":{currency:"EUR",raisedLabel:"opgehaald"},"de-DE":{currency:"EUR",raisedLabel:"gesammelt"},"sv-SE":{currency:"SEK",raisedLabel:"insamlat"},"no-NO":{currency:"NOK",raisedLabel:"samlet inn"},"en-CA":{currency:"CAD",raisedLabel:"raised"},"fr-CA":{currency:"CAD",raisedLabel:"collect\xe9"}},l=(e,t)=>
1{var r,n,a,l;return{label:((e,t)=>{var r;let{currency:n,raisedLabel:a}=null!=(r=s[t])?r:{currency:"GBP",raisedLabel:"raised"};return"".concat((0,i.ML)(Number(e),t,n)," ").concat(a)})(e.content.amountRaised,t),src:null!=(r=null==(a=e.content.charityLogo)?void 0:a.filename)?r:"",alt:null!=(n=(null==(l=e.content.charityLogo)?void 0:l.alt)||e.content.title)?n:"",key:e.uuid,link:(0,o.n)(e.content.charityUrl)}},c=async e=>{let t={starts_with:"groupwebsite-".concat(e.lottery,"/_configuration/charities/"),filter_query:{component:{is:n.T6.Charity}}},{stories:r}=await (0,a.$h)({params:t,ensureLatestVersion:!0,errorDigest:"fetch_charities_error"});return r}},90800:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(6029),a=r(75155),i=r(32988),o=r.n(i),s=r(47175);let l=e=>{let t,r,i,l,c,u,d,h,p,f,m,g,v,y,b,x=(0,a.c)(31);x[0]!==e?({children:t,className:r,testId:c,disabled:u,href:i,target:d,horizontal:h,selected:p,selectable:f,dataPlgType:m,...l}=e,x[0]=e,x[1]=t,x[2]=r,x[3]=i,x[4]=l,x[5]=c,x[6]=u,x[7]=d,x[8]=h,x[9]=p,x[10]=f,x[11]=m):(t=x[1],r=x[2],i=x[3],l=x[4],c=x[5],u=x[6],d=x[7],h=x[8],p=x[9],f=x[10],m=x[11]);let T=void 0===c?"Card":c,E=void 0!==u&&u,C=void 0===d?"_self":d,w=void 0!==h&&h,k=void 0!==p&&p,S=void 0!==f&&f,I=void 0===m?"card":m;x[12]!==l?({as:v,...g}=l,x[12]=l,x[13]=g,x[14]=v):(g=x[13],v=x[14]);let P=void 0===v?"div":v;x[15]!==r||x[16]!==E||x[17]!==w||x[18]!==i||x[19]!==S||x[20]!==k?(y=o()("relative flex rounded-card-border-radius-outer shadow-card-primary-shadow",{"border border-card-border-width border-card-border-color bg-card-bg-color":!k,"border-card-border-width-selected border-card-border-color-selected bg-card-bg-color-selected":k},{"flex-col":!w,"flex-row":w,"bg-card-bg-color-disabled":E,"cursor-pointer hover:border-card-border-color-hover hover:shadow-card-primary-shadow-hover active:shadow-none":i||S},r),x[15]=r,x[16]=E,x[17]=w,x[18]=i,x[19]=S,x[20]=k,x[21]=y):y=x[21];let _=y;return x[22]!==P||x[23]!==_||x[24]!==t||x[25]!==I||x[26]!==i||x[27]!==g||x[28]!==C||x[29]!==T?(b=i?(0,n.jsx)(s.a,{className:_,"data-testid":T,"data-plg-type":I,href:i,target:C,...g,children:t}):(0,n.jsx)(P,{className:_,"data-testid":T,"data-plg-type":I,...g,children:t}),x[22]=P,x[23]=_,x[24]=t,x[25]=I,x[26]=i,x[27]=g,x[28]=C,x[29]=T,x[30]=b):b=x[30],b}},91043:(e,t,r)=>{"use strict";var n=r(4085),a=r(26104),i=r(50615),o=r(69299),s=r(82473),l=r(69179),c=r(65447),u=r(12481),d=i.escapeFacetValue,h=i.unescapeFacetValue,p=r(54495);function f(e){var t={};return e.forEach(function(e,r){t[e]=r}),t}function m(e,t,r){t&&t[r]&&(e.stats=t[r])}function g(e,t,r){var i=t[0]||{};this._rawResults=t;var l=this;
1Object.keys(i).forEach(function(e){l[e]=i[e]});var u=a(r,{persistHierarchicalRootCount:!1});Object.keys(u).forEach(function(e){l[e]=u[e]}),this.processingTimeMS=t.reduce(function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map(function(){return[]}),this.facets=[];var d=e.getRefinedDisjunctiveFacets(),g=f(e.facets),v=f(e.disjunctiveFacets),y=1,b=i.facets||{};Object.keys(b).forEach(function(t){var r=b[t],n=(u=e.hierarchicalFacets,o(u,function(e){return(e.attributes||[]).indexOf(t)>-1}));if(n){var a=n.attributes.indexOf(t),c=s(e.hierarchicalFacets,function(e){return e.name===n.name});l.hierarchicalFacets[c][a]={attribute:t,data:r,exhaustive:i.exhaustiveFacetsCount}}else{var u,d,h=-1!==e.disjunctiveFacets.indexOf(t),p=-1!==e.facets.indexOf(t);h&&(d=v[t],l.disjunctiveFacets[d]={name:t,data:r,exhaustive:i.exhaustiveFacetsCount},m(l.disjunctiveFacets[d],i.facets_stats,t)),p&&(d=g[t],l.facets[d]={name:t,data:r,exhaustive:i.exhaustiveFacetsCount},m(l.facets[d],i.facets_stats,t))}}),this.hierarchicalFacets=n(this.hierarchicalFacets),d.forEach(function(r){var n=t[y],o=n&&n.facets?n.facets:{},u=e.getHierarchicalFacetByName(r);Object.keys(o).forEach(function(t){var r,d=o[t];if(u){r=s(e.hierarchicalFacets,function(e){return e.name===u.name});var p=s(l.hierarchicalFacets[r],function(e){return e.attribute===t});if(-1===p)return;l.hierarchicalFacets[r][p].data=l.persistHierarchicalRootCount?c(l.hierarchicalFacets[r][p].data,d):a(d,l.hierarchicalFacets[r][p].data)}else{r=v[t];var f=i.facets&&i.facets[t]||{};l.disjunctiveFacets[r]={name:t,data:c(f,d),exhaustive:n.exhaustiveFacetsCount},m(l.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(n){!l.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(h(n))>-1&&(l.disjunctiveFacets[r].data[n]=0)})}}),y++}),e.getRefinedHierarchicalFacets().forEach(function(r){var n=e.getHierarchicalFacetByName(r),i=e._getHierarchicalFacetSeparator(n),o=e.getHierarchicalRefinement(r);0===o.length||o[0].split(i).length<2||t.slice(y).forEach(function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach(function(t){var c=r[t],u=s(e.hierarchicalFacets,function(e){return e.name===n.name}),d=s(l.hierarchicalFacets[u],function(e){return e.attribute===t});if(-1!==d){var h={};if(o.length>0&&!l.persistHierarchicalRootCount){var p=o[0].split(i)[0];h[p]=l.hierarchicalFacets[u][d].data[p]}l.hierarchicalFacets[u][d].data=a(h,c,l.hierarchicalFacets[u][d].data)}}),y++})}),Object.keys(e.facetsExcludes).forEach(function(t){var r=e.facetsExcludes[t],n=g[t];l.facets[n]={name:t,data:b[t],exhaustive:i.exhaustiveFacetsCount},r.forEach(function(e){l.facets[n]=l.facets[n]||{name:t},l.facets[n].data=l.facets[n].data||{},l.facets[n].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(p(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function v(e,t){var r=o(e,function(e){return e.name===t});return r&&r.stats}function y(e,t,r,n,a){var i=o(a,function(e){return e.name===r}),s=i&&i.data&&i.data[n]?i.data[n]:0;return{type:t,attributeName:r,name:n,count:s,exhaustive:i&&i.exhaustive||!1}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return o(this.facets,t)||o(this.disjunctiveFacets,t)||o(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var r,n=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=o(e.facets,r);return n?Object.keys(n.data).map(function(r){var a=d(r);return{name:r,escapedValue:a,count:n.data[r],isRefined:e._state.isFacetRefined(t,a),isExcluded:e._state.isExcludeRefined(t,r)}}):[]}if(e._state.isDisjunctiveFacet(t)){var a=o(e.disjunctiveFacets,r);return a?Object.keys(a.data).map(function(r){var n=d(r);return{name:r,escapedValue:n,count:a.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}}):[]}if(e._state.isHierarchicalFacet(t)){var i=o(e.hierarchicalFacets,r);if(!i)return i;var s=e._state.getHierarchicalFacetByName(t),l=e._state._getHierarchicalFacetSeparator(s),c=h(e._state.getHierarchicalRefinement(t)[0]||"");0===c.indexOf(s.rootPath)&&(c=c.replace(s.rootPath+l,""));var u=c.split(l);return u.unshift(t),function e(t,r,n){t.isRefined=t.name===(r[n]&&r[n].trim()),t.data&&t.data.forEach(function(t){e(t,r,n+1)})}(i,u,0),i}}(this,e);if(n){var i=a(t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return r=Array.isArray(n)?[e]:s._state.getHierarchicalFacetByName(n.name).attributes,function e(t,r,n,i){if(i=i||0,Array.isArray(r))return t(r,n[i]);if(!r.data||0===r.data.length)return r;var o=r.data.map(function(r){return e(t,r,n,i+1)});return a({data:t(o,n[i])},r)}(function(e,t){var r,n,a,o,c,d,h,p=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(i.facetOrdering&&p)return n=[],a=[],o=p.hide||[],c=(p.order||[]).reduce(function(e,t,r){return e[t]=r,e},{}),e.forEach(function(e){var t=e.path||e.name,r=o.indexOf(t)>-1;r||void 0===c[t]?r||a.push(e):n[c[t]]=e}),n=n.filter(function(e){return e}),"hidden"===(d=p.sortRemainingBy)?n:(r="alpha"===d?[["path","name"],["asc","asc"]]:[["count"],["desc"]],n.concat(u(a,r[0],r[1])));if(Array.isArray(i.sortBy)){var f=l(i.sortBy,g.DEFAULT_SORT),m=u(e,f[0],f[1]),v=p&&p.hide?p.hide:[];if(v.length>0){var y=[];return m.forEach(function(e){var t=e.path||e.name;-1===v.indexOf(t)&&y.push(e)}),y}return m}if("function"==typeof i.sortBy)return h=i.sortBy,e.sort(h);throw Error("options.sortBy is optional but if defined it must be either an array of str
1ing (predicates) or a sorting function")},n,r)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?v(this.facets,e):this._state.isDisjunctiveFacet(e)?v(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach(function(n){e.facetsRefinements[n].forEach(function(a){r.push(y(e,"facet",n,a,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(n){e.facetsExcludes[n].forEach(function(a){r.push(y(e,"exclude",n,a,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(n){e.disjunctiveFacetsRefinements[n].forEach(function(a){r.push(y(e,"disjunctive",n,a,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(n){e.hierarchicalFacetsRefinements[n].forEach(function(a){var i,s,l,c,u,d,h,p,f,m,g;r.push((i=e,s=n,l=a,c=t.hierarchicalFacets,u=i.getHierarchicalFacetByName(s),d=i._getHierarchicalFacetSeparator(u),h=l.split(d),p=o(c,function(e){return e.name===s}),m=(f=h.reduce(function(e,t){var r=e&&o(e.data,function(e){return e.name===t});return void 0!==r?r:e},p))&&f.count||0,g=f&&f.exhaustive||!1,{type:"hierarchical",attributeName:s,name:f&&f.path||"",count:m,exhaustive:g}))})}),Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t];Object.keys(n).forEach(function(e){n[e].forEach(function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})})})}),e.tagRefinements.forEach(function(e){r.push({type:"tag",attributeName:"_tags",name:e})}),r},e.exports=g},91431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(55729),a=r(15490),i="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,c=l||!i,[u,d]=(0,n.useState)(!1),h=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{h.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(c||u)return;let e=h.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:a,elements:i}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=o.get(n)))return t;let a=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:a},s.push(r),o.set(r,t),t}(r);return i.set(e,t),a.observe(e),function(){if(i.delete(e),a.unobserve(e),0===i.size){a.disconnect(),o.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!u){let e=(0,a.requestIdleCallback)(()=>d(!0));return()=>(0,a.cancelIdleCallback)(e)}},[c,r,t,u,h.current]),[p,u,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91925:e=>{"use strict";e.exports=Math.floor},92424:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,a,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(r=Reflect.ownKeys(Object(e)),a=0;a<r.length;a++)n=r[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,a={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r]);return a}(e,t),Object.getOwnPropertySymbols)for(r=Object.getOwnPropertySymbols(e),a=0;a<r.length;a++)n=r[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}r.d(t,{_:()=>n})},92650:(e,t,r)=>{"use strict";r.r(t),r.d(t,{boolean:()=>a,booleanish:()=>i,commaOrSpaceSeparated:()=>u,commaSeparated:()=>c,number:()=>s,overloadedBoolean:()=>o,spaceSeparated:()=>l});let n=0,a=d(),i=d(),o=d(),s=d(),l=d(),c=d(),u=d();function d(){return 2**++n}},92709:e=>{"use strict";e.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},92840:(e,t,r)=>{"use strict";r.d(t,{oz:()=>tq,Lv:()=>tB});var n={};r.r(n),r.d(n,{attentionMarkers:()=>e$,contentInitial:()=>eU,disable:()=>eQ,document:()=>eB,flow:()=>eV,flowInitial:()=>eW,insideSpan:()=>eY,string:()=>eG,text:()=>ez});var a=r(24625),i=r(53732);let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function c(e,t){return((t||l).jsx?s:o).test(e)}let u=/[ \t\n\f\r]/g;function d(e){return""===e.replace(u,"")}var h=r(76978),p=r(6687);let f={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var m=r(65251),g=r(27420),v=r(59248);function y(e){return e&&"object"==typeof e?"position"in e||"type"in e?x(e.position):"start"in e||"end"in e?x(e):"line"in e||"column"in e?b(e):"":""}function b(e){return T(e&&e.line)+":"+T(e&&e.column)}function x(e){return b(e&&e.start)+"-"+b(e&&e.end)}function T(e){return e&&"number"==typeof e?e:1}
1class E extends Error{constructor(e,t,r){super(),"string"==typeof t&&(r=t,t=void 0);let n="",a={},i=!1;if(t&&(a="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?n=e:!a.cause&&e&&(i=!0,n=e.message,a.cause=e),!a.ruleId&&!a.source&&"string"==typeof r){const e=r.indexOf(":");-1===e?a.ruleId=r:(a.source=r.slice(0,e),a.ruleId=r.slice(e+1))}if(!a.place&&a.ancestors&&a.ancestors){const e=a.ancestors[a.ancestors.length-1];e&&(a.place=e.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=n,this.line=o?o.line:void 0,this.name=y(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=i&&a.cause&&"string"==typeof a.cause.stack?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}E.prototype.file="",E.prototype.name="",E.prototype.reason="",E.prototype.message="",E.prototype.stack="",E.prototype.column=void 0,E.prototype.line=void 0,E.prototype.ancestors=void 0,E.prototype.cause=void 0,E.prototype.fatal=void 0,E.prototype.place=void 0,E.prototype.ruleId=void 0,E.prototype.source=void 0;let C={}.hasOwnProperty,w=new Map,k=/[A-Z]/g,S=new Set(["table","tbody","thead","tfoot","tr"]),I=new Set(["td","th"]),P="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function _(e,t,r){var n,o,s,l,c,u,v,y,b;let x,T,w,_,L,M,H,F,q,B,U;return"element"===t.type?(n=e,o=t,s=r,T=x=n.schema,"svg"===o.tagName.toLowerCase()&&"html"===x.space&&(n.schema=h.JW),n.ancestors.push(o),w=D(n,o.tagName,!1),_=function(e,t){let r,n,a={};for(n in t.properties)if("children"!==n&&C.call(t.properties,n)){let o=function(e,t,r){let n=(0,p.I)(e.schema,t);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?(0,i.A)(r):(0,m.A)(r)),"style"===n.property){let t="object"==typeof r?r:function(e,t){try{return g(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};let t=new E("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=P+"#cannot-parse-style-attribute",t}}(e,String(r));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,r={};for(t in e)C.call(e,t)&&(r[function(e){let t=e.replace(k,j);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return r}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&n.space?f[n.property]||n.property:n.attribute,r]}}(e,n,t.properties[n]);if(o){let[n,i]=o;e.tableCellAlignToStyle&&"align"===n&&"string"==typeof i&&I.has(t.tagName)?r=i:a[n]=i}}return r&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),a}(n,o),L=N(n,o),S.has(o.tagName)&&(L=L.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&d(e.value):d(e))})),R(n,_,w,o),A(_,L),n.ancestors.pop(),n.schema=x,n.create(o,w,_,s)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return(0,a.ok)("ExpressionStatement"===r.type),e.evaluater.evaluateExpression(r.expression)}O(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(l=e,c=t,u=r,H=M=l.schema,"svg"===c.name&&"html"===M.space&&(l.schema=h.JW),l.ancestors.push(c),F=null===c.name?l.Fragment:D(l,c.name,!0),q=function(e,t){let r={};for(let n of t.attributes)if("mdxJsxExpressionAttribute"===n.type)if(n.data&&n.data.estree&&e.evaluater){let t=n.data.estree.body[0];(0,a.ok)("ExpressionStatement"===t.type);let i=t.expression;(0,a.ok)("ObjectExpression"===i.type);let o=i.properties[0];(0,a.ok)("SpreadElement"===o.type),Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else O(e,t.position);else{let i,o=n.name;if(n.value&&"object"==typeof n.value)if(n.value.data&&n.value.data.estree&&e.evaluater){let t=n.value.data.estree.body[0];(0,a.ok)("ExpressionStatement"===t.type),i=e.evaluater.evaluateExpression(t.expression)}else O(e,t.position);else i=null===n.value||n.value;r[o]=i}return r}(l,c),B=N(l,c),R(l,q,F,c),A(q,B),l.ancestors.pop(),l.schema=M,l.create(c,F,q,u)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);O(e,t.position)}(e,t):"root"===t.type?(v=e,y=t,b=r,A(U={},N(v,y)),v.create(y,v.Fragment,U,b)):"text"===t.type?t.value:void 0}function R(e,t,r,n){"string"!=typeof r&&r!==e.Fragment&&e.passNode&&(t.node=n)}function A(e,t){if(t.length>0){let r=t.length>1?t:t[0];r&&(e.children=r)}}function N(e,t){let r=[],n=-1,a=e.passKeys?new Map:w;for(;++n<t.children.length;){let i,o=t.children[n];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=a.get(e)||0;i=e+"-"+t,a.set(e,t+1)}}let s=_(e,o,i);void 0!==s&&r.push(s)}return r}function D(e,t,r){let n;if(r)if(t.includes(".")){let e,r=t.split("."),i=-1;for(;++i<r.length;){let t=c(r[i])?{type:"Identifier",name:r[i]}:{type:"Literal",value:r[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}(0,a.ok)(e,"always a result"),n=e}else n=c(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else n={type:"Literal",value:t};if("Literal"===n.type){let t=n.value;return C.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(n);O(e)}function O(e,t){let r=new E("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=P+"#cannot-handle-mdx-estrees-without-createevaluater",r}function j(e){return"-"+e.toLowerCase()}let L={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var M=r(6029);r(55729);var H=r(30048);function F(e,t,r,n){let a,i=e.length,o=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,r=r>0?r:0,n.length<1e4)(a=Array.from(n)).unshift(t,r),e.splice(...a);else for(r&&e.splice(t,r);o<n.length;)(a=n.slice(o,o+1e4)).unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function q(e,t){return e.length>0?(F(e,e.length,0,t),e):t}class B{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let r=null==t?1/0:t;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,t,r){this.setCursor(Math.trunc(e));let n=this.right.splice(this.right.length-(t||0),1/0);return r&&U(this.left,r),n.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),U(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),U(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);U(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);U(this.left,t.reverse())}}}function U(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function W(e){let t,r,n,a,i,o,s,l={},c=-1,u=new B(e);for(;++c<u.length;){for(;c in l;)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((n=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[n][1].type&&(n+=2),n<o.length&&"content"===o[n][1].type))for(;++n<o.length&&"content"!==o[n][1].type;)"chunkText"===o[n][1].type&&(o[n][1]._isInFirstContentOfListItem=!0,n++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let r,n,a=e.get(t)[1],i=e.get(t)[2],o=t-1,s=[],l=a._tokenizer;!l&&(l=i.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],d={},h=-1,p=a,f=0,m=0,g=[0];for(;p;){for(;e.get(++o)[1]!==p;);s.push(o),!p._tokenizer&&(r=i.sliceStream(p),p.next||r.push(null),n&&l.defineSki
1p(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(r),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),n=p,p=p.next}for(p=a;++h<c.length;)"exit"===c[h][0]&&"enter"===c[h-1][0]&&c[h][1].type===c[h-1][1].type&&c[h][1].start.line!==c[h][1].end.line&&(m=h+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),h=g.length;h--;){let t=c.slice(g[h],g[h+1]),r=s.pop();u.push([r,r+t.length-1]),e.splice(r,2,t)}for(u.reverse(),h=-1;++h<u.length;)d[f+u[h][0]]=f+u[h][1],f+=u[h][1]-u[h][0]-1;return d}(u,c)),c=l[c],s=!0);else if(t[1]._container){for(n=c,r=void 0;n--;)if("lineEnding"===(a=u.get(n))[1].type||"lineEndingBlank"===a[1].type)"enter"===a[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),a[1].type="lineEnding",r=n);else if("linePrefix"===a[1].type||"listItemIndent"===a[1].type);else break;r&&(t[1].end={...u.get(r)[1].start},(i=u.slice(r,c)).unshift(t),u.splice(r,c-r+1,i))}}return F(e,0,1/0,u.slice(0)),!s}let V={}.hasOwnProperty;var G=r(15113),z=r(39932);let Y={tokenize:function(e){let t,r=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,G.N)(e,r,"linePrefix"))},function(r){return e.enter("paragraph"),function r(n){let a=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=a),t=a,function t(n){if(null===n){e.exit("chunkText"),e.exit("paragraph"),e.consume(n);return}return(0,z.HP)(n)?(e.consume(n),e.exit("chunkText"),r):(e.consume(n),t)}(n)}(r)});return r}},$={tokenize:function(e){let t,r,n,a=this,i=[],o=0;return s;function s(t){if(o<i.length){let r=i[o];return a.containerState=r[1],e.attempt(r[0].continuation,l,c)(t)}return c(t)}function l(e){if(o++,a.containerState._closeFlow){let r;a.containerState._closeFlow=void 0,t&&v();let n=a.events.length,i=n;for(;i--;)if("exit"===a.events[i][0]&&"chunkFlow"===a.events[i][1].type){r=a.events[i][1].end;break}g(o);let s=n;for(;s<a.events.length;)a.events[s][1].end={...r},s++;return F(a.events,i+1,0,a.events.slice(n)),a.events.length=s,c(e)}return s(e)}function c(r){if(o===i.length){if(!t)return h(r);if(t.currentConstruct&&t.currentConstruct.concrete)return f(r);a.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return a.containerState={},e.check(Q,u,d)(r)}function u(e){return t&&v(),g(o),h(e)}function d(e){return a.parser.lazy[a.now().line]=o!==i.length,n=a.now().offset,f(e)}function h(t){return a.containerState={},e.attempt(Q,p,f)(t)}function p(e){return o++,i.push([a.currentConstruct,a.containerState]),h(e)}function f(n){if(null===n){t&&v(),g(0),e.consume(n);return}return t=t||a.parser.flow(a.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:r}),function t(r){if(null===r){m(e.exit("chunkFlow"),!0),g(0),e.consume(r);return}return(0,z.HP)(r)?(e.consume(r),m(e.exit("chunkFlow")),o=0,a.interrupt=void 0,s):(e.consume(r),t)}(n)}function m(e,i){let s=a.sliceStream(e);if(i&&s.push(null),e.previous=r,r&&(r.next=e),r=e,t.defineSkip(e.start),t.write(s),a.parser.lazy[e.start.line]){let e,r,i=t.events.length;for(;i--;)if(t.events[i][1].start.offset<n&&(!t.events[i][1].end||t.events[i][1].end.offset>n))return;let s=a.events.length,l=s;for(;l--;)if("exit"===a.events[l][0]&&"chunkFlow"===a.events[l][1].type){if(e){r=a.events[l][1].end;break}e=!0}for(g(o),i=s;i<a.events.length;)a.events[i][1].end={...r},i++;F(a.events,l+1,0,a.events.slice(s)),a.events.length=i}}function g(t){let r=i.length;for(;r-- >t;){let t=i[r];a.containerState=t[1],t[0].exit.call(a,e)}i.length=t}function v(){t.write([null]),r=void 0,t=void 0,a.containerState._closeFlow=void 0}}},Q={tokenize:function(e,t,r){return(0,G.N)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},K={partial:!0,tokenize:function(e,t,r){return function(t){return(0,z.On)(t)?(0,G.N)(e,n,"linePrefix")(t):n(t)};function n(e){return null===e||(0,z.HP)(e)?t(e):r(e)}}},Z={resolve:function(e){return W(e),e},tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?a(t):(0,z.HP)(t)?e.check(X,i,a)(t):(e.consume(t),n)}function a(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function i(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}}},X={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
1(0,G.N)(e,a,"linePrefix")};function a(a){if(null===a||(0,z.HP)(a))return r(a);let i=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(a):e.interrupt(n.parser.constructs.flow,r,t)(a)}}},J={tokenize:function(e){let t=this,r=e.attempt(K,function(n){return null===n?void e.consume(n):(e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r)},e.attempt(this.parser.constructs.flowInitial,n,(0,G.N)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(Z,n)),"linePrefix")));return r;function n(n){return null===n?void e.consume(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r)}}},ee={resolveAll:ea()},et=en("string"),er=en("text");function en(e){return{resolveAll:ea("text"===e?ei:void 0),tokenize:function(t){let r=this,n=this.parser.constructs[e],a=t.attempt(n,i,o);return i;function i(e){return l(e)?a(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),s)}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=n[e],a=-1;if(t)for(;++a<t.length;){let e=t[a];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}}}}function ea(e){return function(t,r){let n,a=-1;for(;++a<=t.length;)void 0===n?t[a]&&"data"===t[a][1].type&&(n=a,a++):t[a]&&"data"===t[a][1].type||(a!==n+2&&(t[n][1].end=t[a-1][1].end,t.splice(n+2,a-n-2),a=n+2),n=void 0);return e?e(t,r):t}}function ei(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){let n,a=e[r-1][1],i=t.sliceStream(a),o=i.length,s=-1,l=0;for(;o--;){let e=i[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)n=!0,l++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){let i={type:r===e.length||n||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:a.start._bufferIndex+s,_index:a.start._index+o,line:a.end.line,column:a.end.column-l,offset:a.end.offset-l},end:{...a.end}};a.end={...i.start},a.start.offset===a.end.offset?Object.assign(a,i):(e.splice(r,0,["enter",i,t],["exit",i,t]),r+=2)}r++}return e}let eo={name:"thematicBreak",tokenize:function(e,t,r){let n,a=0;return function(i){var o;return e.enter("thematicBreak"),n=o=i,function i(o){return o===n?(e.enter("thematicBreakSequence"),function t(r){return r===n?(e.consume(r),a++,t):(e.exit("thematicBreakSequence"),(0,z.On)(r)?(0,G.N)(e,i,"whitespace")(r):i(r))}(o)):a>=3&&(null===o||(0,z.HP)(o))?(e.exit("thematicBreak"),t(o)):r(o)}(o)}}},es={continuation:{tokenize:function(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(K,function(r){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,(0,G.N)(e,t,"listItemIndent",n.containerState.size+1)(r)},function(r){return n.containerState.furtherBlankLines||!(0,z.On)(r)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine
1=void 0,a(r)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(ec,t,a)(r))});function a(a){return n.containerState._closeFlow=!0,n.interrupt=void 0,(0,G.N)(e,e.attempt(es,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,r){let n=this,a=n.events[n.events.length-1],i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){let a=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!n.containerState.marker||t===n.containerState.marker:(0,z.BM)(t)){if(n.containerState.type||(n.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(eo,r,s)(t):s(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return(0,z.BM)(a)&&++o<10?(e.consume(a),t):(!n.interrupt||o<2)&&(n.containerState.marker?a===n.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),s(a)):r(a)}(t)}return r(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(K,n.interrupt?r:l,e.attempt(el,u,c))}
1function l(e){return n.containerState.initialBlankLine=!0,i++,u(e)}function c(t){return(0,z.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):r(t)}function u(r){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}}},el={partial:!0,tokenize:function(e,t,r){let n=this;return(0,G.N)(e,function(e){let a=n.events[n.events.length-1];return!(0,z.On)(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):r(e)},"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},ec={partial:!0,tokenize:function(e,t,r){let n=this;return(0,G.N)(e,function(e){let a=n.events[n.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===n.containerState.size?t(e):r(e)},"listItemIndent",n.containerState.size+1)}},eu={continuation:{tokenize:function(e,t,r){let n=this;return function(t){return(0,z.On)(t)?(0,G.N)(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(n){return e.attempt(eu,t,r)(n)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,r){let n=this;return function(t){if(62===t){let r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return r(t)};function a(r){return(0,z.On)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}}};function ed(e,t,r,n,a,i,o,s,l){let c=l||1/0,u=0;return function(t){return 60===t?(e.enter(n),e.enter(a),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||(0,z.JQ)(t)?r(t):(e.enter(n),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t))};function d(r){return 62===r?(e.enter(i),e.consume(r),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(r))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,z.HP)(t)?r(t):(e.consume(t),92===t?p:h)}function p(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function f(a){return!u&&(null===a||41===a||(0,z.Ee)(a))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(n),t(a)):u<c&&40===a?(e.consume(a),u++,f):41===a?(e.consume(a),u--,f):null===a||32===a||40===a||(0,z.JQ)(a)?r(a):(e.consume(a),92===a?m:f)}function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function eh(e,t,r,n,a,i){let o,s=this,l=0;return function(t){return e.enter(n),e.enter(a),e.consume(t),e.exit(a),e.enter(i),c};function c(d){return l>999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?r(d):93===d?(e.exit(i),e.enter(a),e.consume(d),e.exit(a),e.exit(n),t):(0,z.HP)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,z.HP)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,z.On)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function ep(e,t,r,n,a,i){let o;return function(t){return 34===t||39===t||40===t?(e.enter(n),e.enter(a),e.consume(t),e.exit(a),o=40===t?41:t,s):r(t)};function s(r){return r===o?(e.enter(a),e.consume(r),e.exit(a),e.exit(n),t):(e.enter(i),l(r))}function l(t){return t===o?(e.exit(i),s(o)):null===t?r(t):(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,G.N)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,z.HP)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function ef(e,t){let r;return function n(a){return(0,z.HP)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):(0,z.On)(a)?(0,G.N)(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}function em(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let eg={partial:!0,tokenize:function(e,t,r){return function(t){return(0,z.Ee)(t)?ef(e,n)(t):r(t)};function n(t){return ep(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return(0,z.On)(t)?(0,G.N)(e,i,"whitespace")(t):i(t)}function i(e){return null===e||(0,z.HP)(e)?t(e):r(e)}}},ev={name:"codeIndented",tokenize:function(e,t,r){let n=this;
1return function(t){return e.enter("codeIndented"),(0,G.N)(e,a,"linePrefix",5)(t)};function a(t){let a=n.events[n.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(r){return null===r?i(r):(0,z.HP)(r)?e.attempt(ey,t,i)(r):(e.enter("codeFlowValue"),function r(n){return null===n||(0,z.HP)(n)?(e.exit("codeFlowValue"),t(n)):(e.consume(n),r)}(r))}(t):r(t)}function i(r){return e.exit("codeIndented"),t(r)}}},ey={partial:!0,tokenize:function(e,t,r){let n=this;return a;function a(t){return n.parser.lazy[n.now().line]?r(t):(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,G.N)(e,i,"linePrefix",5)(t)}function i(e){let i=n.events[n.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):(0,z.HP)(e)?a(e):r(e)}}},eb={name:"setextUnderline",resolveTo:function(e,t){let r,n,a,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){r=i;break}"paragraph"===e[i][1].type&&(n=i)}else"content"===e[i][1].type&&e.splice(i,1),a||"definition"!==e[i][1].type||(a=i);let o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[n][1].type="setextHeadingText",a?(e.splice(n,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,r){let n,a=this;return function(t){var o;let s,l=a.events.length;for(;l--;)if("lineEnding"!==a.events[l][1].type&&"linePrefix"!==a.events[l][1].type&&"content"!==a.events[l][1].type){s="paragraph"===a.events[l][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||s)?(e.enter("setextHeadingLine"),n=t,o=t,e.enter("setextHeadingLineSequence"),function t(r){return r===n?(e.consume(r),t):(e.exit("setextHeadingLineSequence"),(0,z.On)(r)?(0,G.N)(e,i,"lineSuffix")(r):i(r))}(o)):r(t)};function i(n){return null===n||(0,z.HP)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}}},ex=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eT=["pre","script","style","textarea"],eE={partial:!0,tokenize:function(e,t,r){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(K,t,r)}}},eC={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):r(t)};function a(e){return n.parser.lazy[n.now().line]?r(e):t(e)}}},ew={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return null===t?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return n.parser.lazy[n.now().line]?r(e):t(e)}}},ek={concrete:!0,name:"codeFenced",tokenize:function(e,t,r){let n,a=this,i={partial:!0,tokenize:function(e,t,r){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,z.On)(t)?(0,G.N)(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===n?(e.enter("codeFencedFenceSequence"),function t(a){return a===n?(i++,e.consume(a),t):i>=s?(e.exit("codeFencedFenceSequence"),(0,z.On)(a)?(0,G.N)(e,c,"whitespace")(a):c(a)):r(a)}(t)):r(t)}function c(n){return null===n||(0,z.HP)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}}},o=0,s=0;return function(t){var i;let c;return i=t,o=(c=a.events[a.events.length-1])&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,n=i,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===n?(s++,e.consume(a),t):s<3?r(a):(e.exit("codeFencedFenceSequence"),(0,z.On)(a)?(0,G.N)(e,l,"whitespace")(a):l(a))}(i)};function l(i){return null===i||(0,z.HP)(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(ew,u,f)(i)):(e.enter("co
1deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,z.HP)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):(0,z.On)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,G.N)(e,c,"whitespace")(a)):96===a&&a===n?r(a):(e.consume(a),t)}(i))}function c(t){return null===t||(0,z.HP)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,z.HP)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(a)):96===a&&a===n?r(a):(e.consume(a),t)}(t))}function u(t){return e.attempt(i,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h}function h(t){return o>0&&(0,z.On)(t)?(0,G.N)(e,p,"linePrefix",o+1)(t):p(t)}function p(t){return null===t||(0,z.HP)(t)?e.check(ew,u,f)(t):(e.enter("codeFlowValue"),function t(r){return null===r||(0,z.HP)(r)?(e.exit("codeFlowValue"),p(r)):(e.consume(r),t)}(t))}function f(r){return e.exit("codeFenced"),t(r)}}},eS=document.createElement("i");function eI(e){let t="&"+e+";";eS.innerHTML=t;let r=eS.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&r!==t&&r}let eP={name:"characterReference",tokenize:function(e,t,r){let n,a,i=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),n=31,a=z.lV,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),n=6,a=z.ok,c):(e.enter("characterReferenceValue"),n=7,a=z.BM,c(t))}function c(s){if(59===s&&o){let n=e.exit("characterReferenceValue");return a!==z.lV||eI(i.sliceSerialize(n))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(s)}return a(s)&&o++<n?(e.consume(s),c):r(s)}}},e_={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),n};function n(n){return(0,z.ol)(n)?(e.enter("characterEscapeValue"),e.consume(n),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(n)}}},eR={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,G.N)(e,t,"linePrefix")}}};function eA(e,t,r){let n=[],a=-1;for(;++a<e.length;){let i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}let eN={name:"labelEnd",resolveAll:function(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),"labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type){let e="labelImage"===n.type?4:2;n.type="data",t+=e}}return e.length!==r.length&&F(e,0,e.length,r),e},resolveTo:function(e,t){let r,n,a,i,o=e.length,s=0;for(;o--;)if(r=e[o][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[o][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(a){if("enter"===e[o][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=o,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(a=o);let l={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[n][1].start},end:{...e[a][1].end}},u={type:"labelText",start:{...e[n+s+2][1].end},end:{...e[a-2][1].start}};return i=q(i=[["enter",l,t],["enter",c,t]],e.slice(n+1,n+s+3)),i=q(i,[["enter",u,t]]),i=q(i,eA(t.parser.constructs.insideSpan.null,e.slice(n+s+4,a-3),t)),i=q(i,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),i=q(i,e.slice(a+1)),i=q(i,[["exit",l,t]]),F(e,n,e.length,i),e},tokenize:function(e,t,r){let n,a,i=this,o=i.events.length;for(;o--;)if(("labelImage"===i.events[o][1].type||"labelLink"===i.events[o][1].type)&&!i.events[o][1]._balanced){n=i.events[o][1];break}return function(t){return n?n._inactive?u(t):(a=i.parser.defined.includes(em(i.sliceSerialize({start:n.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):r(t)};function s(t){return 40===t?e.attempt(eD,c,a?c:u)(t):91===t?e.attempt(eO,c,a?l:u)(t):a?c(t):u(t)}function l(t){return e.attempt(ej,c,u)(t)}function c(e){return t(e)}function u(e){return n._balanced=!0,r(e)}}},eD={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),n};function n(t){return(0,z.Ee)(t)?ef(e,a)(t):a(t)}function a(t){return 41===t?c(t):ed(e,i,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return(0,z.Ee)(t)?ef(e,s)(t):c(t)}function o(e){return r(e)}function s(t){return 34===t||39===t||40===t?ep(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return(0,z.Ee)(t)?ef(e,c)(t):c(t)}function c(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},eO={tokenize:function(e,t,r){let n=this;return function(t){return eh.call(n,e,a,i,"reference","referenceMarker","referenceString")(t)};function a(e){return n.parser.defined.includes(em(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}function i(e){return r(e)}}},ej={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}},eL={name:"labelStartImage",resolveAll:eN.resolveAll,tokenize:function(e,t,r){let n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),a};function a(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):r(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}}};var eM=r(76527);let eH={name:"attention",resolveAll:function(e,t){let r,n,a,i,o,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(r=u;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCo
1deAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[r][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[r][1].end},h={...e[u][1].start};eF(d,-s),eF(h,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:h},a={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[u][1].start}},n={type:s>1?"strong":"emphasis",start:{...i.start},end:{...o.end}},e[r][1].end={...i.start},e[u][1].start={...o.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=q(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=q(l,[["enter",n,t],["enter",i,t],["exit",i,t],["enter",a,t]]),l=q(l,eA(t.parser.constructs.insideSpan.null,e.slice(r+1,u),t)),l=q(l,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",n,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=q(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,F(e,r-1,u-r+3,l),u=r+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let r,n=this.parser.constructs.attentionMarkers.null,a=this.previous,i=(0,eM.S)(a);return function(o){return r=o,e.enter("attentionSequence"),function o(s){if(s===r)return e.consume(s),o;let l=e.exit("attentionSequence"),c=(0,eM.S)(s),u=!c||2===c&&i||n.includes(s),d=!i||2===i&&c||n.includes(a);return l._open=!!(42===r?u:u&&(i||!d)),l._close=!!(42===r?d:d&&(c||!u)),t(s)}(o)}}};function eF(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eq={name:"labelStartLink",resolveAll:eN.resolveAll,tokenize:function(e,t,r){let n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),a};function a(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}}},eB={42:es,43:es,45:es,48:es,49:es,50:es,51:es,52:es,53:es,54:es,55:es,56:es,57:es,62:eu},eU={91:{name:"definition",tokenize:function(e,t,r){let n,a=this;return function(t){var n;return e.enter("definition"),n=t,eh.call(a,e,i,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function i(t){return(n=em(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):r(t)}function o(t){return(0,z.Ee)(t)?ef(e,s)(t):s(t)}function s(t){return ed(e,l,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(eg,c,c)(t)}function c(t){return(0,z.On)(t)?(0,G.N)(e,u,"whitespace")(t):u(t)}function u(i){return null===i||(0,z.HP)(i)?(e.exit("definition"),a.parser.defined.push(n),t(i)):r(i)}}}},eW={[-2]:ev,[-1]:ev,32:ev},eV={35:{name:"headingAtx",resolve:function(e,t){let r,n,a=e.length-2,i=3;return"whitespace"===e[3][1].type&&(i+=2),a-2>i&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(i===a-1||a-4>i&&"whitespace"===e[a-2][1].type)&&(a-=i+1===a?2:4),a>i&&(r={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},n={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},F(e,i,a-i+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]])),e},tokenize:function(e,t,r){let n=0;return function(a){var i;return e.enter("atxHeading"),i=a,e.enter("atxHeadingSequence"),function a(i){return 35===i&&n++<6?(e.consume(i),a):null===i||(0,z.Ee)(i)?(e.exit("atxHeadingSequence"),function r(n){return 35===n?(e.enter("atxHeadingSequence"),function t(n){return 35===n?(e.consume(n),t):(e.exit("atxHeadingSequence"),r(n))}(n)):null===n||(0,z.HP)(n)?(e.exit("atxHeading"),t(n)):(0,z.On)(n)?(0,G.N)(e,r,"whitespace")(n):(e.enter("atxHeadingText"),function t(n){return null===n||35===n||(0,z.Ee)(n)?(e.exit("atxHeadingText"),r(n)):(e.consume(n),t)}(n))}(i)):r(i)}(i)}}},42:eo,45:[eb,eo],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,r){let n,a,i,o,s,l=this;return function(t){var r;return r=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(r),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),a=!0,p):63===o?(e.consume(o),n=3,l.interrupt?t:N):(0,z.CW)(o)?(e.consume(o),i=String.fromCharCode(o),f):r(o)}function u(a){return 45===a?(e.consume(a),n=2,d):91===a?(e.consume(a),n=5,o=0,h):(0,z.CW)(a)?(e.consume(a),n=4,l.interrupt?t:N):r(a)}function d(n){return 45===n?(e.consume(n),l.interrupt?t:N):r(n)}function h(n){let a="CDATA[";
1return n===a.charCodeAt(o++)?(e.consume(n),o===a.length)?l.interrupt?t:w:h:r(n)}function p(t){return(0,z.CW)(t)?(e.consume(t),i=String.fromCharCode(t),f):r(t)}function f(o){if(null===o||47===o||62===o||(0,z.Ee)(o)){let s=47===o,c=i.toLowerCase();return!s&&!a&&eT.includes(c)?(n=1,l.interrupt?t(o):w(o)):ex.includes(i.toLowerCase())?(n=6,s)?(e.consume(o),m):l.interrupt?t(o):w(o):(n=7,l.interrupt&&!l.parser.lazy[l.now().line]?r(o):a?function t(r){return(0,z.On)(r)?(e.consume(r),t):E(r)}(o):g(o))}return 45===o||(0,z.lV)(o)?(e.consume(o),i+=String.fromCharCode(o),f):r(o)}function m(n){return 62===n?(e.consume(n),l.interrupt?t:w):r(n)}function g(t){return 47===t?(e.consume(t),E):58===t||95===t||(0,z.CW)(t)?(e.consume(t),v):(0,z.On)(t)?(e.consume(t),g):E(t)}function v(t){return 45===t||46===t||58===t||95===t||(0,z.lV)(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):(0,z.On)(t)?(e.consume(t),y):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),s=t,x):(0,z.On)(t)?(e.consume(t),b):function t(r){return null===r||34===r||39===r||47===r||60===r||61===r||62===r||96===r||(0,z.Ee)(r)?y(r):(e.consume(r),t)}(t)}function x(t){return t===s?(e.consume(t),s=null,T):null===t||(0,z.HP)(t)?r(t):(e.consume(t),x)}function T(e){return 47===e||62===e||(0,z.On)(e)?g(e):r(e)}function E(t){return 62===t?(e.consume(t),C):r(t)}function C(t){return null===t||(0,z.HP)(t)?w(t):(0,z.On)(t)?(e.consume(t),C):r(t)}function w(t){return 45===t&&2===n?(e.consume(t),P):60===t&&1===n?(e.consume(t),_):62===t&&4===n?(e.consume(t),D):63===t&&3===n?(e.consume(t),N):93===t&&5===n?(e.consume(t),A):(0,z.HP)(t)&&(6===n||7===n)?(e.exit("htmlFlowData"),e.check(eE,O,k)(t)):null===t||(0,z.HP)(t)?(e.exit("htmlFlowData"),k(t)):(e.consume(t),w)}function k(t){return e.check(eC,S,O)(t)}function S(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||(0,z.HP)(t)?k(t):(e.enter("htmlFlowData"),w(t))}function P(t){return 45===t?(e.consume(t),N):w(t)}function _(t){return 47===t?(e.consume(t),i="",R):w(t)}function R(t){if(62===t){let r=i.toLowerCase();return eT.includes(r)?(e.consume(t),D):w(t)}return(0,z.CW)(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),R):w(t)}function A(t){return 93===t?(e.consume(t),N):w(t)}function N(t){return 62===t?(e.consume(t),D):45===t&&2===n?(e.consume(t),N):w(t)}function D(t){return null===t||(0,z.HP)(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),D)}function O(r){return e.exit("htmlFlow"),t(r)}}},61:eb,95:eo,96:ek,126:ek},eG={38:eP,92:e_},ez={[-5]:eR,[-4]:eR,[-3]:eR,33:eL,38:eP,42:eH,60:[{name:"autolink",tokenize:function(e,t,r){let n=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return(0,z.CW)(t)?(e.consume(t),i):64===t?r(t):s(t)}function i(t){return 43===t||45===t||46===t||(0,z.lV)(t)?(n=1,function t(r){return 58===r?(e.consume(r),n=0,o):(43===r||45===r||46===r||(0,z.lV)(r))&&n++<32?(e.consume(r),t):(n=0,s(r))}(t)):s(t)}function o(n){return 62===n?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):null===n||32===n||60===n||(0,z.JQ)(n)?r(n):(e.consume(n),o)}function s(t){return 64===t?(e.consume(t),l):(0,z.cx)(t)?(e.consume(t),s):r(t)}function l(a){return(0,z.lV)(a)?function a(i){return 46===i?(e.consume(i),n=0,l):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||(0,z.lV)(i))&&n++<63){let r=45===i?t:a;return e.consume(i),r}return r(i)}(i)}(a):r(a)}}},{name:"htmlText",tokenize:function(e,t,r){let n,a,i,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),x):63===t?(e.consume(t),y):(0,z.CW)(t)?(e.consume(t),E):r(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,p):(0,z.CW)(t)?(e.consume(t),v):r(t)}function c(t){return 45===t?(e.consume(t),h):r(t)}function u(t){return null===t?r(t):45===t?(e.consume(t),d):(0,z.HP)(t)?(i=u,R(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),h):u(t)}function h(e){return 62===e?_(e):45===e?d(e):u(e)}function p(t){let n="CDATA[";return t===n.charCodeAt(a++)?(e.consume(t),a===n.length?f:p):r(t)}function f(t){return null===t?r(t):93===t?(e.consume(t),m):(0,z.HP)(t)?(i=f,R(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?_(t):93===t?(e.consume(t),g):f(t)}function v(t){return null===t||62===t?_(t):(0,z.HP)(t)?(i=v,R(t)):(e.consume(t),v)}function y(t){return null===t?r(t):63===t?(e.consume(t),b):(0,z.HP)(t)?(i=y,R(t)):(e.consume(t),y)}function b(e){return 62===e?_(e):y(e)}function x(t){return(0,z.CW)(t)?(e.consume(t),T):r(t)}function T(t){return 45===t||(0,z.lV)(t)?(e.consume(t),T):function t(r){return(0,z.HP)(r)?(i=t,R(r)):(0,z.On)(r)?(e.consume(r),t):_(r)}(t)}function E(t){return 45===t||(0,z.lV)(t)?(e.consume(t),E):47===t||62===t||(0,z.Ee)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),_):58===t||95===t||(0,z.CW)(t)?(e.consume(t),w):(0,z.HP)(t)?(i=C,R(t)):(0,z.On)(t)?(e.consume(t),C):_(t)}function w(t){return 45===t||46===t||58===t||95===t||(0,z.lV)(t)?(e.consume(t),w):function t(r){return 61===r?(e.consume(r),k):(0,z.HP)(r)?(i=t,R(r)):(0,z.On)(r)?(e.consume(r),t):C(r)}(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),n=t,S):(0,z.HP)(t)?(i=k,R(t)):(0,z.On)(t)?(e.consume(t),k):(e.consume(t),I)}function S(t){return t===n?(e.consume(t),n=void 0,P):null===t?r(t):(0,z.HP)(t)?(i=S,R(t)):(e.consume(t),S)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||(0,z.Ee)(t)?C(t):(e.consume(t),I)}function P(e){return 47===e||62===e||(0,z.Ee)(e)?C(e):r(e)}function _(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return(0,z.On)(t)?(0,G.N)(e,N,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)}function N(t){return e.enter("htmlTextData"),i(t)}}}],91:eq,92:[{name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.consume(t),n};function n(n){return(0,z.HP)(n)?(e.exit("hardBreakEscape"),t(n)):r(n)}}},e_],93:eN,95:eH,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,r,n=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[n][1].type||"space"===e[n][1].type)){for(t=a;++t<n;)if("codeTextData"===e[t][1].type){e[a][1].type="codeTextPadding",e[n][1].type="codeTextPadding",a+=2,n-=2;break}}for(t=a-1,n++;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):(t===n||"lineEnding"===e[t][1].type)&&(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},tokenize:function(e,t,r){let n,a,i=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(r){return 96===r?(e.consume(r),i++,t):(e.exit("codeTextSequence"),o(r))}(t)};function o(l){return null===l?r(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(a=e.enter("codeTextSequence"),n=0,function r(o){return 96===o?(e.consume(o),n++,r):n===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(a.type="codeTextData",s(o))}(l)):(0,z.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,z.HP)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}}}},eY={null:[eH,ee]},e$={null:[42,95]},eQ={null:[]},eK=/[\0\t\n\r]/g;function eZ(e,t){let r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(65535&r)==65535||(65535&r)==65534||r>1114111?"�":String.fromCodePoint(r)}let eX=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eJ(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){let e=r.charCodeAt(1),t=120===e||88===e;return eZ(r.slice(t?2:1),t?16:10)}return eI(r)||e}let e1={}.hasOwnProperty;function e0(e){return{line:e.line,column:e.column,offset:e.offset}}function e2(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+y({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+y({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+y({start:t.start,end:t.end})+") is still open")}function e3(e){let t=this;t.parser=function(r){var a,i;let o,s,l,c;return"object"==typeof(a={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=a,a=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:n(v),autolinkProtocol:c,autolinkEmail:c,atxHeading:n(f),blockQuote:n(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:n(p),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:n(p,a),codeText:n(function(){return{type:"inlineCode",value:""}},a),codeTextData:c,data:c,codeFlowValue:c,definition:n(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:n(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:n(m),hardBreakTrailing:n(m),htmlFlow:n(g,a),htmlFlowData:c,htmlText:n(g,a),htmlTextData:c,image:n(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:n(v),listItem:n(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:n(b,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:n(b),paragraph:n(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:n(f),strong:n(function(){return{type:"strong",children:[]}}),thematicBreak:n(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){let t,r=this.sliceSerialize(e),n=this.data.characterReferenceType;n?(t=eZ(r,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):t=eI(r);let a=this.stack[this.stack.length-1];a.value+=t},characterReference:function(e){this.stack.pop().position.end=e0(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=em(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===r.type?r.children=e.children:r.alt=t},labelText:function(e){let t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=t.replace(eX,eJ),r.identifier=em(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(this.data.atHardBreak){r.children[r.children.length-1].position.end=e0(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=em(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,r){let n=-1;for(;++n<r.length;){let a=r[n];Array.isArray(a)?e(t,a):function(e,t){let r;for(r in t)if(e1.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n)}}}(t,a)}}(t,(e||{}).mdastExtensions||[]);let r={};return function(e){let n={type:"root",children:[]},o={stack:[n],tokenStack:[],config:t,enter:i,exit:s,buffer:a,resume:l,data:r},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,r){let n,a,i,o,s=t-1,l=-1,c=!1;for(;++s<=r;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!n||o||l||i||(i=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}
1if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let o=s;for(a=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;a&&(e[a][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",a=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}i&&(!a||i<a)&&(n._spread=!0),n.end=Object.assign({},a?e[a][1].start:t[1].end),e.splice(a||s,0,["exit",n,t[2]]),s++,r++}if("listItemPrefix"===t[1].type){let a={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};n=a,e.splice(s,0,["enter",a,t[2]]),s++,r++,i=void 0,o=!0}}}return e[t][1]._spread=c,r}(e,c.pop(),u));for(u=-1;++u<e.length;){let r=t[e[u][0]];e1.call(r,e[u][1].type)&&r[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},o),e[u][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||e2).call(o,void 0,e[0])}for(n.position={start:e0(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e0(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)n=t.transforms[u](n)||n;return n};function n(e,t){return function(r){i.call(this,e(r),r),t&&t.call(this,r)}}function a(){this.stack.push({type:"fragment",children:[]})}function i(e,t,r){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r||void 0]),e.position={start:e0(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let r=this.stack.pop(),n=this.tokenStack.pop();if(n)n[0].type!==e.type&&(t?t.call(this,e,n[0]):(n[1]||e2).call(this,e,n[0]));else throw Error("Cannot close `"+e.type+"` ("+y({start:e.start,end:e.end})+"): it’s not open");r.position.end=e0(e.end)}function l(){return(0,H.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,r=t[t.length-1];r&&"text"===r.type||((r={type:"text",value:""}).position={start:e0(e.start),end:void 0},t.push(r)),this.stack.push(r)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=e0(e.end)}function d(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function b(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(i)(function(e){for(;!W(e););return e}((function(e){let t={constructs:function(e){let t={},r=-1;for(;++r<e.length;)!function(e,t){let r;for(r in t){let n,a=(V.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];if(i)for(n in i){V.call(a,n)||(a[n]=[]);let e=i[n];!function(e,t){let r=-1,n=[];for(;++r<t.length;)("after"===t[r].add?e:n).push(t[r]);F(e,0,0,n)}(a[n],Array.isArray(e)?e:e?[e]:[])}}}(t,e[r]);return t}([n,...(e||{}).extensions||[]]),content:r(Y),defined:[],document:r($),flow:r(J),lazy:{},string:r(et),text:r(er)};return t;function r(e){return function(r){return function(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},a={},i=[],o=[],s=[],l={attempt:f(function(e,t){m(e,t.from)}),check:f(p),consume:function(e){(0,z.HP)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,g()):-1!==e&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=e},enter:function(e,t){let r=t||{};return r.type=e,r.start=h(),c.events.push(["enter",r,c]),s.push(r),r},exit:function(e){let t=s.pop();return t.end=h(),c.events.push(["exit",t,c]),t},interrupt:f(p,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){a[e.line]=e.column,g()},events:[],now:h,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let r,n=-1,a=[];for(;++n<e.length;){let i,o=e[n];if("string"==typeof o)i=o;else switch(o){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=t?" ":"	";break;case -1:if(!t&&r)continue;i=" ";break;default:i=String.fromCharCode(o)}r=-2===o,a.push(i)}return a.join("")}(d(e),t)},sliceStream:d,write:function(e){return(o=q(o,e),function(){let e;for(;n._index<o.length;){let r=o[n._index];if("string"==typeof r)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<r.length;){var t;t=r.charCodeAt(n._bufferIndex),u=u(t)}else u=u(r)}}(),null!==o[o.length-1])?[]:(m(t,0),c.events=eA(i,c.events,c),c.events)}},u=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function d(e){return function(e,t){let r,n=t.start._index,a=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;if(n===i)r=[e[n].slice(a,o)];else{if(r=e.slice(n,i),a>-1){let e=r[0];"string"==typeof e?r[0]=e.slice(a):r.shift()}o>0&&r.push(e[i].slice(0,o))}return r}(o,e)}function h(){let{_bufferIndex:e,_index:t,line:r,column:a,offset:i}=n;return{_bufferIndex:e,_index:t,line:r,column:a,offset:i}}
1function p(e,t){t.restore()}function f(e,t){return function(r,a,i){var o;let u,d,p,f;return Array.isArray(r)?m(r):"tokenize"in r?m([r]):(o=r,function(e){let t=null!==e&&o[e],r=null!==e&&o.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)});function m(e){return(u=e,d=0,0===e.length)?i:v(e[d])}function v(e){return function(r){let a,i,o,u,d;return(a=h(),i=c.previous,o=c.currentConstruct,u=c.events.length,d=Array.from(s),f={from:u,restore:function(){n=a,c.previous=i,c.currentConstruct=o,c.events.length=u,s=d,g()}},p=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?b(r):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,y,b)(r)}}function y(t){return e(p,f),a}function b(e){return(f.restore(),++d<u.length)?v(u[d]):i}}}function m(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&F(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function g(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}(t,e,r)}}})(i).document().write((s=1,l="",c=!0,function(e,t,r){let n,a,i,u,d,h=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),i=0,l="",c&&(65279===e.charCodeAt(0)&&i++,c=void 0);i<e.length;){if(eK.lastIndex=i,u=(n=eK.exec(e))&&void 0!==n.index?n.index:e.length,d=e.charCodeAt(u),!n){l=e.slice(i);break}if(10===d&&i===u&&o)h.push(-3),o=void 0;else switch(o&&(h.push(-5),o=void 0),i<u&&(h.push(e.slice(i,u)),s+=u-i),d){case 0:h.push(65533),s++;break;case 9:for(a=4*Math.ceil(s/4),h.push(-2);s++<a;)h.push(-1);break;case 10:h.push(-4),s=1;break;default:o=!0,s=1}i=u+1}return r&&(o&&h.push(-5),l&&h.push(l),h.push(null)),h})(r,a,!0))))}}var e5=r(76792);function e4(e){let t=[],r=-1,n=0,a=0;for(;++r<e.length;){let i=e.charCodeAt(r),o="";if(37===i&&(0,z.lV)(e.charCodeAt(r+1))&&(0,z.lV)(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){let t=e.charCodeAt(r+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(n,r),encodeURIComponent(o)),n=r+a+1,o=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function e8(e,t){let r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function e6(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var e9=r(13532);function e7(e,t){let r=t.referenceType,n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+n}];let a=e.all(t),i=a[0];i&&"text"===i.type?i.value="["+i.value:a.unshift({type:"text",value:"["});let o=a[a.length-1];return o&&"text"===o.type?o.value+=n:a.push({type:"text",value:n}),a}function te(e){let t=e.spread;return null==t?e.children.length>1:t}function tt(e,t,r){let n=0,a=e.length;if(t){let t=e.codePointAt(n);for(;9===t||32===t;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}let tr={blockquote:function(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){let r=t.value?t.value+"\n":"",n={},a=t.lang?t.lang.split(/\s+/):[];a.length>0&&(n.className=["language-"+a[0]]);let i={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}
1,footnoteReference:function(e,t){let r,n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),i=e4(a.toLowerCase()),o=e.footnoteOrder.indexOf(a),s=e.footnoteCounts.get(a);void 0===s?(s=0,e.footnoteOrder.push(a),r=e.footnoteOrder.length):r=o+1,s+=1,e.footnoteCounts.set(a,s);let l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(r)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}},imageReference:function(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return e7(e,t);let a={src:e4(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(a.title=n.title);let i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let r={src:e4(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);let n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return e7(e,t);let a={href:e4(n.url||"")};null!==n.title&&void 0!==n.title&&(a.title=n.title);let i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let r={href:e4(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);let n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,r){let n=e.all(t),a=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let r=e.children,n=-1;for(;!t&&++n<r.length;)t=te(r[n])}return t}(r):te(t),i={},o=[];if("boolean"==typeof t.checked){let e,r=n[0];r&&"element"===r.type&&"p"===r.tagName?e=r:(e={type:"element",tagName:"p",properties:{},children:[]},n.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<n.length;){let e=n[s];(a||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||a?o.push(e):o.push(...e.children)}let l=n[n.length-1];l&&(a||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let r={},n=e.all(t),a=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++a<n.length;){let e=n[a];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){let r=e.all(t),n=r.shift(),a=[];if(n){let r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),a.push(r)}if(r.length>0){let n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},i=(0,v.PW)(t.children[1]),o=(0,v.Y)(t.children[t.children.length-1]);i&&o&&(n.position={start:i,end:o}),a.push(n)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){let n=r?r.children:void 0,a=0===(n?n.indexOf(t):1)?"th":"td",i=r&&"table"===r.type?r.align:void 0,o=i?i.length:t.children.length,s=-1,l=[];for(;++s<o;){let r=t.children[s],n={},o=i?i[s]:void 0;o&&(n.align=o);let c={type:"element",tagName:a,properties:n,children:[]};r&&(c.children=e.all(r),e.patch(r,c),c=e.applyData(r,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let r={type:"text",value:function(e){let t=String(e),r=/\r?\n|\r/g,n=r.exec(t),a=0,i=[];for(;n;)i.push(tt(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(tt(t.slice(a),a>0,!1)),i.join("")}(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:tn,yaml:tn,definition:tn,footnoteDefinition:tn};function tn(){}let ta={}.hasOwnProperty,ti={};function to(e,t){e.position&&(t.position=(0,v.G1)(e))}function ts(e,t){let r=t;if(e&&e.data){let t=e.data.hName,n=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:"children"in r?r.children:[r]}),"element"===r.type&&a&&Object.assign(r.properties,(0,e5.Ay)(a)),"children"in r&&r.children&&null!=n&&(r.children=n)}return r}function tl(e,t){let r=[],n=-1;for(t&&r.push({type:"text",value:"\n"});++n<e.length;)n&&r.push({type:"text",value:"\n"}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function tc(e){let t=0,r=e.charCodeAt(t);for(;9===r||32===r;)t++,r=e.charCodeAt(t);return e.slice(t)}function tu(e,t){let r,n,i,o,s=(r=t||ti,n=new Map,i=new Map,o={all:function(e){let t=[];if("children"in e){let r=e.children,n=-1;for(;++n<r.length;){let a=o.one(r[n],e);if(a){if(n&&"break"===r[n-1].type&&(Array.isArray(a)||"text"!==a.type||(a.value=tc(a.value)),!Array.isArray(a)&&"element"===a.type)){let e=a.children[0];e&&"text"===e.type&&(e.value=tc(e.value))}Array.isArray(a)?t.push(...a):t.push(a)}}}return t},applyData:ts,definitionById:n,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...tr,...r.handlers},one:function(e,t){let r=e.type,n=o.handlers[r];if(ta.call(o.handlers,r)&&n)return n(o,e,t);if(o.options.passThrough&&o.options.passThrough.includes(r)){if("children"in e){let{children:t,...r}=e,n=(0,e5.Ay)(r);return n.children=o.all(e),n}return(0,e5.Ay)(e)}return(o.options.unknownHandler||function(e,t){let r=t.data||{},n="value"in t&&!(ta.call(r,"hProperties")||ta.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)})(o,e,t)},options:r,patch:to,wrap:tl},(0,e9.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?n:i,r=String(e.identifier).toUpperCase();t.has(r)||t.set(r,e)}}
1),o),l=s.one(e,void 0),c=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||e8,n=e.options.footnoteBackLabel||e6,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let a=e.footnoteById.get(e.footnoteOrder[l]);if(!a)continue;let i=e.all(a),o=String(a.identifier).toUpperCase(),c=e4(o.toLowerCase()),u=0,d=[],h=e.footnoteCounts.get(o);for(;void 0!==h&&++u<=h;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof r?r:r(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof n?n:n(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else i.push(...d);let f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(a,f),s.push(f)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...(0,e5.Ay)(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(s),u=Array.isArray(l)?{type:"root",children:l}:l||{type:"root",children:[]};return c&&((0,a.ok)("children"in u),u.children.push({type:"text",value:"\n"},c)),u}function td(e,t){return e&&"run"in e?async function(r,n){let a=tu(r,{file:n,...t});await e.run(a,n)}:function(r,n){return tu(r,{file:n,...e||t})}}function th(e){if(e)throw e}var tp=r(28392);function tf(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let tm=function(e,t){let r;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tb(e);let n=0,a=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(r){n=i+1;break}}else a<0&&(r=!0,a=i+1);return a<0?"":e.slice(n,a)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(r){n=i+1;break}}else o<0&&(r=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(a=i):(s=-1,a=o));return n===a?a=o:a<0&&(a=e.length),e.slice(n,a)},tg=function(e){let t;if(tb(e),0===e.length)return".";let r=-1,n=e.length;for(;--n;)if(47===e.codePointAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.codePointAt(0)?"/":".":1===r&&47===e.codePointAt(0)?"//":e.slice(0,r)},tv=function(e){let t;tb(e);let r=e.length,n=-1,a=0,i=-1,o=0;for(;r--;){let s=e.codePointAt(r);if(47===s){if(t){a=r+1;break}continue}n<0&&(t=!0,n=r+1),46===s?i<0?i=r:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||n<0||0===o||1===o&&i===n-1&&i===a+1?"":e.slice(i,n)},ty=function(...e){var t;let r,n,a,i=-1;for(;++i<e.length;)tb(e[i]),e[i]&&(a=void 0===a?e[i]:a+"/"+e[i]);return void 0===a?".":(tb(t=a),r=47===t.codePointAt(0),0!==(n=function(e,t){let r,n,a="",i=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)r=e.codePointAt(l);else if(47===r)break;else r=47;if(47===r){if(o===l-1||1===s);else if(o!==l-1&&2===s){if(a.length<2||2!==i||46!==a.codePointAt(a.length-1)||46!==a.codePointAt(a.length-2)){if(a.length>2){if((n=a.lastIndexOf("/"))!==a.length-1){n<0?(a="",i=0):i=(a=a.slice(0,n)).length-1-a.lastIndexOf("/"),o=l,s=0;continue}}else if(a.length>0){a="",i=0,o=l,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(o+1,l):a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===r&&s>-1?s++:s=-1}return a}(t,!r)).length||r||(n="."),n.length>0&&47===t.codePointAt(t.length-1)&&(n+="/"),r?"/"+n:n)};function tb(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function tx(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tT=["history","path","basename","stem","extname","dirname"];class tE{constructor(e){let t,r;t=e?tx(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<tT.length;){const e=tT[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)tT.includes(r)||(this[r]=t[r])}get basename(){return"string"==typeof this.path?tm(this.path):void 0}
1set basename(e){tw(e,"basename"),tC(e,"basename"),this.path=ty(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?tg(this.path):void 0}set dirname(e){tk(this.basename,"dirname"),this.path=ty(e||"",this.basename)}get extname(){return"string"==typeof this.path?tv(this.path):void 0}set extname(e){if(tC(e,"extname"),tk(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=ty(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){tx(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!tx(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,r=-1;for(;++r<t.length;)if(37===t.codePointAt(r)&&50===t.codePointAt(r+1)){let e=t.codePointAt(r+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),tw(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?tm(this.path,this.extname):void 0}set stem(e){tw(e,"stem"),tC(e,"stem"),this.path=ty(this.dirname||"",e+(this.extname||""))}fail(e,t,r){let n=this.message(e,t,r);throw n.fatal=!0,n}info(e,t,r){let n=this.message(e,t,r);return n.fatal=void 0,n}message(e,t,r){let n=new E(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function tC(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function tw(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function tk(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let tS=function(e){let t=this.constructor.prototype,r=t[e],n=function(){return r.apply(n,arguments)};return Object.setPrototypeOf(n,t),n},tI={}.hasOwnProperty;class tP extends tS{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let r=-1,n=t.pop();if("function"!=typeof n)throw TypeError("Expected function as last argument, not "+n);!function a(i,...o){let s=e[++r],l=-1;if(i)return void n(i);for(;++l<t.length;)(null===o[l]||void 0===o[l])&&(o[l]=t[l]);t=o,s?(function(e,t){let r;return function(...t){let i,o=e.length>t.length;o&&t.push(n);try{i=e.apply(this,t)}catch(e){if(o&&r)throw e;return n(e)}o||(i&&i.then&&"function"==typeof i.then?i.then(a,n):i instanceof Error?n(i):a(i))};function n(e,...a){r||(r=!0,t(e,...a))}function a(e){n(null,e)}})(s,a)(...o):n(null,...o)}(null,...t)},use:function(r){if("function"!=typeof r)throw TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}()}copy(){let e=new tP,t=-1;for(;++t<this.attachers.length;){let r=this.attachers[t];e.use(...r)}return e.data(tp(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(tN("data",this.frozen),this.namespace[e]=t,this):tI.call(this.namespace,e)&&this.namespace[e]||void 0:e?(tN("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let r=e.call(this,...t);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=tj(e),r=this.parser||this.Parser;return tR("parse",r),r(String(t),t)}process(e,t){let r=this;return this.freeze(),tR("process",this.parser||this.Parser),tA("process",this.compiler||this.Compiler),t?n(void 0,t):new Promise(n);function n(n,i){let o=tj(e),s=r.parse(o);function l(e,r){e||!r?i(e):n?n(r):((0,a.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,r))}r.run(s,o,function(e,t,n){var a,i;if(e||!t||!n)return l(e);let o=r.stringify(t,n);"string"==typeof(a=o)||(i=a)&&"object"==typeof i&&"byteLength"in i&&"byteOffset"in i?n.value=o:n.result=o,l(e,n)})}}processSync(e){let t,r=!1;return this.freeze(),tR("processSync",this.parser||this.Parser),tA("processSync",this.compiler||this.Compiler),this.process(e,function(e,n){r=!0,th(e),t=n}),tO("processSync","process",r),(0,a.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,r){tD(e),this.freeze();let n=this.transformers;return r||"function"!=typeof t||(r=t,t=void 0),r?i(void 0,r):new Promise(i);function i(i,o){(0,a.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let s=tj(t);n.run(e,s,function(t,n,s){let l=n||e;t?o(t):i?i(l):((0,a.ok)(r,"`done` is defined if `resolve` is not"),r(void 0,l,s))})}}runSync(e,t){let r,n=!1;return this.run(e,t,function(e,t){th(e),r=t,n=!0}),tO("runSync","run",n),(0,a.ok)(r,"we either bailed on an error or have a tree"),r}stringify(e,t){this.freeze();let r=tj(t),n=this.compiler||this.Compiler;return tA("stringify",n),tD(e),n(e,r)}use(e,...t){let r=this.attachers,n=this.namespace;if(tN("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?i(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function a(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");i(e.plugins),e.settings&&(n.settings=tp(!0,n.settings,e.settings))}function i(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)o(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...r]=e;o(t,r)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let n=-1,a=-1;for(;++n<r.length;)if(r[n][0]===e){a=n;break}if(-1===a)r.push([e,...t]);else if(t.length>0){let[n,...i]=t,o=r[a][1];tf(o)&&tf(n)&&(n=tp(!0,o,n)),r[a]=[e,n,...i]}}}}let t_=new tP().freeze();function tR(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tA(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tN(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tD(e){if(!tf(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tO(e,t,r){if(!r)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tj(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new tE(e)}let tL=[],tM={allowDangerousHtml:!0},tH=/^(https?|ircs?|mailto|xmpp)$/i,tF=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tq(e){var t;let r,n,i,o,s,l=(r=(t=e).rehypePlugins||tL,n=t.remarkPlugins||tL,i=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...tM}:tM,t_().use(e3).use(n).use(td,i).use(r)),c=(o=e.children||"",s=new tE,"string"==typeof o?s.value=o:(0,a.HB)("Unexpected value `"+o+"` for `children` prop, expected `string`"),s);return function(e,t){let r=t.allowedElements,n=t.allowElement,i=t.components,o=t.disallowedElements,s=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||tB;for(let e of tF)Object.hasOwn(t,e.from)&&(0,a.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return r&&o&&(0,a.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,e9.YR)(e,function(e,t,a){if("raw"===e.type&&a&&"number"==typeof t)return s?a.children.splice(t,1):a.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in L)if(Object.hasOwn(L,t)&&Object.hasOwn(e.properties,t)){let r=e.properties[t],n=L[t];(null===n||n.includes(e.tagName))&&(e.properties[t]=c(String(r||""),t,e))}}if("element"===e.type){let i=r?!r.includes(e.tagName):!!o&&o.includes(e.tagName);if(!i&&n&&"number"==typeof t&&(i=!n(e,t,a)),i&&a&&"number"==typeof t)return l&&e.children?a.children.splice(t,1,...e.children):a.children.splice(t,1),t}}),function(e,t){var r,n,a,i;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=s,n=t.jsxDEV,o=function(e,t,a,i){let o=Array.isArray(a.children),s=(0,v.PW)(e);return n(t,a,i,o,{columnNumber:s?s.column-1:void 0,fileName:r,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");a=t.jsx,i=t.jsxs,o=function(e,t,r,n){let o=Array.isArray(r.children)?i:a;return n?o(t,r,n):o(t,r)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?h.JW:h.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=_(l,e,void 0);return c&&"string"!=typeof c?c:l.create(e,l.Fragment,{children:c||void 0},void 0)}(e,{Fragment:M.Fragment,components:i,ignoreInvalidStyle:!0,jsx:M.jsx,jsxs:M.jsxs,passKeys:!0,passNode:!0})}(l.runSync(l.parse(c),c),e)}function tB(e){let t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return -1===t||-1!==a&&t>a||-1!==r&&t>r||-1!==n&&t>n||tH.test(e.slice(0,t))?e:""}},93005:e=>
1{e.exports={contentContainer:"ContentContainer_contentContainer__BJ7VR",narrow:"ContentContainer_narrow__6aVUz"}},93096:(e,t,r)=>{"use strict";function n(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}r.d(t,{_:()=>n})},93128:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var n=r(75155),a=r(55729),i=r(11933);let o=()=>{let e,t,r,o=(0,n.c)(4),[s,l]=(0,a.useState)(!1);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=(0,i.Ri)("isLoggedIn");e&&l("true"===e[1].toLowerCase())},t=[],o[0]=e,o[1]=t):(e=o[0],t=o[1]),(0,a.useEffect)(e,t),o[2]!==s?(r={isLoggedIn:s},o[2]=s,o[3]=r):r=o[3],r}},93227:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});let n=function(e){var t,r;if(null==e)return i;if("function"==typeof e)return a(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r<e.length;)t[r]=n(e[r]);return a(function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1})}(e):(t=e,a(function(e){let r;for(r in t)if(e[r]!==t[r])return!1;return!0}))}if("string"==typeof e){return r=e,a(function(e){return e&&e.type===r})}throw Error("Expected function, string, or object as test")};function a(e){return function(t,r,n){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof r?r:void 0,n||void 0))}}function i(){return!0}},93522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(14761)._(r(55729)).default.createContext(null)},93574:(e,t,r)=>{"use strict";r.d(t,{_:()=>a});var n=r(17859);function a(e,t){if(e){if("string"==typeof e)return(0,n._)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n._)(e,t)}}},93625:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(44160),a=r(11933),i=r(95525);let o=(e,t,r)=>(0,i.n)(e)&&e.tags?e.tags.map(e=>e.component===n.T6.IntroCardTag?e.tag:e.overridePublishDate&&e.date?(0,a.N1)(t,e.date):(0,a.N1)(t,r)):[]},94534:(e,t,r)=>{"use strict";r.d(t,{d6:()=>v,zJ:()=>T,fu:()=>c,J0:()=>u,TM:()=>E,Nz:()=>S,kI:()=>H,uY:()=>W,If:()=>V,KZ:()=>f,CF:()=>d});var n=r(6029),a=r(75155),i=r(55729),o=r(78383),s=r.n(o);let l=e=>{try{return e()}catch(e){console.error(e);return}},c=(0,i.createContext)({config:{lottery:"ppl",environment:"dv"},pageViewEvent:s(),searchResultEventHandler:s(),lotterySearchResultEvent:s(),experimentEventHandler:s(),productListEvent:s(),flowInteractionEvent:s(),productTransactionEvent:s(),prizeTransactionEvent:s(),errorViewEvent:s(),productChangeEvent:s(),leadEvent:s(),saveFlowStayEvent:s()}),u=e=>{let t,r,i,o,s,u,d,h,p,f,m,g,v,y,b,x=(0,a.c)(44),{children:T,lottery:E,environment:C,dataLayerName:w}=e,k=void 0===w?"plgDataLayer":w;if(x[0]!==k)t=e=>{let{additionalData:t,pageType:r,pageTopic:n,pageCategories:a,statusCode:i=200,args:o}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"page_view",event_data:{name:"page",category:"page",action:"view"},page_data:{status_code:i,topic:null!=n?n:"",categories:null!=a?a:[],document_type:r,...o},...t})})},x[0]=k,x[1]=t;else t=x[1];let S=t;if(x[2]!==k)r=e=>l(()=>{let t=window;t[k]=Array.isArray(t[k])?t[k]:[];let{__brand:r,...n}=e;t[k].push({event:"search_result",event_data:n})}),x[2]=k,x[3]=r;else r=x[3];let I=r;if(x[4]!==k)i=e=>{let{postcode:t,resultOutcome:r}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"search_result",event_data:{name:"search-result",category:"lottery-result",action:"view",label:t,variant:r}})})},x[4]=k,x[5]=i;else i=x[5];let P=i;if(x[6]!==k)o=e=>l(()=>{let t=window;t[k]=Array.isArray(t[k])?t[k]:[],t[k].push({event:"experiment",event_data:{...e}})}),x[6]=k,x[7]=o;else o=x[7];let _=o;if(x[8]!==k)s=e=>{let{ecommerce:t,eventData:r}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"product_list",ecommerce:t,event_data:{name:"product-list",category:r.category,action:r.action}})})},x[8]=k,x[9]=s;else s=x[9];let R=s;if(x[10]!==k)u=e=>{let{eventData:t}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"flow_interaction",event_data:{name:"flow",category:"paginate",action:t.action}})})},x[10]=k,x[11]=u;else u=x[11];let A=u;if(x[12]!==k)d=e=>{let{eventData:t,ecommerce:r,flowData:n,userData:a}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"product_transaction",flow_data:n,ecommerce:r,user_data:a,event_data:{name:"product",category:"ticket",action:t.action,label:t.label,variant:t.variant,value:t.value}})})},x[12]=k,x[13]=d;else d=x[13];let N=d;if(x[14]!==k)h=e=>{let{eventData:t}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"prize_transaction",event_data:{name:t.name,category:t.category,action:t.action,variant:t.variant,success:t.success,message:t.message}})})},x[14]=k,x[15]=h;else h=x[15];let D=h;if(x[16]!==k)p=e=>{let{eventData:t}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"error_view",event_data:{name:"error",category:t.category,action:"view",variant:t.variant,label:t.label,message:t.message}})})},x[16]=k,x[17]=p;else p=x[17];let O=p;if(x[18]!==k)f=e=>{let{activeTickets:t,ticketsToReduce:r}=e,n={...t&&{length:t},...r&&{value:r}};return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"product_change",event_data:{name:"product",category:"ticket",action:"cancel",variant:"inactive",label:"standard:inactive",...n}})})},x[18]=k,x[19]=f;else f=x[19];let j=f;if(x[20]!==k)m=e=>{let{eventData:t}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"lead",event_data:{action:"create",category:t.category,label:t.label,name:"lead",variant:t.variant}}
1)})},x[20]=k,x[21]=m;else m=x[21];let L=m;if(x[22]!==k)g=e=>{let{label:t}=e;return l(()=>{let e=window;e[k]=Array.isArray(e[k])?e[k]:[],e[k].push({event:"save_flow_stay",event_data:{name:"save-flow-stay-interstitial",category:"modal",label:t,variant:"save-flow-past-wins-interstitial"}})})},x[22]=k,x[23]=g;else g=x[23];let M=g;return x[24]!==C||x[25]!==E?(v={lottery:E,environment:C},x[24]=C,x[25]=E,x[26]=v):v=x[26],x[27]!==O||x[28]!==_||x[29]!==A||x[30]!==L||x[31]!==P||x[32]!==S||x[33]!==D||x[34]!==j||x[35]!==R||x[36]!==N||x[37]!==M||x[38]!==I||x[39]!==v?(y={config:v,pageViewEvent:S,searchResultEventHandler:I,lotterySearchResultEvent:P,experimentEventHandler:_,productListEvent:R,flowInteractionEvent:A,productTransactionEvent:N,prizeTransactionEvent:D,errorViewEvent:O,productChangeEvent:j,leadEvent:L,saveFlowStayEvent:M},x[27]=O,x[28]=_,x[29]=A,x[30]=L,x[31]=P,x[32]=S,x[33]=D,x[34]=j,x[35]=R,x[36]=N,x[37]=M,x[38]=I,x[39]=v,x[40]=y):y=x[40],x[41]!==T||x[42]!==y?(b=(0,n.jsx)(c.Provider,{value:y,children:T}),x[41]=T,x[42]=y,x[43]=b):b=x[43],b},d=e=>{let t,r,n,o=(0,a.c)(9),{additionalData:s,pageType:l,pageTopic:u,pageCategories:d,statusCode:h}=e,p=(0,i.useContext)(c),{pathname:f}=(n=window.location.href,{pathname:window.location.pathname,href:n}),m=(0,i.useRef)(void 0);if(null===p)throw Error("usePageTracking must be used within a TrackingProvider");let{pageViewEvent:g}=p;o[0]!==s||o[1]!==d||o[2]!==u||o[3]!==l||o[4]!==g||o[5]!==f||o[6]!==h?(t=()=>{f&&f!==m.current&&(g({pageType:l,pageTopic:u,pageCategories:d,statusCode:h,additionalData:s}),m.current=f)},r=[u,d,l,g,f,h,s],o[0]=s,o[1]=d,o[2]=u,o[3]=l,o[4]=g,o[5]=f,o[6]=h,o[7]=t,o[8]=r):(t=o[7],r=o[8]),(0,i.useEffect)(t,r)},h={data:window.sessionStorage,get:e=>window.sessionStorage.getItem(e),set(e,t){window.sessionStorage.setItem(e,t),h.data[e]=t}};h.set("salesflow-version",JSON.stringify({version:"5.1.1",variant:"default",pointOfSale:"salesflow"}));var p=r(81278);let f=()=>"true"===new URLSearchParams(window.location.search).get("app")||(()=>{if("u"<typeof document)return!1;let e=document.cookie.match(new RegExp("(?:^|; )".concat("__gtm_campaign_url","=([^;]*)")));return!!e&&"true"===new URLSearchParams(decodeURIComponent(e[1]).split("?")[1]).get("app")})();var m=r(6772),g=r.n(m);let v=e=>{let t,r,i,o,s,l,c,u,d=(0,a.c)(17),{tagManagerScriptUrl:h,environment:p,plgGtmConfig:f,dataLayer:m}=e;if(!h)return null;if(d[0]!==p||d[1]!==f){let e={...f,analytics_version:"plg.1.0"};r="pr"!==p,t=g(),o="plgGtmConfig",s="beforeInteractive",i=JSON.stringify(e),d[0]=p,d[1]=f,d[2]=t,d[3]=r,d[4]=i,d[5]=o,d[6]=s}else t=d[2],r=d[3],i=d[4],o=d[5],s=d[6];let v="\n         window.plgGtmConfig = ".concat(i,";\n        ");d[7]!==t||d[8]!==o||d[9]!==s||d[10]!==v?(l=(0,n.jsx)(t,{id:o,strategy:s,children:v}),d[7]=t,d[8]=o,d[9]=s,d[10]=v,d[11]=l):l=d[11];let y="\n      (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n      '".concat(h,"?id='+i+dl+'").concat(r?"&".concat("gtm_auth=jpnhQet0E35KiS6wz_iOXg","&").concat("gtm_preview=env-3","&").concat("gtm_cookies_win=x"):"","';f.parentNode.insertBefore(j,f);\n      })(window,document,'script','").concat(void 0===m?"plgDataLayer":m,"','").concat("GTM-M57DM94H","');");return d[12]!==y?(c=(0,n.jsx)(g(),{id:"googleTagManager",children:y}),d[12]=y,d[13]=c):c=d[13],d[14]!==l||d[15]!==c?(u=(0,n.jsxs)(n.Fragment,{children:[l,c]}),d[14]=l,d[15]=c,d[16]=u):u=d[16],u},y=()=>"Cookiebot"in window&&"object"==typeof window.Cookiebot&&null!==window.Cookiebot&&"consent"in window.Cookiebot&&"object"==typeof window.Cookiebot.consent&&null!==window.Cookiebot.consent&&"marketing"in window.Cookiebot.consent&&!!window.Cookiebot.consent.marketing,b=()=>{let e=document.cookie,t=/OptanonConsent.*groups=([^;]*)/.exec(e),r=t&&["C0004:1","C0004%3A1"].some(e=>t[1].includes(e));return!!/OptanonAlertBoxClosed/.exec(e)&&!!r},x=()=>{var e;let t=JSON.parse(localStorage.getItem("ucData")||"{}");if(!(null==(e=t.consent)?void 0:e.services))return!1;let r=t.consent.services["S1kgcNo_j-m"];return(null==r?void 0:r.consent)||void 0},T=e=>{let t,r,i=(0,a.c)(5),{id:o,consentNeeded:s,consentStrategy:l}=e,c=void 0===s||s;i[0]!==c||i[1]!==l?(t=c?"(".concat(function(e){switch(e){case"userCentrics":return x.toString();case"oneTrust":return b.toString();case"cookieBot":return y.toString();default:throw Error("Unknown strategy passed for checking consent: ".concat(e))}}(l),")()"):"true",i[0]=c,i[1]=l,i[2]=t):t=i[2];let u="\n        window._hotjar_init = false;\n        var timesRun = 0;\n        (function checkWindowProperty() {\n          const intervalId = setInterval(() =>
1 {\n          timesRun += 1;\n          // We only want to check 5 times because the script should be loaded by then\n          // And we don't want to keep looping infinitely\n          if(timesRun > 5) {\n            clearInterval(intervalId);\n          }\n          const consentGranted = ".concat(t,";\n          if (!consentGranted || window._hotjar_init) {return};\n          window._hotjar_init = true; // Corrected assignment\n          clearInterval(intervalId); // Stop checking once the property is true\n          // Execute the script\n          (function(h, o, t, j, a, r) {\n            h.hj = h.hj || function() { (h.hj.q = h.hj.q || []).push(arguments); };\n            h._hjSettings = { hjid: ").concat(o,", hjsv: 6 };\n            a = o.getElementsByTagName('head')[0];\n            r = o.createElement('script');\n            r.async = 1;\n            r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;\n            a.appendChild(r);\n          })(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');\n         \n        }, 5000); // Check every 5000 equaling 5 seconds milliseconds\n})();\n\n\n");return i[3]!==u?(r=(0,n.jsx)(g(),{children:u}),i[3]=u,i[4]=r):r=i[4],r},E=e=>{let t,r=(0,a.c)(9),{userCentricsID:i,firstPartyProxy:o}=e;if(o){let e,t,a;if(r[0]!==o||r[1]!==i){let n=new URL(o);n.searchParams.set("settingsId",i),e=g(),t=n.toString(),r[0]=o,r[1]=i,r[2]=e,r[3]=t}else e=r[2],t=r[3];return r[4]!==e||r[5]!==t?(a=(0,n.jsx)(e,{src:t,async:!0}),r[4]=e,r[5]=t,r[6]=a):a=r[6],a}return r[7]!==i?(t=(0,n.jsx)(g(),{id:"usercentrics-cmp",src:"https://web.cmp.usercentrics.eu/ui/loader.js","data-settings-id":i,async:!0}),r[7]=i,r[8]=t):t=r[8],t},C=()=>{let e=document.cookie,t=/OptanonConsent.*groups=([^;]*)/.exec(e),r=t&&["C0004:1","C0004%3A1"].some(e=>t[1].includes(e));return!!/OptanonAlertBoxClosed/.exec(e)&&!!r},w=()=>{var e,t;let r=JSON.parse((null==(e=localStorage)?void 0:e.getItem("ucData"))||"{}");if(!(null==(t=r.consent)?void 0:t.services))return!1;let n=r.consent.services["P2iLszT-5zqLH1"];return(null==n?void 0:n.consent)||!1},k=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=arguments.length>2?arguments[2]:void 0;return"(function() {\n  window._vwo_init = false;\n  function runVWOCode() {\n    const consentGranted = ".concat(t?"(".concat(I(r),")()"):"true",";\n    if (!consentGranted || window._vwo_init) return;\n    window._vwo_init = true;\n    var account_id=").concat(e,",\n    version=2.1,\n    settings_tolerance=2000,\n    hide_element='body',\n    hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important',\n    /* DO NOT EDIT BELOW THIS LINE */\n    f=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+account_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c&&typeof c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={use_existing_jquery:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_tolerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){if(performance.getEntriesByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t);if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e}},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src}else{t.text=e.text}d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){var i=this.getSettings(),n=d.createElement('script'),r=this;t=t||{};if(i){n.textContent=i;d.getElementsByTagName('head')[0].appendChild(n);if(!w.VWO||VWO.caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType=t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200){w._vwo_code.addScript({text:o.responseText})}else{w._vwo_code.finish('&e=loading_failure:'+e)}};o.onerror=function(){if(t.onerrorCb){return t.onerrorCb(e)}w._vwo_code.finish('&e=loading_failure:'+e)};o.send()}},getSettings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()>e.e){stT.removeItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')>-1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){w._vwo_code.finish();stT.removeItem(cK)},e);var t;
1if(this.hide_element()!=='body'){t=d.createElement('style');var i=this.hide_element(),n=i?i+this.hide_element_style():'',r=d.getElementsByTagName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v&&t.setAttribute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.styleSheet.cssText=n;else t.appendChild(d.createTextNode(n));r.appendChild(t)}else{t=d.getElementsByTagName('head')[0];var n=d.createElement('div');n.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;';n.setAttribute('id','_vis_opt_path_hides');n.classList.add('_vis_hide_layer');t.parentNode.insertBefore(n,t.nextSibling)}var o='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&vn='+version;if(w.location.search.indexOf('_vwo_xhr')!==-1){this.addScript({src:o})}else{this.load(o+'&x=true')}}};w._vwo_code=code;code.init();\n  }\n  runVWOCode();\n  window.addEventListener('UC_UI_CMP_EVENT', (data) => {\n    if (data.detail.type === 'ACCEPT_ALL' || data.detail.type === 'SAVE') {\n      runVWOCode();\n    }\n  });\n  window.addEventListener('OneTrustGroupsUpdated', function(event) {\n    if ((").concat(I(r),")()) {\n      runVWOCode();\n    }\n  });\n  window.addEventListener('CookiebotOnAccept', function() {\n    if ((").concat(I(r),")()) {\n      runVWOCode();\n    }\n  });\n})();\n/* DO NOT EDIT BELOW THIS LINE */\n(function(){var i=window;function t(){if(i._vwo_code){var e=t.hidingStyle=document.getElementById('_vis_opt_path_hides')||t.hidingStyle;if(!i._vwo_code.finished()&&!_vwo_code.libExecuted&&(!i.VWO||!VWO.dNR)){if(!document.getElementById('_vis_opt_path_hides')){document.getElementsByTagName('head')[0].appendChild(e)}requestAnimationFrame(t)}}}t()})();\n")},S=e=>{let t,r,i=(0,a.c)(6),{accountId:o,consentNeeded:s,consentStrategy:l}=e,c=void 0===l?"userCentrics":l;i[0]!==o||i[1]!==s||i[2]!==c?(t=k(o,s,c),i[0]=o,i[1]=s,i[2]=c,i[3]=t):t=i[3];let u="".concat(t);return i[4]!==u?(r=(0,n.jsx)(g(),{strategy:"beforeInteractive",id:"vwoCode",children:u}),i[4]=u,i[5]=r):r=i[5],r};function I(e){switch(e){case"userCentrics":return w.toString();case"oneTrust":return C.toString();case"cookieBot":return y.toString();default:throw Error("Unknown strategy passed for checking consent: ".concat(e))}}var P=r(52229),_=r(29143);function R(){return"u">typeof window}function A(){return"production"}function N(){return"development"===((R()?window.vam:A())||"production")}function D(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function O(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function j(e){return(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,i.useEffect)(()=>{!function(e={debug:!0},t){var r;if(!R())return;let{beforeSend:n,src:a,dataset:i}=function(e,t){var r,n;let a=e;if(t)try{a={...null==(r=JSON.parse(t))?void 0:r.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=A();return}window.vam=e}(a.mode);let i={sdkn:"@vercel/analytics"+(a.framework?`/${a.framework}`:""),sdkv:"2.0.1"};return a.disableAutoTrack&&(i.disableAutoTrack="1"),a.viewEndpoint&&(i.viewEndpoint=O(a.viewEndpoint)),a.eventEndpoint&&(i.eventEndpoint=O(a.eventEndpoint)),a.sessionEndpoint&&(i.sessionEndpoint=O(a.sessionEndpoint)),N()&&!1===a.debug&&(i.debug="false"),a.dsn&&(i.dsn=a.dsn),a.endpoint?i.endpoint=a.endpoint:a.basePath&&(i.endpoint=O(`${a.basePath}/insights`)),{beforeSend:a.beforeSend,src:(n=a).scriptSrc?O(n.scriptSrc):N()?"https://va.vercel-scripts.com/v1/script.debug.js":n.basePath?O(`${n.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:i}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(r=window.va)||r.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${a}"]`))return;let o=document.createElement("script");for(let[e,t]of(o.src=a,Object.entries(i)))o.dataset[e]=t;o.defer=!0,o.onerror=()=>{let e=N()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${a}. ${e}`)},document.head.appendChild(o)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==_&&void 0!==_.env)return _.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e}
1,e.configString??function(){if(void 0!==_&&void 0!==_.env)return _.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,i.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function L(e){let t,r,n,{route:a,path:o}=(t=(0,P.useParams)(),r=(0,P.useSearchParams)(),n=(0,P.usePathname)(),t?{route:function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=D(n);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=D(n.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch{return e}}(n,Object.keys(t).length?t:Object.fromEntries(r.entries())),path:n}:{route:null,path:n});return i.createElement(j,{path:o,route:a,...e,basePath:function(){if(void 0!==_&&void 0!==_.env)return _.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}(),configString:function(){if(void 0!==_&&void 0!==_.env)return'{"analytics":{"scriptSrc":"t/a/script.js","viewEndpoint":"t/a/view","eventEndpoint":"t/a/event","sessionEndpoint":"t/a/session"}
1,"speedInsights":{"scriptSrc":"t/i/script.js","endpoint":"t/i/vitals"}}'}(),framework:"next"})}function M(e){return i.createElement(i.Suspense,{fallback:null},i.createElement(L,{...e}))}let H=e=>{let t,r=(0,a.c)(3),{environment:i}=e,o="pr"!==i,s=o?"development":"production";return r[0]!==o||r[1]!==s?(t=(0,n.jsx)(M,{debug:o,mode:s}),r[0]=o,r[1]=s,r[2]=t):t=r[2],t};var F=r(29143);function q(){return"development"===function(){return"production"}()}function B(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function U(e){(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!t.current){let r=function(e={},t){var r;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:n,src:a,dataset:i}=function(e,t){var r,n;let a=e;if(t)try{a={...null==(r=JSON.parse(t))?void 0:r.speedInsights,...e}}catch{}let i={sdkn:"@vercel/speed-insights"+(a.framework?`/${a.framework}`:""),sdkv:"2.0.0"};return a.sampleRate&&(i.sampleRate=a.sampleRate.toString()),a.route&&(i.route=a.route),q()&&!1===a.debug&&(i.debug="false"),a.dsn&&(i.dsn=a.dsn),a.endpoint?i.endpoint=B(a.endpoint):a.basePath&&(i.endpoint=B(`${a.basePath}/speed-insights/vitals`)),{src:(n=a).scriptSrc?B(n.scriptSrc):q()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":n.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":n.basePath?B(`${n.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:a.beforeSend,dataset:i}}(e,t);if(document.head.querySelector(`script[src*="${a}"]`))return null;n&&(null==(r=window.si)||r.call(window,"beforeSend",n));let o=document.createElement("script");for(let[e,t]of(o.src=a,o.defer=!0,Object.entries(i)))o.dataset[e]=t;return o.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${a}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(o),{setRoute:e=>{o.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==F&&void 0!==F.env)return F.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==F&&void 0!==F.env)return F.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());r&&(t.current=r.setRoute)}},[e]),(0,i.useEffect)(()=>{t.current&&e.route&&t.current(e.route)},[e.route]),null}let W=e=>{let t,r=(0,a.c)(3),{environment:i,sampleRate:o,enabledEnvironments:s}=e,l=void 0===o?.5:o,{pathname:c}=(0,p.useRouter)();return(void 0===s?["pr"]:s).includes(i)?(r[0]!==c||r[1]!==l?(t=(0,n.jsx)(U,{sampleRate:l,route:c,framework:"next"}),r[0]=c,r[1]=l,r[2]=t):t=r[2],t):null},V=e=>e>0},95178:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return n}}),r(62418).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95185:e=>{"use strict";e.exports=Function.prototype.call},95525:(e,t,r)=>{"use strict";r.d(t,{n:()=>n});let n=e=>(null==e?void 0:e.component)==="IntroCardSection"},95605:(e,t,r)=>{"use strict";var n=r(14274),a=r(57379),i=r(95185);e.exports=r(7978)||n.call(i,a)},95661:(e,t,r)=>{"use strict";r.d(t,{_:()=>s});var n=r(36176),a=r(18790),i=r(19023),o=r(93574);function s(e){return(0,n._)(e)||(0,a._)(e)||(0,o._)(e)||(0,i._)()}},95669:(e,t,r)=>{e.exports=r(36524)},95702:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(6029),a=r(55729),i=r(64776);let o=(0,a.forwardRef)(({blok:e,...t},r)=>{if(!e)return console.error("Please provide a 'blok' property to the StoryblokComponent"),(0,n.jsx)("div",{children:"Please provide a blok property to the StoryblokComponent"});let a=(0,i.QQ)(e.component);if(a)return(0,n.jsx)(a,{ref:r,blok:e,...t});if((0,i.l_)()){let r=(0,i.nr)();return r?(0,n.jsx)(r,{blok:e,...t}):(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("p",{children:["Component could not be found for blok"," ",(0,n.jsx)("strong",{children:e.component}),"! Is it configured correctly?"]})})}return(0,n.jsx)("div",{})});o.displayName="StoryblokComponent"},95816:(e,t,r)=>{var n=r(43701),a=r(53140),i=r(42209),o=r(91544),s=r(16799),l=r(9541),c=r(23282),u=r(43562),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;
1if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=a(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var r in e)if(d.call(e,r))return!1;return!0}},95868:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,a,i,o,s,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var c=Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(void 0===(a=this._events[e]))return!1;if(r(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),a.apply(this,o)}else if(n(a))for(o=Array.prototype.slice.call(arguments,1),i=(l=a.slice()).length,s=0;s<i;s++)l[s].apply(this,o);return!0},t.prototype.addListener=function(e,a){var i;if(!r(a))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(a.listener)?a.listener:a),this._events[e]?n(this._events[e])?this._events[e].push(a):this._events[e]=[this._events[e],a]:this._events[e]=a,n(this._events[e])&&!this._events[e].warned&&(i=void 0===this._maxListeners?t.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function a(){this.removeListener(e,a),n||(n=!0,t.apply(this,arguments))}return a.listener=t,this.on(e,a),this},t.prototype.removeListener=function(e,t){var a,i,o,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(a=this._events[e]).length,i=-1,a===t||r(a.listener)&&a.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(a)){for(s=o;s-- >0;)if(a[s]===t||a[s].listener&&a[s].listener===t){i=s;break}if(i<0)return this;1===a.length?(a.length=0,delete this._events[e]):a.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},96162:(e,t,r)=>{"use strict";var n=r(38174),a=r(54850),i=r(57642),o=r(41822),s=r(40814);function l(e,t,r,a){return new n(e,t,r,a)}l.version=r(5747),l.AlgoliaSearchHelper=n,l.SearchParameters=o,l.RecommendParameters=a,l.SearchResults=s,l.RecommendResults=i,e.exports=l},96352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return o}
1,useServerInsertedHTML:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let i=r(13514)._(r(55729)),o=i.default.createContext(null);function s(e){let t=(0,i.useContext)(o);t&&t(e)}},97036:(e,t,r)=>{"use strict";var n=r(85761),a=r(5387);e.exports={formats:r(32236),parse:a,stringify:n}},97398:(e,t,r)=>{"use strict";r.d(t,{T:()=>l,n:()=>c});var n=r(6029),a=r(75155),i=r(55729);let{locale:o,lottery:s}=(0,r(11933).lC)(),l=(0,i.createContext)({locale:o,lottery:s}),c=e=>{let t,r,i=(0,a.c)(7),{children:o,locale:s,lottery:c,excludedSearchTopics:u}=e;i[0]!==u||i[1]!==s||i[2]!==c?(t={locale:s,lottery:c,excludedSearchTopics:u},i[0]=u,i[1]=s,i[2]=c,i[3]=t):t=i[3];let d=t;return i[4]!==o||i[5]!==d?(r=(0,n.jsx)(l.Provider,{value:d,children:o}),i[4]=o,i[5]=d,i[6]=r):r=i[6],r}},98516:(e,t,r)=>{"use strict";var n=Function.prototype.call,a=Object.prototype.hasOwnProperty;e.exports=r(14274).call(n,a)},98805:()=>{},99280:(e,t,r)=>{"use strict";function n(e){return"string"!=typeof e}r.d(t,{S:()=>n})},99490:(e,t,r)=>{"use strict";function n(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}r.d(t,{_:()=>n})},99553:(e,t,r)=>{"use strict";var n=r(12853);function a(e){return Object.keys(e).sort().reduce(function(t,r){return t[r]=e[r],t},{})}var i={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:i._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(n){r.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,n)})}),t.getRefinedHierarchicalFacets().forEach(function(n){var a=t.getHierarchicalFacetByName(n),o=t.getHierarchicalRefinement(n),s=t._getHierarchicalFacetSeparator(a);if(o.length>0&&o[0].split(s).length>1){var l=o[0].split(s).slice(0,-1).reduce(function(e,t,r){return e.concat({attribute:a.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(s)})},[]);l.forEach(function(n,o){var s=i._getDisjunctiveFacetSearchParams(t,n.attribute,0===o);function c(e){return a.attributes.some(function(t){return t===e.split(":")[0]})}var u=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var r=t.filter(function(e){return!c(e)});r.length>0&&e.push(r)}return"string"!=typeof t||c(t)||e.push(t),e},[]),d=l[o-1];o>0?s.facetFilters=u.concat(d.attribute+":"+d.value):u.length>0?s.facetFilters=u:delete s.facetFilters,r.push({indexName:e,params:s})})}}),r},_getCompositionQueries:function(e){return[{compositionID:e.index,requestBody:{params:i._getCompositionHitsSearchParams(e)}}]},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)).sort(),r=i._getFacetFilters(e),o=i._getNumericFilters(e),s=i._getTagFilters(e),l={};return t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o),a(n({},e.getQueryParams(),l))},_getCompositionHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets.map(function(t){return e.disjunctiveFacetsRefinements&&e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].length>0?"disjunctive("+t+")":t})).concat(i._getHitsHierarchicalFacetsAttributes(e)).sort(),r=i._getFacetFilters(e),o=i._getNumericFilters(e),s=i._getTagFilters(e),l={};t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o);var c=e.getQueryParams();return delete c.highlightPreTag,delete c.highlightPostTag,delete c.index,a(n({},c,l))},_getDisjunctiveFacetSearchParams:function(e,t,r){var o=i._getFacetFilters(e,t,r),s=i._getNumericFilters(e,t),l=i._getTagFilters(e),c={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};l.length>0&&(c.tagFilters=l);var u=e.getHierarchicalFacetByName(t);return u?c.facets=i._getDisjunctiveHierarchicalFacetAttribute(e,u,r):c.facets=t,s.length>0&&(c.numericFilters=s),o.length>0&&(c.facetFilters=o),a(n({},e.getQueryParams(),c))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach(function(n){var a=e.numericRefinements[n]||{};
1Object.keys(a).forEach(function(e){var i=a[e]||[];t!==n&&i.forEach(function(t){if(Array.isArray(t)){var a=t.map(function(t){return n+e+t});r.push(a)}else r.push(n+e+t)})})}),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],a=e.facetsRefinements||{};Object.keys(a).sort().forEach(function(e){(a[e]||[]).slice().sort().forEach(function(t){n.push(e+":"+t)})});var i=e.facetsExcludes||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).sort().forEach(function(t){n.push(e+":-"+t)})});var o=e.disjunctiveFacetsRefinements||{};Object.keys(o).sort().forEach(function(e){var r=o[e]||[];if(e!==t&&r&&0!==r.length){var a=[];r.slice().sort().forEach(function(t){a.push(e+":"+t)}),n.push(a)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(a){var i,o,l=(s[a]||[])[0];if(void 0!==l){var c=e.getHierarchicalFacetByName(a),u=e._getHierarchicalFacetSeparator(c),d=e._getHierarchicalRootPath(c);if(t===a){if(-1===l.indexOf(u)||!d&&!0===r||d&&d.split(u).length===l.split(u).length)return;d?(o=d.split(u).length-1,l=d):(o=l.split(u).length-2,l=l.slice(0,l.lastIndexOf(u))),i=c.attributes[o]}else o=l.split(u).length-1,i=c.attributes[o];i&&n.push([i+":"+l])}}),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var a=e._getHierarchicalFacetSeparator(r),i=n.split(a).length,o=r.attributes.slice(0,i+1);return t.concat(o)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var a=e._getHierarchicalRootPath(t),i=0;return a&&(i=a.split(n).length),[t.attributes[i]]}var o=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,o+1)},getSearchForFacetQuery:function(e,t,r,o){var s=o.isDisjunctiveFacet(e)?o.clearRefinements(e):o,l={facetQuery:t,facetName:e};return"number"==typeof r&&(l.maxFacetHits=r),a(n({},i._getHitsSearchParams(s),l))}};e.exports=i},99649:(e,t,r)=>{"use strict";r.d(t,{_:()=>a});var n=r(78191);function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),a.forEach(function(t){(0,n._)(e,t,r[t])})}return e}}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(20087),t(36021),t(69853))),_N_E=e.O()}]);

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