Changeset 3434727
- Timestamp:
- 01/07/2026 09:43:36 PM (6 days ago)
- Location:
- gatey/trunk
- Files:
-
- 12 edited
-
gatey-admin/dist/181.js (modified) (1 diff)
-
gatey-admin/dist/491.js (modified) (1 diff)
-
gatey-admin/dist/788.js (modified) (1 diff)
-
gatey-admin/dist/index.asset.php (modified) (1 diff)
-
gatey-admin/dist/index.js (modified) (1 diff)
-
gatey-blocks/dist/authenticator/block.json (modified) (1 diff)
-
gatey-blocks/dist/index.asset.php (modified) (1 diff)
-
gatey-blocks/dist/index.js (modified) (1 diff)
-
gatey-main/dist/index.asset.php (modified) (1 diff)
-
gatey-main/dist/index.js (modified) (1 diff)
-
gatey.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gatey/trunk/gatey-admin/dist/181.js
r3432881 r3434727 1 "use strict";(globalThis.webpackChunk_smart_cloud_gatey_admin=globalThis.webpackChunk_smart_cloud_gatey_admin||[]).push([[181],{75181(e,n,i){i.r(n),i.d(n,{default:()=>X});var a=i(6252),o=i(28008),s=i(64999),t=i(5055),r=i(14598),l=i(48324),d=i(17826),c=i(89652),u=i(57193),p=i(69019), m=i(31179),g=i(4039),h=i(77828),f=i(74533),x=i(11507),j=i(85091),y=i(69329),k=i(9543),b=i(45727),I=i(27723);const C=(0,i(38728).A)("outline","moneybag-heart","MoneybagHeart",[["path",{d:"M9.5 3h5a1.5 1.5 0 0 1 1.5 1.5a3.5 3.5 0 0 1 -3.5 3.5h-1a3.5 3.5 0 0 1 -3.5 -3.5a1.5 1.5 0 0 1 1.5 -1.5",key:"svg-0"}],["path",{d:"M11.5 21h-3.5a4 4 0 0 1 -4 -4v-1a8 8 0 0 1 14.376 -4.833",key:"svg-1"}],["path",{d:"M18 22l3.35 -3.284a2.143 2.143 0 0 0 .005 -3.071a2.24 2.24 0 0 0 -3.129 -.006l-.224 .22l-.223 -.22a2.24 2.24 0 0 0 -3.128 -.006a2.143 2.143 0 0 0 -.006 3.071l3.355 3.296",key:"svg-2"}]]);var A=i(7641),P=i(84805),z=i(49568),T=i(20899),w=i(4225),v=i(36118),$=i(42449),H=i(48285),K=i(30988),N=i(51609),S=i(8354),Y=i(43226),O=i(70544),_=i(10790);const L=S.Ikc({key:S.YjP(),name:S.YjP().min(2),endpoint:S.YjP().min(2).url(),region:S.YjP().optional(),authorization:S.k5n(["IAM","ACCESS_TOKEN","ID_TOKEN"])}),E=S.Ikc({key:S.YjP(),name:S.YjP(),value:S.YjP()}),M=S.Ikc({apiName:S.YjP(),path:S.YjP(),options:S.Ikc({withCredentials:S.zMY(),headers:S.YOg(E).refine(e=>{const n=e.map(e=>e.name);return new Set(n).size===n.length},{message:"Header names must be unique"}),queryParams:S.YOg(E).refine(e=>{const n=e.map(e=>e.name);return new Set(n).size===n.length},{message:"Query parameter names must be unique"})})}),D=S.Ikc({apiConfiguration:S.Ikc({default:S.Ikc({apis:S.YOg(L),signInHook:M.optional(),signOutHook:M.optional()}),secondary:S.Ikc({domains:S.YjP(),apis:S.YOg(L),signInHook:M.optional(),signOutHook:M.optional()})})});function X({amplifyConfigured:e,config:n,accountId:i,siteId:c,siteKey:u,onSave:p,InfoLabelComponent:m}){const[g,h]=(0,N.useState)(!1),[f,x]=(0,N.useState)(!1),j=(0,y.m)({mode:"uncontrolled",initialValues:{apiConfiguration:{default:{apis:[]},secondary:{domains:"",apis:[]}}},validate:(0,K.s)(D)}),w=(0,N.useCallback)(e=>e?Object.entries(e).map(([e,n])=>({key:(0,b.z)(),name:e,value:n})):[],[]),v=(0,N.useCallback)(e=>e?e.reduce((e,n)=>(n.name&&(e[n.name]=n.value),e),{}):{},[]),$=(0,N.useCallback)(e=>{if(e)return{apiName:e.apiName,path:e.path,options:{withCredentials:e.options.withCredentials,headers:v(e.options.headers),queryParams:v(e.options.queryParams)}}},[v]),H=(0,N.useCallback)(e=>{if(e)return{apiName:e.apiName,path:e.path,options:{withCredentials:e.options?.withCredentials||!1,headers:w(e.options?.headers),queryParams:w(e.options?.queryParams)}}},[w]),S=(0,N.useCallback)(async e=>{if(i&&c&&u){x(!0);try{const o={...n,apiConfigurations:{default:{apis:e.apiConfiguration.default.apis.map(e=>({name:e.name,endpoint:e.endpoint,region:e.region,authorization:e.authorization})),signInHook:$(e.apiConfiguration.default.signInHook),signOutHook:$(e.apiConfiguration.default.signOutHook)},secondary:e.apiConfiguration.secondary.apis?{domains:e.apiConfiguration.secondary.domains,apis:e.apiConfiguration.secondary.apis.map(e=>({name:e.name,endpoint:e.endpoint,region:e.region,authorization:e.authorization})),signInHook:$(e.apiConfiguration.secondary.signInHook),signOutHook:$(e.apiConfiguration.secondary.signOutHook)}:void 0}};delete o.subscriptionType;const s=await async function(e,n,i,o){const s=(0,a.yJ)({apiName:"backend",path:`/account/${e}/site/${n}/settings`,options:{body:{settings:o},headers:{"X-Site-Key":i}}}),t=await s.response;if(t.statusCode<200||t.statusCode>=300)throw new Error(t.body.toString());return(await t.body.json()).settings}(i,c,u,o);p(s),k.$e.show({title:(0,I.__)("Settings saved",O.TEXT_DOMAIN),message:(0,I.__)("API settings saved successfully.",O.TEXT_DOMAIN),color:"green",icon:(0,_.jsx)(C,{}),className:Y.A.notification})}catch(e){console.error("Error saving API settings:",e),k.$e.show({title:(0,I.__)("Error occured",O.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,_.jsx)(A.A,{}),className:Y.A.notification})}finally{x(!1)}}else console.error("Missing account ID or site ID or site key")},[i,n,p,c,u,$]);return(0,N.useEffect)(()=>{if(!g&&n){h(!0);const e={apiConfiguration:{default:{apis:(n.apiConfigurations?.default?.apis||[]).map(e=>({key:(0,b.z)(),name:e.name,endpoint:e.endpoint,region:e.region,authorization:e.authorization})),signInHook:H(n.apiConfigurations?.default?.signInHook),signOutHook:H(n.apiConfigurations?.default?.signOutHook)},secondary:{domains:n.apiConfigurations?.secondary?.domains||"",apis:(n.apiConfigurations?.secondary?.apis||[]).map(e=>({key:(0,b.z)(),name:e.name,endpoint:e.endpoint,region:e.region,authorization:e.authorization})),signInHook:H(n.apiConfigurations?.secondary?.signInHook),signOutHook:H(n.apiConfigurations?.secondary?.signOutHook)}}};j.setValues(e)}},[n,j,H,g]),(0,N.useEffect)(()=>{n&&h(!1)},[n]),(0,_.jsxs)("form",{name:"apisettings-editor",onSubmit:j.onSubmit(S),children:[(0,_.jsxs)(o.t,{defaultValue:"default",mb:"lg",children:[(0,_.jsxs)(o.t.List,{children:[(0,_.jsx)(o.t.Tab,{value:"default",leftSection:(0,_.jsx)(P.A,{size:16}),children:(0,_.jsx)(m,{text:"Default",scrollToId:"api-definitaions"})}),(0,_.jsx)(o.t.Tab,{value:"secondary",leftSection:(0,_.jsx)(z.A,{size:16}),children:(0,_.jsx)(m,{text:"Secondary",scrollToId:"api-definitaions"})})]}),(0,_.jsx)(o.t.Panel,{value:"default",p:"md",bg:"gray.1",children:(0,_.jsx)(V,{configKey:"default",form:j,InfoLabelComponent:m})}),(0,_.jsx)(o.t.Panel,{value:"secondary",p:"md",bg:"gray.1",children:(0,_.jsx)(V,{configKey:"secondary",form:j,InfoLabelComponent:m})})]}),(0,_.jsxs)(s.Y,{justify:"flex-end",children:[(0,_.jsx)(t.$,{type:"submit",variant:"gradient",loading:f,leftSection:(0,_.jsx)(T.A,{size:16}),disabled:!e,children:"Save API Configuration"}),!e&&(0,_.jsxs)(r.j,{children:[(0,_.jsx)(r.j.Target,{children:(0,_.jsx)(l.M,{variant:"subtle",size:"xs",children:(0,_.jsx)(A.A,{size:16,color:"red"})})}),(0,_.jsx)(r.j.Dropdown,{maw:300,style:{zIndex:1e4},children:(0,_.jsxs)(d.E,{size:"sm",children:["🛑 ",(0,_.jsx)("strong",{children:"Heads-up"}),": Configuration is temporarily unavailable. Please try again later — no action is needed on your side."]})})]})]})]})}function V({configKey:e,form:n,InfoLabelComponent:i}){const a=n.getValues().apiConfiguration[e].apis;return(0,_.jsxs)(_.Fragment,{children:["secondary"===e&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(s.Y,{gap:"xs",align:"center",mb:"sm",children:(0,_.jsx)(c.h,{order:4,children:(0,_.jsx)(i,{text:"Domains",scrollToId:"api-domains"})})}),(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},withAsterisk:!0,...n.getInputProps("apiConfiguration."+e+".domains"),mb:"md"},n.key("apiConfiguration."+e+".domains"))]}),(0,_.jsx)(s.Y,{gap:"xs",align:"center",mb:"sm",children:(0,_.jsx)(c.h,{order:4,children:"APIs"})}),(0,_.jsx)(F,{form:n,configKey:e,InfoLabelComponent:i}),(0,_.jsx)(s.Y,{gap:"xs",align:"center",mb:"sm",children:(0,_.jsx)(c.h,{order:4,children:(0,_.jsx)(i,{text:"Hooks",scrollToId:"api-hooks"})})}),(0,_.jsxs)(p.B,{gap:"md",children:[0===a.length&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(c.h,{order:5,ta:"center",mt:"lg",children:"No Hooks Configured"}),(0,_.jsx)(d.E,{c:"dimmed",size:"sm",ta:"center",mb:"lg",children:"You can configure hooks after adding at least one API."})]}),a.length>0&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(B,{title:"Sign In",form:n,configKey:e,hookKey:"signInHook",InfoLabelComponent:i}),(0,_.jsx)(B,{title:"Sign Out",form:n,configKey:e,hookKey:"signOutHook",InfoLabelComponent:i})]})]})]})}function B({title:e,form:n,configKey:i,hookKey:a,InfoLabelComponent:o}){const r=`apiConfiguration.${i}.${a}`,d=n.getValues().apiConfiguration[i].apis,x=!!n.getValues().apiConfiguration[i][a];return(0,_.jsx)(m.Z,{shadow:"sm",withBorder:!0,children:(0,_.jsxs)(p.B,{children:[(0,_.jsxs)(s.Y,{children:[(0,_.jsx)(c.h,{order:5,style:{flexGrow:1},children:e}),x&&(0,_.jsx)(g.m,{label:"Delete Hook",children:(0,_.jsx)(l.M,{color:"red",variant:"subtle","aria-label":"Delete Hook",onClick:()=>n.setFieldValue(r,void 0),children:(0,_.jsx)(w.A,{size:"1rem"})})}),!x&&(0,_.jsx)(t.$,{variant:"subtle",size:"compact-xs",leftSection:(0,_.jsx)(v.A,{size:16}),onClick:()=>n.setFieldValue(r,{apiName:"",path:"",options:{withCredentials:!1,headers:[],queryParams:[]}}),children:"Configure"})]}),x&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(s.Y,{grow:!0,children:[(0,_.jsx)(h.l,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(o,{text:"API",scrollToId:"hook-api"}),withAsterisk:!0,data:d.map(e=>e.name),...n.getInputProps(`${r}.apiName`)},n.key(`${r}.apiName`)),(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(o,{text:"Path",scrollToId:"hook-path"}),withAsterisk:!0,...n.getInputProps(`${r}.path`)},n.key(`${r}.path`))]}),(0,_.jsx)(f.S,{label:(0,_.jsx)(o,{text:"With Credentials",scrollToId:"hook-credentials"}),style:{flexGrow:1},...n.getInputProps(`${r}.options.withCredentials`,{type:"checkbox"})},n.key(`${r}.options.withCredentials`)),(0,_.jsx)(c.h,{order:5,children:(0,_.jsx)(o,{text:"Headers",scrollToId:"hook-headers"})}),(0,_.jsx)(q,{form:n,configKey:i,hookKey:a,optionKey:"headers",addButtonLabel:"Add Header"}),(0,_.jsx)(c.h,{order:5,children:(0,_.jsx)(o,{text:"Query Params",scrollToId:"hook-headers"})}),(0,_.jsx)(q,{form:n,configKey:i,hookKey:a,optionKey:"queryParams",addButtonLabel:"Add Query Param"})]})]})})}function q({form:e,configKey:n,hookKey:i,optionKey:a,addButtonLabel:o}){const s=`apiConfiguration.${n}.${i}.options.${a}`,r=e.getValues(),d=r.apiConfiguration[n][i]?.options?.[a];return(0,_.jsxs)(x.a,{children:[(0,_.jsxs)(j.X,{withTableBorder:!0,children:[(0,_.jsx)(j.X.Thead,{children:(0,_.jsxs)(j.X.Tr,{children:[(0,_.jsx)(j.X.Th,{children:"Name"}),(0,_.jsx)(j.X.Th,{children:"Value"}),(0,_.jsx)(j.X.Th,{})]})}),(0,_.jsx)(j.X.Tbody,{children:d?.map((n,i)=>(0,_.jsxs)(j.X.Tr,{children:[(0,_.jsx)(j.X.Td,{children:(0,_.jsx)("input",{type:"text",...e.getInputProps(`${s}.${i}.name`),style:{border:"none",padding:0,margin:0,fontSize:"13px",width:"100%"}},e.key(`${s}.${i}.name`))}),(0,_.jsx)(j.X.Td,{children:(0,_.jsx)("input",{type:"text",...e.getInputProps(`${s}.${i}.value`),style:{border:"none",padding:0,margin:0,fontSize:"13px",width:"100%"}},e.key(`${s}.${i}.value`))}),(0,_.jsx)(j.X.Td,{children:(0,_.jsx)(l.M,{color:"red",variant:"subtle","aria-label":"Delete Header",onClick:()=>e.removeListItem(s,i),children:(0,_.jsx)(w.A,{size:"1rem"})})})]},n.key))})]}),(0,_.jsx)(t.$,{variant:"subtle",size:"compact-xs",leftSection:(0,_.jsx)($.A,{size:14}),w:"100%",mt:"0.3rem",onClick:()=>{e.insertListItem(s,{key:(0,b.z)(),name:"",value:""})},children:o})]})}function F({form:e,configKey:n,InfoLabelComponent:i}){const a=`apiConfiguration.${n}.apis`,o=e.getValues().apiConfiguration[n].apis,r=()=>{e.insertListItem(a,{key:(0,b.z)(),name:"",endpoint:"",region:"",authorization:"IAM"})};return o.length?(0,_.jsxs)(p.B,{gap:"md",mb:"lg",children:[o.map((a,o)=>(0,_.jsx)(G,{form:e,configKey:n,index:o,InfoLabelComponent:i},a.key)),(0,_.jsx)(s.Y,{justify:"center",children:(0,_.jsx)(t.$,{variant:"subtle",size:"compact-xs",leftSection:(0,_.jsx)($.A,{size:14}),w:"100%",mt:"0.3rem",onClick:r,children:"Add API"})})]}):(0,_.jsxs)(p.B,{align:"center",gap:"md",py:"xl",mb:"lg",children:[(0,_.jsx)(c.h,{order:4,children:"No APIs Configured"}),(0,_.jsx)(d.E,{c:"dimmed",size:"sm",ta:"center",children:"You haven't added any API definitions yet."}),(0,_.jsx)(t.$,{variant:"gradient",size:"xs",leftSection:(0,_.jsx)(H.A,{}),onClick:r,children:"Add API"})]})}function G({form:e,configKey:n,index:i,InfoLabelComponent:a}){const o=`apiConfiguration.${n}.apis.${i}`;return(0,_.jsx)(m.Z,{shadow:"sm",withBorder:!0,children:(0,_.jsxs)(p.B,{children:[(0,_.jsxs)(s.Y,{grow:!0,children:[(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(a,{text:"Name",scrollToId:"api-name"}),withAsterisk:!0,...e.getInputProps(`${o}.name`)},e.key(`${o}.name`)),(0,_.jsx)(h.l,{label:(0,_.jsx)(a,{text:"Authorization",scrollToId:"api-authorization"}),data:[{value:"IAM",label:"IAM"},{value:"ACCESS_TOKEN",label:"Access Token"},{value:"ID_TOKEN",label:"ID Token"}],defaultValue:"IAM",...e.getInputProps(`${o}.authorization`)},e.key(`${o}.authorization`))]}),(0,_.jsxs)(s.Y,{align:"center",children:[(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(a,{text:"Endpoint",scrollToId:"api-endpoint"}),withAsterisk:!0,...e.getInputProps(`${o}.endpoint`),style:{flexGrow:1}},e.key(`${o}.endpoint`)),(0,_.jsx)(g.m,{label:"Delete API",children:(0,_.jsx)(l.M,{color:"red",variant:"subtle","aria-label":"Delete API",mt:"lg",onClick:()=>e.removeListItem(`apiConfiguration.${n}.apis`,i),children:(0,_.jsx)(w.A,{size:"1rem"})})})]}),(0,_.jsx)(s.Y,{align:"center",children:(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(a,{text:"Region",scrollToId:"api-region"}),...e.getInputProps(`${o}.region`),style:{flexGrow:1}},e.key(`${o}.region`))})]})})}}}]);1 "use strict";(globalThis.webpackChunk_smart_cloud_gatey_admin=globalThis.webpackChunk_smart_cloud_gatey_admin||[]).push([[181],{75181(e,n,i){i.r(n),i.d(n,{default:()=>X});var a=i(6252),o=i(28008),s=i(64999),t=i(5055),r=i(14598),l=i(48324),d=i(17826),c=i(89652),u=i(57193),p=i(69019),g=i(31179),m=i(4039),h=i(77828),f=i(74533),x=i(11507),j=i(85091),y=i(69329),k=i(9543),b=i(45727),I=i(27723);const C=(0,i(38728).A)("outline","moneybag-heart","MoneybagHeart",[["path",{d:"M9.5 3h5a1.5 1.5 0 0 1 1.5 1.5a3.5 3.5 0 0 1 -3.5 3.5h-1a3.5 3.5 0 0 1 -3.5 -3.5a1.5 1.5 0 0 1 1.5 -1.5",key:"svg-0"}],["path",{d:"M11.5 21h-3.5a4 4 0 0 1 -4 -4v-1a8 8 0 0 1 14.376 -4.833",key:"svg-1"}],["path",{d:"M18 22l3.35 -3.284a2.143 2.143 0 0 0 .005 -3.071a2.24 2.24 0 0 0 -3.129 -.006l-.224 .22l-.223 -.22a2.24 2.24 0 0 0 -3.128 -.006a2.143 2.143 0 0 0 -.006 3.071l3.355 3.296",key:"svg-2"}]]);var A=i(7641),P=i(84805),z=i(49568),T=i(20899),w=i(4225),v=i(36118),$=i(42449),H=i(48285),K=i(30988),N=i(51609),S=i(8354),Y=i(43226),O=i(70544),_=i(10790);const L=S.Ikc({key:S.YjP(),name:S.YjP().min(2),endpoint:S.YjP().min(2).url(),region:S.YjP().optional(),authorization:S.k5n(["IAM","ACCESS_TOKEN","ID_TOKEN"])}),E=S.Ikc({key:S.YjP(),name:S.YjP(),value:S.YjP()}),M=S.Ikc({apiName:S.YjP(),path:S.YjP(),options:S.Ikc({withCredentials:S.zMY(),headers:S.YOg(E).refine(e=>{const n=e.map(e=>e.name);return new Set(n).size===n.length},{message:"Header names must be unique"}),queryParams:S.YOg(E).refine(e=>{const n=e.map(e=>e.name);return new Set(n).size===n.length},{message:"Query parameter names must be unique"})})}),D=S.Ikc({apiConfiguration:S.Ikc({default:S.Ikc({apis:S.YOg(L),signInHook:M.optional(),signOutHook:M.optional()}),secondary:S.Ikc({domains:S.YjP(),apis:S.YOg(L),signInHook:M.optional(),signOutHook:M.optional()})})});function X({amplifyConfigured:e,config:n,accountId:i,siteId:c,siteKey:u,onSave:p,InfoLabelComponent:g}){const[m,h]=(0,N.useState)(!1),[f,x]=(0,N.useState)(!1),j=(0,y.m)({mode:"uncontrolled",initialValues:{apiConfiguration:{default:{apis:[]},secondary:{domains:"",apis:[]}}},validate:(0,K.s)(D)}),w=(0,N.useCallback)(e=>e?Object.entries(e).map(([e,n])=>({key:(0,b.z)(),name:e,value:n})):[],[]),v=(0,N.useCallback)(e=>e?e.reduce((e,n)=>(n.name&&(e[n.name]=n.value),e),{}):{},[]),$=(0,N.useCallback)(e=>{if(e)return{apiName:e.apiName,path:e.path,options:{withCredentials:e.options.withCredentials,headers:v(e.options.headers),queryParams:v(e.options.queryParams)}}},[v]),H=(0,N.useCallback)(e=>{if(e)return{apiName:e.apiName,path:e.path,options:{withCredentials:e.options?.withCredentials||!1,headers:w(e.options?.headers),queryParams:w(e.options?.queryParams)}}},[w]),S=(0,N.useCallback)(async e=>{if(i&&c&&u){x(!0);try{const o={...n,apiConfigurations:{default:{apis:e.apiConfiguration.default.apis.map(e=>({name:e.name,endpoint:e.endpoint,region:e.region,authorization:e.authorization})),signInHook:$(e.apiConfiguration.default.signInHook),signOutHook:$(e.apiConfiguration.default.signOutHook)},secondary:e.apiConfiguration.secondary.apis?{domains:e.apiConfiguration.secondary.domains,apis:e.apiConfiguration.secondary.apis.map(e=>({name:e.name,endpoint:e.endpoint,region:e.region,authorization:e.authorization})),signInHook:$(e.apiConfiguration.secondary.signInHook),signOutHook:$(e.apiConfiguration.secondary.signOutHook)}:void 0}};delete o.subscriptionType;const s=await async function(e,n,i,o){const s=(0,a.yJ)({apiName:"backend",path:`/account/${e}/site/${n}/settings`,options:{body:{settings:o},headers:{"X-Site-Key":i,"X-Plugin":"gatey"}}}),t=await s.response;if(t.statusCode<200||t.statusCode>=300)throw new Error(t.body.toString());return(await t.body.json()).settings}(i,c,u,o);p(s),k.$e.show({title:(0,I.__)("Settings saved",O.TEXT_DOMAIN),message:(0,I.__)("API settings saved successfully.",O.TEXT_DOMAIN),color:"green",icon:(0,_.jsx)(C,{}),className:Y.A.notification})}catch(e){console.error("Error saving API settings:",e),k.$e.show({title:(0,I.__)("Error occured",O.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,_.jsx)(A.A,{}),className:Y.A.notification})}finally{x(!1)}}else console.error("Missing account ID or site ID or site key")},[i,n,p,c,u,$]);return(0,N.useEffect)(()=>{if(!m&&n){h(!0);const e={apiConfiguration:{default:{apis:(n.apiConfigurations?.default?.apis||[]).map(e=>({key:(0,b.z)(),name:e.name,endpoint:e.endpoint,region:e.region,authorization:e.authorization})),signInHook:H(n.apiConfigurations?.default?.signInHook),signOutHook:H(n.apiConfigurations?.default?.signOutHook)},secondary:{domains:n.apiConfigurations?.secondary?.domains||"",apis:(n.apiConfigurations?.secondary?.apis||[]).map(e=>({key:(0,b.z)(),name:e.name,endpoint:e.endpoint,region:e.region,authorization:e.authorization})),signInHook:H(n.apiConfigurations?.secondary?.signInHook),signOutHook:H(n.apiConfigurations?.secondary?.signOutHook)}}};j.setValues(e)}},[n,j,H,m]),(0,N.useEffect)(()=>{n&&h(!1)},[n]),(0,_.jsxs)("form",{name:"apisettings-editor",onSubmit:j.onSubmit(S),children:[(0,_.jsxs)(o.t,{defaultValue:"default",mb:"lg",children:[(0,_.jsxs)(o.t.List,{children:[(0,_.jsx)(o.t.Tab,{value:"default",leftSection:(0,_.jsx)(P.A,{size:16}),children:(0,_.jsx)(g,{text:"Default",scrollToId:"api-definitaions"})}),(0,_.jsx)(o.t.Tab,{value:"secondary",leftSection:(0,_.jsx)(z.A,{size:16}),children:(0,_.jsx)(g,{text:"Secondary",scrollToId:"api-definitaions"})})]}),(0,_.jsx)(o.t.Panel,{value:"default",p:"md",bg:"gray.1",children:(0,_.jsx)(V,{configKey:"default",form:j,InfoLabelComponent:g})}),(0,_.jsx)(o.t.Panel,{value:"secondary",p:"md",bg:"gray.1",children:(0,_.jsx)(V,{configKey:"secondary",form:j,InfoLabelComponent:g})})]}),(0,_.jsxs)(s.Y,{justify:"flex-end",children:[(0,_.jsx)(t.$,{type:"submit",variant:"gradient",loading:f,leftSection:(0,_.jsx)(T.A,{size:16}),disabled:!e,children:"Save API Configuration"}),!e&&(0,_.jsxs)(r.j,{children:[(0,_.jsx)(r.j.Target,{children:(0,_.jsx)(l.M,{variant:"subtle",size:"xs",children:(0,_.jsx)(A.A,{size:16,color:"red"})})}),(0,_.jsx)(r.j.Dropdown,{maw:300,style:{zIndex:1e4},children:(0,_.jsxs)(d.E,{size:"sm",children:["🛑 ",(0,_.jsx)("strong",{children:"Heads-up"}),": Configuration is temporarily unavailable. Please try again later — no action is needed on your side."]})})]})]})]})}function V({configKey:e,form:n,InfoLabelComponent:i}){const a=n.getValues().apiConfiguration[e].apis;return(0,_.jsxs)(_.Fragment,{children:["secondary"===e&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(s.Y,{gap:"xs",align:"center",mb:"sm",children:(0,_.jsx)(c.h,{order:4,children:(0,_.jsx)(i,{text:"Domains",scrollToId:"api-domains"})})}),(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},withAsterisk:!0,...n.getInputProps("apiConfiguration."+e+".domains"),mb:"md"},n.key("apiConfiguration."+e+".domains"))]}),(0,_.jsx)(s.Y,{gap:"xs",align:"center",mb:"sm",children:(0,_.jsx)(c.h,{order:4,children:"APIs"})}),(0,_.jsx)(F,{form:n,configKey:e,InfoLabelComponent:i}),(0,_.jsx)(s.Y,{gap:"xs",align:"center",mb:"sm",children:(0,_.jsx)(c.h,{order:4,children:(0,_.jsx)(i,{text:"Hooks",scrollToId:"api-hooks"})})}),(0,_.jsxs)(p.B,{gap:"md",children:[0===a.length&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(c.h,{order:5,ta:"center",mt:"lg",children:"No Hooks Configured"}),(0,_.jsx)(d.E,{c:"dimmed",size:"sm",ta:"center",mb:"lg",children:"You can configure hooks after adding at least one API."})]}),a.length>0&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(B,{title:"Sign In",form:n,configKey:e,hookKey:"signInHook",InfoLabelComponent:i}),(0,_.jsx)(B,{title:"Sign Out",form:n,configKey:e,hookKey:"signOutHook",InfoLabelComponent:i})]})]})]})}function B({title:e,form:n,configKey:i,hookKey:a,InfoLabelComponent:o}){const r=`apiConfiguration.${i}.${a}`,d=n.getValues().apiConfiguration[i].apis,x=!!n.getValues().apiConfiguration[i][a];return(0,_.jsx)(g.Z,{shadow:"sm",withBorder:!0,children:(0,_.jsxs)(p.B,{children:[(0,_.jsxs)(s.Y,{children:[(0,_.jsx)(c.h,{order:5,style:{flexGrow:1},children:e}),x&&(0,_.jsx)(m.m,{label:"Delete Hook",children:(0,_.jsx)(l.M,{color:"red",variant:"subtle","aria-label":"Delete Hook",onClick:()=>n.setFieldValue(r,void 0),children:(0,_.jsx)(w.A,{size:"1rem"})})}),!x&&(0,_.jsx)(t.$,{variant:"subtle",size:"compact-xs",leftSection:(0,_.jsx)(v.A,{size:16}),onClick:()=>n.setFieldValue(r,{apiName:"",path:"",options:{withCredentials:!1,headers:[],queryParams:[]}}),children:"Configure"})]}),x&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(s.Y,{grow:!0,children:[(0,_.jsx)(h.l,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(o,{text:"API",scrollToId:"hook-api"}),withAsterisk:!0,data:d.map(e=>e.name),...n.getInputProps(`${r}.apiName`)},n.key(`${r}.apiName`)),(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(o,{text:"Path",scrollToId:"hook-path"}),withAsterisk:!0,...n.getInputProps(`${r}.path`)},n.key(`${r}.path`))]}),(0,_.jsx)(f.S,{label:(0,_.jsx)(o,{text:"With Credentials",scrollToId:"hook-credentials"}),style:{flexGrow:1},...n.getInputProps(`${r}.options.withCredentials`,{type:"checkbox"})},n.key(`${r}.options.withCredentials`)),(0,_.jsx)(c.h,{order:5,children:(0,_.jsx)(o,{text:"Headers",scrollToId:"hook-headers"})}),(0,_.jsx)(q,{form:n,configKey:i,hookKey:a,optionKey:"headers",addButtonLabel:"Add Header"}),(0,_.jsx)(c.h,{order:5,children:(0,_.jsx)(o,{text:"Query Params",scrollToId:"hook-headers"})}),(0,_.jsx)(q,{form:n,configKey:i,hookKey:a,optionKey:"queryParams",addButtonLabel:"Add Query Param"})]})]})})}function q({form:e,configKey:n,hookKey:i,optionKey:a,addButtonLabel:o}){const s=`apiConfiguration.${n}.${i}.options.${a}`,r=e.getValues(),d=r.apiConfiguration[n][i]?.options?.[a];return(0,_.jsxs)(x.a,{children:[(0,_.jsxs)(j.X,{withTableBorder:!0,children:[(0,_.jsx)(j.X.Thead,{children:(0,_.jsxs)(j.X.Tr,{children:[(0,_.jsx)(j.X.Th,{children:"Name"}),(0,_.jsx)(j.X.Th,{children:"Value"}),(0,_.jsx)(j.X.Th,{})]})}),(0,_.jsx)(j.X.Tbody,{children:d?.map((n,i)=>(0,_.jsxs)(j.X.Tr,{children:[(0,_.jsx)(j.X.Td,{children:(0,_.jsx)("input",{type:"text",...e.getInputProps(`${s}.${i}.name`),style:{border:"none",padding:0,margin:0,fontSize:"13px",width:"100%"}},e.key(`${s}.${i}.name`))}),(0,_.jsx)(j.X.Td,{children:(0,_.jsx)("input",{type:"text",...e.getInputProps(`${s}.${i}.value`),style:{border:"none",padding:0,margin:0,fontSize:"13px",width:"100%"}},e.key(`${s}.${i}.value`))}),(0,_.jsx)(j.X.Td,{children:(0,_.jsx)(l.M,{color:"red",variant:"subtle","aria-label":"Delete Header",onClick:()=>e.removeListItem(s,i),children:(0,_.jsx)(w.A,{size:"1rem"})})})]},n.key))})]}),(0,_.jsx)(t.$,{variant:"subtle",size:"compact-xs",leftSection:(0,_.jsx)($.A,{size:14}),w:"100%",mt:"0.3rem",onClick:()=>{e.insertListItem(s,{key:(0,b.z)(),name:"",value:""})},children:o})]})}function F({form:e,configKey:n,InfoLabelComponent:i}){const a=`apiConfiguration.${n}.apis`,o=e.getValues().apiConfiguration[n].apis,r=()=>{e.insertListItem(a,{key:(0,b.z)(),name:"",endpoint:"",region:"",authorization:"IAM"})};return o.length?(0,_.jsxs)(p.B,{gap:"md",mb:"lg",children:[o.map((a,o)=>(0,_.jsx)(G,{form:e,configKey:n,index:o,InfoLabelComponent:i},a.key)),(0,_.jsx)(s.Y,{justify:"center",children:(0,_.jsx)(t.$,{variant:"subtle",size:"compact-xs",leftSection:(0,_.jsx)($.A,{size:14}),w:"100%",mt:"0.3rem",onClick:r,children:"Add API"})})]}):(0,_.jsxs)(p.B,{align:"center",gap:"md",py:"xl",mb:"lg",children:[(0,_.jsx)(c.h,{order:4,children:"No APIs Configured"}),(0,_.jsx)(d.E,{c:"dimmed",size:"sm",ta:"center",children:"You haven't added any API definitions yet."}),(0,_.jsx)(t.$,{variant:"gradient",size:"xs",leftSection:(0,_.jsx)(H.A,{}),onClick:r,children:"Add API"})]})}function G({form:e,configKey:n,index:i,InfoLabelComponent:a}){const o=`apiConfiguration.${n}.apis.${i}`;return(0,_.jsx)(g.Z,{shadow:"sm",withBorder:!0,children:(0,_.jsxs)(p.B,{children:[(0,_.jsxs)(s.Y,{grow:!0,children:[(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(a,{text:"Name",scrollToId:"api-name"}),withAsterisk:!0,...e.getInputProps(`${o}.name`)},e.key(`${o}.name`)),(0,_.jsx)(h.l,{label:(0,_.jsx)(a,{text:"Authorization",scrollToId:"api-authorization"}),data:[{value:"IAM",label:"IAM"},{value:"ACCESS_TOKEN",label:"Access Token"},{value:"ID_TOKEN",label:"ID Token"}],defaultValue:"IAM",...e.getInputProps(`${o}.authorization`)},e.key(`${o}.authorization`))]}),(0,_.jsxs)(s.Y,{align:"center",children:[(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(a,{text:"Endpoint",scrollToId:"api-endpoint"}),withAsterisk:!0,...e.getInputProps(`${o}.endpoint`),style:{flexGrow:1}},e.key(`${o}.endpoint`)),(0,_.jsx)(m.m,{label:"Delete API",children:(0,_.jsx)(l.M,{color:"red",variant:"subtle","aria-label":"Delete API",mt:"lg",onClick:()=>e.removeListItem(`apiConfiguration.${n}.apis`,i),children:(0,_.jsx)(w.A,{size:"1rem"})})})]}),(0,_.jsx)(s.Y,{align:"center",children:(0,_.jsx)(u.k,{classNames:{label:Y.A["form-field-label"]},label:(0,_.jsx)(a,{text:"Region",scrollToId:"api-region"}),...e.getInputProps(`${o}.region`),style:{flexGrow:1}},e.key(`${o}.region`))})]})})}}}]); -
gatey/trunk/gatey-admin/dist/491.js
r3432881 r3434727 1 "use strict";(globalThis.webpackChunk_smart_cloud_gatey_admin=globalThis.webpackChunk_smart_cloud_gatey_admin||[]).push([[491],{15491(e,s,t){t.r(s),t.d(s,{default:()=>$});var i=t(6252),r=t(48324),o=t(64999),a=t(40054),n=t(5055), c=t(31179),l=t(14598),d=t(69019),m=t(17826),u=t(57193),p=t(69329),y=t(9543),v=t(45727),g=t(27723),x=t(70544),j=t(7641),f=t(20899),h=t(57693),P=t(22342),b=t(42449),w=t(4225),k=t(30988),I=t(51609),_=t(8354),N=t(43226),A=t(10790);const S=_.Ikc({customProviders:_.YOg(_.Ikc({id:_.YjP(),providerName:_.YjP().refine(e=>e&&e.trim().length>0,{message:"Custom provider name is required"}),providerTitle:_.YjP().optional(),icon:_.YjP().optional()}))}),T={customProviders:[]};function $({amplifyConfigured:e,config:s,accountId:t,siteId:_,siteKey:$,onSave:C}){const[z,E]=(0,I.useState)(!1),[G,D]=(0,I.useState)(!1),Y=(0,p.m)({mode:"uncontrolled",initialValues:{...T},validate:(0,k.s)(S)}),M=(0,I.useCallback)(async e=>{if(t&&_&&$){D(!0);try{const r={...s,customProviders:e.customProviders};delete r.subscriptionType;const o=await async function(e,s,t,r){const o=(0,i.yJ)({apiName:"backend",path:`/account/${e}/site/${s}/settings`,options:{body:{settings:r},headers:{"X-Site-Key":t}}}),a=await o.response;if(a.statusCode<200||a.statusCode>=300)throw new Error(a.body.toString());return(await a.body.json()).settings}(t,_,$,r);C(o),y.$e.show({title:(0,g.__)("Settings saved",x.TEXT_DOMAIN),message:(0,g.__)("Form field settings saved successfully",x.TEXT_DOMAIN),color:"green",icon:(0,A.jsx)(h.A,{}),className:N.A.notification})}catch(e){console.error("Error saving form field settings:",e),y.$e.show({title:(0,g.__)("Error occured",x.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,A.jsx)(j.A,{}),className:N.A.notification})}finally{D(!1)}}else console.error("Missing account ID or site ID or site key")},[t,_,$,s,C]);return(0,I.useEffect)(()=>{if(!z&&s){const e={customProviders:[]};s.customProviders&&(e.customProviders=s.customProviders),Y.setValues(e),E(!0)}},[s,Y,z]),(0,I.useEffect)(()=>{s&&E(!1)},[s]),(0,A.jsxs)("form",{onSubmit:Y.onSubmit(M),children:[(0,A.jsx)(d.B,{mb:"lg",children:(0,A.jsxs)(c.Z,{withBorder:!0,m:"xs",p:"xs",w:"100%",h:"100%",children:[(0,A.jsx)(c.Z.Section,{p:"md",children:(0,A.jsx)(m.E,{c:"dimmed",size:"xs",children:"Add custom providers. Each custom provider must have a name."})}),Y.getValues().customProviders?.map((e,s)=>(0,A.jsxs)(a.s,{direction:"row",gap:"xs",align:"center",children:[(0,A.jsx)(u.k,{label:"Provider Name",...Y.getInputProps(`customProviders.${s}.providerName`)},Y.key(`customProviders.${s}.providerName`)),(0,A.jsx)(u.k,{label:"Provider Title",...Y.getInputProps(`customProviders.${s}.providerTitle`)},Y.key(`customProviders.${s}.providerTitle`)),(0,A.jsx)(u.k,{label:"Icon (in base64 format)",...Y.getInputProps(`customProviders.${s}.icon`)},Y.key(`customProviders.${s}.icon`)),(0,A.jsx)(n.$,{variant:"subtle",size:"xs",mt:"0.3rem",onClick:()=>Y.removeListItem("customProviders",s),children:(0,A.jsx)(w.A,{size:14,color:"red"})})]},Y.key(`customProviders.${s}`))),(0,A.jsx)(n.$,{variant:"subtle",mt:"xs",size:"xs",leftSection:(0,A.jsx)(b.A,{size:14}),onClick:()=>{Y.insertListItem("customProviders",{id:(0,v.z)(),providerName:"",providerTitle:"",icon:""})},children:"Add Custom Provider"})]})}),(0,A.jsxs)(o.Y,{justify:"flex-end",mt:"xl",children:[(0,A.jsx)(n.$,{type:"submit",variant:"gradient",loading:G,leftSection:(0,A.jsx)(f.A,{size:16}),disabled:!e,children:"Save Social Providers Configuration"}),!e&&(0,A.jsxs)(l.j,{children:[(0,A.jsx)(l.j.Target,{children:(0,A.jsx)(r.M,{variant:"subtle",size:"xs",children:(0,A.jsx)(P.A,{size:16,color:"red"})})}),(0,A.jsx)(l.j.Dropdown,{maw:300,style:{zIndex:1e4},children:(0,A.jsxs)(m.E,{size:"sm",children:[(0,A.jsx)("strong",{children:"Heads-up"}),": Configuration is temporarily unavailable. Please try again later — no action is needed on your side."]})})]})]})]})}},22342(e,s,t){t.d(s,{A:()=>i});const i=(0,t(38728).A)("outline","octagon","Octagon",[["path",{d:"M12.802 2.165l5.575 2.389c.48 .206 .863 .589 1.07 1.07l2.388 5.574c.22 .512 .22 1.092 0 1.604l-2.389 5.575c-.206 .48 -.589 .863 -1.07 1.07l-5.574 2.388c-.512 .22 -1.092 .22 -1.604 0l-5.575 -2.389a2.036 2.036 0 0 1 -1.07 -1.07l-2.388 -5.574a2.036 2.036 0 0 1 0 -1.604l2.389 -5.575c.206 -.48 .589 -.863 1.07 -1.07l5.574 -2.388a2.036 2.036 0 0 1 1.604 0",key:"svg-0"}]])},40054(e,s,t){t.d(s,{s:()=>v});var i=t(10790),r=t(77602),o=(t(51609),t(1101)),a=t(46100),n=t(52837),c=t(15074),l=t(155),d=t(83974),m=t(11507),u=t(18639);const p={gap:{type:"spacing",property:"gap"},rowGap:{type:"spacing",property:"rowGap"},columnGap:{type:"spacing",property:"columnGap"},align:{type:"identity",property:"alignItems"},justify:{type:"identity",property:"justifyContent"},wrap:{type:"identity",property:"flexWrap"},direction:{type:"identity",property:"flexDirection"}};var y={root:"m_8bffd616"};const v=(0,u.v)((e,s)=>{const t=(0,a.Y)("Flex",null,e),{classNames:u,className:v,style:g,styles:x,unstyled:j,vars:f,gap:h,rowGap:P,columnGap:b,align:w,justify:k,wrap:I,direction:_,attributes:N,...A}=t,S=(0,n.I)({name:"Flex",classes:y,props:t,className:v,style:g,classNames:u,styles:x,unstyled:j,attributes:N,vars:f}),T=(0,o.xd)(),$=(0,d.C)(),C=(0,l.X)({styleProps:{gap:h,rowGap:P,columnGap:b,align:w,justify:k,wrap:I,direction:_},theme:T,data:p});return(0,i.jsxs)(i.Fragment,{children:[C.hasResponsiveStyles&&(0,i.jsx)(c.K,{selector:`.${$}`,styles:C.styles,media:C.media}),(0,i.jsx)(m.a,{ref:s,...S("root",{className:$,style:(0,r.J)(C.inlineStyles)}),...A})]})});v.classes=y,v.displayName="@mantine/core/Flex"}}]);1 "use strict";(globalThis.webpackChunk_smart_cloud_gatey_admin=globalThis.webpackChunk_smart_cloud_gatey_admin||[]).push([[491],{15491(e,s,t){t.r(s),t.d(s,{default:()=>$});var i=t(6252),r=t(48324),o=t(64999),a=t(40054),n=t(5055),l=t(31179),c=t(14598),d=t(69019),m=t(17826),u=t(57193),p=t(69329),y=t(9543),v=t(45727),g=t(27723),x=t(70544),j=t(7641),f=t(20899),h=t(57693),P=t(22342),b=t(42449),w=t(4225),k=t(30988),I=t(51609),_=t(8354),N=t(43226),A=t(10790);const S=_.Ikc({customProviders:_.YOg(_.Ikc({id:_.YjP(),providerName:_.YjP().refine(e=>e&&e.trim().length>0,{message:"Custom provider name is required"}),providerTitle:_.YjP().optional(),icon:_.YjP().optional()}))}),T={customProviders:[]};function $({amplifyConfigured:e,config:s,accountId:t,siteId:_,siteKey:$,onSave:C}){const[z,E]=(0,I.useState)(!1),[G,D]=(0,I.useState)(!1),Y=(0,p.m)({mode:"uncontrolled",initialValues:{...T},validate:(0,k.s)(S)}),M=(0,I.useCallback)(async e=>{if(t&&_&&$){D(!0);try{const r={...s,customProviders:e.customProviders};delete r.subscriptionType;const o=await async function(e,s,t,r){const o=(0,i.yJ)({apiName:"backend",path:`/account/${e}/site/${s}/settings`,options:{body:{settings:r},headers:{"X-Site-Key":t,"X-Plugin":"gatey"}}}),a=await o.response;if(a.statusCode<200||a.statusCode>=300)throw new Error(a.body.toString());return(await a.body.json()).settings}(t,_,$,r);C(o),y.$e.show({title:(0,g.__)("Settings saved",x.TEXT_DOMAIN),message:(0,g.__)("Form field settings saved successfully",x.TEXT_DOMAIN),color:"green",icon:(0,A.jsx)(h.A,{}),className:N.A.notification})}catch(e){console.error("Error saving form field settings:",e),y.$e.show({title:(0,g.__)("Error occured",x.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,A.jsx)(j.A,{}),className:N.A.notification})}finally{D(!1)}}else console.error("Missing account ID or site ID or site key")},[t,_,$,s,C]);return(0,I.useEffect)(()=>{if(!z&&s){const e={customProviders:[]};s.customProviders&&(e.customProviders=s.customProviders),Y.setValues(e),E(!0)}},[s,Y,z]),(0,I.useEffect)(()=>{s&&E(!1)},[s]),(0,A.jsxs)("form",{onSubmit:Y.onSubmit(M),children:[(0,A.jsx)(d.B,{mb:"lg",children:(0,A.jsxs)(l.Z,{withBorder:!0,m:"xs",p:"xs",w:"100%",h:"100%",children:[(0,A.jsx)(l.Z.Section,{p:"md",children:(0,A.jsx)(m.E,{c:"dimmed",size:"xs",children:"Add custom providers. Each custom provider must have a name."})}),Y.getValues().customProviders?.map((e,s)=>(0,A.jsxs)(a.s,{direction:"row",gap:"xs",align:"center",children:[(0,A.jsx)(u.k,{label:"Provider Name",...Y.getInputProps(`customProviders.${s}.providerName`)},Y.key(`customProviders.${s}.providerName`)),(0,A.jsx)(u.k,{label:"Provider Title",...Y.getInputProps(`customProviders.${s}.providerTitle`)},Y.key(`customProviders.${s}.providerTitle`)),(0,A.jsx)(u.k,{label:"Icon (in base64 format)",...Y.getInputProps(`customProviders.${s}.icon`)},Y.key(`customProviders.${s}.icon`)),(0,A.jsx)(n.$,{variant:"subtle",size:"xs",mt:"0.3rem",onClick:()=>Y.removeListItem("customProviders",s),children:(0,A.jsx)(w.A,{size:14,color:"red"})})]},Y.key(`customProviders.${s}`))),(0,A.jsx)(n.$,{variant:"subtle",mt:"xs",size:"xs",leftSection:(0,A.jsx)(b.A,{size:14}),onClick:()=>{Y.insertListItem("customProviders",{id:(0,v.z)(),providerName:"",providerTitle:"",icon:""})},children:"Add Custom Provider"})]})}),(0,A.jsxs)(o.Y,{justify:"flex-end",mt:"xl",children:[(0,A.jsx)(n.$,{type:"submit",variant:"gradient",loading:G,leftSection:(0,A.jsx)(f.A,{size:16}),disabled:!e,children:"Save Social Providers Configuration"}),!e&&(0,A.jsxs)(c.j,{children:[(0,A.jsx)(c.j.Target,{children:(0,A.jsx)(r.M,{variant:"subtle",size:"xs",children:(0,A.jsx)(P.A,{size:16,color:"red"})})}),(0,A.jsx)(c.j.Dropdown,{maw:300,style:{zIndex:1e4},children:(0,A.jsxs)(m.E,{size:"sm",children:[(0,A.jsx)("strong",{children:"Heads-up"}),": Configuration is temporarily unavailable. Please try again later — no action is needed on your side."]})})]})]})]})}},22342(e,s,t){t.d(s,{A:()=>i});const i=(0,t(38728).A)("outline","octagon","Octagon",[["path",{d:"M12.802 2.165l5.575 2.389c.48 .206 .863 .589 1.07 1.07l2.388 5.574c.22 .512 .22 1.092 0 1.604l-2.389 5.575c-.206 .48 -.589 .863 -1.07 1.07l-5.574 2.388c-.512 .22 -1.092 .22 -1.604 0l-5.575 -2.389a2.036 2.036 0 0 1 -1.07 -1.07l-2.388 -5.574a2.036 2.036 0 0 1 0 -1.604l2.389 -5.575c.206 -.48 .589 -.863 1.07 -1.07l5.574 -2.388a2.036 2.036 0 0 1 1.604 0",key:"svg-0"}]])},40054(e,s,t){t.d(s,{s:()=>v});var i=t(10790),r=t(77602),o=(t(51609),t(1101)),a=t(46100),n=t(52837),l=t(15074),c=t(155),d=t(83974),m=t(11507),u=t(18639);const p={gap:{type:"spacing",property:"gap"},rowGap:{type:"spacing",property:"rowGap"},columnGap:{type:"spacing",property:"columnGap"},align:{type:"identity",property:"alignItems"},justify:{type:"identity",property:"justifyContent"},wrap:{type:"identity",property:"flexWrap"},direction:{type:"identity",property:"flexDirection"}};var y={root:"m_8bffd616"};const v=(0,u.v)((e,s)=>{const t=(0,a.Y)("Flex",null,e),{classNames:u,className:v,style:g,styles:x,unstyled:j,vars:f,gap:h,rowGap:P,columnGap:b,align:w,justify:k,wrap:I,direction:_,attributes:N,...A}=t,S=(0,n.I)({name:"Flex",classes:y,props:t,className:v,style:g,classNames:u,styles:x,unstyled:j,attributes:N,vars:f}),T=(0,o.xd)(),$=(0,d.C)(),C=(0,c.X)({styleProps:{gap:h,rowGap:P,columnGap:b,align:w,justify:k,wrap:I,direction:_},theme:T,data:p});return(0,i.jsxs)(i.Fragment,{children:[C.hasResponsiveStyles&&(0,i.jsx)(l.K,{selector:`.${$}`,styles:C.styles,media:C.media}),(0,i.jsx)(m.a,{ref:s,...S("root",{className:$,style:(0,r.J)(C.inlineStyles)}),...A})]})});v.classes=y,v.displayName="@mantine/core/Flex"}}]); -
gatey/trunk/gatey-admin/dist/788.js
r3421183 r3434727 1 "use strict";(globalThis.webpackChunk_smart_cloud_gatey_admin=globalThis.webpackChunk_smart_cloud_gatey_admin||[]).push([[788],{74788(e,s,i){i.r(s),i.d(s,{default:()=>M});var t=i(6252),l=i(48324),n=i(64999),a=i(40054),r=i(5055),o=i(31179),d=i(49674),c=i(14598),m=i(77828),u=i(69019),f=i(17826),x=i(57193),p=i(89652),g=i(4039),h=i(69329),j=i(9543),y=i(45727),v=i(6447),b=i(45382),F=i(34164),I=i(27723),$=i(70544),k=i(7641),C=i(20899),A=i(29287),w=i(57693),z=i(22342),E=i(42449),S=i(48285),_=i(4225),V=i(30988),D=i(51609),T=i(8354), L=i(43226),P=i(10790);const N=["text","checkbox","radio","password","tel","country","select"],Y={id:T.YjP(),name:T.YjP().min(1,"Name is required"),type:T.k5n(N),values:T.YOg(T.Ikc({value:T.YjP().transform(e=>e.trim()),label:T.YjP().transform(e=>e.trim())})).optional()},O=T.Ikc({formFields:T.YOg(T.Ikc(Y))}),B={formFields:[]};function M({amplifyConfigured:e,config:s,accountId:i,siteId:a,siteKey:o,onSave:d,InfoLabelComponent:m}){const[u,x]=(0,D.useState)(!1),[p,g]=(0,D.useState)(!1),v=(0,h.m)({mode:"uncontrolled",initialValues:{...B},validate:(0,V.s)(O)}),b=(0,D.useCallback)(async e=>{if(i&&a&&o){g(!0);try{const l=[];e.formFields.forEach(e=>{"string"!=typeof e&&e.name&&(l.push({name:"custom:"+e.name,type:e.type||"text"}),void 0!==e.values&&(l[l.length-1].values=e.values))});const n={...s,formFields:l};delete n.subscriptionType;const r=await async function(e,s,i,l){const n=(0,t.yJ)({apiName:"backend",path:`/account/${e}/site/${s}/settings`,options:{body:{settings:l},headers:{"X-Site-Key":i}}}),a=await n.response;if(a.statusCode<200||a.statusCode>=300)throw new Error(a.body.toString());return(await a.body.json()).settings}(i,a,o,n);d(r),j.$e.show({title:(0,I.__)("Settings saved",$.TEXT_DOMAIN),message:(0,I.__)("Form field settings saved successfully",$.TEXT_DOMAIN),color:"green",icon:(0,P.jsx)(w.A,{}),className:L.A.notification})}catch(e){console.error("Error saving form field settings:",e),j.$e.show({title:(0,I.__)("Error occured",$.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,P.jsx)(k.A,{}),className:L.A.notification})}finally{g(!1)}}else console.error("Missing account ID or site ID or site key")},[i,a,o,s,d]);return(0,D.useEffect)(()=>{if(!u&&s){const e={formFields:[]};if(s.formFields){const i=[];s.formFields.forEach(e=>{const s=v.getValues().formFields||[],t=e.name.replace(/^custom:/,""),l=s.find(e=>e.name===t);i.push({id:l?.id||(0,y.z)(),name:t,type:e.type||"text",values:e.values?e.values.filter(e=>e.value&&e.label).map(e=>({value:e.value,label:e.label})):void 0})}),e.formFields=i}v.setValues(e),x(!0)}},[s,v,u]),(0,D.useEffect)(()=>{s&&x(!1)},[s]),(0,P.jsxs)("form",{onSubmit:v.onSubmit(b),children:[0===v.getValues().formFields.length?(0,P.jsx)(X,{form:v,formValuesSet:u}):(0,P.jsx)(H,{form:v,formValuesSet:u,InfoLabelComponent:m}),(0,P.jsxs)(n.Y,{justify:"flex-end",mt:"xl",children:[(0,P.jsx)(r.$,{type:"submit",variant:"gradient",loading:p,leftSection:(0,P.jsx)(C.A,{size:16}),disabled:!e,children:"Save Custom Field Configuration"}),!e&&(0,P.jsxs)(c.j,{children:[(0,P.jsx)(c.j.Target,{children:(0,P.jsx)(l.M,{variant:"subtle",size:"xs",children:(0,P.jsx)(z.A,{size:16,color:"red"})})}),(0,P.jsx)(c.j.Dropdown,{maw:300,style:{zIndex:1e4},children:(0,P.jsxs)(f.E,{size:"sm",children:[(0,P.jsx)("strong",{children:"Heads-up"}),": Configuration is temporarily unavailable. Please try again later — no action is needed on your side."]})})]})]})]})}function X({form:e}){const s=e.getValues().formFields,[,i]=(0,v.p)(s||[]);return(0,P.jsxs)(u.B,{align:"center",gap:"md",py:"xl",mb:"lg",bg:"gray.1",style:{borderRadius:"5px"},children:[(0,P.jsx)(p.h,{order:5,children:"No Form Fields Configured"}),(0,P.jsx)(f.E,{c:"dimmed",size:"sm",ta:"center",children:"You haven't added any form fields yet."}),(0,P.jsx)(r.$,{variant:"gradient",size:"xs",leftSection:(0,P.jsx)(S.A,{}),onClick:()=>{const s={id:(0,y.z)(),name:"",type:"text"};i.append(s),e.insertListItem("formFields",s)},children:"Add Form Field"})]})}function H({form:e,formValuesSet:s,InfoLabelComponent:i}){const t=e.getValues().formFields,[l,a]=(0,v.p)(t||[]),o=(0,D.useCallback)(()=>{const s={id:(0,y.z)(),name:"",type:"text"};a.append(s),e.insertListItem("formFields",s)},[e,a]),d=(0,D.useCallback)(()=>{l.forEach((s,i)=>{const l=t.findIndex(e=>e.id===s.id);-1!==l?e.setFieldValue(`formFields.${l}.order`,i+1):console.warn(`Field with id ${s.id} not found in original fields array`)})},[t,e,l]);return(0,D.useEffect)(()=>{s&&a.setState(e.getValues().formFields.map(e=>({...e})))},[e,s,a]),(0,P.jsxs)(u.B,{gap:"md",mb:"lg",children:[(0,P.jsx)(b.JY,{onDragEnd:({destination:e,source:s})=>{a.reorder({from:s.index,to:e?.index||0}),d()},children:(0,P.jsx)(b.gL,{droppableId:"dnd-list",direction:"vertical",isDropDisabled:!0,children:s=>(0,P.jsxs)("div",{...s.droppableProps,ref:s.innerRef,children:[l.map((s,n)=>(0,P.jsx)(b.sx,{index:n,draggableId:s.id,isDragDisabled:!0,children:(n,r)=>(0,P.jsxs)("div",{className:(0,F.A)(L.A.item,{[L.A.itemDragging]:r.isDragging}),ref:n.innerRef,...n.draggableProps,children:[(0,P.jsx)("div",{...n.dragHandleProps,className:L.A.dragHandle,children:(0,P.jsx)(A.A,{size:18,stroke:1.5})}),(0,P.jsx)(R,{form:e,state:l,reorder:d,handlers:a,index:t.findIndex(e=>e.id===s.id),InfoLabelComponent:i},s.id)]})},s.id)),s.placeholder]})})}),(0,P.jsx)(n.Y,{justify:"center",children:(0,P.jsx)(r.$,{variant:"subtle",size:"compact-xs",leftSection:(0,P.jsx)(E.A,{size:14}),w:"100%",mt:"0.3rem",onClick:o,children:"Add Form Field"})})]})}function R({form:e,state:s,handlers:i,reorder:t,index:n,InfoLabelComponent:c}){const p=`formFields.${n}`,h=e.getValues().formFields[n];return h&&("radio"===h.type||"select"===h.type?h.values&&Array.isArray(h.values)||(h.values=[]):h.values=void 0),(0,P.jsx)(o.Z,{shadow:"sm",w:"100%",withBorder:!0,children:(0,P.jsx)(u.B,{children:(0,P.jsxs)(d.x,{children:[(0,P.jsx)(d.x.Col,{span:6,style:{display:"flex",alignItems:"center"},children:(0,P.jsx)(x.k,{label:(0,P.jsx)(c,{text:"Name",scrollToId:"field-name"}),placeholder:"Enter custom field name",...e.getInputProps(`${p}.name`),onBlur:()=>t(),style:{width:"100%"}},e.key(`${p}.name`))}),(0,P.jsx)(d.x.Col,{span:6,children:(0,P.jsx)(m.l,{label:(0,P.jsx)(c,{text:"Type",scrollToId:"field-type"}),defaultValue:"text",data:N,...e.getInputProps(`${p}.type`),onChange:s=>{e.setFieldValue(`${p}.type`,s||"text"),t()}},e.key(`${p}.type`))}),("radio"===h?.type||"select"===h?.type)&&(0,P.jsxs)(o.Z,{withBorder:!0,m:"xs",p:"xs",w:"100%",h:"100%",children:[(0,P.jsxs)(o.Z.Section,{p:"md",children:[(0,P.jsx)(f.E,{size:"sm",fw:500,component:"div",children:(0,P.jsx)(c,{text:"Options",scrollToId:"field-options"})}),(0,P.jsx)(f.E,{c:"dimmed",size:"xs",children:"Add options for radio or select fields. Each option must have a label and a value."})]}),h.values?.map((s,i)=>(0,P.jsxs)(a.s,{direction:"row",gap:"xs",align:"center",children:[(0,P.jsx)(x.k,{label:"Value",...e.getInputProps(`${p}.values.${i}.value`)},e.key(`${p}.values.${i}.value`)),(0,P.jsx)(x.k,{label:"Label",...e.getInputProps(`${p}.values.${i}.label`)},e.key(`${p}.values.${i}.label`)),(0,P.jsx)(r.$,{variant:"subtle",size:"xs",mt:"0.3rem",onClick:()=>e.removeListItem(`${p}.values`,i),children:(0,P.jsx)(_.A,{size:14,color:"red"})})]},e.key(`${p}.values.${i}`))),(0,P.jsx)(r.$,{variant:"subtle",mt:"xs",size:"xs",leftSection:(0,P.jsx)(E.A,{size:14}),onClick:()=>{e.insertListItem(`${p}.values`,{id:(0,y.z)(),value:"",label:""})},children:"Add Option"})]}),(0,P.jsx)(d.x.Col,{span:6,style:{display:"flex",justifyContent:"flex-end",alignItems:"center"},children:(0,P.jsx)(g.m,{label:"Delete Form Field",children:(0,P.jsx)(l.M,{color:"red",variant:"subtle","aria-label":"Delete Form Field",onClick:()=>{const l=e.getValues().formFields[n];e.removeListItem("formFields",n),i.remove(s.findIndex(e=>e.id===l.id)),t()},children:(0,P.jsx)(_.A,{size:"1rem"})})})})]})})})}}}]);1 "use strict";(globalThis.webpackChunk_smart_cloud_gatey_admin=globalThis.webpackChunk_smart_cloud_gatey_admin||[]).push([[788],{74788(e,s,i){i.r(s),i.d(s,{default:()=>M});var t=i(6252),l=i(48324),n=i(64999),a=i(40054),r=i(5055),o=i(31179),d=i(49674),c=i(14598),m=i(77828),u=i(69019),f=i(17826),x=i(57193),p=i(89652),g=i(4039),h=i(69329),j=i(9543),y=i(45727),v=i(6447),b=i(45382),F=i(34164),I=i(27723),$=i(70544),k=i(7641),C=i(20899),A=i(29287),w=i(57693),z=i(22342),E=i(42449),S=i(48285),_=i(4225),V=i(30988),D=i(51609),T=i(8354),P=i(43226),L=i(10790);const N=["text","checkbox","radio","password","tel","country","select"],Y={id:T.YjP(),name:T.YjP().min(1,"Name is required"),type:T.k5n(N),values:T.YOg(T.Ikc({value:T.YjP().transform(e=>e.trim()),label:T.YjP().transform(e=>e.trim())})).optional()},O=T.Ikc({formFields:T.YOg(T.Ikc(Y))}),B={formFields:[]};function M({amplifyConfigured:e,config:s,accountId:i,siteId:a,siteKey:o,onSave:d,InfoLabelComponent:m}){const[u,x]=(0,D.useState)(!1),[p,g]=(0,D.useState)(!1),v=(0,h.m)({mode:"uncontrolled",initialValues:{...B},validate:(0,V.s)(O)}),b=(0,D.useCallback)(async e=>{if(i&&a&&o){g(!0);try{const l=[];e.formFields.forEach(e=>{"string"!=typeof e&&e.name&&(l.push({name:"custom:"+e.name,type:e.type||"text"}),void 0!==e.values&&(l[l.length-1].values=e.values))});const n={...s,formFields:l};delete n.subscriptionType;const r=await async function(e,s,i,l){const n=(0,t.yJ)({apiName:"backend",path:`/account/${e}/site/${s}/settings`,options:{body:{settings:l},headers:{"X-Site-Key":i,"X-Plugin":"gatey"}}}),a=await n.response;if(a.statusCode<200||a.statusCode>=300)throw new Error(a.body.toString());return(await a.body.json()).settings}(i,a,o,n);d(r),j.$e.show({title:(0,I.__)("Settings saved",$.TEXT_DOMAIN),message:(0,I.__)("Form field settings saved successfully",$.TEXT_DOMAIN),color:"green",icon:(0,L.jsx)(w.A,{}),className:P.A.notification})}catch(e){console.error("Error saving form field settings:",e),j.$e.show({title:(0,I.__)("Error occured",$.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,L.jsx)(k.A,{}),className:P.A.notification})}finally{g(!1)}}else console.error("Missing account ID or site ID or site key")},[i,a,o,s,d]);return(0,D.useEffect)(()=>{if(!u&&s){const e={formFields:[]};if(s.formFields){const i=[];s.formFields.forEach(e=>{const s=v.getValues().formFields||[],t=e.name.replace(/^custom:/,""),l=s.find(e=>e.name===t);i.push({id:l?.id||(0,y.z)(),name:t,type:e.type||"text",values:e.values?e.values.filter(e=>e.value&&e.label).map(e=>({value:e.value,label:e.label})):void 0})}),e.formFields=i}v.setValues(e),x(!0)}},[s,v,u]),(0,D.useEffect)(()=>{s&&x(!1)},[s]),(0,L.jsxs)("form",{onSubmit:v.onSubmit(b),children:[0===v.getValues().formFields.length?(0,L.jsx)(X,{form:v,formValuesSet:u}):(0,L.jsx)(H,{form:v,formValuesSet:u,InfoLabelComponent:m}),(0,L.jsxs)(n.Y,{justify:"flex-end",mt:"xl",children:[(0,L.jsx)(r.$,{type:"submit",variant:"gradient",loading:p,leftSection:(0,L.jsx)(C.A,{size:16}),disabled:!e,children:"Save Custom Field Configuration"}),!e&&(0,L.jsxs)(c.j,{children:[(0,L.jsx)(c.j.Target,{children:(0,L.jsx)(l.M,{variant:"subtle",size:"xs",children:(0,L.jsx)(z.A,{size:16,color:"red"})})}),(0,L.jsx)(c.j.Dropdown,{maw:300,style:{zIndex:1e4},children:(0,L.jsxs)(f.E,{size:"sm",children:[(0,L.jsx)("strong",{children:"Heads-up"}),": Configuration is temporarily unavailable. Please try again later — no action is needed on your side."]})})]})]})]})}function X({form:e}){const s=e.getValues().formFields,[,i]=(0,v.p)(s||[]);return(0,L.jsxs)(u.B,{align:"center",gap:"md",py:"xl",mb:"lg",bg:"gray.1",style:{borderRadius:"5px"},children:[(0,L.jsx)(p.h,{order:5,children:"No Form Fields Configured"}),(0,L.jsx)(f.E,{c:"dimmed",size:"sm",ta:"center",children:"You haven't added any form fields yet."}),(0,L.jsx)(r.$,{variant:"gradient",size:"xs",leftSection:(0,L.jsx)(S.A,{}),onClick:()=>{const s={id:(0,y.z)(),name:"",type:"text"};i.append(s),e.insertListItem("formFields",s)},children:"Add Form Field"})]})}function H({form:e,formValuesSet:s,InfoLabelComponent:i}){const t=e.getValues().formFields,[l,a]=(0,v.p)(t||[]),o=(0,D.useCallback)(()=>{const s={id:(0,y.z)(),name:"",type:"text"};a.append(s),e.insertListItem("formFields",s)},[e,a]),d=(0,D.useCallback)(()=>{l.forEach((s,i)=>{const l=t.findIndex(e=>e.id===s.id);-1!==l?e.setFieldValue(`formFields.${l}.order`,i+1):console.warn(`Field with id ${s.id} not found in original fields array`)})},[t,e,l]);return(0,D.useEffect)(()=>{s&&a.setState(e.getValues().formFields.map(e=>({...e})))},[e,s,a]),(0,L.jsxs)(u.B,{gap:"md",mb:"lg",children:[(0,L.jsx)(b.JY,{onDragEnd:({destination:e,source:s})=>{a.reorder({from:s.index,to:e?.index||0}),d()},children:(0,L.jsx)(b.gL,{droppableId:"dnd-list",direction:"vertical",isDropDisabled:!0,children:s=>(0,L.jsxs)("div",{...s.droppableProps,ref:s.innerRef,children:[l.map((s,n)=>(0,L.jsx)(b.sx,{index:n,draggableId:s.id,isDragDisabled:!0,children:(n,r)=>(0,L.jsxs)("div",{className:(0,F.A)(P.A.item,{[P.A.itemDragging]:r.isDragging}),ref:n.innerRef,...n.draggableProps,children:[(0,L.jsx)("div",{...n.dragHandleProps,className:P.A.dragHandle,children:(0,L.jsx)(A.A,{size:18,stroke:1.5})}),(0,L.jsx)(R,{form:e,state:l,reorder:d,handlers:a,index:t.findIndex(e=>e.id===s.id),InfoLabelComponent:i},s.id)]})},s.id)),s.placeholder]})})}),(0,L.jsx)(n.Y,{justify:"center",children:(0,L.jsx)(r.$,{variant:"subtle",size:"compact-xs",leftSection:(0,L.jsx)(E.A,{size:14}),w:"100%",mt:"0.3rem",onClick:o,children:"Add Form Field"})})]})}function R({form:e,state:s,handlers:i,reorder:t,index:n,InfoLabelComponent:c}){const p=`formFields.${n}`,h=e.getValues().formFields[n];return h&&("radio"===h.type||"select"===h.type?h.values&&Array.isArray(h.values)||(h.values=[]):h.values=void 0),(0,L.jsx)(o.Z,{shadow:"sm",w:"100%",withBorder:!0,children:(0,L.jsx)(u.B,{children:(0,L.jsxs)(d.x,{children:[(0,L.jsx)(d.x.Col,{span:6,style:{display:"flex",alignItems:"center"},children:(0,L.jsx)(x.k,{label:(0,L.jsx)(c,{text:"Name",scrollToId:"field-name"}),placeholder:"Enter custom field name",...e.getInputProps(`${p}.name`),onBlur:()=>t(),style:{width:"100%"}},e.key(`${p}.name`))}),(0,L.jsx)(d.x.Col,{span:6,children:(0,L.jsx)(m.l,{label:(0,L.jsx)(c,{text:"Type",scrollToId:"field-type"}),defaultValue:"text",data:N,...e.getInputProps(`${p}.type`),onChange:s=>{e.setFieldValue(`${p}.type`,s||"text"),t()}},e.key(`${p}.type`))}),("radio"===h?.type||"select"===h?.type)&&(0,L.jsxs)(o.Z,{withBorder:!0,m:"xs",p:"xs",w:"100%",h:"100%",children:[(0,L.jsxs)(o.Z.Section,{p:"md",children:[(0,L.jsx)(f.E,{size:"sm",fw:500,component:"div",children:(0,L.jsx)(c,{text:"Options",scrollToId:"field-options"})}),(0,L.jsx)(f.E,{c:"dimmed",size:"xs",children:"Add options for radio or select fields. Each option must have a label and a value."})]}),h.values?.map((s,i)=>(0,L.jsxs)(a.s,{direction:"row",gap:"xs",align:"center",children:[(0,L.jsx)(x.k,{label:"Value",...e.getInputProps(`${p}.values.${i}.value`)},e.key(`${p}.values.${i}.value`)),(0,L.jsx)(x.k,{label:"Label",...e.getInputProps(`${p}.values.${i}.label`)},e.key(`${p}.values.${i}.label`)),(0,L.jsx)(r.$,{variant:"subtle",size:"xs",mt:"0.3rem",onClick:()=>e.removeListItem(`${p}.values`,i),children:(0,L.jsx)(_.A,{size:14,color:"red"})})]},e.key(`${p}.values.${i}`))),(0,L.jsx)(r.$,{variant:"subtle",mt:"xs",size:"xs",leftSection:(0,L.jsx)(E.A,{size:14}),onClick:()=>{e.insertListItem(`${p}.values`,{id:(0,y.z)(),value:"",label:""})},children:"Add Option"})]}),(0,L.jsx)(d.x.Col,{span:6,style:{display:"flex",justifyContent:"flex-end",alignItems:"center"},children:(0,L.jsx)(g.m,{label:"Delete Form Field",children:(0,L.jsx)(l.M,{color:"red",variant:"subtle","aria-label":"Delete Form Field",onClick:()=>{const l=e.getValues().formFields[n];e.removeListItem("formFields",n),i.remove(s.findIndex(e=>e.id===l.id)),t()},children:(0,L.jsx)(_.A,{size:"1rem"})})})})]})})})}}}]); -
gatey/trunk/gatey-admin/dist/index.asset.php
r3433304 r3434727 1 <?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => ' 7acadc808f54ee8d3453');1 <?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => '590f1a9be08738640f4e'); -
gatey/trunk/gatey-admin/dist/index.js
r3433304 r3434727 1 (()=>{var e,t,r,n,o={114(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextWebDetect=function(){return(0,n.windowExists)()&&window.next&&"object"==typeof window.next},t.nextSSRDetect=function(){return(0,n.globalExists)()&&((0,n.keyPrefixMatch)(globalThis,"__next")||(0,n.keyPrefixMatch)(globalThis,"__NEXT"))};const n=r(62114)},136(e,t,r){"use strict";r.r(t),r.d(t,{Sha256:()=>l});var n=r(31635),o=64,i=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),a=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],s=Math.pow(2,53)-1,c=function(){function e(){this.state=Int32Array.from(a),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>s)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===o&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%o>=56){for(var n=this.bufferLength;n<o;n++)t.setUint8(n,0);this.hashBuffer(),this.bufferLength=0}for(n=this.bufferLength;n<56;n++)t.setUint8(n,0);t.setUint32(56,Math.floor(e/4294967296),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}var i=new Uint8Array(32);for(n=0;n<8;n++)i[4*n]=this.state[n]>>>24&255,i[4*n+1]=this.state[n]>>>16&255,i[4*n+2]=this.state[n]>>>8&255,i[4*n+3]=this.state[n]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],a=t[2],s=t[3],c=t[4],u=t[5],l=t[6],d=t[7],p=0;p<o;p++){if(p<16)this.temp[p]=(255&e[4*p])<<24|(255&e[4*p+1])<<16|(255&e[4*p+2])<<8|255&e[4*p+3];else{var f=this.temp[p-2],h=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,m=((f=this.temp[p-15])>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;this.temp[p]=(h+this.temp[p-7]|0)+(m+this.temp[p-16]|0)}var g=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&u^~c&l)|0)+(d+(i[p]+this.temp[p]|0)|0)|0,y=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&a^n&a)|0;d=l,l=u,u=c,c=s+g|0,s=a,a=n,n=r,r=g+y|0}t[0]+=r,t[1]+=n,t[2]+=a,t[3]+=s,t[4]+=c,t[5]+=u,t[6]+=l,t[7]+=d},e}(),u=r(12392),l=function(){function e(e){this.secret=e,this.hash=new c,this.reset()}return e.prototype.update=function(e){if(!(0,u.Kz)(e)&&!this.error)try{this.hash.update((0,u.pP)(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,n.__awaiter)(this,void 0,void 0,function(){return(0,n.__generator)(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new c,this.secret){this.outer=new c;var e=function(e){var t=(0,u.pP)(e);if(t.byteLength>o){var r=new c;r.update(t),t=r.digest()}var n=new Uint8Array(o);return n.set(t),n}(this.secret),t=new Uint8Array(o);t.set(e);for(var r=0;r<o;r++)e[r]^=54,t[r]^=92;for(this.hash.update(e),this.outer.update(t),r=0;r<e.byteLength;r++)e[r]=0}},e}()},155(e,t,r){"use strict";r.d(t,{X:()=>f});var n=r(3052),o=(r(51609),r(10790),r(88149)),i=r(89569);function a(e,t){const r=(0,i.g)({color:e,theme:t});return"dimmed"===r.color?"var(--mantine-color-dimmed)":"bright"===r.color?"var(--mantine-color-bright)":r.variable?`var(${r.variable})`:r.color}const s={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"},c=["h1","h2","h3","h4","h5","h6"],u=["h1","h2","h3","h4","h5","h6"],l={color:a,textColor:function(e,t){const r=(0,i.g)({color:e,theme:t});return r.isThemeColor&&void 0===r.shade?`var(--mantine-color-${r.color}-text)`:a(e,t)},fontSize:function(e,t){return"string"==typeof e&&e in t.fontSizes?`var(--mantine-font-size-${e})`:"string"==typeof e&&c.includes(e)?`var(--mantine-${e}-font-size)`:"number"==typeof e||"string"==typeof e?(0,o.D)(e):e},spacing:function(e,t){if("number"==typeof e)return(0,o.D)(e);if("string"==typeof e){const r=e.replace("-","");if(!(r in t.spacing))return(0,o.D)(e);const n=`--mantine-spacing-${r}`;return e.startsWith("-")?`calc(var(${n}) * -1)`:`var(${n})`}return e},radius:function(e,t){return"string"==typeof e&&e in t.radius?`var(--mantine-radius-${e})`:"number"==typeof e||"string"==typeof e?(0,o.D)(e):e},identity:function(e){return e},size:function(e){return"number"==typeof e?(0,o.D)(e):e},lineHeight:function(e,t){return"string"==typeof e&&e in t.lineHeights?`var(--mantine-line-height-${e})`:"string"==typeof e&&u.includes(e)?`var(--mantine-${e}-line-height)`:e},fontFamily:function(e){return"string"==typeof e&&e in s?s[e]:e},border:function(e,t){if("number"==typeof e)return(0,o.D)(e);if("string"==typeof e){const[r,n,...i]=e.split(" ").filter(e=>""!==e.trim());let s=`${(0,o.D)(r)}`;return n&&(s+=` ${n}`),i.length>0&&(s+=` ${a(i.join(" "),t)}`),s.trim()}return e}};function d(e){return e.replace("(min-width: ","").replace("em)","")}function p(e,t){return"object"==typeof e&&null!==e&&t in e?e[t]:e}function f({styleProps:e,data:t,theme:r}){return function({media:e,...t}){return{...t,media:Object.keys(e).sort((e,t)=>Number(d(e))-Number(d(t))).map(t=>({query:t,styles:e[t]}))}}((0,n.H)(e).reduce((o,i)=>{if("hiddenFrom"===i||"visibleFrom"===i||"sx"===i)return o;const a=t[i],s=Array.isArray(a.property)?a.property:[a.property],c="object"==typeof(u=e[i])&&null!==u?"base"in u?u.base:void 0:u;var u;if(!function(e){if("object"!=typeof e||null===e)return!1;const t=Object.keys(e);return 1!==t.length||"base"!==t[0]}(e[i]))return s.forEach(e=>{o.inlineStyles[e]=l[a.type](c,r)}),o;o.hasResponsiveStyles=!0;const d=function(e){return"object"==typeof e&&null!==e?(0,n.H)(e).filter(e=>"base"!==e):[]}(e[i]);return s.forEach(t=>{null!=c&&(o.styles[t]=l[a.type](c,r)),d.forEach(n=>{const s=`(min-width: ${r.breakpoints[n]})`;o.media[s]={...o.media[s],[t]:l[a.type](p(e[i],n),r)}})}),o},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}},297(e,t,r){"use strict";r.d(t,{C:()=>o});var n=r(51609);function o(e,t){const r=(0,n.useRef)(!1);(0,n.useEffect)(()=>()=>{r.current=!1},[]),(0,n.useEffect)(()=>{if(r.current)return e();r.current=!0},t)}},761(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMapTo=void 0;var n=r(90680),o=r(10281);t.switchMapTo=function(e,t){return o.isFunction(t)?n.switchMap(function(){return e},t):n.switchMap(function(){return e})}},1058(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphQLResultWithError=void 0;const n=r(11729);t.createGraphQLResultWithError=e=>({data:{},errors:[new n.GraphQLError(e.message,null,null,null,null,e)]})},1101(e,t,r){"use strict";r.d(t,{nW:()=>p,xd:()=>d});var n=r(10790),o=r(51609),i=r(15304),a=r(1518);const s="[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";function c(e){return!(e<0||e>9)&&parseInt(e.toString(),10)===e}function u(e){if(!(e.primaryColor in e.colors))throw new Error("[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");if(!("object"!=typeof e.primaryShade||c(e.primaryShade.dark)&&c(e.primaryShade.light)))throw new Error(s);if("number"==typeof e.primaryShade&&!c(e.primaryShade))throw new Error(s)}const l=(0,o.createContext)(null);function d(){const e=(0,o.useContext)(l);if(!e)throw new Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return e}function p({theme:e,children:t,inherit:r=!0}){const s=(0,o.useContext)(l)||i.S,c=(0,o.useMemo)(()=>function(e,t){if(!t)return u(e),e;const r=(0,a.$)(e,t);return t.fontFamily&&!t.headings?.fontFamily&&(r.headings.fontFamily=t.fontFamily),u(r),r}(r?s:i.S,e),[e,s,r]);return(0,n.jsx)(l.Provider,{value:c,children:t})}p.displayName="@mantine/core/MantineThemeProvider"},1123(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.PlatformNotSupportedError=t.createAssertionFunction=t.ApiError=t.AmplifyError=void 0;var n=r(41185);Object.defineProperty(t,"AmplifyError",{enumerable:!0,get:function(){return n.AmplifyError}});var o=r(13281);Object.defineProperty(t,"ApiError",{enumerable:!0,get:function(){return o.ApiError}});var i=r(88143);Object.defineProperty(t,"createAssertionFunction",{enumerable:!0,get:function(){return i.createAssertionFunction}});var a=r(3147);Object.defineProperty(t,"PlatformNotSupportedError",{enumerable:!0,get:function(){return a.PlatformNotSupportedError}});var s=r(11920);Object.defineProperty(t,"assert",{enumerable:!0,get:function(){return s.assert}})},1230(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CognitoAWSCredentialsAndIdentityIdProvider=void 0;const n=r(56547),o=r(22651),i=r(43518),a=r(73031),s=r(62639),c=r(64166),u=r(28228),l=r(74231),d=r(95392),p=new n.ConsoleLogger("CognitoCredentialsProvider"),f=3e6;t.CognitoAWSCredentialsAndIdentityIdProvider=class{constructor(e){this._nextCredentialsRefresh=0,this._identityIdStore=e}async clearCredentialsAndIdentityId(){p.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){p.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(e){const t=e.authenticated,{tokens:r}=e,{authConfig:n}=e;try{(0,o.assertIdentityPoolIdConfig)(n?.Cognito)}catch{return}if(!t&&!n.Cognito.allowGuestAccess)return;const{forceRefresh:i}=e,a=this.hasTokenChanged(r),s=await(0,l.cognitoIdentityIdProvider)({tokens:r,authConfig:n.Cognito,identityIdStore:this._identityIdStore});return(i||a)&&this.clearCredentials(),t?((0,c.assertIdTokenInAuthTokens)(r),this.credsForOIDCTokens(n.Cognito,r,s)):this.getGuestCredentials(s,n.Cognito)}async getGuestCredentials(e,t){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!1===this._credentialsAndIdentityId.isAuthenticatedCreds)return p.info("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const r=(0,s.getRegionFromIdentityPoolId)(t.identityPoolId),o=(0,n.createGetCredentialsForIdentityClient)({endpointResolver:(0,u.createCognitoIdentityPoolEndpointResolver)({endpointOverride:t.identityPoolEndpoint})});let c;try{c=await o({region:r},{IdentityId:e})}catch(e){throw(0,a.assertServiceError)(e),new i.AuthError(e)}if(c?.Credentials?.AccessKeyId&&c?.Credentials?.SecretKey){this._nextCredentialsRefresh=(new Date).getTime()+f;const t={credentials:{accessKeyId:c.Credentials.AccessKeyId,secretAccessKey:c.Credentials.SecretKey,sessionToken:c.Credentials.SessionToken,expiration:c.Credentials.Expiration},identityId:e};return c.IdentityId&&(t.identityId=c.IdentityId,this._identityIdStore.storeIdentityId({id:c.IdentityId,type:"guest"})),this._credentialsAndIdentityId={...t,isAuthenticatedCreds:!1},t}throw new i.AuthError({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(e,t,r){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!0===this._credentialsAndIdentityId.isAuthenticatedCreds)return p.debug("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const o=t.idToken?(0,d.formLoginsMap)(t.idToken.toString()):{},c=(0,s.getRegionFromIdentityPoolId)(e.identityPoolId),l=(0,n.createGetCredentialsForIdentityClient)({endpointResolver:(0,u.createCognitoIdentityPoolEndpointResolver)({endpointOverride:e.identityPoolEndpoint})});let h;try{h=await l({region:c},{IdentityId:r,Logins:o})}catch(e){throw(0,a.assertServiceError)(e),new i.AuthError(e)}if(h?.Credentials?.AccessKeyId&&h?.Credentials?.SecretKey){this._nextCredentialsRefresh=(new Date).getTime()+f;const e={credentials:{accessKeyId:h.Credentials.AccessKeyId,secretAccessKey:h.Credentials.SecretKey,sessionToken:h.Credentials.SessionToken,expiration:h.Credentials.Expiration},identityId:r};return h.IdentityId&&(e.identityId=h.IdentityId,this._identityIdStore.storeIdentityId({id:h.IdentityId,type:"primary"})),this._credentialsAndIdentityId={...e,isAuthenticatedCreds:!0,associatedIdToken:t.idToken?.toString()},e}throw new i.AuthError({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return void 0===this._nextCredentialsRefresh||this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(e){return!!e&&!!this._credentialsAndIdentityId?.associatedIdToken&&e.idToken?.toString()!==this._credentialsAndIdentityId.associatedIdToken}}},1268(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUpdatedSystemClockOffset=void 0;const n=r(80494);t.getUpdatedSystemClockOffset=(e,t)=>(0,n.isClockSkewed)(e,t)?e-Date.now():t},1478(e,t){"use strict";var r,n,o,i,a,s,c,u,l,d,p,f,h,m;Object.defineProperty(t,"__esModule",{value:!0}),t.StorageAction=t.PushNotificationAction=t.PubSubAction=t.PredictionsAction=t.InteractionsAction=t.InAppMessagingAction=t.GeoAction=t.DataStoreAction=t.AuthAction=t.ApiAction=t.AnalyticsAction=t.AiAction=t.Category=t.Framework=void 0,function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"}(r||(t.Framework=r={})),function(e){e.AI="ai",e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"}(n||(t.Category=n={})),function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnMessage="7",e.Generation="8",e.UpdateConversation="9"}(o||(t.AiAction=o={})),function(e){e.Record="1",e.IdentifyUser="2"}(i||(t.AnalyticsAction=i={})),function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"}(a||(t.ApiAction=a={})),function(e){e.SignUp="1",e.ConfirmSignUp="2",e.ResendSignUpCode="3",e.SignIn="4",e.FetchMFAPreference="6",e.UpdateMFAPreference="7",e.SetUpTOTP="10",e.VerifyTOTPSetup="11",e.ConfirmSignIn="12",e.DeleteUserAttributes="15",e.DeleteUser="16",e.UpdateUserAttributes="17",e.FetchUserAttributes="18",e.ConfirmUserAttribute="22",e.SignOut="26",e.UpdatePassword="27",e.ResetPassword="28",e.ConfirmResetPassword="29",e.FederatedSignIn="30",e.RememberDevice="32",e.ForgetDevice="33",e.FetchDevices="34",e.SendUserAttributeVerificationCode="35",e.SignInWithRedirect="36",e.StartWebAuthnRegistration="37",e.CompleteWebAuthnRegistration="38",e.ListWebAuthnCredentials="39",e.DeleteWebAuthnCredential="40"}(s||(t.AuthAction=s={})),function(e){e.Subscribe="1",e.GraphQl="2"}(c||(t.DataStoreAction=c={})),function(e){e.SearchByText="0",e.SearchByCoordinates="1",e.SearchForSuggestions="2",e.SearchByPlaceId="3",e.SaveGeofences="4",e.GetGeofence="5",e.ListGeofences="6",e.DeleteGeofences="7"}(u||(t.GeoAction=u={})),function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"}(l||(t.InAppMessagingAction=l={})),function(e){e.None="0"}(d||(t.InteractionsAction=d={})),function(e){e.Convert="1",e.Identify="2",e.Interpret="3"}(p||(t.PredictionsAction=p={})),function(e){e.Subscribe="1"}(f||(t.PubSubAction=f={})),function(e){e.InitializePushNotifications="1",e.IdentifyUser="2"}(h||(t.PushNotificationAction=h={})),function(e){e.UploadData="1",e.DownloadData="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6",e.GetUrl="7",e.GetDataAccess="8",e.ListCallerAccessGrants="9"}(m||(t.StorageAction=m={}))},1518(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&!Array.isArray(e)}function o(e,t){const r={...e},i=t;return n(e)&&n(t)&&Object.keys(t).forEach(t=>{n(i[t])?r[t]=t in e?o(r[t],i[t]):i[t]:r[t]=i[t]}),r}r.d(t,{$:()=>o})},1882(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashFromHex=void 0;const n=r(95179),o=r(76803);t.getHashFromHex=e=>(0,o.getHashFromData)((0,n.getBytesFromHex)(e))},1903(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var n=r(48051),o=r(7652),i=r(17214),a=r(5717),s=r(19724);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.argsOrArgArray(e);return new n.Observable(function(e){var t=0,n=function(){if(t<r.length){var o=void 0;try{o=s.innerFrom(r[t++])}catch(e){return void n()}var c=new i.OperatorSubscriber(e,void 0,a.noop,a.noop);o.subscribe(c),c.add(n)}else e.complete()};n()})}},2106(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rememberDevice=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:d}=await(0,n.fetchAuthSession)();(0,i.assertAuthTokens)(d);const p=await(s.tokenOrchestrator?.getDeviceMetadata());(0,i.assertDeviceMetadata)(p);const f=(0,u.createUpdateDeviceStatusClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await f({region:(0,a.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.RememberDevice)},{AccessToken:d.accessToken.toString(),DeviceKey:p.deviceKey,DeviceRememberedStatus:"remembered"})};const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(4870),c=r(17238),u=r(35456),l=r(28228)},2126(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializePkcWithAssertionToJson=t.deserializeJsonToPkcGetOptions=t.serializePkcWithAttestationToJson=t.deserializeJsonToPkcCreationOptions=void 0;const n=r(2504);t.deserializeJsonToPkcCreationOptions=e=>{const t=(0,n.convertBase64UrlToArrayBuffer)(e.user.id),r=(0,n.convertBase64UrlToArrayBuffer)(e.challenge),o=(e.excludeCredentials||[]).map(e=>({...e,id:(0,n.convertBase64UrlToArrayBuffer)(e.id)}));return{...e,excludeCredentials:o,challenge:r,user:{...e.user,id:t}}},t.serializePkcWithAttestationToJson=e=>{const t={clientDataJSON:(0,n.convertArrayBufferToBase64Url)(e.response.clientDataJSON),attestationObject:(0,n.convertArrayBufferToBase64Url)(e.response.attestationObject),transports:e.response.getTransports(),publicKeyAlgorithm:e.response.getPublicKeyAlgorithm(),authenticatorData:(0,n.convertArrayBufferToBase64Url)(e.response.getAuthenticatorData())},r=e.response.getPublicKey();r&&(t.publicKey=(0,n.convertArrayBufferToBase64Url)(r));const o={type:e.type,id:e.id,rawId:(0,n.convertArrayBufferToBase64Url)(e.rawId),clientExtensionResults:e.getClientExtensionResults(),response:t};return e.authenticatorAttachment&&(o.authenticatorAttachment=e.authenticatorAttachment),o},t.deserializeJsonToPkcGetOptions=e=>{const t=(0,n.convertBase64UrlToArrayBuffer)(e.challenge),r=(e.allowCredentials||[]).map(e=>({...e,id:(0,n.convertBase64UrlToArrayBuffer)(e.id)}));return{...e,challenge:t,allowCredentials:r}},t.serializePkcWithAssertionToJson=e=>{const t={clientDataJSON:(0,n.convertArrayBufferToBase64Url)(e.response.clientDataJSON),authenticatorData:(0,n.convertArrayBufferToBase64Url)(e.response.authenticatorData),signature:(0,n.convertArrayBufferToBase64Url)(e.response.signature)};e.response.userHandle&&(t.userHandle=(0,n.convertArrayBufferToBase64Url)(e.response.userHandle));const r={id:e.id,rawId:(0,n.convertArrayBufferToBase64Url)(e.rawId),type:e.type,clientExtensionResults:e.getClientExtensionResults(),response:t};return e.authenticatorAttachment&&(r.authenticatorAttachment=e.authenticatorAttachment),r}},2412(e,t,r){"use strict";r.d(t,{D_:()=>i,P9:()=>a});var n=r(10790),o=r(51609);function i(e){return e}function a(e){const t=(0,o.forwardRef)(e);return t.extend=i,t.withProps=e=>{const r=(0,o.forwardRef)((r,o)=>(0,n.jsx)(t,{...e,...r,ref:o}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t}},2492(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepFreeze=void 0,t.deepFreeze=e=>{const r=Reflect.ownKeys(e);for(const n of r){const r=e[n];(r&&"object"==typeof r||"function"==typeof r)&&(0,t.deepFreeze)(r)}return Object.freeze(e)}},2504(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64UrlToArrayBuffer=t.convertArrayBufferToBase64Url=void 0;var n=r(30247);Object.defineProperty(t,"convertArrayBufferToBase64Url",{enumerable:!0,get:function(){return n.convertArrayBufferToBase64Url}}),Object.defineProperty(t,"convertBase64UrlToArrayBuffer",{enumerable:!0,get:function(){return n.convertBase64UrlToArrayBuffer}})},2554(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CONNECTION_STATE_CHANGE=t.graphqlOperation=t.GraphQLAPIClass=t.GraphQLAPI=t.events=void 0;const n=r(31635),o=n.__importStar(r(30157));t.events=o;var i=r(91339);Object.defineProperty(t,"GraphQLAPI",{enumerable:!0,get:function(){return i.GraphQLAPI}}),Object.defineProperty(t,"GraphQLAPIClass",{enumerable:!0,get:function(){return i.GraphQLAPIClass}}),Object.defineProperty(t,"graphqlOperation",{enumerable:!0,get:function(){return i.graphqlOperation}}),n.__exportStar(r(82192),t);var a=r(57186);Object.defineProperty(t,"CONNECTION_STATE_CHANGE",{enumerable:!0,get:function(){return a.CONNECTION_STATE_CHANGE}}),n.__exportStar(r(67060),t)},2574(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeInternals=void 0;var n=r(19724),o=r(28619),i=r(17214);t.mergeInternals=function(e,t,r,a,s,c,u,l){var d=[],p=0,f=0,h=!1,m=function(){!h||d.length||p||t.complete()},g=function(e){return p<a?y(e):d.push(e)},y=function(e){c&&t.next(e),p++;var l=!1;n.innerFrom(r(e,f++)).subscribe(i.createOperatorSubscriber(t,function(e){null==s||s(e),c?g(e):t.next(e)},function(){l=!0},void 0,function(){if(l)try{p--;for(var e=function(){var e=d.shift();u?o.executeSchedule(t,u,function(){return y(e)}):y(e)};d.length&&p<a;)e();m()}catch(e){t.error(e)}}))};return e.subscribe(i.createOperatorSubscriber(t,g,function(){h=!0,m()})),function(){null==l||l()}}},2708(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var i=r(10281),a=r(69879),s=r(93728),c=r(32980),u=r(5717),l=r(42767),d=r(94808),p=r(12688),f=function(e){function r(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,a.isSubscription(r)&&r.add(n)):n.destination=t.EMPTY_OBSERVER,n}return o(r,e),r.create=function(e,t,r){return new y(e,t,r)},r.prototype.next=function(e){this.isStopped?b(l.nextNotification(e),this):this._next(e)},r.prototype.error=function(e){this.isStopped?b(l.errorNotification(e),this):(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped?b(l.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(a.Subscription);t.Subscriber=f;var h=Function.prototype.bind;function m(e,t){return h.call(e,t)}var g=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){v(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){v(e)}else v(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){v(e)}},e}(),y=function(e){function t(t,r,n){var o,a,c=e.call(this)||this;return i.isFunction(t)||!t?o={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:c&&s.config.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return c.unsubscribe()},o={next:t.next&&m(t.next,a),error:t.error&&m(t.error,a),complete:t.complete&&m(t.complete,a)}):o=t,c.destination=new g(o),c}return o(t,e),t}(f);function v(e){s.config.useDeprecatedSynchronousErrorHandling?p.captureError(e):c.reportUnhandledError(e)}function b(e,t){var r=s.config.onStoppedNotification;r&&d.timeoutProvider.setTimeout(function(){return r(e,t)})}t.SafeSubscriber=y,t.EMPTY_OBSERVER={closed:!0,next:u.noop,error:function(e){throw e},complete:u.noop}},2733(e){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}return function t(r,n){function o(t,o,i){if("undefined"!=typeof document){"number"==typeof(i=e({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=t+"="+r.write(o,t)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var i=t[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(n[s]=r.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){o(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},2757(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInAppMessages=void 0;const n=r(91537),o=r(50057),i=r(6465),a=r(39930),s=r(11923),c=r(53838);t.getInAppMessages=(0,o.composeServiceApi)(n.authenticatedHandler,({ApplicationId:e="",EndpointId:t=""},r)=>{const n=(0,c.getSharedHeaders)(),o=new s.AmplifyUrl(r.url);return o.pathname=`v1/apps/${(0,i.extendedEncodeURIComponent)(e)}/endpoints/${(0,i.extendedEncodeURIComponent)(t)}/inappmessages`,{method:"GET",headers:n,url:o}},async e=>{if(e.statusCode>=300)throw await(0,a.parseJsonError)(e);{const{InAppMessageCampaigns:t}=await(0,a.parseJsonBody)(e);return{InAppMessagesResponse:{InAppMessageCampaigns:t},$metadata:(0,a.parseMetadata)(e)}}},c.defaultConfig)},2884(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0,t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},2959(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreElements=void 0;var n=r(65212),o=r(17214),i=r(5717);t.ignoreElements=function(){return n.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,i.noop))})}},3052(e,t,r){"use strict";function n(e){return Object.keys(e)}r.d(t,{H:()=>n})},3143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0;var n=r(65212),o=r(5717),i=r(17214),a=r(19724);t.debounce=function(e){return n.operate(function(t,r){var n=!1,s=null,c=null,u=function(){if(null==c||c.unsubscribe(),c=null,n){n=!1;var e=s;s=null,r.next(e)}};t.subscribe(i.createOperatorSubscriber(r,function(t){null==c||c.unsubscribe(),n=!0,s=t,c=i.createOperatorSubscriber(r,u,o.noop),a.innerFrom(e(t)).subscribe(c)},function(){u(),r.complete()},void 0,function(){s=c=null}))})}},3147(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformNotSupportedError=void 0;const n=r(27745),o=r(41185);class i extends o.AmplifyError{constructor(){super({name:n.AmplifyErrorCode.PlatformNotSupported,message:"Function not supported on current platform"})}}t.PlatformNotSupportedError=i},3352(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=void 0;var n=r(65212),o=r(17214),i=r(87699),a=r(5825),s=r(19724);t.retry=function(e){var t;void 0===e&&(e=1/0);var r=(t=e&&"object"==typeof e?e:{count:e}).count,c=void 0===r?1/0:r,u=t.delay,l=t.resetOnSuccess,d=void 0!==l&&l;return c<=0?i.identity:n.operate(function(e,t){var r,n=0,i=function(){var l=!1;r=e.subscribe(o.createOperatorSubscriber(t,function(e){d&&(n=0),t.next(e)},void 0,function(e){if(n++<c){var d=function(){r?(r.unsubscribe(),r=null,i()):l=!0};if(null!=u){var p="number"==typeof u?a.timer(u):s.innerFrom(u(e,n)),f=o.createOperatorSubscriber(t,function(){f.unsubscribe(),d()},function(){t.complete()});p.subscribe(f)}else d()}else t.error(e)})),l&&(r.unsubscribe(),r=null,i())};i()})}},3427(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoUserPoolTransferHandler=void 0;var n=r(31240);Object.defineProperty(t,"cognitoUserPoolTransferHandler",{enumerable:!0,get:function(){return n.cognitoUserPoolTransferHandler}})},3944(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InMemoryStorage=void 0,t.InMemoryStorage=class{constructor(){this.storage=new Map}get length(){return this.storage.size}key(e){return e>this.length-1?null:Array.from(this.storage.keys())[e]}setItem(e,t){this.storage.set(e,t)}getItem(e){return this.storage.get(e)??null}removeItem(e){this.storage.delete(e)}clear(){this.storage.clear()}}},3957(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithCustomSRPAuth=async function(e){const{username:t,password:r,options:h}=e,m={loginId:t,authFlowType:"CUSTOM_WITH_SRP"},g=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(g);const y=h?.clientMetadata;(0,a.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptySignInUsername),(0,a.assertValidationError)(!!r,i.AuthValidationErrorCode.EmptySignInPassword);try{const{ChallengeName:e,ChallengeParameters:n,AuthenticationResult:o,Session:i}=await(0,c.handleCustomSRPAuthFlow)(t,r,y,g,d.tokenOrchestrator),a=(0,c.getActiveSignInUsername)(t);return(0,u.setActiveSignInState)({signInSession:i,username:a,challengeName:e,signInDetails:m}),o?(await(0,l.cacheCognitoTokens)({username:a,...o,NewDeviceMetadata:await(0,f.getNewDeviceMetadata)({userPoolId:g.userPoolId,userPoolEndpoint:g.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:m}),(0,u.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:e,challengeParameters:n})}catch(e){(0,u.resetActiveSignInState)(),(0,s.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(73031),c=r(78040),u=r(27861),l=r(55794),d=r(4870),p=r(84539),f=r(66542)},3977(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDnsSuffix=void 0;var n=r(93839);Object.defineProperty(t,"getDnsSuffix",{enumerable:!0,get:function(){return n.getDnsSuffix}})},4010(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionListener=void 0;const n=r(6441),o=new Set;t.SessionListener=class{constructor(){this.listenerActive=!1,this.handleVisibilityChange=this.handleVisibilityChange.bind(this),(0,n.isBrowser)()&&(document.addEventListener("visibilitychange",this.handleVisibilityChange,!1),this.listenerActive=!0)}addStateChangeListener(e,t=!1){this.listenerActive&&(o.add(e),t&&e(this.getSessionState()))}removeStateChangeListener(e){this.listenerActive&&o.delete(e)}handleVisibilityChange(){this.notifyHandlers()}notifyHandlers(){const e=this.getSessionState();o.forEach(t=>{t(e)})}getSessionState(){return(0,n.isBrowser)()&&"hidden"!==document.visibilityState?"started":"ended"}}},4463(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAmplifyUserAgent=t.getAmplifyUserAgentObject=t.Platform=t.sanitizeAmplifyVersion=void 0;const n=r(1478),o=r(72223),i=r(33990),a=r(76638),s="aws-amplify";t.sanitizeAmplifyVersion=e=>e.replace(/\+.*/,""),t.Platform=new class{constructor(){this.userAgent=`${s}/${(0,t.sanitizeAmplifyVersion)(o.version)}`}get framework(){return(0,i.detectFramework)()}get isReactNative(){return this.framework===n.Framework.ReactNative||this.framework===n.Framework.Expo}observeFrameworkChanges(e){(0,i.observeFrameworkChanges)(e)}},t.getAmplifyUserAgentObject=({category:e,action:r}={})=>{const n=[[s,(0,t.sanitizeAmplifyVersion)(o.version)]];if(e&&n.push([e,r]),n.push(["framework",(0,i.detectFramework)()]),e&&r){const t=(0,a.getCustomUserAgent)(e,r);t&&t.forEach(e=>{n.push(e)})}return n},t.getAmplifyUserAgent=e=>(0,t.getAmplifyUserAgentObject)(e).map(([e,t])=>e&&t?`${e}/${t}`:e).join(" ")},4571(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reactNativeDetect=function(){return"undefined"!=typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},4870(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AUTH_KEY_PREFIX=t.tokenOrchestrator=t.cognitoUserPoolsTokenProvider=t.TokenOrchestrator=t.createKeysForAuthStorage=t.DefaultTokenStore=t.refreshAuthTokensWithoutDedupe=t.refreshAuthTokens=void 0;var n=r(76772);Object.defineProperty(t,"refreshAuthTokens",{enumerable:!0,get:function(){return n.refreshAuthTokens}}),Object.defineProperty(t,"refreshAuthTokensWithoutDedupe",{enumerable:!0,get:function(){return n.refreshAuthTokensWithoutDedupe}});var o=r(47278);Object.defineProperty(t,"DefaultTokenStore",{enumerable:!0,get:function(){return o.DefaultTokenStore}}),Object.defineProperty(t,"createKeysForAuthStorage",{enumerable:!0,get:function(){return o.createKeysForAuthStorage}});var i=r(28891);Object.defineProperty(t,"TokenOrchestrator",{enumerable:!0,get:function(){return i.TokenOrchestrator}});var a=r(39602);Object.defineProperty(t,"cognitoUserPoolsTokenProvider",{enumerable:!0,get:function(){return a.cognitoUserPoolsTokenProvider}}),Object.defineProperty(t,"tokenOrchestrator",{enumerable:!0,get:function(){return a.tokenOrchestrator}});var s=r(24631);Object.defineProperty(t,"AUTH_KEY_PREFIX",{enumerable:!0,get:function(){return s.AUTH_KEY_PREFIX}})},4915(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HubInternal=t.Hub=t.HubClass=t.AMPLIFY_SYMBOL=void 0;const n=r(69580),o=r(68582),i=r(1123);t.AMPLIFY_SYMBOL="undefined"!=typeof Symbol?Symbol("amplify_default"):"@@amplify_default";const a=new n.ConsoleLogger("Hub");class s{constructor(e){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}_remove(e,t){const r=this.listeners.get(e);r?this.listeners.set(e,[...r.filter(({callback:e})=>e!==t)]):a.warn(`No listeners for ${e}`)}dispatch(e,r,n,o){"string"==typeof e&&this.protectedChannels.indexOf(e)>-1&&(o===t.AMPLIFY_SYMBOL||a.warn(`WARNING: ${e} is protected and dispatching on it can have unintended consequences`));const i={channel:e,payload:{...r},source:n,patternInfo:[]};try{this._toListeners(i)}catch(e){a.error(e)}}listen(e,t,r="noname"){let n;if("function"!=typeof t)throw new i.AmplifyError({name:o.NO_HUBCALLBACK_PROVIDED_EXCEPTION,message:"No callback supplied to Hub"});n=t;let a=this.listeners.get(e);return a||(a=[],this.listeners.set(e,a)),a.push({name:r,callback:n}),()=>{this._remove(e,n)}}_toListeners(e){const{channel:t,payload:r}=e,n=this.listeners.get(t);n&&n.forEach(n=>{a.debug(`Dispatching to ${t} with `,r);try{n.callback(e)}catch(e){a.error(e)}})}}t.HubClass=s,t.Hub=new s("__default__"),t.HubInternal=new s("internal-hub")},5001(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeOAuthFlow=void 0;const n=r(22651),o=r(56547),i=r(55794),a=r(84539),s=r(4870),c=r(19804),u=r(48105),l=r(88516),d=r(80227);t.completeOAuthFlow=async({currentUrl:e,userAgentValue:t,clientId:r,redirectUri:o,responseType:i,domain:a,preferPrivateSession:s})=>{const u=new n.AmplifyUrl(e),l=u.searchParams.get("error"),d=u.searchParams.get("error_description");if(l)throw(0,c.createOAuthError)(d??l);return"code"===i?p({currentUrl:e,userAgentValue:t,clientId:r,redirectUri:o,domain:a,preferPrivateSession:s}):f({currentUrl:e,redirectUri:o,preferPrivateSession:s})};const p=async({currentUrl:e,userAgentValue:t,clientId:r,redirectUri:a,domain:s,preferPrivateSession:u})=>{const p=new n.AmplifyUrl(e),f=p.searchParams.get("code"),m=p.searchParams.get("state");if(!f||!m)throw(0,c.createOAuthError)("User cancelled OAuth flow.");const g=await(0,l.validateState)(m),y="https://"+s+"/oauth2/token",v=await d.oAuthStore.loadPKCE(),b={grant_type:"authorization_code",code:f,client_id:r,redirect_uri:a,...v?{code_verifier:v}:{}},E=Object.entries(b).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&"),{access_token:w,refresh_token:S,id_token:A,error:_,error_message:P,token_type:C,expires_in:I}=await(await fetch(y,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",[n.USER_AGENT_HEADER]:t},body:E})).json();if(_)throw(0,c.createOAuthError)(P??_);const x=(w&&(0,o.decodeJWT)(w).payload.username)??"username";return await(0,i.cacheCognitoTokens)({username:x,AccessToken:w,IdToken:A,RefreshToken:S,TokenType:C,ExpiresIn:I}),h({redirectUri:a,state:g,preferPrivateSession:u})},f=async({currentUrl:e,redirectUri:t,preferPrivateSession:r})=>{const a=new n.AmplifyUrl(e),{id_token:s,access_token:u,state:d,token_type:p,expires_in:f,error_description:m,error:g}=(a.hash??"#").substring(1).split("&").map(e=>e.split("=")).reduce((e,[t,r])=>({...e,[t]:r}),{id_token:void 0,access_token:void 0,state:void 0,token_type:void 0,expires_in:void 0,error_description:void 0,error:void 0});if(g)throw(0,c.createOAuthError)(m??g);if(!u)throw(0,c.createOAuthError)("No access token returned from OAuth flow.");const y=await(0,l.validateState)(d),v=(u&&(0,o.decodeJWT)(u).payload.username)??"username";return await(0,i.cacheCognitoTokens)({username:v,AccessToken:u,IdToken:s,TokenType:p,ExpiresIn:f}),h({redirectUri:t,state:y,preferPrivateSession:r})},h=async({redirectUri:e,state:t,preferPrivateSession:r})=>{await s.tokenOrchestrator.setOAuthMetadata({oauthSignIn:!0}),await d.oAuthStore.clearOAuthData(),await d.oAuthStore.storeOAuthSignIn(!0,r),(0,u.resolveAndClearInflightPromises)(),y(e),m(t)&&o.Hub.dispatch("auth",{event:"customOAuthState",data:(0,n.urlSafeDecode)(g(t))},"Auth",n.AMPLIFY_SYMBOL),o.Hub.dispatch("auth",{event:"signInWithRedirect"},"Auth",n.AMPLIFY_SYMBOL),await(0,a.dispatchSignedInHubEvent)()},m=e=>/-/.test(e),g=e=>e.split("-").splice(1).join("-"),y=e=>{"undefined"!=typeof window&&void 0!==window.history&&window.history.replaceState(window.history.state,"",e)}},5055(e,t,r){"use strict";r.d(t,{$:()=>A});var n=r(10790),o=r(88149),i=(r(51609),r(56324)),a=r(59396),s=r(46100),c=r(52837),u=r(11507),l=r(18639),d=r(24952),p=r(73087),f=r(46076),h=r(2412),m={root:"m_77c9d27d",inner:"m_80f1301b",label:"m_811560b9",section:"m_a74036a",loader:"m_a25b86ee",group:"m_80d6d844",groupSection:"m_70be2a01"};const g={orientation:"horizontal"},y=(0,a.V)((e,{borderWidth:t})=>({group:{"--button-border-width":(0,o.D)(t)}})),v=(0,h.P9)((e,t)=>{const r=(0,s.Y)("ButtonGroup",g,e),{className:o,style:i,classNames:a,styles:l,unstyled:d,orientation:p,vars:f,borderWidth:h,variant:v,mod:b,attributes:E,...w}=(0,s.Y)("ButtonGroup",g,e),S=(0,c.I)({name:"ButtonGroup",props:r,classes:m,className:o,style:i,classNames:a,styles:l,unstyled:d,attributes:E,vars:f,varsResolver:y,rootSelector:"group"});return(0,n.jsx)(u.a,{...S("group"),ref:t,variant:v,mod:[{"data-orientation":p},b],role:"group",...w})});v.classes=m,v.displayName="@mantine/core/ButtonGroup";const b=(0,a.V)((e,{radius:t,color:r,gradient:n,variant:o,autoContrast:a,size:s})=>{const c=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:a});return{groupSection:{"--section-height":(0,i.YC)(s,"section-height"),"--section-padding-x":(0,i.YC)(s,"section-padding-x"),"--section-fz":s?.includes("compact")?(0,i.ny)(s.replace("compact-","")):(0,i.ny)(s),"--section-radius":void 0===t?void 0:(0,i.nJ)(t),"--section-bg":r||o?c.background:void 0,"--section-color":c.color,"--section-bd":r||o?c.border:void 0}}}),E=(0,h.P9)((e,t)=>{const r=(0,s.Y)("ButtonGroupSection",null,e),{className:o,style:i,classNames:a,styles:l,unstyled:d,vars:p,variant:f,gradient:h,radius:g,autoContrast:y,attributes:v,...E}=r,w=(0,c.I)({name:"ButtonGroupSection",props:r,classes:m,className:o,style:i,classNames:a,styles:l,unstyled:d,attributes:v,vars:p,varsResolver:b,rootSelector:"groupSection"});return(0,n.jsx)(u.a,{...w("groupSection"),ref:t,variant:f,...E})});E.classes=m,E.displayName="@mantine/core/ButtonGroupSection";const w={in:{opacity:1,transform:`translate(-50%, calc(-50% + ${(0,o.D)(1)}))`},out:{opacity:0,transform:"translate(-50%, -200%)"},common:{transformOrigin:"center"},transitionProperty:"transform, opacity"},S=(0,a.V)((e,{radius:t,color:r,gradient:n,variant:o,size:a,justify:s,autoContrast:c})=>{const u=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:c});return{root:{"--button-justify":s,"--button-height":(0,i.YC)(a,"button-height"),"--button-padding-x":(0,i.YC)(a,"button-padding-x"),"--button-fz":a?.includes("compact")?(0,i.ny)(a.replace("compact-","")):(0,i.ny)(a),"--button-radius":void 0===t?void 0:(0,i.nJ)(t),"--button-bg":r||o?u.background:void 0,"--button-hover":r||o?u.hover:void 0,"--button-color":u.color,"--button-bd":r||o?u.border:void 0,"--button-hover-color":r||o?u.hoverColor:void 0}}}),A=(0,l.v)((e,t)=>{const r=(0,s.Y)("Button",null,e),{style:o,vars:i,className:a,color:l,disabled:h,children:g,leftSection:y,rightSection:v,fullWidth:b,variant:E,radius:A,loading:_,loaderProps:P,gradient:C,classNames:I,styles:x,unstyled:O,"data-disabled":k,autoContrast:T,mod:N,attributes:j,...R}=r,M=(0,c.I)({name:"Button",props:r,classes:m,className:a,style:o,classNames:I,styles:x,unstyled:O,attributes:j,vars:i,varsResolver:S}),D=!!y,U=!!v;return(0,n.jsxs)(f.N,{ref:t,...M("root",{active:!h&&!_&&!k}),unstyled:O,variant:E,disabled:h||_,mod:[{disabled:h||k,loading:_,block:b,"with-left-section":D,"with-right-section":U},N],...R,children:["boolean"==typeof _&&(0,n.jsx)(p.e,{mounted:_,transition:w,duration:150,children:e=>(0,n.jsx)(u.a,{component:"span",...M("loader",{style:e}),"aria-hidden":!0,children:(0,n.jsx)(d.a,{color:"var(--button-color)",size:"calc(var(--button-height) / 1.8)",...P})})}),(0,n.jsxs)("span",{...M("inner"),children:[y&&(0,n.jsx)(u.a,{component:"span",...M("section"),mod:{position:"left"},children:y}),(0,n.jsx)(u.a,{component:"span",mod:{loading:_},...M("label"),children:g}),v&&(0,n.jsx)(u.a,{component:"span",...M("section"),mod:{position:"right"},children:v})]})]})});A.classes=m,A.displayName="@mantine/core/Button",A.Group=v,A.GroupSection=E},5128(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupBy=void 0;var n=r(48051),o=r(19724),i=r(76808),a=r(65212),s=r(17214);t.groupBy=function(e,t,r,c){return a.operate(function(a,u){var l;t&&"function"!=typeof t?(r=t.duration,l=t.element,c=t.connector):l=t;var d=new Map,p=function(e){d.forEach(e),e(u)},f=function(e){return p(function(t){return t.error(e)})},h=0,m=!1,g=new s.OperatorSubscriber(u,function(t){try{var a=e(t),p=d.get(a);if(!p){d.set(a,p=c?c():new i.Subject);var y=(b=a,E=p,(w=new n.Observable(function(e){h++;var t=E.subscribe(e);return function(){t.unsubscribe(),0===--h&&m&&g.unsubscribe()}})).key=b,w);if(u.next(y),r){var v=s.createOperatorSubscriber(p,function(){p.complete(),null==v||v.unsubscribe()},void 0,void 0,function(){return d.delete(a)});g.add(o.innerFrom(r(y)).subscribe(v))}}p.next(l?l(t):t)}catch(e){f(e)}var b,E,w},function(){return p(function(e){return e.complete()})},f,function(){return d.clear()},function(){return m=!0,0===h});a.subscribe(g)})}},5130(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncSubject=void 0;var i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return o(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t._hasValue,o=t._value,i=t.thrownError,a=t.isStopped,s=t._isComplete;r?e.error(i):(a||s)&&(n&&e.next(o),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,r=t._hasValue,n=t._value;t._isComplete||(this._isComplete=!0,r&&e.prototype.next.call(this,n),e.prototype.complete.call(this))},t}(r(76808).Subject);t.AsyncSubject=i},5205(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalHeaders=void 0,t.getCanonicalHeaders=e=>Object.entries(e).map(([e,t])=>({key:e.toLowerCase(),value:t?.trim().replace(/\s+/g," ")??""})).sort((e,t)=>e.key<t.key?-1:1).map(e=>`${e.key}:${e.value}\n`).join("")},5338(e,t,r){"use strict";var n=r(75795);t.H=n.createRoot,n.hydrateRoot},5362(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zipAll=void 0;var n=r(11415),o=r(80719);t.zipAll=function(e){return o.joinAllInternals(n.zip,e)}},5425(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCompleteWebAuthnRegistrationClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createCompleteWebAuthnRegistrationClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("CompleteWebAuthnRegistration"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},5455(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeOn=void 0;var n=r(65212);t.subscribeOn=function(e,t){return void 0===t&&(t=0),n.operate(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}},5717(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},5760(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userAgentMiddlewareFactory=void 0,t.userAgentMiddlewareFactory=({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>r=>async function(n){if(0===t.trim().length)return await r(n);{const o=e.toLowerCase();return n.headers[o]=n.headers[o]?`${n.headers[o]} ${t}`:t,await r(n)}}},5797(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0;var n=r(62326),o=r(72885),i=r(5825);t.delay=function(e,t){void 0===t&&(t=n.asyncScheduler);var r=i.timer(e,t);return o.delayWhen(function(){return r})}},5825(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timer=void 0;var n=r(48051),o=r(62326),i=r(68596),a=r(85345);t.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=o.async);var s=-1;return null!=t&&(i.isScheduler(t)?r=t:s=t),new n.Observable(function(t){var n=a.isValidDate(e)?+e-r.now():e;n<0&&(n=0);var o=0;return r.schedule(function(){t.closed||(t.next(o++),0<=s?this.schedule(void 0,s):t.complete())},n)})}},5837(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetPassword=async function(e){const{username:t}=e;(0,a.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptyResetPasswordUsername);const r=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(r);const{userPoolClientId:p,userPoolId:f,userPoolEndpoint:h}=r,m=e.options?.clientMetadata,g=(0,u.getUserContextData)({username:t,userPoolId:f,userPoolClientId:p}),y=(0,l.createForgotPasswordClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:h})}),v=(await y({region:(0,s.getRegionFromUserPoolId)(f),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.ResetPassword)},{Username:t,ClientMetadata:m,ClientId:p,UserContextData:g})).CodeDeliveryDetails;return{isPasswordReset:!1,nextStep:{resetPasswordStep:"CONFIRM_RESET_PASSWORD_WITH_CODE",codeDeliveryDetails:{deliveryMedium:v?.DeliveryMedium,destination:v?.Destination,attributeName:v?.AttributeName}}}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(62639),c=r(17238),u=r(99369),l=r(35456),d=r(28228)},6229(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomOperationsProperty=i,t.generateCustomMutationsProperty=function(e,t,r){return i(e,t,"mutations",r)},t.generateCustomQueriesProperty=function(e,t,r){return i(e,t,"queries",r)},t.generateCustomSubscriptionsProperty=function(e,t,r){return i(e,t,"subscriptions",r)};const n=r(59640),o={queries:"query",mutations:"mutation",subscriptions:"subscription"};function i(e,t,r,i){if(!t)return{};const a=t.modelIntrospection;if(!a)return{};const s=a[r];if(!s)return{};const c={},u=null===i(e).amplify;for(const t of Object.values(s))c[t.name]=(0,n.customOpFactory)(e,a,o[r],t,u,i);return c}},6252(e,t,r){"use strict";r.d(t,{Jt:()=>Q,yJ:()=>X});var n=r(16736);class o extends n.x{get response(){return this._response?i(this._response):void 0}constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype),e.response&&(this._response=e.response)}}const i=e=>({...e,headers:{...e.headers}});class a extends o{constructor(e){super(e),this.constructor=a,Object.setPrototypeOf(this,a.prototype)}}class s extends a{constructor(e={}){super({name:"CanceledError",message:"Request is canceled by user",...e}),this.constructor=s,Object.setPrototypeOf(this,s.prototype)}}var c,u=r(20126);!function(e){e.InvalidApiName="InvalidApiName"}(c||(c={}));const l={[c.InvalidApiName]:{message:"API name is invalid.",recoverySuggestion:"Check if the API name matches the one in your configuration or `aws-exports.js`"}};var d=r(53553);const p=async e=>{if(!e)return;const t=await(0,d.F)(f(e));if(t){const r=await(e.body?.text());return h(t,{statusCode:e.statusCode,headers:e.headers,body:r})}},f=e=>{let t;const r=new Proxy(e.body,{get:(e,r,n)=>"json"===r?async()=>{t||(t=e.text());try{return JSON.parse(await t)}catch(e){return{}}}:"text"===r?async()=>(t||(t=e.text()),t):Reflect.get(e,r,n)});return new Proxy(e,{get:(e,t,n)=>"body"===t?r:Reflect.get(e,t,n)})},h=(e,t)=>{const r=new a({name:e?.name,message:e.message,underlyingError:e,response:t});return Object.assign(r,{$metadata:e.$metadata})},m=new(r(84210).C)("RestApis"),g="execute-api",y="us-east-1",v=/^.+\.([a-z0-9-]+)\.([a-z0-9-]+)\.amazonaws\.com/,b=(e,t)=>{const{service:r=g,region:n=y}=t?.amplify.getConfig()?.API?.REST?.[t?.apiName]??{},{hostname:o}=e,[,i,a]=v.exec(o)??[];return i===g?{service:i,region:a??n}:"appsync-api"===i?{service:"appsync",region:a??n}:{service:r,region:n}};var E=r(79097);const w=({headers:e},t)=>!e.authorization&&!!t;var S=r(54359),A=r(68463),_=r(89555),P=r(70547),C=r(82313);const I=e=>Object.keys(e).map(e=>e.toLowerCase()).sort().join(";"),x="X-Amz-Date".toLowerCase(),O="X-Amz-Security-Token".toLowerCase(),k="aws4_request",T="AWS4-HMAC-SHA256",N="UNSIGNED-PAYLOAD";var j=r(136),R=r(80056);const M=(e,t)=>{const r=new j.Sha256(e??void 0);return r.update(t),r.digestSync()},D=(e,t)=>{const r=M(e,t);return(0,R.toHex)(r)},U=e=>Object.entries(e).map(([e,t])=>({key:e.toLowerCase(),value:t?.trim().replace(/\s+/g," ")??""})).sort((e,t)=>e.key<t.key?-1:1).map(e=>`${e.key}:${e.value}\n`).join(""),F=e=>encodeURIComponent(e).replace(/[!'()*]/g,L),L=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,z=(e,t=!0)=>e?t?encodeURIComponent(e).replace(/%2F/g,"/"):e:"/",V=e=>null==e?"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855":H(e)?D(null,e):N,H=e=>e!==N&&("string"==typeof e||ArrayBuffer.isView(e)||$(e)),$=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e),W=e=>new Date(Date.now()+e);var B=r(98306);const K=(0,B.q)(_.Q,[P.L,C.b,({credentials:e,region:t,service:r,uriEscapePath:n=!0})=>{let o;return(i,a)=>async function(s){o=o??0;const c={credentials:"function"==typeof e?await e({forceRefresh:!!a?.isCredentialsExpired}):e,signingDate:W(o),signingRegion:t,signingService:r,uriEscapePath:n},u=await((e,t)=>{const r=(({credentials:e,signingDate:t=new Date,signingRegion:r,signingService:n,uriEscapePath:o=!0})=>{const{accessKeyId:i,secretAccessKey:a,sessionToken:s}=e,{longDate:c,shortDate:u}=(e=>{const t=e.toISOString().replace(/[:-]|\.\d{3}/g,"");return{longDate:t,shortDate:t.slice(0,8)}})(t);return{accessKeyId:i,credentialScope:`${u}/${r}/${n}/${k}`,longDate:c,secretAccessKey:a,sessionToken:s,shortDate:u,signingRegion:r,signingService:n,uriEscapePath:o}})(t),{accessKeyId:n,credentialScope:o,longDate:i,sessionToken:a}=r,s={...e.headers};s.host=e.url.host,s[x]=i,a&&(s[O]=a);const c={...e,headers:s},u=((e,{credentialScope:t,longDate:r,secretAccessKey:n,shortDate:o,signingRegion:i,signingService:a,uriEscapePath:s})=>{const c=(({body:e,headers:t,method:r,url:n},o=!0)=>{return[r,z(n.pathname,o),(i=n.searchParams,Array.from(i).sort(([e,t],[r,n])=>e===r?t<n?-1:1:e<r?-1:1).map(([e,t])=>`${F(e)}=${F(t)}`).join("&")),U(t),I(t),V(e)].join("\n");var i})(e,s),u=((e,t,r)=>[T,e,t,r].join("\n"))(r,t,D(null,c)),l=D(((e,t,r,n)=>{const o=M(`AWS4${e}`,t),i=M(o,r),a=M(i,n);return M(a,k)})(n,o,i,a),u);return l})(c,r),l=`Credential=${n}/${o}`,d=`SignedHeaders=${I(s)}`,p=`Signature=${u}`;return s.authorization=`${T} ${l}, ${d}, ${p}`,c})(s,c),l=await i(u),d=(({headers:e}={})=>e?.date??e?.Date??e?.["x-amz-date"])(l);return d&&(o=((e,t)=>((e,t)=>Math.abs(W(t).getTime()-e)>=3e5)(e,t)?e-Date.now():t)(Date.parse(d),o)),l}}]),G=(0,B.q)(_.Q,[P.L,C.b]),q=e=>{const t=e?.strategy;return"no-retry"===t?()=>Promise.resolve({retryable:!1}):(0,A.D)(p)},Y=async e=>{try{const{credentials:t}=await e.Auth.fetchAuthSession();if(t)return t}catch(e){m.debug("No credentials available, the request will be unsigned.")}return null},J=(e,t,r)=>{const{apiName:n,options:o={},path:i}=t,u=e.libraryOptions?.API?.REST?.timeout?.({apiName:n,method:r}),d=o?.timeout||u||void 0,f=new AbortController,h=f.signal;return function(e,t,r,n){const o=t.signal;let i;if(null!=n){if(n<0)throw new Error("Timeout must be a non-negative number");setTimeout(()=>{i="TimeoutError",t.abort(i)},n)}const a=async()=>{try{const t=await e();if(t.statusCode>=300)throw await p(t);return t}catch(e){if("AbortError"===e.name||!0===o?.aborted){if(i&&"TimeoutError"===i){const e=new Error(`Request timeout after ${n}ms`);throw e.name="TimeoutError",m.debug(e),e}{const t=i??o.reason,r=new s({...t&&{message:t},underlyingError:e,recoverySuggestion:"The API request was explicitly canceled. If this is not intended, validate if you called the `cancel()` function on the API request erroneously."});throw m.debug(r),r}}throw m.debug(e),e}};{const e=e=>{!0!==o.aborted&&(t.abort(e),e&&o.reason!==e&&(i=e))};return{response:a(),cancel:e}}}(async()=>{const t=((e,t,r,n)=>{const o=e.getConfig()?.API?.REST?.[t]?.endpoint;!function(e,t){const{message:r,recoverySuggestion:n}=l[t];if(!e)throw new a({name:t,message:r,recoverySuggestion:n})}(!!o,c.InvalidApiName);try{let e;if(e=E.o.canParse(o+r)?new E.o(o+r):new E.o(o+r,location?.origin),n){const t=new E.g(e.searchParams);Object.entries(n).forEach(([e,r])=>{t.set(e,r)}),e.search=new E.g(t).toString()}return e}catch(e){throw new a({name:c.InvalidApiName,...l[c.InvalidApiName],recoverySuggestion:`Please make sure the REST endpoint URL is a valid URL string. Got ${o}`})}})(e,n,i,o?.queryParams),s=await(e.libraryOptions?.API?.REST?.headers?.({apiName:n})),{headers:u={}}=o,d={...s,...u},p=b(t,{amplify:e,apiName:n});return m.debug(r,t,d,`IAM signing options: ${JSON.stringify(p)}`),(async(e,t,r,n)=>{const{url:o,method:i,headers:a,body:s,withCredentials:c,abortSignal:u,retryStrategy:l}=t,d=s?s instanceof FormData?s:JSON.stringify(s??""):void 0,p=((e,t)=>{const r={};for(const t in e)r[t.toLowerCase()]=e[t];if(t){const e=r["content-type"];e&&(e.startsWith("application/json")||e.startsWith("application/")&&e.includes("+json"))||(r["content-type"]="application/json; charset=UTF-8"),t instanceof FormData&&delete r["content-type"]}return r})(a,s),f={url:o,headers:p,method:i,body:d},{retryStrategy:h,defaultAuthMode:m}=(e=>{const t=e.libraryOptions?.API?.REST?.retryStrategy,r=e.libraryOptions?.API?.REST?.defaultAuthMode;return{retryStrategy:t,defaultAuthMode:r}})(e),g={retryDecider:q(l??h),computeDelay:S.y,withCrossDomainCredentials:c,abortSignal:u};let y,v=null;if("none"!==(t.defaultAuthMode??m)&&(v=await Y(e)),r(f,n)&&v){const e=b(o),t=n?.service??e.service,r=n?.region??e.region;y=await K(f,{...g,credentials:v,region:r,service:t})}else y=await G(f,{...g});return{statusCode:y.statusCode,headers:y.headers,body:y.body}})(e,{...o,url:t,method:r,headers:d,abortSignal:h},w,p)},f,0,d)},Q=e=>((e,t)=>J(e,t,"GET"))(u.H,e),X=e=>((e,t)=>J(e,t,"PUT"))(u.H,e)},6441(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0,t.isBrowser=()=>"undefined"!=typeof window&&void 0!==window.document},6465(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendedEncodeURIComponent=void 0,t.extendedEncodeURIComponent=e=>encodeURIComponent(e).replace(/[!'()*]/g,r);const r=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`},6467(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reachability=void 0;var n=r(32044);Object.defineProperty(t,"Reachability",{enumerable:!0,get:function(){return n.Reachability}})},6628(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFormattedDates=void 0,t.getFormattedDates=e=>{const t=e.toISOString().replace(/[:-]|\.\d{3}/g,"");return{longDate:t,shortDate:t.slice(0,8)}}},6677(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.raceWith=void 0;var i=r(89795),a=r(65212),s=r(87699);t.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?a.operate(function(t,r){i.raceInit(o([t],n(e)))(r)}):s.identity}},6711(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NonRetryableError=void 0;class r extends Error{constructor(){super(...arguments),this.nonRetryable=!0}}t.NonRetryableError=r},6757(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameAction=void 0;var i=r(64772),a=r(35726),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=a.animationFrameProvider.requestAnimationFrame(function(){return t.flush(void 0)})))},t.prototype.recycleAsyncId=function(t,r,n){var o;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i=t.actions;null!=r&&r===t._scheduled&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==r&&(a.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(i.AsyncAction);t.AnimationFrameAction=s},6837(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsPasskeySupported=void 0;const n=r(22651);t.getIsPasskeySupported=()=>(0,n.isBrowser)()&&window.isSecureContext&&"credentials"in navigator&&"function"==typeof window.PublicKeyCredential},6996(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFailure=void 0;const n=r(56547),o=r(22651),i=r(80227),a=r(48105);t.handleFailure=async e=>{(0,a.resolveAndClearInflightPromises)(),await i.oAuthStore.clearOAuthInflightData(),n.Hub.dispatch("auth",{event:"signInWithRedirect_failure",data:{error:e}},"Auth",o.AMPLIFY_SYMBOL)}},7024(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentOutOfRangeError=void 0;var n=r(9619);t.ArgumentOutOfRangeError=n.createErrorClass(function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},7151(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateMFAPreference=async function(e){const{sms:t,totp:r,email:d}=e,p=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(p);const{userPoolEndpoint:f,userPoolId:h}=p,{tokens:m}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,a.assertAuthTokens)(m);const g=(0,c.createSetUserMFAPreferenceClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:f})});await g({region:(0,i.getRegionFromUserPoolId)(h),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.UpdateMFAPreference)},{AccessToken:m.accessToken.toString(),SMSMfaSettings:l(t),SoftwareTokenMfaSettings:l(r),EmailMfaSettings:l(d)})},t.getMFASettings=l;const n=r(56547),o=r(22651),i=r(62639),a=r(64166),s=r(17238),c=r(35456),u=r(28228);function l(e){return"DISABLED"===e?{Enabled:!1}:"PREFERRED"===e?{Enabled:!0,PreferredMfa:!0}:"ENABLED"===e?{Enabled:!0}:"NOT_PREFERRED"===e?{Enabled:!0,PreferredMfa:!1}:void 0}},7245(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var n=r(62326),o=r(44880),i=r(5825);t.throttleTime=function(e,t,r){void 0===t&&(t=n.asyncScheduler);var a=i.timer(e,t);return o.throttle(function(){return a},r)}},7315(e,t,r){"use strict";r.d(t,{UE:()=>oe,ll:()=>X,rD:()=>se,UU:()=>te,jD:()=>ne,mG:()=>ie,ER:()=>ae,cY:()=>Z,BN:()=>ee,Ej:()=>re});const n=["top","right","bottom","left"],o=Math.min,i=Math.max,a=Math.round,s=Math.floor,c=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function d(e,t,r){return i(e,o(t,r))}function p(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}const y=new Set(["top","bottom"]);function v(e){return y.has(f(e))?"y":"x"}function b(e){return m(v(e))}function E(e){return e.replace(/start|end/g,e=>l[e])}const w=["left","right"],S=["right","left"],A=["top","bottom"],_=["bottom","top"];function P(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function C(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function I(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function x(e,t,r){let{reference:n,floating:o}=e;const i=v(t),a=b(t),s=g(a),c=f(t),u="y"===i,l=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[s]/2-o[s]/2;let m;switch(c){case"top":m={x:l,y:n.y-o.height};break;case"bottom":m={x:l,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:d};break;case"left":m={x:n.x-o.width,y:d};break;default:m={x:n.x,y:n.y}}switch(h(t)){case"start":m[a]-=p*(r&&u?-1:1);break;case"end":m[a]+=p*(r&&u?-1:1)}return m}async function O(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=p(t,e),m=C(h),g=s[f?"floating"===d?"reference":"floating":d],y=I(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(g)))||r?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:l,strategy:c})),v="floating"===d?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),E=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},w=I(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:c}):v);return{top:(y.top-w.top+m.top)/E.y,bottom:(w.bottom-y.bottom+m.bottom)/E.y,left:(y.left-w.left+m.left)/E.x,right:(w.right-y.right+m.right)/E.x}}function k(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return n.some(t=>e[t]>=0)}function N(e){const t=o(...e.map(e=>e.left)),r=o(...e.map(e=>e.top));return{x:t,y:r,width:i(...e.map(e=>e.right))-t,height:i(...e.map(e=>e.bottom))-r}}const j=new Set(["left","top"]);var R=r(86635);function M(e){const t=(0,R.L9)(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=(0,R.sb)(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,c=a(r)!==i||a(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function D(e){return(0,R.vq)(e)?e:e.contextElement}function U(e){const t=D(e);if(!(0,R.sb)(t))return c(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=M(t);let s=(i?a(r.width):r.width)/n,u=(i?a(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}const F=c(0);function L(e){const t=(0,R.zk)(e);return(0,R.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:F}function z(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=D(e);let a=c(1);t&&(n?(0,R.vq)(n)&&(a=U(n)):a=U(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==(0,R.zk)(e))&&t}(i,r,n)?L(i):c(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(i){const e=(0,R.zk)(i),t=n&&(0,R.vq)(n)?(0,R.zk)(n):n;let r=e,o=(0,R._m)(r);for(;o&&n&&t!==r;){const e=U(o),t=o.getBoundingClientRect(),n=(0,R.L9)(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,l*=e.y,d*=e.x,p*=e.y,u+=i,l+=a,r=(0,R.zk)(o),o=(0,R._m)(r)}}return I({width:d,height:p,x:u,y:l})}function V(e,t){const r=(0,R.CP)(e).scrollLeft;return t?t.left+r:z((0,R.ep)(e)).left+r}function H(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-V(e,r),y:r.top+t.scrollTop}}const $=new Set(["absolute","fixed"]);function W(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=(0,R.zk)(e),n=(0,R.ep)(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const e=(0,R.Tc)();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}const u=V(n);if(u<=0){const e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else u<=25&&(i+=u);return{width:i,height:a,x:s,y:c}}(e,r);else if("document"===t)n=function(e){const t=(0,R.ep)(e),r=(0,R.CP)(e),n=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=i(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+V(e);const c=-r.scrollTop;return"rtl"===(0,R.L9)(n).direction&&(s+=i(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:c}}((0,R.ep)(e));else if((0,R.vq)(t))n=function(e,t){const r=z(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=(0,R.sb)(e)?U(e):c(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=L(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return I(n)}function B(e,t){const r=(0,R.$4)(e);return!(r===t||!(0,R.vq)(r)||(0,R.eu)(r))&&("fixed"===(0,R.L9)(r).position||B(r,t))}function K(e,t,r){const n=(0,R.sb)(t),o=(0,R.ep)(t),i="fixed"===r,a=z(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=c(0);function l(){u.x=V(o)}if(n||!n&&!i)if(("body"!==(0,R.mq)(t)||(0,R.ZU)(o))&&(s=(0,R.CP)(t)),n){const e=z(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&l();i&&!n&&o&&l();const d=!o||n||i?c(0):H(o,s);return{x:a.left+s.scrollLeft-u.x-d.x,y:a.top+s.scrollTop-u.y-d.y,width:a.width,height:a.height}}function G(e){return"static"===(0,R.L9)(e).position}function q(e,t){if(!(0,R.sb)(e)||"fixed"===(0,R.L9)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,R.ep)(e)===r&&(r=r.ownerDocument.body),r}function Y(e,t){const r=(0,R.zk)(e);if((0,R.Tf)(e))return r;if(!(0,R.sb)(e)){let t=(0,R.$4)(e);for(;t&&!(0,R.eu)(t);){if((0,R.vq)(t)&&!G(t))return t;t=(0,R.$4)(t)}return r}let n=q(e,t);for(;n&&(0,R.Lv)(n)&&G(n);)n=q(n,t);return n&&(0,R.eu)(n)&&G(n)&&!(0,R.sQ)(n)?r:n||(0,R.gJ)(e)||r}const J={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i="fixed"===o,a=(0,R.ep)(n),s=!!t&&(0,R.Tf)(t.floating);if(n===a||s&&i)return r;let u={scrollLeft:0,scrollTop:0},l=c(1);const d=c(0),p=(0,R.sb)(n);if((p||!p&&!i)&&(("body"!==(0,R.mq)(n)||(0,R.ZU)(a))&&(u=(0,R.CP)(n)),(0,R.sb)(n))){const e=z(n);l=U(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}const f=!a||p||i?c(0):H(a,u);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+d.x+f.x,y:r.y*l.y-u.scrollTop*l.y+d.y+f.y}},getDocumentElement:R.ep,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const s=[..."clippingAncestors"===r?(0,R.Tf)(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=(0,R.v9)(e,[],!1).filter(e=>(0,R.vq)(e)&&"body"!==(0,R.mq)(e)),o=null;const i="fixed"===(0,R.L9)(e).position;let a=i?(0,R.$4)(e):e;for(;(0,R.vq)(a)&&!(0,R.eu)(a);){const t=(0,R.L9)(a),r=(0,R.sQ)(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&$.has(o.position)||(0,R.ZU)(a)&&!r&&B(e,a))?n=n.filter(e=>e!==a):o=t,a=(0,R.$4)(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],c=s[0],u=s.reduce((e,r)=>{const n=W(t,r,a);return e.top=i(n.top,e.top),e.right=o(n.right,e.right),e.bottom=o(n.bottom,e.bottom),e.left=i(n.left,e.left),e},W(t,c,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:Y,getElementRects:async function(e){const t=this.getOffsetParent||Y,r=this.getDimensions,n=await r(e.floating);return{reference:K(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=M(e);return{width:t,height:r}},getScale:U,isElement:R.vq,isRTL:function(e){return"rtl"===(0,R.L9)(e).direction}};function Q(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function X(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,p=D(e),f=a||c?[...p?(0,R.v9)(p):[],...(0,R.v9)(t)]:[];f.forEach(e=>{a&&e.addEventListener("scroll",r,{passive:!0}),c&&e.addEventListener("resize",r)});const h=p&&l?function(e,t){let r,n=null;const a=(0,R.ep)(e);function c(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function u(l,d){void 0===l&&(l=!1),void 0===d&&(d=1),c();const p=e.getBoundingClientRect(),{left:f,top:h,width:m,height:g}=p;if(l||t(),!m||!g)return;const y={rootMargin:-s(h)+"px "+-s(a.clientWidth-(f+m))+"px "+-s(a.clientHeight-(h+g))+"px "+-s(f)+"px",threshold:i(0,o(1,d))||1};let v=!0;function b(t){const n=t[0].intersectionRatio;if(n!==d){if(!v)return u();n?u(!1,n):r=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==n||Q(p,e.getBoundingClientRect())||u(),v=!1}try{n=new IntersectionObserver(b,{...y,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(b,y)}n.observe(e)}(!0),c}(p,r):null;let m,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),p&&!d&&y.observe(p),y.observe(t));let v=d?z(e):null;return d&&function t(){const n=z(e);v&&!Q(v,n)&&r(),v=n,m=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{a&&e.removeEventListener("scroll",r),c&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(m)}}const Z=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:s}=t,c=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),a=f(r),s=h(r),c="y"===v(r),u=j.has(a)?-1:1,l=i&&c?-1:1,d=p(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof y&&(g="end"===s?-1*y:y),c?{x:g*l,y:m*u}:{x:m*u,y:g*l}}(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},ee=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=p(e,t),u={x:r,y:n},l=await O(t,c),h=v(f(o)),g=m(h);let y=u[g],b=u[h];if(i){const e="y"===g?"bottom":"right";y=d(y+l["y"===g?"top":"left"],y,y-l[e])}if(a){const e="y"===h?"bottom":"right";b=d(b+l["y"===h?"top":"left"],b,b-l[e])}const E=s.fn({...t,[g]:y,[h]:b});return{...E,data:{x:E.x-r,y:E.y-n,enabled:{[g]:i,[h]:a}}}}}},te=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:c,elements:u}=t,{mainAxis:l=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:I=!0,...x}=p(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const k=f(o),T=v(s),N=f(s)===s,j=await(null==c.isRTL?void 0:c.isRTL(u.floating)),R=m||(N||!I?[P(s)]:function(e){const t=P(e);return[E(e),t,E(t)]}(s)),M="none"!==C;!m&&M&&R.push(...function(e,t,r,n){const o=h(e);let i=function(e,t,r){switch(e){case"top":case"bottom":return r?t?S:w:t?w:S;case"left":case"right":return t?A:_;default:return[]}}(f(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(E)))),i}(s,I,C,j));const D=[s,...R],U=await O(t,x),F=[];let L=(null==(n=i.flip)?void 0:n.overflows)||[];if(l&&F.push(U[k]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=h(e),o=b(e),i=g(o);let a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=P(a)),[a,P(a)]}(o,a,j);F.push(U[e[0]],U[e[1]])}if(L=[...L,{placement:o,overflows:F}],!F.every(e=>e<=0)){var z,V;const e=((null==(z=i.flip)?void 0:z.index)||0)+1,t=D[e];if(t&&("alignment"!==d||T===v(t)||L.every(e=>v(e.placement)!==T||e.overflows[0]>0)))return{data:{index:e,overflows:L},reset:{placement:t}};let r=null==(V=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:V.placement;if(!r)switch(y){case"bestFit":{var H;const e=null==(H=L.filter(e=>{if(M){const t=v(e.placement);return t===T||"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:H[0];e&&(r=e);break}case"initialPlacement":r=s}if(o!==r)return{reset:{placement:r}}}return{}}}},re=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:a,rects:s,platform:c,elements:u}=t,{apply:l=()=>{},...d}=p(e,t),m=await O(t,d),g=f(a),y=h(a),b="y"===v(a),{width:E,height:w}=s.floating;let S,A;"top"===g||"bottom"===g?(S=g,A=y===(await(null==c.isRTL?void 0:c.isRTL(u.floating))?"start":"end")?"left":"right"):(A=g,S="end"===y?"top":"bottom");const _=w-m.top-m.bottom,P=E-m.left-m.right,C=o(w-m[S],_),I=o(E-m[A],P),x=!t.middlewareData.shift;let k=C,T=I;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(T=P),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(k=_),x&&!y){const e=i(m.left,0),t=i(m.right,0),r=i(m.top,0),n=i(m.bottom,0);b?T=E-2*(0!==e||0!==t?e+t:i(m.left,m.right)):k=w-2*(0!==r||0!==n?r+n:i(m.top,m.bottom))}await l({...t,availableWidth:T,availableHeight:k});const N=await c.getDimensions(u.floating);return E!==N.width||w!==N.height?{reset:{rects:!0}}:{}}}},ne=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=p(e,t);switch(n){case"referenceHidden":{const e=k(await O(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:T(e)}}}case"escaped":{const e=k(await O(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:T(e)}}}default:return{}}}}},oe=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:a,platform:s,elements:c,middlewareData:u}=t,{element:l,padding:f=0}=p(e,t)||{};if(null==l)return{};const m=C(f),y={x:r,y:n},v=b(i),E=g(v),w=await s.getDimensions(l),S="y"===v,A=S?"top":"left",_=S?"bottom":"right",P=S?"clientHeight":"clientWidth",I=a.reference[E]+a.reference[v]-y[v]-a.floating[E],x=y[v]-a.reference[v],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let k=O?O[P]:0;k&&await(null==s.isElement?void 0:s.isElement(O))||(k=c.floating[P]||a.floating[E]);const T=I/2-x/2,N=k/2-w[E]/2-1,j=o(m[A],N),R=o(m[_],N),M=j,D=k-w[E]-R,U=k/2-w[E]/2+T,F=d(M,U,D),L=!u.arrow&&null!=h(i)&&U!==F&&a.reference[E]/2-(U<M?j:R)-w[E]/2<0,z=L?U<M?U-M:U-D:0;return{[v]:y[v]+z,data:{[v]:F,centerOffset:U-F-z,...L&&{alignmentOffset:z}},reset:L}}}),ie=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:a,platform:s,strategy:c}=t,{padding:u=2,x:l,y:d}=p(e,t),h=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(n.reference))||[]),m=function(e){const t=e.slice().sort((e,t)=>e.y-t.y),r=[];let n=null;for(let e=0;e<t.length;e++){const o=t[e];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map(e=>I(N(e)))}(h),g=I(N(h)),y=C(u),b=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=l&&null!=d)return m.find(e=>l>e.left-y.left&&l<e.right+y.right&&d>e.top-y.top&&d<e.bottom+y.bottom)||g;if(m.length>=2){if("y"===v(r)){const e=m[0],t=m[m.length-1],n="top"===f(r),o=e.top,i=t.bottom,a=n?e.left:t.left,s=n?e.right:t.right;return{top:o,bottom:i,left:a,right:s,width:s-a,height:i-o,x:a,y:o}}const e="left"===f(r),t=i(...m.map(e=>e.right)),n=o(...m.map(e=>e.left)),a=m.filter(r=>e?r.left===n:r.right===t),s=a[0].top,c=a[a.length-1].bottom;return{top:s,bottom:c,left:n,right:t,width:t-n,height:c-s,x:n,y:s}}return g}},floating:n.floating,strategy:c});return a.reference.x!==b.reference.x||a.reference.y!==b.reference.y||a.reference.width!==b.reference.width||a.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},ae=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=p(e,t),l={x:r,y:n},d=v(o),h=m(d);let g=l[h],y=l[d];const b=p(s,t),E="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(c){const e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+E.mainAxis,r=i.reference[h]+i.reference[e]-E.mainAxis;g<t?g=t:g>r&&(g=r)}if(u){var w,S;const e="y"===h?"width":"height",t=j.has(f(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(w=a.offset)?void 0:w[d])||0)+(t?0:E.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(S=a.offset)?void 0:S[d])||0)-(t?E.crossAxis:0);y<r?y=r:y>n&&(y=n)}return{[h]:g,[d]:y}}}},se=(e,t,r)=>{const n=new Map,o={platform:J,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:d}=x(u,n,c),p=n,f={},h=0;for(let r=0;r<s.length;r++){const{name:i,fn:m}=s[r],{x:g,y,data:v,reset:b}=await m({x:l,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});l=null!=g?g:l,d=null!=y?y:d,f={...f,[i]:{...f[i],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:l,y:d}=x(u,p,c))),r=-1)}return{x:l,y:d,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:i})}},7322(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateEndpoint=void 0;const n=r(90195),o=r(38457),i=r(78121),a=r(11092),s=r(74744),c=r(93586);t.updateEndpoint=async({address:e,appId:t,category:r,channelType:u,credentials:l,identityId:d,optOut:p,region:f,userAttributes:h,userId:m,userProfile:g,userAgentValue:y})=>{const v=await(0,c.getEndpointId)(t,r),b=v?void 0:(0,s.createEndpointId)(t,r),{customProperties:E,demographic:w,email:S,location:A,metrics:_,name:P,plan:C}=g??{},I={},x=b?m??d:m;if(b){const e=(0,i.getClientInfo)();I.appVersion=e.appVersion,I.make=e.make,I.model=e.model,I.modelVersion=e.version,I.platform=e.platform}const O={...I,...w},k={...S&&{email:[S]},...P&&{name:[P]},...C&&{plan:[C]},...E},T=b||w,N=S||E||P||C,j=x||h,R={ApplicationId:t,EndpointId:v??b,EndpointRequest:{RequestId:(0,o.amplifyUuid)(),EffectiveDate:(new Date).toISOString(),ChannelType:u,Address:e,...N&&{Attributes:k},...T&&{Demographic:{AppVersion:O.appVersion,Locale:O.locale,Make:O.make,Model:O.model,ModelVersion:O.modelVersion,Platform:O.platform,PlatformVersion:O.platformVersion,Timezone:O.timezone}},...A&&{Location:{City:A.city,Country:A.country,Latitude:A.latitude,Longitude:A.longitude,PostalCode:A.postalCode,Region:A.region}},Metrics:_,OptOut:p,...j&&{User:{UserId:x,UserAttributes:h}}}};try{await(0,n.updateEndpoint)({credentials:l,region:f,userAgentValue:y},R),b&&await(0,a.cacheEndpointId)(t,r,b)}finally{b&&(0,s.clearCreatedEndpointId)(t,r)}}},7479(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateState=t.oAuthStore=t.completeOAuthFlow=t.handleFailure=t.getRedirectUrl=t.handleOAuthSignOut=t.generateState=t.generateCodeVerifier=void 0;var n=r(75983);Object.defineProperty(t,"generateCodeVerifier",{enumerable:!0,get:function(){return n.generateCodeVerifier}});var o=r(94291);Object.defineProperty(t,"generateState",{enumerable:!0,get:function(){return o.generateState}});var i=r(75995);Object.defineProperty(t,"handleOAuthSignOut",{enumerable:!0,get:function(){return i.handleOAuthSignOut}});var a=r(19506);Object.defineProperty(t,"getRedirectUrl",{enumerable:!0,get:function(){return a.getRedirectUrl}});var s=r(6996);Object.defineProperty(t,"handleFailure",{enumerable:!0,get:function(){return s.handleFailure}});var c=r(5001);Object.defineProperty(t,"completeOAuthFlow",{enumerable:!0,get:function(){return c.completeOAuthFlow}});var u=r(80227);Object.defineProperty(t,"oAuthStore",{enumerable:!0,get:function(){return u.oAuthStore}});var l=r(88516);Object.defineProperty(t,"validateState",{enumerable:!0,get:function(){return l.validateState}})},7641(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","alert-circle","AlertCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]])},7652(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsOrArgArray=void 0;var r=Array.isArray;t.argsOrArgArray=function(e){return 1===e.length&&r(e[0])?e[0]:e}},7884(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withMemoization=t.parseMetadata=t.parseJsonError=t.parseJsonBody=t.userAgentMiddlewareFactory=t.amzSdkRequestHeaderMiddlewareFactory=t.amzSdkInvocationIdHeaderMiddlewareFactory=t.retryMiddlewareFactory=t.jitteredBackoff=t.getRetryDecider=t.signingMiddlewareFactory=t.extendedEncodeURIComponent=t.UNSIGNED_PAYLOAD=t.EMPTY_SHA256_HASH=t.signRequest=t.presignUrl=t.getHashedPayload=t.authenticatedHandler=t.unauthenticatedHandler=t.fetchTransferHandler=t.getDnsSuffix=void 0;const n=r(31635);var o=r(3977);Object.defineProperty(t,"getDnsSuffix",{enumerable:!0,get:function(){return o.getDnsSuffix}});var i=r(19676);Object.defineProperty(t,"fetchTransferHandler",{enumerable:!0,get:function(){return i.fetchTransferHandler}});var a=r(75536);Object.defineProperty(t,"unauthenticatedHandler",{enumerable:!0,get:function(){return a.unauthenticatedHandler}});var s=r(91537);Object.defineProperty(t,"authenticatedHandler",{enumerable:!0,get:function(){return s.authenticatedHandler}});var c=r(36759);Object.defineProperty(t,"getHashedPayload",{enumerable:!0,get:function(){return c.getHashedPayload}}),Object.defineProperty(t,"presignUrl",{enumerable:!0,get:function(){return c.presignUrl}}),Object.defineProperty(t,"signRequest",{enumerable:!0,get:function(){return c.signRequest}});var u=r(15130);Object.defineProperty(t,"EMPTY_SHA256_HASH",{enumerable:!0,get:function(){return u.EMPTY_HASH}}),Object.defineProperty(t,"UNSIGNED_PAYLOAD",{enumerable:!0,get:function(){return u.UNSIGNED_PAYLOAD}});var l=r(6465);Object.defineProperty(t,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return l.extendedEncodeURIComponent}});var d=r(95593);Object.defineProperty(t,"signingMiddlewareFactory",{enumerable:!0,get:function(){return d.signingMiddlewareFactory}});var p=r(92896);Object.defineProperty(t,"getRetryDecider",{enumerable:!0,get:function(){return p.getRetryDecider}}),Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return p.jitteredBackoff}}),Object.defineProperty(t,"retryMiddlewareFactory",{enumerable:!0,get:function(){return p.retryMiddlewareFactory}}),Object.defineProperty(t,"amzSdkInvocationIdHeaderMiddlewareFactory",{enumerable:!0,get:function(){return p.amzSdkInvocationIdHeaderMiddlewareFactory}}),Object.defineProperty(t,"amzSdkRequestHeaderMiddlewareFactory",{enumerable:!0,get:function(){return p.amzSdkRequestHeaderMiddlewareFactory}});var f=r(72674);Object.defineProperty(t,"userAgentMiddlewareFactory",{enumerable:!0,get:function(){return f.userAgentMiddlewareFactory}});var h=r(39930);Object.defineProperty(t,"parseJsonBody",{enumerable:!0,get:function(){return h.parseJsonBody}}),Object.defineProperty(t,"parseJsonError",{enumerable:!0,get:function(){return h.parseJsonError}}),Object.defineProperty(t,"parseMetadata",{enumerable:!0,get:function(){return h.parseMetadata}});var m=r(72580);Object.defineProperty(t,"withMemoization",{enumerable:!0,get:function(){return m.withMemoization}}),n.__exportStar(r(44610),t)},8171(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selfAwareAsync=function(e){let t,r;const n=new Promise((e,n)=>{t=e,r=n});return e(n).then(e=>{t(e)}).catch(e=>{r(e)}),n}},8284(e,t){"use strict";var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.intervalProvider=void 0,t.intervalProvider={setInterval:function(e,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s=t.intervalProvider.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,n([e,o],r(i))):setInterval.apply(void 0,n([e,o],r(i)))},clearInterval:function(e){var r=t.intervalProvider.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0}},8353(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageCache=void 0;const n=r(69580),o=r(44056),i=r(72380),a=r(73655),s=r(98572),c=r(95264),u=new n.ConsoleLogger("StorageCache");class l extends s.StorageCacheCommon{constructor(e){const t=(0,i.getLocalStorageWithFallback)();super({config:e,keyValueStorage:new o.KeyValueStorage(t)}),this.storage=t,this.getItem=this.getItem.bind(this),this.setItem=this.setItem.bind(this),this.removeItem=this.removeItem.bind(this)}async getAllCacheKeys(e){const{omitSizeKey:t}=e??{},r=[];for(let e=0;e<this.storage.length;e++){const n=this.storage.key(e);t&&n===(0,c.getCurrentSizeKey)(this.config.keyPrefix)||n?.startsWith(this.config.keyPrefix)&&r.push(n.substring(this.config.keyPrefix.length))}return r}createInstance(e){return e.keyPrefix&&e.keyPrefix!==a.defaultConfig.keyPrefix||(u.error("invalid keyPrefix, setting keyPrefix with timeStamp"),e.keyPrefix=c.getCurrentTime.toString()),new l(e)}}t.StorageCache=l},8404(e,t,r){"use strict";r.d(t,{K7:()=>n,Q8:()=>i,jy:()=>o,mU:()=>a});const n=3,o="amz-sdk-invocation-id",i="amz-sdk-request",a=3e5},8816(e,t,r){"use strict";r.d(t,{I:()=>d,M:()=>l});var n=r(10790),o=r(51609),i=r(31422),a=r(56324),s=r(52837),c=r(11507),u={root:"m_5f75b09e",body:"m_5f6e695e",labelWrapper:"m_d3ea56bb",label:"m_8ee546b8",description:"m_328f68c0",error:"m_8e8a99cc"};const l=u,d=(0,o.forwardRef)(({__staticSelector:e,__stylesApiProps:t,className:r,classNames:o,styles:l,unstyled:d,children:p,label:f,description:h,id:m,disabled:g,error:y,size:v,labelPosition:b="left",bodyElement:E="div",labelElement:w="label",variant:S,style:A,vars:_,mod:P,attributes:C,...I},x)=>{const O=(0,s.I)({name:e,props:t,className:r,style:A,classes:u,classNames:o,styles:l,unstyled:d,attributes:C});return(0,n.jsx)(c.a,{...O("root"),ref:x,__vars:{"--label-fz":(0,a.ny)(v),"--label-lh":(0,a.YC)(v,"label-lh")},mod:[{"label-position":b},P],variant:S,size:v,...I,children:(0,n.jsxs)(c.a,{component:E,htmlFor:"label"===E?m:void 0,...O("body"),children:[p,(0,n.jsxs)("div",{...O("labelWrapper"),"data-disabled":g||void 0,children:[f&&(0,n.jsx)(c.a,{component:w,htmlFor:"label"===w?m:void 0,...O("label"),"data-disabled":g||void 0,children:f}),h&&(0,n.jsx)(i.p.Description,{size:v,__inheritStyles:!1,...O("description"),children:h}),y&&"boolean"!=typeof y&&(0,n.jsx)(i.p.Error,{size:v,__inheritStyles:!1,...O("error"),children:y})]})]})})});d.displayName="@mantine/core/InlineInput"},9021(e,t,r){"use strict";r.d(t,{I:()=>o});var n=r(86945);function o(e,t){return(0,n.U)("(prefers-reduced-motion: reduce)",e,t)}},9255(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.urlSafeEncode=function(e){return e.split("").map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("")}},9287(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferCount=void 0;var o=r(65212),i=r(17214),a=r(54830);t.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,o.operate(function(r,o){var s=[],c=0;r.subscribe(i.createOperatorSubscriber(o,function(r){var i,u,l,d,p=null;c++%t===0&&s.push([]);try{for(var f=n(s),h=f.next();!h.done;h=f.next())(y=h.value).push(r),e<=y.length&&(p=null!=p?p:[]).push(y)}catch(e){i={error:e}}finally{try{h&&!h.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}if(p)try{for(var m=n(p),g=m.next();!g.done;g=m.next()){var y=g.value;a.arrRemove(s,y),o.next(y)}}catch(e){l={error:e}}finally{try{g&&!g.done&&(d=m.return)&&d.call(m)}finally{if(l)throw l.error}}},function(){var e,t;try{for(var r=n(s),i=r.next();!i.done;i=r.next()){var a=i.value;o.next(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}o.complete()},void 0,function(){s=null}))})}},9330(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var i=r(65212),a=r(68087),s=r(26404),c=r(47058);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.popScheduler(e),u=s.popNumber(e,1/0);return i.operate(function(t,i){a.mergeAll(u)(c.from(o([t],n(e)),r)).subscribe(i)})}},9515(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CognitoUserPoolsTokenProvider=void 0;const n=r(56547),o=r(76772),i=r(47278),a=r(28891);t.CognitoUserPoolsTokenProvider=class{constructor(){this.authTokenStore=new i.DefaultTokenStore,this.authTokenStore.setKeyValueStorage(n.defaultStorage),this.tokenOrchestrator=new a.TokenOrchestrator,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(o.refreshAuthTokens)}getTokens(e={}){return this.tokenOrchestrator.getTokens(e)}setKeyValueStorage(e){this.authTokenStore.setKeyValueStorage(e)}setClientMetadataProvider(e){this.tokenOrchestrator.setClientMetadataProvider(e)}setAuthConfig(e){this.authTokenStore.setAuthConfig(e),this.tokenOrchestrator.setAuthConfig(e)}}},9543(e,t,r){"use strict";r.d(t,{_b:()=>c,$e:()=>u,__:()=>i,E$:()=>a});var n=r(45727),o=r(51609);const i=function(){let e={notifications:[],queue:[],defaultPosition:"bottom-right",limit:5},t=!1;const r=new Set;return{getState:()=>e,updateState(t){e="function"==typeof t?t(e):t},setState(t){this.updateState(t),r.forEach(t=>t(e))},initialize(r){t||(e=r,t=!0)},subscribe:e=>(r.add(e),()=>r.delete(e))}}(),a=(e=i)=>function(e){return(0,o.useSyncExternalStore)(e.subscribe,()=>e.getState(),()=>e.getState())}(e);function s(e,t){const r=e.getState(),n=function(e,t,r){const n=[],o=[],i={};for(const a of e){const e=a.position||t;i[e]=i[e]||0,i[e]+=1,i[e]<=r?o.push(a):n.push(a)}return{notifications:o,queue:n}}(t([...r.notifications,...r.queue]),r.defaultPosition,r.limit);e.setState({notifications:n.notifications,queue:n.queue,limit:r.limit,defaultPosition:r.defaultPosition})}function c(e,t=i){return s(t,t=>t.filter(t=>t.id!==e||(t.onClose?.(t),!1))),e}const u={show:function(e,t=i){const r=e.id||(0,n.z)();return s(t,t=>e.id&&t.some(t=>t.id===e.id)?t:[...t,{...e,id:r}]),r},hide:c,update:function(e,t=i){return s(t,t=>t.map(t=>t.id===e.id?{...t,...e}:t)),e.id},clean:function(e=i){s(e,()=>[])},cleanQueue:function(e=i){s(e,t=>t.slice(0,e.getState().limit))},updateState:s}},9609(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleWebAuthnSignInResult=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{username:r,signInSession:y,signInDetails:v,challengeName:b}=d.signInStore.getState();if("WEB_AUTHN"!==b||!r)throw new m.AuthError({name:i.AuthErrorCodes.SignInException,message:"Unable to proceed due to invalid sign in state."});const{CREDENTIAL_REQUEST_OPTIONS:E}=e;(0,h.assertPasskeyError)(!!E,h.PasskeyErrorCode.InvalidPasskeyAuthenticationOptions);const w=await(0,f.getPasskey)(JSON.parse(E)),S=(0,a.createRespondToAuthChallengeClient)({endpointResolver:(0,c.createCognitoUserPoolEndpointResolver)({endpointOverride:t.userPoolEndpoint})}),{ChallengeName:A,ChallengeParameters:_,AuthenticationResult:P,Session:C}=await S({region:(0,s.getRegionFromUserPoolId)(t.userPoolId),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},{ChallengeName:"WEB_AUTHN",ChallengeResponses:{USERNAME:r,CREDENTIAL:JSON.stringify(w)},ClientId:t.userPoolClientId,Session:y});if((0,d.setActiveSignInState)({signInSession:C,username:r,challengeName:A,signInDetails:v}),P)return await(0,u.cacheCognitoTokens)({...P,username:r,NewDeviceMetadata:await(0,g.getNewDeviceMetadata)({userPoolId:t.userPoolId,userPoolEndpoint:t.userPoolEndpoint,newDeviceMetadata:P.NewDeviceMetadata,accessToken:P.AccessToken}),signInDetails:v}),d.signInStore.dispatch({type:"RESET_STATE"}),await(0,l.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};if("WEB_AUTHN"===A)throw new m.AuthError({name:i.AuthErrorCodes.SignInException,message:"Sequential WEB_AUTHN challenges returned from underlying service cannot be handled."});return{challengeName:A,challengeParameters:_}};const n=r(56547),o=r(22651),i=r(70928),a=r(35456),s=r(62639),c=r(28228),u=r(55794),l=r(84539),d=r(33826),p=r(17238),f=r(97963),h=r(67579),m=r(43518),g=r(66542)},9619(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorClass=void 0,t.createErrorClass=function(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},9686(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundManagerNotOpenError=void 0;class r extends Error{constructor(e){super(`BackgroundManagerNotOpenError: ${e}`)}}t.BackgroundManagerNotOpenError=r},9901(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoHostedUIIdentityProviderMap=void 0,t.cognitoHostedUIIdentityProviderMap={Google:"Google",Facebook:"Facebook",Amazon:"LoginWithAmazon",Apple:"SignInWithApple"}},9998(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createVerifySoftwareTokenClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createVerifySoftwareTokenClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("VerifySoftwareToken"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},10154(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUpdateUserAttributesClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createUpdateUserAttributesClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("UpdateUserAttributes"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},10281(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},10334(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Signer=void 0;var n=r(52382);Object.defineProperty(t,"Signer",{enumerable:!0,get:function(){return n.Signer}})},10381(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaySubject=void 0;var i=r(76808),a=r(93275),s=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=a.dateTimestampProvider);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,r),o}return o(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,a=r._timestampProvider,s=r._windowTime;n||(o.push(t),!i&&o.push(a.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,o=e._infiniteTimeWindow,i=(o?1:2)*t;if(t<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var a=r.now(),s=0,c=1;c<n.length&&n[c]<=a;c+=2)s=c;s&&n.splice(0,s+1)}},t}(i.Subject);t.ReplaySubject=s},10435(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detect=function(){return f.find(e=>e.detectionMethod())?.platform||n.Framework.ServerSideUnknown};const n=r(1478),o=r(14596),i=r(13119),a=r(59663),s=r(114),c=r(22626),u=r(72049),l=r(4571),d=r(63407),p=r(97209),f=[{platform:n.Framework.Expo,detectionMethod:d.expoDetect},{platform:n.Framework.ReactNative,detectionMethod:l.reactNativeDetect},{platform:n.Framework.NextJs,detectionMethod:s.nextWebDetect},{platform:n.Framework.Nuxt,detectionMethod:c.nuxtWebDetect},{platform:n.Framework.Angular,detectionMethod:u.angularWebDetect},{platform:n.Framework.React,detectionMethod:o.reactWebDetect},{platform:n.Framework.VueJs,detectionMethod:i.vueWebDetect},{platform:n.Framework.Svelte,detectionMethod:a.svelteWebDetect},{platform:n.Framework.WebUnknown,detectionMethod:p.webDetect},{platform:n.Framework.NextJsSSR,detectionMethod:s.nextSSRDetect},{platform:n.Framework.NuxtSSR,detectionMethod:c.nuxtSSRDetect},{platform:n.Framework.ReactSSR,detectionMethod:o.reactSSRDetect},{platform:n.Framework.VueJsSSR,detectionMethod:i.vueSSRDetect},{platform:n.Framework.AngularSSR,detectionMethod:u.angularSSRDetect},{platform:n.Framework.SvelteSSR,detectionMethod:a.svelteSSRDetect}]},10605(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentSizeKey=void 0,t.getByteLength=function(e){let t=0;t=e.length;for(let r=e.length;r>=0;r-=1){const n=e.charCodeAt(r);n>127&&n<=2047?t+=1:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&(r-=1)}return t},t.getCurrentTime=function(){return(new Date).getTime()},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};const n=r(73655);t.getCurrentSizeKey=e=>`${e}${n.currentSizeKey}`},10706(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffer=void 0;var n=r(65212),o=r(5717),i=r(17214),a=r(19724);t.buffer=function(e){return n.operate(function(t,r){var n=[];return t.subscribe(i.createOperatorSubscriber(r,function(e){return n.push(e)},function(){r.next(n),r.complete()})),a.innerFrom(e).subscribe(i.createOperatorSubscriber(r,function(){var e=n;n=[],r.next(e)},o.noop)),function(){n=null}})}},10715(e,t,r){"use strict";r.d(t,{i:()=>f});var n=r(10790),o=r(34164),i=r(15333),a=r(63089),s=r(43748),c=r(58455);function u({options:e,search:t,limit:r}){const n=t.trim().toLowerCase(),o=[];for(let i=0;i<e.length;i+=1){const a=e[i];if(o.length===r)return o;(0,c.c)(a)&&o.push({group:a.group,items:u({options:a.items,search:t,limit:r-o.length})}),(0,c.c)(a)||a.label.toLowerCase().includes(n)&&o.push(a)}return o}function l(e,t=new Set){if(Array.isArray(e))for(const r of e)if((0,c.c)(r))l(r.items,t);else{if(void 0===r.value)throw new Error("[@mantine/core] Each option must have value property");if("string"!=typeof r.value)throw new Error("[@mantine/core] Option value must be a string, other data formats are not supported, got "+typeof r.value);if(t.has(r.value))throw new Error(`[@mantine/core] Duplicate options are not supported. Option with value "${r.value}" was provided more than once`);t.add(r.value)}}var d=r(87986);function p({data:e,withCheckIcon:t,withAlignedLabels:r,value:a,checkIconPosition:u,unstyled:l,renderOption:f}){if(!(0,c.c)(e)){const c=function(e,t){return Array.isArray(e)?e.includes(t):e===t}(a,e.value),p=t&&(c?(0,n.jsx)(i.S,{className:d.A.optionsDropdownCheckIcon}):r?(0,n.jsx)("div",{className:d.A.optionsDropdownCheckPlaceholder}):null),h=(0,n.jsxs)(n.Fragment,{children:["left"===u&&p,(0,n.jsx)("span",{children:e.label}),"right"===u&&p]});return(0,n.jsx)(s.G.Option,{value:e.value,disabled:e.disabled,className:(0,o.A)({[d.A.optionsDropdownOption]:!l}),"data-reverse":"right"===u||void 0,"data-checked":c||void 0,"aria-selected":c,active:c,children:"function"==typeof f?f({option:e,checked:c}):h})}const h=e.items.map(e=>(0,n.jsx)(p,{data:e,value:a,unstyled:l,withCheckIcon:t,withAlignedLabels:r,checkIconPosition:u,renderOption:f},e.value));return(0,n.jsx)(s.G.Group,{label:e.group,children:h})}function f({data:e,hidden:t,hiddenWhenEmpty:r,filter:o,search:i,limit:d,maxDropdownHeight:f,withScrollArea:h=!0,filterOptions:m=!0,withCheckIcon:g=!1,withAlignedLabels:y=!1,value:v,checkIconPosition:b,nothingFoundMessage:E,unstyled:w,labelId:S,renderOption:A,scrollAreaProps:_,"aria-label":P}){l(e);const C="string"==typeof i?(o||u)({options:e,search:m?i:"",limit:d??1/0}):e,I=function(e){if(0===e.length)return!0;for(const t of e){if(!("group"in t))return!1;if(t.items.length>0)return!1}return!0}(C),x=C.map(e=>(0,n.jsx)(p,{data:e,withCheckIcon:g,withAlignedLabels:y,value:v,checkIconPosition:b,unstyled:w,renderOption:A},(0,c.c)(e)?e.group:e.value));return(0,n.jsx)(s.G.Dropdown,{hidden:t||r&&I,"data-composed":!0,children:(0,n.jsxs)(s.G.Options,{labelledBy:S,"aria-label":P,children:[h?(0,n.jsx)(a.F.Autosize,{mah:f??220,type:"scroll",scrollbarSize:"var(--combobox-padding)",offsetScrollbars:"y",..._,children:x}):x,I&&E&&(0,n.jsx)(s.G.Empty,{children:E})]})})}},10790(e){"use strict";e.exports=window.ReactJSXRuntime},11092(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cacheEndpointId=void 0;const n=r(22918),o=r(67635);t.cacheEndpointId=async(e,t,r)=>{const i=(0,o.getCacheKey)(e,t),a=(new Date).getTime()+31536e8;return n.Cache.setItem(i,r,{expires:a,priority:1})}},11140(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=t.listWebAuthnCredentials=t.associateWebAuthnCredential=t.decodeJWT=t.fetchAuthSession=t.AuthError=t.autoSignIn=t.fetchDevices=t.forgetDevice=t.rememberDevice=t.deleteUser=t.deleteUserAttributes=t.sendUserAttributeVerificationCode=t.signOut=t.fetchUserAttributes=t.signInWithRedirect=t.confirmUserAttribute=t.getCurrentUser=t.updateUserAttribute=t.updateUserAttributes=t.setUpTOTP=t.updatePassword=t.verifyTOTPSetup=t.fetchMFAPreference=t.updateMFAPreference=t.confirmSignIn=t.confirmSignUp=t.resendSignUpCode=t.signIn=t.confirmResetPassword=t.resetPassword=t.signUp=void 0;var n=r(83181);Object.defineProperty(t,"signUp",{enumerable:!0,get:function(){return n.signUp}}),Object.defineProperty(t,"resetPassword",{enumerable:!0,get:function(){return n.resetPassword}}),Object.defineProperty(t,"confirmResetPassword",{enumerable:!0,get:function(){return n.confirmResetPassword}}),Object.defineProperty(t,"signIn",{enumerable:!0,get:function(){return n.signIn}}),Object.defineProperty(t,"resendSignUpCode",{enumerable:!0,get:function(){return n.resendSignUpCode}}),Object.defineProperty(t,"confirmSignUp",{enumerable:!0,get:function(){return n.confirmSignUp}}),Object.defineProperty(t,"confirmSignIn",{enumerable:!0,get:function(){return n.confirmSignIn}}),Object.defineProperty(t,"updateMFAPreference",{enumerable:!0,get:function(){return n.updateMFAPreference}}),Object.defineProperty(t,"fetchMFAPreference",{enumerable:!0,get:function(){return n.fetchMFAPreference}}),Object.defineProperty(t,"verifyTOTPSetup",{enumerable:!0,get:function(){return n.verifyTOTPSetup}}),Object.defineProperty(t,"updatePassword",{enumerable:!0,get:function(){return n.updatePassword}}),Object.defineProperty(t,"setUpTOTP",{enumerable:!0,get:function(){return n.setUpTOTP}}),Object.defineProperty(t,"updateUserAttributes",{enumerable:!0,get:function(){return n.updateUserAttributes}}),Object.defineProperty(t,"updateUserAttribute",{enumerable:!0,get:function(){return n.updateUserAttribute}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return n.getCurrentUser}}),Object.defineProperty(t,"confirmUserAttribute",{enumerable:!0,get:function(){return n.confirmUserAttribute}}),Object.defineProperty(t,"signInWithRedirect",{enumerable:!0,get:function(){return n.signInWithRedirect}}),Object.defineProperty(t,"fetchUserAttributes",{enumerable:!0,get:function(){return n.fetchUserAttributes}}),Object.defineProperty(t,"signOut",{enumerable:!0,get:function(){return n.signOut}}),Object.defineProperty(t,"sendUserAttributeVerificationCode",{enumerable:!0,get:function(){return n.sendUserAttributeVerificationCode}}),Object.defineProperty(t,"deleteUserAttributes",{enumerable:!0,get:function(){return n.deleteUserAttributes}}),Object.defineProperty(t,"deleteUser",{enumerable:!0,get:function(){return n.deleteUser}}),Object.defineProperty(t,"rememberDevice",{enumerable:!0,get:function(){return n.rememberDevice}}),Object.defineProperty(t,"forgetDevice",{enumerable:!0,get:function(){return n.forgetDevice}}),Object.defineProperty(t,"fetchDevices",{enumerable:!0,get:function(){return n.fetchDevices}}),Object.defineProperty(t,"autoSignIn",{enumerable:!0,get:function(){return n.autoSignIn}});var o=r(43518);Object.defineProperty(t,"AuthError",{enumerable:!0,get:function(){return o.AuthError}});var i=r(56547);Object.defineProperty(t,"fetchAuthSession",{enumerable:!0,get:function(){return i.fetchAuthSession}}),Object.defineProperty(t,"decodeJWT",{enumerable:!0,get:function(){return i.decodeJWT}});var a=r(74878);Object.defineProperty(t,"associateWebAuthnCredential",{enumerable:!0,get:function(){return a.associateWebAuthnCredential}}),Object.defineProperty(t,"listWebAuthnCredentials",{enumerable:!0,get:function(){return a.listWebAuthnCredentials}}),Object.defineProperty(t,"deleteWebAuthnCredential",{enumerable:!0,get:function(){return a.deleteWebAuthnCredential}})},11415(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var i=r(48051),a=r(19724),s=r(7652),c=r(44885),u=r(17214),l=r(26404);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l.popResultSelector(e),d=s.argsOrArgArray(e);return d.length?new i.Observable(function(e){var t=d.map(function(){return[]}),i=d.map(function(){return!1});e.add(function(){t=i=null});for(var s=function(s){a.innerFrom(d[s]).subscribe(u.createOperatorSubscriber(e,function(a){if(t[s].push(a),t.every(function(e){return e.length})){var c=t.map(function(e){return e.shift()});e.next(r?r.apply(void 0,o([],n(c))):c),t.some(function(e,t){return!e.length&&i[t]})&&e.complete()}},function(){i[s]=!0,!t[s].length&&e.complete()}))},c=0;!e.closed&&c<d.length;c++)s(c);return function(){t=i=null}}):c.EMPTY}},11464(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaust=void 0;var n=r(17977);t.exhaust=n.exhaustAll},11507(e,t,r){"use strict";r.d(t,{a:()=>b});var n=r(10790),o=r(51609),i=r(34164),a=r(15074),s=r(12940),c=r(66192),u=r(1101);function l(e){return e.startsWith("data-")?e:`data-${e}`}function d(e){return e?"string"==typeof e?{[l(e)]:!0}:Array.isArray(e)?[...e].reduce((e,t)=>({...e,...d(t)}),{}):(t=e,Object.keys(t).reduce((e,r)=>{const n=t[r];return void 0===n||""===n||!1===n||null===n||(e[l(r)]=t[r]),e},{})):null;var t}function p(e,t){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,...p(r,t)}),{}):"function"==typeof e?e(t):null==e?{}:e}function f({theme:e,style:t,vars:r,styleProps:n}){return{...p(t,e),...p(r,e),...n}}var h=r(63733);const m={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bdrs:{type:"radius",property:"borderRadius"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};var g=r(155),y=r(83974);const v=(0,o.forwardRef)(({component:e,style:t,__vars:r,className:o,variant:l,mod:p,size:v,hiddenFrom:b,visibleFrom:E,lightHidden:w,darkHidden:S,renderRoot:A,__size:_,...P},C)=>{const I=(0,u.xd)(),x=e||"div",{styleProps:O,rest:k}=(0,h.j)(P),T=(0,c.NL)(),N=T?.()?.(O.sx),j=(0,y.C)(),R=(0,g.X)({styleProps:O,theme:I,data:m}),M={ref:C,style:f({theme:I,style:t,vars:r,styleProps:R.inlineStyles}),className:(0,i.A)(o,N,{[j]:R.hasResponsiveStyles,"mantine-light-hidden":w,"mantine-dark-hidden":S,[`mantine-hidden-from-${b}`]:b,[`mantine-visible-from-${E}`]:E}),"data-variant":l,"data-size":(0,s.t)(v)?void 0:v||void 0,size:_,...d(p),...k};return(0,n.jsxs)(n.Fragment,{children:[R.hasResponsiveStyles&&(0,n.jsx)(a.K,{selector:`.${j}`,styles:R.styles,media:R.media}),"function"==typeof A?A(M):(0,n.jsx)(x,{...M})]})});v.displayName="@mantine/core/Box";const b=v},11588(e,t){"use strict";var r,n,o,i,a,s,c,u,l,d,p,f,h,m,g,y,v,b,E,w,S,A,_,P;Object.defineProperty(t,"__esModule",{value:!0}),t.SETUP_TOTP_EXCEPTION=t.ListDevicesException=t.UpdateDeviceStatusException=t.VerifyUserAttributeException=t.VerifySoftwareTokenException=t.UpdateUserAttributesException=t.SignUpException=t.SetUserMFAPreferenceException=t.RespondToAuthChallengeException=t.ResendConfirmationException=t.InitiateAuthException=t.GlobalSignOutException=t.GetUserAttributeVerificationException=t.GetCredentialsForIdentityException=t.GetIdException=t.GetUserException=t.ForgotPasswordException=t.ForgetDeviceException=t.DeleteUserException=t.DeleteUserAttributesException=t.ConfirmSignUpException=t.ConfirmForgotPasswordException=t.ConfirmDeviceException=t.ChangePasswordException=t.AssociateSoftwareTokenException=void 0,function(e){e.ConcurrentModificationException="ConcurrentModificationException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException"}(r||(t.AssociateSoftwareTokenException=r={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(n||(t.ChangePasswordException=n={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UsernameExistsException="UsernameExistsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(o||(t.ConfirmDeviceException=o={})),function(e){e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(i||(t.ConfirmForgotPasswordException=i={})),function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"}(a||(t.ConfirmSignUpException=a={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(s||(t.DeleteUserAttributesException=s={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(c||(t.DeleteUserException=c={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(u||(t.ForgetDeviceException=u={})),function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"}(l||(t.ForgotPasswordException=l={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(d||(t.GetUserException=d={})),function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"}(p||(t.GetIdException=p={})),function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidIdentityPoolConfigurationException="InvalidIdentityPoolConfigurationException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"}(f||(t.GetCredentialsForIdentityException=f={})),function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(h||(t.GetUserAttributeVerificationException=h={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException"}(m||(t.GlobalSignOutException=m={})),function(e){e.PasswordResetRequiredException="PasswordResetRequiredException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(g||(t.InitiateAuthException=g={})),function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"}(y||(t.ResendConfirmationException=y={})),function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.MFAMethodNotFoundException="MFAMethodNotFoundException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(v||(t.RespondToAuthChallengeException=v={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(b||(t.SetUserMFAPreferenceException=b={})),function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UsernameExistsException="UsernameExistsException"}(E||(t.SignUpException=E={})),function(e){e.AliasExistsException="AliasExistsException",e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(w||(t.UpdateUserAttributesException=w={})),function(e){e.CodeMismatchException="CodeMismatchException",e.EnableSoftwareTokenMFAException="EnableSoftwareTokenMFAException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(S||(t.VerifySoftwareTokenException=S={})),function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(A||(t.VerifyUserAttributeException=A={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(_||(t.UpdateDeviceStatusException=_={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(P||(t.ListDevicesException=P={})),t.SETUP_TOTP_EXCEPTION="SetUpTOTPException"},11630(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveConfig=void 0;const n=r(56547),o=r(30014),i=new n.ConsoleLogger("GraphQLAPI resolveConfig");t.resolveConfig=e=>{const t=e.getConfig();t.API?.GraphQL||i.warn("The API configuration is missing. This is likely due to Amplify.configure() not being called prior to generateClient().");const{apiKey:r,customEndpoint:n,customEndpointRegion:a,defaultAuthMode:s,endpoint:c,region:u}=t.API?.GraphQL??{};return(0,o.assertValidationError)(!(!n&&a),o.APIValidationErrorCode.NoCustomEndpoint),{apiKey:r,customEndpoint:n,customEndpointRegion:a,defaultAuthMode:s,endpoint:c,region:u}}},11729(e,t,r){"use strict";r.r(t),r.d(t,{BREAK:()=>ve,BreakingChangeType:()=>Na,DEFAULT_DEPRECATION_REASON:()=>Vr,DangerousChangeType:()=>ja,DirectiveLocation:()=>G,ExecutableDefinitionsRule:()=>On,FieldsOnCorrectTypeRule:()=>Fn,FragmentsOnCompositeTypesRule:()=>Mn,GraphQLBoolean:()=>mr,GraphQLDeprecatedDirective:()=>Hr,GraphQLDirective:()=>Fr,GraphQLEnumType:()=>Jt,GraphQLError:()=>I,GraphQLFloat:()=>pr,GraphQLID:()=>gr,GraphQLIncludeDirective:()=>Lr,GraphQLInputObjectType:()=>Xt,GraphQLInt:()=>dr,GraphQLInterfaceType:()=>Gt,GraphQLList:()=>It,GraphQLNonNull:()=>xt,GraphQLObjectType:()=>zt,GraphQLScalarType:()=>Lt,GraphQLSchema:()=>Yr,GraphQLSkipDirective:()=>zr,GraphQLSpecifiedByDirective:()=>$r,GraphQLString:()=>hr,GraphQLUnionType:()=>qt,Kind:()=>T,KnownArgumentNamesRule:()=>Xn,KnownDirectivesRule:()=>Gn,KnownFragmentNamesRule:()=>zn,KnownTypeNamesRule:()=>jn,Lexer:()=>X,Location:()=>M,LoneAnonymousOperationRule:()=>Tn,LoneSchemaDefinitionRule:()=>Po,NoDeprecatedCustomRule:()=>Mi,NoFragmentCyclesRule:()=>$n,NoSchemaIntrospectionCustomRule:()=>Di,NoUndefinedVariablesRule:()=>Bn,NoUnusedFragmentsRule:()=>Vn,NoUnusedVariablesRule:()=>Kn,OverlappingFieldsCanBeMergedRule:()=>fo,PossibleFragmentSpreadsRule:()=>Hn,PossibleTypeExtensionsRule:()=>jo,ProvidedRequiredArgumentsRule:()=>ao,ScalarLeafsRule:()=>Un,SchemaMetaFieldDef:()=>kr,SingleFieldSubscriptionsRule:()=>Nn,Source:()=>B,Token:()=>D,TokenKind:()=>F,TypeInfo:()=>gn,TypeKind:()=>xr,TypeMetaFieldDef:()=>Tr,TypeNameMetaFieldDef:()=>Nr,UniqueArgumentNamesRule:()=>eo,UniqueDirectiveNamesRule:()=>To,UniqueDirectivesPerLocationRule:()=>qn,UniqueEnumValueNamesRule:()=>xo,UniqueFieldDefinitionNamesRule:()=>Oo,UniqueFragmentNamesRule:()=>Ln,UniqueInputFieldNamesRule:()=>_o,UniqueOperationNamesRule:()=>kn,UniqueOperationTypesRule:()=>Co,UniqueTypeNamesRule:()=>Io,UniqueVariableNamesRule:()=>Wn,ValidationContext:()=>zo,ValuesOfCorrectTypeRule:()=>to,VariablesAreInputTypesRule:()=>Dn,VariablesInAllowedPositionRule:()=>uo,__Directive:()=>Sr,__DirectiveLocation:()=>Ar,__EnumValue:()=>Ir,__Field:()=>Pr,__InputValue:()=>Cr,__Schema:()=>wr,__Type:()=>_r,__TypeKind:()=>Or,assertAbstractType:()=>Ct,assertCompositeType:()=>_t,assertDirective:()=>Ur,assertEnumType:()=>lt,assertInputObjectType:()=>pt,assertInputType:()=>vt,assertInterfaceType:()=>at,assertLeafType:()=>St,assertListType:()=>ht,assertNamedType:()=>Mt,assertNonNullType:()=>gt,assertNullableType:()=>Nt,assertObjectType:()=>ot,assertOutputType:()=>Et,assertScalarType:()=>rt,assertSchema:()=>qr,assertType:()=>et,assertUnionType:()=>ct,assertValidName:()=>Ce,assertValidSchema:()=>Xr,assertWrappingType:()=>kt,astFromValue:()=>br,buildASTSchema:()=>ta,buildClientSchema:()=>Bi,buildSchema:()=>ra,coerceInputValue:()=>Yo,concatAST:()=>Aa,createSourceEventStream:()=>Ri,defaultFieldResolver:()=>_i,defaultTypeResolver:()=>Ai,doTypesOverlap:()=>nr,execute:()=>ti,executeSync:()=>ri,extendSchema:()=>Yi,findBreakingChanges:()=>Ra,findDangerousChanges:()=>Ma,findDeprecatedUsages:()=>qa,formatError:()=>Ui,getDescription:()=>ea,getDirectiveValues:()=>Zo,getIntrospectionQuery:()=>zi,getLocation:()=>d,getNamedType:()=>Dt,getNullableType:()=>jt,getOperationAST:()=>Vi,getOperationRootType:()=>Bo,getVisitFn:()=>we,graphql:()=>Ci,graphqlSync:()=>Ii,introspectionFromSchema:()=>Wi,introspectionTypes:()=>jr,isAbstractType:()=>Pt,isCompositeType:()=>At,isDefinitionNode:()=>bn,isDirective:()=>Dr,isEnumType:()=>ut,isEqualType:()=>tr,isExecutableDefinitionNode:()=>En,isInputObjectType:()=>dt,isInputType:()=>yt,isInterfaceType:()=>it,isIntrospectionType:()=>Rr,isLeafType:()=>wt,isListType:()=>ft,isNamedType:()=>Rt,isNonNullType:()=>mt,isNullableType:()=>Tt,isObjectType:()=>nt,isOutputType:()=>bt,isRequiredArgument:()=>Kt,isRequiredInputField:()=>er,isScalarType:()=>tt,isSchema:()=>Gr,isSelectionNode:()=>wn,isSpecifiedDirective:()=>Br,isSpecifiedScalarType:()=>vr,isType:()=>Ze,isTypeDefinitionNode:()=>Cn,isTypeExtensionNode:()=>xn,isTypeNode:()=>An,isTypeSubTypeOf:()=>rr,isTypeSystemDefinitionNode:()=>Pn,isTypeSystemExtensionNode:()=>In,isUnionType:()=>st,isValidNameError:()=>Ie,isValueNode:()=>Sn,isWrappingType:()=>Ot,lexicographicSortSchema:()=>aa,locatedError:()=>_e,parse:()=>de,parseType:()=>fe,parseValue:()=>pe,print:()=>Ve,printError:()=>O,printIntrospectionSchema:()=>da,printLocation:()=>p,printSchema:()=>la,printSourceLocation:()=>f,printType:()=>ma,responsePathAsArray:()=>Wo,separateOperations:()=>_a,specifiedDirectives:()=>Wr,specifiedRules:()=>Mo,specifiedScalarTypes:()=>yr,stripIgnoredCharacters:()=>Ia,subscribe:()=>Ni,syntaxError:()=>k,typeFromAST:()=>mn,validate:()=>Vo,validateSchema:()=>Qr,valueFromAST:()=>Go,valueFromASTUntyped:()=>Je,version:()=>n,versionInfo:()=>o,visit:()=>be,visitInParallel:()=>Ee,visitWithTypeInfo:()=>vn});var n="15.8.0",o=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function i(e){return"function"==typeof(null==e?void 0:e.then)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e){return"object"==a(e)&&null!==e}var c="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",u="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator",l="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function d(e,t){for(var r,n=/\r\n|[\n\r]/g,o=1,i=t+1;(r=n.exec(e.body))&&r.index<t;)o+=1,i=t+1-(r.index+r[0].length);return{line:o,column:i}}function p(e){return f(e.source,d(e.source,e.start))}function f(e,t){var r=e.locationOffset.column-1,n=m(r)+e.body,o=t.line-1,i=e.locationOffset.line-1,a=t.line+i,s=1===t.line?r:0,c=t.column+s,u="".concat(e.name,":").concat(a,":").concat(c,"\n"),l=n.split(/\r\n|[\n\r]/g),d=l[o];if(d.length>120){for(var p=Math.floor(c/80),f=c%80,g=[],y=0;y<d.length;y+=80)g.push(d.slice(y,y+80));return u+h([["".concat(a),g[0]]].concat(g.slice(1,p+1).map(function(e){return["",e]}),[[" ",m(f-1)+"^"],["",g[p+1]]]))}return u+h([["".concat(a-1),l[o-1]],["".concat(a),d],["",m(c-1)+"^"],["".concat(a+1),l[o+1]]])}function h(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}),r=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t,n=e[0],o=e[1];return m(r-(t=n).length)+t+(o?" | "+o:" |")}).join("\n")}function m(e){return Array(e+1).join(" ")}function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(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 E(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){var t="function"==typeof Map?new Map:void 0;return S=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return A(e,arguments,C(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),P(n,e)},S(e)}function A(e,t,r){return A=_()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&P(o,r.prototype),o},A.apply(null,arguments)}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function P(e,t){return P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},P(e,t)}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}(a,e);var t,r,n,o,i=(t=a,r=_(),function(){var e,n=C(t);if(r){var o=C(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return E(this,e)});function a(e,t,r,n,o,c,u){var l,p,f,h;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(h=i.call(this,e)).name="GraphQLError",h.originalError=null!=c?c:void 0,h.nodes=x(Array.isArray(t)?t:t?[t]:void 0);for(var m=[],g=0,b=null!==(S=h.nodes)&&void 0!==S?S:[];g<b.length;g++){var S,A=b[g].loc;null!=A&&m.push(A)}m=x(m),h.source=null!=r?r:null===(l=m)||void 0===l?void 0:l[0].source,h.positions=null!=n?n:null===(p=m)||void 0===p?void 0:p.map(function(e){return e.start}),h.locations=n&&r?n.map(function(e){return d(r,e)}):null===(f=m)||void 0===f?void 0:f.map(function(e){return d(e.source,e.start)}),h.path=null!=o?o:void 0;var _=null==c?void 0:c.extensions;return null==u&&s(_)?h.extensions=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},_):h.extensions=null!=u?u:{},Object.defineProperties(w(h),{message:{enumerable:!0},locations:{enumerable:null!=h.locations},path:{enumerable:null!=h.path},extensions:{enumerable:null!=h.extensions&&Object.keys(h.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?(Object.defineProperty(w(h),"stack",{value:c.stack,writable:!0,configurable:!0}),E(h)):(Error.captureStackTrace?Error.captureStackTrace(w(h),a):Object.defineProperty(w(h),"stack",{value:Error().stack,writable:!0,configurable:!0}),h)}return n=a,(o=[{key:"toString",value:function(){return O(this)}},{key:l,get:function(){return"Object"}}])&&b(n.prototype,o),a}(S(Error));function x(e){return void 0===e||0===e.length?void 0:e}function O(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var o=n[r];o.loc&&(t+="\n\n"+p(o.loc))}else if(e.source&&e.locations)for(var i=0,a=e.locations;i<a.length;i++){var s=a[i];t+="\n\n"+f(e.source,s)}return t}function k(e,t,r){return new I("Syntax Error: ".concat(r),void 0,e,[t])}var T=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});function N(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const j="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function R(e){var t=e.prototype.toJSON;"function"==typeof t||N(0),e.prototype.inspect=t,j&&(e.prototype[j]=t)}var M=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();R(M);var D=function(){function e(e,t,r,n,o,i,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=o,this.value=a,this.prev=i,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function U(e){return null!=e&&"string"==typeof e.kind}R(D);var F=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function z(e){return V(e,[])}function V(e,t){switch(L(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var r=[].concat(t,[e]),n=function(e){var t=e[String(j)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==n){var o=n.call(e);if(o!==e)return"string"==typeof o?o:V(o,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,o=[],i=0;i<r;++i)o.push(V(e[i],t));return 1===n?o.push("... 1 more item"):n>1&&o.push("... ".concat(n," more items")),"["+o.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);return 0===r.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]":"{ "+r.map(function(r){return r+": "+V(e[r],t)}).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}function H(e,t){if(!Boolean(e))throw new Error(t)}const $=function(e,t){return e instanceof t};function W(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)}}var B=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||H(0,"Body must be a string. Received: ".concat(z(e),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||H(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||H(0,"column in locationOffset is 1-indexed and must be positive.")}var t,r;return t=e,(r=[{key:l,get:function(){return"Source"}}])&&W(t.prototype,r),e}();function K(e){return $(e,B)}var G=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function q(e){var t=e.split(/\r\n|[\n\r]/g),r=J(e);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(var o=0;o<t.length&&Y(t[o]);)++o;for(var i=t.length;i>o&&Y(t[i-1]);)--i;return t.slice(o,i).join("\n")}function Y(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function J(e){for(var t,r=!0,n=!0,o=0,i=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:r=!1,n=!0,o=0;break;case 9:case 32:++o;break;default:n&&!r&&(null===i||o<i)&&(i=o),n=!1}return null!==(t=i)&&void 0!==t?t:0}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],i='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||i||a||r,c="";return!s||n&&o||(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}var X=function(){function e(e){var t=new D(F.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==F.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=te(this,e)}while(e.kind===F.COMMENT);return e},e}();function Z(e){return e===F.BANG||e===F.DOLLAR||e===F.AMP||e===F.PAREN_L||e===F.PAREN_R||e===F.SPREAD||e===F.COLON||e===F.EQUALS||e===F.AT||e===F.BRACKET_L||e===F.BRACKET_R||e===F.BRACE_L||e===F.PIPE||e===F.BRACE_R}function ee(e){return isNaN(e)?F.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function te(e,t){for(var r=e.source,n=r.body,o=n.length,i=t.end;i<o;){var a=n.charCodeAt(i),s=e.line,c=1+i-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 33:return new D(F.BANG,i,i+1,s,c,t);case 35:return ne(r,i,s,c,t);case 36:return new D(F.DOLLAR,i,i+1,s,c,t);case 38:return new D(F.AMP,i,i+1,s,c,t);case 40:return new D(F.PAREN_L,i,i+1,s,c,t);case 41:return new D(F.PAREN_R,i,i+1,s,c,t);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return new D(F.SPREAD,i,i+3,s,c,t);break;case 58:return new D(F.COLON,i,i+1,s,c,t);case 61:return new D(F.EQUALS,i,i+1,s,c,t);case 64:return new D(F.AT,i,i+1,s,c,t);case 91:return new D(F.BRACKET_L,i,i+1,s,c,t);case 93:return new D(F.BRACKET_R,i,i+1,s,c,t);case 123:return new D(F.BRACE_L,i,i+1,s,c,t);case 124:return new D(F.PIPE,i,i+1,s,c,t);case 125:return new D(F.BRACE_R,i,i+1,s,c,t);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?se(r,i,s,c,t,e):ae(r,i,s,c,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return oe(r,i,a,s,c,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return le(r,i,s,c,t)}throw k(r,i,re(a))}var u=e.line,l=1+i-e.lineStart;return new D(F.EOF,o,o,u,l,t)}function re(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(ee(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(ee(e),".")}function ne(e,t,r,n,o){var i,a=e.body,s=t;do{i=a.charCodeAt(++s)}while(!isNaN(i)&&(i>31||9===i));return new D(F.COMMENT,t,s,r,n,o,a.slice(t+1,s))}function oe(e,t,r,n,o,i){var a=e.body,s=r,c=t,u=!1;if(45===s&&(s=a.charCodeAt(++c)),48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw k(e,c,"Invalid number, unexpected digit after 0: ".concat(ee(s),"."))}else c=ie(e,c,s),s=a.charCodeAt(c);if(46===s&&(u=!0,s=a.charCodeAt(++c),c=ie(e,c,s),s=a.charCodeAt(c)),69!==s&&101!==s||(u=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=ie(e,c,s),s=a.charCodeAt(c)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw k(e,c,"Invalid number, expected digit but got: ".concat(ee(s),"."));return new D(u?F.FLOAT:F.INT,t,c,n,o,i,a.slice(t,c))}function ie(e,t,r){var n=e.body,o=t,i=r;if(i>=48&&i<=57){do{i=n.charCodeAt(++o)}while(i>=48&&i<=57);return o}throw k(e,o,"Invalid number, expected digit but got: ".concat(ee(i),"."))}function ae(e,t,r,n,o){for(var i=e.body,a=t+1,s=a,c=0,u="";a<i.length&&!isNaN(c=i.charCodeAt(a))&&10!==c&&13!==c;){if(34===c)return u+=i.slice(s,a),new D(F.STRING,t,a+1,r,n,o,u);if(c<32&&9!==c)throw k(e,a,"Invalid character within String: ".concat(ee(c),"."));if(++a,92===c){switch(u+=i.slice(s,a-1),c=i.charCodeAt(a)){case 34:u+='"';break;case 47:u+="/";break;case 92:u+="\\";break;case 98:u+="\b";break;case 102:u+="\f";break;case 110:u+="\n";break;case 114:u+="\r";break;case 116:u+="\t";break;case 117:var l=ce(i.charCodeAt(a+1),i.charCodeAt(a+2),i.charCodeAt(a+3),i.charCodeAt(a+4));if(l<0){var d=i.slice(a+1,a+5);throw k(e,a,"Invalid character escape sequence: \\u".concat(d,"."))}u+=String.fromCharCode(l),a+=4;break;default:throw k(e,a,"Invalid character escape sequence: \\".concat(String.fromCharCode(c),"."))}s=++a}}throw k(e,a,"Unterminated string.")}function se(e,t,r,n,o,i){for(var a=e.body,s=t+3,c=s,u=0,l="";s<a.length&&!isNaN(u=a.charCodeAt(s));){if(34===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return l+=a.slice(c,s),new D(F.BLOCK_STRING,t,s+3,r,n,o,q(l));if(u<32&&9!==u&&10!==u&&13!==u)throw k(e,s,"Invalid character within String: ".concat(ee(u),"."));10===u?(++s,++i.line,i.lineStart=s):13===u?(10===a.charCodeAt(s+1)?s+=2:++s,++i.line,i.lineStart=s):92===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(l+=a.slice(c,s)+'"""',c=s+=4):++s}throw k(e,s,"Unterminated string.")}function ce(e,t,r,n){return ue(e)<<12|ue(t)<<8|ue(r)<<4|ue(n)}function ue(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function le(e,t,r,n,o){for(var i=e.body,a=i.length,s=t+1,c=0;s!==a&&!isNaN(c=i.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new D(F.NAME,t,s,r,n,o,i.slice(t,s))}function de(e,t){return new he(e,t).parseDocument()}function pe(e,t){var r=new he(e,t);r.expectToken(F.SOF);var n=r.parseValueLiteral(!1);return r.expectToken(F.EOF),n}function fe(e,t){var r=new he(e,t);r.expectToken(F.SOF);var n=r.parseTypeReference();return r.expectToken(F.EOF),n}var he=function(){function e(e,t){var r=K(e)?e:new B(e);this._lexer=new X(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(F.NAME);return{kind:T.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:T.DOCUMENT,definitions:this.many(F.SOF,this.parseDefinition,F.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(F.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(F.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(F.BRACE_L))return{kind:T.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,r=this.parseOperationType();return this.peek(F.NAME)&&(t=this.parseName()),{kind:T.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(F.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(F.PAREN_L,this.parseVariableDefinition,F.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:T.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(F.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(F.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(F.DOLLAR),{kind:T.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:T.SELECTION_SET,selections:this.many(F.BRACE_L,this.parseSelection,F.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(F.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(F.COLON)?(e=n,t=this.parseName()):t=n,{kind:T.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(F.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(F.PAREN_L,t,F.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(F.COLON),{kind:T.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:T.ARGUMENT,name:this.parseName(),value:(this.expectToken(F.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(F.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(F.NAME)?{kind:T.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:T.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:T.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:T.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case F.BRACKET_L:return this.parseList(e);case F.BRACE_L:return this.parseObject(e);case F.INT:return this._lexer.advance(),{kind:T.INT,value:t.value,loc:this.loc(t)};case F.FLOAT:return this._lexer.advance(),{kind:T.FLOAT,value:t.value,loc:this.loc(t)};case F.STRING:case F.BLOCK_STRING:return this.parseStringLiteral();case F.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:T.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:T.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:T.NULL,loc:this.loc(t)};default:return{kind:T.ENUM,value:t.value,loc:this.loc(t)}}case F.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:T.STRING,value:e.value,block:e.kind===F.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:T.LIST,values:this.any(F.BRACKET_L,function(){return t.parseValueLiteral(e)},F.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:T.OBJECT,fields:this.any(F.BRACE_L,function(){return t.parseObjectField(e)},F.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(F.COLON),{kind:T.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(F.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(F.AT),{kind:T.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(F.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(F.BRACKET_R),e={kind:T.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(F.BANG)?{kind:T.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:T.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===F.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(F.STRING)||this.peek(F.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(F.BRACE_L,this.parseOperationTypeDefinition,F.BRACE_R);return{kind:T.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(F.COLON);var r=this.parseNamedType();return{kind:T.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:T.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:T.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(F.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(F.AMP)||this.peek(F.NAME));return t}return this.delimitedMany(F.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(F.BRACE_L)&&this._lexer.lookahead().kind===F.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(F.BRACE_L,this.parseFieldDefinition,F.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(F.COLON);var o=this.parseTypeReference(),i=this.parseDirectives(!0);return{kind:T.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:i,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(F.PAREN_L,this.parseInputValueDef,F.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(F.COLON);var n,o=this.parseTypeReference();this.expectOptionalToken(F.EQUALS)&&(n=this.parseValueLiteral(!0));var i=this.parseDirectives(!0);return{kind:T.INPUT_VALUE_DEFINITION,description:t,name:r,type:o,defaultValue:n,directives:i,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:T.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:T.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(F.EQUALS)?this.delimitedMany(F.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:T.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(F.BRACE_L,this.parseEnumValueDefinition,F.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:T.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:T.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(F.BRACE_L,this.parseInputValueDef,F.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===F.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(F.BRACE_L,this.parseOperationTypeDefinition,F.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:T.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:T.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:T.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:T.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:T.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:T.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:T.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(F.AT);var r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var i=this.parseDirectiveLocations();return{kind:T.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:i,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(F.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==G[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new M(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw k(this._lexer.source,t.start,"Expected ".concat(ge(e),", found ").concat(me(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==F.NAME||t.value!==e)throw k(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(me(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===F.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return k(this._lexer.source,t.start,"Unexpected ".concat(me(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r},e}();function me(e){var t=e.value;return ge(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function ge(e){return Z(e)?'"'.concat(e,'"'):e}var ye={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},ve=Object.freeze({});function be(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ye,n=void 0,o=Array.isArray(e),i=[e],a=-1,s=[],c=void 0,u=void 0,l=void 0,d=[],p=[],f=e;do{var h=++a===i.length,m=h&&0!==s.length;if(h){if(u=0===p.length?void 0:d[d.length-1],c=l,l=p.pop(),m){if(o)c=c.slice();else{for(var g={},y=0,v=Object.keys(c);y<v.length;y++){var b=v[y];g[b]=c[b]}c=g}for(var E=0,w=0;w<s.length;w++){var S=s[w][0],A=s[w][1];o&&(S-=E),o&&null===A?(c.splice(S,1),E++):c[S]=A}}a=n.index,i=n.keys,s=n.edits,o=n.inArray,n=n.prev}else{if(u=l?o?a:i[a]:void 0,null==(c=l?l[u]:f))continue;l&&d.push(u)}var _,P=void 0;if(!Array.isArray(c)){if(!U(c))throw new Error("Invalid AST Node: ".concat(z(c),"."));var C=we(t,c.kind,h);if(C){if((P=C.call(t,c,u,l,d,p))===ve)break;if(!1===P){if(!h){d.pop();continue}}else if(void 0!==P&&(s.push([u,P]),!h)){if(!U(P)){d.pop();continue}c=P}}}void 0===P&&m&&s.push([u,c]),h?d.pop():(n={inArray:o,index:a,keys:i,edits:s,prev:n},i=(o=Array.isArray(c))?c:null!==(_=r[c.kind])&&void 0!==_?_:[],a=-1,s=[],l&&p.push(l),l=c)}while(void 0!==n);return 0!==s.length&&(f=s[s.length-1][1]),f}function Ee(e){var t=new Array(e.length);return{enter:function(r){for(var n=0;n<e.length;n++)if(null==t[n]){var o=we(e[n],r.kind,!1);if(o){var i=o.apply(e[n],arguments);if(!1===i)t[n]=r;else if(i===ve)t[n]=ve;else if(void 0!==i)return i}}},leave:function(r){for(var n=0;n<e.length;n++)if(null==t[n]){var o=we(e[n],r.kind,!0);if(o){var i=o.apply(e[n],arguments);if(i===ve)t[n]=ve;else if(void 0!==i&&!1!==i)return i}}else t[n]===r&&(t[n]=null)}}}function we(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var o=r?n.leave:n.enter;if("function"==typeof o)return o}else{var i=r?e.leave:e.enter;if(i){if("function"==typeof i)return i;var a=i[t];if("function"==typeof a)return a}}}const Se=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n))return n}},Ae=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})};function _e(e,t,r){var n,o=e instanceof Error?e:new Error("Unexpected error value: "+z(e));return Array.isArray(o.path)?o:new I(o.message,null!==(n=o.nodes)&&void 0!==n?n:t,o.source,o.positions,r,o)}var Pe=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function Ce(e){var t=Ie(e);if(t)throw t;return e}function Ie(e){return"string"==typeof e||H(0,"Expected name to be a string."),e.length>1&&"_"===e[0]&&"_"===e[1]?new I('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.')):Pe.test(e)?void 0:new I('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'))}const xe=Object.entries||function(e){return Object.keys(e).map(function(t){return[t,e[t]]})};function Oe(e,t){return e.reduce(function(e,r){return e[t(r)]=r,e},Object.create(null))}function ke(e,t){for(var r=Object.create(null),n=0,o=xe(e);n<o.length;n++){var i=o[n],a=i[0],s=i[1];r[a]=t(s,a)}return r}function Te(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),r=0,n=xe(e);r<n.length;r++){var o=n[r],i=o[0],a=o[1];t[i]=a}return t}function Ne(e,t,r){return e.reduce(function(e,n){return e[t(n)]=r(n),e},Object.create(null))}function je(e,t){var r="string"==typeof e?[e,t]:[void 0,e],n=r[0],o=" Did you mean ";n&&(o+=n+" ");var i=r[1].map(function(e){return'"'.concat(e,'"')});switch(i.length){case 0:return"";case 1:return o+i[0]+"?";case 2:return o+i[0]+" or "+i[1]+"?"}var a=i.slice(0,5),s=a.pop();return o+a.join(", ")+", or "+s+"?"}function Re(e){return e}function Me(e,t){for(var r=0,n=0;r<e.length&&n<t.length;){var o=e.charCodeAt(r),i=t.charCodeAt(n);if(Ue(o)&&Ue(i)){var a=0;do{++r,a=10*a+o-De,o=e.charCodeAt(r)}while(Ue(o)&&a>0);var s=0;do{++n,s=10*s+i-De,i=t.charCodeAt(n)}while(Ue(i)&&s>0);if(a<s)return-1;if(a>s)return 1}else{if(o<i)return-1;if(o>i)return 1;++r,++n}}return e.length-t.length}var De=48;function Ue(e){return!isNaN(e)&&De<=e&&e<=57}function Fe(e,t){for(var r=Object.create(null),n=new Le(e),o=Math.floor(.4*e.length)+1,i=0;i<t.length;i++){var a=t[i],s=n.measure(a,o);void 0!==s&&(r[a]=s)}return Object.keys(r).sort(function(e,t){var n=r[e]-r[t];return 0!==n?n:Me(e,t)})}var Le=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=ze(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var r=e.toLowerCase();if(this._inputLowerCase===r)return 1;var n=ze(r),o=this._inputArray;if(n.length<o.length){var i=n;n=o,o=i}var a=n.length,s=o.length;if(!(a-s>t)){for(var c=this._rows,u=0;u<=s;u++)c[0][u]=u;for(var l=1;l<=a;l++){for(var d=c[(l-1)%3],p=c[l%3],f=p[0]=l,h=1;h<=s;h++){var m=n[l-1]===o[h-1]?0:1,g=Math.min(d[h]+1,p[h-1]+1,d[h-1]+m);if(l>1&&h>1&&n[l-1]===o[h-2]&&n[l-2]===o[h-1]){var y=c[(l-2)%3][h-2];g=Math.min(g,y+1)}g<f&&(f=g),p[h]=g}if(f>t)return}var v=c[a%3][s];return v<=t?v:void 0}},e}();function ze(e){for(var t=e.length,r=new Array(t),n=0;n<t;++n)r[n]=e.charCodeAt(n);return r}function Ve(e){return be(e,{leave:He})}var He={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return We(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=Ke("(",We(e.variableDefinitions,", "),")"),o=We(e.directives," "),i=e.selectionSet;return r||o||n||"query"!==t?We([t,We([r,n]),o,i]," "):i},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,o=e.directives;return t+": "+r+Ke(" = ",n)+Ke(" ",We(o," "))},SelectionSet:function(e){return Be(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,o=e.directives,i=e.selectionSet,a=Ke("",t,": ")+r,s=a+Ke("(",We(n,", "),")");return s.length>80&&(s=a+Ke("(\n",Ge(We(n,"\n")),"\n)")),We([s,We(o," "),i]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+Ke(" ",We(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return We(["...",Ke("on ",t),We(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,o=e.directives,i=e.selectionSet;return"fragment ".concat(t).concat(Ke("(",We(n,", "),")")," ")+"on ".concat(r," ").concat(Ke("",We(o," ")," "))+i},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?Q(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+We(e.values,", ")+"]"},ObjectValue:function(e){return"{"+We(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+Ke("(",We(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:$e(function(e){var t=e.directives,r=e.operationTypes;return We(["schema",We(t," "),Be(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:$e(function(e){return We(["scalar",e.name,We(e.directives," ")]," ")}),ObjectTypeDefinition:$e(function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return We(["type",t,Ke("implements ",We(r," & ")),We(n," "),Be(o)]," ")}),FieldDefinition:$e(function(e){var t=e.name,r=e.arguments,n=e.type,o=e.directives;return t+(Ye(r)?Ke("(\n",Ge(We(r,"\n")),"\n)"):Ke("(",We(r,", "),")"))+": "+n+Ke(" ",We(o," "))}),InputValueDefinition:$e(function(e){var t=e.name,r=e.type,n=e.defaultValue,o=e.directives;return We([t+": "+r,Ke("= ",n),We(o," ")]," ")}),InterfaceTypeDefinition:$e(function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return We(["interface",t,Ke("implements ",We(r," & ")),We(n," "),Be(o)]," ")}),UnionTypeDefinition:$e(function(e){var t=e.name,r=e.directives,n=e.types;return We(["union",t,We(r," "),n&&0!==n.length?"= "+We(n," | "):""]," ")}),EnumTypeDefinition:$e(function(e){var t=e.name,r=e.directives,n=e.values;return We(["enum",t,We(r," "),Be(n)]," ")}),EnumValueDefinition:$e(function(e){return We([e.name,We(e.directives," ")]," ")}),InputObjectTypeDefinition:$e(function(e){var t=e.name,r=e.directives,n=e.fields;return We(["input",t,We(r," "),Be(n)]," ")}),DirectiveDefinition:$e(function(e){var t=e.name,r=e.arguments,n=e.repeatable,o=e.locations;return"directive @"+t+(Ye(r)?Ke("(\n",Ge(We(r,"\n")),"\n)"):Ke("(",We(r,", "),")"))+(n?" repeatable":"")+" on "+We(o," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return We(["extend schema",We(t," "),Be(r)]," ")},ScalarTypeExtension:function(e){return We(["extend scalar",e.name,We(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return We(["extend type",t,Ke("implements ",We(r," & ")),We(n," "),Be(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return We(["extend interface",t,Ke("implements ",We(r," & ")),We(n," "),Be(o)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return We(["extend union",t,We(r," "),n&&0!==n.length?"= "+We(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return We(["extend enum",t,We(r," "),Be(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return We(["extend input",t,We(r," "),Be(n)]," ")}};function $e(e){return function(t){return We([t.description,e(t)],"\n")}}function We(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter(function(e){return e}).join(r))&&void 0!==t?t:""}function Be(e){return Ke("{\n",Ge(We(e,"\n")),"\n}")}function Ke(e,t){return null!=t&&""!==t?e+t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function Ge(e){return Ke(" ",e.replace(/\n/g,"\n "))}function qe(e){return-1!==e.indexOf("\n")}function Ye(e){return null!=e&&e.some(qe)}function Je(e,t){switch(e.kind){case T.NULL:return null;case T.INT:return parseInt(e.value,10);case T.FLOAT:return parseFloat(e.value);case T.STRING:case T.ENUM:case T.BOOLEAN:return e.value;case T.LIST:return e.values.map(function(e){return Je(e,t)});case T.OBJECT:return Ne(e.fields,function(e){return e.name.value},function(e){return Je(e.value,t)});case T.VARIABLE:return null==t?void 0:t[e.name.value]}N(0,"Unexpected value node: "+z(e))}function Qe(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 Xe(e,t,r){return t&&Qe(e.prototype,t),r&&Qe(e,r),e}function Ze(e){return tt(e)||nt(e)||it(e)||st(e)||ut(e)||dt(e)||ft(e)||mt(e)}function et(e){if(!Ze(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL type."));return e}function tt(e){return $(e,Lt)}function rt(e){if(!tt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Scalar type."));return e}function nt(e){return $(e,zt)}function ot(e){if(!nt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Object type."));return e}function it(e){return $(e,Gt)}function at(e){if(!it(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Interface type."));return e}function st(e){return $(e,qt)}function ct(e){if(!st(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Union type."));return e}function ut(e){return $(e,Jt)}function lt(e){if(!ut(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Enum type."));return e}function dt(e){return $(e,Xt)}function pt(e){if(!dt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Input Object type."));return e}function ft(e){return $(e,It)}function ht(e){if(!ft(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL List type."));return e}function mt(e){return $(e,xt)}function gt(e){if(!mt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Non-Null type."));return e}function yt(e){return tt(e)||ut(e)||dt(e)||Ot(e)&&yt(e.ofType)}function vt(e){if(!yt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL input type."));return e}function bt(e){return tt(e)||nt(e)||it(e)||st(e)||ut(e)||Ot(e)&&bt(e.ofType)}function Et(e){if(!bt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL output type."));return e}function wt(e){return tt(e)||ut(e)}function St(e){if(!wt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL leaf type."));return e}function At(e){return nt(e)||it(e)||st(e)}function _t(e){if(!At(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL composite type."));return e}function Pt(e){return it(e)||st(e)}function Ct(e){if(!Pt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL abstract type."));return e}function It(e){if(!(this instanceof It))return new It(e);this.ofType=et(e)}function xt(e){if(!(this instanceof xt))return new xt(e);this.ofType=Nt(e)}function Ot(e){return ft(e)||mt(e)}function kt(e){if(!Ot(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL wrapping type."));return e}function Tt(e){return Ze(e)&&!mt(e)}function Nt(e){if(!Tt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL nullable type."));return e}function jt(e){if(e)return mt(e)?e.ofType:e}function Rt(e){return tt(e)||nt(e)||it(e)||st(e)||ut(e)||dt(e)}function Mt(e){if(!Rt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL named type."));return e}function Dt(e){if(e){for(var t=e;Ot(t);)t=t.ofType;return t}}function Ut(e){return"function"==typeof e?e():e}function Ft(e){return e&&e.length>0?e:void 0}It.prototype.toString=function(){return"["+String(this.ofType)+"]"},It.prototype.toJSON=function(){return this.toString()},Object.defineProperty(It.prototype,l,{get:function(){return"GraphQLList"}}),R(It),xt.prototype.toString=function(){return String(this.ofType)+"!"},xt.prototype.toJSON=function(){return this.toString()},Object.defineProperty(xt.prototype,l,{get:function(){return"GraphQLNonNull"}}),R(xt);var Lt=function(){function e(e){var t,r,n,o=null!==(t=e.parseValue)&&void 0!==t?t:Re;this.name=e.name,this.description=e.description,this.specifiedByUrl=e.specifiedByUrl,this.serialize=null!==(r=e.serialize)&&void 0!==r?r:Re,this.parseValue=o,this.parseLiteral=null!==(n=e.parseLiteral)&&void 0!==n?n:function(e,t){return o(Je(e,t))},this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),"string"==typeof e.name||H(0,"Must provide name."),null==e.specifiedByUrl||"string"==typeof e.specifiedByUrl||H(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat(z(e.specifiedByUrl),".")),null==e.serialize||"function"==typeof e.serialize||H(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||H(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLScalarType"}}]),e}();R(Lt);var zt=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._fields=Ht.bind(void 0,e),this._interfaces=Vt.bind(void 0,e),"string"==typeof e.name||H(0,"Must provide name."),null==e.isTypeOf||"function"==typeof e.isTypeOf||H(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(z(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Wt(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLObjectType"}}]),e}();function Vt(e){var t,r=null!==(t=Ut(e.interfaces))&&void 0!==t?t:[];return Array.isArray(r)||H(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),r}function Ht(e){var t=Ut(e.fields);return $t(t)||H(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),ke(t,function(t,r){var n;$t(t)||H(0,"".concat(e.name,".").concat(r," field config must be an object.")),!("isDeprecated"in t)||H(0,"".concat(e.name,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"==typeof t.resolve||H(0,"".concat(e.name,".").concat(r," field resolver must be a function if ")+"provided, but got: ".concat(z(t.resolve),"."));var o=null!==(n=t.args)&&void 0!==n?n:{};$t(o)||H(0,"".concat(e.name,".").concat(r," args must be an object with argument names as keys."));var i=xe(o).map(function(e){var t=e[0],r=e[1];return{name:t,description:r.description,type:r.type,defaultValue:r.defaultValue,deprecationReason:r.deprecationReason,extensions:r.extensions&&Te(r.extensions),astNode:r.astNode}});return{name:r,description:t.description,type:t.type,args:i,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Te(t.extensions),astNode:t.astNode}})}function $t(e){return s(e)&&!Array.isArray(e)}function Wt(e){return ke(e,function(e){return{description:e.description,type:e.type,args:Bt(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}})}function Bt(e){return Ne(e,function(e){return e.name},function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}})}function Kt(e){return mt(e.type)&&void 0===e.defaultValue}R(zt);var Gt=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._fields=Ht.bind(void 0,e),this._interfaces=Vt.bind(void 0,e),"string"==typeof e.name||H(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||H(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(z(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Wt(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLInterfaceType"}}]),e}();R(Gt);var qt=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._types=Yt.bind(void 0,e),"string"==typeof e.name||H(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||H(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(z(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"==typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLUnionType"}}]),e}();function Yt(e){var t=Ut(e.types);return Array.isArray(t)||H(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}R(qt);var Jt=function(){function e(e){var t,r;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._values=(t=this.name,$t(r=e.values)||H(0,"".concat(t," values must be an object with value names as keys.")),xe(r).map(function(e){var r=e[0],n=e[1];return $t(n)||H(0,"".concat(t,".").concat(r,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(z(n),".")),!("isDeprecated"in n)||H(0,"".concat(t,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),{name:r,description:n.description,value:void 0!==n.value?n.value:r,isDeprecated:null!=n.deprecationReason,deprecationReason:n.deprecationReason,extensions:n.extensions&&Te(n.extensions),astNode:n.astNode}})),this._valueLookup=new Map(this._values.map(function(e){return[e.value,e]})),this._nameLookup=Oe(this._values,function(e){return e.name}),"string"==typeof e.name||H(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(void 0===t)throw new I('Enum "'.concat(this.name,'" cannot represent value: ').concat(z(e)));return t.name},t.parseValue=function(e){if("string"!=typeof e){var t=z(e);throw new I('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t,".")+Qt(this,t))}var r=this.getValue(e);if(null==r)throw new I('Value "'.concat(e,'" does not exist in "').concat(this.name,'" enum.')+Qt(this,e));return r.value},t.parseLiteral=function(e,t){if(e.kind!==T.ENUM){var r=Ve(e);throw new I('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(r,".")+Qt(this,r),e)}var n=this.getValue(e.value);if(null==n){var o=Ve(e);throw new I('Value "'.concat(o,'" does not exist in "').concat(this.name,'" enum.')+Qt(this,o),e)}return n.value},t.toConfig=function(){var e,t=Ne(this.getValues(),function(e){return e.name},function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}});return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLEnumType"}}]),e}();function Qt(e,t){return je("the enum value",Fe(t,e.getValues().map(function(e){return e.name})))}R(Jt);var Xt=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._fields=Zt.bind(void 0,e),"string"==typeof e.name||H(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e,t=ke(this.getFields(),function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}});return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLInputObjectType"}}]),e}();function Zt(e){var t=Ut(e.fields);return $t(t)||H(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),ke(t,function(t,r){return!("resolve"in t)||H(0,"".concat(e.name,".").concat(r," field has a resolve property, but Input Types cannot define resolvers.")),{name:r,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&Te(t.extensions),astNode:t.astNode}})}function er(e){return mt(e.type)&&void 0===e.defaultValue}function tr(e,t){return e===t||(mt(e)&&mt(t)||!(!ft(e)||!ft(t)))&&tr(e.ofType,t.ofType)}function rr(e,t,r){return t===r||(mt(r)?!!mt(t)&&rr(e,t.ofType,r.ofType):mt(t)?rr(e,t.ofType,r):ft(r)?!!ft(t)&&rr(e,t.ofType,r.ofType):!ft(t)&&Pt(r)&&(it(t)||nt(t))&&e.isSubType(r,t))}function nr(e,t,r){return t===r||(Pt(t)?Pt(r)?e.getPossibleTypes(t).some(function(t){return e.isSubType(r,t)}):e.isSubType(t,r):!!Pt(r)&&e.isSubType(r,t))}R(Xt);const or=Array.from||function(e,t,r){if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n=e[c];if("function"==typeof n){for(var o,i=n.call(e),a=[],s=0;!(o=i.next()).done;++s)if(a.push(t.call(r,o.value,s)),s>9999999)throw new TypeError("Near-infinite iteration.");return a}var u=e.length;if("number"==typeof u&&u>=0&&u%1==0){for(var l=[],d=0;d<u;++d)Object.prototype.hasOwnProperty.call(e,d)&&l.push(t.call(r,e[d],d));return l}return[]},ir=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)};function ar(e){return ar="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ar(e)}function sr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};if(null==e||"object"!==ar(e))return null;if(Array.isArray(e))return e.map(t);var r=e[c];if("function"==typeof r){for(var n,o=r.call(e),i=[],a=0;!(n=o.next()).done;++a)i.push(t(n.value,a));return i}var s=e.length;if("number"==typeof s&&s>=0&&s%1==0){for(var u=[],l=0;l<s;++l){if(!Object.prototype.hasOwnProperty.call(e,l))return null;u.push(t(e[String(l)],l))}return u}return null}const cr=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};var ur=2147483647,lr=-2147483648,dr=new Lt({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e){var t=fr(e);if("boolean"==typeof t)return t?1:0;var r=t;if("string"==typeof t&&""!==t&&(r=Number(t)),!cr(r))throw new I("Int cannot represent non-integer value: ".concat(z(t)));if(r>ur||r<lr)throw new I("Int cannot represent non 32-bit signed integer value: "+z(t));return r},parseValue:function(e){if(!cr(e))throw new I("Int cannot represent non-integer value: ".concat(z(e)));if(e>ur||e<lr)throw new I("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(e){if(e.kind!==T.INT)throw new I("Int cannot represent non-integer value: ".concat(Ve(e)),e);var t=parseInt(e.value,10);if(t>ur||t<lr)throw new I("Int cannot represent non 32-bit signed integer value: ".concat(e.value),e);return t}}),pr=new Lt({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){var t=fr(e);if("boolean"==typeof t)return t?1:0;var r=t;if("string"==typeof t&&""!==t&&(r=Number(t)),!ir(r))throw new I("Float cannot represent non numeric value: ".concat(z(t)));return r},parseValue:function(e){if(!ir(e))throw new I("Float cannot represent non numeric value: ".concat(z(e)));return e},parseLiteral:function(e){if(e.kind!==T.FLOAT&&e.kind!==T.INT)throw new I("Float cannot represent non numeric value: ".concat(Ve(e)),e);return parseFloat(e.value)}});function fr(e){if(s(e)){if("function"==typeof e.valueOf){var t=e.valueOf();if(!s(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}var hr=new Lt({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=fr(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if(ir(t))return t.toString();throw new I("String cannot represent value: ".concat(z(e)))},parseValue:function(e){if("string"!=typeof e)throw new I("String cannot represent a non string value: ".concat(z(e)));return e},parseLiteral:function(e){if(e.kind!==T.STRING)throw new I("String cannot represent a non string value: ".concat(Ve(e)),e);return e.value}}),mr=new Lt({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){var t=fr(e);if("boolean"==typeof t)return t;if(ir(t))return 0!==t;throw new I("Boolean cannot represent a non boolean value: ".concat(z(t)))},parseValue:function(e){if("boolean"!=typeof e)throw new I("Boolean cannot represent a non boolean value: ".concat(z(e)));return e},parseLiteral:function(e){if(e.kind!==T.BOOLEAN)throw new I("Boolean cannot represent a non boolean value: ".concat(Ve(e)),e);return e.value}}),gr=new Lt({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=fr(e);if("string"==typeof t)return t;if(cr(t))return String(t);throw new I("ID cannot represent value: ".concat(z(e)))},parseValue:function(e){if("string"==typeof e)return e;if(cr(e))return e.toString();throw new I("ID cannot represent value: ".concat(z(e)))},parseLiteral:function(e){if(e.kind!==T.STRING&&e.kind!==T.INT)throw new I("ID cannot represent a non-string and non-integer value: "+Ve(e),e);return e.value}}),yr=Object.freeze([hr,dr,pr,mr,gr]);function vr(e){return yr.some(function(t){var r=t.name;return e.name===r})}function br(e,t){if(mt(t)){var r=br(e,t.ofType);return(null==r?void 0:r.kind)===T.NULL?null:r}if(null===e)return{kind:T.NULL};if(void 0===e)return null;if(ft(t)){var n=t.ofType,o=sr(e);if(null!=o){for(var i=[],a=0;a<o.length;a++){var c=br(o[a],n);null!=c&&i.push(c)}return{kind:T.LIST,values:i}}return br(e,n)}if(dt(t)){if(!s(e))return null;for(var u=[],l=0,d=Ae(t.getFields());l<d.length;l++){var p=d[l],f=br(e[p.name],p.type);f&&u.push({kind:T.OBJECT_FIELD,name:{kind:T.NAME,value:p.name},value:f})}return{kind:T.OBJECT,fields:u}}if(wt(t)){var h=t.serialize(e);if(null==h)return null;if("boolean"==typeof h)return{kind:T.BOOLEAN,value:h};if("number"==typeof h&&ir(h)){var m=String(h);return Er.test(m)?{kind:T.INT,value:m}:{kind:T.FLOAT,value:m}}if("string"==typeof h)return ut(t)?{kind:T.ENUM,value:h}:t===gr&&Er.test(h)?{kind:T.INT,value:h}:{kind:T.STRING,value:h};throw new TypeError("Cannot convert value to AST: ".concat(z(h),"."))}N(0,"Unexpected input type: "+z(t))}var Er=/^-?(?:0|[1-9][0-9]*)$/,wr=new zt({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:hr,resolve:function(e){return e.description}},types:{description:"A list of all types supported by this server.",type:new xt(new It(new xt(_r))),resolve:function(e){return Ae(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new xt(_r),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:_r,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:_r,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new xt(new It(new xt(Sr))),resolve:function(e){return e.getDirectives()}}}}}),Sr=new zt({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:new xt(hr),resolve:function(e){return e.name}},description:{type:hr,resolve:function(e){return e.description}},isRepeatable:{type:new xt(mr),resolve:function(e){return e.isRepeatable}},locations:{type:new xt(new It(new xt(Ar))),resolve:function(e){return e.locations}},args:{type:new xt(new It(new xt(Cr))),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter(function(e){return null==e.deprecationReason})}}}}}),Ar=new Jt({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:G.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:G.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:G.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:G.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:G.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:G.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:G.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:G.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:G.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:G.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:G.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:G.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:G.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:G.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:G.UNION,description:"Location adjacent to a union definition."},ENUM:{value:G.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:G.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:G.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:G.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),_r=new zt({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new xt(Or),resolve:function(e){return tt(e)?xr.SCALAR:nt(e)?xr.OBJECT:it(e)?xr.INTERFACE:st(e)?xr.UNION:ut(e)?xr.ENUM:dt(e)?xr.INPUT_OBJECT:ft(e)?xr.LIST:mt(e)?xr.NON_NULL:void N(0,'Unexpected type: "'.concat(z(e),'".'))}},name:{type:hr,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:hr,resolve:function(e){return void 0!==e.description?e.description:void 0}},specifiedByUrl:{type:hr,resolve:function(e){return void 0!==e.specifiedByUrl?e.specifiedByUrl:void 0}},fields:{type:new It(new xt(Pr)),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(nt(e)||it(e)){var n=Ae(e.getFields());return r?n:n.filter(function(e){return null==e.deprecationReason})}}},interfaces:{type:new It(new xt(_r)),resolve:function(e){if(nt(e)||it(e))return e.getInterfaces()}},possibleTypes:{type:new It(new xt(_r)),resolve:function(e,t,r,n){var o=n.schema;if(Pt(e))return o.getPossibleTypes(e)}},enumValues:{type:new It(new xt(Ir)),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(ut(e)){var n=e.getValues();return r?n:n.filter(function(e){return null==e.deprecationReason})}}},inputFields:{type:new It(new xt(Cr)),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(dt(e)){var n=Ae(e.getFields());return r?n:n.filter(function(e){return null==e.deprecationReason})}}},ofType:{type:_r,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),Pr=new zt({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new xt(hr),resolve:function(e){return e.name}},description:{type:hr,resolve:function(e){return e.description}},args:{type:new xt(new It(new xt(Cr))),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter(function(e){return null==e.deprecationReason})}},type:{type:new xt(_r),resolve:function(e){return e.type}},isDeprecated:{type:new xt(mr),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:hr,resolve:function(e){return e.deprecationReason}}}}}),Cr=new zt({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new xt(hr),resolve:function(e){return e.name}},description:{type:hr,resolve:function(e){return e.description}},type:{type:new xt(_r),resolve:function(e){return e.type}},defaultValue:{type:hr,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=e.type,r=br(e.defaultValue,t);return r?Ve(r):null}},isDeprecated:{type:new xt(mr),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:hr,resolve:function(e){return e.deprecationReason}}}}}),Ir=new zt({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new xt(hr),resolve:function(e){return e.name}},description:{type:hr,resolve:function(e){return e.description}},isDeprecated:{type:new xt(mr),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:hr,resolve:function(e){return e.deprecationReason}}}}}),xr=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),Or=new Jt({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:xr.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:xr.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:xr.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:xr.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:xr.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:xr.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:xr.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:xr.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),kr={name:"__schema",type:new xt(wr),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,r,n){return n.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Tr={name:"__type",type:_r,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new xt(hr),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,r,n){var o=t.name;return n.schema.getType(o)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Nr={name:"__typename",type:new xt(hr),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,r,n){return n.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},jr=Object.freeze([wr,Sr,Ar,_r,Pr,Cr,Ir,Or]);function Rr(e){return jr.some(function(t){var r=t.name;return e.name===r})}function Mr(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 Dr(e){return $(e,Fr)}function Ur(e){if(!Dr(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL directive."));return e}var Fr=function(){function e(e){var t,r;this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,e.name||H(0,"Directive must be named."),Array.isArray(e.locations)||H(0,"@".concat(e.name," locations must be an Array."));var n=null!==(r=e.args)&&void 0!==r?r:{};s(n)&&!Array.isArray(n)||H(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=xe(n).map(function(e){var t=e[0],r=e[1];return{name:t,description:r.description,type:r.type,defaultValue:r.defaultValue,deprecationReason:r.deprecationReason,extensions:r.extensions&&Te(r.extensions),astNode:r.astNode}})}var t,r,n=e.prototype;return n.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Bt(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},n.toString=function(){return"@"+this.name},n.toJSON=function(){return this.toString()},t=e,(r=[{key:l,get:function(){return"GraphQLDirective"}}])&&Mr(t.prototype,r),e}();R(Fr);var Lr=new Fr({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[G.FIELD,G.FRAGMENT_SPREAD,G.INLINE_FRAGMENT],args:{if:{type:new xt(mr),description:"Included when true."}}}),zr=new Fr({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[G.FIELD,G.FRAGMENT_SPREAD,G.INLINE_FRAGMENT],args:{if:{type:new xt(mr),description:"Skipped when true."}}}),Vr="No longer supported",Hr=new Fr({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[G.FIELD_DEFINITION,G.ARGUMENT_DEFINITION,G.INPUT_FIELD_DEFINITION,G.ENUM_VALUE],args:{reason:{type:hr,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Vr}}}),$r=new Fr({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[G.SCALAR],args:{url:{type:new xt(hr),description:"The URL that specifies the behaviour of this scalar."}}}),Wr=Object.freeze([Lr,zr,Hr,$r]);function Br(e){return Wr.some(function(t){return t.name===e.name})}function Kr(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 Gr(e){return $(e,Yr)}function qr(e){if(!Gr(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL schema."));return e}var Yr=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,s(e)||H(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||H(0,'"types" must be Array if provided but got: '.concat(z(e.types),".")),!e.directives||Array.isArray(e.directives)||H(0,'"directives" must be Array if provided but got: '+"".concat(z(e.directives),".")),this.description=e.description,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(t=e.directives)&&void 0!==t?t:Wr;var r=new Set(e.types);if(null!=e.types)for(var n=0,o=e.types;n<o.length;n++){var i=o[n];r.delete(i),Jr(i,r)}null!=this._queryType&&Jr(this._queryType,r),null!=this._mutationType&&Jr(this._mutationType,r),null!=this._subscriptionType&&Jr(this._subscriptionType,r);for(var a=0,c=this._directives;a<c.length;a++){var u=c[a];if(Dr(u))for(var l=0,d=u.args;l<d.length;l++)Jr(d[l].type,r)}Jr(wr,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var p=0,f=or(r);p<f.length;p++){var h=f[p];if(null!=h){var m=h.name;if(m||H(0,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[m])throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(m,'".'));if(this._typeMap[m]=h,it(h))for(var g=0,y=h.getInterfaces();g<y.length;g++){var v=y[g];if(it(v)){var b=this._implementationsMap[v.name];void 0===b&&(b=this._implementationsMap[v.name]={objects:[],interfaces:[]}),b.interfaces.push(h)}}else if(nt(h))for(var E=0,w=h.getInterfaces();E<w.length;E++){var S=w[E];if(it(S)){var A=this._implementationsMap[S.name];void 0===A&&(A=this._implementationsMap[S.name]={objects:[],interfaces:[]}),A.objects.push(h)}}}}}var t,r,n=e.prototype;return n.getQueryType=function(){return this._queryType},n.getMutationType=function(){return this._mutationType},n.getSubscriptionType=function(){return this._subscriptionType},n.getTypeMap=function(){return this._typeMap},n.getType=function(e){return this.getTypeMap()[e]},n.getPossibleTypes=function(e){return st(e)?e.getTypes():this.getImplementations(e).objects},n.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}},n.isPossibleType=function(e,t){return this.isSubType(e,t)},n.isSubType=function(e,t){var r=this._subTypeMap[e.name];if(void 0===r){if(r=Object.create(null),st(e))for(var n=0,o=e.getTypes();n<o.length;n++)r[o[n].name]=!0;else{for(var i=this.getImplementations(e),a=0,s=i.objects;a<s.length;a++)r[s[a].name]=!0;for(var c=0,u=i.interfaces;c<u.length;c++)r[u[c].name]=!0}this._subTypeMap[e.name]=r}return void 0!==r[t.name]},n.getDirectives=function(){return this._directives},n.getDirective=function(e){return Se(this.getDirectives(),function(t){return t.name===e})},n.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Ae(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[],assumeValid:void 0!==this.__validationErrors}},t=e,(r=[{key:l,get:function(){return"GraphQLSchema"}}])&&Kr(t.prototype,r),e}();function Jr(e,t){var r=Dt(e);if(!t.has(r))if(t.add(r),st(r))for(var n=0,o=r.getTypes();n<o.length;n++)Jr(o[n],t);else if(nt(r)||it(r)){for(var i=0,a=r.getInterfaces();i<a.length;i++)Jr(a[i],t);for(var s=0,c=Ae(r.getFields());s<c.length;s++){var u=c[s];Jr(u.type,t);for(var l=0,d=u.args;l<d.length;l++)Jr(d[l].type,t)}}else if(dt(r))for(var p=0,f=Ae(r.getFields());p<f.length;p++)Jr(f[p].type,t);return t}function Qr(e){if(qr(e),e.__validationErrors)return e.__validationErrors;var t=new Zr(e);!function(e){var t=e.schema,r=t.getQueryType();if(r){if(!nt(r)){var n;e.reportError("Query root type must be Object type, it cannot be ".concat(z(r),"."),null!==(n=en(t,"query"))&&void 0!==n?n:r.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);var o,i=t.getMutationType();i&&!nt(i)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(z(i),"."),null!==(o=en(t,"mutation"))&&void 0!==o?o:i.astNode);var a,s=t.getSubscriptionType();s&&!nt(s)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(z(s),"."),null!==(a=en(t,"subscription"))&&void 0!==a?a:s.astNode)}(t),function(e){for(var t=0,r=e.schema.getDirectives();t<r.length;t++){var n=r[t];if(Dr(n)){tn(e,n);for(var o=0,i=n.args;o<i.length;o++){var a,s=i[o];tn(e,s),yt(s.type)||e.reportError("The type of @".concat(n.name,"(").concat(s.name,":) must be Input Type ")+"but got: ".concat(z(s.type),"."),s.astNode),Kt(s)&&null!=s.deprecationReason&&e.reportError("Required argument @".concat(n.name,"(").concat(s.name,":) cannot be deprecated."),[hn(s.astNode),null===(a=s.astNode)||void 0===a?void 0:a.type])}}else e.reportError("Expected directive but got: ".concat(z(n),"."),null==n?void 0:n.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),r=[],n=Object.create(null);return function o(i){if(!t[i.name]){t[i.name]=!0,n[i.name]=r.length;for(var a=Ae(i.getFields()),s=0;s<a.length;s++){var c=a[s];if(mt(c.type)&&dt(c.type.ofType)){var u=c.type.ofType,l=n[u.name];if(r.push(c),void 0===l)o(u);else{var d=r.slice(l),p=d.map(function(e){return e.name}).join(".");e.reportError('Cannot reference Input Object "'.concat(u.name,'" within itself through a series of non-null fields: "').concat(p,'".'),d.map(function(e){return e.astNode}))}r.pop()}}n[i.name]=void 0}}}(e),r=e.schema.getTypeMap(),n=0,o=Ae(r);n<o.length;n++){var i=o[n];Rt(i)?(Rr(i)||tn(e,i),nt(i)||it(i)?(rn(e,i),nn(e,i)):st(i)?sn(e,i):ut(i)?cn(e,i):dt(i)&&(un(e,i),t(i))):e.reportError("Expected GraphQL named type but got: ".concat(z(i),"."),i.astNode)}}(t);var r=t.getErrors();return e.__validationErrors=r,r}function Xr(e){var t=Qr(e);if(0!==t.length)throw new Error(t.map(function(e){return e.message}).join("\n\n"))}var Zr=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var r=Array.isArray(t)?t.filter(Boolean):t;this.addError(new I(e,r))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function en(e,t){for(var r=dn(e,function(e){return e.operationTypes}),n=0;n<r.length;n++){var o=r[n];if(o.operation===t)return o.type}}function tn(e,t){var r=Ie(t.name);r&&e.addError(_e(r,t.astNode))}function rn(e,t){var r=Ae(t.getFields());0===r.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),ln(t));for(var n=0;n<r.length;n++){var o,i=r[n];tn(e,i),bt(i.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name," must be Output Type ")+"but got: ".concat(z(i.type),"."),null===(o=i.astNode)||void 0===o?void 0:o.type);for(var a=0,s=i.args;a<s.length;a++){var c,u,l=s[a],d=l.name;tn(e,l),yt(l.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name,"(").concat(d,":) must be Input ")+"Type but got: ".concat(z(l.type),"."),null===(c=l.astNode)||void 0===c?void 0:c.type),Kt(l)&&null!=l.deprecationReason&&e.reportError("Required argument ".concat(t.name,".").concat(i.name,"(").concat(d,":) cannot be deprecated."),[hn(l.astNode),null===(u=l.astNode)||void 0===u?void 0:u.type])}}}function nn(e,t){for(var r=Object.create(null),n=0,o=t.getInterfaces();n<o.length;n++){var i=o[n];it(i)?t!==i?r[i.name]?e.reportError("Type ".concat(t.name," can only implement ").concat(i.name," once."),pn(t,i)):(r[i.name]=!0,an(e,t,i),on(e,t,i)):e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),pn(t,i)):e.reportError("Type ".concat(z(t)," must only implement Interface types, ")+"it cannot implement ".concat(z(i),"."),pn(t,i))}}function on(e,t,r){for(var n=t.getFields(),o=0,i=Ae(r.getFields());o<i.length;o++){var a=i[o],s=a.name,c=n[s];if(c){var u,l;rr(e.schema,c.type,a.type)||e.reportError("Interface field ".concat(r.name,".").concat(s," expects type ")+"".concat(z(a.type)," but ").concat(t.name,".").concat(s," ")+"is type ".concat(z(c.type),"."),[null===(u=a.astNode)||void 0===u?void 0:u.type,null===(l=c.astNode)||void 0===l?void 0:l.type]);for(var d=function(n,o){var i,a,u=o[n],l=u.name,d=Se(c.args,function(e){return e.name===l});if(!d)return e.reportError("Interface field argument ".concat(r.name,".").concat(s,"(").concat(l,":) expected but ").concat(t.name,".").concat(s," does not provide it."),[u.astNode,c.astNode]),"continue";tr(u.type,d.type)||e.reportError("Interface field argument ".concat(r.name,".").concat(s,"(").concat(l,":) ")+"expects type ".concat(z(u.type)," but ")+"".concat(t.name,".").concat(s,"(").concat(l,":) is type ")+"".concat(z(d.type),"."),[null===(i=u.astNode)||void 0===i?void 0:i.type,null===(a=d.astNode)||void 0===a?void 0:a.type])},p=0,f=a.args;p<f.length;p++)d(p,f);for(var h=function(n,o){var i=o[n],c=i.name;!Se(a.args,function(e){return e.name===c})&&Kt(i)&&e.reportError("Object field ".concat(t.name,".").concat(s," includes required argument ").concat(c," that is missing from the Interface field ").concat(r.name,".").concat(s,"."),[i.astNode,a.astNode])},m=0,g=c.args;m<g.length;m++)h(m,g)}else e.reportError("Interface field ".concat(r.name,".").concat(s," expected but ").concat(t.name," does not provide it."),[a.astNode].concat(ln(t)))}}function an(e,t,r){for(var n=t.getInterfaces(),o=0,i=r.getInterfaces();o<i.length;o++){var a=i[o];-1===n.indexOf(a)&&e.reportError(a===t?"Type ".concat(t.name," cannot implement ").concat(r.name," because it would create a circular reference."):"Type ".concat(t.name," must implement ").concat(a.name," because it is implemented by ").concat(r.name,"."),[].concat(pn(r,a),pn(t,r)))}}function sn(e,t){var r=t.getTypes();0===r.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),ln(t));for(var n=Object.create(null),o=0;o<r.length;o++){var i=r[o];n[i.name]?e.reportError("Union type ".concat(t.name," can only include type ").concat(i.name," once."),fn(t,i.name)):(n[i.name]=!0,nt(i)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat(z(i),"."),fn(t,String(i))))}}function cn(e,t){var r=t.getValues();0===r.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),ln(t));for(var n=0;n<r.length;n++){var o=r[n],i=o.name;tn(e,o),"true"!==i&&"false"!==i&&"null"!==i||e.reportError("Enum type ".concat(t.name," cannot include value: ").concat(i,"."),o.astNode)}}function un(e,t){var r=Ae(t.getFields());0===r.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),ln(t));for(var n=0;n<r.length;n++){var o,i,a=r[n];tn(e,a),yt(a.type)||e.reportError("The type of ".concat(t.name,".").concat(a.name," must be Input Type ")+"but got: ".concat(z(a.type),"."),null===(o=a.astNode)||void 0===o?void 0:o.type),er(a)&&null!=a.deprecationReason&&e.reportError("Required input field ".concat(t.name,".").concat(a.name," cannot be deprecated."),[hn(a.astNode),null===(i=a.astNode)||void 0===i?void 0:i.type])}}function ln(e){var t=e.astNode,r=e.extensionASTNodes;return t?r?[t].concat(r):[t]:null!=r?r:[]}function dn(e,t){for(var r=[],n=0,o=ln(e);n<o.length;n++){var i,a=o[n];r=r.concat(null!==(i=t(a))&&void 0!==i?i:[])}return r}function pn(e,t){return dn(e,function(e){return e.interfaces}).filter(function(e){return e.name.value===t.name})}function fn(e,t){return dn(e,function(e){return e.types}).filter(function(e){return e.name.value===t})}function hn(e){var t;return null==e||null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return e.name.value===Hr.name})}function mn(e,t){var r;return t.kind===T.LIST_TYPE?(r=mn(e,t.type))&&new It(r):t.kind===T.NON_NULL_TYPE?(r=mn(e,t.type))&&new xt(r):t.kind===T.NAMED_TYPE?e.getType(t.name.value):void N(0,"Unexpected type node: "+z(t))}var gn=function(){function e(e,t,r){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=t?t:yn,r&&(yt(r)&&this._inputTypeStack.push(r),At(r)&&this._parentTypeStack.push(r),bt(r)&&this._typeStack.push(r))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case T.SELECTION_SET:var r=Dt(this.getType());this._parentTypeStack.push(At(r)?r:void 0);break;case T.FIELD:var n,o,i=this.getParentType();i&&(n=this._getFieldDef(t,i,e))&&(o=n.type),this._fieldDefStack.push(n),this._typeStack.push(bt(o)?o:void 0);break;case T.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case T.OPERATION_DEFINITION:var a;switch(e.operation){case"query":a=t.getQueryType();break;case"mutation":a=t.getMutationType();break;case"subscription":a=t.getSubscriptionType()}this._typeStack.push(nt(a)?a:void 0);break;case T.INLINE_FRAGMENT:case T.FRAGMENT_DEFINITION:var s=e.typeCondition,c=s?mn(t,s):Dt(this.getType());this._typeStack.push(bt(c)?c:void 0);break;case T.VARIABLE_DEFINITION:var u=mn(t,e.type);this._inputTypeStack.push(yt(u)?u:void 0);break;case T.ARGUMENT:var l,d,p,f=null!==(l=this.getDirective())&&void 0!==l?l:this.getFieldDef();f&&(d=Se(f.args,function(t){return t.name===e.name.value}))&&(p=d.type),this._argument=d,this._defaultValueStack.push(d?d.defaultValue:void 0),this._inputTypeStack.push(yt(p)?p:void 0);break;case T.LIST:var h=jt(this.getInputType()),m=ft(h)?h.ofType:h;this._defaultValueStack.push(void 0),this._inputTypeStack.push(yt(m)?m:void 0);break;case T.OBJECT_FIELD:var g,y,v=Dt(this.getInputType());dt(v)&&(y=v.getFields()[e.name.value])&&(g=y.type),this._defaultValueStack.push(y?y.defaultValue:void 0),this._inputTypeStack.push(yt(g)?g:void 0);break;case T.ENUM:var b,E=Dt(this.getInputType());ut(E)&&(b=E.getValue(e.value)),this._enumValue=b}},t.leave=function(e){switch(e.kind){case T.SELECTION_SET:this._parentTypeStack.pop();break;case T.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case T.DIRECTIVE:this._directive=null;break;case T.OPERATION_DEFINITION:case T.INLINE_FRAGMENT:case T.FRAGMENT_DEFINITION:this._typeStack.pop();break;case T.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case T.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case T.LIST:case T.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case T.ENUM:this._enumValue=null}},e}();function yn(e,t,r){var n=r.name.value;return n===kr.name&&e.getQueryType()===t?kr:n===Tr.name&&e.getQueryType()===t?Tr:n===Nr.name&&At(t)?Nr:nt(t)||it(t)?t.getFields()[n]:void 0}function vn(e,t){return{enter:function(r){e.enter(r);var n=we(t,r.kind,!1);if(n){var o=n.apply(t,arguments);return void 0!==o&&(e.leave(r),U(o)&&e.enter(o)),o}},leave:function(r){var n,o=we(t,r.kind,!0);return o&&(n=o.apply(t,arguments)),e.leave(r),n}}}function bn(e){return En(e)||Pn(e)||In(e)}function En(e){return e.kind===T.OPERATION_DEFINITION||e.kind===T.FRAGMENT_DEFINITION}function wn(e){return e.kind===T.FIELD||e.kind===T.FRAGMENT_SPREAD||e.kind===T.INLINE_FRAGMENT}function Sn(e){return e.kind===T.VARIABLE||e.kind===T.INT||e.kind===T.FLOAT||e.kind===T.STRING||e.kind===T.BOOLEAN||e.kind===T.NULL||e.kind===T.ENUM||e.kind===T.LIST||e.kind===T.OBJECT}function An(e){return e.kind===T.NAMED_TYPE||e.kind===T.LIST_TYPE||e.kind===T.NON_NULL_TYPE}function Pn(e){return e.kind===T.SCHEMA_DEFINITION||Cn(e)||e.kind===T.DIRECTIVE_DEFINITION}function Cn(e){return e.kind===T.SCALAR_TYPE_DEFINITION||e.kind===T.OBJECT_TYPE_DEFINITION||e.kind===T.INTERFACE_TYPE_DEFINITION||e.kind===T.UNION_TYPE_DEFINITION||e.kind===T.ENUM_TYPE_DEFINITION||e.kind===T.INPUT_OBJECT_TYPE_DEFINITION}function In(e){return e.kind===T.SCHEMA_EXTENSION||xn(e)}function xn(e){return e.kind===T.SCALAR_TYPE_EXTENSION||e.kind===T.OBJECT_TYPE_EXTENSION||e.kind===T.INTERFACE_TYPE_EXTENSION||e.kind===T.UNION_TYPE_EXTENSION||e.kind===T.ENUM_TYPE_EXTENSION||e.kind===T.INPUT_OBJECT_TYPE_EXTENSION}function On(e){return{Document:function(t){for(var r=0,n=t.definitions;r<n.length;r++){var o=n[r];if(!En(o)){var i=o.kind===T.SCHEMA_DEFINITION||o.kind===T.SCHEMA_EXTENSION?"schema":'"'+o.name.value+'"';e.reportError(new I("The ".concat(i," definition is not executable."),o))}}return!1}}}function kn(e){var t=Object.create(null);return{OperationDefinition:function(r){var n=r.name;return n&&(t[n.value]?e.reportError(new I('There can be only one operation named "'.concat(n.value,'".'),[t[n.value],n])):t[n.value]=n),!1},FragmentDefinition:function(){return!1}}}function Tn(e){var t=0;return{Document:function(e){t=e.definitions.filter(function(e){return e.kind===T.OPERATION_DEFINITION}).length},OperationDefinition:function(r){!r.name&&t>1&&e.reportError(new I("This anonymous operation must be the only defined operation.",r))}}}function Nn(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new I(t.name?'Subscription "'.concat(t.name.value,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t.selectionSet.selections.slice(1)))}}}function jn(e){for(var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null),o=0,i=e.getDocument().definitions;o<i.length;o++){var a=i[o];Cn(a)&&(n[a.name.value]=!0)}var s=Object.keys(r).concat(Object.keys(n));return{NamedType:function(t,o,i,a,c){var u,l=t.name.value;if(!r[l]&&!n[l]){var d,p=null!==(d=c[2])&&void 0!==d?d:i,f=null!=p&&(u=p,!Array.isArray(u)&&(Pn(u)||In(u)));if(f&&function(e){return-1!==Rn.indexOf(e)}(l))return;var h=Fe(l,f?Rn.concat(s):s);e.reportError(new I('Unknown type "'.concat(l,'".')+je(h),t))}}}}var Rn=[].concat(yr,jr).map(function(e){return e.name});function Mn(e){return{InlineFragment:function(t){var r=t.typeCondition;if(r){var n=mn(e.getSchema(),r);if(n&&!At(n)){var o=Ve(r);e.reportError(new I('Fragment cannot condition on non composite type "'.concat(o,'".'),r))}}},FragmentDefinition:function(t){var r=mn(e.getSchema(),t.typeCondition);if(r&&!At(r)){var n=Ve(t.typeCondition);e.reportError(new I('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(n,'".'),t.typeCondition))}}}}function Dn(e){return{VariableDefinition:function(t){var r=mn(e.getSchema(),t.type);if(r&&!yt(r)){var n=t.variable.name.value,o=Ve(t.type);e.reportError(new I('Variable "$'.concat(n,'" cannot be non-input type "').concat(o,'".'),t.type))}}}}function Un(e){return{Field:function(t){var r=e.getType(),n=t.selectionSet;if(r)if(wt(Dt(r))){if(n){var o=t.name.value,i=z(r);e.reportError(new I('Field "'.concat(o,'" must not have a selection since type "').concat(i,'" has no subfields.'),n))}}else if(!n){var a=t.name.value,s=z(r);e.reportError(new I('Field "'.concat(a,'" of type "').concat(s,'" must have a selection of subfields. Did you mean "').concat(a,' { ... }"?'),t))}}}}function Fn(e){return{Field:function(t){var r=e.getParentType();if(r&&!e.getFieldDef()){var n=e.getSchema(),o=t.name.value,i=je("to use an inline fragment on",function(e,t,r){if(!Pt(t))return[];for(var n=new Set,o=Object.create(null),i=0,a=e.getPossibleTypes(t);i<a.length;i++){var s=a[i];if(s.getFields()[r]){n.add(s),o[s.name]=1;for(var c=0,u=s.getInterfaces();c<u.length;c++){var l,d=u[c];d.getFields()[r]&&(n.add(d),o[d.name]=(null!==(l=o[d.name])&&void 0!==l?l:0)+1)}}}return or(n).sort(function(t,r){var n=o[r.name]-o[t.name];return 0!==n?n:it(t)&&e.isSubType(t,r)?-1:it(r)&&e.isSubType(r,t)?1:Me(t.name,r.name)}).map(function(e){return e.name})}(n,r,o));""===i&&(i=je(function(e,t){return nt(e)||it(e)?Fe(t,Object.keys(e.getFields())):[]}(r,o))),e.reportError(new I('Cannot query field "'.concat(o,'" on type "').concat(r.name,'".')+i,t))}}}}function Ln(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(r){var n=r.name.value;return t[n]?e.reportError(new I('There can be only one fragment named "'.concat(n,'".'),[t[n],r.name])):t[n]=r.name,!1}}}function zn(e){return{FragmentSpread:function(t){var r=t.name.value;e.getFragment(r)||e.reportError(new I('Unknown fragment "'.concat(r,'".'),t.name))}}}function Vn(e){var t=[],r=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return r.push(e),!1},Document:{leave:function(){for(var n=Object.create(null),o=0;o<t.length;o++)for(var i=t[o],a=0,s=e.getRecursivelyReferencedFragments(i);a<s.length;a++)n[s[a].name.value]=!0;for(var c=0;c<r.length;c++){var u=r[c],l=u.name.value;!0!==n[l]&&e.reportError(new I('Fragment "'.concat(l,'" is never used.'),u))}}}}}function Hn(e){return{InlineFragment:function(t){var r=e.getType(),n=e.getParentType();if(At(r)&&At(n)&&!nr(e.getSchema(),r,n)){var o=z(n),i=z(r);e.reportError(new I('Fragment cannot be spread here as objects of type "'.concat(o,'" can never be of type "').concat(i,'".'),t))}},FragmentSpread:function(t){var r=t.name.value,n=function(e,t){var r=e.getFragment(t);if(r){var n=mn(e.getSchema(),r.typeCondition);if(At(n))return n}}(e,r),o=e.getParentType();if(n&&o&&!nr(e.getSchema(),n,o)){var i=z(o),a=z(n);e.reportError(new I('Fragment "'.concat(r,'" cannot be spread here as objects of type "').concat(i,'" can never be of type "').concat(a,'".'),t))}}}}function $n(e){var t=Object.create(null),r=[],n=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(e){return o(e),!1}};function o(i){if(!t[i.name.value]){var a=i.name.value;t[a]=!0;var s=e.getFragmentSpreads(i.selectionSet);if(0!==s.length){n[a]=r.length;for(var c=0;c<s.length;c++){var u=s[c],l=u.name.value,d=n[l];if(r.push(u),void 0===d){var p=e.getFragment(l);p&&o(p)}else{var f=r.slice(d),h=f.slice(0,-1).map(function(e){return'"'+e.name.value+'"'}).join(", ");e.reportError(new I('Cannot spread fragment "'.concat(l,'" within itself')+(""!==h?" via ".concat(h,"."):"."),f))}r.pop()}n[a]=void 0}}}}function Wn(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(r){var n=r.variable.name.value;t[n]?e.reportError(new I('There can be only one variable named "$'.concat(n,'".'),[t[n],r.variable.name])):t[n]=r.variable.name}}}function Bn(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(r){for(var n=e.getRecursiveVariableUsages(r),o=0;o<n.length;o++){var i=n[o].node,a=i.name.value;!0!==t[a]&&e.reportError(new I(r.name?'Variable "$'.concat(a,'" is not defined by operation "').concat(r.name.value,'".'):'Variable "$'.concat(a,'" is not defined.'),[i,r]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function Kn(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(r){for(var n=Object.create(null),o=e.getRecursiveVariableUsages(r),i=0;i<o.length;i++)n[o[i].node.name.value]=!0;for(var a=0,s=t;a<s.length;a++){var c=s[a],u=c.variable.name.value;!0!==n[u]&&e.reportError(new I(r.name?'Variable "$'.concat(u,'" is never used in operation "').concat(r.name.value,'".'):'Variable "$'.concat(u,'" is never used.'),c))}}},VariableDefinition:function(e){t.push(e)}}}function Gn(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():Wr,o=0;o<n.length;o++){var i=n[o];t[i.name]=i.locations}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];c.kind===T.DIRECTIVE_DEFINITION&&(t[c.name.value]=c.locations.map(function(e){return e.value}))}return{Directive:function(r,n,o,i,a){var s=r.name.value,c=t[s];if(c){var u=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||N(0),t.kind){case T.OPERATION_DEFINITION:return function(e){switch(e){case"query":return G.QUERY;case"mutation":return G.MUTATION;case"subscription":return G.SUBSCRIPTION}N(0,"Unexpected operation: "+z(e))}(t.operation);case T.FIELD:return G.FIELD;case T.FRAGMENT_SPREAD:return G.FRAGMENT_SPREAD;case T.INLINE_FRAGMENT:return G.INLINE_FRAGMENT;case T.FRAGMENT_DEFINITION:return G.FRAGMENT_DEFINITION;case T.VARIABLE_DEFINITION:return G.VARIABLE_DEFINITION;case T.SCHEMA_DEFINITION:case T.SCHEMA_EXTENSION:return G.SCHEMA;case T.SCALAR_TYPE_DEFINITION:case T.SCALAR_TYPE_EXTENSION:return G.SCALAR;case T.OBJECT_TYPE_DEFINITION:case T.OBJECT_TYPE_EXTENSION:return G.OBJECT;case T.FIELD_DEFINITION:return G.FIELD_DEFINITION;case T.INTERFACE_TYPE_DEFINITION:case T.INTERFACE_TYPE_EXTENSION:return G.INTERFACE;case T.UNION_TYPE_DEFINITION:case T.UNION_TYPE_EXTENSION:return G.UNION;case T.ENUM_TYPE_DEFINITION:case T.ENUM_TYPE_EXTENSION:return G.ENUM;case T.ENUM_VALUE_DEFINITION:return G.ENUM_VALUE;case T.INPUT_OBJECT_TYPE_DEFINITION:case T.INPUT_OBJECT_TYPE_EXTENSION:return G.INPUT_OBJECT;case T.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===T.INPUT_OBJECT_TYPE_DEFINITION?G.INPUT_FIELD_DEFINITION:G.ARGUMENT_DEFINITION}}(a);u&&-1===c.indexOf(u)&&e.reportError(new I('Directive "@'.concat(s,'" may not be used on ').concat(u,"."),r))}else e.reportError(new I('Unknown directive "@'.concat(s,'".'),r))}}}function qn(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():Wr,o=0;o<n.length;o++){var i=n[o];t[i.name]=!i.isRepeatable}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];c.kind===T.DIRECTIVE_DEFINITION&&(t[c.name.value]=!c.repeatable)}var u=Object.create(null),l=Object.create(null);return{enter:function(r){if(null!=r.directives){var n;if(r.kind===T.SCHEMA_DEFINITION||r.kind===T.SCHEMA_EXTENSION)n=u;else if(Cn(r)||xn(r)){var o=r.name.value;void 0===(n=l[o])&&(l[o]=n=Object.create(null))}else n=Object.create(null);for(var i=0,a=r.directives;i<a.length;i++){var s=a[i],c=s.name.value;t[c]&&(n[c]?e.reportError(new I('The directive "@'.concat(c,'" can only be used once at this location.'),[n[c],s])):n[c]=s)}}}}}function Yn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Jn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yn(Object(r),!0).forEach(function(t){Qn(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xn(e){return Jn(Jn({},Zn(e)),{},{Argument:function(t){var r=e.getArgument(),n=e.getFieldDef(),o=e.getParentType();if(!r&&n&&o){var i=t.name.value,a=Fe(i,n.args.map(function(e){return e.name}));e.reportError(new I('Unknown argument "'.concat(i,'" on field "').concat(o.name,".").concat(n.name,'".')+je(a),t))}}})}function Zn(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():Wr,o=0;o<n.length;o++){var i=n[o];t[i.name]=i.args.map(function(e){return e.name})}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];if(c.kind===T.DIRECTIVE_DEFINITION){var u,l=null!==(u=c.arguments)&&void 0!==u?u:[];t[c.name.value]=l.map(function(e){return e.name.value})}}return{Directive:function(r){var n=r.name.value,o=t[n];if(r.arguments&&o)for(var i=0,a=r.arguments;i<a.length;i++){var s=a[i],c=s.name.value;if(-1===o.indexOf(c)){var u=Fe(c,o);e.reportError(new I('Unknown argument "'.concat(c,'" on directive "@').concat(n,'".')+je(u),s))}}return!1}}}function eo(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(r){var n=r.name.value;return t[n]?e.reportError(new I('There can be only one argument named "'.concat(n,'".'),[t[n],r.name])):t[n]=r.name,!1}}}function to(e){return{ListValue:function(t){if(!ft(jt(e.getParentInputType())))return ro(e,t),!1},ObjectValue:function(t){var r=Dt(e.getInputType());if(!dt(r))return ro(e,t),!1;for(var n=Oe(t.fields,function(e){return e.name.value}),o=0,i=Ae(r.getFields());o<i.length;o++){var a=i[o];if(!n[a.name]&&er(a)){var s=z(a.type);e.reportError(new I('Field "'.concat(r.name,".").concat(a.name,'" of required type "').concat(s,'" was not provided.'),t))}}},ObjectField:function(t){var r=Dt(e.getParentInputType());if(!e.getInputType()&&dt(r)){var n=Fe(t.name.value,Object.keys(r.getFields()));e.reportError(new I('Field "'.concat(t.name.value,'" is not defined by type "').concat(r.name,'".')+je(n),t))}},NullValue:function(t){var r=e.getInputType();mt(r)&&e.reportError(new I('Expected value of type "'.concat(z(r),'", found ').concat(Ve(t),"."),t))},EnumValue:function(t){return ro(e,t)},IntValue:function(t){return ro(e,t)},FloatValue:function(t){return ro(e,t)},StringValue:function(t){return ro(e,t)},BooleanValue:function(t){return ro(e,t)}}}function ro(e,t){var r=e.getInputType();if(r){var n=Dt(r);if(wt(n))try{if(void 0===n.parseLiteral(t,void 0)){var o=z(r);e.reportError(new I('Expected value of type "'.concat(o,'", found ').concat(Ve(t),"."),t))}}catch(n){var i=z(r);n instanceof I?e.reportError(n):e.reportError(new I('Expected value of type "'.concat(i,'", found ').concat(Ve(t),"; ")+n.message,t,void 0,void 0,void 0,n))}else{var a=z(r);e.reportError(new I('Expected value of type "'.concat(a,'", found ').concat(Ve(t),"."),t))}}}function no(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function oo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?no(Object(r),!0).forEach(function(t){io(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):no(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ao(e){return oo(oo({},so(e)),{},{Field:{leave:function(t){var r,n=e.getFieldDef();if(!n)return!1;for(var o=Oe(null!==(r=t.arguments)&&void 0!==r?r:[],function(e){return e.name.value}),i=0,a=n.args;i<a.length;i++){var s=a[i];if(!o[s.name]&&Kt(s)){var c=z(s.type);e.reportError(new I('Field "'.concat(n.name,'" argument "').concat(s.name,'" of type "').concat(c,'" is required, but it was not provided.'),t))}}}}})}function so(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():Wr,o=0;o<n.length;o++){var i=n[o];t[i.name]=Oe(i.args.filter(Kt),function(e){return e.name})}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];if(c.kind===T.DIRECTIVE_DEFINITION){var u,l=null!==(u=c.arguments)&&void 0!==u?u:[];t[c.name.value]=Oe(l.filter(co),function(e){return e.name.value})}}return{Directive:{leave:function(r){var n=r.name.value,o=t[n];if(o)for(var i,a=Oe(null!==(i=r.arguments)&&void 0!==i?i:[],function(e){return e.name.value}),s=0,c=Object.keys(o);s<c.length;s++){var u=c[s];if(!a[u]){var l=o[u].type,d=Ze(l)?z(l):Ve(l);e.reportError(new I('Directive "@'.concat(n,'" argument "').concat(u,'" of type "').concat(d,'" is required, but it was not provided.'),r))}}}}}}function co(e){return e.type.kind===T.NON_NULL_TYPE&&null==e.defaultValue}function uo(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(r){for(var n=e.getRecursiveVariableUsages(r),o=0;o<n.length;o++){var i=n[o],a=i.node,s=i.type,c=i.defaultValue,u=a.name.value,l=t[u];if(l&&s){var d=e.getSchema(),p=mn(d,l.type);if(p&&!lo(d,p,l.defaultValue,s,c)){var f=z(p),h=z(s);e.reportError(new I('Variable "$'.concat(u,'" of type "').concat(f,'" used in position expecting type "').concat(h,'".'),[l,a]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function lo(e,t,r,n,o){return mt(n)&&!mt(t)?(null!=r&&r.kind!==T.NULL||void 0!==o)&&rr(e,t,n.ofType):rr(e,t,n)}function po(e){return Array.isArray(e)?e.map(function(e){var t=e[0],r=e[1];return'subfields "'.concat(t,'" conflict because ')+po(r)}).join(" and "):e}function fo(e){var t=new Ao,r=new Map;return{SelectionSet:function(n){for(var o=function(e,t,r,n,o){var i=[],a=bo(e,t,n,o),s=a[0],c=a[1];if(function(e,t,r,n,o){for(var i=0,a=xe(o);i<a.length;i++){var s=a[i],c=s[0],u=s[1];if(u.length>1)for(var l=0;l<u.length;l++)for(var d=l+1;d<u.length;d++){var p=yo(e,r,n,!1,c,u[l],u[d]);p&&t.push(p)}}}(e,i,t,r,s),0!==c.length)for(var u=0;u<c.length;u++){ho(e,i,t,r,!1,s,c[u]);for(var l=u+1;l<c.length;l++)mo(e,i,t,r,!1,c[u],c[l])}return i}(e,r,t,e.getParentType(),n),i=0;i<o.length;i++){var a=o[i],s=a[0],c=s[0],u=s[1],l=a[1],d=a[2],p=po(u);e.reportError(new I('Fields "'.concat(c,'" conflict because ').concat(p,". Use different aliases on the fields to fetch both if this was intentional."),l.concat(d)))}}}}function ho(e,t,r,n,o,i,a){var s=e.getFragment(a);if(s){var c=Eo(e,r,s),u=c[0],l=c[1];if(i!==u){go(e,t,r,n,o,i,u);for(var d=0;d<l.length;d++)ho(e,t,r,n,o,i,l[d])}}}function mo(e,t,r,n,o,i,a){if(i!==a&&!n.has(i,a,o)){n.add(i,a,o);var s=e.getFragment(i),c=e.getFragment(a);if(s&&c){var u=Eo(e,r,s),l=u[0],d=u[1],p=Eo(e,r,c),f=p[0],h=p[1];go(e,t,r,n,o,l,f);for(var m=0;m<h.length;m++)mo(e,t,r,n,o,i,h[m]);for(var g=0;g<d.length;g++)mo(e,t,r,n,o,d[g],a)}}}function go(e,t,r,n,o,i,a){for(var s=0,c=Object.keys(i);s<c.length;s++){var u=c[s],l=a[u];if(l)for(var d=i[u],p=0;p<d.length;p++)for(var f=0;f<l.length;f++){var h=yo(e,r,n,o,u,d[p],l[f]);h&&t.push(h)}}}function yo(e,t,r,n,o,i,a){var s,c,u=i[0],l=i[1],d=i[2],p=a[0],f=a[1],h=a[2],m=n||u!==p&&nt(u)&&nt(p);if(!m){var g,y,v=l.name.value,b=f.name.value;if(v!==b)return[[o,'"'.concat(v,'" and "').concat(b,'" are different fields')],[l],[f]];if(s=null!==(g=l.arguments)&&void 0!==g?g:[],c=null!==(y=f.arguments)&&void 0!==y?y:[],s.length!==c.length||!s.every(function(e){var t,r,n=Se(c,function(t){return t.name.value===e.name.value});return!!n&&(t=e.value,r=n.value,Ve(t)===Ve(r))}))return[[o,"they have differing arguments"],[l],[f]]}var E=null==d?void 0:d.type,w=null==h?void 0:h.type;if(E&&w&&vo(E,w))return[[o,'they return conflicting types "'.concat(z(E),'" and "').concat(z(w),'"')],[l],[f]];var S=l.selectionSet,A=f.selectionSet;if(S&&A){var _=function(e,t,r,n,o,i,a,s){var c=[],u=bo(e,t,o,i),l=u[0],d=u[1],p=bo(e,t,a,s),f=p[0],h=p[1];if(go(e,c,t,r,n,l,f),0!==h.length)for(var m=0;m<h.length;m++)ho(e,c,t,r,n,l,h[m]);if(0!==d.length)for(var g=0;g<d.length;g++)ho(e,c,t,r,n,f,d[g]);for(var y=0;y<d.length;y++)for(var v=0;v<h.length;v++)mo(e,c,t,r,n,d[y],h[v]);return c}(e,t,r,m,Dt(E),S,Dt(w),A);return function(e,t,r,n){if(e.length>0)return[[t,e.map(function(e){return e[0]})],e.reduce(function(e,t){var r=t[1];return e.concat(r)},[r]),e.reduce(function(e,t){var r=t[2];return e.concat(r)},[n])]}(_,o,l,f)}}function vo(e,t){return ft(e)?!ft(t)||vo(e.ofType,t.ofType):!!ft(t)||(mt(e)?!mt(t)||vo(e.ofType,t.ofType):!!mt(t)||!(!wt(e)&&!wt(t))&&e!==t)}function bo(e,t,r,n){var o=t.get(n);if(!o){var i=Object.create(null),a=Object.create(null);wo(e,r,n,i,a),o=[i,Object.keys(a)],t.set(n,o)}return o}function Eo(e,t,r){var n=t.get(r.selectionSet);if(n)return n;var o=mn(e.getSchema(),r.typeCondition);return bo(e,t,o,r.selectionSet)}function wo(e,t,r,n,o){for(var i=0,a=r.selections;i<a.length;i++){var s=a[i];switch(s.kind){case T.FIELD:var c=s.name.value,u=void 0;(nt(t)||it(t))&&(u=t.getFields()[c]);var l=s.alias?s.alias.value:c;n[l]||(n[l]=[]),n[l].push([t,s,u]);break;case T.FRAGMENT_SPREAD:o[s.name.value]=!0;break;case T.INLINE_FRAGMENT:var d=s.typeCondition,p=d?mn(e.getSchema(),d):t;wo(e,p,s.selectionSet,n,o)}}}var So,Ao=function(){function e(){this._data=Object.create(null)}var t=e.prototype;return t.has=function(e,t,r){var n=this._data[e],o=n&&n[t];return void 0!==o&&(!1!==r||!1===o)},t.add=function(e,t,r){this._pairSetAdd(e,t,r),this._pairSetAdd(t,e,r)},t._pairSetAdd=function(e,t,r){var n=this._data[e];n||(n=Object.create(null),this._data[e]=n),n[t]=r},e}();function _o(e){var t=[],r=Object.create(null);return{ObjectValue:{enter:function(){t.push(r),r=Object.create(null)},leave:function(){r=t.pop()}},ObjectField:function(t){var n=t.name.value;r[n]?e.reportError(new I('There can be only one input field named "'.concat(n,'".'),[r[n],t.name])):r[n]=t.name}}}function Po(e){var t,r,n,o=e.getSchema(),i=null!==(t=null!==(r=null!==(n=null==o?void 0:o.astNode)&&void 0!==n?n:null==o?void 0:o.getQueryType())&&void 0!==r?r:null==o?void 0:o.getMutationType())&&void 0!==t?t:null==o?void 0:o.getSubscriptionType(),a=0;return{SchemaDefinition:function(t){i?e.reportError(new I("Cannot define a new schema within a schema extension.",t)):(a>0&&e.reportError(new I("Must provide only one schema definition.",t)),++a)}}}function Co(e){var t=e.getSchema(),r=Object.create(null),n=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){for(var o,i=null!==(o=t.operationTypes)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a],c=s.operation,u=r[c];n[c]?e.reportError(new I("Type for ".concat(c," already defined in the schema. It cannot be redefined."),s)):u?e.reportError(new I("There can be only one ".concat(c," type in schema."),[u,s])):r[c]=s}return!1}}function Io(e){var t=Object.create(null),r=e.getSchema();return{ScalarTypeDefinition:n,ObjectTypeDefinition:n,InterfaceTypeDefinition:n,UnionTypeDefinition:n,EnumTypeDefinition:n,InputObjectTypeDefinition:n};function n(n){var o=n.name.value;if(null==r||!r.getType(o))return t[o]?e.reportError(new I('There can be only one type named "'.concat(o,'".'),[t[o],n.name])):t[o]=n.name,!1;e.reportError(new I('Type "'.concat(o,'" already exists in the schema. It cannot also be defined in this type definition.'),n.name))}}function xo(e){var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{EnumTypeDefinition:o,EnumTypeExtension:o};function o(t){var o,i=t.name.value;n[i]||(n[i]=Object.create(null));for(var a=null!==(o=t.values)&&void 0!==o?o:[],s=n[i],c=0;c<a.length;c++){var u=a[c],l=u.name.value,d=r[i];ut(d)&&d.getValue(l)?e.reportError(new I('Enum value "'.concat(i,".").concat(l,'" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[l]?e.reportError(new I('Enum value "'.concat(i,".").concat(l,'" can only be defined once.'),[s[l],u.name])):s[l]=u.name}return!1}}function Oo(e){var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(t){var o,i=t.name.value;n[i]||(n[i]=Object.create(null));for(var a=null!==(o=t.fields)&&void 0!==o?o:[],s=n[i],c=0;c<a.length;c++){var u=a[c],l=u.name.value;ko(r[i],l)?e.reportError(new I('Field "'.concat(i,".").concat(l,'" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[l]?e.reportError(new I('Field "'.concat(i,".").concat(l,'" can only be defined once.'),[s[l],u.name])):s[l]=u.name}return!1}}function ko(e,t){return!!(nt(e)||it(e)||dt(e))&&null!=e.getFields()[t]}function To(e){var t=Object.create(null),r=e.getSchema();return{DirectiveDefinition:function(n){var o=n.name.value;if(null==r||!r.getDirective(o))return t[o]?e.reportError(new I('There can be only one directive named "@'.concat(o,'".'),[t[o],n.name])):t[o]=n.name,!1;e.reportError(new I('Directive "@'.concat(o,'" already exists in the schema. It cannot be redefined.'),n.name))}}}function No(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(e){for(var t=e.getSchema(),r=Object.create(null),n=0,o=e.getDocument().definitions;n<o.length;n++){var i=o[n];Cn(i)&&(r[i.name.value]=i)}return{ScalarTypeExtension:a,ObjectTypeExtension:a,InterfaceTypeExtension:a,UnionTypeExtension:a,EnumTypeExtension:a,InputObjectTypeExtension:a};function a(n){var o,i,a=n.name.value,s=r[a],c=null==t?void 0:t.getType(a);if(s?o=Ro[s.kind]:c&&(o=tt(i=c)?T.SCALAR_TYPE_EXTENSION:nt(i)?T.OBJECT_TYPE_EXTENSION:it(i)?T.INTERFACE_TYPE_EXTENSION:st(i)?T.UNION_TYPE_EXTENSION:ut(i)?T.ENUM_TYPE_EXTENSION:dt(i)?T.INPUT_OBJECT_TYPE_EXTENSION:void N(0,"Unexpected type: "+z(i))),o){if(o!==n.kind){var u=function(e){switch(e){case T.SCALAR_TYPE_EXTENSION:return"scalar";case T.OBJECT_TYPE_EXTENSION:return"object";case T.INTERFACE_TYPE_EXTENSION:return"interface";case T.UNION_TYPE_EXTENSION:return"union";case T.ENUM_TYPE_EXTENSION:return"enum";case T.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}N(0,"Unexpected kind: "+z(e))}(n.kind);e.reportError(new I("Cannot extend non-".concat(u,' type "').concat(a,'".'),s?[s,n]:n))}}else{var l=Object.keys(r);t&&(l=l.concat(Object.keys(t.getTypeMap())));var d=Fe(a,l);e.reportError(new I('Cannot extend type "'.concat(a,'" because it is not defined.')+je(d),n.name))}}}var Ro=(No(So={},T.SCALAR_TYPE_DEFINITION,T.SCALAR_TYPE_EXTENSION),No(So,T.OBJECT_TYPE_DEFINITION,T.OBJECT_TYPE_EXTENSION),No(So,T.INTERFACE_TYPE_DEFINITION,T.INTERFACE_TYPE_EXTENSION),No(So,T.UNION_TYPE_DEFINITION,T.UNION_TYPE_EXTENSION),No(So,T.ENUM_TYPE_DEFINITION,T.ENUM_TYPE_EXTENSION),No(So,T.INPUT_OBJECT_TYPE_DEFINITION,T.INPUT_OBJECT_TYPE_EXTENSION),So),Mo=Object.freeze([On,kn,Tn,Nn,jn,Mn,Dn,Un,Fn,Ln,zn,Vn,Hn,$n,Wn,Bn,Kn,Gn,qn,Xn,eo,to,ao,uo,fo,_o]),Do=Object.freeze([Po,Co,Io,xo,Oo,To,jn,Gn,qn,jo,Zn,eo,_o,so]);function Uo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Fo=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce(function(e,t){return t.kind===T.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e},Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var r=[e];0!==r.length;)for(var n=0,o=r.pop().selections;n<o.length;n++){var i=o[n];i.kind===T.FRAGMENT_SPREAD?t.push(i):i.selectionSet&&r.push(i.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var r=Object.create(null),n=[e.selectionSet];0!==n.length;)for(var o=n.pop(),i=0,a=this.getFragmentSpreads(o);i<a.length;i++){var s=a[i].name.value;if(!0!==r[s]){r[s]=!0;var c=this.getFragment(s);c&&(t.push(c),n.push(c.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),Lo=function(e){function t(t,r,n){var o;return(o=e.call(this,t,n)||this)._schema=r,o}return Uo(t,e),t.prototype.getSchema=function(){return this._schema},t}(Fo),zo=function(e){function t(t,r,n,o){var i;return(i=e.call(this,r,o)||this)._schema=t,i._typeInfo=n,i._variableUsages=new Map,i._recursiveVariableUsages=new Map,i}Uo(t,e);var r=t.prototype;return r.getSchema=function(){return this._schema},r.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var r=[],n=new gn(this._schema);be(e,vn(n,{VariableDefinition:function(){return!1},Variable:function(e){r.push({node:e,type:n.getInputType(),defaultValue:n.getDefaultValue()})}})),t=r,this._variableUsages.set(e,t)}return t},r.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var r=0,n=this.getRecursivelyReferencedFragments(e);r<n.length;r++){var o=n[r];t=t.concat(this.getVariableUsages(o))}this._recursiveVariableUsages.set(e,t)}return t},r.getType=function(){return this._typeInfo.getType()},r.getParentType=function(){return this._typeInfo.getParentType()},r.getInputType=function(){return this._typeInfo.getInputType()},r.getParentInputType=function(){return this._typeInfo.getParentInputType()},r.getFieldDef=function(){return this._typeInfo.getFieldDef()},r.getDirective=function(){return this._typeInfo.getDirective()},r.getArgument=function(){return this._typeInfo.getArgument()},r.getEnumValue=function(){return this._typeInfo.getEnumValue()},t}(Fo);function Vo(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Mo,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new gn(e),o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||H(0,"Must provide document."),Xr(e);var i=Object.freeze({}),a=[],s=new zo(e,t,n,function(e){if(null!=o.maxErrors&&a.length>=o.maxErrors)throw a.push(new I("Too many validation errors, error limit reached. Validation aborted.")),i;a.push(e)}),c=Ee(r.map(function(e){return e(s)}));try{be(t,vn(n,c))}catch(e){if(e!==i)throw e}return a}function Ho(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Do,n=[],o=new Lo(e,t,function(e){n.push(e)});return be(e,Ee(r.map(function(e){return e(o)}))),n}function $o(e,t,r){return{prev:e,key:t,typename:r}}function Wo(e){for(var t=[],r=e;r;)t.push(r.key),r=r.prev;return t.reverse()}function Bo(e,t){if("query"===t.operation){var r=e.getQueryType();if(!r)throw new I("Schema does not define the required query root type.",t);return r}if("mutation"===t.operation){var n=e.getMutationType();if(!n)throw new I("Schema is not configured for mutations.",t);return n}if("subscription"===t.operation){var o=e.getSubscriptionType();if(!o)throw new I("Schema is not configured for subscriptions.",t);return o}throw new I("Can only have query, mutation and subscription operations.",t)}function Ko(e){return e.map(function(e){return"number"==typeof e?"["+e.toString()+"]":"."+e}).join("")}function Go(e,t,r){if(e){if(e.kind===T.VARIABLE){var n=e.name.value;if(null==r||void 0===r[n])return;var o=r[n];if(null===o&&mt(t))return;return o}if(mt(t)){if(e.kind===T.NULL)return;return Go(e,t.ofType,r)}if(e.kind===T.NULL)return null;if(ft(t)){var i=t.ofType;if(e.kind===T.LIST){for(var a=[],s=0,c=e.values;s<c.length;s++){var u=c[s];if(qo(u,r)){if(mt(i))return;a.push(null)}else{var l=Go(u,i,r);if(void 0===l)return;a.push(l)}}return a}var d=Go(e,i,r);if(void 0===d)return;return[d]}if(dt(t)){if(e.kind!==T.OBJECT)return;for(var p=Object.create(null),f=Oe(e.fields,function(e){return e.name.value}),h=0,m=Ae(t.getFields());h<m.length;h++){var g=m[h],y=f[g.name];if(y&&!qo(y.value,r)){var v=Go(y.value,g.type,r);if(void 0===v)return;p[g.name]=v}else if(void 0!==g.defaultValue)p[g.name]=g.defaultValue;else if(mt(g.type))return}return p}if(wt(t)){var b;try{b=t.parseLiteral(e,r)}catch(e){return}if(void 0===b)return;return b}N(0,"Unexpected input type: "+z(t))}}function qo(e,t){return e.kind===T.VARIABLE&&(null==t||void 0===t[e.name.value])}function Yo(e,t){return Qo(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jo)}function Jo(e,t,r){var n="Invalid value "+z(t);throw e.length>0&&(n+=' at "value'.concat(Ko(e),'"')),r.message=n+": "+r.message,r}function Qo(e,t,r,n){if(mt(t))return null!=e?Qo(e,t.ofType,r,n):void r(Wo(n),e,new I('Expected non-nullable type "'.concat(z(t),'" not to be null.')));if(null==e)return null;if(ft(t)){var o=t.ofType,i=sr(e,function(e,t){var i=$o(n,t,void 0);return Qo(e,o,r,i)});return null!=i?i:[Qo(e,o,r,n)]}if(dt(t)){if(!s(e))return void r(Wo(n),e,new I('Expected type "'.concat(t.name,'" to be an object.')));for(var a={},c=t.getFields(),u=0,l=Ae(c);u<l.length;u++){var d=l[u],p=e[d.name];if(void 0!==p)a[d.name]=Qo(p,d.type,r,$o(n,d.name,t.name));else if(void 0!==d.defaultValue)a[d.name]=d.defaultValue;else if(mt(d.type)){var f=z(d.type);r(Wo(n),e,new I('Field "'.concat(d.name,'" of required type "').concat(f,'" was not provided.')))}}for(var h=0,m=Object.keys(e);h<m.length;h++){var g=m[h];if(!c[g]){var y=Fe(g,Object.keys(t.getFields()));r(Wo(n),e,new I('Field "'.concat(g,'" is not defined by type "').concat(t.name,'".')+je(y)))}}return a}if(wt(t)){var v;try{v=t.parseValue(e)}catch(o){return void r(Wo(n),e,o instanceof I?o:new I('Expected type "'.concat(t.name,'". ')+o.message,void 0,void 0,void 0,void 0,o))}return void 0===v&&r(Wo(n),e,new I('Expected type "'.concat(t.name,'".'))),v}N(0,"Unexpected input type: "+z(t))}function Xo(e,t,r){for(var n,o={},i=Oe(null!==(n=t.arguments)&&void 0!==n?n:[],function(e){return e.name.value}),a=0,s=e.args;a<s.length;a++){var c=s[a],u=c.name,l=c.type,d=i[u];if(d){var p=d.value,f=p.kind===T.NULL;if(p.kind===T.VARIABLE){var h=p.name.value;if(null==r||!ei(r,h)){if(void 0!==c.defaultValue)o[u]=c.defaultValue;else if(mt(l))throw new I('Argument "'.concat(u,'" of required type "').concat(z(l),'" ')+'was provided the variable "$'.concat(h,'" which was not provided a runtime value.'),p);continue}f=null==r[h]}if(f&&mt(l))throw new I('Argument "'.concat(u,'" of non-null type "').concat(z(l),'" ')+"must not be null.",p);var m=Go(p,l,r);if(void 0===m)throw new I('Argument "'.concat(u,'" has invalid value ').concat(Ve(p),"."),p);o[u]=m}else if(void 0!==c.defaultValue)o[u]=c.defaultValue;else if(mt(l))throw new I('Argument "'.concat(u,'" of required type "').concat(z(l),'" ')+"was not provided.",t)}return o}function Zo(e,t,r){var n=t.directives&&Se(t.directives,function(t){return t.name.value===e.name});if(n)return Xo(e,n,r)}function ei(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ti(e,t,r,n,o,i,a,s){return ni(1===arguments.length?e:{schema:e,document:t,rootValue:r,contextValue:n,variableValues:o,operationName:i,fieldResolver:a,typeResolver:s})}function ri(e){var t=ni(e);if(i(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function ni(e){var t=e.schema,r=e.document,n=e.rootValue,o=e.contextValue,a=e.variableValues,s=e.operationName,c=e.fieldResolver,u=e.typeResolver;ii(t,r,a);var l=ai(t,r,n,o,a,s,c,u);if(Array.isArray(l))return{errors:l};var d=function(e,t,r){var n=Bo(e.schema,t),o=ci(e,n,t.selectionSet,Object.create(null),Object.create(null)),a=void 0;try{var s="mutation"===t.operation?function(e,t,r,n,o){return a=Object.keys(o),s=function(a,s){var c=o[s],u=$o(n,s,t.name),l=pi(e,t,r,c,u);return void 0===l?a:i(l)?l.then(function(e){return a[s]=e,a}):(a[s]=l,a)},c=Object.create(null),a.reduce(function(e,t){return i(e)?e.then(function(e){return s(e,t)}):s(e,t)},c);var a,s,c}(e,n,r,a,o):si(e,n,r,a,o);return i(s)?s.then(void 0,function(t){return e.errors.push(t),Promise.resolve(null)}):s}catch(t){return e.errors.push(t),null}}(l,l.operation,n);return oi(l,d)}function oi(e,t){return i(t)?t.then(function(t){return oi(e,t)}):0===e.errors.length?{data:t}:{errors:e.errors,data:t}}function ii(e,t,r){t||H(0,"Must provide document."),Xr(e),null==r||s(r)||H(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function ai(e,t,r,n,o,i,a,s){for(var c,u,l,d=Object.create(null),p=0,f=t.definitions;p<f.length;p++){var h=f[p];switch(h.kind){case T.OPERATION_DEFINITION:if(null==i){if(void 0!==l)return[new I("Must provide operation name if query contains multiple operations.")];l=h}else(null===(c=h.name)||void 0===c?void 0:c.value)===i&&(l=h);break;case T.FRAGMENT_DEFINITION:d[h.name.value]=h}}if(!l)return null!=i?[new I('Unknown operation named "'.concat(i,'".'))]:[new I("Must provide an operation.")];var m=function(e,t,r,n){var o=[],i=null==n?void 0:n.maxErrors;try{var a=function(e,t,r,n){for(var o={},i=function(i){var a=t[i],s=a.variable.name.value,c=mn(e,a.type);if(!yt(c)){var u=Ve(a.type);return n(new I('Variable "$'.concat(s,'" expected value of type "').concat(u,'" which cannot be used as an input type.'),a.type)),"continue"}if(!ei(r,s)){if(a.defaultValue)o[s]=Go(a.defaultValue,c);else if(mt(c)){var l=z(c);n(new I('Variable "$'.concat(s,'" of required type "').concat(l,'" was not provided.'),a))}return"continue"}var d=r[s];if(null===d&&mt(c)){var p=z(c);return n(new I('Variable "$'.concat(s,'" of non-null type "').concat(p,'" must not be null.'),a)),"continue"}o[s]=Yo(d,c,function(e,t,r){var o='Variable "$'.concat(s,'" got invalid value ')+z(t);e.length>0&&(o+=' at "'.concat(s).concat(Ko(e),'"')),n(new I(o+"; "+r.message,a,void 0,void 0,void 0,r.originalError))})},a=0;a<t.length;a++)i(a);return o}(e,t,r,function(e){if(null!=i&&o.length>=i)throw new I("Too many errors processing variables, error limit reached. Execution aborted.");o.push(e)});if(0===o.length)return{coerced:a}}catch(e){o.push(e)}return{errors:o}}(e,null!==(u=l.variableDefinitions)&&void 0!==u?u:[],null!=o?o:{},{maxErrors:50});return m.errors?m.errors:{schema:e,fragments:d,rootValue:r,contextValue:n,operation:l,variableValues:m.coerced,fieldResolver:null!=a?a:_i,typeResolver:null!=s?s:Ai,errors:[]}}function si(e,t,r,n,o){for(var a,s,c,u=Object.create(null),l=!1,d=0,p=Object.keys(o);d<p.length;d++){var f=p[d],h=pi(e,t,r,o[f],$o(n,f,t.name));void 0!==h&&(u[f]=h,i(h)&&(l=!0))}return l?(a=u,c=(s=Object.keys(a)).map(function(e){return a[e]}),Promise.all(c).then(function(e){return e.reduce(function(e,t,r){return e[s[r]]=t,e},Object.create(null))})):u}function ci(e,t,r,n,o){for(var i=0,a=r.selections;i<a.length;i++){var s=a[i];switch(s.kind){case T.FIELD:if(!ui(e,s))continue;var c=di(s);n[c]||(n[c]=[]),n[c].push(s);break;case T.INLINE_FRAGMENT:if(!ui(e,s)||!li(e,s,t))continue;ci(e,t,s.selectionSet,n,o);break;case T.FRAGMENT_SPREAD:var u=s.name.value;if(o[u]||!ui(e,s))continue;o[u]=!0;var l=e.fragments[u];if(!l||!li(e,l,t))continue;ci(e,t,l.selectionSet,n,o)}}return n}function ui(e,t){var r=Zo(zr,t,e.variableValues);if(!0===(null==r?void 0:r.if))return!1;var n=Zo(Lr,t,e.variableValues);return!1!==(null==n?void 0:n.if)}function li(e,t,r){var n=t.typeCondition;if(!n)return!0;var o=mn(e.schema,n);return o===r||!!Pt(o)&&e.schema.isSubType(o,r)}function di(e){return e.alias?e.alias.value:e.name.value}function pi(e,t,r,n,o){var a,s=n[0].name.value,c=Pi(e.schema,t,s);if(c){var u=c.type,l=null!==(a=c.resolve)&&void 0!==a?a:e.fieldResolver,d=fi(e,c,n,t,o);try{var p,f=l(r,Xo(c,n[0],e.variableValues),e.contextValue,d);return p=i(f)?f.then(function(t){return mi(e,u,n,d,o,t)}):mi(e,u,n,d,o,f),i(p)?p.then(void 0,function(t){return hi(_e(t,n,Wo(o)),u,e)}):p}catch(t){return hi(_e(t,n,Wo(o)),u,e)}}}function fi(e,t,r,n,o){return{fieldName:t.name,fieldNodes:r,returnType:t.type,parentType:n,path:o,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function hi(e,t,r){if(mt(t))throw e;return r.errors.push(e),null}function mi(e,t,r,n,o,a){if(a instanceof Error)throw a;if(mt(t)){var s=mi(e,t.ofType,r,n,o,a);if(null===s)throw new Error("Cannot return null for non-nullable field ".concat(n.parentType.name,".").concat(n.fieldName,"."));return s}return null==a?null:ft(t)?function(e,t,r,n,o,a){var s=t.ofType,c=!1,u=sr(a,function(t,a){var u=$o(o,a,void 0);try{var l;return l=i(t)?t.then(function(t){return mi(e,s,r,n,u,t)}):mi(e,s,r,n,u,t),i(l)?(c=!0,l.then(void 0,function(t){return hi(_e(t,r,Wo(u)),s,e)})):l}catch(t){return hi(_e(t,r,Wo(u)),s,e)}});if(null==u)throw new I('Expected Iterable, but did not find one for field "'.concat(n.parentType.name,".").concat(n.fieldName,'".'));return c?Promise.all(u):u}(e,t,r,n,o,a):wt(t)?function(e,t){var r=e.serialize(t);if(void 0===r)throw new Error('Expected a value of type "'.concat(z(e),'" but ')+"received: ".concat(z(t)));return r}(t,a):Pt(t)?function(e,t,r,n,o,a){var s,c=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,u=e.contextValue,l=c(a,u,n,t);return i(l)?l.then(function(i){return yi(e,gi(i,e,t,r,n,a),r,n,o,a)}):yi(e,gi(l,e,t,r,n,a),r,n,o,a)}(e,t,r,n,o,a):nt(t)?yi(e,t,r,n,o,a):void N(0,"Cannot complete value of unexpected output type: "+z(t))}function gi(e,t,r,n,o,i){if(null==e)throw new I('Abstract type "'.concat(r.name,'" must resolve to an Object type at runtime for field "').concat(o.parentType.name,".").concat(o.fieldName,'". Either the "').concat(r.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),n);var a=Rt(e)?e.name:e;if("string"!=typeof a)throw new I('Abstract type "'.concat(r.name,'" must resolve to an Object type at runtime for field "').concat(o.parentType.name,".").concat(o.fieldName,'" with ')+"value ".concat(z(i),', received "').concat(z(e),'".'));var s=t.schema.getType(a);if(null==s)throw new I('Abstract type "'.concat(r.name,'" was resolve to a type "').concat(a,'" that does not exist inside schema.'),n);if(!nt(s))throw new I('Abstract type "'.concat(r.name,'" was resolve to a non-object type "').concat(a,'".'),n);if(!t.schema.isSubType(r,s))throw new I('Runtime Object type "'.concat(s.name,'" is not a possible type for "').concat(r.name,'".'),n);return s}function yi(e,t,r,n,o,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,n);if(i(s))return s.then(function(n){if(!n)throw vi(t,a,r);return bi(e,t,r,o,a)});if(!s)throw vi(t,a,r)}return bi(e,t,r,o,a)}function vi(e,t,r){return new I('Expected value of type "'.concat(e.name,'" but got: ').concat(z(t),"."),r)}function bi(e,t,r,n,o){return si(e,t,o,n,Si(e,t,r))}var Ei,wi,Si=(Ei=function(e,t,r){for(var n=Object.create(null),o=Object.create(null),i=0;i<r.length;i++){var a=r[i];a.selectionSet&&(n=ci(e,t,a.selectionSet,n,o))}return n},function(e,t,r){wi||(wi=new WeakMap);var n,o=wi.get(e);if(o){if(n=o.get(t)){var i=n.get(r);if(void 0!==i)return i}}else o=new WeakMap,wi.set(e,o);n||(n=new WeakMap,o.set(t,n));var a=Ei(e,t,r);return n.set(r,a),a}),Ai=function(e,t,r,n){if(s(e)&&"string"==typeof e.__typename)return e.__typename;for(var o=r.schema.getPossibleTypes(n),a=[],c=0;c<o.length;c++){var u=o[c];if(u.isTypeOf){var l=u.isTypeOf(e,t,r);if(i(l))a[c]=l;else if(l)return u.name}}return a.length?Promise.all(a).then(function(e){for(var t=0;t<e.length;t++)if(e[t])return o[t].name}):void 0},_i=function(e,t,r,n){if(s(e)||"function"==typeof e){var o=e[n.fieldName];return"function"==typeof o?e[n.fieldName](t,r,n):o}};function Pi(e,t,r){return r===kr.name&&e.getQueryType()===t?kr:r===Tr.name&&e.getQueryType()===t?Tr:r===Nr.name?Nr:t.getFields()[r]}function Ci(e,t,r,n,o,i,a,s){var c=arguments;return new Promise(function(u){return u(xi(1===c.length?e:{schema:e,source:t,rootValue:r,contextValue:n,variableValues:o,operationName:i,fieldResolver:a,typeResolver:s}))})}function Ii(e,t,r,n,o,a,s,c){var u=xi(1===arguments.length?e:{schema:e,source:t,rootValue:r,contextValue:n,variableValues:o,operationName:a,fieldResolver:s,typeResolver:c});if(i(u))throw new Error("GraphQL execution failed to complete synchronously.");return u}function xi(e){var t,r=e.schema,n=e.source,o=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,c=e.fieldResolver,u=e.typeResolver,l=Qr(r);if(l.length>0)return{errors:l};try{t=de(n)}catch(e){return{errors:[e]}}var d=Vo(r,t);return d.length>0?{errors:d}:ti({schema:r,document:t,rootValue:o,contextValue:i,variableValues:a,operationName:s,fieldResolver:c,typeResolver:u})}function Oi(e){return"function"==typeof(null==e?void 0:e[u])}function ki(e,t){return new Promise(function(r){return r(t(e))})}function Ti(e){return{value:e,done:!1}}function Ni(e,t,r,n,o,i,a,s){return function(e){var t=e.schema,r=e.document,n=e.rootValue,o=e.contextValue,i=e.variableValues,a=e.operationName,s=e.fieldResolver,c=e.subscribeFieldResolver,l=Ri(t,r,n,o,i,a,c),d=function(e){return ti({schema:t,document:r,rootValue:e,contextValue:o,variableValues:i,operationName:a,fieldResolver:s})};return l.then(function(e){return Oi(e)?function(e,t,r){var n,o,i,a,s,c,l=e[u].call(e);function d(e){return e.done?e:ki(e.value,t).then(Ti,o)}if("function"==typeof l.return&&(n=l.return,o=function(e){var t=function(){return Promise.reject(e)};return n.call(l).then(t,t)}),r){var p=r;i=function(e){return ki(e,p).then(Ti,o)}}return c=function(){return this},(s=u)in(a={next:function(){return l.next().then(d,i)},return:function(){return n?n.call(l).then(d,i):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"==typeof l.throw?l.throw(e).then(d,i):Promise.reject(e).catch(o)}})?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,a}(e,d,ji):e})}(1===arguments.length?e:{schema:e,document:t,rootValue:r,contextValue:n,variableValues:o,operationName:i,fieldResolver:a,subscribeFieldResolver:s})}function ji(e){if(e instanceof I)return{errors:[e]};throw e}function Ri(e,t,r,n,o,i,a){return ii(e,t,o),new Promise(function(s){var c=ai(e,t,r,n,o,i,a);s(Array.isArray(c)?{errors:c}:function(e){var t=e.schema,r=e.operation,n=e.variableValues,o=e.rootValue,i=Bo(t,r),a=ci(e,i,r.selectionSet,Object.create(null),Object.create(null)),s=Object.keys(a)[0],c=a[s],u=c[0].name.value,l=Pi(t,i,u);if(!l)throw new I('The subscription field "'.concat(u,'" is not defined.'),c);var d=$o(void 0,s,i.name),p=fi(e,l,c,i,d);return new Promise(function(t){var r,i=Xo(l,c[0],n),a=e.contextValue;t((null!==(r=l.subscribe)&&void 0!==r?r:e.fieldResolver)(o,i,a,p))}).then(function(e){if(e instanceof Error)throw _e(e,c,Wo(d));if(!Oi(e))throw new Error("Subscription field must return Async Iterable. "+"Received: ".concat(z(e),"."));return e},function(e){throw _e(e,c,Wo(d))})}(c))}).catch(ji)}function Mi(e){return{Field:function(t){var r=e.getFieldDef(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var o=e.getParentType();null!=o||N(0),e.reportError(new I("The field ".concat(o.name,".").concat(r.name," is deprecated. ").concat(n),t))}},Argument:function(t){var r=e.getArgument(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var o=e.getDirective();if(null!=o)e.reportError(new I('Directive "@'.concat(o.name,'" argument "').concat(r.name,'" is deprecated. ').concat(n),t));else{var i=e.getParentType(),a=e.getFieldDef();null!=i&&null!=a||N(0),e.reportError(new I('Field "'.concat(i.name,".").concat(a.name,'" argument "').concat(r.name,'" is deprecated. ').concat(n),t))}}},ObjectField:function(t){var r=Dt(e.getParentInputType());if(dt(r)){var n=r.getFields()[t.name.value],o=null==n?void 0:n.deprecationReason;null!=o&&e.reportError(new I("The input field ".concat(r.name,".").concat(n.name," is deprecated. ").concat(o),t))}},EnumValue:function(t){var r=e.getEnumValue(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var o=Dt(e.getInputType());null!=o||N(0),e.reportError(new I('The enum value "'.concat(o.name,".").concat(r.name,'" is deprecated. ').concat(n),t))}}}}function Di(e){return{Field:function(t){var r=Dt(e.getType());r&&Rr(r)&&e.reportError(new I('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),t))}}}function Ui(e){var t;e||H(0,"Received null or undefined error.");var r=null!==(t=e.message)&&void 0!==t?t:"An unknown error occurred.",n=e.locations,o=e.path,i=e.extensions;return i&&Object.keys(i).length>0?{message:r,locations:n,path:o,extensions:i}:{message:r,locations:n,path:o}}function Fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){var t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fi(Object(r),!0).forEach(function(t){Li(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fi(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e),r=t.descriptions?"description":"",n=t.specifiedByUrl?"specifiedByUrl":"",o=t.directiveIsRepeatable?"isRepeatable":"",i=t.schemaDescription?r:"";function a(e){return t.inputValueDeprecation?e:""}return"\n query IntrospectionQuery {\n __schema {\n ".concat(i,"\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ").concat(r,"\n ").concat(o,"\n locations\n args").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(r,"\n ").concat(n,"\n fields(includeDeprecated: true) {\n name\n ").concat(r,"\n args").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(r,"\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(r,"\n type { ...TypeRef }\n defaultValue\n ").concat(a("isDeprecated"),"\n ").concat(a("deprecationReason"),"\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n ")}function Vi(e,t){for(var r=null,n=0,o=e.definitions;n<o.length;n++){var i,a=o[n];if(a.kind===T.OPERATION_DEFINITION)if(null==t){if(r)return null;r=a}else if((null===(i=a.name)||void 0===i?void 0:i.value)===t)return a}return r}function Hi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function $i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e,t){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hi(Object(r),!0).forEach(function(t){$i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hi(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),n=ri({schema:e,document:de(zi(r))});return!n.errors&&n.data||N(0),n.data}function Bi(e,t){s(e)&&s(e.__schema)||H(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat(z(e),"."));for(var r=e.__schema,n=Ne(r.types,function(e){return e.name},function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case xr.SCALAR:return new Lt({name:(n=e).name,description:n.description,specifiedByUrl:n.specifiedByUrl});case xr.OBJECT:return new zt({name:(r=e).name,description:r.description,interfaces:function(){return g(r)},fields:function(){return y(r)}});case xr.INTERFACE:return new Gt({name:(t=e).name,description:t.description,interfaces:function(){return g(t)},fields:function(){return y(t)}});case xr.UNION:return function(e){if(!e.possibleTypes){var t=z(e);throw new Error("Introspection result missing possibleTypes: ".concat(t,"."))}return new qt({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(h)}})}(e);case xr.ENUM:return function(e){if(!e.enumValues){var t=z(e);throw new Error("Introspection result missing enumValues: ".concat(t,"."))}return new Jt({name:e.name,description:e.description,values:Ne(e.enumValues,function(e){return e.name},function(e){return{description:e.description,deprecationReason:e.deprecationReason}})})}(e);case xr.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=z(e);throw new Error("Introspection result missing inputFields: ".concat(t,"."))}return new Xt({name:e.name,description:e.description,fields:function(){return b(e.inputFields)}})}(e)}var t,r,n,o=z(e);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(o,"."))}(e)}),o=0,i=[].concat(yr,jr);o<i.length;o++){var a=i[o];n[a.name]&&(n[a.name]=a)}var c=r.queryType?h(r.queryType):null,u=r.mutationType?h(r.mutationType):null,l=r.subscriptionType?h(r.subscriptionType):null,d=r.directives?r.directives.map(function(e){if(!e.args){var t=z(e);throw new Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){var r=z(e);throw new Error("Introspection result missing directive locations: ".concat(r,"."))}return new Fr({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:b(e.args)})}):[];return new Yr({description:r.description,query:c,mutation:u,subscription:l,types:Ae(n),directives:d,assumeValid:null==t?void 0:t.assumeValid});function p(e){if(e.kind===xr.LIST){var t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new It(p(t))}if(e.kind===xr.NON_NULL){var r=e.ofType;if(!r)throw new Error("Decorated type deeper than introspection query.");return new xt(Nt(p(r)))}return f(e)}function f(e){var t=e.name;if(!t)throw new Error("Unknown type reference: ".concat(z(e),"."));var r=n[t];if(!r)throw new Error("Invalid or incomplete schema, unknown type: ".concat(t,". Ensure that a full introspection query is used in order to build a client schema."));return r}function h(e){return ot(f(e))}function m(e){return at(f(e))}function g(e){if(null===e.interfaces&&e.kind===xr.INTERFACE)return[];if(!e.interfaces){var t=z(e);throw new Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(m)}function y(e){if(!e.fields)throw new Error("Introspection result missing fields: ".concat(z(e),"."));return Ne(e.fields,function(e){return e.name},v)}function v(e){var t=p(e.type);if(!bt(t)){var r=z(t);throw new Error("Introspection must provide output type for fields, but received: ".concat(r,"."))}if(!e.args){var n=z(e);throw new Error("Introspection result missing field args: ".concat(n,"."))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:b(e.args)}}function b(e){return Ne(e,function(e){return e.name},E)}function E(e){var t=p(e.type);if(!yt(t)){var r=z(t);throw new Error("Introspection must provide input type for arguments, but received: ".concat(r,"."))}var n=null!=e.defaultValue?Go(pe(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}function Ki(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Gi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ki(Object(r),!0).forEach(function(t){qi(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ki(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e,t,r){qr(e),null!=t&&t.kind===T.DOCUMENT||H(0,"Must provide valid Document AST."),!0!==(null==r?void 0:r.assumeValid)&&!0!==(null==r?void 0:r.assumeValidSDL)&&function(e,t){var r=Ho(e,t);if(0!==r.length)throw new Error(r.map(function(e){return e.message}).join("\n\n"))}(t,e);var n=e.toConfig(),o=Ji(n,t,r);return n===o?e:new Yr(o)}function Ji(e,t,r){for(var n,o,i,a,s,c=[],u=Object.create(null),l=[],d=[],p=0,f=t.definitions;p<f.length;p++){var h=f[p];if(h.kind===T.SCHEMA_DEFINITION)s=h;else if(h.kind===T.SCHEMA_EXTENSION)d.push(h);else if(Cn(h))c.push(h);else if(xn(h)){var m=h.name.value,g=u[m];u[m]=g?g.concat([h]):[h]}else h.kind===T.DIRECTIVE_DEFINITION&&l.push(h)}if(0===Object.keys(u).length&&0===c.length&&0===l.length&&0===d.length&&null==s)return e;for(var y=Object.create(null),v=0,b=e.types;v<b.length;v++){var E=b[v];y[E.name]=x(E)}for(var w=0;w<c.length;w++){var S,A=c[w],_=A.name.value;y[_]=null!==(S=Qi[_])&&void 0!==S?S:$(A)}var P=Gi(Gi({query:e.query&&I(e.query),mutation:e.mutation&&I(e.mutation),subscription:e.subscription&&I(e.subscription)},s&&j([s])),j(d));return Gi(Gi({description:null===(n=s)||void 0===n||null===(o=n.description)||void 0===o?void 0:o.value},P),{},{types:Ae(y),directives:[].concat(e.directives.map(function(e){var t=e.toConfig();return new Fr(Gi(Gi({},t),{},{args:ke(t.args,k)}))}),l.map(function(e){var t=e.locations.map(function(e){return e.value});return new Fr({name:e.name.value,description:ea(e,r),locations:t,isRepeatable:e.repeatable,args:U(e.arguments),astNode:e})})),extensions:void 0,astNode:null!==(i=s)&&void 0!==i?i:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!==(a=null==r?void 0:r.assumeValid)&&void 0!==a&&a});function C(e){return ft(e)?new It(C(e.ofType)):mt(e)?new xt(C(e.ofType)):I(e)}function I(e){return y[e.name]}function x(e){return Rr(e)||vr(e)?e:tt(e)?function(e){for(var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[],o=r.specifiedByUrl,i=0;i<n.length;i++){var a;o=null!==(a=Zi(n[i]))&&void 0!==a?a:o}return new Lt(Gi(Gi({},r),{},{specifiedByUrl:o,extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):nt(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[];return new zt(Gi(Gi({},r),{},{interfaces:function(){return[].concat(e.getInterfaces().map(I),V(n))},fields:function(){return Gi(Gi({},ke(r.fields,O)),D(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):it(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[];return new Gt(Gi(Gi({},r),{},{interfaces:function(){return[].concat(e.getInterfaces().map(I),V(n))},fields:function(){return Gi(Gi({},ke(r.fields,O)),D(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):st(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[];return new qt(Gi(Gi({},r),{},{types:function(){return[].concat(e.getTypes().map(I),H(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):ut(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[e.name])&&void 0!==t?t:[];return new Jt(Gi(Gi({},r),{},{values:Gi(Gi({},r.values),L(n)),extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):dt(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[];return new Xt(Gi(Gi({},r),{},{fields:function(){return Gi(Gi({},ke(r.fields,function(e){return Gi(Gi({},e),{},{type:C(e.type)})})),F(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):void N(0,"Unexpected type: "+z(e))}function O(e){return Gi(Gi({},e),{},{type:C(e.type),args:ke(e.args,k)})}function k(e){return Gi(Gi({},e),{},{type:C(e.type)})}function j(e){for(var t={},r=0;r<e.length;r++)for(var n,o=null!==(n=e[r].operationTypes)&&void 0!==n?n:[],i=0;i<o.length;i++){var a=o[i];t[a.operation]=R(a.type)}return t}function R(e){var t,r=e.name.value,n=null!==(t=Qi[r])&&void 0!==t?t:y[r];if(void 0===n)throw new Error('Unknown type: "'.concat(r,'".'));return n}function M(e){return e.kind===T.LIST_TYPE?new It(M(e.type)):e.kind===T.NON_NULL_TYPE?new xt(M(e.type)):R(e)}function D(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var o,i=null!==(o=e[n].fields)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a];t[s.name.value]={type:M(s.type),description:ea(s,r),args:U(s.arguments),deprecationReason:Xi(s),astNode:s}}return t}function U(e){for(var t=null!=e?e:[],n=Object.create(null),o=0;o<t.length;o++){var i=t[o],a=M(i.type);n[i.name.value]={type:a,description:ea(i,r),defaultValue:Go(i.defaultValue,a),deprecationReason:Xi(i),astNode:i}}return n}function F(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var o,i=null!==(o=e[n].fields)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a],c=M(s.type);t[s.name.value]={type:c,description:ea(s,r),defaultValue:Go(s.defaultValue,c),deprecationReason:Xi(s),astNode:s}}return t}function L(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var o,i=null!==(o=e[n].values)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a];t[s.name.value]={description:ea(s,r),deprecationReason:Xi(s),astNode:s}}return t}function V(e){for(var t=[],r=0;r<e.length;r++)for(var n,o=null!==(n=e[r].interfaces)&&void 0!==n?n:[],i=0;i<o.length;i++){var a=o[i];t.push(R(a))}return t}function H(e){for(var t=[],r=0;r<e.length;r++)for(var n,o=null!==(n=e[r].types)&&void 0!==n?n:[],i=0;i<o.length;i++){var a=o[i];t.push(R(a))}return t}function $(e){var t,n=e.name.value,o=ea(e,r),i=null!==(t=u[n])&&void 0!==t?t:[];switch(e.kind){case T.OBJECT_TYPE_DEFINITION:var a=i,s=[e].concat(a);return new zt({name:n,description:o,interfaces:function(){return V(s)},fields:function(){return D(s)},astNode:e,extensionASTNodes:a});case T.INTERFACE_TYPE_DEFINITION:var c=i,l=[e].concat(c);return new Gt({name:n,description:o,interfaces:function(){return V(l)},fields:function(){return D(l)},astNode:e,extensionASTNodes:c});case T.ENUM_TYPE_DEFINITION:var d=i,p=[e].concat(d);return new Jt({name:n,description:o,values:L(p),astNode:e,extensionASTNodes:d});case T.UNION_TYPE_DEFINITION:var f=i,h=[e].concat(f);return new qt({name:n,description:o,types:function(){return H(h)},astNode:e,extensionASTNodes:f});case T.SCALAR_TYPE_DEFINITION:var m=i;return new Lt({name:n,description:o,specifiedByUrl:Zi(e),astNode:e,extensionASTNodes:m});case T.INPUT_OBJECT_TYPE_DEFINITION:var g=i,y=[e].concat(g);return new Xt({name:n,description:o,fields:function(){return F(y)},astNode:e,extensionASTNodes:g})}N(0,"Unexpected type definition node: "+z(e))}}var Qi=Oe(yr.concat(jr),function(e){return e.name});function Xi(e){var t=Zo(Hr,e);return null==t?void 0:t.reason}function Zi(e){var t=Zo($r,e);return null==t?void 0:t.url}function ea(e,t){if(e.description)return e.description.value;if(!0===(null==t?void 0:t.commentDescriptions)){var r=function(e){var t=e.loc;if(t){for(var r=[],n=t.startToken.prev;null!=n&&n.kind===F.COMMENT&&n.next&&n.prev&&n.line+1===n.next.line&&n.line!==n.prev.line;){var o=String(n.value);r.push(o),n=n.prev}return r.length>0?r.reverse().join("\n"):void 0}}(e);if(void 0!==r)return q("\n"+r)}}function ta(e,t){null!=e&&e.kind===T.DOCUMENT||H(0,"Must provide valid Document AST."),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&function(e){var t=Ho(e);if(0!==t.length)throw new Error(t.map(function(e){return e.message}).join("\n\n"))}(e);var r=Ji({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==r.astNode)for(var n=0,o=r.types;n<o.length;n++){var i=o[n];switch(i.name){case"Query":r.query=i;break;case"Mutation":r.mutation=i;break;case"Subscription":r.subscription=i}}for(var a=r.directives,s=function(e){var t=Wr[e];a.every(function(e){return e.name!==t.name})&&a.push(t)},c=0;c<Wr.length;c++)s(c);return new Yr(r)}function ra(e,t){return ta(de(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function na(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function oa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?na(Object(r),!0).forEach(function(t){ia(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):na(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){var t=e.toConfig(),r=Ne(ca(t.types),function(e){return e.name},function(e){if(tt(e)||Rr(e))return e;if(nt(e)){var t=e.toConfig();return new zt(oa(oa({},t),{},{interfaces:function(){return c(t.interfaces)},fields:function(){return s(t.fields)}}))}if(it(e)){var r=e.toConfig();return new Gt(oa(oa({},r),{},{interfaces:function(){return c(r.interfaces)},fields:function(){return s(r.fields)}}))}if(st(e)){var o=e.toConfig();return new qt(oa(oa({},o),{},{types:function(){return c(o.types)}}))}if(ut(e)){var i=e.toConfig();return new Jt(oa(oa({},i),{},{values:sa(i.values)}))}if(dt(e)){var a=e.toConfig();return new Xt(oa(oa({},a),{},{fields:function(){return sa(a.fields,function(e){return oa(oa({},e),{},{type:n(e.type)})})}}))}N(0,"Unexpected type: "+z(e))});return new Yr(oa(oa({},t),{},{types:Ae(r),directives:ca(t.directives).map(function(e){var t=e.toConfig();return new Fr(oa(oa({},t),{},{locations:ua(t.locations,function(e){return e}),args:a(t.args)}))}),query:i(t.query),mutation:i(t.mutation),subscription:i(t.subscription)}));function n(e){return ft(e)?new It(n(e.ofType)):mt(e)?new xt(n(e.ofType)):o(e)}function o(e){return r[e.name]}function i(e){return e&&o(e)}function a(e){return sa(e,function(e){return oa(oa({},e),{},{type:n(e.type)})})}function s(e){return sa(e,function(e){return oa(oa({},e),{},{type:n(e.type),args:a(e.args)})})}function c(e){return ca(e).map(o)}}function sa(e,t){for(var r=Object.create(null),n=ua(Object.keys(e),function(e){return e}),o=0;o<n.length;o++){var i=n[o],a=e[i];r[i]=t?t(a):a}return r}function ca(e){return ua(e,function(e){return e.name})}function ua(e,t){return e.slice().sort(function(e,r){return Me(t(e),t(r))})}function la(e,t){return fa(e,function(e){return!Br(e)},pa,t)}function da(e,t){return fa(e,Br,Rr,t)}function pa(e){return!vr(e)&&!Rr(e)}function fa(e,t,r,n){var o=e.getDirectives().filter(t),i=Ae(e.getTypeMap()).filter(r);return[ha(e)].concat(o.map(function(e){return function(e,t){return Sa(t,e)+"directive @"+e.name+ba(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e,n)}),i.map(function(e){return ma(e,n)})).filter(Boolean).join("\n\n")+"\n"}function ha(e){if(null!=e.description||!function(e){var t=e.getQueryType();if(t&&"Query"!==t.name)return!1;var r=e.getMutationType();if(r&&"Mutation"!==r.name)return!1;var n=e.getSubscriptionType();return!n||"Subscription"===n.name}(e)){var t=[],r=e.getQueryType();r&&t.push(" query: ".concat(r.name));var n=e.getMutationType();n&&t.push(" mutation: ".concat(n.name));var o=e.getSubscriptionType();return o&&t.push(" subscription: ".concat(o.name)),Sa({},e)+"schema {\n".concat(t.join("\n"),"\n}")}}function ma(e,t){return tt(e)?function(e,t){return Sa(t,e)+"scalar ".concat(e.name)+function(e){if(null==e.specifiedByUrl)return"";var t=br(e.specifiedByUrl,hr);return t||N(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+Ve(t)+")"}(e)}(e,t):nt(e)?function(e,t){return Sa(t,e)+"type ".concat(e.name)+ga(e)+ya(t,e)}(e,t):it(e)?function(e,t){return Sa(t,e)+"interface ".concat(e.name)+ga(e)+ya(t,e)}(e,t):st(e)?function(e,t){var r=e.getTypes(),n=r.length?" = "+r.join(" | "):"";return Sa(t,e)+"union "+e.name+n}(e,t):ut(e)?function(e,t){var r=e.getValues().map(function(e,r){return Sa(t,e," ",!r)+" "+e.name+wa(e.deprecationReason)});return Sa(t,e)+"enum ".concat(e.name)+va(r)}(e,t):dt(e)?function(e,t){var r=Ae(e.getFields()).map(function(e,r){return Sa(t,e," ",!r)+" "+Ea(e)});return Sa(t,e)+"input ".concat(e.name)+va(r)}(e,t):void N(0,"Unexpected type: "+z(e))}function ga(e){var t=e.getInterfaces();return t.length?" implements "+t.map(function(e){return e.name}).join(" & "):""}function ya(e,t){return va(Ae(t.getFields()).map(function(t,r){return Sa(e,t," ",!r)+" "+t.name+ba(e,t.args," ")+": "+String(t.type)+wa(t.deprecationReason)}))}function va(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function ba(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every(function(e){return!e.description})?"("+t.map(Ea).join(", ")+")":"(\n"+t.map(function(t,n){return Sa(e,t," "+r,!n)+" "+r+Ea(t)}).join("\n")+"\n"+r+")"}function Ea(e){var t=br(e.defaultValue,e.type),r=e.name+": "+String(e.type);return t&&(r+=" = ".concat(Ve(t))),r+wa(e.deprecationReason)}function wa(e){if(null==e)return"";var t=br(e,hr);return t&&e!==Vr?" @deprecated(reason: "+Ve(t)+")":" @deprecated"}function Sa(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=t.description;return null==o?"":!0===(null==e?void 0:e.commentDescriptions)?function(e,t,r){return(t&&!r?"\n":"")+e.split("\n").map(function(e){return t+(""!==e?"# "+e:"#")}).join("\n")+"\n"}(o,r,n):(r&&!n?"\n"+r:r)+Q(o,"",o.length>70).replace(/\n/g,"\n"+r)+"\n"}function Aa(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t=t.concat(n.definitions)}return{kind:"Document",definitions:t}}function _a(e){for(var t=[],r=Object.create(null),n=0,o=e.definitions;n<o.length;n++){var i=o[n];switch(i.kind){case T.OPERATION_DEFINITION:t.push(i);break;case T.FRAGMENT_DEFINITION:r[i.name.value]=Ca(i.selectionSet)}}for(var a=Object.create(null),s=function(n){for(var o=t[n],i=new Set,s=0,c=Ca(o.selectionSet);s<c.length;s++){var u=c[s];Pa(i,r,u)}var l=o.name?o.name.value:"";a[l]={kind:T.DOCUMENT,definitions:e.definitions.filter(function(e){return e===o||e.kind===T.FRAGMENT_DEFINITION&&i.has(e.name.value)})}},c=0;c<t.length;c++)s(c);return a}function Pa(e,t,r){if(!e.has(r)){e.add(r);var n=t[r];if(void 0!==n)for(var o=0;o<n.length;o++)Pa(e,t,n[o])}}function Ca(e){var t=[];return be(e,{FragmentSpread:function(e){t.push(e.name.value)}}),t}function Ia(e){for(var t=K(e)?e:new B(e),r=t.body,n=new X(t),o="",i=!1;n.advance().kind!==F.EOF;){var a=n.token,s=a.kind,c=!Z(a.kind);i&&(c||a.kind===F.SPREAD)&&(o+=" ");var u=r.slice(a.start,a.end);s===F.BLOCK_STRING?o+=xa(u):o+=u,i=c}return o}function xa(e){var t=q(e.slice(3,-3));J(t)>0&&(t="\n"+t);var r=t[t.length-1];return('"'===r&&'\\"""'!==t.slice(-4)||"\\"===r)&&(t+="\n"),'"""'+t+'"""'}function Oa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ka(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(r),!0).forEach(function(t){Ta(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oa(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Na=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),ja=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENTED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function Ra(e,t){return Da(e,t).filter(function(e){return e.type in Na})}function Ma(e,t){return Da(e,t).filter(function(e){return e.type in ja})}function Da(e,t){return[].concat(function(e,t){for(var r=[],n=Ga(Ae(e.getTypeMap()),Ae(t.getTypeMap())),o=0,i=n.removed;o<i.length;o++){var a=i[o];r.push({type:Na.TYPE_REMOVED,description:vr(a)?"Standard scalar ".concat(a.name," was removed because it is not referenced anymore."):"".concat(a.name," was removed.")})}for(var s=0,c=n.persisted;s<c.length;s++){var u=c[s],l=u[0],d=u[1];ut(l)&&ut(d)?r.push.apply(r,La(l,d)):st(l)&&st(d)?r.push.apply(r,Fa(l,d)):dt(l)&&dt(d)?r.push.apply(r,Ua(l,d)):nt(l)&&nt(d)||it(l)&&it(d)?r.push.apply(r,Va(l,d).concat(za(l,d))):l.constructor!==d.constructor&&r.push({type:Na.TYPE_CHANGED_KIND,description:"".concat(l.name," changed from ")+"".concat(Ba(l)," to ").concat(Ba(d),".")})}return r}(e,t),function(e,t){for(var r=[],n=Ga(e.getDirectives(),t.getDirectives()),o=0,i=n.removed;o<i.length;o++){var a=i[o];r.push({type:Na.DIRECTIVE_REMOVED,description:"".concat(a.name," was removed.")})}for(var s=0,c=n.persisted;s<c.length;s++){for(var u=c[s],l=u[0],d=u[1],p=Ga(l.args,d.args),f=0,h=p.added;f<h.length;f++){var m=h[f];Kt(m)&&r.push({type:Na.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(m.name," on directive ").concat(l.name," was added.")})}for(var g=0,y=p.removed;g<y.length;g++){var v=y[g];r.push({type:Na.DIRECTIVE_ARG_REMOVED,description:"".concat(v.name," was removed from ").concat(l.name,".")})}l.isRepeatable&&!d.isRepeatable&&r.push({type:Na.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(l.name,".")});for(var b=0,E=l.locations;b<E.length;b++){var w=E[b];-1===d.locations.indexOf(w)&&r.push({type:Na.DIRECTIVE_LOCATION_REMOVED,description:"".concat(w," was removed from ").concat(l.name,".")})}}return r}(e,t))}function Ua(e,t){for(var r=[],n=Ga(Ae(e.getFields()),Ae(t.getFields())),o=0,i=n.added;o<i.length;o++){var a=i[o];er(a)?r.push({type:Na.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(a.name," on input type ").concat(e.name," was added.")}):r.push({type:ja.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(a.name," on input type ").concat(e.name," was added.")})}for(var s=0,c=n.removed;s<c.length;s++){var u=c[s];r.push({type:Na.FIELD_REMOVED,description:"".concat(e.name,".").concat(u.name," was removed.")})}for(var l=0,d=n.persisted;l<d.length;l++){var p=d[l],f=p[0],h=p[1];Wa(f.type,h.type)||r.push({type:Na.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(f.name," changed type from ")+"".concat(String(f.type)," to ").concat(String(h.type),".")})}return r}function Fa(e,t){for(var r=[],n=Ga(e.getTypes(),t.getTypes()),o=0,i=n.added;o<i.length;o++){var a=i[o];r.push({type:ja.TYPE_ADDED_TO_UNION,description:"".concat(a.name," was added to union type ").concat(e.name,".")})}for(var s=0,c=n.removed;s<c.length;s++){var u=c[s];r.push({type:Na.TYPE_REMOVED_FROM_UNION,description:"".concat(u.name," was removed from union type ").concat(e.name,".")})}return r}function La(e,t){for(var r=[],n=Ga(e.getValues(),t.getValues()),o=0,i=n.added;o<i.length;o++){var a=i[o];r.push({type:ja.VALUE_ADDED_TO_ENUM,description:"".concat(a.name," was added to enum type ").concat(e.name,".")})}for(var s=0,c=n.removed;s<c.length;s++){var u=c[s];r.push({type:Na.VALUE_REMOVED_FROM_ENUM,description:"".concat(u.name," was removed from enum type ").concat(e.name,".")})}return r}function za(e,t){for(var r=[],n=Ga(e.getInterfaces(),t.getInterfaces()),o=0,i=n.added;o<i.length;o++){var a=i[o];r.push({type:ja.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(a.name," added to interfaces implemented by ").concat(e.name,".")})}for(var s=0,c=n.removed;s<c.length;s++){var u=c[s];r.push({type:Na.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(u.name,".")})}return r}function Va(e,t){for(var r=[],n=Ga(Ae(e.getFields()),Ae(t.getFields())),o=0,i=n.removed;o<i.length;o++){var a=i[o];r.push({type:Na.FIELD_REMOVED,description:"".concat(e.name,".").concat(a.name," was removed.")})}for(var s=0,c=n.persisted;s<c.length;s++){var u=c[s],l=u[0],d=u[1];r.push.apply(r,Ha(e,l,d)),$a(l.type,d.type)||r.push({type:Na.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(l.name," changed type from ")+"".concat(String(l.type)," to ").concat(String(d.type),".")})}return r}function Ha(e,t,r){for(var n=[],o=Ga(t.args,r.args),i=0,a=o.removed;i<a.length;i++){var s=a[i];n.push({type:Na.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(s.name," was removed.")})}for(var c=0,u=o.persisted;c<u.length;c++){var l=u[c],d=l[0],p=l[1];if(Wa(d.type,p.type)){if(void 0!==d.defaultValue)if(void 0===p.defaultValue)n.push({type:ja.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," defaultValue was removed.")});else{var f=Ka(d.defaultValue,d.type),h=Ka(p.defaultValue,p.type);f!==h&&n.push({type:ja.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed defaultValue from ").concat(f," to ").concat(h,".")})}}else n.push({type:Na.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed type from ")+"".concat(String(d.type)," to ").concat(String(p.type),".")})}for(var m=0,g=o.added;m<g.length;m++){var y=g[m];Kt(y)?n.push({type:Na.REQUIRED_ARG_ADDED,description:"A required arg ".concat(y.name," on ").concat(e.name,".").concat(t.name," was added.")}):n.push({type:ja.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(y.name," on ").concat(e.name,".").concat(t.name," was added.")})}return n}function $a(e,t){return ft(e)?ft(t)&&$a(e.ofType,t.ofType)||mt(t)&&$a(e,t.ofType):mt(e)?mt(t)&&$a(e.ofType,t.ofType):Rt(t)&&e.name===t.name||mt(t)&&$a(e,t.ofType)}function Wa(e,t){return ft(e)?ft(t)&&Wa(e.ofType,t.ofType):mt(e)?mt(t)&&Wa(e.ofType,t.ofType)||!mt(t)&&Wa(e.ofType,t):Rt(t)&&e.name===t.name}function Ba(e){return tt(e)?"a Scalar type":nt(e)?"an Object type":it(e)?"an Interface type":st(e)?"a Union type":ut(e)?"an Enum type":dt(e)?"an Input type":void N(0,"Unexpected type: "+z(e))}function Ka(e,t){var r=br(e,t);return null!=r||N(0),Ve(be(r,{ObjectValue:function(e){var t=[].concat(e.fields);return t.sort(function(e,t){return Me(e.name.value,t.name.value)}),ka(ka({},e),{},{fields:t})}}))}function Ga(e,t){for(var r=[],n=[],o=[],i=Oe(e,function(e){return e.name}),a=Oe(t,function(e){return e.name}),s=0;s<e.length;s++){var c=e[s],u=a[c.name];void 0===u?n.push(c):o.push([c,u])}for(var l=0;l<t.length;l++){var d=t[l];void 0===i[d.name]&&r.push(d)}return{added:r,persisted:o,removed:n}}function qa(e,t){return Vo(e,t,[Mi])}},11771(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveLibraryOptions=void 0,t.resolveLibraryOptions=e=>{const t=e.libraryOptions?.API?.GraphQL?.headers,r=e.libraryOptions?.API?.GraphQL?.withCredentials;return{headers:t,withCredentials:r}}},11920(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=void 0;const n=r(27745),o=r(88143),i={[n.AmplifyErrorCode.NoEndpointId]:{message:"Endpoint ID was not found and was unable to be created."},[n.AmplifyErrorCode.PlatformNotSupported]:{message:"Function not supported on current platform."},[n.AmplifyErrorCode.Unknown]:{message:"An unknown error occurred."},[n.AmplifyErrorCode.NetworkError]:{message:"A network error has occurred."}};t.assert=(0,o.createAssertionFunction)(i)},11923(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmplifyUrlSearchParams=t.AmplifyUrl=void 0;const r=URL;t.AmplifyUrl=r;const n=URLSearchParams;t.AmplifyUrlSearchParams=n},11934(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var n=r(48051),o=r(5717);t.NEVER=new n.Observable(o.noop),t.never=function(){return t.NEVER}},12187(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIterable=void 0;var n=r(34891),o=r(10281);t.isIterable=function(e){return o.isFunction(null==e?void 0:e[n.iterator])}},12392(e,t,r){"use strict";r.d(t,{pP:()=>o,Kz:()=>i});var n="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:e=>(new TextEncoder).encode(e);function o(e){return e instanceof Uint8Array?e:"string"==typeof e?n(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function i(e){return"string"==typeof e?0===e.length:0===e.byteLength}},12504(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeEvents=t.configure=t.normalizeAuth=void 0;const n=r(56547);t.normalizeAuth=(e,t)=>e?"identityPool"===e?"iam":e:t,t.configure=()=>{const e=n.Amplify.getConfig(),r=e.API?.Events;if(!r)throw new Error("Amplify configuration is missing. Have you called Amplify.configure()?");const o=(0,t.normalizeAuth)(r.defaultAuthMode,"apiKey");return{appSyncGraphqlEndpoint:r.endpoint,region:r.region,authenticationType:o,apiKey:r.apiKey}},t.serializeEvents=e=>{if(Array.isArray(e))return e.map((e,t)=>{const r=JSON.stringify(e);if(void 0===r)throw new Error(`Event must be a valid JSON value. Received ${e} at index ${t}`);return r});const t=JSON.stringify(e);if(void 0===t)throw new Error(`Event must be a valid JSON value. Received ${e}`);return[t]}},12688(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.captureError=t.errorContext=void 0;var n=r(93728),o=null;t.errorContext=function(e){if(n.config.useDeprecatedSynchronousErrorHandling){var t=!o;if(t&&(o={errorThrown:!1,error:null}),e(),t){var r=o,i=r.errorThrown,a=r.error;if(o=null,i)throw a}}else e()},t.captureError=function(e){n.config.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=e)}},12852(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.amzSdkInvocationIdHeaderMiddlewareFactory=void 0;const n=r(22651),o=r(27573);t.amzSdkInvocationIdHeaderMiddlewareFactory=()=>e=>async function(t){return t.headers[o.AMZ_SDK_INVOCATION_ID_HEADER]||(t.headers[o.AMZ_SDK_INVOCATION_ID_HEADER]=(0,n.amplifyUuid)()),e(t)}},12940(e,t,r){"use strict";function n(e){if("number"==typeof e)return!0;if("string"==typeof e){if(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&""!==e.trim())return!0;const t=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\s+/).every(e=>t.test(e))}return!1}r.d(t,{t:()=>n})},12975(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEmptyResponseDeserializer=void 0;const n=r(7884),o=r(73031),i=r(43518);t.createEmptyResponseDeserializer=()=>async e=>{if(e.statusCode>=300){const t=await(0,n.parseJsonError)(e);throw(0,o.assertServiceError)(t),new i.AuthError({name:t.name,message:t.message})}}},13119(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vueWebDetect=function(){return(0,n.windowExists)()&&(0,n.keyPrefixMatch)(window,"__VUE")},t.vueSSRDetect=function(){return(0,n.globalExists)()&&(0,n.keyPrefixMatch)(globalThis,"__VUE")};const n=r(62114)},13281(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiError=void 0;const n=r(41185);class o extends n.AmplifyError{get response(){return this._response?i(this._response):void 0}constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype),e.response&&(this._response=e.response)}}t.ApiError=o;const i=e=>({...e,headers:{...e.headers}})},13321(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidCredentialCreationOptions=void 0,t.assertCredentialIsPkcWithAuthenticatorAttestationResponse=function(e){(0,n.assertPasskeyError)(e&&e instanceof PublicKeyCredential&&e.response instanceof AuthenticatorAttestationResponse,n.PasskeyErrorCode.PasskeyRegistrationFailed)},t.assertCredentialIsPkcWithAuthenticatorAssertionResponse=function(e){(0,n.assertPasskeyError)(e&&e instanceof PublicKeyCredential&&e.response instanceof AuthenticatorAssertionResponse,n.PasskeyErrorCode.PasskeyRetrievalFailed)};const n=r(67579);var o=r(96316);Object.defineProperty(t,"assertValidCredentialCreationOptions",{enumerable:!0,get:function(){return o.assertValidCredentialCreationOptions}})},13337(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapTo=void 0;var n=r(26872);t.mapTo=function(e){return n.map(function(){return e})}},13890(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalRequest=void 0;const n=r(5205),o=r(80694),i=r(64957),a=r(99912),s=r(67791);t.getCanonicalRequest=({body:e,headers:t,method:r,url:c},u=!0)=>[r,(0,i.getCanonicalUri)(c.pathname,u),(0,o.getCanonicalQueryString)(c.searchParams),(0,n.getCanonicalHeaders)(t),(0,s.getSignedHeaders)(t),(0,a.getHashedPayload)(e)].join("\n")},13916(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mapOneOrManyArgs=void 0;var i=r(26872),a=Array.isArray;t.mapOneOrManyArgs=function(e){return i.map(function(t){return function(e,t){return a(t)?e.apply(void 0,o([],n(t))):e(t)}(e,t)})}},14106(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryMiddlewareFactory=void 0;const n=r(27573);t.retryMiddlewareFactory=({maxAttempts:e=n.DEFAULT_RETRY_ATTEMPTS,retryDecider:t,computeDelay:r,abortSignal:a})=>{if(e<1)throw new Error("maxAttempts must be greater than 0");return(n,s)=>async function(c){let u,l,d=s.attemptsCount??0;const p=()=>{if(l)return i(l,d),l;throw i(u,d),u};for(;!a?.aborted&&d<e;){try{l=await n(c),u=void 0}catch(e){u=e,l=void 0}d=(s.attemptsCount??0)>d?s.attemptsCount??0:d+1,s.attemptsCount=d;const{isCredentialsExpiredError:i,retryable:f}=await t(l,u,s);if(!f)return p();if(s.isCredentialsExpired=!!i,!a?.aborted&&d<e){const e=r(d);await o(e,a)}}if(a?.aborted)throw new Error("Request aborted.");return p()}};const o=(e,t)=>{if(t?.aborted)return Promise.resolve();let r,n;const o=new Promise(t=>{n=t,r=setTimeout(t,e)});return t?.addEventListener("abort",function e(o){clearTimeout(r),t?.removeEventListener("abort",e),n()}),o},i=(e,t)=>{"[object Object]"===Object.prototype.toString.call(e)&&(e.$metadata={...e.$metadata??{},attempts:t})}},14120(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.not=void 0,t.not=function(e,t){return function(r,n){return!e.call(t,r,n)}}},14316(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isClockSkewError=void 0;const r=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"];t.isClockSkewError=e=>!!e&&r.includes(e)},14359(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectableObservable=void 0;var i=r(48051),a=r(69879),s=r(79224),c=r(17214),u=r(65212),l=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,u.hasLift(t)&&(n.lift=t.lift),n}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new a.Subscription;var r=this.getSubject();t.add(this.source.subscribe(c.createOperatorSubscriber(r,void 0,function(){e._teardown(),r.complete()},function(t){e._teardown(),r.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=a.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return s.refCount()(this)},t}(i.Observable);t.ConnectableObservable=l},14596(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reactWebDetect=function(){const e=e=>e.startsWith("_react")||e.startsWith("__react");return(0,n.documentExists)()&&Array.from(document.querySelectorAll("[id]")).some(t=>Object.keys(t).find(e))},t.reactSSRDetect=function(){return(0,n.processExists)()&&void 0!==process.env&&!!Object.keys(process.env).find(e=>e.includes("react"))};const n=r(62114)},14598(e,t,r){"use strict";r.d(t,{j:()=>A});var n=r(10790),o=r(51609),i=r(46100),a=r(66678),s=r(46798);const[c,u]=(0,s.F)("HoverCard component was not found in the tree");function l(e,t){return r=>{e?.(r),t?.(r)}}const d=(0,o.createContext)(!1),p=d.Provider,f=()=>(0,o.useContext)(d);function h(e){const{children:t,onMouseEnter:r,onMouseLeave:o,...s}=(0,i.Y)("HoverCardDropdown",null,e),c=u();if(f()&&c.getFloatingProps&&c.floating){const e=c.getFloatingProps();return(0,n.jsx)(a.A.Dropdown,{ref:c.floating,...e,onMouseEnter:l(r,e.onMouseEnter),onMouseLeave:l(o,e.onMouseLeave),...s,children:t})}const d=l(r,c.openDropdown),p=l(o,c.closeDropdown);return(0,n.jsx)(a.A.Dropdown,{onMouseEnter:d,onMouseLeave:p,...s,children:t})}h.displayName="@mantine/core/HoverCardDropdown";var m=r(83505);const g={openDelay:0,closeDelay:0};function y(e){const{openDelay:t,closeDelay:r,children:o}=(0,i.Y)("HoverCardGroup",g,e);return(0,n.jsx)(p,{value:!0,children:(0,n.jsx)(m.T3,{delay:{open:t,close:r},children:o})})}y.displayName="@mantine/core/HoverCardGroup",y.extend=e=>e;var v=r(26810);const b={refProp:"ref"},E=(0,o.forwardRef)((e,t)=>{const{children:r,refProp:s,eventPropsWrapperName:c,...d}=(0,i.Y)("HoverCardTarget",b,e),p=(0,v.D)(r);if(!p)throw new Error("HoverCard.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const h=u();if(f()&&h.getReferenceProps&&h.reference){const e=h.getReferenceProps();return(0,n.jsx)(a.A.Target,{refProp:s,ref:t,...d,children:(0,o.cloneElement)(p,c?{[c]:{...e,ref:h.reference}}:{...e,ref:h.reference})})}const m={onMouseEnter:l(p.props.onMouseEnter,h.openDropdown),onMouseLeave:l(p.props.onMouseLeave,h.closeDropdown)};return(0,n.jsx)(a.A.Target,{refProp:s,ref:t,...d,children:(0,o.cloneElement)(p,c?{[c]:m}:m)})});E.displayName="@mantine/core/HoverCardTarget";var w=r(66284);const S={openDelay:0,closeDelay:150,initiallyOpened:!1};function A(e){const{children:t,onOpen:r,onClose:s,openDelay:u,closeDelay:l,initiallyOpened:d,...p}=(0,i.Y)("HoverCard",S,e),h=function(e){const[t,r]=(0,o.useState)(e.defaultOpened),n="boolean"==typeof e.opened?e.opened:t,i=f(),a=(0,w.B)(),s=(0,o.useRef)(-1),c=(0,o.useRef)(-1),u=(0,o.useCallback)(()=>{window.clearTimeout(s.current),window.clearTimeout(c.current)},[]),l=(0,o.useCallback)(t=>{r(t),t?(g(a),e.onOpen?.()):e.onClose?.()},[a,e.onOpen,e.onClose]),{context:d,refs:p}=(0,m.we)({open:n,onOpenChange:l}),{delay:h,setCurrentId:g}=(0,m.ck)(d,{id:a}),{getReferenceProps:y,getFloatingProps:v}=(0,m.bv)([(0,m.Mk)(d,{enabled:!0,delay:i?h:{open:e.openDelay,close:e.closeDelay}}),(0,m.It)(d,{role:"dialog"}),(0,m.s9)(d,{enabled:i})]),b=(0,o.useCallback)(()=>{i||(u(),0===e.openDelay||void 0===e.openDelay?l(!0):s.current=window.setTimeout(()=>l(!0),e.openDelay))},[i,u,e.openDelay,l]),E=(0,o.useCallback)(()=>{i||(u(),0===e.closeDelay||void 0===e.closeDelay?l(!1):c.current=window.setTimeout(()=>l(!1),e.closeDelay))},[i,u,e.closeDelay,l]);return(0,o.useEffect)(()=>()=>u(),[u]),{opened:n,reference:p.setReference,floating:p.setFloating,getReferenceProps:y,getFloatingProps:v,openDropdown:b,closeDropdown:E}}({openDelay:u,closeDelay:l,defaultOpened:d,onOpen:r,onClose:s});return(0,n.jsx)(c,{value:{openDropdown:h.openDropdown,closeDropdown:h.closeDropdown,getReferenceProps:h.getReferenceProps,getFloatingProps:h.getFloatingProps,reference:h.reference,floating:h.floating},children:(0,n.jsx)(a.A,{...p,opened:h.opened,__staticSelector:"HoverCard",children:t})})}A.displayName="@mantine/core/HoverCard",A.Target=E,A.Dropdown=h,A.Group=y,A.extend=e=>e},14602(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attemptCompleteOAuthFlow=void 0;const n=r(22651),o=r(17238),i=r(80227),a=r(5001),s=r(19506),c=r(6996);t.attemptCompleteOAuthFlow=async e=>{try{(0,n.assertTokenProviderConfig)(e),(0,n.assertOAuthConfig)(e),i.oAuthStore.setAuthConfig(e)}catch(e){return}if(await i.oAuthStore.loadOAuthInFlight())try{const t=window.location.href,{loginWith:r,userPoolClientId:i}=e,{domain:c,redirectSignIn:u,responseType:l}=r.oauth,d=(0,s.getRedirectUrl)(u);await(0,a.completeOAuthFlow)({currentUrl:t,clientId:i,domain:c,redirectUri:d,responseType:l,userAgentValue:(0,o.getAuthUserAgentValue)(n.AuthAction.SignInWithRedirect)})}catch(e){await(0,c.handleFailure)(e)}}},14954(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listWebAuthnCredentials=async function(e){return(0,o.listWebAuthnCredentials)(n.Amplify,e)};const n=r(56547),o=r(16772)},15019(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tap=void 0;var n=r(10281),o=r(65212),i=r(17214),a=r(87699);t.tap=function(e,t,r){var s=n.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return s?o.operate(function(e,t){var r;null===(r=s.subscribe)||void 0===r||r.call(s);var n=!0;e.subscribe(i.createOperatorSubscriber(t,function(e){var r;null===(r=s.next)||void 0===r||r.call(s,e),t.next(e)},function(){var e;n=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()},function(e){var r;n=!1,null===(r=s.error)||void 0===r||r.call(s,e),t.error(e)},function(){var e,t;n&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)}))}):a.identity}},15027(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTokenExpired=function({expiresAt:e,clockDrift:t,tolerance:r=5e3}){return Date.now()+t+r>e}},15060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signUp=async function(e){const{username:t,password:r,options:g}=e,y=n.Amplify.getConfig().Auth?.Cognito,v=y?.signUpVerificationMethod??"code",{clientMetadata:b,validationData:E,autoSignIn:w}=e.options??{};(0,o.assertTokenProviderConfig)(y),(0,i.assertValidationError)(!!t,a.AuthValidationErrorCode.EmptySignUpUsername);const S="boolean"!=typeof w?w:void 0,A={username:t,options:S};"CUSTOM_WITHOUT_SRP"!==S?.authFlowType&&(A.password=r);const{userPoolId:_,userPoolClientId:P,userPoolEndpoint:C}=y,I=(0,p.createSignUpClient)({endpointResolver:(0,f.createCognitoUserPoolEndpointResolver)({endpointOverride:C})}),x={Username:t,Password:void 0,UserAttributes:g?.userAttributes&&(0,c.toAttributeType)(g?.userAttributes),ClientMetadata:b,ValidationData:E&&(0,c.toAttributeType)(E),ClientId:P,UserContextData:(0,l.getUserContextData)({username:t,userPoolId:_,userPoolClientId:P})};r&&(x.Password=r);const{UserSub:O,CodeDeliveryDetails:k,UserConfirmed:T,Session:N}=await I({region:(0,s.getRegionFromUserPoolId)(_),userAgentValue:(0,d.getAuthUserAgentValue)(o.AuthAction.SignUp)},x);(S||!0===w)&&(h.autoSignInStore.dispatch({type:"START"}),h.autoSignInStore.dispatch({type:"SET_USERNAME",value:t}),h.autoSignInStore.dispatch({type:"SET_SESSION",value:N}));const j={destination:k?.Destination,deliveryMedium:k?.DeliveryMedium,attributeName:k?.AttributeName},R=!!T,M=h.autoSignInStore.getState().active;if(R)return M?((0,m.setAutoSignIn)((0,u.autoSignInUserConfirmed)(A)),{isSignUpComplete:!0,nextStep:{signUpStep:"COMPLETE_AUTO_SIGN_IN"},userId:O}):{isSignUpComplete:!0,nextStep:{signUpStep:"DONE"},userId:O};if(M){if("link"===v)return(0,m.setAutoSignIn)((0,u.autoSignInWhenUserIsConfirmedWithLink)(A)),{isSignUpComplete:!1,nextStep:{signUpStep:"COMPLETE_AUTO_SIGN_IN",codeDeliveryDetails:j},userId:O};(0,u.handleCodeAutoSignIn)(A)}return{isSignUpComplete:!1,nextStep:{signUpStep:"CONFIRM_SIGN_UP",codeDeliveryDetails:j},userId:O}};const n=r(56547),o=r(22651),i=r(58765),a=r(49129),s=r(62639),c=r(39726),u=r(35354),l=r(99369),d=r(17238),p=r(35456),f=r(28228),h=r(33826),m=r(19578)},15074(e,t,r){"use strict";r.d(t,{K:()=>c});var n=r(10790),o=(r(51609),r(66192)),i=r(3052);function a(e){return(0,i.H)(e).reduce((t,r)=>{return void 0!==e[r]?`${t}${n=r,n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}:${e[r]};`:t;var n},"").trim()}function s({selector:e,styles:t,media:r,container:n}){const o=t?a(t):"",i=Array.isArray(r)?r.map(t=>`@media${t.query}{${e}{${a(t.styles)}}}`):[],s=Array.isArray(n)?n.map(t=>`@container ${t.query}{${e}{${a(t.styles)}}}`):[];return`${o?`${e}{${o}}`:""}${i.join("")}${s.join("")}`.trim()}function c(e){const t=(0,o.WV)();return(0,n.jsx)("style",{"data-mantine-styles":"inline",nonce:t?.(),dangerouslySetInnerHTML:{__html:s(e)}})}},15130(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNSIGNED_PAYLOAD=t.EMPTY_HASH=t.SIGNATURE_IDENTIFIER=t.SHA256_ALGORITHM_IDENTIFIER=t.KEY_TYPE_IDENTIFIER=t.TOKEN_HEADER=t.AMZ_DATE_HEADER=t.HOST_HEADER=t.AUTH_HEADER=t.TOKEN_QUERY_PARAM=t.SIGNED_HEADERS_QUERY_PARAM=t.SIGNATURE_QUERY_PARAM=t.REGION_SET_PARAM=t.EXPIRES_QUERY_PARAM=t.CREDENTIAL_QUERY_PARAM=t.AMZ_DATE_QUERY_PARAM=t.ALGORITHM_QUERY_PARAM=void 0,t.ALGORITHM_QUERY_PARAM="X-Amz-Algorithm",t.AMZ_DATE_QUERY_PARAM="X-Amz-Date",t.CREDENTIAL_QUERY_PARAM="X-Amz-Credential",t.EXPIRES_QUERY_PARAM="X-Amz-Expires",t.REGION_SET_PARAM="X-Amz-Region-Set",t.SIGNATURE_QUERY_PARAM="X-Amz-Signature",t.SIGNED_HEADERS_QUERY_PARAM="X-Amz-SignedHeaders",t.TOKEN_QUERY_PARAM="X-Amz-Security-Token",t.AUTH_HEADER="authorization",t.HOST_HEADER="host",t.AMZ_DATE_HEADER=t.AMZ_DATE_QUERY_PARAM.toLowerCase(),t.TOKEN_HEADER=t.TOKEN_QUERY_PARAM.toLowerCase(),t.KEY_TYPE_IDENTIFIER="aws4_request",t.SHA256_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256",t.SIGNATURE_IDENTIFIER="AWS4",t.EMPTY_HASH="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",t.UNSIGNED_PAYLOAD="UNSIGNED-PAYLOAD"},15219(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchUserAttributes=void 0;const n=r(22651),o=r(62639),i=r(64166),a=r(39726),s=r(17238),c=r(35456),u=r(28228);t.fetchUserAttributes=async e=>{const t=e.getConfig().Auth?.Cognito;(0,n.assertTokenProviderConfig)(t);const{userPoolEndpoint:r,userPoolId:l}=t,{tokens:d}=await(0,n.fetchAuthSession)(e,{forceRefresh:!1});(0,i.assertAuthTokens)(d);const p=(0,c.createGetUserClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:r})}),{UserAttributes:f}=await p({region:(0,o.getRegionFromUserPoolId)(l),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.FetchUserAttributes)},{AccessToken:d.accessToken.toString()});return(0,a.toAuthUserAttribute)(f)}},15304(e,t,r){"use strict";r.d(t,{S:()=>l});var n=r(88149),o=(r(51609),r(10790),r(59444));function i(e,t){if(e.startsWith("var("))return`color-mix(in srgb, ${e}, black ${100*t}%)`;const{r,g:n,b:i,a}=(0,o.K)(e),s=1-t,c=e=>Math.round(e*s);return`rgba(${c(r)}, ${c(n)}, ${c(i)}, ${a})`}var a=r(91752),s=r(89569),c=r(97170);const u="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",l={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:{dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:({color:e,theme:t,variant:r,gradient:o,autoContrast:u})=>{const l=(0,s.g)({color:e,theme:t}),d="boolean"==typeof u?u:t.autoContrast;if("none"===r)return{background:"transparent",hover:"transparent",color:"inherit",border:"none"};if("filled"===r){const t=d&&l.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return l.isThemeColor?void 0===l.shade?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:t,border:`${(0,n.D)(1)} solid transparent`}:{background:`var(--mantine-color-${l.color}-${l.shade})`,hover:`var(--mantine-color-${l.color}-${9===l.shade?8:l.shade+1})`,color:t,border:`${(0,n.D)(1)} solid transparent`}:{background:e,hover:i(e,.1),color:t,border:`${(0,n.D)(1)} solid transparent`}}if("light"===r){if(l.isThemeColor){if(void 0===l.shade)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${(0,n.D)(1)} solid transparent`};const r=t.colors[l.color][l.shade];return{background:(0,c.B)(r,.1),hover:(0,c.B)(r,.12),color:`var(--mantine-color-${l.color}-${Math.min(l.shade,6)})`,border:`${(0,n.D)(1)} solid transparent`}}return{background:(0,c.B)(e,.1),hover:(0,c.B)(e,.12),color:e,border:`${(0,n.D)(1)} solid transparent`}}if("outline"===r)return l.isThemeColor?void 0===l.shade?{background:"transparent",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${(0,n.D)(1)} solid var(--mantine-color-${e}-outline)`}:{background:"transparent",hover:(0,c.B)(t.colors[l.color][l.shade],.05),color:`var(--mantine-color-${l.color}-${l.shade})`,border:`${(0,n.D)(1)} solid var(--mantine-color-${l.color}-${l.shade})`}:{background:"transparent",hover:(0,c.B)(e,.05),color:e,border:`${(0,n.D)(1)} solid ${e}`};if("subtle"===r){if(l.isThemeColor){if(void 0===l.shade)return{background:"transparent",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${(0,n.D)(1)} solid transparent`};const r=t.colors[l.color][l.shade];return{background:"transparent",hover:(0,c.B)(r,.12),color:`var(--mantine-color-${l.color}-${Math.min(l.shade,6)})`,border:`${(0,n.D)(1)} solid transparent`}}return{background:"transparent",hover:(0,c.B)(e,.12),color:e,border:`${(0,n.D)(1)} solid transparent`}}return"transparent"===r?l.isThemeColor?void 0===l.shade?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${e}-light-color)`,border:`${(0,n.D)(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${l.color}-${Math.min(l.shade,6)})`,border:`${(0,n.D)(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:e,border:`${(0,n.D)(1)} solid transparent`}:"white"===r?l.isThemeColor?void 0===l.shade?{background:"var(--mantine-color-white)",hover:i(t.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${(0,n.D)(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:i(t.white,.01),color:`var(--mantine-color-${l.color}-${l.shade})`,border:`${(0,n.D)(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:i(t.white,.01),color:e,border:`${(0,n.D)(1)} solid transparent`}:"gradient"===r?{background:(0,a.v)(o,t),hover:(0,a.v)(o,t),color:"var(--mantine-color-white)",border:"none"}:"default"===r?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${(0,n.D)(1)} solid var(--mantine-color-default-border)`}:{}},autoContrast:!1,luminanceThreshold:.3,fontFamily:u,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:u,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:(0,n.D)(34),lineHeight:"1.3"},h2:{fontSize:(0,n.D)(26),lineHeight:"1.35"},h3:{fontSize:(0,n.D)(22),lineHeight:"1.4"},h4:{fontSize:(0,n.D)(18),lineHeight:"1.45"},h5:{fontSize:(0,n.D)(16),lineHeight:"1.5"},h6:{fontSize:(0,n.D)(14),lineHeight:"1.5"}}},fontSizes:{xs:(0,n.D)(12),sm:(0,n.D)(14),md:(0,n.D)(16),lg:(0,n.D)(18),xl:(0,n.D)(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:(0,n.D)(2),sm:(0,n.D)(4),md:(0,n.D)(8),lg:(0,n.D)(16),xl:(0,n.D)(32)},spacing:{xs:(0,n.D)(10),sm:(0,n.D)(12),md:(0,n.D)(16),lg:(0,n.D)(20),xl:(0,n.D)(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), 0 ${(0,n.D)(1)} ${(0,n.D)(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${(0,n.D)(10)} ${(0,n.D)(15)} ${(0,n.D)(-5)}, rgba(0, 0, 0, 0.04) 0 ${(0,n.D)(7)} ${(0,n.D)(7)} ${(0,n.D)(-5)}`,md:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${(0,n.D)(20)} ${(0,n.D)(25)} ${(0,n.D)(-5)}, rgba(0, 0, 0, 0.04) 0 ${(0,n.D)(10)} ${(0,n.D)(10)} ${(0,n.D)(-5)}`,lg:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${(0,n.D)(28)} ${(0,n.D)(23)} ${(0,n.D)(-7)}, rgba(0, 0, 0, 0.04) 0 ${(0,n.D)(12)} ${(0,n.D)(12)} ${(0,n.D)(-7)}`,xl:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${(0,n.D)(36)} ${(0,n.D)(28)} ${(0,n.D)(-7)}, rgba(0, 0, 0, 0.04) 0 ${(0,n.D)(17)} ${(0,n.D)(17)} ${(0,n.D)(-7)}`},other:{},components:{}}},15333(e,t,r){"use strict";r.d(t,{R:()=>a,S:()=>i});var n=r(10790),o=r(88149);function i({size:e,style:t,...r}){const i=void 0!==e?{width:(0,o.D)(e),height:(0,o.D)(e),...t}:t;return(0,n.jsx)("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i,"aria-hidden":!0,...r,children:(0,n.jsx)("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function a({indeterminate:e,...t}){return e?(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6","aria-hidden":!0,...t,children:(0,n.jsx)("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})}):(0,n.jsx)(i,{...t})}r(51609)},15779(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListWebAuthnCredentialsClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createListWebAuthnCredentialsClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ListWebAuthnCredentials"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},15810(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObject=void 0,t.createObject=function(e,t){return e.reduce(function(e,r,n){return e[r]=t[n],e},{})}},15887(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var n=r(6757),o=r(74478);t.animationFrameScheduler=new o.AnimationFrameScheduler(n.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler},16002(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.immediateProvider=void 0;var i=r(92052),a=i.Immediate.setImmediate,s=i.Immediate.clearImmediate;t.immediateProvider={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.immediateProvider.delegate;return((null==i?void 0:i.setImmediate)||a).apply(void 0,o([],n(e)))},clearImmediate:function(e){var r=t.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||s)(e)},delegate:void 0}},16112(e,t,r){"use strict";r.d(t,{F:()=>i});var n=r(10790),o=(r(51609),r(37561));function i({children:e,role:t}){const r=(0,o.e)();return r?(0,n.jsx)("div",{role:t,"aria-labelledby":r.labelId,"aria-describedby":r.describedBy,children:e}):(0,n.jsx)(n.Fragment,{children:e})}},16201(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchAll=void 0;var n=r(90680),o=r(87699);t.switchAll=function(){return n.switchMap(o.identity)}},16211(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateClient=function(e){const t={[i.__amplify]:e.amplify,[i.__authMode]:e.authMode,[i.__authToken]:e.authToken,[i.__apiKey]:"apiKey"in e?e.apiKey:void 0,[i.__endpoint]:"endpoint"in e?e.endpoint:void 0,[i.__headers]:e.headers,graphql:c.graphql,cancel:c.cancel,isCancelError:c.isCancelError,models:l,enums:l,queries:l,mutations:l,subscriptions:l},r=e.amplify.getConfig().API?.GraphQL;if(t[i.__endpoint]){if(!t[i.__authMode])throw new Error("generateClient() requires an explicit `authMode` when `endpoint` is provided.");if("apiKey"===t[i.__authMode]&&!t[i.__apiKey])throw new Error("generateClient() requires an explicit `apiKey` when `endpoint` is provided and `authMode = 'apiKey'`.")}return t[i.__endpoint]||((0,a.isApiGraphQLConfig)(r)?(0,o.addSchemaToClient)(t,r,i.getInternals):u(t)),t};const n=r(56547),o=r(57309),i=r(82192),a=r(86764),s=r(84532),c=r(89015),u=e=>{n.Hub.listen("core",t=>{if(!(0,s.isConfigureEventWithResourceConfig)(t.payload))return;const r=t.payload.data.API?.GraphQL;(0,a.isApiGraphQLConfig)(r)&&(0,o.addSchemaToClient)(e,r,i.getInternals)})},l=new Proxy({},{get(){throw new Error("Client could not be generated. This is likely due to `Amplify.configure()` not being called prior to `generateClient()` or because the configuration passed to `Amplify.configure()` is missing GraphQL provider configuration.")}})},16267(e,t,r){"use strict";r.d(t,{t:()=>p});var n=r(10790),o=(r(51609),r(56324)),i=r(59396),a=r(46100),s=r(52837),c=r(11507),u=r(18639),l={root:"m_1b7284a3"};const d=(0,i.V)((e,{radius:t,shadow:r})=>({root:{"--paper-radius":void 0===t?void 0:(0,o.nJ)(t),"--paper-shadow":(0,o.dh)(r)}})),p=(0,u.v)((e,t)=>{const r=(0,a.Y)("Paper",null,e),{classNames:o,className:i,style:u,styles:p,unstyled:f,withBorder:h,vars:m,radius:g,shadow:y,variant:v,mod:b,attributes:E,...w}=r,S=(0,s.I)({name:"Paper",props:r,classes:l,className:i,style:u,classNames:o,styles:p,unstyled:f,attributes:E,vars:m,varsResolver:d});return(0,n.jsx)(c.a,{ref:t,mod:[{"data-with-border":h},b],...S("root"),variant:v,...w})});p.classes=l,p.displayName="@mantine/core/Paper"},16474(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partitionsInfo=t.defaultPartition=void 0,t.defaultPartition={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},t.partitionsInfo={partitions:[t.defaultPartition,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]}},16534(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},16707(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeScan=void 0;var n=r(65212),o=r(2574);t.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),n.operate(function(n,i){var a=t;return o.mergeInternals(n,i,function(t,r){return e(a,t,r)},r,function(e){a=e},!1,void 0,function(){return a=null})})}},16736(e,t,r){"use strict";r.d(t,{x:()=>n});class n extends Error{constructor({message:e,name:t,recoverySuggestion:r,underlyingError:o,metadata:i}){if(super(e),this.name=t,this.underlyingError=o,this.recoverySuggestion=r,i){const{extendedRequestId:e,httpStatusCode:t,requestId:r}=i;this.metadata={extendedRequestId:e,httpStatusCode:t,requestId:r}}this.constructor=n,Object.setPrototypeOf(this,n.prototype)}}},16772(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=t.listWebAuthnCredentials=void 0;var n=r(65620);Object.defineProperty(t,"listWebAuthnCredentials",{enumerable:!0,get:function(){return n.listWebAuthnCredentials}});var o=r(97922);Object.defineProperty(t,"deleteWebAuthnCredential",{enumerable:!0,get:function(){return o.deleteWebAuthnCredential}})},17214(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorSubscriber=t.createOperatorSubscriber=void 0;var i=r(2708);t.createOperatorSubscriber=function(e,t,r,n,o){return new a(e,t,r,n,o)};var a=function(e){function t(t,r,n,o,i,a){var s=e.call(this,t)||this;return s.onFinalize=i,s.shouldUnsubscribe=a,s._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return o(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(i.Subscriber);t.OperatorSubscriber=a},17238(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openAuthSession=t.getAuthUserAgentValue=t.getAuthUserAgentDetails=void 0;var n=r(93106);Object.defineProperty(t,"getAuthUserAgentDetails",{enumerable:!0,get:function(){return n.getAuthUserAgentDetails}});var o=r(86777);Object.defineProperty(t,"getAuthUserAgentValue",{enumerable:!0,get:function(){return o.getAuthUserAgentValue}});var i=r(68116);Object.defineProperty(t,"openAuthSession",{enumerable:!0,get:function(){return i.openAuthSession}})},17313(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomBytes=void 0;const n=r(22651),o=r(95179);t.getRandomBytes=e=>{const t=(new n.WordArray).random(e).toString();return(0,o.getBytesFromHex)(t)}},17330(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDeviceName=void 0,t.getDeviceName=async()=>{const{userAgentData:e}=navigator;if(!e)return navigator.userAgent;const{platform:t="",platformVersion:r="",model:n="",architecture:o="",fullVersionList:i=[]}=await e.getHighEntropyValues(["platform","platformVersion","architecture","model","fullVersionList"]);return[t,r,o,n,t,i.map(e=>`${e.brand}/${e.version}`).join(";")].filter(e=>e).join(" ")||navigator.userAgent}},17474(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallbackInternals=void 0;var i=r(68596),a=r(48051),s=r(5455),c=r(13916),u=r(32071),l=r(5130);t.bindCallbackInternals=function e(t,r,d,p){if(d){if(!i.isScheduler(d))return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e(t,r,p).apply(this,n).pipe(c.mapOneOrManyArgs(d))};p=d}return p?function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e(t,r).apply(this,n).pipe(s.subscribeOn(p),u.observeOn(p))}:function(){for(var e=this,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var c=new l.AsyncSubject,u=!0;return new a.Observable(function(a){var s=c.subscribe(a);if(u){u=!1;var l=!1,d=!1;r.apply(e,o(o([],n(i)),[function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t){var n=e.shift();if(null!=n)return void c.error(n)}c.next(1<e.length?e:e[0]),d=!0,l&&c.complete()}])),d&&c.complete(),l=!0}return s})}}},17524(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64Decoder=void 0;const n=r(58506);t.base64Decoder={convert(e,t){let r=e;return t?.urlSafe&&(r=r.replace(/-/g,"+").replace(/_/g,"/")),(0,n.getAtob)()(r)}}},17530(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jitteredExponentialRetry=void 0;const n=r(77113),o=r(58821),i=r(97542);t.jitteredExponentialRetry=(e,t,r=n.MAX_DELAY_MS,a)=>(0,i.retry)(e,t,(0,o.jitteredBackoff)(r),a)},17631(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selfAwareAsync=t.capitalize=t.resolveOwnerFields=t.findIndexByFields=t.resolvePKFields=void 0;var n=r(84615);Object.defineProperty(t,"resolvePKFields",{enumerable:!0,get:function(){return n.resolvePKFields}});var o=r(31898);Object.defineProperty(t,"findIndexByFields",{enumerable:!0,get:function(){return o.findIndexByFields}});var i=r(63553);Object.defineProperty(t,"resolveOwnerFields",{enumerable:!0,get:function(){return i.resolveOwnerFields}});var a=r(87287);Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return a.capitalize}});var s=r(8171);Object.defineProperty(t,"selfAwareAsync",{enumerable:!0,get:function(){return s.selfAwareAsync}})},17782(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shareReplay=void 0;var n=r(10381),o=r(93405);t.shareReplay=function(e,t,r){var i,a,s,c,u=!1;return e&&"object"==typeof e?(i=e.bufferSize,c=void 0===i?1/0:i,a=e.windowTime,t=void 0===a?1/0:a,u=void 0!==(s=e.refCount)&&s,r=e.scheduler):c=null!=e?e:1/0,o.share({connector:function(){return new n.ReplaySubject(c,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},17802(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.finalize=void 0;var n=r(65212);t.finalize=function(e){return n.operate(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}},17812(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=void 0;var n=r(76808),o=r(19724),i=r(65212),a=r(51071),s={connector:function(){return new n.Subject}};t.connect=function(e,t){void 0===t&&(t=s);var r=t.connector;return i.operate(function(t,n){var i=r();o.innerFrom(e(a.fromSubscribable(i))).subscribe(n),n.add(t.subscribe(i))})}},17826(e,t,r){"use strict";r.d(t,{E:()=>g});var n=r(10790),o=(r(51609),r(56324)),i=r(59396),a=r(86344),s=r(91752),c=r(46100),u=r(52837),l=r(11507),d=r(18639),p={root:"m_b6d8b162"};function f(e){return"start"===e?"start":"end"===e||e?"end":void 0}const h={inherit:!1},m=(0,i.V)((e,{variant:t,lineClamp:r,gradient:n,size:i,color:c})=>({root:{"--text-fz":(0,o.ny)(i),"--text-lh":(0,o.ks)(i),"--text-gradient":"gradient"===t?(0,s.v)(n,e):void 0,"--text-line-clamp":"number"==typeof r?r.toString():void 0,"--text-color":c?(0,a.r)(c,e):void 0}})),g=(0,d.v)((e,t)=>{const r=(0,c.Y)("Text",h,e),{lineClamp:o,truncate:i,inline:a,inherit:s,gradient:d,span:g,__staticSelector:y,vars:v,className:b,style:E,classNames:w,styles:S,unstyled:A,variant:_,mod:P,size:C,attributes:I,...x}=r,O=(0,u.I)({name:["Text",y],props:r,classes:p,className:b,style:E,classNames:w,styles:S,unstyled:A,attributes:I,vars:v,varsResolver:m});return(0,n.jsx)(l.a,{...O("root",{focusable:!0}),ref:t,component:g?"span":"p",variant:_,mod:[{"data-truncate":f(i),"data-line-clamp":"number"==typeof o,"data-inline":a,"data-inherit":s},P],size:C,...x})});g.classes=p,g.displayName="@mantine/core/Text"},17873(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleAsyncIterable=void 0;var n=r(48051),o=r(28619);t.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.Observable(function(r){o.executeSchedule(r,t,function(){var n=e[Symbol.asyncIterator]();o.executeSchedule(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}},17943(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SERVICE_CLIENT_API_CONFIG=t.COGNITO_IDENTITY_SERVICE_NAME=void 0;const n=r(7884);t.COGNITO_IDENTITY_SERVICE_NAME="cognito-identity",t.DEFAULT_SERVICE_CLIENT_API_CONFIG={service:t.COGNITO_IDENTITY_SERVICE_NAME,retryDecider:(0,n.getRetryDecider)(n.parseJsonError),computeDelay:n.jitteredBackoff,cache:"no-store"}},17977(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustAll=void 0;var n=r(86632),o=r(87699);t.exhaustAll=function(){return n.exhaustMap(o.identity)}},18057(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityTransferHandler=void 0;var n=r(27155);Object.defineProperty(t,"cognitoIdentityTransferHandler",{enumerable:!0,get:function(){return n.cognitoIdentityTransferHandler}})},18464(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multicast=void 0;var n=r(14359),o=r(10281),i=r(17812);t.multicast=function(e,t){var r=o.isFunction(e)?e:function(){return e};return o.isFunction(t)?i.connect(t,{connector:r}):function(e){return new n.ConnectableObservable(e,r)}}},18498(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sessionListener=t.SESSION_STOP_EVENT=t.SESSION_START_EVENT=void 0;const n=r(4010);var o=r(39027);Object.defineProperty(t,"SESSION_START_EVENT",{enumerable:!0,get:function(){return o.SESSION_START_EVENT}}),Object.defineProperty(t,"SESSION_STOP_EVENT",{enumerable:!0,get:function(){return o.SESSION_STOP_EVENT}}),t.sessionListener=new n.SessionListener},18639(e,t,r){"use strict";r.d(t,{v:()=>a});var n=r(10790),o=r(51609),i=r(2412);function a(e){const t=(0,o.forwardRef)(e);return t.withProps=e=>{const r=(0,o.forwardRef)((r,o)=>(0,n.jsx)(t,{...e,...r,ref:o}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t.extend=i.D_,t}},18870(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateGenerationsProperty=function(e,t,r){const i=t?.modelIntrospection;if(!i?.generations)return{};const a={};for(const t of Object.values(i.generations))a[t.name]=(0,n.customOpFactory)(e,i,"query",t,!1,r,(0,o.getCustomUserAgentDetails)(o.AiAction.Generation));return a};const n=r(59640),o=r(83102)},19308(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPaddedHex=void 0;const n=r(74008),o=/^[89a-f]/i;t.getPaddedHex=e=>{if(!(e instanceof n.BigInteger))throw new Error("Not a BigInteger");const t=e.compareTo(n.BigInteger.ZERO)<0;let r=e.abs().toString(16);if(r=r.length%2!=0?`0${r}`:r,r=o.test(r)?`00${r}`:r,t){const e=r.split("").map(e=>{const t=15&~parseInt(e,16);return"0123456789ABCDEF".charAt(t)}).join("");r=new n.BigInteger(e,16).add(n.BigInteger.ONE).toString(16),r.toUpperCase().startsWith("FF8")&&(r=r.substring(2))}return r}},19506(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRedirectUrl=function(e,t){if(t){const r=e?.find(e=>e===t);if(!r)throw n.invalidPreferredRedirectUrlException;return r}{const t=e?.find(o)??e?.find(i),r=e?.find(s)??e?.find(a);if(t)return t;if(r)throw n.invalidOriginException;throw n.invalidRedirectException}};const n=r(34143),o=e=>e.startsWith(String(window.location.origin+(window.location.pathname||"/"))),i=e=>e.includes(String(window.location.hostname)),a=e=>e.startsWith("http://"),s=e=>e.startsWith("https://")},19533(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncScheduler=void 0;var i=r(65881),a=function(e){function t(t,r){void 0===r&&(r=i.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return o(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(i.Scheduler);t.AsyncScheduler=a},19543(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.validationErrorMap=t.APIValidationErrorCode=void 0,function(e){e.NoAuthSession="NoAuthSession",e.NoRegion="NoRegion",e.NoCustomEndpoint="NoCustomEndpoint"}(r||(t.APIValidationErrorCode=r={})),t.validationErrorMap={[r.NoAuthSession]:{message:"Auth session should not be empty."},[r.NoRegion]:{message:"Missing region."},[r.NoCustomEndpoint]:{message:"Custom endpoint region is present without custom endpoint."}}},19578(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoSignIn=void 0,t.setAutoSignIn=function(e){t.autoSignIn=e},t.resetAutoSignIn=function(e=!0){e&&(t.autoSignIn=a),n.autoSignInStore.dispatch({type:"RESET"})};const n=r(33826),o=r(43518),i=r(34143),a=async()=>{throw new o.AuthError({name:i.AUTO_SIGN_IN_EXCEPTION,message:"The autoSignIn flow has not started, or has been cancelled/completed.",recoverySuggestion:"Please try to use the signIn API or log out before starting a new autoSignIn flow."})};t.autoSignIn=a},19613(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertItemToConversation=void 0;const n=r(41271),o=r(42916),i=r(50030);t.convertItemToConversation=(e,t,r,a,s,c,u,l,d,p)=>{if(!r)throw new Error(`An error occurred converting a ${c} conversation: Missing ID`);return{id:r,createdAt:a,updatedAt:s,metadata:d,name:p,onStreamEvent:(0,o.createOnStreamEventFunction)(e,t,r,c,l),sendMessage:(0,i.createSendMessageFunction)(e,t,r,c,l),listMessages:(0,n.createListMessagesFunction)(e,t,r,u,l)}}},19676(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchTransferHandler=void 0;const n=r(1123),o=r(72580),i=r(27745),a=e=>!["HEAD","GET"].includes(e.toUpperCase());t.fetchTransferHandler=async({url:e,method:t,headers:r,body:s},{abortSignal:c,cache:u,withCrossDomainCredentials:l})=>{let d;try{d=await fetch(e,{method:t,headers:r,body:a(t)?s:void 0,signal:c,cache:u,credentials:l?"include":"same-origin"})}catch(e){if(e instanceof TypeError)throw new n.AmplifyError({name:i.AmplifyErrorCode.NetworkError,message:"A network error has occurred.",underlyingError:e});throw e}const p={};return d.headers?.forEach((e,t)=>{p[t.toLowerCase()]=e}),{statusCode:d.status,headers:p,body:null,body:Object.assign(d.body??{},{text:(0,o.withMemoization)(()=>d.text()),blob:(0,o.withMemoization)(()=>d.blob()),json:(0,o.withMemoization)(()=>d.json())})}}},19724(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},i=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof a?a(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,o,(t=e[r](t)).done,t.value)})}}},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadableStreamLike=t.fromAsyncIterable=t.fromIterable=t.fromPromise=t.fromArrayLike=t.fromInteropObservable=t.innerFrom=void 0;var s=r(94975),c=r(67552),u=r(48051),l=r(80629),d=r(78263),p=r(86297),f=r(12187),h=r(95462),m=r(10281),g=r(32980),y=r(2884);function v(e){return new u.Observable(function(t){var r=e[y.observable]();if(m.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function b(e){return new u.Observable(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function E(e){return new u.Observable(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,g.reportUnhandledError)})}function w(e){return new u.Observable(function(t){var r,n;try{for(var o=a(e),i=o.next();!i.done;i=o.next()){var s=i.value;if(t.next(s),t.closed)return}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()})}function S(e){return new u.Observable(function(t){(function(e,t){var r,a,s,c;return n(this,void 0,void 0,function(){var n,u;return o(this,function(o){switch(o.label){case 0:o.trys.push([0,5,6,11]),r=i(e),o.label=1;case 1:return[4,r.next()];case 2:if((a=o.sent()).done)return[3,4];if(n=a.value,t.next(n),t.closed)return[2];o.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=o.sent(),s={error:u},[3,11];case 6:return o.trys.push([6,,9,10]),a&&!a.done&&(c=r.return)?[4,c.call(r)]:[3,8];case 7:o.sent(),o.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function A(e){return S(h.readableStreamLikeToAsyncGenerator(e))}t.innerFrom=function(e){if(e instanceof u.Observable)return e;if(null!=e){if(l.isInteropObservable(e))return v(e);if(s.isArrayLike(e))return b(e);if(c.isPromise(e))return E(e);if(d.isAsyncIterable(e))return S(e);if(f.isIterable(e))return w(e);if(h.isReadableStreamLike(e))return A(e)}throw p.createInvalidObservableTypeError(e)},t.fromInteropObservable=v,t.fromArrayLike=b,t.fromPromise=E,t.fromIterable=w,t.fromAsyncIterable=S,t.fromReadableStreamLike=A},19804(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOAuthError=void 0;const n=r(91109),o=r(70928),i=r(43518);t.createOAuthError=(e,t)=>new i.AuthError({message:e??"An error has occurred during the oauth process.",name:o.AuthErrorCodes.OAuthSignInError,recoverySuggestion:t??n.authErrorMessages.oauthSignInError.log})},19818(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dematerialize=void 0;var n=r(31245),o=r(65212),i=r(17214);t.dematerialize=function(){return o.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,function(e){return n.observeNotification(e,t)}))})}},19867(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RESEND_LIMIT=t.FLUSH_INTERVAL=t.FLUSH_SIZE=t.BUFFER_SIZE=void 0,t.BUFFER_SIZE=1e3,t.FLUSH_SIZE=100,t.FLUSH_INTERVAL=5e3,t.RESEND_LIMIT=5},19913(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMapTo=void 0;var n=r(29512),o=r(10281);t.concatMapTo=function(e,t){return o.isFunction(t)?n.concatMap(function(){return e},t):n.concatMap(function(){return e})}},19980(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.first=void 0;var n=r(59328),o=r(85934),i=r(54383),a=r(58799),s=r(30632),c=r(87699);t.first=function(e,t){var r=arguments.length>=2;return function(u){return u.pipe(e?o.filter(function(t,r){return e(t,r,u)}):c.identity,i.take(1),r?a.defaultIfEmpty(t):s.throwIfEmpty(function(){return new n.EmptyError}))}}},20042(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscriptionFactory=function(e,t,r,i,a){const{name:s}=r;return c=>{const u=(0,o.generateGraphQLDocument)(t,r,i,c),l=(0,o.buildGraphQLVariables)(r,i,c,t),d=(0,o.authModeParams)(e,a,c),p=(0,o.getCustomHeaders)(e,a,c?.headers);return e.graphql({...d,query:u,variables:l},p).pipe((0,n.map)(r=>{const[n]=Object.keys(r.data),i=r.data[n],a=(0,o.flattenItems)(t,s,i);if(null===a)return null;if(c?.selectionSet)return a;{const[r]=(0,o.initializeModel)(e,s,[a],t,d.authMode,d.authToken);return r}}))}};const n=r(79364),o=r(44287)},20126(e,t,r){"use strict";r.d(t,{H:()=>l});var n=r(26886);const o=e=>{const t=Reflect.ownKeys(e);for(const r of t){const t=e[r];(t&&"object"==typeof t||"function"==typeof t)&&o(t)}return Object.freeze(e)},i=Symbol("oauth-listener");var a=r(63614);r(136),r(80056);const s=new(r(84210).C)("Auth");class c{configure(e,t){this.authConfig=e,this.authOptions=t,e&&e.Cognito?.userPoolEndpoint&&s.warn(u("Amazon Cognito User Pool")),e&&e.Cognito?.identityPoolEndpoint&&s.warn(u("Amazon Cognito Identity Pool"))}async fetchAuthSession(e={}){let t,r;const n=await this.getTokens(e);return n?(r=n.accessToken?.payload?.sub,t=await(this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:n,authenticated:!0,forceRefresh:e.forceRefresh}))):t=await(this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:e.forceRefresh})),{tokens:n,credentials:t?.credentials,identityId:t?.identityId,userSub:r}}async clearCredentials(){await(this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId())}async getTokens(e){return await(this.authOptions?.tokenProvider?.getTokens(e))??void 0}}const u=e=>`You are using a custom Amazon ${e} endpoint, ensure the endpoint is correct.`,l=new class{constructor(){this.oAuthListener=void 0,this.isConfigured=!1,this.resourcesConfig={},this.libraryOptions={},this.Auth=new c}configure(e,t){const r=(0,a.M)(e);this.resourcesConfig=r,t&&(this.libraryOptions=t),this.resourcesConfig=o(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),n.YZ.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",n.U9),this.notifyOAuthListener(),this.isConfigured=!0}getConfig(){return this.isConfigured||console.warn("Amplify has not been configured. Please call Amplify.configure() before using this service."),this.resourcesConfig}[i](e){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth?e(this.resourcesConfig.Auth?.Cognito):this.oAuthListener=e}notifyOAuthListener(){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth&&this.oAuthListener&&(this.oAuthListener(this.resourcesConfig.Auth?.Cognito),this.oAuthListener=void 0)}}},20749(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRetryDecider=void 0;const n=r(27745),o=r(14316);t.getRetryDecider=e=>async(t,r)=>{const n=r??await e(t)??void 0,i=n?.code||n?.name,a=t?.statusCode;return{retryable:c(r)||s(a,i)||(0,o.isClockSkewError)(i)||u(a,i)}};const i=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],a=["TimeoutError","RequestTimeout","RequestTimeoutException"],s=(e,t)=>429===e||!!t&&i.includes(t),c=e=>[n.AmplifyErrorCode.NetworkError,"ERR_NETWORK"].includes(e?.name),u=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&a.includes(t)},20793(e,t,r){"use strict";r.r(t),r.d(t,{fromBase64:()=>i,toBase64:()=>a});const n={},o=new Array(64);for(let e=0,t="A".charCodeAt(0),r="Z".charCodeAt(0);e+t<=r;e++){const r=String.fromCharCode(e+t);n[r]=e,o[e]=r}for(let e=0,t="a".charCodeAt(0),r="z".charCodeAt(0);e+t<=r;e++){const r=String.fromCharCode(e+t),i=e+26;n[r]=i,o[i]=r}for(let e=0;e<10;e++){n[e.toString(10)]=e+52;const t=e.toString(10),r=e+52;n[t]=r,o[r]=t}n["+"]=62,o[62]="+",n["/"]=63,o[63]="/";const i=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const r=new ArrayBuffer(t),o=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,i=0;for(let o=t,a=t+3;o<=a;o++)if("="!==e[o]){if(!(e[o]in n))throw new TypeError(`Invalid character ${e[o]} in base64 string.`);r|=n[e[o]]<<6*(a-o),i+=6}else r>>=6;const a=t/4*3;r>>=i%8;const s=Math.floor(i/8);for(let e=0;e<s;e++){const t=8*(s-e-1);o.setUint8(a+e,(r&255<<t)>>t)}}return new Uint8Array(r)};function a(e){let t;t="string"==typeof e?(e=>(new TextEncoder).encode(e))(e):e;const r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let i="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let o=e,i=Math.min(e+3,t.length);o<i;o++)r|=t[o]<<8*(i-o-1),n+=8;const a=Math.ceil(n/6);r<<=6*a-n;for(let e=1;e<=a;e++){const t=6*(a-e);i+=o[(r&63<<t)>>t]}i+="==".slice(0,4-a)}return i}},20810(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveEndpointId=t.getEndpointId=t.getCacheKey=t.createEndpointId=t.cacheEndpointId=void 0;var n=r(11092);Object.defineProperty(t,"cacheEndpointId",{enumerable:!0,get:function(){return n.cacheEndpointId}});var o=r(74744);Object.defineProperty(t,"createEndpointId",{enumerable:!0,get:function(){return o.createEndpointId}});var i=r(67635);Object.defineProperty(t,"getCacheKey",{enumerable:!0,get:function(){return i.getCacheKey}});var a=r(93586);Object.defineProperty(t,"getEndpointId",{enumerable:!0,get:function(){return a.getEndpointId}});var s=r(95090);Object.defineProperty(t,"resolveEndpointId",{enumerable:!0,get:function(){return s.resolveEndpointId}})},20899(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","check","Check",[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]])},20982(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateEndpointException=void 0;var n=r(56395);Object.defineProperty(t,"UpdateEndpointException",{enumerable:!0,get:function(){return n.UpdateEndpointException}})},21067(e,t,r){"use strict";function n(e){return e.reduce((e,t)=>"group"in t?{...e,...n(t.items)}:(e[t.value]=t,e),{})}r.d(t,{D:()=>n})},21170(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31635);n.__exportStar(r(91078),t),n.__exportStar(r(33748),t),n.__exportStar(r(85500),t)},21361(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;var n=r(65212),o=r(17214);t.every=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(o){e.call(t,o,i++,r)||(n.next(!1),n.complete())},function(){n.next(!0),n.complete()}))})}},21636(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultOAuthStore=void 0;const n=r(22651),o=r(47278),i=r(64166),a="amplify-signin-with-hostedUI",s="CognitoIdentityServiceProvider";t.DefaultOAuthStore=class{constructor(e){this.keyValueStorage=e}async clearOAuthInflightData(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(e.inflightOAuth),this.keyValueStorage.removeItem(e.oauthPKCE),this.keyValueStorage.removeItem(e.oauthState)])}async clearOAuthData(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(a),this.keyValueStorage.removeItem(e.oauthSignIn)}loadOAuthState(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthState)}storeOAuthState(e){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const t=c(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthState,e)}loadPKCE(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthPKCE)}storePKCE(e){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const t=c(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthPKCE,e)}setAuthConfig(e){this.cognitoConfig=e}async loadOAuthInFlight(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);return"true"===await this.keyValueStorage.getItem(e.inflightOAuth)}async storeOAuthInFlight(e){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const t=c(s,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(t.inflightOAuth,`${e}`)}async loadOAuthSignIn(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId),t=await this.keyValueStorage.getItem(a),[r,o]=(await this.keyValueStorage.getItem(e.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:"true"===r||"true"===t,preferPrivateSession:"true"===o}}async storeOAuthSignIn(e,t=!1){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const r=c(s,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(r.oauthSignIn,`${e},${t}`)}};const c=(e,t)=>(0,o.getAuthStorageKeys)(i.OAuthStorageKeys)(e,t)},21762(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounceTime=void 0;var n=r(62326),o=r(65212),i=r(17214);t.debounceTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.operate(function(r,n){var o=null,a=null,s=null,c=function(){if(o){o.unsubscribe(),o=null;var e=a;a=null,n.next(e)}};function u(){var r=s+e,i=t.now();if(i<r)return o=this.schedule(void 0,r-i),void n.add(o);c()}r.subscribe(i.createOperatorSubscriber(n,function(r){a=r,s=t.now(),o||(o=t.schedule(u,e),n.add(o))},function(){c(),n.complete()},void 0,function(){a=o=null}))})}},21777(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveHeaders=void 0,t.resolveHeaders=(e,t)=>{const r={};for(const t in e)r[t.toLowerCase()]=e[t];if(t){const e=r["content-type"];e&&(e.startsWith("application/json")||e.startsWith("application/")&&e.includes("+json"))||(r["content-type"]="application/json; charset=UTF-8"),t instanceof FormData&&delete r["content-type"]}return r}},21875(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrames=void 0;var n=r(48051),o=r(22931),i=r(35726);function a(e){return new n.Observable(function(t){var r=e||o.performanceTimestampProvider,n=r.now(),a=0,s=function(){t.closed||(a=i.animationFrameProvider.requestAnimationFrame(function(o){a=0;var i=r.now();t.next({timestamp:e?i:o,elapsed:i-n}),s()}))};return s(),function(){a&&i.animationFrameProvider.cancelAnimationFrame(a)}})}t.animationFrames=function(e){return e?a(e):s};var s=a()},21946(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindNodeCallback=void 0;var n=r(17474);t.bindNodeCallback=function(e,t,r){return n.bindCallbackInternals(!0,e,t,r)}},22044(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilChanged=void 0;var n=r(87699),o=r(65212),i=r(17214);function a(e,t){return e===t}t.distinctUntilChanged=function(e,t){return void 0===t&&(t=n.identity),e=null!=e?e:a,o.operate(function(r,n){var o,a=!0;r.subscribe(i.createOperatorSubscriber(n,function(r){var i=t(r);!a&&e(o,i)||(a=!1,o=i,n.next(r))}))})}},22105(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var n=r(78051),o=r(23952);t.asapScheduler=new o.AsapScheduler(n.AsapAction),t.asap=t.asapScheduler},22485(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetTokensFromRefreshTokenClient=void 0;const n=r(39236),o=r(72002),i=r(3427),a=r(58261);t.createGetTokensFromRefreshTokenClient=e=>(0,n.composeServiceApi)(i.cognitoUserPoolTransferHandler,(0,o.createUserPoolSerializer)("GetTokensFromRefreshToken"),(0,o.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},22525(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReconnectionMonitor=t.ReconnectEvent=void 0;const n=r(57186);var o;!function(e){e.START_RECONNECT="START_RECONNECT",e.HALT_RECONNECT="HALT_RECONNECT"}(o||(t.ReconnectEvent=o={})),t.ReconnectionMonitor=class{constructor(){this.reconnectObservers=[]}addObserver(e){this.reconnectObservers.push(e)}record(e){e===o.START_RECONNECT&&void 0===this.reconnectSetTimeoutId&&void 0===this.reconnectIntervalId&&(this.reconnectSetTimeoutId=setTimeout(()=>{this._triggerReconnect(),this.reconnectIntervalId=setInterval(()=>{this._triggerReconnect()},n.RECONNECT_INTERVAL)},n.RECONNECT_DELAY)),e===o.HALT_RECONNECT&&(this.reconnectIntervalId&&(clearInterval(this.reconnectIntervalId),this.reconnectIntervalId=void 0),this.reconnectSetTimeoutId&&(clearTimeout(this.reconnectSetTimeoutId),this.reconnectSetTimeoutId=void 0))}close(){this.reconnectObservers.forEach(e=>{e.complete?.()})}_triggerReconnect(){this.reconnectObservers.forEach(e=>{e.next?.()})}}},22626(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nuxtWebDetect=function(){return(0,n.windowExists)()&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)},t.nuxtSSRDetect=function(){return(0,n.globalExists)()&&void 0!==globalThis.__NUXT_PATHS__};const n=r(62114)},22651(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiError=t.createAssertionFunction=t.PlatformNotSupportedError=t.AmplifyError=t.setCustomUserAgent=t.StorageAction=t.PushNotificationAction=t.PubSubAction=t.PredictionsAction=t.InAppMessagingAction=t.InteractionsAction=t.GeoAction=t.Framework=t.DataStoreAction=t.Category=t.AnalyticsAction=t.AuthAction=t.ApiAction=t.AiAction=t.getAmplifyUserAgent=t.getAmplifyUserAgentObject=t.Platform=t.haveCredentialsChanged=t.Signer=t.assertOAuthConfig=t.assertIdentityPoolIdConfig=t.assertTokenProviderConfig=t.decodeJWT=t.getDeviceName=t.getClientInfo=t.parseAmplifyConfig=t.AmplifyUrlSearchParams=t.AmplifyUrl=t.amplifyUuid=t.ADD_OAUTH_LISTENER=t.parseAmplifyOutputs=t.isAmplifyOutputs=t.parseAWSExports=t.deDupeAsyncFunction=t.urlSafeEncode=t.urlSafeDecode=t.retry=t.NonRetryableError=t.jitteredExponentialRetry=t.jitteredBackoff=t.isWebWorker=t.isTokenExpired=t.isNonRetryableError=t.isBrowser=t.generateRandomString=void 0,t.SESSION_STOP_EVENT=t.SESSION_START_EVENT=t.sessionListener=t.HubInternal=t.WordArray=t.cryptoSecureRandomInt=t.getCrypto=t.base64Encoder=t.base64Decoder=t.AMPLIFY_SYMBOL=t.fetchAuthSession=t.USER_AGENT_HEADER=t.Reachability=t.Mutex=t.BackgroundProcessManager=t.AmplifyErrorCode=void 0;var n=r(72685);Object.defineProperty(t,"generateRandomString",{enumerable:!0,get:function(){return n.generateRandomString}}),Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return n.isBrowser}}),Object.defineProperty(t,"isNonRetryableError",{enumerable:!0,get:function(){return n.isNonRetryableError}}),Object.defineProperty(t,"isTokenExpired",{enumerable:!0,get:function(){return n.isTokenExpired}}),Object.defineProperty(t,"isWebWorker",{enumerable:!0,get:function(){return n.isWebWorker}}),Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return n.jitteredBackoff}}),Object.defineProperty(t,"jitteredExponentialRetry",{enumerable:!0,get:function(){return n.jitteredExponentialRetry}}),Object.defineProperty(t,"NonRetryableError",{enumerable:!0,get:function(){return n.NonRetryableError}}),Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return n.retry}}),Object.defineProperty(t,"urlSafeDecode",{enumerable:!0,get:function(){return n.urlSafeDecode}}),Object.defineProperty(t,"urlSafeEncode",{enumerable:!0,get:function(){return n.urlSafeEncode}}),Object.defineProperty(t,"deDupeAsyncFunction",{enumerable:!0,get:function(){return n.deDupeAsyncFunction}});var o=r(60448);Object.defineProperty(t,"parseAWSExports",{enumerable:!0,get:function(){return o.parseAWSExports}});var i=r(57706);Object.defineProperty(t,"isAmplifyOutputs",{enumerable:!0,get:function(){return i.isAmplifyOutputs}}),Object.defineProperty(t,"parseAmplifyOutputs",{enumerable:!0,get:function(){return i.parseAmplifyOutputs}});var a=r(59392);Object.defineProperty(t,"ADD_OAUTH_LISTENER",{enumerable:!0,get:function(){return a.ADD_OAUTH_LISTENER}});var s=r(38457);Object.defineProperty(t,"amplifyUuid",{enumerable:!0,get:function(){return s.amplifyUuid}});var c=r(11923);Object.defineProperty(t,"AmplifyUrl",{enumerable:!0,get:function(){return c.AmplifyUrl}}),Object.defineProperty(t,"AmplifyUrlSearchParams",{enumerable:!0,get:function(){return c.AmplifyUrlSearchParams}});var u=r(68506);Object.defineProperty(t,"parseAmplifyConfig",{enumerable:!0,get:function(){return u.parseAmplifyConfig}});var l=r(72685);Object.defineProperty(t,"getClientInfo",{enumerable:!0,get:function(){return l.getClientInfo}});var d=r(83359);Object.defineProperty(t,"getDeviceName",{enumerable:!0,get:function(){return d.getDeviceName}});var p=r(98778);Object.defineProperty(t,"decodeJWT",{enumerable:!0,get:function(){return p.decodeJWT}}),Object.defineProperty(t,"assertTokenProviderConfig",{enumerable:!0,get:function(){return p.assertTokenProviderConfig}}),Object.defineProperty(t,"assertIdentityPoolIdConfig",{enumerable:!0,get:function(){return p.assertIdentityPoolIdConfig}}),Object.defineProperty(t,"assertOAuthConfig",{enumerable:!0,get:function(){return p.assertOAuthConfig}});var f=r(10334);Object.defineProperty(t,"Signer",{enumerable:!0,get:function(){return f.Signer}});var h=r(62421);Object.defineProperty(t,"haveCredentialsChanged",{enumerable:!0,get:function(){return h.haveCredentialsChanged}});var m=r(4463);Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return m.Platform}}),Object.defineProperty(t,"getAmplifyUserAgentObject",{enumerable:!0,get:function(){return m.getAmplifyUserAgentObject}}),Object.defineProperty(t,"getAmplifyUserAgent",{enumerable:!0,get:function(){return m.getAmplifyUserAgent}});var g=r(1478);Object.defineProperty(t,"AiAction",{enumerable:!0,get:function(){return g.AiAction}}),Object.defineProperty(t,"ApiAction",{enumerable:!0,get:function(){return g.ApiAction}}),Object.defineProperty(t,"AuthAction",{enumerable:!0,get:function(){return g.AuthAction}}),Object.defineProperty(t,"AnalyticsAction",{enumerable:!0,get:function(){return g.AnalyticsAction}}),Object.defineProperty(t,"Category",{enumerable:!0,get:function(){return g.Category}}),Object.defineProperty(t,"DataStoreAction",{enumerable:!0,get:function(){return g.DataStoreAction}}),Object.defineProperty(t,"Framework",{enumerable:!0,get:function(){return g.Framework}}),Object.defineProperty(t,"GeoAction",{enumerable:!0,get:function(){return g.GeoAction}}),Object.defineProperty(t,"InteractionsAction",{enumerable:!0,get:function(){return g.InteractionsAction}}),Object.defineProperty(t,"InAppMessagingAction",{enumerable:!0,get:function(){return g.InAppMessagingAction}}),Object.defineProperty(t,"PredictionsAction",{enumerable:!0,get:function(){return g.PredictionsAction}}),Object.defineProperty(t,"PubSubAction",{enumerable:!0,get:function(){return g.PubSubAction}}),Object.defineProperty(t,"PushNotificationAction",{enumerable:!0,get:function(){return g.PushNotificationAction}}),Object.defineProperty(t,"StorageAction",{enumerable:!0,get:function(){return g.StorageAction}});var y=r(76638);Object.defineProperty(t,"setCustomUserAgent",{enumerable:!0,get:function(){return y.setCustomUserAgent}});var v=r(1123);Object.defineProperty(t,"AmplifyError",{enumerable:!0,get:function(){return v.AmplifyError}}),Object.defineProperty(t,"PlatformNotSupportedError",{enumerable:!0,get:function(){return v.PlatformNotSupportedError}}),Object.defineProperty(t,"createAssertionFunction",{enumerable:!0,get:function(){return v.createAssertionFunction}}),Object.defineProperty(t,"ApiError",{enumerable:!0,get:function(){return v.ApiError}});var b=r(27745);Object.defineProperty(t,"AmplifyErrorCode",{enumerable:!0,get:function(){return b.AmplifyErrorCode}});var E=r(74920);Object.defineProperty(t,"BackgroundProcessManager",{enumerable:!0,get:function(){return E.BackgroundProcessManager}});var w=r(29815);Object.defineProperty(t,"Mutex",{enumerable:!0,get:function(){return w.Mutex}});var S=r(6467);Object.defineProperty(t,"Reachability",{enumerable:!0,get:function(){return S.Reachability}});var A=r(68582);Object.defineProperty(t,"USER_AGENT_HEADER",{enumerable:!0,get:function(){return A.USER_AGENT_HEADER}});var _=r(89439);Object.defineProperty(t,"fetchAuthSession",{enumerable:!0,get:function(){return _.fetchAuthSession}});var P=r(4915);Object.defineProperty(t,"AMPLIFY_SYMBOL",{enumerable:!0,get:function(){return P.AMPLIFY_SYMBOL}});var C=r(35269);Object.defineProperty(t,"base64Decoder",{enumerable:!0,get:function(){return C.base64Decoder}}),Object.defineProperty(t,"base64Encoder",{enumerable:!0,get:function(){return C.base64Encoder}});var I=r(58506);Object.defineProperty(t,"getCrypto",{enumerable:!0,get:function(){return I.getCrypto}});var x=r(80369);Object.defineProperty(t,"cryptoSecureRandomInt",{enumerable:!0,get:function(){return x.cryptoSecureRandomInt}});var O=r(90472);Object.defineProperty(t,"WordArray",{enumerable:!0,get:function(){return O.WordArray}});var k=r(4915);Object.defineProperty(t,"HubInternal",{enumerable:!0,get:function(){return k.HubInternal}});var T=r(18498);Object.defineProperty(t,"sessionListener",{enumerable:!0,get:function(){return T.sessionListener}});var N=r(18498);Object.defineProperty(t,"SESSION_START_EVENT",{enumerable:!0,get:function(){return N.SESSION_START_EVENT}}),Object.defineProperty(t,"SESSION_STOP_EVENT",{enumerable:!0,get:function(){return N.SESSION_STOP_EVENT}})},22662(e,t,r){"use strict";r.d(t,{h:()=>g});var n=r(10790),o=r(88149),i=(r(51609),r(68690)),a=r(56324),s=r(59396),c=r(97170),u=r(46100),l=r(52837),d=r(11507),p=r(18639),f={root:"m_9814e45f"};const h={zIndex:(0,i.I)("modal")},m=(0,s.V)((e,{gradient:t,color:r,backgroundOpacity:n,blur:i,radius:s,zIndex:u})=>({root:{"--overlay-bg":t||(void 0!==r||void 0!==n)&&(0,c.B)(r||"#000",n??.6)||void 0,"--overlay-filter":i?`blur(${(0,o.D)(i)})`:void 0,"--overlay-radius":void 0===s?void 0:(0,a.nJ)(s),"--overlay-z-index":u?.toString()}})),g=(0,p.v)((e,t)=>{const r=(0,u.Y)("Overlay",h,e),{classNames:o,className:i,style:a,styles:s,unstyled:c,vars:p,fixed:g,center:y,children:v,radius:b,zIndex:E,gradient:w,blur:S,color:A,backgroundOpacity:_,mod:P,attributes:C,...I}=r,x=(0,l.I)({name:"Overlay",props:r,classes:f,className:i,style:a,classNames:o,styles:s,unstyled:c,attributes:C,vars:p,varsResolver:m});return(0,n.jsx)(d.a,{ref:t,...x("root"),mod:[{center:y,fixed:g},P],...I,children:v})});g.classes=f,g.displayName="@mantine/core/Overlay"},22829(e,t){"use strict";function r(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520],i=new Uint8Array(e.length+1);i.set(e),i[e.length]=128;const a=(e=i).length/4+2,s=Math.ceil(a/16),c=new Array(s);for(let t=0;t<s;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];c[t]=r}c[s-1][14]=8*(e.length-1)/Math.pow(2,32),c[s-1][14]=Math.floor(c[s-1][14]),c[s-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<s;++e){const i=new Uint32Array(80);for(let t=0;t<16;++t)i[t]=c[e][t];for(let e=16;e<80;++e)i[e]=n(i[e-3]^i[e-8]^i[e-14]^i[e-16],1);let a=o[0],s=o[1],u=o[2],l=o[3],d=o[4];for(let e=0;e<80;++e){const o=Math.floor(e/20),c=n(a,5)+r(o,s,u,l)+d+t[o]+i[e]>>>0;d=l,l=u,u=n(s,30)>>>0,s=a,a=c}o[0]=o[0]+a>>>0,o[1]=o[1]+s>>>0,o[2]=o[2]+u>>>0,o[3]=o[3]+l>>>0,o[4]=o[4]+d>>>0}return Uint8Array.of(o[0]>>24,o[0]>>16,o[0]>>8,o[0],o[1]>>24,o[1]>>16,o[1]>>8,o[1],o[2]>>24,o[2]>>16,o[2]>>8,o[2],o[3]>>24,o[3]>>16,o[3]>>8,o[3],o[4]>>24,o[4]>>16,o[4]>>8,o[4])}},22918(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;const n=r(8353);t.Cache=new n.StorageCache},22931(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},22961(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oAuthSignOutRedirect=void 0;const n=r(22651),o=r(17238),i=r(19506);t.oAuthSignOutRedirect=async(e,t=!1,r)=>{(0,n.assertOAuthConfig)(e);const{loginWith:a,userPoolClientId:s}=e,{domain:c,redirectSignOut:u}=a.oauth,l=(0,i.getRedirectUrl)(u,r),d=`https://${c}/logout?${Object.entries({client_id:s,logout_uri:encodeURIComponent(l)}).map(([e,t])=>`${e}=${t}`).join("&")}`;return(0,o.openAuthSession)(d,u,t)}},23079(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skip=void 0;var n=r(85934);t.skip=function(e){return n.filter(function(t,r){return e<=r})}},23151(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listFactory=function(e,t,r,n,o=!1,i){return o?(o,a)=>c(e,t,r,n,a,o,i):o=>c(e,t,r,n,o,void 0,i)};const n=r(44287),o=r(48310),i=r(17631),a=r(53841),s=r(83102);function c(e,t,r,c,u,l,d){return(0,i.selfAwareAsync)(async i=>{const{name:p}=r,f=(0,n.generateGraphQLDocument)(t,r,"LIST",u),h=(0,n.buildGraphQLVariables)(r,"LIST",u,t),m=(0,n.authModeParams)(e,c,u),g=(0,n.getCustomHeaders)(e,c,u?.headers),y=(0,s.createUserAgentOverride)(d);try{const r=l?e.graphql(l,{...m,query:f,variables:h},g):e.graphql({...m,query:f,variables:h,...y},g),o=(0,a.extendCancellability)(r,i),{data:s,extensions:c}=await o;if(void 0!==s){const[r]=Object.keys(s);if(s[r].items){const o=s[r].items.map(e=>(0,n.flattenItems)(t,p,e));return u?.selectionSet?{data:o,nextToken:s[r].nextToken,extensions:c}:{data:(0,n.initializeModel)(e,p,o,t,m.authMode,m.authToken,!!l),nextToken:s[r].nextToken,extensions:c}}return{data:s[r],nextToken:s[r].nextToken,extensions:c}}}catch(r){const{data:i,errors:a}=r;if(null!=i&&0!==Object.keys(i).length&&a){const[s]=Object.keys(i);if(i[s]?.items){const r=i[s].items.map(e=>(0,n.flattenItems)(t,p,e));return r?u?.selectionSet?{data:r,nextToken:i[s]?.nextToken,errors:a}:{data:(0,n.initializeModel)(e,p,r,t,m.authMode,m.authToken,!!l),nextToken:i[s]?.nextToken,errors:a}:{data:i[s],nextToken:i[s]?.nextToken,errors:a}}return(0,o.handleListGraphQlError)(r)}return(0,o.handleListGraphQlError)(r)}})}},23462(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(43518),o=r(49913),i=r(74008),a=r(76396),s=r(95179),c=r(76803),u=r(1882),l=r(82639),d=r(86313),p=r(19308),f=r(17313),h=r(51393);t.default=class{constructor({userPoolName:e,a:t,g:r,A:n,N:a}){this.encoder=o.textEncoder,this.userPoolName=e,this.a=t,this.g=r,this.A=n,this.N=a,this.k=new i.BigInteger((0,u.getHashFromHex)(`${(0,p.getPaddedHex)(a)}${(0,p.getPaddedHex)(r)}`),16)}getRandomPassword(){if(!this.randomPassword)throw new n.AuthError({name:"EmptyBigIntegerRandomPassword",message:"random password is empty"});return this.randomPassword}getSaltToHashDevices(){if(!this.saltToHashDevices)throw new n.AuthError({name:"EmptyBigIntegersaltToHashDevices",message:"saltToHashDevices is empty"});return this.saltToHashDevices}getVerifierDevices(){if(!this.verifierDevices)throw new n.AuthError({name:"EmptyBigIntegerVerifierDevices",message:"verifyDevices is empty"});return this.verifierDevices}async generateHashDevice(e,t){this.randomPassword=(0,h.getRandomString)();const r=`${e}${t}:${this.randomPassword}`,n=(0,c.getHashFromData)(r),o=(0,l.getHexFromBytes)((0,f.getRandomBytes)(16));return this.saltToHashDevices=(0,p.getPaddedHex)(new i.BigInteger(o,16)),new Promise((e,t)=>{this.g.modPow(new i.BigInteger((0,u.getHashFromHex)(this.saltToHashDevices+n),16),this.N,(r,n)=>{r?t(r):(this.verifierDevices=(0,p.getPaddedHex)(n),e())})})}async getPasswordAuthenticationKey({username:e,password:t,serverBValue:r,salt:n}){if(r.mod(this.N).equals(i.BigInteger.ZERO))throw new Error("B cannot be zero.");const o=(0,a.calculateU)({A:this.A,B:r}),l=`${this.userPoolName}${e}:${t}`,f=(0,c.getHashFromData)(l),h=new i.BigInteger((0,u.getHashFromHex)((0,p.getPaddedHex)(n)+f),16),m=await(0,a.calculateS)({a:this.a,g:this.g,k:this.k,x:h,B:r,N:this.N,U:o}),g=this.encoder.convert("Caldera Derived Key"),y=this.encoder.convert(String.fromCharCode(1)),v=new Uint8Array(g.byteLength+y.byteLength);return v.set(g,0),v.set(y,g.byteLength),(0,d.getHkdfKey)((0,s.getBytesFromHex)((0,p.getPaddedHex)(m)),(0,s.getBytesFromHex)((0,p.getPaddedHex)(o)),v)}}},23506(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundError=void 0;var n=r(9619);t.NotFoundError=n.createErrorClass(function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}})},23952(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(19533).AsyncScheduler);t.AsapScheduler=i},24096(e,t,r){"use strict";r.d(t,{B:()=>c});var n=r(51609),o=r(61617);function i(e,t=document){const r=t.querySelector(e);if(r)return r;const n=t.querySelectorAll("*");for(let t=0;t<n.length;t+=1){const r=n[t];if(r.shadowRoot){const t=i(e,r.shadowRoot);if(t)return t}}return null}function a(e,t=document){const r=[],n=t.querySelectorAll(e);r.push(...Array.from(n));const o=t.querySelectorAll("*");for(let t=0;t<o.length;t+=1){const n=o[t];if(n.shadowRoot){const t=a(e,n.shadowRoot);r.push(...t)}}return r}function s(e){if(!e)return document;const t=e.getRootNode();return t instanceof ShadowRoot||t instanceof Document?t:document}function c({defaultOpened:e,opened:t,onOpenedChange:r,onDropdownClose:c,onDropdownOpen:u,loop:l=!0,scrollBehavior:d="instant"}={}){const[p,f]=(0,o.Z)({value:t,defaultValue:e,finalValue:!1,onChange:r}),h=(0,n.useRef)(null),m=(0,n.useRef)(-1),g=(0,n.useRef)(null),y=(0,n.useRef)(null),v=(0,n.useRef)(-1),b=(0,n.useRef)(-1),E=(0,n.useRef)(-1),w=(0,n.useCallback)((e="unknown")=>{p||(f(!0),u?.(e))},[f,u,p]),S=(0,n.useCallback)((e="unknown")=>{p&&(f(!1),c?.(e))},[f,c,p]),A=(0,n.useCallback)((e="unknown")=>{p?S(e):w(e)},[S,w,p]),_=(0,n.useCallback)(()=>{const e=s(y.current),t=i(`#${h.current} [data-combobox-selected]`,e);t?.removeAttribute("data-combobox-selected"),t?.removeAttribute("aria-selected")},[]),P=(0,n.useCallback)(e=>{const t=s(y.current),r=i(`#${h.current}`,t),n=r?a("[data-combobox-option]",r):null;if(!n)return null;const o=e>=n.length?0:e<0?n.length-1:e;return m.current=o,n?.[o]&&!n[o].hasAttribute("data-combobox-disabled")?(_(),n[o].setAttribute("data-combobox-selected","true"),n[o].setAttribute("aria-selected","true"),n[o].scrollIntoView({block:"nearest",behavior:d}),n[o].id):null},[d,_]),C=(0,n.useCallback)(()=>{const e=s(y.current),t=i(`#${h.current} [data-combobox-active]`,e);if(t){const r=a(`#${h.current} [data-combobox-option]`,e).findIndex(e=>e===t);return P(r)}return P(0)},[P]),I=(0,n.useCallback)(()=>{const e=s(y.current),t=a(`#${h.current} [data-combobox-option]`,e);return P(function(e,t,r){for(let r=e+1;r<t.length;r+=1)if(!t[r].hasAttribute("data-combobox-disabled"))return r;if(r)for(let e=0;e<t.length;e+=1)if(!t[e].hasAttribute("data-combobox-disabled"))return e;return e}(m.current,t,l))},[P,l]),x=(0,n.useCallback)(()=>{const e=s(y.current),t=a(`#${h.current} [data-combobox-option]`,e);return P(function(e,t,r){for(let r=e-1;r>=0;r-=1)if(!t[r].hasAttribute("data-combobox-disabled"))return r;if(r)for(let e=t.length-1;e>-1;e-=1)if(!t[e].hasAttribute("data-combobox-disabled"))return e;return e}(m.current,t,l))},[P,l]),O=(0,n.useCallback)(()=>{const e=s(y.current),t=a(`#${h.current} [data-combobox-option]`,e);return P(function(e){for(let t=0;t<e.length;t+=1)if(!e[t].hasAttribute("data-combobox-disabled"))return t;return-1}(t))},[P]),k=(0,n.useCallback)((e="selected",t)=>{E.current=window.setTimeout(()=>{const r=s(y.current),n=a(`#${h.current} [data-combobox-option]`,r),o=n.findIndex(t=>t.hasAttribute(`data-combobox-${e}`));m.current=o,t?.scrollIntoView&&n[o]?.scrollIntoView({block:"nearest",behavior:d})},0)},[]),T=(0,n.useCallback)(()=>{m.current=-1,_()},[_]),N=(0,n.useCallback)(()=>{const e=s(y.current),t=a(`#${h.current} [data-combobox-option]`,e),r=t?.[m.current];r?.click()},[]),j=(0,n.useCallback)(e=>{h.current=e},[]),R=(0,n.useCallback)(()=>{v.current=window.setTimeout(()=>g.current?.focus(),0)},[]),M=(0,n.useCallback)(()=>{b.current=window.setTimeout(()=>y.current?.focus(),0)},[]),D=(0,n.useCallback)(()=>m.current,[]);return(0,n.useEffect)(()=>()=>{window.clearTimeout(v.current),window.clearTimeout(b.current),window.clearTimeout(E.current)},[]),{dropdownOpened:p,openDropdown:w,closeDropdown:S,toggleDropdown:A,selectedOptionIndex:m.current,getSelectedOptionIndex:D,selectOption:P,selectFirstOption:O,selectActiveOption:C,selectNextOption:I,selectPreviousOption:x,resetSelectedOption:T,updateSelectedOptionIndex:k,listId:h.current,setListId:j,clickSelectedOption:N,searchRef:g,focusSearchInput:R,targetRef:y,focusTarget:M}}r(10790)},24315(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasskeyAuthenticationError=void 0;const n=r(27287),o=r(54129);t.handlePasskeyAuthenticationError=e=>{if(e instanceof o.PasskeyError)return e;if(e instanceof Error&&"NotAllowedError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.PasskeyAuthenticationCanceled];return new o.PasskeyError({name:o.PasskeyErrorCode.PasskeyAuthenticationCanceled,message:t,recoverySuggestion:r,underlyingError:e})}return(0,n.handlePasskeyError)(e)}},24489(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LogType=void 0,function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"}(r||(t.LogType=r={}))},24521(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patch=t.head=t.del=t.put=t.post=t.get=t.isCancelError=void 0;var n=r(46834);Object.defineProperty(t,"isCancelError",{enumerable:!0,get:function(){return n.isCancelError}});var o=r(91387);Object.defineProperty(t,"get",{enumerable:!0,get:function(){return o.get}}),Object.defineProperty(t,"post",{enumerable:!0,get:function(){return o.post}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return o.put}}),Object.defineProperty(t,"del",{enumerable:!0,get:function(){return o.del}}),Object.defineProperty(t,"head",{enumerable:!0,get:function(){return o.head}}),Object.defineProperty(t,"patch",{enumerable:!0,get:function(){return o.patch}})},24631(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AUTH_KEY_PREFIX=void 0,t.AUTH_KEY_PREFIX="CognitoIdentityServiceProvider"},24865(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resendSignUpCode=async function(e){const{username:t}=e;(0,i.assertValidationError)(!!t,a.AuthValidationErrorCode.EmptySignUpUsername);const r=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(r);const{userPoolClientId:p,userPoolId:f,userPoolEndpoint:h}=r,m=e.options?.clientMetadata,g=(0,u.getUserContextData)({username:t,userPoolId:f,userPoolClientId:p}),y=(0,l.createResendConfirmationCodeClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:h})}),{CodeDeliveryDetails:v}=await y({region:(0,s.getRegionFromUserPoolId)(r.userPoolId),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.ResendSignUpCode)},{Username:t,ClientMetadata:m,ClientId:r.userPoolClientId,UserContextData:g}),{DeliveryMedium:b,AttributeName:E,Destination:w}={...v};return{destination:w,deliveryMedium:b,attributeName:E||void 0}};const n=r(56547),o=r(22651),i=r(58765),a=r(49129),s=r(62639),c=r(17238),u=r(99369),l=r(35456),d=r(28228)},24952(e,t,r){"use strict";r.d(t,{a:()=>E});var n=r(10790),o=r(51609),i=r(56324),a=r(59396),s=r(86344),c=r(46100),u=r(52837),l=r(11507),d=r(2412),p=r(34164),f={root:"m_5ae2e3c",barsLoader:"m_7a2bd4cd",bar:"m_870bb79","bars-loader-animation":"m_5d2b3b9d",dotsLoader:"m_4e3f22d7",dot:"m_870c4af","loader-dots-animation":"m_aac34a1",ovalLoader:"m_b34414df","oval-loader-animation":"m_f8e89c4b"};const h=(0,o.forwardRef)(({className:e,...t},r)=>(0,n.jsxs)(l.a,{component:"span",className:(0,p.A)(f.barsLoader,e),...t,ref:r,children:[(0,n.jsx)("span",{className:f.bar}),(0,n.jsx)("span",{className:f.bar}),(0,n.jsx)("span",{className:f.bar})]}));h.displayName="@mantine/core/Bars";const m=(0,o.forwardRef)(({className:e,...t},r)=>(0,n.jsxs)(l.a,{component:"span",className:(0,p.A)(f.dotsLoader,e),...t,ref:r,children:[(0,n.jsx)("span",{className:f.dot}),(0,n.jsx)("span",{className:f.dot}),(0,n.jsx)("span",{className:f.dot})]}));m.displayName="@mantine/core/Dots";const g=(0,o.forwardRef)(({className:e,...t},r)=>(0,n.jsx)(l.a,{component:"span",className:(0,p.A)(f.ovalLoader,e),...t,ref:r}));g.displayName="@mantine/core/Oval";const y={bars:h,oval:g,dots:m},v={loaders:y,type:"oval"},b=(0,a.V)((e,{size:t,color:r})=>({root:{"--loader-size":(0,i.YC)(t,"loader-size"),"--loader-color":r?(0,s.r)(r,e):void 0}})),E=(0,d.P9)((e,t)=>{const r=(0,c.Y)("Loader",v,e),{size:o,color:i,type:a,vars:s,className:d,style:p,classNames:h,styles:m,unstyled:g,loaders:y,variant:E,children:w,attributes:S,...A}=r,_=(0,u.I)({name:"Loader",props:r,classes:f,className:d,style:p,classNames:h,styles:m,unstyled:g,attributes:S,vars:s,varsResolver:b});return w?(0,n.jsx)(l.a,{..._("root"),ref:t,...A,children:w}):(0,n.jsx)(l.a,{..._("root"),ref:t,component:y[a],variant:E,size:o,...A})});E.defaultLoaders=y,E.classes=f,E.displayName="@mantine/core/Loader"},25022(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmUserAttribute=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userPoolEndpoint:r,userPoolId:p}=t,{confirmationCode:f,userAttributeKey:h}=e;(0,a.assertValidationError)(!!f,i.AuthValidationErrorCode.EmptyConfirmUserAttributeCode);const{tokens:m}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,c.assertAuthTokens)(m);const g=(0,l.createVerifyUserAttributeClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:r})});await g({region:(0,s.getRegionFromUserPoolId)(p),userAgentValue:(0,u.getAuthUserAgentValue)(o.AuthAction.ConfirmUserAttribute)},{AccessToken:m.accessToken.toString(),AttributeName:h,Code:f})};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(62639),c=r(64166),u=r(17238),l=r(35456),d=r(28228)},25217(e,t,r){"use strict";r.r(t),r.d(t,{CompactEncrypt:()=>st,CompactSign:()=>ut,EmbeddedJWK:()=>yt,EncryptJWT:()=>ft,FlattenedEncrypt:()=>We,FlattenedSign:()=>ct,GeneralEncrypt:()=>Ke,GeneralSign:()=>dt,SignJWT:()=>pt,UnsecuredJWT:()=>It,base64url:()=>n,calculateJwkThumbprint:()=>mt,calculateJwkThumbprintUri:()=>gt,compactDecrypt:()=>Ue,compactVerify:()=>Je,createLocalJWKSet:()=>wt,createRemoteJWKSet:()=>Ct,cryptoRuntime:()=>jt,customFetch:()=>At,decodeJwt:()=>Ot,decodeProtectedHeader:()=>xt,errors:()=>o,exportJWK:()=>He,exportPKCS8:()=>Ve,exportSPKI:()=>ze,flattenedDecrypt:()=>De,flattenedVerify:()=>Ye,generalDecrypt:()=>Fe,generalVerify:()=>Qe,generateKeyPair:()=>Tt,generateSecret:()=>Nt,importJWK:()=>Pe,importPKCS8:()=>_e,importSPKI:()=>Se,importX509:()=>Ae,jwksCache:()=>_t,jwtDecrypt:()=>at,jwtVerify:()=>it});var n={};r.r(n),r.d(n,{decode:()=>m,encode:()=>g});var o={};r.r(o),r.d(o,{JOSEAlgNotAllowed:()=>E,JOSEError:()=>y,JOSENotSupported:()=>w,JWEDecryptionFailed:()=>S,JWEInvalid:()=>A,JWKInvalid:()=>C,JWKSInvalid:()=>I,JWKSMultipleMatchingKeys:()=>O,JWKSNoMatchingKey:()=>x,JWKSTimeout:()=>k,JWSInvalid:()=>_,JWSSignatureVerificationFailed:()=>T,JWTClaimValidationFailed:()=>v,JWTExpired:()=>b,JWTInvalid:()=>P});const i=new TextEncoder,a=new TextDecoder,s=2**32;function c(...e){const t=e.reduce((e,{length:t})=>e+t,0),r=new Uint8Array(t);let n=0;for(const t of e)r.set(t,n),n+=t.length;return r}function u(e,t,r){if(t<0||t>=s)throw new RangeError(`value must be >= 0 and <= 4294967295. Received ${t}`);e.set([t>>>24,t>>>16,t>>>8,255&t],r)}function l(e){const t=Math.floor(e/s),r=e%s,n=new Uint8Array(8);return u(n,t,0),u(n,r,4),n}function d(e){const t=new Uint8Array(4);return u(t,e),t}function p(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);if(n>127)throw new TypeError("non-ASCII string encountered in encode()");t[r]=n}return t}function f(e){if(Uint8Array.prototype.toBase64)return e.toBase64();const t=[];for(let r=0;r<e.length;r+=32768)t.push(String.fromCharCode.apply(null,e.subarray(r,r+32768)));return btoa(t.join(""))}function h(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r}function m(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:a.decode(e),{alphabet:"base64url"});let t=e;t instanceof Uint8Array&&(t=a.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/");try{return h(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}}function g(e){let t=e;return"string"==typeof t&&(t=i.encode(t)),Uint8Array.prototype.toBase64?t.toBase64({alphabet:"base64url",omitPadding:!0}):f(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}class y extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,t){super(e,t),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class v extends y{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.claim=r,this.reason=n,this.payload=t}}class b extends y{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.claim=r,this.reason=n,this.payload=t}}class E extends y{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class w extends y{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class S extends y{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",t){super(e,t)}}class A extends y{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"}class _ extends y{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class P extends y{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class C extends y{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"}class I extends y{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"}class x extends y{static code="ERR_JWKS_NO_MATCHING_KEY";code="ERR_JWKS_NO_MATCHING_KEY";constructor(e="no applicable key found in the JSON Web Key Set",t){super(e,t)}}class O extends y{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t)}}class k extends y{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",t){super(e,t)}}class T extends y{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",t){super(e,t)}}function N(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new w(`Unsupported JWE Algorithm: ${e}`)}}function j(e,t){if(t.length<<3!==N(e))throw new A("Invalid Initialization Vector length")}function R(e,t){const r=e.byteLength<<3;if(r!==t)throw new A(`Invalid Content Encryption Key length. Expected ${t} bits, got ${r} bits`)}const M=(e,t="algorithm.name")=>new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`),D=(e,t)=>e.name===t;function U(e){return parseInt(e.name.slice(4),10)}function F(e,t){if(t&&!e.usages.includes(t))throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`)}function L(e,t,r){switch(t){case"A128GCM":case"A192GCM":case"A256GCM":{if(!D(e.algorithm,"AES-GCM"))throw M("AES-GCM");const r=parseInt(t.slice(1,4),10);if(e.algorithm.length!==r)throw M(r,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!D(e.algorithm,"AES-KW"))throw M("AES-KW");const r=parseInt(t.slice(1,4),10);if(e.algorithm.length!==r)throw M(r,"algorithm.length");break}case"ECDH":switch(e.algorithm.name){case"ECDH":case"X25519":break;default:throw M("ECDH or X25519")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!D(e.algorithm,"PBKDF2"))throw M("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!D(e.algorithm,"RSA-OAEP"))throw M("RSA-OAEP");const r=parseInt(t.slice(9),10)||1;if(U(e.algorithm.hash)!==r)throw M(`SHA-${r}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}F(e,r)}function z(e,t,...r){if((r=r.filter(Boolean)).length>2){const t=r.pop();e+=`one of type ${r.join(", ")}, or ${t}.`}else 2===r.length?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}const V=(e,...t)=>z("Key must be ",e,...t),H=(e,t,...r)=>z(`Key for the ${e} algorithm must be `,t,...r);function $(e){if(!W(e))throw new Error("CryptoKey instance expected")}const W=e=>{if("CryptoKey"===e?.[Symbol.toStringTag])return!0;try{return e instanceof CryptoKey}catch{return!1}},B=e=>"KeyObject"===e?.[Symbol.toStringTag],K=e=>W(e)||B(e);async function G(e,t,r,n,o,i){if(!(W(t)||t instanceof Uint8Array))throw new TypeError(V(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!n)throw new A("JWE Initialization Vector missing");if(!o)throw new A("JWE Authentication Tag missing");switch(j(e,n),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t instanceof Uint8Array&&R(t,parseInt(e.slice(-3),10)),async function(e,t,r,n,o,i){if(!(t instanceof Uint8Array))throw new TypeError(V(t,"Uint8Array"));const a=parseInt(e.slice(1,4),10),s=await crypto.subtle.importKey("raw",t.subarray(a>>3),"AES-CBC",!1,["decrypt"]),u=await crypto.subtle.importKey("raw",t.subarray(0,a>>3),{hash:"SHA-"+(a<<1),name:"HMAC"},!1,["sign"]),d=c(i,n,r,l(i.length<<3)),p=new Uint8Array((await crypto.subtle.sign("HMAC",u,d)).slice(0,a>>3));let f,h;try{f=await async function(e,t){if(!(e instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(t instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");const r={name:"HMAC",hash:"SHA-256"},n=await crypto.subtle.generateKey(r,!1,["sign"]),o=new Uint8Array(await crypto.subtle.sign(r,n,e)),i=new Uint8Array(await crypto.subtle.sign(r,n,t));let a=0,s=-1;for(;++s<32;)a|=o[s]^i[s];return 0===a}(o,p)}catch{}if(!f)throw new S;try{h=new Uint8Array(await crypto.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}if(!h)throw new S;return h}(e,t,r,n,o,i);case"A128GCM":case"A192GCM":case"A256GCM":return t instanceof Uint8Array&&R(t,parseInt(e.slice(1,4),10)),async function(e,t,r,n,o,i){let a;t instanceof Uint8Array?a=await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["decrypt"]):(L(t,e,"decrypt"),a=t);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:i,iv:n,name:"AES-GCM",tagLength:128},a,c(r,o)))}catch{throw new S}}(e,t,r,n,o,i);default:throw new w("Unsupported JWE Content Encryption Algorithm")}}function q(...e){const t=e.filter(Boolean);if(0===t.length||1===t.length)return!0;let r;for(const e of t){const t=Object.keys(e);if(r&&0!==r.size)for(const e of t){if(r.has(e))return!1;r.add(e)}else r=new Set(t)}return!0}function Y(e){if("object"!=typeof(t=e)||null===t||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t;if(null===Object.getPrototypeOf(e))return!0;let r=e;for(;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function J(e,t){if(e.algorithm.length!==parseInt(t.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${t}`)}function Q(e,t,r){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"AES-KW",!0,[r]):(L(e,t,r),e)}async function X(e,t,r){const n=await Q(t,e,"wrapKey");J(n,e);const o=await crypto.subtle.importKey("raw",r,{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.wrapKey("raw",o,n,"AES-KW"))}async function Z(e,t,r){const n=await Q(t,e,"unwrapKey");J(n,e);const o=await crypto.subtle.unwrapKey("raw",r,n,"AES-KW",{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.exportKey("raw",o))}async function ee(e,t){const r=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(r,t))}function te(e){return c(d(e.length),e)}async function re(e,t,r,n,o=new Uint8Array,i=new Uint8Array){L(e,"ECDH"),L(t,"ECDH","deriveBits");const a=c(te(p(r)),te(o),te(i),d(n),new Uint8Array),s=new Uint8Array(await crypto.subtle.deriveBits({name:e.algorithm.name,public:e},t,function(e){return"X25519"===e.algorithm.name?256:Math.ceil(parseInt(e.algorithm.namedCurve.slice(-3),10)/8)<<3}(e)));return async function(e,t,r){const n=t>>3,o=Math.ceil(n/32),i=new Uint8Array(32*o);for(let t=1;t<=o;t++){const n=new Uint8Array(4+e.length+r.length);n.set(d(t),0),n.set(e,4),n.set(r,4+e.length);const o=await ee("sha256",n);i.set(o,32*(t-1))}return i.slice(0,n)}(s,n,a)}function ne(e){switch(e.algorithm.namedCurve){case"P-256":case"P-384":case"P-521":return!0;default:return"X25519"===e.algorithm.name}}async function oe(e,t,r,n){if(!(e instanceof Uint8Array)||e.length<8)throw new A("PBES2 Salt Input must be 8 or more octets");const o=((e,t)=>c(p(e),Uint8Array.of(0),t))(t,e),i=parseInt(t.slice(13,16),10),a={hash:`SHA-${t.slice(8,11)}`,iterations:r,name:"PBKDF2",salt:o},s=await function(e,t){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]):(L(e,t,"deriveBits"),e)}(n,t);return new Uint8Array(await crypto.subtle.deriveBits(a,s,i))}function ie(e,t){if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:r}=t.algorithm;if("number"!=typeof r||r<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}const ae=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new w(`alg ${e} is not supported either by JOSE or your javascript runtime`)}};function se(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new w(`Unsupported JWE Algorithm: ${e}`)}}const ce=e=>crypto.getRandomValues(new Uint8Array(se(e)>>3)),ue=(e,t)=>`-----BEGIN ${t}-----\n${(e.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${t}-----`,le=async(e,t,r)=>{if(B(r)){if(r.type!==e)throw new TypeError(`key is not a ${e} key`);return r.export({format:"pem",type:t})}if(!W(r))throw new TypeError(V(r,"CryptoKey","KeyObject"));if(!r.extractable)throw new TypeError("CryptoKey is not extractable");if(r.type!==e)throw new TypeError(`key is not a ${e} key`);return ue(f(new Uint8Array(await crypto.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},de=(e,t)=>{if(e.byteLength!==t.length)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0},pe=e=>({data:e,pos:0}),fe=e=>{const t=e.data[e.pos++];if(128&t){const r=127&t;let n=0;for(let t=0;t<r;t++)n=n<<8|e.data[e.pos++];return n}return t},he=(e,t=1)=>{if(t<=0)return;e.pos++;const r=fe(e);e.pos+=r,t>1&&he(e,t-1)},me=(e,t,r)=>{if(e.data[e.pos++]!==t)throw new Error(r)},ge=(e,t)=>{const r=e.data.subarray(e.pos,e.pos+t);return e.pos+=t,r},ye=e=>{const t=(e=>{me(e,6,"Expected algorithm OID");const t=fe(e);return ge(e,t)})(e);if(de(t,[43,101,110]))return"X25519";if(!de(t,[42,134,72,206,61,2,1]))throw new Error("Unsupported key algorithm");me(e,6,"Expected curve OID");const r=fe(e),n=ge(e,r);for(const{name:e,oid:t}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(de(n,t))return e;throw new Error("Unsupported named curve")},ve=async(e,t,r,n)=>{let o,i;const a="spki"===e,s=()=>a?["verify"]:["sign"];switch(r){case"PS256":case"PS384":case"PS512":o={name:"RSA-PSS",hash:`SHA-${r.slice(-3)}`},i=s();break;case"RS256":case"RS384":case"RS512":o={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${r.slice(-3)}`},i=s();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":o={name:"RSA-OAEP",hash:`SHA-${parseInt(r.slice(-3),10)||1}`},i=a?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":o={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[r]},i=s();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{const e=n.getNamedCurve(t);o="X25519"===e?{name:"X25519"}:{name:"ECDH",namedCurve:e}}catch(e){throw new w("Invalid or unsupported key format")}i=a?[]:["deriveBits"];break;case"Ed25519":case"EdDSA":o={name:"Ed25519"},i=s();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":o={name:r},i=s();break;default:throw new w('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(e,t,o,n?.extractable??!!a,i)},be=(e,t)=>h(e.replace(t,"")),Ee=(e,t,r)=>{const n=be(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);let o=r;return t?.startsWith?.("ECDH-ES")&&(o||={},o.getNamedCurve=e=>{const t=pe(e);return function(e){me(e,48,"Invalid SPKI structure"),fe(e),me(e,48,"Expected algorithm identifier");fe(e);e.pos}(t),ye(t)}),ve("spki",n,t,o)};async function we(e){if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:t,keyUsages:r}=function(e){let t,r;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":t={name:e.alg},r=e.priv?["sign"]:["verify"];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},r=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},r=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},r=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":t={name:"Ed25519"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new w('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:r}}(e),n={...e};return"AKP"!==n.kty&&delete n.alg,delete n.use,crypto.subtle.importKey("jwk",n,t,e.ext??(!e.d&&!e.priv),e.key_ops??r)}async function Se(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return Ee(e,t,r)}async function Ae(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return((e,t,r)=>{let n;try{n=function(e){return function(e){const t=pe(e);me(t,48,"Invalid certificate structure"),fe(t),me(t,48,"Invalid tbsCertificate structure"),fe(t),160===e[t.pos]?he(t,6):he(t,5);const r=t.pos;me(t,48,"Invalid SPKI structure");const n=fe(t);return e.subarray(r,r+n+(t.pos-r))}(be(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g))}(e)}catch(e){throw new TypeError("Failed to parse the X.509 certificate",{cause:e})}return Ee(ue(f(n),"PUBLIC KEY"),t,r)})(e,t,r)}async function _e(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return((e,t,r)=>{const n=be(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);let o=r;return t?.startsWith?.("ECDH-ES")&&(o||={},o.getNamedCurve=e=>{const t=pe(e);return function(e){me(e,48,"Invalid PKCS#8 structure"),fe(e),me(e,2,"Expected version field");const t=fe(e);e.pos+=t,me(e,48,"Expected algorithm identifier"),fe(e),e.pos}(t),ye(t)}),ve("pkcs8",n,t,o)})(e,t,r)}async function Pe(e,t,r){if(!Y(e))throw new TypeError("JWK must be an object");let n;switch(t??=e.alg,n??=r?.extractable??e.ext,e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return m(e.k);case"RSA":if("oth"in e&&void 0!==e.oth)throw new w('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return we({...e,alg:t,ext:n});case"AKP":if("string"!=typeof e.alg||!e.alg)throw new TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==t&&t!==e.alg)throw new TypeError("JWK alg and alg option value mismatch");return we({...e,ext:n});case"EC":case"OKP":return we({...e,alg:t,ext:n});default:throw new w('Unsupported "kty" (Key Type) Parameter value')}}async function Ce(e,t,r,n,o){if(!(W(r)||r instanceof Uint8Array))throw new TypeError(V(r,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));var i;switch(n?j(e,n):(i=e,n=crypto.getRandomValues(new Uint8Array(N(i)>>3))),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return r instanceof Uint8Array&&R(r,parseInt(e.slice(-3),10)),async function(e,t,r,n,o){if(!(r instanceof Uint8Array))throw new TypeError(V(r,"Uint8Array"));const i=parseInt(e.slice(1,4),10),a=await crypto.subtle.importKey("raw",r.subarray(i>>3),"AES-CBC",!1,["encrypt"]),s=await crypto.subtle.importKey("raw",r.subarray(0,i>>3),{hash:"SHA-"+(i<<1),name:"HMAC"},!1,["sign"]),u=new Uint8Array(await crypto.subtle.encrypt({iv:n,name:"AES-CBC"},a,t)),d=c(o,n,u,l(o.length<<3));return{ciphertext:u,tag:new Uint8Array((await crypto.subtle.sign("HMAC",s,d)).slice(0,i>>3)),iv:n}}(e,t,r,n,o);case"A128GCM":case"A192GCM":case"A256GCM":return r instanceof Uint8Array&&R(r,parseInt(e.slice(1,4),10)),async function(e,t,r,n,o){let i;r instanceof Uint8Array?i=await crypto.subtle.importKey("raw",r,"AES-GCM",!1,["encrypt"]):(L(r,e,"encrypt"),i=r);const a=new Uint8Array(await crypto.subtle.encrypt({additionalData:o,iv:n,name:"AES-GCM",tagLength:128},i,t)),s=a.slice(-16);return{ciphertext:a.slice(0,-16),tag:s,iv:n}}(e,t,r,n,o);default:throw new w("Unsupported JWE Content Encryption Algorithm")}}function Ie(e,t,r,n,o){if(void 0!==o.crit&&void 0===n?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||void 0===n.crit)return new Set;if(!Array.isArray(n.crit)||0===n.crit.length||n.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let i;i=void 0!==r?new Map([...Object.entries(r),...t.entries()]):t;for(const t of n.crit){if(!i.has(t))throw new w(`Extension Header Parameter "${t}" is not recognized`);if(void 0===o[t])throw new e(`Extension Header Parameter "${t}" is missing`);if(i.get(t)&&void 0===n[t])throw new e(`Extension Header Parameter "${t}" MUST be integrity protected`)}return new Set(n.crit)}function xe(e,t){if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw new TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)}const Oe=e=>Y(e)&&"string"==typeof e.kty;let ke;const Te=async(e,t,r,n=!1)=>{ke||=new WeakMap;let o=ke.get(e);if(o?.[r])return o[r];const i=await we({...t,alg:r});return n&&Object.freeze(e),o?o[r]=i:ke.set(e,{[r]:i}),i};async function Ne(e,t){if(e instanceof Uint8Array)return e;if(W(e))return e;if(B(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return((e,t)=>{ke||=new WeakMap;let r=ke.get(e);if(r?.[t])return r[t];const n="public"===e.type,o=!!n;let i;if("x25519"===e.asymmetricKeyType){switch(t){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}i=e.toCryptoKey(e.asymmetricKeyType,o,n?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==t&&"Ed25519"!==t)throw new TypeError("given KeyObject instance cannot be used for this algorithm");i=e.toCryptoKey(e.asymmetricKeyType,o,[n?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(t!==e.asymmetricKeyType.toUpperCase())throw new TypeError("given KeyObject instance cannot be used for this algorithm");i=e.toCryptoKey(e.asymmetricKeyType,o,[n?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let r;switch(t){case"RSA-OAEP":r="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":r="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":r="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":r="SHA-512";break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}if(t.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:r},o,n?["encrypt"]:["decrypt"]);i=e.toCryptoKey({name:t.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:r},o,[n?"verify":"sign"])}if("ec"===e.asymmetricKeyType){const r=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!r)throw new TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===t&&"P-256"===r&&(i=e.toCryptoKey({name:"ECDSA",namedCurve:r},o,[n?"verify":"sign"])),"ES384"===t&&"P-384"===r&&(i=e.toCryptoKey({name:"ECDSA",namedCurve:r},o,[n?"verify":"sign"])),"ES512"===t&&"P-521"===r&&(i=e.toCryptoKey({name:"ECDSA",namedCurve:r},o,[n?"verify":"sign"])),t.startsWith("ECDH-ES")&&(i=e.toCryptoKey({name:"ECDH",namedCurve:r},o,n?[]:["deriveBits"]))}if(!i)throw new TypeError("given KeyObject instance cannot be used for this algorithm");return r?r[t]=i:ke.set(e,{[t]:i}),i})(e,t)}catch(e){if(e instanceof TypeError)throw e}let r=e.export({format:"jwk"});return Te(e,r,t)}if(Oe(e))return e.k?m(e.k):Te(e,e,t,!0);throw new Error("unreachable")}const je=e=>e?.[Symbol.toStringTag],Re=(e,t,r)=>{if(void 0!==t.use){let e;switch(r){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(t.use!==e)throw new TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==t.alg&&t.alg!==e)throw new TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(t.key_ops)){let n;switch(!0){case"sign"===r||"verify"===r:case"dir"===e:case e.includes("CBC-HS"):n=r;break;case e.startsWith("PBES2"):n="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):n=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===r?"wrapKey":"unwrapKey":r;break;case"encrypt"===r&&e.startsWith("RSA"):n="wrapKey";break;case"decrypt"===r:n=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(n&&!1===t.key_ops?.includes?.(n))throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${n}" when present`)}return!0};function Me(e,t,r){switch(e.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":((e,t,r)=>{if(!(t instanceof Uint8Array)){if(Oe(t)){if((e=>"oct"===e.kty&&"string"==typeof e.k)(t)&&Re(e,t,r))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!K(t))throw new TypeError(H(e,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==t.type)throw new TypeError(`${je(t)} instances for symmetric algorithms must be of type "secret"`)}})(e,t,r);break;default:((e,t,r)=>{if(Oe(t))switch(r){case"decrypt":case"sign":if((e=>"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d))(t)&&Re(e,t,r))return;throw new TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if((e=>"oct"!==e.kty&&void 0===e.d&&void 0===e.priv)(t)&&Re(e,t,r))return;throw new TypeError("JSON Web Key for this operation must be a public JWK")}if(!K(t))throw new TypeError(H(e,t,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===t.type)throw new TypeError(`${je(t)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===t.type)switch(r){case"sign":throw new TypeError(`${je(t)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw new TypeError(`${je(t)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===t.type)switch(r){case"verify":throw new TypeError(`${je(t)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw new TypeError(`${je(t)} instances for asymmetric algorithm encryption must be of type "public"`)}})(e,t,r)}}async function De(e,t,r){if(!Y(e))throw new A("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new A("JOSE Header missing");if(void 0!==e.iv&&"string"!=typeof e.iv)throw new A("JWE Initialization Vector incorrect type");if("string"!=typeof e.ciphertext)throw new A("JWE Ciphertext missing or incorrect type");if(void 0!==e.tag&&"string"!=typeof e.tag)throw new A("JWE Authentication Tag incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new A("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new A("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new A("JWE AAD incorrect type");if(void 0!==e.header&&!Y(e.header))throw new A("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!Y(e.unprotected))throw new A("JWE Per-Recipient Unprotected Header incorrect type");let n;if(e.protected)try{const t=m(e.protected);n=JSON.parse(a.decode(t))}catch{throw new A("JWE Protected Header is invalid")}if(!q(n,e.header,e.unprotected))throw new A("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const o={...n,...e.header,...e.unprotected};if(Ie(A,new Map,r?.crit,n,o),void 0!==o.zip)throw new w('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:i,enc:s}=o;if("string"!=typeof i||!i)throw new A("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof s||!s)throw new A("missing JWE Encryption Algorithm (enc) in JWE Header");const u=r&&xe("keyManagementAlgorithms",r.keyManagementAlgorithms),l=r&&xe("contentEncryptionAlgorithms",r.contentEncryptionAlgorithms);if(u&&!u.has(i)||!u&&i.startsWith("PBES2"))throw new E('"alg" (Algorithm) Header Parameter value not allowed');if(l&&!l.has(s))throw new E('"enc" (Encryption Algorithm) Header Parameter value not allowed');let d;if(void 0!==e.encrypted_key)try{d=m(e.encrypted_key)}catch{throw new A("Failed to base64url decode the encrypted_key")}let f=!1;"function"==typeof t&&(t=await t(n,e),f=!0),Me("dir"===i?s:i,t,"decrypt");const h=await Ne(t,i);let g,y,v;try{g=await async function(e,t,r,n,o){switch(e){case"dir":if(void 0!==r)throw new A("Encountered unexpected JWE Encrypted Key");return t;case"ECDH-ES":if(void 0!==r)throw new A("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!Y(n.epk))throw new A('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if($(t),!ne(t))throw new w("ECDH with the provided key is not allowed or not supported by your javascript runtime");const o=await Pe(n.epk,e);let i,a;if($(o),void 0!==n.apu){if("string"!=typeof n.apu)throw new A('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{i=m(n.apu)}catch{throw new A("Failed to base64url decode the apu")}}if(void 0!==n.apv){if("string"!=typeof n.apv)throw new A('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{a=m(n.apv)}catch{throw new A("Failed to base64url decode the apv")}}const s=await re(o,t,"ECDH-ES"===e?n.enc:e,"ECDH-ES"===e?se(n.enc):parseInt(e.slice(-5,-2),10),i,a);if("ECDH-ES"===e)return s;if(void 0===r)throw new A("JWE Encrypted Key missing");return Z(e.slice(-6),s,r)}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===r)throw new A("JWE Encrypted Key missing");return $(t),async function(e,t,r){return L(t,e,"decrypt"),ie(e,t),new Uint8Array(await crypto.subtle.decrypt(ae(e),t,r))}(e,t,r);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===r)throw new A("JWE Encrypted Key missing");if("number"!=typeof n.p2c)throw new A('JOSE Header "p2c" (PBES2 Count) missing or invalid');const i=o?.maxPBES2Count||1e4;if(n.p2c>i)throw new A('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof n.p2s)throw new A('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let a;try{a=m(n.p2s)}catch{throw new A("Failed to base64url decode the p2s")}return async function(e,t,r,n,o){const i=await oe(o,e,n,t);return Z(e.slice(-6),i,r)}(e,t,r,n.p2c,a)}case"A128KW":case"A192KW":case"A256KW":if(void 0===r)throw new A("JWE Encrypted Key missing");return Z(e,t,r);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===r)throw new A("JWE Encrypted Key missing");if("string"!=typeof n.iv)throw new A('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof n.tag)throw new A('JOSE Header "tag" (Authentication Tag) missing or invalid');let o,i;try{o=m(n.iv)}catch{throw new A("Failed to base64url decode the iv")}try{i=m(n.tag)}catch{throw new A("Failed to base64url decode the tag")}return async function(e,t,r,n,o){return G(e.slice(0,7),t,r,n,o,new Uint8Array)}(e,t,r,o,i)}default:throw new w('Invalid or unsupported "alg" (JWE Algorithm) header value')}}(i,h,d,o,r)}catch(e){if(e instanceof TypeError||e instanceof A||e instanceof w)throw e;g=ce(s)}if(void 0!==e.iv)try{y=m(e.iv)}catch{throw new A("Failed to base64url decode the iv")}if(void 0!==e.tag)try{v=m(e.tag)}catch{throw new A("Failed to base64url decode the tag")}const b=void 0!==e.protected?p(e.protected):new Uint8Array;let S,_;S=void 0!==e.aad?c(b,p("."),p(e.aad)):b;try{_=m(e.ciphertext)}catch{throw new A("Failed to base64url decode the ciphertext")}const P={plaintext:await G(s,g,_,y,v,S)};if(void 0!==e.protected&&(P.protectedHeader=n),void 0!==e.aad)try{P.additionalAuthenticatedData=m(e.aad)}catch{throw new A("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(P.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(P.unprotectedHeader=e.header),f?{...P,key:h}:P}async function Ue(e,t,r){if(e instanceof Uint8Array&&(e=a.decode(e)),"string"!=typeof e)throw new A("Compact JWE must be a string or Uint8Array");const{0:n,1:o,2:i,3:s,4:c,length:u}=e.split(".");if(5!==u)throw new A("Invalid Compact JWE");const l=await De({ciphertext:s,iv:i||void 0,protected:n,tag:c||void 0,encrypted_key:o||void 0},t,r),d={plaintext:l.plaintext,protectedHeader:l.protectedHeader};return"function"==typeof t?{...d,key:l.key}:d}async function Fe(e,t,r){if(!Y(e))throw new A("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(Y))throw new A("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new A("JWE Recipients has no members");for(const n of e.recipients)try{return await De({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:n.encrypted_key,header:n.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},t,r)}catch{}throw new S}const Le=Symbol();async function ze(e){return(e=>le("public","spki",e))(e)}async function Ve(e){return(e=>le("private","pkcs8",e))(e)}async function He(e){return async function(e){if(B(e)){if("secret"!==e.type)return e.export({format:"jwk"});e=e.export()}if(e instanceof Uint8Array)return{kty:"oct",k:g(e)};if(!W(e))throw new TypeError(V(e,"CryptoKey","KeyObject","Uint8Array"));if(!e.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:t,key_ops:r,alg:n,use:o,...i}=await crypto.subtle.exportKey("jwk",e);return"AKP"===i.kty&&(i.alg=n),i}(e)}async function $e(e,t,r,n,o={}){let i,a,s;switch(e){case"dir":s=r;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if($(r),!ne(r))throw new w("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:c,apv:u}=o;let l;l=o.epk?await Ne(o.epk,e):(await crypto.subtle.generateKey(r.algorithm,!0,["deriveBits"])).privateKey;const{x:d,y:p,crv:f,kty:h}=await He(l),m=await re(r,l,"ECDH-ES"===e?t:e,"ECDH-ES"===e?se(t):parseInt(e.slice(-5,-2),10),c,u);if(a={epk:{x:d,crv:f,kty:h}},"EC"===h&&(a.epk.y=p),c&&(a.apu=g(c)),u&&(a.apv=g(u)),"ECDH-ES"===e){s=m;break}s=n||ce(t);const y=e.slice(-6);i=await X(y,m,s);break}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":s=n||ce(t),$(r),i=await async function(e,t,r){return L(t,e,"encrypt"),ie(e,t),new Uint8Array(await crypto.subtle.encrypt(ae(e),t,r))}(e,r,s);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{s=n||ce(t);const{p2c:c,p2s:u}=o;({encryptedKey:i,...a}=await async function(e,t,r,n=2048,o=crypto.getRandomValues(new Uint8Array(16))){const i=await oe(o,e,n,t);return{encryptedKey:await X(e.slice(-6),i,r),p2c:n,p2s:g(o)}}(e,r,s,c,u));break}case"A128KW":case"A192KW":case"A256KW":s=n||ce(t),i=await X(e,r,s);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{s=n||ce(t);const{iv:c}=o;({encryptedKey:i,...a}=await async function(e,t,r,n){const o=e.slice(0,7),i=await Ce(o,r,t,n,new Uint8Array);return{encryptedKey:i.ciphertext,iv:g(i.iv),tag:g(i.tag)}}(e,r,s,c));break}default:throw new w('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:s,encryptedKey:i,parameters:a}}class We{#e;#t;#r;#n;#o;#i;#a;#s;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this.#e=e}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setProtectedHeader(e){if(this.#t)throw new TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setSharedUnprotectedHeader(e){if(this.#r)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#r=e,this}setUnprotectedHeader(e){if(this.#n)throw new TypeError("setUnprotectedHeader can only be called once");return this.#n=e,this}setAdditionalAuthenticatedData(e){return this.#o=e,this}setContentEncryptionKey(e){if(this.#i)throw new TypeError("setContentEncryptionKey can only be called once");return this.#i=e,this}setInitializationVector(e){if(this.#a)throw new TypeError("setInitializationVector can only be called once");return this.#a=e,this}async encrypt(e,t){if(!this.#t&&!this.#n&&!this.#r)throw new A("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!q(this.#t,this.#n,this.#r))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const r={...this.#t,...this.#n,...this.#r};if(Ie(A,new Map,t?.crit,this.#t,r),void 0!==r.zip)throw new w('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:n,enc:o}=r;if("string"!=typeof n||!n)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof o||!o)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let i,a,s,u,l,d;if(this.#i&&("dir"===n||"ECDH-ES"===n))throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${n}`);Me("dir"===n?o:n,e,"encrypt");{let r;const s=await Ne(e,n);({cek:a,encryptedKey:i,parameters:r}=await $e(n,o,s,this.#i,this.#s)),r&&(t&&Le in t?this.#n?this.#n={...this.#n,...r}:this.setUnprotectedHeader(r):this.#t?this.#t={...this.#t,...r}:this.setProtectedHeader(r))}if(this.#t?(u=g(JSON.stringify(this.#t)),l=p(u)):(u="",l=new Uint8Array),this.#o){d=g(this.#o);const e=p(d);s=c(l,p("."),e)}else s=l;const{ciphertext:f,tag:h,iv:m}=await Ce(o,this.#e,a,this.#a,s),y={ciphertext:g(f)};return m&&(y.iv=g(m)),h&&(y.tag=g(h)),i&&(y.encrypted_key=g(i)),d&&(y.aad=d),this.#t&&(y.protected=u),this.#r&&(y.unprotected=this.#r),this.#n&&(y.header=this.#n),y}}class Be{#c;unprotectedHeader;keyManagementParameters;key;options;constructor(e,t,r){this.#c=e,this.key=t,this.options=r}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}setKeyManagementParameters(e){if(this.keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this.keyManagementParameters=e,this}addRecipient(...e){return this.#c.addRecipient(...e)}encrypt(...e){return this.#c.encrypt(...e)}done(){return this.#c}}class Ke{#e;#u=[];#t;#n;#o;constructor(e){this.#e=e}addRecipient(e,t){const r=new Be(this,e,{crit:t?.crit});return this.#u.push(r),r}setProtectedHeader(e){if(this.#t)throw new TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setSharedUnprotectedHeader(e){if(this.#n)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#n=e,this}setAdditionalAuthenticatedData(e){return this.#o=e,this}async encrypt(){if(!this.#u.length)throw new A("at least one recipient must be added");if(1===this.#u.length){const[e]=this.#u,t=await new We(this.#e).setAdditionalAuthenticatedData(this.#o).setProtectedHeader(this.#t).setSharedUnprotectedHeader(this.#n).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options}),r={ciphertext:t.ciphertext,iv:t.iv,recipients:[{}],tag:t.tag};return t.aad&&(r.aad=t.aad),t.protected&&(r.protected=t.protected),t.unprotected&&(r.unprotected=t.unprotected),t.encrypted_key&&(r.recipients[0].encrypted_key=t.encrypted_key),t.header&&(r.recipients[0].header=t.header),r}let e;for(let t=0;t<this.#u.length;t++){const r=this.#u[t];if(!q(this.#t,this.#n,r.unprotectedHeader))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const n={...this.#t,...this.#n,...r.unprotectedHeader},{alg:o}=n;if("string"!=typeof o||!o)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===o||"ECDH-ES"===o)throw new A('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof n.enc||!n.enc)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(e){if(e!==n.enc)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else e=n.enc;if(Ie(A,new Map,r.options.crit,this.#t,n),void 0!==n.zip)throw new w('JWE "zip" (Compression Algorithm) Header Parameter is not supported.')}const t=ce(e),r={ciphertext:"",recipients:[]};for(let n=0;n<this.#u.length;n++){const o=this.#u[n],i={};if(r.recipients.push(i),0===n){const e=await new We(this.#e).setAdditionalAuthenticatedData(this.#o).setContentEncryptionKey(t).setProtectedHeader(this.#t).setSharedUnprotectedHeader(this.#n).setUnprotectedHeader(o.unprotectedHeader).setKeyManagementParameters(o.keyManagementParameters).encrypt(o.key,{...o.options,[Le]:!0});r.ciphertext=e.ciphertext,r.iv=e.iv,r.tag=e.tag,e.aad&&(r.aad=e.aad),e.protected&&(r.protected=e.protected),e.unprotected&&(r.unprotected=e.unprotected),i.encrypted_key=e.encrypted_key,e.header&&(i.header=e.header);continue}const a=o.unprotectedHeader?.alg||this.#t?.alg||this.#n?.alg;Me("dir"===a?e:a,o.key,"encrypt");const s=await Ne(o.key,a),{encryptedKey:c,parameters:u}=await $e(a,e,s,t,o.keyManagementParameters);i.encrypted_key=g(c),(o.unprotectedHeader||u)&&(i.header={...o.unprotectedHeader,...u})}return r}}function Ge(e,t){const r=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new w(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function qe(e,t,r){if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(V(t,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[r])}return function(e,t,r){switch(t){case"HS256":case"HS384":case"HS512":{if(!D(e.algorithm,"HMAC"))throw M("HMAC");const r=parseInt(t.slice(2),10);if(U(e.algorithm.hash)!==r)throw M(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!D(e.algorithm,"RSASSA-PKCS1-v1_5"))throw M("RSASSA-PKCS1-v1_5");const r=parseInt(t.slice(2),10);if(U(e.algorithm.hash)!==r)throw M(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!D(e.algorithm,"RSA-PSS"))throw M("RSA-PSS");const r=parseInt(t.slice(2),10);if(U(e.algorithm.hash)!==r)throw M(`SHA-${r}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!D(e.algorithm,"Ed25519"))throw M("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!D(e.algorithm,t))throw M(t);break;case"ES256":case"ES384":case"ES512":{if(!D(e.algorithm,"ECDSA"))throw M("ECDSA");const r=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(t);if(e.algorithm.namedCurve!==r)throw M(r,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}F(e,r)}(t,e,r),t}async function Ye(e,t,r){if(!Y(e))throw new _("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new _('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new _("JWS Protected Header incorrect type");if(void 0===e.payload)throw new _("JWS Payload missing");if("string"!=typeof e.signature)throw new _("JWS Signature missing or incorrect type");if(void 0!==e.header&&!Y(e.header))throw new _("JWS Unprotected Header incorrect type");let n={};if(e.protected)try{const t=m(e.protected);n=JSON.parse(a.decode(t))}catch{throw new _("JWS Protected Header is invalid")}if(!q(n,e.header))throw new _("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const o={...n,...e.header};let s=!0;if(Ie(_,new Map([["b64",!0]]),r?.crit,n,o).has("b64")&&(s=n.b64,"boolean"!=typeof s))throw new _('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:u}=o;if("string"!=typeof u||!u)throw new _('JWS "alg" (Algorithm) Header Parameter missing or invalid');const l=r&&xe("algorithms",r.algorithms);if(l&&!l.has(u))throw new E('"alg" (Algorithm) Header Parameter value not allowed');if(s){if("string"!=typeof e.payload)throw new _("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new _("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof t&&(t=await t(n,e),d=!0),Me(u,t,"verify");const f=c(void 0!==e.protected?p(e.protected):new Uint8Array,p("."),"string"==typeof e.payload?s?p(e.payload):i.encode(e.payload):e.payload);let h;try{h=m(e.signature)}catch{throw new _("Failed to base64url decode the signature")}const g=await Ne(t,u),y=await async function(e,t,r,n){const o=await qe(e,t,"verify");ie(e,o);const i=Ge(e,o.algorithm);try{return await crypto.subtle.verify(i,o,r,n)}catch{return!1}}(u,g,h,f);if(!y)throw new T;let v;if(s)try{v=m(e.payload)}catch{throw new _("Failed to base64url decode the payload")}else v="string"==typeof e.payload?i.encode(e.payload):e.payload;const b={payload:v};return void 0!==e.protected&&(b.protectedHeader=n),void 0!==e.header&&(b.unprotectedHeader=e.header),d?{...b,key:g}:b}async function Je(e,t,r){if(e instanceof Uint8Array&&(e=a.decode(e)),"string"!=typeof e)throw new _("Compact JWS must be a string or Uint8Array");const{0:n,1:o,2:i,length:s}=e.split(".");if(3!==s)throw new _("Invalid Compact JWS");const c=await Ye({payload:o,protected:n,signature:i},t,r),u={payload:c.payload,protectedHeader:c.protectedHeader};return"function"==typeof t?{...u,key:c.key}:u}async function Qe(e,t,r){if(!Y(e))throw new _("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(Y))throw new _("JWS Signatures missing or incorrect type");for(const n of e.signatures)try{return await Ye({header:n.header,payload:e.payload,protected:n.protected,signature:n.signature},t,r)}catch{}throw new T}const Xe=e=>Math.floor(e.getTime()/1e3),Ze=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function et(e){const t=Ze.exec(e);if(!t||t[4]&&t[1])throw new TypeError("Invalid time period format");const r=parseFloat(t[2]);let n;switch(t[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":n=Math.round(r);break;case"minute":case"minutes":case"min":case"mins":case"m":n=Math.round(60*r);break;case"hour":case"hours":case"hr":case"hrs":case"h":n=Math.round(3600*r);break;case"day":case"days":case"d":n=Math.round(86400*r);break;case"week":case"weeks":case"w":n=Math.round(604800*r);break;default:n=Math.round(31557600*r)}return"-"===t[1]||"ago"===t[4]?-n:n}function tt(e,t){if(!Number.isFinite(t))throw new TypeError(`Invalid ${e} input`);return t}const rt=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`;function nt(e,t,r={}){let n;try{n=JSON.parse(a.decode(t))}catch{}if(!Y(n))throw new P("JWT Claims Set must be a top-level JSON object");const{typ:o}=r;if(o&&("string"!=typeof e.typ||rt(e.typ)!==rt(o)))throw new v('unexpected "typ" JWT header value',n,"typ","check_failed");const{requiredClaims:i=[],issuer:s,subject:c,audience:u,maxTokenAge:l}=r,d=[...i];void 0!==l&&d.push("iat"),void 0!==u&&d.push("aud"),void 0!==c&&d.push("sub"),void 0!==s&&d.push("iss");for(const e of new Set(d.reverse()))if(!(e in n))throw new v(`missing required "${e}" claim`,n,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(n.iss))throw new v('unexpected "iss" claim value',n,"iss","check_failed");if(c&&n.sub!==c)throw new v('unexpected "sub" claim value',n,"sub","check_failed");if(u&&(f="string"==typeof u?[u]:u,!("string"==typeof(p=n.aud)?f.includes(p):Array.isArray(p)&&f.some(Set.prototype.has.bind(new Set(p))))))throw new v('unexpected "aud" claim value',n,"aud","check_failed");var p,f;let h;switch(typeof r.clockTolerance){case"string":h=et(r.clockTolerance);break;case"number":h=r.clockTolerance;break;case"undefined":h=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:m}=r,g=Xe(m||new Date);if((void 0!==n.iat||l)&&"number"!=typeof n.iat)throw new v('"iat" claim must be a number',n,"iat","invalid");if(void 0!==n.nbf){if("number"!=typeof n.nbf)throw new v('"nbf" claim must be a number',n,"nbf","invalid");if(n.nbf>g+h)throw new v('"nbf" claim timestamp check failed',n,"nbf","check_failed")}if(void 0!==n.exp){if("number"!=typeof n.exp)throw new v('"exp" claim must be a number',n,"exp","invalid");if(n.exp<=g-h)throw new b('"exp" claim timestamp check failed',n,"exp","check_failed")}if(l){const e=g-n.iat;if(e-h>("number"==typeof l?l:et(l)))throw new b('"iat" claim timestamp check failed (too far in the past)',n,"iat","check_failed");if(e<0-h)throw new v('"iat" claim timestamp check failed (it should be in the past)',n,"iat","check_failed")}return n}class ot{#l;constructor(e){if(!Y(e))throw new TypeError("JWT Claims Set MUST be an object");this.#l=structuredClone(e)}data(){return i.encode(JSON.stringify(this.#l))}get iss(){return this.#l.iss}set iss(e){this.#l.iss=e}get sub(){return this.#l.sub}set sub(e){this.#l.sub=e}get aud(){return this.#l.aud}set aud(e){this.#l.aud=e}set jti(e){this.#l.jti=e}set nbf(e){"number"==typeof e?this.#l.nbf=tt("setNotBefore",e):e instanceof Date?this.#l.nbf=tt("setNotBefore",Xe(e)):this.#l.nbf=Xe(new Date)+et(e)}set exp(e){"number"==typeof e?this.#l.exp=tt("setExpirationTime",e):e instanceof Date?this.#l.exp=tt("setExpirationTime",Xe(e)):this.#l.exp=Xe(new Date)+et(e)}set iat(e){void 0===e?this.#l.iat=Xe(new Date):e instanceof Date?this.#l.iat=tt("setIssuedAt",Xe(e)):this.#l.iat=tt("setIssuedAt","string"==typeof e?Xe(new Date)+et(e):e)}}async function it(e,t,r){const n=await Je(e,t,r);if(n.protectedHeader.crit?.includes("b64")&&!1===n.protectedHeader.b64)throw new P("JWTs MUST NOT use unencoded payload");const o={payload:nt(n.protectedHeader,n.payload,r),protectedHeader:n.protectedHeader};return"function"==typeof t?{...o,key:n.key}:o}async function at(e,t,r){const n=await Ue(e,t,r),o=nt(n.protectedHeader,n.plaintext,r),{protectedHeader:i}=n;if(void 0!==i.iss&&i.iss!==o.iss)throw new v('replicated "iss" claim header parameter mismatch',o,"iss","mismatch");if(void 0!==i.sub&&i.sub!==o.sub)throw new v('replicated "sub" claim header parameter mismatch',o,"sub","mismatch");if(void 0!==i.aud&&JSON.stringify(i.aud)!==JSON.stringify(o.aud))throw new v('replicated "aud" claim header parameter mismatch',o,"aud","mismatch");const a={payload:o,protectedHeader:i};return"function"==typeof t?{...a,key:n.key}:a}class st{#d;constructor(e){this.#d=new We(e)}setContentEncryptionKey(e){return this.#d.setContentEncryptionKey(e),this}setInitializationVector(e){return this.#d.setInitializationVector(e),this}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}setKeyManagementParameters(e){return this.#d.setKeyManagementParameters(e),this}async encrypt(e,t){const r=await this.#d.encrypt(e,t);return[r.protected,r.encrypted_key,r.iv,r.ciphertext,r.tag].join(".")}}class ct{#l;#t;#n;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this.#l=e}setProtectedHeader(e){if(this.#t)throw new TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setUnprotectedHeader(e){if(this.#n)throw new TypeError("setUnprotectedHeader can only be called once");return this.#n=e,this}async sign(e,t){if(!this.#t&&!this.#n)throw new _("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!q(this.#t,this.#n))throw new _("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const r={...this.#t,...this.#n};let n=!0;if(Ie(_,new Map([["b64",!0]]),t?.crit,this.#t,r).has("b64")&&(n=this.#t.b64,"boolean"!=typeof n))throw new _('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:o}=r;if("string"!=typeof o||!o)throw new _('JWS "alg" (Algorithm) Header Parameter missing or invalid');let i,a,s,u;Me(o,e,"sign"),n?(i=g(this.#l),a=p(i)):(a=this.#l,i=""),this.#t?(s=g(JSON.stringify(this.#t)),u=p(s)):(s="",u=new Uint8Array);const l=c(u,p("."),a),d=await Ne(e,o),f=await async function(e,t,r){const n=await qe(e,t,"sign");ie(e,n);const o=await crypto.subtle.sign(Ge(e,n.algorithm),n,r);return new Uint8Array(o)}(o,d,l),h={signature:g(f),payload:i};return this.#n&&(h.header=this.#n),this.#t&&(h.protected=s),h}}class ut{#d;constructor(e){this.#d=new ct(e)}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}async sign(e,t){const r=await this.#d.sign(e,t);if(void 0===r.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${r.protected}.${r.payload}.${r.signature}`}}class lt{#c;protectedHeader;unprotectedHeader;options;key;constructor(e,t,r){this.#c=e,this.key=t,this.options=r}setProtectedHeader(e){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=e,this}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addSignature(...e){return this.#c.addSignature(...e)}sign(...e){return this.#c.sign(...e)}done(){return this.#c}}class dt{#l;#p=[];constructor(e){this.#l=e}addSignature(e,t){const r=new lt(this,e,t);return this.#p.push(r),r}async sign(){if(!this.#p.length)throw new _("at least one signature must be added");const e={signatures:[],payload:""};for(let t=0;t<this.#p.length;t++){const r=this.#p[t],n=new ct(this.#l);n.setProtectedHeader(r.protectedHeader),n.setUnprotectedHeader(r.unprotectedHeader);const{payload:o,...i}=await n.sign(r.key,r.options);if(0===t)e.payload=o;else if(e.payload!==o)throw new _("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(i)}return e}}class pt{#t;#f;constructor(e={}){this.#f=new ot(e)}setIssuer(e){return this.#f.iss=e,this}setSubject(e){return this.#f.sub=e,this}setAudience(e){return this.#f.aud=e,this}setJti(e){return this.#f.jti=e,this}setNotBefore(e){return this.#f.nbf=e,this}setExpirationTime(e){return this.#f.exp=e,this}setIssuedAt(e){return this.#f.iat=e,this}setProtectedHeader(e){return this.#t=e,this}async sign(e,t){const r=new ut(this.#f.data());if(r.setProtectedHeader(this.#t),Array.isArray(this.#t?.crit)&&this.#t.crit.includes("b64")&&!1===this.#t.b64)throw new P("JWTs MUST NOT use unencoded payload");return r.sign(e,t)}}class ft{#i;#a;#s;#t;#h;#m;#g;#f;constructor(e={}){this.#f=new ot(e)}setIssuer(e){return this.#f.iss=e,this}setSubject(e){return this.#f.sub=e,this}setAudience(e){return this.#f.aud=e,this}setJti(e){return this.#f.jti=e,this}setNotBefore(e){return this.#f.nbf=e,this}setExpirationTime(e){return this.#f.exp=e,this}setIssuedAt(e){return this.#f.iat=e,this}setProtectedHeader(e){if(this.#t)throw new TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setContentEncryptionKey(e){if(this.#i)throw new TypeError("setContentEncryptionKey can only be called once");return this.#i=e,this}setInitializationVector(e){if(this.#a)throw new TypeError("setInitializationVector can only be called once");return this.#a=e,this}replicateIssuerAsHeader(){return this.#h=!0,this}replicateSubjectAsHeader(){return this.#m=!0,this}replicateAudienceAsHeader(){return this.#g=!0,this}async encrypt(e,t){const r=new st(this.#f.data());return this.#t&&(this.#h||this.#m||this.#g)&&(this.#t={...this.#t,iss:this.#h?this.#f.iss:void 0,sub:this.#m?this.#f.sub:void 0,aud:this.#g?this.#f.aud:void 0}),r.setProtectedHeader(this.#t),this.#a&&r.setInitializationVector(this.#a),this.#i&&r.setContentEncryptionKey(this.#i),this.#s&&r.setKeyManagementParameters(this.#s),r.encrypt(e,t)}}const ht=(e,t)=>{if("string"!=typeof e||!e)throw new C(`${t} missing or invalid`)};async function mt(e,t){let r,n;if(Oe(e))r=e;else{if(!K(e))throw new TypeError(V(e,"CryptoKey","KeyObject","JSON Web Key"));r=await He(e)}if(t??="sha256","sha256"!==t&&"sha384"!==t&&"sha512"!==t)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');switch(r.kty){case"AKP":ht(r.alg,'"alg" (Algorithm) Parameter'),ht(r.pub,'"pub" (Public key) Parameter'),n={alg:r.alg,kty:r.kty,pub:r.pub};break;case"EC":ht(r.crv,'"crv" (Curve) Parameter'),ht(r.x,'"x" (X Coordinate) Parameter'),ht(r.y,'"y" (Y Coordinate) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x,y:r.y};break;case"OKP":ht(r.crv,'"crv" (Subtype of Key Pair) Parameter'),ht(r.x,'"x" (Public Key) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x};break;case"RSA":ht(r.e,'"e" (Exponent) Parameter'),ht(r.n,'"n" (Modulus) Parameter'),n={e:r.e,kty:r.kty,n:r.n};break;case"oct":ht(r.k,'"k" (Key Value) Parameter'),n={k:r.k,kty:r.kty};break;default:throw new w('"kty" (Key Type) Parameter missing or unsupported')}const o=p(JSON.stringify(n));return g(await ee(t,o))}async function gt(e,t){t??="sha256";const r=await mt(e,t);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${t.slice(-3)}:${r}`}async function yt(e,t){const r={...e,...t?.header};if(!Y(r.jwk))throw new _('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const n=await Pe({...r.jwk,ext:!0},r.alg);if(n instanceof Uint8Array||"public"!==n.type)throw new _('"jwk" (JSON Web Key) Header Parameter must be a public key');return n}function vt(e){return Y(e)}class bt{#y;#v=new WeakMap;constructor(e){if(!function(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(vt)}(e))throw new I("JSON Web Key Set malformed");this.#y=structuredClone(e)}jwks(){return this.#y}async getKey(e,t){const{alg:r,kid:n}={...e,...t?.header},o=function(e){switch("string"==typeof e&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new w('Unsupported "alg" value for a JSON Web Key Set')}}(r),i=this.#y.keys.filter(e=>{let t=o===e.kty;if(t&&"string"==typeof n&&(t=n===e.kid),!t||"string"!=typeof e.alg&&"AKP"!==o||(t=r===e.alg),t&&"string"==typeof e.use&&(t="sig"===e.use),t&&Array.isArray(e.key_ops)&&(t=e.key_ops.includes("verify")),t)switch(r){case"ES256":t="P-256"===e.crv;break;case"ES384":t="P-384"===e.crv;break;case"ES512":t="P-521"===e.crv;break;case"Ed25519":case"EdDSA":t="Ed25519"===e.crv}return t}),{0:a,length:s}=i;if(0===s)throw new x;if(1!==s){const e=new O,t=this.#v;throw e[Symbol.asyncIterator]=async function*(){for(const e of i)try{yield await Et(t,e,r)}catch{}},e}return Et(this.#v,a,r)}}async function Et(e,t,r){const n=e.get(t)||e.set(t,{}).get(t);if(void 0===n[r]){const e=await Pe({...t,ext:!0},r);if(e instanceof Uint8Array||"public"!==e.type)throw new I("JSON Web Key Set members must be public keys");n[r]=e}return n[r]}function wt(e){const t=new bt(e),r=async(e,r)=>t.getKey(e,r);return Object.defineProperties(r,{jwks:{value:()=>structuredClone(t.jwks()),enumerable:!1,configurable:!1,writable:!1}}),r}let St;"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(St="jose/v6.1.3");const At=Symbol(),_t=Symbol();class Pt{#b;#E;#w;#S;#A;#_;#P;#C;#I;#x;constructor(e,t){if(!(e instanceof URL))throw new TypeError("url must be an instance of URL");var r,n;this.#b=new URL(e.href),this.#E="number"==typeof t?.timeoutDuration?t?.timeoutDuration:5e3,this.#w="number"==typeof t?.cooldownDuration?t?.cooldownDuration:3e4,this.#S="number"==typeof t?.cacheMaxAge?t?.cacheMaxAge:6e5,this.#P=new Headers(t?.headers),St&&!this.#P.has("User-Agent")&&this.#P.set("User-Agent",St),this.#P.has("accept")||(this.#P.set("accept","application/json"),this.#P.append("accept","application/jwk-set+json")),this.#C=t?.[At],void 0!==t?.[_t]&&(this.#x=t?.[_t],r=t?.[_t],n=this.#S,"object"==typeof r&&null!==r&&"uat"in r&&"number"==typeof r.uat&&!(Date.now()-r.uat>=n)&&"jwks"in r&&Y(r.jwks)&&Array.isArray(r.jwks.keys)&&Array.prototype.every.call(r.jwks.keys,Y)&&(this.#A=this.#x.uat,this.#I=wt(this.#x.jwks)))}pendingFetch(){return!!this.#_}coolingDown(){return"number"==typeof this.#A&&Date.now()<this.#A+this.#w}fresh(){return"number"==typeof this.#A&&Date.now()<this.#A+this.#S}jwks(){return this.#I?.jwks()}async getKey(e,t){this.#I&&this.fresh()||await this.reload();try{return await this.#I(e,t)}catch(r){if(r instanceof x&&!1===this.coolingDown())return await this.reload(),this.#I(e,t);throw r}}async reload(){this.#_&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#_=void 0),this.#_||=async function(e,t,r,n=fetch){const o=await n(e,{method:"GET",signal:r,redirect:"manual",headers:t}).catch(e=>{if("TimeoutError"===e.name)throw new k;throw e});if(200!==o.status)throw new y("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await o.json()}catch{throw new y("Failed to parse the JSON Web Key Set HTTP response as JSON")}}(this.#b.href,this.#P,AbortSignal.timeout(this.#E),this.#C).then(e=>{this.#I=wt(e),this.#x&&(this.#x.uat=Date.now(),this.#x.jwks=e),this.#A=Date.now(),this.#_=void 0}).catch(e=>{throw this.#_=void 0,e}),await this.#_}}function Ct(e,t){const r=new Pt(e,t),n=async(e,t)=>r.getKey(e,t);return Object.defineProperties(n,{coolingDown:{get:()=>r.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>r.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>r.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>r.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>r.jwks(),enumerable:!0,configurable:!1,writable:!1}}),n}class It{#f;constructor(e={}){this.#f=new ot(e)}encode(){return`${g(JSON.stringify({alg:"none"}))}.${g(this.#f.data())}.`}setIssuer(e){return this.#f.iss=e,this}setSubject(e){return this.#f.sub=e,this}setAudience(e){return this.#f.aud=e,this}setJti(e){return this.#f.jti=e,this}setNotBefore(e){return this.#f.nbf=e,this}setExpirationTime(e){return this.#f.exp=e,this}setIssuedAt(e){return this.#f.iat=e,this}static decode(e,t){if("string"!=typeof e)throw new P("Unsecured JWT must be a string");const{0:r,1:n,2:o,length:i}=e.split(".");if(3!==i||""!==o)throw new P("Invalid Unsecured JWT");let s;try{if(s=JSON.parse(a.decode(m(r))),"none"!==s.alg)throw new Error}catch{throw new P("Invalid Unsecured JWT")}return{payload:nt(s,m(n),t),header:s}}}function xt(e){let t;if("string"==typeof e){const r=e.split(".");3!==r.length&&5!==r.length||([t]=r)}else if("object"==typeof e&&e){if(!("protected"in e))throw new TypeError("Token does not contain a Protected Header");t=e.protected}try{if("string"!=typeof t||!t)throw new Error;const e=JSON.parse(a.decode(m(t)));if(!Y(e))throw new Error;return e}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}function Ot(e){if("string"!=typeof e)throw new P("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:r}=e.split(".");if(5===r)throw new P("Only JWTs using Compact JWS serialization can be decoded");if(3!==r)throw new P("Invalid JWT");if(!t)throw new P("JWTs must contain a payload");let n,o;try{n=m(t)}catch{throw new P("Failed to base64url decode the payload")}try{o=JSON.parse(a.decode(n))}catch{throw new P("Failed to parse the decoded payload as JSON")}if(!Y(o))throw new P("Invalid JWT Claims Set");return o}function kt(e){const t=e?.modulusLength??2048;if("number"!=typeof t||t<2048)throw new w("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return t}async function Tt(e,t){let r,n;switch(e){case"PS256":case"PS384":case"PS512":r={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:kt(t)},n=["sign","verify"];break;case"RS256":case"RS384":case"RS512":r={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:kt(t)},n=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":r={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:kt(t)},n=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":r={name:"ECDSA",namedCurve:"P-256"},n=["sign","verify"];break;case"ES384":r={name:"ECDSA",namedCurve:"P-384"},n=["sign","verify"];break;case"ES512":r={name:"ECDSA",namedCurve:"P-521"},n=["sign","verify"];break;case"Ed25519":case"EdDSA":n=["sign","verify"],r={name:"Ed25519"};break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":n=["sign","verify"],r={name:e};break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{n=["deriveBits"];const e=t?.crv??"P-256";switch(e){case"P-256":case"P-384":case"P-521":r={name:"ECDH",namedCurve:e};break;case"X25519":r={name:"X25519"};break;default:throw new w("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519")}break}default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(r,t?.extractable??!1,n)}async function Nt(e,t){let r,n,o;switch(e){case"HS256":case"HS384":case"HS512":r=parseInt(e.slice(-3),10),n={name:"HMAC",hash:`SHA-${r}`,length:r},o=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return r=parseInt(e.slice(-3),10),crypto.getRandomValues(new Uint8Array(r>>3));case"A128KW":case"A192KW":case"A256KW":r=parseInt(e.slice(1,4),10),n={name:"AES-KW",length:r},o=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":r=parseInt(e.slice(1,4),10),n={name:"AES-GCM",length:r},o=["encrypt","decrypt"];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(n,t?.extractable??!1,o)}const jt="WebCryptoAPI"},25279(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveSignInUsername=function(e){const{dispatch:t}=n.signInStore;t({type:"SET_USERNAME",value:e})};const n=r(33826)},25343(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthenticationHelper=void 0;const n=r(60732),o=r(74008),i=r(76396),a=r(39902),s=r(82639),c=r(17313);t.getAuthenticationHelper=async e=>{const t=new o.BigInteger(a.INIT_N,16),r=new o.BigInteger("2",16),s=u(),c=await(0,i.calculateA)({a:s,g:r,N:t});return new n.AuthenticationHelper({userPoolName:e,a:s,g:r,A:c,N:t})};const u=()=>{const e=(0,s.getHexFromBytes)((0,c.getRandomBytes)(128));return new o.BigInteger(e,16)}},25445(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWebWorker=void 0,t.isWebWorker=()=>{if("undefined"==typeof self)return!1;const e=self;return void 0!==e.WorkerGlobalScope&&self instanceof e.WorkerGlobalScope}},25926(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendUserAttributeVerificationCode=void 0;const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(17238),c=r(35456),u=r(28228);t.sendUserAttributeVerificationCode=async e=>{const{userAttributeKey:t,options:r}=e,l=n.Amplify.getConfig().Auth?.Cognito,d=r?.clientMetadata;(0,o.assertTokenProviderConfig)(l);const{userPoolEndpoint:p,userPoolId:f}=l,{tokens:h}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,i.assertAuthTokens)(h);const m=(0,c.createGetUserAttributeVerificationCodeClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:p})}),{CodeDeliveryDetails:g}=await m({region:(0,a.getRegionFromUserPoolId)(f),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.SendUserAttributeVerificationCode)},{AccessToken:h.accessToken.toString(),ClientMetadata:d,AttributeName:t}),{DeliveryMedium:y,AttributeName:v,Destination:b}={...g};return{destination:b,deliveryMedium:y,attributeName:v}}},26060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCancellableOperation=function(e,t,r,a){const s=t.signal;let c;if(null!=a){if(a<0)throw new Error("Timeout must be a non-negative number");setTimeout(()=>{c="TimeoutError",t.abort(c)},a)}const u=async()=>{try{const t=await e();if(t.statusCode>=300)throw await(0,o.parseRestApiServiceError)(t);return t}catch(e){if("AbortError"===e.name||!0===s?.aborted){if(c&&"TimeoutError"===c){const e=new Error(`Request timeout after ${a}ms`);throw e.name="TimeoutError",i.logger.debug(e),e}{const t=c??s.reason,r=new n.CanceledError({...t&&{message:t},underlyingError:e,recoverySuggestion:"The API request was explicitly canceled. If this is not intended, validate if you called the `cancel()` function on the API request erroneously."});throw i.logger.debug(r),r}}throw i.logger.debug(e),e}};if("internal"===r)return u();{const e=e=>{!0!==s.aborted&&(t.abort(e),e&&s.reason!==e&&(c=e))};return{response:u(),cancel:e}}};const n=r(59645),o=r(70352),i=r(42811)},26346(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithSRP=async function(e){const{username:t,password:r}=e,m=n.Amplify.getConfig().Auth?.Cognito,g={loginId:t,authFlowType:"USER_SRP_AUTH"};(0,o.assertTokenProviderConfig)(m);const y=e.options?.clientMetadata;(0,a.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptySignInUsername),(0,a.assertValidationError)(!!r,i.AuthValidationErrorCode.EmptySignInPassword);try{const{ChallengeName:e,ChallengeParameters:n,AuthenticationResult:o,Session:i}=await(0,c.handleUserSRPAuthFlow)(t,r,y,m,d.tokenOrchestrator),a=(0,c.getActiveSignInUsername)(t);return(0,u.setActiveSignInState)({signInSession:i,username:a,challengeName:e,signInDetails:g}),o?(await(0,l.cacheCognitoTokens)({username:a,...o,NewDeviceMetadata:await(0,f.getNewDeviceMetadata)({userPoolId:m.userPoolId,userPoolEndpoint:m.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:g}),(0,u.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),(0,h.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:e,challengeParameters:n})}catch(e){(0,u.resetActiveSignInState)(),(0,h.resetAutoSignIn)(),(0,s.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(73031),c=r(78040),u=r(27861),l=r(55794),d=r(4870),p=r(84539),f=r(66542),h=r(19578)},26404(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.popNumber=t.popScheduler=t.popResultSelector=void 0;var n=r(10281),o=r(68596);function i(e){return e[e.length-1]}t.popResultSelector=function(e){return n.isFunction(i(e))?e.pop():void 0},t.popScheduler=function(e){return o.isScheduler(i(e))?e.pop():void 0},t.popNumber=function(e,t){return"number"==typeof i(e)?e.pop():t}},26420(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appsyncRequest=async function(e,t,r={},l,d){const{region:p,appSyncGraphqlEndpoint:f,authenticationType:h,query:m,variables:g}=t;if(!f)throw new Error("No endpoint");const{withCredentials:y}=(0,i.resolveLibraryOptions)(e),v=await async function(e,t,r,o){const{apiKey:a,appSyncGraphqlEndpoint:c,authenticationType:l,query:d,variables:p,authToken:f}=t,{headers:h}=(0,i.resolveLibraryOptions)(e);let m;if("function"==typeof r){const e={method:"POST",url:new n.AmplifyUrl(c).toString(),queryString:d};m=await r(e)}else m=r;f&&(m={...m,Authorization:f});return{...await(0,s.headerBasedAuth)(e,l,a,m),...h&&await h({query:d,variables:p}),...m,[u]:(0,n.getAmplifyUserAgent)(o)}}(e,t,r,d),b={channel:m,events:g},E=["apiKey","none"].includes(h)?void 0:{service:"appsync",region:p},{body:w}=await(0,o.post)(e,{url:new n.AmplifyUrl(f),options:{headers:v,body:b,signingServiceInfo:E,withCredentials:y},abortController:l}),S=await w.json();if((0,c.isGraphQLResponseWithErrors)(S))throw(0,a.repackageUnauthorizedError)(S);return S};const n=r(22651),o=r(64684),i=r(93812),a=r(90077),s=r(95356),c=r(47197),u="x-amz-user-agent"},26569(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishLast=void 0;var n=r(5130),o=r(14359);t.publishLast=function(){return function(e){var t=new n.AsyncSubject;return new o.ConnectableObservable(e,function(){return t})}}},26610(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateRequestToBeCancellable=t.cancel=t.post=void 0;const n=r(41723),o=r(45977),i=r(99892),a=new WeakMap;t.post=(e,{url:t,options:r,abortController:s})=>{const c=s??new AbortController,u=(0,n.createCancellableOperation)(async()=>(0,i.transferHandler)(e,{url:t,method:"POST",...r,abortSignal:c.signal,retryStrategy:{strategy:"jittered-exponential-backoff"}},o.isIamAuthApplicableForGraphQL,r?.signingServiceInfo),c,"internal").finally(()=>{a.delete(u)});return u},t.cancel=(e,t)=>{const r=a.get(e);return!!r&&(r.abort(t),t&&r.signal.reason!==t&&(r.signal.reason=t),!0)},t.updateRequestToBeCancellable=(e,t)=>{a.set(e,t)}},26680(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=void 0;var n=r(48051),o=r(10281);t.throwError=function(e,t){var r=o.isFunction(e)?e:function(){return e},i=function(e){return e.error(r())};return new n.Observable(t?function(e){return t.schedule(i,0,e)}:i)}},26744(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairwise=void 0;var n=r(65212),o=r(17214);t.pairwise=function(){return n.operate(function(e,t){var r,n=!1;e.subscribe(o.createOperatorSubscriber(t,function(e){var o=r;r=e,n&&t.next([o,e]),n=!0}))})}},26749(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var i=r(11415),a=r(65212);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.operate(function(t,r){i.zip.apply(void 0,o([t],n(e))).subscribe(r)})}},26810(e,t,r){"use strict";r.d(t,{D:()=>i});var n=r(51609),o=r(49178);function i(e){const t=n.Children.toArray(e);return 1===t.length&&(0,o.v)(t[0])?t[0]:null}},26872(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;var n=r(65212),o=r(17214);t.map=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){n.next(e.call(t,r,i++))}))})}},26886(e,t,r){"use strict";r.d(t,{U9:()=>a,YZ:()=>u});var n=r(84210),o=r(84597),i=r(16736);const a="undefined"!=typeof Symbol?Symbol("amplify_default"):"@@amplify_default",s=new n.C("Hub");class c{constructor(e){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}_remove(e,t){const r=this.listeners.get(e);r?this.listeners.set(e,[...r.filter(({callback:e})=>e!==t)]):s.warn(`No listeners for ${e}`)}dispatch(e,t,r,n){"string"==typeof e&&this.protectedChannels.indexOf(e)>-1&&(n===a||s.warn(`WARNING: ${e} is protected and dispatching on it can have unintended consequences`));const o={channel:e,payload:{...t},source:r,patternInfo:[]};try{this._toListeners(o)}catch(e){s.error(e)}}listen(e,t,r="noname"){let n;if("function"!=typeof t)throw new i.x({name:o.d1,message:"No callback supplied to Hub"});n=t;let a=this.listeners.get(e);return a||(a=[],this.listeners.set(e,a)),a.push({name:r,callback:n}),()=>{this._remove(e,n)}}_toListeners(e){const{channel:t,payload:r}=e,n=this.listeners.get(t);n&&n.forEach(n=>{s.debug(`Dispatching to ${t} with `,r);try{n.callback(e)}catch(e){s.error(e)}})}}const u=new c("__default__");new c("internal-hub")},26920(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromEventPattern=void 0;var n=r(48051),o=r(10281),i=r(13916);t.fromEventPattern=function e(t,r,a){return a?e(t,r).pipe(i.mapOneOrManyArgs(a)):new n.Observable(function(e){var n=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1===t.length?t[0]:t)},i=t(n);return o.isFunction(r)?function(){return r(n,i)}:void 0})}},26967(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmSignUp=async function(e){const{username:t,confirmationCode:r,options:h}=e,m=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(m);const{userPoolId:g,userPoolClientId:y,userPoolEndpoint:v}=m,b=h?.clientMetadata;(0,i.assertValidationError)(!!t,a.AuthValidationErrorCode.EmptyConfirmSignUpUsername),(0,i.assertValidationError)(!!r,a.AuthValidationErrorCode.EmptyConfirmSignUpCode);const E=(0,u.getUserContextData)({username:t,userPoolId:g,userPoolClientId:y}),w=(0,l.createConfirmSignUpClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:v})}),{Session:S}=await w({region:(0,s.getRegionFromUserPoolId)(m.userPoolId),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.ConfirmSignUp)},{Username:t,ConfirmationCode:r,ClientMetadata:b,ForceAliasCreation:h?.forceAliasCreation,ClientId:m.userPoolClientId,UserContextData:E});return new Promise((e,r)=>{try{const r={isSignUpComplete:!0,nextStep:{signUpStep:"DONE"}},n=p.autoSignInStore.getState();if(!n.active||n.username!==t)return e(r),void(0,f.resetAutoSignIn)();p.autoSignInStore.dispatch({type:"SET_SESSION",value:S});const i=o.HubInternal.listen("auth-internal",({payload:t})=>{"autoSignIn"===t.event&&(e({isSignUpComplete:!0,nextStep:{signUpStep:"COMPLETE_AUTO_SIGN_IN"}}),i())});o.HubInternal.dispatch("auth-internal",{event:"confirmSignUp",data:r})}catch(e){r(e)}})};const n=r(56547),o=r(22651),i=r(58765),a=r(49129),s=r(62639),c=r(17238),u=r(99369),l=r(35456),d=r(28228),p=r(33826),f=r(19578)},26974(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityPoolEndpointResolver=void 0;const n=r(7884),o=r(22651),i=r(17943);t.cognitoIdentityPoolEndpointResolver=({region:e})=>({url:new o.AmplifyUrl(`https://${i.COGNITO_IDENTITY_SERVICE_NAME}.${e}.${(0,n.getDnsSuffix)(e)}`)})},27155(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityTransferHandler=void 0;const n=r(7884),o=r(39236),i=r(30341);t.cognitoIdentityTransferHandler=(0,o.composeTransferHandler)(n.unauthenticatedHandler,[i.createDisableCacheMiddleware])},27287(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasskeyError=void 0;const n=r(22651),o=r(54129);t.handlePasskeyError=e=>{if(e instanceof Error){if("AbortError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.PasskeyOperationAborted];return new o.PasskeyError({name:o.PasskeyErrorCode.PasskeyOperationAborted,message:t,recoverySuggestion:r,underlyingError:e})}if("SecurityError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.RelyingPartyMismatch];return new o.PasskeyError({name:o.PasskeyErrorCode.RelyingPartyMismatch,message:t,recoverySuggestion:r,underlyingError:e})}}return new o.PasskeyError({name:n.AmplifyErrorCode.Unknown,message:"An unknown error has occurred.",underlyingError:e})}},27360(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListDevicesClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createListDevicesClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ListDevices"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},27573(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_MAX_DELAY_MS=t.AMZ_SDK_REQUEST_HEADER=t.AMZ_SDK_INVOCATION_ID_HEADER=t.DEFAULT_RETRY_ATTEMPTS=void 0,t.DEFAULT_RETRY_ATTEMPTS=3,t.AMZ_SDK_INVOCATION_ID_HEADER="amz-sdk-invocation-id",t.AMZ_SDK_REQUEST_HEADER="amz-sdk-request",t.DEFAULT_MAX_DELAY_MS=3e5},27723(e){"use strict";e.exports=window.wp.i18n},27745(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31635);n.__exportStar(r(16534),t),n.__exportStar(r(61558),t),n.__exportStar(r(33148),t),n.__exportStar(r(91276),t)},27861(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persistSignInState=t.signInStore=t.resetActiveSignInState=void 0,t.setActiveSignInState=function(e){t.signInStore.dispatch({type:"SET_SIGN_IN_STATE",value:e})};const n=r(56547),o="CognitoSignInState",i={username:`${o}.username`,challengeName:`${o}.challengeName`,signInSession:`${o}.signInSession`,expiry:`${o}.expiry`};t.resetActiveSignInState=()=>{t.signInStore.dispatch({type:"RESET_STATE"})};const a=()=>{for(const e of Object.values(i))n.syncSessionStorage.removeItem(e)};t.signInStore=(e=>{let t=e({username:void 0,challengeName:void 0,signInSession:void 0},{type:"SET_INITIAL_STATE"});return{getState:()=>t,dispatch:r=>{t=e(t,r)}}})((e,r)=>{switch(r.type){case"SET_SIGN_IN_SESSION":return(0,t.persistSignInState)({signInSession:r.value}),{...e,signInSession:r.value};case"SET_SIGN_IN_STATE":return(0,t.persistSignInState)(r.value),{...r.value};case"SET_CHALLENGE_NAME":return(0,t.persistSignInState)({challengeName:r.value}),{...e,challengeName:r.value};case"SET_USERNAME":return(0,t.persistSignInState)({username:r.value}),{...e,username:r.value};case"SET_INITIAL_STATE":return(()=>{const e=n.syncSessionStorage.getItem(i.expiry);return!e||Number(e)<=Date.now()?(a(),{username:void 0,challengeName:void 0,signInSession:void 0}):{username:n.syncSessionStorage.getItem(i.username)??void 0,challengeName:n.syncSessionStorage.getItem(i.challengeName)??void 0,signInSession:n.syncSessionStorage.getItem(i.signInSession)??void 0}})();case"RESET_STATE":return a(),{username:void 0,challengeName:void 0,signInSession:void 0};default:return e}}),t.persistSignInState=({challengeName:e,signInSession:t,username:r})=>{r&&n.syncSessionStorage.setItem(i.username,r),e&&n.syncSessionStorage.setItem(i.challengeName,e),t&&(n.syncSessionStorage.setItem(i.signInSession,t),n.syncSessionStorage.setItem(i.expiry,String(Date.now()+18e4)))}},28008(e,t,r){"use strict";r.d(t,{t:()=>T});var n=r(10790),o=r(66284),i=r(61617);function a(e,t){return r=>{if("string"!=typeof r||0===r.trim().length)throw new Error(t);return`${e}-${r}`}}r(51609);var s=r(56324),c=r(59396),u=r(86344),l=r(55488),d=r(56644),p=r(46100),f=r(52837),h=r(11507),m=r(2412),g=r(46798);const[y,v]=(0,g.F)("Tabs component was not found in the tree");var b={root:"m_89d60db1","list--default":"m_576c9d4",list:"m_89d33d6d",tab:"m_4ec4dce6",panel:"m_b0c91715",tabSection:"m_fc420b1f",tabLabel:"m_42bbd1ae","tab--default":"m_539e827b","list--outline":"m_6772fbd5","tab--outline":"m_b59ab47c","tab--pills":"m_c3381914"};const E=(0,m.P9)((e,t)=>{const r=(0,p.Y)("TabsList",null,e),{children:o,className:i,grow:a,justify:s,classNames:c,styles:u,style:l,mod:d,...f}=r,m=v();return(0,n.jsx)(h.a,{...f,...m.getStyles("list",{className:i,style:l,classNames:c,styles:u,props:r,variant:m.variant}),ref:t,role:"tablist",variant:m.variant,mod:[{grow:a,orientation:m.orientation,placement:"vertical"===m.orientation&&m.placement,inverted:m.inverted},d],"aria-orientation":m.orientation,__vars:{"--tabs-justify":s},children:o})});E.classes=b,E.displayName="@mantine/core/TabsList";const w=(0,m.P9)((e,t)=>{const r=(0,p.Y)("TabsPanel",null,e),{children:o,className:i,value:a,classNames:s,styles:c,style:u,mod:l,keepMounted:d,...f}=r,m=v(),g=m.value===a,y=m.keepMounted||d||g?o:null;return(0,n.jsx)(h.a,{...m.getStyles("panel",{className:i,classNames:s,styles:c,style:[u,g?void 0:{display:"none"}],props:r}),ref:t,mod:[{orientation:m.orientation},l],role:"tabpanel",id:m.getPanelId(a),"aria-labelledby":m.getTabId(a),...f,children:y})});function S(e,t){let r=e;for(;(r=r.parentElement)&&!r.matches(t););return r}function A({parentSelector:e,siblingSelector:t,onKeyDown:r,loop:n=!0,activateOnFocus:o=!1,dir:i="rtl",orientation:a}){return s=>{r?.(s);const c=Array.from(S(s.currentTarget,e)?.querySelectorAll(t)||[]).filter(t=>function(e,t,r){return S(e,r)===S(t,r)}(s.currentTarget,t,e)),u=c.findIndex(e=>s.currentTarget===e),l=function(e,t,r){for(let r=e+1;r<t.length;r+=1)if(!t[r].disabled)return r;if(r)for(let e=0;e<t.length;e+=1)if(!t[e].disabled)return e;return e}(u,c,n),d=function(e,t,r){for(let r=e-1;r>=0;r-=1)if(!t[r].disabled)return r;if(r)for(let e=t.length-1;e>-1;e-=1)if(!t[e].disabled)return e;return e}(u,c,n),p="rtl"===i?d:l,f="rtl"===i?l:d;switch(s.key){case"ArrowRight":"horizontal"===a&&(s.stopPropagation(),s.preventDefault(),c[p].focus(),o&&c[p].click());break;case"ArrowLeft":"horizontal"===a&&(s.stopPropagation(),s.preventDefault(),c[f].focus(),o&&c[f].click());break;case"ArrowUp":"vertical"===a&&(s.stopPropagation(),s.preventDefault(),c[d].focus(),o&&c[d].click());break;case"ArrowDown":"vertical"===a&&(s.stopPropagation(),s.preventDefault(),c[l].focus(),o&&c[l].click());break;case"Home":s.stopPropagation(),s.preventDefault(),!c[0].disabled&&c[0].focus();break;case"End":{s.stopPropagation(),s.preventDefault();const e=c.length-1;!c[e].disabled&&c[e].focus();break}}}}w.classes=b,w.displayName="@mantine/core/TabsPanel";var _=r(1101),P=r(82820),C=r(46076);const I=(0,m.P9)((e,t)=>{const r=(0,p.Y)("TabsTab",null,e),{className:o,children:i,rightSection:a,leftSection:s,value:c,onClick:l,onKeyDown:d,disabled:f,color:h,style:m,classNames:g,styles:y,vars:b,mod:E,tabIndex:w,...S}=r,I=(0,_.xd)(),{dir:x}=(0,P.jH)(),O=v(),k=c===O.value,T={classNames:g,styles:y,props:r};return(0,n.jsxs)(C.N,{...O.getStyles("tab",{className:o,style:m,variant:O.variant,...T}),disabled:f,unstyled:O.unstyled,variant:O.variant,mod:[{active:k,disabled:f,orientation:O.orientation,inverted:O.inverted,placement:"vertical"===O.orientation&&O.placement},E],ref:t,role:"tab",id:O.getTabId(c),"aria-selected":k,tabIndex:void 0!==w?w:k||null===O.value?0:-1,"aria-controls":O.getPanelId(c),onClick:e=>{O.onChange(O.allowTabDeactivation&&c===O.value?null:c),l?.(e)},__vars:{"--tabs-color":h?(0,u.r)(h,I):void 0},onKeyDown:A({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:O.activateTabWithKeyboard,loop:O.loop,orientation:O.orientation||"horizontal",dir:x,onKeyDown:d}),...S,children:[s&&(0,n.jsx)("span",{...O.getStyles("tabSection",T),"data-position":"left",children:s}),i&&(0,n.jsx)("span",{...O.getStyles("tabLabel",T),children:i}),a&&(0,n.jsx)("span",{...O.getStyles("tabSection",T),"data-position":"right",children:a})]})});I.classes=b,I.displayName="@mantine/core/TabsTab";const x="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",O={keepMounted:!0,orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,variant:"default",placement:"left"},k=(0,c.V)((e,{radius:t,color:r,autoContrast:n})=>({root:{"--tabs-radius":(0,s.nJ)(t),"--tabs-color":(0,u.r)(r,e),"--tabs-text-color":(0,d.v)(n,e)?(0,l.w)({color:r,theme:e,autoContrast:n}):void 0}})),T=(0,m.P9)((e,t)=>{const r=(0,p.Y)("Tabs",O,e),{defaultValue:s,value:c,onChange:u,orientation:l,children:d,loop:m,id:g,activateTabWithKeyboard:v,allowTabDeactivation:E,variant:w,color:S,radius:A,inverted:_,placement:P,keepMounted:C,classNames:I,styles:T,unstyled:N,className:j,style:R,vars:M,autoContrast:D,mod:U,attributes:F,...L}=r,z=(0,o.B)(g),[V,H]=(0,i.Z)({value:c,defaultValue:s,finalValue:null,onChange:u}),$=(0,f.I)({name:"Tabs",props:r,classes:b,className:j,style:R,classNames:I,styles:T,unstyled:N,attributes:F,vars:M,varsResolver:k});return(0,n.jsx)(y,{value:{placement:P,value:V,orientation:l,id:z,loop:m,activateTabWithKeyboard:v,getTabId:a(`${z}-tab`,x),getPanelId:a(`${z}-panel`,x),onChange:H,allowTabDeactivation:E,variant:w,color:S,radius:A,inverted:_,keepMounted:C,unstyled:N,getStyles:$},children:(0,n.jsx)(h.a,{ref:t,id:z,variant:w,mod:[{orientation:l,inverted:"horizontal"===l&&_,placement:"vertical"===l&&P},U],...$("root"),...L,children:d})})});T.classes=b,T.displayName="@mantine/core/Tabs",T.Tab=I,T.Panel=w,T.List=E},28228(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCognitoIdentityPoolEndpointResolver=t.createCognitoUserPoolEndpointResolver=void 0;var n=r(29337);Object.defineProperty(t,"createCognitoUserPoolEndpointResolver",{enumerable:!0,get:function(){return n.createCognitoUserPoolEndpointResolver}});var o=r(66776);Object.defineProperty(t,"createCognitoIdentityPoolEndpointResolver",{enumerable:!0,get:function(){return o.createCognitoIdentityPoolEndpointResolver}})},28261(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.authenticatedHandler=void 0;const n=r(7884),o=r(39236);t.authenticatedHandler=(0,o.composeTransferHandler)(n.fetchTransferHandler,[n.userAgentMiddlewareFactory,n.retryMiddlewareFactory,n.signingMiddlewareFactory])},28269(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Amplify=t.AmplifyClass=void 0;const n=r(4915),o=r(72685),i=r(22651),a=r(30552),s=r(59392);class c{constructor(){this.oAuthListener=void 0,this.isConfigured=!1,this.resourcesConfig={},this.libraryOptions={},this.Auth=new a.AuthClass}configure(e,t){const r=(0,i.parseAmplifyConfig)(e);this.resourcesConfig=r,t&&(this.libraryOptions=t),this.resourcesConfig=(0,o.deepFreeze)(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),n.Hub.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",n.AMPLIFY_SYMBOL),this.notifyOAuthListener(),this.isConfigured=!0}getConfig(){return this.isConfigured||console.warn("Amplify has not been configured. Please call Amplify.configure() before using this service."),this.resourcesConfig}[s.ADD_OAUTH_LISTENER](e){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth?e(this.resourcesConfig.Auth?.Cognito):this.oAuthListener=e}notifyOAuthListener(){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth&&this.oAuthListener&&(this.oAuthListener(this.resourcesConfig.Auth?.Cognito),this.oAuthListener=void 0)}}t.AmplifyClass=c,t.Amplify=new c},28298(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CookieStorage=void 0;const n=r(31635).__importDefault(r(2733));t.CookieStorage=class{constructor(e={}){const{path:t,domain:r,expires:n,sameSite:o,secure:i}=e;if(this.domain=r,this.path=t||"/",this.expires=Object.prototype.hasOwnProperty.call(e,"expires")?n:365,this.secure=!Object.prototype.hasOwnProperty.call(e,"secure")||i,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!o||!["strict","lax","none"].includes(o))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===o&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=o}}async setItem(e,t){n.default.set(e,t,this.getData())}async getItem(e){return n.default.get(e)??null}async removeItem(e){n.default.remove(e,this.getData())}async clear(){const e=n.default.get(),t=Object.keys(e).map(e=>this.removeItem(e));await Promise.all(t)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}},28619(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeSchedule=void 0,t.executeSchedule=function(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}},28891(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenOrchestrator=void 0;const n=r(56547),o=r(22651),i=r(73031),a=r(43518),s=r(80227),c=r(48105);t.TokenOrchestrator=class{constructor(){this.waitForInflightOAuth=(0,o.isBrowser)()?async()=>{if(await s.oAuthStore.loadOAuthInFlight())return this.inflightPromise||(this.inflightPromise=new Promise((e,t)=>{(0,c.addInflightPromise)(e)})),this.inflightPromise}:async()=>{}}setAuthConfig(e){s.oAuthStore.setAuthConfig(e.Cognito),this.authConfig=e}setTokenRefresher(e){this.tokenRefresher=e}setAuthTokenStore(e){this.tokenStore=e}getTokenStore(){if(!this.tokenStore)throw new a.AuthError({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new a.AuthError({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(e){this.clientMetadataProvider=e}async getTokens(e){let t;try{(0,o.assertTokenProviderConfig)(this.authConfig?.Cognito)}catch(e){return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,t=await this.getTokenStore().loadTokens();const r=await this.getTokenStore().getLastAuthUser();if(null===t)return null;const n=!!t?.idToken&&(0,o.isTokenExpired)({expiresAt:1e3*(t.idToken?.payload?.exp??0),clockDrift:t.clockDrift??0}),i=(0,o.isTokenExpired)({expiresAt:1e3*(t.accessToken?.payload?.exp??0),clockDrift:t.clockDrift??0});return(e?.forceRefresh||n||i)&&(t=await this.refreshTokens({tokens:t,username:r,clientMetadata:e?.clientMetadata??await(this.clientMetadataProvider?.())}),null===t)?null:{accessToken:t?.accessToken,idToken:t?.idToken,signInDetails:t?.signInDetails}}async refreshTokens({tokens:e,username:t,clientMetadata:r}){try{const{signInDetails:i}=e,a=await this.getTokenRefresher()({tokens:e,authConfig:this.authConfig,username:t,clientMetadata:r});return a.signInDetails=i,await this.setTokens({tokens:a}),n.Hub.dispatch("auth",{event:"tokenRefresh"},"Auth",o.AMPLIFY_SYMBOL),a}catch(e){return this.handleErrors(e)}}handleErrors(e){if((0,i.assertServiceError)(e),this.isAuthenticationError(e)&&this.clearTokens(),n.Hub.dispatch("auth",{event:"tokenRefresh_failure",data:{error:e}},"Auth",o.AMPLIFY_SYMBOL),e.name.startsWith("NotAuthorizedException"))return null;throw e}isAuthenticationError(e){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(t=>e?.name?.startsWith?.(t))}async setTokens({tokens:e}){return this.getTokenStore().storeTokens(e)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(e){return this.getTokenStore().getDeviceMetadata(e)}clearDeviceMetadata(e){return this.getTokenStore().clearDeviceMetadata(e)}setOAuthMetadata(e){return this.getTokenStore().setOAuthMetadata(e)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}},28996(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowToggle=void 0;var o=r(76808),i=r(69879),a=r(65212),s=r(19724),c=r(17214),u=r(5717),l=r(54830);t.windowToggle=function(e,t){return a.operate(function(r,a){var d=[],p=function(e){for(;0<d.length;)d.shift().error(e);a.error(e)};s.innerFrom(e).subscribe(c.createOperatorSubscriber(a,function(e){var r=new o.Subject;d.push(r);var n,f=new i.Subscription;try{n=s.innerFrom(t(e))}catch(e){return void p(e)}a.next(r.asObservable()),f.add(n.subscribe(c.createOperatorSubscriber(a,function(){l.arrRemove(d,r),r.complete(),f.unsubscribe()},u.noop,p)))},u.noop)),r.subscribe(c.createOperatorSubscriber(a,function(e){var t,r,o=d.slice();try{for(var i=n(o),a=i.next();!a.done;a=i.next())a.value.next(e)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},function(){for(;0<d.length;)d.shift().complete();a.complete()},p,function(){for(;0<d.length;)d.shift().unsubscribe()}))})}},29035(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;var n=r(65212),o=r(98183);t.findIndex=function(e,t){return n.operate(o.createFind(e,t,"index"))}},29237(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signRequest=void 0;const n=r(67791),o=r(96640),i=r(15130),a=r(67403);t.signRequest=(e,t)=>{const r=(0,o.getSigningValues)(t),{accessKeyId:s,credentialScope:c,longDate:u,sessionToken:l}=r,d={...e.headers};d[i.HOST_HEADER]=e.url.host,d[i.AMZ_DATE_HEADER]=u,l&&(d[i.TOKEN_HEADER]=l);const p={...e,headers:d},f=(0,a.getSignature)(p,r),h=`Credential=${s}/${c}`,m=`SignedHeaders=${(0,n.getSignedHeaders)(d)}`,g=`Signature=${f}`;return d[i.AUTH_HEADER]=`${i.SHA256_ALGORITHM_IDENTIFIER} ${h}, ${m}, ${g}`,p}},29337(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCognitoUserPoolEndpointResolver=void 0;const n=r(22651),o=r(39877);t.createCognitoUserPoolEndpointResolver=({endpointOverride:e})=>t=>e?{url:new n.AmplifyUrl(e)}:(0,o.cognitoUserPoolEndpointResolver)(t)},29470(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__modelMeta__=void 0,t.__modelMeta__=Symbol()},29512(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMap=void 0;var n=r(67478),o=r(10281);t.concatMap=function(e,t){return o.isFunction(t)?n.mergeMap(e,t,1):n.mergeMap(e,1)}},29531(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},29815(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutex=void 0;var n=r(94684);Object.defineProperty(t,"Mutex",{enumerable:!0,get:function(){return n.Mutex}})},29901(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.awsRealTimeHeaderBasedAuth=void 0;const n=r(56547),o=r(7884),i=r(22651),a=r(57186),s=new n.ConsoleLogger("AWSAppSyncRealTimeProvider Auth"),c=async({host:e})=>{const t=await(0,n.fetchAuthSession)();return{Authorization:t?.tokens?.accessToken?.toString(),host:e}},u=async({apiKey:e,host:t})=>({host:t,"x-amz-date":(new Date).toISOString().replace(/[:-]|\.\d{3}/g,""),"x-api-key":e}),l=async({payload:e,canonicalUri:t,appSyncGraphqlEndpoint:r,region:s})=>{const c={region:s,service:"appsync"},u=(await(0,n.fetchAuthSession)()).credentials,l={url:`${r}${t}`,data:e,method:"POST",headers:{...a.AWS_APPSYNC_REALTIME_HEADERS}};return(0,o.signRequest)({headers:l.headers,method:l.method,url:new i.AmplifyUrl(l.url),body:l.data},{credentials:u,signingRegion:c.region,signingService:c.service}).headers},d=async({host:e,additionalCustomHeaders:t})=>{if(!t?.Authorization)throw new Error("No auth token specified");return{Authorization:t.Authorization,host:e}};t.awsRealTimeHeaderBasedAuth=async({apiKey:e,authenticationType:t,canonicalUri:r,appSyncGraphqlEndpoint:n,region:o,additionalCustomHeaders:a,payload:p})=>{const f={apiKey:u,iam:l,oidc:c,userPool:c,lambda:d,none:d};if(t&&f[t]){const c=f[t],u=n?new i.AmplifyUrl(n).host:void 0,l="apiKey"===t?e:void 0;return s.debug(`Authenticating with ${JSON.stringify(t)}`),await c({payload:p,canonicalUri:r,appSyncGraphqlEndpoint:n,apiKey:l,region:o,host:u,additionalCustomHeaders:a})}s.debug(`Authentication type ${t} not supported`)}},30014(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphQLResultWithError=t.validationErrorMap=t.APIValidationErrorCode=t.assertValidationError=t.GraphQLApiError=void 0;var n=r(69721);Object.defineProperty(t,"GraphQLApiError",{enumerable:!0,get:function(){return n.GraphQLApiError}});var o=r(78335);Object.defineProperty(t,"assertValidationError",{enumerable:!0,get:function(){return o.assertValidationError}});var i=r(19543);Object.defineProperty(t,"APIValidationErrorCode",{enumerable:!0,get:function(){return i.APIValidationErrorCode}}),Object.defineProperty(t,"validationErrorMap",{enumerable:!0,get:function(){return i.validationErrorMap}});var a=r(1058);Object.defineProperty(t,"createGraphQLResultWithError",{enumerable:!0,get:function(){return a.createGraphQLResultWithError}})},30131(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduled=void 0;var n=r(65650),o=r(54530),i=r(34950),a=r(36805),s=r(17873),c=r(80629),u=r(67552),l=r(94975),d=r(12187),p=r(78263),f=r(86297),h=r(95462),m=r(30380);t.scheduled=function(e,t){if(null!=e){if(c.isInteropObservable(e))return n.scheduleObservable(e,t);if(l.isArrayLike(e))return i.scheduleArray(e,t);if(u.isPromise(e))return o.schedulePromise(e,t);if(p.isAsyncIterable(e))return s.scheduleAsyncIterable(e,t);if(d.isIterable(e))return a.scheduleIterable(e,t);if(h.isReadableStreamLike(e))return m.scheduleReadableStreamLike(e,t)}throw f.createInvalidObservableTypeError(e)}},30157(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=async function(e,t){const r=(0,s.configure)();r.authenticationType=(0,s.normalizeAuth)(t?.authMode,r.authenticationType),r.apiKey=t?.apiKey||r.apiKey,r.authToken=t?.authToken||r.authToken,await i.AppSyncEventProvider.connect(r);const n=(0,o.amplifyUuid)();let a;return c.add(n),{subscribe:(t,o)=>{if(!c.has(n))throw new Error("Channel is closed");const u={...r,query:e};return u.authenticationType=(0,s.normalizeAuth)(o?.authMode,u.authenticationType),u.apiKey=o?.apiKey||u.apiKey,u.authToken=o?.authToken||u.authToken,a=i.AppSyncEventProvider.subscribe(u).subscribe(t),a},close:async()=>{a&&a.unsubscribe(),c.delete(n),setTimeout(()=>{0===c.size&&i.AppSyncEventProvider.closeIfNoActiveSubscription()},1e3)},publish:async(t,o)=>{if(!c.has(n))throw new Error("Channel is closed");const a={...r,query:e,variables:t};return a.authenticationType=(0,s.normalizeAuth)(o?.authMode,a.authenticationType),a.apiKey=o?.apiKey||a.apiKey,a.authToken=o?.authToken||a.authToken,i.AppSyncEventProvider.publish(a)}}},t.post=async function(e,t,r){const o=(0,s.configure)();o.authenticationType=(0,s.normalizeAuth)(r?.authMode,o.authenticationType),o.apiKey=r?.apiKey||o.apiKey,o.authToken=r?.authToken||o.authToken;const i="/"===e[0]?e:`/${e}`,c={...o,query:i,variables:(0,s.serializeEvents)(t)},u=new AbortController,l=await(0,a.appsyncRequest)(n.Amplify,c,{},u);if(l.failed?.length>0)return l.failed},t.closeAll=async function(){await i.AppSyncEventProvider.close()};const n=r(56547),o=r(22651),i=r(54511),a=r(26420),s=r(12504),c=new Set},30247(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64UrlToArrayBuffer=t.convertArrayBufferToBase64Url=void 0;var n=r(71690);Object.defineProperty(t,"convertArrayBufferToBase64Url",{enumerable:!0,get:function(){return n.convertArrayBufferToBase64Url}});var o=r(83604);Object.defineProperty(t,"convertBase64UrlToArrayBuffer",{enumerable:!0,get:function(){return o.convertBase64UrlToArrayBuffer}})},30341(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDisableCacheMiddleware=void 0;var n=r(97807);Object.defineProperty(t,"createDisableCacheMiddleware",{enumerable:!0,get:function(){return n.createDisableCacheMiddleware}})},30380(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleReadableStreamLike=void 0;var n=r(17873),o=r(95462);t.scheduleReadableStreamLike=function(e,t){return n.scheduleAsyncIterable(o.readableStreamLikeToAsyncGenerator(e),t)}},30382(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResendConfirmationCodeClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createResendConfirmationCodeClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ResendConfirmationCode"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},30552(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthClass=void 0;const n=new(r(69580).ConsoleLogger)("Auth");t.AuthClass=class{configure(e,t){this.authConfig=e,this.authOptions=t,e&&e.Cognito?.userPoolEndpoint&&n.warn(o("Amazon Cognito User Pool")),e&&e.Cognito?.identityPoolEndpoint&&n.warn(o("Amazon Cognito Identity Pool"))}async fetchAuthSession(e={}){let t,r;const n=await this.getTokens(e);return n?(r=n.accessToken?.payload?.sub,t=await(this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:n,authenticated:!0,forceRefresh:e.forceRefresh}))):t=await(this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:e.forceRefresh})),{tokens:n,credentials:t?.credentials,identityId:t?.identityId,userSub:r}}async clearCredentials(){await(this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId())}async getTokens(e){return await(this.authOptions?.tokenProvider?.getTokens(e))??void 0}};const o=e=>`You are using a custom Amazon ${e} endpoint, ensure the endpoint is correct.`},30632(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfEmpty=void 0;var n=r(59328),o=r(65212),i=r(17214);function a(){return new n.EmptyError}t.throwIfEmpty=function(e){return void 0===e&&(e=a),o.operate(function(t,r){var n=!1;t.subscribe(i.createOperatorSubscriber(r,function(e){n=!0,r.next(e)},function(){return n?r.complete():r.error(e())}))})}},30658(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyTOTPSetup=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userPoolEndpoint:r,userPoolId:p}=t,{code:f,options:h}=e;(0,a.assertValidationError)(!!f,i.AuthValidationErrorCode.EmptyVerifyTOTPSetupCode);const{tokens:m}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,c.assertAuthTokens)(m);const g=(0,l.createVerifySoftwareTokenClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:r})});await g({region:(0,s.getRegionFromUserPoolId)(p),userAgentValue:(0,u.getAuthUserAgentValue)(o.AuthAction.VerifyTOTPSetup)},{AccessToken:m.accessToken.toString(),UserCode:f,FriendlyDeviceName:h?.friendlyDeviceName})};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(62639),c=r(64166),u=r(17238),l=r(35456),d=r(28228)},31179(e,t,r){"use strict";r.d(t,{Z:()=>v});var n=r(10790),o=r(51609),i=r(56324),a=r(59396),s=r(46100),c=r(52837),u=r(18639),l=r(16267),d=r(46798);const[p,f]=(0,d.F)("Card component was not found in tree");var h=r(11507),m={root:"m_e615b15f",section:"m_599a2148"};const g=(0,u.v)((e,t)=>{const r=(0,s.Y)("CardSection",null,e),{classNames:o,className:i,style:a,styles:c,vars:u,withBorder:l,inheritPadding:d,mod:p,...m}=r,g=f();return(0,n.jsx)(h.a,{ref:t,mod:[{"with-border":l,"inherit-padding":d},p],...g.getStyles("section",{className:i,style:a,styles:c,classNames:o}),...m})});g.classes=m,g.displayName="@mantine/core/CardSection";const y=(0,a.V)((e,{padding:t})=>({root:{"--card-padding":(0,i.GY)(t)}})),v=(0,u.v)((e,t)=>{const r=(0,s.Y)("Card",null,e),{classNames:i,className:a,style:u,styles:d,unstyled:f,vars:h,children:v,padding:b,attributes:E,...w}=r,S=(0,c.I)({name:"Card",props:r,classes:m,className:a,style:u,classNames:i,styles:d,unstyled:f,attributes:E,vars:h,varsResolver:y}),A=o.Children.toArray(v),_=A.map((e,t)=>"object"==typeof e&&e&&"type"in e&&e.type===g?(0,o.cloneElement)(e,{"data-first-section":0===t||void 0,"data-last-section":t===A.length-1||void 0}):e);return(0,n.jsx)(p,{value:{getStyles:S},children:(0,n.jsx)(l.t,{ref:t,unstyled:f,...S("root"),...w,children:_})})});v.classes=m,v.displayName="@mantine/core/Card",v.Section=g},31240(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoUserPoolTransferHandler=void 0;const n=r(39236),o=r(7884);t.cognitoUserPoolTransferHandler=(0,n.composeTransferHandler)(o.unauthenticatedHandler,[()=>(e,t)=>async function(t){return t.headers["cache-control"]="no-store",e(t)}])},31245(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var n,o=r(44885),i=r(61587),a=r(26680),s=r(10281);(n=t.NotificationKind||(t.NotificationKind={})).NEXT="N",n.ERROR="E",n.COMPLETE="C";var c=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return u(this,e)},e.prototype.do=function(e,t,r){var n=this,o=n.kind,i=n.value,a=n.error;return"N"===o?null==e?void 0:e(i):"E"===o?null==t?void 0:t(a):null==r?void 0:r()},e.prototype.accept=function(e,t,r){var n;return s.isFunction(null===(n=e)||void 0===n?void 0:n.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this,t=e.kind,r=e.value,n=e.error,s="N"===t?i.of(r):"E"===t?a.throwError(function(){return n}):"C"===t?o.EMPTY:0;if(!s)throw new TypeError("Unexpected notification kind "+t);return s},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function u(e,t){var r,n,o,i=e,a=i.kind,s=i.value,c=i.error;if("string"!=typeof a)throw new TypeError('Invalid notification, missing "kind"');"N"===a?null===(r=t.next)||void 0===r||r.call(t,s):"E"===a?null===(n=t.error)||void 0===n||n.call(t,c):null===(o=t.complete)||void 0===o||o.call(t)}t.Notification=c,t.observeNotification=u},31422(e,t,r){"use strict";r.d(t,{p:()=>F});var n=r(10790),o=r(88149),i=r(51609),a=r(56324),s=r(59396),c=r(46100),u=r(52837),l=r(63733),d=r(11507),p=r(18639),f=r(97986);const[h,m]=(0,f.e)({size:"sm"});var g=r(99274),y=r(2412),v=r(80355);const b=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputClearButton",null,e),{size:o,variant:i,vars:a,classNames:s,styles:u,...l}=r,d=m(),{resolvedClassNames:p,resolvedStyles:f}=(0,g.Y)({classNames:s,styles:u,props:r});return(0,n.jsx)(v.J,{variant:i||"transparent",ref:t,size:o||d?.size||"sm",classNames:p,styles:f,__staticSelector:"InputClearButton",style:{pointerEvents:"all",background:"var(--input-bg)",...l.style},...l})});b.displayName="@mantine/core/InputClearButton";const E={xs:7,sm:8,md:10,lg:12,xl:15};var w=r(37561),S={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};const A=(0,s.V)((e,{size:t})=>({description:{"--input-description-size":void 0===t?void 0:`calc(${(0,a.ny)(t)} - ${(0,o.D)(2)})`}})),_=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputDescription",null,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,vars:p,size:f,__staticSelector:h,__inheritStyles:m=!0,attributes:g,variant:y,...v}=(0,c.Y)("InputDescription",null,r),b=(0,w.e)(),E=(0,u.I)({name:["InputWrapper",h],props:r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:l,attributes:g,rootSelector:"description",vars:p,varsResolver:A}),_=m&&b?.getStyles||E;return(0,n.jsx)(d.a,{component:"p",ref:t,variant:y,size:f,..._("description",b?.getStyles?{className:i,style:a}:void 0),...v})});_.classes=S,_.displayName="@mantine/core/InputDescription";const P=(0,s.V)((e,{size:t})=>({error:{"--input-error-size":void 0===t?void 0:`calc(${(0,a.ny)(t)} - ${(0,o.D)(2)})`}})),C=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputError",null,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,vars:p,size:f,attributes:h,__staticSelector:m,__inheritStyles:g=!0,variant:y,...v}=r,b=(0,u.I)({name:["InputWrapper",m],props:r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:l,attributes:h,rootSelector:"error",vars:p,varsResolver:P}),E=(0,w.e)(),A=g&&E?.getStyles||b;return(0,n.jsx)(d.a,{component:"p",ref:t,variant:y,size:f,...A("error",E?.getStyles?{className:i,style:a}:void 0),...v})});C.classes=S,C.displayName="@mantine/core/InputError";const I={labelElement:"label"},x=(0,s.V)((e,{size:t})=>({label:{"--input-label-size":(0,a.ny)(t),"--input-asterisk-color":void 0}})),O=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputLabel",I,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,vars:p,labelElement:f,size:h,required:m,htmlFor:g,onMouseDown:y,children:v,__staticSelector:b,variant:E,mod:A,attributes:_,...P}=(0,c.Y)("InputLabel",I,r),C=(0,u.I)({name:["InputWrapper",b],props:r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:l,attributes:_,rootSelector:"label",vars:p,varsResolver:x}),O=(0,w.e)(),k=O?.getStyles||C;return(0,n.jsxs)(d.a,{...k("label",O?.getStyles?{className:i,style:a}:void 0),component:f,variant:E,size:h,ref:t,htmlFor:"label"===f?g:void 0,mod:[{required:m},A],onMouseDown:e=>{y?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()},...P,children:[v,m&&(0,n.jsx)("span",{...k("required"),"aria-hidden":!0,children:" *"})]})});O.classes=S,O.displayName="@mantine/core/InputLabel";const k=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputPlaceholder",null,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,vars:p,__staticSelector:f,variant:h,error:m,mod:g,attributes:y,...v}=r,b=(0,u.I)({name:["InputPlaceholder",f],props:r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:l,attributes:y,rootSelector:"placeholder"});return(0,n.jsx)(d.a,{...b("placeholder"),mod:[{error:!!m},g],component:"span",variant:h,ref:t,...v})});k.classes=S,k.displayName="@mantine/core/InputPlaceholder";var T=r(66284);function N(e,{hasDescription:t,hasError:r}){const n=e.findIndex(e=>"input"===e),o=e.slice(0,n),i=e.slice(n+1),a=t&&o.includes("description")||r&&o.includes("error");return{offsetBottom:t&&i.includes("description")||r&&i.includes("error"),offsetTop:a}}const j={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},R=(0,s.V)((e,{size:t})=>({label:{"--input-label-size":(0,a.ny)(t),"--input-asterisk-color":void 0},error:{"--input-error-size":void 0===t?void 0:`calc(${(0,a.ny)(t)} - ${(0,o.D)(2)})`},description:{"--input-description-size":void 0===t?void 0:`calc(${(0,a.ny)(t)} - ${(0,o.D)(2)})`}})),M=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputWrapper",j,e),{classNames:o,className:a,style:s,styles:l,unstyled:p,vars:f,size:h,variant:m,__staticSelector:g,inputContainer:y,inputWrapperOrder:v,label:b,error:E,description:A,labelProps:P,descriptionProps:I,errorProps:x,labelElement:k,children:M,withAsterisk:D,id:U,required:F,__stylesApiProps:L,mod:z,attributes:V,...H}=r,$=(0,u.I)({name:["InputWrapper",g],props:L||r,classes:S,className:a,style:s,classNames:o,styles:l,unstyled:p,attributes:V,vars:f,varsResolver:R}),W={size:h,variant:m,__staticSelector:g},B=(0,T.B)(U),K="boolean"==typeof D?D:F,G=x?.id||`${B}-error`,q=I?.id||`${B}-description`,Y=B,J=!!E&&"boolean"!=typeof E,Q=!!A,X=`${J?G:""} ${Q?q:""}`,Z=X.trim().length>0?X.trim():void 0,ee=P?.id||`${B}-label`,te=b&&(0,n.jsx)(O,{labelElement:k,id:ee,htmlFor:Y,required:K,...W,...P,children:b},"label"),re=Q&&(0,n.jsx)(_,{...I,...W,size:I?.size||W.size,id:I?.id||q,children:A},"description"),ne=(0,n.jsx)(i.Fragment,{children:y(M)},"input"),oe=J&&(0,i.createElement)(C,{...x,...W,size:x?.size||W.size,key:"error",id:x?.id||G},E),ie=v.map(e=>{switch(e){case"label":return te;case"input":return ne;case"description":return re;case"error":return oe;default:return null}});return(0,n.jsx)(w.D,{value:{getStyles:$,describedBy:Z,inputId:Y,labelId:ee,...N(v,{hasDescription:Q,hasError:J})},children:(0,n.jsx)(d.a,{ref:t,variant:m,size:h,mod:[{error:!!E},z],...$("root"),...H,children:ie})})});M.classes=S,M.displayName="@mantine/core/InputWrapper";const D={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0,size:"sm"},U=(0,s.V)((e,t,r)=>({wrapper:{"--input-margin-top":r.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":r.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":(0,a.YC)(t.size,"input-height"),"--input-fz":(0,a.ny)(t.size),"--input-radius":void 0===t.radius?void 0:(0,a.nJ)(t.radius),"--input-left-section-width":void 0!==t.leftSectionWidth?(0,o.D)(t.leftSectionWidth):void 0,"--input-right-section-width":void 0!==t.rightSectionWidth?(0,o.D)(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?(0,a.YC)(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}})),F=(0,p.v)((e,t)=>{const r=(0,c.Y)("Input",D,e),{classNames:o,className:i,style:a,styles:s,unstyled:p,required:f,__staticSelector:m,__stylesApiProps:g,size:y,wrapperProps:v,error:b,disabled:A,leftSection:_,leftSectionProps:P,leftSectionWidth:C,rightSection:I,rightSectionProps:x,rightSectionWidth:O,rightSectionPointerEvents:k,leftSectionPointerEvents:T,variant:N,vars:j,pointer:R,multiline:M,radius:F,id:L,withAria:z,withErrorStyles:V,mod:H,inputSize:$,attributes:W,__clearSection:B,__clearable:K,__defaultRightSection:G,...q}=r,{styleProps:Y,rest:J}=(0,l.j)(q),Q=(0,w.e)(),X={offsetBottom:Q?.offsetBottom,offsetTop:Q?.offsetTop},Z=(0,u.I)({name:["Input",m],props:g||r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:p,attributes:W,stylesCtx:X,rootSelector:"wrapper",vars:j,varsResolver:U}),ee=z?{required:f,disabled:A,"aria-invalid":!!b,"aria-describedby":Q?.describedBy,id:Q?.inputId||L}:{},te=function({__clearable:e,__clearSection:t,rightSection:r,__defaultRightSection:o,size:i="sm"}){const a=e&&t;return a&&(r||o)?(0,n.jsxs)("div",{"data-combined-clear-section":!0,style:{display:"flex",gap:2,alignItems:"center",paddingInlineEnd:E[i]},children:[a,r||o]}):null===r?null:r||a||o}({__clearable:K,__clearSection:B,rightSection:I,__defaultRightSection:G,size:y});return(0,n.jsx)(h,{value:{size:y||"sm"},children:(0,n.jsxs)(d.a,{...Z("wrapper"),...Y,...v,mod:[{error:!!b&&V,pointer:R,disabled:A,multiline:M,"data-with-right-section":!!te,"data-with-left-section":!!_},H],variant:N,size:y,children:[_&&(0,n.jsx)("div",{...P,"data-position":"left",...Z("section",{className:P?.className,style:P?.style}),children:_}),(0,n.jsx)(d.a,{component:"input",...J,...ee,ref:t,required:f,mod:{disabled:A,error:!!b&&V},variant:N,__size:$,...Z("input")}),te&&(0,n.jsx)("div",{...x,"data-position":"right",...Z("section",{className:x?.className,style:x?.style}),children:te})]})})});F.classes=S,F.Wrapper=M,F.Label=O,F.Error=C,F.Description=_,F.Placeholder=k,F.ClearButton=b,F.displayName="@mantine/core/Input"},31425(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV1State=void 0;const n=r(52291),o=r(76011),i={};function a(e,t,r){return e.msecs??=-1/0,e.nsecs??=0,t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=r.slice(10,16),e.node[0]|=1,e.clockseq=16383&(r[8]<<8|r[9])),e.msecs=t,e}function s(e,t,r,n,o,i,a=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(i){if(a<0||a+16>i.length)throw new RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`)}else i=new Uint8Array(16),a=0;t??=Date.now(),r??=0,n??=16383&(e[8]<<8|e[9]),o??=e.slice(10,16);const s=(1e4*(268435455&(t+=122192928e5))+r)%4294967296;i[a++]=s>>>24&255,i[a++]=s>>>16&255,i[a++]=s>>>8&255,i[a++]=255&s;const c=t/4294967296*1e4&268435455;i[a++]=c>>>8&255,i[a++]=255&c,i[a++]=c>>>24&15|16,i[a++]=c>>>16&255,i[a++]=n>>>8|128,i[a++]=255&n;for(let e=0;e<6;++e)i[a++]=o[e];return i}t.updateV1State=a,t.default=function(e,t,r){let c;const u=e?._v6??!1;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e)c=s(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r);else{const e=Date.now(),o=(0,n.default)();a(i,e,o),c=s(o,i.msecs,i.nsecs,u?void 0:i.clockseq,u?void 0:i.node,t,r)}return t??(0,o.unsafeStringify)(c)}},31635(e,t,r){"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>M,__assign:()=>i,__asyncDelegator:()=>P,__asyncGenerator:()=>_,__asyncValues:()=>C,__await:()=>A,__awaiter:()=>h,__classPrivateFieldGet:()=>N,__classPrivateFieldIn:()=>R,__classPrivateFieldSet:()=>j,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>U,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>T,__importStar:()=>k,__makeTemplateObject:()=>I,__metadata:()=>f,__param:()=>c,__propKey:()=>d,__read:()=>b,__rest:()=>a,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>l,__setFunctionName:()=>p,__spread:()=>E,__spreadArray:()=>S,__spreadArrays:()=>w,__values:()=>v,default:()=>L});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,d=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),p=!1,f=r.length-1;f>=0;f--){var h={};for(var m in n)h[m]="access"===m?{}:n[m];for(var m in n.access)h.access[m]=n.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,r[f])("accessor"===c?{get:d.get,set:d.set}:d[u],h);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&o.unshift(s)}else(s=a(g))&&("field"===c?o.unshift(s):d[u]=s)}l&&Object.defineProperty(l,n.name,d),p=!0}function l(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}function m(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var g=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function y(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function E(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function S(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function A(e){return this instanceof A?(this.v=e,this):new A(e)}function _(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{(r=o[e](t)).value instanceof A?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function P(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:A(e[n](t)),done:!1}:o?o(t):t}:o}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=v(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,o,(t=e[r](t)).done,t.value)})}}}function I(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var x=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},O=function(e){return O=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},O(e)};function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=O(e),n=0;n<r.length;n++)"default"!==r[n]&&g(t,e,r[n]);return x(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function N(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new 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)}function j(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function R(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function M(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var D="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function U(e){function t(t){e.error=e.hasError?new D(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,function(e){return t(e),o()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,o,i){return r?t?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":e}):e}const L={__extends:o,__assign:i,__rest:a,__decorate:s,__param:c,__esDecorate:u,__runInitializers:l,__propKey:d,__setFunctionName:p,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:E,__spreadArrays:w,__spreadArray:S,__await:A,__asyncGenerator:_,__asyncDelegator:P,__asyncValues:C,__makeTemplateObject:I,__importStar:k,__importDefault:T,__classPrivateFieldGet:N,__classPrivateFieldSet:j,__classPrivateFieldIn:R,__addDisposableResource:M,__disposeResources:U,__rewriteRelativeImportExtension:F}},31797(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(59746);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");let t;return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/1099511627776&255,t/4294967296&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)}},31898(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndexByFields=function(e,t,r){const n=Object.fromEntries(r.map(t=>[t,e[t]]));for(let e=0;e<t.length;e++)if(Object.keys(n).every(r=>n[r]===t[e][r]))return e;return-1}},31983(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueAction=void 0;var i=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.flush(this),0)},t}(r(64772).AsyncAction);t.QueueAction=i},32036(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(r(19533).AsyncScheduler);t.QueueScheduler=i},32044(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reachability=void 0;const n=r(79364),o=r(72685);class i{networkMonitor(e){const t=(0,o.isWebWorker)()?self:"undefined"!=typeof window&&window;return t?new n.Observable(e=>{e.next({online:t.navigator.onLine});const r=()=>{e.next({online:!0})},n=()=>{e.next({online:!1})};return t.addEventListener("online",r),t.addEventListener("offline",n),i._observers.push(e),()=>{t.removeEventListener("online",r),t.removeEventListener("offline",n),i._observers=i._observers.filter(t=>t!==e)}}):(0,n.from)([{online:!0}])}static _observerOverride(e){for(const t of this._observers)t.closed?this._observers=this._observers.filter(e=>e!==t):t?.next&&t.next(e)}}t.Reachability=i,i._observers=[]},32071(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeOn=void 0;var n=r(28619),o=r(65212),i=r(17214);t.observeOn=function(e,t){return void 0===t&&(t=0),o.operate(function(r,o){r.subscribe(i.createOperatorSubscriber(o,function(r){return n.executeSchedule(o,e,function(){return o.next(r)},t)},function(){return n.executeSchedule(o,e,function(){return o.complete()},t)},function(r){return n.executeSchedule(o,e,function(){return o.error(r)},t)}))})}},32508(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeInterval=t.timeInterval=void 0;var n=r(62326),o=r(65212),i=r(17214);t.timeInterval=function(e){return void 0===e&&(e=n.asyncScheduler),o.operate(function(t,r){var n=e.now();t.subscribe(i.createOperatorSubscriber(r,function(t){var o=e.now(),i=o-n;n=o,r.next(new a(t,i))}))})};var a=function(e,t){this.value=e,this.interval=t};t.TimeInterval=a},32568(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.last=void 0;var n=r(59328),o=r(85934),i=r(65279),a=r(30632),s=r(58799),c=r(87699);t.last=function(e,t){var r=arguments.length>=2;return function(u){return u.pipe(e?o.filter(function(t,r){return e(t,r,u)}):c.identity,i.takeLast(1),r?s.defaultIfEmpty(t):a.throwIfEmpty(function(){return new n.EmptyError}))}}},32980(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportUnhandledError=void 0;var n=r(93728),o=r(94808);t.reportUnhandledError=function(e){o.timeoutProvider.setTimeout(function(){var t=n.config.onUnhandledError;if(!t)throw e;t(e)})}},32988(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=t.stringToBytes=void 0;const n=r(31797),o=r(76011);function i(e){e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}t.stringToBytes=i,t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t.default=function(e,t,r,a,s,c){const u="string"==typeof r?i(r):r,l="string"==typeof a?(0,n.default)(a):a;if("string"==typeof a&&(a=(0,n.default)(a)),16!==a?.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let d=new Uint8Array(16+u.length);if(d.set(l),d.set(u,l.length),d=t(d),d[6]=15&d[6]|e,d[8]=63&d[8]|128,s){c=c||0;for(let e=0;e<16;++e)s[c+e]=d[e];return s}return(0,o.unsafeStringify)(d)}},33148(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},33748(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__modelMeta__=void 0;var n=r(29470);Object.defineProperty(t,"__modelMeta__",{enumerable:!0,get:function(){return n.__modelMeta__}})},33826(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31635);n.__exportStar(r(70896),t),n.__exportStar(r(27861),t)},33859(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.associateWebAuthnCredential=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:p}=await(0,n.fetchAuthSession)();(0,i.assertAuthTokens)(p);const f=(0,l.createStartWebAuthnRegistrationClient)({endpointResolver:(0,a.createCognitoUserPoolEndpointResolver)({endpointOverride:t})}),{CredentialCreationOptions:h}=await f({region:(0,s.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.StartWebAuthnRegistration)},{AccessToken:p.accessToken.toString()});(0,d.assertValidCredentialCreationOptions)(h);const m=await(0,u.registerPasskey)(h),g=(0,l.createCompleteWebAuthnRegistrationClient)({endpointResolver:(0,a.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await g({region:(0,s.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.CompleteWebAuthnRegistration)},{AccessToken:p.accessToken.toString(),Credential:m})};const n=r(56547),o=r(22651),i=r(64166),a=r(28228),s=r(62639),c=r(17238),u=r(57440),l=r(35456),d=r(13321)},33990(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeFrameworkChanges=t.detectFramework=t.frameworkChangeObservers=void 0,t.clearCache=s;const n=r(1478),o=r(10435);let i;t.frameworkChangeObservers=[];let a=!1;function s(){i=void 0}function c(e,r){i!==e||a||setTimeout(()=>{s(),a=!0,setTimeout(t.detectFramework,1e3)},r)}t.detectFramework=()=>{if(!i){if(i=(0,o.detect)(),a)for(;t.frameworkChangeObservers.length;)t.frameworkChangeObservers.pop()?.();else t.frameworkChangeObservers.forEach(e=>{e()});c(n.Framework.ServerSideUnknown,10),c(n.Framework.WebUnknown,10)}return i},t.observeFrameworkChanges=e=>{a||t.frameworkChangeObservers.push(e)}},34073(e,t,r){"use strict";r.d(t,{a:()=>n});const n=e=>(new TextEncoder).encode(e)},34143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION=t.TOKEN_REFRESH_EXCEPTION=t.OAUTH_SIGNOUT_EXCEPTION=t.invalidOriginException=t.INVALID_ORIGIN_EXCEPTION=t.invalidPreferredRedirectUrlException=t.invalidAppSchemeException=t.invalidRedirectException=t.INVALID_PREFERRED_REDIRECT_EXCEPTION=t.INVALID_APP_SCHEME_EXCEPTION=t.INVALID_REDIRECT_EXCEPTION=t.AUTO_SIGN_IN_EXCEPTION=t.DEVICE_METADATA_NOT_FOUND_EXCEPTION=t.USER_ALREADY_AUTHENTICATED_EXCEPTION=t.USER_UNAUTHENTICATED_EXCEPTION=void 0;const n=r(43518);t.USER_UNAUTHENTICATED_EXCEPTION="UserUnAuthenticatedException",t.USER_ALREADY_AUTHENTICATED_EXCEPTION="UserAlreadyAuthenticatedException",t.DEVICE_METADATA_NOT_FOUND_EXCEPTION="DeviceMetadataNotFoundException",t.AUTO_SIGN_IN_EXCEPTION="AutoSignInException",t.INVALID_REDIRECT_EXCEPTION="InvalidRedirectException",t.INVALID_APP_SCHEME_EXCEPTION="InvalidAppSchemeException",t.INVALID_PREFERRED_REDIRECT_EXCEPTION="InvalidPreferredRedirectUrlException",t.invalidRedirectException=new n.AuthError({name:t.INVALID_REDIRECT_EXCEPTION,message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."}),t.invalidAppSchemeException=new n.AuthError({name:t.INVALID_APP_SCHEME_EXCEPTION,message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."}),t.invalidPreferredRedirectUrlException=new n.AuthError({name:t.INVALID_PREFERRED_REDIRECT_EXCEPTION,message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."}),t.INVALID_ORIGIN_EXCEPTION="InvalidOriginException",t.invalidOriginException=new n.AuthError({name:t.INVALID_ORIGIN_EXCEPTION,message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."}),t.OAUTH_SIGNOUT_EXCEPTION="OAuthSignOutException",t.TOKEN_REFRESH_EXCEPTION="TokenRefreshException",t.UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION="UnexpectedSignInInterruptionException"},34164(e,t,r){"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}r.d(t,{A:()=>o});const o=function(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}},34681(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteWebAuthnCredentialClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createDeleteWebAuthnCredentialClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("DeleteWebAuthnCredential"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},34743(e,t,r){"use strict";r.d(t,{BN:()=>h,ER:()=>m,Ej:()=>y,UE:()=>E,UU:()=>g,cY:()=>f,jD:()=>v,mG:()=>b,we:()=>d});var n=r(7315),o=r(51609),i=r(75795),a="undefined"!=typeof document?o.useLayoutEffect:function(){};function s(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!==n--;)if(!s(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!==n--;){const r=o[n];if(!("_owner"===r&&e.$$typeof||s(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function c(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){const r=c(e);return Math.round(t*r)/r}function l(e){const t=o.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:d=[],platform:p,elements:{reference:f,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,b]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[E,w]=o.useState(d);s(E,d)||w(d);const[S,A]=o.useState(null),[_,P]=o.useState(null),C=o.useCallback(e=>{e!==k.current&&(k.current=e,A(e))},[]),I=o.useCallback(e=>{e!==T.current&&(T.current=e,P(e))},[]),x=f||S,O=h||_,k=o.useRef(null),T=o.useRef(null),N=o.useRef(v),j=null!=g,R=l(g),M=l(p),D=l(y),U=o.useCallback(()=>{if(!k.current||!T.current)return;const e={placement:t,strategy:r,middleware:E};M.current&&(e.platform=M.current),(0,n.rD)(k.current,T.current,e).then(e=>{const t={...e,isPositioned:!1!==D.current};F.current&&!s(N.current,t)&&(N.current=t,i.flushSync(()=>{b(t)}))})},[E,t,r,M,D]);a(()=>{!1===y&&N.current.isPositioned&&(N.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[y]);const F=o.useRef(!1);a(()=>(F.current=!0,()=>{F.current=!1}),[]),a(()=>{if(x&&(k.current=x),O&&(T.current=O),x&&O){if(R.current)return R.current(x,O,U);U()}},[x,O,U,R,j]);const L=o.useMemo(()=>({reference:k,floating:T,setReference:C,setFloating:I}),[C,I]),z=o.useMemo(()=>({reference:x,floating:O}),[x,O]),V=o.useMemo(()=>{const e={position:r,left:0,top:0};if(!z.floating)return e;const t=u(z.floating,v.x),n=u(z.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...c(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,m,z.floating,v.x,v.y]);return o.useMemo(()=>({...v,update:U,refs:L,elements:z,floatingStyles:V}),[v,U,L,z,V])}const p=e=>({name:"arrow",options:e,fn(t){const{element:r,padding:o}="function"==typeof e?e(t):e;return r&&(i=r,{}.hasOwnProperty.call(i,"current"))?null!=r.current?(0,n.UE)({element:r.current,padding:o}).fn(t):{}:r?(0,n.UE)({element:r,padding:o}).fn(t):{};var i}}),f=(e,t)=>({...(0,n.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,n.BN)(e),options:[e,t]}),m=(e,t)=>({...(0,n.ER)(e),options:[e,t]}),g=(e,t)=>({...(0,n.UU)(e),options:[e,t]}),y=(e,t)=>({...(0,n.Ej)(e),options:[e,t]}),v=(e,t)=>({...(0,n.jD)(e),options:[e,t]}),b=(e,t)=>({...(0,n.mG)(e),options:[e,t]}),E=(e,t)=>({...p(e),options:[e,t]})},34891(e,t){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.getSymbolIterator=void 0,t.getSymbolIterator=r,t.iterator=r()},34950(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleArray=void 0;var n=r(48051);t.scheduleArray=function(e,t){return new n.Observable(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}},35138(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleDeviceSRPAuth=async function({username:e,config:t,clientMetadata:r,session:l,tokenOrchestrator:d}){const{userPoolId:p,userPoolEndpoint:f}=t,h=t.userPoolClientId,m=await(d?.getDeviceMetadata(e));(0,a.assertDeviceMetadata)(m);const g=await(0,s.getAuthenticationHelper)(m.deviceGroupKey),y={ChallengeName:"DEVICE_SRP_AUTH",ClientId:h,ChallengeResponses:{USERNAME:e,SRP_A:g.A.toString(16),DEVICE_KEY:m.deviceKey},ClientMetadata:r,Session:l},v=(0,n.createRespondToAuthChallengeClient)({endpointResolver:(0,o.createCognitoUserPoolEndpointResolver)({endpointOverride:f})}),{ChallengeParameters:b,Session:E}=await v({region:(0,i.getRegionFromUserPoolId)(p)},y);return async function(e,t,r,l,d,{userPoolId:p,userPoolClientId:f,userPoolEndpoint:h},m){const g=await(m?.getDeviceMetadata(e));(0,a.assertDeviceMetadata)(g);const y=new c.BigInteger(t?.SRP_B,16),v=new c.BigInteger(t?.SALT,16),{deviceKey:b}=g,{deviceGroupKey:E}=g,w=await d.getPasswordAuthenticationKey({username:g.deviceKey,password:g.randomPassword,serverBValue:y,salt:v}),S=(0,s.getNowString)(),A={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:f,ChallengeResponses:{USERNAME:t?.USERNAME??e,PASSWORD_CLAIM_SECRET_BLOCK:t?.SECRET_BLOCK,TIMESTAMP:S,PASSWORD_CLAIM_SIGNATURE:(0,s.getSignatureString)({username:b,userPoolName:E,challengeParameters:t,dateNow:S,hkdf:w}),DEVICE_KEY:b},Session:l,ClientMetadata:r,UserContextData:(0,u.getUserContextData)({username:e,userPoolId:p,userPoolClientId:f})};return(0,n.createRespondToAuthChallengeClient)({endpointResolver:(0,o.createCognitoUserPoolEndpointResolver)({endpointOverride:h})})({region:(0,i.getRegionFromUserPoolId)(p)},A)}(e,b,r,E,g,t,d)};const n=r(35456),o=r(28228),i=r(62639),a=r(64166),s=r(80699),c=r(74008),u=r(99369)},35269(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64Encoder=t.base64Decoder=void 0;var n=r(17524);Object.defineProperty(t,"base64Decoder",{enumerable:!0,get:function(){return n.base64Decoder}});var o=r(44012);Object.defineProperty(t,"base64Encoder",{enumerable:!0,get:function(){return o.base64Encoder}})},35354(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoSignInUserConfirmed=void 0,t.handleCodeAutoSignIn=function(e){const t=n.HubInternal.listen("auth-internal",async({payload:r})=>{if("confirmSignUp"===r.event){const o=r.data;o?.isSignUpComplete&&(n.HubInternal.dispatch("auth-internal",{event:"autoSignIn"}),(0,a.setAutoSignIn)(p(e)),t())}}),r=setTimeout(()=>{t(),clearTimeout(r),(0,a.resetAutoSignIn)()},18e4)},t.autoSignInWhenUserIsConfirmedWithLink=function(e){return async()=>new Promise((t,r)=>{l([e,t,r])})};const n=r(22651),o=r(86369),i=r(43518),a=r(19578),s=r(34143),c=r(84060);function u(e,t){let r;return n=>{r||e(...n),clearTimeout(r),r=setTimeout(()=>{r=void 0},t)}}const l=u(function(e,t,r){const n=Date.now(),c=setInterval(async()=>{if(Date.now()-n>18e4)clearInterval(c),r(new i.AuthError({name:s.AUTO_SIGN_IN_EXCEPTION,message:"The account was not confirmed on time.",recoverySuggestion:"Try to verify your account by clicking the link sent your email or phone and then login manually."})),(0,a.resetAutoSignIn)();else try{const r=await(0,o.signIn)(e);"CONFIRM_SIGN_UP"!==r.nextStep.signInStep&&(t(r),clearInterval(c),(0,a.resetAutoSignIn)())}catch(e){clearInterval(c),r(e),(0,a.resetAutoSignIn)()}},5e3)},300),d=u(async function(e,t,r){try{t("USER_AUTH"===e?.options?.authFlowType?await(0,c.signInWithUserAuth)(e):await(0,o.signIn)(e)),(0,a.resetAutoSignIn)()}catch(e){r(e),(0,a.resetAutoSignIn)()}},300);function p(e){return async()=>new Promise((t,r)=>{d([e,t,r])})}t.autoSignInUserConfirmed=p},35456(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteWebAuthnCredentialClient=t.createListWebAuthnCredentialsClient=t.createCompleteWebAuthnRegistrationClient=t.createStartWebAuthnRegistrationClient=t.createDeleteUserAttributesClient=t.createListDevicesClient=t.createUpdateDeviceStatusClient=t.createVerifyUserAttributeClient=t.createUpdateUserAttributesClient=t.createGlobalSignOutClient=t.createGetUserAttributeVerificationCodeClient=t.createDeleteUserClient=t.createForgetDeviceClient=t.createConfirmDeviceClient=t.createChangePasswordClient=t.createGetUserClient=t.createSetUserMFAPreferenceClient=t.createAssociateSoftwareTokenClient=t.createVerifySoftwareTokenClient=t.createResendConfirmationCodeClient=t.createRespondToAuthChallengeClient=t.createConfirmForgotPasswordClient=t.createForgotPasswordClient=t.createConfirmSignUpClient=t.createSignUpClient=t.createRevokeTokenClient=t.createGetTokensFromRefreshTokenClient=t.createInitiateAuthClient=void 0;var n=r(73836);Object.defineProperty(t,"createInitiateAuthClient",{enumerable:!0,get:function(){return n.createInitiateAuthClient}});var o=r(22485);Object.defineProperty(t,"createGetTokensFromRefreshTokenClient",{enumerable:!0,get:function(){return o.createGetTokensFromRefreshTokenClient}});var i=r(69988);Object.defineProperty(t,"createRevokeTokenClient",{enumerable:!0,get:function(){return i.createRevokeTokenClient}});var a=r(71405);Object.defineProperty(t,"createSignUpClient",{enumerable:!0,get:function(){return a.createSignUpClient}});var s=r(72647);Object.defineProperty(t,"createConfirmSignUpClient",{enumerable:!0,get:function(){return s.createConfirmSignUpClient}});var c=r(49867);Object.defineProperty(t,"createForgotPasswordClient",{enumerable:!0,get:function(){return c.createForgotPasswordClient}});var u=r(83089);Object.defineProperty(t,"createConfirmForgotPasswordClient",{enumerable:!0,get:function(){return u.createConfirmForgotPasswordClient}});var l=r(46414);Object.defineProperty(t,"createRespondToAuthChallengeClient",{enumerable:!0,get:function(){return l.createRespondToAuthChallengeClient}});var d=r(30382);Object.defineProperty(t,"createResendConfirmationCodeClient",{enumerable:!0,get:function(){return d.createResendConfirmationCodeClient}});var p=r(9998);Object.defineProperty(t,"createVerifySoftwareTokenClient",{enumerable:!0,get:function(){return p.createVerifySoftwareTokenClient}});var f=r(70265);Object.defineProperty(t,"createAssociateSoftwareTokenClient",{enumerable:!0,get:function(){return f.createAssociateSoftwareTokenClient}});var h=r(52359);Object.defineProperty(t,"createSetUserMFAPreferenceClient",{enumerable:!0,get:function(){return h.createSetUserMFAPreferenceClient}});var m=r(63704);Object.defineProperty(t,"createGetUserClient",{enumerable:!0,get:function(){return m.createGetUserClient}});var g=r(43276);Object.defineProperty(t,"createChangePasswordClient",{enumerable:!0,get:function(){return g.createChangePasswordClient}});var y=r(35889);Object.defineProperty(t,"createConfirmDeviceClient",{enumerable:!0,get:function(){return y.createConfirmDeviceClient}});var v=r(65438);Object.defineProperty(t,"createForgetDeviceClient",{enumerable:!0,get:function(){return v.createForgetDeviceClient}});var b=r(79169);Object.defineProperty(t,"createDeleteUserClient",{enumerable:!0,get:function(){return b.createDeleteUserClient}});var E=r(46742);Object.defineProperty(t,"createGetUserAttributeVerificationCodeClient",{enumerable:!0,get:function(){return E.createGetUserAttributeVerificationCodeClient}});var w=r(51233);Object.defineProperty(t,"createGlobalSignOutClient",{enumerable:!0,get:function(){return w.createGlobalSignOutClient}});var S=r(10154);Object.defineProperty(t,"createUpdateUserAttributesClient",{enumerable:!0,get:function(){return S.createUpdateUserAttributesClient}});var A=r(39993);Object.defineProperty(t,"createVerifyUserAttributeClient",{enumerable:!0,get:function(){return A.createVerifyUserAttributeClient}});var _=r(51700);Object.defineProperty(t,"createUpdateDeviceStatusClient",{enumerable:!0,get:function(){return _.createUpdateDeviceStatusClient}});var P=r(27360);Object.defineProperty(t,"createListDevicesClient",{enumerable:!0,get:function(){return P.createListDevicesClient}});var C=r(54872);Object.defineProperty(t,"createDeleteUserAttributesClient",{enumerable:!0,get:function(){return C.createDeleteUserAttributesClient}});var I=r(71556);Object.defineProperty(t,"createStartWebAuthnRegistrationClient",{enumerable:!0,get:function(){return I.createStartWebAuthnRegistrationClient}});var x=r(5425);Object.defineProperty(t,"createCompleteWebAuthnRegistrationClient",{enumerable:!0,get:function(){return x.createCompleteWebAuthnRegistrationClient}});var O=r(15779);Object.defineProperty(t,"createListWebAuthnCredentialsClient",{enumerable:!0,get:function(){return O.createListWebAuthnCredentialsClient}});var k=r(34681);Object.defineProperty(t,"createDeleteWebAuthnCredentialClient",{enumerable:!0,get:function(){return k.createDeleteWebAuthnCredentialClient}})},35565(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scan=void 0;var n=r(65212),o=r(78531);t.scan=function(e,t){return n.operate(o.scanInternals(e,t,arguments.length>=2,!0))}},35726(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrameProvider=void 0;var i=r(69879);t.animationFrameProvider={schedule:function(e){var r=requestAnimationFrame,n=cancelAnimationFrame,o=t.animationFrameProvider.delegate;o&&(r=o.requestAnimationFrame,n=o.cancelAnimationFrame);var a=r(function(t){n=void 0,e(t)});return new i.Subscription(function(){return null==n?void 0:n(a)})},requestAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.animationFrameProvider.delegate;return((null==i?void 0:i.requestAnimationFrame)||requestAnimationFrame).apply(void 0,o([],n(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.animationFrameProvider.delegate;return((null==i?void 0:i.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,o([],n(e)))},delegate:void 0}},35782(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listenForOAuthFlowCancellation=void 0;const n=r(19804),o=r(6996);t.listenForOAuthFlowCancellation=e=>{window.addEventListener("pageshow",async function t(r){if(r.persisted&&await e.loadOAuthInFlight()){const e=(0,n.createOAuthError)("User cancelled OAuth flow.");await(0,o.handleFailure)(e)}window.removeEventListener("pageshow",t)})}},35862(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteUserAttributes=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userAttributeKeys:r}=e,{userPoolEndpoint:l,userPoolId:d}=t,{tokens:p}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,a.assertAuthTokens)(p);const f=(0,c.createDeleteUserAttributesClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:l})});await f({region:(0,i.getRegionFromUserPoolId)(d),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.DeleteUserAttributes)},{AccessToken:p.accessToken.toString(),UserAttributeNames:r})};const n=r(56547),o=r(22651),i=r(62639),a=r(64166),s=r(17238),c=r(35456),u=r(28228)},35864(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchMFAPreference=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:d}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,s.assertAuthTokens)(d);const p=(0,u.createGetUserClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:t})}),{PreferredMfaSetting:f,UserMFASettingList:h}=await p({region:(0,a.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.FetchMFAPreference)},{AccessToken:d.accessToken.toString()});return{preferred:(0,i.getMFAType)(f),enabled:(0,i.getMFATypes)(h)}};const n=r(56547),o=r(22651),i=r(78040),a=r(62639),s=r(64166),c=r(17238),u=r(35456),l=r(28228)},35884(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defer=void 0;var n=r(48051),o=r(19724);t.defer=function(e){return new n.Observable(function(t){o.innerFrom(e()).subscribe(t)})}},35889(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConfirmDeviceClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createConfirmDeviceClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ConfirmDevice"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},35904(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.using=void 0;var n=r(48051),o=r(19724),i=r(44885);t.using=function(e,t){return new n.Observable(function(r){var n=e(),a=t(n);return(a?o.innerFrom(a):i.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}})}},36118(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","settings","Settings",[["path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065",key:"svg-0"}],["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}]])},36135(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.indexQueryFactory=function(e,t,r,n,o,i=!1){return i?(i,a,c)=>s(e,t,r,n,o,{...a,...c},i):(i,a)=>s(e,t,r,n,o,{...i,...a})};const n=r(44287),o=r(48310),i=r(17631),a=r(53841);function s(e,t,r,s,c,u,l){return(0,i.selfAwareAsync)(async i=>{const{name:d}=r,p=(0,n.generateGraphQLDocument)(t,r,"INDEX_QUERY",u,s),f=(0,n.buildGraphQLVariables)(r,"INDEX_QUERY",u,t,s),h=(0,n.authModeParams)(e,c,u),m=r=>(0,n.initializeModel)(e,d,r,t,h.authMode,h.authToken,!!l);try{const r=(0,n.getCustomHeaders)(e,c,u?.headers),o=[{...h,query:p,variables:f},r];void 0!==l&&o.unshift(l);const s=e.graphql(...o),g=(0,a.extendCancellability)(s,i),y=await g;if(void 0!==y.data)return function(e,t,r,o,i){const{data:a,extensions:s}=r,[c]=Object.keys(a);if(a[c].items){const r=a[c].items.map(r=>(0,n.flattenItems)(e,t,r));return{data:o?r:i(r),nextToken:a[c].nextToken,extensions:s}}return{data:a[c],nextToken:a[c].nextToken,extensions:s}}(t,d,y,u?.selectionSet,m)}catch(e){const{data:r,errors:i}=e;if(null!=r&&0!==Object.keys(r).length&&i){const[e]=Object.keys(r);if(r[e]?.items){const o=r[e]?.items.map(e=>(0,n.flattenItems)(t,d,e));if(o)return{data:u?.selectionSet?o:m(o),nextToken:r[e]?.nextToken}}return{data:r[e],nextToken:r[e]?.nextToken}}return(0,o.handleListGraphQlError)(e)}})}},36345(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateA=void 0;const n=r(74008);t.calculateA=async({a:e,g:t,N:r})=>new Promise((o,i)=>{t.modPow(e,r,(e,t)=>{e?i(e):t.mod(r).equals(n.BigInteger.ZERO)?i(new Error("Illegal parameter. A mod N cannot be 0.")):o(t)})})},36504(e,t,r){"use strict";r.d(t,{s:()=>E});var n=r(10790),o=r(51609);const i=/input|select|textarea|button|object/,a="a, input, select, textarea, button, object, [tabindex]";function s(e){return"none"===e.style.display}function c(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function u(e){const t=e.nodeName.toLowerCase(),r=!Number.isNaN(c(e));return(i.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&function(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type"))return!1;let t=e;for(;t&&t!==document.body&&11!==t.nodeType;){if(s(t))return!1;t=t.parentNode}return!0}(e)}function l(e){const t=c(e);return(Number.isNaN(t)||t>=0)&&u(e)}function d(e){return Array.from(e.querySelectorAll(a)).filter(l)}var p=r(37055),f=r(26810),h=r(46100),m=r(52837),g=r(11507),y=r(2412),v={root:"m_515a97f8"};const b=(0,y.P9)((e,t)=>{const r=(0,h.Y)("VisuallyHidden",null,e),{classNames:o,className:i,style:a,styles:s,unstyled:c,vars:u,attributes:l,...d}=r,p=(0,m.I)({name:"VisuallyHidden",classes:v,props:r,className:i,style:a,classNames:o,styles:s,unstyled:c,attributes:l});return(0,n.jsx)(g.a,{component:"span",ref:t,...p("root"),...d})});function E({children:e,active:t=!0,refProp:r="ref",innerRef:n}){const i=function(e=!0){const t=(0,o.useRef)(null),r=e=>{let t=e.querySelector("[data-autofocus]");if(!t){const r=Array.from(e.querySelectorAll(a));t=r.find(l)||r.find(u)||null,!t&&u(e)&&(t=e)}t&&t.focus({preventScroll:!0})},n=(0,o.useCallback)(n=>{e&&null!==n&&t.current!==n&&(n?(setTimeout(()=>{n.getRootNode()&&r(n)}),t.current=n):t.current=null)},[e]);return(0,o.useEffect)(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));const n=e=>{"Tab"===e.key&&t.current&&function(e,t){const r=d(e);if(!r.length)return void t.preventDefault();const n=r[t.shiftKey?0:r.length-1],o=e.getRootNode();let i=n===o.activeElement||e===o.activeElement;const a=o.activeElement;if("INPUT"===a.tagName&&"radio"===a.getAttribute("type")&&(i=r.filter(e=>"radio"===e.getAttribute("type")&&e.getAttribute("name")===a.getAttribute("name")).includes(n)),!i)return;t.preventDefault();const s=r[t.shiftKey?r.length-1:0];s&&s.focus()}(t.current,e)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[e]),n}(t),s=(0,p.pc)(i,n),c=(0,f.D)(e);return c?(0,o.cloneElement)(c,{[r]:s}):e}function w(e){return(0,n.jsx)(b,{tabIndex:-1,"data-autofocus":!0,...e})}b.classes=v,b.displayName="@mantine/core/VisuallyHidden",E.displayName="@mantine/core/FocusTrap",w.displayName="@mantine/core/FocusTrapInitialFocus",E.InitialFocus=w},36759(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashedPayload=t.TOKEN_QUERY_PARAM=t.presignUrl=t.signRequest=void 0;var n=r(29237);Object.defineProperty(t,"signRequest",{enumerable:!0,get:function(){return n.signRequest}});var o=r(89814);Object.defineProperty(t,"presignUrl",{enumerable:!0,get:function(){return o.presignUrl}});var i=r(15130);Object.defineProperty(t,"TOKEN_QUERY_PARAM",{enumerable:!0,get:function(){return i.TOKEN_QUERY_PARAM}});var a=r(99912);Object.defineProperty(t,"getHashedPayload",{enumerable:!0,get:function(){return a.getHashedPayload}})},36805(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleIterable=void 0;var n=r(48051),o=r(34891),i=r(10281),a=r(28619);t.scheduleIterable=function(e,t){return new n.Observable(function(r){var n;return a.executeSchedule(r,t,function(){n=e[o.iterator](),a.executeSchedule(r,t,function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){return void r.error(e)}o?r.complete():r.next(t)},0,!0)}),function(){return i.isFunction(null==n?void 0:n.return)&&n.return()}})}},36813(e,t,r){"use strict";function n(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){const[e,r]=t.split("-"),n="right"===e?"left":"right";return void 0===r?n:`${n}-${r}`}return t}r.d(t,{Q:()=>n})},36977(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zipWith=void 0;var i=r(26749);t.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.zip.apply(void 0,o([],n(e)))}},37055(e,t,r){"use strict";r.d(t,{bl:()=>o,pc:()=>i});var n=r(51609);function o(e,t){if("function"==typeof e)return e(t);"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}function i(...e){return(0,n.useCallback)(function(...e){const t=new Map;return r=>{if(e.forEach(e=>{const n=o(e,r);n&&t.set(e,n)}),t.size>0)return()=>{e.forEach(e=>{const r=t.get(e);r&&"function"==typeof r?r():o(e,null)}),t.clear()}}}(...e),e)}},37138(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateClient=function(e){return(0,n.generateClient)({...e||{},amplify:o.Amplify})};const n=r(78519),o=r(56547)},37561(e,t,r){"use strict";r.d(t,{D:()=>o,e:()=>i}),r(51609),r(10790);var n=r(97986);const[o,i]=(0,n.e)({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0})},38124(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStringToSign=void 0;const n=r(15130);t.getStringToSign=(e,t,r)=>[n.SHA256_ALGORITHM_IDENTIFIER,e,t,r].join("\n")},38457(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.amplifyUuid=void 0;const n=r(40182).v4;t.amplifyUuid=n},38459(e,t,r){"use strict";function n(e){const t=function(e){return"string"==typeof e&&e.includes("var(--mantine-scale)")?e.match(/^calc\((.*?)\)$/)?.[1].split("*")[0].trim():e}(e);return"number"==typeof t?t:"string"==typeof t?t.includes("calc")||t.includes("var")?t:t.includes("px")?Number(t.replace("px","")):t.includes("rem")?16*Number(t.replace("rem","")):t.includes("em")?16*Number(t.replace("em","")):Number(t):NaN}r.d(t,{px:()=>n})},38728(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(51609),o={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};const i=(e,t,r,i)=>{const a=(0,n.forwardRef)(({color:r="currentColor",size:a=24,stroke:s=2,title:c,className:u,children:l,...d},p)=>(0,n.createElement)("svg",{ref:p,...o[e],width:a,height:a,className:["tabler-icon",`tabler-icon-${t}`,u].join(" "),..."filled"===e?{fill:r}:{strokeWidth:s,stroke:r},...d},[c&&(0,n.createElement)("title",{key:"svg-title"},c),...i.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]]));return a.displayName=`${r}`,a}},39027(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_STOP_EVENT=t.SESSION_START_EVENT=void 0,t.SESSION_START_EVENT="_session.start",t.SESSION_STOP_EVENT="_session.stop"},39236(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.composeTransferHandler=t.composeServiceApi=void 0;var n=r(50057);Object.defineProperty(t,"composeServiceApi",{enumerable:!0,get:function(){return n.composeServiceApi}});var o=r(49615);Object.defineProperty(t,"composeTransferHandler",{enumerable:!0,get:function(){return o.composeTransferHandler}})},39268(e,t,r){"use strict";r.d(t,{r:()=>h});var n=r(10790),o=r(51609),i=r(66192),a=r(2412),s=r(75795),c=r(45585),u=r(37055),l=r(46100);function d(e){const t=document.createElement("div");return t.setAttribute("data-portal","true"),"string"==typeof e.className&&t.classList.add(...e.className.split(" ").filter(Boolean)),"object"==typeof e.style&&Object.assign(t.style,e.style),"string"==typeof e.id&&t.setAttribute("id",e.id),t}const p={reuseTargetNode:!0},f=(0,a.P9)((e,t)=>{const{children:r,target:i,reuseTargetNode:a,...f}=(0,l.Y)("Portal",p,e),[h,m]=(0,o.useState)(!1),g=(0,o.useRef)(null);return(0,c.o)(()=>(m(!0),g.current=function({target:e,reuseTargetNode:t,...r}){if(e)return"string"==typeof e?document.querySelector(e)||d(r):e;if(t){const e=document.querySelector("[data-mantine-shared-portal-node]");if(e)return e;const t=d(r);return t.setAttribute("data-mantine-shared-portal-node","true"),document.body.appendChild(t),t}return d(r)}({target:i,reuseTargetNode:a,...f}),(0,u.bl)(t,g.current),i||a||!g.current||document.body.appendChild(g.current),()=>{i||a||!g.current||document.body.removeChild(g.current)}),[i]),h&&g.current?(0,s.createPortal)((0,n.jsx)(n.Fragment,{children:r}),g.current):null});f.displayName="@mantine/core/Portal";const h=(0,a.P9)(({withinPortal:e=!0,children:t,...r},o)=>"test"!==(0,i.bv)()&&e?(0,n.jsx)(f,{ref:o,...r,children:t}):(0,n.jsx)(n.Fragment,{children:t}));h.displayName="@mantine/core/OptionalPortal"},39546(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var n=r(70201),o=r(26404),i=r(47058);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.concatAll()(i.from(e,o.popScheduler(e)))}},39554(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unauthenticatedHandler=void 0;const n=r(7884),o=r(39236);t.unauthenticatedHandler=(0,o.composeTransferHandler)(n.fetchTransferHandler,[n.userAgentMiddlewareFactory,n.retryMiddlewareFactory])},39596(e,t,r){"use strict";function n(e,t){let r=0,n=e.length,o=!1;if(!t){if(e.startsWith("data:"))return null;for(;r<e.length&&e.charCodeAt(r)<=32;)r+=1;for(;n>r+1&&e.charCodeAt(n-1)<=32;)n-=1;if(47===e.charCodeAt(r)&&47===e.charCodeAt(r+1))r+=2;else{const t=e.indexOf(":/",r);if(-1!==t){const n=t-r,o=e.charCodeAt(r),i=e.charCodeAt(r+1),a=e.charCodeAt(r+2),s=e.charCodeAt(r+3),c=e.charCodeAt(r+4);if(5===n&&104===o&&116===i&&116===a&&112===s&&115===c);else if(4===n&&104===o&&116===i&&116===a&&112===s);else if(3===n&&119===o&&115===i&&115===a);else if(2===n&&119===o&&115===i);else for(let n=r;n<t;n+=1){const t=32|e.charCodeAt(n);if(!(t>=97&&t<=122||t>=48&&t<=57||46===t||45===t||43===t))return null}for(r=t+2;47===e.charCodeAt(r);)r+=1}}let t=-1,i=-1,a=-1;for(let s=r;s<n;s+=1){const r=e.charCodeAt(s);if(35===r||47===r||63===r){n=s;break}64===r?t=s:93===r?i=s:58===r?a=s:r>=65&&r<=90&&(o=!0)}if(-1!==t&&t>r&&t<n&&(r=t+1),91===e.charCodeAt(r))return-1!==i?e.slice(r+1,i).toLowerCase():null;-1!==a&&a>r&&a<n&&(n=a)}for(;n>r+1&&46===e.charCodeAt(n-1);)n-=1;const i=0!==r||n!==e.length?e.slice(r,n):e;return o?i.toLowerCase():i}function o(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function i(e){if(e.length>255)return!1;if(0===e.length)return!1;if(!o(e.charCodeAt(0))&&46!==e.charCodeAt(0)&&95!==e.charCodeAt(0))return!1;let t=-1,r=-1;const n=e.length;for(let i=0;i<n;i+=1){const n=e.charCodeAt(i);if(46===n){if(i-t>64||46===r||45===r||95===r)return!1;t=i}else if(!o(n)&&45!==n&&95!==n)return!1;r=n}return n-t-1<=63&&45!==r}r.r(t),r.d(t,{getDomain:()=>g,getDomainWithoutSuffix:()=>v,getHostname:()=>h,getPublicSuffix:()=>m,getSubdomain:()=>y,parse:()=>f});const a=function({allowIcannDomains:e=!0,allowPrivateDomains:t=!1,detectIp:r=!0,extractHostname:n=!0,mixedInputs:o=!0,validHosts:i=null,validateHostname:a=!0}){return{allowIcannDomains:e,allowPrivateDomains:t,detectIp:r,extractHostname:n,mixedInputs:o,validHosts:i,validateHostname:a}}({});function s(e,t,r,o,s){const c=function(e){return void 0===e?a:function({allowIcannDomains:e=!0,allowPrivateDomains:t=!1,detectIp:r=!0,extractHostname:n=!0,mixedInputs:o=!0,validHosts:i=null,validateHostname:a=!0}){return{allowIcannDomains:e,allowPrivateDomains:t,detectIp:r,extractHostname:n,mixedInputs:o,validHosts:i,validateHostname:a}}(e)}(o);return"string"!=typeof e?s:(c.extractHostname?c.mixedInputs?s.hostname=n(e,i(e)):s.hostname=n(e,!1):s.hostname=e,c.detectIp&&null!==s.hostname&&(s.isIp=function(e){if(e.length<3)return!1;let t=e.startsWith("[")?1:0,r=e.length;if("]"===e[r-1]&&(r-=1),r-t>39)return!1;let n=!1;for(;t<r;t+=1){const r=e.charCodeAt(t);if(58===r)n=!0;else if(!(r>=48&&r<=57||r>=97&&r<=102||r>=65&&r<=90))return!1}return n}(u=s.hostname)||function(e){if(e.length<7)return!1;if(e.length>15)return!1;let t=0;for(let r=0;r<e.length;r+=1){const n=e.charCodeAt(r);if(46===n)t+=1;else if(n<48||n>57)return!1}return 3===t&&46!==e.charCodeAt(0)&&46!==e.charCodeAt(e.length-1)}(u),s.isIp)?s:c.validateHostname&&c.extractHostname&&null!==s.hostname&&!i(s.hostname)?(s.hostname=null,s):(0===t||null===s.hostname||(r(s.hostname,c,s),2===t||null===s.publicSuffix||(s.domain=function(e,t,r){if(null!==r.validHosts){const e=r.validHosts;for(const r of e)if(function(e,t){return!!e.endsWith(t)&&(e.length===t.length||"."===e[e.length-t.length-1])}(t,r))return r}let n=0;if(t.startsWith("."))for(;n<t.length&&"."===t[n];)n+=1;return e.length===t.length-n?null:function(e,t){const r=e.length-t.length-2,n=e.lastIndexOf(".",r);return-1===n?e:e.slice(n+1)}(t,e)}(s.publicSuffix,s.hostname,c),3===t||null===s.domain||(s.subdomain=function(e,t){return t.length===e.length?"":e.slice(0,-t.length-1)}(s.hostname,s.domain),4===t||(s.domainWithoutSuffix=(l=s.domain,d=s.publicSuffix,l.slice(0,-d.length-1)))))),s));var u,l,d}const c=function(){const e=[1,{}],t=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:t,kitakyushu:t,kobe:t,nagoya:t,sapporo:t,sendai:t,yokohama:t}]}]}(),u=function(){const e=[1,{}],t=[2,{}],r=[1,{com:e,edu:e,gov:e,net:e,org:e}],n=[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e}],o=[0,{"*":t}],i=[2,{s:o}],a=[0,{relay:t}],s=[2,{id:t}],c=[1,{gov:e}],u=[0,{airflow:o,"lambda-url":t,"transfer-webapp":t}],l=[0,{airflow:o,"transfer-webapp":t}],d=[0,{"transfer-webapp":t,"transfer-webapp-fips":t}],p=[0,{notebook:t,studio:t}],f=[0,{labeling:t,notebook:t,studio:t}],h=[0,{notebook:t}],m=[0,{labeling:t,notebook:t,"notebook-fips":t,studio:t}],g=[0,{notebook:t,"notebook-fips":t,studio:t,"studio-fips":t}],y=[0,{shop:t}],v=[0,{"*":e}],b=[1,{co:t}],E=[0,{objects:t}],w=[2,{nodes:t}],S=[0,{my:t}],A=[0,{s3:t,"s3-accesspoint":t,"s3-website":t}],_=[0,{s3:t,"s3-accesspoint":t}],P=[0,{direct:t}],C=[0,{"webview-assets":t}],I=[0,{vfs:t,"webview-assets":t}],x=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":C,cloud9:I}],O=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:_,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":C,cloud9:I}],k=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":C,cloud9:I}],T=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],N=[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-website":t}],j=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":C,cloud9:I}],R=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":C,cloud9:I}],M=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t}],s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],D=[0,{auth:t}],U=[0,{auth:t,"auth-fips":t}],F=[0,{"auth-fips":t}],L=[0,{apps:t}],z=[0,{paas:t}],V=[2,{eu:t}],H=[0,{app:t}],$=[0,{site:t}],W=[1,{com:e,edu:e,net:e,org:e}],B=[0,{j:t}],K=[0,{dyn:t}],G=[2,{web:t}],q=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],Y=[0,{p:t}],J=[0,{user:t}],Q=[0,{cdn:t}],X=[2,{raw:o}],Z=[0,{cust:t,reservd:t}],ee=[0,{cust:t}],te=[0,{s3:t}],re=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],ne=[0,{ipfs:t}],oe=[1,{framer:t}],ie=[0,{forgot:t}],ae=[1,{gs:e}],se=[0,{nes:e}],ce=[1,{k12:e,cc:e,lib:e}],ue=[1,{cc:e}],le=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,drr:t,feedback:t,forms:t}],ad:e,ae:[1,{ac:e,co:e,gov:e,mil:e,net:e,org:e,sch:e}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:r,ag:[1,{co:e,com:e,net:e,nom:e,org:e,obj:t}],ai:[1,{com:e,net:e,off:e,org:e,uwu:t,framer:t}],al:n,am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:t}],ao:[1,{co:e,ed:e,edu:e,gov:e,gv:e,it:e,og:e,org:e,pb:e}],aq:e,ar:[1,{bet:e,com:e,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,seg:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:c,asia:[1,{cloudns:t,daemon:t,dix:t}],at:[1,{4:t,ac:[1,{sth:e}],co:e,gv:e,or:e,funkfeuer:[0,{wien:t}],futurecms:[0,{"*":t,ex:o,in:o}],futurehosting:t,futuremailing:t,ortsinfo:[0,{ex:o,kunden:o}],biz:t,info:t,"123webseite":t,priv:t,my:t,myspreadshop:t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],au:[1,{asn:e,com:[1,{cloudlets:[0,{mel:t}],myspreadshop:t}],edu:[1,{act:e,catholic:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],id:e,net:e,org:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e,hrsn:[0,{vps:t}]}],aw:[1,{com:e}],ax:e,az:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,int:e,mil:e,name:e,net:e,org:e,pp:e,pro:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,brendly:y,rs:t}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:[1,{ac:e,ai:e,co:e,com:e,edu:e,gov:e,id:e,info:e,it:e,mil:e,net:e,org:e,sch:e,tv:e}],be:[1,{ac:e,cloudns:t,webhosting:t,interhostsolutions:[0,{cloud:t}],kuleuven:[0,{ezproxy:t}],"123website":t,myspreadshop:t,transurl:o}],bf:c,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,barsy:t}],bh:r,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:t,"cloud-ip":t,cloudns:t,jozi:t,dyndns:t,"for-better":t,"for-more":t,"for-some":t,"for-the":t,selfip:t,webhop:t,orx:t,mmafan:t,myftp:t,"no-ip":t,dscloud:t}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,restaurant:e,resto:e,tourism:e,univ:e}],bm:r,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:t}],bo:[1,{com:e,edu:e,gob:e,int:e,mil:e,net:e,org:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,plurinacional:e,politica:e,profesional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,api:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{simplesite:t}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,ia:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:t,al:t,am:t,ap:t,ba:t,ce:t,df:t,es:t,go:t,ma:t,mg:t,ms:t,mt:t,pa:t,pb:t,pe:t,pi:t,pr:t,rj:t,rn:t,ro:t,rr:t,rs:t,sc:t,se:t,sp:t,to:t}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:v,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,social:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,xyz:e,zlg:e,tche:t}],bs:[1,{com:e,edu:e,gov:e,net:e,org:e,we:t}],bt:r,bv:e,bw:[1,{ac:e,co:e,gov:e,net:e,org:e}],by:[1,{gov:e,mil:e,com:e,of:e,mediatech:t}],bz:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,za:t,mydns:t,gsj:t}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:t,awdev:o,co:t,"no-ip":t,onid:t,myspreadshop:t,box:t}],cat:e,cc:[1,{cleverapps:t,"cloud-ip":t,cloudns:t,ftpaccess:t,"game-server":t,myphotos:t,scrapping:t,twmail:t,csx:t,fantasyleague:t,spawn:[0,{instances:t}]}],cd:c,cf:e,cg:e,ch:[1,{square7:t,cloudns:t,cloudscale:[0,{cust:t,lpg:E,rma:E}],objectstorage:[0,{lpg:t,rma:t}],flow:[0,{ae:[0,{alp1:t}],appengine:t}],"linkyard-cloud":t,gotdns:t,dnsking:t,"123website":t,myspreadshop:t,firenet:[0,{"*":t,svc:o}],"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],ci:[1,{ac:e,"xn--aroport-bya":e,aéroport:e,asso:e,co:e,com:e,ed:e,edu:e,go:e,gouv:e,int:e,net:e,or:e,org:e}],ck:v,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:t}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,rds:o,dualstack:A,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"cn-northwest-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,rds:o,dualstack:_,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],compute:o,airflow:[0,{"cn-north-1":o,"cn-northwest-1":o}],eb:[0,{"cn-north-1":t,"cn-northwest-1":t}],elb:o}],amazonwebservices:[0,{on:[0,{"cn-north-1":l,"cn-northwest-1":l}]}],sagemaker:[0,{"cn-north-1":p,"cn-northwest-1":p}]}],edu:e,gov:e,mil:e,net:e,org:e,"xn--55qx5d":e,公司:e,"xn--od0alg":e,網絡:e,"xn--io0a7i":e,网络:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gx:e,gz:e,ha:e,hb:e,he:e,hi:e,hk:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,mo:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:t}],sn:e,sx:e,tj:e,tw:e,xj:e,xz:e,yn:e,zj:e,"canva-apps":t,canvasite:S,myqnapcloud:t,quickconnect:P}],co:[1,{com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,carrd:t,crd:t,otap:o,hidns:t,leadpages:t,lpages:t,mypi:t,xmit:o,firewalledreplit:s,repl:s,supabase:[2,{realtime:t,storage:t}],umso:t}],com:[1,{a2hosted:t,cpserver:t,adobeaemcloud:[2,{dev:o}],africa:t,aivencloud:t,alibabacloudcs:t,kasserver:t,amazonaws:[0,{"af-south-1":x,"ap-east-1":O,"ap-northeast-1":k,"ap-northeast-2":k,"ap-northeast-3":x,"ap-south-1":k,"ap-south-2":T,"ap-southeast-1":k,"ap-southeast-2":k,"ap-southeast-3":T,"ap-southeast-4":T,"ap-southeast-5":[0,{"execute-api":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"ca-central-1":j,"ca-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],"eu-central-1":k,"eu-central-2":T,"eu-north-1":O,"eu-south-1":x,"eu-south-2":T,"eu-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":C,cloud9:I}],"eu-west-2":O,"eu-west-3":x,"il-central-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":C,cloud9:[0,{vfs:t}]}],"me-central-1":T,"me-south-1":O,"sa-east-1":x,"us-east-1":[2,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":C,cloud9:I}],"us-east-2":R,"us-gov-east-1":M,"us-gov-west-1":M,"us-west-1":j,"us-west-2":R,compute:o,"compute-1":o,airflow:[0,{"af-south-1":o,"ap-east-1":o,"ap-northeast-1":o,"ap-northeast-2":o,"ap-northeast-3":o,"ap-south-1":o,"ap-south-2":o,"ap-southeast-1":o,"ap-southeast-2":o,"ap-southeast-3":o,"ap-southeast-4":o,"ap-southeast-5":o,"ap-southeast-7":o,"ca-central-1":o,"ca-west-1":o,"eu-central-1":o,"eu-central-2":o,"eu-north-1":o,"eu-south-1":o,"eu-south-2":o,"eu-west-1":o,"eu-west-2":o,"eu-west-3":o,"il-central-1":o,"me-central-1":o,"me-south-1":o,"sa-east-1":o,"us-east-1":o,"us-east-2":o,"us-west-1":o,"us-west-2":o}],rds:[0,{"af-south-1":o,"ap-east-1":o,"ap-east-2":o,"ap-northeast-1":o,"ap-northeast-2":o,"ap-northeast-3":o,"ap-south-1":o,"ap-south-2":o,"ap-southeast-1":o,"ap-southeast-2":o,"ap-southeast-3":o,"ap-southeast-4":o,"ap-southeast-5":o,"ap-southeast-6":o,"ap-southeast-7":o,"ca-central-1":o,"ca-west-1":o,"eu-central-1":o,"eu-central-2":o,"eu-west-1":o,"eu-west-2":o,"eu-west-3":o,"il-central-1":o,"me-central-1":o,"me-south-1":o,"mx-central-1":o,"sa-east-1":o,"us-east-1":o,"us-east-2":o,"us-gov-east-1":o,"us-gov-west-1":o,"us-northeast-1":o,"us-west-1":o,"us-west-2":o}],s3:t,"s3-1":t,"s3-ap-east-1":t,"s3-ap-northeast-1":t,"s3-ap-northeast-2":t,"s3-ap-northeast-3":t,"s3-ap-south-1":t,"s3-ap-southeast-1":t,"s3-ap-southeast-2":t,"s3-ca-central-1":t,"s3-eu-central-1":t,"s3-eu-north-1":t,"s3-eu-west-1":t,"s3-eu-west-2":t,"s3-eu-west-3":t,"s3-external-1":t,"s3-fips-us-gov-east-1":t,"s3-fips-us-gov-west-1":t,"s3-global":[0,{accesspoint:[0,{mrap:t}]}],"s3-me-south-1":t,"s3-sa-east-1":t,"s3-us-east-2":t,"s3-us-gov-east-1":t,"s3-us-gov-west-1":t,"s3-us-west-1":t,"s3-us-west-2":t,"s3-website-ap-northeast-1":t,"s3-website-ap-southeast-1":t,"s3-website-ap-southeast-2":t,"s3-website-eu-west-1":t,"s3-website-sa-east-1":t,"s3-website-us-east-1":t,"s3-website-us-gov-west-1":t,"s3-website-us-west-1":t,"s3-website-us-west-2":t,elb:o}],amazoncognito:[0,{"af-south-1":D,"ap-east-1":D,"ap-northeast-1":D,"ap-northeast-2":D,"ap-northeast-3":D,"ap-south-1":D,"ap-south-2":D,"ap-southeast-1":D,"ap-southeast-2":D,"ap-southeast-3":D,"ap-southeast-4":D,"ap-southeast-5":D,"ap-southeast-7":D,"ca-central-1":D,"ca-west-1":D,"eu-central-1":D,"eu-central-2":D,"eu-north-1":D,"eu-south-1":D,"eu-south-2":D,"eu-west-1":D,"eu-west-2":D,"eu-west-3":D,"il-central-1":D,"me-central-1":D,"me-south-1":D,"mx-central-1":D,"sa-east-1":D,"us-east-1":U,"us-east-2":U,"us-gov-east-1":F,"us-gov-west-1":F,"us-west-1":U,"us-west-2":U}],amplifyapp:t,awsapprunner:o,awsapps:t,elasticbeanstalk:[2,{"af-south-1":t,"ap-east-1":t,"ap-northeast-1":t,"ap-northeast-2":t,"ap-northeast-3":t,"ap-south-1":t,"ap-southeast-1":t,"ap-southeast-2":t,"ap-southeast-3":t,"ap-southeast-5":t,"ap-southeast-7":t,"ca-central-1":t,"eu-central-1":t,"eu-north-1":t,"eu-south-1":t,"eu-south-2":t,"eu-west-1":t,"eu-west-2":t,"eu-west-3":t,"il-central-1":t,"me-central-1":t,"me-south-1":t,"sa-east-1":t,"us-east-1":t,"us-east-2":t,"us-gov-east-1":t,"us-gov-west-1":t,"us-west-1":t,"us-west-2":t}],awsglobalaccelerator:t,siiites:t,appspacehosted:t,appspaceusercontent:t,"on-aptible":t,myasustor:t,"balena-devices":t,boutir:t,bplaced:t,cafjs:t,"canva-apps":t,"canva-hosted-embed":t,canvacode:t,"rice-labs":t,"cdn77-storage":t,br:t,cn:t,de:t,eu:t,jpn:t,mex:t,ru:t,sa:t,uk:t,us:t,za:t,"clever-cloud":[0,{services:o}],abrdns:t,dnsabr:t,"ip-ddns":t,jdevcloud:t,wpdevcloud:t,"cf-ipfs":t,"cloudflare-ipfs":t,trycloudflare:t,co:t,devinapps:o,builtwithdark:t,datadetect:[0,{demo:t,instance:t}],dattolocal:t,dattorelay:t,dattoweb:t,mydatto:t,digitaloceanspaces:o,discordsays:t,discordsez:t,drayddns:t,dreamhosters:t,durumis:t,blogdns:t,cechire:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,"dyn-o-saur":t,dynalias:t,"dyndns-at-home":t,"dyndns-at-work":t,"dyndns-blog":t,"dyndns-free":t,"dyndns-home":t,"dyndns-ip":t,"dyndns-mail":t,"dyndns-office":t,"dyndns-pics":t,"dyndns-remote":t,"dyndns-server":t,"dyndns-web":t,"dyndns-wiki":t,"dyndns-work":t,"est-a-la-maison":t,"est-a-la-masion":t,"est-le-patron":t,"est-mon-blogueur":t,"from-ak":t,"from-al":t,"from-ar":t,"from-ca":t,"from-ct":t,"from-dc":t,"from-de":t,"from-fl":t,"from-ga":t,"from-hi":t,"from-ia":t,"from-id":t,"from-il":t,"from-in":t,"from-ks":t,"from-ky":t,"from-ma":t,"from-md":t,"from-mi":t,"from-mn":t,"from-mo":t,"from-ms":t,"from-mt":t,"from-nc":t,"from-nd":t,"from-ne":t,"from-nh":t,"from-nj":t,"from-nm":t,"from-nv":t,"from-oh":t,"from-ok":t,"from-or":t,"from-pa":t,"from-pr":t,"from-ri":t,"from-sc":t,"from-sd":t,"from-tn":t,"from-tx":t,"from-ut":t,"from-va":t,"from-vt":t,"from-wa":t,"from-wi":t,"from-wv":t,"from-wy":t,getmyip:t,gotdns:t,"hobby-site":t,homelinux:t,homeunix:t,iamallama:t,"is-a-anarchist":t,"is-a-blogger":t,"is-a-bookkeeper":t,"is-a-bulls-fan":t,"is-a-caterer":t,"is-a-chef":t,"is-a-conservative":t,"is-a-cpa":t,"is-a-cubicle-slave":t,"is-a-democrat":t,"is-a-designer":t,"is-a-doctor":t,"is-a-financialadvisor":t,"is-a-geek":t,"is-a-green":t,"is-a-guru":t,"is-a-hard-worker":t,"is-a-hunter":t,"is-a-landscaper":t,"is-a-lawyer":t,"is-a-liberal":t,"is-a-libertarian":t,"is-a-llama":t,"is-a-musician":t,"is-a-nascarfan":t,"is-a-nurse":t,"is-a-painter":t,"is-a-personaltrainer":t,"is-a-photographer":t,"is-a-player":t,"is-a-republican":t,"is-a-rockstar":t,"is-a-socialist":t,"is-a-student":t,"is-a-teacher":t,"is-a-techie":t,"is-a-therapist":t,"is-an-accountant":t,"is-an-actor":t,"is-an-actress":t,"is-an-anarchist":t,"is-an-artist":t,"is-an-engineer":t,"is-an-entertainer":t,"is-certified":t,"is-gone":t,"is-into-anime":t,"is-into-cars":t,"is-into-cartoons":t,"is-into-games":t,"is-leet":t,"is-not-certified":t,"is-slick":t,"is-uberleet":t,"is-with-theband":t,"isa-geek":t,"isa-hockeynut":t,issmarterthanyou:t,"likes-pie":t,likescandy:t,"neat-url":t,"saves-the-whales":t,selfip:t,"sells-for-less":t,"sells-for-u":t,servebbs:t,"simple-url":t,"space-to-rent":t,"teaches-yoga":t,writesthisblog:t,ddnsfree:t,ddnsgeek:t,giize:t,gleeze:t,kozow:t,loseyourip:t,ooguy:t,theworkpc:t,mytuleap:t,"tuleap-partners":t,encoreapi:t,evennode:[0,{"eu-1":t,"eu-2":t,"eu-3":t,"eu-4":t,"us-1":t,"us-2":t,"us-3":t,"us-4":t}],onfabrica:t,"fastly-edge":t,"fastly-terrarium":t,"fastvps-server":t,mydobiss:t,firebaseapp:t,fldrv:t,forgeblocks:t,framercanvas:t,"freebox-os":t,freeboxos:t,freemyip:t,aliases121:t,gentapps:t,gentlentapis:t,githubusercontent:t,"0emm":o,appspot:[2,{r:o}],blogspot:t,codespot:t,googleapis:t,googlecode:t,pagespeedmobilizer:t,withgoogle:t,withyoutube:t,grayjayleagues:t,hatenablog:t,hatenadiary:t,herokuapp:t,gr:t,smushcdn:t,wphostedmail:t,wpmucdn:t,pixolino:t,"apps-1and1":t,"live-website":t,"webspace-host":t,dopaas:t,"hosted-by-previder":z,hosteur:[0,{"rag-cloud":t,"rag-cloud-ch":t}],"ik-server":[0,{jcloud:t,"jcloud-ver-jpc":t}],jelastic:[0,{demo:t}],massivegrid:z,wafaicloud:[0,{jed:t,ryd:t}],"eu1-plenit":t,"la1-plenit":t,"us1-plenit":t,webadorsite:t,joyent:[0,{cns:o}],"on-forge":t,"on-vapor":t,lpusercontent:t,linode:[0,{members:t,nodebalancer:o}],linodeobjects:o,linodeusercontent:[0,{ip:t}],localtonet:t,lovableproject:t,barsycenter:t,barsyonline:t,lutrausercontent:o,modelscape:t,mwcloudnonprod:t,polyspace:t,mazeplay:t,miniserver:t,atmeta:t,fbsbx:L,meteorapp:V,routingthecloud:t,"same-app":t,"same-preview":t,mydbserver:t,mochausercontent:t,hostedpi:t,"mythic-beasts":[0,{caracal:t,customer:t,fentiger:t,lynx:t,ocelot:t,oncilla:t,onza:t,sphinx:t,vs:t,x:t,yali:t}],nospamproxy:[0,{cloud:[2,{o365:t}]}],"4u":t,nfshost:t,"3utilities":t,blogsyte:t,ciscofreak:t,damnserver:t,ddnsking:t,ditchyourip:t,dnsiskinky:t,dynns:t,geekgalaxy:t,"health-carereform":t,homesecuritymac:t,homesecuritypc:t,myactivedirectory:t,mysecuritycamera:t,myvnc:t,"net-freaks":t,onthewifi:t,point2this:t,quicksytes:t,securitytactics:t,servebeer:t,servecounterstrike:t,serveexchange:t,serveftp:t,servegame:t,servehalflife:t,servehttp:t,servehumour:t,serveirc:t,servemp3:t,servep2p:t,servepics:t,servequake:t,servesarcasm:t,stufftoread:t,unusualperson:t,workisboring:t,myiphost:t,observableusercontent:[0,{static:t}],simplesite:t,oaiusercontent:o,orsites:t,operaunite:t,"customer-oci":[0,{"*":t,oci:o,ocp:o,ocs:o}],oraclecloudapps:o,oraclegovcloudapps:o,"authgear-staging":t,authgearapps:t,skygearapp:t,outsystemscloud:t,ownprovider:t,pgfog:t,pagexl:t,gotpantheon:t,paywhirl:o,upsunapp:t,"postman-echo":t,prgmr:[0,{xen:t}],"project-study":[0,{dev:t}],pythonanywhere:V,qa2:t,"alpha-myqnapcloud":t,"dev-myqnapcloud":t,mycloudnas:t,mynascloud:t,myqnapcloud:t,qualifioapp:t,ladesk:t,qualyhqpartner:o,qualyhqportal:o,qbuser:t,quipelements:o,rackmaze:t,"readthedocs-hosted":t,rhcloud:t,onrender:t,render:H,"subsc-pay":t,"180r":t,dojin:t,sakuratan:t,sakuraweb:t,x0:t,code:[0,{builder:o,"dev-builder":o,"stg-builder":o}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":o}]}]}]}],logoip:t,scrysec:t,"firewall-gateway":t,myshopblocks:t,myshopify:t,shopitsite:t,"1kapp":t,appchizi:t,applinzi:t,sinaapp:t,vipsinaapp:t,streamlitapp:t,"try-snowplow":t,"playstation-cloud":t,myspreadshop:t,"w-corp-staticblitz":t,"w-credentialless-staticblitz":t,"w-staticblitz":t,"stackhero-network":t,stdlib:[0,{api:t}],strapiapp:[2,{media:t}],"streak-link":t,streaklinks:t,streakusercontent:t,"temp-dns":t,dsmynas:t,familyds:t,mytabit:t,taveusercontent:t,"tb-hosting":$,reservd:t,thingdustdata:t,"townnews-staging":t,typeform:[0,{pro:t}],hk:t,it:t,"deus-canvas":t,vultrobjects:o,wafflecell:t,hotelwithflight:t,"reserve-online":t,cprapid:t,pleskns:t,remotewd:t,wiardweb:[0,{pages:t}],wixsite:t,wixstudio:t,messwithdns:t,"woltlab-demo":t,wpenginepowered:[2,{js:t}],xnbay:[2,{u2:t,"u2-local":t}],yolasite:t}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,id:e,int:e,net:e,nome:e,org:e,publ:e}],cw:W,cx:[1,{gov:e,cloudns:t,ath:t,info:t,assessments:t,calculators:t,funnels:t,paynow:t,quizzes:t,researched:t,tests:t}],cy:[1,{ac:e,biz:e,com:[1,{scaleforce:B}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{gov:e,contentproxy9:[0,{rsc:t}],realm:t,e4:t,co:t,metacentrum:[0,{cloud:o,custom:t}],muni:[0,{cloud:[0,{flt:t,usr:t}]}]}],de:[1,{bplaced:t,square7:t,com:t,cosidns:K,dnsupdater:t,"dynamisches-dns":t,"internet-dns":t,"l-o-g-i-n":t,ddnss:[2,{dyn:t,dyndns:t}],"dyn-ip24":t,dyndns1:t,"home-webserver":[2,{dyn:t}],"myhome-server":t,dnshome:t,fuettertdasnetz:t,isteingeek:t,istmein:t,lebtimnetz:t,leitungsen:t,traeumtgerade:t,frusky:o,goip:t,"xn--gnstigbestellen-zvb":t,günstigbestellen:t,"xn--gnstigliefern-wob":t,günstigliefern:t,"hs-heilbronn":[0,{it:[0,{pages:t,"pages-research":t}]}],"dyn-berlin":t,"in-berlin":t,"in-brb":t,"in-butter":t,"in-dsl":t,"in-vpn":t,iservschule:t,"mein-iserv":t,schuldock:t,schulplattform:t,schulserver:t,"test-iserv":t,keymachine:t,co:t,"git-repos":t,"lcube-server":t,"svn-repos":t,barsy:t,webspaceconfig:t,"123webseite":t,rub:t,"ruhr-uni-bochum":[2,{noc:[0,{io:t}]}],logoip:t,"firewall-gateway":t,"my-gateway":t,"my-router":t,spdns:t,my:t,speedpartner:[0,{customer:t}],myspreadshop:t,"taifun-dns":t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t,"dd-dns":t,"dray-dns":t,draydns:t,"dyn-vpn":t,dynvpn:t,"mein-vigor":t,"my-vigor":t,"my-wan":t,"syno-ds":t,"synology-diskstation":t,"synology-ds":t,"virtual-user":t,virtualuser:t,"community-pro":t,diskussionsbereich:t,xenonconnect:o}],dj:e,dk:[1,{biz:t,co:t,firm:t,reg:t,store:t,"123hjemmeside":t,myspreadshop:t}],dm:q,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,net:e,org:e,pol:e,soc:e,tm:e}],ec:[1,{abg:e,adm:e,agron:e,arqt:e,art:e,bar:e,chef:e,com:e,cont:e,cpa:e,cue:e,dent:e,dgn:e,disco:e,doc:e,edu:e,eng:e,esm:e,fin:e,fot:e,gal:e,gob:e,gov:e,gye:e,ibr:e,info:e,k12:e,lat:e,loj:e,med:e,mil:e,mktg:e,mon:e,net:e,ntr:e,odont:e,org:e,pro:e,prof:e,psic:e,psiq:e,pub:e,rio:e,rrpp:e,sal:e,tech:e,tul:e,tur:e,uio:e,vet:e,xxx:e,base:t,official:t}],edu:[1,{rit:[0,{"git-pages":t}]}],ee:[1,{aip:e,com:e,edu:e,fie:e,gov:e,lib:e,med:e,org:e,pri:e,riik:e}],eg:[1,{ac:e,com:e,edu:e,eun:e,gov:e,info:e,me:e,mil:e,name:e,net:e,org:e,sci:e,sport:e,tv:e}],er:v,es:[1,{com:e,edu:e,gob:e,nom:e,org:e,"123miweb":t,myspreadshop:t}],et:[1,{biz:e,com:e,edu:e,gov:e,info:e,name:e,net:e,org:e}],eu:[1,{cloudns:t,prvw:t,dogado:[0,{jelastic:t}],barsy:t,spdns:t,nxa:o,directwp:t,transurl:o,diskstation:t}],fi:[1,{aland:e,dy:t,"xn--hkkinen-5wa":t,häkkinen:t,iki:t,cloudplatform:[0,{fi:t}],datacenter:[0,{demo:t,paas:t}],kapsi:t,"123kotisivu":t,myspreadshop:t}],fj:[1,{ac:e,biz:e,com:e,edu:e,gov:e,id:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:v,fm:[1,{com:e,edu:e,net:e,org:e,radio:t,user:o}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"en-root":t,"fbx-os":t,fbxos:t,"freebox-os":t,freeboxos:t,goupile:t,"123siteweb":t,"on-web":t,"chirurgiens-dentistes-en-france":t,dedibox:t,aeroport:t,avocat:t,chambagri:t,"chirurgiens-dentistes":t,"experts-comptables":t,medecin:t,notaires:t,pharmacien:t,port:t,veterinaire:t,myspreadshop:t,ynh:t}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,net:e,org:e,pvt:e,school:e}],gf:e,gg:[1,{co:e,net:e,org:e,ply:[0,{at:o,d6:t}],botdash:t,kaas:t,stackit:t,panel:[2,{daemon:t}]}],gh:[1,{biz:e,com:e,edu:e,gov:e,mil:e,net:e,org:e}],gi:[1,{com:e,edu:e,gov:e,ltd:e,mod:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,net:e,org:e}],gov:e,gp:[1,{asso:e,com:e,edu:e,mobi:e,net:e,org:e}],gq:e,gr:[1,{com:e,edu:e,gov:e,net:e,org:e,barsy:t,simplesite:t}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:[1,{nx:t}],gy:q,hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--ciqpn":e,个人:e,"xn--gmqw5a":e,個人:e,"xn--55qx5d":e,公司:e,"xn--mxtq1m":e,政府:e,"xn--lcvr32d":e,敎育:e,"xn--wcvs22d":e,教育:e,"xn--gmq050i":e,箇人:e,"xn--uc0atv":e,組織:e,"xn--uc0ay4a":e,組织:e,"xn--od0alg":e,網絡:e,"xn--zf0avx":e,網络:e,"xn--mk0axi":e,组織:e,"xn--tn0ag":e,组织:e,"xn--od0aq3b":e,网絡:e,"xn--io0a7i":e,网络:e,inc:t,ltd:t}],hm:e,hn:[1,{com:e,edu:e,gob:e,mil:e,net:e,org:e}],hr:[1,{com:e,from:e,iz:e,name:e,brendly:y}],ht:[1,{adult:e,art:e,asso:e,com:e,coop:e,edu:e,firm:e,gouv:e,info:e,med:e,net:e,org:e,perso:e,pol:e,pro:e,rel:e,shop:e,rt:t}],hu:[1,{2e3:e,agrar:e,bolt:e,casino:e,city:e,co:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,info:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,org:e,priv:e,reklam:e,sex:e,shop:e,sport:e,suli:e,szex:e,tm:e,tozsde:e,utazas:e,video:e}],id:[1,{ac:e,biz:e,co:e,desa:e,go:e,kop:e,mil:e,my:e,net:e,or:e,ponpes:e,sch:e,web:e,e:t,zone:t}],ie:[1,{gov:e,myspreadshop:t}],il:[1,{ac:e,co:[1,{ravpage:t,mytabit:t,tabitorder:t}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],ישראל:[1,{אקדמיה:e,ישוב:e,צהל:e,ממשל:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bank:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,fin:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:t,barsy:t,web:t,supabase:t}],info:[1,{cloudns:t,"dynamic-dns":t,"barrel-of-knowledge":t,"barrell-of-knowledge":t,dyndns:t,"for-our":t,"groks-the":t,"groks-this":t,"here-for-more":t,knowsitall:t,selfip:t,webhop:t,barsy:t,mayfirst:t,mittwald:t,mittwaldserver:t,typo3server:t,dvrcam:t,ilovecollege:t,"no-ip":t,forumz:t,nsupdate:t,dnsupdate:t,"v-info":t}],int:[1,{eu:e}],io:[1,{2038:t,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":o,myaddr:t,apigee:t,"b-data":t,beagleboard:t,bitbucket:t,bluebite:t,boxfuse:t,brave:i,browsersafetymark:t,bubble:Q,bubbleapps:t,bigv:[0,{uk0:t}],cleverapps:t,cloudbeesusercontent:t,dappnode:[0,{dyndns:t}],darklang:t,definima:t,dedyn:t,icp0:X,icp1:X,qzz:t,"fh-muenster":t,shw:t,forgerock:[0,{id:t}],gitbook:t,github:t,gitlab:t,lolipop:t,"hasura-app":t,hostyhosting:t,hypernode:t,moonscale:o,beebyte:z,beebyteapp:[0,{sekd1:t}],jele:t,webthings:t,loginline:t,barsy:t,azurecontainer:o,ngrok:[2,{ap:t,au:t,eu:t,in:t,jp:t,sa:t,us:t}],nodeart:[0,{stage:t}],pantheonsite:t,pstmn:[2,{mock:t}],protonet:t,qcx:[2,{sys:o}],qoto:t,vaporcloud:t,myrdbx:t,"rb-hosting":$,"on-k3s":o,"on-rio":o,readthedocs:t,resindevice:t,resinstaging:[0,{devices:t}],hzc:t,sandcats:t,scrypted:[0,{client:t}],"mo-siemens":t,lair:L,stolos:o,musician:t,utwente:t,edugit:t,telebit:t,thingdust:[0,{dev:Z,disrec:Z,prod:ee,testing:Z}],tickets:t,webflow:t,webflowtest:t,editorx:t,wixstudio:t,basicserver:t,virtualserver:t}],iq:n,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,arvanedge:t,vistablog:t}],is:e,it:[1,{edu:e,gov:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenezia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-süd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-südtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,trentino:e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-süd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-südtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinosüd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinosüdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentinsüd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentinsüdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vallée-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vallée-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,valléeaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,valléedaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,balsan:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-südtirol":e,"balsan-suedtirol":e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,bolzano:e,"bolzano-altoadige":e,bozen:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-südtirol":e,"bozen-suedtirol":e,br:e,brescia:e,brindisi:e,bs:e,bt:e,bulsan:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-südtirol":e,"bulsan-suedtirol":e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesena-forli":e,"xn--cesena-forl-mcb":e,"cesena-forlì":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforlì:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forlì-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forlìcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,monza:e,"monza-brianza":e,"monza-e-della-brianza":e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,sa:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,"xn--sdtirol-n2a":e,südtirol:e,suedtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,"12chars":t,ibxos:t,iliadboxos:t,neen:[0,{jc:t}],"123homepage":t,"16-b":t,"32-b":t,"64-b":t,myspreadshop:t,syncloud:t}],je:[1,{co:e,net:e,org:e,of:t}],jm:v,jo:[1,{agri:e,ai:e,com:e,edu:e,eng:e,fm:e,gov:e,mil:e,net:e,org:e,per:e,phd:e,sch:e,tv:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:J,gehirn:t,ivory:t,"mail-box":t,mints:t,mokuren:t,opal:t,sakura:t,sumomo:t,topaz:t}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,nagi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,wakayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--ehqz56n":e,三重:e,"xn--1lqs03n":e,京都:e,"xn--qqqt11m":e,佐賀:e,"xn--f6qx53a":e,兵庫:e,"xn--djrs72d6uy":e,北海道:e,"xn--mkru45i":e,千葉:e,"xn--0trq7p7nn":e,和歌山:e,"xn--5js045d":e,埼玉:e,"xn--kbrq7o":e,大分:e,"xn--pssu33l":e,大阪:e,"xn--ntsq17g":e,奈良:e,"xn--uisz3g":e,宮城:e,"xn--6btw5a":e,宮崎:e,"xn--1ctwo":e,富山:e,"xn--6orx2r":e,山口:e,"xn--rht61e":e,山形:e,"xn--rht27z":e,山梨:e,"xn--nit225k":e,岐阜:e,"xn--rht3d":e,岡山:e,"xn--djty4k":e,岩手:e,"xn--klty5x":e,島根:e,"xn--kltx9a":e,広島:e,"xn--kltp7d":e,徳島:e,"xn--c3s14m":e,愛媛:e,"xn--vgu402c":e,愛知:e,"xn--efvn9s":e,新潟:e,"xn--1lqs71d":e,東京:e,"xn--4pvxs":e,栃木:e,"xn--uuwu58a":e,沖縄:e,"xn--zbx025d":e,滋賀:e,"xn--8pvr4u":e,熊本:e,"xn--5rtp49c":e,石川:e,"xn--ntso0iqx3a":e,神奈川:e,"xn--elqq16h":e,福井:e,"xn--4it168d":e,福岡:e,"xn--klt787d":e,福島:e,"xn--rny31h":e,秋田:e,"xn--7t0a264c":e,群馬:e,"xn--uist22h":e,茨城:e,"xn--8ltr62k":e,長崎:e,"xn--2m4a15e":e,長野:e,"xn--32vp30h":e,青森:e,"xn--4it797k":e,静岡:e,"xn--5rtq34k":e,香川:e,"xn--k7yn95e":e,高知:e,"xn--tor131o":e,鳥取:e,"xn--d5qv7z876c":e,鹿児島:e,kawasaki:v,kitakyushu:v,kobe:v,nagoya:v,sapporo:v,sendai:v,yokohama:v,buyshop:t,fashionstore:t,handcrafted:t,kawaiishop:t,supersale:t,theshop:t,"0am":t,"0g0":t,"0j0":t,"0t0":t,mydns:t,pgw:t,wjg:t,usercontent:t,angry:t,babyblue:t,babymilk:t,backdrop:t,bambina:t,bitter:t,blush:t,boo:t,boy:t,boyfriend:t,but:t,candypop:t,capoo:t,catfood:t,cheap:t,chicappa:t,chillout:t,chips:t,chowder:t,chu:t,ciao:t,cocotte:t,coolblog:t,cranky:t,cutegirl:t,daa:t,deca:t,deci:t,digick:t,egoism:t,fakefur:t,fem:t,flier:t,floppy:t,fool:t,frenchkiss:t,girlfriend:t,girly:t,gloomy:t,gonna:t,greater:t,hacca:t,heavy:t,her:t,hiho:t,hippy:t,holy:t,hungry:t,icurus:t,itigo:t,jellybean:t,kikirara:t,kill:t,kilo:t,kuron:t,littlestar:t,lolipopmc:t,lolitapunk:t,lomo:t,lovepop:t,lovesick:t,main:t,mods:t,mond:t,mongolian:t,moo:t,namaste:t,nikita:t,nobushi:t,noor:t,oops:t,parallel:t,parasite:t,pecori:t,peewee:t,penne:t,pepper:t,perma:t,pigboat:t,pinoko:t,punyu:t,pupu:t,pussycat:t,pya:t,raindrop:t,readymade:t,sadist:t,schoolbus:t,secret:t,staba:t,stripper:t,sub:t,sunnyday:t,thick:t,tonkotsu:t,under:t,upper:t,velvet:t,verse:t,versus:t,vivian:t,watson:t,weblike:t,whitesnow:t,zombie:t,hateblo:t,hatenablog:t,hatenadiary:t,"2-d":t,bona:t,crap:t,daynight:t,eek:t,flop:t,halfmoon:t,jeez:t,matrix:t,mimoza:t,netgamers:t,nyanta:t,o0o0:t,rdy:t,rgr:t,rulez:t,sakurastorage:[0,{isk01:te,isk02:te}],saloon:t,sblo:t,skr:t,tank:t,"uh-oh":t,undo:t,webaccel:[0,{rs:t,user:t}],websozai:t,xii:t}],ke:[1,{ac:e,co:e,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,us:t,xx:t}],kh:v,ki:re,km:[1,{ass:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e,tm:e,asso:e,coop:e,gouv:e,medecin:e,notaires:e,pharmaciens:e,presse:e,veterinaire:e}],kn:[1,{edu:e,gov:e,net:e,org:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,ai:e,co:e,es:e,go:e,hs:e,io:e,it:e,kg:e,me:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,c01:t,"eliv-cdn":t,"eliv-dns":t,mmv:t,vki:t}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:W,kz:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,jcloud:t}],la:[1,{com:e,edu:e,gov:e,info:e,int:e,net:e,org:e,per:e,bnr:t}],lb:r,lc:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,oy:t}],li:e,lk:[1,{ac:e,assn:e,com:e,edu:e,gov:e,grp:e,hotel:e,int:e,ltd:e,net:e,ngo:e,org:e,sch:e,soc:e,web:e}],lr:r,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:c,lu:[1,{"123website":t}],lv:[1,{asn:e,com:e,conf:e,edu:e,gov:e,id:e,mil:e,net:e,org:e}],ly:[1,{com:e,edu:e,gov:e,id:e,med:e,net:e,org:e,plc:e,sch:e}],ma:[1,{ac:e,co:e,gov:e,net:e,org:e,press:e}],mc:[1,{asso:e,tm:e}],md:[1,{ir:t}],me:[1,{ac:e,co:e,edu:e,gov:e,its:e,net:e,org:e,priv:e,c66:t,craft:t,edgestack:t,filegear:t,"filegear-sg":t,lohmus:t,barsy:t,mcdir:t,brasilia:t,ddns:t,dnsfor:t,hopto:t,loginto:t,noip:t,webhop:t,soundcast:t,tcp4:t,vp4:t,diskstation:t,dscloud:t,i234:t,myds:t,synology:t,transip:$,nohost:t}],mg:[1,{co:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e}],mh:e,mil:e,mk:[1,{com:e,edu:e,gov:e,inf:e,name:e,net:e,org:e}],ml:[1,{ac:e,art:e,asso:e,com:e,edu:e,gouv:e,gov:e,info:e,inst:e,net:e,org:e,pr:e,presse:e}],mm:v,mn:[1,{edu:e,gov:e,org:e,nyc:t}],mo:r,mobi:[1,{barsy:t,dscloud:t}],mp:[1,{ju:t}],mq:e,mr:c,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:t}],mt:W,mu:[1,{ac:e,co:e,com:e,gov:e,net:e,or:e,org:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,edu:e,gob:e,net:e,org:e}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:ie,his:ie,ispmanager:t}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:t,"adobeio-static":t,adobeioruntime:t,akadns:t,akamai:t,"akamai-staging":t,akamaiedge:t,"akamaiedge-staging":t,akamaihd:t,"akamaihd-staging":t,akamaiorigin:t,"akamaiorigin-staging":t,akamaized:t,"akamaized-staging":t,edgekey:t,"edgekey-staging":t,edgesuite:t,"edgesuite-staging":t,alwaysdata:t,myamaze:t,cloudfront:t,appudo:t,"atlassian-dev":[0,{prod:Q}],myfritz:t,onavstack:t,shopselect:t,blackbaudcdn:t,boomla:t,bplaced:t,square7:t,cdn77:[0,{r:t}],"cdn77-ssl":t,gb:t,hu:t,jp:t,se:t,uk:t,clickrising:t,"ddns-ip":t,"dns-cloud":t,"dns-dynamic":t,cloudaccess:t,cloudflare:[2,{cdn:t}],cloudflareanycast:Q,cloudflarecn:Q,cloudflareglobal:Q,ctfcloud:t,"feste-ip":t,"knx-server":t,"static-access":t,cryptonomic:o,dattolocal:t,mydatto:t,debian:t,definima:t,deno:t,icp:o,de5:t,"at-band-camp":t,blogdns:t,"broke-it":t,buyshouses:t,dnsalias:t,dnsdojo:t,"does-it":t,dontexist:t,dynalias:t,dynathome:t,endofinternet:t,"from-az":t,"from-co":t,"from-la":t,"from-ny":t,"gets-it":t,"ham-radio-op":t,homeftp:t,homeip:t,homelinux:t,homeunix:t,"in-the-band":t,"is-a-chef":t,"is-a-geek":t,"isa-geek":t,"kicks-ass":t,"office-on-the":t,podzone:t,"scrapper-site":t,selfip:t,"sells-it":t,servebbs:t,serveftp:t,thruhere:t,webhop:t,casacam:t,dynu:t,dynv6:t,twmail:t,ru:t,channelsdvr:[2,{u:t}],fastly:[0,{freetls:t,map:t,prod:[0,{a:t,global:t}],ssl:[0,{a:t,b:t,global:t}]}],fastlylb:[2,{map:t}],edgeapp:t,"keyword-on":t,"live-on":t,"server-on":t,"cdn-edges":t,heteml:t,cloudfunctions:t,"grafana-dev":t,iobb:t,moonscale:t,"in-dsl":t,"in-vpn":t,oninferno:t,botdash:t,"apps-1and1":t,ipifony:t,cloudjiffy:[2,{"fra1-de":t,"west1-us":t}],elastx:[0,{"jls-sto1":t,"jls-sto2":t,"jls-sto3":t}],massivegrid:[0,{paas:[0,{"fr-1":t,"lon-1":t,"lon-2":t,"ny-1":t,"ny-2":t,"sg-1":t}]}],saveincloud:[0,{jelastic:t,"nordeste-idc":t}],scaleforce:B,kinghost:t,uni5:t,krellian:t,ggff:t,localto:o,barsy:t,luyani:t,memset:t,"azure-api":t,"azure-mobile":t,azureedge:t,azurefd:t,azurestaticapps:[2,{1:t,2:t,3:t,4:t,5:t,6:t,7:t,centralus:t,eastasia:t,eastus2:t,westeurope:t,westus2:t}],azurewebsites:t,cloudapp:t,trafficmanager:t,windows:[0,{core:[0,{blob:t}],servicebus:t}],mynetname:[0,{sn:t}],routingthecloud:t,bounceme:t,ddns:t,"eating-organic":t,mydissent:t,myeffect:t,mymediapc:t,mypsx:t,mysecuritycamera:t,nhlfan:t,"no-ip":t,pgafan:t,privatizehealthinsurance:t,redirectme:t,serveblog:t,serveminecraft:t,sytes:t,dnsup:t,hicam:t,"now-dns":t,ownip:t,vpndns:t,cloudycluster:t,ovh:[0,{hosting:o,webpaas:o}],rackmaze:t,myradweb:t,in:t,"subsc-pay":t,squares:t,schokokeks:t,"firewall-gateway":t,seidat:t,senseering:t,siteleaf:t,mafelo:t,myspreadshop:t,"vps-host":[2,{jelastic:[0,{atl:t,njs:t,ric:t}]}],srcf:[0,{soc:t,user:t}],supabase:t,dsmynas:t,familyds:t,ts:[2,{c:o}],torproject:[2,{pages:t}],tunnelmole:t,vusercontent:t,"reserve-online":t,localcert:t,"community-pro":t,meinforum:t,yandexcloud:[2,{storage:t,website:t}],za:t,zabc:t}],nf:[1,{arts:e,com:e,firm:e,info:e,net:e,other:e,per:e,rec:e,store:e,web:e}],ng:[1,{com:e,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:t,dl:t,go:t,lg:t,on:t}],col:t,firm:t,gen:t,ltd:t,ngo:t,plc:t}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:t,"hosting-cluster":t,gov:t,khplay:t,"123website":t,myspreadshop:t,transurl:o,cistron:t,demon:t}],no:[1,{fhs:e,folkebibl:e,fylkesbibl:e,idrett:e,museum:e,priv:e,vgs:e,dep:e,herad:e,kommune:e,mil:e,stat:e,aa:ae,ah:ae,bu:ae,fm:ae,hl:ae,hm:ae,"jan-mayen":ae,mr:ae,nl:ae,nt:ae,of:ae,ol:ae,oslo:ae,rl:ae,sf:ae,st:ae,svalbard:ae,tm:ae,tr:ae,va:ae,vf:ae,akrehamn:e,"xn--krehamn-dxa":e,åkrehamn:e,algard:e,"xn--lgrd-poac":e,ålgård:e,arna:e,bronnoysund:e,"xn--brnnysund-m8ac":e,brønnøysund:e,brumunddal:e,bryne:e,drobak:e,"xn--drbak-wua":e,drøbak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,florø:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,hønefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,jørpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langevåg:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mjøndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosjøen:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,osøyro:e,raholt:e,"xn--rholt-mra":e,råholt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessjøen:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stjørdalshalsen:e,tananger:e,tranby:e,vossevangen:e,aarborte:e,aejrie:e,afjord:e,"xn--fjord-lra":e,åfjord:e,agdenes:e,akershus:se,aknoluokta:e,"xn--koluokta-7ya57h":e,ákŋoluokta:e,al:e,"xn--l-1fa":e,ål:e,alaheadju:e,"xn--laheadju-7ya":e,álaheadju:e,alesund:e,"xn--lesund-hua":e,ålesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,áltá:e,alvdal:e,amli:e,"xn--mli-tla":e,åmli:e,amot:e,"xn--mot-tla":e,åmot:e,andasuolo:e,andebu:e,andoy:e,"xn--andy-ira":e,andøy:e,ardal:e,"xn--rdal-poa":e,årdal:e,aremark:e,arendal:e,"xn--s-1fa":e,ås:e,aseral:e,"xn--seral-lra":e,åseral:e,asker:e,askim:e,askoy:e,"xn--asky-ira":e,askøy:e,askvoll:e,asnes:e,"xn--snes-poa":e,åsnes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-høland":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,averøy:e,badaddja:e,"xn--bdddj-mrabd":e,bådåddjå:e,"xn--brum-voa":e,bærum:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,báhcavuotna:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,báhccavuotna:e,baidar:e,"xn--bidr-5nac":e,báidár:e,bajddar:e,"xn--bjddar-pta":e,bájddar:e,balat:e,"xn--blt-elab":e,bálát:e,balestrand:e,ballangen:e,balsfjord:e,bamble:e,bardu:e,barum:e,batsfjord:e,"xn--btsfjord-9za":e,båtsfjord:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalváhki:e,beardu:e,beiarn:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlevåg:e,bievat:e,"xn--bievt-0qa":e,bievát:e,bindal:e,birkenes:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bodø:e,bokn:e,bomlo:e,"xn--bmlo-gra":e,bømlo:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,brønnøy:e,budejju:e,buskerud:se,bygland:e,bykle:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,čáhcesuolo:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenjárga:e,davvesiida:e,deatnu:e,dielddanuorri:e,divtasvuodna:e,divttasvuotna:e,donna:e,"xn--dnna-gra":e,dønna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyrøy:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenassi:e,"xn--eveni-0qa01ga":e,evenášši:e,evenes:e,"evje-og-hornnes":e,farsund:e,fauske:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finnøy:e,fitjar:e,fjaler:e,fjell:e,fla:e,"xn--fl-zia":e,flå:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,folldal:e,forde:e,"xn--frde-gra":e,førde:e,forsand:e,fosnes:e,"xn--frna-woa":e,fræna:e,frana:e,frei:e,frogn:e,froland:e,frosta:e,froya:e,"xn--frya-hra":e,frøya:e,fuoisku:e,fuossko:e,fusa:e,fyresdal:e,gaivuotna:e,"xn--givuotna-8ya":e,gáivuotna:e,galsa:e,"xn--gls-elac":e,gálsá:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,gáŋgaviika:e,gaular:e,gausdal:e,giehtavuoatna:e,gildeskal:e,"xn--gildeskl-g0a":e,gildeskål:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gjøvik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,grue:e,gulen:e,guovdageaidnu:e,ha:e,"xn--h-2fa":e,hå:e,habmer:e,"xn--hbmer-xqa":e,hábmer:e,hadsel:e,"xn--hgebostad-g3a":e,hægebostad:e,hagebostad:e,halden:e,halsa:e,hamar:e,hamaroy:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,hámmárfeasta:e,hammerfest:e,hapmir:e,"xn--hpmir-xqa":e,hápmir:e,haram:e,hareid:e,harstad:e,hasvik:e,hattfjelldal:e,haugesund:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,våler:e}],hemne:e,hemnes:e,hemsedal:e,hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hobøl:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holtålen:e,hordaland:[0,{os:e}],hornindal:e,horten:e,hoyanger:e,"xn--hyanger-q1a":e,høyanger:e,hoylandet:e,"xn--hylandet-54a":e,høylandet:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inderøy:e,iveland:e,ivgu:e,jevnaker:e,jolster:e,"xn--jlster-bya":e,jølster:e,jondal:e,kafjord:e,"xn--kfjord-iua":e,kåfjord:e,karasjohka:e,"xn--krjohka-hwab49j":e,kárášjohka:e,karasjok:e,karlsoy:e,karmoy:e,"xn--karmy-yua":e,karmøy:e,kautokeino:e,klabu:e,"xn--klbu-woa":e,klæbu:e,klepp:e,kongsberg:e,kongsvinger:e,kraanghke:e,"xn--kranghke-b0a":e,kråanghke:e,kragero:e,"xn--krager-gya":e,kragerø:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,krødsherad:e,"xn--kvfjord-nxa":e,kvæfjord:e,"xn--kvnangen-k0a":e,kvænangen:e,kvafjord:e,kvalsund:e,kvam:e,kvanangen:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvitsøy:e,laakesvuemie:e,"xn--lrdal-sra":e,lærdal:e,lahppi:e,"xn--lhppi-xqa":e,láhppi:e,lardal:e,larvik:e,lavagis:e,lavangen:e,leangaviika:e,"xn--leagaviika-52b":e,leaŋgaviika:e,lebesby:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,lerdal:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindas:e,"xn--linds-pra":e,lindås:e,lindesnes:e,loabat:e,"xn--loabt-0qa":e,loabát:e,lodingen:e,"xn--ldingen-q1a":e,lødingen:e,lom:e,loppa:e,lorenskog:e,"xn--lrenskog-54a":e,lørenskog:e,loten:e,"xn--lten-gra":e,løten:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lurøy:e,luster:e,lyngdal:e,lyngen:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,málatvuopmi:e,malselv:e,"xn--mlselv-iua":e,målselv:e,malvik:e,mandal:e,marker:e,marnardal:e,masfjorden:e,masoy:e,"xn--msy-ula0h":e,måsøy:e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"mátta-várjjat":e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,meløy:e,meraker:e,"xn--merker-kua":e,meråker:e,midsund:e,"midtre-gauldal":e,moareke:e,"xn--moreke-jua":e,moåreke:e,modalen:e,modum:e,molde:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"møre-og-romsdal":[0,{herøy:e,sande:e}],moskenes:e,moss:e,muosat:e,"xn--muost-0qa":e,muosát:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,nååmesjevuemie:e,"xn--nry-yla5g":e,nærøy:e,namdalseid:e,namsos:e,namsskogan:e,nannestad:e,naroy:e,narviika:e,narvik:e,naustdal:e,navuotna:e,"xn--nvuotna-hwa":e,návuotna:e,"nedre-eiker":e,nesna:e,nesodden:e,nesseby:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,nordland:[0,{bo:e,"xn--b-5ga":e,bø:e,heroy:e,"xn--hery-ira":e,herøy:e}],"nordre-land":e,nordreisa:e,"nore-og-uvdal":e,notodden:e,notteroy:e,"xn--nttery-byae":e,nøtterøy:e,odda:e,oksnes:e,"xn--ksnes-uua":e,øksnes:e,omasvuotna:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppegård:e,orkdal:e,orland:e,"xn--rland-uua":e,ørland:e,orskog:e,"xn--rskog-uua":e,ørskog:e,orsta:e,"xn--rsta-fra":e,ørsta:e,osen:e,osteroy:e,"xn--ostery-fya":e,osterøy:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],østfold:[0,{våler:e}],"ostre-toten":e,"xn--stre-toten-zcb":e,"østre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"øvre-eiker":e,oyer:e,"xn--yer-zna":e,øyer:e,oygarden:e,"xn--ygarden-p1a":e,øygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"øystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,porsáŋgu:e,porsgrunn:e,rade:e,"xn--rde-ula":e,råde:e,radoy:e,"xn--rady-ira":e,radøy:e,"xn--rlingen-mxa":e,rælingen:e,rahkkeravju:e,"xn--rhkkervju-01af":e,ráhkkerávju:e,raisa:e,"xn--risa-5na":e,ráisa:e,rakkestad:e,ralingen:e,rana:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennesøy:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,risor:e,"xn--risr-ira":e,risør:e,rissa:e,roan:e,rodoy:e,"xn--rdy-0nab":e,rødøy:e,rollag:e,romsa:e,romskog:e,"xn--rmskog-bya":e,rømskog:e,roros:e,"xn--rros-gra":e,røros:e,rost:e,"xn--rst-0na":e,røst:e,royken:e,"xn--ryken-vua":e,røyken:e,royrvik:e,"xn--ryrvik-bya":e,røyrvik:e,ruovat:e,rygge:e,salangen:e,salat:e,"xn--slat-5na":e,sálat:e,"xn--slt-elab":e,sálát:e,saltdal:e,samnanger:e,sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sandøy:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,siellak:e,sigdal:e,siljan:e,sirdal:e,skanit:e,"xn--sknit-yqa":e,skánit:e,skanland:e,"xn--sknland-fxa":e,skånland:e,skaun:e,skedsmo:e,ski:e,skien:e,skierva:e,"xn--skierv-uta":e,skiervá:e,skiptvet:e,skjak:e,"xn--skjk-soa":e,skjåk:e,skjervoy:e,"xn--skjervy-v1a":e,skjervøy:e,skodje:e,smola:e,"xn--smla-hra":e,smøla:e,snaase:e,"xn--snase-nra":e,snåase:e,snasa:e,"xn--snsa-roa":e,snåsa:e,snillfjord:e,snoasa:e,sogndal:e,sogne:e,"xn--sgne-gra":e,søgne:e,sokndal:e,sola:e,solund:e,somna:e,"xn--smna-gra":e,sømna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"søndre-land":e,songdalen:e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"sør-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"sør-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"sør-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"sør-varanger":e,sorfold:e,"xn--srfold-bya":e,sørfold:e,sorreisa:e,"xn--srreisa-q1a":e,sørreisa:e,sortland:e,sorum:e,"xn--srum-gra":e,sørum:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stjørdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,tana:e,telemark:[0,{bo:e,"xn--b-5ga":e,bø:e}],time:e,tingvoll:e,tinn:e,tjeldsund:e,tjome:e,"xn--tjme-hra":e,tjøme:e,tokke:e,tolga:e,tonsberg:e,"xn--tnsberg-q1a":e,tønsberg:e,torsken:e,"xn--trna-woa":e,træna:e,trana:e,tranoy:e,"xn--trany-yua":e,tranøy:e,troandin:e,trogstad:e,"xn--trgstad-r1a":e,trøgstad:e,tromsa:e,tromso:e,"xn--troms-zua":e,tromsø:e,trondheim:e,trysil:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,tysnes:e,"xn--tysvr-vra":e,tysvær:e,tysvar:e,ullensaker:e,ullensvang:e,ulvik:e,unjarga:e,"xn--unjrga-rta":e,unjárga:e,utsira:e,vaapste:e,vadso:e,"xn--vads-jra":e,vadsø:e,"xn--vry-yla5g":e,værøy:e,vaga:e,"xn--vg-yiab":e,vågå:e,vagan:e,"xn--vgan-qoa":e,vågan:e,vagsoy:e,"xn--vgsy-qoa0j":e,vågsøy:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vardø:e,varggat:e,"xn--vrggt-xqad":e,várggát:e,varoy:e,vefsn:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,vegårshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestfold:[0,{sande:e}],vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestvågøy:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,voagat:e,volda:e,voss:e,co:t,"123hjemmeside":t,myspreadshop:t}],np:v,nr:re,nu:[1,{merseine:t,mine:t,shacknet:t,enterprisecloud:t}],nz:[1,{ac:e,co:e,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,"xn--mori-qsa":e,māori:e,mil:e,net:e,org:e,parliament:e,school:e,cloudns:t}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:t,pimienta:t,poivron:t,potager:t,sweetpepper:t,cdn77:[0,{c:t,rsc:t}],"cdn77-secure":[0,{origin:[0,{ssl:t}]}],ae:t,cloudns:t,"ip-dynamic":t,ddnss:t,dpdns:t,duckdns:t,tunk:t,blogdns:t,blogsite:t,boldlygoingnowhere:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,dvrdns:t,dynalias:t,dyndns:[2,{go:t,home:t}],endofinternet:t,endoftheinternet:t,"from-me":t,"game-host":t,gotdns:t,"hobby-site":t,homedns:t,homeftp:t,homelinux:t,homeunix:t,"is-a-bruinsfan":t,"is-a-candidate":t,"is-a-celticsfan":t,"is-a-chef":t,"is-a-geek":t,"is-a-knight":t,"is-a-linux-user":t,"is-a-patsfan":t,"is-a-soxfan":t,"is-found":t,"is-lost":t,"is-saved":t,"is-very-bad":t,"is-very-evil":t,"is-very-good":t,"is-very-nice":t,"is-very-sweet":t,"isa-geek":t,"kicks-ass":t,misconfused:t,podzone:t,readmyblog:t,selfip:t,sellsyourhome:t,servebbs:t,serveftp:t,servegame:t,"stuff-4-sale":t,webhop:t,accesscam:t,camdvr:t,freeddns:t,mywire:t,webredirect:t,twmail:t,eu:[2,{al:t,asso:t,at:t,au:t,be:t,bg:t,ca:t,cd:t,ch:t,cn:t,cy:t,cz:t,de:t,dk:t,edu:t,ee:t,es:t,fi:t,fr:t,gr:t,hr:t,hu:t,ie:t,il:t,in:t,int:t,is:t,it:t,jp:t,kr:t,lt:t,lu:t,lv:t,me:t,mk:t,mt:t,my:t,net:t,ng:t,nl:t,no:t,nz:t,pl:t,pt:t,ro:t,ru:t,se:t,si:t,sk:t,tr:t,uk:t,us:t}],fedorainfracloud:t,fedorapeople:t,fedoraproject:[0,{cloud:t,os:H,stg:[0,{os:H}]}],freedesktop:t,hatenadiary:t,hepforge:t,"in-dsl":t,"in-vpn":t,js:t,barsy:t,mayfirst:t,routingthecloud:t,bmoattachments:t,"cable-modem":t,collegefan:t,couchpotatofries:t,hopto:t,mlbfan:t,myftp:t,mysecuritycamera:t,nflfan:t,"no-ip":t,"read-books":t,ufcfan:t,zapto:t,dynserv:t,"now-dns":t,"is-local":t,httpbin:t,pubtls:t,jpn:t,"my-firewall":t,myfirewall:t,spdns:t,"small-web":t,dsmynas:t,familyds:t,teckids:te,tuxfamily:t,diskstation:t,hk:t,us:t,toolforge:t,wmcloud:[2,{beta:t}],wmflabs:t,za:t}],pa:[1,{abo:e,ac:e,com:e,edu:e,gob:e,ing:e,med:e,net:e,nom:e,org:e,sld:e}],pe:[1,{com:e,edu:e,gob:e,mil:e,net:e,nom:e,org:e}],pf:[1,{com:e,edu:e,org:e}],pg:v,ph:[1,{com:e,edu:e,gov:e,i:e,mil:e,net:e,ngo:e,org:e,cloudns:t}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,agro:e,aid:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,media:e,miasta:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,"kazimierz-dolny":e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorskie:e,pomorze:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,skoczow:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:t,gliwice:t,krakow:t,poznan:t,wroc:t,zakopane:t,beep:t,"ecommerce-shop":t,cfolks:t,dfirma:t,dkonto:t,you2:t,shoparena:t,homesklep:t,sdscloud:t,unicloud:t,lodz:t,pabianice:t,plock:t,sieradz:t,skierniewice:t,zgierz:t,krasnik:t,leczna:t,lubartow:t,lublin:t,poniatowa:t,swidnik:t,co:t,torun:t,simplesite:t,myspreadshop:t,gda:t,gdansk:t,gdynia:t,med:t,sopot:t,bielsko:t}],pm:[1,{own:t,name:t}],pn:[1,{co:e,edu:e,gov:e,net:e,org:e}],post:e,pr:[1,{biz:e,com:e,edu:e,gov:e,info:e,isla:e,name:e,net:e,org:e,pro:e,ac:e,est:e,prof:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,"12chars":t,cloudns:t,barsy:t,ngrok:t}],ps:[1,{com:e,edu:e,gov:e,net:e,org:e,plo:e,sec:e}],pt:[1,{com:e,edu:e,gov:e,int:e,net:e,nome:e,org:e,publ:e,"123paginaweb":t}],pw:[1,{gov:e,cloudns:t,x443:t}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e}],re:[1,{asso:e,com:e,netlib:t,can:t}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:t,shop:t,barsy:t}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:y,barsy:t,ox:t}],ru:[1,{ac:t,edu:t,gov:t,int:t,mil:t,eurodir:t,adygeya:t,bashkiria:t,bir:t,cbg:t,com:t,dagestan:t,grozny:t,kalmykia:t,kustanai:t,marine:t,mordovia:t,msk:t,mytis:t,nalchik:t,nov:t,pyatigorsk:t,spb:t,vladikavkaz:t,vladimir:t,na4u:t,mircloud:t,myjino:[2,{hosting:o,landing:o,spectrum:o,vps:o}],cldmail:[0,{hb:t}],mcdir:[2,{vps:t}],mcpre:t,net:t,org:t,pp:t,lk3:t,ras:t}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,edu:e,gov:e,med:e,net:e,org:e,pub:e,sch:e}],sb:r,sc:r,sd:[1,{com:e,edu:e,gov:e,info:e,med:e,net:e,org:e,tv:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:t,iopsys:t,"123minsida":t,itcouldbewor:t,myspreadshop:t}],sg:[1,{com:e,edu:e,gov:e,net:e,org:e,enscaled:t}],sh:[1,{com:e,gov:e,mil:e,net:e,org:e,hashbang:t,botda:t,lovable:t,platform:[0,{ent:t,eu:t,us:t}],teleport:t,now:t}],si:[1,{f5:t,gitapp:t,gitpage:t}],sj:e,sk:e,sl:r,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,perso:e,univ:e}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:t}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:t,kirara:t,noho:t}],su:[1,{abkhazia:t,adygeya:t,aktyubinsk:t,arkhangelsk:t,armenia:t,ashgabad:t,azerbaijan:t,balashov:t,bashkiria:t,bryansk:t,bukhara:t,chimkent:t,dagestan:t,"east-kazakhstan":t,exnet:t,georgia:t,grozny:t,ivanovo:t,jambyl:t,kalmykia:t,kaluga:t,karacol:t,karaganda:t,karelia:t,khakassia:t,krasnodar:t,kurgan:t,kustanai:t,lenug:t,mangyshlak:t,mordovia:t,msk:t,murmansk:t,nalchik:t,navoi:t,"north-kazakhstan":t,nov:t,obninsk:t,penza:t,pokrovsk:t,sochi:t,spb:t,tashkent:t,termez:t,togliatti:t,troitsk:t,tselinograd:t,tula:t,tuva:t,vladikavkaz:t,vladimir:t,vologda:t}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:c,sy:n,sz:[1,{ac:e,co:e,org:e}],tc:e,td:e,tel:e,tf:[1,{sch:t}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:t,shop:t}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:c,tm:[1,{co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:t}],to:[1,{611:t,com:e,edu:e,gov:e,mil:e,net:e,org:e,oya:t,x0:t,quickconnect:P,vpnplus:t}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:e,dr:e,edu:e,gen:e,gov:e,info:e,k12:e,kep:e,mil:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:c}],tt:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],tv:[1,{"better-than":t,dyndns:t,"on-the-web":t,"worse-than":t,from:t,sakura:t}],tw:[1,{club:e,com:[1,{mymailer:t}],ebiz:e,edu:e,game:e,gov:e,idv:e,mil:e,net:e,org:e,url:t,mydns:t}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:t,inf:t,ltd:t,cx:t,biz:t,co:t,pp:t,v:t}],ug:[1,{ac:e,co:e,com:e,edu:e,go:e,gov:e,mil:e,ne:e,or:e,org:e,sc:e,us:e}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:t,vm:t}],layershift:B,barsy:t,barsyonline:t,retrosnub:ee,"nh-serv":t,"no-ip":t,adimo:t,myspreadshop:t}],gov:[1,{api:t,campaign:t,service:t}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:t,lug:t,lugs:t,affinitylottery:t,raffleentry:t,weeklylottery:t}],plc:e,police:e,sch:v,conn:t,copro:t,hosp:t,"independent-commission":t,"independent-inquest":t,"independent-inquiry":t,"independent-panel":t,"independent-review":t,"public-inquiry":t,"royal-commission":t,pymnt:t,barsy:t,nimsite:t,oraclegovcloudapps:o}],us:[1,{dni:e,isa:e,nsn:e,ak:ce,al:ce,ar:ce,as:ce,az:ce,ca:ce,co:ce,ct:ce,dc:ce,de:ue,fl:ce,ga:ce,gu:ce,hi:le,ia:ce,id:ce,il:ce,in:ce,ks:ce,ky:ce,la:ce,ma:[1,{k12:[1,{chtr:e,paroch:e,pvt:e}],cc:e,lib:e}],md:ce,me:ce,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:ce,mo:ce,ms:[1,{k12:e,cc:e}],mt:ce,nc:ce,nd:le,ne:ce,nh:ce,nj:ce,nm:ce,nv:ce,ny:ce,oh:ce,ok:ce,or:ce,pa:ce,pr:ce,ri:le,sc:ce,sd:le,tn:ce,tx:ce,ut:ce,va:ce,vi:ce,vt:ce,wa:ce,wi:ce,wv:ue,wy:ce,cloudns:t,"is-by":t,"land-4-sale":t,"stuff-4-sale":t,heliohost:t,enscaled:[0,{phx:t}],mircloud:t,ngo:t,golffan:t,noip:t,pointto:t,freeddns:t,srv:[2,{gh:t,gl:t}],platterp:t,servername:t}],uy:[1,{com:e,edu:e,gub:e,mil:e,net:e,org:e}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,gv:[2,{d:t}],"0e":o,mydns:t}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,emprende:e,firm:e,gob:e,gov:e,ia:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:[1,{edu:e}],vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e}],vu:W,wf:[1,{biz:t,sch:t}],ws:[1,{com:e,edu:e,gov:e,net:e,org:e,advisor:o,cloud66:t,dyndns:t,mypets:t}],yt:[1,{org:t}],"xn--mgbaam7a8h":e,امارات:e,"xn--y9a3aq":e,հայ:e,"xn--54b7fta0cc":e,বাংলা:e,"xn--90ae":e,бг:e,"xn--mgbcpq6gpa1a":e,البحرين:e,"xn--90ais":e,бел:e,"xn--fiqs8s":e,中国:e,"xn--fiqz9s":e,中國:e,"xn--lgbbat1ad8j":e,الجزائر:e,"xn--wgbh1c":e,مصر:e,"xn--e1a4c":e,ею:e,"xn--qxa6a":e,ευ:e,"xn--mgbah1a3hjkrd":e,موريتانيا:e,"xn--node":e,გე:e,"xn--qxam":e,ελ:e,"xn--j6w193g":[1,{"xn--gmqw5a":e,"xn--55qx5d":e,"xn--mxtq1m":e,"xn--wcvs22d":e,"xn--uc0atv":e,"xn--od0alg":e}],香港:[1,{個人:e,公司:e,政府:e,教育:e,組織:e,網絡:e}],"xn--2scrj9c":e,ಭಾರತ:e,"xn--3hcrj9c":e,ଭାରତ:e,"xn--45br5cyl":e,ভাৰত:e,"xn--h2breg3eve":e,भारतम्:e,"xn--h2brj9c8c":e,भारोत:e,"xn--mgbgu82a":e,ڀارت:e,"xn--rvc1e0am3e":e,ഭാരതം:e,"xn--h2brj9c":e,भारत:e,"xn--mgbbh1a":e,بارت:e,"xn--mgbbh1a71e":e,بھارت:e,"xn--fpcrj9c3d":e,భారత్:e,"xn--gecrj9c":e,ભારત:e,"xn--s9brj9c":e,ਭਾਰਤ:e,"xn--45brj9c":e,ভারত:e,"xn--xkc2dl3a5ee0h":e,இந்தியா:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,"xn--mgbtx2b":e,عراق:e,"xn--mgbayh7gpa":e,الاردن:e,"xn--3e0b707e":e,한국:e,"xn--80ao21a":e,қаз:e,"xn--q7ce6a":e,ລາວ:e,"xn--fzc2c9e2c":e,ලංකා:e,"xn--xkc2al3hye2a":e,இலங்கை:e,"xn--mgbc0a9azcg":e,المغرب:e,"xn--d1alf":e,мкд:e,"xn--l1acc":e,мон:e,"xn--mix891f":e,澳門:e,"xn--mix082f":e,澳门:e,"xn--mgbx4cd0ab":e,مليسيا:e,"xn--mgb9awbf":e,عمان:e,"xn--mgbai9azgqp6j":e,پاکستان:e,"xn--mgbai9a5eva00b":e,پاكستان:e,"xn--ygbi2ammx":e,فلسطين:e,"xn--90a3ac":[1,{"xn--80au":e,"xn--90azh":e,"xn--d1at":e,"xn--c1avg":e,"xn--o1ac":e,"xn--o1ach":e}],срб:[1,{ак:e,обр:e,од:e,орг:e,пр:e,упр:e}],"xn--p1ai":e,рф:e,"xn--wgbl6a":e,قطر:e,"xn--mgberp4a5d4ar":e,السعودية:e,"xn--mgberp4a5d4a87g":e,السعودیة:e,"xn--mgbqly7c0a67fbc":e,السعودیۃ:e,"xn--mgbqly7cvafr":e,السعوديه:e,"xn--mgbpl2fh":e,سودان:e,"xn--yfro4i67o":e,新加坡:e,"xn--clchc0ea0b2g2a9gcd":e,சிங்கப்பூர்:e,"xn--ogbpf8fl":e,سورية:e,"xn--mgbtf8fl":e,سوريا:e,"xn--o3cw4h":[1,{"xn--o3cyx2a":e,"xn--12co0c3b4eva":e,"xn--m3ch0j3a":e,"xn--h3cuzk1di":e,"xn--12c1fe0br":e,"xn--12cfi8ixb8l":e}],ไทย:[1,{ทหาร:e,ธุรกิจ:e,เน็ต:e,รัฐบาล:e,ศึกษา:e,องค์กร:e}],"xn--pgbs0dh":e,تونس:e,"xn--kpry57d":e,台灣:e,"xn--kprw13d":e,台湾:e,"xn--nnx388a":e,臺灣:e,"xn--j1amh":e,укр:e,"xn--mgb2ddes":e,اليمن:e,xxx:e,ye:n,za:[0,{ac:e,agric:e,alt:e,co:e,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:t}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:t,aiven:t,beget:o,brave:i,clerk:t,clerkstage:t,cloudflare:t,wnext:t,csb:[2,{preview:t}],convex:t,deta:t,ondigitalocean:t,easypanel:t,encr:[2,{frontend:t}],evervault:a,expo:[2,{staging:t}],edgecompute:t,"on-fleek":t,flutterflow:t,e2b:t,framer:t,github:t,hosted:o,run:[0,{"*":t,mtls:o}],web:t,hackclub:t,hasura:t,botdash:t,leapcell:t,loginline:t,lovable:t,luyani:t,medusajs:t,messerli:t,mocha:t,netlify:t,ngrok:t,"ngrok-free":t,developer:o,noop:t,northflank:o,upsun:o,railway:[0,{up:t}],replit:s,nyat:t,snowflake:[0,{"*":t,privatelink:o}],streamlit:t,storipress:t,telebit:t,typedream:t,vercel:t,wal:t,wasmer:t,bookonline:t,windsurf:t,zeabur:t,zerops:o}],apple:e,aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{on:[0,{"af-south-1":u,"ap-east-1":u,"ap-northeast-1":u,"ap-northeast-2":u,"ap-northeast-3":u,"ap-south-1":u,"ap-south-2":l,"ap-southeast-1":u,"ap-southeast-2":u,"ap-southeast-3":u,"ap-southeast-4":l,"ap-southeast-5":l,"ca-central-1":u,"ca-west-1":l,"eu-central-1":u,"eu-central-2":l,"eu-north-1":u,"eu-south-1":u,"eu-south-2":l,"eu-west-1":u,"eu-west-2":u,"eu-west-3":u,"il-central-1":l,"me-central-1":l,"me-south-1":u,"sa-east-1":u,"us-east-1":u,"us-east-2":u,"us-west-1":u,"us-west-2":u,"us-gov-east-1":d,"us-gov-west-1":d}],sagemaker:[0,{"ap-northeast-1":f,"ap-northeast-2":f,"ap-south-1":f,"ap-southeast-1":f,"ap-southeast-2":f,"ca-central-1":m,"eu-central-1":f,"eu-west-1":f,"eu-west-2":f,"us-east-1":m,"us-east-2":m,"us-west-2":m,"af-south-1":p,"ap-east-1":p,"ap-northeast-3":p,"ap-south-2":h,"ap-southeast-3":p,"ap-southeast-4":h,"ca-west-1":[0,{notebook:t,"notebook-fips":t}],"eu-central-2":p,"eu-north-1":p,"eu-south-1":p,"eu-south-2":p,"eu-west-3":p,"il-central-1":p,"me-central-1":p,"me-south-1":p,"sa-east-1":p,"us-gov-east-1":g,"us-gov-west-1":g,"us-west-1":[0,{notebook:t,"notebook-fips":t,studio:t}],experiments:o}],repost:[0,{private:o}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:t,nz:t}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{v0:t,windsurf:t}],builders:[1,{cloudsite:t}],business:b,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:t}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:t}]}],case:e,cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{convex:t,elementor:t,emergent:t,encoway:[0,{eu:t}],statics:o,ravendb:t,axarnet:[0,{"es-1":t}],diadem:t,jelastic:[0,{vip:t}],jele:t,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:t}]}],it1:t}],keliweb:[2,{cs:t}],oxa:[2,{tn:t,uk:t}],primetel:[2,{uk:t}],reclaim:[0,{ca:t,uk:t,us:t}],trendhosting:[0,{ch:t,de:t}],jote:t,jotelulu:t,kuleuven:t,laravel:t,linkyard:t,magentosite:o,matlab:t,observablehq:t,perspecta:t,vapor:t,"on-rancher":o,scw:[0,{baremetal:[0,{"fr-par-1":t,"fr-par-2":t,"nl-ams-1":t}],"fr-par":[0,{cockpit:t,ddl:t,dtwh:t,fnc:[2,{functions:t}],ifr:t,k8s:w,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t,whm:t}],instances:[0,{priv:t,pub:t}],k8s:t,"nl-ams":[0,{cockpit:t,ddl:t,dtwh:t,ifr:t,k8s:w,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t,whm:t}],"pl-waw":[0,{cockpit:t,ddl:t,dtwh:t,ifr:t,k8s:w,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t}],scalebook:t,smartlabeling:t}],servebolt:t,onstackit:[0,{runs:t}],trafficplex:t,"unison-services":t,urown:t,voorloper:t,zap:t}],club:[1,{cloudns:t,jele:t,barsy:t}],clubmed:e,coach:e,codes:[1,{owo:o}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:t,ravendb:t,myforum:t}],company:e,compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:t,de:t}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:t,bss:t}],dev:[1,{"12chars":t,myaddr:t,panel:t,bearblog:t,lcl:o,lclstage:o,stg:o,stgstage:o,pages:t,r2:t,workers:t,deno:t,"deno-staging":t,deta:t,lp:[2,{api:t,objects:t}],evervault:a,fly:t,githubpreview:t,gateway:o,botdash:t,inbrowser:o,"is-a-good":t,iserv:t,leapcell:t,runcontainers:t,localcert:[0,{user:o}],loginline:t,barsy:t,mediatech:t,"mocha-sandbox":t,modx:t,ngrok:t,"ngrok-free":t,"is-a-fullstack":t,"is-cool":t,"is-not-a":t,localplayer:t,xmit:t,"platter-app":t,replit:[2,{archer:t,bones:t,canary:t,global:t,hacker:t,id:t,janeway:t,kim:t,kira:t,kirk:t,odo:t,paris:t,picard:t,pike:t,prerelease:t,reed:t,riker:t,sisko:t,spock:t,staging:t,sulu:t,tarpit:t,teams:t,tucker:t,wesley:t,worf:t}],crm:[0,{d:o,w:o,wa:o,wb:o,wc:o,wd:o,we:o,wf:o}],erp:G,vercel:t,webhare:o,hrsn:t,"is-a":t}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:t}]}],direct:[1,{libp2p:t}],directory:e,discount:e,discover:e,dish:e,diy:e,dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:b,email:[1,{crisp:[0,{on:t}],tawk:Y,tawkto:Y}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:o}],eurovision:e,eus:[1,{party:J}],events:[1,{koobin:t,co:t}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:t}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:b,fire:e,firestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:e,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:t,sheezy:t}],gap:e,garden:e,gay:[1,{pages:t}],gbiz:e,gdn:[1,{cnpy:t}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:[1,{appwrite:t}],globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goo:e,goodyear:e,goog:[1,{cloud:t,translate:t,usercontent:o}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:t}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:t}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:t,freesite:t,easypanel:t,emergent:t,fastvps:t,myfast:t,tempurl:t,wpmudev:t,iserv:t,jele:t,mircloud:t,bolt:t,wp2:t,half:t}],hosting:[1,{opencraft:t}],hot:e,hotel:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:t,edu:t}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:t,cyon:t,joinmc:t,dweb:o,inbrowser:o,nftstorage:ne,mypep:t,storacha:ne,w3s:ne}],live:[1,{aem:t,hlx:t,ewp:o}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:t}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:e,mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:oe,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:t,barsyonline:t}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:e,monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{aem:t,alces:o,co:t,arvo:t,azimuth:t,tlon:t}],neustar:e,new:e,news:[1,{noticeable:t}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:o,service:t,website:t}],ong:[1,{obl:t}],onl:e,online:[1,{eero:t,"eero-stage":t,websitebuilder:t,leapcell:t,barsy:t}],ooo:e,open:e,oracle:e,orange:[1,{tech:t}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:t}],page:[1,{aem:t,hlx:t,translated:t,codeberg:t,heyflow:t,prvcy:t,rocky:t,statichost:t,pdns:t,plesk:t}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:oe,physio:e,pics:e,pictet:e,pictures:[1,{1337:t}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:t}],place:b,play:e,playstation:e,plumbing:e,plus:[1,{playit:[2,{at:o,with:t}]}],pnc:e,pohl:e,poker:e,politie:e,porn:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:o,kin:o,barsy:t}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:[1,{aem:t}],rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:t}],rocks:[1,{myddns:t,stackit:t,"lima-city":t,webspace:t}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{appwrite:o,canva:t,development:t,ravendb:t,liara:[2,{iran:t}],lovable:t,needle:t,build:o,code:o,database:o,migration:o,onporter:t,repl:t,stackit:t,val:G,vercel:t,wix:t}],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{gov:[2,{service:t}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:t}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:t,hoplix:t,barsy:t,barsyonline:t,shopware:t}],shopping:e,shouji:e,show:e,silk:e,sina:e,singles:e,site:[1,{square:t,canva:S,cloudera:o,convex:t,cyon:t,caffeine:t,fastvps:t,figma:t,"figma-gov":t,preview:t,heyflow:t,jele:t,jouwweb:t,loginline:t,barsy:t,co:t,notion:t,omniwe:t,opensocial:t,madethis:t,support:t,platformsh:o,tst:o,byen:t,srht:t,novecore:t,cpanel:t,wpsquared:t,sourcecraft:t}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:e,song:e,sony:e,soy:e,spa:e,space:[1,{myfast:t,heiyu:t,hf:[2,{static:t}],"app-ionos":t,project:t,uber:t,xs4all:t}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:t,sellfy:t,shopware:t,storebase:t}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:t}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:t}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:t,jelastic:t}],tech:[1,{cleverapps:t}],technology:b,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:t}],tokyo:e,tools:[1,{addr:K,myaddr:t}],top:[1,{ntdll:t,wadl:o}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:[1,{hidns:t}],virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:e,volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:oe,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:oe,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,wolterskluwer:e,woodside:e,work:e,works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,कॉम:e,"xn--1ck2e1b":e,セール:e,"xn--1qqw23a":e,佛山:e,"xn--30rr7y":e,慈善:e,"xn--3bst00m":e,集团:e,"xn--3ds443g":e,在线:e,"xn--3pxu8k":e,点看:e,"xn--42c2d9a":e,คอม:e,"xn--45q11c":e,八卦:e,"xn--4gbrim":e,موقع:e,"xn--55qw42g":e,公益:e,"xn--55qx5d":e,公司:e,"xn--5su34j936bgsg":e,香格里拉:e,"xn--5tzm5g":e,网站:e,"xn--6frz82g":e,移动:e,"xn--6qq986b3xl":e,我爱你:e,"xn--80adxhks":e,москва:e,"xn--80aqecdr1a":e,католик:e,"xn--80asehdb":e,онлайн:e,"xn--80aswg":e,сайт:e,"xn--8y0a063a":e,联通:e,"xn--9dbq2a":e,קום:e,"xn--9et52u":e,时尚:e,"xn--9krt00a":e,微博:e,"xn--b4w605ferd":e,淡马锡:e,"xn--bck1b9a5dre4c":e,ファッション:e,"xn--c1avg":e,орг:e,"xn--c2br7g":e,नेट:e,"xn--cck2b3b":e,ストア:e,"xn--cckwcxetd":e,アマゾン:e,"xn--cg4bki":e,삼성:e,"xn--czr694b":e,商标:e,"xn--czrs0t":e,商店:e,"xn--czru2d":e,商城:e,"xn--d1acj3b":e,дети:e,"xn--eckvdtc9d":e,ポイント:e,"xn--efvy88h":e,新闻:e,"xn--fct429k":e,家電:e,"xn--fhbei":e,كوم:e,"xn--fiq228c5hs":e,中文网:e,"xn--fiq64b":e,中信:e,"xn--fjq720a":e,娱乐:e,"xn--flw351e":e,谷歌:e,"xn--fzys8d69uvgm":e,電訊盈科:e,"xn--g2xx48c":e,购物:e,"xn--gckr3f0f":e,クラウド:e,"xn--gk3at1e":e,通販:e,"xn--hxt814e":e,网店:e,"xn--i1b6b1a6a2e":e,संगठन:e,"xn--imr513n":e,餐厅:e,"xn--io0a7i":e,网络:e,"xn--j1aef":e,ком:e,"xn--jlq480n2rg":e,亚马逊:e,"xn--jvr189m":e,食品:e,"xn--kcrx77d1x4a":e,飞利浦:e,"xn--kput3i":e,手机:e,"xn--mgba3a3ejt":e,ارامكو:e,"xn--mgba7c0bbn0a":e,العليان:e,"xn--mgbab2bd":e,بازار:e,"xn--mgbca7dzdo":e,ابوظبي:e,"xn--mgbi4ecexp":e,كاثوليك:e,"xn--mgbt3dhd":e,همراه:e,"xn--mk1bu44c":e,닷컴:e,"xn--mxtq1m":e,政府:e,"xn--ngbc5azd":e,شبكة:e,"xn--ngbe9e0a":e,بيتك:e,"xn--ngbrx":e,عرب:e,"xn--nqv7f":e,机构:e,"xn--nqv7fs00ema":e,组织机构:e,"xn--nyqy26a":e,健康:e,"xn--otu796d":e,招聘:e,"xn--p1acf":[1,{"xn--90amc":t,"xn--j1aef":t,"xn--j1ael8b":t,"xn--h1ahn":t,"xn--j1adp":t,"xn--c1avg":t,"xn--80aaa0cvac":t,"xn--h1aliz":t,"xn--90a1af":t,"xn--41a":t}],рус:[1,{биз:t,ком:t,крым:t,мир:t,мск:t,орг:t,самара:t,сочи:t,спб:t,я:t}],"xn--pssy2u":e,大拿:e,"xn--q9jyb4c":e,みんな:e,"xn--qcka1pmc":e,グーグル:e,"xn--rhqv96g":e,世界:e,"xn--rovu88b":e,書籍:e,"xn--ses554g":e,网址:e,"xn--t60b56a":e,닷넷:e,"xn--tckwe":e,コム:e,"xn--tiq49xqyj":e,天主教:e,"xn--unup4y":e,游戏:e,"xn--vermgensberater-ctb":e,vermögensberater:e,"xn--vermgensberatung-pwb":e,vermögensberatung:e,"xn--vhquv":e,企业:e,"xn--vuq861b":e,信息:e,"xn--w4r85el8fhu5dnra":e,嘉里大酒店:e,"xn--w4rs40l":e,嘉里:e,"xn--xhq521b":e,广东:e,"xn--zfr164b":e,政务:e,xyz:[1,{caffeine:t,botdash:t,telebit:o}],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{triton:o,stackit:t,lima:t}],zuerich:e}]}();function l(e,t,r,n){let o=null,i=t;for(;void 0!==i&&(0!==(i[0]&n)&&(o={index:r+1,isIcann:1===i[0],isPrivate:2===i[0]}),-1!==r);){const t=i[1];i=Object.prototype.hasOwnProperty.call(t,e[r])?t[e[r]]:t["*"],r-=1}return o}function d(e,t,r){var n;if(function(e,t,r){if(!t.allowPrivateDomains&&e.length>3){const t=e.length-1,n=e.charCodeAt(t),o=e.charCodeAt(t-1),i=e.charCodeAt(t-2),a=e.charCodeAt(t-3);if(109===n&&111===o&&99===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="com",!0;if(103===n&&114===o&&111===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="org",!0;if(117===n&&100===o&&101===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="edu",!0;if(118===n&&111===o&&103===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="gov",!0;if(116===n&&101===o&&110===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="net",!0;if(101===n&&100===o&&46===i)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="de",!0}return!1}(e,t,r))return;const o=e.split("."),i=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0),a=l(o,c,o.length-1,i);if(null!==a)return r.isIcann=a.isIcann,r.isPrivate=a.isPrivate,void(r.publicSuffix=o.slice(a.index+1).join("."));const s=l(o,u,o.length-1,i);if(null!==s)return r.isIcann=s.isIcann,r.isPrivate=s.isPrivate,void(r.publicSuffix=o.slice(s.index).join("."));r.isIcann=!1,r.isPrivate=!1,r.publicSuffix=null!==(n=o[o.length-1])&&void 0!==n?n:null}const p={domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null};function f(e,t={}){return s(e,5,d,t,{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null})}function h(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,0,d,t,p).hostname}function m(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,2,d,t,p).publicSuffix}function g(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,3,d,t,p).domain}function y(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,4,d,t,p).subdomain}function v(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,5,d,t,p).domainWithoutSuffix}},39602(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tokenOrchestrator=t.cognitoUserPoolsTokenProvider=void 0;const n=r(9515);t.cognitoUserPoolsTokenProvider=new n.CognitoUserPoolsTokenProvider,t.tokenOrchestrator=t.cognitoUserPoolsTokenProvider.tokenOrchestrator},39726(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toAttributeType=function(e){return Object.entries(e).map(([e,t])=>({Name:e,Value:t}))},t.toAuthUserAttribute=function(e){const t={};return e?.forEach(e=>{e.Name&&(t[e.Name]=e.Value)}),t}},39877(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoUserPoolEndpointResolver=void 0;const n=r(7884),o=r(22651),i=r(62125);t.cognitoUserPoolEndpointResolver=({region:e})=>({url:new o.AmplifyUrl(`https://${i.COGNITO_IDP_SERVICE_NAME}.${e}.${(0,n.getDnsSuffix)(e)}`)})},39902(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEX_TO_SHORT=t.SHORT_TO_HEX=t.INIT_N=void 0,t.INIT_N="FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",t.SHORT_TO_HEX={},t.HEX_TO_SHORT={};for(let e=0;e<256;e++){let r=e.toString(16).toLowerCase();1===r.length&&(r=`0${r}`),t.SHORT_TO_HEX[e]=r,t.HEX_TO_SHORT[r]=e}},39930(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseJsonError=t.parseJsonBody=t.parseMetadata=void 0;var n=r(41251);Object.defineProperty(t,"parseMetadata",{enumerable:!0,get:function(){return n.parseMetadata}});var o=r(65826);Object.defineProperty(t,"parseJsonBody",{enumerable:!0,get:function(){return o.parseJsonBody}}),Object.defineProperty(t,"parseJsonError",{enumerable:!0,get:function(){return o.parseJsonError}})},39993(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createVerifyUserAttributeClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createVerifyUserAttributeClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("VerifyUserAttribute"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},40068(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=async function(e){return(0,o.deleteWebAuthnCredential)(n.Amplify,e)};const n=r(56547),o=r(16772)},40182(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.validate=t.v7=t.v6ToV1=t.v6=t.v5=t.v4=t.v3=t.v1ToV6=t.v1=t.stringify=t.parse=t.NIL=t.MAX=void 0;var n=r(62196);Object.defineProperty(t,"MAX",{enumerable:!0,get:function(){return n.default}});var o=r(63465);Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return o.default}});var i=r(31797);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.default}});var a=r(76011);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.default}});var s=r(31425);Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return s.default}});var c=r(96568);Object.defineProperty(t,"v1ToV6",{enumerable:!0,get:function(){return c.default}});var u=r(70591);Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return u.default}});var l=r(48286);Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return l.default}});var d=r(74557);Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return d.default}});var p=r(46356);Object.defineProperty(t,"v6",{enumerable:!0,get:function(){return p.default}});var f=r(60268);Object.defineProperty(t,"v6ToV1",{enumerable:!0,get:function(){return f.default}});var h=r(94299);Object.defineProperty(t,"v7",{enumerable:!0,get:function(){return h.default}});var m=r(59746);Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return m.default}});var g=r(72770);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return g.default}})},40338(e,t){"use strict";function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,o,i,a){return n((s=n(n(t,e),n(o,a)))<<(c=i)|s>>>32-c,r);var s,c}function i(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function a(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function s(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function c(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(e){const t=new Uint8Array(4*e.length);for(let r=0;r<4*e.length;r++)t[r]=e[r>>2]>>>r%4*8&255;return t}(function(e,t){const o=new Uint32Array(r(t)).fill(0);o.set(e),o[t>>5]|=128<<t%32,o[o.length-1]=t,e=o;let u=1732584193,l=-271733879,d=-1732584194,p=271733878;for(let t=0;t<e.length;t+=16){const r=u,o=l,f=d,h=p;u=i(u,l,d,p,e[t],7,-680876936),p=i(p,u,l,d,e[t+1],12,-389564586),d=i(d,p,u,l,e[t+2],17,606105819),l=i(l,d,p,u,e[t+3],22,-1044525330),u=i(u,l,d,p,e[t+4],7,-176418897),p=i(p,u,l,d,e[t+5],12,1200080426),d=i(d,p,u,l,e[t+6],17,-1473231341),l=i(l,d,p,u,e[t+7],22,-45705983),u=i(u,l,d,p,e[t+8],7,1770035416),p=i(p,u,l,d,e[t+9],12,-1958414417),d=i(d,p,u,l,e[t+10],17,-42063),l=i(l,d,p,u,e[t+11],22,-1990404162),u=i(u,l,d,p,e[t+12],7,1804603682),p=i(p,u,l,d,e[t+13],12,-40341101),d=i(d,p,u,l,e[t+14],17,-1502002290),l=i(l,d,p,u,e[t+15],22,1236535329),u=a(u,l,d,p,e[t+1],5,-165796510),p=a(p,u,l,d,e[t+6],9,-1069501632),d=a(d,p,u,l,e[t+11],14,643717713),l=a(l,d,p,u,e[t],20,-373897302),u=a(u,l,d,p,e[t+5],5,-701558691),p=a(p,u,l,d,e[t+10],9,38016083),d=a(d,p,u,l,e[t+15],14,-660478335),l=a(l,d,p,u,e[t+4],20,-405537848),u=a(u,l,d,p,e[t+9],5,568446438),p=a(p,u,l,d,e[t+14],9,-1019803690),d=a(d,p,u,l,e[t+3],14,-187363961),l=a(l,d,p,u,e[t+8],20,1163531501),u=a(u,l,d,p,e[t+13],5,-1444681467),p=a(p,u,l,d,e[t+2],9,-51403784),d=a(d,p,u,l,e[t+7],14,1735328473),l=a(l,d,p,u,e[t+12],20,-1926607734),u=s(u,l,d,p,e[t+5],4,-378558),p=s(p,u,l,d,e[t+8],11,-2022574463),d=s(d,p,u,l,e[t+11],16,1839030562),l=s(l,d,p,u,e[t+14],23,-35309556),u=s(u,l,d,p,e[t+1],4,-1530992060),p=s(p,u,l,d,e[t+4],11,1272893353),d=s(d,p,u,l,e[t+7],16,-155497632),l=s(l,d,p,u,e[t+10],23,-1094730640),u=s(u,l,d,p,e[t+13],4,681279174),p=s(p,u,l,d,e[t],11,-358537222),d=s(d,p,u,l,e[t+3],16,-722521979),l=s(l,d,p,u,e[t+6],23,76029189),u=s(u,l,d,p,e[t+9],4,-640364487),p=s(p,u,l,d,e[t+12],11,-421815835),d=s(d,p,u,l,e[t+15],16,530742520),l=s(l,d,p,u,e[t+2],23,-995338651),u=c(u,l,d,p,e[t],6,-198630844),p=c(p,u,l,d,e[t+7],10,1126891415),d=c(d,p,u,l,e[t+14],15,-1416354905),l=c(l,d,p,u,e[t+5],21,-57434055),u=c(u,l,d,p,e[t+12],6,1700485571),p=c(p,u,l,d,e[t+3],10,-1894986606),d=c(d,p,u,l,e[t+10],15,-1051523),l=c(l,d,p,u,e[t+1],21,-2054922799),u=c(u,l,d,p,e[t+8],6,1873313359),p=c(p,u,l,d,e[t+15],10,-30611744),d=c(d,p,u,l,e[t+6],15,-1560198380),l=c(l,d,p,u,e[t+13],21,1309151649),u=c(u,l,d,p,e[t+4],6,-145523070),p=c(p,u,l,d,e[t+11],10,-1120210379),d=c(d,p,u,l,e[t+2],15,718787259),l=c(l,d,p,u,e[t+9],21,-343485551),u=n(u,r),l=n(l,o),d=n(d,f),p=n(p,h)}return Uint32Array.of(u,l,d,p)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(r(8*e.length)).fill(0);for(let r=0;r<e.length;r++)t[r>>2]|=(255&e[r])<<r%4*8;return t}(e),8*e.length))}},40841(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstValueFrom=void 0;var n=r(59328),o=r(2708);t.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise(function(i,a){var s=new o.SafeSubscriber({next:function(e){i(e),s.unsubscribe()},error:a,complete:function(){r?i(t.defaultValue):a(new n.EmptyError)}});e.subscribe(s)})}},41125(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyncKeyValueStorage=void 0;const n=r(1123);t.SyncKeyValueStorage=class{constructor(e){this._storage=e}get storage(){if(!this._storage)throw new n.PlatformNotSupportedError;return this._storage}setItem(e,t){this.storage.setItem(e,t)}getItem(e){return this.storage.getItem(e)}removeItem(e){this.storage.removeItem(e)}clear(){this.storage.clear()}}},41185(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmplifyError=void 0;class r extends Error{constructor({message:e,name:t,recoverySuggestion:n,underlyingError:o,metadata:i}){if(super(e),this.name=t,this.underlyingError=o,this.recoverySuggestion=n,i){const{extendedRequestId:e,httpStatusCode:t,requestId:r}=i;this.metadata={extendedRequestId:e,httpStatusCode:t,requestId:r}}this.constructor=r,Object.setPrototypeOf(this,r.prototype)}}t.AmplifyError=r},41251(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseMetadata=void 0,t.parseMetadata=e=>{const{headers:t,statusCode:n}=e;return{...r(e)?e.$metadata:{},httpStatusCode:n,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}};const r=e=>"object"==typeof e?.$metadata},41271(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListMessagesFunction=void 0;const n=r(23151),o=r(85202),i=r(83102);t.createListMessagesFunction=(e,t,r,a,s)=>async c=>{const u=(0,n.listFactory)(e,t,a,s,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.ListMessages)),{data:l,nextToken:d,errors:p}=await u({...c,filter:{conversationId:{eq:r}}});return{data:l.map(e=>(0,o.convertItemToConversationMessage)(e)),nextToken:d,errors:p}}},41624(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveLibraryOptions=void 0,t.resolveLibraryOptions=e=>{const t=e.libraryOptions?.API?.REST?.retryStrategy,r=e.libraryOptions?.API?.REST?.defaultAuthMode;return{retryStrategy:t,defaultAuthMode:r}}},41719(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferTime=void 0;var o=r(69879),i=r(65212),a=r(17214),s=r(54830),c=r(62326),u=r(26404),l=r(28619);t.bufferTime=function(e){for(var t,r,d=[],p=1;p<arguments.length;p++)d[p-1]=arguments[p];var f=null!==(t=u.popScheduler(d))&&void 0!==t?t:c.asyncScheduler,h=null!==(r=d[0])&&void 0!==r?r:null,m=d[1]||1/0;return i.operate(function(t,r){var i=[],c=!1,u=function(e){var t=e.buffer;e.subs.unsubscribe(),s.arrRemove(i,e),r.next(t),c&&d()},d=function(){if(i){var t=new o.Subscription;r.add(t);var n={buffer:[],subs:t};i.push(n),l.executeSchedule(t,f,function(){return u(n)},e)}};null!==h&&h>=0?l.executeSchedule(r,f,d,h,!0):c=!0,d();var p=a.createOperatorSubscriber(r,function(e){var t,r,o=i.slice();try{for(var a=n(o),s=a.next();!s.done;s=a.next()){var c=s.value,l=c.buffer;l.push(e),m<=l.length&&u(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},function(){for(;null==i?void 0:i.length;)r.next(i.shift().buffer);null==p||p.unsubscribe(),r.complete(),r.unsubscribe()},void 0,function(){return i=null});t.subscribe(p)})}},41723(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.resolveLibraryOptions=t.resolveApiUrl=t.parseRestApiServiceError=t.parseSigningInfo=t.createCancellableOperation=void 0;var n=r(26060);Object.defineProperty(t,"createCancellableOperation",{enumerable:!0,get:function(){return n.createCancellableOperation}});var o=r(91625);Object.defineProperty(t,"parseSigningInfo",{enumerable:!0,get:function(){return o.parseSigningInfo}});var i=r(70352);Object.defineProperty(t,"parseRestApiServiceError",{enumerable:!0,get:function(){return i.parseRestApiServiceError}});var a=r(45814);Object.defineProperty(t,"resolveApiUrl",{enumerable:!0,get:function(){return a.resolveApiUrl}});var s=r(41624);Object.defineProperty(t,"resolveLibraryOptions",{enumerable:!0,get:function(){return s.resolveLibraryOptions}});var c=r(42811);Object.defineProperty(t,"logger",{enumerable:!0,get:function(){return c.logger}})},42020(e,t,r){"use strict";r.d(t,{i:()=>l});var n=r(10790),o=r(51609),i=r(82820);function a(e,t,r,n){return"center"===e||"center"===n?{top:t}:"end"===e?{bottom:r}:"start"===e?{top:r}:{}}function s(e,t,r,n,o){return"center"===e||"center"===n?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:r}:"start"===e?{["ltr"===o?"left":"right"]:r}:{}}const c={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function u({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:o,arrowX:i,arrowY:u,dir:l}){const[d,p="center"]=e.split("-"),f={width:t,height:t,transform:"rotate(45deg)",position:"absolute",[c[d]]:n},h=-t/2;return"left"===d?{...f,...a(p,u,r,o),right:h,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"polygon(100% 0, 0 0, 100% 100%)"}:"right"===d?{...f,...a(p,u,r,o),left:h,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}:"top"===d?{...f,...s(p,i,r,o,l),bottom:h,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}:"bottom"===d?{...f,...s(p,i,r,o,l),top:h,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}:{}}const l=(0,o.forwardRef)(({position:e,arrowSize:t,arrowOffset:r,arrowRadius:o,arrowPosition:a,visible:s,arrowX:c,arrowY:l,style:d,...p},f)=>{const{dir:h}=(0,i.jH)();return s?(0,n.jsx)("div",{...p,ref:f,style:{...d,...u({position:e,arrowSize:t,arrowOffset:r,arrowRadius:o,arrowPosition:a,dir:h,arrowX:c,arrowY:l})}}):null});l.displayName="@mantine/core/FloatingArrow"},42298(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeOAuthSignOut=void 0;const n=r(56547),o=r(22651),i=r(4870);t.completeOAuthSignOut=async e=>{await e.clearOAuthData(),i.tokenOrchestrator.clearTokens(),await(0,n.clearCredentials)(),n.Hub.dispatch("auth",{event:"signedOut"},"Auth",o.AMPLIFY_SYMBOL)}},42368(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.excludeDisabledOps=t.getSecondaryIndexesFromSchemaModel=void 0;const n=r(44287),o=e=>"key"===e.type&&e.properties?.name&&e.properties?.queryField&&e.properties?.fields.length>0;t.getSecondaryIndexesFromSchemaModel=e=>{const t=e.attributes?.filter(o).map(e=>{const t=e.properties.queryField,[r,...n]=e.properties.fields;return{queryField:t,pk:r,sk:n}});return t||[]},t.excludeDisabledOps=(e,t)=>{const r=e.models[t].attributes?.find(e=>"model"===e.type),o={queries:["list","get","observeQuery"],mutations:["create","update","delete"],subscriptions:["onCreate","onUpdate","onDelete"]},i=[];if(!r)return n.graphQLOperationsInfo;if(r.properties)for(const[e,t]of Object.entries(r.properties))e in o&&(null===t?i.push(...o[e]):t instanceof Object&&i.push(...Object.keys(t)));i.includes("list")&&i.push("observeQuery");const a=i.map(e=>e.toUpperCase());return Object.fromEntries(Object.entries(n.graphQLOperationsInfo).filter(([e])=>!a.includes(e)))}},42449(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","plus","Plus",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]])},42619(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.AuthConfigurationErrorCode=void 0;const n=r(1123);var o;!function(e){e.AuthTokenConfigException="AuthTokenConfigException",e.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",e.AuthUserPoolException="AuthUserPoolException",e.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",e.OAuthNotConfigureException="OAuthNotConfigureException"}(o||(t.AuthConfigurationErrorCode=o={}));const i={[o.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[o.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[o.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[o.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[o.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}};t.assert=(0,n.createAssertionFunction)(i)},42767(e,t){"use strict";function r(e,t,r){return{kind:e,value:t,error:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createNotification=t.nextNotification=t.errorNotification=t.COMPLETE_NOTIFICATION=void 0,t.COMPLETE_NOTIFICATION=r("C",void 0,void 0),t.errorNotification=function(e){return r("E",void 0,e)},t.nextNotification=function(e){return r("N",e,void 0)},t.createNotification=r},42775(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchDevices=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:d}=await(0,n.fetchAuthSession)();(0,i.assertAuthTokens)(d);const p=(0,c.createListDevicesClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:t})}),f=await p({region:(0,a.getRegionFromUserPoolId)(r),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.FetchDevices)},{AccessToken:d.accessToken.toString(),Limit:60});return l(f.Devices??[])};const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(17238),c=r(35456),u=r(28228),l=async e=>e.map(({DeviceKey:e="",DeviceAttributes:t=[],DeviceCreateDate:r,DeviceLastModifiedDate:n,DeviceLastAuthenticatedDate:o})=>{let i;const a=t.reduce((e,{Name:t,Value:r})=>(t&&r&&("device_name"===t&&(i=r),e[t]=r),e),{});return{id:e,name:i,attributes:a,createDate:r?new Date(1e3*r):void 0,lastModifiedDate:n?new Date(1e3*n):void 0,lastAuthenticatedDate:o?new Date(1e3*o):void 0}})},42811(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logger=void 0;const n=r(56547);t.logger=new n.ConsoleLogger("RestApis")},42910(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultAmplify=void 0;const n=r(56547),o=r(22651),i=r(82060);t.DefaultAmplify={configure(e,t){const r=(0,o.parseAmplifyConfig)(e),a=new n.CookieStorage({sameSite:"lax"}),s=t?.ssr?a:n.defaultStorage,c=t?.ssr?new i.CognitoAWSCredentialsAndIdentityIdProvider(new i.DefaultIdentityIdStore(a)):i.cognitoCredentialsProvider;if(r.Auth)if(t?.Auth)n.Amplify.configure(r,t);else{if(!n.Amplify.libraryOptions.Auth)return i.cognitoUserPoolsTokenProvider.setAuthConfig(r.Auth),i.cognitoUserPoolsTokenProvider.setKeyValueStorage(s),void n.Amplify.configure(r,{...t,Auth:{tokenProvider:i.cognitoUserPoolsTokenProvider,credentialsProvider:c}});if(t){const e=n.Amplify.libraryOptions.Auth;return void 0!==t.ssr&&(i.cognitoUserPoolsTokenProvider.setKeyValueStorage(s),e.credentialsProvider=c),void n.Amplify.configure(r,{Auth:e,...t})}n.Amplify.configure(r)}else n.Amplify.configure(r,t)},getConfig:()=>n.Amplify.getConfig()}},42916(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOnStreamEventFunction=void 0;const n=r(59640),o=r(83102),i=r(74700);t.createOnStreamEventFunction=(e,t,r,a,s)=>c=>{const{conversations:u}=t;if(!u)return{};const l=u[a].message.subscribe;return(0,n.customOpFactory)(e,t,"subscription",l,!1,s,(0,o.getCustomUserAgentDetails)(o.AiAction.OnStreamEvent))({conversationId:r}).subscribe(e=>{const{next:t,error:r}=(0,i.convertItemToConversationStreamEvent)(e);r&&c.error(r),t&&c.next(t)})}},43101(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmResetPassword=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userPoolClientId:r,userPoolId:p,userPoolEndpoint:f}=t,{username:h,newPassword:m}=e;(0,a.assertValidationError)(!!h,i.AuthValidationErrorCode.EmptyConfirmResetPasswordUsername),(0,a.assertValidationError)(!!m,i.AuthValidationErrorCode.EmptyConfirmResetPasswordNewPassword);const g=e.confirmationCode;(0,a.assertValidationError)(!!g,i.AuthValidationErrorCode.EmptyConfirmResetPasswordConfirmationCode);const y=e.options?.clientMetadata,v=(0,c.getUserContextData)({username:h,userPoolId:p,userPoolClientId:r}),b=(0,u.createConfirmForgotPasswordClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:f})});await b({region:(0,d.getRegionFromUserPoolId)(t.userPoolId),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.ConfirmResetPassword)},{Username:h,ConfirmationCode:g,Password:m,ClientMetadata:y,ClientId:t.userPoolClientId,UserContextData:v})};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(17238),c=r(99369),u=r(35456),l=r(28228),d=r(62639)},43226(e,t,r){"use strict";r.d(t,{A:()=>n});const n={"mantine-Select-input":"XEM1fi7HKUaOYx0mFv5y","wpc-container":"j7QpPcqW2jckSg1DEubK","wpc-tabs-label":"kgTxaDswJx4CJ__z0sAK","wpc-tabs-panel":"xcWdp1I5jR2QXPoJ5gBM","wpc-tabs-panel-mobile":"Ct44QjihhjkGaB38l5LT","wpc-title":"MannA2uadOvMSkgsvVkt","wpc-form-row":"gw3FC2npNCctIYLLvCnF","wpc-wp-login-settings":"iUh0QmWjqunUxccN1w4c","highlighted-doc-item":"OZr9mCA_J5Gf2Z9oejhU","form-field-label":"UWsIXEwIQEsewIRqLzic",item:"QjXM59EWL3oLuHAzz8V7",itemDragging:"DfjUGxocrQIv87jWwf1M",symbol:"cBTiTNfut5X26g0bzFLu",dragHandle:"EBRAqffRQhBgHtBNWN7L"}},43276(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChangePasswordClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createChangePasswordClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ChangePassword"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},43434(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sample=void 0;var n=r(19724),o=r(65212),i=r(5717),a=r(17214);t.sample=function(e){return o.operate(function(t,r){var o=!1,s=null;t.subscribe(a.createOperatorSubscriber(r,function(e){o=!0,s=e})),n.innerFrom(e).subscribe(a.createOperatorSubscriber(r,function(){if(o){o=!1;var e=s;s=null,r.next(e)}},i.noop))})}},43518(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthError=void 0;const n=r(22651);class o extends n.AmplifyError{constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}t.AuthError=o},43748(e,t,r){"use strict";r.d(t,{G:()=>q});var n=r(10790),o=r(88149),i=r(51609),a=r(56324),s=r(59396),c=r(46100),u=r(52837),l=r(66678),d=r(46798);const[p,f]=(0,d.F)("Combobox component was not found in tree");var h=r(86344),m=r(11507),g=r(2412),y=r(87986);const v={error:null},b=(0,s.V)((e,{size:t,color:r})=>({chevron:{"--combobox-chevron-size":(0,a.YC)(t,"combobox-chevron-size"),"--combobox-chevron-color":r?(0,h.r)(r,e):void 0}})),E=(0,g.P9)((e,t)=>{const r=(0,c.Y)("ComboboxChevron",v,e),{size:o,error:i,style:a,className:s,classNames:l,styles:d,unstyled:p,vars:f,mod:h,...g}=r,E=(0,u.I)({name:"ComboboxChevron",classes:y.A,props:r,style:a,className:s,classNames:l,styles:d,unstyled:p,vars:f,varsResolver:b,rootSelector:"chevron"});return(0,n.jsx)(m.a,{component:"svg",...g,...E("chevron"),size:o,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:i},h],ref:t,children:(0,n.jsx)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});E.classes=y.A,E.displayName="@mantine/core/ComboboxChevron";var w=r(31422);const S=(0,i.forwardRef)(({size:e,onMouseDown:t,onClick:r,onClear:o,...i},a)=>(0,n.jsx)(w.p.ClearButton,{ref:a,tabIndex:-1,"aria-hidden":!0,...i,onMouseDown:e=>{e.preventDefault(),t?.(e)},onClick:e=>{o(),r?.(e)}}));S.displayName="@mantine/core/ComboboxClearButton";const A=(0,g.P9)((e,t)=>{const{classNames:r,styles:o,className:i,style:a,hidden:s,...u}=(0,c.Y)("ComboboxDropdown",null,e),d=f();return(0,n.jsx)(l.A.Dropdown,{...u,ref:t,role:"presentation","data-hidden":s||void 0,...d.getStyles("dropdown",{className:i,style:a,classNames:r,styles:o})})});A.classes=y.A,A.displayName="@mantine/core/ComboboxDropdown";var _=r(49178);const P={refProp:"ref"},C=(0,g.P9)((e,t)=>{const{children:r,refProp:o}=(0,c.Y)("ComboboxDropdownTarget",P,e);if(f(),!(0,_.v)(r))throw new Error("Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return(0,n.jsx)(l.A.Target,{ref:t,refProp:o,children:r})});C.displayName="@mantine/core/ComboboxDropdownTarget";const I=(0,g.P9)((e,t)=>{const{classNames:r,className:o,style:i,styles:a,vars:s,...u}=(0,c.Y)("ComboboxEmpty",null,e),l=f();return(0,n.jsx)(m.a,{ref:t,...l.getStyles("empty",{className:o,classNames:r,styles:a,style:i}),...u})});I.classes=y.A,I.displayName="@mantine/core/ComboboxEmpty";var x=r(37055),O=r(94848),k=r(26810);function T({onKeyDown:e,withKeyboardNavigation:t,withAriaAttributes:r,withExpandedAttribute:n,targetType:o,autoComplete:a}){const s=f(),[c,u]=(0,i.useState)(null);return{...r?{"aria-haspopup":"listbox","aria-expanded":n?!(!s.store.listId||!s.store.dropdownOpened):void 0,"aria-controls":s.store.dropdownOpened&&s.store.listId?s.store.listId:void 0,"aria-activedescendant":s.store.dropdownOpened&&c||void 0,autoComplete:a,"data-expanded":s.store.dropdownOpened||void 0,"data-mantine-stop-propagation":s.store.dropdownOpened||void 0}:{},onKeyDown:r=>{if(e?.(r),!s.readOnly&&t){if(r.nativeEvent.isComposing)return;if("ArrowDown"===r.nativeEvent.code&&(r.preventDefault(),s.store.dropdownOpened?u(s.store.selectNextOption()):(s.store.openDropdown("keyboard"),u(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"ArrowUp"===r.nativeEvent.code&&(r.preventDefault(),s.store.dropdownOpened?u(s.store.selectPreviousOption()):(s.store.openDropdown("keyboard"),u(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"Enter"===r.nativeEvent.code||"NumpadEnter"===r.nativeEvent.code){if(229===r.nativeEvent.keyCode)return;const e=s.store.getSelectedOptionIndex();s.store.dropdownOpened&&-1!==e?(r.preventDefault(),s.store.clickSelectedOption()):"button"===o&&(r.preventDefault(),s.store.openDropdown("keyboard"))}"Escape"===r.key&&s.store.closeDropdown("keyboard"),"Space"===r.nativeEvent.code&&"button"===o&&(r.preventDefault(),s.store.toggleDropdown("keyboard"))}}}}const N={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},j=(0,g.P9)((e,t)=>{const{children:r,refProp:n,withKeyboardNavigation:o,withAriaAttributes:a,withExpandedAttribute:s,targetType:u,autoComplete:l,...d}=(0,c.Y)("ComboboxEventsTarget",N,e),p=(0,k.D)(r);if(!p)throw new Error("Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const h=f(),m=T({targetType:u,withAriaAttributes:a,withKeyboardNavigation:o,withExpandedAttribute:s,onKeyDown:p.props.onKeyDown,autoComplete:l});return(0,i.cloneElement)(p,{...m,...d,[n]:(0,x.pc)(t,h.store.targetRef,(0,O.x)(p))})});j.displayName="@mantine/core/ComboboxEventsTarget";const R=(0,g.P9)((e,t)=>{const{classNames:r,className:o,style:i,styles:a,vars:s,...u}=(0,c.Y)("ComboboxFooter",null,e),l=f();return(0,n.jsx)(m.a,{ref:t,...l.getStyles("footer",{className:o,classNames:r,style:i,styles:a}),...u,onMouseDown:e=>{e.preventDefault()}})});R.classes=y.A,R.displayName="@mantine/core/ComboboxFooter";var M=r(66284);const D=(0,g.P9)((e,t)=>{const{classNames:r,className:o,style:i,styles:a,vars:s,children:u,label:l,id:d,...p}=(0,c.Y)("ComboboxGroup",null,e),h=f(),g=(0,M.B)(d);return(0,n.jsxs)(m.a,{ref:t,role:"group","aria-labelledby":l?g:void 0,...h.getStyles("group",{className:o,classNames:r,style:i,styles:a}),...p,children:[l&&(0,n.jsx)("div",{id:g,...h.getStyles("groupLabel",{classNames:r,styles:a}),children:l}),u]})});D.classes=y.A,D.displayName="@mantine/core/ComboboxGroup";const U=(0,g.P9)((e,t)=>{const{classNames:r,className:o,style:i,styles:a,vars:s,...u}=(0,c.Y)("ComboboxHeader",null,e),l=f();return(0,n.jsx)(m.a,{ref:t,...l.getStyles("header",{className:o,classNames:r,style:i,styles:a}),...u,onMouseDown:e=>{e.preventDefault()}})});function F({value:e,valuesDivider:t=",",...r}){return(0,n.jsx)("input",{type:"hidden",value:Array.isArray(e)?e.join(t):e||"",...r})}U.classes=y.A,U.displayName="@mantine/core/ComboboxHeader",F.displayName="@mantine/core/ComboboxHiddenInput";const L=(0,g.P9)((e,t)=>{const r=(0,c.Y)("ComboboxOption",null,e),{classNames:o,className:a,style:s,styles:u,vars:l,onClick:d,id:p,active:h,onMouseDown:g,onMouseOver:y,disabled:v,selected:b,mod:E,...w}=r,S=f(),A=(0,i.useId)(),_=p||A;return(0,n.jsx)(m.a,{...S.getStyles("option",{className:a,classNames:o,styles:u,style:s}),...w,ref:t,id:_,mod:["combobox-option",{"combobox-active":h,"combobox-disabled":v,"combobox-selected":b},E],role:"option",onClick:e=>{v?e.preventDefault():(S.onOptionSubmit?.(r.value,r),d?.(e))},onMouseDown:e=>{e.preventDefault(),g?.(e)},onMouseOver:e=>{S.resetSelectionOnOptionHover&&S.store.resetSelectedOption(),y?.(e)}})});L.classes=y.A,L.displayName="@mantine/core/ComboboxOption";const z=(0,g.P9)((e,t)=>{const r=(0,c.Y)("ComboboxOptions",null,e),{classNames:o,className:a,style:s,styles:u,id:l,onMouseDown:d,labelledBy:p,...h}=r,g=f(),y=(0,M.B)(l);return(0,i.useEffect)(()=>{g.store.setListId(y)},[y]),(0,n.jsx)(m.a,{ref:t,...g.getStyles("options",{className:a,style:s,classNames:o,styles:u}),...h,id:y,role:"listbox","aria-labelledby":p,onMouseDown:e=>{e.preventDefault(),d?.(e)}})});z.classes=y.A,z.displayName="@mantine/core/ComboboxOptions";const V={withAriaAttributes:!0,withKeyboardNavigation:!0},H=(0,g.P9)((e,t)=>{const r=(0,c.Y)("ComboboxSearch",V,e),{classNames:o,styles:i,unstyled:a,vars:s,withAriaAttributes:u,onKeyDown:l,withKeyboardNavigation:d,size:p,...h}=r,m=f(),g=m.getStyles("search"),y=T({targetType:"input",withAriaAttributes:u,withKeyboardNavigation:d,withExpandedAttribute:!1,onKeyDown:l,autoComplete:"off"});return(0,n.jsx)(w.p,{ref:(0,x.pc)(t,m.store.searchRef),classNames:[{input:g.className},o],styles:[{input:g.style},i],size:p||m.size,...y,...h,__staticSelector:"Combobox"})});H.classes=y.A,H.displayName="@mantine/core/ComboboxSearch";const $={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},W=(0,g.P9)((e,t)=>{const{children:r,refProp:o,withKeyboardNavigation:a,withAriaAttributes:s,withExpandedAttribute:u,targetType:d,autoComplete:p,...h}=(0,c.Y)("ComboboxTarget",$,e),m=(0,k.D)(r);if(!m)throw new Error("Combobox.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const g=f(),y=T({targetType:d,withAriaAttributes:s,withKeyboardNavigation:a,withExpandedAttribute:u,onKeyDown:m.props.onKeyDown,autoComplete:p}),v=(0,i.cloneElement)(m,{...y,...h});return(0,n.jsx)(l.A.Target,{ref:(0,x.pc)(t,g.store.targetRef),children:v})});W.displayName="@mantine/core/ComboboxTarget";var B=r(24096);const K={keepMounted:!0,withinPortal:!0,resetSelectionOnOptionHover:!1,width:"target",transitionProps:{transition:"fade",duration:0},size:"sm"},G=(0,s.V)((e,{size:t,dropdownPadding:r})=>({options:{"--combobox-option-fz":(0,a.ny)(t),"--combobox-option-padding":(0,a.YC)(t,"combobox-option-padding")},dropdown:{"--combobox-padding":void 0===r?void 0:(0,o.D)(r),"--combobox-option-fz":(0,a.ny)(t),"--combobox-option-padding":(0,a.YC)(t,"combobox-option-padding")}}));function q(e){const t=(0,c.Y)("Combobox",K,e),{classNames:r,styles:o,unstyled:i,children:a,store:s,vars:d,onOptionSubmit:f,onClose:h,size:m,dropdownPadding:g,resetSelectionOnOptionHover:v,__staticSelector:b,readOnly:E,attributes:w,...S}=t,A=(0,B.B)(),_=s||A,P=(0,u.I)({name:b||"Combobox",classes:y.A,props:t,classNames:r,styles:o,unstyled:i,attributes:w,vars:d,varsResolver:G});return(0,n.jsx)(p,{value:{getStyles:P,store:_,onOptionSubmit:f,size:m,resetSelectionOnOptionHover:v,readOnly:E},children:(0,n.jsx)(l.A,{opened:_.dropdownOpened,preventPositionChangeWhenVisible:!1,...S,onChange:e=>!e&&(h?.(),void _.closeDropdown()),withRoles:!1,unstyled:i,children:a})})}q.extend=e=>e,q.classes=y.A,q.displayName="@mantine/core/Combobox",q.Target=W,q.Dropdown=A,q.Options=z,q.Option=L,q.Search=H,q.Empty=I,q.Chevron=E,q.Footer=R,q.Header=U,q.EventsTarget=j,q.DropdownTarget=C,q.Group=D,q.ClearButton=S,q.HiddenInput=F},43890(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytesToString=function(e){return Array.from(e,e=>String.fromCodePoint(e)).join("")}},44012(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64Encoder=void 0;const n=r(58506),o=r(43890);t.base64Encoder={convert(e,t={urlSafe:!1,skipPadding:!1}){const r="string"==typeof e?e:(0,o.bytesToString)(e);let i=(0,n.getBtoa)()(r);return t.urlSafe&&(i=i.replace(/\+/g,"-").replace(/\//g,"_")),t.skipPadding&&(i=i.replace(/=/g,"")),i}}},44056(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyValueStorage=void 0;const n=r(1123);t.KeyValueStorage=class{constructor(e){this.storage=e}async setItem(e,t){if(!this.storage)throw new n.PlatformNotSupportedError;this.storage.setItem(e,t)}async getItem(e){if(!this.storage)throw new n.PlatformNotSupportedError;return this.storage.getItem(e)}async removeItem(e){if(!this.storage)throw new n.PlatformNotSupportedError;this.storage.removeItem(e)}async clear(){if(!this.storage)throw new n.PlatformNotSupportedError;this.storage.clear()}}},44143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sampleTime=void 0;var n=r(62326),o=r(43434),i=r(62275);t.sampleTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.sample(i.interval(e,t))}},44287(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultSelectionSetForNonModelWithIR=t.graphQLOperationsInfo=t.flattenItems=void 0,t.initializeModel=function(e,t,r,c,u,l,d=!1){const p=c.models[t],f=p.fields,h=Object.entries(f).filter(([e,t])=>void 0!==t?.type?.model).map(([e])=>e);return r.map(t=>{if(null==t)return t;const r={};for(const m of h){const h=f[m],g=h?.type,y=g.model,v=c.models[y],b=v.primaryKeyInfo.primaryKeyFieldName,E=v.primaryKeyInfo.sortKeyFieldNames,w=h.association?.connectionType;let S=[];h.association&&"associatedWith"in h.association&&(S=h.association.associatedWith);const A=[];switch(h.association&&"targetNames"in h.association&&A.push(...h.association.targetNames),w){case s:{const n=E.reduce((e,r)=>(t[r]&&(e[r]=t[r]),e),{});if(void 0===e.models[y]?.get)break;r[m]=d?(r,o)=>t[A[0]]?e.models[y].get(r,{[b]:t[A[0]],...n},{authMode:o?.authMode||u,authToken:o?.authToken||l}):{data:null}:r=>t[A[0]]?e.models[y].get({[b]:t[A[0]],...n},{authMode:r?.authMode||u,authToken:r?.authToken||l}):{data:null};break}case i:case a:{const a=w===i?e=>({data:e?.data.shift()||null,errors:e.errors,extensions:e.extensions}):e=>e,s=p.primaryKeyInfo.primaryKeyFieldName,c=p.primaryKeyInfo.sortKeyFieldNames,f=v.fields[S[0]];if(f.type.model){let i=[];f.association&&"targetNames"in f.association&&(i=f.association?.targetNames);const p=i.map((e,r)=>0===r?{[e]:{eq:t[s]}}:{[e]:{eq:t[c[r-1]]}});if(void 0===e.models[y]?.list)break;r[m]=d?(r,i)=>t[s]?(0,n.selfAwareAsync)(async t=>{const n=e.models[y].list(r,{filter:{and:p},limit:i?.limit,nextToken:i?.nextToken,authMode:i?.authMode||u,authToken:i?.authToken||l}),s=(0,o.extendCancellability)(n,t);return a(await s)}):[]:r=>t[s]?(0,n.selfAwareAsync)(async t=>{const n=e.models[y].list({filter:{and:p},limit:r?.limit,nextToken:r?.nextToken,authMode:r?.authMode||u,authToken:r?.authToken||l}),i=(0,o.extendCancellability)(n,t);return a(await i)}):[];break}const h=S.map((e,r)=>0===r?{[e]:{eq:t[s]}}:{[e]:{eq:t[c[r-1]]}});if(void 0===e.models[y]?.list)break;r[m]=d?(r,i)=>t[s]?(0,n.selfAwareAsync)(async t=>{const n=e.models[y].list(r,{filter:{and:h},limit:i?.limit,nextToken:i?.nextToken,authMode:i?.authMode||u,authToken:i?.authToken||l}),s=(0,o.extendCancellability)(n,t);return a(await s)}):[]:r=>t[s]?(0,n.selfAwareAsync)(async t=>{const n=e.models[y].list({filter:{and:h},limit:r?.limit,nextToken:r?.nextToken,authMode:r?.authMode||u,authToken:r?.authToken||l}),i=(0,o.extendCancellability)(n,t);return a(await i)}):[];break}}}return{...t,...r}})},t.customSelectionSetToIR=h,t.selectionSetIRToString=m,t.generateSelectionSet=y,t.generateGraphQLDocument=function(e,r,o,i,a){const{name:s,pluralName:l,fields:d,primaryKeyInfo:{isCustomPrimaryKey:p,primaryKeyFieldName:f,sortKeyFieldNames:h},attributes:m}=r,g=s.charAt(0).toUpperCase()+s.slice(1),v=l.charAt(0).toUpperCase()+l.slice(1),{operationPrefix:b,usePlural:E}=t.graphQLOperationsInfo[o],{selectionSet:w}=i||{};let S,A,_,P,C;if(b)S=`${b}${E?v:g}`;else{if(!a)throw new Error("Error generating GraphQL Document - invalid operation name");{const{queryField:e,pk:t,sk:r=[]}=a;S=e;let o={};if(1===r.length){const[e]=r,t="string"==typeof d[e].type?d[e].type:"String",n=c[t];o={[e]:`Model${n}KeyConditionInput`}}else if(r.length>1){const t=u(r),i=m?.find(t=>t?.properties?.queryField===e)?.properties?.name;o={[t]:`Model${(0,n.capitalize)(s)}${(0,n.capitalize)(i)}CompositeKeyConditionInput`}}A={[t]:`${Object.prototype.hasOwnProperty.call(d[t].type,"enum")?d[t].type.enum:d[t].type}!`,...o}}}const I=y(e,s,w),x={[f]:`${d[f].type}!`},O={},k=e=>{if(0===h.length)return{};if("get"===e)return h.reduce((t,r)=>{const n=d[r].type;return"get"===e&&(t[r]=`${n}!`),t},{});if(1===h.length){const[e]=h,t="string"==typeof d[e].type?d[e].type:"String",r=c[t];return{[e]:`Model${r}KeyConditionInput`}}{const e=u(h);return{[e]:`Model${(0,n.capitalize)(s)}PrimaryCompositeKeyConditionInput`}}};switch(p&&(Object.assign(x,k("get")),Object.assign(O,{[f]:`${d[f].type}`,sortDirection:"ModelSortDirection"},k("list"))),o){case"CREATE":case"UPDATE":case"DELETE":C??(C={input:`${b.charAt(0).toLocaleUpperCase()+b.slice(1)}${g}Input!`}),_??(_="mutation");case"GET":C??(C=x),P??(P=I);case"LIST":C??(C={...O,filter:`Model${g}FilterInput`,limit:"Int",nextToken:"String"}),_??(_="query"),P??(P=`items { ${I} } nextToken __typename`);case"INDEX_QUERY":C??(C={...A,filter:`Model${g}FilterInput`,sortDirection:"ModelSortDirection",limit:"Int",nextToken:"String"}),_??(_="query"),P??(P=`items { ${I} } nextToken __typename`);case"ONCREATE":case"ONUPDATE":case"ONDELETE":C??(C={filter:`ModelSubscription${g}FilterInput`}),_??(_="subscription"),P??(P=I);break;default:throw new Error("Internal error: Attempted to generate graphql document for observeQuery. Please report this error.")}return`${_}${C?`(${Object.entries(C).map(([e,t])=>`$${e}: ${t}`)})`:""} { ${S}${C?`(${Object.keys(C).map(e=>`${e}: $${e}`)})`:""} { ${P} } }`},t.buildGraphQLVariables=function(e,t,r,o,i){const{fields:a,primaryKeyInfo:{isCustomPrimaryKey:s,primaryKeyFieldName:c,sortKeyFieldNames:l}}=e,d=l?.length&&u(l);let p={};switch(t){case"CREATE":p={input:r?v(r,e,o):{}};break;case"UPDATE":p={input:r?Object.fromEntries(Object.entries(v(r,e,o)).filter(([t])=>a[t]?!a[t].isReadOnly:!(0,n.resolveOwnerFields)(e).includes(t))):{}};break;case"GET":case"DELETE":r&&(p=s?[c,...l].reduce((e,t)=>(e[t]=r[t],e),{}):{[c]:r[c]}),"DELETE"===t&&(p={input:p});break;case"LIST":r?.filter&&(p.filter=r.filter),r?.sortDirection&&(p.sortDirection=r.sortDirection),r&&r[c]&&(p[c]=r[c]),d&&r&&r[d]&&(p[d]=r[d]),r?.nextToken&&(p.nextToken=r.nextToken),r?.limit&&(p.limit=r.limit);break;case"INDEX_QUERY":{const{pk:e,sk:t=[]}=i,n=t?.length&&u(t);p[e]=r[e],n&&r&&r[n]&&(p[n]=r[n]),r?.filter&&(p.filter=r.filter),r?.sortDirection&&(p.sortDirection=r.sortDirection),r?.nextToken&&(p.nextToken=r.nextToken),r?.limit&&(p.limit=r.limit);break}case"ONCREATE":case"ONUPDATE":case"ONDELETE":r?.filter&&(p={filter:r.filter});break;case"OBSERVEQUERY":throw new Error("Internal error: Attempted to build variables for observeQuery. Please report this error.");default:throw new Error(`Unhandled operation case: ${t}`)}return p},t.normalizeMutationInput=v,t.authModeParams=function(e,t,r={}){const n=t(e);return{authMode:r.authMode||n.authMode,authToken:r.authToken||n.authToken}},t.getCustomHeaders=function(e,t,r){let n=t(e).headers||{};return r&&(n=r),n};const n=r(17631),o=r(53841),i="HAS_ONE",a="HAS_MANY",s="BELONGS_TO",c={ID:"ID",String:"String",AWSDate:"String",AWSTime:"String",AWSDateTime:"String",AWSTimestamp:"Int",AWSEmail:"String",AWSPhone:"String",AWSURL:"String",AWSIPAddress:"String",AWSJSON:"String",Boolean:"Boolean",Int:"Int",Float:"Float"},u=e=>1===e.length?e[0]:e.reduce((e,t,r)=>0===r?t:e+(0,n.capitalize)(t),"");function l(e){return"object"==typeof e.fieldDef?.type&&"model"in e.fieldDef.type&&"string"==typeof e.fieldDef.type.model&&e.fieldDef.isArray&&Array.isArray(e.value?.items)}function d(e){return"object"==typeof e?.type&&"model"in e.type&&"string"==typeof e.type.model}t.flattenItems=(e,r,n)=>{if(!n)return null;const o={};for(const[i,a]of Object.entries(n)){const n=r?e.models[r]?.fields[i]:void 0,s={fieldDef:n,value:a};l(s)?o[i]=s.value.items.map(r=>(0,t.flattenItems)(e,s.fieldDef.type.model,r)):d(n)?o[i]=(0,t.flattenItems)(e,n.type.model,a):o[i]=a}return o},t.graphQLOperationsInfo={CREATE:{operationPrefix:"create",usePlural:!1},GET:{operationPrefix:"get",usePlural:!1},UPDATE:{operationPrefix:"update",usePlural:!1},DELETE:{operationPrefix:"delete",usePlural:!1},LIST:{operationPrefix:"list",usePlural:!0},INDEX_QUERY:{operationPrefix:"",usePlural:!1},ONCREATE:{operationPrefix:"onCreate",usePlural:!1},ONUPDATE:{operationPrefix:"onUpdate",usePlural:!1},ONDELETE:{operationPrefix:"onDelete",usePlural:!1},OBSERVEQUERY:{operationPrefix:"observeQuery",usePlural:!1}},t.getDefaultSelectionSetForNonModelWithIR=(e,r)=>{const{fields:n}=e,o=Object.values(n).map(({type:e,name:n})=>"string"==typeof e.enum?[n,f]:"string"==typeof e.nonModel?[n,(0,t.getDefaultSelectionSetForNonModelWithIR)(r.nonModels[e.nonModel],r)]:"string"==typeof e?[n,f]:void 0).filter(e=>void 0!==e);return Object.fromEntries(o)};const p=(e,r)=>{const{fields:o}=e,i=Object.values(o).map(({type:e,name:n})=>"string"==typeof e.enum||"string"==typeof e?[n,f]:"string"==typeof e.nonModel?[n,(0,t.getDefaultSelectionSetForNonModelWithIR)(r.nonModels[e.nonModel],r)]:void 0).filter(e=>void 0!==e),a=(0,n.resolveOwnerFields)(e).map(e=>[e,f]);return Object.fromEntries(i.concat(a))},f="";function h(e,r,o){const i=(r,o)=>{const[a,...s]=r.split("."),c=s[0],u=e.models[o]??e.nonModels[o],l=u?.fields,d=l?.[a]?.type?.model,h=e.models[d],m=l?.[a]?.type?.nonModel,g=e.nonModels[m],y=h?"model":g?"nonModel":"field";if("nonModel"===y){let r={};if(!c)throw Error(`${a} must declare a wildcard (*) or a field of custom type ${m}`);return r="*"===c?{[a]:(0,t.getDefaultSelectionSetForNonModelWithIR)(g,e)}:{[a]:i(s.join("."),m)},r}if("model"===y){let t={};if(!c)throw Error(`${a} must declare a wildcard (*) or a field of model ${d}`);if("*"===c){const r=e.models[d];t={[a]:p(r,e)}}else t={[a]:i(s.join("."),d)};return l[a]?.isArray&&(t={[a]:{items:t[a]}}),t}{const t=l?.[a],r=e.nonModels[o],i=r?.fields?.[a];if(r){if(!i)throw Error(`${a} is not a field of custom type ${o}`)}else{const e=(0,n.resolveOwnerFields)(u).includes(a);if(!t&&!e)throw Error(`${a} is not a field of model ${o}`)}return{[a]:f}}};return o.reduce((e,t)=>g(i(t,r),e),{})}function m(e){const t=[];return Object.entries(e).forEach(([e,r])=>{r===f?t.push(e):"object"==typeof r&&null!==r&&(r?.items?t.push(e,"{","items","{",m(r.items),"}","}"):t.push(e,"{",m(r),"}"))}),t.join(" ")}function g(e,t){const r=e=>e&&"object"==typeof e;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Object.prototype.hasOwnProperty.call(t,n)&&r(t[n])?g(e[n],t[n]):t[n]=e[n]);return t}function y(e,t,r){const o=e.models[t],i=h(e,t,r??function(e){const{fields:t}=e,r=Object.values(t).map(({type:e,name:t})=>{if("string"==typeof e)return t;if("object"==typeof e){if("string"==typeof e?.enum)return t;if("string"==typeof e?.nonModel)return`${t}.*`}}).filter(Boolean),o=(0,n.resolveOwnerFields)(e);return Array.from(new Set(r.concat(o)))}(o));return m(i)}function v(e,t,r){const{fields:n}=t,o={};return Object.entries(e).forEach(([e,t])=>{const a=n[e]?.type,c=a?.model;if(c){const a=n[e]?.association,u=r.models[c].primaryKeyInfo;if(a?.connectionType===i){const e=a;e.targetNames.forEach((r,n)=>{const i=e.associatedWith[n];o[r]=t[i]})}a?.connectionType===s&&a.targetNames.forEach((e,r)=>{if(0===r){const r=u.primaryKeyFieldName;o[e]=t[r]}else{const n=u.sortKeyFieldNames[r-1];o[e]=t[n]}})}else o[e]=t}),o}},44610(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},44812(e,t,r){"use strict";function n({theme:e,styles:t,props:r,stylesCtx:n}){return(Array.isArray(t)?t:[t]).reduce((t,o)=>"function"==typeof o?{...t,...o(e,r,n)}:{...t,...o},{})}r.d(t,{N:()=>n})},44880(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0;var n=r(65212),o=r(17214),i=r(19724);t.throttle=function(e,t){return n.operate(function(r,n){var a=null!=t?t:{},s=a.leading,c=void 0===s||s,u=a.trailing,l=void 0!==u&&u,d=!1,p=null,f=null,h=!1,m=function(){null==f||f.unsubscribe(),f=null,l&&(v(),h&&n.complete())},g=function(){f=null,h&&n.complete()},y=function(t){return f=i.innerFrom(e(t)).subscribe(o.createOperatorSubscriber(n,m,g))},v=function(){if(d){d=!1;var e=p;p=null,n.next(e),!h&&y(e)}};r.subscribe(o.createOperatorSubscriber(n,function(e){d=!0,p=e,(!f||f.closed)&&(c?v():y(e))},function(){h=!0,(!(l&&d&&f)||f.closed)&&n.complete()}))})}},44885(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var n=r(48051);t.EMPTY=new n.Observable(function(e){return e.complete()}),t.empty=function(e){return e?function(e){return new n.Observable(function(t){return e.schedule(function(){return t.complete()})})}(e):t.EMPTY}},45341(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=void 0;const n=r(56547),o=r(82783);t.getCurrentUser=async()=>(0,o.getCurrentUser)(n.Amplify)},45585(e,t,r){"use strict";r.d(t,{o:()=>o});var n=r(51609);const o="undefined"!=typeof document?n.useLayoutEffect:n.useEffect},45727(e,t,r){"use strict";function n(e="mantine-"){return`${e}${Math.random().toString(36).slice(2,11)}`}r.d(t,{z:()=>n})},45804(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateUserAttributes=void 0;const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(39726),c=r(17238),u=r(35456),l=r(28228);function d(e){const t={};return Object.keys(e)?.forEach(e=>{t[e]={isUpdated:!0,nextStep:{updateAttributeStep:"DONE"}}}),t}function p(e){const t={};return e?.forEach(e=>{const{AttributeName:r,DeliveryMedium:n,Destination:o}=e;r&&(t[r]={isUpdated:!1,nextStep:{updateAttributeStep:"CONFIRM_ATTRIBUTE_WITH_CODE",codeDeliveryDetails:{attributeName:r,deliveryMedium:n,destination:o}}})}),t}t.updateUserAttributes=async e=>{const{userAttributes:t,options:r}=e,f=n.Amplify.getConfig().Auth?.Cognito,h=r?.clientMetadata;(0,o.assertTokenProviderConfig)(f);const{userPoolEndpoint:m,userPoolId:g}=f,{tokens:y}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,i.assertAuthTokens)(y);const v=(0,u.createUpdateUserAttributesClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:m})}),{CodeDeliveryDetailsList:b}=await v({region:(0,a.getRegionFromUserPoolId)(g),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.UpdateUserAttributes)},{AccessToken:y.accessToken.toString(),ClientMetadata:h,UserAttributes:(0,s.toAttributeType)(t)});return{...d(t),...p(b)}}},45814(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveApiUrl=void 0;const n=r(22651),o=r(59645);t.resolveApiUrl=(e,t,r,i)=>{const a=e.getConfig()?.API?.REST?.[t]?.endpoint;(0,o.assertValidationError)(!!a,o.RestApiValidationErrorCode.InvalidApiName);try{let e;if(e=n.AmplifyUrl.canParse(a+r)?new n.AmplifyUrl(a+r):new n.AmplifyUrl(a+r,location?.origin),i){const t=new n.AmplifyUrlSearchParams(e.searchParams);Object.entries(i).forEach(([e,r])=>{t.set(e,r)}),e.search=new n.AmplifyUrlSearchParams(t).toString()}return e}catch(e){throw new o.RestApiError({name:o.RestApiValidationErrorCode.InvalidApiName,...o.validationErrorMap[o.RestApiValidationErrorCode.InvalidApiName],recoverySuggestion:`Please make sure the REST endpoint URL is a valid URL string. Got ${a}`})}}},45977(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIamAuthApplicableForRest=t.isIamAuthApplicableForGraphQL=void 0,t.isIamAuthApplicableForGraphQL=({headers:e},t)=>!e.authorization&&!e["x-api-key"]&&!!t,t.isIamAuthApplicableForRest=({headers:e},t)=>!e.authorization&&!!t},46076(e,t,r){"use strict";r.d(t,{N:()=>l});var n=r(10790),o=(r(51609),r(46100)),i=r(52837),a=r(11507),s=r(18639),c={root:"m_87cf2631"};const u={__staticSelector:"UnstyledButton"},l=(0,s.v)((e,t)=>{const r=(0,o.Y)("UnstyledButton",u,e),{className:s,component:l="button",__staticSelector:d,unstyled:p,classNames:f,styles:h,style:m,attributes:g,...y}=r,v=(0,i.I)({name:d,props:r,classes:c,className:s,style:m,classNames:f,styles:h,unstyled:p,attributes:g});return(0,n.jsx)(a.a,{...v("root",{focusable:!0}),component:l,ref:t,type:"button"===l?"button":void 0,...y})});l.classes=c,l.displayName="@mantine/core/UnstyledButton"},46100(e,t,r){"use strict";r.d(t,{Y:()=>i});var n=r(77602),o=(r(51609),r(10790),r(1101));function i(e,t,r){const i=(0,o.xd)(),a=i.components[e]?.defaultProps;return{...t,..."function"==typeof a?a(i):a,...(0,n.J)(r)}}},46356(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(76011),o=r(31425),i=r(96568);t.default=function(e,t,r){e??={},r??=0;let a=(0,o.default)({...e,_v6:!0},new Uint8Array(16));if(a=(0,i.default)(a),t){for(let e=0;e<16;e++)t[r+e]=a[e];return t}return(0,n.unsafeStringify)(a)}},46414(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRespondToAuthChallengeClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createRespondToAuthChallengeClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("RespondToAuthChallenge"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},46644(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasskeyRegistrationError=void 0;const n=r(27287),o=r(54129);t.handlePasskeyRegistrationError=e=>{if(e instanceof o.PasskeyError)return e;if(e instanceof Error){if("InvalidStateError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.PasskeyAlreadyExists];return new o.PasskeyError({name:o.PasskeyErrorCode.PasskeyAlreadyExists,message:t,recoverySuggestion:r,underlyingError:e})}if("NotAllowedError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.PasskeyRegistrationCanceled];return new o.PasskeyError({name:o.PasskeyErrorCode.PasskeyRegistrationCanceled,message:t,recoverySuggestion:r,underlyingError:e})}}return(0,n.handlePasskeyError)(e)}},46742(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetUserAttributeVerificationCodeClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createGetUserAttributeVerificationCodeClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("GetUserAttributeVerificationCode"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},46798(e,t,r){"use strict";r.d(t,{F:()=>i});var n=r(10790),o=r(51609);function i(e){const t=(0,o.createContext)(null);return[({children:e,value:r})=>(0,n.jsx)(t.Provider,{value:r,children:e}),()=>{const r=(0,o.useContext)(t);if(null===r)throw new Error(e);return r}]}},46834(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCancelError=t.CanceledError=void 0;const n=r(85533);class o extends n.RestApiError{constructor(e={}){super({name:"CanceledError",message:"Request is canceled by user",...e}),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}t.CanceledError=o,t.isCancelError=e=>!!e&&e instanceof o},47058(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var n=r(30131),o=r(19724);t.from=function(e,t){return t?n.scheduled(e,t):o.innerFrom(e)}},47143(e){"use strict";e.exports=window.wp.data},47171(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initiateSelectedChallenge=async function({username:e,session:t,selectedChallenge:r,config:c,clientMetadata:u}){return(0,o.createRespondToAuthChallengeClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:c.userPoolEndpoint})})({region:(0,a.getRegionFromUserPoolId)(c.userPoolId),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:{USERNAME:e,ANSWER:r},ClientId:c.userPoolClientId,Session:t,ClientMetadata:u})};const n=r(22651),o=r(35456),i=r(28228),a=r(62639),s=r(17238)},47197(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGraphQLResponseWithErrors=function(e){if(!e)return!1;const t=e;return Array.isArray(t.errors)&&t.errors.length>0}},47278(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createKeysForAuthStorage=t.DefaultTokenStore=void 0,t.getAuthStorageKeys=c;const n=r(22651),o=r(43518),i=r(83995),a=r(87567),s=r(24631);function c(e){const t=Object.values({...e});return(e,r)=>t.reduce((t,n)=>({...t,[n]:`${e}.${r}.${n}`}),{})}t.DefaultTokenStore=class{getKeyValueStorage(){if(!this.keyValueStorage)throw new o.AuthError({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(e){this.keyValueStorage=e}setAuthConfig(e){this.authConfig=e}async loadTokens(){try{const e=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e.accessToken);if(!t)throw new o.AuthError({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});const r=(0,n.decodeJWT)(t),i=await this.getKeyValueStorage().getItem(e.idToken),a=i?(0,n.decodeJWT)(i):void 0,s=await this.getKeyValueStorage().getItem(e.refreshToken)??void 0,c=await this.getKeyValueStorage().getItem(e.clockDrift)??"0",u=Number.parseInt(c),l=await this.getKeyValueStorage().getItem(e.signInDetails),d={accessToken:r,idToken:a,refreshToken:s,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:u,username:await this.getLastAuthUser()};return l&&(d.signInDetails=JSON.parse(l)),d}catch(e){return null}}async storeTokens(e){(0,a.assert)(void 0!==e,a.TokenProviderErrorCode.InvalidAuthTokens);const t=e.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),t);const r=await this.getAuthKeys();await this.getKeyValueStorage().setItem(r.accessToken,e.accessToken.toString()),e.idToken?await this.getKeyValueStorage().setItem(r.idToken,e.idToken.toString()):await this.getKeyValueStorage().removeItem(r.idToken),e.refreshToken?await this.getKeyValueStorage().setItem(r.refreshToken,e.refreshToken):await this.getKeyValueStorage().removeItem(r.refreshToken),e.deviceMetadata&&(e.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(r.deviceKey,e.deviceMetadata.deviceKey),e.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(r.deviceGroupKey,e.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(r.randomPasswordKey,e.deviceMetadata.randomPassword)),e.signInDetails?await this.getKeyValueStorage().setItem(r.signInDetails,JSON.stringify(e.signInDetails)):await this.getKeyValueStorage().removeItem(r.signInDetails),await this.getKeyValueStorage().setItem(r.clockDrift,`${e.clockDrift}`)}async clearTokens(){const e=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(e.accessToken),this.getKeyValueStorage().removeItem(e.idToken),this.getKeyValueStorage().removeItem(e.clockDrift),this.getKeyValueStorage().removeItem(e.refreshToken),this.getKeyValueStorage().removeItem(e.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(e.oauthMetadata)])}async getDeviceMetadata(e){const t=await this.getAuthKeys(e),r=await this.getKeyValueStorage().getItem(t.deviceKey),n=await this.getKeyValueStorage().getItem(t.deviceGroupKey),o=await this.getKeyValueStorage().getItem(t.randomPasswordKey);return o&&n&&r?{deviceKey:r,deviceGroupKey:n,randomPassword:o}:null}async clearDeviceMetadata(e){const t=await this.getAuthKeys(e);await Promise.all([this.getKeyValueStorage().removeItem(t.deviceKey),this.getKeyValueStorage().removeItem(t.deviceGroupKey),this.getKeyValueStorage().removeItem(t.randomPasswordKey)])}async getAuthKeys(e){(0,n.assertTokenProviderConfig)(this.authConfig?.Cognito);const r=e??await this.getLastAuthUser();return(0,t.createKeysForAuthStorage)(s.AUTH_KEY_PREFIX,`${this.authConfig.Cognito.userPoolClientId}.${r}`)}getLastAuthUserKey(){(0,n.assertTokenProviderConfig)(this.authConfig?.Cognito);const e=this.authConfig.Cognito.userPoolClientId;return`${s.AUTH_KEY_PREFIX}.${e}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(e){const{oauthMetadata:t}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(t,JSON.stringify(e))}async getOAuthMetadata(){const{oauthMetadata:e}=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e);return t&&JSON.parse(t)}},t.createKeysForAuthStorage=(e,t)=>c(i.AuthTokenStorageKeys)(`${e}`,t)},47657(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateUserAttribute=void 0;const n=r(45804);t.updateUserAttribute=async e=>{const{userAttribute:{attributeKey:t,value:r},options:o}=e,i=await(0,n.updateUserAttributes)({userAttributes:{[t]:r},options:o});return Object.values(i)[0]}},47867(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPasskey=void 0;const n=r(67579),o=r(6837),i=r(2126),a=r(13321);t.getPasskey=async e=>{try{const t=(0,o.getIsPasskeySupported)();(0,n.assertPasskeyError)(t,n.PasskeyErrorCode.PasskeyNotSupported);const r=(0,i.deserializeJsonToPkcGetOptions)(e),s=await navigator.credentials.get({publicKey:r});return(0,a.assertCredentialIsPkcWithAuthenticatorAssertionResponse)(s),(0,i.serializePkcWithAssertionToJson)(s)}catch(e){throw(0,n.handlePasskeyAuthenticationError)(e)}}},48051(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var n=r(2708),o=r(69879),i=r(2884),a=r(99517),s=r(93728),c=r(10281),u=r(12688),l=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var i,a=this,s=(i=e)&&i instanceof n.Subscriber||function(e){return e&&c.isFunction(e.next)&&c.isFunction(e.error)&&c.isFunction(e.complete)}(i)&&o.isSubscription(i)?e:new n.SafeSubscriber(e,t,r);return u.errorContext(function(){var e=a,t=e.operator,r=e.source;s.add(t?t.call(s,r):r?a._subscribe(s):a._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=d(t))(function(t,o){var i=new n.SafeSubscriber({next:function(t){try{e(t)}catch(e){o(e),i.unsubscribe()}},error:o,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[i.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=d(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function d(e){var t;return null!==(t=null!=e?e:s.config.Promise)&&void 0!==t?t:Promise}t.Observable=l},48105(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveAndClearInflightPromises=t.addInflightPromise=void 0;const r=[];t.addInflightPromise=e=>{r.push(e)},t.resolveAndClearInflightPromises=()=>{for(;r.length;)r.pop()?.()}},48286(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(73779),o=r(52291),i=r(76011);t.default=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();const a=(e=e||{}).random??e.rng?.()??(0,o.default)();if(a.length<16)throw new Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=a[e];return t}return(0,i.unsafeStringify)(a)}},48310(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleListGraphQlError=function(e){if(e?.errors)return{...e,data:[]};throw e},t.handleSingularGraphQlError=function(e){if(e.errors)return{...e,data:null};throw e}},48324(e,t,r){"use strict";r.d(t,{M:()=>S});var n=r(10790),o=(r(51609),r(56324)),i=r(59396),a=r(46100),s=r(52837),c=r(11507),u=r(18639),l=r(24952),d=r(73087),p=r(46076),f=r(88149),h=r(2412),m={root:"m_8d3f4000",icon:"m_8d3afb97",loader:"m_302b9fb1",group:"m_1a0f1b21",groupSection:"m_437b6484"};const g={orientation:"horizontal"},y=(0,i.V)((e,{borderWidth:t})=>({group:{"--ai-border-width":(0,f.D)(t)}})),v=(0,h.P9)((e,t)=>{const r=(0,a.Y)("ActionIconGroup",g,e),{className:o,style:i,classNames:u,styles:l,unstyled:d,orientation:p,vars:f,borderWidth:h,variant:v,mod:b,attributes:E,...w}=(0,a.Y)("ActionIconGroup",g,e),S=(0,s.I)({name:"ActionIconGroup",props:r,classes:m,className:o,style:i,classNames:u,styles:l,unstyled:d,attributes:E,vars:f,varsResolver:y,rootSelector:"group"});return(0,n.jsx)(c.a,{...S("group"),ref:t,variant:v,mod:[{"data-orientation":p},b],role:"group",...w})});v.classes=m,v.displayName="@mantine/core/ActionIconGroup";const b=(0,i.V)((e,{radius:t,color:r,gradient:n,variant:i,autoContrast:a,size:s})=>{const c=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:i||"filled",autoContrast:a});return{groupSection:{"--section-height":(0,o.YC)(s,"section-height"),"--section-padding-x":(0,o.YC)(s,"section-padding-x"),"--section-fz":(0,o.ny)(s),"--section-radius":void 0===t?void 0:(0,o.nJ)(t),"--section-bg":r||i?c.background:void 0,"--section-color":c.color,"--section-bd":r||i?c.border:void 0}}}),E=(0,h.P9)((e,t)=>{const r=(0,a.Y)("ActionIconGroupSection",null,e),{className:o,style:i,classNames:u,styles:l,unstyled:d,vars:p,variant:f,gradient:h,radius:g,autoContrast:y,attributes:v,...E}=r,w=(0,s.I)({name:"ActionIconGroupSection",props:r,classes:m,className:o,style:i,classNames:u,styles:l,unstyled:d,attributes:v,vars:p,varsResolver:b,rootSelector:"groupSection"});return(0,n.jsx)(c.a,{...w("groupSection"),ref:t,variant:f,...E})});E.classes=m,E.displayName="@mantine/core/ActionIconGroupSection";const w=(0,i.V)((e,{size:t,radius:r,variant:n,gradient:i,color:a,autoContrast:s})=>{const c=e.variantColorResolver({color:a||e.primaryColor,theme:e,gradient:i,variant:n||"filled",autoContrast:s});return{root:{"--ai-size":(0,o.YC)(t,"ai-size"),"--ai-radius":void 0===r?void 0:(0,o.nJ)(r),"--ai-bg":a||n?c.background:void 0,"--ai-hover":a||n?c.hover:void 0,"--ai-hover-color":a||n?c.hoverColor:void 0,"--ai-color":c.color,"--ai-bd":a||n?c.border:void 0}}}),S=(0,u.v)((e,t)=>{const r=(0,a.Y)("ActionIcon",null,e),{className:o,unstyled:i,variant:u,classNames:f,styles:h,style:g,loading:y,loaderProps:v,size:b,color:E,radius:S,__staticSelector:A,gradient:_,vars:P,children:C,disabled:I,"data-disabled":x,autoContrast:O,mod:k,attributes:T,...N}=r,j=(0,s.I)({name:["ActionIcon",A],props:r,className:o,style:g,classes:m,classNames:f,styles:h,unstyled:i,attributes:T,vars:P,varsResolver:w});return(0,n.jsxs)(p.N,{...j("root",{active:!I&&!y&&!x}),...N,unstyled:i,variant:u,size:b,disabled:I||y,ref:t,mod:[{loading:y,disabled:I||x},k],children:["boolean"==typeof y&&(0,n.jsx)(d.e,{mounted:y,transition:"slide-down",duration:150,children:e=>(0,n.jsx)(c.a,{component:"span",...j("loader",{style:e}),"aria-hidden":!0,children:(0,n.jsx)(l.a,{color:"var(--ai-color)",size:"calc(var(--ai-size) * 0.55)",...v})})}),(0,n.jsx)(c.a,{component:"span",mod:{loading:y},...j("icon"),children:C})]})});S.classes=m,S.displayName="@mantine/core/ActionIcon",S.Group=v,S.GroupSection=E},48461(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchScan=void 0;var n=r(90680),o=r(65212);t.switchScan=function(e,t){return o.operate(function(r,o){var i=t;return n.switchMap(function(t,r){return e(i,t,r)},function(e,t){return i=t,t})(r).subscribe(o),function(){i=null}})}},48781(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOT_SUPPORTED_RECOVERY_SUGGESTION=void 0,t.NOT_SUPPORTED_RECOVERY_SUGGESTION="Passkeys may not be supported on this device. Ensure your application is running in a secure context (HTTPS) and Web Authentication API is supported."},49129(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AuthValidationErrorCode=void 0,function(e){e.EmptySignInUsername="EmptySignInUsername",e.EmptySignInPassword="EmptySignInPassword",e.CustomAuthSignInPassword="CustomAuthSignInPassword",e.EmptySignUpUsername="EmptySignUpUsername",e.EmptySignUpPassword="EmptySignUpPassword",e.EmptyConfirmSignUpUsername="EmptyConfirmSignUpUsername",e.EmptyConfirmSignUpCode="EmptyConfirmSignUpCode",e.EmptyResendSignUpCodeUsername="EmptyresendSignUpCodeUsername",e.EmptyChallengeResponse="EmptyChallengeResponse",e.EmptyConfirmResetPasswordUsername="EmptyConfirmResetPasswordUsername",e.EmptyConfirmResetPasswordNewPassword="EmptyConfirmResetPasswordNewPassword",e.EmptyConfirmResetPasswordConfirmationCode="EmptyConfirmResetPasswordConfirmationCode",e.EmptyResetPasswordUsername="EmptyResetPasswordUsername",e.EmptyVerifyTOTPSetupCode="EmptyVerifyTOTPSetupCode",e.EmptyConfirmUserAttributeCode="EmptyConfirmUserAttributeCode",e.IncorrectMFAMethod="IncorrectMFAMethod",e.EmptyUpdatePassword="EmptyUpdatePassword"}(r||(t.AuthValidationErrorCode=r={}))},49178(e,t,r){"use strict";r.d(t,{v:()=>o});var n=r(51609);function o(e){return!Array.isArray(e)&&null!==e&&"object"==typeof e&&e.type!==n.Fragment}},49568(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","circle-number-2","CircleNumber2",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M10 8h3a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 0 -1 1v2a1 1 0 0 0 1 1h3",key:"svg-1"}]])},49615(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.composeTransferHandler=void 0,t.composeTransferHandler=(e,t)=>(r,n)=>{const o={};let i=t=>e(t,n);for(let e=t.length-1;e>=0;e--)i=(0,t[e])(n)(i,o);return i(r)}},49867(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createForgotPasswordClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createForgotPasswordClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ForgotPassword"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},49913(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textEncoder=void 0,t.textEncoder={convert:e=>(new TextEncoder).encode(e)}},50030(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSendMessageFunction=void 0;const n=r(59640),o=r(85202),i=r(56792),a=r(83102);t.createSendMessageFunction=(e,t,r,s,c)=>async u=>{const{conversations:l}=t;if(!l)return{};const d="string"==typeof u?{content:[{text:u}]}:u,{content:p,aiContext:f,toolConfiguration:h}=d,m=l[s].message.send,g=(0,n.customOpFactory)(e,t,"mutation",m,!1,c,(0,a.getCustomUserAgentDetails)(a.AiAction.SendMessage)),{data:y,errors:v}=await g({conversationId:r,content:(0,i.serializeContent)(p),...f&&{aiContext:(0,i.serializeAiContext)(f)},...h&&{toolConfiguration:(0,i.serializeToolConfiguration)(h)}});return{data:y?(0,o.convertItemToConversationMessage)(y):y,errors:v}}},50057(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.composeServiceApi=void 0,t.composeServiceApi=(e,t,r,n)=>async(o,i)=>{const a={...n,...o},s=await a.endpointResolver(a,i),c=await t(i,s),u=await e(c,{...a});return r(u)}},50096(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=void 0;var n=r(92070),o=r(10281);t.max=function(e){return n.reduce(o.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})}},50120(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveEndpointId=t.getEndpointId=t.UpdateEndpointException=void 0,r(31635).__exportStar(r(53428),t);var n=r(20982);Object.defineProperty(t,"UpdateEndpointException",{enumerable:!0,get:function(){return n.UpdateEndpointException}});var o=r(20810);Object.defineProperty(t,"getEndpointId",{enumerable:!0,get:function(){return o.getEndpointId}}),Object.defineProperty(t,"resolveEndpointId",{enumerable:!0,get:function(){return o.resolveEndpointId}})},50326(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AuthErrorTypes=void 0,function(e){e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e.DeviceConfig="deviceConfig",e.NetworkError="networkError",e.AutoSignInError="autoSignInError",e.OAuthSignInError="oauthSignInError"}(r||(t.AuthErrorTypes=r={}))},50439(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsArgArrayOrObject=void 0;var r=Array.isArray,n=Object.getPrototypeOf,o=Object.prototype,i=Object.keys;t.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(r(t))return{args:t,keys:null};if((s=t)&&"object"==typeof s&&n(s)===o){var a=i(t);return{args:a.map(function(e){return t[e]}),keys:a}}}var s;return{args:e,keys:null}}},50454(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEventBuffer=void 0;const n=r(99137),o={};t.getEventBuffer=({appId:e,region:t,credentials:r,bufferSize:i,flushInterval:a,flushSize:s,resendLimit:c,identityId:u,userAgentValue:l})=>{if(o[t]?.[e]){const n=o[t][e];if(!n.identityHasChanged(u)&&!n.haveCredentialsChanged(r))return n;n.flush()}const d=new n.PinpointEventBuffer({appId:e,bufferSize:i,credentials:r,flushInterval:a,flushSize:s,identityId:u,region:t,resendLimit:c,userAgentValue:l});return o[t]||(o[t]={}),o[t][e]=d,d}},50508(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCreateConversationFunction=void 0;const n=r(68523),o=r(19613),i=r(83102);t.createCreateConversationFunction=(e,t,r,a,s,c)=>async u=>{const{name:l,metadata:d}=u??{},p=JSON.stringify(d),f=(0,n.getFactory)(e,t,a,"CREATE",c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.CreateConversation)),{data:h,errors:m}=await f({name:l,metadata:p});return{data:(0,o.convertItemToConversation)(e,t,h?.id,h?.createdAt,h?.updatedAt,r,s,c,h?.metadata,h?.name),errors:m}}},50597(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutWith=void 0;var n=r(62326),o=r(85345),i=r(81713);t.timeoutWith=function(e,t,r){var a,s,c;if(r=null!=r?r:n.async,o.isValidDate(e)?a=e:"number"==typeof e&&(s=e),!t)throw new TypeError("No observable provided to switch to");if(c=function(){return t},null==a&&null==s)throw new TypeError("No timeout provided.");return i.timeout({first:a,each:s,scheduler:r,with:c})}},50839(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnsubscribedError=void 0;var n=r(9619);t.ObjectUnsubscribedError=n.createErrorClass(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},50875(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.VirtualAction=t.VirtualTimeScheduler=void 0;var i=r(64772),a=r(69879),s=function(e){function t(t,r){void 0===t&&(t=c),void 0===r&&(r=1/0);var n=e.call(this,t,function(){return n.frame})||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return o(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(r(19533).AsyncScheduler);t.VirtualTimeScheduler=s;var c=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var o=e.call(this,t,r)||this;return o.scheduler=t,o.work=r,o.index=n,o.active=!0,o.index=t.index=n,o}return o(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var o=new t(this.scheduler,this.work);return this.add(o),o.schedule(r,n)}return a.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var o=e.actions;return o.push(this),o.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,t,r){void 0===r&&(r=0)},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(i.AsyncAction);t.VirtualAction=c},50929(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sharedInMemoryStorage=t.syncSessionStorage=t.sessionStorage=t.defaultStorage=t.CookieStorage=void 0;const n=r(73323),o=r(3944),i=r(44056),a=r(67904),s=r(99607);var c=r(28298);Object.defineProperty(t,"CookieStorage",{enumerable:!0,get:function(){return c.CookieStorage}}),t.defaultStorage=new n.DefaultStorage,t.sessionStorage=new a.SessionStorage,t.syncSessionStorage=new s.SyncSessionStorage,t.sharedInMemoryStorage=new i.KeyValueStorage(new o.InMemoryStorage)},50997(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__modelMeta__=void 0;var n=r(21170);Object.defineProperty(t,"__modelMeta__",{enumerable:!0,get:function(){return n.__modelMeta__}})},51071(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromSubscribable=void 0;var n=r(48051);t.fromSubscribable=function(e){return new n.Observable(function(t){return e.subscribe(t)})}},51233(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGlobalSignOutClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createGlobalSignOutClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("GlobalSignOut"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},51393(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomString=void 0;const n=r(22651),o=r(17313);t.getRandomString=()=>n.base64Encoder.convert((0,o.getRandomBytes)(40))},51608(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auditTime=void 0;var n=r(62326),o=r(88877),i=r(5825);t.auditTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.audit(function(){return i.timer(e,t)})}},51609(e){"use strict";e.exports=window.React},51700(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUpdateDeviceStatusClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createUpdateDeviceStatusClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("UpdateDeviceStatus"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},52291(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0});const n=new Uint8Array(16);t.default=function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(n)}},52359(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSetUserMFAPreferenceClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createSetUserMFAPreferenceClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("SetUserMFAPreference"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},52382(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Signer=void 0;const n=r(36759),o=r(11923),i=r(76027),a=/([^.]+)\.(?:([^.]*)\.)?amazonaws\.com(.cn)?$/;t.Signer=class{static sign(e,t,r){if(e.headers=e.headers||{},e.body&&!e.data)throw new Error('The attribute "body" was found on the request object. Please use the attribute "data" instead.');const i={...e,body:e.data,url:new o.AmplifyUrl(e.url)},a=s(i,t,r),c=(0,n.signRequest)(i,a);return c.url=c.url.toString(),c.headers.Authorization=c.headers.authorization,c.headers["X-Amz-Security-Token"]=c.headers["x-amz-security-token"],delete c.headers.authorization,delete c.headers["x-amz-security-token"],c}static signUrl(e,t,r,i){const a="object"==typeof e?e.url:e,c="object"==typeof e?e.method:"GET",l={body:"object"==typeof e?e.body:void 0,method:c,url:new o.AmplifyUrl(a)},d=s(l,t,r,i),p=(0,n.presignUrl)(l,d);return t.session_token&&!u(d.signingService)&&p.searchParams.append(n.TOKEN_QUERY_PARAM,t.session_token),p.toString()}};const s=(e,t,r,n)=>{const{access_key:o,secret_key:a,session_token:s}=t??{},{region:l,service:d}=c(e.url),{region:p=l,service:f=d}=r??{};return{credentials:{accessKeyId:o,secretAccessKey:a,...u(f)?{sessionToken:s}:{}},signingDate:i.DateUtils.getDateWithClockOffset(),signingRegion:p,signingService:f,...n&&{expiration:n}}},c=e=>{const{host:t}=e;let r=(t.match(a)??[]).slice(1,3);return"es"===r[1]&&(r=r.reverse()),{service:r[0],region:r[1]}},u=e=>"iotdevicegateway"!==e},52522(e,t){"use strict";function r(e,t){null!=e&&this.fromString(e,t)}function n(){return new r(null,null)}let o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;const i="undefined"!=typeof navigator;i&&"Microsoft Internet Explorer"===navigator.appName?(r.prototype.am=function(e,t,r,n,o,i){const a=32767&t,s=t>>15;for(;--i>=0;){let t=32767&this[e];const i=this[e++]>>15,c=s*t+i*a;t=a*t+((32767&c)<<15)+r[n]+(1073741823&o),o=(t>>>30)+(c>>>15)+s*i+(o>>>30),r[n++]=1073741823&t}return o},o=30):i&&"Netscape"!==navigator.appName?(r.prototype.am=function(e,t,r,n,o,i){for(;--i>=0;){const i=t*this[e++]+r[n]+o;o=Math.floor(i/67108864),r[n++]=67108863&i}return o},o=26):(r.prototype.am=function(e,t,r,n,o,i){const a=16383&t,s=t>>14;for(;--i>=0;){let t=16383&this[e];const i=this[e++]>>14,c=s*t+i*a;t=a*t+((16383&c)<<14)+r[n]+o,o=(t>>28)+(c>>14)+s*i,r[n++]=268435455&t}return o},o=28),r.prototype.DB=o,r.prototype.DM=(1<<o)-1,r.prototype.DV=1<<o,r.prototype.FV=Math.pow(2,52),r.prototype.F1=52-o,r.prototype.F2=2*o-52;const a=[];let s,c;for(s="0".charCodeAt(0),c=0;c<=9;++c)a[s++]=c;for(s="a".charCodeAt(0),c=10;c<36;++c)a[s++]=c;for(s="A".charCodeAt(0),c=10;c<36;++c)a[s++]=c;function u(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function l(e,t){const r=a[e.charCodeAt(t)];return null==r?-1:r}function d(e){const t=n();return t.fromInt(e),t}function p(e){let t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function f(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}f.prototype.convert=function(e){const t=n();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(r.ZERO)>0&&this.m.subTo(t,t),t},f.prototype.revert=function(e){const t=n();return e.copyTo(t),this.reduce(t),t},f.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(let t=0;t<this.m.t;++t){let r=32767&e[t];const n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(r=t+this.m.t,e[r]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},f.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},f.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},r.prototype.copyTo=function(e){for(let t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},r.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},r.prototype.fromString=function(e,t){let n;if(16===t)n=4;else if(8===t)n=3;else if(2===t)n=1;else if(32===t)n=5;else{if(4!==t)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}this.t=0,this.s=0;let o=e.length,i=!1,a=0;for(;--o>=0;){const t=l(e,o);t<0?"-"===e.charAt(o)&&(i=!0):(i=!1,0===a?this[this.t++]=t:a+n>this.DB?(this[this.t-1]|=(t&(1<<this.DB-a)-1)<<a,this[this.t++]=t>>this.DB-a):this[this.t-1]|=t<<a,a+=n,a>=this.DB&&(a-=this.DB))}this.clamp(),i&&r.ZERO.subTo(this,this)},r.prototype.clamp=function(){const e=this.s&this.DM;for(;this.t>0&&this[this.t-1]==e;)--this.t},r.prototype.dlShiftTo=function(e,t){let r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},r.prototype.drShiftTo=function(e,t){for(let r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},r.prototype.lShiftTo=function(e,t){const r=e%this.DB,n=this.DB-r,o=(1<<n)-1,i=Math.floor(e/this.DB);let a,s=this.s<<r&this.DM;for(a=this.t-1;a>=0;--a)t[a+i+1]=this[a]>>n|s,s=(this[a]&o)<<r;for(a=i-1;a>=0;--a)t[a]=0;t[i]=s,t.t=this.t+i+1,t.s=this.s,t.clamp()},r.prototype.rShiftTo=function(e,t){t.s=this.s;const r=Math.floor(e/this.DB);if(r>=this.t)return void(t.t=0);const n=e%this.DB,o=this.DB-n,i=(1<<n)-1;t[0]=this[r]>>n;for(let e=r+1;e<this.t;++e)t[e-r-1]|=(this[e]&i)<<o,t[e-r]=this[e]>>n;n>0&&(t[this.t-r-1]|=(this.s&i)<<o),t.t=this.t-r,t.clamp()},r.prototype.subTo=function(e,t){let r=0,n=0;const o=Math.min(e.t,this.t);for(;r<o;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},r.prototype.multiplyTo=function(e,t){const n=this.abs(),o=e.abs();let i=n.t;for(t.t=i+o.t;--i>=0;)t[i]=0;for(i=0;i<o.t;++i)t[i+n.t]=n.am(0,o[i],t,i,0,n.t);t.s=0,t.clamp(),this.s!==e.s&&r.ZERO.subTo(t,t)},r.prototype.squareTo=function(e){const t=this.abs();let r=e.t=2*t.t;for(;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){const n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},r.prototype.divRemTo=function(e,t,o){const i=e.abs();if(i.t<=0)return;const a=this.abs();if(a.t<i.t)return null!=t&&t.fromInt(0),void(null!=o&&this.copyTo(o));null===o&&(o=n());const s=n(),c=this.s,u=e.s,l=this.DB-p(i[i.t-1]);l>0?(i.lShiftTo(l,s),a.lShiftTo(l,o)):(i.copyTo(s),a.copyTo(o));const d=s.t,f=s[d-1];if(0===f)return;const h=f*(1<<this.F1)+(d>1?s[d-2]>>this.F2:0),m=this.FV/h,g=(1<<this.F1)/h,y=1<<this.F2;let v=o.t,b=v-d;const E=null===t?n():t;for(s.dlShiftTo(b,E),o.compareTo(E)>=0&&(o[o.t++]=1,o.subTo(E,o)),r.ONE.dlShiftTo(d,E),E.subTo(s,s);s.t<d;)s[s.t++]=0;for(;--b>=0;){let e=o[--v]===f?this.DM:Math.floor(o[v]*m+(o[v-1]+y)*g);if((o[v]+=s.am(0,e,o,b,0,d))<e)for(s.dlShiftTo(b,E),o.subTo(E,o);o[v]<--e;)o.subTo(E,o)}null!==t&&(o.drShiftTo(d,t),c!==u&&r.ZERO.subTo(t,t)),o.t=d,o.clamp(),l>0&&o.rShiftTo(l,o),c<0&&r.ZERO.subTo(o,o)},r.prototype.invDigit=function(){if(this.t<1)return 0;const e=this[0];if(!(1&e))return 0;let t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t},r.prototype.addTo=function(e,t){let r=0,n=0;const o=Math.min(e.t,this.t);for(;r<o;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},r.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);let t;if(16==e)t=4;else if(8===e)t=3;else if(2===e)t=1;else if(32===e)t=5;else{if(4!==e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}const r=(1<<t)-1;let n,o=!1,i="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(o=!0,i=u(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(o=!0),o&&(i+=u(n));return o?i:"0"},r.prototype.negate=function(){const e=n();return r.ZERO.subTo(this,e),e},r.prototype.abs=function(){return this.s<0?this.negate():this},r.prototype.compareTo=function(e){let t=this.s-e.s;if(0!=t)return t;let r=this.t;if(t=r-e.t,0!=t)return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},r.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+p(this[this.t-1]^this.s&this.DM)},r.prototype.mod=function(e){const t=n();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(r.ZERO)>0&&e.subTo(t,t),t},r.prototype.equals=function(e){return 0===this.compareTo(e)},r.prototype.add=function(e){const t=n();return this.addTo(e,t),t},r.prototype.subtract=function(e){const t=n();return this.subTo(e,t),t},r.prototype.multiply=function(e){const t=n();return this.multiplyTo(e,t),t},r.prototype.divide=function(e){const t=n();return this.divRemTo(e,t,null),t},r.prototype.modPow=function(e,t,r){let o,i=e.bitLength(),a=d(1);const s=new f(t);if(i<=0)return a;o=i<18?1:i<48?3:i<144?4:i<768?5:6;const c=[];let u=3;const l=o-1,h=(1<<o)-1;if(c[1]=s.convert(this),o>1){const e=n();for(s.sqrTo(c[1],e);u<=h;)c[u]=n(),s.mulTo(e,c[u-2],c[u]),u+=2}let m,g,y=e.t-1,v=!0,b=n();for(i=p(e[y])-1;y>=0;){for(i>=l?m=e[y]>>i-l&h:(m=(e[y]&(1<<i+1)-1)<<l-i,y>0&&(m|=e[y-1]>>this.DB+i-l)),u=o;!(1&m);)m>>=1,--u;if((i-=u)<0&&(i+=this.DB,--y),v)c[m].copyTo(a),v=!1;else{for(;u>1;)s.sqrTo(a,b),s.sqrTo(b,a),u-=2;u>0?s.sqrTo(a,b):(g=a,a=b,b=g),s.mulTo(b,c[m],a)}for(;y>=0&&!(e[y]&1<<i);)s.sqrTo(a,b),g=a,a=b,b=g,--i<0&&(i=this.DB-1,--y)}const E=s.revert(a);return r(null,E),E},r.ZERO=d(0),r.ONE=d(1)},52796(e,t,r){"use strict";r.d(t,{l:()=>n});const n=()=>{}},52837(e,t,r){"use strict";r.d(t,{I:()=>g}),r(51609),r(10790);var n=r(66192),o=r(1101),i=r(34164);const a={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};var s=r(74593);function c({selector:e,stylesCtx:t,theme:r,classNames:n,props:o}){return(0,s.J)({theme:r,classNames:n,props:o,stylesCtx:t})[e]}function u({theme:e,options:t,themeName:r,selector:n,classNamesPrefix:o,classNames:u,classes:l,unstyled:d,className:p,rootSelector:f,props:h,stylesCtx:m,withStaticClasses:g,headless:y,transformedStyles:v}){return(0,i.A)(function({theme:e,options:t,unstyled:r}){return(0,i.A)(t?.focusable&&!r&&(e.focusClassName||a[e.focusRing]),t?.active&&!r&&e.activeClassName)}({theme:e,options:t,unstyled:d||y}),function({themeName:e,theme:t,selector:r,props:n,stylesCtx:o}){return e.map(e=>(0,s.J)({theme:t,classNames:t.components[e]?.classNames,props:n,stylesCtx:o})?.[r])}({theme:e,themeName:r,selector:n,props:h,stylesCtx:m}),function({options:e,classes:t,selector:r,unstyled:n}){return e?.variant&&!n?t[`${r}--${e.variant}`]:void 0}({options:t,classes:l,selector:n,unstyled:d}),c({selector:n,stylesCtx:m,theme:e,classNames:u,props:h}),c({selector:n,stylesCtx:m,theme:e,classNames:v,props:h}),function({selector:e,stylesCtx:t,options:r,props:n,theme:o}){return(0,s.J)({theme:o,classNames:r?.classNames,props:r?.props||n,stylesCtx:t})[e]}({selector:n,stylesCtx:m,options:t,props:h,theme:e}),function({rootSelector:e,selector:t,className:r}){return e===t?r:void 0}({rootSelector:f,selector:n,className:p}),function({selector:e,classes:t,unstyled:r}){return r?void 0:t[e]}({selector:n,classes:l,unstyled:d||y}),g&&!y&&function({themeName:e,classNamesPrefix:t,selector:r,withStaticClass:n}){return!1===n?[]:e.map(e=>`${t}-${e}-${r}`)}({themeName:r,classNamesPrefix:o,selector:n,withStaticClass:t?.withStaticClass}),t?.className)}var l=r(44812);function d({theme:e,themeName:t,props:r,stylesCtx:n,selector:o}){return t.map(t=>(0,l.N)({theme:e,styles:e.components[t]?.styles,props:r,stylesCtx:n})[o]).reduce((e,t)=>({...e,...t}),{})}function p({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,...p({style:r,theme:t})}),{}):"function"==typeof e?e(t):null==e?{}:e}var f=r(77602);function h({vars:e,varsResolver:t,theme:r,props:n,stylesCtx:o,selector:i,themeName:a,headless:s}){return function(e){return e.reduce((e,t)=>(t&&Object.keys(t).forEach(r=>{e[r]={...e[r],...(0,f.J)(t[r])}}),e),{})}([s?{}:t?.(r,n,o),...a.map(e=>r.components?.[e]?.vars?.(r,n,o)),e?.(r,n,o)])?.[i]}function m({theme:e,themeName:t,selector:r,options:n,props:o,stylesCtx:i,rootSelector:a,styles:s,style:c,vars:u,varsResolver:f,headless:m,withStylesTransform:g}){return{...!g&&d({theme:e,themeName:t,props:o,stylesCtx:i,selector:r}),...!g&&(0,l.N)({theme:e,styles:s,props:o,stylesCtx:i})[r],...!g&&(0,l.N)({theme:e,styles:n?.styles,props:n?.props||o,stylesCtx:i})[r],...h({theme:e,props:o,stylesCtx:i,vars:u,varsResolver:f,selector:r,themeName:t,headless:m}),...a===r?p({style:c,theme:e}):null,...p({style:n?.style,theme:e})}}function g({name:e,classes:t,props:r,stylesCtx:i,className:a,style:s,rootSelector:c="root",unstyled:l,classNames:d,styles:p,vars:f,varsResolver:h,attributes:g}){const y=(0,o.xd)(),v=(0,n.AI)(),b=(0,n.If)(),E=(0,n.FI)(),w=(Array.isArray(e)?e:[e]).filter(e=>e),{withStylesTransform:S,getTransformedStyles:A}=function({props:e,stylesCtx:t,themeName:r}){const i=(0,o.xd)(),a=(0,n.m6)()?.();return{getTransformedStyles:n=>a?[...n.map(r=>a(r,{props:e,theme:i,ctx:t})),...r.map(r=>a(i.components[r]?.styles,{props:e,theme:i,ctx:t}))].filter(Boolean):[],withStylesTransform:!!a}}({props:r,stylesCtx:i,themeName:w});return(e,n)=>({className:u({theme:y,options:n,themeName:w,selector:e,classNamesPrefix:v,classNames:d,classes:t,unstyled:l,className:a,rootSelector:c,props:r,stylesCtx:i,withStaticClasses:b,headless:E,transformedStyles:A([n?.styles,p])}),style:m({theme:y,themeName:w,selector:e,options:n,props:r,stylesCtx:i,rootSelector:c,styles:p,style:s,vars:f,varsResolver:h,headless:E,withStylesTransform:S}),...g?.[e]})}},52999(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateEndpoint=void 0;const n=r(91537),o=r(50057),i=r(6465),a=r(39930),s=r(11923),c=r(53838);t.updateEndpoint=(0,o.composeServiceApi)(n.authenticatedHandler,({ApplicationId:e="",EndpointId:t="",EndpointRequest:r},n)=>{const o=(0,c.getSharedHeaders)(),a=new s.AmplifyUrl(n.url);return a.pathname=`v1/apps/${(0,i.extendedEncodeURIComponent)(e)}/endpoints/${(0,i.extendedEncodeURIComponent)(t)}`,{method:"PUT",headers:o,url:a,body:JSON.stringify(r)}},async e=>{if(e.statusCode>=300)throw await(0,a.parseJsonError)(e);{const{Message:t,RequestID:r}=await(0,a.parseJsonBody)(e);return{MessageBody:{Message:t,RequestID:r},$metadata:(0,a.parseMetadata)(e)}}},c.defaultConfig)},53197(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;var n=r(76808),o=r(18464),i=r(17812);t.publish=function(e){return e?function(t){return i.connect(e)(t)}:function(e){return o.multicast(new n.Subject)(e)}}},53222(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.validationErrorMap=t.RestApiValidationErrorCode=void 0,function(e){e.InvalidApiName="InvalidApiName"}(r||(t.RestApiValidationErrorCode=r={})),t.validationErrorMap={[r.InvalidApiName]:{message:"API name is invalid.",recoverySuggestion:"Check if the API name matches the one in your configuration or `aws-exports.js`"}}},53428(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flushEvents=t.record=t.updateEndpoint=void 0;var n=r(7322);Object.defineProperty(t,"updateEndpoint",{enumerable:!0,get:function(){return n.updateEndpoint}});var o=r(70935);Object.defineProperty(t,"record",{enumerable:!0,get:function(){return o.record}});var i=r(99463);Object.defineProperty(t,"flushEvents",{enumerable:!0,get:function(){return i.flushEvents}})},53478(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityPoolEndpointResolver=t.createGetIdClient=t.createGetCredentialsForIdentityClient=void 0;var n=r(93162);Object.defineProperty(t,"createGetCredentialsForIdentityClient",{enumerable:!0,get:function(){return n.createGetCredentialsForIdentityClient}});var o=r(68584);Object.defineProperty(t,"createGetIdClient",{enumerable:!0,get:function(){return o.createGetIdClient}});var i=r(26974);Object.defineProperty(t,"cognitoIdentityPoolEndpointResolver",{enumerable:!0,get:function(){return i.cognitoIdentityPoolEndpointResolver}})},53553(e,t,r){"use strict";r.d(t,{F:()=>o,Y:()=>i});var n=r(65430);const o=async e=>{if(!e||e.statusCode<300)return;const t=await i(e),r=(e=>{const[t]=e.toString().split(/[,:]+/);return t.includes("#")?t.split("#")[1]:t})(e.headers["x-amzn-errortype"]??t.code??t.__type??"UnknownError"),o=t.message??t.Message??"Unknown error",a=new Error(o);return Object.assign(a,{name:r,$metadata:(0,n.j)(e)})},i=async e=>{if(!e.body)throw new Error("Missing response payload");const t=await e.body.json();return Object.assign(t,{$metadata:(0,n.j)(e)})}},53838(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSharedHeaders=t.defaultConfig=void 0;const n=r(3977),o=r(92896),i=r(65826),a=r(4463),s=r(11923);t.defaultConfig={service:"mobiletargeting",endpointResolver:({region:e})=>({url:new s.AmplifyUrl(`https://pinpoint.${e}.${(0,n.getDnsSuffix)(e)}`)}),retryDecider:(0,o.getRetryDecider)(i.parseJsonError),computeDelay:o.jitteredBackoff,get userAgentValue(){return(0,a.getAmplifyUserAgent)()}},t.getSharedHeaders=()=>({"content-type":"application/json"})},53841(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendCancellability=function(e,t){return r.set(t,e),e.finally(()=>{r.delete(t)})},t.upgradeClientCancellation=function(e){const t=e.cancel.bind(e);e.cancel=function(e,n){const o=new Set;let i=e;for(;i&&r.has(i);){if(o.has(i))throw new Error("A cycle was detected in the modeled graphql cancellation chain. This is a bug. Please report it!");o.add(i),i=r.get(i)}return t(i,n)}};const r=new WeakMap},53866(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timestamp=void 0;var n=r(93275),o=r(26872);t.timestamp=function(e){return void 0===e&&(e=n.dateTimestampProvider),o.map(function(t){return{value:t,timestamp:e.now()}})}},54129(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertPasskeyError=t.passkeyErrorMap=t.PasskeyErrorCode=t.PasskeyError=void 0;const n=r(22651),o=r(48781);class i extends n.AmplifyError{constructor(e){super(e),this.constructor=i,Object.setPrototypeOf(this,i.prototype)}}var a;t.PasskeyError=i,function(e){e.PasskeyNotSupported="PasskeyNotSupported",e.PasskeyAlreadyExists="PasskeyAlreadyExists",e.InvalidPasskeyRegistrationOptions="InvalidPasskeyRegistrationOptions",e.InvalidPasskeyAuthenticationOptions="InvalidPasskeyAuthenticationOptions",e.RelyingPartyMismatch="RelyingPartyMismatch",e.PasskeyRegistrationFailed="PasskeyRegistrationFailed",e.PasskeyRetrievalFailed="PasskeyRetrievalFailed",e.PasskeyRegistrationCanceled="PasskeyRegistrationCanceled",e.PasskeyAuthenticationCanceled="PasskeyAuthenticationCanceled",e.PasskeyOperationAborted="PasskeyOperationAborted"}(a||(t.PasskeyErrorCode=a={}));const s="User may have canceled the ceremony or another interruption has occurred. Check underlying error for details.",c="Ensure your user pool is configured to support the WEB_AUTHN as an authentication factor.";t.passkeyErrorMap={[a.PasskeyNotSupported]:{message:"Passkeys may not be supported on this device.",recoverySuggestion:o.NOT_SUPPORTED_RECOVERY_SUGGESTION},[a.InvalidPasskeyRegistrationOptions]:{message:"Invalid passkey registration options.",recoverySuggestion:c},[a.InvalidPasskeyAuthenticationOptions]:{message:"Invalid passkey authentication options.",recoverySuggestion:c},[a.PasskeyRegistrationFailed]:{message:"Device failed to create passkey.",recoverySuggestion:o.NOT_SUPPORTED_RECOVERY_SUGGESTION},[a.PasskeyRetrievalFailed]:{message:"Device failed to retrieve passkey.",recoverySuggestion:"Passkeys may not be available on this device. Try an alternative authentication factor like PASSWORD, EMAIL_OTP, or SMS_OTP."},[a.PasskeyAlreadyExists]:{message:"Passkey already exists in authenticator.",recoverySuggestion:"Proceed with existing passkey or try again after deleting the credential."},[a.PasskeyRegistrationCanceled]:{message:"Passkey registration ceremony has been canceled.",recoverySuggestion:s},[a.PasskeyAuthenticationCanceled]:{message:"Passkey authentication ceremony has been canceled.",recoverySuggestion:s},[a.PasskeyOperationAborted]:{message:"Passkey operation has been aborted.",recoverySuggestion:s},[a.RelyingPartyMismatch]:{message:"Relying party does not match current domain.",recoverySuggestion:"Ensure relying party identifier matches current domain."}},t.assertPasskeyError=(0,n.createAssertionFunction)(t.passkeyErrorMap,i)},54359(e,t,r){"use strict";r.d(t,{y:()=>o});var n=r(8404);const o=e=>{const t=function(e=3e5){return t=>{const r=2**t*100+100*Math.random();return!(r>e)&&r}}(n.mU),r=t(e);return!1===r?n.mU:r}},54383(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.take=void 0;var n=r(44885),o=r(65212),i=r(17214);t.take=function(e){return e<=0?function(){return n.EMPTY}:o.operate(function(t,r){var n=0;t.subscribe(i.createOperatorSubscriber(r,function(t){++n<=e&&(r.next(t),e<=n&&r.complete())}))})}},54511(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppSyncEventProvider=t.AWSAppSyncEventProvider=void 0;const n=r(22651),o=r(57186),i=r(67201),a=r(29901),s=r(12504),c="AWSAppSyncEventsProvider";class u extends i.AWSWebSocketProvider{constructor(){super({providerName:c,wsProtocolName:"aws-appsync-event-ws",connectUri:""}),this.allowNoSubscriptions=!0}getProviderName(){return c}async connect(e){return super.connect(e)}subscribe(e,t){return super.subscribe(e,t).pipe()}async publish(e,t){return super.publish(e,t)}closeIfNoActiveSubscription(){this._closeSocketIfRequired()}async _prepareSubscriptionPayload({options:e,subscriptionId:t,customUserAgentDetails:r,additionalCustomHeaders:i,libraryConfigHeaders:c,publish:u}){const{appSyncGraphqlEndpoint:l,authenticationType:d,query:p,apiKey:f,region:h,variables:m}=e,g={channel:p,events:void 0!==m?(0,s.serializeEvents)(m):void 0},y=JSON.stringify(g),v={...await(0,a.awsRealTimeHeaderBasedAuth)({apiKey:f,appSyncGraphqlEndpoint:l,authenticationType:d,payload:y,canonicalUri:"",region:h,additionalCustomHeaders:i}),...c,...i,[n.USER_AGENT_HEADER]:(0,n.getAmplifyUserAgent)(r)},b={id:t,channel:p,events:void 0!==m?(0,s.serializeEvents)(m):void 0,authorization:{...v},payload:{events:void 0!==m?(0,s.serializeEvents)(m):void 0,channel:p,extensions:{authorization:{...v}}},type:u?o.MESSAGE_TYPES.EVENT_PUBLISH:o.MESSAGE_TYPES.EVENT_SUBSCRIBE};return JSON.stringify(b)}_handleSubscriptionData(e){this.logger.debug(`subscription message from AWS AppSync Events: ${e.data}`);const{id:t="",event:r,type:n}=JSON.parse(String(e.data)),{observer:i=null,query:a="",variables:s={}}=this.subscriptionObserverMap.get(t)||{};if(this.logger.debug({id:t,observer:i,query:a,variables:s}),n===o.MESSAGE_TYPES.DATA&&r){const e=JSON.parse(r);return i?i.next({id:t,type:n,event:e}):this.logger.debug(`observer not found for id: ${t}`),[!0,{id:t,type:n,payload:e}]}return[!1,{id:t,type:n,payload:r}]}_unsubscribeMessage(e){return{id:e,type:o.MESSAGE_TYPES.EVENT_STOP}}_extractConnectionTimeout(e){const{connectionTimeoutMs:t=o.DEFAULT_KEEP_ALIVE_TIMEOUT}=e;return t}_extractErrorCodeAndType(e){const{errors:[{errorType:t="",errorCode:r=0}={}]=[]}=e;return{errorCode:r,errorType:t}}}t.AWSAppSyncEventProvider=u,t.AppSyncEventProvider=new u},54530(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schedulePromise=void 0;var n=r(19724),o=r(32071),i=r(5455);t.schedulePromise=function(e,t){return n.innerFrom(e).pipe(i.subscribeOn(t),o.observeOn(t))}},54830(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrRemove=void 0,t.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},54872(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteUserAttributesClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createDeleteUserAttributesClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("DeleteUserAttributes"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},54937(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56547),o=r(22651),i=r(14602);(0,o.isBrowser)()&&n.Amplify[o.ADD_OAUTH_LISTENER](i.attemptCompleteOAuthFlow)},55440(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.single=void 0;var n=r(59328),o=r(94708),i=r(23506),a=r(65212),s=r(17214);t.single=function(e){return a.operate(function(t,r){var a,c=!1,u=!1,l=0;t.subscribe(s.createOperatorSubscriber(r,function(n){u=!0,e&&!e(n,l++,t)||(c&&r.error(new o.SequenceError("Too many matching values")),c=!0,a=n)},function(){c?(r.next(a),r.complete()):r.error(u?new i.NotFoundError("No matching values"):new n.EmptyError)}))})}},55488(e,t,r){"use strict";r.d(t,{g:()=>a,w:()=>i});var n=r(80684),o=r(89569);function i({color:e,theme:t,autoContrast:r}){return("boolean"==typeof r?r:t.autoContrast)&&(0,o.g)({color:e||t.primaryColor,theme:t}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}function a(e,t){return i({color:e.colors[e.primaryColor][(0,n.g)(e,t)],theme:e,autoContrast:null})}},55695(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeQueryFactory=function(e,t){const{name:r}=t;return i=>new n.Observable(n=>{const a=[],s=[];let c=(...e)=>s.push(...e);const u=e[r].onCreate(i).subscribe({next(e){c({item:e,type:"create"})},error(e){n.error({type:"onCreate",error:e})}}),l=e[r].onUpdate(i).subscribe({next(e){c({item:e,type:"update"})},error(e){n.error({type:"onUpdate",error:e})}}),d=e[r].onDelete(i).subscribe({next(e){c({item:e,type:"delete"})},error(e){n.error({type:"onDelete",error:e})}});function p(e){for(const t of e){const e=(0,o.findIndexByFields)(t.item,a,f);switch(t.type){case"create":e<0&&a.push(t.item);break;case"update":e>=0&&(a[e]=t.item);break;case"delete":e>=0&&a.splice(e,1);break;default:console.error("Unrecognized message in observeQuery.",t)}}n.next({items:a,isSynced:!0})}const f=(0,o.resolvePKFields)(t);return(async()=>{let t=!0,o=null;for(;!n.closed&&(t||o);){t=!1;const{data:c,errors:u,nextToken:l}=await e[r].list({...i,nextToken:o});o=l,a.push(...c);const d=0===s.length&&null==o;if(n.next({items:a,isSynced:d}),Array.isArray(u))for(const e of u)n.error(e)}s.length>0&&p(s),c=(...e)=>(p(e),a.length)})(),()=>{u.unsubscribe(),l.unsubscribe(),d.unsubscribe()}})};const n=r(79364),o=r(17631)},55794(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cacheCognitoTokens=async function(e){if(!e.AccessToken)throw new n.AmplifyError({message:"Invalid tokens",name:"InvalidTokens",recoverySuggestion:"Check Cognito UserPool settings"});{const t=(0,n.decodeJWT)(e.AccessToken),r=1e3*(t.payload.iat||0),i=(new Date).getTime(),a=r>0?r-i:0;let s,c,u;e.RefreshToken&&(c=e.RefreshToken),e.IdToken&&(s=(0,n.decodeJWT)(e.IdToken)),e?.NewDeviceMetadata&&(u=e.NewDeviceMetadata);const l={accessToken:t,idToken:s,refreshToken:c,clockDrift:a,deviceMetadata:u,username:e.username};e?.signInDetails&&(l.signInDetails=e.signInDetails),await o.tokenOrchestrator.setTokens({tokens:l})}};const n=r(22651),o=r(39602)},56131(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeat=void 0;var n=r(44885),o=r(65212),i=r(17214),a=r(19724),s=r(5825);t.repeat=function(e){var t,r,c=1/0;return null!=e&&("object"==typeof e?(t=e.count,c=void 0===t?1/0:t,r=e.delay):c=e),c<=0?function(){return n.EMPTY}:o.operate(function(e,t){var n,o=0,u=function(){if(null==n||n.unsubscribe(),n=null,null!=r){var e="number"==typeof r?s.timer(r):a.innerFrom(r(o)),c=i.createOperatorSubscriber(t,function(){c.unsubscribe(),l()});e.subscribe(c)}else l()},l=function(){var r=!1;n=e.subscribe(i.createOperatorSubscriber(t,void 0,function(){++o<c?n?u():r=!0:t.complete()})),r&&u()};l()})}},56324(e,t,r){"use strict";r.d(t,{GY:()=>a,YC:()=>i,dh:()=>l,ks:()=>u,nJ:()=>s,ny:()=>c});var n=r(12940),o=r(88149);function i(e,t="size",r=!0){if(void 0!==e)return(0,n.t)(e)?r?(0,o.D)(e):e:`var(--${t}-${e})`}function a(e){return i(e,"mantine-spacing")}function s(e){return void 0===e?"var(--mantine-radius-default)":i(e,"mantine-radius")}function c(e){return i(e,"mantine-font-size")}function u(e){return i(e,"mantine-line-height",!1)}function l(e){if(e)return i(e,"mantine-shadow",!1)}},56341(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUserPoolSerializer=void 0,t.createUserPoolSerializer=e=>(t,o)=>{const i=r(e),a=JSON.stringify(t);return n(o,i,a)};const r=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProviderService.${e}`}),n=({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"})},56395(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateEndpointException=void 0,function(e){e.BadRequestException="BadRequestException",e.ForbiddenException="ForbiddenException",e.InternalServerErrorException="InternalServerErrorException",e.MethodNotAllowedException="MethodNotAllowedException",e.NotFoundException="NotFoundException",e.PayloadTooLargeException="PayloadTooLargeException",e.TooManyRequestsException="TooManyRequestsException"}(r||(t.UpdateEndpointException=r={}))},56497(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmSignIn=async function(e){const{challengeResponse:t,options:r}=e,{username:g,challengeName:y,signInSession:v,signInDetails:b}=i.signInStore.getState(),E=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(E);const w=r?.clientMetadata;if((0,u.assertValidationError)(!!t,l.AuthValidationErrorCode.EmptyChallengeResponse),!g||!y||!v)throw new a.AuthError({name:d.AuthErrorCodes.SignInException,message:"\n\t\t\tAn error occurred during the sign in process.\n\n\t\t\tThis most likely occurred due to:\n\t\t\t1. signIn was not called before confirmSignIn.\n\t\t\t2. signIn threw an exception.\n\t\t\t3. page was refreshed during the sign in flow and session has expired.\n\t\t\t",recoverySuggestion:"Make sure a successful call to signIn is made before calling confirmSignInand that the session has not expired."});try{const{Session:e,ChallengeName:n,AuthenticationResult:o,ChallengeParameters:a}=await(0,s.handleChallengeName)(g,y,v,t,E,f.tokenOrchestrator,w,r);return(0,i.setActiveSignInState)({signInSession:e,username:g,challengeName:n,signInDetails:b}),o?(await(0,p.cacheCognitoTokens)({username:g,...o,NewDeviceMetadata:await(0,m.getNewDeviceMetadata)({userPoolId:E.userPoolId,userPoolEndpoint:E.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:b}),(0,i.resetActiveSignInState)(),await(0,h.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,s.getSignInResult)({challengeName:n,challengeParameters:a})}catch(e){(0,c.assertServiceError)(e);const t=(0,s.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(33826),a=r(43518),s=r(78040),c=r(73031),u=r(58765),l=r(49129),d=r(70928),p=r(55794),f=r(4870),h=r(84539),m=r(66542)},56547(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceWorker=t.ConsoleLogger=t.I18n=t.Cache=t.sharedInMemoryStorage=t.syncSessionStorage=t.sessionStorage=t.defaultStorage=t.CookieStorage=t.cognitoIdentityPoolEndpointResolver=t.createGetIdClient=t.createGetCredentialsForIdentityClient=t.clearCredentials=t.AmplifyClassV6=t.fetchAuthSession=t.Amplify=t.decodeJWT=t.Hub=void 0;var n=r(4915);Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return n.Hub}});var o=r(98778);Object.defineProperty(t,"decodeJWT",{enumerable:!0,get:function(){return o.decodeJWT}});var i=r(67609);Object.defineProperty(t,"Amplify",{enumerable:!0,get:function(){return i.Amplify}}),Object.defineProperty(t,"fetchAuthSession",{enumerable:!0,get:function(){return i.fetchAuthSession}}),Object.defineProperty(t,"AmplifyClassV6",{enumerable:!0,get:function(){return i.AmplifyClass}}),Object.defineProperty(t,"clearCredentials",{enumerable:!0,get:function(){return i.clearCredentials}});var a=r(53478);Object.defineProperty(t,"createGetCredentialsForIdentityClient",{enumerable:!0,get:function(){return a.createGetCredentialsForIdentityClient}}),Object.defineProperty(t,"createGetIdClient",{enumerable:!0,get:function(){return a.createGetIdClient}}),Object.defineProperty(t,"cognitoIdentityPoolEndpointResolver",{enumerable:!0,get:function(){return a.cognitoIdentityPoolEndpointResolver}});var s=r(50929);Object.defineProperty(t,"CookieStorage",{enumerable:!0,get:function(){return s.CookieStorage}}),Object.defineProperty(t,"defaultStorage",{enumerable:!0,get:function(){return s.defaultStorage}}),Object.defineProperty(t,"sessionStorage",{enumerable:!0,get:function(){return s.sessionStorage}}),Object.defineProperty(t,"syncSessionStorage",{enumerable:!0,get:function(){return s.syncSessionStorage}}),Object.defineProperty(t,"sharedInMemoryStorage",{enumerable:!0,get:function(){return s.sharedInMemoryStorage}});var c=r(22918);Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return c.Cache}});var u=r(88236);Object.defineProperty(t,"I18n",{enumerable:!0,get:function(){return u.I18n}});var l=r(69580);Object.defineProperty(t,"ConsoleLogger",{enumerable:!0,get:function(){return l.ConsoleLogger}});var d=r(85737);Object.defineProperty(t,"ServiceWorker",{enumerable:!0,get:function(){return d.ServiceWorker}})},56606(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bufferWhen=void 0;var n=r(65212),o=r(5717),i=r(17214),a=r(19724);t.bufferWhen=function(e){return n.operate(function(t,r){var n=null,s=null,c=function(){null==s||s.unsubscribe();var t=n;n=[],t&&r.next(t),a.innerFrom(e()).subscribe(s=i.createOperatorSubscriber(r,c,o.noop))};c(),t.subscribe(i.createOperatorSubscriber(r,function(e){return null==n?void 0:n.push(e)},function(){n&&r.next(n),r.complete()},void 0,function(){return n=s=null}))})}},56644(e,t,r){"use strict";function n(e,t){return"boolean"==typeof e?e:t.autoContrast}r.d(t,{v:()=>n})},56697(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i},56792(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeToolConfiguration=t.serializeContent=t.serializeAiContext=void 0;const n=r(20793);t.serializeAiContext=e=>JSON.stringify(e),t.serializeContent=e=>e.map(e=>e.image?o(e):e.document?i(e):e.toolResult?a(e):e),t.serializeToolConfiguration=({tools:e})=>({tools:Object.entries(e).map(([e,t])=>({toolSpec:{name:e,description:t.description,inputSchema:{json:JSON.stringify(t.inputSchema.json)}}}))});const o=({image:e})=>({image:{...e,source:{...e.source,bytes:(0,n.toBase64)(e.source.bytes)}}}),i=({document:e})=>({document:{...e,source:{...e.source,bytes:(0,n.toBase64)(e.source.bytes)}}}),a=({toolResult:e})=>({toolResult:{...e,content:e.content.map(e=>e.image?o(e):e.json?(({json:e})=>({json:JSON.stringify(e)}))(e):e)}})},57186(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RECONNECT_INTERVAL=t.RECONNECT_DELAY=t.DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT=t.DEFAULT_KEEP_ALIVE_HEARTBEAT_TIMEOUT=t.DEFAULT_KEEP_ALIVE_TIMEOUT=t.START_ACK_TIMEOUT=t.CONNECTION_INIT_TIMEOUT=t.AWS_APPSYNC_REALTIME_HEADERS=t.SOCKET_STATUS=t.SUBSCRIPTION_STATUS=t.MESSAGE_TYPES=t.CONNECTION_STATE_CHANGE=t.NON_RETRYABLE_ERROR_TYPES=t.NON_RETRYABLE_CODES=t.MAX_DELAY_MS=t.AMPLIFY_SYMBOL=void 0;var n,o,i,a=r(22651);Object.defineProperty(t,"AMPLIFY_SYMBOL",{enumerable:!0,get:function(){return a.AMPLIFY_SYMBOL}}),t.MAX_DELAY_MS=5e3,t.NON_RETRYABLE_CODES=[400,401,403],t.NON_RETRYABLE_ERROR_TYPES=["BadRequestException","UnauthorizedException"],t.CONNECTION_STATE_CHANGE="ConnectionStateChange",function(e){e.GQL_CONNECTION_INIT="connection_init",e.GQL_CONNECTION_ERROR="connection_error",e.GQL_CONNECTION_ACK="connection_ack",e.GQL_START="start",e.GQL_START_ACK="start_ack",e.DATA="data",e.GQL_CONNECTION_KEEP_ALIVE="ka",e.GQL_STOP="stop",e.GQL_COMPLETE="complete",e.GQL_ERROR="error",e.EVENT_SUBSCRIBE="subscribe",e.EVENT_PUBLISH="publish",e.EVENT_SUBSCRIBE_ACK="subscribe_success",e.EVENT_PUBLISH_ACK="publish_success",e.EVENT_STOP="unsubscribe",e.EVENT_COMPLETE="unsubscribe_success",e.EVENT_SUBSCRIBE_ERROR="subscribe_error"}(n||(t.MESSAGE_TYPES=n={})),function(e){e[e.PENDING=0]="PENDING",e[e.CONNECTED=1]="CONNECTED",e[e.FAILED=2]="FAILED"}(o||(t.SUBSCRIPTION_STATUS=o={})),function(e){e[e.CLOSED=0]="CLOSED",e[e.READY=1]="READY",e[e.CONNECTING=2]="CONNECTING"}(i||(t.SOCKET_STATUS=i={})),t.AWS_APPSYNC_REALTIME_HEADERS={accept:"application/json, text/javascript","content-encoding":"amz-1.0","content-type":"application/json; charset=UTF-8"},t.CONNECTION_INIT_TIMEOUT=15e3,t.START_ACK_TIMEOUT=15e3,t.DEFAULT_KEEP_ALIVE_TIMEOUT=3e5,t.DEFAULT_KEEP_ALIVE_HEARTBEAT_TIMEOUT=5e3,t.DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT=65e3,t.RECONNECT_DELAY=5e3,t.RECONNECT_INTERVAL=6e4},57193(e,t,r){"use strict";r.d(t,{k:()=>s});var n=r(10790),o=(r(51609),r(46100)),i=r(2412),a=r(82056);const s=(0,i.P9)((e,t)=>{const r=(0,o.Y)("TextInput",null,e);return(0,n.jsx)(a.O,{component:"input",ref:t,...r,__staticSelector:"TextInput"})});s.classes=a.O.classes,s.displayName="@mantine/core/TextInput"},57293(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUpdateConversationFunction=void 0;const n=r(68523),o=r(19613),i=r(83102);t.createUpdateConversationFunction=(e,t,r,a,s,c)=>async({id:u,metadata:l,name:d})=>{const p=JSON.stringify(l),f=(0,n.getFactory)(e,t,a,"UPDATE",c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.UpdateConversation)),{data:h,errors:m}=await f({id:u,metadata:p,name:d});return{data:h?(0,o.convertItemToConversation)(e,t,h?.id,h?.createdAt,h?.updatedAt,r,s,c,h?.metadata,h?.name):h,errors:m}}},57309(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INTERNAL_USER_AGENT_OVERRIDE=t.addSchemaToClientWithInstance=t.addSchemaToClient=void 0,r(31635).__exportStar(r(50997),t);var n=r(90555);Object.defineProperty(t,"addSchemaToClient",{enumerable:!0,get:function(){return n.addSchemaToClient}});var o=r(97156);Object.defineProperty(t,"addSchemaToClientWithInstance",{enumerable:!0,get:function(){return o.addSchemaToClientWithInstance}});var i=r(83102);Object.defineProperty(t,"INTERNAL_USER_AGENT_OVERRIDE",{enumerable:!0,get:function(){return i.INTERNAL_USER_AGENT_OVERRIDE}})},57406(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var n=r(14120),o=r(85934),i=r(19724);t.partition=function(e,t,r){return[o.filter(t,r)(i.innerFrom(e)),o.filter(n.not(t,r))(i.innerFrom(e))]}},57440(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerPasskey=t.getPasskey=void 0;var n=r(97963);Object.defineProperty(t,"getPasskey",{enumerable:!0,get:function(){return n.getPasskey}}),Object.defineProperty(t,"registerPasskey",{enumerable:!0,get:function(){return n.registerPasskey}})},57468(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateRandomString=void 0;const n=r(58506);t.generateRandomString=e=>{const t=[],r=new Uint8Array(e);(0,n.getCrypto)().getRandomValues(r);for(const e of r)t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"[e%62]);return t.join("")}},57693(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","info-circle","InfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]])},57700(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetConversationFunction=void 0;const n=r(68523),o=r(19613),i=r(83102);t.createGetConversationFunction=(e,t,r,a,s,c)=>async({id:u})=>{const l=(0,n.getFactory)(e,t,a,"GET",c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.GetConversation)),{data:d,errors:p}=await l({id:u});return{data:d?(0,o.convertItemToConversation)(e,t,d.id,d.createdAt,d.updatedAt,r,s,c,d?.metadata,d?.name):d,errors:p}}},57706(e,t){"use strict";function r(e){if(!e?.amazon_pinpoint)return;const{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}Object.defineProperty(t,"__esModule",{value:!0}),t.isAmplifyOutputs=function(e){const{version:t}=e;return!!t&&t.startsWith("1")},t.parseAnalytics=r,t.parseAmplifyOutputs=function(e){const t={};if(e.storage&&(t.Storage=function(e){if(!e)return;const{bucket_name:t,aws_region:r,buckets:n}=e;return{S3:{bucket:t,region:r,buckets:n&&s(n)}}}(e.storage)),e.auth&&(t.Auth=function(e){if(!e)return;const{user_pool_id:t,user_pool_client_id:r,identity_pool_id:n,password_policy:o,mfa_configuration:i,mfa_methods:s,unauthenticated_identities_enabled:c,oauth:u,username_attributes:l,standard_required_attributes:d,groups:p}=e,f={Cognito:{userPoolId:t,userPoolClientId:r,groups:p}};var h;return n&&(f.Cognito={...f.Cognito,identityPoolId:n}),o&&(f.Cognito.passwordFormat={requireLowercase:o.require_lowercase,requireNumbers:o.require_numbers,requireUppercase:o.require_uppercase,requireSpecialCharacters:o.require_symbols,minLength:o.min_length??6}),i&&(f.Cognito.mfa={status:(h=i,"OPTIONAL"===h?"optional":"REQUIRED"===h?"on":"off"),smsEnabled:s?.includes("SMS"),totpEnabled:s?.includes("TOTP")}),c&&(f.Cognito.allowGuestAccess=c),u&&(f.Cognito.loginWith={oauth:{domain:u.domain,redirectSignIn:u.redirect_sign_in_uri,redirectSignOut:u.redirect_sign_out_uri,responseType:"token"===u.response_type?"token":"code",scopes:u.scopes,providers:a(u.identity_providers)}}),l&&(f.Cognito.loginWith={...f.Cognito.loginWith,email:l.includes("email"),phone:l.includes("phone_number"),username:l.includes("username")}),d&&(f.Cognito.userAttributes=d.reduce((e,t)=>({...e,[t]:{required:!0}}),{})),f}(e.auth)),e.analytics&&(t.Analytics=r(e.analytics)),e.geo&&(t.Geo=function(e){if(!e)return;const{aws_region:t,geofence_collections:r,maps:n,search_indices:o}=e;return{LocationService:{region:t,searchIndices:o,geofenceCollections:r,maps:n}}}(e.geo)),e.data&&(t.API=function(e){if(!e)return;const{aws_region:t,default_authorization_type:r,url:n,api_key:i,model_introspection:a}=e;return{GraphQL:{endpoint:n,defaultAuthMode:o(r),region:t,apiKey:i,modelIntrospection:a}}}(e.data)),e.custom){const r=function(e){if(!e?.events)return;const{url:t,aws_region:r,api_key:n,default_authorization_type:i}=e.events;return{Events:{endpoint:t,defaultAuthMode:o(i),region:r,apiKey:n}}}(e.custom);r&&"Events"in r&&(t.API={...t.API,...r})}return e.notifications&&(t.Notifications=function(e){if(!e)return;const{aws_region:t,channels:r,amazon_pinpoint_app_id:n}=e,o=r.includes("IN_APP_MESSAGING"),i=r.includes("APNS")||r.includes("FCM");if(!o&&!i)return;const a={};return o&&(a.InAppMessaging={Pinpoint:{appId:n,region:t}}),i&&(a.PushNotification={Pinpoint:{appId:n,region:t}}),a}(e.notifications)),t};const n={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"};function o(e){return n[e]}const i={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"};function a(e=[]){return e.reduce((e,t)=>(void 0!==i[t]&&e.push(i[t]),e),[])}function s(e){const t={};return e.forEach(({name:e,bucket_name:r,aws_region:n,paths:o})=>{if(e in t)throw new Error(`Duplicate friendly name found: ${e}. Name must be unique.`);const i=o?Object.entries(o).reduce((e,[t,r])=>(void 0!==r&&(e[t]=r),e),{}):void 0;t[e]={bucketName:r,region:n,paths:i}}),t}},58168(e,t,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},58253(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultIdentityIdStore=void 0;const n=r(56547),o=r(22651),i=r(47278),a=r(87660),s=new n.ConsoleLogger("DefaultIdentityIdStore");t.DefaultIdentityIdStore=class{setAuthConfig(e){(0,o.assertIdentityPoolIdConfig)(e.Cognito),this.authConfig=e,this._authKeys=c("Cognito",e.Cognito.identityPoolId)}constructor(e){this._authKeys={},this._hasGuestIdentityId=!1,this.keyValueStorage=e}async loadIdentityId(){(0,o.assertIdentityPoolIdConfig)(this.authConfig?.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{const e=await this.keyValueStorage.getItem(this._authKeys.identityId);return e?(this._hasGuestIdentityId=!0,{id:e,type:"guest"}):null}}catch(e){return s.log("Error getting stored IdentityId.",e),null}}async storeIdentityId(e){(0,o.assertIdentityPoolIdConfig)(this.authConfig?.Cognito),"guest"===e.type?(this.keyValueStorage.setItem(this._authKeys.identityId,e.id),this._primaryIdentityId=void 0,this._hasGuestIdentityId=!0):(this._primaryIdentityId=e.id,this._hasGuestIdentityId&&(this.keyValueStorage.removeItem(this._authKeys.identityId),this._hasGuestIdentityId=!1))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}};const c=(e,t)=>(0,i.getAuthStorageKeys)(a.IdentityIdStorageKeys)(`com.amplify.${e}`,t)},58261(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SERVICE_CLIENT_API_CONFIG=void 0;const n=r(7884),o=r(22651),i=r(62125);t.DEFAULT_SERVICE_CLIENT_API_CONFIG={service:i.COGNITO_IDP_SERVICE_NAME,retryDecider:(0,n.getRetryDecider)(n.parseJsonError),computeDelay:n.jitteredBackoff,get userAgentValue(){return(0,o.getAmplifyUserAgent)()},cache:"no-store"}},58327(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AWSAppSyncRealTimeProvider=void 0;const n=r(22651),o=r(57186),i=r(67201),a=r(29901),s="AWSAppSyncRealTimeProvider";class c extends i.AWSWebSocketProvider{constructor(){super({providerName:s,wsProtocolName:"graphql-ws",connectUri:"/connect"})}getProviderName(){return s}subscribe(e,t){return super.subscribe(e,t)}async _prepareSubscriptionPayload({options:e,subscriptionId:t,customUserAgentDetails:r,additionalCustomHeaders:i,libraryConfigHeaders:s}){const{appSyncGraphqlEndpoint:c,authenticationType:u,query:l,variables:d,apiKey:p,region:f}=e,h={query:l,variables:d},m=JSON.stringify(h),g={id:t,payload:{data:m,extensions:{authorization:{...{...await(0,a.awsRealTimeHeaderBasedAuth)({apiKey:p,appSyncGraphqlEndpoint:c,authenticationType:u,payload:m,canonicalUri:"",region:f,additionalCustomHeaders:i}),...s,...i,[n.USER_AGENT_HEADER]:(0,n.getAmplifyUserAgent)(r)}}}},type:o.MESSAGE_TYPES.GQL_START};return JSON.stringify(g)}_handleSubscriptionData(e){this.logger.debug(`subscription message from AWS AppSync RealTime: ${e.data}`);const{id:t="",payload:r,type:n}=JSON.parse(String(e.data)),{observer:i=null,query:a="",variables:s={}}=this.subscriptionObserverMap.get(t)||{};return this.logger.debug({id:t,observer:i,query:a,variables:s}),n===o.MESSAGE_TYPES.DATA&&r&&r.data?(i?i.next(r):this.logger.debug(`observer not found for id: ${t}`),[!0,{id:t,type:n,payload:r}]):[!1,{id:t,type:n,payload:r}]}_unsubscribeMessage(e){return{id:e,type:o.MESSAGE_TYPES.GQL_STOP}}_extractConnectionTimeout(e){const{payload:{connectionTimeoutMs:t=o.DEFAULT_KEEP_ALIVE_TIMEOUT}={}}=e;return t}_extractErrorCodeAndType(e){const{payload:{errors:[{errorType:t="",errorCode:r=0}={}]=[]}={}}=e;return{errorCode:r,errorType:t}}}t.AWSAppSyncRealTimeProvider=c},58372(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSignatureString=void 0;const n=r(136),o=r(22651),i=r(49913);t.getSignatureString=({userPoolName:e,username:t,challengeParameters:r,dateNow:s,hkdf:c})=>{const u=i.textEncoder.convert(e),l=i.textEncoder.convert(t),d=a(r.SECRET_BLOCK),p=i.textEncoder.convert(s),f=new Uint8Array(u.byteLength+l.byteLength+d.byteLength+p.byteLength);f.set(u,0),f.set(l,u.byteLength),f.set(d,u.byteLength+l.byteLength),f.set(p,u.byteLength+l.byteLength+d.byteLength);const h=new n.Sha256(c);h.update(f);const m=h.digestSync();return o.base64Encoder.convert(m)};const a=e=>{const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),r=o.base64Decoder.convert(t),n=new Uint8Array(r.length);for(let e=0;e<r.length;++e)n[e]=r.charCodeAt(e);return n}},58407(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteConversationFunction=void 0;const n=r(68523),o=r(19613),i=r(83102);t.createDeleteConversationFunction=(e,t,r,a,s,c)=>async({id:u})=>{const l=(0,n.getFactory)(e,t,a,"DELETE",c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.DeleteConversation)),{data:d,errors:p}=await l({id:u});return{data:d?(0,o.convertItemToConversation)(e,t,d?.id,d?.createdAt,d?.updatedAt,r,s,c,d?.metadata,d?.name):d,errors:p}}},58455(e,t,r){"use strict";function n(e){return"group"in e}r.d(t,{c:()=>n})},58506(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAtob=t.getBtoa=t.getCrypto=void 0;const n=r(1123);t.getCrypto=()=>{if("object"==typeof window&&"object"==typeof window.crypto)return window.crypto;if("object"==typeof crypto)return crypto;throw new n.AmplifyError({name:"MissingPolyfill",message:"Cannot resolve the `crypto` function from the environment."})},t.getBtoa=()=>{if("undefined"!=typeof window&&"function"==typeof window.btoa)return window.btoa;if("function"==typeof btoa)return btoa;throw new n.AmplifyError({name:"Base64EncoderError",message:"Cannot resolve the `btoa` function from the environment."})},t.getAtob=()=>{if("undefined"!=typeof window&&"function"==typeof window.atob)return window.atob;if("function"==typeof atob)return atob;throw new n.AmplifyError({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})}},58765(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidationError=function(e,t){const{message:r,recoverySuggestion:i}=n.validationErrorMap[t];if(!e)throw new o.AuthError({name:t,message:r,recoverySuggestion:i})};const n=r(70928),o=r(43518)},58799(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultIfEmpty=void 0;var n=r(65212),o=r(17214);t.defaultIfEmpty=function(e){return n.operate(function(t,r){var n=!1;t.subscribe(o.createOperatorSubscriber(r,function(e){n=!0,r.next(e)},function(){n||r.next(e),r.complete()}))})}},58821(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jitteredBackoff=function(e=n.MAX_DELAY_MS){return t=>{const r=2**t*100+100*Math.random();return!(r>e)&&r}};const n=r(77113)},58870(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(67492),t)},59119(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NO_ENDPOINT=t.NO_AUTH_TOKEN_HEADER=t.NO_SIGNED_IN_USER=t.NO_VALID_AUTH_TOKEN=t.NO_VALID_CREDENTIALS=t.NO_API_KEY=void 0;const n=r(82192);t.NO_API_KEY={name:"NoApiKey",message:n.GraphQLAuthError.NO_API_KEY,recoverySuggestion:'The API request was made with `authMode: "apiKey"` but no API Key was passed into `Amplify.configure()`. Review if your API key is passed into the `Amplify.configure()` function.'},t.NO_VALID_CREDENTIALS={name:"NoCredentials",message:n.GraphQLAuthError.NO_CREDENTIALS,recoverySuggestion:'The API request was made with `authMode: "iam"` but no authentication credentials are available.\n\nIf you intended to make a request using an authenticated role, review if your user is signed in before making the request.\n\nIf you intend to make a request using an unauthenticated role or also known as "guest access", verify if "Auth.Cognito.allowGuestAccess" is set to "true" in the `Amplify.configure()` function.'},t.NO_VALID_AUTH_TOKEN={name:"NoValidAuthTokens",message:n.GraphQLAuthError.NO_FEDERATED_JWT,recoverySuggestion:"If you intended to make an authenticated API request, review if the current user is signed in."},t.NO_SIGNED_IN_USER={name:"NoSignedUser",message:n.GraphQLAuthError.NO_CURRENT_USER,recoverySuggestion:"Review the underlying exception field for more details. If you intended to make an authenticated API request, review if the current user is signed in."},t.NO_AUTH_TOKEN_HEADER={name:"NoAuthorizationHeader",message:n.GraphQLAuthError.NO_AUTH_TOKEN,recoverySuggestion:'The API request was made with `authMode: "lambda"` but no `authToken` is set. Review if a valid authToken is passed into the request options or in the `Amplify.configure()` function.'},t.NO_ENDPOINT={name:"NoEndpoint",message:"No GraphQL endpoint configured in `Amplify.configure()`.",recoverySuggestion:"Review if the GraphQL API endpoint is set in the `Amplify.configure()` function."}},59328(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyError=void 0;var n=r(9619);t.EmptyError=n.createErrorClass(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})},59392(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADD_OAUTH_LISTENER=void 0,t.ADD_OAUTH_LISTENER=Symbol("oauth-listener")},59396(e,t,r){"use strict";function n(e){return e}r.d(t,{V:()=>n})},59436(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signOut=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;let r;(0,o.assertTokenProviderConfig)(t),e?.global?await async function(e){try{const{userPoolEndpoint:t,userPoolId:r}=e,n=await a.tokenOrchestrator.getTokenStore().loadTokens();(0,c.assertAuthTokens)(n);const u=(0,f.createGlobalSignOutClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await u({region:(0,s.getRegionFromUserPoolId)(r),userAgentValue:(0,i.getAuthUserAgentValue)(o.AuthAction.SignOut)},{AccessToken:n.accessToken.toString()})}catch(e){m.debug("Global signOut error caught but will proceed with token removal")}}(t):await async function(e){try{const{userPoolEndpoint:t,userPoolId:r,userPoolClientId:n}=e,u=await a.tokenOrchestrator.getTokenStore().loadTokens();if((0,c.assertAuthTokensWithRefreshToken)(u),g(u.accessToken)){const e=(0,f.createRevokeTokenClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await e({region:(0,s.getRegionFromUserPoolId)(r),userAgentValue:(0,i.getAuthUserAgentValue)(o.AuthAction.SignOut)},{ClientId:n,Token:u.refreshToken})}}catch(e){m.debug("Client signOut error caught but will proceed with token removal")}}(t);try{(0,o.assertOAuthConfig)(t),r=!0}catch(e){r=!1}if(r){const r=new l.DefaultOAuthStore(n.defaultStorage);r.setAuthConfig(t);const{type:o}=await(0,u.handleOAuthSignOut)(t,r,a.tokenOrchestrator,e?.oauth?.redirectUrl)??{};if("error"===o)throw new d.AuthError({name:p.OAUTH_SIGNOUT_EXCEPTION,message:"An error occurred when attempting to log out from OAuth provider."})}else a.tokenOrchestrator.clearTokens(),await(0,n.clearCredentials)(),n.Hub.dispatch("auth",{event:"signedOut"},"Auth",o.AMPLIFY_SYMBOL)};const n=r(56547),o=r(22651),i=r(17238),a=r(4870),s=r(62639),c=r(64166),u=r(7479),l=r(21636),d=r(43518),p=r(34143),f=r(35456),h=r(28228),m=new n.ConsoleLogger("Auth"),g=e=>!!e?.payload?.origin_jti},59444(e,t,r){"use strict";function n(e){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)?function(e){let t=e.replace("#","");if(3===t.length){const e=t.split("");t=[e[0],e[0],e[1],e[1],e[2],e[2]].join("")}if(8===t.length){const e=parseInt(t.slice(6,8),16)/255;return{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:e}}const r=parseInt(t,16);return{r:r>>16&255,g:r>>8&255,b:255&r,a:1}}(e):e.startsWith("rgb")?function(e){const[t,r,n,o]=e.replace(/[^0-9,./]/g,"").split(/[/,]/).map(Number);return{r:t,g:r,b:n,a:void 0===o?1:o}}(e):e.startsWith("hsl")?function(e){const t=e.match(/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i);if(!t)return{r:0,g:0,b:0,a:1};const r=parseInt(t[1],10),n=parseInt(t[2],10)/100,o=parseInt(t[3],10)/100,i=t[5]?parseFloat(t[5]):void 0,a=(1-Math.abs(2*o-1))*n,s=r/60,c=a*(1-Math.abs(s%2-1)),u=o-a/2;let l,d,p;return s>=0&&s<1?(l=a,d=c,p=0):s>=1&&s<2?(l=c,d=a,p=0):s>=2&&s<3?(l=0,d=a,p=c):s>=3&&s<4?(l=0,d=c,p=a):s>=4&&s<5?(l=c,d=0,p=a):(l=a,d=0,p=c),{r:Math.round(255*(l+u)),g:Math.round(255*(d+u)),b:Math.round(255*(p+u)),a:i||1}}(e):{r:0,g:0,b:0,a:1}}r.d(t,{K:()=>n})},59640(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customOpFactory=function(e,t,r,h,m,g,y){const v=void 0!==h.arguments;return(...b)=>{const E=b[b.length-1];let w,S;if(m){if(!(e=>"symbol"==typeof e?.token?.value)(b[0]))throw new Error(`Invalid first argument passed to ${h.name}. Expected contextSpec`);w=b[0]}return v&&(S=m?b[1]:b[0]),"subscription"===r?function(e,t,r,i,a,s,h){const{name:m}=r,g=(0,o.authModeParams)(e,i,s),y=(0,o.getCustomHeaders)(e,i,s?.headers),v=l(r),b=d(r),E=p(t,r),w=u(r.type,"model")?r.type.model:void 0,S=`\n ${"subscription".toLocaleLowerCase()}${v} {\n ${m}${b} ${E}\n }\n `,A=f(r,a),_=(0,c.createUserAgentOverride)(h);return e.graphql({...g,query:S,variables:A,..._},y).pipe((0,n.map)(r=>{const[n]=Object.keys(r.data),i=r.data[n],[a]=w?(0,o.initializeModel)(e,w,[i],t,g.authMode,g.authToken):[i];return a}))}(e,t,h,g,S,E,y):function(e,t,r,n,h,m,g,y,v){return(0,a.selfAwareAsync)(async a=>{const{name:b}=n,E=(0,o.authModeParams)(e,h,g),w=(0,o.getCustomHeaders)(e,h,g?.headers),S=l(n),A=d(n),_=p(t,n),P=u(n.type,"model")?n.type.model:void 0,C=`\n ${r.toLocaleLowerCase()}${S} {\n ${b}${A} ${_}\n }\n `,I=f(n,m),x=(0,c.createUserAgentOverride)(v);try{const r=y?e.graphql(y,{...E,query:C,variables:I},w):e.graphql({...E,query:C,variables:I,...x},w),n=(0,s.extendCancellability)(r,a),{data:i,extensions:c}=await n;if(i){const[r]=Object.keys(i),n=Array.isArray(i[r]),a=n?i[r].filter(e=>e):i[r],s=P?(0,o.initializeModel)(e,P,n?a:[a],t,E.authMode,E.authToken,!!y):a;return{data:!n&&Array.isArray(s)?s.shift():s,extensions:c}}return{data:null,extensions:c}}catch(r){const{data:n,errors:a}=r;if(n&&0!==Object.keys(n).length&&a){const[s]=Object.keys(n),c=Array.isArray(n[s]),u=c?n[s].filter(e=>e):n[s];if(u){const r=P?(0,o.initializeModel)(e,P,c?u:[u],t,E.authMode,E.authToken,!!y):u;return{data:!c&&Array.isArray(r)?r.shift():r,errors:a}}return(0,i.handleSingularGraphQlError)(r)}return(0,i.handleSingularGraphQlError)(r)}})}(e,t,r,h,g,S,E,w,y)}};const n=r(79364),o=r(44287),i=r(48310),a=r(17631),s=r(53841),c=r(83102);function u(e,t){return"string"==typeof e[t]}function l(e){if(void 0===e.arguments)return"";const t=Object.entries(e.arguments).map(([e,t])=>{const r=function({type:e,isRequired:t}){const r=t?"!":"";return function(e){return e instanceof Object&&"enum"in e}(e)?`${e.enum}${r}`:function(e){return e instanceof Object&&"input"in e}(e)?`${e.input}${r}`:`${e}${r}`}(t);return`$${e}: ${t.isArray?`[${r}]${t.isArrayNullable?"":"!"}`:r}`}).join(", ");return t.length>0?`(${t})`:""}function d(e){if(void 0===e.arguments)return"";const t=Object.keys(e.arguments).map(e=>`${e}: $${e}`).join(", ");return t.length>0?`(${t})`:""}function p(e,t){if(u(t,"type")||u(t.type,"enum"))return"";if(u(t.type,"nonModel")){const r=e.nonModels[t.type.nonModel];return`{${(0,o.selectionSetIRToString)((0,o.getDefaultSelectionSetForNonModelWithIR)(r,e))}}`}return u(t.type,"model")?`{${(0,o.generateSelectionSet)(e,t.type.model)}}`:""}function f(e,t={}){const r={};if(void 0===e.arguments)return r;for(const n of Object.values(e.arguments))if(void 0!==t[n.name])r[n.name]=t[n.name];else if(n.isRequired)throw new Error(`${e.name} requires arguments '${n.name}'`);return r}},59645(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validationErrorMap=t.RestApiValidationErrorCode=t.assertValidationError=t.RestApiError=t.isCancelError=t.CanceledError=void 0;var n=r(46834);Object.defineProperty(t,"CanceledError",{enumerable:!0,get:function(){return n.CanceledError}}),Object.defineProperty(t,"isCancelError",{enumerable:!0,get:function(){return n.isCancelError}});var o=r(85533);Object.defineProperty(t,"RestApiError",{enumerable:!0,get:function(){return o.RestApiError}});var i=r(72047);Object.defineProperty(t,"assertValidationError",{enumerable:!0,get:function(){return i.assertValidationError}});var a=r(53222);Object.defineProperty(t,"RestApiValidationErrorCode",{enumerable:!0,get:function(){return a.RestApiValidationErrorCode}}),Object.defineProperty(t,"validationErrorMap",{enumerable:!0,get:function(){return a.validationErrorMap}})},59663(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.svelteWebDetect=function(){return(0,n.windowExists)()&&(0,n.keyPrefixMatch)(window,"__SVELTE")},t.svelteSSRDetect=function(){return(0,n.processExists)()&&void 0!==process.env&&!!Object.keys(process.env).find(e=>e.includes("svelte"))};const n=r(62114)},59746(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56697);t.default=function(e){return"string"==typeof e&&n.default.test(e)}},60268(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31797),o=r(76011);t.default=function(e){const t=(r="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&r[3])<<4|r[4]>>4&15,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|15&r[6],r[7],(15&r[1])<<4|(240&r[2])>>4,(15&r[2])<<4|(240&r[3])>>4,16|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]));var r;return"string"==typeof e?(0,o.unsafeStringify)(t):t}},60448(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAWSExports=void 0;const n=r(69580),o=r(1123),i=new n.ConsoleLogger("parseAWSExports"),a={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"};t.parseAWSExports=(e={})=>{if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new o.AmplifyError({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from `amplifyconfiguration.json`."});const{aws_appsync_apiKey:t,aws_appsync_authenticationType:r,aws_appsync_graphqlEndpoint:n,aws_appsync_region:s,aws_bots_config:l,aws_cognito_identity_pool_id:d,aws_cognito_sign_up_verification_method:p,aws_cognito_mfa_configuration:f,aws_cognito_mfa_types:h,aws_cognito_password_protection_settings:m,aws_cognito_verification_mechanisms:g,aws_cognito_signup_attributes:y,aws_cognito_social_providers:v,aws_cognito_username_attributes:b,aws_mandatory_sign_in:E,aws_mobile_analytics_app_id:w,aws_mobile_analytics_app_region:S,aws_user_files_s3_bucket:A,aws_user_files_s3_bucket_region:_,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:P,aws_user_pools_id:C,aws_user_pools_web_client_id:I,geo:x,oauth:O,predictions:k,aws_cloud_logic_custom:T,Notifications:N,modelIntrospection:j}=e,R={};w&&(R.Analytics={Pinpoint:{appId:w,region:S}});const{InAppMessaging:M,Push:D}=N??{};if(M?.AWSPinpoint||D?.AWSPinpoint){if(M?.AWSPinpoint){const{appId:e,region:t}=M.AWSPinpoint;R.Notifications={InAppMessaging:{Pinpoint:{appId:e,region:t}}}}if(D?.AWSPinpoint){const{appId:e,region:t}=D.AWSPinpoint;R.Notifications={...R.Notifications,PushNotification:{Pinpoint:{appId:e,region:t}}}}}if(Array.isArray(l)&&(R.Interactions={LexV1:Object.fromEntries(l.map(e=>[e.name,e]))}),n){const e=a[r];e||i.debug(`Invalid authentication type ${r}. Falling back to IAM.`),R.API={GraphQL:{endpoint:n,apiKey:t,region:s,defaultAuthMode:e??"iam"}},j&&(R.API.GraphQL.modelIntrospection=j)}const U=f?{status:f&&f.toLowerCase(),totpEnabled:h?.includes("TOTP")??!1,smsEnabled:h?.includes("SMS")??!1}:void 0,F=m?{minLength:m.passwordPolicyMinLength,requireLowercase:m.passwordPolicyCharacters?.includes("REQUIRES_LOWERCASE")??!1,requireUppercase:m.passwordPolicyCharacters?.includes("REQUIRES_UPPERCASE")??!1,requireNumbers:m.passwordPolicyCharacters?.includes("REQUIRES_NUMBERS")??!1,requireSpecialCharacters:m.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS")??!1}:void 0,L=Array.from(new Set([...g??[],...y??[]])).reduce((e,t)=>({...e,[t.toLowerCase()]:{required:!0}}),{}),z=b?.includes("EMAIL")??!1,V=b?.includes("PHONE_NUMBER")??!1;(d||C)&&(R.Auth={Cognito:{identityPoolId:d,allowGuestAccess:"enable"!==E,signUpVerificationMethod:p,userAttributes:L,userPoolClientId:I,userPoolId:C,mfa:U,passwordFormat:F,loginWith:{username:!(z||V),email:z,phone:V}}});const H=!!O&&Object.keys(O).length>0,$=!!v&&v.length>0;if(R.Auth&&H&&(R.Auth.Cognito.loginWith={...R.Auth.Cognito.loginWith,oauth:{...c(O),...$&&{providers:u(v)}}}),A&&(R.Storage={S3:{bucket:A,region:_,dangerouslyConnectToHttpEndpointForTesting:P}}),x){const{amazon_location_service:e}=x;R.Geo={LocationService:{maps:e.maps,geofenceCollections:e.geofenceCollections,searchIndices:e.search_indices,region:e.region}}}if(T&&(R.API={...R.API,REST:T.reduce((e,t)=>{const{name:r,endpoint:n,region:o,service:i}=t;return{...e,[r]:{endpoint:n,...i?{service:i}:void 0,...o?{region:o}:void 0}}},{})}),k){const{VoiceId:e}=k?.convert?.speechGenerator?.defaults??{};R.Predictions=e?{...k,convert:{...k.convert,speechGenerator:{...k.convert.speechGenerator,defaults:{voiceId:e}}}}:k}return R};const s=e=>e?.split(",")??[],c=({domain:e,scope:t,redirectSignIn:r,redirectSignOut:n,responseType:o})=>({domain:e,scopes:t,redirectSignIn:s(r),redirectSignOut:s(n),responseType:o}),u=e=>e.map(e=>{const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)})},60598(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0;var n=r(65212),o=r(17214);t.takeWhile=function(e,t){return void 0===t&&(t=!1),n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){var o=e(r,i++);(o||t)&&n.next(r),!o&&n.complete()}))})}},60732(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticationHelper=void 0;const n=r(31635).__importDefault(r(23462));t.AuthenticationHelper=n.default},61094(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(91970),t)},61129(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isApiGraphQLConfig=function(e){return void 0!==e}},61176(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashedDataAsHex=t.getHashedData=void 0;const n=r(136),o=r(80056);t.getHashedData=(e,t)=>{const r=new n.Sha256(e??void 0);return r.update(t),r.digestSync()},t.getHashedDataAsHex=(e,r)=>{const n=(0,t.getHashedData)(e,r);return(0,o.toHex)(n)}},61279(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementAt=void 0;var n=r(7024),o=r(85934),i=r(30632),a=r(58799),s=r(54383);t.elementAt=function(e,t){if(e<0)throw new n.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(c){return c.pipe(o.filter(function(t,r){return r===e}),s.take(1),r?a.defaultIfEmpty(t):i.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},61285(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateU=void 0;const n=r(74008),o=r(1882),i=r(19308);t.calculateU=({A:e,B:t})=>{const r=new n.BigInteger((0,o.getHashFromHex)((0,i.getPaddedHex)(e)+(0,i.getPaddedHex)(t)),16);if(r.equals(n.BigInteger.ZERO))throw new Error("U cannot be zero.");return r}},61558(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AmplifyErrorCode=void 0,function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"}(r||(t.AmplifyErrorCode=r={}))},61587(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.of=void 0;var n=r(26404),o=r(47058);t.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n.popScheduler(e);return o.from(e,r)}},61617(e,t,r){"use strict";r.d(t,{Z:()=>o});var n=r(51609);function o({value:e,defaultValue:t,finalValue:r,onChange:o=()=>{}}){const[i,a]=(0,n.useState)(void 0!==t?t:r);return void 0!==e?[e,o,!0]:[i,(e,...t)=>{a(e),o?.(e,...t)},!1]}},61712(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forgetDevice=async function(e){const{device:{id:t}={id:void 0}}=e??{},r=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(r);const{userPoolEndpoint:d,userPoolId:p}=r,{tokens:f}=await(0,n.fetchAuthSession)();(0,i.assertAuthTokens)(f);const h=await s.tokenOrchestrator.getDeviceMetadata(),m=h?.deviceKey;t||(0,i.assertDeviceMetadata)(h);const g=(0,u.createForgetDeviceClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:d})});await g({region:(0,a.getRegionFromUserPoolId)(p),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.ForgetDevice)},{AccessToken:f.accessToken.toString(),DeviceKey:t??m}),t&&t!==m||await s.tokenOrchestrator.clearDeviceMetadata()};const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(4870),c=r(17238),u=r(35456),l=r(28228)},61778(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferToggle=void 0;var o=r(69879),i=r(65212),a=r(19724),s=r(17214),c=r(5717),u=r(54830);t.bufferToggle=function(e,t){return i.operate(function(r,i){var l=[];a.innerFrom(e).subscribe(s.createOperatorSubscriber(i,function(e){var r=[];l.push(r);var n=new o.Subscription;n.add(a.innerFrom(t(e)).subscribe(s.createOperatorSubscriber(i,function(){u.arrRemove(l,r),i.next(r),n.unsubscribe()},c.noop)))},c.noop)),r.subscribe(s.createOperatorSubscriber(i,function(e){var t,r;try{for(var o=n(l),i=o.next();!i.done;i=o.next())i.value.push(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},function(){for(;l.length>0;)i.next(l.shift());i.complete()}))})}},61964(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(11140),t)},62114(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keyPrefixMatch=t.processExists=t.documentExists=t.windowExists=t.globalThisExists=t.globalExists=void 0,t.globalExists=()=>"undefined"!=typeof globalThis,t.globalThisExists=()=>"undefined"!=typeof globalThis,t.windowExists=()=>"undefined"!=typeof window,t.documentExists=()=>"undefined"!=typeof document,t.processExists=()=>"undefined"!=typeof process,t.keyPrefixMatch=(e,t)=>!!Object.keys(e).find(e=>e.startsWith(t))},62125(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COGNITO_IDP_SERVICE_NAME=void 0,t.COGNITO_IDP_SERVICE_NAME="cognito-idp"},62196(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},62275(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interval=void 0;var n=r(62326),o=r(5825);t.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=n.asyncScheduler),e<0&&(e=0),o.timer(e,e,t)}},62326(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var n=r(64772),o=r(19533);t.asyncScheduler=new o.AsyncScheduler(n.AsyncAction),t.async=t.asyncScheduler},62421(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.haveCredentialsChanged=void 0,t.haveCredentialsChanged=(e,t)=>e.accessKeyId!==t.accessKeyId||e.sessionToken!==t.sessionToken||e.secretAccessKey!==t.secretAccessKey},62560(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObservable=void 0;var n=r(48051),o=r(10281);t.isObservable=function(e){return!!e&&(e instanceof n.Observable||o.isFunction(e.lift)&&o.isFunction(e.subscribe))}},62639(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRegionFromIdentityPoolId=t.getRegionFromUserPoolId=void 0;var n=r(81547);Object.defineProperty(t,"getRegionFromUserPoolId",{enumerable:!0,get:function(){return n.getRegionFromUserPoolId}}),Object.defineProperty(t,"getRegionFromIdentityPoolId",{enumerable:!0,get:function(){return n.getRegionFromIdentityPoolId}})},62893(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowCount=void 0;var o=r(76808),i=r(65212),a=r(17214);t.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return i.operate(function(t,i){var s=[new o.Subject],c=0;i.next(s[0].asObservable()),t.subscribe(a.createOperatorSubscriber(i,function(t){var a,u;try{for(var l=n(s),d=l.next();!d.done;d=l.next())d.value.next(t)}catch(e){a={error:e}}finally{try{d&&!d.done&&(u=l.return)&&u.call(l)}finally{if(a)throw a.error}}var p=c-e+1;if(p>=0&&p%r===0&&s.shift().complete(),++c%r===0){var f=new o.Subject;s.push(f),i.next(f.asObservable())}},function(){for(;s.length>0;)s.shift().complete();i.complete()},function(e){for(;s.length>0;)s.shift().error(e);i.error(e)},function(){s=null}))})}},63089(e,t,r){"use strict";r.d(t,{F:()=>q});var n=r(10790),o=r(51609),i=r(83505),a=r(88149),s=r(59396),c=r(46100),u=r(52837),l=r(11507),d=r(2412),p=r(46798);const[f,h]=(0,p.F)("ScrollArea.Root component was not found in tree");function m(e){const t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e}),(0,o.useMemo)(()=>(...e)=>t.current?.(...e),[])}var g=r(45585);function y(e,t){const r=m(t);(0,g.o)(()=>{let t=0;if(e){const n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}const v=(0,o.forwardRef)((e,t)=>{const{style:r,...i}=e,a=h(),[s,c]=(0,o.useState)(0),[u,l]=(0,o.useState)(0),d=Boolean(s&&u);return y(a.scrollbarX,()=>{const e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),l(e)}),y(a.scrollbarY,()=>{const e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),c(e)}),d?(0,n.jsx)("div",{...i,ref:t,style:{...r,width:s,height:u}}):null}),b=(0,o.forwardRef)((e,t)=>{const r=h(),o=Boolean(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&o?(0,n.jsx)(v,{...e,ref:t}):null});var E=r(37055);const w={scrollHideDelay:1e3,type:"hover"},S=(0,o.forwardRef)((e,t)=>{const{type:r,scrollHideDelay:i,scrollbars:a,getStyles:s,...u}=(0,c.Y)("ScrollAreaRoot",w,e),[d,p]=(0,o.useState)(null),[h,m]=(0,o.useState)(null),[g,y]=(0,o.useState)(null),[v,b]=(0,o.useState)(null),[S,A]=(0,o.useState)(null),[_,P]=(0,o.useState)(0),[C,I]=(0,o.useState)(0),[x,O]=(0,o.useState)(!1),[k,T]=(0,o.useState)(!1),N=(0,E.pc)(t,e=>p(e));return(0,n.jsx)(f,{value:{type:r,scrollHideDelay:i,scrollArea:d,viewport:h,onViewportChange:m,content:g,onContentChange:y,scrollbarX:v,onScrollbarXChange:b,scrollbarXEnabled:x,onScrollbarXEnabledChange:O,scrollbarY:S,onScrollbarYChange:A,scrollbarYEnabled:k,onScrollbarYEnabledChange:T,onCornerWidthChange:P,onCornerHeightChange:I,getStyles:s},children:(0,n.jsx)(l.a,{...u,ref:N,__vars:{"--sa-corner-width":"xy"!==a?"0px":`${_}px`,"--sa-corner-height":"xy"!==a?"0px":`${C}px`}})})});function A(e,t){const{delay:r,flushOnUnmount:n,leading:i}="number"==typeof t?{delay:t,flushOnUnmount:!1,leading:!1}:t,a=m(e),s=(0,o.useRef)(0),c=(0,o.useMemo)(()=>{const e=Object.assign((...t)=>{window.clearTimeout(s.current);const n=e._isFirstCall;function o(){window.clearTimeout(s.current),s.current=0,e._isFirstCall=!0}if(e._isFirstCall=!1,i&&n){a(...t);const n=()=>{o()},i=()=>{0!==s.current&&(o(),a(...t))},c=()=>{o()};return e.flush=i,e.cancel=c,void(s.current=window.setTimeout(n,r))}if(i&&!n){const n=()=>{0!==s.current&&(o(),a(...t))},i=()=>{o()};e.flush=n,e.cancel=i;const c=()=>{o()};return void(s.current=window.setTimeout(c,r))}const c=()=>{0!==s.current&&(o(),a(...t))};e.flush=c,e.cancel=()=>{o()},s.current=window.setTimeout(c,r)},{flush:()=>{},cancel:()=>{},_isFirstCall:!0});return e},[a,r,i]);return(0,o.useEffect)(()=>()=>{n?c.flush():c.cancel()},[c,n]),c}S.displayName="@mantine/core/ScrollAreaRoot";var _=r(82820);function P(e,t){const r=e/t;return Number.isNaN(r)?0:r}function C(e){const t=P(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function I(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function x(e,t,r="ltr"){const n=C(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-o,a=t.content-t.viewport,s=i-n,c=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,"ltr"===r?[0,a]:[-1*a,0]);return I([0,a],[0,s])(c)}function O(e,t){return e>0&&e<t}function k(e){return e?parseInt(e,10):0}function T(e,t,{checkForDefaultPrevented:r=!0}={}){return n=>{e?.(n),!1!==r&&n.defaultPrevented||t?.(n)}}const[N,j]=(0,p.F)("ScrollAreaScrollbar was not found in tree"),R=(0,o.forwardRef)((e,t)=>{const{sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:s,onThumbPointerDown:c,onThumbPositionChange:u,onDragScroll:l,onWheelScroll:d,onResize:p,...f}=e,g=h(),[v,b]=(0,o.useState)(null),w=(0,E.pc)(t,e=>b(e)),S=(0,o.useRef)(null),_=(0,o.useRef)(""),{viewport:P}=g,C=r.content-r.viewport,I=m(d),x=m(u),O=A(p,10),k=e=>{if(S.current){const t=e.clientX-S.current.left,r=e.clientY-S.current.top;l({x:t,y:r})}};return(0,o.useEffect)(()=>{const e=e=>{const t=e.target,r=v?.contains(t);r&&I(e,C)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[P,v,C,I]),(0,o.useEffect)(x,[r,x]),y(v,O),y(g.content,O),(0,n.jsx)(N,{value:{scrollbar:v,hasThumb:i,onThumbChange:m(a),onThumbPointerUp:m(s),onThumbPositionChange:x,onThumbPointerDown:m(c)},children:(0,n.jsx)("div",{...f,ref:w,"data-mantine-scrollbar":!0,style:{position:"absolute",...f.style},onPointerDown:T(e.onPointerDown,e=>{e.preventDefault(),0===e.button&&(e.target.setPointerCapture(e.pointerId),S.current=v.getBoundingClientRect(),_.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",k(e))}),onPointerMove:T(e.onPointerMove,k),onPointerUp:T(e.onPointerUp,e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&(e.preventDefault(),t.releasePointerCapture(e.pointerId))}),onLostPointerCapture:()=>{document.body.style.webkitUserSelect=_.current,S.current=null}})})}),M=(0,o.forwardRef)((e,t)=>{const{sizes:r,onSizesChange:i,style:a,...s}=e,c=h(),[u,l]=(0,o.useState)(),d=(0,o.useRef)(null),p=(0,E.pc)(t,d,c.onScrollbarXChange);return(0,o.useEffect)(()=>{d.current&&l(getComputedStyle(d.current))},[d]),(0,n.jsx)(R,{"data-orientation":"horizontal",...s,ref:p,sizes:r,style:{...a,"--sa-thumb-width":`${C(r)}px`},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(c.viewport){const n=c.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),O(n,r)&&t.preventDefault()}},onResize:()=>{d.current&&c.viewport&&u&&i({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:k(u.paddingLeft),paddingEnd:k(u.paddingRight)}})}})});M.displayName="@mantine/core/ScrollAreaScrollbarX";const D=(0,o.forwardRef)((e,t)=>{const{sizes:r,onSizesChange:i,style:a,...s}=e,c=h(),[u,l]=(0,o.useState)(),d=(0,o.useRef)(null),p=(0,E.pc)(t,d,c.onScrollbarYChange);return(0,o.useEffect)(()=>{d.current&&l(window.getComputedStyle(d.current))},[]),(0,n.jsx)(R,{...s,"data-orientation":"vertical",ref:p,sizes:r,style:{"--sa-thumb-height":`${C(r)}px`,...a},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(c.viewport){const n=c.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),O(n,r)&&t.preventDefault()}},onResize:()=>{d.current&&c.viewport&&u&&i({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:k(u.paddingTop),paddingEnd:k(u.paddingBottom)}})}})});D.displayName="@mantine/core/ScrollAreaScrollbarY";const U=(0,o.forwardRef)((e,t)=>{const{orientation:r="vertical",...i}=e,{dir:a}=(0,_.jH)(),s=h(),c=(0,o.useRef)(null),u=(0,o.useRef)(0),[l,d]=(0,o.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),p=P(l.viewport,l.content),f={...i,sizes:l,onSizesChange:d,hasThumb:Boolean(p>0&&p<1),onThumbChange:e=>{c.current=e},onThumbPointerUp:()=>{u.current=0},onThumbPointerDown:e=>{u.current=e}},m=(e,t)=>function(e,t,r,n="ltr"){const o=C(r),i=t||o/2,a=o-i,s=r.scrollbar.paddingStart+i,c=r.scrollbar.size-r.scrollbar.paddingEnd-a,u=r.content-r.viewport;return I([s,c],"ltr"===n?[0,u]:[-1*u,0])(e)}(e,u.current,l,t);return"horizontal"===r?(0,n.jsx)(M,{...f,ref:t,onThumbPositionChange:()=>{if(s.viewport&&c.current){const e=x(s.viewport.scrollLeft,l,a);c.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollLeft=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollLeft=m(e,a))}}):"vertical"===r?(0,n.jsx)(D,{...f,ref:t,onThumbPositionChange:()=>{if(s.viewport&&c.current){const e=x(s.viewport.scrollTop,l);0===l.scrollbar.size?c.current.style.setProperty("--thumb-opacity","0"):c.current.style.setProperty("--thumb-opacity","1"),c.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollTop=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollTop=m(e))}}):null});U.displayName="@mantine/core/ScrollAreaScrollbarVisible";const F=(0,o.forwardRef)((e,t)=>{const r=h(),{forceMount:i,...a}=e,[s,c]=(0,o.useState)(!1),u="horizontal"===e.orientation,l=A(()=>{if(r.viewport){const e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;c(u?e:t)}},10);return y(r.viewport,l),y(r.content,l),i||s?(0,n.jsx)(U,{"data-state":s?"visible":"hidden",...a,ref:t}):null});F.displayName="@mantine/core/ScrollAreaScrollbarAuto";const L=(0,o.forwardRef)((e,t)=>{const{forceMount:r,...i}=e,a=h(),[s,c]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{const{scrollArea:e}=a;let t=0;if(e){const r=()=>{window.clearTimeout(t),c(!0)},n=()=>{t=window.setTimeout(()=>c(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[a.scrollArea,a.scrollHideDelay]),r||s?(0,n.jsx)(F,{"data-state":s?"visible":"hidden",...i,ref:t}):null});L.displayName="@mantine/core/ScrollAreaScrollbarHover";const z=(0,o.forwardRef)((e,t)=>{const{forceMount:r,...i}=e,a=h(),s="horizontal"===e.orientation,[c,u]=(0,o.useState)("hidden"),l=A(()=>u("idle"),100);return(0,o.useEffect)(()=>{if("idle"===c){const e=window.setTimeout(()=>u("hidden"),a.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,a.scrollHideDelay]),(0,o.useEffect)(()=>{const{viewport:e}=a,t=s?"scrollLeft":"scrollTop";if(e){let r=e[t];const n=()=>{const n=e[t];r!==n&&(u("scrolling"),l()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[a.viewport,s,l]),r||"hidden"!==c?(0,n.jsx)(U,{"data-state":"hidden"===c?"hidden":"visible",...i,ref:t,onPointerEnter:T(e.onPointerEnter,()=>u("interacting")),onPointerLeave:T(e.onPointerLeave,()=>u("idle"))}):null}),V=(0,o.forwardRef)((e,t)=>{const{forceMount:r,...i}=e,a=h(),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:c}=a,u="horizontal"===e.orientation;return(0,o.useEffect)(()=>(u?s(!0):c(!0),()=>{u?s(!1):c(!1)}),[u,s,c]),"hover"===a.type?(0,n.jsx)(L,{...i,ref:t,forceMount:r}):"scroll"===a.type?(0,n.jsx)(z,{...i,ref:t,forceMount:r}):"auto"===a.type?(0,n.jsx)(F,{...i,ref:t,forceMount:r}):"always"===a.type?(0,n.jsx)(U,{...i,ref:t}):null});V.displayName="@mantine/core/ScrollAreaScrollbar";const H=(0,o.forwardRef)((e,t)=>{const{style:r,...i}=e,a=h(),s=j(),{onThumbPositionChange:c}=s,u=(0,E.pc)(t,e=>s.onThumbChange(e)),l=(0,o.useRef)(void 0),d=A(()=>{l.current&&(l.current(),l.current=void 0)},100);return(0,o.useEffect)(()=>{const{viewport:e}=a;if(e){const t=()=>{if(d(),!l.current){const t=function(e,t=()=>{}){let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function o(){const i={left:e.scrollLeft,top:e.scrollTop},a=r.left!==i.left,s=r.top!==i.top;(a||s)&&t(),r=i,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)}(e,c);l.current=t,c()}};return c(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[a.viewport,d,c]),(0,n.jsx)("div",{"data-state":s.hasThumb?"visible":"hidden",...i,ref:u,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...r},onPointerDownCapture:T(e.onPointerDownCapture,e=>{const t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;s.onThumbPointerDown({x:r,y:n})}),onPointerUp:T(e.onPointerUp,s.onThumbPointerUp)})});H.displayName="@mantine/core/ScrollAreaThumb";const $=(0,o.forwardRef)((e,t)=>{const{forceMount:r,...o}=e,i=j();return r||i.hasThumb?(0,n.jsx)(H,{ref:t,...o}):null});$.displayName="@mantine/core/ScrollAreaThumb";const W=(0,o.forwardRef)(({children:e,style:t,...r},o)=>{const i=h(),a=(0,E.pc)(o,i.onViewportChange);return(0,n.jsx)(l.a,{...r,ref:a,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...t},children:(0,n.jsx)("div",{...i.getStyles("content"),ref:i.onContentChange,children:e})})});W.displayName="@mantine/core/ScrollAreaViewport";var B={root:"m_d57069b5",content:"m_b1336c6",viewport:"m_c0783ff9",viewportInner:"m_f8f631dd",scrollbar:"m_c44ba933",thumb:"m_d8b5e363",corner:"m_21657268"};const K={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},G=(0,s.V)((e,{scrollbarSize:t,overscrollBehavior:r})=>({root:{"--scrollarea-scrollbar-size":(0,a.D)(t),"--scrollarea-over-scroll-behavior":r}})),q=(0,d.P9)((e,t)=>{const r=(0,c.Y)("ScrollArea",K,e),{classNames:a,className:s,style:l,styles:d,unstyled:p,scrollbarSize:f,vars:h,type:m,scrollHideDelay:g,viewportProps:y,viewportRef:v,onScrollPositionChange:E,children:w,offsetScrollbars:A,scrollbars:_,onBottomReached:P,onTopReached:C,overscrollBehavior:I,attributes:x,...O}=r,[k,T]=(0,o.useState)(!1),[N,j]=(0,o.useState)(!1),[R,M]=(0,o.useState)(!1),D=(0,u.I)({name:"ScrollArea",props:r,classes:B,className:s,style:l,classNames:a,styles:d,unstyled:p,attributes:x,vars:h,varsResolver:G}),U=(0,o.useRef)(null),F=(0,i.SV)([v,U]);return(0,o.useEffect)(()=>{if(!U.current)return;if("present"!==A)return;const e=U.current,t=new ResizeObserver(()=>{const{scrollHeight:t,clientHeight:r,scrollWidth:n,clientWidth:o}=e;j(t>r),M(n>o)});return t.observe(e),()=>t.disconnect()},[U,A]),(0,n.jsxs)(S,{getStyles:D,type:"never"===m?"always":m,scrollHideDelay:g,ref:t,scrollbars:_,...D("root"),...O,children:[(0,n.jsx)(W,{...y,...D("viewport",{style:y?.style}),ref:F,"data-offset-scrollbars":!0===A?"xy":A||void 0,"data-scrollbars":_||void 0,"data-horizontal-hidden":"present"!==A||R?void 0:"true","data-vertical-hidden":"present"!==A||N?void 0:"true",onScroll:e=>{y?.onScroll?.(e),E?.({x:e.currentTarget.scrollLeft,y:e.currentTarget.scrollTop});const{scrollTop:t,scrollHeight:r,clientHeight:n}=e.currentTarget;t-(r-n)>=-.6&&P?.(),0===t&&C?.()},children:w}),("xy"===_||"x"===_)&&(0,n.jsx)(V,{...D("scrollbar"),orientation:"horizontal","data-hidden":"never"===m||"present"===A&&!R||void 0,forceMount:!0,onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:(0,n.jsx)($,{...D("thumb")})}),("xy"===_||"y"===_)&&(0,n.jsx)(V,{...D("scrollbar"),orientation:"vertical","data-hidden":"never"===m||"present"===A&&!N||void 0,forceMount:!0,onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:(0,n.jsx)($,{...D("thumb")})}),(0,n.jsx)(b,{...D("corner"),"data-hovered":k||void 0,"data-hidden":"never"===m||void 0})]})});q.displayName="@mantine/core/ScrollArea";const Y=(0,d.P9)((e,t)=>{const{children:r,classNames:a,styles:s,scrollbarSize:u,scrollHideDelay:d,type:p,dir:f,offsetScrollbars:h,viewportRef:m,onScrollPositionChange:g,unstyled:y,variant:v,viewportProps:b,scrollbars:E,style:w,vars:S,onBottomReached:A,onTopReached:_,onOverflowChange:P,...C}=(0,c.Y)("ScrollAreaAutosize",K,e),I=(0,o.useRef)(null),x=(0,i.SV)([m,I]),[O,k]=(0,o.useState)(!1),T=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{if(!P)return;const e=I.current;if(!e)return;const t=()=>{const t=e.scrollHeight>e.clientHeight;t!==O&&(T.current?P?.(t):(T.current=!0,t&&P?.(!0)),k(t))};t();const r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[P,O]),(0,n.jsx)(l.a,{...C,ref:t,style:[{display:"flex",overflow:"hidden"},w],children:(0,n.jsx)(l.a,{style:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",..."y"===E&&{minWidth:0},..."x"===E&&{minHeight:0},..."xy"===E&&{minWidth:0,minHeight:0},...!1===E&&{minWidth:0,minHeight:0}},children:(0,n.jsx)(q,{classNames:a,styles:s,scrollHideDelay:d,scrollbarSize:u,type:p,dir:f,offsetScrollbars:h,viewportRef:x,onScrollPositionChange:g,unstyled:y,variant:v,viewportProps:b,vars:S,scrollbars:E,onBottomReached:A,onTopReached:_,"data-autosize":"true",children:r})})})});q.classes=B,Y.displayName="@mantine/core/ScrollAreaAutosize",Y.classes=B,q.Autosize=Y},63169(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternalGraphQLAPI=t.InternalGraphQLAPIClass=void 0;const n=r(11729),o=r(79364),i=r(22651),a=r(24521),s=r(64684),c=r(58327),u=r(93812),l=r(90077),d=r(59119),p=r(30014),f=r(47197),h=r(95356),m="x-amz-user-agent";class g{constructor(){this.appSyncRealTime=new Map,this._api={post:s.post,cancelREST:s.cancel,isCancelErrorREST:a.isCancelError,updateRequestToBeCancellable:s.updateRequestToBeCancellable}}getModuleName(){return"InternalGraphQLAPI"}getGraphqlOperationType(e){const t=(0,n.parse)(e).definitions,[{operation:r}]=t;return r}graphql(e,{query:t,variables:r={},authMode:o,authToken:i,endpoint:a,apiKey:s},c,u){const l="string"==typeof t?(0,n.parse)(t):(0,n.parse)((0,n.print)(t)),[d={}]=l.definitions.filter(e=>"OperationDefinition"===e.kind),{operation:p}=d,f=c||{};switch(p){case"query":case"mutation":{const t=new AbortController;let n;return n=(e=>"function"!=typeof e)(e)?this._graphql(e,{query:l,variables:r,authMode:o,apiKey:s,endpoint:a},f,t,u,i):e(async e=>await this._graphql(e,{query:l,variables:r,authMode:o,apiKey:s,endpoint:a},f,t,u,i)),this._api.updateRequestToBeCancellable(n,t),n}case"subscription":return this._graphqlSubscribe(e,{query:l,variables:r,authMode:o,apiKey:s,endpoint:a},f,u,i);default:throw new Error(`invalid operation type: ${p}`)}}async _graphql(e,{query:t,variables:r,authMode:o,endpoint:a,apiKey:s},c={},g,y,v){const{apiKey:b,region:E,endpoint:w,customEndpoint:S,customEndpointRegion:A,defaultAuthMode:_}=(0,u.resolveConfig)(e),P=o||_||"iam",C="identityPool"===P?"iam":P,{headers:I,withCredentials:x}=(0,u.resolveLibraryOptions)(e);let O;if("function"==typeof c){const e={method:"POST",url:new i.AmplifyUrl(a||S||w||"").toString(),queryString:(0,n.print)(t)};O=await c(e)}else O=c;v&&(O={...O,Authorization:v});const k=await(0,h.headerBasedAuth)(e,C,s??b,O),T={...!S&&k,...S&&(A?k:{})||{},...I&&await I({query:(0,n.print)(t),variables:r}),...O,...!S&&{[m]:(0,i.getAmplifyUserAgent)(y)}},N={query:(0,n.print)(t),variables:r||null};let j;j=S&&!A||"oidc"!==C&&"userPool"!==C&&"iam"!==C&&"lambda"!==C?void 0:{service:A?"execute-api":"appsync",region:A||E};const R=a||S||w;if(!R)throw(0,p.createGraphQLResultWithError)(new p.GraphQLApiError(d.NO_ENDPOINT));let M;try{const{body:t}=await this._api.post(e,{url:new i.AmplifyUrl(R),options:{headers:T,body:N,signingServiceInfo:j,withCredentials:x},abortController:g});M=await t.json()}catch(e){if(this.isCancelError(e))throw e;M=(0,p.createGraphQLResultWithError)(e)}if((0,f.isGraphQLResponseWithErrors)(M))throw(0,l.repackageUnauthorizedError)(M);return M}isCancelError(e){return this._api.isCancelErrorREST(e)}cancel(e,t){return this._api.cancelREST(e,t)}_graphqlSubscribe(e,{query:t,variables:r,authMode:i,apiKey:a,endpoint:s},d={},p,f){const h=(0,u.resolveConfig)(e),m=i||h?.defaultAuthMode||"iam",g="identityPool"===m?"iam":m,{headers:y}=(0,u.resolveLibraryOptions)(e),v=s??h?.endpoint,b=v??"none",E=this.appSyncRealTime.get(b)??new c.AWSAppSyncRealTimeProvider;return this.appSyncRealTime.set(b,E),E.subscribe({query:(0,n.print)(t),variables:r,appSyncGraphqlEndpoint:v,region:h?.region,authenticationType:g,apiKey:a??h?.apiKey,additionalHeaders:d,authToken:f,libraryConfigHeaders:y},p).pipe((0,o.catchError)(e=>{if(e.errors)throw(0,l.repackageUnauthorizedError)(e);throw e}))}}t.InternalGraphQLAPIClass=g,t.InternalGraphQLAPI=new g},63231(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithUserPassword=async function(e){const{username:t,password:r,options:g}=e,y=n.Amplify.getConfig().Auth?.Cognito,v={loginId:t,authFlowType:"USER_PASSWORD_AUTH"};(0,o.assertTokenProviderConfig)(y);const b=g?.clientMetadata;(0,s.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptySignInUsername),(0,s.assertValidationError)(!!r,i.AuthValidationErrorCode.EmptySignInPassword);try{const{ChallengeName:e,ChallengeParameters:n,AuthenticationResult:o,Session:i}=await(0,f.retryOnResourceNotFoundException)(c.handleUserPasswordAuthFlow,[t,r,b,y,d.tokenOrchestrator],t,d.tokenOrchestrator),a=(0,c.getActiveSignInUsername)(t);return(0,u.setActiveSignInState)({signInSession:i,username:a,challengeName:e,signInDetails:v}),o?(await(0,l.cacheCognitoTokens)({...o,username:a,NewDeviceMetadata:await(0,h.getNewDeviceMetadata)({userPoolId:y.userPoolId,userPoolEndpoint:y.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:v}),(0,u.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),(0,m.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:e,challengeParameters:n})}catch(e){(0,u.resetActiveSignInState)(),(0,m.resetAutoSignIn)(),(0,a.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(73031),s=r(58765),c=r(78040),u=r(27861),l=r(55794),d=r(4870),p=r(84539),f=r(98090),h=r(66542),m=r(19578)},63344(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upgradeClientCancellation=t.isConfigureEventWithResourceConfig=t.isApiGraphQLConfig=t.isGraphQLResponseWithErrors=t.generateModelsProperty=t.generateEnumsProperty=t.generateGenerationsProperty=t.generateConversationsProperty=t.generateCustomSubscriptionsProperty=t.generateCustomQueriesProperty=t.generateCustomMutationsProperty=void 0;var n=r(6229);Object.defineProperty(t,"generateCustomMutationsProperty",{enumerable:!0,get:function(){return n.generateCustomMutationsProperty}}),Object.defineProperty(t,"generateCustomQueriesProperty",{enumerable:!0,get:function(){return n.generateCustomQueriesProperty}}),Object.defineProperty(t,"generateCustomSubscriptionsProperty",{enumerable:!0,get:function(){return n.generateCustomSubscriptionsProperty}});var o=r(97873);Object.defineProperty(t,"generateConversationsProperty",{enumerable:!0,get:function(){return o.generateConversationsProperty}});var i=r(18870);Object.defineProperty(t,"generateGenerationsProperty",{enumerable:!0,get:function(){return i.generateGenerationsProperty}});var a=r(81963);Object.defineProperty(t,"generateEnumsProperty",{enumerable:!0,get:function(){return a.generateEnumsProperty}});var s=r(89125);Object.defineProperty(t,"generateModelsProperty",{enumerable:!0,get:function(){return s.generateModelsProperty}});var c=r(98562);Object.defineProperty(t,"isGraphQLResponseWithErrors",{enumerable:!0,get:function(){return c.isGraphQLResponseWithErrors}});var u=r(61129);Object.defineProperty(t,"isApiGraphQLConfig",{enumerable:!0,get:function(){return u.isApiGraphQLConfig}});var l=r(96441);Object.defineProperty(t,"isConfigureEventWithResourceConfig",{enumerable:!0,get:function(){return l.isConfigureEventWithResourceConfig}});var d=r(53841);Object.defineProperty(t,"upgradeClientCancellation",{enumerable:!0,get:function(){return d.upgradeClientCancellation}})},63407(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expoDetect=function(){return(0,n.globalExists)()&&void 0!==globalThis.expo};const n=r(62114)},63465(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="00000000-0000-0000-0000-000000000000"},63553(e,t){"use strict";function r(e){return!("auth"!==e?.type||"object"!=typeof e?.properties||!Array.isArray(e?.properties?.rules))&&(e?.properties?.rules).every(e=>!!e.allow)}Object.defineProperty(t,"__esModule",{value:!0}),t.resolveOwnerFields=function(e){const t=new Set;for(const n of e.attributes||[])if(r(n))for(const e of n.properties.rules)"owner"===e.allow?t.add(e.ownerField||"owner"):"groups"===e.allow&&void 0!==e.groupsField&&t.add(e.groupsField);return Array.from(t)}},63614(e,t,r){"use strict";r.d(t,{M:()=>m});var n=r(84210),o=r(16736);const i=new n.C("parseAWSExports"),a={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"},s=e=>e?.split(",")??[],c=({domain:e,scope:t,redirectSignIn:r,redirectSignOut:n,responseType:o})=>({domain:e,scopes:t,redirectSignIn:s(r),redirectSignOut:s(n),responseType:o}),u=e=>e.map(e=>{const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)});const l={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"};function d(e){return l[e]}const p={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"};function f(e=[]){return e.reduce((e,t)=>(void 0!==p[t]&&e.push(p[t]),e),[])}function h(e){const t={};return e.forEach(({name:e,bucket_name:r,aws_region:n,paths:o})=>{if(e in t)throw new Error(`Duplicate friendly name found: ${e}. Name must be unique.`);const i=o?Object.entries(o).reduce((e,[t,r])=>(void 0!==r&&(e[t]=r),e),{}):void 0;t[e]={bucketName:r,region:n,paths:i}}),t}const m=e=>Object.keys(e).some(e=>e.startsWith("aws_"))?((e={})=>{if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new o.x({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from `amplifyconfiguration.json`."});const{aws_appsync_apiKey:t,aws_appsync_authenticationType:r,aws_appsync_graphqlEndpoint:n,aws_appsync_region:s,aws_bots_config:l,aws_cognito_identity_pool_id:d,aws_cognito_sign_up_verification_method:p,aws_cognito_mfa_configuration:f,aws_cognito_mfa_types:h,aws_cognito_password_protection_settings:m,aws_cognito_verification_mechanisms:g,aws_cognito_signup_attributes:y,aws_cognito_social_providers:v,aws_cognito_username_attributes:b,aws_mandatory_sign_in:E,aws_mobile_analytics_app_id:w,aws_mobile_analytics_app_region:S,aws_user_files_s3_bucket:A,aws_user_files_s3_bucket_region:_,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:P,aws_user_pools_id:C,aws_user_pools_web_client_id:I,geo:x,oauth:O,predictions:k,aws_cloud_logic_custom:T,Notifications:N,modelIntrospection:j}=e,R={};w&&(R.Analytics={Pinpoint:{appId:w,region:S}});const{InAppMessaging:M,Push:D}=N??{};if(M?.AWSPinpoint||D?.AWSPinpoint){if(M?.AWSPinpoint){const{appId:e,region:t}=M.AWSPinpoint;R.Notifications={InAppMessaging:{Pinpoint:{appId:e,region:t}}}}if(D?.AWSPinpoint){const{appId:e,region:t}=D.AWSPinpoint;R.Notifications={...R.Notifications,PushNotification:{Pinpoint:{appId:e,region:t}}}}}if(Array.isArray(l)&&(R.Interactions={LexV1:Object.fromEntries(l.map(e=>[e.name,e]))}),n){const e=a[r];e||i.debug(`Invalid authentication type ${r}. Falling back to IAM.`),R.API={GraphQL:{endpoint:n,apiKey:t,region:s,defaultAuthMode:e??"iam"}},j&&(R.API.GraphQL.modelIntrospection=j)}const U=f?{status:f&&f.toLowerCase(),totpEnabled:h?.includes("TOTP")??!1,smsEnabled:h?.includes("SMS")??!1}:void 0,F=m?{minLength:m.passwordPolicyMinLength,requireLowercase:m.passwordPolicyCharacters?.includes("REQUIRES_LOWERCASE")??!1,requireUppercase:m.passwordPolicyCharacters?.includes("REQUIRES_UPPERCASE")??!1,requireNumbers:m.passwordPolicyCharacters?.includes("REQUIRES_NUMBERS")??!1,requireSpecialCharacters:m.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS")??!1}:void 0,L=Array.from(new Set([...g??[],...y??[]])).reduce((e,t)=>({...e,[t.toLowerCase()]:{required:!0}}),{}),z=b?.includes("EMAIL")??!1,V=b?.includes("PHONE_NUMBER")??!1;(d||C)&&(R.Auth={Cognito:{identityPoolId:d,allowGuestAccess:"enable"!==E,signUpVerificationMethod:p,userAttributes:L,userPoolClientId:I,userPoolId:C,mfa:U,passwordFormat:F,loginWith:{username:!(z||V),email:z,phone:V}}});const H=!!O&&Object.keys(O).length>0,$=!!v&&v.length>0;if(R.Auth&&H&&(R.Auth.Cognito.loginWith={...R.Auth.Cognito.loginWith,oauth:{...c(O),...$&&{providers:u(v)}}}),A&&(R.Storage={S3:{bucket:A,region:_,dangerouslyConnectToHttpEndpointForTesting:P}}),x){const{amazon_location_service:e}=x;R.Geo={LocationService:{maps:e.maps,geofenceCollections:e.geofenceCollections,searchIndices:e.search_indices,region:e.region}}}if(T&&(R.API={...R.API,REST:T.reduce((e,t)=>{const{name:r,endpoint:n,region:o,service:i}=t;return{...e,[r]:{endpoint:n,...i?{service:i}:void 0,...o?{region:o}:void 0}}},{})}),k){const{VoiceId:e}=k?.convert?.speechGenerator?.defaults??{};R.Predictions=e?{...k,convert:{...k.convert,speechGenerator:{...k.convert.speechGenerator,defaults:{voiceId:e}}}}:k}return R})(e):function(e){const{version:t}=e;return!!t&&t.startsWith("1")}(e)?function(e){const t={};if(e.storage&&(t.Storage=function(e){if(!e)return;const{bucket_name:t,aws_region:r,buckets:n}=e;return{S3:{bucket:t,region:r,buckets:n&&h(n)}}}(e.storage)),e.auth&&(t.Auth=function(e){if(!e)return;const{user_pool_id:t,user_pool_client_id:r,identity_pool_id:n,password_policy:o,mfa_configuration:i,mfa_methods:a,unauthenticated_identities_enabled:s,oauth:c,username_attributes:u,standard_required_attributes:l,groups:d}=e,p={Cognito:{userPoolId:t,userPoolClientId:r,groups:d}};return n&&(p.Cognito={...p.Cognito,identityPoolId:n}),o&&(p.Cognito.passwordFormat={requireLowercase:o.require_lowercase,requireNumbers:o.require_numbers,requireUppercase:o.require_uppercase,requireSpecialCharacters:o.require_symbols,minLength:o.min_length??6}),i&&(p.Cognito.mfa={status:(h=i,"OPTIONAL"===h?"optional":"REQUIRED"===h?"on":"off"),smsEnabled:a?.includes("SMS"),totpEnabled:a?.includes("TOTP")}),s&&(p.Cognito.allowGuestAccess=s),c&&(p.Cognito.loginWith={oauth:{domain:c.domain,redirectSignIn:c.redirect_sign_in_uri,redirectSignOut:c.redirect_sign_out_uri,responseType:"token"===c.response_type?"token":"code",scopes:c.scopes,providers:f(c.identity_providers)}}),u&&(p.Cognito.loginWith={...p.Cognito.loginWith,email:u.includes("email"),phone:u.includes("phone_number"),username:u.includes("username")}),l&&(p.Cognito.userAttributes=l.reduce((e,t)=>({...e,[t]:{required:!0}}),{})),p;var h}(e.auth)),e.analytics&&(t.Analytics=function(e){if(!e?.amazon_pinpoint)return;const{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}(e.analytics)),e.geo&&(t.Geo=function(e){if(!e)return;const{aws_region:t,geofence_collections:r,maps:n,search_indices:o}=e;return{LocationService:{region:t,searchIndices:o,geofenceCollections:r,maps:n}}}(e.geo)),e.data&&(t.API=function(e){if(!e)return;const{aws_region:t,default_authorization_type:r,url:n,api_key:o,model_introspection:i}=e;return{GraphQL:{endpoint:n,defaultAuthMode:d(r),region:t,apiKey:o,modelIntrospection:i}}}(e.data)),e.custom){const r=function(e){if(!e?.events)return;const{url:t,aws_region:r,api_key:n,default_authorization_type:o}=e.events;return{Events:{endpoint:t,defaultAuthMode:d(o),region:r,apiKey:n}}}(e.custom);r&&"Events"in r&&(t.API={...t.API,...r})}return e.notifications&&(t.Notifications=function(e){if(!e)return;const{aws_region:t,channels:r,amazon_pinpoint_app_id:n}=e,o=r.includes("IN_APP_MESSAGING"),i=r.includes("APNS")||r.includes("FCM");if(!o&&!i)return;const a={};return o&&(a.InAppMessaging={Pinpoint:{appId:n,region:t}}),i&&(a.PushNotification={Pinpoint:{appId:n,region:t}}),a}(e.notifications)),t}(e):e},63661(e,t,r){"use strict";var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(e&&(t=e(e=0)),t),c=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})};function u(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");for(;t.length%4;)t+="=";return Uint8Array.from(atob(t),e=>e.charCodeAt(0))}var l,d,p=s(()=>{l=(e,t)=>{let r=Uint8Array.from(atob(e),e=>e.charCodeAt(0)).map((e,r)=>e^t+r&255);return(new TextDecoder).decode(r)},d=async e=>{let t=globalThis.grecaptcha,r=e?t?.enterprise:void 0,n=r?.ready??t?.ready,o=r?.execute??t?.execute;if("function"!=typeof o)return{execute:void 0};try{return"function"==typeof n&&await new Promise(e=>n(()=>e())),{execute:o}}catch{return{execute:void 0}}}});function f(e,t){return`wpsuite:${e}:${t}`}function h(e,t){let r=t?.timeoutMs??8e3;return e.availability??=function(e,t=8e3){return()=>new Promise(r=>{if("available"===e.status)return r("available");if("error"===e.status)return r("error");!e.status||e.status;let n,o=f(e.key,"ready"),i=f(e.key,"error"),a=()=>c("available"),s=()=>c("error"),c=e=>{window.removeEventListener(o,a),window.removeEventListener(i,s),void 0!==n&&window.clearTimeout(n),r(e)};window.addEventListener(o,a,{once:!0}),window.addEventListener(i,s,{once:!0}),n=window.setTimeout(()=>c("unavailable"),t)})}(e,r),e.onReady??=function(e){return t=>{window.addEventListener(f(e,"ready"),()=>t(),{once:!0})}}(e.key),e}var m,g,y=s(()=>{}),v=s(()=>{p(),m=l("///24djH19SDi+vD3tGN3c7q7NTM9PG3nazxrZz0rLqSoKCjvJyCtJjrsw==",170),g=l("/Z/u1+ncyvLd19D01cLL1vjCzvn18KuZsKf8iomml4auqpS/loekpeKjgQ==",170)}),b={};function E(e){try{return new URL(e.includes("://")?e:`http://${e}`).hostname.toLowerCase()}catch{return e.replace(/\/+$/,"").toLowerCase()}}function w(e){let t=E(e);if(T.test(t)||N.test(t)||"localhost"===t)return!0;let r=(0,_.parse)(t,{allowPrivateDomains:!0});return!(r.domain&&r.publicSuffix&&!k.includes(r.publicSuffix))}function S(e,t){return!!t&&function(e){let t=E(e);return t.startsWith("www.")?t.slice(4):t}(e)===t}c(b,{getConfig:()=>j});var A,_,P,C,I,x,O,k,T,N,j,R,M=s(()=>{A=r(25217),v(),p(),V(),_=r(39596),I=U(),x=I?I.siteSettings:{},O=/\b(dev|test|testing|staging|stage|qa|uat|preview|demo|sandbox|preprod|beta|canary)\b/i,k=["localhost","local","test","invalid","example","lan","internal"],T=/^(127\.)|^(10\.)|^(192\.168\.)|^(172\.(1[6-9]|2\d|3[0-1])\.)/,N=/^(::1$)|(^fc00:)|(^fd)/i,j=async()=>{let e=null;if(x.subscriber){let t=await(0,A.importJWK)({kty:"EC",x:P,y:C,crv:"P-256"},"ES256"),r=(new Date).getFullYear(),n=Math.floor((Date.now()-new Date(r,0,1).getTime())/6048e5),o=await fetch(I.uploadUrl+"lic.jws?t="+I.siteSettings.lastUpdate+"&y="+r+"&w="+n).then(e=>e.ok?e.text():null).catch(()=>null);if(o)try{let r=location.hostname.split(":")[0],{payload:n}=await(0,A.jwtVerify)(o,t,{algorithms:["ES256"]}),i=function(e,t){return function(e){return w(e)||function(e){let t=E(e);return!(!w(t)&&!O.test(t))||t.split(".").some(e=>O.test(e))}(e)}(e)?{free:!0,covered:!0}:{free:!1,covered:S(e,t)}}(r,n.domain);if(!i.free&&!i.covered)throw new Error("Invalid domain in JWT");let a=n.key.split(":"),s=u(a[0]),c=u(a[1]),l=(await fetch(I.uploadUrl+"config.enc?t="+I.siteSettings.lastUpdate).then(e=>e.ok?e.text():null).catch(()=>null))?.split(":");if(2===l?.length){let t=u(l[0]),r=u(l[1]),o=await crypto.subtle.importKey("raw",s,{name:"AES-GCM"},!1,["decrypt"]),i=await crypto.subtle.decrypt({name:"AES-GCM",iv:c},o,new Uint8Array([...t,...r]));e=JSON.parse((new TextDecoder).decode(i)),e.subscriptionType=n.subscriptionType}}catch(e){console.error(e.message)}}return e??null},P=m,C=g}),D={};function U(){return globalThis.WpSuite}function F(e){return globalThis.WpSuite?.plugins[e]}c(D,{TEXT_DOMAIN:()=>L,attachDefaultPluginRuntime:()=>h,getConfig:()=>z,getPlugin:()=>F,getRecaptcha:()=>d,getWpSuite:()=>U}),e.exports=(R=D,((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of i(t))!a.call(e,r)&&undefined!==r&&n(e,r,{get:()=>t[r],enumerable:!(s=o(t,r))||s.enumerable});return e})(n({},"__esModule",{value:!0}),R));var L,z,V=s(()=>{p(),y(),L="hub-for-wpsuiteio",z=async e=>{let t=await(await Promise.resolve().then(()=>(M(),b))).getConfig();return t&&(t={...t[e],subscriptionType:t.subscriptionType}),t}});V()},63704(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetUserClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createGetUserClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("GetUser"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},63733(e,t,r){"use strict";r.d(t,{j:()=>o});var n=r(77602);function o(e){const{m:t,mx:r,my:o,mt:i,mb:a,ml:s,mr:c,me:u,ms:l,p:d,px:p,py:f,pt:h,pb:m,pl:g,pr:y,pe:v,ps:b,bd:E,bdrs:w,bg:S,c:A,opacity:_,ff:P,fz:C,fw:I,lts:x,ta:O,lh:k,fs:T,tt:N,td:j,w:R,miw:M,maw:D,h:U,mih:F,mah:L,bgsz:z,bgp:V,bgr:H,bga:$,pos:W,top:B,left:K,bottom:G,right:q,inset:Y,display:J,flex:Q,hiddenFrom:X,visibleFrom:Z,lightHidden:ee,darkHidden:te,sx:re,...ne}=e;return{styleProps:(0,n.J)({m:t,mx:r,my:o,mt:i,mb:a,ml:s,mr:c,me:u,ms:l,p:d,px:p,py:f,pt:h,pb:m,pl:g,pr:y,pe:v,ps:b,bd:E,bg:S,c:A,opacity:_,ff:P,fz:C,fw:I,lts:x,ta:O,lh:k,fs:T,tt:N,td:j,w:R,miw:M,maw:D,h:U,mih:F,mah:L,bgsz:z,bgp:V,bgr:H,bga:$,pos:W,top:B,left:K,bottom:G,right:q,inset:Y,display:J,flex:Q,bdrs:w,hiddenFrom:X,visibleFrom:Z,lightHidden:ee,darkHidden:te,sx:re}),rest:ne}}r(51609),r(10790)},64151(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNonRetryableError=void 0,t.isNonRetryableError=e=>e&&e.nonRetryable},64166(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuthStorageKeys=t.tokenRefreshException=t.oAuthTokenRefreshException=void 0,t.isTypeUserPoolConfig=function(e){return!!(e&&e.Cognito.userPoolId&&e.Cognito.userPoolClientId)},t.assertAuthTokens=function(e){if(!e||!e.accessToken)throw new n.AuthError({name:o.USER_UNAUTHENTICATED_EXCEPTION,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})},t.assertIdTokenInAuthTokens=function(e){if(!e||!e.idToken)throw new n.AuthError({name:o.USER_UNAUTHENTICATED_EXCEPTION,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})},t.assertAuthTokensWithRefreshToken=function(e){if(function(e){return i(e)&&!e?.refreshToken}(e))throw t.oAuthTokenRefreshException;if(!function(e){return i(e)&&e?.refreshToken}(e))throw t.tokenRefreshException},t.assertDeviceMetadata=function(e){if(!(e&&e.deviceKey&&e.deviceGroupKey&&e.randomPassword))throw new n.AuthError({name:o.DEVICE_METADATA_NOT_FOUND_EXCEPTION,message:"Either deviceKey, deviceGroupKey or secretPassword were not found during the sign-in process.",recoverySuggestion:"Make sure to not clear storage after calling the signIn API."})};const n=r(43518),o=r(34143);function i(e){return e?.accessToken||e?.idToken}t.oAuthTokenRefreshException=new n.AuthError({name:o.TOKEN_REFRESH_EXCEPTION,message:"Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow. \n\tPlease change your oauth configuration to use 'code grant' flow.",recoverySuggestion:"Please logout and change your Amplify configuration to use \"code grant\" flow. \n\tE.g { responseType: 'code' }"}),t.tokenRefreshException=new n.AuthError({name:o.USER_UNAUTHENTICATED_EXCEPTION,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."}),t.OAuthStorageKeys={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"}},64672(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.PinpointValidationErrorCode=void 0;const n=r(1123);var o;!function(e){e.NoAppId="NoAppId"}(o||(t.PinpointValidationErrorCode=o={}));const i={[o.NoAppId]:{message:"Missing application id."}};t.assert=(0,n.createAssertionFunction)(i)},64684(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateRequestToBeCancellable=t.cancel=t.post=void 0;var n=r(26610);Object.defineProperty(t,"post",{enumerable:!0,get:function(){return n.post}});var o=r(26610);Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return o.cancel}}),Object.defineProperty(t,"updateRequestToBeCancellable",{enumerable:!0,get:function(){return o.updateRequestToBeCancellable}})},64772(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncAction=void 0;var i=r(71666),a=r(8284),s=r(54830),c=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return o(t,e),t.prototype.schedule=function(e,t){var r;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),a.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&a.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,s.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(i.Action);t.AsyncAction=c},64948(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatest=void 0;var i=r(88246),a=r(65212),s=r(7652),c=r(13916),u=r(99517),l=r(26404);t.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var d=l.popResultSelector(t);return d?u.pipe(e.apply(void 0,o([],n(t))),c.mapOneOrManyArgs(d)):a.operate(function(e,r){i.combineLatestInit(o([e],n(s.argsOrArgArray(t))))(r)})}},64957(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalUri=void 0,t.getCanonicalUri=(e,t=!0)=>e?t?encodeURIComponent(e).replace(/%2F/g,"/"):e:"/"},64999(e,t,r){"use strict";r.d(t,{Y:()=>h});var n=r(10790),o=r(51609),i=r(56324),a=r(59396),s=r(46100),c=r(52837),u=r(11507),l=r(2412),d={root:"m_4081bf90"};const p={preventGrowOverflow:!0,gap:"md",align:"center",justify:"flex-start",wrap:"wrap"},f=(0,a.V)((e,{grow:t,preventGrowOverflow:r,gap:n,align:o,justify:a,wrap:s},{childWidth:c})=>({root:{"--group-child-width":t&&r?c:void 0,"--group-gap":(0,i.GY)(n),"--group-align":o,"--group-justify":a,"--group-wrap":s}})),h=(0,l.P9)((e,t)=>{const r=(0,s.Y)("Group",p,e),{classNames:a,className:l,style:h,styles:m,unstyled:g,children:y,gap:v,align:b,justify:E,wrap:w,grow:S,preventGrowOverflow:A,vars:_,variant:P,__size:C,mod:I,attributes:x,...O}=r,k=function(e){return o.Children.toArray(e).filter(Boolean)}(y),T=k.length,N=(0,i.GY)(v??"md"),j={childWidth:`calc(${100/T}% - (${N} - ${N} / ${T}))`},R=(0,c.I)({name:"Group",props:r,stylesCtx:j,className:l,style:h,classes:d,classNames:a,styles:m,unstyled:g,attributes:x,vars:_,varsResolver:f});return(0,n.jsx)(u.a,{...R("root"),ref:t,variant:P,mod:[{grow:S},I],size:C,...O,children:k})});h.classes=d,h.displayName="@mantine/core/Group"},65156(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowWhen=void 0;var n=r(76808),o=r(65212),i=r(17214),a=r(19724);t.windowWhen=function(e){return o.operate(function(t,r){var o,s,c=function(e){o.error(e),r.error(e)},u=function(){var t;null==s||s.unsubscribe(),null==o||o.complete(),o=new n.Subject,r.next(o.asObservable());try{t=a.innerFrom(e())}catch(e){return void c(e)}t.subscribe(s=i.createOperatorSubscriber(r,u,u,c))};u(),t.subscribe(i.createOperatorSubscriber(r,function(e){return o.next(e)},function(){o.complete(),r.complete()},c,function(){null==s||s.unsubscribe(),o=null}))})}},65212(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operate=t.hasLift=void 0;var n=r(10281);function o(e){return n.isFunction(null==e?void 0:e.lift)}t.hasLift=o,t.operate=function(e){return function(t){if(o(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},65221(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleUserAuthFlow=async function({username:e,clientMetadata:t,config:r,tokenOrchestrator:f,preferredChallenge:h,password:m,session:g}){const{userPoolId:y,userPoolClientId:v,userPoolEndpoint:b}=r,E=(0,o.getUserContextData)({username:e,userPoolId:y,userPoolClientId:v}),w={USERNAME:e};if(h){if("PASSWORD_SRP"===h)return(0,l.assertValidationError)(!!m,d.AuthValidationErrorCode.EmptySignInPassword),(0,u.handlePasswordSRP)({username:e,password:m,clientMetadata:t,config:r,tokenOrchestrator:f,authFlow:"USER_AUTH",preferredChallenge:h});"PASSWORD"===h&&((0,l.assertValidationError)(!!m,d.AuthValidationErrorCode.EmptySignInPassword),w.PASSWORD=m),w.PREFERRED_CHALLENGE=h}const S={AuthFlow:"USER_AUTH",AuthParameters:w,ClientMetadata:t,ClientId:v,UserContextData:E};g&&(S.Session=g);const A=(0,i.createInitiateAuthClient)({endpointResolver:(0,a.createCognitoUserPoolEndpointResolver)({endpointOverride:b})}),_=await A({region:(0,s.getRegionFromUserPoolId)(y),userAgentValue:(0,c.getAuthUserAgentValue)(n.AuthAction.SignIn)},S);return(0,p.setActiveSignInUsername)(e),_};const n=r(22651),o=r(99369),i=r(35456),a=r(28228),s=r(62639),c=r(17238),u=r(82366),l=r(58765),d=r(49129),p=r(25279)},65279(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.takeLast=void 0;var o=r(44885),i=r(65212),a=r(17214);t.takeLast=function(e){return e<=0?function(){return o.EMPTY}:i.operate(function(t,r){var o=[];t.subscribe(a.createOperatorSubscriber(r,function(t){o.push(t),e<o.length&&o.shift()},function(){var e,t;try{for(var i=n(o),a=i.next();!a.done;a=i.next()){var s=a.value;r.next(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}r.complete()},void 0,function(){o=null}))})}},65430(e,t,r){"use strict";r.d(t,{j:()=>n});const n=e=>{const{headers:t,statusCode:r}=e;return{...o(e)?e.$metadata:{},httpStatusCode:r,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}},o=e=>"object"==typeof e?.$metadata},65438(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createForgetDeviceClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createForgetDeviceClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ForgetDevice"),(0,i.createEmptyResponseDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},65620(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listWebAuthnCredentials=async function(e,t){const r=e.getConfig().Auth?.Cognito;(0,n.assertTokenProviderConfig)(r);const{userPoolEndpoint:u,userPoolId:l}=r,{tokens:d}=await e.Auth.fetchAuthSession();(0,o.assertAuthTokens)(d);const p=(0,c.createListWebAuthnCredentialsClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:u})}),{Credentials:f=[],NextToken:h}=await p({region:(0,a.getRegionFromUserPoolId)(l),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.ListWebAuthnCredentials)},{AccessToken:d.accessToken.toString(),MaxResults:t?.pageSize,NextToken:t?.nextToken});return{credentials:f.map(e=>({credentialId:e.CredentialId,friendlyCredentialName:e.FriendlyCredentialName,relyingPartyId:e.RelyingPartyId,authenticatorAttachment:e.AuthenticatorAttachment,authenticatorTransports:e.AuthenticatorTransports,createdAt:e.CreatedAt?new Date(1e3*e.CreatedAt):void 0})),nextToken:h}};const n=r(22651),o=r(64166),i=r(28228),a=r(62639),s=r(17238),c=r(35456)},65650(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleObservable=void 0;var n=r(19724),o=r(32071),i=r(5455);t.scheduleObservable=function(e,t){return n.innerFrom(e).pipe(i.subscribeOn(t),o.observeOn(t))}},65774(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipWhile=void 0;var n=r(65212),o=r(17214);t.skipWhile=function(e){return n.operate(function(t,r){var n=!1,i=0;t.subscribe(o.createOperatorSubscriber(r,function(t){return(n||(n=!e(t,i++)))&&r.next(t)}))})}},65826(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseJsonBody=t.parseJsonError=void 0;const n=r(41251);t.parseJsonError=async e=>{if(!e||e.statusCode<300)return;const r=await(0,t.parseJsonBody)(e),o=(e=>{const[t]=e.toString().split(/[,:]+/);return t.includes("#")?t.split("#")[1]:t})(e.headers["x-amzn-errortype"]??r.code??r.__type??"UnknownError"),i=r.message??r.Message??"Unknown error",a=new Error(i);return Object.assign(a,{name:o,$metadata:(0,n.parseMetadata)(e)})},t.parseJsonBody=async e=>{if(!e.body)throw new Error("Missing response payload");const t=await e.body.json();return Object.assign(t,{$metadata:(0,n.parseMetadata)(e)})}},65881(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var n=r(93275),o=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=n.dateTimestampProvider.now,e}();t.Scheduler=o},66192(e,t,r){"use strict";r.d(t,{A$:()=>o,AI:()=>s,FI:()=>l,If:()=>u,NL:()=>d,OY:()=>a,WV:()=>c,bv:()=>f,m6:()=>p});var n=r(51609);const o=(0,n.createContext)(null);function i(){const e=(0,n.useContext)(o);if(!e)throw new Error("[@mantine/core] MantineProvider was not found in tree");return e}function a(){return i().cssVariablesResolver}function s(){return i().classNamesPrefix}function c(){return i().getStyleNonce}function u(){return i().withStaticClasses}function l(){return i().headless}function d(){return i().stylesTransform?.sx}function p(){return i().stylesTransform?.styles}function f(){return i().env||"default"}},66284(e,t,r){"use strict";r.d(t,{B:()=>s});var n=r(51609),o=r(45585),i=r(45727);const a=n["useId".toString()]||(()=>{});function s(e){const t=function(){const e=a();return e?`mantine-${e.replace(/:/g,"")}`:""}(),[r,s]=(0,n.useState)(t);return(0,o.o)(()=>{s((0,i.z)())},[]),"string"==typeof e?e:"undefined"==typeof window?t:r}},66355(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluck=void 0;var n=r(26872);t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map(function(t){for(var n=t,o=0;o<r;o++){var i=null==n?void 0:n[e[o]];if(void 0===i)return;n=i}return n})}},66477(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundProcessManagerState=void 0,function(e){e.Open="Open",e.Closing="Closing",e.Closed="Closed"}(r||(t.BackgroundProcessManagerState=r={}))},66542(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNewDeviceMetadata=async function({userPoolId:e,userPoolEndpoint:t,newDeviceMetadata:r,accessToken:c}){if(!r)return;const u=e.split("_")[1]||"",l=await(0,s.getAuthenticationHelper)(u),d=r?.DeviceKey,p=r?.DeviceGroupKey;try{await l.generateHashDevice(p??"",d??"")}catch(e){return}const f={Salt:n.base64Encoder.convert((0,s.getBytesFromHex)(l.getSaltToHashDevices())),PasswordVerifier:n.base64Encoder.convert((0,s.getBytesFromHex)(l.getVerifierDevices()))},h=l.getRandomPassword();try{const s=(0,o.createConfirmDeviceClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});return await s({region:(0,a.getRegionFromUserPoolId)(e)},{AccessToken:c,DeviceName:await(0,n.getDeviceName)(),DeviceKey:r?.DeviceKey,DeviceSecretVerifierConfig:f}),{deviceKey:d,deviceGroupKey:p,randomPassword:h}}catch(e){return}};const n=r(22651),o=r(35456),i=r(28228),a=r(62639),s=r(80699)},66678(e,t,r){"use strict";r.d(t,{A:()=>G});var n=r(10790),o=r(51609),i=r(66284);const a=["mousedown","touchstart"];var s=r(68690),c=r(56324),u=r(59396),l=r(99274),d=r(52837),p=r(66192),f=r(46100),h=r(82820),m=r(36813),g=r(22662),y=r(39268),v=r(73087),b=r(46798);const[E,w]=(0,b.F)("Popover component was not found in the tree");var S=r(72273),A=r(37055),_=r(88149),P=r(52796);function C(e,t={active:!0}){return"function"==typeof e&&t.active?r=>{"Escape"===r.key&&(e(r),t.onTrigger?.())}:t.onKeyDown||P.l}var I=r(11507),x=r(2412),O=r(42020),k=r(36504),T={dropdown:"m_38a85659",arrow:"m_a31dc6c1",overlay:"m_3d7bc908"};const N=(0,x.P9)((e,t)=>{const r=(0,f.Y)("PopoverDropdown",null,e),{className:o,style:i,vars:a,children:s,onKeyDownCapture:c,variant:u,classNames:l,styles:d,...p}=r,h=w(),m=(0,S.E)({opened:h.opened,shouldReturnFocus:h.returnFocus}),g=h.withRoles?{"aria-labelledby":h.getTargetId(),id:h.getDropdownId(),role:"dialog",tabIndex:-1}:{},b=(0,A.pc)(t,h.floating);return h.disabled?null:(0,n.jsx)(y.r,{...h.portalProps,withinPortal:h.withinPortal,children:(0,n.jsx)(v.e,{mounted:h.opened,...h.transitionProps,transition:h.transitionProps?.transition||"fade",duration:h.transitionProps?.duration??150,keepMounted:h.keepMounted,exitDuration:"number"==typeof h.transitionProps?.exitDuration?h.transitionProps.exitDuration:h.transitionProps?.duration,children:e=>(0,n.jsx)(k.s,{active:h.trapFocus&&h.opened,innerRef:b,children:(0,n.jsxs)(I.a,{...g,...p,variant:u,onKeyDownCapture:C(()=>{h.onClose?.(),h.onDismiss?.()},{active:h.closeOnEscape,onTrigger:m,onKeyDown:c}),"data-position":h.placement,"data-fixed":"fixed"===h.floatingStrategy||void 0,...h.getStyles("dropdown",{className:o,props:r,classNames:l,styles:d,style:[{...e,zIndex:h.zIndex,top:h.y??0,left:h.x??0,width:"target"===h.width?void 0:(0,_.D)(h.width),...h.referenceHidden?{display:"none"}:null},h.resolvedStyles.dropdown,d?.dropdown,i]}),children:[s,(0,n.jsx)(O.i,{ref:h.arrowRef,arrowX:h.arrowX,arrowY:h.arrowY,visible:h.withArrow,position:h.placement,arrowSize:h.arrowSize,arrowRadius:h.arrowRadius,arrowOffset:h.arrowOffset,arrowPosition:h.arrowPosition,...h.getStyles("arrow",{props:r,classNames:l,styles:d})})]})})})})});N.classes=T,N.displayName="@mantine/core/PopoverDropdown";var j=r(34164),R=r(94848),M=r(26810);const D={refProp:"ref",popupType:"dialog"},U=(0,x.P9)((e,t)=>{const{children:r,refProp:n,popupType:i,...a}=(0,f.Y)("PopoverTarget",D,e),s=(0,M.D)(r);if(!s)throw new Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const c=a,u=w(),l=(0,A.pc)(u.reference,(0,R.x)(s),t),d=u.withRoles?{"aria-haspopup":i,"aria-expanded":u.opened,"aria-controls":u.getDropdownId(),id:u.getTargetId()}:{},p=s.props;return(0,o.cloneElement)(s,{...c,...d,...u.targetProps,className:(0,j.A)(u.targetProps.className,c.className,p.className),[n]:l,...u.controlled?null:{onClick:()=>{u.onToggle(),p.onClick?.()}}})});U.displayName="@mantine/core/PopoverTarget";var F=r(34743),L=r(83505),z=r(7315),V=r(61617),H=r(297),$=r(45585);function W(e,t,r){const n=function(e){if(void 0===e)return{shift:!0,flip:!0};const t={...e};return void 0===e.shift&&(t.shift=!0),void 0===e.flip&&(t.flip=!0),t}(e.middlewares),o=[(0,F.cY)(e.offset),(0,F.jD)()];return e.dropdownVisible&&"test"!==r&&e.preventPositionChangeWhenVisible&&(n.flip=!1),n.shift&&o.push((0,F.BN)("boolean"==typeof n.shift?{limiter:(0,F.ER)(),padding:5}:{limiter:(0,F.ER)(),padding:5,...n.shift})),n.flip&&o.push("boolean"==typeof n.flip?(0,F.UU)():(0,F.UU)(n.flip)),n.inline&&o.push("boolean"==typeof n.inline?(0,F.mG)():(0,F.mG)(n.inline)),o.push((0,F.UE)({element:e.arrowRef,padding:e.arrowOffset})),(n.size||"target"===e.width)&&o.push((0,F.Ej)({..."boolean"==typeof n.size?{}:n.size,apply({rects:r,availableWidth:o,availableHeight:i,...a}){const s=t(),c=s.refs.floating.current?.style??{};n.size&&("object"==typeof n.size&&n.size.apply?n.size.apply({rects:r,availableWidth:o,availableHeight:i,...a}):Object.assign(c,{maxWidth:`${o}px`,maxHeight:`${i}px`})),"target"===e.width&&Object.assign(c,{width:`${r.reference.width}px`})}})),o}const B={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,withOverlay:!1,hideDetached:!0,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,s.I)("popover"),__staticSelector:"Popover",width:"max-content"},K=(0,u.V)((e,{radius:t,shadow:r})=>({dropdown:{"--popover-radius":void 0===t?void 0:(0,c.nJ)(t),"--popover-shadow":(0,c.dh)(r)}}));function G(e){const t=(0,f.Y)("Popover",B,e),{children:r,position:s,offset:c,onPositionChange:u,positionDependencies:b,opened:w,transitionProps:S,onExitTransitionEnd:A,onEnterTransitionEnd:_,width:P,middlewares:C,withArrow:I,arrowSize:x,arrowOffset:O,arrowRadius:k,arrowPosition:N,unstyled:j,classNames:R,styles:M,closeOnClickOutside:D,withinPortal:U,portalProps:F,closeOnEscape:G,clickOutsideEvents:q,trapFocus:Y,onClose:J,onDismiss:Q,onOpen:X,onChange:Z,zIndex:ee,radius:te,shadow:re,id:ne,defaultOpened:oe,__staticSelector:ie,withRoles:ae,disabled:se,returnFocus:ce,variant:ue,keepMounted:le,vars:de,floatingStrategy:pe,withOverlay:fe,overlayProps:he,hideDetached:me,attributes:ge,preventPositionChangeWhenVisible:ye,...ve}=t,be=(0,d.I)({name:ie,props:t,classes:T,classNames:R,styles:M,unstyled:j,attributes:ge,rootSelector:"dropdown",vars:de,varsResolver:K}),{resolvedStyles:Ee}=(0,l.Y)({classNames:R,styles:M,props:t}),[we,Se]=(0,o.useState)(w??oe??!1),Ae=(0,o.useRef)(s),_e=(0,o.useRef)(null),[Pe,Ce]=(0,o.useState)(null),[Ie,xe]=(0,o.useState)(null),{dir:Oe}=(0,h.jH)(),ke=(0,p.bv)(),Te=(0,i.B)(ne),Ne=function(e){const t=(0,p.bv)(),[r,n]=(0,V.Z)({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),i=(0,o.useRef)(r),a=(0,L.we)({strategy:e.strategy,placement:e.preventPositionChangeWhenVisible?e.positionRef.current:e.position,middleware:W(e,()=>a,t),whileElementsMounted:e.keepMounted?void 0:z.ll});return(0,o.useEffect)(()=>{if(a.refs.reference.current&&a.refs.floating.current)return r?(0,z.ll)(a.refs.reference.current,a.refs.floating.current,a.update):void 0},[r,a.update]),(0,H.C)(()=>{e.onPositionChange?.(a.placement),e.positionRef.current=a.placement},[a.placement,e.preventPositionChangeWhenVisible]),(0,H.C)(()=>{r!==i.current&&(r?e.onOpen?.():e.onClose?.()),i.current=r},[r,e.onClose,e.onOpen]),(0,$.o)(()=>{let t=-1;return r&&(t=window.setTimeout(()=>e.setDropdownVisible(!0),4)),()=>{window.clearTimeout(t)}},[r,e.position]),{floating:a,controlled:"boolean"==typeof e.opened,opened:r,onClose:()=>{r&&!e.disabled&&n(!1)},onToggle:()=>{e.disabled||n(!r)}}}({middlewares:C,width:P,position:(0,m.Q)(Oe,s),offset:"number"==typeof c?c+(I?x/2:0):c,arrowRef:_e,arrowOffset:O,onPositionChange:u,positionDependencies:b,opened:w,defaultOpened:oe,onChange:Z,onOpen:X,onClose:J,onDismiss:Q,strategy:pe,dropdownVisible:we,setDropdownVisible:Se,positionRef:Ae,disabled:se,preventPositionChangeWhenVisible:ye,keepMounted:le});!function(e,t,r){const n=(0,o.useRef)(null),i=t||a;(0,o.useEffect)(()=>{const t=t=>{const{target:o}=t??{};if(Array.isArray(r)){const n=!document.body.contains(o)&&"HTML"!==o?.tagName;r.every(e=>!!e&&!t.composedPath().includes(e))&&!n&&e()}else n.current&&!n.current.contains(o)&&e()};return i.forEach(e=>document.addEventListener(e,t)),()=>{i.forEach(e=>document.removeEventListener(e,t))}},[n,e,r])}(()=>{D&&(Ne.onClose(),Q?.())},q,[Pe,Ie]);const je=(0,o.useCallback)(e=>{Ce(e),Ne.floating.refs.setReference(e)},[Ne.floating.refs.setReference]),Re=(0,o.useCallback)(e=>{xe(e),Ne.floating.refs.setFloating(e)},[Ne.floating.refs.setFloating]),Me=(0,o.useCallback)(()=>{S?.onExited?.(),A?.(),Se(!1),ye||(Ae.current=s)},[S?.onExited,A,ye,s]),De=(0,o.useCallback)(()=>{S?.onEntered?.(),_?.()},[S?.onEntered,_]);return(0,n.jsxs)(E,{value:{returnFocus:ce,disabled:se,controlled:Ne.controlled,reference:je,floating:Re,x:Ne.floating.x,y:Ne.floating.y,arrowX:Ne.floating?.middlewareData?.arrow?.x,arrowY:Ne.floating?.middlewareData?.arrow?.y,opened:Ne.opened,arrowRef:_e,transitionProps:{...S,onExited:Me,onEntered:De},width:P,withArrow:I,arrowSize:x,arrowOffset:O,arrowRadius:k,arrowPosition:N,placement:Ne.floating.placement,trapFocus:Y,withinPortal:U,portalProps:F,zIndex:ee,radius:te,shadow:re,closeOnEscape:G,onDismiss:Q,onClose:Ne.onClose,onToggle:Ne.onToggle,getTargetId:()=>`${Te}-target`,getDropdownId:()=>`${Te}-dropdown`,withRoles:ae,targetProps:ve,__staticSelector:ie,classNames:R,styles:M,unstyled:j,variant:ue,keepMounted:le,getStyles:be,resolvedStyles:Ee,floatingStrategy:pe,referenceHidden:!(!me||"test"===ke)&&Ne.floating.middlewareData.hide?.referenceHidden},children:[r,fe&&(0,n.jsx)(v.e,{transition:"fade",mounted:Ne.opened,duration:S?.duration||250,exitDuration:S?.exitDuration||250,children:e=>(0,n.jsx)(y.r,{withinPortal:U,children:(0,n.jsx)(g.h,{...he,...be("overlay",{className:he?.className,style:[e,he?.style]})})})})]})}G.Target=U,G.Dropdown=N,G.displayName="@mantine/core/Popover",G.extend=e=>e},66776(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCognitoIdentityPoolEndpointResolver=void 0;const n=r(56547),o=r(22651);t.createCognitoIdentityPoolEndpointResolver=({endpointOverride:e})=>t=>e?{url:new o.AmplifyUrl(e)}:(0,n.cognitoIdentityPoolEndpointResolver)(t)},66791(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.endWith=void 0;var i=r(39546),a=r(61587);t.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return i.concat(t,a.of.apply(void 0,o([],n(e))))}}},66911(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeUntil=void 0;var n=r(65212),o=r(17214),i=r(19724),a=r(5717);t.takeUntil=function(e){return n.operate(function(t,r){i.innerFrom(e).subscribe(o.createOperatorSubscriber(r,function(){return r.complete()},a.noop)),!r.closed&&t.subscribe(r)})}},66975(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.withLatestFrom=void 0;var i=r(65212),a=r(17214),s=r(19724),c=r(87699),u=r(5717),l=r(26404);t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l.popResultSelector(e);return i.operate(function(t,i){for(var l=e.length,d=new Array(l),p=e.map(function(){return!1}),f=!1,h=function(t){s.innerFrom(e[t]).subscribe(a.createOperatorSubscriber(i,function(e){d[t]=e,f||p[t]||(p[t]=!0,(f=p.every(c.identity))&&(p=null))},u.noop))},m=0;m<l;m++)h(m);t.subscribe(a.createOperatorSubscriber(i,function(e){if(f){var t=o([e],n(d));i.next(r?r.apply(void 0,o([],n(t))):t)}}))})}},67060(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},67201(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AWSWebSocketProvider=void 0;const n=r(79364),o=r(11729),i=r(56547),a=r(22651),s=r(68769),c=r(57186),u=r(99271),l=r(22525),d=r(89604),p=r(29901),f=e=>{i.Hub.dispatch("api",e,"PubSub",c.AMPLIFY_SYMBOL)};t.AWSWebSocketProvider=class{constructor(e){this.subscriptionObserverMap=new Map,this.allowNoSubscriptions=!1,this.socketStatus=c.SOCKET_STATUS.CLOSED,this.keepAliveTimestamp=Date.now(),this.promiseArray=[],this.connectionStateMonitor=new u.ConnectionStateMonitor,this.reconnectionMonitor=new l.ReconnectionMonitor,this._establishConnection=async(e,t)=>{this.logger.debug(`Establishing WebSocket connection to ${e}`);try{await this._openConnection(e,t),await this._initiateHandshake()}catch(e){const{errorType:t,errorCode:r}=e;throw c.NON_RETRYABLE_CODES.includes(r)||c.NON_RETRYABLE_ERROR_TYPES.includes(t)?new a.NonRetryableError(t):t?new Error(t):e}},this.logger=new i.ConsoleLogger(e.providerName),this.wsProtocolName=e.wsProtocolName,this.wsConnectUri=e.connectUri,this.connectionStateMonitorSubscription=this._startConnectionStateMonitoring()}close(){return this.socketStatus=c.SOCKET_STATUS.CLOSED,this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CONNECTION_FAILED),this.connectionStateMonitorSubscription.unsubscribe(),this.reconnectionMonitor.close(),new Promise((e,t)=>{this.awsRealTimeSocket?(this.awsRealTimeSocket.onclose=t=>{this._closeSocket(),this.subscriptionObserverMap=new Map,this.awsRealTimeSocket=void 0,e()},this.awsRealTimeSocket.onerror=e=>{t(e)},this.awsRealTimeSocket.close()):e()})}subscribe(e,t){return new n.Observable(r=>{if(!e?.appSyncGraphqlEndpoint)return r.error({errors:[{...new o.GraphQLError("Subscribe only available for AWS AppSync endpoint")}]}),void r.complete();let i=!1;const c=(0,a.amplifyUuid)(),u=()=>{i||(i=!0,this._startSubscriptionWithAWSAppSyncRealTime({options:e,observer:r,subscriptionId:c,customUserAgentDetails:t}).catch(e=>{this.logger.debug(`${s.CONTROL_MSG.REALTIME_SUBSCRIPTION_INIT_ERROR}: ${e}`),this._closeSocket()}).finally(()=>{i=!1}))},l=new n.Observable(e=>{this.reconnectionMonitor.addObserver(e)}).subscribe(()=>{u()});return u(),async()=>{await this._cleanupSubscription(c,l)}})}async connect(e){this.socketStatus!==c.SOCKET_STATUS.READY&&await this._connectWebSocket(e)}async publish(e,t){if(this.socketStatus!==c.SOCKET_STATUS.READY)throw new Error("Subscription has not been initialized");return this._publishMessage(e,t)}async _connectWebSocket(e){const{apiKey:t,appSyncGraphqlEndpoint:r,authenticationType:n,region:o}=e,{additionalCustomHeaders:i}=await(0,d.additionalHeadersFromOptions)(e);this.connectionStateMonitor.record(u.CONNECTION_CHANGE.OPENING_CONNECTION),await this._initializeWebSocketConnection({apiKey:t,appSyncGraphqlEndpoint:r,authenticationType:n,region:o,additionalCustomHeaders:i})}async _publishMessage(e,t){const r=(0,a.amplifyUuid)(),{additionalCustomHeaders:n,libraryConfigHeaders:o}=await(0,d.additionalHeadersFromOptions)(e),i=await this._prepareSubscriptionPayload({options:e,subscriptionId:r,customUserAgentDetails:t,additionalCustomHeaders:n,libraryConfigHeaders:o,publish:!0});return new Promise((e,t)=>{if(this.awsRealTimeSocket){const n=o=>{const i=JSON.parse(o.data);if(i.id===r&&"publish_success"===i.type&&(this.awsRealTimeSocket&&this.awsRealTimeSocket.removeEventListener("message",n),s(),e()),i.errors&&i.errors.length>0){const e=i.errors.map(e=>e.errorType);s(),t(new Error(`Publish errors: ${e.join(", ")}`))}},o=e=>{s(),t(new Error(`WebSocket error: ${e}`))},a=()=>{s(),t(new Error("WebSocket is closed"))},s=()=>{this.awsRealTimeSocket?.removeEventListener("message",n),this.awsRealTimeSocket?.removeEventListener("error",o),this.awsRealTimeSocket?.removeEventListener("close",a)};this.awsRealTimeSocket.addEventListener("message",n),this.awsRealTimeSocket.addEventListener("error",o),this.awsRealTimeSocket.addEventListener("close",a),this.awsRealTimeSocket.send(i)}else t(new Error("WebSocket is not connected"))})}async _cleanupSubscription(e,t){t?.unsubscribe();try{await this._waitForSubscriptionToBeConnected(e);const{subscriptionState:t}=this.subscriptionObserverMap.get(e)||{};if(!t)return;if(t!==c.SUBSCRIPTION_STATUS.CONNECTED)throw new Error("Subscription never connected");this._sendUnsubscriptionMessage(e)}catch(e){this.logger.debug(`Error while unsubscribing ${e}`)}finally{this._removeSubscriptionObserver(e)}}_startConnectionStateMonitoring(){return this.connectionStateMonitor.connectionStateObservable.subscribe(e=>{f({event:c.CONNECTION_STATE_CHANGE,data:{provider:this,connectionState:e},message:`Connection state is ${e}`}),this.connectionState=e,e===s.ConnectionState.ConnectionDisrupted&&this.reconnectionMonitor.record(l.ReconnectEvent.START_RECONNECT),[s.ConnectionState.Connected,s.ConnectionState.ConnectedPendingDisconnect,s.ConnectionState.ConnectedPendingKeepAlive,s.ConnectionState.ConnectedPendingNetwork,s.ConnectionState.ConnectionDisruptedPendingNetwork,s.ConnectionState.Disconnected].includes(e)&&this.reconnectionMonitor.record(l.ReconnectEvent.HALT_RECONNECT)})}async _startSubscriptionWithAWSAppSyncRealTime({options:e,observer:t,subscriptionId:r,customUserAgentDetails:n}){const{query:o,variables:i}=e;this.subscriptionObserverMap.set(r,{observer:t,query:o??"",variables:i??{},subscriptionState:c.SUBSCRIPTION_STATUS.PENDING,startAckTimeoutId:void 0});const{additionalCustomHeaders:a,libraryConfigHeaders:s}=await(0,d.additionalHeadersFromOptions)(e),u=await this._prepareSubscriptionPayload({options:e,subscriptionId:r,customUserAgentDetails:n,additionalCustomHeaders:a,libraryConfigHeaders:s});try{await this._connectWebSocket(e)}catch(e){return void this._logStartSubscriptionError(r,t,e)}const{subscriptionFailedCallback:l,subscriptionReadyCallback:p}=this.subscriptionObserverMap.get(r)??{};this.subscriptionObserverMap.set(r,{observer:t,subscriptionState:c.SUBSCRIPTION_STATUS.PENDING,query:o??"",variables:i??{},subscriptionReadyCallback:p,subscriptionFailedCallback:l,startAckTimeoutId:setTimeout(()=>{this._timeoutStartSubscriptionAck(r)},c.START_ACK_TIMEOUT)}),this.awsRealTimeSocket&&this.awsRealTimeSocket.send(u)}_logStartSubscriptionError(e,t,r){this.logger.debug({err:r});const n=String(r.message??"");if(this._closeSocket(),this.connectionState!==s.ConnectionState.ConnectionDisruptedPendingNetwork){(0,a.isNonRetryableError)(r)?t.error({errors:[{...new o.GraphQLError(`${s.CONTROL_MSG.CONNECTION_FAILED}: ${n}`)}]}):this.logger.debug(`${s.CONTROL_MSG.CONNECTION_FAILED}: ${n}`);const{subscriptionFailedCallback:i}=this.subscriptionObserverMap.get(e)||{};"function"==typeof i&&i()}}async _waitForSubscriptionToBeConnected(e){const t=this.subscriptionObserverMap.get(e);if(t){const{subscriptionState:r}=t;if(r===c.SUBSCRIPTION_STATUS.PENDING)return new Promise((r,n)=>{const{observer:o,subscriptionState:i,variables:a,query:s}=t;this.subscriptionObserverMap.set(e,{observer:o,subscriptionState:i,variables:a,query:s,subscriptionReadyCallback:r,subscriptionFailedCallback:n})})}}_sendUnsubscriptionMessage(e){try{if(this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.socketStatus===c.SOCKET_STATUS.READY){const t=this._unsubscribeMessage(e),r=JSON.stringify(t);this.awsRealTimeSocket.send(r)}}catch(e){this.logger.debug({err:e})}}_removeSubscriptionObserver(e){this.subscriptionObserverMap.delete(e),this.allowNoSubscriptions||setTimeout(this._closeSocketIfRequired.bind(this),1e3)}_closeSocketIfRequired(){if(!(this.subscriptionObserverMap.size>0))if(this.awsRealTimeSocket)if(this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CLOSING_CONNECTION),this.awsRealTimeSocket.bufferedAmount>0)setTimeout(this._closeSocketIfRequired.bind(this),1e3);else{this.logger.debug("closing WebSocket...");const e=this.awsRealTimeSocket;e.onclose=null,e.onerror=null,e.close(1e3),this.awsRealTimeSocket=void 0,this.socketStatus=c.SOCKET_STATUS.CLOSED,this._closeSocket()}else this.socketStatus=c.SOCKET_STATUS.CLOSED}maintainKeepAlive(){this.keepAliveTimestamp=Date.now()}keepAliveHeartbeat(e){const t=Date.now();t-this.keepAliveTimestamp>c.DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT?this.connectionStateMonitor.record(u.CONNECTION_CHANGE.KEEP_ALIVE_MISSED):this.connectionStateMonitor.record(u.CONNECTION_CHANGE.KEEP_ALIVE),t-this.keepAliveTimestamp>e&&this._errorDisconnect(s.CONTROL_MSG.TIMEOUT_DISCONNECT)}_handleIncomingSubscriptionMessage(e){if("string"!=typeof e.data)return;const[t,r]=this._handleSubscriptionData(e);if(t)return void this.maintainKeepAlive();const{type:n,id:i,payload:a}=r,{observer:l=null,query:d="",variables:p={},startAckTimeoutId:h,subscriptionReadyCallback:m,subscriptionFailedCallback:g}=this.subscriptionObserverMap.get(i)||{};if(n===c.MESSAGE_TYPES.GQL_START_ACK||n===c.MESSAGE_TYPES.EVENT_SUBSCRIBE_ACK){this.logger.debug(`subscription ready for ${JSON.stringify({query:d,variables:p})}`),"function"==typeof m&&m(),h&&clearTimeout(h),f({event:s.CONTROL_MSG.SUBSCRIPTION_ACK,data:{query:d,variables:p},message:"Connection established for subscription"});const e=c.SUBSCRIPTION_STATUS.CONNECTED;return l&&this.subscriptionObserverMap.set(i,{observer:l,query:d,variables:p,startAckTimeoutId:void 0,subscriptionState:e,subscriptionReadyCallback:m,subscriptionFailedCallback:g}),void this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CONNECTION_ESTABLISHED)}if(n!==c.MESSAGE_TYPES.GQL_CONNECTION_KEEP_ALIVE){if(n===c.MESSAGE_TYPES.GQL_ERROR||n===c.MESSAGE_TYPES.EVENT_SUBSCRIBE_ERROR){const t=c.SUBSCRIPTION_STATUS.FAILED;if(l){this.subscriptionObserverMap.set(i,{observer:l,query:d,variables:p,startAckTimeoutId:h,subscriptionReadyCallback:m,subscriptionFailedCallback:g,subscriptionState:t});let u=JSON.stringify(a??r);if(n===c.MESSAGE_TYPES.EVENT_SUBSCRIBE_ERROR){const{errors:t}=JSON.parse(String(e.data));if(Array.isArray(t)&&t.length>0){const e=t[0];u=`${e.errorType}: ${e.message}`}}this.logger.debug(`${s.CONTROL_MSG.CONNECTION_FAILED}: ${u}`),l.error({errors:[{...new o.GraphQLError(`${s.CONTROL_MSG.CONNECTION_FAILED}: ${u}`)}]}),h&&clearTimeout(h),"function"==typeof g&&g()}}}else this.maintainKeepAlive()}_errorDisconnect(e){this.logger.debug(`Disconnect error: ${e}`),this.awsRealTimeSocket&&(this._closeSocket(),this.awsRealTimeSocket.close()),this.socketStatus=c.SOCKET_STATUS.CLOSED}_closeSocket(){this.keepAliveHeartbeatIntervalId&&(clearInterval(this.keepAliveHeartbeatIntervalId),this.keepAliveHeartbeatIntervalId=void 0),this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CLOSED)}_timeoutStartSubscriptionAck(e){const t=this.subscriptionObserverMap.get(e);if(t){const{observer:r,query:n,variables:o}=t;if(!r)return;this.subscriptionObserverMap.set(e,{observer:r,query:n,variables:o,subscriptionState:c.SUBSCRIPTION_STATUS.FAILED}),this._closeSocket(),this.logger.debug("timeoutStartSubscription",JSON.stringify({query:n,variables:o}))}}_initializeWebSocketConnection({appSyncGraphqlEndpoint:e,authenticationType:t,apiKey:r,region:n,additionalCustomHeaders:o}){if(this.socketStatus!==c.SOCKET_STATUS.READY)return new Promise(async(i,s)=>{if(this.promiseArray.push({res:i,rej:s}),this.socketStatus===c.SOCKET_STATUS.CLOSED)try{this.socketStatus=c.SOCKET_STATUS.CONNECTING;const i="{}",s=await(0,p.awsRealTimeHeaderBasedAuth)({authenticationType:t,payload:i,canonicalUri:this.wsConnectUri,apiKey:r,appSyncGraphqlEndpoint:e,region:n,additionalCustomHeaders:o}),u=s?JSON.stringify(s):"",l=`header-${a.base64Encoder.convert(u,{urlSafe:!0,skipPadding:!0})}`,f=(0,d.queryParamsFromCustomHeaders)(o),h=(0,d.realtimeUrlWithQueryString)(e,f);await this._establishRetryableConnection(h,l),this.promiseArray.forEach(({res:e})=>{this.logger.debug("Notifying connection successful"),e()}),this.socketStatus=c.SOCKET_STATUS.READY,this.promiseArray=[]}catch(e){this.logger.debug("Connection exited with",e),this.promiseArray.forEach(({rej:t})=>{t(e)}),this.promiseArray=[],this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.awsRealTimeSocket.close(3001),this.awsRealTimeSocket=void 0,this.socketStatus=c.SOCKET_STATUS.CLOSED}})}async _establishRetryableConnection(e,t){this.logger.debug("Establishing retryable connection"),await(0,a.jitteredExponentialRetry)(this._establishConnection.bind(this),[e,t],c.MAX_DELAY_MS)}async _openConnection(e,t){return new Promise((r,n)=>{const o=this._getNewWebSocket(e,[this.wsProtocolName,t]);o.onerror=()=>{this.logger.debug("WebSocket connection error")},o.onclose=()=>{this._closeSocket(),n(new Error("Connection handshake error"))},o.onopen=()=>{this.awsRealTimeSocket=o,r()}})}_getNewWebSocket(e,t){return new WebSocket(e,t)}async _initiateHandshake(){return new Promise((e,t)=>{if(!this.awsRealTimeSocket)return void t(new Error("awsRealTimeSocket undefined"));let r=!1;this.awsRealTimeSocket.onerror=e=>{this.logger.debug(`WebSocket error ${JSON.stringify(e)}`)},this.awsRealTimeSocket.onclose=e=>{this.logger.debug(`WebSocket closed ${e.reason}`),this._closeSocket(),t(new Error(JSON.stringify(e)))},this.awsRealTimeSocket.onmessage=n=>{if("string"!=typeof n.data)return;this.logger.debug(`subscription message from AWS AppSyncRealTime: ${n.data} `);const o=JSON.parse(n.data),{type:i}=o,a=this._extractConnectionTimeout(o);if(i===c.MESSAGE_TYPES.GQL_CONNECTION_ACK)return r=!0,this._registerWebsocketHandlers(a),void e("Connected to AWS AppSyncRealTime");if(i===c.MESSAGE_TYPES.GQL_CONNECTION_ERROR){const{errorType:e,errorCode:r}=this._extractErrorCodeAndType(o);t({errorType:e,errorCode:r})}};const n={type:c.MESSAGE_TYPES.GQL_CONNECTION_INIT};this.awsRealTimeSocket.send(JSON.stringify(n));const o=e=>{e||(this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CONNECTION_FAILED),t(new Error(`Connection timeout: ack from AWSAppSyncRealTime was not received after ${c.CONNECTION_INIT_TIMEOUT} ms`)))};setTimeout(()=>{o(r)},c.CONNECTION_INIT_TIMEOUT)})}_registerWebsocketHandlers(e){this.awsRealTimeSocket&&(this.keepAliveHeartbeatIntervalId=setInterval(()=>{this.keepAliveHeartbeat(e)},c.DEFAULT_KEEP_ALIVE_HEARTBEAT_TIMEOUT),this.awsRealTimeSocket.onmessage=this._handleIncomingSubscriptionMessage.bind(this),this.awsRealTimeSocket.onerror=e=>{this.logger.debug(e),this._errorDisconnect(s.CONTROL_MSG.CONNECTION_CLOSED)},this.awsRealTimeSocket.onclose=e=>{this.logger.debug(`WebSocket closed ${e.reason}`),this._closeSocket(),this._errorDisconnect(s.CONTROL_MSG.CONNECTION_CLOSED)})}}},67403(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSignature=void 0;const n=r(61176),o=r(13890),i=r(79187),a=r(38124);t.getSignature=(e,{credentialScope:t,longDate:r,secretAccessKey:s,shortDate:c,signingRegion:u,signingService:l,uriEscapePath:d})=>{const p=(0,o.getCanonicalRequest)(e,d),f=(0,n.getHashedDataAsHex)(null,p),h=(0,a.getStringToSign)(r,t,f);return(0,n.getHashedDataAsHex)((0,i.getSigningKey)(s,c,u,l),h)}},67478(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMap=void 0;var n=r(26872),o=r(19724),i=r(65212),a=r(2574),s=r(10281);t.mergeMap=function e(t,r,c){return void 0===c&&(c=1/0),s.isFunction(r)?e(function(e,i){return n.map(function(t,n){return r(e,t,i,n)})(o.innerFrom(t(e,i)))},c):("number"==typeof r&&(c=r),i.operate(function(e,r){return a.mergeInternals(e,r,t,c)}))}},67492(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateModelsProperty=function(e,t,r){const s={},{config:c}=t,u=null===t.amplify;if(!c)throw new Error("generateModelsProperty cannot retrieve Amplify config");if(!c.API?.GraphQL)return{};const l=c.API.GraphQL.modelIntrospection;if(!l)return{};const d=["ONCREATE","ONUPDATE","ONDELETE","OBSERVEQUERY"];for(const t of Object.values(l.models)){const{name:c}=t;s[c]={};const p=(0,a.excludeDisabledOps)(l,c);Object.entries(p).forEach(([o,{operationPrefix:a}])=>{const p=o;d.includes(p)||(s[c][a]="LIST"===p?(0,n.listFactory)(e,l,t,r,u):(0,i.getFactory)(e,l,t,p,r,u))});const f=(0,a.getSecondaryIndexesFromSchemaModel)(t);for(const n of f)s[c][n.queryField]=(0,o.indexQueryFactory)(e,l,t,n,r,u)}return s};const n=r(23151),o=r(36135),i=r(68523),a=r(42368)},67552(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0;var n=r(10281);t.isPromise=function(e){return n.isFunction(null==e?void 0:e.then)}},67579(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertPasskeyError=t.PasskeyErrorCode=t.PasskeyError=t.handlePasskeyRegistrationError=t.handlePasskeyAuthenticationError=void 0;var n=r(24315);Object.defineProperty(t,"handlePasskeyAuthenticationError",{enumerable:!0,get:function(){return n.handlePasskeyAuthenticationError}});var o=r(46644);Object.defineProperty(t,"handlePasskeyRegistrationError",{enumerable:!0,get:function(){return o.handlePasskeyRegistrationError}});var i=r(54129);Object.defineProperty(t,"PasskeyError",{enumerable:!0,get:function(){return i.PasskeyError}}),Object.defineProperty(t,"PasskeyErrorCode",{enumerable:!0,get:function(){return i.PasskeyErrorCode}}),Object.defineProperty(t,"assertPasskeyError",{enumerable:!0,get:function(){return i.assertPasskeyError}})},67609(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCredentials=t.fetchAuthSession=t.Amplify=t.AmplifyClass=void 0;var n=r(28269);Object.defineProperty(t,"AmplifyClass",{enumerable:!0,get:function(){return n.AmplifyClass}}),Object.defineProperty(t,"Amplify",{enumerable:!0,get:function(){return n.Amplify}});var o=r(98229);Object.defineProperty(t,"fetchAuthSession",{enumerable:!0,get:function(){return o.fetchAuthSession}});var i=r(90746);Object.defineProperty(t,"clearCredentials",{enumerable:!0,get:function(){return i.clearCredentials}})},67635(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheKey=void 0,t.getCacheKey=(e,t)=>`${t}:pinpoint:${e}`},67689(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.CacheErrorCode=void 0;const n=r(1123);var o;!function(e){e.NoCacheItem="NoCacheItem",e.NullNextNode="NullNextNode",e.NullPreviousNode="NullPreviousNode"}(o||(t.CacheErrorCode=o={}));const i={[o.NoCacheItem]:{message:"Item not found in the cache storage."},[o.NullNextNode]:{message:"Next node is null."},[o.NullPreviousNode]:{message:"Previous node is null."}};t.assert=(0,n.createAssertionFunction)(i)},67791(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSignedHeaders=void 0,t.getSignedHeaders=e=>Object.keys(e).map(e=>e.toLowerCase()).sort().join(";")},67904(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorage=void 0;const n=r(44056),o=r(72380);class i extends n.KeyValueStorage{constructor(){super((0,o.getSessionStorageWithFallback)())}}t.SessionStorage=i},67933(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestAll=void 0;var n=r(88246),o=r(80719);t.combineLatestAll=function(e){return o.joinAllInternals(n.combineLatest,e)}},68087(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=void 0;var n=r(67478),o=r(87699);t.mergeAll=function(e){return void 0===e&&(e=1/0),n.mergeMap(o.identity,e)}},68116(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openAuthSession=void 0,t.openAuthSession=async e=>{window?.location&&(window.location.href=e.replace("http://","https://"))}},68177(e,t,r){"use strict";function n(e){return"string"==typeof e?{value:e,label:e}:"value"in e&&!("label"in e)?{value:e.value,label:e.value,disabled:e.disabled}:"number"==typeof e?{value:e.toString(),label:e.toString()}:"group"in e?{group:e.group,items:e.items.map(e=>n(e))}:e}function o(e){return e?e.map(e=>n(e)):[]}r.d(t,{d:()=>o})},68463(e,t,r){"use strict";r.d(t,{D:()=>i});var n=r(87525);const o=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],i=e=>async(t,r)=>{const n=r??await e(t)??void 0,i=n?.code||n?.name,a=t?.statusCode;return{retryable:u(r)||c(a,i)||(e=>!!e&&o.includes(e))(i)||l(a,i)}},a=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],s=["TimeoutError","RequestTimeout","RequestTimeoutException"],c=(e,t)=>429===e||!!t&&a.includes(t),u=e=>[n.m.NetworkError,"ERR_NETWORK"].includes(e?.name),l=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&s.includes(t)},68506(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAmplifyConfig=void 0;const n=r(60448),o=r(57706);t.parseAmplifyConfig=e=>Object.keys(e).some(e=>e.startsWith("aws_"))?(0,n.parseAWSExports)(e):(0,o.isAmplifyOutputs)(e)?(0,o.parseAmplifyOutputs)(e):e},68523(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFactory=function(e,t,r,n,o,i=!1,a){return i?(i,s,u)=>c(e,t,r,s,u,n,o,i,a):(i,s)=>c(e,t,r,i,s,n,o,void 0,a)};const n=r(44287),o=r(48310),i=r(17631),a=r(53841),s=r(83102);function c(e,t,r,c,u,l,d,p,f){return(0,i.selfAwareAsync)(async i=>{const{name:h}=r,m=(0,n.generateGraphQLDocument)(t,r,l,u),g=(0,n.buildGraphQLVariables)(r,l,c,t),y=(0,n.authModeParams)(e,d,u),v=(0,n.getCustomHeaders)(e,d,u?.headers),b=(0,s.createUserAgentOverride)(f);try{const r=p?e.graphql(p,{...y,query:m,variables:g},v):e.graphql({...y,query:m,variables:g,...b},v),o=(0,a.extendCancellability)(r,i),{data:s,extensions:c}=await o;if(s){const[r]=Object.keys(s),o=(0,n.flattenItems)(t,h,s[r]);if(null===o)return{data:null,extensions:c};if(u?.selectionSet)return{data:o,extensions:c};{const[r]=(0,n.initializeModel)(e,h,[o],t,y.authMode,y.authToken,!!p);return{data:r,extensions:c}}}return{data:null,extensions:c}}catch(r){const{data:i,errors:a}=r;if(i&&0!==Object.keys(i).length&&a){const[s]=Object.keys(i),c=(0,n.flattenItems)(t,h,i[s]);if(c){if(u?.selectionSet)return{data:c,errors:a};{const[r]=(0,n.initializeModel)(e,h,[c],t,y.authMode,y.authToken,!!p);return{data:r,errors:a}}}return(0,o.handleSingularGraphQlError)(r)}return(0,o.handleSingularGraphQlError)(r)}})}},68582(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NO_HUBCALLBACK_PROVIDED_EXCEPTION=t.USER_AGENT_HEADER=t.AWS_CLOUDWATCH_CATEGORY=void 0,t.AWS_CLOUDWATCH_CATEGORY="Logging",t.USER_AGENT_HEADER="x-amz-user-agent",t.NO_HUBCALLBACK_PROVIDED_EXCEPTION="NoHubcallbackProvidedException"},68584(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetIdClient=void 0;const n=r(7884),o=r(39236),i=r(4463),a=r(17943),s=r(18057),c=r(78744);t.createGetIdClient=e=>(0,o.composeServiceApi)(s.cognitoIdentityTransferHandler,(0,c.createClientSerializer)("GetId"),u,{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e,userAgentValue:(0,i.getAmplifyUserAgent)()});const u=async e=>{if(e.statusCode>=300)throw await(0,n.parseJsonError)(e);return{IdentityId:(await(0,n.parseJsonBody)(e)).IdentityId,$metadata:(0,n.parseMetadata)(e)}}},68596(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=void 0;var n=r(10281);t.isScheduler=function(e){return e&&n.isFunction(e.schedule)}},68690(e,t,r){"use strict";r.d(t,{I:()=>o});const n={app:100,modal:200,popover:300,overlay:400,max:9999};function o(e){return n[e]}},68710(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishReplay=void 0;var n=r(10381),o=r(18464),i=r(10281);t.publishReplay=function(e,t,r,a){r&&!i.isFunction(r)&&(a=r);var s=i.isFunction(r)?r:void 0;return function(r){return o.multicast(new n.ReplaySubject(e,t,a),s)(r)}}},68769(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionState=t.CONTROL_MSG=void 0,function(e){e.CONNECTION_CLOSED="Connection closed",e.CONNECTION_FAILED="Connection failed",e.REALTIME_SUBSCRIPTION_INIT_ERROR="AppSync Realtime subscription init error",e.SUBSCRIPTION_ACK="Subscription ack",e.TIMEOUT_DISCONNECT="Timeout disconnect"}(r||(t.CONTROL_MSG=r={})),function(e){e.Connected="Connected",e.ConnectedPendingNetwork="ConnectedPendingNetwork",e.ConnectionDisrupted="ConnectionDisrupted",e.ConnectionDisruptedPendingNetwork="ConnectionDisruptedPendingNetwork",e.Connecting="Connecting",e.ConnectedPendingDisconnect="ConnectedPendingDisconnect",e.Disconnected="Disconnected",e.ConnectedPendingKeepAlive="ConnectedPendingKeepAlive"}(n||(t.ConnectionState=n={}))},69019(e,t,r){"use strict";r.d(t,{B:()=>f});var n=r(10790),o=(r(51609),r(56324)),i=r(59396),a=r(46100),s=r(52837),c=r(11507),u=r(2412),l={root:"m_6d731127"};const d={gap:"md",align:"stretch",justify:"flex-start"},p=(0,i.V)((e,{gap:t,align:r,justify:n})=>({root:{"--stack-gap":(0,o.GY)(t),"--stack-align":r,"--stack-justify":n}})),f=(0,u.P9)((e,t)=>{const r=(0,a.Y)("Stack",d,e),{classNames:o,className:i,style:u,styles:f,unstyled:h,vars:m,align:g,justify:y,gap:v,variant:b,attributes:E,...w}=r,S=(0,s.I)({name:"Stack",props:r,classes:l,className:i,style:u,classNames:o,styles:f,unstyled:h,attributes:E,vars:m,varsResolver:p});return(0,n.jsx)(c.a,{ref:t,...S("root"),variant:b,...w})});f.classes=l,f.displayName="@mantine/core/Stack"},69384(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceWorkerClass=void 0;const n=r(69580),o=r(72685),i=r(1123),a=r(50120),s=r(67609),c=r(87614);t.ServiceWorkerClass=class{constructor(){this._logger=new n.ConsoleLogger("ServiceWorker")}get serviceWorker(){return(0,c.assert)(void 0!==this._serviceWorker,c.ServiceWorkerErrorCode.UndefinedInstance),this._serviceWorker}register(e="/service-worker.js",t="/"){return this._logger.debug(`registering ${e}`),this._logger.debug(`registering service worker with scope ${t}`),new Promise((r,n)=>{navigator&&"serviceWorker"in navigator?navigator.serviceWorker.register(e,{scope:t}).then(e=>{e.installing?this._serviceWorker=e.installing:e.waiting?this._serviceWorker=e.waiting:e.active&&(this._serviceWorker=e.active),this._registration=e,this._setupListeners(),this._logger.debug(`Service Worker Registration Success: ${e}`),r(e)}).catch(e=>{this._logger.debug(`Service Worker Registration Failed ${e}`),n(new i.AmplifyError({name:c.ServiceWorkerErrorCode.Unavailable,message:"Service Worker not available",underlyingError:e}))}):n(new i.AmplifyError({name:c.ServiceWorkerErrorCode.Unavailable,message:"Service Worker not available"}))})}enablePush(e){return(0,c.assert)(void 0!==this._registration,c.ServiceWorkerErrorCode.UndefinedRegistration),this._publicKey=e,new Promise((t,r)=>{(0,o.isBrowser)()?((0,c.assert)(void 0!==this._registration,c.ServiceWorkerErrorCode.UndefinedRegistration),this._registration.pushManager.getSubscription().then(r=>{if(!r)return this._logger.debug("User is NOT subscribed to push"),this._registration.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:this._urlB64ToUint8Array(e)}).then(e=>{this._subscription=e,this._logger.debug(`User subscribed: ${JSON.stringify(e)}`),t(e)}).catch(e=>{this._logger.error(e)});this._subscription=r,this._logger.debug(`User is subscribed to push: ${JSON.stringify(r)}`),t(r)})):r(new i.AmplifyError({name:c.ServiceWorkerErrorCode.Unavailable,message:"Service Worker not available"}))})}_urlB64ToUint8Array(e){const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),r=window.atob(t),n=new Uint8Array(r.length);for(let e=0;e<r.length;++e)n[e]=r.charCodeAt(e);return n}send(e){this._serviceWorker&&this._serviceWorker.postMessage("object"==typeof e?JSON.stringify(e):e)}_setupListeners(){this.serviceWorker.addEventListener("statechange",async()=>{const e=this.serviceWorker.state;this._logger.debug(`ServiceWorker statechange: ${e}`);const{appId:t,region:r,bufferSize:n,flushInterval:o,flushSize:i,resendLimit:c}=s.Amplify.getConfig().Analytics?.Pinpoint??{},{credentials:u}=await(0,s.fetchAuthSession)();t&&r&&u&&(0,a.record)({appId:t,region:r,category:"Core",credentials:u,bufferSize:n,flushInterval:o,flushSize:i,resendLimit:c,event:{name:"ServiceWorker",attributes:{state:e}}})}),this.serviceWorker.addEventListener("message",e=>{this._logger.debug(`ServiceWorker message event: ${e}`)})}}},69517(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscriptionError=void 0;var n=r(9619);t.UnsubscriptionError=n.createErrorClass(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}})},69580(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogger=void 0;var n=r(90413);Object.defineProperty(t,"ConsoleLogger",{enumerable:!0,get:function(){return n.ConsoleLogger}})},69721(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLApiError=void 0;const n=r(22651);class o extends n.AmplifyError{constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}t.GraphQLApiError=o},69752(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerPasskey=void 0;const n=r(13321),o=r(2126),i=r(67579),a=r(6837);t.registerPasskey=async e=>{try{const t=(0,a.getIsPasskeySupported)();(0,i.assertPasskeyError)(t,i.PasskeyErrorCode.PasskeyNotSupported);const r=(0,o.deserializeJsonToPkcCreationOptions)(e),s=await navigator.credentials.create({publicKey:r});return(0,n.assertCredentialIsPkcWithAuthenticatorAttestationResponse)(s),(0,o.serializePkcWithAttestationToJson)(s)}catch(e){throw(0,i.handlePasskeyRegistrationError)(e)}}},69802(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CacheList=void 0;const n=r(67689);class o{constructor(e){this.key=e||"",this.prevNode=null,this.nextNode=null}}t.CacheList=class{constructor(){this.head=new o,this.tail=new o,this.hashtable={},this.length=0,this.head.nextNode=this.tail,this.tail.prevNode=this.head}insertNodeToHead(e){const t=this.head.nextNode;this.head.nextNode=e,e.nextNode=t,e.prevNode=this.head,(0,n.assert)(null!==t,n.CacheErrorCode.NullPreviousNode),t.prevNode=e,this.length=this.length+1}removeNode(e){(0,n.assert)(null!==e.prevNode,n.CacheErrorCode.NullPreviousNode),(0,n.assert)(null!==e.nextNode,n.CacheErrorCode.NullNextNode),e.prevNode.nextNode=e.nextNode,e.nextNode.prevNode=e.prevNode,e.prevNode=null,e.nextNode=null,this.length=this.length-1}isEmpty(){return 0===this.length}refresh(e){const t=this.hashtable[e];this.removeNode(t),this.insertNodeToHead(t)}insertItem(e){const t=new o(e);this.hashtable[e]=t,this.insertNodeToHead(t)}getLastItem(){return(0,n.assert)(null!==this.tail.prevNode,n.CacheErrorCode.NullPreviousNode),this.tail.prevNode.key}removeItem(e){const t=this.hashtable[e];this.removeNode(t),delete this.hashtable[e]}getSize(){return this.length}containsKey(e){return e in this.hashtable}clearList(){for(const e of Object.keys(this.hashtable))Object.prototype.hasOwnProperty.call(this.hashtable,e)&&delete this.hashtable[e];this.head.nextNode=this.tail,this.tail.prevNode=this.head,this.length=0}getKeys(){return Object.keys(this.hashtable)}isHeadNode(e){return this.hashtable[e].prevNode===this.head}isTailNode(e){return this.hashtable[e].nextNode===this.tail}}},69879(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.isSubscription=t.EMPTY_SUBSCRIPTION=t.Subscription=void 0;var a=r(10281),s=r(69517),c=r(54830),u=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,r,c,u;if(!this.closed){this.closed=!0;var d=this._parentage;if(d)if(this._parentage=null,Array.isArray(d))try{for(var p=n(d),f=p.next();!f.done;f=p.next())f.value.remove(this)}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}else d.remove(this);var h=this.initialTeardown;if(a.isFunction(h))try{h()}catch(e){u=e instanceof s.UnsubscriptionError?e.errors:[e]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var g=n(m),y=g.next();!y.done;y=g.next()){var v=y.value;try{l(v)}catch(e){u=null!=u?u:[],e instanceof s.UnsubscriptionError?u=i(i([],o(u)),o(e.errors)):u.push(e)}}}catch(e){r={error:e}}finally{try{y&&!y.done&&(c=g.return)&&c.call(g)}finally{if(r)throw r.error}}}if(u)throw new s.UnsubscriptionError(u)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)l(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&c.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&c.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}();function l(e){a.isFunction(e)?e():e.unsubscribe()}t.Subscription=u,t.EMPTY_SUBSCRIPTION=u.EMPTY,t.isSubscription=function(e){return e instanceof u||e&&"closed"in e&&a.isFunction(e.remove)&&a.isFunction(e.add)&&a.isFunction(e.unsubscribe)}},69915(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0;var n=r(65212),o=r(17214);t.isEmpty=function(){return n.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,function(){t.next(!1),t.complete()},function(){t.next(!0),t.complete()}))})}},69988(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRevokeTokenClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createRevokeTokenClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("RevokeToken"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},70201(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatAll=void 0;var n=r(68087);t.concatAll=function(){return n.mergeAll(1)}},70265(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAssociateSoftwareTokenClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createAssociateSoftwareTokenClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("AssociateSoftwareToken"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},70352(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRestApiServiceError=void 0;const n=r(7884),o=r(59645);t.parseRestApiServiceError=async e=>{if(!e)return;const t=await(0,n.parseJsonError)(i(e));if(t){const r=await(e.body?.text());return a(t,{statusCode:e.statusCode,headers:e.headers,body:r})}};const i=e=>{let t;const r=new Proxy(e.body,{get:(e,r,n)=>"json"===r?async()=>{t||(t=e.text());try{return JSON.parse(await t)}catch(e){return{}}}:"text"===r?async()=>(t||(t=e.text()),t):Reflect.get(e,r,n)});return new Proxy(e,{get:(e,t,n)=>"body"===t?r:Reflect.get(e,t,n)})},a=(e,t)=>{const r=new o.RestApiError({name:e?.name,message:e.message,underlyingError:e,response:t});return Object.assign(r,{$metadata:e.$metadata})}},70512(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.amzSdkRequestHeaderMiddlewareFactory=void 0;const n=r(27573);t.amzSdkRequestHeaderMiddlewareFactory=({maxAttempts:e=n.DEFAULT_RETRY_ATTEMPTS})=>(t,r)=>async function(o){const i=r.attemptsCount??0;return o.headers[n.AMZ_SDK_REQUEST_HEADER]=`attempt=${i+1}; max=${e}`,t(o)}},70544(e,t,r){"use strict";var n,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(c,{TEXT_DOMAIN:()=>w,clearMfaPreferences:()=> D,configureAmplify:()=>T,getAmplifyConfig:()=>k,getGateyPlugin:()=>l,getGroups:()=>H,getMfaPreferences:()=>L,getPreferredRole:()=>W,getRoles:()=>$,getScopes:()=>B,getStore:()=>p,getStoreDispatch:()=>I,getStoreSelect:()=>x,getUserAttributes:()=>F,initializeGatey:()=>Z,isAuthenticated:()=>z,isInGroup:()=>V,loadAuthSession:()=>N,loadMFAPreferences:()=>R,loadUserAttributes:()=>j,login:()=>K,logout:()=>G,observeStore:()=>O,store:()=>X,waitForGateyReady:()=>d}),e.exports=(n=c,((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))!s.call(e,r)&&undefined!==r&&o(e,r,{get:()=>t[r],enumerable:!(n=i(t,r))||n.enumerable});return e})(o({},"__esModule",{value:!0}),n));var u=r(61094);function l(){return globalThis.WpSuite?.plugins?.gatey}async function d(e=8e3){let t=l();if("available"!==t?.status){if("error"===t?.status)throw new Error("Gatey failed");await new Promise((t,r)=>{let n=()=>i(t),o=()=>i(()=>r(new Error("Gatey failed"))),i=e=>{window.removeEventListener("wpsuite:gatey:ready",n),window.removeEventListener("wpsuite:gatey:error",o),a&&clearTimeout(a),e()};window.addEventListener("wpsuite:gatey:ready",n,{once:!0}),window.addEventListener("wpsuite:gatey:error",o,{once:!0});let a=e?window.setTimeout(()=>i(()=>r(new Error("Gatey timeout"))),e):0})}}async function p(e=1e4){await d(e);let t=l()?.cognito?.store;if(!t)throw new Error("Gatey store is not available");return t}var f,h=r(94381),m=r(61964),g=r(61964),y=r(93135),v=r(47143),b=r(63661),E="gatey_account",w="gatey";f=typeof WpSuite<"u"?WpSuite.siteSettings:{};var S=e=>{e?.username?window.localStorage.setItem(E,JSON.stringify(e)):window.localStorage.removeItem(E)},A=async e=>{let t=JSON.parse(window.localStorage.getItem(E)??"{}"),r=!1;if(t?.username)try{let e=await(0,g.fetchAuthSession)();e?.tokens?.accessToken?.payload?.exp&&e.tokens.accessToken.payload.exp>(new Date).getTime()/1e3&&(r=!0)}catch(e){console.error(e)}else try{t=await M(!1),t?.username&&(S(t),t.loaded=!0,r=!0)}catch(e){console.error(e)}return!r&&t?.username&&(S({}),p().then(async t=>{await G(e?.signOutHook),I(t).clearAccount()})),t},_={setAmplifyConfig:e=>({type:"SET_AMPLIFY_CONFIG",amplifyConfig:e}),setAccount:e=>({type:"SET_ACCOUNT",account:e}),clearAccount:()=>({type:"CLEAR_ACCOUNT"}),setSignedIn:e=>({type:"SET_SIGNED_IN",signedIn:e}),setNextUrl:e=>({type:"SET_NEXT_URL",nextUrl:e}),setLanguage:e=>(e&&"system"!==e?y.I18n.setLanguage(e):y.I18n.setLanguage(""),{type:"SET_LANGUAGE",language:e}),setDirection:e=>({type:"SET_DIRECTION",direction:e}),reloadAuthSession:()=>({type:"RELOAD_AUTH_SESSION"}),reloadUserAttributes:()=>({type:"RELOAD_USER_ATTRIBUTES"}),reloadMFAPreferences:()=>({type:"RELOAD_MFA_PREFERENCE"})},P={getAmplifyConfig:e=>e.amplifyConfig,getAccount:e=>e.account,getNextUrl:e=>e.nextUrl,isSignedIn:e=>e.signedIn,getConfig:e=>e.config,getCustomTranslations:e=>e.customTranslations,getLanguage:e=>e.language,getDirection:e=>e.direction,getState:e=>e},C={},I=e=>(0,v.dispatch)(e),x=e=>(0,v.select)(e),O=(e,t,r)=>{let n;function o(){let o=x(e).getState(),i=t(o);if(i!==n){let e=n;n=i,r(n,e)}}let i=(0,v.subscribe)(o,e);return o(),i},k=()=>h.Amplify.getConfig(),T=(e,t)=>{h.Amplify.configure(e,t)},N=e=>(0,m.fetchAuthSession)(e),j=()=>(0,m.fetchUserAttributes)(),R=()=>(0,m.fetchMFAPreference)(),M=async(e=!0)=>{let t=e?await A():{};if(t?.username)return t;try{if((await(0,m.fetchAuthSession)()).tokens)return{username:(await(0,m.getCurrentUser)()).username,userAttributes:await j(),mfaPreferences:await R()}}catch(e){console.error(e);try{await(0,m.signOut)()}catch{}}return{}},D=async()=>{await(0,m.updateMFAPreference)({totp:"DISABLED"})},U=()=>A().then(e=>e?.username),F=()=>A().then(e=>e?.userAttributes),L=()=>A().then(e=>e?.mfaPreferences),z=()=>A().then(e=>!!e?.username),V=e=>H().then(t=>t?.includes(e)||!1),H=()=>N().then(e=>e.tokens?.idToken?.payload["cognito:groups"]instanceof Array?e.tokens.idToken.payload["cognito:groups"].map(e=>e):[]).catch(e=>{console.error(e)}),$=async()=>N().then(e=>e.tokens?.idToken?.payload["cognito:roles"]instanceof Array?e.tokens.idToken.payload["cognito:roles"].map(e=>e).map(e=>e.substring(e.indexOf("/")+1)):[]).catch(e=>{console.error(e)}),W=async()=>N().then(e=>{if(!e.tokens?.idToken?.payload["cognito:preferred_role"])return;let t=e.tokens.idToken.payload["cognito:preferred_role"];return t.substring(t.indexOf("/")+1)}).catch(e=>{console.error(e)}),B=()=>N().then(e=>e.tokens?.accessToken.payload.scope?.split(" ")??[]).catch(e=>{console.error(e)}),K=async e=>{let t,r=l();if(!r)throw new Error("Gatey plugin is not available");return r.settings.integrateWpLogin&&r.restUrl?.startsWith("http")&&(t=await r.cognito.post({apiName:"admin",path:"/login"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await r.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e)),r.settings.redirectSignIn??t},G=async e=>{let t,r=l();if(!r)throw new Error("Gatey plugin is not available");r.settings.integrateWpLogin&&(t=await r.cognito.get({apiName:"admin",path:"/logout"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await r.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e));try{await(0,m.signOut)()}catch{}return r.settings.redirectSignOut??t},q=r(63661),Y=()=>{p().then(e=>{O(e,e=>e.nextUrl,async e=>{e&&window.location.assign(e)}),I(e).clearAccount()}).catch(e=>{console.error("Gatey signOut error:",e)})},J=e=>{p().then(t=>{I(t).setLanguage(e??"en")}).catch(e=>{console.error("Gatey setLanguage error:",e)})},Q=e=>{p().then(t=>{I(t).setDirection(e??"auto")}).catch(e=>{console.error("Gatey setDirection error:",e)})},X=async()=>p(),Z=()=>{let e=globalThis.WpSuite,t=l();if(!t)throw new Error("Gatey plugin is not available");(0,q.attachDefaultPluginRuntime)(t),t.status=t.status??"initializing";let r=(async()=>{let e=await(async()=>{let e=await(0,b.getConfig)("gatey");(async e=>{let t=window.location.hostname.toLowerCase().split(":")[0],r=l();if(!r)throw new Error("Gatey plugin is not available");let n=r.settings?.secondaryUserPoolDomains&&t.toLowerCase().match(r.settings.secondaryUserPoolDomains.toLowerCase())&&r.settings?.userPoolConfigurations.secondary?.Auth?.Cognito?.userPoolId?r.settings?.userPoolConfigurations.secondary:r.settings?.userPoolConfigurations.default,o={Auth:{Cognito:{userPoolClientId:"",userPoolId:"",identityPoolId:"",...n.Auth?.Cognito,loginWith:{oauth:{domain:"",scopes:[],responseType:"code",...n.Auth?.Cognito?.loginWith?.oauth,redirectSignIn:[window.location.origin+r.settings?.signInPage],redirectSignOut:[window.location.origin+r.settings?.signInPage]}}}},API:{...n.API,REST:{...n.API?.REST,admin:{endpoint:r.restUrl}}}},i=e?.apiConfigurations?.secondary?.domains&&t.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default;i?.apis?.forEach(e=>{let t=o.API?.REST;t&&(t[e.name]={endpoint:e.endpoint,region:e.region})}),T(o,{API:{REST:{headers:async e=>{let t=i?.apis?.find(t=>t.name===e.apiName);if("admin"===e.apiName||"ID_TOKEN"===t?.authorization||"ACCESS_TOKEN"===t?.authorization)try{let r=await N();if(r?.tokens?.idToken&&r?.tokens?.accessToken)return{Authorization:`Bearer ${"admin"===e.apiName||"ID_TOKEN"===t?.authorization?r.tokens.idToken.toString():r.tokens.accessToken.toString()}`}}catch(e){console.error(e),p().then(e=>{I(e).clearAccount()})}return{}}}}})})(e);let t=window.location.hostname.toLowerCase().split(":")[0],r=e?.apiConfigurations?.secondary?.domains&&t.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default,n=await A(r),o=await(async()=>{let e=l();if(!e)throw new Error("Gatey plugin is not available");let t=null;return e.settings.customTranslationsUrl&&(t=await fetch(e.settings.customTranslationsUrl+(e.settings.customTranslationsUrl.includes("?")?"&":"?")+"t="+f.lastUpdate).then(e=>e.ok?e.text():null).then(e=>e?JSON.parse(e):null).catch(()=>null)),t??null})();return{config:e,amplifyConfig:{},account:n,signedIn:!!n?.username&&!n.loaded,nextUrl:void 0,language:void 0,direction:void 0,customTranslations:o,reloadAuthSession:0,reloadUserAttributes:0,reloadMFAPreferences:0}})(),t=(0,v.createReduxStore)("wpsuite/gatey",{reducer(t=e,r){switch(r.type){case"SET_AMPLIFY_CONFIG":return{...t,amplifyConfig:r.amplifyConfig};case"SET_ACCOUNT":return S(r.account),{...t,account:r.account};case"CLEAR_ACCOUNT":return S({}),{...t,account:{}};case"RELOAD_AUTH_SESSION":{let e=Math.random();return{...t,reloadAuthSession:t.reloadAuthSession!==e?e:e+1}}case"RELOAD_USER_ATTRIBUTES":{let e=Math.random();return{...t,reloadUserAttributes:t.reloadUserAttributes!==e?e:e+1}}case"RELOAD_MFA_PREFERENCE":{let e=Math.random();return{...t,reloadMFAPreferences:t.reloadMFAPreferences!==e?e:e+1}}case"SET_SIGNED_IN":return{...t,signedIn:r.signedIn};case"SET_NEXT_URL":return{...t,nextUrl:r.nextUrl};case"SET_LANGUAGE":return{...t,language:r.language};case"SET_DIRECTION":return{...t,direction:r.direction}}return t},actions:_,selectors:P,resolvers:C});return(0,v.register)(t),t})();return t.cognito={store:r,observeStore:O,setLanguage:J,setDirection:Q,getAmplifyConfig:k,isAuthenticated:z,isInGroup:V,getUsername:U,getUserAttributes:F,getMfaPreferences:L,clearMfaPreferences:D,getGroups:H,getRoles:$,getPreferredRole:W,getScopes:B,signOut:Y,get:u.get,post:u.post,put:u.put,del:u.del,head:u.head,patch:u.patch},r.then(()=>{t.status="available",e?.events?.emit("wpsuite:gatey:ready",{key:t.key,version:t.version})}).catch(r=>{t.status="error",e?.events?.emit("wpsuite:gatey:error",{key:t.key,error:String(r)})}),t}},70547(e,t,r){"use strict";r.d(t,{L:()=>n});const n=({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>r=>async function(n){if(0===t.trim().length)return await r(n);{const o=e.toLowerCase();return n.headers[o]=n.headers[o]?`${n.headers[o]} ${t}`:t,await r(n)}}},70591(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(40338),o=r(32988);var i=r(32988);function a(e,t,r,i){return(0,o.default)(48,n.default,e,t,r,i)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return i.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),a.DNS=o.DNS,a.URL=o.URL,t.default=a},70896(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoSignInStore=void 0,t.autoSignInStore=(e=>{let t=e({active:!1},{type:"RESET"});return{getState:()=>t,dispatch:r=>{t=e(t,r)}}})((e,t)=>{switch(t.type){case"SET_USERNAME":return{...e,username:t.value};case"SET_SESSION":return{...e,session:t.value};case"START":return{...e,active:!0};case"RESET":return{active:!1};default:return e}})},70928(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthErrorCodes=t.AuthErrorStrings=t.validationErrorMap=void 0;const n=r(49129);var o,i;t.validationErrorMap={[n.AuthValidationErrorCode.EmptyChallengeResponse]:{message:"challengeResponse is required to confirmSignIn"},[n.AuthValidationErrorCode.EmptyConfirmResetPasswordUsername]:{message:"username is required to confirmResetPassword"},[n.AuthValidationErrorCode.EmptyConfirmSignUpCode]:{message:"code is required to confirmSignUp"},[n.AuthValidationErrorCode.EmptyConfirmSignUpUsername]:{message:"username is required to confirmSignUp"},[n.AuthValidationErrorCode.EmptyConfirmResetPasswordConfirmationCode]:{message:"confirmationCode is required to confirmResetPassword"},[n.AuthValidationErrorCode.EmptyConfirmResetPasswordNewPassword]:{message:"newPassword is required to confirmResetPassword"},[n.AuthValidationErrorCode.EmptyResendSignUpCodeUsername]:{message:"username is required to confirmSignUp"},[n.AuthValidationErrorCode.EmptyResetPasswordUsername]:{message:"username is required to resetPassword"},[n.AuthValidationErrorCode.EmptySignInPassword]:{message:"password is required to signIn"},[n.AuthValidationErrorCode.EmptySignInUsername]:{message:"username is required to signIn"},[n.AuthValidationErrorCode.EmptySignUpPassword]:{message:"password is required to signUp"},[n.AuthValidationErrorCode.EmptySignUpUsername]:{message:"username is required to signUp"},[n.AuthValidationErrorCode.CustomAuthSignInPassword]:{message:"A password is not needed when signing in with CUSTOM_WITHOUT_SRP",recoverySuggestion:"Do not include a password in your signIn call."},[n.AuthValidationErrorCode.IncorrectMFAMethod]:{message:"Incorrect MFA method was chosen. It should be either SMS, TOTP, or EMAIL",recoverySuggestion:"Try to pass SMS, TOTP, or EMAIL as the challengeResponse"},[n.AuthValidationErrorCode.EmptyVerifyTOTPSetupCode]:{message:"code is required to verifyTotpSetup"},[n.AuthValidationErrorCode.EmptyUpdatePassword]:{message:"oldPassword and newPassword are required to changePassword"},[n.AuthValidationErrorCode.EmptyConfirmUserAttributeCode]:{message:"confirmation code is required to confirmUserAttribute"}},function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_EMAIL="Email cannot be empty",e.EMPTY_PHONE="Phone number cannot be empty",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty",e.NETWORK_ERROR="Network Error",e.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",e.AUTOSIGNIN_ERROR="Please use your credentials to sign in",e.OAUTH_ERROR="Couldn't finish OAuth flow, check your User Pool HostedUI settings"}(o||(t.AuthErrorStrings=o={})),function(e){e.SignInException="SignInException",e.OAuthSignInError="OAuthSignInException"}(i||(t.AuthErrorCodes=i={}))},70935(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.record=void 0;const n=r(38457),o=r(20810),i=r(18498),a=r(19867),s=r(50454);let c;t.record=async({appId:e,category:t,channelType:r,credentials:u,event:l,identityId:d,region:p,userAgentValue:f,bufferSize:h,flushInterval:m,flushSize:g,resendLimit:y})=>{let v=c;const b=new Date,E=b.toISOString(),w=(0,n.amplifyUuid)(),S=(0,s.getEventBuffer)({appId:e,region:p,credentials:u,bufferSize:h??a.BUFFER_SIZE,flushInterval:m??a.FLUSH_INTERVAL,flushSize:g??a.FLUSH_SIZE,resendLimit:y??a.RESEND_LIMIT,identityId:d,userAgentValue:f}),A=await(0,o.resolveEndpointId)({appId:e,category:t,channelType:r,credentials:u,identityId:d,region:p,userAgentValue:f});if(!v||l.name===i.SESSION_START_EVENT){const e=(0,n.amplifyUuid)();c={Id:e,StartTimestamp:E},v=c}c&&l.name===i.SESSION_STOP_EVENT&&(v={...c,StopTimestamp:E,Duration:b.getTime()-new Date(c.StartTimestamp).getTime()},c=void 0),S.push({eventId:w,endpointId:A,event:l,session:v,timestamp:E,resendLimit:y??a.RESEND_LIMIT})}},71405(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSignUpClient=t.createSignUpClientDeserializer=void 0;const n=r(39236),o=r(7884),i=r(70928),a=r(43518),s=r(49129),c=r(73031),u=r(11588),l=r(72002),d=r(3427),p=r(58261);t.createSignUpClientDeserializer=()=>async e=>{if(e.statusCode>=300){const t=await(0,o.parseJsonError)(e);if((0,c.assertServiceError)(t),t.name===u.SignUpException.InvalidParameterException&&/'password'/.test(t.message)&&/Member must not be null/.test(t.message)){const e=s.AuthValidationErrorCode.EmptySignUpPassword,{message:t,recoverySuggestion:r}=i.validationErrorMap[e];throw new a.AuthError({name:e,message:t,recoverySuggestion:r})}throw new a.AuthError({name:t.name,message:t.message})}return(0,o.parseJsonBody)(e)},t.createSignUpClient=e=>(0,n.composeServiceApi)(d.cognitoUserPoolTransferHandler,(0,l.createUserPoolSerializer)("SignUp"),(0,t.createSignUpClientDeserializer)(),{...p.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},71556(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStartWebAuthnRegistrationClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createStartWebAuthnRegistrationClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("StartWebAuthnRegistration"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},71666(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;var i=function(e){function t(t,r){return e.call(this)||this}return o(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(69879).Subscription);t.Action=i},71690(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertArrayBufferToBase64Url=void 0;const n=r(22651);t.convertArrayBufferToBase64Url=e=>n.base64Encoder.convert(new Uint8Array(e),{urlSafe:!0,skipPadding:!0})},72002(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEmptyResponseDeserializer=t.createUserPoolDeserializer=t.createUserPoolSerializer=void 0;var n=r(56341);Object.defineProperty(t,"createUserPoolSerializer",{enumerable:!0,get:function(){return n.createUserPoolSerializer}});var o=r(97206);Object.defineProperty(t,"createUserPoolDeserializer",{enumerable:!0,get:function(){return o.createUserPoolDeserializer}});var i=r(12975);Object.defineProperty(t,"createEmptyResponseDeserializer",{enumerable:!0,get:function(){return i.createEmptyResponseDeserializer}})},72047(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidationError=function(e,t){const{message:r,recoverySuggestion:i}=o.validationErrorMap[t];if(!e)throw new n.RestApiError({name:t,message:r,recoverySuggestion:i})};const n=r(85533),o=r(53222)},72049(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.angularWebDetect=function(){const e=Boolean((0,n.documentExists)()&&document.querySelector("[ng-version]")),t=Boolean((0,n.windowExists)()&&void 0!==window.ng);return e||t},t.angularSSRDetect=function(){return(0,n.processExists)()&&"object"==typeof process.env&&process.env.npm_lifecycle_script?.startsWith("ng ")||!1};const n=r(62114)},72223(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="6.15.9"},72273(e,t,r){"use strict";r.d(t,{E:()=>i});var n=r(51609),o=r(297);function i({opened:e,shouldReturnFocus:t=!0}){const r=(0,n.useRef)(null),i=()=>{r.current&&"focus"in r.current&&"function"==typeof r.current.focus&&r.current?.focus({preventScroll:!0})};return(0,o.C)(()=>{let n=-1;const o=e=>{"Tab"===e.key&&window.clearTimeout(n)};return document.addEventListener("keydown",o),e?r.current=document.activeElement:t&&(n=window.setTimeout(i,10)),()=>{window.clearTimeout(n),document.removeEventListener("keydown",o)}},[e,t]),i}},72380(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSessionStorageWithFallback=t.getLocalStorageWithFallback=void 0;const n=r(69580),o=r(3944),i=new n.ConsoleLogger("CoreStorageUtils");t.getLocalStorageWithFallback=()=>{try{if("undefined"!=typeof window&&window.localStorage)return window.localStorage}catch(e){i.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new o.InMemoryStorage},t.getSessionStorageWithFallback=()=>{try{if("undefined"!=typeof window&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw new Error("sessionStorage is not defined")}catch(e){return i.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new o.InMemoryStorage}}},72580(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withMemoization=void 0,t.withMemoization=e=>{let t;return()=>(t||(t=e()),t)}},72647(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConfirmSignUpClient=void 0;const n=r(39236),o=r(58261),i=r(3427),a=r(72002);t.createConfirmSignUpClient=e=>(0,n.composeServiceApi)(i.cognitoUserPoolTransferHandler,(0,a.createUserPoolSerializer)("ConfirmSignUp"),(0,a.createUserPoolDeserializer)(),{...o.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},72674(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userAgentMiddlewareFactory=void 0;var n=r(5760);Object.defineProperty(t,"userAgentMiddlewareFactory",{enumerable:!0,get:function(){return n.userAgentMiddlewareFactory}})},72685(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTokenExpired=t.deDupeAsyncFunction=t.deepFreeze=t.urlSafeEncode=t.urlSafeDecode=t.retry=t.jitteredExponentialRetry=t.jitteredBackoff=t.isNonRetryableError=t.NonRetryableError=t.isWebWorker=t.isBrowser=t.getClientInfo=t.generateRandomString=void 0;var n=r(57468);Object.defineProperty(t,"generateRandomString",{enumerable:!0,get:function(){return n.generateRandomString}});var o=r(78121);Object.defineProperty(t,"getClientInfo",{enumerable:!0,get:function(){return o.getClientInfo}});var i=r(6441);Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return i.isBrowser}});var a=r(25445);Object.defineProperty(t,"isWebWorker",{enumerable:!0,get:function(){return a.isWebWorker}});var s=r(87924);Object.defineProperty(t,"NonRetryableError",{enumerable:!0,get:function(){return s.NonRetryableError}}),Object.defineProperty(t,"isNonRetryableError",{enumerable:!0,get:function(){return s.isNonRetryableError}}),Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return s.jitteredBackoff}}),Object.defineProperty(t,"jitteredExponentialRetry",{enumerable:!0,get:function(){return s.jitteredExponentialRetry}}),Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return s.retry}});var c=r(76763);Object.defineProperty(t,"urlSafeDecode",{enumerable:!0,get:function(){return c.urlSafeDecode}});var u=r(9255);Object.defineProperty(t,"urlSafeEncode",{enumerable:!0,get:function(){return u.urlSafeEncode}});var l=r(2492);Object.defineProperty(t,"deepFreeze",{enumerable:!0,get:function(){return l.deepFreeze}});var d=r(96340);Object.defineProperty(t,"deDupeAsyncFunction",{enumerable:!0,get:function(){return d.deDupeAsyncFunction}});var p=r(15027);Object.defineProperty(t,"isTokenExpired",{enumerable:!0,get:function(){return p.isTokenExpired}})},72719(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.catchError=void 0;var n=r(19724),o=r(17214),i=r(65212);t.catchError=function e(t){return i.operate(function(r,i){var a,s=null,c=!1;s=r.subscribe(o.createOperatorSubscriber(i,void 0,void 0,function(o){a=n.innerFrom(t(o,e(t)(r))),s?(s.unsubscribe(),s=null,a.subscribe(i)):c=!0})),c&&(s.unsubscribe(),s=null,a.subscribe(i))})}},72770(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(59746);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},72885(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delayWhen=void 0;var n=r(39546),o=r(54383),i=r(2959),a=r(13337),s=r(67478),c=r(19724);t.delayWhen=function e(t,r){return r?function(a){return n.concat(r.pipe(o.take(1),i.ignoreElements()),a.pipe(e(t)))}:s.mergeMap(function(e,r){return c.innerFrom(t(e,r)).pipe(o.take(1),a.mapTo(e))})}},73031(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertServiceError=function(e){if(!e||"Error"===e.name||e instanceof TypeError)throw new o.AuthError({name:n.AmplifyErrorCode.Unknown,message:"An unknown error has occurred.",underlyingError:e})};const n=r(22651),o=r(43518)},73087(e,t,r){"use strict";r.d(t,{e:()=>h});var n=r(10790),o=r(51609),i=r(66192);const a=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${"bottom"===e?10:-10}px)`},transitionProperty:"transform, opacity"}),s={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...a("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...a("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...a("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...a("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...a("top"),common:{transformOrigin:"top right"}}},c={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function u({transition:e,state:t,duration:r,timingFunction:n}){const o={WebkitBackfaceVisibility:"hidden",transitionDuration:`${r}ms`,transitionTimingFunction:n};return"string"==typeof e?e in s?{transitionProperty:s[e].transitionProperty,...o,...s[e].common,...s[e][c[t]]}:{}:{transitionProperty:e.transitionProperty,...o,...e.common,...e[c[t]]}}var l=r(75795),d=r(9021),p=r(297),f=r(1101);function h({keepMounted:e,transition:t="fade",duration:r=250,exitDuration:a=r,mounted:s,children:c,timingFunction:h="ease",onExit:m,onEntered:g,onEnter:y,onExited:v,enterDelay:b,exitDelay:E}){const w=(0,i.bv)(),{transitionDuration:S,transitionStatus:A,transitionTimingFunction:_}=function({duration:e,exitDuration:t,timingFunction:r,mounted:n,onEnter:i,onExit:a,onEntered:s,onExited:c,enterDelay:u,exitDelay:h}){const m=(0,f.xd)(),g=(0,d.I)(),y=!!m.respectReducedMotion&&g,[v,b]=(0,o.useState)(y?0:e),[E,w]=(0,o.useState)(n?"entered":"exited"),S=(0,o.useRef)(-1),A=(0,o.useRef)(-1),_=(0,o.useRef)(-1);function P(){window.clearTimeout(S.current),window.clearTimeout(A.current),cancelAnimationFrame(_.current)}const C=r=>{P();const n=r?i:a,o=r?s:c,u=y?0:r?e:t;b(u),0===u?("function"==typeof n&&n(),"function"==typeof o&&o(),w(r?"entered":"exited")):_.current=requestAnimationFrame(()=>{l.flushSync(()=>{w(r?"pre-entering":"pre-exiting")}),_.current=requestAnimationFrame(()=>{"function"==typeof n&&n(),w(r?"entering":"exiting"),S.current=window.setTimeout(()=>{"function"==typeof o&&o(),w(r?"entered":"exited")},u)})})};return(0,p.C)(()=>{var e;e=n,P(),"number"==typeof(e?u:h)?A.current=window.setTimeout(()=>{C(e)},e?u:h):C(e)},[n]),(0,o.useEffect)(()=>()=>{P()},[]),{transitionDuration:v,transitionStatus:E,transitionTimingFunction:r||"ease"}}({mounted:s,exitDuration:a,duration:r,timingFunction:h,onExit:m,onEntered:g,onEnter:y,onExited:v,enterDelay:b,exitDelay:E});return 0===S||"test"===w?s?(0,n.jsx)(n.Fragment,{children:c({})}):e?c({display:"none"}):null:"exited"===A?e?c({display:"none"}):null:(0,n.jsx)(n.Fragment,{children:c(u({transition:t,duration:S,state:A,timingFunction:_}))})}h.displayName="@mantine/core/Transition"},73323(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultStorage=void 0;const n=r(44056),o=r(72380);class i extends n.KeyValueStorage{constructor(){super((0,o.getLocalStorageWithFallback)())}}t.DefaultStorage=i},73484(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var n=r(92070),o=r(65212),i=function(e,t){return e.push(t),e};t.toArray=function(){return o.operate(function(e,t){n.reduce(i,[])(e).subscribe(t)})}},73655(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.currentSizeKey=t.defaultConfig=void 0,t.defaultConfig={keyPrefix:"aws-amplify-cache",capacityInBytes:1048576,itemMaxSize:21e4,defaultTTL:2592e5,defaultPriority:5,warningThreshold:.8},t.currentSizeKey="CurSize"},73779(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);t.default={randomUUID:r}},73836(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInitiateAuthClient=void 0;const n=r(39236),o=r(72002),i=r(3427),a=r(58261);t.createInitiateAuthClient=e=>(0,n.composeServiceApi)(i.cognitoUserPoolTransferHandler,(0,o.createUserPoolSerializer)("InitiateAuth"),(0,o.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},73857(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasswordVerifierChallenge=async function(e,t,r,d,p,f,h){const{userPoolId:m,userPoolClientId:g,userPoolEndpoint:y}=f,v=m?.split("_")[1]||"",b=new c.BigInteger(t?.SRP_B,16),E=new c.BigInteger(t?.SALT,16),w=t?.USER_ID_FOR_SRP;if(!w)throw new n.AuthError({name:"EmptyUserIdForSRPException",message:"USER_ID_FOR_SRP was not found in challengeParameters"});const S=await p.getPasswordAuthenticationKey({username:w,password:e,serverBValue:b,salt:E}),A=(0,s.getNowString)(),_={USERNAME:w,PASSWORD_CLAIM_SECRET_BLOCK:t?.SECRET_BLOCK,TIMESTAMP:A,PASSWORD_CLAIM_SIGNATURE:(0,s.getSignatureString)({username:w,userPoolName:v,challengeParameters:t,dateNow:A,hkdf:S})},P=await h.getDeviceMetadata(w);P&&P.deviceKey&&(_.DEVICE_KEY=P.deviceKey);const C={ChallengeName:"PASSWORD_VERIFIER",ChallengeResponses:_,ClientMetadata:r,Session:d,ClientId:g,UserContextData:(0,u.getUserContextData)({username:w,userPoolId:m,userPoolClientId:g})},I=(0,o.createRespondToAuthChallengeClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:y})}),x=await I({region:(0,a.getRegionFromUserPoolId)(m)},C);return"DEVICE_SRP_AUTH"===x.ChallengeName?(0,l.handleDeviceSRPAuth)({username:w,config:f,clientMetadata:r,session:x.Session,tokenOrchestrator:h}):x};const n=r(43518),o=r(35456),i=r(28228),a=r(62639),s=r(80699),c=r(74008),u=r(99369),l=r(35138)},73929(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceEqual=void 0;var n=r(65212),o=r(17214),i=r(19724);t.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),n.operate(function(r,n){var a={buffer:[],complete:!1},s={buffer:[],complete:!1},c=function(e){n.next(e),n.complete()},u=function(e,r){var i=o.createOperatorSubscriber(n,function(n){var o=r.buffer,i=r.complete;0===o.length?i?c(!1):e.buffer.push(n):!t(n,o.shift())&&c(!1)},function(){e.complete=!0;var t=r.complete,n=r.buffer;t&&c(0===n.length),null==i||i.unsubscribe()});return i};r.subscribe(u(a,s)),i.innerFrom(e).subscribe(u(s,a))})}},73956(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryWhen=void 0;var n=r(19724),o=r(76808),i=r(65212),a=r(17214);t.retryWhen=function(e){return i.operate(function(t,r){var i,s,c=!1,u=function(){i=t.subscribe(a.createOperatorSubscriber(r,void 0,void 0,function(t){s||(s=new o.Subject,n.innerFrom(e(s)).subscribe(a.createOperatorSubscriber(r,function(){return i?u():c=!0}))),s&&s.next(t)})),c&&(i.unsubscribe(),i=null,c=!1,u())};u()})}},74008(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BigInteger=void 0;const n=r(31635).__importDefault(r(52522));t.BigInteger=n.default},74214(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNowString=void 0;const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];t.getNowString=()=>{const e=new Date,t=n[e.getUTCDay()],o=r[e.getUTCMonth()],i=e.getUTCDate();let a=e.getUTCHours();a<10&&(a=`0${a}`);let s=e.getUTCMinutes();s<10&&(s=`0${s}`);let c=e.getUTCSeconds();return c<10&&(c=`0${c}`),`${t} ${o} ${i} ${a}:${s}:${c} UTC ${e.getUTCFullYear()}`}},74231(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityIdProvider=async function({tokens:e,authConfig:t,identityIdStore:r}){r.setAuthConfig({Cognito:t});const u=await r.loadIdentityId();if(u)return u.id;const l=e?.idToken?(0,c.formLoginsMap)(e.idToken.toString()):{},d=await async function(e,t){const r=t?.identityPoolId,c=(0,a.getRegionFromIdentityPoolId)(r),u=(0,n.createGetIdClient)({endpointResolver:(0,s.createCognitoIdentityPoolEndpointResolver)({endpointOverride:t.identityPoolEndpoint})});let l;try{l=(await u({region:c},{IdentityPoolId:r,Logins:e})).IdentityId}catch(e){throw(0,i.assertServiceError)(e),new o.AuthError(e)}if(!l)throw new o.AuthError({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return l}(l,t);return r.storeIdentityId({id:d,type:e?"primary":"guest"}),d};const n=r(56547),o=r(43518),i=r(73031),a=r(62639),s=r(28228),c=r(95392)},74385(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=void 0;var n=r(48051),o=r(44885);t.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return o.EMPTY;var i=t+e;return new n.Observable(r?function(t){var n=e;return r.schedule(function(){n<i?(t.next(n++),this.schedule()):t.complete()})}:function(t){for(var r=e;r<i&&!t.closed;)t.next(r++);t.complete()})}},74478(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.flush=function(e){var t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=void 0);var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(19533).AsyncScheduler);t.AnimationFrameScheduler=i},74533(e,t,r){"use strict";r.d(t,{S:()=>V});var n=r(10790),o=r(51609),i=r(66284),a=r(56324),s=r(59396),c=r(89569),u=r(86344),l=r(55488),d=r(56644),p=r(46100),f=r(52837),h=r(63733),m=r(11507),g=r(2412),y=r(8816),v=r(61617),b=r(46076);const E=(0,o.createContext)(null),w=E.Provider,S=()=>(0,o.useContext)(E);var A=r(97986);const[_,P]=(0,A.e)();var C={card:"m_26775b0a"};const I={withBorder:!0},x=(0,s.V)((e,{radius:t})=>({card:{"--card-radius":(0,a.nJ)(t)}})),O=(0,g.P9)((e,t)=>{const r=(0,p.Y)("CheckboxCard",I,e),{classNames:o,className:i,style:a,styles:s,unstyled:c,vars:u,checked:l,mod:d,withBorder:h,value:m,onClick:g,defaultChecked:y,onChange:E,attributes:w,...A}=r,P=(0,f.I)({name:"CheckboxCard",classes:C,props:r,className:i,style:a,classNames:o,styles:s,unstyled:c,attributes:w,vars:u,varsResolver:x,rootSelector:"card"}),O=S(),k="boolean"==typeof l?l:O?O.value.includes(m||""):void 0,[T,N]=(0,v.Z)({value:k,defaultValue:y,finalValue:!1,onChange:E});return(0,n.jsx)(_,{value:{checked:T},children:(0,n.jsx)(b.N,{ref:t,mod:[{"with-border":h,checked:T},d],...P("card"),...A,role:"checkbox","aria-checked":T,onClick:e=>{g?.(e),O?.onChange(m||""),N(!T)}})})});O.displayName="@mantine/core/CheckboxCard",O.classes=C;var k=r(16112),T=r(31422);const N=(0,g.P9)((e,t)=>{const{value:r,defaultValue:o,onChange:i,size:a,wrapperProps:s,children:c,readOnly:u,disabled:l,...d}=(0,p.Y)("CheckboxGroup",null,e),[f,h]=(0,v.Z)({value:r,defaultValue:o,finalValue:[],onChange:i});return(0,n.jsx)(w,{value:{value:f,onChange:e=>{const t="string"==typeof e?e:e.currentTarget.value;!u&&h(f.includes(t)?f.filter(e=>e!==t):[...f,t])},size:a,disabled:l},children:(0,n.jsx)(T.p.Wrapper,{size:a,ref:t,...s,...d,labelElement:"div",__staticSelector:"CheckboxGroup",children:(0,n.jsx)(k.F,{role:"group",children:c})})})});N.classes=T.p.Wrapper.classes,N.displayName="@mantine/core/CheckboxGroup";var j=r(15333),R={indicator:"m_5e5256ee",icon:"m_1b1c543a","indicator--outline":"m_76e20374"};const M={icon:j.R,variant:"filled"},D=(0,s.V)((e,{radius:t,color:r,size:n,iconColor:o,variant:i,autoContrast:s})=>{const p=(0,c.g)({color:r||e.primaryColor,theme:e}),f=p.isThemeColor&&void 0===p.shade?`var(--mantine-color-${p.color}-outline)`:p.color;return{indicator:{"--checkbox-size":(0,a.YC)(n,"checkbox-size"),"--checkbox-radius":void 0===t?void 0:(0,a.nJ)(t),"--checkbox-color":"outline"===i?f:(0,u.r)(r,e),"--checkbox-icon-color":o?(0,u.r)(o,e):(0,d.v)(s,e)?(0,l.w)({color:r,theme:e,autoContrast:s}):void 0}}}),U=(0,g.P9)((e,t)=>{const r=(0,p.Y)("CheckboxIndicator",M,e),{classNames:o,className:i,style:a,styles:s,unstyled:c,vars:u,icon:l,indeterminate:d,radius:h,color:g,iconColor:y,autoContrast:v,checked:b,mod:E,variant:w,disabled:S,attributes:A,..._}=r,C=(0,f.I)({name:"CheckboxIndicator",classes:R,props:r,className:i,style:a,classNames:o,styles:s,unstyled:c,attributes:A,vars:u,varsResolver:D,rootSelector:"indicator"}),I=P(),x="boolean"==typeof b||"boolean"==typeof d?b||d:I?.checked||!1;return(0,n.jsx)(m.a,{ref:t,...C("indicator",{variant:w}),variant:w,mod:[{checked:x,disabled:S},E],..._,children:(0,n.jsx)(l,{indeterminate:d,...C("icon")})})});U.displayName="@mantine/core/CheckboxIndicator",U.classes=R;var F={root:"m_bf2d988c",inner:"m_26062bec",input:"m_26063560",icon:"m_bf295423","input--outline":"m_215c4542"};const L={labelPosition:"right",icon:j.R,variant:"filled"},z=(0,s.V)((e,{radius:t,color:r,size:n,iconColor:o,variant:i,autoContrast:s})=>{const p=(0,c.g)({color:r||e.primaryColor,theme:e}),f=p.isThemeColor&&void 0===p.shade?`var(--mantine-color-${p.color}-outline)`:p.color;return{root:{"--checkbox-size":(0,a.YC)(n,"checkbox-size"),"--checkbox-radius":void 0===t?void 0:(0,a.nJ)(t),"--checkbox-color":"outline"===i?f:(0,u.r)(r,e),"--checkbox-icon-color":o?(0,u.r)(o,e):(0,d.v)(s,e)?(0,l.w)({color:r,theme:e,autoContrast:s}):void 0}}}),V=(0,g.P9)((e,t)=>{const r=(0,p.Y)("Checkbox",L,e),{classNames:a,className:s,style:c,styles:u,unstyled:l,vars:d,color:g,label:v,id:b,size:E,radius:w,wrapperProps:A,checked:_,labelPosition:P,description:C,error:I,disabled:x,variant:O,indeterminate:k,icon:T,rootRef:N,iconColor:j,onChange:R,autoContrast:M,mod:D,attributes:U,...V}=r,H=S(),$=E||H?.size,W=(0,f.I)({name:"Checkbox",props:r,classes:F,className:s,style:c,classNames:a,styles:u,unstyled:l,attributes:U,vars:d,varsResolver:z}),{styleProps:B,rest:K}=(0,h.j)(V),G=(0,i.B)(b),q={checked:H?.value.includes(K.value)??_,onChange:e=>{H?.onChange(e),R?.(e)},disabled:H?.disabled??x},Y=(0,o.useRef)(null),J=t||Y;return(0,o.useEffect)(()=>{J&&"current"in J&&J.current&&(J.current.indeterminate=k||!1,k?J.current.setAttribute("data-indeterminate","true"):J.current.removeAttribute("data-indeterminate"))},[k,J]),(0,n.jsx)(y.I,{...W("root"),__staticSelector:"Checkbox",__stylesApiProps:r,id:G,size:$,labelPosition:P,label:v,description:C,error:I,disabled:q.disabled,classNames:a,styles:u,unstyled:l,"data-checked":q.checked||_||void 0,variant:O,ref:N,mod:D,...B,...A,children:(0,n.jsxs)(m.a,{...W("inner"),mod:{"data-label-position":P},children:[(0,n.jsx)(m.a,{component:"input",id:G,ref:J,mod:{error:!!I},...W("input",{focusable:!0,variant:O}),...K,...q,type:"checkbox"}),(0,n.jsx)(T,{indeterminate:k,...W("icon")})]})})});V.classes={...F,...y.M},V.displayName="@mantine/core/Checkbox",V.Group=N,V.Indicator=U,V.Card=O},74557(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(22829),o=r(32988);var i=r(32988);function a(e,t,r,i){return(0,o.default)(80,n.default,e,t,r,i)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return i.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),a.DNS=o.DNS,a.URL=o.URL,t.default=a},74593(e,t,r){"use strict";r.d(t,{J:()=>i});var n=r(34164);const o={};function i({theme:e,classNames:t,props:r,stylesCtx:i}){return function(e){const t={};return e.forEach(e=>{Object.entries(e).forEach(([e,r])=>{t[e]?t[e]=(0,n.A)(t[e],r):t[e]=r})}),t}((Array.isArray(t)?t:[t]).map(t=>"function"==typeof t?t(e,r,i):t||o))}},74613(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatMap=void 0;var n=r(67478);t.flatMap=n.mergeMap},74700(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertItemToConversationStreamEvent=void 0,t.convertItemToConversationStreamEvent=({id:e,conversationId:t,associatedUserMessageId:o,contentBlockIndex:i,contentBlockDoneAtIndex:a,contentBlockDeltaIndex:s,contentBlockText:c,contentBlockToolUse:u,stopReason:l,errors:d})=>d?{error:{id:e,conversationId:t,associatedUserMessageId:o,errors:d}}:{next:n({id:e,conversationId:t,associatedUserMessageId:o,contentBlockIndex:i,contentBlockDoneAtIndex:a,contentBlockDeltaIndex:s,text:c,toolUse:r(u),stopReason:l})};const r=e=>{if(e)return{...e,input:JSON.parse(e.input)}},n=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>null!==t))},74744(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCreatedEndpointId=t.createEndpointId=void 0;const n=r(38457),o=r(67635),i={};t.createEndpointId=(e,t)=>{const r=(0,o.getCacheKey)(e,t);return i[r]||(i[r]=(0,n.amplifyUuid)()),i[r]},t.clearCreatedEndpointId=(e,t)=>{const r=(0,o.getCacheKey)(e,t);delete i[r]}},74878(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=t.listWebAuthnCredentials=t.associateWebAuthnCredential=void 0;var n=r(33859);Object.defineProperty(t,"associateWebAuthnCredential",{enumerable:!0,get:function(){return n.associateWebAuthnCredential}});var o=r(14954);Object.defineProperty(t,"listWebAuthnCredentials",{enumerable:!0,get:function(){return o.listWebAuthnCredentials}});var i=r(40068);Object.defineProperty(t,"deleteWebAuthnCredential",{enumerable:!0,get:function(){return i.deleteWebAuthnCredential}})},74920(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundProcessManager=void 0;var n=r(86578);Object.defineProperty(t,"BackgroundProcessManager",{enumerable:!0,get:function(){return n.BackgroundProcessManager}})},75019(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.materialize=void 0;var n=r(31245),o=r(65212),i=r(17214);t.materialize=function(){return o.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,function(e){t.next(n.Notification.createNext(e))},function(){t.next(n.Notification.createComplete()),t.complete()},function(e){t.next(n.Notification.createError(e)),t.complete()}))})}},75266(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forkJoin=void 0;var n=r(48051),o=r(50439),i=r(19724),a=r(26404),s=r(17214),c=r(13916),u=r(15810);t.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popResultSelector(e),l=o.argsArgArrayOrObject(e),d=l.args,p=l.keys,f=new n.Observable(function(e){var t=d.length;if(t)for(var r=new Array(t),n=t,o=t,a=function(t){var a=!1;i.innerFrom(d[t]).subscribe(s.createOperatorSubscriber(e,function(e){a||(a=!0,o--),r[t]=e},function(){return n--},void 0,function(){n&&a||(o||e.next(p?u.createObject(p,r):r),e.complete())}))},c=0;c<t;c++)a(c);else e.complete()});return r?f.pipe(c.mapOneOrManyArgs(r)):f}},75536(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unauthenticatedHandler=void 0;const n=r(92896),o=r(72674),i=r(49615),a=r(19676);t.unauthenticatedHandler=(0,i.composeTransferHandler)(a.fetchTransferHandler,[o.userAgentMiddlewareFactory,n.amzSdkInvocationIdHeaderMiddlewareFactory,n.retryMiddlewareFactory,n.amzSdkRequestHeaderMiddlewareFactory])},75544(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expand=void 0;var n=r(65212),o=r(2574);t.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,n.operate(function(n,i){return o.mergeInternals(n,i,e,t,void 0,!0,r)})}},75795(e){"use strict";e.exports=window.ReactDOM},75983(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCodeVerifier=void 0;const n=r(136),o=r(22651);t.generateCodeVerifier=e=>{const t=new Uint8Array(e);(0,o.getCrypto)().getRandomValues(t);let r,i="";for(const e of t)i+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(e%62);return{value:i,method:"S256",toCodeChallenge:()=>r||(r=function(e){const t=new n.Sha256;t.update(e);return o.base64Encoder.convert(t.digestSync(),{urlSafe:!0}).replace(/=/g,"")}(i),r)}}},75995(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleOAuthSignOut=void 0;const n=r(42298),o=r(22961);t.handleOAuthSignOut=async(e,t,r,i)=>{const{isOAuthSignIn:a}=await t.loadOAuthSignIn(),s=await r.getOAuthMetadata();if(await(0,n.completeOAuthSignOut)(t),a||s?.oauthSignIn)return(0,o.oAuthSignOutRedirect)(e,!1,i)}},76011(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsafeStringify=void 0;const n=r(59746),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function i(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}t.unsafeStringify=i,t.default=function(e,t=0){const r=i(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}},76027(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateUtils=void 0,t.DateUtils={clockOffset:0,getDateWithClockOffset:()=>t.DateUtils.clockOffset?new Date((new Date).getTime()+t.DateUtils.clockOffset):new Date,getClockOffset:()=>t.DateUtils.clockOffset,getHeaderStringFromDate:(e=t.DateUtils.getDateWithClockOffset())=>e.toISOString().replace(/[:-]|\.\d{3}/g,""),getDateFromHeaderString(e){const[,t,r,n,o,i,a]=e.match(/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2}).+/);return new Date(Date.UTC(Number(t),Number(r)-1,Number(n),Number(o),Number(i),Number(a)))},isClockSkewed:e=>Math.abs(e.getTime()-t.DateUtils.getDateWithClockOffset().getTime())>=3e5,isClockSkewError(e){if(!e.response||!e.response.headers)return!1;const{headers:t}=e.response;return Boolean(["BadRequestException","InvalidSignatureException"].includes(t["x-amzn-errortype"])&&(t.date||t.Date))},setClockOffset(e){t.DateUtils.clockOffset=e}}},76035(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilKeyChanged=void 0;var n=r(22044);t.distinctUntilKeyChanged=function(e,t){return n.distinctUntilChanged(function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}},76075(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMapTo=void 0;var n=r(67478),o=r(10281);t.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),o.isFunction(t)?n.mergeMap(function(){return e},t,r):("number"==typeof t&&(r=t),n.mergeMap(function(){return e},r))}},76285(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchUserAttributes=void 0;const n=r(56547),o=r(15219);t.fetchUserAttributes=()=>(0,o.fetchUserAttributes)(n.Amplify)},76396(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateU=t.calculateS=t.calculateA=void 0;var n=r(36345);Object.defineProperty(t,"calculateA",{enumerable:!0,get:function(){return n.calculateA}});var o=r(96871);Object.defineProperty(t,"calculateS",{enumerable:!0,get:function(){return o.calculateS}});var i=r(61285);Object.defineProperty(t,"calculateU",{enumerable:!0,get:function(){return i.calculateU}})},76638(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomUserAgent=t.setCustomUserAgent=void 0;const r={};t.setCustomUserAgent=e=>{r[e.category]=e.apis.reduce((t,r)=>({...t,[r]:{refCount:t[r]?.refCount?t[r].refCount+1:1,additionalDetails:e.additionalDetails}}),r[e.category]??{});let t=!1;return()=>{t||(t=!0,e.apis.forEach(t=>{const n=r[e.category][t].refCount;n>1?r[e.category][t].refCount=n-1:(delete r[e.category][t],Object.keys(r[e.category]).length||delete r[e.category])}))}},t.getCustomUserAgent=(e,t)=>r[e]?.[t]?.additionalDetails},76763(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.urlSafeDecode=function(e){return(e.match(/.{2}/g)||[]).map(e=>String.fromCharCode(parseInt(e,16))).join("")}},76772(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refreshAuthTokensWithoutDedupe=t.refreshAuthTokens=void 0;const n=r(22651),o=r(62639),i=r(64166),a=r(43518),s=r(28228),c=r(35456),u=async({tokens:e,authConfig:t,username:r,clientMetadata:u})=>{(0,n.assertTokenProviderConfig)(t?.Cognito);const{userPoolId:l,userPoolClientId:d,userPoolEndpoint:p}=t.Cognito,f=(0,o.getRegionFromUserPoolId)(l);(0,i.assertAuthTokensWithRefreshToken)(e);const h=(0,c.createGetTokensFromRefreshTokenClient)({endpointResolver:(0,s.createCognitoUserPoolEndpointResolver)({endpointOverride:p})}),{AuthenticationResult:m}=await h({region:f},{ClientId:d,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:u}),g=(0,n.decodeJWT)(m?.AccessToken??""),y=m?.IdToken?(0,n.decodeJWT)(m.IdToken):void 0,{iat:v}=g.payload;if(!v)throw new a.AuthError({name:"iatNotFoundException",message:"iat not found in access token"});return{accessToken:g,idToken:y,clockDrift:1e3*v-(new Date).getTime(),refreshToken:m?.RefreshToken??e.refreshToken,username:r}};t.refreshAuthTokens=(0,n.deDupeAsyncFunction)(u),t.refreshAuthTokensWithoutDedupe=u},76803(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashFromData=void 0;const n=r(136),o=r(82639);t.getHashFromData=e=>{const t=new n.Sha256;t.update(e);const r=t.digestSync(),i=(0,o.getHexFromBytes)(r);return new Array(64-i.length).join("0")+i}},76808(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousSubject=t.Subject=void 0;var a=r(48051),s=r(69879),c=r(50839),u=r(54830),l=r(12688),d=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype.lift=function(e){var t=new p(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new c.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;l.errorContext(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=i(t.currentObservers),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;l.errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;l.errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?s.EMPTY_SUBSCRIPTION:(this.currentObservers=null,i.push(e),new s.Subscription(function(){t.currentObservers=null,u.arrRemove(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,o=t.isStopped;r?e.error(n):o&&e.complete()},t.prototype.asObservable=function(){var e=new a.Observable;return e.source=this,e},t.create=function(e,t){return new p(e,t)},t}(a.Observable);t.Subject=d;var p=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return o(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:s.EMPTY_SUBSCRIPTION},t}(d);t.AnonymousSubject=p},77113(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_DELAY_MS=void 0,t.MAX_DELAY_MS=3e5},77602(e,t,r){"use strict";function n(e){return Object.keys(e).reduce((t,r)=>(void 0!==e[r]&&(t[r]=e[r]),t),{})}r.d(t,{J:()=>n})},77828(e,t,r){"use strict";r.d(t,{l:()=>y});var n=r(10790),o=r(51609),i=r(66284),a=r(61617),s=r(99274),c=r(46100),u=r(2412),l=r(68177),d=r(21067),p=r(43748),f=r(10715),h=r(24096),m=r(82056);const g={withCheckIcon:!0,allowDeselect:!0,checkIconPosition:"left"},y=(0,u.P9)((e,t)=>{const r=(0,c.Y)("Select",g,e),{classNames:u,styles:y,unstyled:v,vars:b,dropdownOpened:E,defaultDropdownOpened:w,onDropdownClose:S,onDropdownOpen:A,onFocus:_,onBlur:P,onClick:C,onChange:I,data:x,value:O,defaultValue:k,selectFirstOptionOnChange:T,onOptionSubmit:N,comboboxProps:j,readOnly:R,disabled:M,filter:D,limit:U,withScrollArea:F,maxDropdownHeight:L,size:z,searchable:V,rightSection:H,checkIconPosition:$,withCheckIcon:W,withAlignedLabels:B,nothingFoundMessage:K,name:G,form:q,searchValue:Y,defaultSearchValue:J,onSearchChange:Q,allowDeselect:X,error:Z,rightSectionPointerEvents:ee,id:te,clearable:re,clearButtonProps:ne,hiddenInputProps:oe,renderOption:ie,onClear:ae,autoComplete:se,scrollAreaProps:ce,__defaultRightSection:ue,__clearSection:le,__clearable:de,chevronColor:pe,autoSelectOnBlur:fe,attributes:he,...me}=r,ge=(0,o.useMemo)(()=>(0,l.d)(x),[x]),ye=(0,o.useRef)({}),ve=(0,o.useMemo)(()=>(0,d.D)(ge),[ge]),be=(0,i.B)(te),[Ee,we,Se]=(0,a.Z)({value:O,defaultValue:k,finalValue:null,onChange:I}),Ae="string"==typeof Ee?Ee in ve?ve[Ee]:ye.current[Ee]:void 0,_e=function(e){const t=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{t.current=e},[e]),t.current}(Ae),[Pe,Ce,Ie]=(0,a.Z)({value:Y,defaultValue:J,finalValue:Ae?Ae.label:"",onChange:Q}),xe=(0,h.B)({opened:E,defaultOpened:w,onDropdownOpen:()=>{A?.(),xe.updateSelectedOptionIndex("active",{scrollIntoView:!0})},onDropdownClose:()=>{S?.(),setTimeout(xe.resetSelectedOption,0)}}),Oe=e=>{Ce(e),xe.resetSelectedOption()},{resolvedClassNames:ke,resolvedStyles:Te}=(0,s.Y)({props:r,styles:y,classNames:u});(0,o.useEffect)(()=>{T&&xe.selectFirstOption()},[T,Pe]),(0,o.useEffect)(()=>{null===O&&Oe(""),"string"!=typeof O||!Ae||_e?.value===Ae.value&&_e?.label===Ae.label||Oe(Ae.label)},[O,Ae]),(0,o.useEffect)(()=>{Se||Ie||Oe("string"==typeof Ee?Ee in ve?ve[Ee]?.label:ye.current[Ee]?.label||"":"")},[ve,Ee]),(0,o.useEffect)(()=>{Ee&&Ee in ve&&(ye.current[Ee]=ve[Ee])},[ve,Ee]);const Ne=(0,n.jsx)(p.G.ClearButton,{...ne,onClear:()=>{we(null,null),Oe(""),ae?.()}}),je=re&&!!Ee&&!M&&!R;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(p.G,{store:xe,__staticSelector:"Select",classNames:ke,styles:Te,unstyled:v,readOnly:R,size:z,attributes:he,keepMounted:fe,onOptionSubmit:e=>{N?.(e);const t=X&&ve[e].value===Ee?null:ve[e],r=t?t.value:null;r!==Ee&&we(r,t),!Se&&Oe("string"==typeof r&&t?.label||""),xe.closeDropdown()},...j,children:[(0,n.jsx)(p.G.Target,{targetType:V?"input":"button",autoComplete:se,children:(0,n.jsx)(m.O,{id:be,ref:t,__defaultRightSection:(0,n.jsx)(p.G.Chevron,{size:z,error:Z,unstyled:v,color:pe}),__clearSection:Ne,__clearable:je,rightSection:H,rightSectionPointerEvents:ee||"none",...me,size:z,__staticSelector:"Select",disabled:M,readOnly:R||!V,value:Pe,onChange:e=>{Oe(e.currentTarget.value),xe.openDropdown(),T&&xe.selectFirstOption()},onFocus:e=>{V&&xe.openDropdown(),_?.(e)},onBlur:e=>{fe&&xe.clickSelectedOption(),V&&xe.closeDropdown();const t="string"==typeof Ee&&(Ee in ve?ve[Ee]:ye.current[Ee]);Oe(t&&t.label||""),P?.(e)},onClick:e=>{V?xe.openDropdown():xe.toggleDropdown(),C?.(e)},classNames:ke,styles:Te,unstyled:v,pointer:!V,error:Z,attributes:he})}),(0,n.jsx)(f.i,{data:ge,hidden:R||M,filter:D,search:Pe,limit:U,hiddenWhenEmpty:!K,withScrollArea:F,maxDropdownHeight:L,filterOptions:!!V&&Ae?.label!==Pe,value:Ee,checkIconPosition:$,withCheckIcon:W,withAlignedLabels:B,nothingFoundMessage:K,unstyled:v,labelId:me.label?`${be}-label`:void 0,"aria-label":me.label?void 0:me["aria-label"],renderOption:ie,scrollAreaProps:ce})]}),(0,n.jsx)(p.G.HiddenInput,{value:Ee,name:G,form:q,disabled:M,...oe})]})});y.classes={...m.O.classes,...p.G.classes},y.displayName="@mantine/core/Select"},77844(e,t,r){"use strict";r.d(t,{P:()=>n});const n=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)}},77876(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var n=r(65212),o=r(17214),i=r(5717),a=r(19724);t.distinct=function(e,t){return n.operate(function(r,n){var s=new Set;r.subscribe(o.createOperatorSubscriber(n,function(t){var r=e?e(t):t;s.has(r)||(s.add(r),n.next(t))})),t&&a.innerFrom(t).subscribe(o.createOperatorSubscriber(n,function(){return s.clear()},i.noop))})}},78040(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleCustomChallenge=O,t.handleMFASetupChallenge=k,t.handleSelectMFATypeChallenge=T,t.handleCompleteNewPasswordChallenge=N,t.handleUserPasswordAuthFlow=async function(e,t,r,n,i){const{userPoolClientId:a,userPoolId:s,userPoolEndpoint:c}=n,u={USERNAME:e,PASSWORD:t},l=await i.getDeviceMetadata(e);l&&l.deviceKey&&(u.DEVICE_KEY=l.deviceKey);const d={AuthFlow:"USER_PASSWORD_AUTH",AuthParameters:u,ClientMetadata:r,ClientId:a,UserContextData:(0,A.getUserContextData)({username:e,userPoolId:s,userPoolClientId:a})},g=(0,f.createInitiateAuthClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:c})}),y=await g({region:(0,m.getRegionFromUserPoolId)(s),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.SignIn)},d),v=y.ChallengeParameters?.USERNAME??y.ChallengeParameters?.USER_ID_FOR_SRP??e;return(0,I.setActiveSignInUsername)(v),"DEVICE_SRP_AUTH"===y.ChallengeName?(0,P.handleDeviceSRPAuth)({username:v,config:n,clientMetadata:r,session:y.Session,tokenOrchestrator:i}):y},t.handleUserSRPAuthFlow=async function(e,t,r,n,o){return(0,y.handlePasswordSRP)({username:e,password:t,clientMetadata:r,config:n,tokenOrchestrator:o,authFlow:"USER_SRP_AUTH"})},t.handleCustomAuthFlowWithoutSRP=async function(e,t,r,n){const{userPoolClientId:i,userPoolId:a,userPoolEndpoint:s}=r,c={USERNAME:e},u=await n.getDeviceMetadata(e);u&&u.deviceKey&&(c.DEVICE_KEY=u.deviceKey);const l={AuthFlow:"CUSTOM_AUTH",AuthParameters:c,ClientMetadata:t,ClientId:i,UserContextData:(0,A.getUserContextData)({username:e,userPoolId:a,userPoolClientId:i})},d=(0,f.createInitiateAuthClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:s})}),g=await d({region:(0,m.getRegionFromUserPoolId)(a),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.SignIn)},l),y=g.ChallengeParameters?.USERNAME??e;return(0,I.setActiveSignInUsername)(y),"DEVICE_SRP_AUTH"===g.ChallengeName?(0,P.handleDeviceSRPAuth)({username:y,config:r,clientMetadata:t,session:g.Session,tokenOrchestrator:n}):g},t.handleCustomSRPAuthFlow=async function(e,t,r,n,i){(0,o.assertTokenProviderConfig)(n);const{userPoolId:a,userPoolClientId:s,userPoolEndpoint:c}=n,u=a?.split("_")[1]||"",l=await(0,S.getAuthenticationHelper)(u),d={AuthFlow:"CUSTOM_AUTH",AuthParameters:{USERNAME:e,SRP_A:l.A.toString(16),CHALLENGE_NAME:"SRP_A"},ClientMetadata:r,ClientId:s,UserContextData:(0,A.getUserContextData)({username:e,userPoolId:a,userPoolClientId:s})},g=(0,f.createInitiateAuthClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:c})}),{ChallengeParameters:y,Session:v}=await g({region:(0,m.getRegionFromUserPoolId)(a),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.SignIn)},d),b=y?.USERNAME??e;return(0,I.setActiveSignInUsername)(b),(0,C.retryOnResourceNotFoundException)(_.handlePasswordVerifierChallenge,[t,y,r,v,l,n,i],b,i)},t.getSignInResult=async function e(t){const{challengeName:r,challengeParameters:a,availableChallenges:c}=t,u=n.Amplify.getConfig().Auth?.Cognito;switch((0,o.assertTokenProviderConfig)(u),r){case"CUSTOM_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_CUSTOM_CHALLENGE",additionalInfo:a}};case"MFA_SETUP":{const{signInSession:e,username:t}=w.signInStore.getState(),r=F(L(a.MFAS_CAN_SETUP))||[],n=z(r),o=n.includes("TOTP"),c=n.includes("EMAIL");if(o&&c)return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION",allowedMFATypes:n}};if(c)return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_EMAIL_SETUP"}};if(o){const r=(0,f.createAssociateSoftwareTokenClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:u.userPoolEndpoint})}),{Session:n,SecretCode:o}=await r({region:(0,m.getRegionFromUserPoolId)(u.userPoolId)},{Session:e});return w.signInStore.dispatch({type:"SET_SIGN_IN_SESSION",value:n}),{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_TOTP_SETUP",totpSetupDetails:j(o,t)}}}throw new i.AuthError({name:s.AuthErrorCodes.SignInException,message:`Cannot initiate MFA setup from available types: ${r}`})}case"NEW_PASSWORD_REQUIRED":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",missingAttributes:R(a.requiredAttributes)}};case"SELECT_MFA_TYPE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SELECTION",allowedMFATypes:F(L(a.MFAS_CAN_CHOOSE))}};case"SMS_OTP":case"SMS_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_SMS_CODE",codeDeliveryDetails:{deliveryMedium:a.CODE_DELIVERY_DELIVERY_MEDIUM,destination:a.CODE_DELIVERY_DESTINATION}}};case"SOFTWARE_TOKEN_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_TOTP_CODE"}};case"EMAIL_OTP":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_EMAIL_CODE",codeDeliveryDetails:{deliveryMedium:a.CODE_DELIVERY_DELIVERY_MEDIUM,destination:a.CODE_DELIVERY_DESTINATION}}};case"WEB_AUTHN":{const t=await(0,g.handleWebAuthnSignInResult)(a);return function(e){return"isSignedIn"in e&&"nextStep"in e}(t)?t:e(t)}case"PASSWORD":case"PASSWORD_SRP":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_PASSWORD"}};case"SELECT_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_FIRST_FACTOR_SELECTION",availableChallenges:c}}}throw new i.AuthError({name:s.AuthErrorCodes.SignInException,message:`An error occurred during the sign in process. ${r} challengeName returned by the underlying service was not addressed.`})},t.getTOTPSetupDetails=j,t.getSignInResultFromError=function(e){return e===a.InitiateAuthException.PasswordResetRequiredException?{isSignedIn:!1,nextStep:{signInStep:"RESET_PASSWORD"}}:e===a.InitiateAuthException.UserNotConfirmedException?{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_UP"}}:void 0},t.parseAttributes=R,t.createAttributes=M,t.handleChallengeName=async function(e,t,r,n,o,a,c,u){const l=u?.userAttributes,d=u?.friendlyDeviceName;switch(t){case"WEB_AUTHN":case"SELECT_CHALLENGE":return"PASSWORD_SRP"===n||"PASSWORD"===n?{ChallengeName:n,Session:r,$metadata:{}}:(0,v.initiateSelectedChallenge)({username:e,session:r,selectedChallenge:n,config:o,clientMetadata:c});case"SELECT_MFA_TYPE":return T({challengeResponse:n,clientMetadata:c,session:r,username:e,config:o});case"MFA_SETUP":return k({challengeResponse:n,clientMetadata:c,session:r,username:e,deviceName:d,config:o});case"NEW_PASSWORD_REQUIRED":return N({challengeResponse:n,clientMetadata:c,session:r,username:e,requiredAttributes:l,config:o});case"CUSTOM_CHALLENGE":return(0,C.retryOnResourceNotFoundException)(O,[{challengeResponse:n,clientMetadata:c,session:r,username:e,config:o,tokenOrchestrator:a}],e,a);case"SMS_MFA":case"SOFTWARE_TOKEN_MFA":case"SMS_OTP":case"EMAIL_OTP":return V({challengeName:t,challengeResponse:n,clientMetadata:c,session:r,username:e,config:o,tokenOrchestrator:a});case"PASSWORD":return(0,b.handleSelectChallengeWithPassword)(e,n,c,o,r);case"PASSWORD_SRP":return(0,E.handleSelectChallengeWithPasswordSRP)(e,n,c,o,r,a)}throw new i.AuthError({name:s.AuthErrorCodes.SignInException,message:`An error occurred during the sign in process.\n\t\t${t} challengeName returned by the underlying service was not addressed.`})},t.mapMfaType=D,t.getMFAType=U,t.getMFATypes=F,t.parseMFATypes=L,t.getAllowedMfaSetupTypes=z,t.assertUserNotAuthenticated=async function(){let e;try{e=await(0,d.getCurrentUser)()}catch(e){}if(e&&e.userId&&e.username)throw new i.AuthError({name:l.USER_ALREADY_AUTHENTICATED_EXCEPTION,message:"There is already a signed in user.",recoverySuggestion:"Call signOut before calling signIn again."})},t.getActiveSignInUsername=function(e){return w.signInStore.getState().username??e},t.handleMFAChallenge=V;const n=r(56547),o=r(22651),i=r(43518),a=r(11588),s=r(70928),c=r(49129),u=r(58765),l=r(34143),d=r(45341),p=r(17238),f=r(35456),h=r(28228),m=r(62639),g=r(9609),y=r(82366),v=r(47171),b=r(92590),E=r(82143),w=r(33826),S=r(80699),A=r(99369),_=r(73857),P=r(35138),C=r(98090),I=r(25279),x="userAttributes.";async function O({challengeResponse:e,clientMetadata:t,session:r,username:n,config:i,tokenOrchestrator:a}){const{userPoolId:s,userPoolClientId:c,userPoolEndpoint:u}=i,l={USERNAME:n,ANSWER:e},d=await(a?.getDeviceMetadata(n));d&&d.deviceKey&&(l.DEVICE_KEY=d.deviceKey);const g={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:l,Session:r,ClientMetadata:t,ClientId:c,UserContextData:(0,A.getUserContextData)({username:n,userPoolId:s,userPoolClientId:c})},y=(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:u})}),v=await y({region:(0,m.getRegionFromUserPoolId)(s),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},g);return"DEVICE_SRP_AUTH"===v.ChallengeName?(0,P.handleDeviceSRPAuth)({username:n,config:i,clientMetadata:t,session:v.Session,tokenOrchestrator:a}):v}async function k({challengeResponse:e,username:t,clientMetadata:r,session:n,deviceName:a,config:c}){const{userPoolId:u,userPoolClientId:l,userPoolEndpoint:d}=c;if("EMAIL"===e)return{ChallengeName:"MFA_SETUP",Session:n,ChallengeParameters:{MFAS_CAN_SETUP:'["EMAIL_OTP"]'},$metadata:{}};if("TOTP"===e)return{ChallengeName:"MFA_SETUP",Session:n,ChallengeParameters:{MFAS_CAN_SETUP:'["SOFTWARE_TOKEN_MFA"]'},$metadata:{}};const g={USERNAME:t};if(/^\d+$/.test(e)){const t=(0,f.createVerifySoftwareTokenClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:d})}),{Session:i}=await t({region:(0,m.getRegionFromUserPoolId)(u),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},{UserCode:e,Session:n,FriendlyDeviceName:a});w.signInStore.dispatch({type:"SET_SIGN_IN_SESSION",value:i});const s={ChallengeName:"MFA_SETUP",ChallengeResponses:g,Session:i,ClientMetadata:r,ClientId:l};return(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:d})})({region:(0,m.getRegionFromUserPoolId)(u),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},s)}if(e.includes("@")){g.EMAIL=e;const t={ChallengeName:"MFA_SETUP",ChallengeResponses:g,Session:n,ClientMetadata:r,ClientId:l};return(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:d})})({region:(0,m.getRegionFromUserPoolId)(u),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},t)}throw new i.AuthError({name:s.AuthErrorCodes.SignInException,message:`Cannot proceed with MFA setup using challengeResponse: ${e}`,recoverySuggestion:'Try passing "EMAIL", "TOTP", a valid email, or OTP code as the challengeResponse.'})}async function T({challengeResponse:e,username:t,clientMetadata:r,session:n,config:i}){const{userPoolId:a,userPoolClientId:s,userPoolEndpoint:l}=i;(0,u.assertValidationError)("TOTP"===e||"SMS"===e||"EMAIL"===e,c.AuthValidationErrorCode.IncorrectMFAMethod);const d={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:{USERNAME:t,ANSWER:D(e)},Session:n,ClientMetadata:r,ClientId:s,UserContextData:(0,A.getUserContextData)({username:t,userPoolId:a,userPoolClientId:s})};return(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:l})})({region:(0,m.getRegionFromUserPoolId)(a),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},d)}async function N({challengeResponse:e,clientMetadata:t,session:r,username:n,requiredAttributes:i,config:a}){const{userPoolId:s,userPoolClientId:c,userPoolEndpoint:u}=a,l={ChallengeName:"NEW_PASSWORD_REQUIRED",ChallengeResponses:{...M(i),NEW_PASSWORD:e,USERNAME:n},ClientMetadata:t,Session:r,ClientId:c,UserContextData:(0,A.getUserContextData)({username:n,userPoolId:s,userPoolClientId:c})};return(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:u})})({region:(0,m.getRegionFromUserPoolId)(s),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},l)}function j(e,t){return{sharedSecret:e,getSetupUri:(r,n)=>{const i=`otpauth://totp/${r}:${n??t}?secret=${e}&issuer=${r}`;return new o.AmplifyUrl(i)}}}function R(e){return e?JSON.parse(e).map(e=>e.includes(x)?e.replace(x,""):e):[]}function M(e){if(!e)return{};const t={};return Object.entries(e).forEach(([e,r])=>{r&&(t[`${x}${e}`]=r)}),t}function D(e){let t="SMS_MFA";return"TOTP"===e&&(t="SOFTWARE_TOKEN_MFA"),"EMAIL"===e&&(t="EMAIL_OTP"),t}function U(e){return"SMS_MFA"===e?"SMS":"SOFTWARE_TOKEN_MFA"===e?"TOTP":"EMAIL_OTP"===e?"EMAIL":void 0}function F(e){if(e)return e.map(U).filter(Boolean)}function L(e){return e?JSON.parse(e):[]}function z(e){return e.filter(e=>"EMAIL"===e||"TOTP"===e)}async function V({challengeName:e,challengeResponse:t,clientMetadata:r,session:n,username:i,config:a,tokenOrchestrator:s}){const{userPoolId:c,userPoolClientId:u,userPoolEndpoint:l}=a,d={USERNAME:i};"EMAIL_OTP"===e&&(d.EMAIL_OTP_CODE=t),"SMS_MFA"===e&&(d.SMS_MFA_CODE=t),"SMS_OTP"===e&&(d.SMS_OTP_CODE=t),"SOFTWARE_TOKEN_MFA"===e&&(d.SOFTWARE_TOKEN_MFA_CODE=t);const g=await(s?.getDeviceMetadata(i));g&&g.deviceKey&&(d.DEVICE_KEY=g.deviceKey);const y={ChallengeName:e,ChallengeResponses:d,Session:n,ClientMetadata:r,ClientId:u,UserContextData:(0,A.getUserContextData)({username:i,userPoolId:c,userPoolClientId:u})},v=(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:l})}),b=await v({region:(0,m.getRegionFromUserPoolId)(c),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},y);return"DEVICE_SRP_AUTH"===b.ChallengeName?(0,P.handleDeviceSRPAuth)({username:i,config:a,clientMetadata:r,session:b.Session,tokenOrchestrator:s}):b}},78051(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapAction=void 0;var i=r(64772),a=r(16002),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=a.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){var o;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i=t.actions;null!=r&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==r&&(a.immediateProvider.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(i.AsyncAction);t.AsapAction=s},78072(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.window=void 0;var n=r(76808),o=r(65212),i=r(17214),a=r(5717),s=r(19724);t.window=function(e){return o.operate(function(t,r){var o=new n.Subject;r.next(o.asObservable());var c=function(e){o.error(e),r.error(e)};return t.subscribe(i.createOperatorSubscriber(r,function(e){return null==o?void 0:o.next(e)},function(){o.complete(),r.complete()},c)),s.innerFrom(e).subscribe(i.createOperatorSubscriber(r,function(){o.complete(),r.next(o=new n.Subject)},a.noop,c)),function(){null==o||o.unsubscribe(),o=null}})}},78121(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClientInfo=void 0;var n=r(82558);Object.defineProperty(t,"getClientInfo",{enumerable:!0,get:function(){return n.getClientInfo}})},78263(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=void 0;var n=r(10281);t.isAsyncIterable=function(e){return Symbol.asyncIterator&&n.isFunction(null==e?void 0:e[Symbol.asyncIterator])}},78290(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCredentialScope=void 0;const n=r(15130);t.getCredentialScope=(e,t,r)=>`${e}/${t}/${r}/${n.KEY_TYPE_IDENTIFIER}`},78335(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidationError=function(e,t){const{message:r,recoverySuggestion:i}=o.validationErrorMap[t];if(!e)throw new n.GraphQLApiError({name:t,message:r,recoverySuggestion:i})};const n=r(69721),o=r(19543)},78519(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateClient=t.isCancelError=t.cancel=t.graphql=t.InternalGraphQLAPIClass=t.InternalGraphQLAPI=void 0;var n=r(63169);Object.defineProperty(t,"InternalGraphQLAPI",{enumerable:!0,get:function(){return n.InternalGraphQLAPI}}),Object.defineProperty(t,"InternalGraphQLAPIClass",{enumerable:!0,get:function(){return n.InternalGraphQLAPIClass}});var o=r(89015);Object.defineProperty(t,"graphql",{enumerable:!0,get:function(){return o.graphql}}),Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return o.cancel}}),Object.defineProperty(t,"isCancelError",{enumerable:!0,get:function(){return o.isCancelError}});var i=r(16211);Object.defineProperty(t,"generateClient",{enumerable:!0,get:function(){return i.generateClient}})},78531(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanInternals=void 0;var n=r(17214);t.scanInternals=function(e,t,r,o,i){return function(a,s){var c=r,u=t,l=0;a.subscribe(n.createOperatorSubscriber(s,function(t){var r=l++;u=c?e(u,t,r):(c=!0,t),o&&s.next(u)},i&&function(){c&&s.next(u),s.complete()}))}}},78744(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClientSerializer=void 0;var n=r(96029);Object.defineProperty(t,"createClientSerializer",{enumerable:!0,get:function(){return n.createClientSerializer}})},79048(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithCustomAuth=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{username:r,password:m,options:g}=e,y={loginId:r,authFlowType:"CUSTOM_WITHOUT_SRP"},v=g?.clientMetadata;(0,a.assertValidationError)(!!r,i.AuthValidationErrorCode.EmptySignInUsername),(0,a.assertValidationError)(!m,i.AuthValidationErrorCode.CustomAuthSignInPassword);try{const{ChallengeName:e,ChallengeParameters:n,AuthenticationResult:o,Session:i}=await(0,f.retryOnResourceNotFoundException)(c.handleCustomAuthFlowWithoutSRP,[r,v,t,d.tokenOrchestrator],r,d.tokenOrchestrator),a=(0,c.getActiveSignInUsername)(r);return(0,u.setActiveSignInState)({signInSession:i,username:a,challengeName:e,signInDetails:y}),o?(await(0,l.cacheCognitoTokens)({username:a,...o,NewDeviceMetadata:await(0,h.getNewDeviceMetadata)({userPoolId:t.userPoolId,userPoolEndpoint:t.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:y}),(0,u.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:e,challengeParameters:n})}catch(e){(0,u.resetActiveSignInState)(),(0,s.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(73031),c=r(78040),u=r(27861),l=r(55794),d=r(4870),p=r(84539),f=r(98090),h=r(66542)},79097(e,t,r){"use strict";r.d(t,{g:()=>o,o:()=>n});const n=URL,o=URLSearchParams},79169(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteUserClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createDeleteUserClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("DeleteUser"),(0,i.createEmptyResponseDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},79187(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSigningKey=void 0;const n=r(15130),o=r(61176);t.getSigningKey=(e,t,r,i)=>{const a=`${n.SIGNATURE_IDENTIFIER}${e}`,s=(0,o.getHashedData)(a,t),c=(0,o.getHashedData)(s,r),u=(0,o.getHashedData)(c,i);return(0,o.getHashedData)(u,n.KEY_TYPE_IDENTIFIER)}},79224(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refCount=void 0;var n=r(65212),o=r(17214);t.refCount=function(){return n.operate(function(e,t){var r=null;e._refCount++;var n=o.createOperatorSubscriber(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,o=r;r=null,!n||o&&n!==o||n.unsubscribe(),t.unsubscribe()}});e.subscribe(n),n.closed||(r=e.connect())})}},79364(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.interval=t.iif=t.generate=t.fromEventPattern=t.fromEvent=t.from=t.forkJoin=t.empty=t.defer=t.connectable=t.concat=t.combineLatest=t.bindNodeCallback=t.bindCallback=t.UnsubscriptionError=t.TimeoutError=t.SequenceError=t.ObjectUnsubscribedError=t.NotFoundError=t.EmptyError=t.ArgumentOutOfRangeError=t.firstValueFrom=t.lastValueFrom=t.isObservable=t.identity=t.noop=t.pipe=t.NotificationKind=t.Notification=t.Subscriber=t.Subscription=t.Scheduler=t.VirtualAction=t.VirtualTimeScheduler=t.animationFrameScheduler=t.animationFrame=t.queueScheduler=t.queue=t.asyncScheduler=t.async=t.asapScheduler=t.asap=t.AsyncSubject=t.ReplaySubject=t.BehaviorSubject=t.Subject=t.animationFrames=t.observable=t.ConnectableObservable=t.Observable=void 0,t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.combineLatestWith=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=t.config=t.NEVER=t.EMPTY=t.scheduled=t.zip=t.using=t.timer=t.throwError=t.range=t.race=t.partition=t.pairs=t.onErrorResumeNext=t.of=t.never=t.merge=void 0,t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.pairwise=t.onErrorResumeNextWith=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=t.mergeAll=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=void 0,t.zipWith=t.zipAll=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=void 0;var i=r(48051);Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return i.Observable}});var a=r(14359);Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return a.ConnectableObservable}});var s=r(2884);Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return s.observable}});var c=r(21875);Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return c.animationFrames}});var u=r(76808);Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return u.Subject}});var l=r(97314);Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return l.BehaviorSubject}});var d=r(10381);Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return d.ReplaySubject}});var p=r(5130);Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return p.AsyncSubject}});var f=r(22105);Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return f.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return f.asapScheduler}});var h=r(62326);Object.defineProperty(t,"async",{enumerable:!0,get:function(){return h.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return h.asyncScheduler}});var m=r(99245);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return m.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return m.queueScheduler}});var g=r(15887);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return g.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return g.animationFrameScheduler}});var y=r(50875);Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return y.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return y.VirtualAction}});var v=r(65881);Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return v.Scheduler}});var b=r(69879);Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return b.Subscription}});var E=r(2708);Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return E.Subscriber}});var w=r(31245);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return w.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return w.NotificationKind}});var S=r(99517);Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return S.pipe}});var A=r(5717);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return A.noop}});var _=r(87699);Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return _.identity}});var P=r(62560);Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return P.isObservable}});var C=r(85761);Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return C.lastValueFrom}});var I=r(40841);Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return I.firstValueFrom}});var x=r(7024);Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return x.ArgumentOutOfRangeError}});var O=r(59328);Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return O.EmptyError}});var k=r(23506);Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return k.NotFoundError}});var T=r(50839);Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return T.ObjectUnsubscribedError}});var N=r(94708);Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return N.SequenceError}});var j=r(81713);Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return j.TimeoutError}});var R=r(69517);Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return R.UnsubscriptionError}});var M=r(79750);Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return M.bindCallback}});var D=r(21946);Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return D.bindNodeCallback}});var U=r(88246);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return U.combineLatest}});var F=r(39546);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return F.concat}});var L=r(98590);Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return L.connectable}});var z=r(35884);Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return z.defer}});var V=r(44885);Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return V.empty}});var H=r(75266);Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return H.forkJoin}});var $=r(47058);Object.defineProperty(t,"from",{enumerable:!0,get:function(){return $.from}});var W=r(88616);Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return W.fromEvent}});var B=r(26920);Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return B.fromEventPattern}});var K=r(87281);Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return K.generate}});var G=r(99380);Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return G.iif}});var q=r(62275);Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return q.interval}});var Y=r(95936);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return Y.merge}});var J=r(11934);Object.defineProperty(t,"never",{enumerable:!0,get:function(){return J.never}});var Q=r(61587);Object.defineProperty(t,"of",{enumerable:!0,get:function(){return Q.of}});var X=r(1903);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return X.onErrorResumeNext}});var Z=r(88269);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return Z.pairs}});var ee=r(57406);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ee.partition}});var te=r(89795);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return te.race}});var re=r(74385);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return re.range}});var ne=r(26680);Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return ne.throwError}});var oe=r(5825);Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return oe.timer}});var ie=r(35904);Object.defineProperty(t,"using",{enumerable:!0,get:function(){return ie.using}});var ae=r(11415);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return ae.zip}});var se=r(30131);Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return se.scheduled}});var ce=r(44885);Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return ce.EMPTY}});var ue=r(11934);Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return ue.NEVER}}),o(r(96153),t);var le=r(93728);Object.defineProperty(t,"config",{enumerable:!0,get:function(){return le.config}});var de=r(88877);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return de.audit}});var pe=r(51608);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return pe.auditTime}});var fe=r(10706);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return fe.buffer}});var he=r(9287);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return he.bufferCount}});var me=r(41719);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return me.bufferTime}});var ge=r(61778);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return ge.bufferToggle}});var ye=r(56606);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return ye.bufferWhen}});var ve=r(72719);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return ve.catchError}});var be=r(89244);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return be.combineAll}});var Ee=r(67933);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return Ee.combineLatestAll}});var we=r(82044);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return we.combineLatestWith}});var Se=r(70201);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return Se.concatAll}});var Ae=r(29512);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return Ae.concatMap}});var _e=r(19913);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return _e.concatMapTo}});var Pe=r(98032);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return Pe.concatWith}});var Ce=r(17812);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return Ce.connect}});var Ie=r(88589);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return Ie.count}});var xe=r(3143);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return xe.debounce}});var Oe=r(21762);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Oe.debounceTime}});var ke=r(58799);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return ke.defaultIfEmpty}});var Te=r(5797);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return Te.delay}});var Ne=r(72885);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Ne.delayWhen}});var je=r(19818);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return je.dematerialize}});var Re=r(77876);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return Re.distinct}});var Me=r(22044);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return Me.distinctUntilChanged}});var De=r(76035);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return De.distinctUntilKeyChanged}});var Ue=r(61279);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return Ue.elementAt}});var Fe=r(66791);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return Fe.endWith}});var Le=r(21361);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return Le.every}});var ze=r(11464);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return ze.exhaust}});var Ve=r(17977);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return Ve.exhaustAll}});var He=r(86632);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return He.exhaustMap}});var $e=r(75544);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return $e.expand}});var We=r(85934);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return We.filter}});var Be=r(17802);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return Be.finalize}});var Ke=r(98183);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return Ke.find}});var Ge=r(29035);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return Ge.findIndex}});var qe=r(19980);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return qe.first}});var Ye=r(5128);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Ye.groupBy}});var Je=r(2959);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Je.ignoreElements}});var Qe=r(69915);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Qe.isEmpty}});var Xe=r(32568);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Xe.last}});var Ze=r(26872);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Ze.map}});var et=r(13337);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return et.mapTo}});var tt=r(75019);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return tt.materialize}});var rt=r(50096);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return rt.max}});var nt=r(68087);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return nt.mergeAll}});var ot=r(74613);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return ot.flatMap}});var it=r(67478);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return it.mergeMap}});var at=r(76075);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return at.mergeMapTo}});var st=r(16707);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return st.mergeScan}});var ct=r(79694);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return ct.mergeWith}});var ut=r(80142);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return ut.min}});var lt=r(18464);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return lt.multicast}});var dt=r(32071);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return dt.observeOn}});var pt=r(95513);Object.defineProperty(t,"onErrorResumeNextWith",{enumerable:!0,get:function(){return pt.onErrorResumeNextWith}});var ft=r(26744);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return ft.pairwise}});var ht=r(66355);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return ht.pluck}});var mt=r(53197);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return mt.publish}});var gt=r(82955);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return gt.publishBehavior}});var yt=r(26569);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return yt.publishLast}});var vt=r(68710);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return vt.publishReplay}});var bt=r(6677);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return bt.raceWith}});var Et=r(92070);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return Et.reduce}});var wt=r(56131);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return wt.repeat}});var St=r(82139);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return St.repeatWhen}});var At=r(3352);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return At.retry}});var _t=r(73956);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return _t.retryWhen}});var Pt=r(79224);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Pt.refCount}});var Ct=r(43434);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Ct.sample}});var It=r(44143);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return It.sampleTime}});var xt=r(35565);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return xt.scan}});var Ot=r(73929);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Ot.sequenceEqual}});var kt=r(93405);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return kt.share}});var Tt=r(17782);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Tt.shareReplay}});var Nt=r(55440);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Nt.single}});var jt=r(23079);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return jt.skip}});var Rt=r(92359);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Rt.skipLast}});var Mt=r(97783);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Mt.skipUntil}});var Dt=r(65774);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Dt.skipWhile}});var Ut=r(99054);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Ut.startWith}});var Ft=r(5455);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return Ft.subscribeOn}});var Lt=r(16201);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return Lt.switchAll}});var zt=r(90680);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return zt.switchMap}});var Vt=r(761);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return Vt.switchMapTo}});var Ht=r(48461);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return Ht.switchScan}});var $t=r(54383);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return $t.take}});var Wt=r(65279);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Wt.takeLast}});var Bt=r(66911);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return Bt.takeUntil}});var Kt=r(60598);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return Kt.takeWhile}});var Gt=r(15019);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return Gt.tap}});var qt=r(44880);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return qt.throttle}});var Yt=r(7245);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return Yt.throttleTime}});var Jt=r(30632);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return Jt.throwIfEmpty}});var Qt=r(32508);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Qt.timeInterval}});var Xt=r(81713);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Xt.timeout}});var Zt=r(50597);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Zt.timeoutWith}});var er=r(53866);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return er.timestamp}});var tr=r(73484);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return tr.toArray}});var rr=r(78072);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return rr.window}});var nr=r(62893);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return nr.windowCount}});var or=r(90037);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return or.windowTime}});var ir=r(28996);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return ir.windowToggle}});var ar=r(65156);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return ar.windowWhen}});var sr=r(66975);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return sr.withLatestFrom}});var cr=r(5362);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return cr.zipAll}});var ur=r(36977);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return ur.zipWith}})},79404(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReachabilityMonitor=void 0;const n=r(22651);t.ReachabilityMonitor=()=>(new n.Reachability).networkMonitor()},79694(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeWith=void 0;var i=r(9330);t.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.merge.apply(void 0,o([],n(e)))}},79750(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallback=void 0;var n=r(17474);t.bindCallback=function(e,t,r){return n.bindCallbackInternals(!1,e,t,r)}},80056(e,t,r){"use strict";r.r(t),r.d(t,{fromHex:()=>i,toHex:()=>a});const n={},o={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),n[e]=t,o[t]=e}function i(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const n=e.slice(r,r+2).toLowerCase();if(!(n in o))throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`);t[r/2]=o[n]}return t}function a(e){let t="";for(let r=0;r<e.byteLength;r++)t+=n[e[r]];return t}},80142(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.min=void 0;var n=r(92070),o=r(10281);t.min=function(e){return n.reduce(o.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})}},80227(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oAuthStore=void 0;const n=r(56547),o=r(21636);t.oAuthStore=new o.DefaultOAuthStore(n.defaultStorage)},80355(e,t,r){"use strict";r.d(t,{J:()=>g});var n=r(10790),o=r(88149),i=r(51609),a=r(56324),s=r(59396),c=r(46100),u=r(52837),l=r(18639),d=r(46076);const p=(0,i.forwardRef)(({size:e="var(--cb-icon-size, 70%)",style:t,...r},o)=>(0,n.jsx)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t,width:e,height:e},ref:o,...r,children:(0,n.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));p.displayName="@mantine/core/CloseIcon";var f={root:"m_86a44da5","root--subtle":"m_220c80f2"};const h={variant:"subtle"},m=(0,s.V)((e,{size:t,radius:r,iconSize:n})=>({root:{"--cb-size":(0,a.YC)(t,"cb-size"),"--cb-radius":void 0===r?void 0:(0,a.nJ)(r),"--cb-icon-size":(0,o.D)(n)}})),g=(0,l.v)((e,t)=>{const r=(0,c.Y)("CloseButton",h,e),{iconSize:o,children:i,vars:a,radius:s,className:l,classNames:g,style:y,styles:v,unstyled:b,"data-disabled":E,disabled:w,variant:S,icon:A,mod:_,attributes:P,__staticSelector:C,...I}=r,x=(0,u.I)({name:C||"CloseButton",props:r,className:l,style:y,classes:f,classNames:g,styles:v,unstyled:b,attributes:P,vars:a,varsResolver:m});return(0,n.jsxs)(d.N,{ref:t,...I,unstyled:b,variant:S,disabled:w,mod:[{disabled:w||E},_],...x("root",{variant:S,active:!w&&!E}),children:[A||(0,n.jsx)(p,{}),i]})});g.classes=f,g.displayName="@mantine/core/CloseButton"},80369(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cryptoSecureRandomInt=function(){return(0,n.getCrypto)().getRandomValues(new Uint32Array(1))[0]};const n=r(58506)},80494(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isClockSkewed=void 0;const n=r(82322);t.isClockSkewed=(e,t)=>Math.abs((0,n.getSkewCorrectedDate)(t).getTime()-e)>=3e5},80629(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteropObservable=void 0;var n=r(2884),o=r(10281);t.isInteropObservable=function(e){return o.isFunction(e[n.observable])}},80684(e,t,r){"use strict";function n(e,t){return"number"==typeof e.primaryShade?e.primaryShade:"dark"===t?e.primaryShade.dark:e.primaryShade.light}r.d(t,{g:()=>n})},80694(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalQueryString=void 0,t.getCanonicalQueryString=e=>Array.from(e).sort(([e,t],[r,n])=>e===r?t<n?-1:1:e<r?-1:1).map(([e,t])=>`${r(e)}=${r(t)}`).join("&");const r=e=>encodeURIComponent(e).replace(/[!'()*]/g,n),n=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`},80699(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSignatureString=t.getNowString=t.getBytesFromHex=t.getAuthenticationHelper=void 0;var n=r(25343);Object.defineProperty(t,"getAuthenticationHelper",{enumerable:!0,get:function(){return n.getAuthenticationHelper}});var o=r(95179);Object.defineProperty(t,"getBytesFromHex",{enumerable:!0,get:function(){return o.getBytesFromHex}});var i=r(74214);Object.defineProperty(t,"getNowString",{enumerable:!0,get:function(){return i.getNowString}});var a=r(58372);Object.defineProperty(t,"getSignatureString",{enumerable:!0,get:function(){return a.getSignatureString}})},80719(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinAllInternals=void 0;var n=r(87699),o=r(13916),i=r(99517),a=r(67478),s=r(73484);t.joinAllInternals=function(e,t){return i.pipe(s.toArray(),a.mergeMap(function(t){return e(t)}),t?o.mapOneOrManyArgs(t):n.identity)}},81318(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18n=void 0;const n=new(r(69580).ConsoleLogger)("I18n");t.I18n=class{constructor(){this._options=null,this._lang=null,this._dict={}}setDefaultLanguage(){!this._lang&&"undefined"!=typeof window&&window&&window.navigator&&(this._lang=window.navigator.language),n.debug(this._lang)}setLanguage(e){this._lang=e}get(e,t=void 0){if(this.setDefaultLanguage(),!this._lang)return void 0!==t?t:e;const r=this._lang;let n=this.getByLanguage(e,r);return n||(r.indexOf("-")>0&&(n=this.getByLanguage(e,r.split("-")[0])),n||(void 0!==t?t:e))}getByLanguage(e,t,r=null){if(!t)return r;const n=this._dict[t];return n?n[e]:r}putVocabulariesForLanguage(e,t){let r=this._dict[e];r||(r=this._dict[e]={}),this._dict[e]={...r,...t}}putVocabularies(e){Object.keys(e).forEach(t=>{this.putVocabulariesForLanguage(t,e[t])})}}},81547(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRegionFromUserPoolId=function(e){const t=e?.split("_")[0];if(!e||e.indexOf("_")<0||!t||"string"!=typeof t)throw new n.AuthError({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t},t.getRegionFromIdentityPoolId=function(e){if(!e||!e.includes(":"))throw new n.AuthError({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]};const n=r(43518)},81713(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var n=r(62326),o=r(85345),i=r(65212),a=r(19724),s=r(9619),c=r(17214),u=r(28619);function l(e){throw new t.TimeoutError(e)}t.TimeoutError=s.createErrorClass(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}}),t.timeout=function(e,t){var r=o.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,s=r.first,d=r.each,p=r.with,f=void 0===p?l:p,h=r.scheduler,m=void 0===h?null!=t?t:n.asyncScheduler:h,g=r.meta,y=void 0===g?null:g;if(null==s&&null==d)throw new TypeError("No timeout provided.");return i.operate(function(e,t){var r,n,o=null,i=0,l=function(e){n=u.executeSchedule(t,m,function(){try{r.unsubscribe(),a.innerFrom(f({meta:y,lastValue:o,seen:i})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe(c.createOperatorSubscriber(t,function(e){null==n||n.unsubscribe(),i++,t.next(o=e),d>0&&l(d)},void 0,void 0,function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),o=null})),!i&&l(null!=s?"number"==typeof s?s:+s-m.now():d)})}},81963(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateEnumsProperty=void 0,t.generateEnumsProperty=e=>{const t=e.modelIntrospection;if(!t)return{};const r={};for(const[e,n]of Object.entries(t.enums))r[n.name]={values:()=>n.values};return r}},82044(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestWith=void 0;var i=r(64948);t.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.combineLatest.apply(void 0,o([],n(e)))}},82056(e,t,r){"use strict";r.d(t,{O:()=>u});var n=r(10790),o=(r(51609),r(18639)),i=r(31422),a=r(46100),s=r(63733);const c={__staticSelector:"InputBase",withAria:!0,size:"sm"},u=(0,o.v)((e,t)=>{const{inputProps:r,wrapperProps:o,...u}=function(e,t,r){const n=(0,a.Y)("InputBase",t,r),{label:o,description:i,error:c,required:u,classNames:l,styles:d,className:p,unstyled:f,__staticSelector:h,__stylesApiProps:m,errorProps:g,labelProps:y,descriptionProps:v,wrapperProps:b,id:E,size:w,style:S,inputContainer:A,inputWrapperOrder:_,withAsterisk:P,variant:C,vars:I,mod:x,attributes:O,...k}=n,{styleProps:T,rest:N}=(0,s.j)(k);return{...N,classNames:l,styles:d,unstyled:f,wrapperProps:{...{label:o,description:i,error:c,required:u,classNames:l,className:p,__staticSelector:h,__stylesApiProps:m||n,errorProps:g,labelProps:y,descriptionProps:v,unstyled:f,styles:d,size:w,style:S,inputContainer:A,inputWrapperOrder:_,withAsterisk:P,variant:C,id:E,mod:x,attributes:O,...b},...T},inputProps:{required:u,classNames:l,styles:d,unstyled:f,size:w,__staticSelector:h,__stylesApiProps:m||n,error:c,variant:C,id:E,attributes:O}}}(0,c,e);return(0,n.jsx)(i.p.Wrapper,{...o,children:(0,n.jsx)(i.p,{...r,...u,ref:t})})});u.classes={...i.p.classes,...i.p.Wrapper.classes},u.displayName="@mantine/core/InputBase"},82060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(83181),t)},82139(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeatWhen=void 0;var n=r(19724),o=r(76808),i=r(65212),a=r(17214);t.repeatWhen=function(e){return i.operate(function(t,r){var i,s,c=!1,u=!1,l=!1,d=function(){return l&&u&&(r.complete(),!0)},p=function(){l=!1,i=t.subscribe(a.createOperatorSubscriber(r,void 0,function(){l=!0,!d()&&(s||(s=new o.Subject,n.innerFrom(e(s)).subscribe(a.createOperatorSubscriber(r,function(){i?p():c=!0},function(){u=!0,d()}))),s).next()})),c&&(i.unsubscribe(),i=null,c=!1,p())};p()})}},82143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleSelectChallengeWithPasswordSRP=async function(e,t,r,f,h,m){const{userPoolId:g,userPoolClientId:y,userPoolEndpoint:v}=f,b=g.split("_")[1]||"",E=await(0,c.getAuthenticationHelper)(b),w={ANSWER:"PASSWORD_SRP",USERNAME:e,SRP_A:E.A.toString(16)},S=(0,u.getUserContextData)({username:e,userPoolId:g,userPoolClientId:y}),A=(0,o.createRespondToAuthChallengeClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:v})}),_=await A({region:(0,a.getRegionFromUserPoolId)(g),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:w,ClientId:y,ClientMetadata:r,Session:h,UserContextData:S}),P=_.ChallengeParameters?.USERNAME??e;return(0,l.setActiveSignInUsername)(P),"PASSWORD_VERIFIER"===_.ChallengeName?(0,d.retryOnResourceNotFoundException)(p.handlePasswordVerifierChallenge,[t,_.ChallengeParameters,r,_.Session,E,f,m],P,m):_};const n=r(22651),o=r(35456),i=r(28228),a=r(62639),s=r(17238),c=r(80699),u=r(99369),l=r(25279),d=r(98090),p=r(73857)},82192(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__endpoint=t.__headers=t.__apiKey=t.__authToken=t.__authMode=t.__amplify=t.GraphQLAuthError=t.ConnectionState=t.CONTROL_MSG=void 0,t.getInternals=function(e){const r=e;return{amplify:r[t.__amplify],apiKey:r[t.__apiKey],authMode:r[t.__authMode],authToken:r[t.__authToken],endpoint:r[t.__endpoint],headers:r[t.__headers]}};var n,o=r(68769);Object.defineProperty(t,"CONTROL_MSG",{enumerable:!0,get:function(){return o.CONTROL_MSG}}),Object.defineProperty(t,"ConnectionState",{enumerable:!0,get:function(){return o.ConnectionState}}),function(e){e.NO_API_KEY="No api-key configured",e.NO_CURRENT_USER="No current user",e.NO_CREDENTIALS="No credentials",e.NO_FEDERATED_JWT="No federated jwt",e.NO_AUTH_TOKEN="No auth token specified"}(n||(t.GraphQLAuthError=n={})),t.__amplify=Symbol("amplify"),t.__authMode=Symbol("authMode"),t.__authToken=Symbol("authToken"),t.__apiKey=Symbol("apiKey"),t.__headers=Symbol("headers"),t.__endpoint=Symbol("endpoint")},82313(e,t,r){"use strict";r.d(t,{b:()=>o});var n=r(8404);const o=({maxAttempts:e=n.K7,retryDecider:t,computeDelay:r,abortSignal:o})=>{if(e<1)throw new Error("maxAttempts must be greater than 0");return(n,s)=>async function(c){let u,l,d=s.attemptsCount??0;const p=()=>{if(l)return a(l,d),l;throw a(u,d),u};for(;!o?.aborted&&d<e;){try{l=await n(c),u=void 0}catch(e){u=e,l=void 0}d=(s.attemptsCount??0)>d?s.attemptsCount??0:d+1,s.attemptsCount=d;const{isCredentialsExpiredError:a,retryable:f}=await t(l,u,s);if(!f)return p();if(s.isCredentialsExpired=!!a,!o?.aborted&&d<e){const e=r(d);await i(e,o)}}if(o?.aborted)throw new Error("Request aborted.");return p()}},i=(e,t)=>{if(t?.aborted)return Promise.resolve();let r,n;const o=new Promise(t=>{n=t,r=setTimeout(t,e)});return t?.addEventListener("abort",function e(o){clearTimeout(r),t?.removeEventListener("abort",e),n()}),o},a=(e,t)=>{"[object Object]"===Object.prototype.toString.call(e)&&(e.$metadata={...e.$metadata??{},attempts:t})}},82322(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSkewCorrectedDate=void 0,t.getSkewCorrectedDate=e=>new Date(Date.now()+e)},82345(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patch=t.head=t.del=t.put=t.post=t.get=void 0;const n=r(41723),o=r(45977),i=r(99892),a=(e,t,r)=>{const{apiName:a,options:s={},path:c}=t,u=e.libraryOptions?.API?.REST?.timeout?.({apiName:a,method:r}),l=s?.timeout||u||void 0,d=new AbortController,p=d.signal;return(0,n.createCancellableOperation)(async()=>{const t=(0,n.resolveApiUrl)(e,a,c,s?.queryParams),u=await(e.libraryOptions?.API?.REST?.headers?.({apiName:a})),{headers:l={}}=s,d={...u,...l},f=(0,n.parseSigningInfo)(t,{amplify:e,apiName:a});return n.logger.debug(r,t,d,`IAM signing options: ${JSON.stringify(f)}`),(0,i.transferHandler)(e,{...s,url:t,method:r,headers:d,abortSignal:p},o.isIamAuthApplicableForRest,f)},d,"public",l)};t.get=(e,t)=>a(e,t,"GET"),t.post=(e,t)=>a(e,t,"POST"),t.put=(e,t)=>a(e,t,"PUT"),t.del=(e,t)=>a(e,t,"DELETE"),t.head=(e,t)=>a(e,t,"HEAD"),t.patch=(e,t)=>a(e,t,"PATCH")},82366(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasswordSRP=async function({username:e,password:t,clientMetadata:r,config:f,tokenOrchestrator:h,authFlow:m,preferredChallenge:g}){const{userPoolId:y,userPoolClientId:v,userPoolEndpoint:b}=f,E=y?.split("_")[1]||"",w=await(0,i.getAuthenticationHelper)(E),S={USERNAME:e,SRP_A:w.A.toString(16)};"USER_AUTH"===m&&g&&(S.PREFERRED_CHALLENGE=g);const A={AuthFlow:m,AuthParameters:S,ClientMetadata:r,ClientId:v,UserContextData:(0,o.getUserContextData)({username:e,userPoolId:y,userPoolClientId:v})},_=(0,a.createInitiateAuthClient)({endpointResolver:(0,s.createCognitoUserPoolEndpointResolver)({endpointOverride:b})}),P=await _({region:(0,c.getRegionFromUserPoolId)(y),userAgentValue:(0,u.getAuthUserAgentValue)(n.AuthAction.SignIn)},A),{ChallengeParameters:C,Session:I}=P,x=C?.USERNAME??e;return(0,p.setActiveSignInUsername)(x),"PASSWORD_VERIFIER"===P.ChallengeName?(0,d.retryOnResourceNotFoundException)(l.handlePasswordVerifierChallenge,[t,C,r,I,w,f,h],x,h):P};const n=r(22651),o=r(99369),i=r(80699),a=r(35456),s=r(28228),c=r(62639),u=r(17238),l=r(73857),d=r(98090),p=r(25279)},82558(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClientInfo=function(){return"undefined"==typeof window?{}:function(){if("undefined"==typeof window)return n.warn("No window object available to get browser client info"),{};const e=window.navigator;if(!e)return n.warn("No navigator object available to get browser client info"),{};const{platform:t,product:r,vendor:o,userAgent:i,language:a}=e,s=function(e){const t=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9.]+).*/i.exec(e);if(t)return{type:t[1],version:t[2]};const r=/.+(Trident|Edge|Edg|EdgA|EdgiOS)\/([0-9.]+).*/i.exec(e);if(r)return{type:r[1],version:r[2]};const n=/.+(Chrome|CriOS|Firefox|FxiOS)\/([0-9.]+).*/i.exec(e);if(n)return{type:n[1],version:n[2]};const o=/.+(Safari)\/([0-9.]+).*/i.exec(e);if(o)return{type:o[1],version:o[2]};const i=/.+(AppleWebKit)\/([0-9.]+).*/i.exec(e);if(i)return{type:i[1],version:i[2]};const a=/.*([A-Z]+)\/([0-9.]+).*/i.exec(e);return a?{type:a[1],version:a[2]}:{type:"",version:""}}(i),c=function(){const e=/\(([A-Za-z\s].*)\)/.exec((new Date).toString());return e&&e[1]||""}();return{platform:t,make:r||o,model:s.type,version:s.version,appVersion:[s.type,s.version].join("/"),language:a,timezone:c}}()};const n=new(r(69580).ConsoleLogger)("getClientInfo")},82639(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHexFromBytes=void 0;const n=r(39902);t.getHexFromBytes=e=>{let t="";for(let r=0;r<e.byteLength;r++)t+=n.SHORT_TO_HEX[e[r]];return t}},82783(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=void 0;const n=r(22651),o=r(64166);t.getCurrentUser=async e=>{const t=e.getConfig().Auth?.Cognito;(0,n.assertTokenProviderConfig)(t);const r=await e.Auth.getTokens({forceRefresh:!1});(0,o.assertAuthTokens)(r);const{"cognito:username":i,sub:a}=r.idToken?.payload??{},s={username:i,userId:a},c=function(e){return e?.signInDetails}(r);return c&&(s.signInDetails=c),s}},82820(e,t,r){"use strict";r.d(t,{jH:()=>i}),r(10790);var n=r(51609);const o=(0,n.createContext)({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function i(){return(0,n.useContext)(o)}},82955(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishBehavior=void 0;var n=r(97314),o=r(14359);t.publishBehavior=function(e){return function(t){var r=new n.BehaviorSubject(e);return new o.ConnectableObservable(t,function(){return r})}}},83089(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConfirmForgotPasswordClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createConfirmForgotPasswordClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ConfirmForgotPassword"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},83102(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomUserAgentDetails=t.AiAction=t.INTERNAL_USER_AGENT_OVERRIDE=void 0,t.createUserAgentOverride=function(e){return e?{[t.INTERNAL_USER_AGENT_OVERRIDE]:e}:void 0},t.INTERNAL_USER_AGENT_OVERRIDE=Symbol("INTERNAL_USER_AGENT_OVERRIDE"),function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnStreamEvent="7",e.Generation="8",e.UpdateConversation="9"}(r||(t.AiAction=r={})),t.getCustomUserAgentDetails=e=>({category:"ai",action:e})},83181(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateState=t.generateCodeVerifier=t.getRedirectUrl=t.generateState=t.AUTH_KEY_PREFIX=t.createKeysForAuthStorage=t.refreshAuthTokensWithoutDedupe=t.refreshAuthTokens=t.DefaultTokenStore=t.TokenOrchestrator=t.cognitoUserPoolsTokenProvider=t.DefaultIdentityIdStore=t.CognitoAWSCredentialsAndIdentityIdProvider=t.cognitoCredentialsProvider=t.autoSignIn=t.fetchDevices=t.forgetDevice=t.rememberDevice=t.deleteUser=t.deleteUserAttributes=t.sendUserAttributeVerificationCode=t.signOut=t.fetchUserAttributes=t.signInWithRedirect=t.confirmUserAttribute=t.getCurrentUser=t.updateUserAttribute=t.updateUserAttributes=t.setUpTOTP=t.updatePassword=t.verifyTOTPSetup=t.fetchMFAPreference=t.updateMFAPreference=t.confirmSignIn=t.confirmSignUp=t.resendSignUpCode=t.signIn=t.confirmResetPassword=t.resetPassword=t.signUp=void 0;var n=r(15060);Object.defineProperty(t,"signUp",{enumerable:!0,get:function(){return n.signUp}});var o=r(5837);Object.defineProperty(t,"resetPassword",{enumerable:!0,get:function(){return o.resetPassword}});var i=r(43101);Object.defineProperty(t,"confirmResetPassword",{enumerable:!0,get:function(){return i.confirmResetPassword}});var a=r(86369);Object.defineProperty(t,"signIn",{enumerable:!0,get:function(){return a.signIn}});var s=r(24865);Object.defineProperty(t,"resendSignUpCode",{enumerable:!0,get:function(){return s.resendSignUpCode}});var c=r(26967);Object.defineProperty(t,"confirmSignUp",{enumerable:!0,get:function(){return c.confirmSignUp}});var u=r(56497);Object.defineProperty(t,"confirmSignIn",{enumerable:!0,get:function(){return u.confirmSignIn}});var l=r(7151);Object.defineProperty(t,"updateMFAPreference",{enumerable:!0,get:function(){return l.updateMFAPreference}});var d=r(35864);Object.defineProperty(t,"fetchMFAPreference",{enumerable:!0,get:function(){return d.fetchMFAPreference}});var p=r(30658);Object.defineProperty(t,"verifyTOTPSetup",{enumerable:!0,get:function(){return p.verifyTOTPSetup}});var f=r(97551);Object.defineProperty(t,"updatePassword",{enumerable:!0,get:function(){return f.updatePassword}});var h=r(91971);Object.defineProperty(t,"setUpTOTP",{enumerable:!0,get:function(){return h.setUpTOTP}});var m=r(45804);Object.defineProperty(t,"updateUserAttributes",{enumerable:!0,get:function(){return m.updateUserAttributes}});var g=r(47657);Object.defineProperty(t,"updateUserAttribute",{enumerable:!0,get:function(){return g.updateUserAttribute}});var y=r(45341);Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return y.getCurrentUser}});var v=r(25022);Object.defineProperty(t,"confirmUserAttribute",{enumerable:!0,get:function(){return v.confirmUserAttribute}});var b=r(91249);Object.defineProperty(t,"signInWithRedirect",{enumerable:!0,get:function(){return b.signInWithRedirect}});var E=r(76285);Object.defineProperty(t,"fetchUserAttributes",{enumerable:!0,get:function(){return E.fetchUserAttributes}});var w=r(59436);Object.defineProperty(t,"signOut",{enumerable:!0,get:function(){return w.signOut}});var S=r(25926);Object.defineProperty(t,"sendUserAttributeVerificationCode",{enumerable:!0,get:function(){return S.sendUserAttributeVerificationCode}});var A=r(35862);Object.defineProperty(t,"deleteUserAttributes",{enumerable:!0,get:function(){return A.deleteUserAttributes}});var _=r(98867);Object.defineProperty(t,"deleteUser",{enumerable:!0,get:function(){return _.deleteUser}});var P=r(2106);Object.defineProperty(t,"rememberDevice",{enumerable:!0,get:function(){return P.rememberDevice}});var C=r(61712);Object.defineProperty(t,"forgetDevice",{enumerable:!0,get:function(){return C.forgetDevice}});var I=r(42775);Object.defineProperty(t,"fetchDevices",{enumerable:!0,get:function(){return I.fetchDevices}});var x=r(19578);Object.defineProperty(t,"autoSignIn",{enumerable:!0,get:function(){return x.autoSignIn}});var O=r(88453);Object.defineProperty(t,"cognitoCredentialsProvider",{enumerable:!0,get:function(){return O.cognitoCredentialsProvider}}),Object.defineProperty(t,"CognitoAWSCredentialsAndIdentityIdProvider",{enumerable:!0,get:function(){return O.CognitoAWSCredentialsAndIdentityIdProvider}}),Object.defineProperty(t,"DefaultIdentityIdStore",{enumerable:!0,get:function(){return O.DefaultIdentityIdStore}});var k=r(4870);Object.defineProperty(t,"cognitoUserPoolsTokenProvider",{enumerable:!0,get:function(){return k.cognitoUserPoolsTokenProvider}}),Object.defineProperty(t,"TokenOrchestrator",{enumerable:!0,get:function(){return k.TokenOrchestrator}}),Object.defineProperty(t,"DefaultTokenStore",{enumerable:!0,get:function(){return k.DefaultTokenStore}}),Object.defineProperty(t,"refreshAuthTokens",{enumerable:!0,get:function(){return k.refreshAuthTokens}}),Object.defineProperty(t,"refreshAuthTokensWithoutDedupe",{enumerable:!0,get:function(){return k.refreshAuthTokensWithoutDedupe}}),Object.defineProperty(t,"createKeysForAuthStorage",{enumerable:!0,get:function(){return k.createKeysForAuthStorage}}),Object.defineProperty(t,"AUTH_KEY_PREFIX",{enumerable:!0,get:function(){return k.AUTH_KEY_PREFIX}});var T=r(7479);Object.defineProperty(t,"generateState",{enumerable:!0,get:function(){return T.generateState}}),Object.defineProperty(t,"getRedirectUrl",{enumerable:!0,get:function(){return T.getRedirectUrl}}),Object.defineProperty(t,"generateCodeVerifier",{enumerable:!0,get:function(){return T.generateCodeVerifier}}),Object.defineProperty(t,"validateState",{enumerable:!0,get:function(){return T.validateState}})},83359(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDeviceName=void 0;var n=r(17330);Object.defineProperty(t,"getDeviceName",{enumerable:!0,get:function(){return n.getDeviceName}})},83505(e,t,r){"use strict";r.d(t,{T3:()=>H,ck:()=>$,s9:()=>G,we:()=>q,iQ:()=>J,Mk:()=>L,bv:()=>X,SV:()=>w,It:()=>ee});var n=r(51609),o=r.t(n,2),i=r(86635);function a(){return function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:r}=e;return t+"/"+r}).join(" "):navigator.userAgent}().includes("jsdom/")}const s="data-floating-ui-focusable";function c(e){let t=e.activeElement;for(;null!=(null==(r=t)||null==(r=r.shadowRoot)?void 0:r.activeElement);){var r;t=t.shadowRoot.activeElement}return t}function u(e,t){if(!e||!t)return!1;const r=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&(0,i.Ng)(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function l(e){return"composedPath"in e?e.composedPath()[0]:e.target}function d(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return null!=r.target&&t.contains(r.target)}function p(e){return(null==e?void 0:e.ownerDocument)||document}function f(e,t,r){return void 0===r&&(r=!0),e.filter(e=>{var n;return e.parentId===t&&(!r||(null==(n=e.context)?void 0:n.open))}).flatMap(t=>[t,...f(e,t.id,r)])}function h(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}var m="undefined"!=typeof document?n.useLayoutEffect:function(){};function g(e){const t=n.useRef(e);return m(()=>{t.current=e}),t}const y={...o}.useInsertionEffect||(e=>e());function v(e){const t=n.useRef(()=>{});return y(()=>{t.current=e}),n.useCallback(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)},[])}var b=r(10790),E=(r(75795),r(34743));function w(e){const t=n.useRef(void 0),r=n.useCallback(t=>{const r=e.map(e=>{if(null!=e){if("function"==typeof e){const r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}}});return()=>{r.forEach(e=>null==e?void 0:e())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}const S="data-floating-ui-focusable",A="active",_="selected",P={...o};let C=!1,I=0;const x=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+I++,O=P.useId||function(){const[e,t]=n.useState(()=>C?x():void 0);return m(()=>{null==e&&t(x())},[]),n.useEffect(()=>{C=!0},[]),e};const k=n.createContext(null),T=n.createContext(null),N=()=>{var e;return(null==(e=n.useContext(k))?void 0:e.id)||null},j=()=>n.useContext(T);function R(e){return"data-floating-ui-"+e}function M(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}const D=R("safe-polygon");function U(e,t,r){if(r&&!h(r))return 0;if("number"==typeof e)return e;if("function"==typeof e){const r=e();return"number"==typeof r?r:null==r?void 0:r[t]}return null==e?void 0:e[t]}function F(e){return"function"==typeof e?e():e}function L(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,dataRef:a,events:s,elements:c}=e,{enabled:l=!0,delay:d=0,handleClose:f=null,mouseOnly:y=!1,restMs:b=0,move:E=!0}=t,w=j(),S=N(),A=g(f),_=g(d),P=g(r),C=g(b),I=n.useRef(),x=n.useRef(-1),O=n.useRef(),k=n.useRef(-1),T=n.useRef(!0),R=n.useRef(!1),L=n.useRef(()=>{}),z=n.useRef(!1),V=v(()=>{var e;const t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t});n.useEffect(()=>{if(l)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;t||(M(x),M(k),T.current=!0,z.current=!1)}},[l,s]),n.useEffect(()=>{if(!l)return;if(!A.current)return;if(!r)return;function e(e){V()&&o(!1,e,"hover")}const t=p(c.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[c.floating,r,o,l,A,V]);const H=n.useCallback(function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r="hover");const n=U(_.current,"close",I.current);n&&!O.current?(M(x),x.current=window.setTimeout(()=>o(!1,e,r),n)):t&&(M(x),o(!1,e,r))},[_,o]),$=v(()=>{L.current(),O.current=void 0}),W=v(()=>{if(R.current){const e=p(c.floating).body;e.style.pointerEvents="",e.removeAttribute(D),R.current=!1}}),B=v(()=>!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type));n.useEffect(()=>{if(l&&(0,i.vq)(c.domReference)){const o=c.domReference,i=c.floating;return r&&o.addEventListener("mouseleave",n),E&&o.addEventListener("mousemove",e,{once:!0}),o.addEventListener("mouseenter",e),o.addEventListener("mouseleave",t),i&&(i.addEventListener("mouseleave",n),i.addEventListener("mouseenter",s),i.addEventListener("mouseleave",d)),()=>{r&&o.removeEventListener("mouseleave",n),E&&o.removeEventListener("mousemove",e),o.removeEventListener("mouseenter",e),o.removeEventListener("mouseleave",t),i&&(i.removeEventListener("mouseleave",n),i.removeEventListener("mouseenter",s),i.removeEventListener("mouseleave",d))}}function e(e){if(M(x),T.current=!1,y&&!h(I.current)||F(C.current)>0&&!U(_.current,"open"))return;const t=U(_.current,"open",I.current);t?x.current=window.setTimeout(()=>{P.current||o(!0,e,"hover")},t):r||o(!0,e,"hover")}function t(e){if(B())return void W();L.current();const t=p(c.floating);if(M(k),z.current=!1,A.current&&a.current.floatingContext){r||M(x),O.current=A.current({...a.current.floatingContext,tree:w,x:e.clientX,y:e.clientY,onClose(){W(),$(),B()||H(e,!0,"safe-polygon")}});const n=O.current;return t.addEventListener("mousemove",n),void(L.current=()=>{t.removeEventListener("mousemove",n)})}("touch"!==I.current||!u(c.floating,e.relatedTarget))&&H(e)}function n(e){B()||a.current.floatingContext&&(null==A.current||A.current({...a.current.floatingContext,tree:w,x:e.clientX,y:e.clientY,onClose(){W(),$(),B()||H(e)}})(e))}function s(){M(x)}function d(e){B()||H(e,!1)}},[c,l,e,y,E,H,$,W,o,r,P,w,_,A,a,B,C]),m(()=>{var e;if(l&&r&&null!=(e=A.current)&&null!=(e=e.__options)&&e.blockPointerEvents&&V()){R.current=!0;const e=c.floating;if((0,i.vq)(c.domReference)&&e){var t;const r=p(c.floating).body;r.setAttribute(D,"");const n=c.domReference,o=null==w||null==(t=w.nodesRef.current.find(e=>e.id===S))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),r.style.pointerEvents="none",n.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{r.style.pointerEvents="",n.style.pointerEvents="",e.style.pointerEvents=""}}}},[l,r,S,c,w,A,V]),m(()=>{r||(I.current=void 0,z.current=!1,$(),W())},[r,$,W]),n.useEffect(()=>()=>{$(),M(x),M(k),W()},[l,c.domReference,$,W]);const K=n.useMemo(()=>{function e(e){I.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function n(){T.current||P.current||o(!0,t,"hover")}y&&!h(I.current)||r||0===F(C.current)||z.current&&e.movementX**2+e.movementY**2<2||(M(k),"touch"===I.current?n():(z.current=!0,k.current=window.setTimeout(n,F(C.current))))}}},[y,o,r,P,C]);return n.useMemo(()=>l?{reference:K}:{},[l,K])}const z=()=>{},V=n.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:z,setState:z,isInstantPhase:!1});function H(e){const{children:t,delay:r,timeoutMs:o=0}=e,[i,a]=n.useReducer((e,t)=>({...e,...t}),{delay:r,timeoutMs:o,initialDelay:r,currentId:null,isInstantPhase:!1}),s=n.useRef(null),c=n.useCallback(e=>{a({currentId:e})},[]);return m(()=>{i.currentId?null===s.current?s.current=i.currentId:i.isInstantPhase||a({isInstantPhase:!0}):(i.isInstantPhase&&a({isInstantPhase:!1}),s.current=null)},[i.currentId,i.isInstantPhase]),(0,b.jsx)(V.Provider,{value:n.useMemo(()=>({...i,setState:a,setCurrentId:c}),[i,c]),children:t})}function $(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,floatingId:i}=e,{id:a,enabled:s=!0}=t,c=null!=a?a:i,u=n.useContext(V),{currentId:l,setCurrentId:d,initialDelay:p,setState:f,timeoutMs:h}=u;return m(()=>{s&&l&&(f({delay:{open:1,close:U(p,"close")}}),l!==c&&o(!1))},[s,c,o,f,l,p]),m(()=>{function e(){o(!1),f({delay:p,currentId:null})}if(s&&l&&!r&&l===c){if(h){const t=window.setTimeout(e,h);return()=>{clearTimeout(t)}}e()}},[s,r,f,l,c,o,p,h]),m(()=>{s&&d!==z&&r&&d(c)},[s,r,d,c]),u}const W={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},B={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},K=e=>{var t,r;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(r=null==e?void 0:e.outsidePress)||r}};function G(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,elements:a,dataRef:s}=e,{enabled:c=!0,escapeKey:h=!0,outsidePress:m=!0,outsidePressEvent:g="pointerdown",referencePress:y=!1,referencePressEvent:b="pointerdown",ancestorScroll:E=!1,bubbles:w,capture:S}=t,A=j(),_=v("function"==typeof m?m:()=>!1),P="function"==typeof m?_:m,C=n.useRef(!1),{escapeKey:I,outsidePress:x}=K(w),{escapeKey:O,outsidePress:k}=K(S),T=n.useRef(!1),N=v(e=>{var t;if(!r||!c||!h||"Escape"!==e.key)return;if(T.current)return;const n=null==(t=s.current.floatingContext)?void 0:t.nodeId,i=A?f(A.nodesRef.current,n):[];if(!I&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach(t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)}),!e)return}o(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")}),M=v(e=>{var t;const r=()=>{var t;N(e),null==(t=l(e))||t.removeEventListener("keydown",r)};null==(t=l(e))||t.addEventListener("keydown",r)}),D=v(e=>{var t;const r=s.current.insideReactTree;s.current.insideReactTree=!1;const n=C.current;if(C.current=!1,"click"===g&&n)return;if(r)return;if("function"==typeof P&&!P(e))return;const c=l(e),h="["+R("inert")+"]",m=p(a.floating).querySelectorAll(h);let y=(0,i.vq)(c)?c:null;for(;y&&!(0,i.eu)(y);){const e=(0,i.$4)(y);if((0,i.eu)(e)||!(0,i.vq)(e))break;y=e}if(m.length&&(0,i.vq)(c)&&!c.matches("html,body")&&!u(c,a.floating)&&Array.from(m).every(e=>!u(y,e)))return;if((0,i.sb)(c)&&L){const t=(0,i.eu)(c),r=(0,i.L9)(c),n=/auto|scroll/,o=t||n.test(r.overflowX),a=t||n.test(r.overflowY),s=o&&c.clientWidth>0&&c.scrollWidth>c.clientWidth,u=a&&c.clientHeight>0&&c.scrollHeight>c.clientHeight,l="rtl"===r.direction,d=u&&(l?e.offsetX<=c.offsetWidth-c.clientWidth:e.offsetX>c.clientWidth),p=s&&e.offsetY>c.clientHeight;if(d||p)return}const v=null==(t=s.current.floatingContext)?void 0:t.nodeId,b=A&&f(A.nodesRef.current,v).some(t=>{var r;return d(e,null==(r=t.context)?void 0:r.elements.floating)});if(d(e,a.floating)||d(e,a.domReference)||b)return;const E=A?f(A.nodesRef.current,v):[];if(E.length>0){let e=!0;if(E.forEach(t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)}),!e)return}o(!1,e,"outside-press")}),U=v(e=>{var t;const r=()=>{var t;D(e),null==(t=l(e))||t.removeEventListener(g,r)};null==(t=l(e))||t.addEventListener(g,r)});n.useEffect(()=>{if(!r||!c)return;s.current.__escapeKeyBubbles=I,s.current.__outsidePressBubbles=x;let e=-1;function t(e){o(!1,e,"ancestor-scroll")}function n(){window.clearTimeout(e),T.current=!0}function u(){e=window.setTimeout(()=>{T.current=!1},(0,i.Tc)()?5:0)}const l=p(a.floating);h&&(l.addEventListener("keydown",O?M:N,O),l.addEventListener("compositionstart",n),l.addEventListener("compositionend",u)),P&&l.addEventListener(g,k?U:D,k);let d=[];return E&&((0,i.vq)(a.domReference)&&(d=(0,i.v9)(a.domReference)),(0,i.vq)(a.floating)&&(d=d.concat((0,i.v9)(a.floating))),!(0,i.vq)(a.reference)&&a.reference&&a.reference.contextElement&&(d=d.concat((0,i.v9)(a.reference.contextElement)))),d=d.filter(e=>{var t;return e!==(null==(t=l.defaultView)?void 0:t.visualViewport)}),d.forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{h&&(l.removeEventListener("keydown",O?M:N,O),l.removeEventListener("compositionstart",n),l.removeEventListener("compositionend",u)),P&&l.removeEventListener(g,k?U:D,k),d.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[s,a,h,P,g,r,o,E,c,I,x,N,O,M,D,k,U]),n.useEffect(()=>{s.current.insideReactTree=!1},[s,P,g]);const F=n.useMemo(()=>({onKeyDown:N,...y&&{[W[b]]:e=>{o(!1,e.nativeEvent,"reference-press")},..."click"!==b&&{onClick(e){o(!1,e.nativeEvent,"reference-press")}}}}),[N,o,y,b]),L=n.useMemo(()=>({onKeyDown:N,onMouseDown(){C.current=!0},onMouseUp(){C.current=!0},[B[g]]:()=>{s.current.insideReactTree=!0}}),[N,g,s]);return n.useMemo(()=>c?{reference:F,floating:L}:{},[c,F,L])}function q(e){void 0===e&&(e={});const{nodeId:t}=e,r=function(e){const{open:t=!1,onOpenChange:r,elements:o}=e,i=O(),a=n.useRef({}),[s]=n.useState(()=>function(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach(e=>e(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var n;null==(n=e.get(t))||n.delete(r)}}}()),c=null!=N(),[u,l]=n.useState(o.reference),d=v((e,t,n)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:n,nested:c}),null==r||r(e,t,n)}),p=n.useMemo(()=>({setPositionReference:l}),[]),f=n.useMemo(()=>({reference:u||o.reference||null,floating:o.floating||null,domReference:o.reference}),[u,o.reference,o.floating]);return n.useMemo(()=>({dataRef:a,open:t,onOpenChange:d,elements:f,events:s,floatingId:i,refs:p}),[t,d,f,s,i,p])}({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||r,a=o.elements,[s,c]=n.useState(null),[u,l]=n.useState(null),d=(null==a?void 0:a.domReference)||s,p=n.useRef(null),f=j();m(()=>{d&&(p.current=d)},[d]);const h=(0,E.we)({...e,elements:{...a,...u&&{reference:u}}}),g=n.useCallback(e=>{const t=(0,i.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;l(t),h.refs.setReference(t)},[h.refs]),y=n.useCallback(e=>{((0,i.vq)(e)||null===e)&&(p.current=e,c(e)),((0,i.vq)(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!(0,i.vq)(e))&&h.refs.setReference(e)},[h.refs]),b=n.useMemo(()=>({...h.refs,setReference:y,setPositionReference:g,domReference:p}),[h.refs,y,g]),w=n.useMemo(()=>({...h.elements,domReference:d}),[h.elements,d]),S=n.useMemo(()=>({...h,...o,refs:b,elements:w,nodeId:t}),[h,b,w,t,o]);return m(()=>{o.dataRef.current.floatingContext=S;const e=null==f?void 0:f.nodesRef.current.find(e=>e.id===t);e&&(e.context=S)}),n.useMemo(()=>({...h,context:S,refs:b,elements:w}),[h,b,w,S])}function Y(){return function(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints&&/apple/i.test(navigator.vendor)}function J(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,events:s,dataRef:d,elements:f}=e,{enabled:h=!0,visibleOnly:m=!0}=t,g=n.useRef(!1),y=n.useRef(-1),v=n.useRef(!0);n.useEffect(()=>{if(!h)return;const e=(0,i.zk)(f.domReference);function t(){!r&&(0,i.sb)(f.domReference)&&f.domReference===c(p(f.domReference))&&(g.current=!0)}function n(){v.current=!0}function o(){v.current=!1}return e.addEventListener("blur",t),Y()&&(e.addEventListener("keydown",n,!0),e.addEventListener("pointerdown",o,!0)),()=>{e.removeEventListener("blur",t),Y()&&(e.removeEventListener("keydown",n,!0),e.removeEventListener("pointerdown",o,!0))}},[f.domReference,r,h]),n.useEffect(()=>{if(h)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(g.current=!0)}},[s,h]),n.useEffect(()=>()=>{M(y)},[]);const b=n.useMemo(()=>({onMouseLeave(){g.current=!1},onFocus(e){if(g.current)return;const t=l(e.nativeEvent);if(m&&(0,i.vq)(t))if(Y()&&!e.relatedTarget){if(!v.current&&(r=t,!(0,i.sb)(r)||!r.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")))return}else if(!function(e){if(!e||a())return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(t))return;var r;o(!0,e.nativeEvent,"focus")},onBlur(e){g.current=!1;const t=e.relatedTarget,r=e.nativeEvent,n=(0,i.vq)(t)&&t.hasAttribute(R("focus-guard"))&&"outside"===t.getAttribute("data-type");y.current=window.setTimeout(()=>{var e;const i=c(f.domReference?f.domReference.ownerDocument:document);(t||i!==f.domReference)&&(u(null==(e=d.current.floatingContext)?void 0:e.refs.floating.current,i)||u(f.domReference,i)||n||o(!1,r,"focus"))})}}),[d,f.domReference,o,m]);return n.useMemo(()=>h?{reference:b}:{},[h,b])}function Q(e,t,r){const n=new Map,o="item"===r;let i=e;if(o&&e){const{[A]:t,[_]:__,...r}=e;i=r}return{..."floating"===r&&{tabIndex:-1,[S]:""},...i,...t.map(t=>{const n=t?t[r]:null;return"function"==typeof n?e?n(e):null:n}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[r,i]=t;var a;o&&[A,_].includes(r)||(0===r.indexOf("on")?(n.has(r)||n.set(r,[]),"function"==typeof i&&(null==(a=n.get(r))||a.push(i),e[r]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=n.get(r))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)})):e[r]=i)}),e):e,{})}}function X(e){void 0===e&&(e=[]);const t=e.map(e=>null==e?void 0:e.reference),r=e.map(e=>null==e?void 0:e.floating),o=e.map(e=>null==e?void 0:e.item),i=n.useCallback(t=>Q(t,e,"reference"),t),a=n.useCallback(t=>Q(t,e,"floating"),r),s=n.useCallback(t=>Q(t,e,"item"),o);return n.useMemo(()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:s}),[i,a,s])}const Z=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function ee(e,t){var r,o;void 0===t&&(t={});const{open:i,elements:a,floatingId:c}=e,{enabled:u=!0,role:l="dialog"}=t,d=O(),p=(null==(r=a.domReference)?void 0:r.id)||d,f=n.useMemo(()=>{var e,t;return(null==(e=(t=a.floating)?t.hasAttribute(s)?t:t.querySelector("["+s+"]")||t:null)?void 0:e.id)||c},[a.floating,c]),h=null!=(o=Z.get(l))?o:l,m=null!=N(),g=n.useMemo(()=>"tooltip"===h||"label"===l?{["aria-"+("label"===l?"labelledby":"describedby")]:i?f:void 0}:{"aria-expanded":i?"true":"false","aria-haspopup":"alertdialog"===h?"dialog":h,"aria-controls":i?f:void 0,..."listbox"===h&&{role:"combobox"},..."menu"===h&&{id:p},..."menu"===h&&m&&{role:"menuitem"},..."select"===l&&{"aria-autocomplete":"none"},..."combobox"===l&&{"aria-autocomplete":"list"}},[h,f,m,i,p,l]),y=n.useMemo(()=>{const e={id:f,...h&&{role:h}};return"tooltip"===h||"label"===l?e:{...e,..."menu"===h&&{"aria-labelledby":p}}},[h,f,p,l]),v=n.useCallback(e=>{let{active:t,selected:r}=e;const n={role:"option",...t&&{id:f+"-fui-option"}};switch(l){case"select":case"combobox":return{...n,"aria-selected":r}}return{}},[f,l]);return n.useMemo(()=>u?{reference:g,floating:y,item:v}:{},[u,g,y,v])}},83604(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64UrlToArrayBuffer=void 0;const n=r(22651);t.convertBase64UrlToArrayBuffer=e=>Uint8Array.from(n.base64Decoder.convert(e,{urlSafe:!0}),e=>e.charCodeAt(0)).buffer},83801(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jitteredBackoff=void 0;const n=r(72685),o=r(27573);t.jitteredBackoff=e=>{const t=(0,n.jitteredBackoff)(o.DEFAULT_MAX_DELAY_MS)(e);return!1===t?o.DEFAULT_MAX_DELAY_MS:t}},83974(e,t,r){"use strict";r.d(t,{C:()=>o});var n=r(51609);function o(){return`__m__-${(0,n.useId)().replace(/[:«»]/g,"")}`}},83995(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthTokenStorageKeys=void 0,t.AuthTokenStorageKeys={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"}},84060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithUserAuth=async function(e){const{username:t,password:r,options:y}=e,v=n.Amplify.getConfig().Auth?.Cognito,b={loginId:t,authFlowType:"USER_AUTH"};(0,o.assertTokenProviderConfig)(v);const E=y?.clientMetadata,w=y?.preferredChallenge;(0,a.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptySignInUsername);try{const e={username:t,config:v,tokenOrchestrator:f.tokenOrchestrator,clientMetadata:E,preferredChallenge:w,password:r},n=u.autoSignInStore.getState();n.active&&n.username===t&&(e.session=n.session);const o=await(0,h.handleUserAuthFlow)(e),i=(0,c.getActiveSignInUsername)(t);return(0,l.setActiveSignInState)({signInSession:o.Session,username:i,challengeName:o.ChallengeName,signInDetails:b}),o.AuthenticationResult?(await(0,d.cacheCognitoTokens)({username:i,...o.AuthenticationResult,NewDeviceMetadata:await(0,m.getNewDeviceMetadata)({userPoolId:v.userPoolId,userPoolEndpoint:v.userPoolEndpoint,newDeviceMetadata:o.AuthenticationResult.NewDeviceMetadata,accessToken:o.AuthenticationResult.AccessToken}),signInDetails:b}),(0,l.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),(0,g.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:o.ChallengeName,challengeParameters:o.ChallengeParameters,availableChallenges:"AvailableChallenges"in o?o.AvailableChallenges:void 0})}catch(e){(0,l.resetActiveSignInState)(),(0,g.resetAutoSignIn)(),(0,s.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(73031),c=r(78040),u=r(33826),l=r(27861),d=r(55794),p=r(84539),f=r(4870),h=r(65221),m=r(66542),g=r(19578)},84210(e,t,r){"use strict";r.d(t,{C:()=>a});var n,o=r(84597);!function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"}(n||(n={}));const i={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class a{constructor(e,t=n.WARN){this.name=e,this.level=t,this._pluggables=[]}_padding(e){return e<10?"0"+e:""+e}_ts(){const e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()}configure(e){return e?(this._config=e,this._config):this._config}_log(e,...t){let r=this.level;if(a.LOG_LEVEL&&(r=a.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(r=window.LOG_LEVEL),!(i[e]>=i[r]))return;let o=console.log.bind(console);e===n.ERROR&&console.error&&(o=console.error.bind(console)),e===n.WARN&&console.warn&&(o=console.warn.bind(console)),a.BIND_ALL_LOG_LEVELS&&(e===n.INFO&&console.info&&(o=console.info.bind(console)),e===n.DEBUG&&console.debug&&(o=console.debug.bind(console)));const s=`[${e}] ${this._ts()} ${this.name}`;let c="";if(1===t.length&&"string"==typeof t[0])c=`${s} - ${t[0]}`,o(c);else if(1===t.length)c=`${s} ${t[0]}`,o(s,t[0]);else if("string"==typeof t[0]){let e=t.slice(1);1===e.length&&(e=e[0]),c=`${s} - ${t[0]} ${e}`,o(`${s} - ${t[0]}`,e)}else c=`${s} ${t}`,o(s,t);for(const e of this._pluggables){const t={message:c,timestamp:Date.now()};e.pushLogs([t])}}log(...e){this._log(n.INFO,...e)}info(...e){this._log(n.INFO,...e)}warn(...e){this._log(n.WARN,...e)}error(...e){this._log(n.ERROR,...e)}debug(...e){this._log(n.DEBUG,...e)}verbose(...e){this._log(n.VERBOSE,...e)}addPluggable(e){e&&e.getCategoryName()===o.OU&&(this._pluggables.push(e),e.configure(this._config))}listPluggables(){return this._pluggables}}a.LOG_LEVEL=null,a.BIND_ALL_LOG_LEVELS=!1},84532(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isConfigureEventWithResourceConfig=function(e){return"configure"===e.event}},84539(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchSignedInHubEvent=t.ERROR_MESSAGE=void 0;const n=r(56547),o=r(22651),i=r(45341),a=r(34143),s=r(43518);t.ERROR_MESSAGE="Unable to get user session following successful sign-in.",t.dispatchSignedInHubEvent=async()=>{try{n.Hub.dispatch("auth",{event:"signedIn",data:await(0,i.getCurrentUser)()},"Auth",o.AMPLIFY_SYMBOL)}catch(e){if(e.name===a.USER_UNAUTHENTICATED_EXCEPTION)throw new s.AuthError({name:a.UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION,message:t.ERROR_MESSAGE,recoverySuggestion:"This most likely is due to auth tokens not being persisted. If you are using cookie store, please ensure cookies can be correctly set from your server."});throw e}}},84597(e,t,r){"use strict";r.d(t,{OU:()=>n,d1:()=>o});const n="Logging",o="NoHubcallbackProvidedException"},84615(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolvePKFields=function(e){const{primaryKeyFieldName:t,sortKeyFieldNames:r}=e.primaryKeyInfo;return[t,...r]}},84805(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","star","Star",[["path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873l-6.158 -3.245",key:"svg-0"}]])},85091(e,t,r){"use strict";r.d(t,{X:()=>N});var n=r(10790),o=r(88149),i=(r(51609),r(56324)),a=r(59396),s=r(86344),c=r(46100),u=r(52837),l=r(11507),d=r(2412),p=r(46798);const[f,h]=(0,p.F)("Table component was not found in the tree");var m={table:"m_b23fa0ef",th:"m_4e7aa4f3",tr:"m_4e7aa4fd",td:"m_4e7aa4ef",tbody:"m_b2404537",thead:"m_b242d975",caption:"m_9e5a3ac7",scrollContainer:"m_a100c15",scrollContainerInner:"m_62259741"};function g(e,t){if(!t)return;const r={};return t.columnBorder&&e.withColumnBorders&&(r["data-with-column-border"]=!0),t.rowBorder&&e.withRowBorders&&(r["data-with-row-border"]=!0),t.striped&&e.striped&&(r["data-striped"]=e.striped),t.highlightOnHover&&e.highlightOnHover&&(r["data-hover"]=!0),t.captionSide&&e.captionSide&&(r["data-side"]=e.captionSide),t.stickyHeader&&e.stickyHeader&&(r["data-sticky"]=!0),r}function y(e,t){const r=`Table${e.charAt(0).toUpperCase()}${e.slice(1)}`,o=(0,d.P9)((o,i)=>{const a=(0,c.Y)(r,{},o),{classNames:s,className:u,style:d,styles:p,...f}=a,m=h();return(0,n.jsx)(l.a,{component:e,ref:i,...g(m,t),...m.getStyles(e,{className:u,classNames:s,style:d,styles:p,props:a}),...f})});return o.displayName=`@mantine/core/${r}`,o.classes=m,o}const v=y("th",{columnBorder:!0}),b=y("td",{columnBorder:!0}),E=y("tr",{rowBorder:!0,striped:!0,highlightOnHover:!0}),w=y("thead",{stickyHeader:!0}),S=y("tbody"),A=y("tfoot"),_=y("caption",{captionSide:!0});function P({data:e}){return(0,n.jsxs)(n.Fragment,{children:[e.caption&&(0,n.jsx)(_,{children:e.caption}),e.head&&(0,n.jsx)(w,{children:(0,n.jsx)(E,{children:e.head.map((e,t)=>(0,n.jsx)(v,{children:e},t))})}),e.body&&(0,n.jsx)(S,{children:e.body.map((e,t)=>(0,n.jsx)(E,{children:e.map((e,t)=>(0,n.jsx)(b,{children:e},t))},t))}),e.foot&&(0,n.jsx)(A,{children:(0,n.jsx)(E,{children:e.foot.map((e,t)=>(0,n.jsx)(v,{children:e},t))})})]})}P.displayName="@mantine/core/TableDataRenderer";var C=r(63089);const I={type:"scrollarea"},x=(0,a.V)((e,{minWidth:t,maxHeight:r,type:n})=>({scrollContainer:{"--table-min-width":(0,o.D)(t),"--table-max-height":(0,o.D)(r),"--table-overflow":"native"===n?"auto":void 0}})),O=(0,d.P9)((e,t)=>{const r=(0,c.Y)("TableScrollContainer",I,e),{classNames:o,className:i,style:a,styles:s,unstyled:d,vars:p,children:f,minWidth:h,maxHeight:g,type:y,scrollAreaProps:v,attributes:b,...E}=r,w=(0,u.I)({name:"TableScrollContainer",classes:m,props:r,className:i,style:a,classNames:o,styles:s,unstyled:d,attributes:b,vars:p,varsResolver:x,rootSelector:"scrollContainer"});return(0,n.jsx)(l.a,{component:"scrollarea"===y?C.F:"div",..."scrollarea"===y?g?{offsetScrollbars:"xy",...v}:{offsetScrollbars:"x",...v}:{},ref:t,...w("scrollContainer"),...E,children:(0,n.jsx)("div",{...w("scrollContainerInner"),children:f})})});O.classes=m,O.displayName="@mantine/core/TableScrollContainer";const k={withRowBorders:!0,verticalSpacing:7},T=(0,a.V)((e,{layout:t,captionSide:r,horizontalSpacing:n,verticalSpacing:a,borderColor:c,stripedColor:u,highlightOnHoverColor:l,striped:d,highlightOnHover:p,stickyHeaderOffset:f,stickyHeader:h})=>({table:{"--table-layout":t,"--table-caption-side":r,"--table-horizontal-spacing":(0,i.GY)(n),"--table-vertical-spacing":(0,i.GY)(a),"--table-border-color":c?(0,s.r)(c,e):void 0,"--table-striped-color":d&&u?(0,s.r)(u,e):void 0,"--table-highlight-on-hover-color":p&&l?(0,s.r)(l,e):void 0,"--table-sticky-header-offset":h?(0,o.D)(f):void 0}})),N=(0,d.P9)((e,t)=>{const r=(0,c.Y)("Table",k,e),{classNames:o,className:i,style:a,styles:s,unstyled:d,vars:p,horizontalSpacing:h,verticalSpacing:g,captionSide:y,stripedColor:v,highlightOnHoverColor:b,striped:E,highlightOnHover:w,withColumnBorders:S,withRowBorders:A,withTableBorder:_,borderColor:C,layout:I,variant:x,data:O,children:N,stickyHeader:j,stickyHeaderOffset:R,mod:M,tabularNums:D,attributes:U,...F}=r,L=(0,u.I)({name:"Table",props:r,className:i,style:a,classes:m,classNames:o,styles:s,unstyled:d,attributes:U,rootSelector:"table",vars:p,varsResolver:T});return(0,n.jsx)(f,{value:{getStyles:L,stickyHeader:j,striped:!0===E?"odd":E||void 0,highlightOnHover:w,withColumnBorders:S,withRowBorders:A,captionSide:y||"bottom"},children:(0,n.jsx)(l.a,{component:"table",variant:x,ref:t,mod:[{"data-with-table-border":_,"data-tabular-nums":D},M],...L("table"),...F,children:N||!!O&&(0,n.jsx)(P,{data:O})})})});N.classes=m,N.displayName="@mantine/core/Table",N.Td=b,N.Th=v,N.Tr=E,N.Thead=w,N.Tbody=S,N.Tfoot=A,N.Caption=_,N.ScrollContainer=O,N.DataRenderer=P},85202(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertItemToConversationMessage=void 0;const n=r(97973);t.convertItemToConversationMessage=({content:e,createdAt:t,id:r,conversationId:o,role:i})=>({content:(0,n.deserializeContent)(e??[]),conversationId:o,createdAt:t,id:r,role:i})},85345(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidDate=void 0,t.isValidDate=function(e){return e instanceof Date&&!isNaN(e)}},85351(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.putEvents=void 0;const n=r(91537),o=r(50057),i=r(6465),a=r(39930),s=r(11923),c=r(53838),u=r(64672);t.putEvents=(0,o.composeServiceApi)(n.authenticatedHandler,({ApplicationId:e,EventsRequest:t},r)=>{(0,u.assert)(!!e,u.PinpointValidationErrorCode.NoAppId);const n=(0,c.getSharedHeaders)(),o=new s.AmplifyUrl(r.url);return o.pathname=`v1/apps/${(0,i.extendedEncodeURIComponent)(e)}/events`,{method:"POST",headers:n,url:o,body:JSON.stringify(t??{})}},async e=>{if(e.statusCode>=300)throw await(0,a.parseJsonError)(e);{const{Results:t}=await(0,a.parseJsonBody)(e);return{EventsResponse:{Results:t},$metadata:(0,a.parseMetadata)(e)}}},c.defaultConfig)},85500(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},85533(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestApiError=void 0;const n=r(22651);class o extends n.ApiError{constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}t.RestApiError=o},85737(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceWorker=void 0;var n=r(69384);Object.defineProperty(t,"ServiceWorker",{enumerable:!0,get:function(){return n.ServiceWorkerClass}})},85761(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lastValueFrom=void 0;var n=r(59328);t.lastValueFrom=function(e,t){var r="object"==typeof t;return new Promise(function(o,i){var a,s=!1;e.subscribe({next:function(e){a=e,s=!0},error:i,complete:function(){s?o(a):r?o(t.defaultValue):i(new n.EmptyError)}})})}},85934(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;var n=r(65212),o=r(17214);t.filter=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}},86297(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInvalidObservableTypeError=void 0,t.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},86313(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHkdfKey=void 0;const n=r(136);t.getHkdfKey=(e,t,r)=>{const o=new n.Sha256(t);o.update(e);const i=o.digestSync(),a=new n.Sha256(i);return a.update(r),a.digestSync().slice(0,16)}},86344(e,t,r){"use strict";r.d(t,{r:()=>o});var n=r(89569);function o(e,t){const r=(0,n.g)({color:e||t.primaryColor,theme:t});return r.variable?`var(${r.variable})`:e}},86369(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signIn=async function(e){(0,u.resetAutoSignIn)(!1);const t=e.options?.authFlowType;switch(await(0,n.assertUserNotAuthenticated)(),t){case"USER_SRP_AUTH":default:return(0,a.signInWithSRP)(e);case"USER_PASSWORD_AUTH":return(0,s.signInWithUserPassword)(e);case"CUSTOM_WITHOUT_SRP":return(0,o.signInWithCustomAuth)(e);case"CUSTOM_WITH_SRP":return(0,i.signInWithCustomSRPAuth)(e);case"USER_AUTH":return(0,c.signInWithUserAuth)(e)}};const n=r(78040),o=r(79048),i=r(3957),a=r(26346),s=r(63231),c=r(84060),u=r(19578)},86578(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundProcessManager=void 0;const n=r(9686),o=r(66477);class i{constructor(){this._state=o.BackgroundProcessManagerState.Open,this.jobs=new Set}add(e,t){let r,n;"string"==typeof e?(r=void 0,n=e):(r=e,n=t);const o=this.closedFailure(n);if(o)return o;if(void 0===r)return this.addHook(n);if("function"==typeof r)return this.addFunction(r,n);if(!(r instanceof i))throw new Error("If `job` is provided, it must be an Observable, Function, or BackgroundProcessManager.");this.addManager(r,n)}addCleaner(e,t){const{resolve:r,onTerminate:n}=this.addHook(t),o=async()=>{await e(),r()};return n.then(o),o}addFunction(e,t){let r;const n=e(new Promise(e=>{r=e}));return"function"==typeof n?.then&&this.registerPromise(n,r,t),n}addManager(e,t){this.addCleaner(async()=>e.close(),t)}addHook(e){let t,r;const n=new Promise((e,n)=>{t=e,r=n});let o;const i=new Promise(e=>{o=e});return this.registerPromise(n,o,e),{resolve:t,reject:r,onTerminate:i}}registerPromise(e,t,r){const n={promise:e,terminate:t,description:r};this.jobs.add(n),e.then(()=>{this.jobs.delete(n)}).catch(()=>{this.jobs.delete(n)})}get length(){return this.jobs.size}get state(){return this._state}get pending(){return Array.from(this.jobs).map(e=>e.description)}get isOpen(){return this._state===o.BackgroundProcessManagerState.Open}get isClosing(){return this._state===o.BackgroundProcessManagerState.Closing}get isClosed(){return this._state===o.BackgroundProcessManagerState.Closed}closedFailure(e){if(!this.isOpen)return Promise.reject(new n.BackgroundManagerNotOpenError([`The manager is ${this.state}.`,`You tried to add "${e}".`,`Pending jobs: [\n${this.pending.map(e=>" "+e).join(",\n")}\n]`].join("\n")))}async close(){if(this.isOpen){this._state=o.BackgroundProcessManagerState.Closing;for(const e of Array.from(this.jobs))try{e.terminate()}catch(t){console.warn(`Failed to send termination signal to job. Error: ${t.message}`,e)}this._closingPromise=Promise.allSettled(Array.from(this.jobs).map(e=>e.promise)),await this._closingPromise,this._state=o.BackgroundProcessManagerState.Closed}return this._closingPromise}async open(){this.isClosing&&await this.close(),this._state=o.BackgroundProcessManagerState.Open}}t.BackgroundProcessManager=i},86632(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustMap=void 0;var n=r(26872),o=r(19724),i=r(65212),a=r(17214);t.exhaustMap=function e(t,r){return r?function(i){return i.pipe(e(function(e,i){return o.innerFrom(t(e,i)).pipe(n.map(function(t,n){return r(e,t,i,n)}))}))}:i.operate(function(e,r){var n=0,i=null,s=!1;e.subscribe(a.createOperatorSubscriber(r,function(e){i||(i=a.createOperatorSubscriber(r,void 0,function(){i=null,s&&r.complete()}),o.innerFrom(t(e,n++)).subscribe(i))},function(){s=!0,!i&&r.complete()}))})}},86635(e,t,r){"use strict";function n(){return"undefined"!=typeof window}function o(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!n()&&(e instanceof Node||e instanceof i(e).Node)}function c(e){return!!n()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!n()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function l(e){return!(!n()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}r.d(t,{$4:()=>I,CP:()=>C,L9:()=>P,Lv:()=>h,Ng:()=>l,Tc:()=>S,Tf:()=>g,ZU:()=>p,_m:()=>k,ep:()=>a,eu:()=>_,gJ:()=>w,mq:()=>o,sQ:()=>E,sb:()=>u,v9:()=>O,vq:()=>c,zk:()=>i});const d=new Set(["inline","contents"]);function p(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=P(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!d.has(o)}const f=new Set(["table","td","th"]);function h(e){return f.has(o(e))}const m=[":popover-open",":modal"];function g(e){return m.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const y=["transform","translate","scale","rotate","perspective"],v=["transform","translate","scale","rotate","perspective","filter"],b=["paint","layout","strict","content"];function E(e){const t=S(),r=c(e)?P(e):e;return y.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||v.some(e=>(r.willChange||"").includes(e))||b.some(e=>(r.contain||"").includes(e))}function w(e){let t=I(e);for(;u(t)&&!_(t);){if(E(t))return t;if(g(t))return null;t=I(t)}return null}function S(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const A=new Set(["html","body","#document"]);function _(e){return A.has(o(e))}function P(e){return i(e).getComputedStyle(e)}function C(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function I(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||l(e)&&e.host||a(e);return l(t)?t.host:t}function x(e){const t=I(e);return _(t)?e.ownerDocument?e.ownerDocument.body:e.body:u(t)&&p(t)?t:x(t)}function O(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=x(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),s=i(o);if(a){const e=k(s);return t.concat(s,s.visualViewport||[],p(o)?o:[],e&&r?O(e):[])}return t.concat(o,O(o,[],r))}function k(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},86764(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isApiGraphQLConfig=function(e){return void 0!==e}},86777(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthUserAgentValue=void 0;const n=r(22651);t.getAuthUserAgentValue=(e,t)=>(0,n.getAmplifyUserAgent)({category:n.Category.Auth,action:e,...t})},86945(e,t,r){"use strict";r.d(t,{U:()=>o});var n=r(51609);function o(e,t,{getInitialValueInEffect:r}={getInitialValueInEffect:!0}){const[o,i]=(0,n.useState)(r?t:function(e){return"undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia(e).matches}(e));return(0,n.useEffect)(()=>{try{const t=window.matchMedia(e);return i(t.matches),function(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch(r){return e.addListener(t),()=>e.removeListener(t)}}(t,e=>i(e.matches))}catch(e){return}},[e]),o||!1}},87281(e,t,r){"use strict";var n=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.generate=void 0;var o=r(87699),i=r(68596),a=r(35884),s=r(36805);t.generate=function(e,t,r,c,u){var l,d,p,f;function h(){var e;return n(this,function(n){switch(n.label){case 0:e=f,n.label=1;case 1:return t&&!t(e)?[3,4]:[4,p(e)];case 2:n.sent(),n.label=3;case 3:return e=r(e),[3,1];case 4:return[2]}})}return 1===arguments.length?(f=(l=e).initialState,t=l.condition,r=l.iterate,d=l.resultSelector,p=void 0===d?o.identity:d,u=l.scheduler):(f=e,!c||i.isScheduler(c)?(p=o.identity,u=c):p=c),a.defer(u?function(){return s.scheduleIterable(h(),u)}:h)}},87287(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return`${e[0].toUpperCase()}${e.slice(1)}`}},87525(e,t,r){"use strict";var n;r.d(t,{m:()=>n}),function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"}(n||(n={}))},87567(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.TokenProviderErrorCode=void 0;const n=r(22651);var o;!function(e){e.InvalidAuthTokens="InvalidAuthTokens"}(o||(t.TokenProviderErrorCode=o={}));const i={[o.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}};t.assert=(0,n.createAssertionFunction)(i)},87614(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.ServiceWorkerErrorCode=void 0;const n=r(1123);var o;!function(e){e.UndefinedInstance="UndefinedInstance",e.UndefinedRegistration="UndefinedRegistration",e.Unavailable="Unavailable"}(o||(t.ServiceWorkerErrorCode=o={}));const i={[o.UndefinedInstance]:{message:"Service Worker instance is undefined."},[o.UndefinedRegistration]:{message:"Service Worker registration is undefined."},[o.Unavailable]:{message:"Service Worker not available."}};t.assert=(0,n.createAssertionFunction)(i)},87660(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityIdStorageKeys=void 0,t.IdentityIdStorageKeys={identityId:"identityId"}},87699(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0,t.identity=function(e){return e}},87924(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=t.jitteredExponentialRetry=t.jitteredBackoff=t.isNonRetryableError=t.NonRetryableError=void 0;var n=r(6711);Object.defineProperty(t,"NonRetryableError",{enumerable:!0,get:function(){return n.NonRetryableError}});var o=r(64151);Object.defineProperty(t,"isNonRetryableError",{enumerable:!0,get:function(){return o.isNonRetryableError}});var i=r(58821);Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return i.jitteredBackoff}});var a=r(17530);Object.defineProperty(t,"jitteredExponentialRetry",{enumerable:!0,get:function(){return a.jitteredExponentialRetry}});var s=r(97542);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return s.retry}})},87986(e,t,r){"use strict";r.d(t,{A:()=>n});var n={dropdown:"m_88b62a41",search:"m_985517d8",options:"m_b2821a6e",option:"m_92253aa5",empty:"m_2530cd1d",header:"m_858f94bd",footer:"m_82b967cb",group:"m_254f3e4f",groupLabel:"m_2bb2e9e5",chevron:"m_2943220b",optionsDropdownOption:"m_390b5f4",optionsDropdownCheckIcon:"m_8ee53fc2",optionsDropdownCheckPlaceholder:"m_a530ee0a"}},88143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAssertionFunction=void 0;const n=r(41185);t.createAssertionFunction=(e,t=n.AmplifyError)=>(r,n,o)=>{const{message:i,recoverySuggestion:a}=e[n];if(!r)throw new t({name:n,message:o?`${i} ${o}`:i,recoverySuggestion:a})}},88149(e,t,r){"use strict";function n(e){return"0rem"===e?"0rem":`calc(${e} * var(--mantine-scale))`}function o(e,{shouldScale:t=!1}={}){return function r(o){if(0===o||"0"===o)return`0${e}`;if("number"==typeof o){const r=`${o/16}${e}`;return t?n(r):r}if("string"==typeof o){if(""===o)return o;if(o.startsWith("calc(")||o.startsWith("clamp(")||o.includes("rgba("))return o;if(o.includes(","))return o.split(",").map(e=>r(e)).join(",");if(o.includes(" "))return o.split(" ").map(e=>r(e)).join(" ");const i=o.replace("px","");if(!Number.isNaN(Number(i))){const r=`${Number(i)/16}${e}`;return t?n(r):r}}return o}}r.d(t,{D:()=>i,em:()=>a});const i=o("rem",{shouldScale:!0}),a=o("em")},88236(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18n=void 0;const n=r(69580),o=r(81318),i=r(92813),a=new n.ConsoleLogger("I18n");let s={language:null},c=null;class u{static configure(e){return a.debug("configure I18n"),e?(s=Object.assign({},s,e.I18n||e),u.createInstance(),s):s}static getModuleName(){return"I18n"}static createInstance(){a.debug("create I18n instance"),c||(c=new o.I18n)}static setLanguage(e){u.checkConfig(),(0,i.assert)(!!c,i.I18nErrorCode.NotConfigured),c.setLanguage(e)}static get(e,t){return u.checkConfig()?((0,i.assert)(!!c,i.I18nErrorCode.NotConfigured),c.get(e,t)):void 0===t?e:t}static putVocabulariesForLanguage(e,t){u.checkConfig(),(0,i.assert)(!!c,i.I18nErrorCode.NotConfigured),c.putVocabulariesForLanguage(e,t)}static putVocabularies(e){u.checkConfig(),(0,i.assert)(!!c,i.I18nErrorCode.NotConfigured),c.putVocabularies(e)}static checkConfig(){return c||u.createInstance(),!0}}t.I18n=u,u.createInstance()},88246(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestInit=t.combineLatest=void 0;var n=r(48051),o=r(50439),i=r(47058),a=r(87699),s=r(13916),c=r(26404),u=r(15810),l=r(17214),d=r(28619);function p(e,t,r){return void 0===r&&(r=a.identity),function(n){f(t,function(){for(var o=e.length,a=new Array(o),s=o,c=o,u=function(o){f(t,function(){var u=i.from(e[o],t),d=!1;u.subscribe(l.createOperatorSubscriber(n,function(e){a[o]=e,d||(d=!0,c--),c||n.next(r(a.slice()))},function(){--s||n.complete()}))},n)},d=0;d<o;d++)u(d)},n)}}function f(e,t,r){e?d.executeSchedule(r,e,t):t()}t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=c.popScheduler(e),l=c.popResultSelector(e),d=o.argsArgArrayOrObject(e),f=d.args,h=d.keys;if(0===f.length)return i.from([],r);var m=new n.Observable(p(f,r,h?function(e){return u.createObject(h,e)}:a.identity));return l?m.pipe(s.mapOneOrManyArgs(l)):m},t.combineLatestInit=p},88269(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairs=void 0;var n=r(47058);t.pairs=function(e,t){return n.from(Object.entries(e),t)}},88453(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultIdentityIdStore=t.CognitoAWSCredentialsAndIdentityIdProvider=t.cognitoCredentialsProvider=void 0;const n=r(56547),o=r(58253);Object.defineProperty(t,"DefaultIdentityIdStore",{enumerable:!0,get:function(){return o.DefaultIdentityIdStore}});const i=r(1230);Object.defineProperty(t,"CognitoAWSCredentialsAndIdentityIdProvider",{enumerable:!0,get:function(){return i.CognitoAWSCredentialsAndIdentityIdProvider}}),t.cognitoCredentialsProvider=new i.CognitoAWSCredentialsAndIdentityIdProvider(new o.DefaultIdentityIdStore(n.defaultStorage))},88516(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateState=t.validationRecoverySuggestion=t.validationFailedMessage=t.flowCancelledMessage=void 0;const n=r(43518),o=r(50326),i=r(80227);t.flowCancelledMessage="`signInWithRedirect` has been canceled.",t.validationFailedMessage="An error occurred while validating the state.",t.validationRecoverySuggestion="Try to initiate an OAuth flow from Amplify",t.validateState=async e=>{const r=await i.oAuthStore.loadOAuthState(),a=e===r?r:void 0;if(!a)throw new n.AuthError({name:o.AuthErrorTypes.OAuthSignInError,message:null===e?t.flowCancelledMessage:t.validationFailedMessage,recoverySuggestion:null===e?void 0:t.validationRecoverySuggestion});return a}},88589(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.count=void 0;var n=r(92070);t.count=function(e){return n.reduce(function(t,r,n){return!e||e(r,n)?t+1:t},0)}},88616(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.fromEvent=void 0;var o=r(19724),i=r(48051),a=r(67478),s=r(94975),c=r(10281),u=r(13916),l=["addListener","removeListener"],d=["addEventListener","removeEventListener"],p=["on","off"];function f(e,t){return function(r){return function(n){return e[r](t,n)}}}t.fromEvent=function e(t,r,h,m){if(c.isFunction(h)&&(m=h,h=void 0),m)return e(t,r,h).pipe(u.mapOneOrManyArgs(m));var g=n(function(e){return c.isFunction(e.addEventListener)&&c.isFunction(e.removeEventListener)}(t)?d.map(function(e){return function(n){return t[e](r,n,h)}}):function(e){return c.isFunction(e.addListener)&&c.isFunction(e.removeListener)}(t)?l.map(f(t,r)):function(e){return c.isFunction(e.on)&&c.isFunction(e.off)}(t)?p.map(f(t,r)):[],2),y=g[0],v=g[1];if(!y&&s.isArrayLike(t))return a.mergeMap(function(t){return e(t,r,h)})(o.innerFrom(t));if(!y)throw new TypeError("Invalid event target");return new i.Observable(function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return y(t),function(){return v(t)}})}},88877(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.audit=void 0;var n=r(65212),o=r(19724),i=r(17214);t.audit=function(e){return n.operate(function(t,r){var n=!1,a=null,s=null,c=!1,u=function(){if(null==s||s.unsubscribe(),s=null,n){n=!1;var e=a;a=null,r.next(e)}c&&r.complete()},l=function(){s=null,c&&r.complete()};t.subscribe(i.createOperatorSubscriber(r,function(t){n=!0,a=t,s||o.innerFrom(e(t)).subscribe(s=i.createOperatorSubscriber(r,u,l))},function(){c=!0,(!n||!s||s.closed)&&r.complete()}))})}},89015(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.graphql=function(e,t){const r=(0,o.getInternals)(this),i=r.endpoint,a=r.authMode,s=r.apiKey;if(e.authMode=e.authMode||a,e.apiKey=e.apiKey??s,e.authToken=e.authToken||r.authToken,i&&"apiKey"===e.authMode&&!e.apiKey)throw new Error("graphql() requires an explicit `apiKey` for a custom `endpoint` when `authMode = 'apiKey'`.");const c=t||r.headers;return n.GraphQLAPI.graphql(r.amplify,{...e,endpoint:i},c)},t.cancel=function(e,t){return n.GraphQLAPI.cancel(e,t)},t.isCancelError=function(e){return n.GraphQLAPI.isCancelError(e)};const n=r(91339),o=r(82192)},89125(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateModelsProperty=function(e,t,r){const u={},l=t.modelIntrospection;if(!l)return{};const d=["ONCREATE","ONUPDATE","ONDELETE"];for(const t of Object.values(l.models)){const{name:p}=t;u[p]={};const f=(0,c.excludeDisabledOps)(l,p);Object.entries(f).forEach(([o,{operationPrefix:c}])=>{const f=o;"LIST"===f?u[p][c]=(0,n.listFactory)(e,l,t,r):d.includes(f)?u[p][c]=(0,a.subscriptionFactory)(e,l,t,f,r):u[p][c]="OBSERVEQUERY"===f?(0,s.observeQueryFactory)(u,t):(0,i.getFactory)(e,l,t,f,r)});const h=(0,c.getSecondaryIndexesFromSchemaModel)(t);for(const n of h)u[p][n.queryField]=(0,o.indexQueryFactory)(e,l,t,n,r)}return u};const n=r(23151),o=r(36135),i=r(68523),a=r(20042),s=r(55695),c=r(42368)},89244(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineAll=void 0;var n=r(67933);t.combineAll=n.combineLatestAll},89439(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchAuthSession=void 0,t.fetchAuthSession=(e,t)=>e.Auth.fetchAuthSession(t)},89555(e,t,r){"use strict";r.d(t,{Q:()=>s});var n=r(16736),o=r(87525);const i=e=>{let t;return()=>(t||(t=e()),t)},a=e=>!["HEAD","GET"].includes(e.toUpperCase()),s=async({url:e,method:t,headers:r,body:s},{abortSignal:c,cache:u,withCrossDomainCredentials:l})=>{let d;try{d=await fetch(e,{method:t,headers:r,body:a(t)?s:void 0,signal:c,cache:u,credentials:l?"include":"same-origin"})}catch(e){if(e instanceof TypeError)throw new n.x({name:o.m.NetworkError,message:"A network error has occurred.",underlyingError:e});throw e}const p={};return d.headers?.forEach((e,t)=>{p[t.toLowerCase()]=e}),{statusCode:d.status,headers:p,body:null,body:Object.assign(d.body??{},{text:i(()=>d.text()),blob:i(()=>d.blob()),json:i(()=>d.json())})}}},89569(e,t,r){"use strict";r.d(t,{g:()=>s});var n=r(80684),o=r(59444);function i(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function a(e,t=.179){return!e.startsWith("var(")&&function(e){if(e.startsWith("oklch("))return(function(e){const t=e.match(/oklch\((.*?)%\s/);return t?parseFloat(t[1]):null}(e)||0)/100;const{r:t,g:r,b:n}=(0,o.K)(e),a=r/255,s=n/255;return.2126*i(t/255)+.7152*i(a)+.0722*i(s)}(e)>t}function s({color:e,theme:t,colorScheme:r}){if("string"!=typeof e)throw new Error("[@mantine/core] Failed to parse color. Expected color to be a string, instead got "+typeof e);if("bright"===e)return{color:e,value:"dark"===r?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:a("dark"===r?t.white:t.black,t.luminanceThreshold),variable:"--mantine-color-bright"};if("dimmed"===e)return{color:e,value:"dark"===r?t.colors.dark[2]:t.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:a("dark"===r?t.colors.dark[2]:t.colors.gray[6],t.luminanceThreshold),variable:"--mantine-color-dimmed"};if("white"===e||"black"===e)return{color:e,value:"white"===e?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:a("white"===e?t.white:t.black,t.luminanceThreshold),variable:`--mantine-color-${e}`};const[o,i]=e.split("."),s=i?Number(i):void 0,c=o in t.colors;if(c){const e=void 0!==s?t.colors[o][s]:t.colors[o][(0,n.g)(t,r||"light")];return{color:o,value:e,shade:s,isThemeColor:c,isLight:a(e,t.luminanceThreshold),variable:i?`--mantine-color-${o}-${s}`:`--mantine-color-${o}-filled`}}return{color:e,value:e,isThemeColor:c,isLight:a(e,t.luminanceThreshold),shade:s,variable:void 0}}},89604(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.additionalHeadersFromOptions=t.realtimeUrlWithQueryString=t.queryParamsFromCustomHeaders=t.getRealtimeEndpointUrl=t.isCustomDomain=void 0;const n=r(22651),o="wss://",i=/^https:\/\/\w{26}\.appsync-api\.\w{2}(?:(?:-\w{2,})+)-\d\.amazonaws.com(?:\.cn)?\/graphql$/i,a=/^https:\/\/\w{26}\.\w+-api\.\w{2}(?:(?:-\w{2,})+)-\d\.amazonaws.com(?:\.cn)?\/event$/i,s="/realtime";t.isCustomDomain=e=>null===e.match(i),t.getRealtimeEndpointUrl=e=>{let r=e??"";return r=null!==r.match(a)?r.concat(s).replace("ddpg-api","grt-gamma").replace("appsync-api","appsync-realtime-api"):(0,t.isCustomDomain)(r)?r.concat(s):r.replace("appsync-api","appsync-realtime-api").replace("gogi-beta","grt-beta").replace("ddpg-api","grt-gamma"),r=r.replace("https://",o).replace("http://",o),new n.AmplifyUrl(r)},t.queryParamsFromCustomHeaders=e=>{const t=(e=>{if(!e)return{};if("Authorization"in e){const{Authorization:t,...r}=e;return r}return e})(e),r=new n.AmplifyUrlSearchParams;return Object.entries(t).forEach(([e,t])=>{r.append(e,t)}),r},t.realtimeUrlWithQueryString=(e,r)=>{const o=(0,t.getRealtimeEndpointUrl)(e),i=new n.AmplifyUrlSearchParams(o.search);for(const[e,t]of r.entries())i.append(e,t);return o.search=i.toString(),o.toString()},t.additionalHeadersFromOptions=async e=>{const{appSyncGraphqlEndpoint:t,query:r,libraryConfigHeaders:n=()=>({}),additionalHeaders:o={},authToken:i}=e;let a={};const s=await n();if("function"==typeof o){const e={url:t||"",queryString:r||""};a=await o(e)}else a=o;return i&&(a={...a,Authorization:i}),{additionalCustomHeaders:a,libraryConfigHeaders:s}}},89652(e,t,r){"use strict";r.d(t,{h:()=>m});var n=r(10790),o=(r(51609),r(59396)),i=r(46100),a=r(52837),s=r(11507),c=r(2412),u=r(88149);const l=["h1","h2","h3","h4","h5","h6"],d=["xs","sm","md","lg","xl"];var p={root:"m_8a5d1357"};const f={order:1},h=(0,o.V)((e,{order:t,size:r,lineClamp:n,textWrap:o})=>{const i=function(e,t){const r=void 0!==t?t:`h${e}`;return l.includes(r)?{fontSize:`var(--mantine-${r}-font-size)`,fontWeight:`var(--mantine-${r}-font-weight)`,lineHeight:`var(--mantine-${r}-line-height)`}:d.includes(r)?{fontSize:`var(--mantine-font-size-${r})`,fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}:{fontSize:(0,u.D)(r),fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}}(t||1,r);return{root:{"--title-fw":i.fontWeight,"--title-lh":i.lineHeight,"--title-fz":i.fontSize,"--title-line-clamp":"number"==typeof n?n.toString():void 0,"--title-text-wrap":o}}}),m=(0,c.P9)((e,t)=>{const r=(0,i.Y)("Title",f,e),{classNames:o,className:c,style:u,styles:l,unstyled:d,order:m,vars:g,size:y,variant:v,lineClamp:b,textWrap:E,mod:w,attributes:S,...A}=r,_=(0,a.I)({name:"Title",props:r,classes:p,className:c,style:u,classNames:o,styles:l,unstyled:d,attributes:S,vars:g,varsResolver:h});return[1,2,3,4,5,6].includes(m)?(0,n.jsx)(s.a,{..._("root"),component:`h${m}`,variant:v,ref:t,mod:[{order:m,"data-line-clamp":"number"==typeof b},w],size:y,...A}):null});m.classes=p,m.displayName="@mantine/core/Title"},89795(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.raceInit=t.race=void 0;var n=r(48051),o=r(19724),i=r(7652),a=r(17214);function s(e){return function(t){for(var r=[],n=function(n){r.push(o.innerFrom(e[n]).subscribe(a.createOperatorSubscriber(t,function(e){if(r){for(var o=0;o<r.length;o++)o!==n&&r[o].unsubscribe();r=null}t.next(e)})))},i=0;r&&!t.closed&&i<e.length;i++)n(i)}}t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=i.argsOrArgArray(e)).length?o.innerFrom(e[0]):new n.Observable(s(e))},t.raceInit=s},89814(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presignUrl=void 0;const n=r(11923),o=r(15130),i=r(96640),a=r(67403);t.presignUrl=({body:e,method:t="GET",url:r},{expiration:s,...c})=>{const u=(0,i.getSigningValues)(c),{accessKeyId:l,credentialScope:d,longDate:p,sessionToken:f}=u,h=new n.AmplifyUrl(r);Object.entries({[o.ALGORITHM_QUERY_PARAM]:o.SHA256_ALGORITHM_IDENTIFIER,[o.CREDENTIAL_QUERY_PARAM]:`${l}/${d}`,[o.AMZ_DATE_QUERY_PARAM]:p,[o.SIGNED_HEADERS_QUERY_PARAM]:o.HOST_HEADER,...s&&{[o.EXPIRES_QUERY_PARAM]:s.toString()},...f&&{[o.TOKEN_QUERY_PARAM]:f}}).forEach(([e,t])=>{h.searchParams.append(e,t)});const m={body:e,headers:{[o.HOST_HEADER]:r.host},method:t,url:h},g=(0,a.getSignature)(m,u);return h.searchParams.append(o.SIGNATURE_QUERY_PARAM,g),h}},90037(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowTime=void 0;var n=r(76808),o=r(62326),i=r(69879),a=r(65212),s=r(17214),c=r(54830),u=r(26404),l=r(28619);t.windowTime=function(e){for(var t,r,d=[],p=1;p<arguments.length;p++)d[p-1]=arguments[p];var f=null!==(t=u.popScheduler(d))&&void 0!==t?t:o.asyncScheduler,h=null!==(r=d[0])&&void 0!==r?r:null,m=d[1]||1/0;return a.operate(function(t,r){var o=[],a=!1,u=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),c.arrRemove(o,e),a&&d()},d=function(){if(o){var t=new i.Subscription;r.add(t);var a=new n.Subject,s={window:a,subs:t,seen:0};o.push(s),r.next(a.asObservable()),l.executeSchedule(t,f,function(){return u(s)},e)}};null!==h&&h>=0?l.executeSchedule(r,f,d,h,!0):a=!0,d();var p=function(e){return o.slice().forEach(e)},g=function(e){p(function(t){var r=t.window;return e(r)}),e(r),r.unsubscribe()};return t.subscribe(s.createOperatorSubscriber(r,function(e){p(function(t){t.window.next(e),m<=++t.seen&&u(t)})},function(){return g(function(e){return e.complete()})},function(e){return g(function(t){return t.error(e)})})),function(){o=null}})}},90077(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repackageUnauthorizedError=function(e){return e.errors&&Array.isArray(e.errors)&&e.errors.forEach(e=>{var t;t=e,(t?.originalError?.name?.startsWith("UnauthorizedException")||t.message?.startsWith("Connection failed:")&&t.message?.includes("Permission denied"))&&(e.message="Unauthorized",e.recoverySuggestion="If you're calling an Amplify-generated API, make sure to set the \"authMode\" in generateClient({ authMode: '...' }) to the backend authorization rule's auth provider ('apiKey', 'userPool', 'iam', 'oidc', 'lambda')")}),e}},90195(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateEndpoint=t.putEvents=t.getInAppMessages=void 0;var n=r(2757);Object.defineProperty(t,"getInAppMessages",{enumerable:!0,get:function(){return n.getInAppMessages}});var o=r(85351);Object.defineProperty(t,"putEvents",{enumerable:!0,get:function(){return o.putEvents}});var i=r(52999);Object.defineProperty(t,"updateEndpoint",{enumerable:!0,get:function(){return i.updateEndpoint}})},90413(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogger=void 0;const n=r(68582),o=r(24489),i={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class a{constructor(e,t=o.LogType.WARN){this.name=e,this.level=t,this._pluggables=[]}_padding(e){return e<10?"0"+e:""+e}_ts(){const e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()}configure(e){return e?(this._config=e,this._config):this._config}_log(e,...t){let r=this.level;if(a.LOG_LEVEL&&(r=a.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(r=window.LOG_LEVEL),!(i[e]>=i[r]))return;let n=console.log.bind(console);e===o.LogType.ERROR&&console.error&&(n=console.error.bind(console)),e===o.LogType.WARN&&console.warn&&(n=console.warn.bind(console)),a.BIND_ALL_LOG_LEVELS&&(e===o.LogType.INFO&&console.info&&(n=console.info.bind(console)),e===o.LogType.DEBUG&&console.debug&&(n=console.debug.bind(console)));const s=`[${e}] ${this._ts()} ${this.name}`;let c="";if(1===t.length&&"string"==typeof t[0])c=`${s} - ${t[0]}`,n(c);else if(1===t.length)c=`${s} ${t[0]}`,n(s,t[0]);else if("string"==typeof t[0]){let e=t.slice(1);1===e.length&&(e=e[0]),c=`${s} - ${t[0]} ${e}`,n(`${s} - ${t[0]}`,e)}else c=`${s} ${t}`,n(s,t);for(const e of this._pluggables){const t={message:c,timestamp:Date.now()};e.pushLogs([t])}}log(...e){this._log(o.LogType.INFO,...e)}info(...e){this._log(o.LogType.INFO,...e)}warn(...e){this._log(o.LogType.WARN,...e)}error(...e){this._log(o.LogType.ERROR,...e)}debug(...e){this._log(o.LogType.DEBUG,...e)}verbose(...e){this._log(o.LogType.VERBOSE,...e)}addPluggable(e){e&&e.getCategoryName()===n.AWS_CLOUDWATCH_CATEGORY&&(this._pluggables.push(e),e.configure(this._config))}listPluggables(){return this._pluggables}}t.ConsoleLogger=a,a.LOG_LEVEL=null,a.BIND_ALL_LOG_LEVELS=!1},90472(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WordArray=void 0;const n=r(80369);class o{constructor(e,t){this.words=[];let r=e;r=this.words=r||[],this.sigBytes=void 0!==t?t:4*r.length}random(e){const t=[];for(let r=0;r<e;r+=4)t.push((0,n.cryptoSecureRandomInt)());return new o(t,e)}toString(){return function(e){const{words:t}=e,{sigBytes:r}=e,n=[];for(let e=0;e<r;e++){const r=t[e>>>2]>>>24-e%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")}(this)}}t.WordArray=o},90555(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSchemaToClient=function(e,t,r){return(0,n.upgradeClientCancellation)(e),e.models=(0,n.generateModelsProperty)(e,t,r),e.enums=(0,n.generateEnumsProperty)(t),e.queries=(0,n.generateCustomQueriesProperty)(e,t,r),e.mutations=(0,n.generateCustomMutationsProperty)(e,t,r),e.subscriptions=(0,n.generateCustomSubscriptionsProperty)(e,t,r),e.conversations=(0,n.generateConversationsProperty)(e,t,r),e.generations=(0,n.generateGenerationsProperty)(e,t,r),e};const n=r(63344)},90680(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMap=void 0;var n=r(19724),o=r(65212),i=r(17214);t.switchMap=function(e,t){return o.operate(function(r,o){var a=null,s=0,c=!1,u=function(){return c&&!a&&o.complete()};r.subscribe(i.createOperatorSubscriber(o,function(r){null==a||a.unsubscribe();var c=0,l=s++;n.innerFrom(e(r,l)).subscribe(a=i.createOperatorSubscriber(o,function(e){return o.next(t?t(r,e,l,c++):e)},function(){a=null,u()}))},function(){c=!0,u()}))})}},90746(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCredentials=function(){return n.Amplify.Auth.clearCredentials()};const n=r(28269)},91078(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(29531),t)},91109(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.authErrorMessages=t.NoUserPoolError=t.AuthError=void 0;const n=r(56547),o=r(70928),i=new n.ConsoleLogger("AuthError");class a extends Error{constructor(e){const{message:r,log:n}=t.authErrorMessages[e];super(r),this.constructor=a,Object.setPrototypeOf(this,a.prototype),this.name="AuthError",this.log=n||r,i.error(this.log)}}t.AuthError=a;class s extends a{constructor(e){super(e),this.constructor=s,Object.setPrototypeOf(this,s.prototype),this.name="NoUserPoolError"}}t.NoUserPoolError=s,t.authErrorMessages={oauthSignInError:{message:o.AuthErrorStrings.OAUTH_ERROR,log:"Make sure Cognito Hosted UI has been configured correctly"},noConfig:{message:o.AuthErrorStrings.DEFAULT_MSG,log:"\n Error: Amplify has not been configured correctly.\n This error is typically caused by one of the following scenarios:\n\n 1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n \n 2. There might be multiple conflicting versions of amplify packages in your node_modules.\n\t\t\t\tRefer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n "},missingAuthConfig:{message:o.AuthErrorStrings.DEFAULT_MSG,log:"\n Error: Amplify has not been configured correctly. \n The configuration object is missing required auth properties.\n This error is typically caused by one of the following scenarios:\n\n 1. Did you run `amplify push` after adding auth via `amplify add auth`?\n See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n 2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n "},emptyUsername:{message:o.AuthErrorStrings.EMPTY_USERNAME},invalidUsername:{message:o.AuthErrorStrings.INVALID_USERNAME},emptyPassword:{message:o.AuthErrorStrings.EMPTY_PASSWORD},emptyCode:{message:o.AuthErrorStrings.EMPTY_CODE},signUpError:{message:o.AuthErrorStrings.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:o.AuthErrorStrings.NO_MFA},invalidMFA:{message:o.AuthErrorStrings.INVALID_MFA},emptyChallengeResponse:{message:o.AuthErrorStrings.EMPTY_CHALLENGE},noUserSession:{message:o.AuthErrorStrings.NO_USER_SESSION},deviceConfig:{message:o.AuthErrorStrings.DEVICE_CONFIG},networkError:{message:o.AuthErrorStrings.NETWORK_ERROR},autoSignInError:{message:o.AuthErrorStrings.AUTOSIGNIN_ERROR},default:{message:o.AuthErrorStrings.DEFAULT_MSG}}},91249(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithRedirect=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t),(0,o.assertOAuthConfig)(t),c.oAuthStore.setAuthConfig(t),e?.options?.prompt||await(0,s.assertUserNotAuthenticated)();let r,a="COGNITO";return"string"==typeof e?.provider?a=i.cognitoHostedUIIdentityProviderMap[e.provider]:e?.provider?.custom?a=e.provider.custom:e?.provider?.idpIdentifier&&({idpIdentifier:r}=e.provider),d({oauthConfig:t.loginWith.oauth,clientId:t.userPoolClientId,provider:a,idpIdentifier:r,customState:e?.customState,preferPrivateSession:e?.options?.preferPrivateSession,options:{loginHint:e?.options?.loginHint,lang:e?.options?.lang,nonce:e?.options?.nonce,prompt:e?.options?.prompt},authSessionOpener:e?.options?.authSessionOpener})};const n=r(56547),o=r(22651);r(54937);const i=r(9901),a=r(17238),s=r(78040),c=r(7479),u=r(19804),l=r(35782),d=async({oauthConfig:e,provider:t,idpIdentifier:r,clientId:n,customState:i,preferPrivateSession:s,options:d,authSessionOpener:p})=>{const{domain:f,redirectSignIn:h,responseType:m,scopes:g}=e,{loginHint:y,lang:v,nonce:b,prompt:E}=d??{},w=(0,c.generateState)(),S=p||a.openAuthSession,A=i?`${w}-${(0,o.urlSafeEncode)(i)}`:w,{value:_,method:P,toCodeChallenge:C}=(0,c.generateCodeVerifier)(128),I=(0,c.getRedirectUrl)(e.redirectSignIn);(0,o.isBrowser)()&&c.oAuthStore.storeOAuthInFlight(!0),c.oAuthStore.storeOAuthState(A),c.oAuthStore.storePKCE(_);const x=new URLSearchParams([["redirect_uri",I],["response_type",m],["client_id",n]]);r?x.append("idp_identifier",r):x.append("identity_provider",t),x.append("scope",g.join(" ")),y&&x.append("login_hint",y),v&&x.append("lang",v),b&&x.append("nonce",b),E&&x.append("prompt",E.toLowerCase()),x.append("state",A),"code"===m&&(x.append("code_challenge",C()),x.append("code_challenge_method",P));const O=`https://${f}/oauth2/authorize?${x.toString()}`;(0,l.listenForOAuthFlowCancellation)(c.oAuthStore);const{type:k,error:T,url:N}=await S(O,h,s)??{};try{if("error"===k)throw(0,u.createOAuthError)(String(T));if("canceled"===k)throw(0,u.createOAuthError)(String(k));"success"===k&&N&&await(0,c.completeOAuthFlow)({currentUrl:N,clientId:n,domain:f,redirectUri:I,responseType:m,userAgentValue:(0,a.getAuthUserAgentValue)(o.AuthAction.SignInWithRedirect),preferPrivateSession:s})}catch(e){throw await(0,c.handleFailure)(e),e}}},91276(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},91339(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLAPI=t.GraphQLAPIClass=t.graphqlOperation=void 0;const n=r(22651),o=r(57309),i=r(63169);t.graphqlOperation=(e,t={},r)=>({query:e,variables:t,authToken:r});class a extends i.InternalGraphQLAPIClass{getModuleName(){return"GraphQLAPI"}graphql(e,t,r){const i={category:n.Category.API,action:n.ApiAction.GraphQl};if(function(e){return o.INTERNAL_USER_AGENT_OVERRIDE in e}(t)){const{[o.INTERNAL_USER_AGENT_OVERRIDE]:n,...a}=t;return super.graphql(e,a,r,{...i,...n})}return super.graphql(e,t,r,{...i})}isCancelError(e){return super.isCancelError(e)}cancel(e,t){return super.cancel(e,t)}}t.GraphQLAPIClass=a,t.GraphQLAPI=new a},91387(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patch=t.head=t.del=t.put=t.post=t.get=void 0;const n=r(56547),o=r(82345);t.get=e=>(0,o.get)(n.Amplify,e),t.post=e=>(0,o.post)(n.Amplify,e),t.put=e=>(0,o.put)(n.Amplify,e),t.del=e=>(0,o.del)(n.Amplify,e),t.head=e=>(0,o.head)(n.Amplify,e),t.patch=e=>(0,o.patch)(n.Amplify,e)},91537(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.authenticatedHandler=void 0;const n=r(92896),o=r(95593),i=r(72674),a=r(49615),s=r(19676);t.authenticatedHandler=(0,a.composeTransferHandler)(s.fetchTransferHandler,[i.userAgentMiddlewareFactory,n.amzSdkInvocationIdHeaderMiddlewareFactory,n.retryMiddlewareFactory,n.amzSdkRequestHeaderMiddlewareFactory,o.signingMiddlewareFactory])},91625(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseSigningInfo=void 0;const n=r(96126);t.parseSigningInfo=(e,t)=>{const{service:r=n.DEFAULT_REST_IAM_SIGNING_SERVICE,region:o=n.DEFAULT_IAM_SIGNING_REGION}=t?.amplify.getConfig()?.API?.REST?.[t?.apiName]??{},{hostname:i}=e,[,a,s]=n.APIG_HOSTNAME_PATTERN.exec(i)??[];return a===n.DEFAULT_REST_IAM_SIGNING_SERVICE?{service:a,region:s??o}:"appsync-api"===a?{service:"appsync",region:s??o}:{service:r,region:o}}},91752(e,t,r){"use strict";r.d(t,{v:()=>o});var n=r(86344);function o(e,t){const r={from:e?.from||t.defaultGradient.from,to:e?.to||t.defaultGradient.to,deg:e?.deg??t.defaultGradient.deg??0},o=(0,n.r)(r.from,t),i=(0,n.r)(r.to,t);return`linear-gradient(${r.deg}deg, ${o} 0%, ${i} 100%)`}},91970(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiError=t.isCancelError=t.patch=t.head=t.del=t.post=t.put=t.get=t.events=t.CONNECTION_STATE_CHANGE=t.ConnectionState=t.GraphQLAuthError=t.generateClient=void 0;var n=r(37138);Object.defineProperty(t,"generateClient",{enumerable:!0,get:function(){return n.generateClient}});var o=r(2554);Object.defineProperty(t,"GraphQLAuthError",{enumerable:!0,get:function(){return o.GraphQLAuthError}}),Object.defineProperty(t,"ConnectionState",{enumerable:!0,get:function(){return o.ConnectionState}});var i=r(2554);Object.defineProperty(t,"CONNECTION_STATE_CHANGE",{enumerable:!0,get:function(){return i.CONNECTION_STATE_CHANGE}}),Object.defineProperty(t,"events",{enumerable:!0,get:function(){return i.events}});var a=r(24521);Object.defineProperty(t,"get",{enumerable:!0,get:function(){return a.get}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return a.put}}),Object.defineProperty(t,"post",{enumerable:!0,get:function(){return a.post}}),Object.defineProperty(t,"del",{enumerable:!0,get:function(){return a.del}}),Object.defineProperty(t,"head",{enumerable:!0,get:function(){return a.head}}),Object.defineProperty(t,"patch",{enumerable:!0,get:function(){return a.patch}}),Object.defineProperty(t,"isCancelError",{enumerable:!0,get:function(){return a.isCancelError}});var s=r(22651);Object.defineProperty(t,"ApiError",{enumerable:!0,get:function(){return s.ApiError}})},91971(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setUpTOTP=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:f}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,u.assertAuthTokens)(f);const h=f.idToken?.payload["cognito:username"]??"",m=(0,d.createAssociateSoftwareTokenClient)({endpointResolver:(0,p.createCognitoUserPoolEndpointResolver)({endpointOverride:t})}),{SecretCode:g}=await m({region:(0,c.getRegionFromUserPoolId)(r),userAgentValue:(0,l.getAuthUserAgentValue)(o.AuthAction.SetUpTOTP)},{AccessToken:f.accessToken.toString()});if(!g)throw new i.AuthError({name:a.SETUP_TOTP_EXCEPTION,message:"Failed to set up TOTP."});return(0,s.getTOTPSetupDetails)(g,JSON.stringify(h))};const n=r(56547),o=r(22651),i=r(43518),a=r(11588),s=r(78040),c=r(62639),u=r(64166),l=r(17238),d=r(35456),p=r(28228)},92052(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestTools=t.Immediate=void 0;var r,n=1,o={};function i(e){return e in o&&(delete o[e],!0)}t.Immediate={setImmediate:function(e){var t=n++;return o[t]=!0,r||(r=Promise.resolve()),r.then(function(){return i(t)&&e()}),t},clearImmediate:function(e){i(e)}},t.TestTools={pending:function(){return Object.keys(o).length}}},92070(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;var n=r(78531),o=r(65212);t.reduce=function(e,t){return o.operate(n.scanInternals(e,t,arguments.length>=2,!1,!0))}},92359(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipLast=void 0;var n=r(87699),o=r(65212),i=r(17214);t.skipLast=function(e){return e<=0?n.identity:o.operate(function(t,r){var n=new Array(e),o=0;return t.subscribe(i.createOperatorSubscriber(r,function(t){var i=o++;if(i<e)n[i]=t;else{var a=i%e,s=n[a];n[a]=t,r.next(s)}})),function(){n=null}})}},92590(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleSelectChallengeWithPassword=async function(e,t,r,l,d){const{userPoolId:p,userPoolClientId:f,userPoolEndpoint:h}=l,m={ANSWER:"PASSWORD",USERNAME:e,PASSWORD:t},g=(0,c.getUserContextData)({username:e,userPoolId:p,userPoolClientId:f}),y=(0,o.createRespondToAuthChallengeClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:h})}),v=await y({region:(0,a.getRegionFromUserPoolId)(p),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:m,ClientId:f,ClientMetadata:r,Session:d,UserContextData:g}),b=v.ChallengeParameters?.USERNAME??e;return(0,u.setActiveSignInUsername)(b),v};const n=r(22651),o=r(35456),i=r(28228),a=r(62639),s=r(17238),c=r(99369),u=r(25279)},92679(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListConversationsFunction=void 0;const n=r(23151),o=r(19613),i=r(83102);t.createListConversationsFunction=(e,t,r,a,s,c)=>async u=>{const l=(0,n.listFactory)(e,t,a,c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.ListConversations)),{data:d,nextToken:p,errors:f}=await l(u);return{data:d.map(n=>(0,o.convertItemToConversation)(e,t,n.id,n.createdAt,n.updatedAt,r,s,c,n?.metadata,n?.name)),nextToken:p,errors:f}}},92813(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.I18nErrorCode=void 0;const n=r(1123);var o;!function(e){e.NotConfigured="NotConfigured"}(o||(t.I18nErrorCode=o={}));const i={[o.NotConfigured]:{message:"i18n is not configured."}};t.assert=(0,n.createAssertionFunction)(i)},92896(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.amzSdkRequestHeaderMiddlewareFactory=t.amzSdkInvocationIdHeaderMiddlewareFactory=t.getRetryDecider=t.jitteredBackoff=t.retryMiddlewareFactory=void 0;var n=r(14106);Object.defineProperty(t,"retryMiddlewareFactory",{enumerable:!0,get:function(){return n.retryMiddlewareFactory}});var o=r(83801);Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return o.jitteredBackoff}});var i=r(20749);Object.defineProperty(t,"getRetryDecider",{enumerable:!0,get:function(){return i.getRetryDecider}});var a=r(12852);Object.defineProperty(t,"amzSdkInvocationIdHeaderMiddlewareFactory",{enumerable:!0,get:function(){return a.amzSdkInvocationIdHeaderMiddlewareFactory}});var s=r(70512);Object.defineProperty(t,"amzSdkRequestHeaderMiddlewareFactory",{enumerable:!0,get:function(){return s.amzSdkRequestHeaderMiddlewareFactory}})},93106(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthUserAgentDetails=void 0;const n=r(22651);t.getAuthUserAgentDetails=(e,t)=>({category:n.Category.Auth,action:e,...t})},93135(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAmplifyConfig=t.sharedInMemoryStorage=t.sessionStorage=t.defaultStorage=t.CookieStorage=t.ServiceWorker=t.ConsoleLogger=t.Cache=t.I18n=t.Hub=void 0;var n=r(56547);Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return n.Hub}}),Object.defineProperty(t,"I18n",{enumerable:!0,get:function(){return n.I18n}}),Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return n.Cache}}),Object.defineProperty(t,"ConsoleLogger",{enumerable:!0,get:function(){return n.ConsoleLogger}}),Object.defineProperty(t,"ServiceWorker",{enumerable:!0,get:function(){return n.ServiceWorker}}),Object.defineProperty(t,"CookieStorage",{enumerable:!0,get:function(){return n.CookieStorage}}),Object.defineProperty(t,"defaultStorage",{enumerable:!0,get:function(){return n.defaultStorage}}),Object.defineProperty(t,"sessionStorage",{enumerable:!0,get:function(){return n.sessionStorage}}),Object.defineProperty(t,"sharedInMemoryStorage",{enumerable:!0,get:function(){return n.sharedInMemoryStorage}});var o=r(22651);Object.defineProperty(t,"parseAmplifyConfig",{enumerable:!0,get:function(){return o.parseAmplifyConfig}})},93162(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetCredentialsForIdentityClient=void 0;const n=r(7884),o=r(39236),i=r(4463),a=r(17943),s=r(18057),c=r(78744);t.createGetCredentialsForIdentityClient=e=>(0,o.composeServiceApi)(s.cognitoIdentityTransferHandler,(0,c.createClientSerializer)("GetCredentialsForIdentity"),u,{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e,userAgentValue:(0,i.getAmplifyUserAgent)()});const u=async e=>{if(e.statusCode>=300)throw await(0,n.parseJsonError)(e);const t=await(0,n.parseJsonBody)(e);return{IdentityId:t.IdentityId,Credentials:l(t.Credentials),$metadata:(0,n.parseMetadata)(e)}},l=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(1e3*e)})},93275(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},93405(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.share=void 0;var i=r(19724),a=r(76808),s=r(2708),c=r(65212);function u(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];if(!0!==t){if(!1!==t){var c=new s.SafeSubscriber({next:function(){c.unsubscribe(),e()}});return i.innerFrom(t.apply(void 0,o([],n(r)))).subscribe(c)}}else e()}t.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new a.Subject}:t,n=e.resetOnError,o=void 0===n||n,l=e.resetOnComplete,d=void 0===l||l,p=e.resetOnRefCountZero,f=void 0===p||p;return function(e){var t,n,a,l=0,p=!1,h=!1,m=function(){null==n||n.unsubscribe(),n=void 0},g=function(){m(),t=a=void 0,p=h=!1},y=function(){var e=t;g(),null==e||e.unsubscribe()};return c.operate(function(e,c){l++,h||p||m();var v=a=null!=a?a:r();c.add(function(){0!==--l||h||p||(n=u(y,f))}),v.subscribe(c),!t&&l>0&&(t=new s.SafeSubscriber({next:function(e){return v.next(e)},error:function(e){h=!0,m(),n=u(g,o,e),v.error(e)},complete:function(){p=!0,m(),n=u(g,d),v.complete()}}),i.innerFrom(e).subscribe(t))})(e)}}},93586(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEndpointId=void 0;const n=r(22918),o=r(67635);t.getEndpointId=async(e,t)=>{const r=(0,o.getCacheKey)(e,t);return await n.Cache.getItem(r)??void 0}},93728(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0,t.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},93812(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveLibraryOptions=t.resolveConfig=void 0;var n=r(11630);Object.defineProperty(t,"resolveConfig",{enumerable:!0,get:function(){return n.resolveConfig}});var o=r(11771);Object.defineProperty(t,"resolveLibraryOptions",{enumerable:!0,get:function(){return o.resolveLibraryOptions}})},93839(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDnsSuffix=void 0;const n=r(16474);t.getDnsSuffix=e=>{const{partitions:t}=n.partitionsInfo;for(const{regions:r,outputs:n,regionRegex:o}of t){const t=new RegExp(o);if(r.includes(e)||t.test(e))return n.dnsSuffix}return n.defaultPartition.outputs.dnsSuffix}},94291(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateState=void 0;const n=r(22651);t.generateState=()=>(0,n.generateRandomString)(32)},94299(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV7State=void 0;const n=r(52291),o=r(76011),i={};function a(e,t,r){return e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=r[6]<<23|r[7]<<16|r[8]<<8|r[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++),e}function s(e,t,r,n,o=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(n){if(o<0||o+16>n.length)throw new RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`)}else n=new Uint8Array(16),o=0;return t??=Date.now(),r??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],n[o++]=t/1099511627776&255,n[o++]=t/4294967296&255,n[o++]=t/16777216&255,n[o++]=t/65536&255,n[o++]=t/256&255,n[o++]=255&t,n[o++]=112|r>>>28&15,n[o++]=r>>>20&255,n[o++]=128|r>>>14&63,n[o++]=r>>>6&255,n[o++]=r<<2&255|3&e[10],n[o++]=e[11],n[o++]=e[12],n[o++]=e[13],n[o++]=e[14],n[o++]=e[15],n}t.updateV7State=a,t.default=function(e,t,r){let c;if(e)c=s(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.seq,t,r);else{const e=Date.now(),o=(0,n.default)();a(i,e,o),c=s(o,i.msecs,i.seq,t,r)}return t??(0,o.unsafeStringify)(c)}},94381(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Amplify=void 0;var n=r(42910);Object.defineProperty(t,"Amplify",{enumerable:!0,get:function(){return n.DefaultAmplify}})},94684(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutex=void 0,t.Mutex=class{constructor(){this._queue=[],this._pending=!1}isLocked(){return this._pending}acquire(){const e=new Promise(e=>this._queue.push(e));return this._pending||this._dispatchNext(),e}runExclusive(e){return this.acquire().then(t=>{let r;try{r=e()}catch(e){throw t(),e}return Promise.resolve(r).then(e=>(t(),e),e=>{throw t(),e})})}_dispatchNext(){this._queue.length>0?(this._pending=!0,this._queue.shift()(this._dispatchNext.bind(this))):this._pending=!1}}},94708(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceError=void 0;var n=r(9619);t.SequenceError=n.createErrorClass(function(e){return function(t){e(this),this.name="SequenceError",this.message=t}})},94808(e,t){"use strict";var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutProvider=void 0,t.timeoutProvider={setTimeout:function(e,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s=t.timeoutProvider.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,n([e,o],r(i))):setTimeout.apply(void 0,n([e,o],r(i)))},clearTimeout:function(e){var r=t.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0}},94848(e,t,r){"use strict";r.d(t,{x:()=>o});var n=r(51609);function o(e){const t=n.version;return"string"!=typeof n.version||t.startsWith("18.")?e?.ref:e?.props?.ref}},94975(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=void 0,t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},95090(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveEndpointId=void 0;const n=r(1123),o=r(27745),i=r(7322),a=r(93586);t.resolveEndpointId=async({address:e,appId:t,category:r,channelType:s,credentials:c,identityId:u,region:l,userAgentValue:d})=>{let p=await(0,a.getEndpointId)(t,r);return p||(await(0,i.updateEndpoint)({address:e,appId:t,category:r,channelType:s,credentials:c,identityId:u,region:l,userAgentValue:d}),p=await(0,a.getEndpointId)(t,r)),(0,n.assert)(!!p,o.AmplifyErrorCode.NoEndpointId),p}},95179(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBytesFromHex=void 0;const n=r(39902);t.getBytesFromHex=e=>{if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const o=e.slice(r,r+2).toLowerCase();if(!(o in n.HEX_TO_SHORT))throw new Error(`Cannot decode unrecognized sequence ${o} as hexadecimal`);t[r/2]=n.HEX_TO_SHORT[o]}return t}},95264(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CacheList=t.isInteger=t.getCurrentTime=t.getCurrentSizeKey=t.getByteLength=void 0;var n=r(10605);Object.defineProperty(t,"getByteLength",{enumerable:!0,get:function(){return n.getByteLength}}),Object.defineProperty(t,"getCurrentSizeKey",{enumerable:!0,get:function(){return n.getCurrentSizeKey}}),Object.defineProperty(t,"getCurrentTime",{enumerable:!0,get:function(){return n.getCurrentTime}}),Object.defineProperty(t,"isInteger",{enumerable:!0,get:function(){return n.isInteger}});var o=r(69802);Object.defineProperty(t,"CacheList",{enumerable:!0,get:function(){return o.CacheList}})},95356(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.headerBasedAuth=async function(e,t,r,i={}){let a={};switch(t){case"apiKey":if(!r)throw new n.GraphQLApiError(o.NO_API_KEY);a={"X-Api-Key":r};break;case"iam":if(void 0===(await e.Auth.fetchAuthSession()).credentials)throw new n.GraphQLApiError(o.NO_VALID_CREDENTIALS);break;case"oidc":case"userPool":{let t;try{t=(await e.Auth.fetchAuthSession()).tokens?.accessToken.toString()}catch(e){throw new n.GraphQLApiError({...o.NO_SIGNED_IN_USER,underlyingError:e})}if(!t)throw new n.GraphQLApiError(o.NO_VALID_AUTH_TOKEN);a={Authorization:t};break}case"lambda":if("object"==typeof i&&!i.Authorization)throw new n.GraphQLApiError(o.NO_AUTH_TOKEN_HEADER);a={Authorization:i.Authorization}}return a};const n=r(30014),o=r(59119)},95392(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formLoginsMap=function(e){const t=(0,n.decodeJWT)(e).payload.iss,r={};if(!t)throw new o.AuthError({name:"InvalidIdTokenException",message:"Invalid Idtoken."});return r[t.replace(/(^\w+:|^)\/\//,"")]=e,r};const n=r(22651),o=r(43518)},95462(e,t,r){"use strict";var n=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},o=this&&this.__await||function(e){return this instanceof o?(this.v=e,this):new o(e)},i=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),a=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){i[e]&&(n[e]=function(t){return new Promise(function(r,n){a.push([e,t,r,n])>1||c(e,t)})})}function c(e,t){try{(r=i[e](t)).value instanceof o?Promise.resolve(r.value.v).then(u,l):d(a[0][2],r)}catch(e){d(a[0][3],e)}var r}function u(e){c("next",e)}function l(e){c("throw",e)}function d(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStreamLike=t.readableStreamLikeToAsyncGenerator=void 0;var a=r(10281);t.readableStreamLikeToAsyncGenerator=function(e){return i(this,arguments,function(){var t,r,i;return n(this,function(n){switch(n.label){case 0:t=e.getReader(),n.label=1;case 1:n.trys.push([1,,9,10]),n.label=2;case 2:return[4,o(t.read())];case 3:return r=n.sent(),i=r.value,r.done?[4,o(void 0)]:[3,5];case 4:return[2,n.sent()];case 5:return[4,o(i)];case 6:return[4,n.sent()];case 7:return n.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})},t.isReadableStreamLike=function(e){return a.isFunction(null==e?void 0:e.getReader)}},95513(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=t.onErrorResumeNextWith=void 0;var i=r(7652),a=r(1903);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.argsOrArgArray(e);return function(e){return a.onErrorResumeNext.apply(void 0,o([e],n(r)))}}t.onErrorResumeNextWith=s,t.onErrorResumeNext=s},95593(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signingMiddlewareFactory=void 0;var n=r(97045);Object.defineProperty(t,"signingMiddlewareFactory",{enumerable:!0,get:function(){return n.signingMiddlewareFactory}})},95936(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var n=r(68087),o=r(19724),i=r(44885),a=r(26404),s=r(47058);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popScheduler(e),c=a.popNumber(e,1/0),u=e;return u.length?1===u.length?o.innerFrom(u[0]):n.mergeAll(c)(s.from(u,r)):i.EMPTY}},96029(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildHttpRpcRequest=t.createClientSerializer=void 0,t.createClientSerializer=e=>(n,o)=>{const i=r(e),a=JSON.stringify(n);return(0,t.buildHttpRpcRequest)(o,i,a)};const r=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`});t.buildHttpRpcRequest=({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"})},96126(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIG_HOSTNAME_PATTERN=t.DEFAULT_IAM_SIGNING_REGION=t.DEFAULT_APPSYNC_API_SERVICE=t.DEFAULT_REST_IAM_SIGNING_SERVICE=void 0,t.DEFAULT_REST_IAM_SIGNING_SERVICE="execute-api",t.DEFAULT_APPSYNC_API_SERVICE="appsync-api",t.DEFAULT_IAM_SIGNING_REGION="us-east-1",t.APIG_HOSTNAME_PATTERN=/^.+\.([a-z0-9-]+)\.([a-z0-9-]+)\.amazonaws\.com/},96153(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},96316(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidCredentialCreationOptions=function(e){(0,n.assertPasskeyError)([!!e,!!e?.challenge,!!e?.user,!!e?.rp,!!e?.pubKeyCredParams].every(Boolean),n.PasskeyErrorCode.InvalidPasskeyRegistrationOptions)};const n=r(67579)},96328(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var i=r(65212),a=r(70201),s=r(26404),c=r(47058);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.popScheduler(e);return i.operate(function(t,i){a.concatAll()(c.from(o([t],n(e)),r)).subscribe(i)})}},96340(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deDupeAsyncFunction=void 0,t.deDupeAsyncFunction=e=>{let t;return async(...r)=>t||(t=new Promise((n,o)=>{e(...r).then(e=>{n(e)}).catch(e=>{o(e)}).finally(()=>{t=void 0})}),t)}},96441(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isConfigureEventWithResourceConfig=function(e){return"configure"===e.event}},96543(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAppInForeground=void 0,t.isAppInForeground=()=>!0},96568(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31797),o=r(76011);t.default=function(e){const t=(r="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&r[6])<<4|r[7]>>4&15,(15&r[7])<<4|(240&r[4])>>4,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,(15&r[1])<<4|(240&r[2])>>4,96|15&r[2],r[3],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]));var r;return"string"==typeof e?(0,o.unsafeStringify)(t):t}},96640(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSigningValues=void 0;const n=r(78290),o=r(6628);t.getSigningValues=({credentials:e,signingDate:t=new Date,signingRegion:r,signingService:i,uriEscapePath:a=!0})=>{const{accessKeyId:s,secretAccessKey:c,sessionToken:u}=e,{longDate:l,shortDate:d}=(0,o.getFormattedDates)(t);return{accessKeyId:s,credentialScope:(0,n.getCredentialScope)(d,r,i),longDate:l,secretAccessKey:c,sessionToken:u,shortDate:d,signingRegion:r,signingService:i,uriEscapePath:a}}},96871(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateS=void 0,t.calculateS=async({a:e,g:t,k:r,x:n,B:o,N:i,U:a})=>new Promise((s,c)=>{t.modPow(n,i,(t,u)=>{t?c(t):o.subtract(r.multiply(u)).modPow(e.add(a.multiply(n)),i,(e,t)=>{e?c(e):s(t.mod(i))})})})},97045(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signingMiddlewareFactory=void 0;const n=r(36759),o=r(82322),i=r(1268);t.signingMiddlewareFactory=({credentials:e,region:t,service:r,uriEscapePath:s=!0})=>{let c;return(u,l)=>async function(d){c=c??0;const p={credentials:"function"==typeof e?await e({forceRefresh:!!l?.isCredentialsExpired}):e,signingDate:(0,o.getSkewCorrectedDate)(c),signingRegion:t,signingService:r,uriEscapePath:s},f=await(0,n.signRequest)(d,p),h=await u(f),m=a(h);return m&&(c=(0,i.getUpdatedSystemClockOffset)(Date.parse(m),c)),h}};const a=({headers:e}={})=>e?.date??e?.Date??e?.["x-amz-date"]},97156(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSchemaToClientWithInstance=function(e,t,r){const a=t.config?.API?.GraphQL;return(0,n.isApiGraphQLConfig)(a)&&((0,o.upgradeClientCancellation)(e),e.models=(0,i.generateModelsProperty)(e,t,r),e.enums=(0,o.generateEnumsProperty)(a),e.queries=(0,o.generateCustomQueriesProperty)(e,a,r),e.mutations=(0,o.generateCustomMutationsProperty)(e,a,r)),e};const n=r(61129),o=r(63344),i=r(58870)},97170(e,t,r){"use strict";r.d(t,{B:()=>o,X:()=>i});var n=r(59444);function o(e,t){if("string"!=typeof e||t>1||t<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var("))return`color-mix(in srgb, ${e}, transparent ${100*(1-t)}%)`;if(e.startsWith("oklch"))return e.includes("/")?e.replace(/\/\s*[\d.]+\s*\)/,`/ ${t})`):e.replace(")",` / ${t})`);const{r,g:o,b:i}=(0,n.K)(e);return`rgba(${r}, ${o}, ${i}, ${t})`}const i=o},97206(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUserPoolDeserializer=void 0;const n=r(7884),o=r(73031),i=r(43518);t.createUserPoolDeserializer=()=>async e=>{if(e.statusCode>=300){const t=await(0,n.parseJsonError)(e);throw(0,o.assertServiceError)(t),new i.AuthError({name:t.name,message:t.message,metadata:t.$metadata})}return(0,n.parseJsonBody)(e)}},97209(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.webDetect=function(){return(0,n.windowExists)()};const n=r(62114)},97314(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.BehaviorSubject=void 0;var i=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r(76808).Subject);t.BehaviorSubject=i},97542(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=async function(e,t,r,n){if("function"!=typeof e)throw Error("functionToRetry must be a function");return new Promise(async(a,s)=>{let c,u,l=0,d=!1,p=()=>{};for(n&&n.then(()=>{d=!0,clearTimeout(c),p()});!d;){l++,i.debug(`${e.name} attempt #${l} with this vars: ${JSON.stringify(t)}`);try{return void a(await e(...t))}catch(n){if(u=n,i.debug(`error on ${e.name}`,n),(0,o.isNonRetryableError)(n))return i.debug(`${e.name} non retryable error`,n),void s(n);const a=r(l,t,n);if(i.debug(`${e.name} retrying in ${a} ms`),!1===a||d)return void s(n);await new Promise(e=>{p=e,c=setTimeout(p,a)})}}s(u)})};const n=r(90413),o=r(64151),i=new n.ConsoleLogger("retryUtil")},97551(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updatePassword=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userPoolEndpoint:r,userPoolId:p}=t,{oldPassword:f,newPassword:h}=e;(0,a.assertValidationError)(!!f,i.AuthValidationErrorCode.EmptyUpdatePassword),(0,a.assertValidationError)(!!h,i.AuthValidationErrorCode.EmptyUpdatePassword);const{tokens:m}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,c.assertAuthTokens)(m);const g=(0,l.createChangePasswordClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:r})});await g({region:(0,s.getRegionFromUserPoolId)(p),userAgentValue:(0,u.getAuthUserAgentValue)(o.AuthAction.UpdatePassword)},{AccessToken:m.accessToken.toString(),PreviousPassword:f,ProposedPassword:h})};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(62639),c=r(64166),u=r(17238),l=r(35456),d=r(28228)},97783(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipUntil=void 0;var n=r(65212),o=r(17214),i=r(19724),a=r(5717);t.skipUntil=function(e){return n.operate(function(t,r){var n=!1,s=o.createOperatorSubscriber(r,function(){null==s||s.unsubscribe(),n=!0},a.noop);i.innerFrom(e).subscribe(s),t.subscribe(o.createOperatorSubscriber(r,function(e){return n&&r.next(e)}))})}},97807(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDisableCacheMiddleware=void 0,t.createDisableCacheMiddleware=()=>e=>async function(t){return t.headers["cache-control"]="no-store",e(t)}},97873(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateConversationsProperty=function(e,t,r){const c=t?.modelIntrospection;if(!c?.conversations)return{};const u={};for(const{name:t,conversation:l,message:d,models:p,nonModels:f,enums:h}of Object.values(c.conversations)){const m=p[l.modelName],g=p[d.modelName];if(!m||!g)return{};const y={...c,models:{...c.models,...p},nonModels:{...c.nonModels,...f},enums:{...c.enums,...h}};u[t]={update:(0,s.createUpdateConversationFunction)(e,y,t,m,g,r),create:(0,n.createCreateConversationFunction)(e,y,t,m,g,r),get:(0,o.createGetConversationFunction)(e,y,t,m,g,r),delete:(0,a.createDeleteConversationFunction)(e,y,t,m,g,r),list:(0,i.createListConversationsFunction)(e,y,t,m,g,r)}}return u};const n=r(50508),o=r(57700),i=r(92679),a=r(58407),s=r(57293)},97922(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=async function(e,t){const r=e.getConfig().Auth?.Cognito;(0,n.assertTokenProviderConfig)(r);const{userPoolEndpoint:u,userPoolId:l}=r,{tokens:d}=await e.Auth.fetchAuthSession();(0,o.assertAuthTokens)(d);const p=(0,c.createDeleteWebAuthnCredentialClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:u})});await p({region:(0,a.getRegionFromUserPoolId)(l),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.DeleteWebAuthnCredential)},{AccessToken:d.accessToken.toString(),CredentialId:t.credentialId})};const n=r(22651),o=r(64166),i=r(28228),a=r(62639),s=r(17238),c=r(35456)},97963(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPasskey=t.registerPasskey=void 0;var n=r(69752);Object.defineProperty(t,"registerPasskey",{enumerable:!0,get:function(){return n.registerPasskey}});var o=r(47867);Object.defineProperty(t,"getPasskey",{enumerable:!0,get:function(){return o.getPasskey}})},97973(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserializeContent=void 0;const n=r(20793);t.deserializeContent=e=>e.map(e=>e.image?o(e):e.document?i(e):e.toolUse?a(e):e.toolResult?s(e):c(e));const o=({image:e})=>({image:{...e,source:{...e.source,bytes:(0,n.fromBase64)(e.source.bytes)}}}),i=({document:e})=>({document:{...e,source:{...e.source,bytes:(0,n.fromBase64)(e.source.bytes)}}}),a=({toolUse:e})=>({toolUse:{...e,input:JSON.parse(e.input)}}),s=({toolResult:e})=>({toolResult:{toolUseId:e.toolUseId,content:e.content.map(e=>e.image?o(e):e.json?(({json:e})=>({json:JSON.parse(e)}))(e):c(e))}}),c=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>null!==t))},97986(e,t,r){"use strict";r.d(t,{e:()=>i});var n=r(10790),o=r(51609);function i(e=null){const t=(0,o.createContext)(e);return[({children:e,value:r})=>(0,n.jsx)(t.Provider,{value:r,children:e}),()=>(0,o.useContext)(t)]}},98032(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concatWith=void 0;var i=r(96328);t.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.concat.apply(void 0,o([],n(e)))}},98090(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryOnResourceNotFoundException=async function(e,t,r,o){try{return await e(...t)}catch(i){if(i instanceof n.AuthError&&"ResourceNotFoundException"===i.name&&i.message.includes("Device does not exist."))return await o.clearDeviceMetadata(r),e(...t);throw i}};const n=r(43518)},98183(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFind=t.find=void 0;var n=r(65212),o=r(17214);function i(e,t,r){var n="index"===r;return function(r,i){var a=0;r.subscribe(o.createOperatorSubscriber(i,function(o){var s=a++;e.call(t,o,s,r)&&(i.next(n?s:o),i.complete())},function(){i.next(n?-1:void 0),i.complete()}))}}t.find=function(e,t){return n.operate(i(e,t,"value"))},t.createFind=i},98229(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchAuthSession=void 0;const n=r(28269),o=r(89439);t.fetchAuthSession=e=>(0,o.fetchAuthSession)(n.Amplify,e)},98306(e,t,r){"use strict";r.d(t,{q:()=>n});const n=(e,t)=>(r,n)=>{const o={};let i=t=>e(t,n);for(let e=t.length-1;e>=0;e--)i=(0,t[e])(n)(i,o);return i(r)}},98562(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGraphQLResponseWithErrors=function(e){if(!e)return!1;const t=e;return Array.isArray(t.errors)&&t.errors.length>0}},98572(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageCacheCommon=void 0;const n=r(69580),o=r(73655),i=r(95264),a=r(67689),s=new n.ConsoleLogger("StorageCache");t.StorageCacheCommon=class{constructor({config:e,keyValueStorage:t}){this.config={...o.defaultConfig,...e},this.keyValueStorage=t,this.sanitizeConfig()}getModuleName(){return"Cache"}configure(e){return e&&(e.keyPrefix&&s.warn("keyPrefix can not be re-configured on an existing Cache instance."),this.config={...this.config,...e}),this.sanitizeConfig(),this.config}async getCurrentCacheSize(){let e=await this.getStorage().getItem((0,i.getCurrentSizeKey)(this.config.keyPrefix));return e||(await this.getStorage().setItem((0,i.getCurrentSizeKey)(this.config.keyPrefix),"0"),e="0"),Number(e)}async setItem(e,t,r){if(s.debug(`Set item: key is ${e}, value is ${t} with options: ${r}`),!e||e===o.currentSizeKey)return void s.warn(`Invalid key: should not be empty or reserved key: '${o.currentSizeKey}'`);if(void 0===t)return void s.warn("The value of item should not be undefined!");const n={priority:void 0!==r?.priority?r.priority:this.config.defaultPriority,expires:void 0!==r?.expires?r.expires:this.config.defaultTTL+(0,i.getCurrentTime)()};if(n.priority<1||n.priority>5)return void s.warn("Invalid parameter: priority due to out or range. It should be within 1 and 5.");const a=`${this.config.keyPrefix}${e}`,c=this.fillCacheItem(a,t,n);if(c.byteSize>this.config.itemMaxSize)s.warn(`Item with key: ${e} you are trying to put into is too big!`);else try{const e=await this.getStorage().getItem(a);if(e&&await this.removeCacheItem(a,JSON.parse(e).byteSize),await this.isCacheFull(c.byteSize)){const e=await this.clearInvalidAndGetRemainingKeys();if(await this.isCacheFull(c.byteSize)){const t=await this.sizeToPop(c.byteSize);await this.popOutItems(e,t)}}return this.setCacheItem(a,c)}catch(e){s.warn(`setItem failed! ${e}`)}}async getItem(e,t){let r;if(s.debug(`Get item: key is ${e} with options ${t}`),!e||e===o.currentSizeKey)return s.warn(`Invalid key: should not be empty or reserved key: '${o.currentSizeKey}'`),null;const n=`${this.config.keyPrefix}${e}`;try{if(r=await this.getStorage().getItem(n),null!=r){if(!await this.isExpired(n))return(await this.updateVisitedTime(JSON.parse(r),n)).data;await this.removeCacheItem(n,JSON.parse(r).byteSize)}if(t?.callback){const r=t.callback();return null!==r&&await this.setItem(e,r,t),r}return null}catch(e){return s.warn(`getItem failed! ${e}`),null}}async removeItem(e){if(s.debug(`Remove item: key is ${e}`),!e||e===o.currentSizeKey)return void s.warn(`Invalid key: should not be empty or reserved key: '${o.currentSizeKey}'`);const t=`${this.config.keyPrefix}${e}`;try{const e=await this.getStorage().getItem(t);e&&await this.removeCacheItem(t,JSON.parse(e).byteSize)}catch(e){s.warn(`removeItem failed! ${e}`)}}async getAllKeys(){try{return await this.getAllCacheKeys()}catch(e){return s.warn(`getAllkeys failed! ${e}`),[]}}getStorage(){return this.keyValueStorage}async isExpired(e){const t=await this.getStorage().getItem(e);(0,a.assert)(null!==t,a.CacheErrorCode.NoCacheItem,`Key: ${e}`);const r=JSON.parse(t);return(0,i.getCurrentTime)()>=r.expires}async removeCacheItem(e,t){const r=await this.getStorage().getItem(e);(0,a.assert)(null!==r,a.CacheErrorCode.NoCacheItem,`Key: ${e}`);const n=t??JSON.parse(r).byteSize;await this.decreaseCurrentSizeInBytes(n);try{await this.getStorage().removeItem(e)}catch(e){await this.increaseCurrentSizeInBytes(n),s.error(`Failed to remove item: ${e}`)}}fillCacheItem(e,t,r){const n={key:e,data:t,timestamp:(0,i.getCurrentTime)(),visitedTime:(0,i.getCurrentTime)(),priority:r.priority??0,expires:r.expires??0,type:typeof t,byteSize:0};return n.byteSize=(0,i.getByteLength)(JSON.stringify(n)),n.byteSize=(0,i.getByteLength)(JSON.stringify(n)),n}sanitizeConfig(){this.config.itemMaxSize>this.config.capacityInBytes&&(s.error("Invalid parameter: itemMaxSize. It should be smaller than capacityInBytes. Setting back to default."),this.config.itemMaxSize=o.defaultConfig.itemMaxSize),(this.config.defaultPriority>5||this.config.defaultPriority<1)&&(s.error("Invalid parameter: defaultPriority. It should be between 1 and 5. Setting back to default."),this.config.defaultPriority=o.defaultConfig.defaultPriority),(Number(this.config.warningThreshold)>1||Number(this.config.warningThreshold)<0)&&(s.error("Invalid parameter: warningThreshold. It should be between 0 and 1. Setting back to default."),this.config.warningThreshold=o.defaultConfig.warningThreshold),this.config.capacityInBytes>5242880&&(s.error("Cache Capacity should be less than 5MB. Setting back to default. Setting back to default."),this.config.capacityInBytes=o.defaultConfig.capacityInBytes)}async increaseCurrentSizeInBytes(e){const t=await this.getCurrentCacheSize();await this.getStorage().setItem((0,i.getCurrentSizeKey)(this.config.keyPrefix),(t+e).toString())}async decreaseCurrentSizeInBytes(e){const t=await this.getCurrentCacheSize();await this.getStorage().setItem((0,i.getCurrentSizeKey)(this.config.keyPrefix),(t-e).toString())}async updateVisitedTime(e,t){return e.visitedTime=(0,i.getCurrentTime)(),await this.getStorage().setItem(t,JSON.stringify(e)),e}async setCacheItem(e,t){await this.increaseCurrentSizeInBytes(t.byteSize);try{await this.getStorage().setItem(e,JSON.stringify(t))}catch(e){await this.decreaseCurrentSizeInBytes(t.byteSize),s.error(`Failed to set item ${e}`)}}async sizeToPop(e){const t=await this.getCurrentCacheSize()+e-this.config.capacityInBytes,r=(1-this.config.warningThreshold)*this.config.capacityInBytes;return t>r?t:r}async isCacheFull(e){return e+await this.getCurrentCacheSize()>this.config.capacityInBytes}async popOutItems(e,t){const r=[];let n=t;for(const t of e){const e=await this.getStorage().getItem(t);if(null!=e){const t=JSON.parse(e);r.push(t)}}r.sort((e,t)=>e.priority>t.priority?-1:e.priority<t.priority?1:e.visitedTime<t.visitedTime?-1:1);for(const e of r)if(await this.removeCacheItem(e.key,e.byteSize),n-=e.byteSize,n<=0)return}async clearInvalidAndGetRemainingKeys(){const e=[],t=await this.getAllCacheKeys({omitSizeKey:!0});for(const r of t)await this.isExpired(r)?await this.removeCacheItem(r):e.push(r);return e}async clear(){s.debug("Clear Cache");try{const e=await this.getAllKeys();for(const t of e){const e=`${this.config.keyPrefix}${t}`;await this.getStorage().removeItem(e)}}catch(e){s.warn(`clear failed! ${e}`)}}}},98590(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectable=void 0;var n=r(76808),o=r(48051),i=r(35884),a={connector:function(){return new n.Subject},resetOnDisconnect:!0};t.connectable=function(e,t){void 0===t&&(t=a);var r=null,n=t.connector,s=t.resetOnDisconnect,c=void 0===s||s,u=n(),l=new o.Observable(function(e){return u.subscribe(e)});return l.connect=function(){return r&&!r.closed||(r=i.defer(function(){return e}).subscribe(u),c&&r.add(function(){return u=n()})),r},l}},98778(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTokenProviderConfig=function(e){let t=!0;t=!!e&&!!e.userPoolId&&!!e.userPoolClientId,(0,o.assert)(t,o.AuthConfigurationErrorCode.AuthUserPoolException)},t.assertOAuthConfig=function(e){const t=!!(e?.loginWith?.oauth?.domain&&e?.loginWith?.oauth?.redirectSignOut&&e?.loginWith?.oauth?.redirectSignIn&&e?.loginWith?.oauth?.responseType);(0,o.assert)(t,o.AuthConfigurationErrorCode.OAuthNotConfigureException)},t.assertIdentityPoolIdConfig=function(e){const t=!!e?.identityPoolId;(0,o.assert)(t,o.AuthConfigurationErrorCode.InvalidIdentityPoolIdException)},t.decodeJWT=function(e){const t=e.split(".");if(3!==t.length)throw new Error("Invalid token");try{const r=t[1].replace(/-/g,"+").replace(/_/g,"/"),o=decodeURIComponent(n.base64Decoder.convert(r).split("").map(e=>`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`).join(""));return{toString:()=>e,payload:JSON.parse(o)}}catch(e){throw new Error("Invalid token payload")}};const n=r(35269),o=r(42619)},98867(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteUser=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:p}=await(0,n.fetchAuthSession)();(0,a.assertAuthTokens)(p);const f=(0,u.createDeleteUserClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await f({region:(0,i.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.DeleteUser)},{AccessToken:p.accessToken.toString()}),await s.tokenOrchestrator.clearDeviceMetadata(),await(0,d.signOut)()};const n=r(56547),o=r(22651),i=r(62639),a=r(64166),s=r(4870),c=r(17238),u=r(35456),l=r(28228),d=r(59436)},99054(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startWith=void 0;var n=r(39546),o=r(26404),i=r(65212);t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.popScheduler(e);return i.operate(function(t,o){(r?n.concat(e,t,r):n.concat(e,t)).subscribe(o)})}},99137(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PinpointEventBuffer=void 0;const n=r(69580),o=r(90195),i=r(62421),a=r(96543),s=new n.ConsoleLogger("PinpointEventBuffer"),c=[429,500],u=[202];t.PinpointEventBuffer=class{constructor(e){this._interval=void 0,this._pause=!1,this._flush=!1,this._buffer=[],this._config=e,this._sendBatch=this._sendBatch.bind(this),this._startLoop()}push(e){this._buffer.length>=this._config.bufferSize?s.debug("Exceeded Pinpoint event buffer limits, event dropped.",{eventId:e.eventId}):this._buffer.push({[e.eventId]:e})}pause(){this._pause=!0}resume(){this._pause=!1}flush(){this._flush=!0}identityHasChanged(e){return this._config.identityId!==e}haveCredentialsChanged(e){return(0,i.haveCredentialsChanged)(this._config.credentials,e)}flushAll(){this._putEvents(this._buffer.splice(0,this._buffer.length))}_startLoop(){this._interval&&clearInterval(this._interval);const{flushInterval:e}=this._config;this._interval=setInterval(this._sendBatch,e)}_sendBatch(){const e=this._buffer.length;if(this._flush&&!e&&this._interval&&clearInterval(this._interval),this._pause||!e||!(0,a.isAppInForeground)())return;const{flushSize:t}=this._config,r=Math.min(t,e),n=this._buffer.splice(0,r);this._putEvents(n)}async _putEvents(e){const t=this._bufferToMap(e),r=this._generateBatchEventParams(t);try{const{credentials:e,region:n,userAgentValue:i}=this._config,a=await(0,o.putEvents)({credentials:e,region:n,userAgentValue:i},r);this._processPutEventsSuccessResponse(a,t)}catch(e){this._handlePutEventsFailure(e,t)}}_generateBatchEventParams(e){const t={};return Object.values(e).forEach(e=>{const{event:r,timestamp:n,endpointId:o,eventId:i,session:a}=e,{name:s,attributes:c,metrics:u}=r;t[o]={Endpoint:{...t[o]?.Endpoint},Events:{...t[o]?.Events,[i]:{EventType:s,Timestamp:new Date(n).toISOString(),Attributes:c,Metrics:u,Session:a}}}}),{ApplicationId:this._config.appId,EventsRequest:{BatchItem:t}}}_handlePutEventsFailure(e,t){s.debug("putEvents call to Pinpoint failed.",e);const r=e.$metadata&&e.$metadata.httpStatusCode;if(c.includes(r)){const e=Object.values(t);this._retry(e)}}_processPutEventsSuccessResponse(e,t){const{Results:r={}}=e.EventsResponse??{},n=[];Object.entries(r).forEach(([e,r])=>{const o=r.EventsItemResponse??{};Object.entries(o).forEach(([e,r])=>{const o=t[e];if(!o)return;const{StatusCode:i,Message:a}=r??{};if(i&&u.includes(i))return;if(i&&c.includes(i))return void n.push(o);const{name:l}=o.event;s.warn("Pinpoint event failed to send.",{eventId:e,name:l,message:a})})}),n.length&&this._retry(n)}_retry(e){const t=[];e.forEach(e=>{const{eventId:r}=e,{name:n}=e.event;if(e.resendLimit-- >0)return s.debug("Resending event.",{eventId:r,name:n,remainingAttempts:e.resendLimit}),void t.push({[r]:e});s.debug("No retry attempts remaining for event.",{eventId:r,name:n})}),this._buffer.unshift(...t)}_bufferToMap(e){return e.reduce((e,t)=>{const[[r,n]]=Object.entries(t);return e[r]=n,e},{})}}},99245(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var n=r(31983),o=r(32036);t.queueScheduler=new o.QueueScheduler(n.QueueAction),t.queue=t.queueScheduler},99271(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionStateMonitor=t.CONNECTION_CHANGE=void 0;const n=r(79364),o=r(68769),i=r(79404);t.CONNECTION_CHANGE={KEEP_ALIVE_MISSED:{keepAliveState:"unhealthy"},KEEP_ALIVE:{keepAliveState:"healthy"},CONNECTION_ESTABLISHED:{connectionState:"connected"},CONNECTION_FAILED:{intendedConnectionState:"disconnected",connectionState:"disconnected"},CLOSING_CONNECTION:{intendedConnectionState:"disconnected"},OPENING_CONNECTION:{intendedConnectionState:"connected",connectionState:"connecting"},CLOSED:{connectionState:"disconnected"},ONLINE:{networkState:"connected"},OFFLINE:{networkState:"disconnected"}},t.ConnectionStateMonitor=class{constructor(){this._networkMonitoringSubscription=void 0,this._linkedConnectionState={networkState:"connected",connectionState:"disconnected",intendedConnectionState:"disconnected",keepAliveState:"healthy"},this._initialNetworkStateSubscription=(0,i.ReachabilityMonitor)().subscribe(({online:e})=>{this.record(e?t.CONNECTION_CHANGE.ONLINE:t.CONNECTION_CHANGE.OFFLINE),this._initialNetworkStateSubscription?.unsubscribe()}),this._linkedConnectionStateObservable=new n.Observable(e=>{e.next(this._linkedConnectionState),this._linkedConnectionStateObserver=e})}enableNetworkMonitoring(){this._initialNetworkStateSubscription?.unsubscribe(),void 0===this._networkMonitoringSubscription&&(this._networkMonitoringSubscription=(0,i.ReachabilityMonitor)().subscribe(({online:e})=>{this.record(e?t.CONNECTION_CHANGE.ONLINE:t.CONNECTION_CHANGE.OFFLINE)}))}disableNetworkMonitoring(){this._networkMonitoringSubscription?.unsubscribe(),this._networkMonitoringSubscription=void 0}get connectionStateObservable(){let e;return this._linkedConnectionStateObservable.pipe((0,n.map)(e=>this.connectionStatesTranslator(e))).pipe((0,n.filter)(t=>{const r=t!==e;return e=t,r}))}record(e){"connected"===e.intendedConnectionState?this.enableNetworkMonitoring():"disconnected"===e.intendedConnectionState&&this.disableNetworkMonitoring();const t={...this._linkedConnectionState,...e};this._linkedConnectionState={...t},this._linkedConnectionStateObserver?.next(this._linkedConnectionState)}connectionStatesTranslator({connectionState:e,networkState:t,intendedConnectionState:r,keepAliveState:n}){return"connected"===e&&"disconnected"===t?o.ConnectionState.ConnectedPendingNetwork:"connected"===e&&"disconnected"===r?o.ConnectionState.ConnectedPendingDisconnect:"disconnected"===e&&"connected"===r&&"disconnected"===t?o.ConnectionState.ConnectionDisruptedPendingNetwork:"disconnected"===e&&"connected"===r?o.ConnectionState.ConnectionDisrupted:"connected"===e&&"unhealthy"===n?o.ConnectionState.ConnectedPendingKeepAlive:"connecting"===e?o.ConnectionState.Connecting:"disconnected"===e?o.ConnectionState.Disconnected:o.ConnectionState.Connected}}},99274(e,t,r){"use strict";r.d(t,{Y:()=>a}),r(51609),r(10790);var n=r(1101),o=r(74593),i=r(44812);function a({classNames:e,styles:t,props:r,stylesCtx:a}){const s=(0,n.xd)();return{resolvedClassNames:(0,o.J)({theme:s,classNames:e,props:r,stylesCtx:a||void 0}),resolvedStyles:(0,i.N)({theme:s,styles:t,props:r,stylesCtx:a||void 0})}}},99369(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserContextData=function({username:e,userPoolId:t,userPoolClientId:r}){if("undefined"==typeof window)return;const n=window.AmazonCognitoAdvancedSecurityData;if(void 0===n)return;const o=n.getData(e,t,r);return o?{EncodedData:o}:{}}},99380(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iif=void 0;var n=r(35884);t.iif=function(e,t,r){return n.defer(function(){return e()?t:r})}},99463(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flushEvents=void 0;const n=r(50454),o=r(19867);t.flushEvents=({appId:e,region:t,credentials:r,bufferSize:i,flushInterval:a,flushSize:s,resendLimit:c,identityId:u,userAgentValue:l})=>{(0,n.getEventBuffer)({appId:e,region:t,credentials:r,bufferSize:i??o.BUFFER_SIZE,flushInterval:a??o.FLUSH_INTERVAL,flushSize:s??o.FLUSH_SIZE,resendLimit:c??o.RESEND_LIMIT,identityId:u,userAgentValue:l}).flushAll()}},99517(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipeFromArray=t.pipe=void 0;var n=r(87699);function o(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)},t.pipeFromArray=o},99607(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyncSessionStorage=void 0;const n=r(41125),o=r(72380);class i extends n.SyncKeyValueStorage{constructor(){super((0,o.getSessionStorageWithFallback)())}}t.SyncSessionStorage=i},99892(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transferHandler=void 0;const n=r(7884),o=r(41723),i=r(21777),a=r(28261),s=r(39554);t.transferHandler=async(e,t,r,l)=>{const{url:d,method:p,headers:f,body:h,withCredentials:m,abortSignal:g,retryStrategy:y}=t,v=h?h instanceof FormData?h:JSON.stringify(h??""):void 0,b={url:d,headers:(0,i.resolveHeaders)(f,h),method:p,body:v},{retryStrategy:E,defaultAuthMode:w}=(0,o.resolveLibraryOptions)(e),S={retryDecider:c(y??E),computeDelay:n.jitteredBackoff,withCrossDomainCredentials:m,abortSignal:g};let A,_=null;if("none"!==(t.defaultAuthMode??w)&&(_=await u(e)),r(b,l)&&_){const e=(0,o.parseSigningInfo)(d),t=l?.service??e.service,r=l?.region??e.region;A=await(0,a.authenticatedHandler)(b,{...S,credentials:_,region:r,service:t})}else A=await(0,s.unauthenticatedHandler)(b,{...S});return{statusCode:A.statusCode,headers:A.headers,body:A.body}};const c=e=>{const t=e?.strategy;return"no-retry"===t?()=>Promise.resolve({retryable:!1}):(0,n.getRetryDecider)(o.parseRestApiServiceError)},u=async e=>{try{const{credentials:t}=await e.Auth.fetchAuthSession();if(t)return t}catch(e){o.logger.debug("No credentials available, the request will be unsigned.")}return null}},99912(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashedPayload=void 0;const n=r(15130),o=r(61176);t.getHashedPayload=e=>null==e?n.EMPTY_HASH:i(e)?(0,o.getHashedDataAsHex)(null,e):n.UNSIGNED_PAYLOAD;const i=e=>e!==n.UNSIGNED_PAYLOAD&&("string"==typeof e||ArrayBuffer.isView(e)||a(e)),a=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e)}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e].call(r.exports,r,r.exports,a),r.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>e+".js?ver="+{181:"b4311fbe227d5d359229",283:"0e9a5d17cc7782ee1b31",491:"ecf8615935a1b2a023fe",563:"73114211505a4bb7547f",635:"4f92cf1812a819130aa8",788:"a3ef1b22d6abfb027cbe",805:"08ca1b5fc6f4b1df0067",985:"65e0e4cb9288353b6010"}[e],a.miniCssF=e=>e+".css",a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@smart-cloud/gatey-admin:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+o){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(f);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(n)),t)return t(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e={57:0};a.f.miniCss=(t,r)=>{e[t]?r.push(e[t]):0!==e[t]&&{985:1}[t]&&r.push(e[t]=(e=>new Promise((t,r)=>{var n=a.miniCssF(e),o=a.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(n,o))return t();((e,t,r,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",a.nc&&(i.nonce=a.nc),i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&r.type,s=r&&r.target&&r.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+s+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=a,c.request=s,i.parentNode&&i.parentNode.removeChild(i),o(c)}},i.href=t,document.head.appendChild(i)})(e,o,0,t,r)}))(t).then(()=>{e[t]=0},r=>{throw delete e[t],r}))}}})(),(()=>{var e={57:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}},"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,c]=r,u=0;if(i.some(t=>0!==e[t])){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);c&&c(a)}for(t&&t(r);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunk_smart_cloud_gatey_admin=globalThis.webpackChunk_smart_cloud_gatey_admin||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0;var s={};(()=>{"use strict";a.d(s,{A:()=>Jy});var e=a(51609),t=a.n(e),r=a(5338),n=a(70544),o=a(10790);function i(e){return"auto"===e||"dark"===e||"light"===e}function c({key:e="mantine-color-scheme-value"}={}){let t;return{get:t=>{if("undefined"==typeof window)return t;try{const r=window.localStorage.getItem(e);return i(r)?r:t}catch{return t}},set:t=>{try{window.localStorage.setItem(e,t)}catch(e){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",e)}},subscribe:r=>{t=t=>{t.storageArea===window.localStorage&&t.key===e&&i(t.newValue)&&r(t.newValue)},window.addEventListener("storage",t)},unsubscribe:()=>{window.removeEventListener("storage",t)},clear:()=>{window.localStorage.removeItem(e)}}}var u=a(66192),l=a(3052),d=a(38459),p=a(88149),f=a(1101);function h(){const e=(0,f.xd)(),t=(0,u.WV)(),r=(0,l.H)(e.breakpoints).reduce((t,r)=>{const n=e.breakpoints[r].includes("px"),o=(0,d.px)(e.breakpoints[r]);return`${t}@media (max-width: ${n?o-.1+"px":(0,p.em)(o-.1)}) {.mantine-visible-from-${r} {display: none !important;}}@media (min-width: ${n?`${o}px`:(0,p.em)(o)}) {.mantine-hidden-from-${r} {display: none !important;}}`},"");return(0,o.jsx)("style",{"data-mantine-styles":"classes",nonce:t?.(),dangerouslySetInnerHTML:{__html:r}})}function m(e){return Object.entries(e).map(([e,t])=>`${e}: ${t};`).join("")}function g(e,t){const r=t?[t]:[":root",":host"],n=m(e.variables),o=n?`${r.join(", ")}{${n}}`:"",i=m(e.dark),a=m(e.light),s=e=>r.map(t=>":host"===t?`${t}([data-mantine-color-scheme="${e}"])`:`${t}[data-mantine-color-scheme="${e}"]`).join(", ");return`${o}\n\n${i?`${s("dark")}{${i}}`:""}\n\n${a?`${s("light")}{${a}}`:""}`}var y=a(1518),v=a(80684),b=a(55488),E=a(97170);function w({theme:e,color:t,colorScheme:r,name:n=t,withColorValues:o=!0}){if(!e.colors[t])return{};if("light"===r){const r=(0,v.g)(e,"light"),i={[`--mantine-color-${n}-text`]:`var(--mantine-color-${n}-filled)`,[`--mantine-color-${n}-filled`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-filled-hover`]:`var(--mantine-color-${n}-${9===r?8:r+1})`,[`--mantine-color-${n}-light`]:(0,E.X)(e.colors[t][r],.1),[`--mantine-color-${n}-light-hover`]:(0,E.X)(e.colors[t][r],.12),[`--mantine-color-${n}-light-color`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-outline`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-outline-hover`]:(0,E.X)(e.colors[t][r],.05)};return o?{[`--mantine-color-${n}-0`]:e.colors[t][0],[`--mantine-color-${n}-1`]:e.colors[t][1],[`--mantine-color-${n}-2`]:e.colors[t][2],[`--mantine-color-${n}-3`]:e.colors[t][3],[`--mantine-color-${n}-4`]:e.colors[t][4],[`--mantine-color-${n}-5`]:e.colors[t][5],[`--mantine-color-${n}-6`]:e.colors[t][6],[`--mantine-color-${n}-7`]:e.colors[t][7],[`--mantine-color-${n}-8`]:e.colors[t][8],[`--mantine-color-${n}-9`]:e.colors[t][9],...i}:i}const i=(0,v.g)(e,"dark"),a={[`--mantine-color-${n}-text`]:`var(--mantine-color-${n}-4)`,[`--mantine-color-${n}-filled`]:`var(--mantine-color-${n}-${i})`,[`--mantine-color-${n}-filled-hover`]:`var(--mantine-color-${n}-${9===i?8:i+1})`,[`--mantine-color-${n}-light`]:(0,E.X)(e.colors[t][Math.max(0,i-2)],.15),[`--mantine-color-${n}-light-hover`]:(0,E.X)(e.colors[t][Math.max(0,i-2)],.2),[`--mantine-color-${n}-light-color`]:`var(--mantine-color-${n}-${Math.max(i-5,0)})`,[`--mantine-color-${n}-outline`]:`var(--mantine-color-${n}-${Math.max(i-4,0)})`,[`--mantine-color-${n}-outline-hover`]:(0,E.X)(e.colors[t][Math.max(i-4,0)],.05)};return o?{[`--mantine-color-${n}-0`]:e.colors[t][0],[`--mantine-color-${n}-1`]:e.colors[t][1],[`--mantine-color-${n}-2`]:e.colors[t][2],[`--mantine-color-${n}-3`]:e.colors[t][3],[`--mantine-color-${n}-4`]:e.colors[t][4],[`--mantine-color-${n}-5`]:e.colors[t][5],[`--mantine-color-${n}-6`]:e.colors[t][6],[`--mantine-color-${n}-7`]:e.colors[t][7],[`--mantine-color-${n}-8`]:e.colors[t][8],[`--mantine-color-${n}-9`]:e.colors[t][9],...a}:a}function S(e,t,r){(0,l.H)(t).forEach(n=>Object.assign(e,{[`--mantine-${r}-${n}`]:t[n]}))}const A=e=>{const t=(0,v.g)(e,"light"),r=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:(0,p.D)(e.defaultRadius),n={variables:{"--mantine-z-index-app":"100","--mantine-z-index-modal":"200","--mantine-z-index-popover":"300","--mantine-z-index-overlay":"400","--mantine-z-index-max":"9999","--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":r,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-color-scheme":"light","--mantine-primary-color-contrast":(0,b.g)(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${t})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)","--mantine-color-disabled":"var(--mantine-color-gray-2)","--mantine-color-disabled-color":"var(--mantine-color-gray-5)","--mantine-color-disabled-border":"var(--mantine-color-gray-3)"},dark:{"--mantine-color-scheme":"dark","--mantine-primary-color-contrast":(0,b.g)(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)","--mantine-color-disabled":"var(--mantine-color-dark-6)","--mantine-color-disabled-color":"var(--mantine-color-dark-3)","--mantine-color-disabled-border":"var(--mantine-color-dark-4)"}};S(n.variables,e.breakpoints,"breakpoint"),S(n.variables,e.spacing,"spacing"),S(n.variables,e.fontSizes,"font-size"),S(n.variables,e.lineHeights,"line-height"),S(n.variables,e.shadows,"shadow"),S(n.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((t,r)=>{n.variables[`--mantine-primary-color-${r}`]=`var(--mantine-color-${e.primaryColor}-${r})`}),(0,l.H)(e.colors).forEach(t=>{const r=e.colors[t];if(function(e){return!!e&&"object"==typeof e&&"mantine-virtual-color"in e}(r))return Object.assign(n.light,w({theme:e,name:r.name,color:r.light,colorScheme:"light",withColorValues:!0})),void Object.assign(n.dark,w({theme:e,name:r.name,color:r.dark,colorScheme:"dark",withColorValues:!0}));r.forEach((e,r)=>{n.variables[`--mantine-color-${t}-${r}`]=e}),Object.assign(n.light,w({theme:e,color:t,colorScheme:"light",withColorValues:!1})),Object.assign(n.dark,w({theme:e,color:t,colorScheme:"dark",withColorValues:!1}))});const o=e.headings.sizes;return(0,l.H)(o).forEach(t=>{n.variables[`--mantine-${t}-font-size`]=o[t].fontSize,n.variables[`--mantine-${t}-line-height`]=o[t].lineHeight,n.variables[`--mantine-${t}-font-weight`]=o[t].fontWeight||e.headings.fontWeight}),n};var _=a(15304);const P=A(_.S);function C({cssVariablesSelector:e,deduplicateCssVariables:t}){const r=(0,f.xd)(),n=(0,u.WV)(),i=function({theme:e,generator:t}){const r=A(e),n=t?.(e);return n?(0,y.$)(r,n):r}({theme:r,generator:(0,u.OY)()}),a=(void 0===e||":root"===e||":host"===e)&&t,s=g(a?function(e){const t={variables:{},light:{},dark:{}};return(0,l.H)(e.variables).forEach(r=>{P.variables[r]!==e.variables[r]&&(t.variables[r]=e.variables[r])}),(0,l.H)(e.light).forEach(r=>{P.light[r]!==e.light[r]&&(t.light[r]=e.light[r])}),(0,l.H)(e.dark).forEach(r=>{P.dark[r]!==e.dark[r]&&(t.dark[r]=e.dark[r])}),t}(i):i,e);return s?(0,o.jsx)("style",{"data-mantine-styles":!0,nonce:n?.(),dangerouslySetInnerHTML:{__html:`${s}${a?"":(c=e,g({variables:{},dark:{"--mantine-color-scheme":"dark"},light:{"--mantine-color-scheme":"light"}},c))}`}}):null;var c}C.displayName="@mantine/CssVariables";var I=a(45585);function x(e,t){const r="undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)")?.matches,n="auto"!==e?e:r?"dark":"light";t()?.setAttribute("data-mantine-color-scheme",n)}function O({theme:t,children:r,getStyleNonce:n,withStaticClasses:i=!0,withGlobalClasses:a=!0,deduplicateCssVariables:s=!0,withCssVariables:l=!0,cssVariablesSelector:d,classNamesPrefix:p="mantine",colorSchemeManager:m=c(),defaultColorScheme:g="light",getRootElement:y=()=>document.documentElement,cssVariablesResolver:v,forceColorScheme:b,stylesTransform:E,env:w}){const{colorScheme:S,setColorScheme:A,clearColorScheme:_}=function({manager:t,defaultColorScheme:r,getRootElement:n,forceColorScheme:o}){const i=(0,e.useRef)(null),[a,s]=(0,e.useState)(()=>t.get(r)),c=o||a,u=(0,e.useCallback)(e=>{o||(x(e,n),s(e),t.set(e))},[t.set,c,o]),l=(0,e.useCallback)(()=>{s(r),x(r,n),t.clear()},[t.clear,r]);return(0,e.useEffect)(()=>(t.subscribe(u),t.unsubscribe),[t.subscribe,t.unsubscribe]),(0,I.o)(()=>{x(t.get(r),n)},[]),(0,e.useEffect)(()=>{if(o)return x(o,n),()=>{};void 0===o&&x(a,n),"undefined"!=typeof window&&"matchMedia"in window&&(i.current=window.matchMedia("(prefers-color-scheme: dark)"));const e=e=>{"auto"===a&&x(e.matches?"dark":"light",n)};return i.current?.addEventListener("change",e),()=>i.current?.removeEventListener("change",e)},[a,o]),{colorScheme:c,setColorScheme:u,clearColorScheme:l}}({defaultColorScheme:g,forceColorScheme:b,manager:m,getRootElement:y});return function({respectReducedMotion:e,getRootElement:t}){(0,I.o)(()=>{e&&t()?.setAttribute("data-respect-reduced-motion","true")},[e])}({respectReducedMotion:t?.respectReducedMotion||!1,getRootElement:y}),(0,o.jsx)(u.A$.Provider,{value:{colorScheme:S,setColorScheme:A,clearColorScheme:_,getRootElement:y,classNamesPrefix:p,getStyleNonce:n,cssVariablesResolver:v,cssVariablesSelector:d??":root",withStaticClasses:i,stylesTransform:E,env:w},children:(0,o.jsxs)(f.nW,{theme:t,children:[l&&(0,o.jsx)(C,{cssVariablesSelector:d,deduplicateCssVariables:s}),a&&(0,o.jsx)(h,{}),r]})})}O.displayName="@mantine/core/MantineProvider";var k=a(68690),T=a(46100),N=a(2412),j=a(34164),R=a(11507),M=a(46798);const[D,U]=(0,M.F)("ModalBase component was not found in tree");var F="m_615af6c9",L="m_b5489c3c",z="m_60c222c7",V="m_fd1ab0aa",H="m_606cb269",$="m_5df29311";const W=(0,e.forwardRef)(({className:t,...r},n)=>{const i=function(){const t=U();return(0,e.useEffect)(()=>(t.setBodyMounted(!0),()=>t.setBodyMounted(!1)),[]),t.getBodyId()}(),a=U();return(0,o.jsx)(R.a,{ref:n,...r,id:i,className:(0,j.A)({[$]:!a.unstyled},t)})});W.displayName="@mantine/core/ModalBaseBody";const[B,K]=(0,M.F)("Modal component was not found in tree");var G={root:"m_9df02822",content:"m_54c44539",inner:"m_1f958f16",header:"m_d0e2b9cd"};const q=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalBody",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(W,{ref:t,...l.getStyles("body",{classNames:n,style:a,styles:s,className:i}),...u})});q.classes=G,q.displayName="@mantine/core/ModalBody";var Y=a(80355);const J=(0,e.forwardRef)(({className:e,onClick:t,...r},n)=>{const i=U();return(0,o.jsx)(Y.J,{ref:n,...r,onClick:e=>{i.onClose(),t?.(e)},className:(0,j.A)({[H]:!i.unstyled},e),unstyled:i.unstyled})});J.displayName="@mantine/core/ModalBaseCloseButton";const Q=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalCloseButton",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(J,{ref:t,...l.getStyles("close",{classNames:n,style:a,styles:s,className:i}),...u})});Q.classes=G,Q.displayName="@mantine/core/ModalCloseButton";var X=a(36504),Z=a(16267),ee=a(73087);const te=(0,e.forwardRef)(({transitionProps:e,className:t,innerProps:r,onKeyDown:n,style:i,...a},s)=>{const c=U();return(0,o.jsx)(ee.e,{mounted:c.opened,transition:"pop",...c.transitionProps,onExited:()=>{c.onExitTransitionEnd?.(),c.transitionProps?.onExited?.()},onEntered:()=>{c.onEnterTransitionEnd?.(),c.transitionProps?.onEntered?.()},...e,children:e=>(0,o.jsx)("div",{...r,className:(0,j.A)({[z]:!c.unstyled},r.className),children:(0,o.jsx)(X.s,{active:c.opened&&c.trapFocus,innerRef:s,children:(0,o.jsx)(Z.t,{...a,component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":c.bodyMounted?c.getBodyId():void 0,"aria-labelledby":c.titleMounted?c.getTitleId():void 0,style:[i,e],className:(0,j.A)({[V]:!c.unstyled},t),unstyled:c.unstyled,children:a.children})})})})});function re({children:e}){return(0,o.jsx)(o.Fragment,{children:e})}te.displayName="@mantine/core/ModalBaseContent";const ne=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalContent",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,children:u,__hidden:l,...d}=r,f=K(),h=f.scrollAreaComponent||re;return(0,o.jsx)(te,{...f.getStyles("content",{className:i,style:a,styles:s,classNames:n}),innerProps:f.getStyles("inner",{className:i,style:a,styles:s,classNames:n}),"data-full-screen":f.fullScreen||void 0,"data-modal-content":!0,"data-hidden":l||void 0,ref:t,...d,children:(0,o.jsx)(h,{style:{maxHeight:f.fullScreen?"100dvh":`calc(100dvh - (${(0,p.D)(f.yOffset)} * 2))`},children:u})})});ne.classes=G,ne.displayName="@mantine/core/ModalContent";const oe=(0,e.forwardRef)(({className:e,...t},r)=>{const n=U();return(0,o.jsx)(R.a,{component:"header",ref:r,className:(0,j.A)({[L]:!n.unstyled},e),...t})});oe.displayName="@mantine/core/ModalBaseHeader";const ie=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalHeader",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(oe,{ref:t,...l.getStyles("header",{classNames:n,style:a,styles:s,className:i}),...u})});ie.classes=G,ie.displayName="@mantine/core/ModalHeader";var ae=a(22662);const se={duration:200,timingFunction:"ease",transition:"fade"},ce=(0,e.forwardRef)(({onClick:e,transitionProps:t,style:r,visible:n,...i},a)=>{const s=U(),c=function(e){const t=U();return{...se,...t.transitionProps,...e}}(t);return(0,o.jsx)(ee.e,{mounted:void 0!==n?n:s.opened,...c,transition:"fade",children:t=>(0,o.jsx)(ae.h,{ref:a,fixed:!0,style:[r,t],zIndex:s.zIndex,unstyled:s.unstyled,onClick:t=>{e?.(t),s.closeOnClickOutside&&s.onClose()},...i})})});ce.displayName="@mantine/core/ModalBaseOverlay";const ue=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalOverlay",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(ce,{ref:t,...l.getStyles("overlay",{classNames:n,style:a,styles:s,className:i}),...u})});ue.classes=G,ue.displayName="@mantine/core/ModalOverlay";var le=a(56324),de=a(59396),pe=a(52837),fe=a(31635),he="right-scroll-bar-position",me="width-before-scroll-bar";function ge(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ye="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,ve=new WeakMap;function be(e){return e}var Ee=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=be);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}};return o}(null);return t.options=(0,fe.__assign)({async:!0,ssr:!1},e),t}(),we=function(){},Se=e.forwardRef(function(t,r){var n=e.useRef(null),o=e.useState({onScrollCapture:we,onWheelCapture:we,onTouchMoveCapture:we}),i=o[0],a=o[1],s=t.forwardProps,c=t.children,u=t.className,l=t.removeScrollBar,d=t.enabled,p=t.shards,f=t.sideCar,h=t.noRelative,m=t.noIsolation,g=t.inert,y=t.allowPinchZoom,v=t.as,b=void 0===v?"div":v,E=t.gapMode,w=(0,fe.__rest)(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,A=function(t,r){var n,o,i,a=(n=r||null,o=function(e){return t.forEach(function(t){return ge(t,e)})},(i=(0,e.useState)(function(){return{value:n,callback:o,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=o,i.facade);return ye(function(){var e=ve.get(a);if(e){var r=new Set(e),n=new Set(t),o=a.current;r.forEach(function(e){n.has(e)||ge(e,null)}),n.forEach(function(e){r.has(e)||ge(e,o)})}ve.set(a,t)},[t]),a}([n,r]),_=(0,fe.__assign)((0,fe.__assign)({},w),i);return e.createElement(e.Fragment,null,d&&e.createElement(S,{sideCar:Ee,removeScrollBar:l,shards:p,noRelative:h,noIsolation:m,inert:g,setCallbacks:a,allowPinchZoom:!!y,lockRef:n,gapMode:E}),s?e.cloneElement(e.Children.only(c),(0,fe.__assign)((0,fe.__assign)({},_),{ref:A})):e.createElement(b,(0,fe.__assign)({},_,{className:u,ref:A}),c))});Se.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Se.classNames={fullWidth:me,zeroRight:he};var Ae=function(t){var r=t.sideCar,n=(0,fe.__rest)(t,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=r.read();if(!o)throw new Error("Sidecar medium not found");return e.createElement(o,(0,fe.__assign)({},n))};Ae.isSideCarExport=!0;var _e=function(){var e=0,t=null;return{add:function(r){var n,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a.nc;return t&&e.setAttribute("nonce",t),e}())&&(o=r,(n=t).styleSheet?n.styleSheet.cssText=o:n.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Pe=function(){var t,r=(t=_e(),function(r,n){e.useEffect(function(){return t.add(r),function(){t.remove()}},[r&&n])});return function(e){var t=e.styles,n=e.dynamic;return r(t,n),null}},Ce={left:0,top:0,right:0,gap:0},Ie=function(e){return parseInt(e||"",10)||0},xe=Pe(),Oe="data-scroll-locked",ke=function(e,t,r,n){var o=e.left,i=e.top,a=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(Oe,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"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(he," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(me," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(he," .").concat(he," {\n right: 0 ").concat(n,";\n }\n \n .").concat(me," .").concat(me," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(Oe,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Te=function(){var e=parseInt(document.body.getAttribute(Oe)||"0",10);return isFinite(e)?e:0},Ne=function(t){var r=t.noRelative,n=t.noImportant,o=t.gapMode,i=void 0===o?"margin":o;e.useEffect(function(){return document.body.setAttribute(Oe,(Te()+1).toString()),function(){var e=Te()-1;e<=0?document.body.removeAttribute(Oe):document.body.setAttribute(Oe,e.toString())}},[]);var a=e.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Ce;var t=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Ie(r),Ie(n),Ie(o)]}(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])}}(i)},[i]);return e.createElement(xe,{styles:ke(a,!r,i,n?"":"!important")})},je=!1;if("undefined"!=typeof window)try{var Re=Object.defineProperty({},"passive",{get:function(){return je=!0,!0}});window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(e){je=!1}var Me=!!je&&{passive:!1},De=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===r[t])},Ue=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Fe(e,n)){var o=Le(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Fe=function(e,t){return"v"===e?function(e){return De(e,"overflowY")}(t):function(e){return De(e,"overflowX")}(t)},Le=function(e,t){return"v"===e?[(r=t).scrollTop,r.scrollHeight,r.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var r},ze=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ve=function(e){return[e.deltaX,e.deltaY]},He=function(e){return e&&"current"in e?e.current:e},$e=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},We=0,Be=[];function Ke(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ge=(qe=function(t){var r=e.useRef([]),n=e.useRef([0,0]),o=e.useRef(),i=e.useState(We++)[0],a=e.useState(Pe)[0],s=e.useRef(t);e.useEffect(function(){s.current=t},[t]),e.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var e=(0,fe.__spreadArray)([t.lockRef.current],(t.shards||[]).map(He),!0).filter(Boolean);return e.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),e.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var c=e.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var r,i=ze(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],l=e.target,d=Math.abs(c)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var p=window.getSelection(),f=p&&p.anchorNode;if(f&&(f===l||f.contains(l)))return!1;var h=Ue(d,l);if(!h)return!0;if(h?r=d:(r="v"===d?"h":"v",h=Ue(d,l)),!h)return!1;if(!o.current&&"changedTouches"in e&&(c||u)&&(o.current=r),!r)return!0;var m=o.current||r;return function(e,t,r,n){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*n,a=r.target,s=t.contains(a),c=!1,u=i>0,l=0,d=0;do{if(!a)break;var p=Le(e,a),f=p[0],h=p[1]-p[2]-o*f;(f||h)&&Fe(e,a)&&(l+=h,d+=f);var m=a.parentNode;a=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return(u&&(Math.abs(l)<1||!1)||!u&&(Math.abs(d)<1||!1))&&(c=!0),c}(m,t,e,"h"===m?c:u)},[]),u=e.useCallback(function(e){var t=e;if(Be.length&&Be[Be.length-1]===a){var n="deltaY"in t?Ve(t):ze(t),o=r.current.filter(function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,n)})[0];if(o&&o.should)t.cancelable&&t.preventDefault();else if(!o){var i=(s.current.shards||[]).map(He).filter(Boolean).filter(function(e){return e.contains(t.target)});(i.length>0?c(t,i[0]):!s.current.noIsolation)&&t.cancelable&&t.preventDefault()}}},[]),l=e.useCallback(function(e,t,n,o){var i={name:e,delta:t,target:n,should:o,shadowParent:Ke(n)};r.current.push(i),setTimeout(function(){r.current=r.current.filter(function(e){return e!==i})},1)},[]),d=e.useCallback(function(e){n.current=ze(e),o.current=void 0},[]),p=e.useCallback(function(e){l(e.type,Ve(e),e.target,c(e,t.lockRef.current))},[]),f=e.useCallback(function(e){l(e.type,ze(e),e.target,c(e,t.lockRef.current))},[]);e.useEffect(function(){return Be.push(a),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",u,Me),document.addEventListener("touchmove",u,Me),document.addEventListener("touchstart",d,Me),function(){Be=Be.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,Me),document.removeEventListener("touchmove",u,Me),document.removeEventListener("touchstart",d,Me)}},[]);var h=t.removeScrollBar,m=t.inert;return e.createElement(e.Fragment,null,m?e.createElement(a,{styles:$e(i)}):null,h?e.createElement(Ne,{noRelative:t.noRelative,gapMode:t.gapMode}):null)},Ee.useMedium(qe),Ae);var qe,Ye=e.forwardRef(function(t,r){return e.createElement(Se,(0,fe.__assign)({},t,{ref:r,sideCar:Ge}))});Ye.classNames=Se.classNames;const Je=Ye;var Qe=a(39268),Xe=a(66284),Ze=a(72273),et=a(9021);const tt=(0,e.forwardRef)(({keepMounted:t,opened:r,onClose:n,id:i,transitionProps:a,onExitTransitionEnd:s,onEnterTransitionEnd:c,trapFocus:u,closeOnEscape:l,returnFocus:d,closeOnClickOutside:p,withinPortal:f,portalProps:h,lockScroll:m,children:g,zIndex:y,shadow:v,padding:b,__vars:E,unstyled:w,removeScrollProps:S,...A},_)=>{const{_id:P,titleMounted:C,bodyMounted:I,shouldLockScroll:x,setTitleMounted:O,setBodyMounted:T}=function({id:t,transitionProps:r,opened:n,trapFocus:o,closeOnEscape:i,onClose:a,returnFocus:s}){const c=(0,Xe.B)(t),[u,l]=(0,e.useState)(!1),[d,p]=(0,e.useState)(!1),f=function({opened:t,transitionDuration:r}){const[n,o]=(0,e.useState)(t),i=(0,e.useRef)(-1),a=(0,et.I)()?0:r;return(0,e.useEffect)(()=>(t?(o(!0),window.clearTimeout(i.current)):0===a?o(!1):i.current=window.setTimeout(()=>o(!1),a),()=>window.clearTimeout(i.current)),[t,a]),n}({opened:n,transitionDuration:"number"==typeof r?.duration?r?.duration:200});return function(t,r,n){(0,e.useEffect)(()=>(window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n)),[t,r])}("keydown",e=>{"Escape"===e.key&&i&&!e.isComposing&&n&&"true"!==e.target?.getAttribute("data-mantine-stop-propagation")&&a()},{capture:!0}),(0,Ze.E)({opened:n,shouldReturnFocus:o&&s}),{_id:c,titleMounted:u,bodyMounted:d,shouldLockScroll:f,setTitleMounted:l,setBodyMounted:p}}({id:i,transitionProps:a,opened:r,trapFocus:u,closeOnEscape:l,onClose:n,returnFocus:d}),{key:N,...j}=S||{};return(0,o.jsx)(Qe.r,{...h,withinPortal:f,children:(0,o.jsx)(D,{value:{opened:r,onClose:n,closeOnClickOutside:p,onExitTransitionEnd:s,onEnterTransitionEnd:c,transitionProps:{...a,keepMounted:t},getTitleId:()=>`${P}-title`,getBodyId:()=>`${P}-body`,titleMounted:C,bodyMounted:I,setTitleMounted:O,setBodyMounted:T,trapFocus:u,closeOnEscape:l,zIndex:y,unstyled:w},children:(0,o.jsx)(Je,{enabled:x&&m,...j,children:(0,o.jsx)(R.a,{ref:_,...A,__vars:{...E,"--mb-z-index":(y||(0,k.I)("modal")).toString(),"--mb-shadow":(0,le.dh)(v),"--mb-padding":(0,le.GY)(b)},children:g})},N)})})});tt.displayName="@mantine/core/ModalBase";var rt=a(63089);const nt={__staticSelector:"Modal",closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,k.I)("modal"),transitionProps:{duration:200,transition:"fade-down"},yOffset:"5dvh"},ot=(0,de.V)((e,{radius:t,size:r,yOffset:n,xOffset:o})=>({root:{"--modal-radius":void 0===t?void 0:(0,le.nJ)(t),"--modal-size":(0,le.YC)(r,"modal-size"),"--modal-y-offset":(0,p.D)(n),"--modal-x-offset":(0,p.D)(o)}})),it=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalRoot",nt,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,yOffset:l,scrollAreaComponent:d,radius:p,fullScreen:f,centered:h,xOffset:m,__staticSelector:g,attributes:y,...v}=r,b=(0,pe.I)({name:g,classes:G,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:y,vars:u,varsResolver:ot});return(0,o.jsx)(B,{value:{yOffset:l,scrollAreaComponent:d,getStyles:b,fullScreen:f},children:(0,o.jsx)(tt,{ref:t,...b("root"),"data-full-screen":f||void 0,"data-centered":h||void 0,"data-offset-scrollbars":d===rt.F.Autosize||void 0,unstyled:c,...v})})});it.classes=G,it.displayName="@mantine/core/ModalRoot";var at=a(97986);const[st,ct]=(0,at.e)();function ut({children:t}){const[r,n]=(0,e.useState)([]),[i,a]=(0,e.useState)((0,k.I)("modal"));return(0,o.jsx)(st,{value:{stack:r,addModal:(e,t)=>{n(t=>[...new Set([...t,e])]),a(e=>"number"==typeof t&&"number"==typeof e?Math.max(e,t):e)},removeModal:e=>n(t=>t.filter(t=>t!==e)),getZIndex:e=>`calc(${i} + ${r.indexOf(e)} + 1)`,currentId:r[r.length-1],maxZIndex:i},children:t})}ut.displayName="@mantine/core/ModalStack";const lt=(0,e.forwardRef)(({className:t,...r},n)=>{const i=function(){const t=U();return(0,e.useEffect)(()=>(t.setTitleMounted(!0),()=>t.setTitleMounted(!1)),[]),t.getTitleId()}(),a=U();return(0,o.jsx)(R.a,{component:"h2",ref:n,className:(0,j.A)({[F]:!a.unstyled},t),...r,id:i})});lt.displayName="@mantine/core/ModalBaseTitle";const dt=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalTitle",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(lt,{ref:t,...l.getStyles("title",{classNames:n,style:a,styles:s,className:i}),...u})});dt.classes=G,dt.displayName="@mantine/core/ModalTitle";const pt={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,k.I)("modal"),transitionProps:{duration:200,transition:"fade-down"},withOverlay:!0,withCloseButton:!0},ft=(0,N.P9)((t,r)=>{const{title:n,withOverlay:i,overlayProps:a,withCloseButton:s,closeButtonProps:c,children:u,radius:l,opened:d,stackId:p,zIndex:f,...h}=(0,T.Y)("Modal",pt,t),m=ct(),g=!!n||s,y=m&&p?{closeOnEscape:m.currentId===p,trapFocus:m.currentId===p,zIndex:m.getZIndex(p)}:{},v=!1!==i&&(p&&m?m.currentId===p:d);return(0,e.useEffect)(()=>{m&&p&&(d?m.addModal(p,f||(0,k.I)("modal")):m.removeModal(p))},[d,p,f]),(0,o.jsxs)(it,{ref:r,radius:l,opened:d,zIndex:m&&p?m.getZIndex(p):f,...h,...y,children:[i&&(0,o.jsx)(ue,{visible:v,transitionProps:m&&p?{duration:0}:void 0,...a}),(0,o.jsxs)(ne,{radius:l,__hidden:!!(m&&p&&d)&&p!==m.currentId,children:[g&&(0,o.jsxs)(ie,{children:[n&&(0,o.jsx)(dt,{children:n}),s&&(0,o.jsx)(Q,{...c})]}),(0,o.jsx)(q,{children:u})]})]})});ft.classes=G,ft.displayName="@mantine/core/Modal",ft.Root=it,ft.Overlay=ue,ft.Content=ne,ft.Body=q,ft.Header=ie,ft.Title=dt,ft.CloseButton=Q,ft.Stack=ut;var ht=a(45727),mt=a(64999),gt=a(5055);const yt=(0,e.createContext)(null);function vt({id:t,cancelProps:r,confirmProps:n,labels:i={cancel:"",confirm:""},closeOnConfirm:a=!0,closeOnCancel:s=!0,groupProps:c,onCancel:u,onConfirm:l,children:d}){const{cancel:p,confirm:f}=i,h=function(){const t=(0,e.useContext)(yt);if(!t)throw new Error("[@mantine/modals] useModals hook was called outside of context, wrap your app with ModalsProvider component");return t}();return(0,o.jsxs)(o.Fragment,{children:[d&&(0,o.jsx)(R.a,{mb:"md",children:d}),(0,o.jsxs)(mt.Y,{mt:d?0:"md",justify:"flex-end",...c,children:[(0,o.jsx)(gt.$,{variant:"default",...r,onClick:e=>{"function"==typeof r?.onClick&&r?.onClick(e),"function"==typeof u&&u(),s&&h.closeModal(t)},children:r?.children||p}),(0,o.jsx)(gt.$,{...n,onClick:e=>{"function"==typeof n?.onClick&&n?.onClick(e),"function"==typeof l&&l(),a&&h.closeModal(t)},children:n?.children||f})]})]})}yt.displayName="@mantine/modals/ModalsContext";const[bt,Et]=(wt="mantine-modals",[function(e){const t=Object.keys(e).reduce((t,r)=>(t[`${wt}:${r}`]=t=>e[r](t.detail),t),{});(0,I.o)(()=>(Object.keys(t).forEach(e=>{window.removeEventListener(e,t[e]),window.addEventListener(e,t[e])}),()=>Object.keys(t).forEach(e=>{window.removeEventListener(e,t[e])})),[t])},function(e){return(...t)=>{return r=`${wt}:${String(e)}`,n=t[0],void window.dispatchEvent(new CustomEvent(r,{detail:n}));var r,n}}]);var wt;function St(e,t){t&&"confirm"===e.type&&e.props.onCancel?.(),e.props.onClose?.()}function At(e,t){switch(t.type){case"OPEN":return{current:t.modal,modals:[...e.modals,t.modal]};case"CLOSE":{const r=e.modals.find(e=>e.id===t.modalId);if(!r)return e;St(r,t.canceled);const n=e.modals.filter(e=>e.id!==t.modalId);return{current:n[n.length-1]||e.current,modals:n}}case"CLOSE_ALL":return e.modals.length?(e.modals.concat().reverse().forEach(e=>{St(e,t.canceled)}),{current:e.current,modals:[]}):e;case"UPDATE":{const{modalId:r,newProps:n}=t,o=e.modals.map(e=>e.id!==r?e:"content"===e.type||"confirm"===e.type?{...e,props:{...e.props,...n}}:"context"===e.type?{...e,props:{...e.props,...n,innerProps:{...e.props.innerProps,...n.innerProps}}}:e),i=e.current?.id===r&&o.find(e=>e.id===r)||e.current;return{...e,modals:o,current:i}}default:return e}}function _t({children:t,modalProps:r,labels:n,modals:i}){const[a,s]=(0,e.useReducer)(At,{modals:[],current:null}),c=(0,e.useRef)(a);c.current=a;const u=(0,e.useCallback)(e=>{s({type:"CLOSE_ALL",canceled:e})},[c,s]),l=(0,e.useCallback)(({modalId:e,...t})=>{const r=e||(0,ht.z)();return s({type:"OPEN",modal:{id:r,type:"content",props:t}}),r},[s]),d=(0,e.useCallback)(({modalId:e,...t})=>{const r=e||(0,ht.z)();return s({type:"OPEN",modal:{id:r,type:"confirm",props:t}}),r},[s]),p=(0,e.useCallback)((e,{modalId:t,...r})=>{const n=t||(0,ht.z)();return s({type:"OPEN",modal:{id:n,type:"context",props:r,ctx:e}}),n},[s]),f=(0,e.useCallback)((e,t)=>{s({type:"CLOSE",modalId:e,canceled:t})},[c,s]),h=(0,e.useCallback)(({modalId:e,...t})=>{s({type:"UPDATE",modalId:e,newProps:t})},[s]),m=(0,e.useCallback)(({modalId:e,...t})=>{s({type:"UPDATE",modalId:e,newProps:t})},[s]);bt({openModal:l,openConfirmModal:d,openContextModal:({modal:e,...t})=>p(e,t),closeModal:f,closeContextModal:f,closeAllModals:u,updateModal:h,updateContextModal:m});const g={modalProps:r||{},modals:a.modals,openModal:l,openConfirmModal:d,openContextModal:p,closeModal:f,closeContextModal:f,closeAll:u,updateModal:h,updateContextModal:m},{modalProps:y,content:v}=(()=>{const e=c.current.current;switch(e?.type){case"context":{const{innerProps:t,...r}=e.props,n=i[e.ctx];return{modalProps:r,content:(0,o.jsx)(n,{innerProps:t,context:g,id:e.id})}}case"confirm":{const{modalProps:t,confirmProps:r}=function(e){if(!e)return{confirmProps:{},modalProps:{}};const{id:t,children:r,onCancel:n,onConfirm:o,closeOnConfirm:i,closeOnCancel:a,cancelProps:s,confirmProps:c,groupProps:u,labels:l,...d}=e;return{confirmProps:{id:t,children:r,onCancel:n,onConfirm:o,closeOnConfirm:i,closeOnCancel:a,cancelProps:s,confirmProps:c,groupProps:u,labels:l},modalProps:{id:t,...d}}}(e.props);return{modalProps:t,content:(0,o.jsx)(vt,{...r,id:e.id,labels:e.props.labels||n})}}case"content":{const{children:t,...r}=e.props;return{modalProps:r,content:t}}default:return{modalProps:{},content:null}}})();return(0,o.jsxs)(yt.Provider,{value:g,children:[(0,o.jsx)(ft,{zIndex:(0,k.I)("modal")+1,...r,...y,opened:a.modals.length>0,onClose:()=>f(a.current?.id),children:v}),t]})}function Pt(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function Ct(e,t){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ct(e,t)}function It(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ct(e,t)}Et("closeModal"),Et("closeAllModals");var xt=a(75795),Ot=a.n(xt);const kt=t().createContext(null);var Tt="unmounted",Nt="exited",jt="entering",Rt="entered",Mt="exiting",Dt=function(e){function r(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Nt,n.appearStatus=jt):o=Rt:o=t.unmountOnExit||t.mountOnEnter?Tt:Nt,n.state={status:o},n.nextCallback=null,n}It(r,e),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Tt?{status:Nt}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==jt&&r!==Rt&&(t=jt):r!==jt&&r!==Rt||(t=Mt)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===jt){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:Ot().findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Nt&&this.setState({status:Tt})},n.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[Ot().findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),c=n?s.appear:s.enter;e||r?(this.props.onEnter(i,a),this.safeSetState({status:jt},function(){t.props.onEntering(i,a),t.onTransitionEnd(c,function(){t.safeSetState({status:Rt},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:Rt},function(){t.props.onEntered(i)})},n.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:Ot().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:Mt},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:Nt},function(){e.props.onExited(n)})})})):this.safeSetState({status:Nt},function(){e.props.onExited(n)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:Ot().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Tt)return null;var r=this.props,n=r.children,o=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,Pt(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t().createElement(kt.Provider,{value:null},"function"==typeof n?n(e,o):t().cloneElement(t().Children.only(n),o))},r}(t().Component);function Ut(){}Dt.contextType=kt,Dt.propTypes={},Dt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ut,onEntering:Ut,onEntered:Ut,onExit:Ut,onExiting:Ut,onExited:Ut},Dt.UNMOUNTED=Tt,Dt.EXITED=Nt,Dt.ENTERING=jt,Dt.ENTERED=Rt,Dt.EXITING=Mt;const Ft=Dt;var Lt=a(58168);function zt(t,r){var n=Object.create(null);return t&&e.Children.map(t,function(e){return e}).forEach(function(t){n[t.key]=function(t){return r&&(0,e.isValidElement)(t)?r(t):t}(t)}),n}function Vt(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Ht(t,r,n){var o=zt(t.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var c in t){if(o[c])for(n=0;n<o[c].length;n++){var u=o[c][n];s[o[c][n]]=r(u)}s[c]=r(c)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(r,o);return Object.keys(i).forEach(function(a){var s=i[a];if((0,e.isValidElement)(s)){var c=a in r,u=a in o,l=r[a],d=(0,e.isValidElement)(l)&&!l.props.in;!u||c&&!d?u||!c||d?u&&c&&(0,e.isValidElement)(l)&&(i[a]=(0,e.cloneElement)(s,{onExited:n.bind(null,s),in:l.props.in,exit:Vt(s,"exit",t),enter:Vt(s,"enter",t)})):i[a]=(0,e.cloneElement)(s,{in:!1}):i[a]=(0,e.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Vt(s,"exit",t),enter:Vt(s,"enter",t)})}}),i}var $t=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Wt=function(r){function n(e,t){var n,o=(n=r.call(this,e,t)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}It(n,r);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,r){var n,o,i=r.children,a=r.handleExited;return{children:r.firstRender?(n=t,o=a,zt(n.children,function(t){return(0,e.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:Vt(t,"appear",n),enter:Vt(t,"enter",n),exit:Vt(t,"exit",n)})})):Ht(t,i,a),firstRender:!1}},o.handleExited=function(e,t){var r=zt(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,Lt.A)({},t.children);return delete r[e.key],{children:r}}))},o.render=function(){var e=this.props,r=e.component,n=e.childFactory,o=Pt(e,["component","childFactory"]),i=this.state.contextValue,a=$t(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===r?t().createElement(kt.Provider,{value:i},a):t().createElement(kt.Provider,{value:i},t().createElement(r,o,a))},n}(t().Component);Wt.propTypes={},Wt.defaultProps={component:"div",childFactory:function(e){return e}};const Bt=Wt,Kt=e=>(e+1)%1e6;var Gt=a(297);const qt=["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"],Yt={left:"translateX(-100%)",right:"translateX(100%)","top-center":"translateY(-100%)","bottom-center":"translateY(100%)"},Jt={left:"translateX(0)",right:"translateX(0)","top-center":"translateY(0)","bottom-center":"translateY(0)"};function Qt({state:e,maxHeight:t,position:r,transitionDuration:n}){const[o,i]=r.split("-"),a="center"===i?`${o}-center`:i,s={opacity:1,transform:Jt[a]},c={opacity:0,maxHeight:0,transform:Yt[a]};return{opacity:0,maxHeight:t,transform:Yt[a],transitionDuration:`${n}ms, ${n}ms, ${n}ms`,transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21), cubic-bezier(.51,.3,0,1.21), linear",transitionProperty:"opacity, transform, max-height",...{entering:s,entered:s,exiting:c,exited:c}[e]}}var Xt=a(86344),Zt=a(24952),er={root:"m_a513464",icon:"m_a4ceffb",loader:"m_b0920b15",body:"m_a49ed24",title:"m_3feedf16",description:"m_3d733a3a",closeButton:"m_919a4d88"};const tr={withCloseButton:!0},rr=(0,de.V)((e,{radius:t,color:r})=>({root:{"--notification-radius":void 0===t?void 0:(0,le.nJ)(t),"--notification-color":r?(0,Xt.r)(r,e):void 0}})),nr=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Notification",tr,e),{className:n,color:i,radius:a,loading:s,withCloseButton:c,withBorder:u,title:l,icon:d,children:p,onClose:f,closeButtonProps:h,classNames:m,style:g,styles:y,unstyled:v,vars:b,mod:E,loaderProps:w,role:S,attributes:A,..._}=r,P=(0,pe.I)({name:"Notification",classes:er,props:r,className:n,style:g,classNames:m,styles:y,unstyled:v,attributes:A,vars:b,varsResolver:rr});return(0,o.jsxs)(R.a,{...P("root"),mod:[{"data-with-icon":!!d||s,"data-with-border":u},E],ref:t,role:S||"alert",..._,children:[d&&!s&&(0,o.jsx)("div",{...P("icon"),children:d}),s&&(0,o.jsx)(Zt.a,{size:28,color:i,...w,...P("loader")}),(0,o.jsxs)("div",{...P("body"),children:[l&&(0,o.jsx)("div",{...P("title"),children:l}),(0,o.jsx)(R.a,{...P("description"),mod:{"data-with-title":!!l},children:p})]}),c&&(0,o.jsx)(Y.J,{iconSize:16,color:"gray",...h,unstyled:v,onClick:f,...P("closeButton")})]})});nr.classes=er,nr.displayName="@mantine/core/Notification";const or=(0,e.forwardRef)(({data:t,onHide:r,autoClose:n,...i},a)=>{const{autoClose:s,message:c,...u}=t,l=function(e,t){return"number"==typeof t?t:!1!==t&&!1!==e&&e}(n,t.autoClose),d=(0,e.useRef)(-1),p=()=>window.clearTimeout(d.current),f=()=>{r(t.id),p()},h=()=>{"number"==typeof l&&(d.current=window.setTimeout(f,l))};return(0,e.useEffect)(()=>{t.onOpen?.(t)},[]),(0,e.useEffect)(()=>(h(),p),[l]),(0,o.jsx)(nr,{...i,...u,onClose:f,ref:a,onMouseEnter:p,onMouseLeave:h,children:c})});or.displayName="@mantine/notifications/NotificationContainer";var ir=a(9543),ar={root:"m_b37d9ac7",notification:"m_5ed0edd0"};const sr=Ft,cr={position:"bottom-right",autoClose:4e3,transitionDuration:250,containerWidth:440,notificationMaxHeight:200,limit:5,zIndex:(0,k.I)("overlay"),store:ir.__,withinPortal:!0},ur=(0,de.V)((e,{zIndex:t,containerWidth:r})=>({root:{"--notifications-z-index":t?.toString(),"--notifications-container-width":(0,p.D)(r)}})),lr=(0,N.P9)((t,r)=>{const n=(0,T.Y)("Notifications",cr,t),{classNames:i,className:a,style:s,styles:c,unstyled:u,vars:l,position:d,autoClose:p,transitionDuration:h,containerWidth:m,notificationMaxHeight:g,limit:y,zIndex:v,store:b,portalProps:E,withinPortal:w,...S}=n,A=(0,f.xd)(),_=(0,ir.E$)(b),P=function(){const[,t]=(0,e.useReducer)(Kt,0);return t}(),C=(0,et.I)(),I=(0,e.useRef)({}),x=(0,e.useRef)(0),O=A.respectReducedMotion&&C?1:h,k=(0,pe.I)({name:"Notifications",classes:ar,props:n,className:a,style:s,classNames:i,styles:c,unstyled:u,vars:l,varsResolver:ur});(0,e.useEffect)(()=>{b?.updateState(e=>({...e,limit:y||5,defaultPosition:d}))},[y,d]),(0,Gt.C)(()=>{_.notifications.length>x.current&&setTimeout(()=>P(),0),x.current=_.notifications.length},[_.notifications]);const N=(j=_.notifications,M=d,j.reduce((e,t)=>(e[t.position||M].push(t),e),qt.reduce((e,t)=>(e[t]=[],e),{})));var j,M;const D=qt.reduce((e,t)=>(e[t]=N[t].map(({style:e,...r})=>(0,o.jsx)(sr,{timeout:O,onEnter:()=>I.current[r.id].offsetHeight,nodeRef:{current:I.current[r.id]},children:n=>(0,o.jsx)(or,{ref:e=>{e&&(I.current[r.id]=e)},data:r,onHide:e=>(0,ir._b)(e,b),autoClose:p,...k("notification",{style:{...Qt({state:n,position:t,transitionDuration:O,maxHeight:g}),...e}})})},r.id)),e),{});return(0,o.jsxs)(Qe.r,{withinPortal:w,...E,children:[(0,o.jsx)(R.a,{...k("root"),"data-position":"top-center",ref:r,...S,children:(0,o.jsx)(Bt,{children:D["top-center"]})}),(0,o.jsx)(R.a,{...k("root"),"data-position":"top-left",...S,children:(0,o.jsx)(Bt,{children:D["top-left"]})}),(0,o.jsx)(R.a,{...k("root",{className:Je.classNames.fullWidth}),"data-position":"top-right",...S,children:(0,o.jsx)(Bt,{children:D["top-right"]})}),(0,o.jsx)(R.a,{...k("root",{className:Je.classNames.fullWidth}),"data-position":"bottom-right",...S,children:(0,o.jsx)(Bt,{children:D["bottom-right"]})}),(0,o.jsx)(R.a,{...k("root"),"data-position":"bottom-left",...S,children:(0,o.jsx)(Bt,{children:D["bottom-left"]})}),(0,o.jsx)(R.a,{...k("root"),"data-position":"bottom-center",...S,children:(0,o.jsx)(Bt,{children:D["bottom-center"]})})]})});lr.classes=ar,lr.displayName="@mantine/notifications/Notifications",lr.show=ir.$e.show,lr.hide=ir.$e.hide,lr.update=ir.$e.update,lr.clean=ir.$e.clean,lr.cleanQueue=ir.$e.cleanQueue,lr.updateState=ir.$e.updateState;var dr={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},pr=new class{#O=dr;#k=!1;setTimeoutProvider(e){this.#O=e}setTimeout(e,t){return this.#O.setTimeout(e,t)}clearTimeout(e){this.#O.clearTimeout(e)}setInterval(e,t){return this.#O.setInterval(e,t)}clearInterval(e){this.#O.clearInterval(e)}},fr="undefined"==typeof window||"Deno"in globalThis;function hr(){}function mr(e){return"number"==typeof e&&e>=0&&e!==1/0}function gr(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yr(e,t){return"function"==typeof e?e(t):e}function vr(e,t){return"function"==typeof e?e(t):e}function br(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(n){if(t.queryHash!==wr(a,t.options))return!1}else if(!Ar(t.queryKey,a))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function Er(e,t){const{exact:r,status:n,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(Sr(t.options.mutationKey)!==Sr(i))return!1}else if(!Ar(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||o&&!o(t))}function wr(e,t){return(t?.queryKeyHashFn||Sr)(e)}function Sr(e){return JSON.stringify(e,(e,t)=>xr(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function Ar(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(r=>Ar(e[r],t[r]))}var _r=Object.prototype.hasOwnProperty;function Pr(e,t){if(e===t)return e;const r=Ir(e)&&Ir(t);if(!(r||xr(e)&&xr(t)))return t;const n=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),i=o.length,a=r?new Array(i):{};let s=0;for(let c=0;c<i;c++){const i=r?c:o[c],u=e[i],l=t[i];if(u===l){a[i]=u,(r?c<n:_r.call(e,i))&&s++;continue}if(null===u||null===l||"object"!=typeof u||"object"!=typeof l){a[i]=l;continue}const d=Pr(u,l);a[i]=d,d===u&&s++}return n===i&&s===n?e:a}function Cr(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function Ir(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function xr(e){if(!Or(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!Or(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function Or(e){return"[object Object]"===Object.prototype.toString.call(e)}function kr(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?Pr(e,t):t}function Tr(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function Nr(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var jr=Symbol();function Rr(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==jr?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}function Mr(e,t){return"function"==typeof e?e(...t):!!e}var Dr=function(e){setTimeout(e,0)},Ur=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},o=Dr;const i=n=>{t?e.push(n):o(()=>{r(n)})};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{n(()=>{t.forEach(e=>{r(e)})})})})()}return a},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{o=e}}}(),Fr=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Lr=new class extends Fr{#T;#N;#j;constructor(){super(),this.#j=e=>{if(!fr&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#N||this.setEventListener(this.#j)}onUnsubscribe(){this.hasListeners()||(this.#N?.(),this.#N=void 0)}setEventListener(e){this.#j=e,this.#N?.(),this.#N=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#T!==e&&(this.#T=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#T?this.#T:"hidden"!==globalThis.document?.visibilityState}},zr=new class extends Fr{#R=!0;#N;#j;constructor(){super(),this.#j=e=>{if(!fr&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#N||this.setEventListener(this.#j)}onUnsubscribe(){this.hasListeners()||(this.#N?.(),this.#N=void 0)}setEventListener(e){this.#j=e,this.#N?.(),this.#N=e(this.setOnline.bind(this))}setOnline(e){this.#R!==e&&(this.#R=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#R}};function Vr(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}function Hr(e){return Math.min(1e3*2**e,3e4)}function $r(e){return"online"!==(e??"online")||zr.isOnline()}var Wr=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Br(e){let t,r=!1,n=0;const o=Vr(),i=()=>"pending"!==o.status,a=()=>Lr.isFocused()&&("always"===e.networkMode||zr.isOnline())&&e.canRun(),s=()=>$r(e.networkMode)&&e.canRun(),c=e=>{i()||(t?.(),o.resolve(e))},u=e=>{i()||(t?.(),o.reject(e))},l=()=>new Promise(r=>{t=e=>{(i()||a())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,i()||e.onContinue?.()}),d=()=>{if(i())return;let t;const o=0===n?e.initialPromise:void 0;try{t=o??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch(t=>{if(i())return;const o=e.retry??(fr?0:3),s=e.retryDelay??Hr,c="function"==typeof s?s(n,t):s,p=!0===o||"number"==typeof o&&n<o||"function"==typeof o&&o(n,t);var f;!r&&p?(n++,e.onFail?.(n,t),(f=c,new Promise(e=>{pr.setTimeout(e,f)})).then(()=>a()?void 0:l()).then(()=>{r?u(t):d()})):u(t)})};return{promise:o,status:()=>o.status,cancel:t=>{if(!i()){const r=new Wr(t);u(r),e.onCancel?.(r)}},continue:()=>(t?.(),o),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:s,start:()=>(s()?d():l().then(d),o)}}var Kr=class{#M;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),mr(this.gcTime)&&(this.#M=pr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(fr?1/0:3e5))}clearGcTimeout(){this.#M&&(pr.clearTimeout(this.#M),this.#M=void 0)}},Gr=class extends Kr{#D;#U;#x;#F;#L;#z;#V;constructor(e){super(),this.#V=!1,this.#z=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#F=e.client,this.#x=this.#F.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#D=Jr(this.options),this.state=e.state??this.#D,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#L?.promise}setOptions(e){if(this.options={...this.#z,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=Jr(this.options);void 0!==e.data&&(this.setState(Yr(e.data,e.dataUpdatedAt)),this.#D=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#x.remove(this)}setData(e,t){const r=kr(this.state.data,e,this.options);return this.#H({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#H({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#L?.promise;return this.#L?.cancel(e),t?t.then(hr).catch(hr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#D)}isActive(){return this.observers.some(e=>!1!==vr(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===jr||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===yr(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!gr(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#L?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#L?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#x.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#L&&(this.#V?this.#L.cancel({revert:!0}):this.#L.cancelRetry()),this.scheduleGc()),this.#x.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#H({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#L?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#L)return this.#L.continueRetry(),this.#L.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#V=!0,r.signal)})},o=()=>{const e=Rr(this.options,t),r=(()=>{const e={client:this.#F,queryKey:this.queryKey,meta:this.meta};return n(e),e})();return this.#V=!1,this.options.persister?this.options.persister(e,r,this):e(r)},i=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#F,state:this.state,fetchFn:o};return n(e),e})();this.options.behavior?.onFetch(i,this),this.#U=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===i.fetchOptions?.meta||this.#H({type:"fetch",meta:i.fetchOptions?.meta}),this.#L=Br({initialPromise:t?.initialPromise,fn:i.fetchFn,onCancel:e=>{e instanceof Wr&&e.revert&&this.setState({...this.#U,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#H({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#H({type:"pause"})},onContinue:()=>{this.#H({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0});try{const e=await this.#L.start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#x.config.onSuccess?.(e,this),this.#x.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Wr){if(e.silent)return this.#L.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#H({type:"error",error:e}),this.#x.config.onError?.(e,this),this.#x.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#H(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...qr(t.data,this.options),fetchMeta:e.meta??null};case"success":const r={...t,...Yr(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#U=e.manual?r:void 0,r;case"error":const n=e.error;return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Ur.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#x.notify({query:this,type:"updated",action:e})})}};function qr(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$r(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function Yr(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Jr(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Qr=class extends Fr{constructor(e={}){super(),this.config=e,this.#$=new Map}#$;build(e,t,r){const n=t.queryKey,o=t.queryHash??wr(n,t);let i=this.get(o);return i||(i=new Gr({client:e,queryKey:n,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(i)),i}add(e){this.#$.has(e.queryHash)||(this.#$.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#$.get(e.queryHash);t&&(e.destroy(),t===e&&this.#$.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ur.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#$.get(e)}getAll(){return[...this.#$.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>br(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>br(e,t)):t}notify(e){Ur.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ur.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ur.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Xr=class extends Kr{#F;#W;#B;#L;constructor(e){super(),this.#F=e.client,this.mutationId=e.mutationId,this.#B=e.mutationCache,this.#W=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#W.includes(e)||(this.#W.push(e),this.clearGcTimeout(),this.#B.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#W=this.#W.filter(t=>t!==e),this.scheduleGc(),this.#B.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#W.length||("pending"===this.state.status?this.scheduleGc():this.#B.remove(this))}continue(){return this.#L?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#H({type:"continue"})},r={client:this.#F,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#L=Br({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#H({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#H({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#B.canRun(this)});const n="pending"===this.state.status,o=!this.#L.canStart();try{if(n)t();else{this.#H({type:"pending",variables:e,isPaused:o}),await(this.#B.config.onMutate?.(e,this,r));const t=await(this.options.onMutate?.(e,r));t!==this.state.context&&this.#H({type:"pending",context:t,variables:e,isPaused:o})}const i=await this.#L.start();return await(this.#B.config.onSuccess?.(i,e,this.state.context,this,r)),await(this.options.onSuccess?.(i,e,this.state.context,r)),await(this.#B.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r)),await(this.options.onSettled?.(i,null,e,this.state.context,r)),this.#H({type:"success",data:i}),i}catch(t){try{await(this.#B.config.onError?.(t,e,this.state.context,this,r))}catch(e){Promise.reject(e)}try{await(this.options.onError?.(t,e,this.state.context,r))}catch(e){Promise.reject(e)}try{await(this.#B.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r))}catch(e){Promise.reject(e)}try{await(this.options.onSettled?.(void 0,t,e,this.state.context,r))}catch(e){Promise.reject(e)}throw this.#H({type:"error",error:t}),t}finally{this.#B.runNext(this)}}#H(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),Ur.batch(()=>{this.#W.forEach(t=>{t.onMutationUpdate(e)}),this.#B.notify({mutation:this,type:"updated",action:e})})}},Zr=class extends Fr{constructor(e={}){super(),this.config=e,this.#K=new Set,this.#G=new Map,this.#q=0}#K;#G;#q;build(e,t,r){const n=new Xr({client:e,mutationCache:this,mutationId:++this.#q,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#K.add(e);const t=en(e);if("string"==typeof t){const r=this.#G.get(t);r?r.push(e):this.#G.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#K.delete(e)){const t=en(e);if("string"==typeof t){const r=this.#G.get(t);if(r)if(r.length>1){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#G.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=en(e);if("string"==typeof t){const r=this.#G.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}return!0}runNext(e){const t=en(e);if("string"==typeof t){const r=this.#G.get(t)?.find(t=>t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}return Promise.resolve()}clear(){Ur.batch(()=>{this.#K.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#K.clear(),this.#G.clear()})}getAll(){return Array.from(this.#K)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>Er(t,e))}findAll(e={}){return this.getAll().filter(t=>Er(e,t))}notify(e){Ur.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return Ur.batch(()=>Promise.all(e.map(e=>e.continue().catch(hr))))}};function en(e){return e.options.scope?.id}function tn(e){return{onFetch:(t,r)=>{const n=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},c=0;const u=async()=>{let r=!1;const u=e=>{!function(e,r,n){let o,i=!1;Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??=t.signal,i||(i=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)})}(e,0,()=>r=!0)},l=Rr(t.options,t.fetchOptions),d=async(e,n,o)=>{if(r)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const i=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:n,direction:o?"backward":"forward",meta:t.options.meta};return u(e),e})(),a=await l(i),{maxPages:s}=t.options,c=o?Nr:Tr;return{pages:c(e.pages,a,s),pageParams:c(e.pageParams,n,s)}};if(o&&i.length){const e="backward"===o,t={pages:i,pageParams:a},r=(e?nn:rn)(n,t);s=await d(t,r,e)}else{const t=e??i.length;do{const e=0===c?a[0]??n.initialPageParam:rn(n,s);if(c>0&&null==e)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=u}}}function rn(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function nn(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var on=e.createContext(void 0),an=({client:t,children:r})=>(e.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,o.jsx)(on.Provider,{value:t,children:r})),sn=a(6252),cn=a(20126);const un=e=>((e,t)=>e.Auth.fetchAuthSession(t))(cn.H,e),ln=WpSuiteAmplify;class dn{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new dn({...e,headers:{...e.headers}});var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce((e,t)=>{const n=r[t];return{...e,[t]:Array.isArray(n)?[...n]:n}},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return dn.clone(this)}}const pn={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},fn={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},hn={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};const mn={},gn=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),yn=(e,t=!1)=>{if(!t)return gn.test(e);const r=e.split(".");for(const e of r)if(!yn(e))return!1;return!0},vn=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),bn=e=>vn.test(e)||e.startsWith("[")&&e.endsWith("]"),En=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!En(t))return!1;return!0}return!(!yn(e)||e.length<3||e.length>63||e!==e.toLowerCase()||bn(e))};let wn=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-east-2":{"description":"Asia Pacific (Taipei)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-6":{"description":"Asia Pacific (New Zealand)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"aws global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"aws-cn global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"api.amazonwebservices.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"EU (Germany)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"api.aws.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"aws-iso global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"api.aws.scloud","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"aws-iso-b global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"},"us-isob-west-1":{"description":"US ISOB West"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"api.cloud-aws.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"aws-iso-e global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"api.aws.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"aws-iso-f global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"aws-us-gov global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}}],"version":"1.1"}');const Sn={isVirtualHostableS3Bucket:En,parseArn:e=>{const t=e.split(":");if(t.length<6)return null;const[r,n,o,i,a,...s]=t;return"arn"!==r||""===n||""===o||""===s.join(":")?null:{partition:n,service:o,region:i,accountId:a,resourceId:s.map(e=>e.split("/")).flat()}},partition:e=>{const{partitions:t}=wn;for(const r of t){const{regions:t,outputs:n}=r;for(const[r,o]of Object.entries(t))if(r===e)return{...n,...o}}for(const r of t){const{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e))return{...n}}const r=t.find(e=>"aws"===e.id);if(!r)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...r.outputs}}};function An(e,t,r){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=r}mn.aws=Sn;const Pn=/\d{12}\.ddb/,Cn="user-agent",In="x-amz-user-agent",xn=/[^!$%&'*+\-.^_`|~\w]/g,On=/[^!$%&'*+\-.^_`|~\w#]/g,kn=e=>{const t=e[0].split("/").map(e=>e.replace(xn,"-")).join("/"),r=e[1]?.replace(On,"-"),n=t.indexOf("/"),o=t.substring(0,n);let i=t.substring(n+1);return"api"===o&&(i=i.toLowerCase()),[o,i,r].filter(e=>e&&e.length>0).reduce((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},Tn={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Nn=new Set,jn=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),Rn="__smithy_context",Mn=e=>e[Rn]||(e[Rn]={}),Dn={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};class Un{authSchemes=new Map;constructor(e){for(const[t,r]of Object.entries(e))void 0!==r&&this.authSchemes.set(t,r)}getIdentityProvider(e){return this.authSchemes.get(e)}}const Fn=e=>e=>{throw e},Ln=(e,t)=>{},zn={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"};class Vn{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}const Hn=(e,t,r,n,o)=>({name:t,namespace:e,traits:r,input:n,output:o}),$n=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1],Wn={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Bn={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};const Kn="content-length",Gn={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},qn=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},Yn=async e=>{},Jn=e=>{if("string"==typeof e)return Jn(new URL(e));const{hostname:t,pathname:r,port:n,protocol:o,search:i}=e;let a;return i&&(a=function(e){const t={};if(e=e.replace(/^\?/,""))for(const r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(i)),{hostname:t,port:n?parseInt(n):void 0,protocol:o,path:r,query:a}},Qn=e=>"object"==typeof e?"url"in e?Jn(e.url):e:Jn(e);var Xn;!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(Xn||(Xn={}));const Zn=Xn.STANDARD,eo=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],to=["TimeoutError","RequestTimeout","RequestTimeoutException"],ro=[500,502,503,504],no=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],oo=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],io=e=>429===e.$metadata?.httpStatusCode||eo.includes(e.name)||1==e.$retryable?.throttling,ao=(e,t=0)=>(e=>void 0!==e?.$retryable)(e)||(e=>e.$metadata?.clockSkewCorrected)(e)||to.includes(e.name)||no.includes(e?.code||"")||oo.includes(e?.code||"")||ro.includes(e.$metadata?.httpStatusCode||0)||(e=>{const t=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);return!!(e&&e instanceof TypeError)&&t.has(e.message)})(e)||void 0!==e.cause&&t<=10&&ao(e.cause,t+1);class so{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;currentCapacity=0;enabled=!1;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8;const t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(this.enabled){if(this.refillTokenBucket(),e>this.currentCapacity){const t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise(e=>so.setTimeoutFn(e,t))}this.currentCapacity=this.currentCapacity-e}}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=e);const t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=e}updateClientSendingRate(e){let t;if(this.updateMeasuredRate(),io(e)){const e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());const r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds(),t=Math.floor(2*e)/2;if(this.requestCount++,t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}}const co=({retryDelay:e,retryCount:t,retryCost:r})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(2e4,e),getRetryCost:()=>r});class uo{maxAttempts;mode=Xn.STANDARD;capacity=500;retryBackoffStrategy=(()=>{let e=100;return{computeNextBackoffDelay:t=>Math.floor(Math.min(2e4,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}})();maxAttemptsProvider;constructor(e){this.maxAttempts=e,this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return co({retryDelay:100,retryCount:0})}async refreshRetryTokenForRetry(e,t){const r=await this.getMaxAttempts();if(this.shouldRetry(e,t,r)){const r=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===r?500:100);const n=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),o=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,n):n,i=this.getCapacityCost(r);return this.capacity-=i,co({retryDelay:o,retryCount:e.getRetryCount()+1,retryCost:i})}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(e,t,r){return e.getRetryCount()+1<r&&this.capacity>=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return"TRANSIENT"===e?10:5}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class lo{maxAttemptsProvider;rateLimiter;standardRetryStrategy;mode=Xn.ADAPTIVE;constructor(e,t){this.maxAttemptsProvider=e;const{rateLimiter:r}=t??{};this.rateLimiter=r??new so,this.standardRetryStrategy=new uo(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}}class po{trace(){}debug(){}info(){}warn(){}error(){}}const fo="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ho=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0")),mo=()=>{if(fo)return fo();const e=new Uint8Array(16);return crypto.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,ho[e[0]]+ho[e[1]]+ho[e[2]]+ho[e[3]]+"-"+ho[e[4]]+ho[e[5]]+"-"+ho[e[6]]+ho[e[7]]+"-"+ho[e[8]]+ho[e[9]]+"-"+ho[e[10]]+ho[e[11]]+ho[e[12]]+ho[e[13]]+ho[e[14]]+ho[e[15]]},go=e=>e?.body instanceof ReadableStream,yo=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):"string"==typeof e?new Error(e):new Error(`AWS SDK error wrapper for ${e}`),vo=e=>{const t={error:e,errorType:bo(e)},r=wo(e.$response);return r&&(t.retryAfterHint=r),t},bo=e=>io(e)?"THROTTLING":ao(e)?"TRANSIENT":(e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!ao(e)}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",Eo={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},wo=e=>{if(!Vn.isInstance(e))return;const t=Object.keys(e.headers).find(e=>"retry-after"===e.toLowerCase());if(!t)return;const r=e.headers[t],n=Number(r);return Number.isNaN(n)?new Date(r):new Date(1e3*n)},So=(e,t)=>{const r=[];if(e&&r.push(e),t)for(const e of t)r.push(e);return r},Ao=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,_o=()=>{let e=[],t=[],r=!1;const n=new Set,o=r=>(e.forEach(e=>{r.add(e.middleware,{...e})}),t.forEach(e=>{r.addRelativeTo(e.middleware,{...e})}),r.identifyOnResolve?.(s.identifyOnResolve()),r),i=e=>{const t=[];return e.before.forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...i(e))}),t.push(e),e.after.reverse().forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...i(e))}),t},a=(r=!1)=>{const n=[],o=[],a={};e.forEach(e=>{const t={...e,before:[],after:[]};for(const e of So(t.name,t.aliases))a[e]=t;n.push(t)}),t.forEach(e=>{const t={...e,before:[],after:[]};for(const e of So(t.name,t.aliases))a[e]=t;o.push(t)}),o.forEach(e=>{if(e.toMiddleware){const t=a[e.toMiddleware];if(void 0===t){if(r)return;throw new Error(`${e.toMiddleware} is not found when adding ${Ao(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}});const s=(c=n,c.sort((e,t)=>Po[t.step]-Po[e.step]||Co[t.priority||"normal"]-Co[e.priority||"normal"])).map(i).reduce((e,t)=>(e.push(...t),e),[]);var c;return s},s={add:(t,r={})=>{const{name:o,override:i,aliases:a}=r,s={step:"initialize",priority:"normal",middleware:t,...r},c=So(o,a);if(c.length>0){if(c.some(e=>n.has(e))){if(!i)throw new Error(`Duplicate middleware name '${Ao(o,a)}'`);for(const t of c){const r=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===r)continue;const n=e[r];if(n.step!==s.step||s.priority!==n.priority)throw new Error(`"${Ao(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${Ao(o,a)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(r,1)}}for(const e of c)n.add(e)}e.push(s)},addRelativeTo:(e,r)=>{const{name:o,override:i,aliases:a}=r,s={middleware:e,...r},c=So(o,a);if(c.length>0){if(c.some(e=>n.has(e))){if(!i)throw new Error(`Duplicate middleware name '${Ao(o,a)}'`);for(const e of c){const r=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===r)continue;const n=t[r];if(n.toMiddleware!==s.toMiddleware||n.relation!==s.relation)throw new Error(`"${Ao(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${Ao(o,a)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(r,1)}}for(const e of c)n.add(e)}t.push(s)},clone:()=>o(_o()),use:e=>{e.applyToStack(s)},remove:r=>"string"==typeof r?(r=>{let o=!1;const i=e=>{const t=So(e.name,e.aliases);if(t.includes(r)){o=!0;for(const e of t)n.delete(e);return!1}return!0};return e=e.filter(i),t=t.filter(i),o})(r):(r=>{let o=!1;const i=e=>{if(e.middleware===r){o=!0;for(const t of So(e.name,e.aliases))n.delete(t);return!1}return!0};return e=e.filter(i),t=t.filter(i),o})(r),removeByTag:r=>{let o=!1;const i=e=>{const{tags:t,name:i,aliases:a}=e;if(t&&t.includes(r)){const e=So(i,a);for(const t of e)n.delete(t);return o=!0,!1}return!0};return e=e.filter(i),t=t.filter(i),o},concat:e=>{const t=o(_o());return t.use(e),t.identifyOnResolve(r||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:o,identify:()=>a(!0).map(e=>{const t=e.step??e.relation+" "+e.toMiddleware;return Ao(e.name,e.aliases)+" - "+t}),identifyOnResolve:e=>("boolean"==typeof e&&(r=e),r),resolve:(e,t)=>{for(const r of a().map(e=>e.middleware).reverse())e=r(e,t);return r&&console.log(s.identify()),e}};return s},Po={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Co={high:3,normal:2,low:1};class Io{config;middlewareStack=_o();initConfig;handlers;constructor(e){this.config=e;const{protocol:t,protocolSettings:r}=e;r&&"function"==typeof t&&(e.protocol=new t(r))}send(e,t,r){const n="function"!=typeof t?t:void 0,o="function"==typeof t?t:r;let i;if(void 0===n&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);const t=this.handlers;t.has(e.constructor)?i=t.get(e.constructor):(i=e.resolveMiddleware(this.middlewareStack,this.config,n),t.set(e.constructor,i))}else delete this.handlers,i=e.resolveMiddleware(this.middlewareStack,this.config,n);if(!o)return i(e).then(e=>e.output);i(e).then(e=>o(null,e.output),e=>o(e)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}const xo=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},Oo=function(e){return ko(e)&&e.expiration.getTime()-Date.now()<3e5};const ko=e=>void 0!==e.expiration,To={},No={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),To[e]=t,No[t]=e}function jo(e){let t="";for(let r=0;r<e.byteLength;r++)t+=To[e[r]];return t}const Ro=e=>(new TextEncoder).encode(e),Mo=e=>"string"==typeof e?Ro(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),Do="X-Amz-Date",Uo="X-Amz-Signature",Fo="X-Amz-Security-Token",Lo="authorization",zo=Do.toLowerCase(),Vo=[Lo,zo,"date"],Ho=Uo.toLowerCase(),$o="x-amz-content-sha256",Wo=Fo.toLowerCase(),Bo={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Ko=/^proxy-/,Go=/^sec-/,qo="AWS4-HMAC-SHA256",Yo="AWS4-HMAC-SHA256-PAYLOAD",Jo="aws4_request",Qo={},Xo=[],Zo=(e,t,r)=>`${e}/${t}/${r}/${Jo}`,ei=(e,t,r)=>{const n=new e(t);return n.update(Mo(r)),n.digest()},ti=({headers:e},t,r)=>{const n={};for(const o of Object.keys(e).sort()){if(null==e[o])continue;const i=o.toLowerCase();(i in Bo||t?.has(i)||Ko.test(i)||Go.test(i))&&(!r||r&&!r.has(i))||(n[i]=e[o].trim().replace(/\s+/g," "))}return n},ri=async({headers:e,body:t},r)=>{for(const t of Object.keys(e))if(t.toLowerCase()===$o)return e[t];if(null==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||(n=t,"function"==typeof ArrayBuffer&&n instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(n))){const e=new r;return e.update(Mo(t)),jo(await e.digest())}var n;return"UNSIGNED-PAYLOAD"};class ni{format(e){const t=[];for(const r of Object.keys(e)){const n=Ro(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}const r=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0));let n=0;for(const e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":const n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":const o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6),o.setUint16(1,e.value.byteLength,!1);const i=new Uint8Array(o.buffer);return i.set(e.value,3),i;case"string":const a=Ro(e.value),s=new DataView(new ArrayBuffer(3+a.byteLength));s.setUint8(0,7),s.setUint16(1,a.byteLength,!1);const c=new Uint8Array(s.buffer);return c.set(a,3),c;case"timestamp":const u=new Uint8Array(9);return u[0]=8,u.set(ai.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!ii.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(function(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const n=e.slice(r,r+2).toLowerCase();if(!(n in No))throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`);t[r/2]=No[n]}return t}(e.value.replace(/\-/g,"")),1),l}}}var oi;!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(oi||(oi={}));const ii=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class ai{bytes;constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&si(t),new ai(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&si(e),parseInt(jo(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function si(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class ci{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new ci({...e,headers:{...e.headers}});var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce((e,t)=>{const n=r[t];return{...e,[t]:Array.isArray(n)?[...n]:n}},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return ci.clone(this)}}const ui=e=>{e=ci.clone(e);for(const t of Object.keys(e.headers))Vo.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},li=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},di=e=>encodeURIComponent(e).replace(/[!'()*]/g,pi),pi=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;class fi{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i=!0}){this.service=n,this.sha256=o,this.uriEscapePath=i,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=li(r),this.credentialProvider=li(t)}createCanonicalRequest(e,t,r){const n=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${(({query:e={}})=>{const t=[],r={};for(const n of Object.keys(e)){if(n.toLowerCase()===Ho)continue;const o=di(n);t.push(o);const i=e[n];"string"==typeof i?r[o]=`${o}=${di(i)}`:Array.isArray(i)&&(r[o]=i.slice(0).reduce((e,t)=>e.concat([`${o}=${di(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>r[e]).filter(e=>e).join("&")})(e)}\n${n.map(e=>`${e}:${t[e]}`).join("\n")}\n\n${n.join(";")}\n${r}`}async createStringToSign(e,t,r,n){const o=new this.sha256;return o.update(Mo(r)),`${n}\n${e}\n${t}\n${jo(await o.digest())}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const r of e.split("/"))0!==r?.length&&"."!==r&&(".."===r?t.pop():t.push(r));const r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return di(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw new Error("Resolved credential object is not valid")}formatDate(e){const t=(r=e,(e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e)(r).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var r;return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}class hi extends fi{headerFormatter=new ni;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i})}async presign(e,t={}){const{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:o,unhoistableHeaders:i,signableHeaders:a,hoistableHeaders:s,signingRegion:c,signingService:u}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);const d=c??await this.regionProvider(),{longDate:p,shortDate:f}=this.formatDate(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const h=Zo(f,d,u??this.service),m=((e,t={})=>{const{headers:r,query:n={}}=ci.clone(e);for(const e of Object.keys(r)){const o=e.toLowerCase();("x-amz-"===o.slice(0,6)&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))&&(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}})(ui(e),{unhoistableHeaders:i,hoistableHeaders:s});l.sessionToken&&(m.query[Fo]=l.sessionToken),m.query["X-Amz-Algorithm"]=qo,m.query["X-Amz-Credential"]=`${l.accessKeyId}/${h}`,m.query[Do]=p,m.query["X-Amz-Expires"]=n.toString(10);const g=ti(m,o,a);return m.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(g),m.query[Uo]=await this.getSignature(p,h,this.getSigningKey(l,d,f,u),this.createCanonicalRequest(m,g,await ri(e,this.sha256))),m}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:o,signingService:i}){const a=o??await this.regionProvider(),{shortDate:s,longDate:c}=this.formatDate(r),u=Zo(s,a,i??this.service),l=await ri({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);const p=jo(await d.digest()),f=[Yo,c,u,n,p,l].join("\n");return this.signString(f,{signingDate:r,signingRegion:a,signingService:i})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n}={}){const o=await this.credentialProvider();this.validateResolvedCredentials(o);const i=r??await this.regionProvider(),{shortDate:a}=this.formatDate(t),s=new this.sha256(await this.getSigningKey(o,i,a,n));return s.update(Mo(e)),jo(await s.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:o,signingService:i}={}){const a=await this.credentialProvider();this.validateResolvedCredentials(a);const s=o??await this.regionProvider(),c=ui(e),{longDate:u,shortDate:l}=this.formatDate(t),d=Zo(l,s,i??this.service);c.headers[zo]=u,a.sessionToken&&(c.headers[Wo]=a.sessionToken);const p=await ri(c,this.sha256);!((e,t)=>{e=e.toLowerCase();for(const r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1})($o,c.headers)&&this.applyChecksum&&(c.headers[$o]=p);const f=ti(c,n,r),h=await this.getSignature(u,d,this.getSigningKey(a,s,l,i),this.createCanonicalRequest(c,f,p));return c.headers[Lo]=`${qo} Credential=${a.accessKeyId}/${d}, SignedHeaders=${this.getCanonicalHeaderList(f)}, Signature=${h}`,c}async getSignature(e,t,r,n){const o=await this.createStringToSign(e,t,n,qo),i=new this.sha256(await r);return i.update(Mo(o)),jo(await i.digest())}getSigningKey(e,t,r,n){return(async(e,t,r,n,o)=>{const i=`${r}:${n}:${o}:${jo(await ei(e,t.secretAccessKey,t.accessKeyId))}:${t.sessionToken}`;if(i in Qo)return Qo[i];for(Xo.push(i);Xo.length>50;)delete Qo[Xo.shift()];let a=`AWS4${t.secretAccessKey}`;for(const t of[r,n,o,Jo])a=await ei(e,a,t);return Qo[i]=a})(this.sha256,e,r,t,n||this.service)}}const mi=async(e,t,r)=>({operation:Mn(t).operation,region:await qn(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),gi=e=>{const t=[];switch(e.operation){case"AssociateSoftwareToken":case"ChangePassword":case"CompleteWebAuthnRegistration":case"ConfirmDevice":case"ConfirmForgotPassword":case"ConfirmSignUp":case"DeleteUser":case"DeleteUserAttributes":case"DeleteWebAuthnCredential":case"ForgetDevice":case"ForgotPassword":case"GetDevice":case"GetTokensFromRefreshToken":case"GetUser":case"GetUserAttributeVerificationCode":case"GetUserAuthFactors":case"GlobalSignOut":case"InitiateAuth":case"ListDevices":case"ListWebAuthnCredentials":case"ResendConfirmationCode":case"RespondToAuthChallenge":case"RevokeToken":case"SetUserMFAPreference":case"SetUserSettings":case"SignUp":case"StartWebAuthnRegistration":case"UpdateAuthEventFeedback":case"UpdateDeviceStatus":case"UpdateUserAttributes":case"VerifySoftwareToken":case"VerifyUserAttribute":t.push({schemeId:"smithy.api#noAuth"});break;default:t.push(function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"cognito-idp",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}(e))}return t},yi={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var vi=a(12392),bi={name:"SHA-256"},Ei={name:"HMAC",hash:bi},wi=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);const Si={};function Ai(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:Si}var _i=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!(0,vi.Kz)(e)){var t=(0,vi.pP)(e),r=new Uint8Array(this.toHash.byteLength+t.byteLength);r.set(this.toHash,0),r.set(t,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return Ai().crypto.subtle.sign(Ei,t,e.toHash).then(function(e){return new Uint8Array(e)})}):(0,vi.Kz)(this.toHash)?Promise.resolve(wi):Promise.resolve().then(function(){return Ai().crypto.subtle.digest(bi,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(t,r){Ai().crypto.subtle.importKey("raw",(0,vi.pP)(e.secret),Ei,!1,["sign"]).then(t,r)}),this.key.catch(function(){}))},e}(),Pi=a(136),Ci=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];var Ii=function(){function e(e){!function(e){return!(!function(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}(e)||"object"!=typeof e.crypto.subtle)&&((t=e.crypto.subtle)&&Ci.every(function(e){return"function"==typeof t[e]}));var t}(Ai())?this.hash=new Pi.Sha256(e):this.hash=new _i(e)}return e.prototype.update=function(e,t){this.hash.update((0,vi.pP)(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}();const xi=({serviceId:e,clientVersion:t})=>async r=>{const n="undefined"!=typeof window?window.navigator:void 0,o=n?.userAgent??"",i=n?.userAgentData?.platform??Oi.os(o)??"other",a=n?.userAgentData?.brands??[],s=a[a.length-1],c=s?.brand??Oi.browser(o)??"unknown",u=[["aws-sdk-js",t],["ua","2.1"],[`os/${i}`,void 0],["lang/js"],["md/browser",`${c}_${s?.version??"unknown"}`]];e&&u.push([`api/${e}`,t]);const l=await(r?.userAgentAppId?.());return l&&u.push([`app/${l}`]),u},Oi={os:e=>/iPhone|iPad|iPod/.test(e)?"iOS":/Macintosh|Mac OS X/.test(e)?"macOS":/Windows NT/.test(e)?"Windows":/Android/.test(e)?"Android":/Linux/.test(e)?"Linux":void 0,browser:e=>/EdgiOS|EdgA|Edg\//.test(e)?"Microsoft Edge":/Firefox\//.test(e)?"Firefox":/Chrome\//.test(e)?"Chrome":/Safari\//.test(e)?"Safari":void 0};var ki;!function(e){e.ENV="env",e.CONFIG="shared config entry"}(ki||(ki={}));const Ti=e=>encodeURIComponent(e).replace(/[!'()*]/g,Ni),Ni=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;function ji(e,t){return new Request(e,t)}function Ri(e=0){return new Promise((t,r)=>{e&&setTimeout(()=>{const t=new Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",r(t)},e)})}const Mi={supported:void 0};class Di{config;configProvider;static create(e){return"function"==typeof e?.handle?e:new Di(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===Mi.supported&&(Mi.supported=Boolean("undefined"!=typeof Request&&"keepalive"in ji("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:r}={}){this.config||(this.config=await this.configProvider);const n=r??this.config.requestTimeout,o=!0===this.config.keepAlive,i=this.config.credentials;if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let a=e.path;const s=function(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];if(r=Ti(r),Array.isArray(n))for(let e=0,o=n.length;e<o;e++)t.push(`${r}=${Ti(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${Ti(n)}`),t.push(e)}}return t.join("&")}(e.query||{});s&&(a+=`?${s}`),e.fragment&&(a+=`#${e.fragment}`);let c="";null==e.username&&null==e.password||(c=`${e.username??""}:${e.password??""}@`);const{port:u,method:l}=e,d=`${e.protocol}//${c}${e.hostname}${u?`:${u}`:""}${a}`,p="GET"===l||"HEAD"===l?void 0:e.body,f={body:p,headers:new Headers(e.headers),method:l,credentials:i};this.config?.cache&&(f.cache=this.config.cache),p&&(f.duplex="half"),"undefined"!=typeof AbortController&&(f.signal=t),Mi.supported&&(f.keepalive=o),"function"==typeof this.config.requestInit&&Object.assign(f,this.config.requestInit(e));let h=()=>{};const m=ji(d,f),g=[fetch(m).then(e=>{const t=e.headers,r={};for(const e of t.entries())r[e[0]]=e[1];return null!=e.body?{response:new Vn({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then(t=>({response:new Vn({headers:r,reason:e.statusText,statusCode:e.status,body:t})}))}),Ri(n)];return t&&g.push(new Promise((e,r)=>{const n=()=>{const e=new Error("Request aborted");e.name="AbortError",r(e)};if("function"==typeof t.addEventListener){const e=t;e.addEventListener("abort",n,{once:!0}),h=()=>e.removeEventListener("abort",n)}else t.onabort=n})),Promise.race(g).finally(h)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>(r[e]=t,r))}httpHandlerConfigs(){return this.config??{}}}const Ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fi=Object.entries(Ui).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),Li=Ui.split(""),zi=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,o=0;for(let n=t,i=t+3;n<=i;n++)if("="!==e[n]){if(!(e[n]in Fi))throw new TypeError(`Invalid character ${e[n]} in base64 string.`);r|=Fi[e[n]]<<6*(i-n),o+=6}else r>>=6;const i=t/4*3;r>>=o%8;const a=Math.floor(o/8);for(let e=0;e<a;e++){const t=8*(a-e-1);n.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)},Vi=async e=>"function"==typeof Blob&&e instanceof Blob||"Blob"===e.constructor?.name?void 0!==Blob.prototype.arrayBuffer?new Uint8Array(await e.arrayBuffer()):async function(e){const t=await function(e){return new Promise((t,r)=>{const n=new FileReader;n.onloadend=()=>{if(2!==n.readyState)return r(new Error("Reader aborted too early"));const e=n.result??"",o=e.indexOf(","),i=o>-1?o+1:e.length;t(e.substring(i))},n.onabort=()=>r(new Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(e)})}(e),r=zi(t);return new Uint8Array(r)}(e):async function(e){const t=[],r=e.getReader();let n=!1,o=0;for(;!n;){const{done:e,value:i}=await r.read();i&&(t.push(i),o+=i.length),n=e}const i=new Uint8Array(o);let a=0;for(const e of t)i.set(e,a),a+=e.length;return i}(e),Hi=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},$i="function"==typeof TextEncoder?new TextEncoder:null,Wi=e=>{if("string"==typeof e){if($i)return $i.encode(e).byteLength;let t=e.length;for(let r=t-1;r>=0;r--){const n=e.charCodeAt(r);n>127&&n<=2047?t++:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&r--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw new Error(`Body Length computation failed for ${e}`)},Bi=["in-region","cross-region","mobile","standard","legacy"];class Ki{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new Ki({...e,headers:{...e.headers}});var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce((e,t)=>{const n=r[t];return{...e,[t]:Array.isArray(n)?[...n]:n}},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return Ki.clone(this)}}const Gi=e=>new Date(Date.now()+e);class qi{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}const Yi=e=>qi.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,Ji=(e,t)=>{const r=Date.parse(e);return((e,t)=>Math.abs(Gi(t).getTime()-e)>=3e5)(r,t)?r-Date.now():t},Qi=(e,t)=>{if(!t)throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t};class Xi{async sign(e,t,r){if(!Ki.isInstance(e))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const n=await(async e=>{const t=Qi("context",e.context),r=Qi("config",e.config),n=t.endpointV2?.properties?.authSchemes?.[0],o=Qi("signer",r.signer),i=await o(n),a=e?.signingRegion,s=e?.signingRegionSet,c=e?.signingName;return{config:r,signer:i,signingRegion:a,signingRegionSet:s,signingName:c}})(r),{config:o,signer:i}=n;let{signingRegion:a,signingName:s}=n;const c=r.context;if(c?.authSchemes?.length){const[e,t]=c.authSchemes;"sigv4a"===e?.name&&"sigv4"===t?.name&&(a=t?.signingRegion??a,s=t?.signingName??s)}return await i.sign(e,{signingDate:Gi(o.systemClockOffset),signingRegion:a,signingService:s})}errorHandler(e){return t=>{const r=t.ServerTime??Yi(t.$response);if(r){const n=Qi("config",e.config),o=n.systemClockOffset;n.systemClockOffset=Ji(r,n.systemClockOffset),n.systemClockOffset!==o&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){const r=Yi(e);if(r){const e=Qi("config",t.config);e.systemClockOffset=Ji(r,e.systemClockOffset)}}}const Zi=e=>"function"==typeof e?e():e;function ea(e){if("object"==typeof e)return e;e|=0;const t={};let r=0;for(const n of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])1==(e>>r++&1)&&(t[n]=1);return t}class ta{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=ta.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(e,t){this.ref=e,this.memberName=t;const r=[];let n=e,o=e;for(this._isMemberSchema=!1;na(n);)r.push(n[1]),n=n[0],o=Zi(n),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){const t=r[e];Object.assign(this.memberTraits,ea(t))}}else this.memberTraits=0;if(o instanceof ta){const e=this.memberTraits;return Object.assign(this,o),this.memberTraits=Object.assign({},e,o.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,void(this.memberName=t??o.memberName)}if(this.schema=Zi(o),oa(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(o),this.traits=0),this._isMemberSchema&&!t)throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){const t=this.prototype.isPrototypeOf(e);return t||"object"!=typeof e||null===e?t:e.symbol===this.symbol}static of(e){const t=Zi(e);if(t instanceof ta)return t;if(na(t)){const[r,n]=t;if(r instanceof ta)return Object.assign(r.getMergedTraits(),ea(n)),r;throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(e,null,2)}.`)}return new ta(t)}getSchema(){const e=this.schema;return 0===e[0]?e[4]:e}getName(e=!1){const{name:t}=this;return!e&&t&&t.includes("#")?t.split("#")[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const e=this.getSchema();return"number"==typeof e?e>=64&&e<128:1===e[0]}isMapSchema(){const e=this.getSchema();return"number"==typeof e?e>=128&&e<=255:2===e[0]}isStructSchema(){const e=this.getSchema();return 3===e[0]||-3===e[0]}isBlobSchema(){const e=this.getSchema();return 21===e||42===e}isTimestampSchema(){const e=this.getSchema();return"number"==typeof e&&e>=4&&e<=7}isUnitSchema(){return"unit"===this.getSchema()}isDocumentSchema(){return 15===this.getSchema()}isStringSchema(){return 0===this.getSchema()}isBooleanSchema(){return 2===this.getSchema()}isNumericSchema(){return 1===this.getSchema()}isBigIntegerSchema(){return 17===this.getSchema()}isBigDecimalSchema(){return 19===this.getSchema()}isStreaming(){const{streaming:e}=this.getMergedTraits();return!!e||42===this.getSchema()}isIdempotencyToken(){const e=e=>!(4&~e&&!e?.idempotencyToken),{normalizedTraits:t,traits:r,memberTraits:n}=this;return e(t)||e(r)||e(n)}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return ea(this.memberTraits)}getOwnTraits(){return ea(this.traits)}getKeySchema(){const[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);const r=this.getSchema();return ra([e?15:r[4]??0,0],"key")}getValueSchema(){const e=this.getSchema(),[t,r,n]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],o="number"==typeof e?63&e:e&&"object"==typeof e&&(r||n)?e[3+e[0]]:t?15:void 0;if(null!=o)return ra([o,0],r?"value":"member");throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){const t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){const r=t[4].indexOf(e),n=t[5][r];return ra(na(n)?n:[n,0],e)}if(this.isDocumentSchema())return ra([15,0],e);throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no no member=${e}.`)}getMemberSchemas(){const e={};try{for(const[t,r]of this.structIterator())e[t]=r}catch(e){}return e}getEventStreamMember(){if(this.isStructSchema())for(const[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e;return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");const e=this.getSchema();for(let t=0;t<e[4].length;++t)yield[e[4][t],ra([e[5][t],0],e[4][t])]}}function ra(e,t){return e instanceof ta?Object.assign(e,{memberName:t,_isMemberSchema:!0}):new ta(e,t)}const na=e=>Array.isArray(e)&&2===e.length,oa=e=>Array.isArray(e)&&e.length>=5,ia="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",aa=Object.entries(ia).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),sa=ia.split(""),ca=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,o=0;for(let n=t,i=t+3;n<=i;n++)if("="!==e[n]){if(!(e[n]in aa))throw new TypeError(`Invalid character ${e[n]} in base64 string.`);r|=aa[e[n]]<<6*(i-n),o+=6}else r>>=6;const i=t/4*3;r>>=o%8;const a=Math.floor(o/8);for(let e=0;e<a;e++){const t=8*(a-e-1);n.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)};var ua=a(34073);function la(e){let t;t="string"==typeof e?(0,ua.a)(e):e;const r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let o="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let o=e,i=Math.min(e+3,t.length);o<i;o++)r|=t[o]<<8*(i-o-1),n+=8;const i=Math.ceil(n/6);r<<=6*i-n;for(let e=1;e<=i;e++){const t=6*(i-e);o+=sa[(r&63<<t)>>t]}o+="==".slice(0,4-i)}return o}var da=a(77844);class pa extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return"base64"===t?pa.mutate(ca(e)):pa.mutate((0,ua.a)(e));throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,pa.prototype),e}transformToString(e="utf-8"){return"base64"===e?la(this):(0,da.P)(this)}}const fa=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return pa.mutate(e);if(!e)return pa.mutate(new Uint8Array);const r=t.streamCollector(e);return pa.mutate(await r)};class ha{serdeContext;setSerdeContext(e){this.serdeContext=e}}class ma extends ha{options;constructor(e){super(),this.options=e}getRequestType(){return Ki}getResponseType(){return qi}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if("url"in t){e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||(e.query={});for(const[r,n]of t.url.searchParams.entries())e.query[r]=n;return e}return e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},e}setHostPrefix(e,t,r){const n=ta.of(t.input),o=ea(t.traits??{});if(o.endpoint){let t=o.endpoint?.[0];if("string"==typeof t){const o=[...n.structIterator()].filter(([,e])=>e.getMergedTraits().hostLabel);for(const[e]of o){const n=r[e];if("string"!=typeof n)throw new Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,n)}e.hostname=t+e.hostname}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r})}async loadEventStreamCapability(){const{EventStreamSerde:e}=await a.e(283).then(a.bind(a,29283));return new e({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,r,n,o){return[]}getEventStreamMarshaller(){const e=this.serdeContext;if(!e.eventStreamMarshaller)throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return e.eventStreamMarshaller}}class ga extends ma{async serializeRequest(e,t,r){const n=this.serializer,o={},i={},a=await r.endpoint(),s=ta.of(e?.input),c=s.getSchema();let u;const l=new Ki({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:o,headers:i,body:void 0});a&&(this.updateServiceEndpoint(l,a),this.setHostPrefix(l,e,t));const d={...t};if(t){const e=s.getEventStreamMember();if(e){if(d[e]){const t={};for(const[r,o]of s.structIterator())r!==e&&d[r]&&(n.write(o,d[r]),t[r]=n.flush());u=await this.serializeEventStream({eventStream:d[e],requestSchema:s,initialRequest:t})}}else n.write(c,d),u=n.flush()}return l.headers=i,l.query=o,l.body=u,l.method="POST",l}async deserializeResponse(e,t,r){const n=this.deserializer,o=ta.of(e.output),i={};if(r.statusCode>=300){const o=await fa(r.body,t);throw o.byteLength>0&&Object.assign(i,await n.read(15,o)),await this.handleError(e,t,r,i,this.deserializeMetadata(r)),new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(const e in r.headers){const t=r.headers[e];delete r.headers[e],r.headers[e.toLowerCase()]=t}const a=o.getEventStreamMember();if(a)i[a]=await this.deserializeEventStream({response:r,responseSchema:o,initialResponseContainer:i});else{const e=await fa(r.body,t);e.byteLength>0&&Object.assign(i,await n.read(o,e))}return i.$metadata=this.deserializeMetadata(r),i}}class ya{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,r=new Map){this.namespace=e,this.schemas=t,this.exceptions=r}static for(e){return ya.registries.has(e)||ya.registries.set(e,new ya(e)),ya.registries.get(e)}register(e,t){const r=this.normalizeShapeId(e);ya.for(r.split("#")[0]).schemas.set(r,t)}getSchema(e){const t=this.normalizeShapeId(e);if(!this.schemas.has(t))throw new Error(`@smithy/core/schema - schema not found for ${t}`);return this.schemas.get(t)}registerError(e,t){const r=e,n=ya.for(r[1]);n.schemas.set(r[1]+"#"+r[2],r),n.exceptions.set(r,t)}getErrorCtor(e){const t=e;return ya.for(t[1]).exceptions.get(t)}getBaseException(){for(const e of this.exceptions.keys())if(Array.isArray(e)){const[,t,r]=e,n=t+"#"+r;if(n.startsWith("smithy.ts.sdk.synthetic.")&&n.endsWith("ServiceException"))return e}}find(e){return[...this.schemas.values()].find(e)}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes("#")?e:this.namespace+"#"+e}}Error,Symbol.hasInstance;const va=(e,t={})=>{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,r])=>{null!=e[t]&&""!==e[t]||(e[t]=r)});const r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e};class ba{queryCompat;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){const r=t.getMemberSchemas(),n=Object.values(r).find(e=>!!e.getMergedTraits().httpPayload);if(n){return n.getMergedTraits().mediaType||(n.isStringSchema()?"text/plain":n.isBlobSchema()?"application/octet-stream":e)}if(!t.isUnitSchema()){const t=Object.values(r).find(e=>{const{httpQuery:t,httpQueryParams:r,httpHeader:n,httpLabel:o,httpPrefixHeaders:i}=e.getMergedTraits();return!(t||r||n||o||void 0!==i)});if(t)return e}}async getErrorSchemaOrThrowBaseException(e,t,r,n,o,i){let a=t,s=e;e.includes("#")&&([a,s]=e.split("#"));const c={$metadata:o,$fault:r.statusCode<500?"client":"server"},u=ya.for(a);try{return{errorSchema:i?.(u,s)??u.getSchema(e),errorMetadata:c}}catch(e){n.message=n.message??n.Message??"UnknownError";const t=ya.for("smithy.ts.sdk.synthetic."+a),r=t.getBaseException();if(r){const e=t.getErrorCtor(r)??Error;throw this.decorateServiceException(Object.assign(new e({name:s}),c),n)}throw this.decorateServiceException(Object.assign(new Error(s),c),n)}}decorateServiceException(e,t={}){if(this.queryCompat){const r=e.Message??t.Message,n=va(e,t);r&&(n.message=r),n.Error={...n.Error,Type:n.Error.Type,Code:n.Error.Code,Message:n.Error.message??n.Error.Message??r};const o=n.$metadata.requestId;return o&&(n.RequestId=o),n}return va(e,t)}setQueryCompatError(e,t){const r=t.headers?.["x-amzn-query-error"];if(void 0!==e&&null!=r){const[t,n]=r.split(";"),o=Object.entries(e),i={Code:t,Type:n};Object.assign(e,i);for(const[e,t]of o)i["message"===e?"Message":e]=t;delete i.__type,e.Error=i}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch(r){return e.find(e=>ta.of(e).getMergedTraits().awsQueryError?.[0]===t)}}}class Ea{serdeContext;setSerdeContext(e){this.serdeContext=e}}function wa(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(5===e.getSchema()||6===e.getSchema()||7===e.getSchema()))return e.getSchema();const{httpLabel:r,httpPrefixHeaders:n,httpHeader:o,httpQuery:i}=e.getMergedTraits();return(t.httpBindings?"string"==typeof n||Boolean(o)?6:Boolean(i)||Boolean(r)?5:void 0:void 0)??t.timestampFormat.default}const Sa=function(e){return Object.assign(new String(e),{deserializeJSON:()=>JSON.parse(String(e)),toString:()=>String(e),toJSON:()=>String(e)})};Sa.from=e=>e&&"object"==typeof e&&(e instanceof Sa||"deserializeJSON"in e)?e:"string"==typeof e||Object.getPrototypeOf(e)===String.prototype?Sa(String(e)):Sa(JSON.stringify(e)),Sa.fromObject=Sa.from;const Aa=e=>{if(null!=e){if("string"==typeof e){const t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&Ta.warn(ka(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}},_a=Math.ceil(2**127*(2-2**-23)),Pa=(e,t)=>{const r=(e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}})(e);if(void 0!==r&&Ca(r,t)!==r)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return r},Ca=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},Ia=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,xa=e=>{const t=e.match(Ia);if(null===t||t[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)},Oa=e=>(e=>Pa(e,16))("string"==typeof e?xa(e):e),ka=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),Ta={warn:console.warn},Na=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ja=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ra=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),Ma=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Da=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Ua=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),Fa=(e,t,r,n)=>{const o=t-1;return Va(e,o,r),new Date(Date.UTC(e,o,r,$a(n.hours,"hour",0,23),$a(n.minutes,"minute",0,59),$a(n.seconds,"seconds",0,60),Wa(n.fractionalMilliseconds)))},La=e=>{const t=ja.indexOf(e);if(t<0)throw new TypeError(`Invalid month: ${e}`);return t+1},za=[31,28,31,30,31,30,31,31,30,31,30,31],Va=(e,t,r)=>{let n=za[t];if(1===t&&Ha(e)&&(n=29),r>n)throw new TypeError(`Invalid day for ${ja[t]} in ${e}: ${r}`)},Ha=e=>e%4==0&&(e%100!=0||e%400==0),$a=(e,t,r,n)=>{const o=(e=>(e=>Pa(e,8))("string"==typeof e?xa(e):e))(Ba(e));if(o<r||o>n)throw new TypeError(`${t} must be between ${r} and ${n}, inclusive`);return o},Wa=e=>null==e?0:1e3*(e=>(e=>{const t=Aa(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>_a)throw new TypeError(`Expected 32-bit float, got ${e}`);return t})("string"==typeof e?xa(e):e))("0."+e),Ba=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)},Ka=/^-?\d*(\.\d+)?$/;class Ga{string;type;constructor(e,t){if(this.string=e,this.type=t,!Ka.test(e))throw new Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance](e){if(!e||"object"!=typeof e)return!1;const t=e;return Ga.prototype.isPrototypeOf(e)||"bigDecimal"===t.type&&Ka.test(t.string)}}function qa(e,t,r){if(r?.source){const e=r.source;if("number"==typeof t&&(t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||e!==String(t)))return e.includes(".")?new Ga(e,"bigDecimal"):BigInt(e)}return t}class Ya extends Ea{settings;constructor(e){super(),this.settings=e}async read(e,t){return this._read(e,"string"==typeof t?JSON.parse(t,qa):await(r=t,n=this.serdeContext,((e,t)=>fa(e,t).then(e=>(t?.utf8Encoder??da.P)(e)))(r,n).then(e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw"SyntaxError"===t?.name&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}})));var r,n}readObject(e,t){return this._read(e,t)}_read(e,t){const r=null!==t&&"object"==typeof t,n=ta.of(e);if(r){if(n.isStructSchema()){const e={};for(const[r,o]of function*(e,t,r){if(e.isUnitSchema())return;const n=e.getSchema();let o=Object.keys(t).filter(e=>"__type"!==e).length;for(let e=0;e<n[4].length&&0!==o;++e){const i=n[4][e],a=n[5][e],s=new ta([a,0],i);let c=i;r&&(c=s.getMergedTraits()[r]??i),c in t&&(yield[i,s],o-=1)}}(n,t,!!this.settings.jsonName&&"jsonName")){const n=this.settings.jsonName?o.getMergedTraits().jsonName??r:r,i=this._read(o,t[n]);null!=i&&(e[r]=i)}return e}if(Array.isArray(t)&&n.isListSchema()){const e=n.getValueSchema(),r=[],o=!!n.getMergedTraits().sparse;for(const n of t)(o||null!=n)&&r.push(this._read(e,n));return r}if(n.isMapSchema()){const e=n.getValueSchema(),r={},o=!!n.getMergedTraits().sparse;for(const[n,i]of Object.entries(t))(o||null!=i)&&(r[n]=this._read(e,i));return r}}if(n.isBlobSchema()&&"string"==typeof t)return ca(t);const o=n.getMergedTraits().mediaType;if(n.isStringSchema()&&"string"==typeof t&&o)return"application/json"===o||o.endsWith("+json")?Sa.from(t):t;if(n.isTimestampSchema()&&null!=t)switch(wa(n,this.settings)){case 5:return(e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=Ra.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,o,i,a,s,c,u,l]=t,d=Oa(Ba(n)),p=$a(o,"month",1,12),f=$a(i,"day",1,31),h=Fa(d,p,f,{hours:a,minutes:s,seconds:c,fractionalMilliseconds:u});return"Z"!=l.toUpperCase()&&h.setTime(h.getTime()-(e=>{const t=e[0];let r=1;if("+"==t)r=1;else{if("-"!=t)throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`);r=-1}return r*(60*Number(e.substring(1,3))+Number(e.substring(4,6)))*60*1e3})(l)),h})(t);case 6:return(e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-7231 date-times must be expressed as strings");let t=Ma.exec(e);if(t){const[e,r,n,o,i,a,s,c]=t;return Fa(Oa(Ba(o)),La(n),$a(r,"day",1,31),{hours:i,minutes:a,seconds:s,fractionalMilliseconds:c})}if(t=Da.exec(e),t){const[e,n,o,i,a,s,c,u]=t;return r=Fa((e=>{const t=(new Date).getUTCFullYear(),r=100*Math.floor(t/100)+Oa(Ba(e));return r<t?r+100:r})(i),La(o),$a(n,"day",1,31),{hours:a,minutes:s,seconds:c,fractionalMilliseconds:u}),r.getTime()-(new Date).getTime()>15768e8?new Date(Date.UTC(r.getUTCFullYear()-100,r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds())):r}var r;if(t=Ua.exec(e),t){const[e,r,n,o,i,a,s,c]=t;return Fa(Oa(Ba(c)),La(r),$a(n.trimLeft(),"day",1,31),{hours:o,minutes:i,seconds:a,fractionalMilliseconds:s})}throw new TypeError("Invalid RFC-7231 date-time value")})(t);case 7:return(e=>{if(null==e)return;let t;if("number"==typeof e)t=e;else if("string"==typeof e)t=(e=>Aa("string"==typeof e?xa(e):e))(e);else{if("object"!=typeof e||1!==e.tag)throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");t=e.value}if(Number.isNaN(t)||t===1/0||t===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*t))})(t);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}if(n.isBigIntegerSchema()&&("number"==typeof t||"string"==typeof t))return BigInt(t);if(n.isBigDecimalSchema()&&null!=t){if(t instanceof Ga)return t;const e=t;return"bigDecimal"===e.type&&"string"in e?new Ga(e.string,e.type):new Ga(String(t),"bigDecimal")}if(n.isNumericSchema()&&"string"==typeof t){switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}return t}if(n.isDocumentSchema()){if(r){const e=Array.isArray(t)?[]:{};for(const[r,o]of Object.entries(t))e[r]=o instanceof Ga?o:this._read(n,o);return e}return structuredClone(t)}return t}}const Ja=String.fromCharCode(925);class Qa{values=new Map;counter=0;stage=0;createReplacer(){if(1===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(2===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(e,t)=>{if(t instanceof Ga){const e=Ja+"nv"+this.counter+++"_"+t.string;return this.values.set(`"${e}"`,t.string),e}if("bigint"==typeof t){const e=t.toString(),r=Ja+"b"+this.counter+++"_"+e;return this.values.set(`"${r}"`,e),r}return t}}replaceInJson(e){if(0===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(2===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,0===this.counter)return e;for(const[t,r]of this.values)e=e.replace(t,r);return e}}class Xa extends Ea{settings;buffer;useReplacer=!1;rootSchema;constructor(e){super(),this.settings=e}write(e,t){this.rootSchema=ta.of(e),this.buffer=this._write(this.rootSchema,t)}writeDiscriminatedDocument(e,t){this.write(e,t),"object"==typeof this.buffer&&(this.buffer.__type=ta.of(e).getName(!0))}flush(){const{rootSchema:e,useReplacer:t}=this;if(this.rootSchema=void 0,this.useReplacer=!1,e?.isStructSchema()||e?.isDocumentSchema()){if(!t)return JSON.stringify(this.buffer);const e=new Qa;return e.replaceInJson(JSON.stringify(this.buffer,e.createReplacer(),0))}return this.buffer}_write(e,t,r){const n=null!==t&&"object"==typeof t,o=ta.of(e);if(n){if(o.isStructSchema()){const e={};for(const[r,n]of function*(e,t){if(e.isUnitSchema())return;const r=e.getSchema();for(let e=0;e<r[4].length;++e){const n=r[4][e],o=r[5][e],i=new ta([o,0],n);(n in t||i.isIdempotencyToken())&&(yield[n,i])}}(o,t)){const i=this._write(n,t[r],o);if(void 0!==i){const t=n.getMergedTraits().jsonName;e[this.settings.jsonName?t??r:r]=i}}return e}if(Array.isArray(t)&&o.isListSchema()){const e=o.getValueSchema(),r=[],n=!!o.getMergedTraits().sparse;for(const o of t)(n||null!=o)&&r.push(this._write(e,o));return r}if(o.isMapSchema()){const e=o.getValueSchema(),r={},n=!!o.getMergedTraits().sparse;for(const[o,i]of Object.entries(t))(n||null!=i)&&(r[o]=this._write(e,i));return r}if(t instanceof Uint8Array&&(o.isBlobSchema()||o.isDocumentSchema()))return o===this.rootSchema?t:(this.serdeContext?.base64Encoder??la)(t);if(t instanceof Date&&(o.isTimestampSchema()||o.isDocumentSchema()))switch(wa(o,this.settings)){case 5:return t.toISOString().replace(".000Z","Z");case 6:return function(e){const t=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),o=e.getUTCDate(),i=e.getUTCHours(),a=e.getUTCMinutes(),s=e.getUTCSeconds(),c=i<10?`0${i}`:`${i}`,u=a<10?`0${a}`:`${a}`,l=s<10?`0${s}`:`${s}`;return`${Na[n]}, ${o<10?`0${o}`:`${o}`} ${ja[r]} ${t} ${c}:${u}:${l} GMT`}(t);case 7:return t.getTime()/1e3;default:return console.warn("Missing timestamp format, using epoch seconds",t),t.getTime()/1e3}t instanceof Ga&&(this.useReplacer=!0)}if(null!==t||!r?.isStructSchema()){if(o.isStringSchema()){if(void 0===t&&o.isIdempotencyToken())return mo();const e=o.getMergedTraits().mediaType;return null!=t&&e&&("application/json"===e||e.endsWith("+json"))?Sa.from(t):t}if("number"==typeof t&&o.isNumericSchema())return Math.abs(t)===1/0||isNaN(t)?String(t):t;if("string"==typeof t&&o.isBlobSchema())return o===this.rootSchema?t:(this.serdeContext?.base64Encoder??la)(t);if("bigint"==typeof t&&(this.useReplacer=!0),o.isDocumentSchema()){if(n){const e=Array.isArray(t)?[]:{};for(const[r,n]of Object.entries(t))n instanceof Ga?(this.useReplacer=!0,e[r]=n):e[r]=this._write(o,n);return e}return structuredClone(t)}return t}}}class Za extends Ea{settings;constructor(e){super(),this.settings=e}createSerializer(){const e=new Xa(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){const e=new Ya(this.settings);return e.setSerdeContext(this.serdeContext),e}}class es extends ga{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:e,serviceTarget:t,awsQueryCompatible:r,jsonCodec:n}){super({defaultNamespace:e}),this.serviceTarget=t,this.codec=n??new Za({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!r,this.mixin=new ba(this.awsQueryCompatible)}async serializeRequest(e,t,r){const n=await super.serializeRequest(e,t,r);return n.path.endsWith("/")||(n.path+="/"),Object.assign(n.headers,{"content-type":`application/x-amz-json-${this.getJsonRpcVersion()}`,"x-amz-target":`${this.serviceTarget}.${e.name}`}),this.awsQueryCompatible&&(n.headers["x-amzn-query-mode"]="true"),"unit"!==Zi(e.input)&&n.body||(n.body="{}"),n}getPayloadCodec(){return this.codec}async handleError(e,t,r,n,o){this.awsQueryCompatible&&this.mixin.setQueryCompatError(n,r);const i=((e,t)=>{const r=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),n=e=>{let t=e;return"number"==typeof t&&(t=t.toString()),t.indexOf(",")>=0&&(t=t.split(",")[0]),t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},o=r(e.headers,"x-amzn-errortype");if(void 0!==o)return n(e.headers[o]);if(t&&"object"==typeof t){const e=r(t,"code");if(e&&void 0!==t[e])return n(t[e]);if(void 0!==t.__type)return n(t.__type)}})(r,n)??"Unknown",{errorSchema:a,errorMetadata:s}=await this.mixin.getErrorSchemaOrThrowBaseException(i,this.options.defaultNamespace,r,n,o,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:void 0),c=ta.of(a),u=n.message??n.Message??"Unknown",l=new(ya.for(a[1]).getErrorCtor(a)??Error)(u),d={};for(const[e,t]of c.structIterator())null!=n[e]&&(d[e]=this.codec.createDeserializer().readObject(t,n[e]));throw this.awsQueryCompatible&&this.mixin.queryCompatOutput(n,d),this.mixin.decorateServiceException(Object.assign(l,s,{$fault:c.getMergedTraits().error,message:u},d),n)}}class ts extends es{constructor({defaultNamespace:e,serviceTarget:t,awsQueryCompatible:r,jsonCodec:n}){super({defaultNamespace:e,serviceTarget:t,awsQueryCompatible:r,jsonCodec:n})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class rs{async sign(e,t,r){return e}}const ns=e=>(new TextEncoder).encode(e);function os(e){let t;t="string"==typeof e?ns(e):e;const r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let o="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let o=e,i=Math.min(e+3,t.length);o<i;o++)r|=t[o]<<8*(i-o-1),n+=8;const i=Math.ceil(n/6);r<<=6*i-n;for(let e=1;e<=i;e++){const t=6*(i-e);o+=Li[(r&63<<t)>>t]}o+="==".slice(0,4-i)}return o}const is=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)},as="endpoints";function ss(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${ss(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(ss).join(", ")})`:JSON.stringify(e,null,2)}class cs extends Error{constructor(e){super(e),this.name="EndpointError"}}const us=(e,t)=>(e=>{const t=e.split("."),r=[];for(const n of t){const t=n.indexOf("[");if(-1!==t){if(n.indexOf("]")!==n.length-1)throw new cs(`Path: '${e}' does not end with ']'`);const o=n.slice(t+1,-1);if(Number.isNaN(parseInt(o)))throw new cs(`Invalid array index: '${o}' in path: '${e}'`);0!==t&&r.push(n.slice(0,t)),r.push(o)}else r.push(n)}return r})(t).reduce((r,n)=>{if("object"!=typeof r)throw new cs(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(r)?r[parseInt(n)]:r[n]},e);var ls;!function(e){e.HTTP="http",e.HTTPS="https"}(ls||(ls={}));const ds={[ls.HTTP]:80,[ls.HTTPS]:443},ps={booleanEquals:(e,t)=>e===t,getAttr:us,isSet:e=>null!=e,isValidHostLabel:yn,not:e=>!e,parseURL:e=>{const t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){const{hostname:t,port:r,protocol:n="",path:o="",query:i={}}=e,a=new URL(`${n}//${t}${r?`:${r}`:""}${o}`);return a.search=Object.entries(i).map(([e,t])=>`${e}=${t}`).join("&"),a}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;const r=t.href,{host:n,hostname:o,pathname:i,protocol:a,search:s}=t;if(s)return null;const c=a.slice(0,-1);if(!Object.values(ls).includes(c))return null;const u=bn(o);return{scheme:c,authority:`${n}${r.includes(`${n}:${ds[c]}`)||"string"==typeof e&&e.includes(`${n}:${ds[c]}`)?`:${ds[c]}`:""}`,path:i,normalizedPath:i.endsWith("/")?i:`${i}/`,isIp:u}},stringEquals:(e,t)=>e===t,substring:(e,t,r,n)=>t>=r||e.length<r?null:n?e.substring(e.length-r,e.length-t):e.substring(t,r),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},fs=(e,t)=>{const r=[],n={...t.endpointParams,...t.referenceRecord};let o=0;for(;o<e.length;){const t=e.indexOf("{",o);if(-1===t){r.push(e.slice(o));break}r.push(e.slice(o,t));const i=e.indexOf("}",t);if(-1===i){r.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[i+1]&&(r.push(e.slice(t+1,i)),o=i+2);const a=e.substring(t+1,i);if(a.includes("#")){const[e,t]=a.split("#");r.push(us(n[e],t))}else r.push(n[a]);o=i+1}return r.join("")},hs=(e,t,r)=>{if("string"==typeof e)return fs(e,r);if(e.fn)return gs.callFunction(e,r);if(e.ref)return(({ref:e},t)=>({...t.endpointParams,...t.referenceRecord}[e]))(e,r);throw new cs(`'${t}': ${String(e)} is not a string, function or reference.`)},ms=({fn:e,argv:t},r)=>{const n=t.map(e=>["boolean","number"].includes(typeof e)?e:gs.evaluateExpression(e,"arg",r)),o=e.split(".");return o[0]in mn&&null!=o[1]?mn[o[0]][o[1]](...n):ps[e](...n)},gs={evaluateExpression:hs,callFunction:ms},ys=({assign:e,...t},r)=>{if(e&&e in r.referenceRecord)throw new cs(`'${e}' is already defined in Reference Record.`);const n=ms(t,r);return r.logger?.debug?.(`${as} evaluateCondition: ${ss(t)} = ${ss(n)}`),{result:""===n||!!n,...null!=e&&{toAssign:{name:e,value:n}}}},vs=(e=[],t)=>{const r={};for(const n of e){const{result:e,toAssign:o}=ys(n,{...t,referenceRecord:{...t.referenceRecord,...r}});if(!e)return{result:e};o&&(r[o.name]=o.value,t.logger?.debug?.(`${as} assign: ${o.name} := ${ss(o.value)}`))}return{result:!0,referenceRecord:r}},bs=(e,t)=>Object.entries(e).reduce((e,[r,n])=>({...e,[r]:n.map(e=>{const n=hs(e,"Header value entry",t);if("string"!=typeof n)throw new cs(`Header '${r}' value '${n}' is not a string`);return n})}),{}),Es=(e,t)=>Object.entries(e).reduce((e,[r,n])=>({...e,[r]:Ss.getEndpointProperty(n,t)}),{}),ws=(e,t)=>{if(Array.isArray(e))return e.map(e=>ws(e,t));switch(typeof e){case"string":return fs(e,t);case"object":if(null===e)throw new cs(`Unexpected endpoint property: ${e}`);return Ss.getEndpointProperties(e,t);case"boolean":return e;default:throw new cs("Unexpected endpoint property type: "+typeof e)}},Ss={getEndpointProperty:ws,getEndpointProperties:Es},As=(e,t)=>{const r=hs(e,"Endpoint URL",t);if("string"==typeof r)try{return new URL(r)}catch(e){throw console.error(`Failed to construct URL with ${r}`,e),e}throw new cs("Endpoint URL must be a string, got "+typeof r)},_s=(e,t)=>{const{conditions:r,endpoint:n}=e,{result:o,referenceRecord:i}=vs(r,t);if(!o)return;const a={...t,referenceRecord:{...t.referenceRecord,...i}},{url:s,properties:c,headers:u}=n;return t.logger?.debug?.(`${as} Resolving endpoint from template: ${ss(n)}`),{...null!=u&&{headers:bs(u,a)},...null!=c&&{properties:Es(c,a)},url:As(s,a)}},Ps=(e,t)=>{const{conditions:r,error:n}=e,{result:o,referenceRecord:i}=vs(r,t);if(o)throw new cs(hs(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...i}}))},Cs=(e,t)=>{for(const r of e)if("endpoint"===r.type){const e=_s(r,t);if(e)return e}else if("error"===r.type)Ps(r,t);else{if("tree"!==r.type)throw new cs(`Unknown endpoint rule: ${r}`);{const e=Is.evaluateTreeRule(r,t);if(e)return e}}throw new cs("Rules evaluation failed")},Is={evaluateRules:Cs,evaluateTreeRule:(e,t)=>{const{conditions:r,rules:n}=e,{result:o,referenceRecord:i}=vs(r,t);if(o)return Is.evaluateRules(n,{...t,referenceRecord:{...t.referenceRecord,...i}})}},xs="required",Os="fn",ks="argv",Ts="ref",Ns=!0,js="isSet",Rs="booleanEquals",Ms="error",Ds="endpoint",Us="tree",Fs="PartitionResult",Ls="getAttr",zs="stringEquals",Vs={[xs]:!1,type:"string"},Hs={[xs]:!0,default:!1,type:"boolean"},$s={[Ts]:"Endpoint"},Ws={[Os]:Rs,[ks]:[{[Ts]:"UseFIPS"},!0]},Bs={[Os]:Rs,[ks]:[{[Ts]:"UseDualStack"},!0]},Ks={},Gs={[Ts]:"Region"},qs={[Os]:Ls,[ks]:[{[Ts]:Fs},"supportsFIPS"]},Ys={[Ts]:Fs},Js={[Os]:Rs,[ks]:[!0,{[Os]:Ls,[ks]:[Ys,"supportsDualStack"]}]},Qs=[Ws],Xs=[Bs],Zs=[Gs],ec={version:"1.0",parameters:{Region:Vs,UseDualStack:Hs,UseFIPS:Hs,Endpoint:Vs},rules:[{conditions:[{[Os]:js,[ks]:[$s]}],rules:[{conditions:Qs,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Ms},{conditions:Xs,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Ms},{endpoint:{url:$s,properties:Ks,headers:Ks},type:Ds}],type:Us},{conditions:[{[Os]:js,[ks]:Zs}],rules:[{conditions:[{[Os]:"aws.partition",[ks]:Zs,assign:Fs}],rules:[{conditions:[Ws,Bs],rules:[{conditions:[{[Os]:Rs,[ks]:[Ns,qs]},Js],rules:[{conditions:[{[Os]:zs,[ks]:[Gs,"us-east-1"]}],endpoint:{url:"https://cognito-idp-fips.us-east-1.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{conditions:[{[Os]:zs,[ks]:[Gs,"us-east-2"]}],endpoint:{url:"https://cognito-idp-fips.us-east-2.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{conditions:[{[Os]:zs,[ks]:[Gs,"us-west-1"]}],endpoint:{url:"https://cognito-idp-fips.us-west-1.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{conditions:[{[Os]:zs,[ks]:[Gs,"us-west-2"]}],endpoint:{url:"https://cognito-idp-fips.us-west-2.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{endpoint:{url:"https://cognito-idp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Ks,headers:Ks},type:Ds}],type:Us},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Ms}],type:Us},{conditions:Qs,rules:[{conditions:[{[Os]:Rs,[ks]:[qs,Ns]}],rules:[{endpoint:{url:"https://cognito-idp-fips.{Region}.{PartitionResult#dnsSuffix}",properties:Ks,headers:Ks},type:Ds}],type:Us},{error:"FIPS is enabled but this partition does not support FIPS",type:Ms}],type:Us},{conditions:Xs,rules:[{conditions:[Js],rules:[{conditions:[{[Os]:zs,[ks]:["aws",{[Os]:Ls,[ks]:[Ys,"name"]}]}],endpoint:{url:"https://cognito-idp.{Region}.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{endpoint:{url:"https://cognito-idp.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Ks,headers:Ks},type:Ds}],type:Us},{error:"DualStack is enabled but this partition does not support DualStack",type:Ms}],type:Us},{endpoint:{url:"https://cognito-idp.{Region}.{PartitionResult#dnsSuffix}",properties:Ks,headers:Ks},type:Ds}],type:Us}],type:Us},{error:"Invalid Configuration: Missing Region",type:Ms}]},tc=new class{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){const r=this.hash(e);if(!1===r)return t();if(!this.data.has(r)){if(this.data.size>this.capacity+10){const e=this.data.keys();let t=0;for(;;){const{value:r,done:n}=e.next();if(this.data.delete(r),n||++t>10)break}}this.data.set(r,t())}return this.data.get(r)}size(){return this.data.size}hash(e){let t="";const{parameters:r}=this;if(0===r.length)return!1;for(const n of r){const r=String(e[n]??"");if(r.includes("|;"))return!1;t+=r+"|;"}return t}}({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),rc=(e,t={})=>tc.get(e,()=>((e,t)=>{const{endpointParams:r,logger:n}=t,{parameters:o,rules:i}=e;t.logger?.debug?.(`${as} Initial EndpointParams: ${ss(r)}`);const a=Object.entries(o).filter(([,e])=>null!=e.default).map(([e,t])=>[e,t.default]);if(a.length>0)for(const[e,t]of a)r[e]=r[e]??t;const s=Object.entries(o).filter(([,e])=>e.required).map(([e])=>e);for(const e of s)if(null==r[e])throw new cs(`Missing required parameter: '${e}'`);const c=Cs(i,{endpointParams:r,logger:n,referenceRecord:{}});return t.logger?.debug?.(`${as} Resolved endpoint: ${ss(c)}`),c})(ec,{endpointParams:e,logger:t.logger}));mn.aws=Sn;const nc=e=>{const t=(({defaultsMode:e}={})=>(()=>{let t,r,n,o=!1;const i=async()=>{r||(r=(async()=>{const t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve((()=>{const e=window?.navigator;if(e?.connection){const{effectiveType:t,rtt:r,downlink:n}=e?.connection;if("string"==typeof t&&"4g"!==t||Number(r)>100||Number(n)<10)return!0}return e?.userAgentData?.mobile||"number"==typeof e?.maxTouchPoints&&e?.maxTouchPoints>1})()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${Bi.join(", ")}, got ${t}`)}})());try{t=await r,n=!0,o=!1}finally{r=void 0}return t};return async e=>(n&&!e?.forceRefresh||(t=await i()),t)})())(e),r=()=>t().then(Hi),n=(e=>({apiVersion:"2016-04-18",base64Decoder:e?.base64Decoder??zi,base64Encoder:e?.base64Encoder??os,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??rc,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??gi,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new Xi},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new rs}],logger:e?.logger??new po,protocol:e?.protocol??new ts({defaultNamespace:"com.amazonaws.cognitoidentityprovider",serviceTarget:"AWSCognitoIdentityProviderService",awsQueryCompatible:!1}),serviceId:e?.serviceId??"Cognito Identity Provider",urlParser:e?.urlParser??Jn,utf8Decoder:e?.utf8Decoder??ns,utf8Encoder:e?.utf8Encoder??is}))(e);return{...n,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Wi,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??xi({serviceId:n.serviceId,clientVersion:"3.952.0"}),maxAttempts:e?.maxAttempts??3,region:e?.region??(()=>Promise.reject("Region is missing")),requestHandler:Di.create(e?.requestHandler??r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||Zn),sha256:e?.sha256??Ii,streamCollector:e?.streamCollector??Vi,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}};var oc;!function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(oc||(oc={}));const ic=(e,t)=>{const r=Object.assign((e=>({setRegion(t){e.region=t},region:()=>e.region}))(e),(e=>Object.assign((e=>{const t=[];for(const r in oc){const n=oc[r];void 0!==e[n]&&t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{addChecksumAlgorithm(e){t.push(e)},checksumAlgorithms:()=>t}})(e),(e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy:()=>e.retryStrategy}))(e)))(e),(e=>({setHttpHandler(t){e.httpHandler=t},httpHandler:()=>e.httpHandler,updateHttpClientConfig(t,r){e.httpHandler?.updateHttpClientConfig(t,r)},httpHandlerConfigs:()=>e.httpHandler.httpHandlerConfigs()}))(e),(e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider,n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex(t=>t.schemeId===e.schemeId);-1===r?t.push(e):t.splice(r,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider:()=>r,setCredentials(e){n=e},credentials:()=>n}})(e));return t.forEach(e=>e.configure(r)),Object.assign(e,{region:r.region()},(n=r,Object.assign((e=>{const t={};return e.checksumAlgorithms().forEach(e=>{t[e.algorithmId()]=e.checksumConstructor()}),t})(n),(e=>{const t={};return t.retryStrategy=e.retryStrategy(),t})(n))),{httpHandler:r.httpHandler()},(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}))(r));var n};class ac extends Io{config;constructor(...[e]){const t=nc(e||{});super(t),this.initConfig=t;const r=(e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"cognito-idp"}))(t),n=(e=>{const{retryStrategy:t,retryMode:r,maxAttempts:n}=e,o=qn(n??3);return Object.assign(e,{maxAttempts:o,retryStrategy:async()=>t||(await qn(r)()===Xn.ADAPTIVE?new lo(o):new uo(o))})})(function(e){const t=(e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t})(e.userAgentAppId??void 0),{customUserAgent:r}=e;return Object.assign(e,{customUserAgent:"string"==typeof r?[[r]]:r,userAgentAppId:async()=>{const r=await t();if(!function(e){return void 0===e||"string"==typeof e&&e.length<=50}(r)){const t="NoOpLogger"!==e.logger?.constructor?.name&&e.logger?e.logger:console;"string"!=typeof r?t?.warn("userAgentAppId must be a string or undefined."):r.length>50&&t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return r}})}(r)),o=(e=>{const t=(e=>{let t,r=e.credentials,n=!!e.credentials;Object.defineProperty(e,"credentials",{set(o){o&&o!==r&&o!==t&&(n=!0),r=o;const i=function(e,{credentials:t,credentialDefaultProvider:r}){let n;return n=t?t?.memoized?t:((e,t,r)=>{if(void 0===e)return;const n="function"!=typeof e?async()=>Promise.resolve(e):e;let o,i,a,s=!1;const c=async e=>{i||(i=n(e));try{o=await i,a=!0,s=!1}finally{i=void 0}return o};return void 0===t?async e=>(a&&!e?.forceRefresh||(o=await c(e)),o):async e=>(a&&!e?.forceRefresh||(o=await c(e)),s?o:r(o)?t(o)?(await c(e),o):o:(s=!0,o))})(t,Oo,ko):r?xo(r(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")},n.memoized=!0,n}(e,{credentials:r,credentialDefaultProvider:e.credentialDefaultProvider}),a=function(e,t){if(t.configBound)return t;const r=async r=>t({...r,callerClientConfig:e});return r.memoized=t.memoized,r.configBound=!0,r}(e,i);n&&!a.attributed?(t=async e=>a(e).then(e=>function(e){return e.$source||(e.$source={}),e.$source.CREDENTIALS_CODE="e",e}(e)),t.memoized=a.memoized,t.configBound=a.configBound,t.attributed=!0):t=a},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=r;const{signingEscapePath:o=!0,systemClockOffset:i=e.systemClockOffset||0,sha256:a}=e;let s;return s=e.signer?xo(e.signer):e.regionInfoProvider?()=>xo(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,r])=>{const{signingRegion:n,signingService:i}=t;e.signingRegion=e.signingRegion||n||r,e.signingName=e.signingName||i||e.serviceId;const s={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:a,uriEscapePath:o};return new(e.signerConstructor||hi)(s)}):async t=>{const r=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await xo(e.region)(),properties:{}},t)).signingRegion,n=t.signingName;e.signingRegion=e.signingRegion||r,e.signingName=e.signingName||n||e.serviceId;const i={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:a,uriEscapePath:o};return new(e.signerConstructor||hi)(i)},Object.assign(e,{systemClockOffset:i,signingEscapePath:o,signer:s})})(e);return Object.assign(t,{authSchemePreference:qn(e.authSchemePreference??[])})})((e=>{const t=e.tls??!0,{endpoint:r,useDualstackEndpoint:n,useFipsEndpoint:o}=e,i=null!=r?async()=>Qn(await qn(r)()):void 0,a=!!r,s=Object.assign(e,{endpoint:i,tls:t,isCustomEndpoint:a,useDualstackEndpoint:qn(n??!1),useFipsEndpoint:qn(o??!1)});let c;return s.serviceConfiguredEndpoint=async()=>(e.serviceId&&!c&&(c=Yn(e.serviceId)),c),s})((e=>{const{region:t,useFipsEndpoint:r}=e;if(!t)throw new Error("Region is missing");return Object.assign(e,{region:async()=>{const e=(e=>jn(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e)("function"==typeof t?await t():t);return((e,t=yn)=>{if(Nn.has(e)||t(e))Nn.add(e);else{if("*"!==e)throw new Error(`Region not accepted: region="${e}" is not a valid hostname component.`);console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.')}})(e),e},useFipsEndpoint:async()=>{const e="string"==typeof t?t:await t();return!!jn(e)||("function"!=typeof r?Promise.resolve(!!r):r())}})})(n))),i=ic(o,e?.extensions||[]);var a;this.config=i,this.middlewareStack.use((a=this.config,{applyToStack:e=>{e.add((e=>(t,r)=>async n=>{const{operationSchema:o}=Mn(r),[,i,a,s,c,u]=o??[],l=r.endpointV2?.url&&e.urlParser?async()=>e.urlParser(r.endpointV2.url):e.endpoint,d=await e.protocol.serializeRequest(Hn(i,a,s,c,u),n.input,{...e,...r,endpoint:l});return t({...n,request:d})})(a),Bn),e.add((e=>(t,r)=>async n=>{const{response:o}=await t(n),{operationSchema:i}=Mn(r),[,a,s,c,u,l]=i??[];try{return{response:o,output:await e.protocol.deserializeResponse(Hn(a,s,c,u,l),{...e,...r},o)}}catch(e){if(Object.defineProperty(e,"$response",{value:o,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in e)){const t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{e.message+="\n "+t}catch(e){r.logger&&"NoOpLogger"!==r.logger?.constructor?.name?r.logger?.warn?.(t):console.warn(t)}void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(Vn.isInstance(o)){const{headers:t={}}=o,r=Object.entries(t);e.$metadata={httpStatusCode:o.statusCode,requestId:$n(/^x-[\w-]+-request-?id$/,r),extendedRequestId:$n(/^x-[\w-]+-id-2$/,r),cfId:$n(/^x-[\w-]+-cf-id$/,r)}}}catch(e){}}throw e}})(a),Wn),a.protocol.setSerdeContext(a)}})),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((e=>(t,r)=>async n=>{const{request:o}=n;if(!dn.isInstance(o))return t(n);const{headers:i}=o,a=r?.userAgent?.map(kn)||[],s=(await e.defaultUserAgentProvider()).map(kn);await async function(e,t,r){const n=r.request;if("rpc-v2-cbor"===n?.headers?.["smithy-protocol"]&&An(e,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof t.retryStrategy){const r=await t.retryStrategy();"function"==typeof r.acquireInitialRetryToken?r.constructor?.name?.includes("Adaptive")?An(e,"RETRY_MODE_ADAPTIVE","F"):An(e,"RETRY_MODE_STANDARD","E"):An(e,"RETRY_MODE_LEGACY","D")}if("function"==typeof t.accountIdEndpointMode){const r=e.endpointV2;switch(String(r?.url?.hostname).match(Pn)&&An(e,"ACCOUNT_ID_ENDPOINT","O"),await(t.accountIdEndpointMode?.())){case"disabled":An(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":An(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":An(e,"ACCOUNT_ID_MODE_REQUIRED","R")}}const o=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(o?.$source){const t=o;t.accountId&&An(e,"RESOLVED_ACCOUNT_ID","T");for(const[r,n]of Object.entries(t.$source??{}))An(e,r,n)}}(r,e,n);const c=r;s.push(`m/${function(e){let t="";for(const r in e){const n=e[r];if(!(t.length+n.length+1<=1024))break;t.length?t+=","+n:t+=n}return t}(Object.assign({},r.__smithy_context?.features,c.__aws_sdk_context?.features))}`);const u=e?.customUserAgent?.map(kn)||[],l=await e.userAgentAppId();l&&s.push(kn(["app",`${l}`]));const d=[].concat([...s,...a,...u]).join(" "),p=[...s.filter(e=>e.startsWith("aws-sdk-")),...u].join(" ");return"browser"!==e.runtime?(p&&(i[In]=i[In]?`${i[Cn]} ${p}`:p),i[Cn]=d):i[In]=d,t({...n,request:o})})(e),Tn)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((e=>(t,r)=>async n=>{let o=await e.retryStrategy();const i=await e.maxAttempts();if(!(e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess)(o))return o?.mode&&(r.userAgent=[...r.userAgent||[],["cfg/retry-mode",o.mode]]),o.retry(t,n);{let e=await o.acquireInitialRetryToken(r.partition_id),a=new Error,s=0,c=0;const{request:u}=n,l=dn.isInstance(u);for(l&&(u.headers["amz-sdk-invocation-id"]=mo());;)try{l&&(u.headers["amz-sdk-request"]=`attempt=${s+1}; max=${i}`);const{response:r,output:a}=await t(n);return o.recordSuccess(e),a.$metadata.attempts=s+1,a.$metadata.totalRetryDelay=c,{response:r,output:a}}catch(t){const n=vo(t);if(a=yo(t),l&&go(u))throw(r.logger instanceof po?console:r.logger)?.warn("An error was encountered in a non-retryable streaming request."),a;try{e=await o.refreshRetryTokenForRetry(e,n)}catch(e){throw a.$metadata||(a.$metadata={}),a.$metadata.attempts=s+1,a.$metadata.totalRetryDelay=c,a}s=e.getRetryCount();const i=e.getRetryDelay();c+=i,await new Promise(e=>setTimeout(e,i))}}})(e),Eo)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{const n=t.request;if(dn.isInstance(n)){const{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map(e=>e.toLowerCase()).indexOf(Kn))try{const t=r(e);n.headers={...n.headers,[Kn]:String(t)}}catch(e){}}return e({...t,request:n})}),Gn)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((e=>t=>async r=>{if(!dn.isInstance(r.request))return t(r);const{request:n}=r,{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!n.headers[":authority"])delete n.headers.host,n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"");else if(!n.headers.host){let e=n.hostname;null!=n.port&&(e+=`:${n.port}`),n.headers.host=e}return t(r)})(e),pn)}}))(this.config)),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add((e,t)=>async r=>{try{const n=await e(r),{clientName:o,commandName:i,logger:a,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:u}=s,l=c??t.inputFilterSensitiveLog,d=u??t.outputFilterSensitiveLog,{$metadata:p,...f}=n.output;return a?.info?.({clientName:o,commandName:i,input:l(r.input),output:d(f),metadata:p}),n}catch(e){const{clientName:n,commandName:o,logger:i,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:s}=a,c=s??t.inputFilterSensitiveLog;throw i?.error?.({clientName:n,commandName:o,input:c(r.input),error:e,metadata:e.$metadata}),e}},fn)}})),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add(e=>async t=>e(t),hn)}})),this.middlewareStack.use(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(((e,t)=>(r,n)=>async o=>{const i=((e,t)=>{if(!t||0===t.length)return e;const r=[];for(const n of t)for(const t of e)t.schemeId.split("#")[1]===n&&r.push(t);for(const t of e)r.find(({schemeId:e})=>e===t.schemeId)||r.push(t);return r})(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,n,o.input)),e.authSchemePreference?await e.authSchemePreference():[]),a=function(e){const t=new Map;for(const r of e)t.set(r.schemeId,r);return t}(e.httpAuthSchemes),s=Mn(n),c=[];for(const r of i){const o=a.get(r.schemeId);if(!o){c.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}const i=o.identityProvider(await t.identityProviderConfigProvider(e));if(!i){c.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:u={},signingProperties:l={}}=r.propertiesExtractor?.(e,n)||{};r.identityProperties=Object.assign(r.identityProperties||{},u),r.signingProperties=Object.assign(r.signingProperties||{},l),s.selectedHttpAuthScheme={httpAuthOption:r,identity:await i(r.identityProperties),signer:o.signer};break}if(!s.selectedHttpAuthScheme)throw new Error(c.join("\n"));return r(o)})(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),Dn)}}))(this.config,{httpAuthSchemeParametersProvider:mi,identityProviderConfigProvider:async e=>new Un({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use((this.config,{applyToStack:e=>{e.addRelativeTo((e,t)=>async r=>{if(!dn.isInstance(r.request))return e(r);const n=Mn(t).selectedHttpAuthScheme;if(!n)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:o={}},identity:i,signer:a}=n,s=await e({...r,request:await a.sign(r.request,i,o)}).catch((a.errorHandler||Fn)(o));return(a.successHandler||Ln)(s.response,o),s},zn)}}))}destroy(){super.destroy()}}const sc=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,cc=/(\d+\.){3}\d+/,uc=/\.\./,lc=(e,t,r,n=!1)=>{const o=async()=>{let o;if(n){const n=r.clientContextParams,i=n?.[e];o=i??r[e]??r[t]}else o=r[e]??r[t];return"function"==typeof o?o():o};return"credentialScope"===e||"CredentialScope"===t?async()=>{const e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{const e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{if(!1===r.isCustomEndpoint)return;const e=await o();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){const{protocol:t,hostname:r,port:n,path:o}=e;return`${t}//${r}${n?":"+n:""}${o}`}}return e}:o},dc=async(e,t,r)=>{const n={},o=t?.getEndpointParameterInstructions?.()||{};for(const[t,i]of Object.entries(o))switch(i.type){case"staticContextParams":n[t]=i.value;break;case"contextParams":n[t]=e[i.name];break;case"clientContextParams":case"builtInParams":n[t]=await lc(i.name,t,r,"builtInParams"!==i.type)();break;case"operationContextParams":n[t]=i.get(e);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(i))}return 0===Object.keys(o).length&&Object.assign(n,r),"s3"===String(r.serviceId).toLowerCase()&&await(async e=>{const t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),(e=>{const[t,r,n,,,o]=e.split(":"),i="arn"===t&&e.split(":").length>=6,a=Boolean(i&&r&&n&&o);if(i&&!a)throw new Error(`Invalid ARN: ${e} was an invalid ARN.`);return a})(t)){if(!0===e.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else r=t,(!sc.test(r)||cc.test(r)||uc.test(r)||-1!==t.indexOf(".")&&!String(e.Endpoint).startsWith("http:")||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);var r;return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e})(n),n},pc={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},fc=(e,t)=>({applyToStack:r=>{r.addRelativeTo((({config:e,instructions:t})=>(r,n)=>async o=>{e.isCustomEndpoint&&function(e){e.__smithy_context?e.__smithy_context.features||(e.__smithy_context.features={}):e.__smithy_context={features:{}},e.__smithy_context.features.ENDPOINT_OVERRIDE="N"}(n);const i=await(async(e,t,r,n)=>{if(!r.isCustomEndpoint){let e;e=r.serviceConfiguredEndpoint?await r.serviceConfiguredEndpoint():await Yn(r.serviceId),e&&(r.endpoint=()=>Promise.resolve(Qn(e)),r.isCustomEndpoint=!0)}const o=await dc(e,t,r);if("function"!=typeof r.endpointProvider)throw new Error("config.endpointProvider is not set.");return r.endpointProvider(o,n)})(o.input,{getEndpointParameterInstructions:()=>t},{...e},n);n.endpointV2=i,n.authSchemes=i.properties?.authSchemes;const a=n.authSchemes?.[0];if(a){n.signing_region=a.signingRegion,n.signing_service=a.signingName;const e=Mn(n),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:a.signingRegion,signingRegion:a.signingRegion,signing_service:a.signingName,signingName:a.signingName,signingRegionSet:a.signingRegionSet},a.properties))}return r({...o})})({config:e,instructions:t}),pc)}}),hc=e=>"function"==typeof e?e():e;function mc(e){if("object"==typeof e)return e;e|=0;const t={};let r=0;for(const n of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])1==(e>>r++&1)&&(t[n]=1);return t}class gc{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=gc.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(e,t){this.ref=e,this.memberName=t;const r=[];let n=e,o=e;for(this._isMemberSchema=!1;vc(n);)r.push(n[1]),n=n[0],o=hc(n),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){const t=r[e];Object.assign(this.memberTraits,mc(t))}}else this.memberTraits=0;if(o instanceof gc){const e=this.memberTraits;return Object.assign(this,o),this.memberTraits=Object.assign({},e,o.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,void(this.memberName=t??o.memberName)}if(this.schema=hc(o),bc(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(o),this.traits=0),this._isMemberSchema&&!t)throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){const t=this.prototype.isPrototypeOf(e);return t||"object"!=typeof e||null===e?t:e.symbol===this.symbol}static of(e){const t=hc(e);if(t instanceof gc)return t;if(vc(t)){const[r,n]=t;if(r instanceof gc)return Object.assign(r.getMergedTraits(),mc(n)),r;throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(e,null,2)}.`)}return new gc(t)}getSchema(){const e=this.schema;return 0===e[0]?e[4]:e}getName(e=!1){const{name:t}=this;return!e&&t&&t.includes("#")?t.split("#")[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const e=this.getSchema();return"number"==typeof e?e>=64&&e<128:1===e[0]}isMapSchema(){const e=this.getSchema();return"number"==typeof e?e>=128&&e<=255:2===e[0]}isStructSchema(){const e=this.getSchema();return 3===e[0]||-3===e[0]}isBlobSchema(){const e=this.getSchema();return 21===e||42===e}isTimestampSchema(){const e=this.getSchema();return"number"==typeof e&&e>=4&&e<=7}isUnitSchema(){return"unit"===this.getSchema()}isDocumentSchema(){return 15===this.getSchema()}isStringSchema(){return 0===this.getSchema()}isBooleanSchema(){return 2===this.getSchema()}isNumericSchema(){return 1===this.getSchema()}isBigIntegerSchema(){return 17===this.getSchema()}isBigDecimalSchema(){return 19===this.getSchema()}isStreaming(){const{streaming:e}=this.getMergedTraits();return!!e||42===this.getSchema()}isIdempotencyToken(){const e=e=>!(4&~e&&!e?.idempotencyToken),{normalizedTraits:t,traits:r,memberTraits:n}=this;return e(t)||e(r)||e(n)}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return mc(this.memberTraits)}getOwnTraits(){return mc(this.traits)}getKeySchema(){const[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);const r=this.getSchema();return yc([e?15:r[4]??0,0],"key")}getValueSchema(){const e=this.getSchema(),[t,r,n]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],o="number"==typeof e?63&e:e&&"object"==typeof e&&(r||n)?e[3+e[0]]:t?15:void 0;if(null!=o)return yc([o,0],r?"value":"member");throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){const t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){const r=t[4].indexOf(e),n=t[5][r];return yc(vc(n)?n:[n,0],e)}if(this.isDocumentSchema())return yc([15,0],e);throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no no member=${e}.`)}getMemberSchemas(){const e={};try{for(const[t,r]of this.structIterator())e[t]=r}catch(e){}return e}getEventStreamMember(){if(this.isStructSchema())for(const[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e;return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");const e=this.getSchema();for(let t=0;t<e[4].length;++t)yield[e[4][t],yc([e[5][t],0],e[4][t])]}}function yc(e,t){return e instanceof gc?Object.assign(e,{memberName:t,_isMemberSchema:!0}):new gc(e,t)}const vc=e=>Array.isArray(e)&&2===e.length,bc=e=>Array.isArray(e)&&e.length>=5,Ec="***SensitiveInformation***";function wc(e,t){if(null==t)return t;const r=gc.of(e);if(r.getMergedTraits().sensitive)return Ec;if(r.isListSchema()){if(r.getValueSchema().getMergedTraits().sensitive)return Ec}else if(r.isMapSchema()){if(r.getKeySchema().getMergedTraits().sensitive||r.getValueSchema().getMergedTraits().sensitive)return Ec}else if(r.isStructSchema()&&"object"==typeof t){const e=t,n={};for(const[t,o]of r.structIterator())null!=e[t]&&(n[t]=wc(o,e[t]));return n}return t}class Sc{middlewareStack=_o();schema;static classBuilder(){return new Ac}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:o,commandName:i,inputFilterSensitiveLog:a,outputFilterSensitiveLog:s,smithyContext:c,additionalContext:u,CommandCtor:l}){for(const o of n.bind(this)(l,e,t,r))this.middlewareStack.use(o);const d=e.concat(this.middlewareStack),{logger:p}=t,f={logger:p,clientName:o,commandName:i,inputFilterSensitiveLog:a,outputFilterSensitiveLog:s,[Rn]:{commandInstance:this,...c},...u},{requestHandler:h}=t;return d.resolve(e=>h.handle(e.request,r||{}),f)}}class Ac{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){const e=this;let t;return t=class extends Sc{input;static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(r,n,o){const i=e._operationSchema,a=i?.[4]??i?.input,s=i?.[5]??i?.output;return this.resolveMiddlewareWithContext(r,n,o,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(i?wc.bind(null,a):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(i?wc.bind(null,s):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}serialize=e._serializer;deserialize=e._deserializer}}}class _c{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,r=new Map){this.namespace=e,this.schemas=t,this.exceptions=r}static for(e){return _c.registries.has(e)||_c.registries.set(e,new _c(e)),_c.registries.get(e)}register(e,t){const r=this.normalizeShapeId(e);_c.for(r.split("#")[0]).schemas.set(r,t)}getSchema(e){const t=this.normalizeShapeId(e);if(!this.schemas.has(t))throw new Error(`@smithy/core/schema - schema not found for ${t}`);return this.schemas.get(t)}registerError(e,t){const r=e,n=_c.for(r[1]);n.schemas.set(r[1]+"#"+r[2],r),n.exceptions.set(r,t)}getErrorCtor(e){const t=e;return _c.for(t[1]).exceptions.get(t)}getBaseException(){for(const e of this.exceptions.keys())if(Array.isArray(e)){const[,t,r]=e,n=t+"#"+r;if(n.startsWith("smithy.ts.sdk.synthetic.")&&n.endsWith("ServiceException"))return e}}find(e){return[...this.schemas.values()].find(e)}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes("#")?e:this.namespace+"#"+e}}class Pc extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(e){if(!e)return!1;const t=e;return Pc.prototype.isPrototypeOf(t)||Boolean(t.$fault)&&Boolean(t.$metadata)&&("client"===t.$fault||"server"===t.$fault)}static[Symbol.hasInstance](e){if(!e)return!1;const t=e;return this===Pc?Pc.isInstance(e):!!Pc.isInstance(e)&&(t.name&&this.name?this.prototype.isPrototypeOf(e)||t.name===this.name:this.prototype.isPrototypeOf(e))}}class Cc extends Pc{constructor(e){super(e),Object.setPrototypeOf(this,Cc.prototype)}}class Ic extends Cc{name="InternalErrorException";$fault="server";constructor(e){super({name:"InternalErrorException",$fault:"server",...e}),Object.setPrototypeOf(this,Ic.prototype)}}class xc extends Cc{name="InvalidParameterException";$fault="client";reasonCode;constructor(e){super({name:"InvalidParameterException",$fault:"client",...e}),Object.setPrototypeOf(this,xc.prototype),this.reasonCode=e.reasonCode}}class Oc extends Cc{name="NotAuthorizedException";$fault="client";constructor(e){super({name:"NotAuthorizedException",$fault:"client",...e}),Object.setPrototypeOf(this,Oc.prototype)}}class kc extends Cc{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,kc.prototype)}}class Tc extends Cc{name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e}),Object.setPrototypeOf(this,Tc.prototype)}}class Nc extends Cc{name="UserImportInProgressException";$fault="client";constructor(e){super({name:"UserImportInProgressException",$fault:"client",...e}),Object.setPrototypeOf(this,Nc.prototype)}}class jc extends Cc{name="UserNotFoundException";$fault="client";constructor(e){super({name:"UserNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,jc.prototype)}}class Rc extends Cc{name="InvalidLambdaResponseException";$fault="client";constructor(e){super({name:"InvalidLambdaResponseException",$fault:"client",...e}),Object.setPrototypeOf(this,Rc.prototype)}}class Mc extends Cc{name="LimitExceededException";$fault="client";constructor(e){super({name:"LimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Mc.prototype)}}class Dc extends Cc{name="TooManyFailedAttemptsException";$fault="client";constructor(e){super({name:"TooManyFailedAttemptsException",$fault:"client",...e}),Object.setPrototypeOf(this,Dc.prototype)}}class Uc extends Cc{name="UnexpectedLambdaException";$fault="client";constructor(e){super({name:"UnexpectedLambdaException",$fault:"client",...e}),Object.setPrototypeOf(this,Uc.prototype)}}class Fc extends Cc{name="UserLambdaValidationException";$fault="client";constructor(e){super({name:"UserLambdaValidationException",$fault:"client",...e}),Object.setPrototypeOf(this,Fc.prototype)}}class Lc extends Cc{name="CodeDeliveryFailureException";$fault="client";constructor(e){super({name:"CodeDeliveryFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,Lc.prototype)}}class zc extends Cc{name="InvalidPasswordException";$fault="client";constructor(e){super({name:"InvalidPasswordException",$fault:"client",...e}),Object.setPrototypeOf(this,zc.prototype)}}class Vc extends Cc{name="InvalidSmsRoleAccessPolicyException";$fault="client";constructor(e){super({name:"InvalidSmsRoleAccessPolicyException",$fault:"client",...e}),Object.setPrototypeOf(this,Vc.prototype)}}class Hc extends Cc{name="InvalidSmsRoleTrustRelationshipException";$fault="client";constructor(e){super({name:"InvalidSmsRoleTrustRelationshipException",$fault:"client",...e}),Object.setPrototypeOf(this,Hc.prototype)}}class $c extends Cc{name="PreconditionNotMetException";$fault="client";constructor(e){super({name:"PreconditionNotMetException",$fault:"client",...e}),Object.setPrototypeOf(this,$c.prototype)}}class Wc extends Cc{name="UnsupportedUserStateException";$fault="client";constructor(e){super({name:"UnsupportedUserStateException",$fault:"client",...e}),Object.setPrototypeOf(this,Wc.prototype)}}class Bc extends Cc{name="UsernameExistsException";$fault="client";constructor(e){super({name:"UsernameExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,Bc.prototype)}}class Kc extends Cc{name="AliasExistsException";$fault="client";constructor(e){super({name:"AliasExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,Kc.prototype)}}class Gc extends Cc{name="InvalidUserPoolConfigurationException";$fault="client";constructor(e){super({name:"InvalidUserPoolConfigurationException",$fault:"client",...e}),Object.setPrototypeOf(this,Gc.prototype)}}class qc extends Cc{name="InvalidEmailRoleAccessPolicyException";$fault="client";constructor(e){super({name:"InvalidEmailRoleAccessPolicyException",$fault:"client",...e}),Object.setPrototypeOf(this,qc.prototype)}}class Yc extends Cc{name="MFAMethodNotFoundException";$fault="client";constructor(e){super({name:"MFAMethodNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,Yc.prototype)}}class Jc extends Cc{name="PasswordResetRequiredException";$fault="client";constructor(e){super({name:"PasswordResetRequiredException",$fault:"client",...e}),Object.setPrototypeOf(this,Jc.prototype)}}class Qc extends Cc{name="UnsupportedOperationException";$fault="client";constructor(e){super({name:"UnsupportedOperationException",$fault:"client",...e}),Object.setPrototypeOf(this,Qc.prototype)}}class Xc extends Cc{name="UserNotConfirmedException";$fault="client";constructor(e){super({name:"UserNotConfirmedException",$fault:"client",...e}),Object.setPrototypeOf(this,Xc.prototype)}}class Zc extends Cc{name="UserPoolAddOnNotEnabledException";$fault="client";constructor(e){super({name:"UserPoolAddOnNotEnabledException",$fault:"client",...e}),Object.setPrototypeOf(this,Zc.prototype)}}class eu extends Cc{name="CodeMismatchException";$fault="client";constructor(e){super({name:"CodeMismatchException",$fault:"client",...e}),Object.setPrototypeOf(this,eu.prototype)}}class tu extends Cc{name="ExpiredCodeException";$fault="client";constructor(e){super({name:"ExpiredCodeException",$fault:"client",...e}),Object.setPrototypeOf(this,tu.prototype)}}class ru extends Cc{name="PasswordHistoryPolicyViolationException";$fault="client";constructor(e){super({name:"PasswordHistoryPolicyViolationException",$fault:"client",...e}),Object.setPrototypeOf(this,ru.prototype)}}class nu extends Cc{name="SoftwareTokenMFANotFoundException";$fault="client";constructor(e){super({name:"SoftwareTokenMFANotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,nu.prototype)}}class ou extends Cc{name="ConcurrentModificationException";$fault="client";constructor(e){super({name:"ConcurrentModificationException",$fault:"client",...e}),Object.setPrototypeOf(this,ou.prototype)}}class iu extends Cc{name="ForbiddenException";$fault="client";constructor(e){super({name:"ForbiddenException",$fault:"client",...e}),Object.setPrototypeOf(this,iu.prototype)}}class au extends Cc{name="WebAuthnChallengeNotFoundException";$fault="client";constructor(e){super({name:"WebAuthnChallengeNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,au.prototype)}}class su extends Cc{name="WebAuthnClientMismatchException";$fault="client";constructor(e){super({name:"WebAuthnClientMismatchException",$fault:"client",...e}),Object.setPrototypeOf(this,su.prototype)}}class cu extends Cc{name="WebAuthnCredentialNotSupportedException";$fault="client";constructor(e){super({name:"WebAuthnCredentialNotSupportedException",$fault:"client",...e}),Object.setPrototypeOf(this,cu.prototype)}}class uu extends Cc{name="WebAuthnNotEnabledException";$fault="client";constructor(e){super({name:"WebAuthnNotEnabledException",$fault:"client",...e}),Object.setPrototypeOf(this,uu.prototype)}}class lu extends Cc{name="WebAuthnOriginNotAllowedException";$fault="client";constructor(e){super({name:"WebAuthnOriginNotAllowedException",$fault:"client",...e}),Object.setPrototypeOf(this,lu.prototype)}}class du extends Cc{name="WebAuthnRelyingPartyMismatchException";$fault="client";constructor(e){super({name:"WebAuthnRelyingPartyMismatchException",$fault:"client",...e}),Object.setPrototypeOf(this,du.prototype)}}class pu extends Cc{name="DeviceKeyExistsException";$fault="client";constructor(e){super({name:"DeviceKeyExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,pu.prototype)}}class fu extends Cc{name="GroupExistsException";$fault="client";constructor(e){super({name:"GroupExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,fu.prototype)}}class hu extends Cc{name="DuplicateProviderException";$fault="client";constructor(e){super({name:"DuplicateProviderException",$fault:"client",...e}),Object.setPrototypeOf(this,hu.prototype)}}class mu extends Cc{name="ManagedLoginBrandingExistsException";$fault="client";constructor(e){super({name:"ManagedLoginBrandingExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,mu.prototype)}}class gu extends Cc{name="TermsExistsException";$fault="client";constructor(e){super({name:"TermsExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,gu.prototype)}}class yu extends Cc{name="FeatureUnavailableInTierException";$fault="client";constructor(e){super({name:"FeatureUnavailableInTierException",$fault:"client",...e}),Object.setPrototypeOf(this,yu.prototype)}}class vu extends Cc{name="TierChangeNotAllowedException";$fault="client";constructor(e){super({name:"TierChangeNotAllowedException",$fault:"client",...e}),Object.setPrototypeOf(this,vu.prototype)}}class bu extends Cc{name="UserPoolTaggingException";$fault="client";constructor(e){super({name:"UserPoolTaggingException",$fault:"client",...e}),Object.setPrototypeOf(this,bu.prototype)}}class Eu extends Cc{name="InvalidOAuthFlowException";$fault="client";constructor(e){super({name:"InvalidOAuthFlowException",$fault:"client",...e}),Object.setPrototypeOf(this,Eu.prototype)}}class wu extends Cc{name="ScopeDoesNotExistException";$fault="client";constructor(e){super({name:"ScopeDoesNotExistException",$fault:"client",...e}),Object.setPrototypeOf(this,wu.prototype)}}class Su extends Cc{name="UnsupportedIdentityProviderException";$fault="client";constructor(e){super({name:"UnsupportedIdentityProviderException",$fault:"client",...e}),Object.setPrototypeOf(this,Su.prototype)}}class Au extends Cc{name="RefreshTokenReuseException";$fault="client";constructor(e){super({name:"RefreshTokenReuseException",$fault:"client",...e}),Object.setPrototypeOf(this,Au.prototype)}}class _u extends Cc{name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e}),Object.setPrototypeOf(this,_u.prototype)}}class Pu extends Cc{name="UnsupportedTokenTypeException";$fault="client";constructor(e){super({name:"UnsupportedTokenTypeException",$fault:"client",...e}),Object.setPrototypeOf(this,Pu.prototype)}}class Cu extends Cc{name="WebAuthnConfigurationMissingException";$fault="client";constructor(e){super({name:"WebAuthnConfigurationMissingException",$fault:"client",...e}),Object.setPrototypeOf(this,Cu.prototype)}}class Iu extends Cc{name="EnableSoftwareTokenMFAException";$fault="client";constructor(e){super({name:"EnableSoftwareTokenMFAException",$fault:"client",...e}),Object.setPrototypeOf(this,Iu.prototype)}}const xu="NextToken",Ou="UserPoolId",ku="client",Tu="error",Nu="httpError",ju="message",Ru="smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentityprovider",Mu="com.amazonaws.cognitoidentityprovider";var Du=[-3,Mu,"AliasExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Du,Kc);var Uu=[-3,Mu,"CodeDeliveryFailureException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Uu,Lc);var Fu=[-3,Mu,"CodeMismatchException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Fu,eu);var Lu=[-3,Mu,"ConcurrentModificationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Lu,ou);var zu=[-3,Mu,"DeviceKeyExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(zu,pu);var Vu=[-3,Mu,"DuplicateProviderException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Vu,hu);var Hu=[-3,Mu,"EnableSoftwareTokenMFAException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Hu,Iu);var $u=[-3,Mu,"ExpiredCodeException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError($u,tu);var Wu=[-3,Mu,"FeatureUnavailableInTierException",{[Tu]:ku,[Nu]:403},[ju],[0]];_c.for(Mu).registerError(Wu,yu);var Bu=[-3,Mu,"ForbiddenException",{[Tu]:ku,[Nu]:403},[ju],[0]];_c.for(Mu).registerError(Bu,iu);var Ku=[-3,Mu,"GroupExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ku,fu);var Gu=[3,Mu,"GroupType",0,["GroupName",Ou,"Description","RoleArn","Precedence","LastModifiedDate","CreationDate"],[0,0,0,0,1,4,4]],qu=[-3,Mu,"InternalErrorException",{[Tu]:"server"},[ju],[0]];_c.for(Mu).registerError(qu,Ic);var Yu=[-3,Mu,"InvalidEmailRoleAccessPolicyException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Yu,qc);var Ju=[-3,Mu,"InvalidLambdaResponseException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ju,Rc);var Qu=[-3,Mu,"InvalidOAuthFlowException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Qu,Eu);var Xu=[-3,Mu,"InvalidParameterException",{[Tu]:ku,[Nu]:400},[ju,"reasonCode"],[0,0]];_c.for(Mu).registerError(Xu,xc);var Zu=[-3,Mu,"InvalidPasswordException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Zu,zc);var el=[-3,Mu,"InvalidSmsRoleAccessPolicyException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(el,Vc);var tl=[-3,Mu,"InvalidSmsRoleTrustRelationshipException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(tl,Hc);var rl=[-3,Mu,"InvalidUserPoolConfigurationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(rl,Gc);var nl=[-3,Mu,"LimitExceededException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(nl,Mc);var ol=[3,Mu,"ListGroupsRequest",0,[Ou,"Limit",xu],[0,1,0]],il=[3,Mu,"ListGroupsResponse",0,["Groups",xu],[()=>Vl,0]],al=[-3,Mu,"ManagedLoginBrandingExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(al,mu);var sl=[-3,Mu,"MFAMethodNotFoundException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(sl,Yc);var cl=[-3,Mu,"NotAuthorizedException",{[Tu]:ku,[Nu]:403},[ju],[0]];_c.for(Mu).registerError(cl,Oc);var ul=[-3,Mu,"PasswordHistoryPolicyViolationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(ul,ru);var ll=[-3,Mu,"PasswordResetRequiredException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(ll,Jc);var dl=[-3,Mu,"PreconditionNotMetException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(dl,$c);var pl=[-3,Mu,"RefreshTokenReuseException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(pl,Au);var fl=[-3,Mu,"ResourceNotFoundException",{[Tu]:ku,[Nu]:404},[ju],[0]];_c.for(Mu).registerError(fl,kc);var hl=[-3,Mu,"ScopeDoesNotExistException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(hl,wu);var ml=[-3,Mu,"SoftwareTokenMFANotFoundException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(ml,nu);var gl=[-3,Mu,"TermsExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(gl,gu);var yl=[-3,Mu,"TierChangeNotAllowedException",{[Tu]:ku,[Nu]:403},[ju],[0]];_c.for(Mu).registerError(yl,vu);var vl=[-3,Mu,"TooManyFailedAttemptsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(vl,Dc);var bl=[-3,Mu,"TooManyRequestsException",{[Tu]:ku,[Nu]:429},[ju],[0]];_c.for(Mu).registerError(bl,Tc);var El=[-3,Mu,"UnauthorizedException",{[Tu]:ku,[Nu]:401},[ju],[0]];_c.for(Mu).registerError(El,_u);var wl=[-3,Mu,"UnexpectedLambdaException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(wl,Uc);var Sl=[-3,Mu,"UnsupportedIdentityProviderException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Sl,Su);var Al=[-3,Mu,"UnsupportedOperationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Al,Qc);var _l=[-3,Mu,"UnsupportedTokenTypeException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(_l,Pu);var Pl=[-3,Mu,"UnsupportedUserStateException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Pl,Wc);var Cl=[-3,Mu,"UserImportInProgressException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Cl,Nc);var Il=[-3,Mu,"UserLambdaValidationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Il,Fc);var xl=[-3,Mu,"UsernameExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(xl,Bc);var Ol=[-3,Mu,"UserNotConfirmedException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ol,Xc);var kl=[-3,Mu,"UserNotFoundException",{[Tu]:ku,[Nu]:404},[ju],[0]];_c.for(Mu).registerError(kl,jc);var Tl=[-3,Mu,"UserPoolAddOnNotEnabledException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Tl,Zc);var Nl=[-3,Mu,"UserPoolTaggingException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Nl,bu);var jl=[-3,Mu,"WebAuthnChallengeNotFoundException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(jl,au);var Rl=[-3,Mu,"WebAuthnClientMismatchException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Rl,su);var Ml=[-3,Mu,"WebAuthnConfigurationMissingException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ml,Cu);var Dl=[-3,Mu,"WebAuthnCredentialNotSupportedException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Dl,cu);var Ul=[-3,Mu,"WebAuthnNotEnabledException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ul,uu);var Fl=[-3,Mu,"WebAuthnOriginNotAllowedException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Fl,lu);var Ll=[-3,Mu,"WebAuthnRelyingPartyMismatchException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ll,du);var zl=[-3,Ru,"CognitoIdentityProviderServiceException",0,[],[]];_c.for(Ru).registerError(zl,Cc);var Vl=[1,Mu,"GroupListType",0,()=>Gu],Hl=[9,Mu,"ListGroups",0,()=>ol,()=>il];class $l extends(Sc.classBuilder().ep(yi).m(function(e,t,r,n){return[fc(r,e.getEndpointParameterInstructions())]}).s("AWSCognitoIdentityProviderService","ListGroups",{}).n("CognitoIdentityProviderClient","ListGroupsCommand").sc(Hl).build()){}var Wl=a(31179),Bl=a(17826),Kl=a(14598),Gl=a(48324),ql=a(18639),Yl={root:"m_347db0ec","root--dot":"m_fbd81e3d",label:"m_5add502a",section:"m_91fdda9b"};const Jl=(0,de.V)((e,{radius:t,color:r,gradient:n,variant:o,size:i,autoContrast:a,circle:s})=>{const c=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:a});return{root:{"--badge-height":(0,le.YC)(i,"badge-height"),"--badge-padding-x":(0,le.YC)(i,"badge-padding-x"),"--badge-fz":(0,le.YC)(i,"badge-fz"),"--badge-radius":s||void 0===t?void 0:(0,le.nJ)(t),"--badge-bg":r||o?c.background:void 0,"--badge-color":r||o?c.color:void 0,"--badge-bd":r||o?c.border:void 0,"--badge-dot-color":"dot"===o?(0,Xt.r)(r,e):void 0}}}),Ql=(0,ql.v)((e,t)=>{const r=(0,T.Y)("Badge",null,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,radius:l,color:d,gradient:p,leftSection:f,rightSection:h,children:m,variant:g,fullWidth:y,autoContrast:v,circle:b,mod:E,attributes:w,...S}=r,A=(0,pe.I)({name:"Badge",props:r,classes:Yl,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:w,vars:u,varsResolver:Jl});return(0,o.jsxs)(R.a,{variant:g,mod:[{block:y,circle:b,"with-right-section":!!h,"with-left-section":!!f},E],...A("root",{variant:g}),ref:t,...S,children:[f&&(0,o.jsx)("span",{...A("section"),"data-position":"left",children:f}),(0,o.jsx)("span",{...A("label"),children:m}),h&&(0,o.jsx)("span",{...A("section"),"data-position":"right",children:h})]})});Ql.classes=Yl,Ql.displayName="@mantine/core/Badge";var Xl=a(28008),Zl=a(89652),ed=a(69019),td=a(57193),rd={root:"m_e9408a47","root--default":"m_84c9523a","root--filled":"m_ef274e49","root--unstyled":"m_eda993d3",legend:"m_90794832","legend--unstyled":"m_74ca27fe"};const nd={variant:"default"},od=(0,de.V)((e,{radius:t})=>({root:{"--fieldset-radius":void 0===t?void 0:(0,le.nJ)(t)}})),id=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Fieldset",nd,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,legend:l,variant:d,children:p,attributes:f,...h}=r,m=(0,pe.I)({name:"Fieldset",classes:rd,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:f,vars:u,varsResolver:od});return(0,o.jsxs)(R.a,{component:"fieldset",ref:t,variant:d,...m("root",{variant:d}),...h,children:[l&&(0,o.jsx)("legend",{...m("legend",{variant:d}),children:l}),p]})});id.classes=rd,id.displayName="@mantine/core/Fieldset";var ad=a(74533),sd=a(61617),cd=a(99274),ud=a(63733),ld=a(68177),dd=a(21067),pd=a(43748),fd=a(10715),hd=a(24096),md=a(82056);const[gd,yd]=(0,at.e)(),[vd,bd]=(0,at.e)();var Ed={root:"m_7cda1cd6","root--default":"m_44da308b","root--contrast":"m_e3a01f8",label:"m_1e0e6180",remove:"m_ae386778",group:"m_1dcfd90b"};const wd=(0,de.V)((e,{gap:t},{size:r})=>({group:{"--pg-gap":void 0!==t?(0,le.YC)(t):(0,le.YC)(r,"pg-gap")}})),Sd=(0,N.P9)((e,t)=>{const r=(0,T.Y)("PillGroup",null,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,size:l,disabled:d,attributes:p,...f}=r,h=yd(),m=h?.size||l||void 0,g=(0,pe.I)({name:"PillGroup",classes:Ed,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:p,vars:u,varsResolver:wd,stylesCtx:{size:m},rootSelector:"group"});return(0,o.jsx)(vd,{value:{size:m,disabled:d},children:(0,o.jsx)(R.a,{ref:t,size:m,...g("group"),...f})})});Sd.classes=Ed,Sd.displayName="@mantine/core/PillGroup";const Ad={variant:"default"},_d=(0,de.V)((e,{radius:t},{size:r})=>({root:{"--pill-fz":(0,le.YC)(r,"pill-fz"),"--pill-height":(0,le.YC)(r,"pill-height"),"--pill-radius":void 0===t?void 0:(0,le.nJ)(t)}})),Pd=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Pill",Ad,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,variant:l,children:d,withRemoveButton:p,onRemove:f,removeButtonProps:h,radius:m,size:g,disabled:y,mod:v,attributes:b,...E}=r,w=bd(),S=yd(),A=g||w?.size||void 0,_="filled"===S?.variant?"contrast":l||"default",P=(0,pe.I)({name:"Pill",classes:Ed,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:b,vars:u,varsResolver:_d,stylesCtx:{size:A}});return(0,o.jsxs)(R.a,{component:"span",ref:t,variant:_,size:A,...P("root",{variant:_}),mod:[{"with-remove":p&&!y,disabled:y||w?.disabled},v],...E,children:[(0,o.jsx)("span",{...P("label"),children:d}),p&&(0,o.jsx)(Y.J,{variant:"transparent",radius:m,tabIndex:-1,"aria-hidden":!0,unstyled:c,...h,...P("remove",{className:h?.className,style:h?.style}),onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),h?.onMouseDown?.(e)},onClick:e=>{e.stopPropagation(),f?.(),h?.onClick?.(e)}})]})});Pd.classes=Ed,Pd.displayName="@mantine/core/Pill",Pd.Group=Sd;var Cd=a(37055),Id=a(37561),xd={field:"m_45c4369d"};const Od={type:"visible"},kd=(0,N.P9)((e,t)=>{const r=(0,T.Y)("PillsInputField",Od,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,type:l,disabled:d,id:p,pointer:f,mod:h,attributes:m,...g}=r,y=yd(),v=(0,Id.e)(),b=(0,pe.I)({name:"PillsInputField",classes:xd,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:m,rootSelector:"field"}),E=d||y?.disabled;return(0,o.jsx)(R.a,{component:"input",ref:(0,Cd.pc)(t,y?.fieldRef),"data-type":l,disabled:E,mod:[{disabled:E,pointer:f},h],...b("field"),...g,id:v?.inputId||p,"aria-invalid":y?.hasError,"aria-describedby":v?.describedBy,type:"text",onMouseDown:e=>!f&&e.stopPropagation()})});kd.classes=xd,kd.displayName="@mantine/core/PillsInputField";const Td={size:"sm"},Nd=(0,N.P9)((t,r)=>{const n=(0,T.Y)("PillsInput",Td,t),{children:i,onMouseDown:a,onClick:s,size:c,disabled:u,__staticSelector:l,error:d,variant:p,...f}=n,h=(0,e.useRef)(null);return(0,o.jsx)(gd,{value:{fieldRef:h,size:c,disabled:u,hasError:!!d,variant:p},children:(0,o.jsx)(md.O,{size:c,error:d,variant:p,component:"div",ref:r,"data-no-overflow":!0,onMouseDown:e=>{e.preventDefault(),a?.(e),h.current?.focus()},onClick:e=>{e.preventDefault();const t=e.currentTarget.closest("fieldset");t?.disabled||(h.current?.focus(),s?.(e))},...f,multiline:!0,disabled:u,__staticSelector:l||"PillsInput",withAria:!1,children:i})})});Nd.displayName="@mantine/core/PillsInput",Nd.Field=kd;var jd=a(58455);const Rd={maxValues:1/0,withCheckIcon:!0,checkIconPosition:"left",hiddenInputValuesDivider:",",clearSearchOnChange:!0,size:"sm"},Md=(0,N.P9)((t,r)=>{const n=(0,T.Y)("MultiSelect",Rd,t),{classNames:i,className:a,style:s,styles:c,unstyled:u,vars:l,size:d,value:p,defaultValue:f,onChange:h,onKeyDown:m,variant:g,data:y,dropdownOpened:v,defaultDropdownOpened:b,onDropdownOpen:E,onDropdownClose:w,selectFirstOptionOnChange:S,onOptionSubmit:A,comboboxProps:_,filter:P,limit:C,withScrollArea:I,maxDropdownHeight:x,searchValue:O,defaultSearchValue:k,onSearchChange:N,readOnly:j,disabled:R,onFocus:M,onBlur:D,radius:U,rightSection:F,rightSectionWidth:L,rightSectionPointerEvents:z,rightSectionProps:V,leftSection:H,leftSectionWidth:$,leftSectionPointerEvents:W,leftSectionProps:B,inputContainer:K,inputWrapperOrder:G,withAsterisk:q,labelProps:Y,descriptionProps:J,errorProps:Q,wrapperProps:X,description:Z,label:ee,error:te,maxValues:re,searchable:ne,nothingFoundMessage:oe,withCheckIcon:ie,withAlignedLabels:ae,checkIconPosition:se,hidePickedOptions:ce,withErrorStyles:ue,name:le,form:de,id:fe,clearable:he,clearButtonProps:me,hiddenInputProps:ge,placeholder:ye,hiddenInputValuesDivider:ve,required:be,mod:Ee,renderOption:we,onRemove:Se,onClear:Ae,scrollAreaProps:_e,chevronColor:Pe,attributes:Ce,clearSearchOnChange:Ie,...xe}=n,Oe=(0,Xe.B)(fe),ke=(0,ld.d)(y),Te=(0,dd.D)(ke),Ne=(0,e.useRef)({}),je=(0,hd.B)({opened:v,defaultOpened:b,onDropdownOpen:E,onDropdownClose:()=>{w?.(),je.resetSelectedOption()}}),{styleProps:Re,rest:{type:Me,autoComplete:De,...Ue}}=(0,ud.j)(xe),[Fe,Le]=(0,sd.Z)({value:p,defaultValue:f,finalValue:[],onChange:h}),[ze,Ve]=(0,sd.Z)({value:O,defaultValue:k,finalValue:"",onChange:N}),He=e=>{Ve(e),je.resetSelectedOption()},$e=(0,pe.I)({name:"MultiSelect",classes:{},props:n,classNames:i,styles:c,unstyled:u,attributes:Ce}),{resolvedClassNames:We,resolvedStyles:Be}=(0,cd.Y)({props:n,styles:c,classNames:i}),Ke=Fe.map((e,t)=>{const r=Te[e]||Ne.current[e];return(0,o.jsx)(Pd,{withRemoveButton:!j&&!Te[e]?.disabled,onRemove:()=>{Le(Fe.filter(t=>e!==t)),Se?.(e)},unstyled:u,disabled:R,...$e("pill"),children:r?.label||e},`${e}-${t}`)});(0,e.useEffect)(()=>{S&&je.selectFirstOption()},[S,ze]),(0,e.useEffect)(()=>{Fe.forEach(e=>{e in Te&&(Ne.current[e]=Te[e])})},[Te,Fe]);const Ge=(0,o.jsx)(pd.G.ClearButton,{...me,onClear:()=>{Ae?.(),Le([]),He("")}}),qe=function({data:e,value:t}){const r=t.map(e=>e.trim().toLowerCase());return e.reduce((e,t)=>((0,jd.c)(t)?e.push({group:t.group,items:t.items.filter(e=>-1===r.indexOf(e.value.toLowerCase().trim()))}):-1===r.indexOf(t.value.toLowerCase().trim())&&e.push(t),e),[])}({data:ke,value:Fe}),Ye=he&&Fe.length>0&&!R&&!j;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(pd.G,{store:je,classNames:We,styles:Be,unstyled:u,size:d,readOnly:j,__staticSelector:"MultiSelect",attributes:Ce,onOptionSubmit:e=>{A?.(e),Ie&&He(""),je.updateSelectedOptionIndex("selected"),Fe.includes(Te[e].value)?(Le(Fe.filter(t=>t!==Te[e].value)),Se?.(Te[e].value)):Fe.length<re&&Le([...Fe,Te[e].value])},..._,children:[(0,o.jsx)(pd.G.DropdownTarget,{children:(0,o.jsx)(Nd,{...Re,__staticSelector:"MultiSelect",classNames:We,styles:Be,unstyled:u,size:d,className:a,style:s,variant:g,disabled:R,radius:U,__defaultRightSection:(0,o.jsx)(pd.G.Chevron,{size:d,error:te,unstyled:u,color:Pe}),__clearSection:Ge,__clearable:Ye,rightSection:F,rightSectionPointerEvents:z||"none",rightSectionWidth:L,rightSectionProps:V,leftSection:H,leftSectionWidth:$,leftSectionPointerEvents:W,leftSectionProps:B,inputContainer:K,inputWrapperOrder:G,withAsterisk:q,labelProps:Y,descriptionProps:J,errorProps:Q,wrapperProps:X,description:Z,label:ee,error:te,withErrorStyles:ue,__stylesApiProps:{...n,rightSectionPointerEvents:z||(Ye?"all":"none"),multiline:!0},pointer:!ne,onClick:()=>ne?je.openDropdown():je.toggleDropdown(),"data-expanded":je.dropdownOpened||void 0,id:Oe,required:be,mod:Ee,attributes:Ce,children:(0,o.jsxs)(Pd.Group,{attributes:Ce,disabled:R,unstyled:u,...$e("pillsList"),children:[Ke,(0,o.jsx)(pd.G.EventsTarget,{autoComplete:De,children:(0,o.jsx)(Nd.Field,{...Ue,ref:r,id:Oe,placeholder:ye,type:ne||ye?"visible":"hidden",...$e("inputField"),unstyled:u,onFocus:e=>{M?.(e),ne&&je.openDropdown()},onBlur:e=>{D?.(e),je.closeDropdown(),He("")},onKeyDown:e=>{m?.(e)," "!==e.key||ne||(e.preventDefault(),je.toggleDropdown()),"Backspace"===e.key&&0===ze.length&&Fe.length>0&&(Se?.(Fe[Fe.length-1]),Le(Fe.slice(0,Fe.length-1)))},value:ze,onChange:e=>{He(e.currentTarget.value),ne&&je.openDropdown(),S&&je.selectFirstOption()},disabled:R,readOnly:j||!ne,pointer:!ne})})]})})}),(0,o.jsx)(fd.i,{data:ce?qe:ke,hidden:j||R,filter:P,search:ze,limit:C,hiddenWhenEmpty:!oe,withScrollArea:I,maxDropdownHeight:x,filterOptions:ne,value:Fe,checkIconPosition:se,withCheckIcon:ie,withAlignedLabels:ae,nothingFoundMessage:oe,unstyled:u,labelId:ee?`${Oe}-label`:void 0,"aria-label":ee?void 0:xe["aria-label"],renderOption:we,scrollAreaProps:_e})]}),(0,o.jsx)(pd.G.HiddenInput,{name:le,valuesDivider:ve,value:Fe,form:de,disabled:R,...ge})]})});Md.classes={...md.O.classes,...pd.G.classes},Md.displayName="@mantine/core/MultiSelect";var Dd=a(77828),Ud=a(8816);const Fd=(0,e.createContext)(null),Ld=Fd.Provider;var zd=a(16112),Vd=a(31422);const Hd=(0,N.P9)((e,t)=>{const{value:r,defaultValue:n,onChange:i,size:a,wrapperProps:s,children:c,readOnly:u,disabled:l,...d}=(0,T.Y)("SwitchGroup",null,e),[p,f]=(0,sd.Z)({value:r,defaultValue:n,finalValue:[],onChange:i});return(0,o.jsx)(Ld,{value:{value:p,onChange:e=>{const t=e.currentTarget.value;!u&&f(p.includes(t)?p.filter(e=>e!==t):[...p,t])},size:a,disabled:l},children:(0,o.jsx)(Vd.p.Wrapper,{size:a,ref:t,...s,...d,labelElement:"div",__staticSelector:"SwitchGroup",children:(0,o.jsx)(zd.F,{role:"group",children:c})})})});Hd.classes=Vd.p.Wrapper.classes,Hd.displayName="@mantine/core/SwitchGroup";var $d={root:"m_5f93f3bb",input:"m_926b4011",track:"m_9307d992",thumb:"m_93039a1d",trackLabel:"m_8277e082"};const Wd={labelPosition:"right",withThumbIndicator:!0},Bd=(0,de.V)((e,{radius:t,color:r,size:n})=>({root:{"--switch-radius":void 0===t?void 0:(0,le.nJ)(t),"--switch-height":(0,le.YC)(n,"switch-height"),"--switch-width":(0,le.YC)(n,"switch-width"),"--switch-thumb-size":(0,le.YC)(n,"switch-thumb-size"),"--switch-label-font-size":(0,le.YC)(n,"switch-label-font-size"),"--switch-track-label-padding":(0,le.YC)(n,"switch-track-label-padding"),"--switch-color":r?(0,Xt.r)(r,e):void 0}})),Kd=(0,N.P9)((t,r)=>{const n=(0,T.Y)("Switch",Wd,t),{classNames:i,className:a,style:s,styles:c,unstyled:u,vars:l,color:d,label:p,offLabel:f,onLabel:h,id:m,size:g,radius:y,wrapperProps:v,thumbIcon:b,checked:E,defaultChecked:w,onChange:S,labelPosition:A,description:_,error:P,disabled:C,variant:I,rootRef:x,mod:O,withThumbIndicator:k,attributes:N,...j}=n,M=(0,e.useContext)(Fd),D=g||M?.size,U=(0,pe.I)({name:"Switch",props:n,classes:$d,className:a,style:s,classNames:i,styles:c,unstyled:u,attributes:N,vars:l,varsResolver:Bd}),{styleProps:F,rest:L}=(0,ud.j)(j),z=(0,Xe.B)(m),V={checked:M?.value.includes(L.value)??E,onChange:e=>{M?.onChange(e),S?.(e)},disabled:M?.disabled??C},[H,$]=(0,sd.Z)({value:V.checked??E,defaultValue:w,finalValue:!1});return(0,o.jsxs)(Ud.I,{...U("root"),__staticSelector:"Switch",__stylesApiProps:n,id:z,size:D,labelPosition:A,label:p,description:_,error:P,disabled:V.disabled,bodyElement:"label",labelElement:"span",classNames:i,styles:c,unstyled:u,"data-checked":V.checked,variant:I,ref:x,mod:O,...F,...v,children:[(0,o.jsx)("input",{...L,...V,checked:H,"data-checked":V.checked,onChange:e=>{V.onChange?.(e),$(e.currentTarget.checked)},id:z,ref:r,type:"checkbox",role:"switch",...U("input")}),(0,o.jsxs)(R.a,{"aria-hidden":"true",component:"span",mod:{error:P,"label-position":A,"without-labels":!h&&!f},...U("track"),children:[(0,o.jsx)(R.a,{component:"span",mod:{"reduce-motion":!0,"with-thumb-indicator":k&&!b},...U("thumb"),children:b}),(0,o.jsx)("span",{...U("trackLabel"),children:H?h:f})]})]})});function Gd(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}var qd;function Yd(){}function Jd(e){return!!(e||"").match(/\d/)}function Qd(e){return null==e}function Xd(e){return Qd(e)||function(e){return"number"==typeof e&&isNaN(e)}(e)||"number"==typeof e&&!isFinite(e)}function Zd(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ep(e,t){void 0===t&&(t=!0);var r="-"===e[0],n=r&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNegation:r,addNegation:n}}function tp(e,t,r){for(var n="",o=r?"0":"",i=0;i<=t-1;i++)n+=e[i]||o;return n}function rp(e,t){return Array(t+1).join(e)}function np(e){var t=e+"",r="-"===t[0]?"-":"";r&&(t=t.substring(1));var n=t.split(/[eE]/g),o=n[0],i=n[1];if(!(i=Number(i)))return r+o;var a=1+i,s=(o=o.replace(".","")).length;return a<0?o="0."+rp("0",Math.abs(a))+o:a>=s?o+=rp("0",a-s):o=(o.substring(0,a)||"0")+"."+o.substring(a),r+o}function op(e,t,r){if(-1!==["","-"].indexOf(e))return e;var n=(-1!==e.indexOf(".")||r)&&t,o=ep(e),i=o.beforeDecimal,a=o.afterDecimal,s=o.hasNegation,c=parseFloat("0."+(a||"0")),u=(a.length<=t?"0."+a:c.toFixed(t)).split("."),l=i;return i&&Number(u[0])&&(l=i.split("").reverse().reduce(function(e,t,r){return e.length>r?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e},u[0])),(s?"-":"")+l+(n?".":"")+tp(u[1]||"",t,r)}function ip(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}Kd.classes={...$d,...Ud.M},Kd.displayName="@mantine/core/Switch",Kd.Group=Hd,function(e){e.event="event",e.props="prop"}(qd||(qd={}));var ap,sp,cp,up=(ap=function(e,t){for(var r=0,n=0,o=e.length,i=t.length;e[r]===t[r]&&r<o;)r++;for(;e[o-1-n]===t[i-1-n]&&i-n>r&&o-n>r;)n++;return{from:{start:r,end:o-n},to:{start:r,end:i-n}}},cp=void 0,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return sp&&e.length===sp.length&&e.every(function(e,t){return e===sp[t]})?cp:(sp=e,cp=ap.apply(void 0,e))});function lp(e){return Math.max(e.selectionStart,e.selectionEnd)}function dp(e){var t=e.currentValue,r=e.formattedValue,n=e.currentValueIndex,o=e.formattedValueIndex;return t[n]===r[o]}function pp(e,t,r,n){var o,i,a=e.length;if(o=t,i=a,t=Math.min(Math.max(o,0),i),"left"===n){for(;t>=0&&!r[t];)t--;-1===t&&(t=r.indexOf(!0))}else{for(;t<=a&&!r[t];)t++;t>a&&(t=r.lastIndexOf(!0))}return-1===t&&(t=a),t}function fp(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),r=0,n=t.length;r<n;r++)t[r]=Boolean(Jd(e[r])||Jd(e[r-1]));return t}function hp(t,r,n,o,i,a){void 0===a&&(a=Yd);var s=function(t){var r=(0,e.useRef)(t);r.current=t;var n=(0,e.useRef)(function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r.current.apply(r,e)});return n.current}(function(e,t){var r,n;return Xd(e)?(n="",r=""):"number"==typeof e||t?(n="number"==typeof e?np(e):e,r=o(n)):(n=i(e,void 0),r=o(n)),{formattedValue:r,numAsString:n}}),c=(0,e.useState)(function(){return s(Qd(t)?r:t,n)}),u=c[0],l=c[1],d=t,p=n;Qd(t)&&(d=u.numAsString,p=!0);var f=s(d,p);return(0,e.useMemo)(function(){l(f)},[f.formattedValue]),[u,function(e,t){e.formattedValue!==u.formattedValue&&l({formattedValue:e.formattedValue,numAsString:e.value}),a(e,t)}]}function mp(e){return e.replace(/[^0-9]/g,"")}function gp(e){return e}function yp(r){var n=r.type;void 0===n&&(n="text");var o=r.displayType;void 0===o&&(o="input");var i=r.customInput,a=r.renderText,s=r.getInputRef,c=r.format;void 0===c&&(c=gp);var u=r.removeFormatting;void 0===u&&(u=mp);var l=r.defaultValue,d=r.valueIsNumericString,p=r.onValueChange,f=r.isAllowed,h=r.onChange;void 0===h&&(h=Yd);var m=r.onKeyDown;void 0===m&&(m=Yd);var g=r.onMouseUp;void 0===g&&(g=Yd);var y=r.onFocus;void 0===y&&(y=Yd);var v=r.onBlur;void 0===v&&(v=Yd);var b=r.value,E=r.getCaretBoundary;void 0===E&&(E=fp);var w=r.isValidInputCharacter;void 0===w&&(w=Jd);var S=r.isCharacterSame,A=Gd(r,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),_=hp(b,l,Boolean(d),c,u,p),P=_[0],C=P.formattedValue,I=P.numAsString,x=_[1],O=(0,e.useRef)(),k=(0,e.useRef)({formattedValue:C,numAsString:I}),T=function(e,t){k.current={formattedValue:e.formattedValue,numAsString:e.value},x(e,t)},N=(0,e.useState)(!1),j=N[0],R=N[1],M=(0,e.useRef)(null),D=(0,e.useRef)({setCaretTimeout:null,focusTimeout:null});(0,e.useEffect)(function(){return R(!0),function(){clearTimeout(D.current.setCaretTimeout),clearTimeout(D.current.focusTimeout)}},[]);var U=c,F=function(e,t){var r=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(r)?void 0:r}},L=function(e,t,r){0===e.selectionStart&&e.selectionEnd===e.value.length||(ip(e,t),D.current.setCaretTimeout=setTimeout(function(){e.value===r&&e.selectionStart!==t&&ip(e,t)},0))},z=function(e,t,r){return pp(e,t,E(e),r)},V=function(e,t,r){var n=E(t),o=function(e,t,r,n,o,i,a){void 0===a&&(a=dp);var s=o.findIndex(function(e){return e}),c=e.slice(0,s);t||r.startsWith(c)||(t=c,r=c+r,n+=c.length);for(var u=r.length,l=e.length,d={},p=new Array(u),f=0;f<u;f++){p[f]=-1;for(var h=0,m=l;h<m;h++)if(a({currentValue:r,lastValue:t,formattedValue:e,currentValueIndex:f,formattedValueIndex:h})&&!0!==d[h]){p[f]=h,d[h]=!0;break}}for(var g=n;g<u&&(-1===p[g]||!i(r[g]));)g++;var y=g===u||-1===p[g]?l:p[g];for(g=n-1;g>0&&-1===p[g];)g--;var v=-1===g||-1===p[g]?0:p[g]+1;return v>y?y:n-v<y-n?v:y}(t,C,e,r,n,w,S);return pp(t,o,n)};(0,e.useEffect)(function(){var e=k.current,t=e.formattedValue,r=e.numAsString;C===t&&I===r||T(F(C,I),{event:void 0,source:qd.props})},[C,I]);var H=M.current?lp(M.current):void 0;("undefined"!=typeof window?e.useLayoutEffect:e.useEffect)(function(){var e=M.current;if(C!==k.current.formattedValue&&e){var t=V(k.current.formattedValue,C,H);e.value=C,L(e,t,C)}},[C]);var $=function(e,t){void 0===t&&(t=0);var r=e.selectionStart,n=e.selectionEnd;O.current={selectionStart:r,selectionEnd:n+t}},W=!j||"undefined"==typeof navigator||navigator.platform&&/iPhone|iPod/.test(navigator.platform)?void 0:"numeric",B=Object.assign({inputMode:W},A,{type:n,value:C,onChange:function(e){(function(e,t,r){var n=t.target,o=O.current?function(e,t){var r=Math.min(e.selectionStart,t);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:t}}}(O.current,n.selectionEnd):up(C,e),i=Object.assign(Object.assign({},o),{lastValue:C}),a=u(e,i),s=U(a);if(a=u(s,void 0),f&&!f(F(s,a))){var c=t.target,l=lp(c),d=V(e,C,l);return c.value=C,L(c,d,C),!1}return function(e){var t=e.formattedValue;void 0===t&&(t="");var r,n=e.input,o=e.source,i=e.event,a=e.numAsString;if(n){var s=e.inputValue||n.value,c=lp(n);n.value=t,void 0!==(r=V(s,t,c))&&L(n,r,t)}t!==C&&T(F(t,a),{event:i,source:o})}({formattedValue:s,numAsString:a,inputValue:e,event:t,source:r,input:t.target}),!0})(e.target.value,e,qd.event)&&h(e),O.current=void 0},onKeyDown:function(e){var t,r=e.target,n=e.key,o=r.selectionStart,i=r.selectionEnd,a=r.value;void 0===a&&(a=""),"ArrowLeft"===n||"Backspace"===n?t=Math.max(o-1,0):"ArrowRight"===n?t=Math.min(o+1,a.length):"Delete"===n&&(t=o);var s=0;"Delete"===n&&o===i&&(s=1);var c="ArrowLeft"===n||"ArrowRight"===n;if(void 0===t||o!==i&&!c)return m(e),void $(r,s);var u=t;c?(u=z(a,t,"ArrowLeft"===n?"left":"right"))!==t&&e.preventDefault():"Delete"!==n||w(a[t])?"Backspace"!==n||w(a[t])||(u=z(a,t,"left")):u=z(a,t,"right"),u!==t&&L(r,u,a),m(e),$(r,s)},onMouseUp:function(e){var t=e.target,r=function(){var e=t.selectionStart,r=t.selectionEnd,n=t.value;if(void 0===n&&(n=""),e===r){var o=z(n,e);o!==e&&L(t,o,n)}};r(),requestAnimationFrame(function(){r()}),g(e),$(t)},onFocus:function(e){e.persist&&e.persist();var t=e.target,r=e.currentTarget;M.current=t,D.current.focusTimeout=setTimeout(function(){var n=t.selectionStart,o=t.selectionEnd,i=t.value;void 0===i&&(i="");var a=z(i,n);a===n||0===n&&o===i.length||L(t,a,i),y(Object.assign(Object.assign({},e),{currentTarget:r}))},0)},onBlur:function(e){M.current=null,clearTimeout(D.current.focusTimeout),clearTimeout(D.current.setCaretTimeout),v(e)}});if("text"===o)return a?t().createElement(t().Fragment,null,a(C,A)||null):t().createElement("span",Object.assign({},A,{ref:s}),C);if(i){var K=i;return t().createElement(K,Object.assign({},B,{ref:s}))}return t().createElement("input",Object.assign({},B,{ref:s}))}function vp(e,t){var r=t.decimalScale,n=t.fixedDecimalScale,o=t.prefix;void 0===o&&(o="");var i=t.suffix;void 0===i&&(i="");var a=t.allowNegative,s=t.thousandsGroupStyle;if(void 0===s&&(s="thousand"),""===e||"-"===e)return e;var c=bp(t),u=c.thousandSeparator,l=c.decimalSeparator,d=0!==r&&-1!==e.indexOf(".")||r&&n,p=ep(e,a),f=p.beforeDecimal,h=p.afterDecimal,m=p.addNegation;return void 0!==r&&(h=tp(h,r,!!n)),u&&(f=function(e,t,r){var n=function(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}(r),o=e.search(/[1-9]/);return o=-1===o?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(n,"$1"+t)}(f,u,s)),o&&(f=o+f),i&&(h+=i),m&&(f="-"+f),f+(d&&l||"")+h}function bp(e){var t=e.decimalSeparator;void 0===t&&(t=".");var r=e.thousandSeparator,n=e.allowedDecimalSeparators;return!0===r&&(r=","),n||(n=[t,"."]),{decimalSeparator:t,thousandSeparator:r,allowedDecimalSeparators:n}}function Ep(e){e=function(e){var t=bp(e),r=t.thousandSeparator,n=t.decimalSeparator,o=e.prefix;void 0===o&&(o="");var i=e.allowNegative;if(void 0===i&&(i=!0),r===n)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: "+r+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: '+n+" (default value for decimalSeparator is .)\n ");return o.startsWith("-")&&i&&(console.error("\n Prefix can't start with '-' when allowNegative is true.\n prefix: "+o+"\n allowNegative: "+i+"\n "),i=!1),Object.assign(Object.assign({},e),{allowNegative:i})}(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,r=e.allowNegative,n=e.allowLeadingZeros,o=e.onKeyDown;void 0===o&&(o=Yd);var i=e.onBlur;void 0===i&&(i=Yd);var a=e.thousandSeparator,s=e.decimalScale,c=e.fixedDecimalScale,u=e.prefix;void 0===u&&(u="");var l=e.defaultValue,d=e.value,p=e.valueIsNumericString,f=e.onValueChange,h=Gd(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),m=bp(e),g=m.decimalSeparator,y=m.allowedDecimalSeparators,v=function(t){return vp(t,e)},b=function(t,r){return function(e,t,r){var n;void 0===t&&(t=function(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}(e));var o=r.allowNegative,i=r.prefix;void 0===i&&(i="");var a=r.suffix;void 0===a&&(a="");var s=r.decimalScale,c=t.from,u=t.to,l=u.start,d=u.end,p=bp(r),f=p.allowedDecimalSeparators,h=p.decimalSeparator,m=e[d]===h;if(Jd(e)&&(e===i||e===a)&&""===t.lastValue)return e;if(d-l===1&&-1!==f.indexOf(e[l])){var g=0===s?"":h;e=e.substring(0,l)+g+e.substring(l+1,e.length)}var y=function(e,t,r){var n=!1,o=!1;i.startsWith("-")?n=!1:e.startsWith("--")?(n=!1,o=!0):a.startsWith("-")&&e.length===a.length?n=!1:"-"===e[0]&&(n=!0);var s=n?1:0;return o&&(s=2),s&&(e=e.substring(s),t-=s,r-=s),{value:e,start:t,end:r,hasNegation:n}},v=y(e,l,d),b=v.hasNegation;e=(n=v).value,l=n.start,d=n.end;var E=y(t.lastValue,c.start,c.end),w=E.start,S=E.end,A=E.value,_=e.substring(l,d);!(e.length&&A.length&&(w>A.length-a.length||S<i.length))||_&&a.startsWith(_)||(e=A);var P=0;e.startsWith(i)?P+=i.length:l<i.length&&(P=l),d-=P;var C=(e=e.substring(P)).length,I=e.length-a.length;e.endsWith(a)?C=I:(d>I||d>e.length-a.length)&&(C=d),e=e.substring(0,C),e=function(e,t){void 0===e&&(e="");var r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),o=r.test(e),i=n.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e}(b?"-"+e:e,o),e=(e.match(function(e){return new RegExp("(^-)|[0-9]|"+Zd(e),"g")}(h))||[]).join("");var x=e.indexOf(h),O=ep(e=e.replace(new RegExp(Zd(h),"g"),function(e,t){return t===x?".":""}),o),k=O.beforeDecimal,T=O.afterDecimal,N=O.addNegation;return u.end-u.start<c.end-c.start&&""===k&&m&&!parseFloat(T)&&(e=N?"-":""),e}(t,r,e)},E=Qd(d)?l:d,w=null!=p?p:function(e,t,r){return""===e||!(null==t?void 0:t.match(/\d/))&&!(null==r?void 0:r.match(/\d/))&&"string"==typeof e&&!isNaN(Number(e))}(E,u,t);Qd(d)?Qd(l)||(w=w||"number"==typeof l):w=w||"number"==typeof d;var S=function(e){return Xd(e)?e:("number"==typeof e&&(e=np(e)),w&&"number"==typeof s?op(e,s,Boolean(c)):e)},A=hp(S(d),S(l),Boolean(w),v,b,f),_=A[0],P=_.numAsString,C=_.formattedValue,I=A[1];return Object.assign(Object.assign({},h),{value:C,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===g||Jd(e)},isCharacterSame:function(e){var t=e.currentValue,r=e.lastValue,n=e.formattedValue,o=e.currentValueIndex,i=e.formattedValueIndex,a=t[o],l=n[i],p=up(r,t).to,f=function(e){return b(e).indexOf(".")+u.length};return!(0===d&&c&&s&&t[p.start]===g&&f(t)<o&&f(n)>i||!(o>=p.start&&o<p.end&&y&&y.includes(a)&&l===g)&&a!==l)},onValueChange:I,format:v,removeFormatting:b,getCaretBoundary:function(t){return function(e,t){var r=t.prefix;void 0===r&&(r="");var n=t.suffix;void 0===n&&(n="");var o=Array.from({length:e.length+1}).map(function(){return!0}),i="-"===e[0];o.fill(!1,0,r.length+(i?1:0));var a=e.length;return o.fill(!1,a-n.length+1,a+1),o}(t,e)},onKeyDown:function(e){var t=e.target,n=e.key,i=t.selectionStart,l=t.selectionEnd,d=t.value;if(void 0===d&&(d=""),("Backspace"===n||"Delete"===n)&&l<u.length)e.preventDefault();else if(i===l){"Backspace"===n&&"-"===d[0]&&i===u.length+1&&r&&ip(t,1),s&&c&&("Backspace"===n&&d[i-1]===g?(ip(t,i-1),e.preventDefault()):"Delete"===n&&d[i]===g&&e.preventDefault()),(null==y?void 0:y.includes(n))&&d[i]===g&&ip(t,i+1);var p=!0===a?",":a;"Backspace"===n&&d[i-1]===p&&ip(t,i-1),"Delete"===n&&d[i]===p&&ip(t,i+1),o(e)}else o(e)},onBlur:function(t){var r=P;if(r.match(/\d/g)||(r=""),n||(r=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",o=r[1]||"";return(t?"-":"")+n+(o?"."+o:"")}(r)),c&&s&&(r=op(r,s,c)),r!==P){var o=vp(r,e);I({formattedValue:o,value:r,floatValue:parseFloat(r)},{event:t,source:qd.event})}i(t)}})}function wp(e){var r=Ep(e);return t().createElement(yp,Object.assign({},r))}function Sp(e,t,r){return void 0===t&&void 0===r?e:void 0!==t&&void 0===r?Math.max(e,t):void 0===t&&void 0!==r?Math.min(e,r):Math.min(Math.max(e,t),r)}var Ap=a(52796),_p=a(46076);function Pp({direction:e,style:t,...r}){return(0,o.jsx)("svg",{style:{width:"var(--ni-chevron-size)",height:"var(--ni-chevron-size)",transform:"up"===e?"rotate(180deg)":void 0,...t},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:(0,o.jsx)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}var Cp={root:"m_e2f5cd4e",controls:"m_95e17d22",control:"m_80b4b171"};const Ip=/^(0\.0*|-0(\.0*)?)$/,xp=/^-?0\d+(\.\d+)?\.?$/,Op=/\.\d*0$/,kp=/^-?\d+\.$/;function Tp(e){return"string"==typeof e&&""!==e&&!Number.isNaN(Number(e))}function Np(e){return"number"==typeof e?e<Number.MAX_SAFE_INTEGER:""===e||Tp(e)&&Number(e)<Number.MAX_SAFE_INTEGER}function jp(e,t,r){return void 0===e||(void 0===t||e>=t)&&(void 0===r||e<=r)}const Rp={step:1,clampBehavior:"blur",allowDecimal:!0,allowNegative:!0,withKeyboardEvents:!0,allowLeadingZeros:!0,trimLeadingZeroesOnBlur:!0,startValue:0,allowedDecimalSeparators:[".",","]},Mp=(0,de.V)((e,{size:t})=>({controls:{"--ni-chevron-size":(0,le.YC)(t,"ni-chevron-size")}})),Dp=(0,N.P9)((t,r)=>{const n=(0,T.Y)("NumberInput",Rp,t),{className:i,classNames:a,styles:s,unstyled:c,vars:u,onChange:l,onValueChange:d,value:p,defaultValue:f,max:h,min:m,step:g,hideControls:y,rightSection:v,isAllowed:b,clampBehavior:E,onBlur:w,allowDecimal:S,decimalScale:A,onKeyDown:_,onKeyDownCapture:P,handlersRef:C,startValue:I,disabled:x,rightSectionPointerEvents:O,allowNegative:k,readOnly:N,size:R,rightSectionWidth:M,stepHoldInterval:D,stepHoldDelay:U,allowLeadingZeros:F,withKeyboardEvents:L,trimLeadingZeroesOnBlur:z,allowedDecimalSeparators:V,attributes:H,...$}=n,W=(0,pe.I)({name:"NumberInput",classes:Cp,props:n,classNames:a,styles:s,unstyled:c,attributes:H,vars:u,varsResolver:Mp}),{resolvedClassNames:B,resolvedStyles:K}=(0,cd.Y)({classNames:a,styles:s,props:n}),[G,q]=(0,sd.Z)({value:p,defaultValue:f,finalValue:"",onChange:l}),Y=void 0!==U&&void 0!==D,J=(0,e.useRef)(null),Q=(0,e.useRef)(null),X=(0,e.useRef)(0),Z=e=>{const t=String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},ee=e=>{J.current&&void 0!==e&&J.current.setSelectionRange(e,e)},te=(0,e.useRef)(Ap.l);te.current=()=>{if(!Np(G))return;let e;const t=Z(G),r=Z(g),n=Math.max(t,r),o=10**n;if(Tp(G)||"number"==typeof G&&!Number.isNaN(G))if(void 0!==h){const t=(Math.round(Number(G)*o)+Math.round(g*o))/o;e=t<=h?t:h}else e=(Math.round(Number(G)*o)+Math.round(g*o))/o;else e=Sp(I,m,h);const i=e.toFixed(n);q(parseFloat(i)),d?.({floatValue:parseFloat(i),formattedValue:i,value:i},{source:"increment"}),setTimeout(()=>ee(J.current?.value.length),0)};const re=(0,e.useRef)(Ap.l);re.current=()=>{if(!Np(G))return;let e;const t=void 0!==m?m:k?Number.MIN_SAFE_INTEGER:0,r=Z(G),n=Z(g),o=Math.max(r,n),i=10**o;if(!Tp(G)&&"number"!=typeof G||Number.isNaN(G))e=Sp(I,t,h);else{const r=(Math.round(Number(G)*i)-Math.round(g*i))/i;e=void 0!==t&&r<t?t:r}const a=e.toFixed(o);q(parseFloat(a)),d?.({floatValue:parseFloat(a),formattedValue:a,value:a},{source:"decrement"}),setTimeout(()=>ee(J.current?.value.length),0)},(0,Cd.bl)(C,{increment:te.current,decrement:re.current});const ne=e=>{e?te.current?.():re.current?.(),X.current+=1},oe=e=>{if(ne(e),Y){const t="number"==typeof D?D:D(X.current);Q.current=window.setTimeout(()=>oe(e),t)}},ie=(e,t)=>{e.preventDefault(),J.current?.focus(),ne(t),Y&&(Q.current=window.setTimeout(()=>oe(t),U))},ae=()=>{Q.current&&window.clearTimeout(Q.current),Q.current=null,X.current=0},se=(0,o.jsxs)("div",{...W("controls"),children:[(0,o.jsx)(_p.N,{...W("control"),tabIndex:-1,"aria-hidden":!0,disabled:x||"number"==typeof G&&void 0!==h&&G>=h,mod:{direction:"up"},onMouseDown:e=>e.preventDefault(),onPointerDown:e=>{ie(e,!0)},onPointerUp:ae,onPointerLeave:ae,children:(0,o.jsx)(Pp,{direction:"up"})}),(0,o.jsx)(_p.N,{...W("control"),tabIndex:-1,"aria-hidden":!0,disabled:x||"number"==typeof G&&void 0!==m&&G<=m,mod:{direction:"down"},onMouseDown:e=>e.preventDefault(),onPointerDown:e=>{ie(e,!1)},onPointerUp:ae,onPointerLeave:ae,children:(0,o.jsx)(Pp,{direction:"down"})})]});return(0,o.jsx)(md.O,{component:wp,allowNegative:k,className:(0,j.A)(Cp.root,i),size:R,inputMode:"decimal",...$,readOnly:N,disabled:x,value:G,getInputRef:(0,Cd.pc)(r,J),onValueChange:(e,t)=>{"event"===t.source&&q(!function(e,t){return("number"==typeof e?e<Number.MAX_SAFE_INTEGER:!Number.isNaN(Number(e)))&&!Number.isNaN(e)&&t.toString().replace(".","").length<14&&""!==t}(e.floatValue,e.value)||Ip.test(e.value)||F&&xp.test(e.value)||Op.test(e.value)||kp.test(e.value)?e.value:e.floatValue),d?.(e,t)},rightSection:y||N||!Np(G)?v:v||se,classNames:B,styles:K,unstyled:c,__staticSelector:"NumberInput",decimalScale:S?A:0,onKeyDown:e=>{_?.(e),!N&&L&&("ArrowUp"===e.key&&(e.preventDefault(),te.current?.()),"ArrowDown"===e.key&&(e.preventDefault(),re.current?.()))},onKeyDownCapture:e=>{if(P?.(e),"Backspace"===e.key){const t=J.current;t&&0===t.selectionStart&&t.selectionStart===t.selectionEnd&&(e.preventDefault(),window.setTimeout(()=>ee(0),0))}},rightSectionPointerEvents:O??(x?"none":void 0),rightSectionWidth:M??`var(--ni-right-section-width-${R||"sm"})`,allowLeadingZeros:F,allowedDecimalSeparators:V,onBlur:e=>{let t=G;"blur"===E&&"number"==typeof t&&(t=Sp(t,m,h)),z&&"string"==typeof t&&Z(t)<15&&(t=function(e,t,r){const n=e.toString(),o=kp.test(n),i=n.replace(/^0+(?=\d)/,""),a=parseFloat(i);if(Number.isNaN(a))return i;if(a>Number.MAX_SAFE_INTEGER)return void 0!==t?t:i;const s=Sp(a,r,t);return o?`${s.toString().replace(/^0+(?=\d)/,"")}.`:s}(t,h,m)),G!==t&&q(t),w?.(e)},attributes:H,isAllowed:e=>"strict"===E?b?b(e)&&jp(e.floatValue,m,h):jp(e.floatValue,m,h):!b||b(e)})});Dp.classes={...md.O.classes,...Cp},Dp.displayName="@mantine/core/NumberInput";var Up=a(85091),Fp={root:"m_66836ed3",wrapper:"m_a5d60502",body:"m_667c2793",title:"m_6a03f287",label:"m_698f4f23",icon:"m_667f2a6a",message:"m_7fa78076",closeButton:"m_87f54839"};const Lp=(0,de.V)((e,{radius:t,color:r,variant:n,autoContrast:o})=>{const i=e.variantColorResolver({color:r||e.primaryColor,theme:e,variant:n||"light",autoContrast:o});return{root:{"--alert-radius":void 0===t?void 0:(0,le.nJ)(t),"--alert-bg":r||n?i.background:void 0,"--alert-color":i.color,"--alert-bd":r||n?i.border:void 0}}}),zp=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Alert",null,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,radius:l,color:d,title:p,children:f,id:h,icon:m,withCloseButton:g,onClose:y,closeButtonLabel:v,variant:b,autoContrast:E,role:w,attributes:S,...A}=r,_=(0,pe.I)({name:"Alert",classes:Fp,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:S,vars:u,varsResolver:Lp}),P=(0,Xe.B)(h),C=p&&`${P}-title`||void 0,I=`${P}-body`;return(0,o.jsx)(R.a,{id:P,..._("root",{variant:b}),variant:b,ref:t,role:w||"alert",...A,"aria-describedby":f?I:void 0,"aria-labelledby":p?C:void 0,children:(0,o.jsxs)("div",{..._("wrapper"),children:[m&&(0,o.jsx)("div",{..._("icon"),children:m}),(0,o.jsxs)("div",{..._("body"),children:[p&&(0,o.jsx)("div",{..._("title"),"data-with-close-button":g||void 0,children:(0,o.jsx)("span",{id:C,..._("label"),children:p})}),f&&(0,o.jsx)("div",{id:I,..._("message"),"data-variant":b,children:f})]}),g&&(0,o.jsx)(Y.J,{..._("closeButton"),onClick:y,variant:"transparent",size:16,iconSize:16,"aria-label":v,unstyled:c})]})})});zp.classes=Fp,zp.displayName="@mantine/core/Alert";var Vp=a(86945),Hp=a(57693),$p=a(7641),Wp=a(36118),Bp=a(38728);const Kp=(0,Bp.A)("outline","users-group","UsersGroup",[["path",{d:"M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-0"}],["path",{d:"M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1",key:"svg-1"}],["path",{d:"M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-2"}],["path",{d:"M17 10h2a2 2 0 0 1 2 2v1",key:"svg-3"}],["path",{d:"M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-4"}],["path",{d:"M3 13v-1a2 2 0 0 1 2 -2h2",key:"svg-5"}]]),Gp=(0,Bp.A)("outline","login","Login",[["path",{d:"M15 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M21 12h-13l3 -3",key:"svg-1"}],["path",{d:"M11 15l-3 -3",key:"svg-2"}]]),qp=(0,Bp.A)("outline","forms","Forms",[["path",{d:"M12 3a3 3 0 0 0 -3 3v12a3 3 0 0 0 3 3",key:"svg-0"}],["path",{d:"M6 3a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3",key:"svg-1"}],["path",{d:"M13 7h7a1 1 0 0 1 1 1v8a1 1 0 0 1 -1 1h-7",key:"svg-2"}],["path",{d:"M5 7h-1a1 1 0 0 0 -1 1v8a1 1 0 0 0 1 1h1",key:"svg-3"}],["path",{d:"M17 12h.01",key:"svg-4"}],["path",{d:"M13 12h.01",key:"svg-5"}]]),Yp=(0,Bp.A)("outline","social","Social",[["path",{d:"M10 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M3 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M17 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-2"}],["path",{d:"M9 14a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-3"}],["path",{d:"M12 7l0 4",key:"svg-4"}],["path",{d:"M6.7 17.8l2.8 -2",key:"svg-5"}],["path",{d:"M17.3 17.8l-2.8 -2",key:"svg-6"}]]),Jp=(0,Bp.A)("outline","api","Api",[["path",{d:"M4 13h5",key:"svg-0"}],["path",{d:"M12 16v-8h3a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-3",key:"svg-1"}],["path",{d:"M20 8v8",key:"svg-2"}],["path",{d:"M9 16v-5.5a2.5 2.5 0 0 0 -5 0v5.5",key:"svg-3"}]]);var Qp=a(84805),Xp=a(49568),Zp=a(20899);const ef=(0,Bp.A)("outline","x","X",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]]);var tf=a(42449);const rf=(0,Bp.A)("outline","exclamation-circle","ExclamationCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M12 9v4",key:"svg-1"}],["path",{d:"M12 16v.01",key:"svg-2"}]]);var nf=class extends Fr{constructor(e,t){super(),this.options=t,this.#F=e,this.#Y=null,this.#J=Vr(),this.bindMethods(),this.setOptions(t)}#F;#Q=void 0;#X=void 0;#Z=void 0;#ee;#te;#J;#Y;#re;#ne;#oe;#ie;#ae;#se;#ce=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#Q.addObserver(this),of(this.#Q,this.options)?this.#ue():this.updateResult(),this.#le())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return af(this.#Q,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return af(this.#Q,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#de(),this.#pe(),this.#Q.removeObserver(this)}setOptions(e){const t=this.options,r=this.#Q;if(this.options=this.#F.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof vr(this.options.enabled,this.#Q))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#fe(),this.#Q.setOptions(this.options),t._defaulted&&!Cr(this.options,t)&&this.#F.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#Q,observer:this});const n=this.hasListeners();n&&sf(this.#Q,r,this.options,t)&&this.#ue(),this.updateResult(),!n||this.#Q===r&&vr(this.options.enabled,this.#Q)===vr(t.enabled,this.#Q)&&yr(this.options.staleTime,this.#Q)===yr(t.staleTime,this.#Q)||this.#he();const o=this.#me();!n||this.#Q===r&&vr(this.options.enabled,this.#Q)===vr(t.enabled,this.#Q)&&o===this.#se||this.#ge(o)}getOptimisticResult(e){const t=this.#F.getQueryCache().build(this.#F,e),r=this.createResult(t,e);return n=r,!Cr(this.getCurrentResult(),n)&&(this.#Z=r,this.#te=this.options,this.#ee=this.#Q.state),r;var n}getCurrentResult(){return this.#Z}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#J.status||this.#J.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#ce.add(e)}getCurrentQuery(){return this.#Q}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#F.defaultQueryOptions(e),r=this.#F.getQueryCache().build(this.#F,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#ue({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#Z))}#ue(e){this.#fe();let t=this.#Q.fetch(this.options,e);return e?.throwOnError||(t=t.catch(hr)),t}#he(){this.#de();const e=yr(this.options.staleTime,this.#Q);if(fr||this.#Z.isStale||!mr(e))return;const t=gr(this.#Z.dataUpdatedAt,e)+1;this.#ie=pr.setTimeout(()=>{this.#Z.isStale||this.updateResult()},t)}#me(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#Q):this.options.refetchInterval)??!1}#ge(e){this.#pe(),this.#se=e,!fr&&!1!==vr(this.options.enabled,this.#Q)&&mr(this.#se)&&0!==this.#se&&(this.#ae=pr.setInterval(()=>{(this.options.refetchIntervalInBackground||Lr.isFocused())&&this.#ue()},this.#se))}#le(){this.#he(),this.#ge(this.#me())}#de(){this.#ie&&(pr.clearTimeout(this.#ie),this.#ie=void 0)}#pe(){this.#ae&&(pr.clearInterval(this.#ae),this.#ae=void 0)}createResult(e,t){const r=this.#Q,n=this.options,o=this.#Z,i=this.#ee,a=this.#te,s=e!==r?e.state:this.#X,{state:c}=e;let u,l={...c},d=!1;if(t._optimisticResults){const o=this.hasListeners(),i=!o&&of(e,t),a=o&&sf(e,r,t,n);(i||a)&&(l={...l,...qr(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(l.fetchStatus="idle")}let{error:p,errorUpdatedAt:f,status:h}=l;u=l.data;let m=!1;if(void 0!==t.placeholderData&&void 0===u&&"pending"===h){let e;o?.isPlaceholderData&&t.placeholderData===a?.placeholderData?(e=o.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#oe?.state.data,this.#oe):t.placeholderData,void 0!==e&&(h="success",u=kr(o?.data,e,t),d=!0)}if(t.select&&void 0!==u&&!m)if(o&&u===i?.data&&t.select===this.#re)u=this.#ne;else try{this.#re=t.select,u=t.select(u),u=kr(o?.data,u,t),this.#ne=u,this.#Y=null}catch(e){this.#Y=e}this.#Y&&(p=this.#Y,u=this.#ne,f=Date.now(),h="error");const g="fetching"===l.fetchStatus,y="pending"===h,v="error"===h,b=y&&g,E=void 0!==u,w={status:h,fetchStatus:l.fetchStatus,isPending:y,isSuccess:"success"===h,isError:v,isInitialLoading:b,isLoading:b,data:u,dataUpdatedAt:l.dataUpdatedAt,error:p,errorUpdatedAt:f,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!E,isPaused:"paused"===l.fetchStatus,isPlaceholderData:d,isRefetchError:v&&E,isStale:cf(e,t),refetch:this.refetch,promise:this.#J,isEnabled:!1!==vr(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===w.status?e.reject(w.error):void 0!==w.data&&e.resolve(w.data)},n=()=>{const e=this.#J=w.promise=Vr();t(e)},o=this.#J;switch(o.status){case"pending":e.queryHash===r.queryHash&&t(o);break;case"fulfilled":"error"!==w.status&&w.data===o.value||n();break;case"rejected":"error"===w.status&&w.error===o.reason||n()}}return w}updateResult(){const e=this.#Z,t=this.createResult(this.#Q,this.options);this.#ee=this.#Q.state,this.#te=this.options,void 0!==this.#ee.data&&(this.#oe=this.#Q),Cr(t,e)||(this.#Z=t,this.#ye({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#ce.size)return!0;const n=new Set(r??this.#ce);return this.options.throwOnError&&n.add("error"),Object.keys(this.#Z).some(t=>{const r=t;return this.#Z[r]!==e[r]&&n.has(r)})})()}))}#fe(){const e=this.#F.getQueryCache().build(this.#F,this.options);if(e===this.#Q)return;const t=this.#Q;this.#Q=e,this.#X=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#le()}#ye(e){Ur.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#Z)}),this.#F.getQueryCache().notify({query:this.#Q,type:"observerResultsUpdated"})})}};function of(e,t){return function(e,t){return!1!==vr(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&af(e,t,t.refetchOnMount)}function af(e,t,r){if(!1!==vr(t.enabled,e)&&"static"!==yr(t.staleTime,e)){const n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&cf(e,t)}return!1}function sf(e,t,r,n){return(e!==t||!1===vr(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&cf(e,r)}function cf(e,t){return!1!==vr(t.enabled,e)&&e.isStaleByTime(yr(t.staleTime,e))}var uf=e.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),lf=e.createContext(!1),df=(lf.Provider,(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()}));function pf(t,r){return function(t,r,n){const o=e.useContext(lf),i=e.useContext(uf),a=(t=>{const r=e.useContext(on);if(t)return t;if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r})(n),s=a.defaultQueryOptions(t);a.getDefaultOptions().queries?._experimental_beforeQuery?.(s);const c=a.getQueryCache().get(s.queryHash);s._optimisticResults=o?"isRestoring":"optimistic",(e=>{if(e.suspense){const t=1e3,r=e=>"static"===e?e:Math.max(e??t,t),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>r(n(...e)):r(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,t))}})(s),((e,t,r)=>{const n=r?.state.error&&"function"==typeof e.throwOnError?Mr(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||n)&&(t.isReset()||(e.retryOnMount=!1))})(s,i,c),(t=>{e.useEffect(()=>{t.clearReset()},[t])})(i);const u=!a.getQueryCache().get(s.queryHash),[l]=e.useState(()=>new r(a,s)),d=l.getOptimisticResult(s),p=!o&&!1!==t.subscribed;if(e.useSyncExternalStore(e.useCallback(e=>{const t=p?l.subscribe(Ur.batchCalls(e)):hr;return l.updateResult(),t},[l,p]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),e.useEffect(()=>{l.setOptions(s)},[s,l]),((e,t)=>e?.suspense&&t.isPending)(s,d))throw df(s,l,i);if((({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(o&&void 0===e.data||Mr(r,[e.error,n])))({result:d,errorResetBoundary:i,throwOnError:s.throwOnError,query:c,suspense:s.suspense}))throw d.error;if(a.getDefaultOptions().queries?._experimental_afterQuery?.(s,d),s.experimental_prefetchInRender&&!fr&&((e,t)=>e.isLoading&&e.isFetching&&!t)(d,o)){const e=u?df(s,l,i):c?.promise;e?.catch(hr).finally(()=>{l.updateResult()})}return s.notifyOnChangeProps?d:l.trackResult(d)}(t,nf,r)}const ff=window.wp.apiFetch;var hf=a.n(ff);function mf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var gf=function e(t,r){function n(e,n,o){if("undefined"!=typeof document){"number"==typeof(o=mf({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+i}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(n[s]=t.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){n(e,"",mf({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,mf({},this.attributes,t))},withConverter:function(t){return e(mf({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});class yf{constructor(e={}){const{path:t,domain:r,expires:n,sameSite:o,secure:i}=e;if(this.domain=r,this.path=t||"/",this.expires=Object.prototype.hasOwnProperty.call(e,"expires")?n:365,this.secure=!Object.prototype.hasOwnProperty.call(e,"secure")||i,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!o||!["strict","lax","none"].includes(o))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===o&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=o}}async setItem(e,t){gf.set(e,t,this.getData())}async getItem(e){return gf.get(e)??null}async removeItem(e){gf.remove(e,this.getData())}async clear(){const e=gf.get(),t=Object.keys(e).map(e=>this.removeItem(e));await Promise.all(t)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}var vf=a(87525),bf=a(16736);class Ef extends bf.x{constructor(){super({name:vf.m.PlatformNotSupported,message:"Function not supported on current platform"})}}class wf{constructor(e){this.storage=e}async setItem(e,t){if(!this.storage)throw new Ef;this.storage.setItem(e,t)}async getItem(e){if(!this.storage)throw new Ef;return this.storage.getItem(e)}async removeItem(e){if(!this.storage)throw new Ef;this.storage.removeItem(e)}async clear(){if(!this.storage)throw new Ef;this.storage.clear()}}var Sf=a(84210);class Af{constructor(){this.storage=new Map}get length(){return this.storage.size}key(e){return e>this.length-1?null:Array.from(this.storage.keys())[e]}setItem(e,t){this.storage.set(e,t)}getItem(e){return this.storage.get(e)??null}removeItem(e){this.storage.delete(e)}clear(){this.storage.clear()}}const _f=new Sf.C("CoreStorageUtils"),Pf=()=>{try{if("undefined"!=typeof window&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw new Error("sessionStorage is not defined")}catch(e){return _f.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new Af}};class Cf{constructor(e){this._storage=e}get storage(){if(!this._storage)throw new Ef;return this._storage}setItem(e,t){this.storage.setItem(e,t)}getItem(e){return this.storage.getItem(e)}removeItem(e){this.storage.removeItem(e)}clear(){this.storage.clear()}}const If=new class extends wf{constructor(){super((()=>{try{if("undefined"!=typeof window&&window.localStorage)return window.localStorage}catch(e){_f.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new Af})())}};new class extends wf{constructor(){super(Pf())}},new class extends Cf{constructor(){super(Pf())}},new wf(new Af);var xf,Of,kf,Tf,Nf,jf,Rf,Mf,Df,Uf,Ff,Lf,zf,Vf,Hf=a(63614);a(80056),function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"}(xf||(xf={})),function(e){e.AI="ai",e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"}(Of||(Of={})),function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnMessage="7",e.Generation="8",e.UpdateConversation="9"}(kf||(kf={})),function(e){e.Record="1",e.IdentifyUser="2"}(Tf||(Tf={})),function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"}(Nf||(Nf={})),function(e){e.SignUp="1",e.ConfirmSignUp="2",e.ResendSignUpCode="3",e.SignIn="4",e.FetchMFAPreference="6",e.UpdateMFAPreference="7",e.SetUpTOTP="10",e.VerifyTOTPSetup="11",e.ConfirmSignIn="12",e.DeleteUserAttributes="15",e.DeleteUser="16",e.UpdateUserAttributes="17",e.FetchUserAttributes="18",e.ConfirmUserAttribute="22",e.SignOut="26",e.UpdatePassword="27",e.ResetPassword="28",e.ConfirmResetPassword="29",e.FederatedSignIn="30",e.RememberDevice="32",e.ForgetDevice="33",e.FetchDevices="34",e.SendUserAttributeVerificationCode="35",e.SignInWithRedirect="36",e.StartWebAuthnRegistration="37",e.CompleteWebAuthnRegistration="38",e.ListWebAuthnCredentials="39",e.DeleteWebAuthnCredential="40"}(jf||(jf={})),function(e){e.Subscribe="1",e.GraphQl="2"}(Rf||(Rf={})),function(e){e.SearchByText="0",e.SearchByCoordinates="1",e.SearchForSuggestions="2",e.SearchByPlaceId="3",e.SaveGeofences="4",e.GetGeofence="5",e.ListGeofences="6",e.DeleteGeofences="7"}(Mf||(Mf={})),function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"}(Df||(Df={})),function(e){e.None="0"}(Uf||(Uf={})),function(e){e.Convert="1",e.Identify="2",e.Interpret="3"}(Ff||(Ff={})),function(e){e.Subscribe="1"}(Lf||(Lf={})),function(e){e.InitializePushNotifications="1",e.IdentifyUser="2"}(zf||(zf={})),function(e){e.UploadData="1",e.DownloadData="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6",e.GetUrl="7",e.GetDataAccess="8",e.ListCallerAccessGrants="9"}(Vf||(Vf={}));const $f="6.15.9",Wf=()=>"undefined"!=typeof globalThis,Bf=()=>"undefined"!=typeof window,Kf=()=>"undefined"!=typeof document,Gf=()=>"undefined"!=typeof process,qf=(e,t)=>!!Object.keys(e).find(e=>e.startsWith(t)),Yf=[{platform:xf.Expo,detectionMethod:function(){return Wf()&&void 0!==globalThis.expo}},{platform:xf.ReactNative,detectionMethod:function(){return"undefined"!=typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},{platform:xf.NextJs,detectionMethod:function(){return Bf()&&window.next&&"object"==typeof window.next}},{platform:xf.Nuxt,detectionMethod:function(){return Bf()&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)}},{platform:xf.Angular,detectionMethod:function(){const e=Boolean(Kf()&&document.querySelector("[ng-version]")),t=Boolean(Bf()&&void 0!==window.ng);return e||t}},{platform:xf.React,detectionMethod:function(){const e=e=>e.startsWith("_react")||e.startsWith("__react");return Kf()&&Array.from(document.querySelectorAll("[id]")).some(t=>Object.keys(t).find(e))}},{platform:xf.VueJs,detectionMethod:function(){return Bf()&&qf(window,"__VUE")}},{platform:xf.Svelte,detectionMethod:function(){return Bf()&&qf(window,"__SVELTE")}},{platform:xf.WebUnknown,detectionMethod:function(){return Bf()}},{platform:xf.NextJsSSR,detectionMethod:function(){return Wf()&&(qf(globalThis,"__next")||qf(globalThis,"__NEXT"))}},{platform:xf.NuxtSSR,detectionMethod:function(){return Wf()&&void 0!==globalThis.__NUXT_PATHS__}},{platform:xf.ReactSSR,detectionMethod:function(){return Gf()&&void 0!==process.env&&!!Object.keys(process.env).find(e=>e.includes("react"))}},{platform:xf.VueJsSSR,detectionMethod:function(){return Wf()&&qf(globalThis,"__VUE")}},{platform:xf.AngularSSR,detectionMethod:function(){return Gf()&&"object"==typeof process.env&&process.env.npm_lifecycle_script?.startsWith("ng ")||!1}},{platform:xf.SvelteSSR,detectionMethod:function(){return Gf()&&void 0!==process.env&&!!Object.keys(process.env).find(e=>e.includes("svelte"))}}];let Jf;const Qf=[];let Xf=!1;const Zf=()=>{if(!Jf){if(Jf=Yf.find(e=>e.detectionMethod())?.platform||xf.ServerSideUnknown,Xf)for(;Qf.length;)Qf.pop()?.();else Qf.forEach(e=>{e()});eh(xf.ServerSideUnknown,10),eh(xf.WebUnknown,10)}return Jf};function eh(e,t){Jf!==e||Xf||setTimeout(()=>{Jf=void 0,Xf=!0,setTimeout(Zf,1e3)},t)}const th={},rh="aws-amplify",nh=e=>e.replace(/\+.*/,"");new class{constructor(){this.userAgent=`${rh}/${nh($f)}`}get framework(){return Zf()}get isReactNative(){return this.framework===xf.ReactNative||this.framework===xf.Expo}observeFrameworkChanges(e){(e=>{Xf||Qf.push(e)})(e)}};const oh=e=>(({category:e,action:t}={})=>{const r=[[rh,nh($f)]];if(e&&r.push([e,t]),r.push(["framework",Zf()]),e&&t){const n=((e,t)=>th[e]?.[t]?.additionalDetails)(e,t);n&&n.forEach(e=>{r.push(e)})}return r})(e).map(([e,t])=>e&&t?`${e}/${t}`:e).join(" ");var ih=a(65430),ah=a(53553);const sh=(e,t,r,n)=>async(o,i)=>{const a={...n,...o},s=await a.endpointResolver(a,i),c=await t(i,s),u=await e(c,{...a});return r(u)};var ch=a(54359),uh=a(68463);const lh="cognito-identity",dh={service:lh,retryDecider:(0,uh.D)(ah.F),computeDelay:ch.y,cache:"no-store"};var ph=a(82313);const fh={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let hh;const mh=new Uint8Array(16),gh=[];for(let e=0;e<256;++e)gh.push((e+256).toString(16).slice(1));const yh=function(e,t,r){if(fh.randomUUID&&!t&&!e)return fh.randomUUID();const n=(e=e||{}).random??e.rng?.()??function(){if(!hh){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");hh=crypto.getRandomValues.bind(crypto)}return hh(mh)}();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=n[e];return t}return function(e,t=0){return(gh[e[t+0]]+gh[e[t+1]]+gh[e[t+2]]+gh[e[t+3]]+"-"+gh[e[t+4]]+gh[e[t+5]]+"-"+gh[e[t+6]]+gh[e[t+7]]+"-"+gh[e[t+8]]+gh[e[t+9]]+"-"+gh[e[t+10]]+gh[e[t+11]]+gh[e[t+12]]+gh[e[t+13]]+gh[e[t+14]]+gh[e[t+15]]).toLowerCase()}(n)};var vh=a(8404),bh=a(70547),Eh=a(98306),wh=a(89555);const Sh=(0,Eh.q)(wh.Q,[bh.L,()=>e=>async function(t){return t.headers[vh.jy]||(t.headers[vh.jy]=yh()),e(t)},ph.b,({maxAttempts:e=vh.K7})=>(t,r)=>async function(n){const o=r.attemptsCount??0;return n.headers[vh.Q8]=`attempt=${o+1}; max=${e}`,t(n)}]),Ah=(0,Eh.q)(Sh,[()=>e=>async function(t){return t.headers["cache-control"]="no-store",e(t)}]),_h=e=>(t,r)=>{const n=Ph(e),o=JSON.stringify(t);return Ch(r,n,o)},Ph=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),Ch=({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"}),Ih=e=>sh(Ah,_h("GetCredentialsForIdentity"),xh,{...dh,...e,userAgentValue:oh()}),xh=async e=>{if(e.statusCode>=300)throw await(0,ah.F)(e);const t=await(0,ah.Y)(e);return{IdentityId:t.IdentityId,Credentials:Oh(t.Credentials),$metadata:(0,ih.j)(e)}},Oh=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(1e3*e)}),kh={convert(e,t){let r=e;return t?.urlSafe&&(r=r.replace(/-/g,"+").replace(/_/g,"/")),(()=>{if("undefined"!=typeof window&&"function"==typeof window.atob)return window.atob;if("function"==typeof atob)return atob;throw new bf.x({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})})()(r)}},Th=(e,t=bf.x)=>(r,n,o)=>{const{message:i,recoverySuggestion:a}=e[n];if(!r)throw new t({name:n,message:o?`${i} ${o}`:i,recoverySuggestion:a})};var Nh,jh;(jh=Nh||(Nh={})).AuthTokenConfigException="AuthTokenConfigException",jh.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",jh.AuthUserPoolException="AuthUserPoolException",jh.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",jh.OAuthNotConfigureException="OAuthNotConfigureException";const Rh=Th({[Nh.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[Nh.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[Nh.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[Nh.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[Nh.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}});function Mh(e){let t=!0;t=!!e&&!!e.userPoolId&&!!e.userPoolClientId,Rh(t,Nh.AuthUserPoolException)}function Dh(e){Rh(!!e?.identityPoolId,Nh.InvalidIdentityPoolIdException)}function Uh(e){const t=e.split(".");if(3!==t.length)throw new Error("Invalid token");try{const r=t[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(kh.convert(r).split("").map(e=>`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`).join(""));return{toString:()=>e,payload:JSON.parse(n)}}catch(e){throw new Error("Invalid token payload")}}class Fh extends bf.x{constructor(e){super(e),this.constructor=Fh,Object.setPrototypeOf(this,Fh.prototype)}}function Lh(e){if(!e||"Error"===e.name||e instanceof TypeError)throw new Fh({name:vf.m.Unknown,message:"An unknown error has occurred.",underlyingError:e})}function zh(e){if(!e||!e.includes(":"))throw new Fh({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]}const Vh="UserUnAuthenticatedException";new Fh({name:"InvalidRedirectException",message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."}),new Fh({name:"InvalidAppSchemeException",message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."}),new Fh({name:"InvalidPreferredRedirectUrlException",message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."}),new Fh({name:"InvalidOriginException",message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."});const Hh=new Fh({name:"TokenRefreshException",message:"Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow. \n\tPlease change your oauth configuration to use 'code grant' flow.",recoverySuggestion:"Please logout and change your Amplify configuration to use \"code grant\" flow. \n\tE.g { responseType: 'code' }"}),$h=new Fh({name:Vh,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});const Wh={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"};function Bh(e){return e?.accessToken||e?.idToken}const Kh={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},Gh={partitions:[Kh,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},qh=e=>{const{partitions:t}=Gh;for(const{regions:r,outputs:n,regionRegex:o}of t){const t=new RegExp(o);if(r.includes(e)||t.test(e))return n.dnsSuffix}return Kh.outputs.dnsSuffix};var Yh=a(79097);const Jh=({endpointOverride:e})=>t=>e?{url:new Yh.o(e)}:(({region:e})=>({url:new Yh.o(`https://${lh}.${e}.${qh(e)}`)}))(t),Qh=async e=>{if(e.statusCode>=300)throw await(0,ah.F)(e);return{IdentityId:(await(0,ah.Y)(e)).IdentityId,$metadata:(0,ih.j)(e)}};function Xh(e){const t=Uh(e).payload.iss,r={};if(!t)throw new Fh({name:"InvalidIdTokenException",message:"Invalid Idtoken."});return r[t.replace(/(^\w+:|^)\/\//,"")]=e,r}const Zh=new Sf.C("CognitoCredentialsProvider"),em=3e6;class tm{constructor(e){this._nextCredentialsRefresh=0,this._identityIdStore=e}async clearCredentialsAndIdentityId(){Zh.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){Zh.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(e){const t=e.authenticated,{tokens:r}=e,{authConfig:n}=e;try{Dh(n?.Cognito)}catch{return}if(!t&&!n.Cognito.allowGuestAccess)return;const{forceRefresh:o}=e,i=this.hasTokenChanged(r),a=await async function({tokens:e,authConfig:t,identityIdStore:r}){r.setAuthConfig({Cognito:t});const n=await r.loadIdentityId();if(n)return n.id;const o=e?.idToken?Xh(e.idToken.toString()):{},i=await async function(e,t){const r=t?.identityPoolId,n=zh(r),o=(i={endpointResolver:Jh({endpointOverride:t.identityPoolEndpoint})},sh(Ah,_h("GetId"),Qh,{...dh,...i,userAgentValue:oh()}));var i;let a;try{a=(await o({region:n},{IdentityPoolId:r,Logins:e})).IdentityId}catch(e){throw Lh(e),new Fh(e)}if(!a)throw new Fh({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return a}(o,t);return r.storeIdentityId({id:i,type:e?"primary":"guest"}),i}({tokens:r,authConfig:n.Cognito,identityIdStore:this._identityIdStore});return(o||i)&&this.clearCredentials(),t?(function(e){if(!e||!e.idToken)throw new Fh({name:Vh,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}(r),this.credsForOIDCTokens(n.Cognito,r,a)):this.getGuestCredentials(a,n.Cognito)}async getGuestCredentials(e,t){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!1===this._credentialsAndIdentityId.isAuthenticatedCreds)return Zh.info("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const r=zh(t.identityPoolId),n=Ih({endpointResolver:Jh({endpointOverride:t.identityPoolEndpoint})});let o;try{o=await n({region:r},{IdentityId:e})}catch(e){throw Lh(e),new Fh(e)}if(o?.Credentials?.AccessKeyId&&o?.Credentials?.SecretKey){this._nextCredentialsRefresh=(new Date).getTime()+em;const t={credentials:{accessKeyId:o.Credentials.AccessKeyId,secretAccessKey:o.Credentials.SecretKey,sessionToken:o.Credentials.SessionToken,expiration:o.Credentials.Expiration},identityId:e};return o.IdentityId&&(t.identityId=o.IdentityId,this._identityIdStore.storeIdentityId({id:o.IdentityId,type:"guest"})),this._credentialsAndIdentityId={...t,isAuthenticatedCreds:!1},t}throw new Fh({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(e,t,r){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!0===this._credentialsAndIdentityId.isAuthenticatedCreds)return Zh.debug("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const n=t.idToken?Xh(t.idToken.toString()):{},o=zh(e.identityPoolId),i=Ih({endpointResolver:Jh({endpointOverride:e.identityPoolEndpoint})});let a;try{a=await i({region:o},{IdentityId:r,Logins:n})}catch(e){throw Lh(e),new Fh(e)}if(a?.Credentials?.AccessKeyId&&a?.Credentials?.SecretKey){this._nextCredentialsRefresh=(new Date).getTime()+em;const e={credentials:{accessKeyId:a.Credentials.AccessKeyId,secretAccessKey:a.Credentials.SecretKey,sessionToken:a.Credentials.SessionToken,expiration:a.Credentials.Expiration},identityId:r};return a.IdentityId&&(e.identityId=a.IdentityId,this._identityIdStore.storeIdentityId({id:a.IdentityId,type:"primary"})),this._credentialsAndIdentityId={...e,isAuthenticatedCreds:!0,associatedIdToken:t.idToken?.toString()},e}throw new Fh({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return void 0===this._nextCredentialsRefresh||this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(e){return!!e&&!!this._credentialsAndIdentityId?.associatedIdToken&&e.idToken?.toString()!==this._credentialsAndIdentityId.associatedIdToken}}const rm={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"};var nm;!function(e){e.InvalidAuthTokens="InvalidAuthTokens"}(nm||(nm={}));const om=Th({[nm.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}}),im="CognitoIdentityServiceProvider";class am{getKeyValueStorage(){if(!this.keyValueStorage)throw new Fh({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(e){this.keyValueStorage=e}setAuthConfig(e){this.authConfig=e}async loadTokens(){try{const e=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e.accessToken);if(!t)throw new Fh({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});const r=Uh(t),n=await this.getKeyValueStorage().getItem(e.idToken),o=n?Uh(n):void 0,i=await this.getKeyValueStorage().getItem(e.refreshToken)??void 0,a=await this.getKeyValueStorage().getItem(e.clockDrift)??"0",s=Number.parseInt(a),c=await this.getKeyValueStorage().getItem(e.signInDetails),u={accessToken:r,idToken:o,refreshToken:i,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:s,username:await this.getLastAuthUser()};return c&&(u.signInDetails=JSON.parse(c)),u}catch(e){return null}}async storeTokens(e){om(void 0!==e,nm.InvalidAuthTokens);const t=e.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),t);const r=await this.getAuthKeys();await this.getKeyValueStorage().setItem(r.accessToken,e.accessToken.toString()),e.idToken?await this.getKeyValueStorage().setItem(r.idToken,e.idToken.toString()):await this.getKeyValueStorage().removeItem(r.idToken),e.refreshToken?await this.getKeyValueStorage().setItem(r.refreshToken,e.refreshToken):await this.getKeyValueStorage().removeItem(r.refreshToken),e.deviceMetadata&&(e.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(r.deviceKey,e.deviceMetadata.deviceKey),e.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(r.deviceGroupKey,e.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(r.randomPasswordKey,e.deviceMetadata.randomPassword)),e.signInDetails?await this.getKeyValueStorage().setItem(r.signInDetails,JSON.stringify(e.signInDetails)):await this.getKeyValueStorage().removeItem(r.signInDetails),await this.getKeyValueStorage().setItem(r.clockDrift,`${e.clockDrift}`)}async clearTokens(){const e=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(e.accessToken),this.getKeyValueStorage().removeItem(e.idToken),this.getKeyValueStorage().removeItem(e.clockDrift),this.getKeyValueStorage().removeItem(e.refreshToken),this.getKeyValueStorage().removeItem(e.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(e.oauthMetadata)])}async getDeviceMetadata(e){const t=await this.getAuthKeys(e),r=await this.getKeyValueStorage().getItem(t.deviceKey),n=await this.getKeyValueStorage().getItem(t.deviceGroupKey),o=await this.getKeyValueStorage().getItem(t.randomPasswordKey);return o&&n&&r?{deviceKey:r,deviceGroupKey:n,randomPassword:o}:null}async clearDeviceMetadata(e){const t=await this.getAuthKeys(e);await Promise.all([this.getKeyValueStorage().removeItem(t.deviceKey),this.getKeyValueStorage().removeItem(t.deviceGroupKey),this.getKeyValueStorage().removeItem(t.randomPasswordKey)])}async getAuthKeys(e){Mh(this.authConfig?.Cognito);const t=e??await this.getLastAuthUser();return sm(im,`${this.authConfig.Cognito.userPoolClientId}.${t}`)}getLastAuthUserKey(){Mh(this.authConfig?.Cognito);const e=this.authConfig.Cognito.userPoolClientId;return`${im}.${e}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(e){const{oauthMetadata:t}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(t,JSON.stringify(e))}async getOAuthMetadata(){const{oauthMetadata:e}=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e);return t&&JSON.parse(t)}}const sm=(e,t)=>cm(rm)(`${e}`,t);function cm(e){const t=Object.values({...e});return(e,r)=>t.reduce((t,n)=>({...t,[n]:`${e}.${r}.${n}`}),{})}const um={identityId:"identityId"},lm=new Sf.C("DefaultIdentityIdStore");class dm{setAuthConfig(e){Dh(e.Cognito),this.authConfig=e,this._authKeys=pm("Cognito",e.Cognito.identityPoolId)}constructor(e){this._authKeys={},this._hasGuestIdentityId=!1,this.keyValueStorage=e}async loadIdentityId(){Dh(this.authConfig?.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{const e=await this.keyValueStorage.getItem(this._authKeys.identityId);return e?(this._hasGuestIdentityId=!0,{id:e,type:"guest"}):null}}catch(e){return lm.log("Error getting stored IdentityId.",e),null}}async storeIdentityId(e){Dh(this.authConfig?.Cognito),"guest"===e.type?(this.keyValueStorage.setItem(this._authKeys.identityId,e.id),this._primaryIdentityId=void 0,this._hasGuestIdentityId=!0):(this._primaryIdentityId=e.id,this._hasGuestIdentityId&&(this.keyValueStorage.removeItem(this._authKeys.identityId),this._hasGuestIdentityId=!1))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}}const pm=(e,t)=>cm(um)(`com.amplify.${e}`,t),fm=new tm(new dm(If)),hm="cognito-idp",mm=({endpointOverride:e})=>t=>e?{url:new Yh.o(e)}:(({region:e})=>({url:new Yh.o(`https://${hm}.${e}.${qh(e)}`)}))(t),gm=(0,Eh.q)(Sh,[()=>(e,t)=>async function(t){return t.headers["cache-control"]="no-store",e(t)}]),ym={service:hm,retryDecider:(0,uh.D)(ah.F),computeDelay:ch.y,get userAgentValue(){return oh()},cache:"no-store"},vm=(e=>{let t;return async(...r)=>t||(t=new Promise((n,o)=>{e(...r).then(e=>{n(e)}).catch(e=>{o(e)}).finally(()=>{t=void 0})}),t)})(async({tokens:e,authConfig:t,username:r,clientMetadata:n})=>{Mh(t?.Cognito);const{userPoolId:o,userPoolClientId:i,userPoolEndpoint:a}=t.Cognito,s=function(e){const t=e?.split("_")[0];if(!e||e.indexOf("_")<0||!t||"string"!=typeof t)throw new Fh({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t}(o);!function(e){if(function(e){return Bh(e)&&!e?.refreshToken}(e))throw Hh;if(!function(e){return Bh(e)&&e?.refreshToken}(e))throw $h}(e);const c=(f={endpointResolver:mm({endpointOverride:a})},sh(gm,(e,t)=>(({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"}))(t,{"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityProviderService.GetTokensFromRefreshToken"},JSON.stringify(e)),async e=>{if(e.statusCode>=300){const t=await(0,ah.F)(e);throw Lh(t),new Fh({name:t.name,message:t.message,metadata:t.$metadata})}return(0,ah.Y)(e)},{...ym,...f})),{AuthenticationResult:u}=await c({region:s},{ClientId:i,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:n}),l=Uh(u?.AccessToken??""),d=u?.IdToken?Uh(u.IdToken):void 0,{iat:p}=l.payload;var f;if(!p)throw new Fh({name:"iatNotFoundException",message:"iat not found in access token"});return{accessToken:l,idToken:d,clockDrift:1e3*p-(new Date).getTime(),refreshToken:u?.RefreshToken??e.refreshToken,username:r}});var bm=a(26886);function Em({expiresAt:e,clockDrift:t,tolerance:r=5e3}){return Date.now()+t+r>e}const wm="amplify-signin-with-hostedUI",Sm="CognitoIdentityServiceProvider",Am=(e,t)=>cm(Wh)(e,t),_m=new class{constructor(e){this.keyValueStorage=e}async clearOAuthInflightData(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(e.inflightOAuth),this.keyValueStorage.removeItem(e.oauthPKCE),this.keyValueStorage.removeItem(e.oauthState)])}async clearOAuthData(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(wm),this.keyValueStorage.removeItem(e.oauthSignIn)}loadOAuthState(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthState)}storeOAuthState(e){Mh(this.cognitoConfig);const t=Am(Sm,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthState,e)}loadPKCE(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthPKCE)}storePKCE(e){Mh(this.cognitoConfig);const t=Am(Sm,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthPKCE,e)}setAuthConfig(e){this.cognitoConfig=e}async loadOAuthInFlight(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);return"true"===await this.keyValueStorage.getItem(e.inflightOAuth)}async storeOAuthInFlight(e){Mh(this.cognitoConfig);const t=Am(Sm,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(t.inflightOAuth,`${e}`)}async loadOAuthSignIn(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId),t=await this.keyValueStorage.getItem(wm),[r,n]=(await this.keyValueStorage.getItem(e.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:"true"===r||"true"===t,preferPrivateSession:"true"===n}}async storeOAuthSignIn(e,t=!1){Mh(this.cognitoConfig);const r=Am(Sm,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(r.oauthSignIn,`${e},${t}`)}}(If),Pm=[];class Cm{constructor(){this.waitForInflightOAuth="undefined"!=typeof window&&void 0!==window.document?async()=>{if(await _m.loadOAuthInFlight())return this.inflightPromise||(this.inflightPromise=new Promise((e,t)=>{var r;r=e,Pm.push(r)})),this.inflightPromise}:async()=>{}}setAuthConfig(e){_m.setAuthConfig(e.Cognito),this.authConfig=e}setTokenRefresher(e){this.tokenRefresher=e}setAuthTokenStore(e){this.tokenStore=e}getTokenStore(){if(!this.tokenStore)throw new Fh({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new Fh({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(e){this.clientMetadataProvider=e}async getTokens(e){let t;try{Mh(this.authConfig?.Cognito)}catch(e){return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,t=await this.getTokenStore().loadTokens();const r=await this.getTokenStore().getLastAuthUser();if(null===t)return null;const n=!!t?.idToken&&Em({expiresAt:1e3*(t.idToken?.payload?.exp??0),clockDrift:t.clockDrift??0}),o=Em({expiresAt:1e3*(t.accessToken?.payload?.exp??0),clockDrift:t.clockDrift??0});return(e?.forceRefresh||n||o)&&(t=await this.refreshTokens({tokens:t,username:r,clientMetadata:e?.clientMetadata??await(this.clientMetadataProvider?.())}),null===t)?null:{accessToken:t?.accessToken,idToken:t?.idToken,signInDetails:t?.signInDetails}}async refreshTokens({tokens:e,username:t,clientMetadata:r}){try{const{signInDetails:n}=e,o=await this.getTokenRefresher()({tokens:e,authConfig:this.authConfig,username:t,clientMetadata:r});return o.signInDetails=n,await this.setTokens({tokens:o}),bm.YZ.dispatch("auth",{event:"tokenRefresh"},"Auth",bm.U9),o}catch(e){return this.handleErrors(e)}}handleErrors(e){if(Lh(e),this.isAuthenticationError(e)&&this.clearTokens(),bm.YZ.dispatch("auth",{event:"tokenRefresh_failure",data:{error:e}},"Auth",bm.U9),e.name.startsWith("NotAuthorizedException"))return null;throw e}isAuthenticationError(e){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(t=>e?.name?.startsWith?.(t))}async setTokens({tokens:e}){return this.getTokenStore().storeTokens(e)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(e){return this.getTokenStore().getDeviceMetadata(e)}clearDeviceMetadata(e){return this.getTokenStore().clearDeviceMetadata(e)}setOAuthMetadata(e){return this.getTokenStore().setOAuthMetadata(e)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}const Im=new class{constructor(){this.authTokenStore=new am,this.authTokenStore.setKeyValueStorage(If),this.tokenOrchestrator=new Cm,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(vm)}getTokens(e={}){return this.tokenOrchestrator.getTokens(e)}setKeyValueStorage(e){this.authTokenStore.setKeyValueStorage(e)}setClientMetadataProvider(e){this.tokenOrchestrator.setClientMetadataProvider(e)}setAuthConfig(e){this.authTokenStore.setAuthConfig(e),this.tokenOrchestrator.setAuthConfig(e)}},{tokenOrchestrator:xm}=Im,Om={configure(e,t){const r=(0,Hf.M)(e),n=new yf({sameSite:"lax"}),o=t?.ssr?n:If,i=t?.ssr?new tm(new dm(n)):fm;if(r.Auth)if(t?.Auth)cn.H.configure(r,t);else{if(!cn.H.libraryOptions.Auth)return Im.setAuthConfig(r.Auth),Im.setKeyValueStorage(o),void cn.H.configure(r,{...t,Auth:{tokenProvider:Im,credentialsProvider:i}});if(t){const e=cn.H.libraryOptions.Auth;return void 0!==t.ssr&&(Im.setKeyValueStorage(o),e.credentialsProvider=i),void cn.H.configure(r,{Auth:e,...t})}cn.H.configure(r)}else cn.H.configure(r,t)},getConfig:()=>cn.H.getConfig()};var km=Symbol.for("immer-nothing"),Tm=Symbol.for("immer-draftable"),Nm=Symbol.for("immer-state");function jm(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Rm=Object,Mm=Rm.getPrototypeOf,Dm="constructor",Um="prototype",Fm="configurable",Lm="enumerable",zm="writable",Vm="value",Hm=e=>!!e&&!!e[Nm];function $m(e){return!!e&&(Km(e)||Xm(e)||!!e[Tm]||!!e[Dm]?.[Tm]||Zm(e)||eg(e))}var Wm=Rm[Um][Dm].toString(),Bm=new WeakMap;function Km(e){if(!e||!tg(e))return!1;const t=Mm(e);if(null===t||t===Rm[Um])return!0;const r=Rm.hasOwnProperty.call(t,Dm)&&t[Dm];if(r===Object)return!0;if(!rg(r))return!1;let n=Bm.get(r);return void 0===n&&(n=Function.toString.call(r),Bm.set(r,n)),n===Wm}function Gm(e,t,r=!0){0===qm(e)?(r?Reflect.ownKeys(e):Rm.keys(e)).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function qm(e){const t=e[Nm];return t?t.type_:Xm(e)?1:Zm(e)?2:eg(e)?3:0}var Ym=(e,t,r=qm(e))=>2===r?e.has(t):Rm[Um].hasOwnProperty.call(e,t),Jm=(e,t,r=qm(e))=>2===r?e.get(t):e[t],Qm=(e,t,r,n=qm(e))=>{2===n?e.set(t,r):3===n?e.add(r):e[t]=r},Xm=Array.isArray,Zm=e=>e instanceof Map,eg=e=>e instanceof Set,tg=e=>"object"==typeof e,rg=e=>"function"==typeof e,ng=e=>"boolean"==typeof e,og=e=>e.copy_||e.base_,ig=e=>e.modified_?e.copy_:e.base_;function ag(e,t){if(Zm(e))return new Map(e);if(eg(e))return new Set(e);if(Xm(e))return Array[Um].slice.call(e);const r=Km(e);if(!0===t||"class_only"===t&&!r){const t=Rm.getOwnPropertyDescriptors(e);delete t[Nm];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){const o=r[n],i=t[o];!1===i[zm]&&(i[zm]=!0,i[Fm]=!0),(i.get||i.set)&&(t[o]={[Fm]:!0,[zm]:!0,[Lm]:i[Lm],[Vm]:e[o]})}return Rm.create(Mm(e),t)}{const t=Mm(e);if(null!==t&&r)return{...e};const n=Rm.create(t);return Rm.assign(n,e)}}function sg(e,t=!1){return ug(e)||Hm(e)||!$m(e)||(qm(e)>1&&Rm.defineProperties(e,{set:cg,add:cg,clear:cg,delete:cg}),Rm.freeze(e),t&&Gm(e,(e,t)=>{sg(t,!0)},!1)),e}var cg={[Vm]:function(){jm(2)}};function ug(e){return null===e||!tg(e)||Rm.isFrozen(e)}var lg="MapSet",dg="Patches",pg="ArrayMethods",fg={};function hg(e){const t=fg[e];return t||jm(0),t}var mg,gg=e=>!!fg[e],yg=()=>mg;function vg(e,t){t&&(e.patchPlugin_=hg(dg),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function bg(e){Eg(e),e.drafts_.forEach(Sg),e.drafts_=null}function Eg(e){e===mg&&(mg=e.parent_)}var wg=e=>mg={drafts_:[],parent_:mg,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:gg(lg)?hg(lg):void 0,arrayMethodsPlugin_:gg(pg)?hg(pg):void 0};function Sg(e){const t=e[Nm];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Ag(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];if(void 0!==e&&e!==r){r[Nm].modified_&&(bg(t),jm(4)),$m(e)&&(e=_g(t,e));const{patchPlugin_:n}=t;n&&n.generateReplacementPatches_(r[Nm].base_,e,t)}else e=_g(t,r);return function(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&sg(t,r)}(t,e,!0),bg(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==km?e:void 0}function _g(e,t){if(ug(t))return t;const r=t[Nm];if(!r)return kg(t,e.handledSet_,e);if(!Cg(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){const{callbacks_:t}=r;if(t)for(;t.length>0;)t.pop()(e);Og(r,e)}return r.copy_}function Pg(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Cg=(e,t)=>e.scope_===t,Ig=[];function xg(e,t,r,n){const o=og(e),i=e.type_;if(void 0!==n&&Jm(o,n,i)===t)return void Qm(o,n,r,i);if(!e.draftLocations_){const t=e.draftLocations_=new Map;Gm(o,(e,r)=>{if(Hm(r)){const n=t.get(r)||[];n.push(e),t.set(r,n)}})}const a=e.draftLocations_.get(t)??Ig;for(const e of a)Qm(o,e,r,i)}function Og(e,t){if(e.modified_&&!e.finalized_&&(3===e.type_||1===e.type_&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){const{patchPlugin_:r}=t;if(r){const n=r.getPath(e);n&&r.generatePatches_(e,n,t)}Pg(e)}}function kg(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Hm(e)||t.has(e)||!$m(e)||ug(e)||(t.add(e),Gm(e,(n,o)=>{if(Hm(o)){const t=o[Nm];if(Cg(t,r)){const r=ig(t);Qm(e,n,r,e.type_),Pg(t)}}else $m(o)&&kg(o,t,r)})),e}var Tg={get(e,t){if(t===Nm)return e;let r=e.scope_.arrayMethodsPlugin_;const n=1===e.type_&&"string"==typeof t;if(n&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);const o=og(e);if(!Ym(o,t,e.type_))return function(e,t,r){const n=Rg(t,r);return n?Vm in n?n[Vm]:n.get?.call(e.draft_):void 0}(e,o,t);const i=o[t];if(e.finalized_||!$m(i))return i;if(n&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&function(e){const t=+e;return Number.isInteger(t)&&String(t)===e}(t))return i;if(i===jg(e.base_,t)){Dg(e);const r=1===e.type_?+t:t,n=Ug(e.scope_,i,e,r);return e.copy_[r]=n}return i},has:(e,t)=>t in og(e),ownKeys:e=>Reflect.ownKeys(og(e)),set(e,t,r){const n=Rg(og(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const n=jg(og(e),t),o=n?.[Nm];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(r,n)&&(void 0!==r||Ym(e.base_,t,e.type_)))return!0;Dg(e),Mg(e)}return e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_.set(t,!0),function(e,t,r){const{scope_:n}=e;if(Hm(r)){const o=r[Nm];Cg(o,n)&&o.callbacks_.push(function(){Dg(e);const n=ig(o);xg(e,r,n,t)})}else $m(r)&&e.callbacks_.push(function(){const o=og(e);3===e.type_?o.has(r)&&kg(r,n.handledSet_,n):Jm(o,t,e.type_)===r&&n.drafts_.length>1&&!0===(e.assigned_.get(t)??!1)&&e.copy_&&kg(Jm(e.copy_,t,e.type_),n.handledSet_,n)})}(e,t,r)),!0},deleteProperty:(e,t)=>(Dg(e),void 0!==jg(e.base_,t)||t in e.base_?(e.assigned_.set(t,!1),Mg(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const r=og(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{[zm]:!0,[Fm]:1!==e.type_||"length"!==t,[Lm]:n[Lm],[Vm]:r[t]}:n},defineProperty(){jm(11)},getPrototypeOf:e=>Mm(e.base_),setPrototypeOf(){jm(12)}},Ng={};for(let e in Tg){let t=Tg[e];Ng[e]=function(){const e=arguments;return e[0]=e[0][0],t.apply(this,e)}}function jg(e,t){const r=e[Nm];return(r?og(r):e)[t]}function Rg(e,t){if(!(t in e))return;let r=Mm(e);for(;r;){const e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=Mm(r)}}function Mg(e){e.modified_||(e.modified_=!0,e.parent_&&Mg(e.parent_))}function Dg(e){e.copy_||(e.assigned_=new Map,e.copy_=ag(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function Ug(e,t,r,n){const[o,i]=Zm(t)?hg(lg).proxyMap_(t,r):eg(t)?hg(lg).proxySet_(t,r):function(e,t){const r=Xm(e),n={type_:r?1:0,scope_:t?t.scope_:yg(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=n,i=Tg;r&&(o=[n],i=Ng);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=a,[s,n]}(t,r);return(r?.scope_??yg()).drafts_.push(o),i.callbacks_=r?.callbacks_??[],i.key_=n,r&&void 0!==n?function(e,t,r){e.callbacks_.push(function(n){const o=t;if(!o||!Cg(o,n))return;n.mapSetPlugin_?.fixSetContents(o);const i=ig(o);xg(e,o.draft_??o,i,r),Og(o,n)})}(r,i,n):i.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(i);const{patchPlugin_:t}=e;i.modified_&&t&&t.generatePatches_(i,[],e)}),o}function Fg(e){if(!$m(e)||ug(e))return e;const t=e[Nm];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=ag(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=ag(e,!0);return Gm(r,(e,t)=>{Qm(r,e,Fg(t))},n),t&&(t.finalized_=!1),r}Ng.deleteProperty=function(e,t){return Ng.set.call(this,e,t,void 0)},Ng.set=function(e,t,r){return Tg.set.call(this,e[0],t,r,e[0])};var Lg=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,r)=>{if(rg(e)&&!rg(t)){const r=t;t=e;const n=this;return function(e=r,...o){return n.produce(e,e=>t.call(this,e,...o))}}let n;if(rg(t)||jm(6),void 0===r||rg(r)||jm(7),$m(e)){const o=wg(this),i=Ug(0,e,void 0);let a=!0;try{n=t(i),a=!1}finally{a?bg(o):Eg(o)}return vg(o,r),Ag(n,o)}if(!e||!tg(e)){if(n=t(e),void 0===n&&(n=e),n===km&&(n=void 0),this.autoFreeze_&&sg(n,!0),r){const t=[],o=[];hg(dg).generateReplacementPatches_(e,n,{patches_:t,inversePatches_:o}),r(t,o)}return n}jm(1)},this.produceWithPatches=(e,t)=>{if(rg(e))return(t,...r)=>this.produceWithPatches(t,t=>e(t,...r));let r,n;const o=this.produce(e,t,(e,t)=>{r=e,n=t});return[o,r,n]},ng(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),ng(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),ng(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){var t;$m(e)||jm(8),Hm(e)&&(Hm(t=e)||jm(10),e=Fg(t));const r=wg(this),n=Ug(0,e,void 0);return n[Nm].isManual_=!0,Eg(r),n}finishDraft(e,t){const r=e&&e[Nm];r&&r.isManual_||jm(9);const{scope_:n}=r;return vg(n,t),Ag(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));const n=hg(dg).applyPatches_;return Hm(e)?n(e,t):this.produce(e,e=>n(e,t))}},zg=Lg.produce;const Vg=window.wp.components;var Hg=a(47143),$g=a(27723),Wg={root:"m_849cf0da"};const Bg={underline:"hover"},Kg=(0,ql.v)((e,t)=>{const{underline:r,className:n,unstyled:i,mod:a,...s}=(0,T.Y)("Anchor",Bg,e);return(0,o.jsx)(Bl.E,{component:"a",ref:t,className:(0,j.A)({[Wg.root]:!i},n),...s,mod:[{underline:r},a],__staticSelector:"Anchor",unstyled:i})});Kg.classes=Wg,Kg.displayName="@mantine/core/Anchor";const[Gg,qg]=(0,M.F)("List component was not found in tree");var Yg={root:"m_abbac491",item:"m_abb6bec2",itemWrapper:"m_75cd9f71",itemIcon:"m_60f83e5b"};const Jg=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ListItem",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,icon:u,children:l,mod:d,...p}=r,f=qg(),h=u||f.icon,m={classNames:n,styles:s};return(0,o.jsx)(R.a,{...f.getStyles("item",{...m,className:i,style:a}),component:"li",mod:[{"with-icon":!!h,centered:f.center},d],ref:t,...p,children:(0,o.jsxs)("div",{...f.getStyles("itemWrapper",m),children:[h&&(0,o.jsx)("span",{...f.getStyles("itemIcon",m),children:h}),(0,o.jsx)("span",{...f.getStyles("itemLabel",m),children:l})]})})});Jg.classes=Yg,Jg.displayName="@mantine/core/ListItem";const Qg={type:"unordered"},Xg=(0,de.V)((e,{size:t,spacing:r})=>({root:{"--list-fz":(0,le.ny)(t),"--list-lh":(0,le.ks)(t),"--list-spacing":(0,le.GY)(r)}})),Zg=(0,N.P9)((e,t)=>{const r=(0,T.Y)("List",Qg,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,children:l,type:d,withPadding:p,icon:f,spacing:h,center:m,listStyleType:g,mod:y,attributes:v,...b}=r,E=(0,pe.I)({name:"List",classes:Yg,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:v,vars:u,varsResolver:Xg});return(0,o.jsx)(Gg,{value:{center:m,icon:f,getStyles:E},children:(0,o.jsx)(R.a,{...E("root",{style:{listStyleType:g}}),component:"unordered"===d?"ul":"ol",mod:[{"with-padding":p,type:f?"none":g},y],ref:t,...b,children:l})})});Zg.classes=Yg,Zg.displayName="@mantine/core/List",Zg.Item=Jg;var ey={root:"m_b183c0a2"};const ty=(0,de.V)((e,{color:t})=>({root:{"--code-bg":t?(0,Xt.r)(t,e):void 0}})),ry=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Code",null,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,color:l,block:d,variant:p,mod:f,attributes:h,...m}=r,g=(0,pe.I)({name:"Code",props:r,classes:ey,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:h,vars:u,varsResolver:ty});return(0,o.jsx)(R.a,{component:d?"pre":"code",variant:p,ref:t,mod:[{block:d},f],...g("root"),...m,dir:"ltr"})});ry.classes=ey,ry.displayName="@mantine/core/Code";const[ny,oy]=(0,M.F)("Drawer component was not found in tree");var iy={root:"m_f11b401e",header:"m_5a7c2c9",content:"m_b8a05bbd",inner:"m_31cd769a"};const ay=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerBody",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(W,{ref:t,...l.getStyles("body",{classNames:n,style:a,styles:s,className:i}),...u})});ay.classes=iy,ay.displayName="@mantine/core/DrawerBody";const sy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerCloseButton",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(J,{ref:t,...l.getStyles("close",{classNames:n,style:a,styles:s,className:i}),...u})});sy.classes=iy,sy.displayName="@mantine/core/DrawerCloseButton";const cy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerContent",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,children:u,radius:l,__hidden:d,...p}=r,f=oy(),h=f.scrollAreaComponent||re;return(0,o.jsx)(te,{...f.getStyles("content",{className:i,style:a,styles:s,classNames:n}),innerProps:f.getStyles("inner",{className:i,style:a,styles:s,classNames:n}),ref:t,...p,radius:l||f.radius||0,"data-hidden":d||void 0,children:(0,o.jsx)(h,{style:{height:"calc(100vh - var(--drawer-offset) * 2)"},children:u})})});cy.classes=iy,cy.displayName="@mantine/core/DrawerContent";const uy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerHeader",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(oe,{ref:t,...l.getStyles("header",{classNames:n,style:a,styles:s,className:i}),...u})});uy.classes=iy,uy.displayName="@mantine/core/DrawerHeader";const ly=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerOverlay",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(ce,{ref:t,...l.getStyles("overlay",{classNames:n,style:a,styles:s,className:i}),...u})});ly.classes=iy,ly.displayName="@mantine/core/DrawerOverlay";var dy=a(82820);function py(e){switch(e){case"top":return"flex-start";case"bottom":return"flex-end";default:return}}function fy(e){if("top"===e||"bottom"===e)return"0 0 calc(100% - var(--drawer-offset, 0rem) * 2)"}const hy={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},my={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},gy={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,k.I)("modal"),position:"left"},yy=(0,de.V)((e,{position:t,size:r,offset:n})=>({root:{"--drawer-size":(0,le.YC)(r,"drawer-size"),"--drawer-flex":fy(t),"--drawer-height":"left"===t||"right"===t?void 0:"var(--drawer-size)","--drawer-align":py(t),"--drawer-justify":"right"===t?"flex-end":void 0,"--drawer-offset":(0,p.D)(n)}})),vy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerRoot",gy,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,scrollAreaComponent:l,position:d,transitionProps:p,radius:f,attributes:h,...m}=r,{dir:g}=(0,dy.jH)(),y=(0,pe.I)({name:"Drawer",classes:iy,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:h,vars:u,varsResolver:yy}),v=("rtl"===g?my:hy)[d];return(0,o.jsx)(ny,{value:{scrollAreaComponent:l,getStyles:y,radius:f},children:(0,o.jsx)(tt,{ref:t,...y("root"),transitionProps:{transition:v,...p},"data-offset-scrollbars":l===rt.F.Autosize||void 0,unstyled:c,...m})})});vy.classes=iy,vy.displayName="@mantine/core/DrawerRoot";const[by,Ey]=(0,at.e)();function wy({children:t}){const[r,n]=(0,e.useState)([]),[i,a]=(0,e.useState)((0,k.I)("modal"));return(0,o.jsx)(by,{value:{stack:r,addModal:(e,t)=>{n(t=>[...new Set([...t,e])]),a(e=>"number"==typeof t&&"number"==typeof e?Math.max(e,t):e)},removeModal:e=>n(t=>t.filter(t=>t!==e)),getZIndex:e=>`calc(${i} + ${r.indexOf(e)} + 1)`,currentId:r[r.length-1],maxZIndex:i},children:t})}wy.displayName="@mantine/core/DrawerStack";const Sy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerTitle",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(lt,{ref:t,...l.getStyles("title",{classNames:n,style:a,styles:s,className:i}),...u})});Sy.classes=iy,Sy.displayName="@mantine/core/DrawerTitle";const Ay={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,k.I)("modal"),withOverlay:!0,withCloseButton:!0},_y=(0,N.P9)((t,r)=>{const{title:n,withOverlay:i,overlayProps:a,withCloseButton:s,closeButtonProps:c,children:u,opened:l,stackId:d,zIndex:p,...f}=(0,T.Y)("Drawer",Ay,t),h=Ey(),m=!!n||s,g=h&&d?{closeOnEscape:h.currentId===d,trapFocus:h.currentId===d,zIndex:h.getZIndex(d)}:{},y=!1!==i&&(d&&h?h.currentId===d:l);return(0,e.useEffect)(()=>{h&&d&&(l?h.addModal(d,p||(0,k.I)("modal")):h.removeModal(d))},[l,d,p]),(0,o.jsxs)(vy,{ref:r,opened:l,zIndex:h&&d?h.getZIndex(d):p,...f,...g,children:[i&&(0,o.jsx)(ly,{visible:y,transitionProps:h&&d?{duration:0}:void 0,...a}),(0,o.jsxs)(cy,{__hidden:!!(h&&d&&l)&&d!==h.currentId,children:[m&&(0,o.jsxs)(uy,{children:[n&&(0,o.jsx)(Sy,{children:n}),s&&(0,o.jsx)(sy,{...c})]}),(0,o.jsx)(ay,{children:u})]})]})});_y.classes=iy,_y.displayName="@mantine/core/Drawer",_y.Root=vy,_y.Overlay=ly,_y.Content=cy,_y.Body=ay,_y.Header=uy,_y.Title=Sy,_y.CloseButton=sy,_y.Stack=wy;const Py=(0,Bp.A)("outline","circle","Circle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}]]);var Cy=a(43226);const Iy={"user-pools":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"Configuring AWS Cognito"}),(0,o.jsxs)(Bl.E,{children:["This plugin connects your WordPress site to"," ",(0,o.jsx)(Kg,{href:"https://aws.amazon.com/pm/cognito",target:"_blank",children:"AWS Cognito"})," ","for user authentication. To get started, you’ll need to set up resources within your AWS account:"]}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Kg,{href:"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools.html",target:"_blank",children:"Cognito User Pool"}),": Manages user directories, sign-up, and sign-in."]}),(0,o.jsxs)(Zg.Item,{children:["An"," ",(0,o.jsx)(Kg,{href:"https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html",target:"_blank",children:"App Client"})," ","within the User Pool: Allows your site (the application) to interact with the User Pool."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Kg,{href:"https://docs.aws.amazon.com/cognito/latest/developerguide/identity-pools.html",target:"_blank",children:"Cognito Identity Pool (Optional but Recommended)"}),": Grants authenticated users temporary AWS credentials to access other AWS services if needed."]})]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Default vs. Secondary User Pools"}),(0,o.jsx)(Bl.E,{children:"You can configure two separate Cognito User Pool setups:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Default User Pool:"})," This configuration is used when users authenticate directly on your WordPress domain. It’s the standard setup for dynamic WordPress sites. If you also have a static export, this pool typically handles the development version served from the WordPress backend."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Secondary User Pool:"})," This is primarily for statically exported sites hosted on a ",(0,o.jsx)("strong",{children:"different domain"})," than your WordPress installation. Since Cognito requires precise redirect URIs based on the domain, a separate configuration (and potentially a separate App Client or even User Pool) is needed for the static site’s domain."]})]}),(0,o.jsx)(Bl.E,{size:"sm",children:"For a standard dynamic WordPress site, you usually only need to configure the Default User Pool."}),(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Configuration Fields Explained"}),(0,o.jsx)(Bl.E,{children:"Enter the details from your AWS Cognito setup into the corresponding fields:"}),(0,o.jsxs)(Zg,{type:"ordered",size:"sm",spacing:"sm",mt:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{id:"user-pool-domains",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"User Pool Domains"})}),"Specify the domains as a regular expression that should use the secondary User Pool configuration. Requests from other domains will use the default User Pool configuration. For example, to match ",(0,o.jsx)(ry,{children:"example.com"})," and ",(0,o.jsx)(ry,{children:"www.example.com"}),", use "," ",(0,o.jsx)(ry,{children:"^(www\\.)?example\\.com$"}),"."]}),(0,o.jsxs)(Zg.Item,{id:"user-pool-id",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"User Pool ID"})}),"The unique identifier for your Cognito User Pool (e.g.,"," ",(0,o.jsx)(ry,{children:"us-east-1_abcdef123"}),"). Find this on the User Pool overview page in the AWS console."]}),(0,o.jsxs)(Zg.Item,{id:"app-client-id",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"App Client ID"})}),"The unique ID for the App Client you created within your User Pool. Find this under “App integration” > “App client list” in your User Pool settings. Ensure this App Client is configured correctly for your website’s domain(s) and callback URLs."]}),(0,o.jsxs)(Zg.Item,{id:"region",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Region"})}),"The AWS region where your User Pool and Identity Pool are located (e.g., ",(0,o.jsx)(ry,{children:"us-east-1"}),", ",(0,o.jsx)(ry,{children:"eu-west-2"}),")."]}),(0,o.jsxs)(Zg.Item,{id:"identity-pool-id",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Identity Pool ID"})}),"(Optional) The unique identifier for your Cognito Identity Pool (e.g.,"," ",(0,o.jsx)(ry,{children:"us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"}),"). Required if you need to grant users access to other AWS resources."]}),(0,o.jsxs)(Zg.Item,{id:"oauth-domain",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"OAuth Domain"})}),"The full domain used for Cognito’s hosted UI and OAuth endpoints. This is often in the format"," ",(0,o.jsx)(ry,{children:"your-domain-prefix.auth.your-region.amazoncognito.com"}),". Find this under “App integration” > “Domain name” in your User Pool settings."]}),(0,o.jsxs)(Zg.Item,{id:"oauth-scopes",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"OAuth Scopes"})}),"Space-separated list of"," ",(0,o.jsx)(Kg,{href:"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-define-resource-servers.html#cognito-user-pools-define-resource-servers-scopes",target:"_blank",children:"OAuth scopes"})," ","your application requests during authentication. Common scopes include"," ",(0,o.jsx)(ry,{children:"openid"}),", ",(0,o.jsx)(ry,{children:"email"}),", ",(0,o.jsx)(ry,{children:"profile"}),", and"," ",(0,o.jsx)(ry,{children:"aws.cognito.signin.user.admin"}),". Ensure these match the scopes enabled in your App Client settings under “Hosted UI”."]})]})]}),general:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"General Settings"}),(0,o.jsx)(Bl.E,{children:"Configure core authentication behaviors, security measures, and page redirects for your users."}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"login-mechanisms",children:(0,o.jsx)("span",{className:"highlightable",children:"Login Mechanisms"})}),(0,o.jsx)(Bl.E,{children:"Choose which identifiers users can use to sign in to their accounts via Cognito. Select one or more options:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Username:"})," Allow users to sign in with the username they chose during registration."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Email:"})," Allow users to sign in using their verified email address."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Phone Number:"})," Allow users to sign in using their verified phone number."]})]}),(0,o.jsx)(Bl.E,{size:"sm",mt:"xs",children:"Ensure your Cognito User Pool is configured to support the selected mechanisms under “Sign-in options”."}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"signup-attributes",children:(0,o.jsx)("span",{className:"highlightable",children:"Sign-up attributes"})}),(0,o.jsx)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Bl.E,{fw:500,children:"Standard attributes"}),"Choose which Cognito attributes are stored at sign-up —",(0,o.jsx)(ry,{ml:"xs",children:"email"}),", ",(0,o.jsx)(ry,{children:"phone_number"}),", etc. These fields are rendered automatically by Cognito."]})}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"social-providers",children:(0,o.jsx)("span",{className:"highlightable",children:"Social providers"})}),(0,o.jsx)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Bl.E,{fw:500,children:"Providers"}),"Toggle Google, Facebook, Apple or Amazon buttons (requires corresponding Identity Provider in AWS console)."]})}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"custom-translations-url",children:(0,o.jsx)("span",{className:"highlightable",children:"Custom Translations"})}),(0,o.jsx)(Bl.E,{children:"Specify the URL of a JSON file that provides your custom translations for the authentication flow."}),(0,o.jsxs)(Bl.E,{children:["The file can live on your own server or any public location, as long as it returns valid JSON in the expected format. Include"," ",(0,o.jsx)("strong",{children:"only"})," those locales and text keys you actually want to override or add (e.g. labels for ",(0,o.jsx)("em",{children:"Custom Blocks"})," that have no default translation). For details, see ",(0,o.jsx)(Kg,{href:"https://ui.docs.amplify.aws/react/connected-components/authenticator/customization#internationalization-i18n",target:"_blank",children:"AWS Amplify Authenticator Internationalization (i18n) documentation"}),"."]}),(0,o.jsx)(Bl.E,{children:"Example of a minimal JSON file:"}),(0,o.jsx)(Bl.E,{className:Cy.A["highlighted-doc-item"],style:{whiteSpace:"pre-wrap"},children:'{\n "fr": {\n "Sign In": "Se connecter"\n },\n "es": {\n "custom:company": "Empresa",\n "custom:favoriteColor": "Color favorito"\n }\n}'}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"recaptcha-site-key",children:(0,o.jsx)("span",{className:"highlightable",children:"reCAPTCHA Site Key"})}),(0,o.jsxs)(Bl.E,{children:[(0,o.jsx)(Kg,{href:"https://developers.google.com/recaptcha/docs/v3",target:"_blank",children:"Google reCAPTCHA"})," ","protects your site from automated abuse without annoying your real visitors. Gatey can work with both the ",(0,o.jsx)("strong",{children:"classic v3"})," and",(0,o.jsx)("strong",{children:" reCAPTCHA Enterprise (v3)"})," APIs. Simply paste the Site Key here, then use the check‑boxes below to tell Gatey which variant to load and from which host."]}),(0,o.jsx)(Bl.E,{children:"The Site Key is stored in WordPress; the matching Secret Key is only required server‑side when you verify tokens in a custom API."}),(0,o.jsxs)(Zg,{size:"sm",spacing:"sm",mt:"xs",children:[(0,o.jsxs)(Zg.Item,{id:"recaptcha-site-key",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Site Key"})}),"Paste the key generated in either the"," ",(0,o.jsx)(Kg,{href:"https://console.cloud.google.com/security/recaptcha",target:"_blank",children:"reCAPTCHA Enterprise console"})," ","or the"," ",(0,o.jsx)(Kg,{href:"https://www.google.com/recaptcha/admin/create",target:"_blank",children:"classic v3 admin page"}),". Gatey will use it in the browser to request a token every time a user performs a protected action."]}),(0,o.jsxs)(Zg.Item,{id:"use-recaptcha-enterprise",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Use reCAPTCHA Enterprise"})}),"Tick this if the key above belongs to a reCAPTCHA Enterprise project. Enterprise offers higher quotas, risk analysis, and Google Cloud IAM integration. Leave it ",(0,o.jsx)("em",{children:"unchecked"})," to load the classic v3 client instead."]}),(0,o.jsxs)(Zg.Item,{id:"use-recaptcha-net",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Serve from recaptcha.net"})}),"When enabled, the reCAPTCHA script will be downloaded from",(0,o.jsx)("code",{children:"recaptcha.net"})," rather than ",(0,o.jsx)("code",{children:"google.com"}),". This is useful for visitors in regions where ",(0,o.jsx)("code",{children:"google.com"})," is blocked (e.g. mainland China). For most sites you can keep this unchecked for the fastest global CDN delivery."]})]}),(0,o.jsxs)(Bl.E,{mt:"sm",children:["During ",(0,o.jsx)("em",{children:"sign‑up"})," the client token is sent as"," ",(0,o.jsx)("code",{children:"validationData.recaptchaToken"}),". Validate it in your pre‑sign‑up Lambda — see the example on"," ",(0,o.jsx)(Kg,{href:"https://wpsuite.io",target:"_blank",children:"wpsuite.io"}),"."]})," ",(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Page Settings"}),(0,o.jsx)(Bl.E,{children:"Select specific WordPress pages for key parts of the authentication flow. This ensures users are directed to the correct locations within your site."}),(0,o.jsxs)(Zg,{size:"sm",spacing:"sm",mt:"xs",children:[(0,o.jsxs)(Zg.Item,{id:"sign-in-page",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Sign In Page"})}),"Choose the WordPress page that contains your login form (either via a shortcode provided by this plugin or a custom implementation). Unauthenticated users attempting to access protected content may be redirected here."]}),(0,o.jsxs)(Zg.Item,{id:"default-redirect-after-signing-in",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Default redirect after signing in"})}),"Select the default page users should be redirected to immediately after a successful login. This is often a user dashboard, profile page, or the site homepage."]}),(0,o.jsxs)(Zg.Item,{id:"default-redirect-after-signing-out",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Default redirect after signing out"})}),"Select the default page users should be redirected to after they explicitly sign out. This is typically the login page or the site homepage."]})]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"hide-powered-by-gatey",className:"highlightable",children:"Hide “Powered by Gatey”"}),(0,o.jsxs)(Bl.E,{children:["When enabled (default), this hides the “Powered by Gatey” text from your Sign In and Sign Up forms. If you disable it, a small footer will appear below the forms linking to"," ",(0,o.jsx)("a",{href:"https://wpsuite.io/gatey/",target:"_blank",rel:"noopener noreferrer",children:"Gatey"}),". The link is always present for screen readers to ensure accessibility."]})]}),"wordpress-login":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"WordPress Login Integration"}),(0,o.jsx)(Bl.E,{children:"This powerful feature allows you to synchronize user logins between your public-facing site (using Cognito) and the underlying WordPress instance."}),(0,o.jsx)(Bl.E,{children:"When enabled, users signing in via Cognito will also be automatically logged into the WordPress backend. This means:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,icon:(0,o.jsx)(Zp.A,{size:"1rem"}),children:[(0,o.jsx)(Zg.Item,{children:"The WordPress admin bar will appear at the top of the site for logged-in users (if their role permits)."}),(0,o.jsxs)(Zg.Item,{children:["Users can seamlessly access the WordPress admin area (",(0,o.jsx)(ry,{children:"/wp-admin/"}),") based on their assigned role without needing a separate WordPress login."]})]}),(0,o.jsx)(Bl.E,{mt:"sm",children:"This is particularly useful for site administrators, editors, or any user who needs access to both the frontend user experience and backend WordPress management features."}),(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Enable Integration"}),(0,o.jsx)(Zg,{size:"sm",spacing:"sm",mt:"xs",children:(0,o.jsxs)(Zg.Item,{id:"integrate-wordpress-login",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Integrate WordPress Login"})}),"Check this box to activate the synchronization between Cognito logins and WordPress user sessions. When checked, the configuration options below will become available. Unchecking this disables the feature entirely."]})}),(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Cookie Expiration"}),(0,o.jsx)(Zg,{size:"sm",spacing:"sm",mt:"xs",children:(0,o.jsxs)(Zg.Item,{id:"cookie-expiration",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Cookie Expiration (Seconds)"})}),"Enter the duration, in seconds, for which the WordPress authentication cookie should remain valid after a user logs in via Cognito. This controls how long the user stays logged into the WordPress backend portion of their session. For example, ",(0,o.jsx)(ry,{children:"86400"})," represents 24 hours. Leave blank or set to ",(0,o.jsx)(ry,{children:"0"})," to use the WordPress default (typically session-based or 2 days, extendable with “Remember Me”)."]})}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"cognito-group-to-wordpress-role-mapping",children:(0,o.jsx)("span",{className:"highlightable",children:"Cognito Group to WordPress Role Mapping"})}),(0,o.jsx)(Bl.E,{children:"To grant appropriate permissions within WordPress, you must map the groups users belong to in Cognito to corresponding roles within WordPress. When a user logs in, the plugin checks their Cognito group memberships and assigns the mapped WordPress role."}),(0,o.jsx)(zp,{icon:(0,o.jsx)(Hp.A,{size:"1rem"}),title:"Important Security Note",color:"yellow",radius:"xs",mt:"sm",mb:"sm",children:"Correctly mapping groups to roles is crucial for security. Ensure users only receive the minimum necessary WordPress permissions based on their Cognito group. Misconfiguration could grant unintended access to sensitive areas of your WordPress site."}),(0,o.jsx)(Bl.E,{children:"Use the table in the settings page to define these mappings:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",mt:"sm",icon:(0,o.jsx)(Kp,{size:"1rem"}),children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Cognito Group Name:"})," Enter the ",(0,o.jsx)("i",{children:"exact"})," name of a group defined in your Cognito User Pool. Case sensitivity matters."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"WordPress Role:"})," Select the desired WordPress role (e.g., Administrator, Editor, Author, Contributor, Subscriber) from the dropdown list that should be assigned to users in the specified Cognito group."]}),(0,o.jsx)(Zg.Item,{children:"Add as many rows as needed to cover all relevant Cognito groups that should grant WordPress access."})]}),(0,o.jsxs)(Bl.E,{size:"sm",mt:"sm",children:["If a user belongs to multiple Cognito groups that are mapped here, the role corresponding to the ",(0,o.jsx)("i",{children:"first"})," matching group in this table might be applied, or the highest privilege role depending on plugin logic (clarify this based on implementation). If a user logs in via Cognito but belongs to no mapped groups, they will typically not be logged into WordPress or will only get the default subscriber role."]})]}),"api-settings":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,id:"api-settings",children:(0,o.jsx)("span",{className:"highlightable",children:"API Settings"})}),(0,o.jsxs)(Bl.E,{children:["Configure which REST or GraphQL endpoints your front end may call once the user is authenticated, and register optional hooks that fire immediately after ",(0,o.jsx)("em",{children:"sign-in"})," or ",(0,o.jsx)("em",{children:"sign-out"}),"."]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"api-domains",children:(0,o.jsx)("span",{className:"highlightable",children:"Domains"})}),(0,o.jsxs)(Bl.E,{children:["Specify the domains as a regular expression that should use the secondary API configuration. Requests from other domains will use the default API configuration. For example, to match ",(0,o.jsx)(ry,{children:"example.com"})," and ",(0,o.jsx)(ry,{children:"www.example.com"}),", use "," ",(0,o.jsx)(ry,{children:"^(www\\.)?example\\.com$"}),"."]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"api-definitaions",children:(0,o.jsx)("span",{className:"highlightable",children:"API definitions"})}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{id:"api-name",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Name"})}),"Internal key you’ll use in ",(0,o.jsx)(ry,{children:'Gatey.cognito.get({apiName:"name", …})'}),"."]}),(0,o.jsxs)(Zg.Item,{id:"api-endpoint",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Endpoint"})}),"Base URL such as ",(0,o.jsx)(ry,{children:"https://api.example.com"})," or ",(0,o.jsx)(ry,{children:"https://xyz.execute-api.us-east-1.amazonaws.com/prod"}),"."]}),(0,o.jsxs)(Zg.Item,{id:"api-region",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Region"})}),"AWS region where the API is hosted, e.g. ",(0,o.jsx)(ry,{children:"us-east-1"}),"."]}),(0,o.jsxs)(Zg.Item,{id:"api-authorization",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Authorization"})}),(0,o.jsx)(ry,{mr:"xs",children:"IAM"}),", ",(0,o.jsx)(ry,{mr:"xs",children:"ACCESS_TOKEN"}),", or ",(0,o.jsx)(ry,{children:"ID_TOKEN"}),". ",(0,o.jsx)(ry,{children:"IAM"})," uses SigV4; the token options send a Cognito JWT in the ",(0,o.jsx)("code",{children:"Authorization"})," header."]})]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"api-hooks",children:(0,o.jsx)("span",{className:"highlightable",children:"Sign-in / Sign-out hooks"})}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{id:"hook-api",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"API"})}),"Select one of the API definitions above."]}),(0,o.jsxs)(Zg.Item,{id:"hook-path",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Path"})}),"Endpoint path, e.g. ",(0,o.jsx)(ry,{children:"/logins"}),"."]}),(0,o.jsxs)(Zg.Item,{id:"hook-credentials",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"With Credentials"})}),"Whether to send cookies / auth headers in browser requests."]}),(0,o.jsxs)(Zg.Item,{id:"hook-headers",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Headers / Query Params"})}),"Free-form key/value pairs; duplicate keys are flagged in the editor."]})]})]}),"custom-providers":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"Custom Providers Editor"}),(0,o.jsx)(Bl.E,{children:"Select the custom OIDC / SAML providers you want to offer. Gatey will automatically place their login buttons at the top of your Sign-In and Sign-Up screens."}),(0,o.jsxs)(Bl.E,{children:["Type the ",(0,o.jsx)("strong",{children:"exact"})," name of the SAML or OIDC provider you added to your Cognito user pool. The value is case-sensitive and must match the ",(0,o.jsx)("em",{children:"Provider name"})," shown in the AWS console."]}),(0,o.jsxs)(Bl.E,{children:["You can optionally add a ",(0,o.jsx)("strong",{children:"Title"})," to display on the login button, and an ",(0,o.jsx)("strong",{children:"Icon"})," to show next to the button. The icon should be a square PNG or SVG image, encoded in base64 format. For example, a 24x24 pixel icon might look like this:",(0,o.jsx)(ry,{children:"data:image/svg+xml;base64,<base64-encoded content>"})]}),(0,o.jsx)(Zg,{size:"sm",spacing:"xs",withPadding:!0,mt:"sm",children:(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Bl.E,{fw:500,children:"Where to find the name?"}),"In the AWS Cognito console, go to ",(0,o.jsx)("em",{children:"User pools → [Your pool] → Authentication → Social and external providers"}),", then copy the provider’s ",(0,o.jsx)("em",{children:"Name"})," value verbatim."]})})," ",(0,o.jsx)(zp,{icon:(0,o.jsx)(Hp.A,{size:"1rem"}),title:"PRO feature",color:"yellow",radius:"xs",mt:"sm",children:"Social provider editing is available in PROFESSIONAL plan. In free mode your settings are saved, but the UI won’t generate the controls."})]}),"custom-fields":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"Custom Fields Editor"}),(0,o.jsxs)(Bl.E,{children:["Create custom fields once and reuse them everywhere: they can appear on the ",(0,o.jsx)("strong",{children:"Sign Up"})," and ",(0,o.jsx)("strong",{children:"Edit Account"})," screens, in the ",(0,o.jsx)("strong",{children:"Account Attribute"})," block/shortcode, and in the"," ",(0,o.jsx)("strong",{children:"Gatey Account Attribute Elementor"})," widget. Just set a",(0,o.jsx)("strong",{children:"name"})," and ",(0,o.jsx)("strong",{children:"type"}),"—and, for"," ",(0,o.jsx)("strong",{children:"select"})," or ",(0,o.jsx)("strong",{children:"radio"})," inputs, list each option as a value-label pair in the Options box. Gatey then shows the user-friendly labels instead of raw values, giving you a consistent, polished experience across all screens and front-end elements."]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"custom-fields",children:(0,o.jsx)("span",{className:"highlightable",children:"Custom fields"})}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{id:"field-name",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Name"})}),"Cognito custom attribute key without ",(0,o.jsx)(ry,{children:"custom:"})," prefix, e.g."," ",(0,o.jsx)(ry,{children:"country"})]}),(0,o.jsxs)(Zg.Item,{id:"field-type",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Type"})}),(0,o.jsxs)(Zg,{spacing:"xs",size:"sm",icon:(0,o.jsx)(Py,{size:12}),children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"text"})," – Single-line text input."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"password"})," – Password input (characters hidden)."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"tel"})," – Telephone / number-pad input."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"country"})," – Country selection (dropdown)."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"checkbox"})," – Single checkbox (true / false)."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"radio"})," – Radio-button group. Define options in the ",(0,o.jsx)("em",{children:"Options"})," list."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"select"})," – Drop-down list. Define options in the ",(0,o.jsx)("em",{children:"Options"})," list."]})]})]})]}),(0,o.jsx)(zp,{icon:(0,o.jsx)(Hp.A,{size:"1rem"}),title:"PRO feature",color:"yellow",radius:"xs",mt:"sm",children:"Custom field editing is available in PAID plans. In free mode your settings are saved, but the UI falls back to Cognito’s default fields."})]})};function xy({opened:t,close:r,page:n,scrollToId:i}){const a=(0,e.useRef)(null),s=(0,e.useRef)(null);return(0,e.useEffect)(()=>{if(s.current&&(clearTimeout(s.current),s.current=null),a.current&&(clearTimeout(a.current),a.current=null),document.querySelectorAll(Cy.A["highlighted-doc-item"]).forEach(e=>e.classList.remove(Cy.A["highlighted-doc-item"])),t&&i)return s.current=setTimeout(()=>{const e=document.getElementById(i);if(!e)return void(s.current=null);e.scrollIntoView({behavior:"smooth",block:"center"});const t=e.querySelector(".highlightable");t&&(a.current&&(clearTimeout(a.current),a.current=null,document.querySelectorAll(Cy.A["highlighted-doc-item"]).forEach(e=>e.classList.remove(Cy.A["highlighted-doc-item"]))),t.classList.add(Cy.A["highlighted-doc-item"]),a.current=setTimeout(()=>{t.classList.remove(Cy.A["highlighted-doc-item"]),a.current=null},2e3)),s.current=null},0),()=>{s.current&&(clearTimeout(s.current),s.current=null),a.current&&(clearTimeout(a.current),a.current=null),document.querySelectorAll(Cy.A["highlighted-doc-item"]).forEach(e=>e.classList.remove(Cy.A["highlighted-doc-item"]))}},[t,i]),(0,o.jsx)(_y,{opened:t,onClose:r,position:"right",title:"Documentation",zIndex:999999,children:(0,o.jsx)(ed.B,{children:Iy[n]})})}const Oy="gatey_noregistration_required_dismissed",ky=localStorage.getItem(Oy),Ty=()=>{const[t,r]=(0,e.useState)(!ky),n=(0,e.useCallback)(()=>{localStorage.setItem(Oy,"true"),r(!1)},[]);return t?t&&(0,o.jsxs)(zp,{color:"green",title:"No Registration Required",icon:(0,o.jsx)(Hp.A,{}),w:"100%",withCloseButton:!0,onClose:n,children:[(0,o.jsxs)(Bl.E,{size:"sm",mb:"xs",children:[(0,o.jsx)("strong",{children:"All essential features work out of the box without registration."})," ","Premium options like frontend customization, advanced forms, and custom identity providers become available after connecting your site and choosing a plan."]}),(0,o.jsxs)(Bl.E,{size:"sm",children:["Enjoy a ",(0,o.jsx)("strong",{children:"14-day free trial"})," with full access —"," ",(0,o.jsx)("strong",{children:"no credit card required"}),". See our"," ",(0,o.jsx)("a",{href:"https://wpsuite.io/gatey/pricing/",target:"_blank",rel:"noreferrer",children:"pricing page"})," ","for details."]})]}):null},Ny=(0,Bp.A)("outline","circle-check","CircleCheck",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 12l2 2l4 -4",key:"svg-1"}]]),jy={listItemIcon:"bRuKiJPIJueop4oFlM2R",listItemLabelDone:"zksmSWeAFQ8pGfSFftFB"},Ry="gatey_onboarding_dismissed",My=localStorage.getItem(Ry),Dy=({settings:t})=>{const r=(0,e.useState)(!!t.userPoolConfigurations.default.Auth?.Cognito?.userPoolId&&!!t.userPoolConfigurations.default.Auth?.Cognito?.userPoolClientId),n=(0,e.useState)(!!t.loginMechanisms.length&&!!t.signInPage),i=(0,e.useState)(t.integrateWpLogin),[a,s]=(0,e.useState)(!My),c=(0,e.useCallback)(()=>{localStorage.setItem(Ry,"true"),s(!1)},[]);return a?(0,o.jsx)(zp,{icon:(0,o.jsx)(Hp.A,{size:20}),title:"First time using Gatey?",color:"blue",withCloseButton:!0,onClose:c,radius:"xs",w:"100%",children:(0,o.jsxs)(ed.B,{gap:"xs",children:[(0,o.jsx)(Bl.E,{size:"sm",children:"Follow these quick steps to get started:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,classNames:{itemWrapper:jy.listItemWrapper,itemIcon:jy.listItemIcon},children:[(0,o.jsxs)(Jg,{icon:(0,o.jsx)(Ny,{size:14,color:r?"green":"gray"}),classNames:{itemLabel:r?jy.listItemLabelDone:void 0},children:[(0,o.jsx)("strong",{children:"Configure your default User Pool"})," using your AWS Cognito details."]}),(0,o.jsxs)(Jg,{icon:(0,o.jsx)(Ny,{size:14,color:n?"green":"gray"}),classNames:{itemLabel:n?jy.listItemLabelDone:void 0},children:[(0,o.jsx)("strong",{children:"Create a login page"})," with the ",(0,o.jsx)("em",{children:"Authenticator"})," ","block in Gutenberg, then go to the ",(0,o.jsx)("strong",{children:"General"})," tab and set login mechanism, sign-in, and redirect pages.",(0,o.jsx)("br",{}),(0,o.jsx)("em",{children:"Optional:"})," use a shortcode in any page (Elementor supported)."]}),(0,o.jsxs)(Jg,{icon:(0,o.jsx)(Ny,{size:14,color:i?"green":"gray"}),classNames:{itemLabel:i?jy.listItemLabelDone:void 0},children:[(0,o.jsx)("em",{children:"Optional:"})," Enable WordPress login override in the"," ",(0,o.jsx)("strong",{children:"WordPress Login"})," tab."]})]}),r&&n?(0,o.jsx)(Bl.E,{size:"sm",c:"green",fw:500,children:"✅ Great job! You are all set up and ready to go."}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Bl.E,{size:"sm",c:"orange",fw:500,children:"⚠️ When all steps are complete, green checkmarks will confirm your setup."}),(0,o.jsxs)(Bl.E,{size:"sm",children:["You can find more details in the"," ",(0,o.jsx)("a",{href:"https://wpsuite.io/gatey/docs/getting-started/",target:"_blank",children:"Getting Started with Gatey"})," ","guide."]})]})]})}):null};var Uy=a(63661);window.jQuery;const Fy=(0,Uy.getWpSuite)();let Ly,zy=!1,Vy={};Fy&&(zy=!0,Vy=Fy.siteSettings,Ly=Fy.restUrl);const Hy=(0,e.lazy)(()=>Promise.all([a.e(635),a.e(563),a.e(181)]).then(a.bind(a,75181))),$y=(0,e.lazy)(()=>Promise.all([a.e(635),a.e(563),a.e(805),a.e(788)]).then(a.bind(a,74788))),Wy=(0,e.lazy)(()=>Promise.all([a.e(635),a.e(491)]).then(a.bind(a,15491))),By=({settings:e})=>{const t=(0,Vp.U)(`(max-width: ${_.S.breakpoints.sm})`);return(0,o.jsx)(Wl.Z,{p:"sm",withBorder:!0,mt:"md",maw:1280,children:(0,o.jsxs)(mt.Y,{align:"flex-start",style:{flexDirection:"column",width:"100%"},children:[(0,o.jsx)(Vg.__experimentalHeading,{level:1,style:{display:"flex",alignItems:"center",gap:"8px",color:"#218BE6"},children:(0,$g.__)(t?"Gatey":"Gatey - Login & SSO with Amazon Cognito",n.TEXT_DOMAIN)}),(0,o.jsx)(Bl.E,{children:"This interface allows you to configure how your WordPress installation connects to Amazon Cognito."}),(0,o.jsxs)(Bl.E,{children:["You can set up your ",(0,o.jsx)("strong",{children:"user pool"}),", define supported"," ",(0,o.jsx)("strong",{children:"login mechanisms"}),", customize"," ",(0,o.jsx)("strong",{children:"sign-in and redirect behavior"}),", and choose whether to replace",(0,o.jsxs)(Kl.j,{children:[(0,o.jsx)(Kl.j.Target,{children:(0,o.jsx)(Gl.M,{variant:"subtle",size:"xs",children:(0,o.jsx)(Hp.A,{size:16})})}),(0,o.jsx)(Kl.j.Dropdown,{maw:300,style:{zIndex:1e4},children:(0,o.jsx)(Bl.E,{size:"sm",children:"Replacing the default login is optional — for example, if your WordPress instance is used only for backend content editing and the public site is statically generated, you can still fully leverage Gatey for your frontend."})})]})," ","the default WordPress login page with a Cognito-based flow."]}),(0,o.jsx)(Ty,{}),!Vy.siteId&&(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(Bl.E,{c:"dimmed",size:"xs",children:["To use Pro features, please connect this WordPress instance to a"," ",(0,o.jsx)("strong",{children:"WPSuite.io"})," site. Go to the"," ",(0,o.jsx)("a",{href:"?page=hub-for-wpsuiteio",children:(0,o.jsx)("strong",{children:"WPSuite.io → Connect your Site"})})," ","menu and complete the linking process."]})}),(0,o.jsx)(Dy,{settings:e})]})})},Ky="dev.wpsuite.io"===window.location.host?"https://api.wpsuite.io/dev":"https://api.wpsuite.io",Gy="dev.wpsuite.io"===window.location.host?"https://wpsuite.io/static/config/dev.json":"https://wpsuite.io/static/config/prod.json",qy=(0,n.getGateyPlugin)(),Yy=t=>{var r,i,a,s,c,u;const{store:l,nonce:d,settings:p}=t,[f,h]=(0,e.useState)("default"),[m,g]=(0,e.useState)([]),[y,v]=(0,e.useState)(!1),[b,E]=(0,e.useState)(),[w,S]=(0,e.useState)([]),[A,P]=(0,e.useState)(!1),[C,I]=(0,e.useState)([]),[x,O]=(0,e.useState)(""),[k]=(0,e.useState)(Vy.accountId),[T]=(0,e.useState)(Vy.siteId),[N]=(0,e.useState)(Vy.siteKey),[j,{open:M,close:D}]=function(t=!1,r={}){const[n,o]=(0,e.useState)(t),i=(0,e.useCallback)(()=>{o(e=>e||(r.onOpen?.(),!0))},[r.onOpen]),a=(0,e.useCallback)(()=>{o(e=>e?(r.onClose?.(),!1):e)},[r.onClose]),s=(0,e.useCallback)(()=>{n?a():i()},[a,i,n]);return[n,{open:i,close:a,toggle:s}]}(!1),[U,F]=(0,e.useState)(),[L,z]=(0,e.useState)({userPoolConfigurations:JSON.parse(JSON.stringify(p.userPoolConfigurations||{})),secondaryUserPoolDomains:p.secondaryUserPoolDomains||"",mappings:p.mappings||[],loginMechanisms:p.loginMechanisms||[],integrateWpLogin:p.integrateWpLogin||!1,cookieExpiration:p.cookieExpiration,signInPage:p.signInPage,redirectSignIn:p.redirectSignIn,redirectSignOut:p.redirectSignOut,reCaptchaPublicKey:p.reCaptchaPublicKey,customTranslationsUrl:p.customTranslationsUrl,signUpAttributes:p.signUpAttributes||[],socialProviders:p.socialProviders||[],useRecaptchaEnterprise:p.useRecaptchaEnterprise||!1,useRecaptchaNet:p.useRecaptchaNet||!1,enablePoweredBy:p.enablePoweredBy||!1}),[V,H]=(0,e.useState)(void 0),[$,W]=(0,e.useState)(),[B,K]=(0,e.useState)(),[G,q]=(0,e.useState)(!1),[Y,J]=(0,e.useState)("general"),Q=(0,Vp.U)(`(max-width: ${_.S.breakpoints.sm})`),X=(0,Hg.useSelect)(()=>(0,n.getStoreSelect)(l)?.getConfig(),[]),Z=!!k&&!!T&&!!N&&void 0!==B;pf({queryKey:["config"],queryFn:async()=>{const e=await fetch(Gy).catch(e=>({ok:!0,statusText:e.message,json:async()=>({config:"prod",baseUrl:"https://wpsuite.io",userPoolId:"us-east-1_G0wEwK9tt",identityPoolId:"us-east-1:11e55c9a-b768-48a2-8a0c-c51f1e99c129",appClientPlugin:"5e6fs3pk1k1ju7cgpnp7o7si8u",awsRegion:"us-east-1",pricingTable:"prctbl_1QA6TQFjw5MDUzy6c3fBSPGL",stripePublicKey:"pk_live_51OVeJwFjw5MDUzy6pwTbsMjcBZjZioihzLAtxQsF91u4lYJC4mtqrJddSskhz6OPbWS0tr8XL2G1AwJaXEpv9Rgn008dAz5TEr",permissions:{owner:["transfer-account","manage-account","manage-sites","manage-subscriptions","manage-billing"],admin:["manage-account","manage-sites","manage-subscriptions","manage-billing"],accountant:["manage-billing"]}})}));if(!e.ok)throw console.error("Error loading configuration:",await e.json()),K(!1),new Error(e.statusText);const t=await e.json(),r={Auth:{Cognito:{userPoolId:t.userPoolId,userPoolClientId:t.appClientPlugin,identityPoolId:t.identityPoolId}},API:{REST:{backend:{endpoint:Ky},backendWithIam:{endpoint:Ky}}}},n={API:{REST:{headers:async e=>{if("backend"===e.apiName)try{const e=await un();if(e?.tokens?.accessToken)return{Authorization:`Bearer ${e.tokens.accessToken}`}}catch(e){console.error(e)}return{}}}}};return Om.configure(r,n),await oe(),K(!0),t}});const{data:ee,isError:te,isPending:re}=pf({queryKey:["site",k,T],queryFn:()=>async function(e,t,r){try{const n={apiName:"backend",path:`/account/${e}/site/${t}${r?"/settings":""}`,options:{headers:{}}};r&&(n.options.headers["X-Site-Key"]=r);const o=await(0,sn.Jt)(n).response;return await o.body.json()}catch(e){throw console.error("fetchSite error:",e),e}}(k,T,N),enabled:Z}),ne=(0,e.useCallback)(e=>{zy&&Ly&&k&&T&&N&&fetch(Ly+"/update-site-settings",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":d},body:JSON.stringify({accountId:k,siteId:T,siteKey:N,lastUpdate:(new Date).getTime(),subscriber:e}),credentials:"same-origin"})},[k,d,T,N]),oe=(0,e.useCallback)(async()=>{try{var e;const t=await un(),r=null!==(e=t.tokens?.accessToken.payload.scope?.split(" "))&&void 0!==e?e:[];!k||r.includes("sc.account.owner."+k)||r.includes("sc.account.admin."+k)||console.error("You do not have permission to access this resource. Please contact site owner.")}catch(e){console.error(e)}},[k]),ie=e=>{const{name:t,value:r}=e.target;z(e=>zg(e,e=>{const n=t.split(".");let o=e.userPoolConfigurations;for(;n.length>1;)o=o[n.shift()];o[n[0]]="scopes"===n[0]?r.split(",").map(e=>e.trim()):r}))},ae=(0,e.useCallback)((e,t,r)=>{const n=L.mappings.map((n,o)=>o===e?{...n,[t]:r}:n);z({...L,mappings:n})},[L]),se=(0,e.useCallback)(()=>{z({...L,mappings:[...L.mappings,{cognitoGroup:"",wordpressRole:""}]})},[L]),ce=(0,e.useCallback)(e=>{const t=L.mappings.filter((t,r)=>r!==e);z({...L,mappings:t})},[L]),ue=(0,e.useCallback)(e=>{z({...L,integrateWpLogin:e})},[L]),le=(0,e.useCallback)(async e=>{e.preventDefault(),q(!0);try{const t=await fetch(qy.restUrl+"/update-settings",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":d},body:JSON.stringify(L),credentials:"same-origin"});if(t.ok){let t=(0,$g.__)("Settings saved successfully.",n.TEXT_DOMAIN);switch(e.target.name){case"user-pools":t=(0,$g.__)("User pool settings saved successfully.",n.TEXT_DOMAIN);break;case"general":t=(0,$g.__)("General settings saved successfully.",n.TEXT_DOMAIN);break;case"wordpress-login":t=(0,$g.__)("WordPress login settings saved successfully.",n.TEXT_DOMAIN)}ir.$e.show({title:(0,$g.__)("Settings saved",n.TEXT_DOMAIN),message:t,color:"green",icon:(0,o.jsx)(Hp.A,{}),className:Cy.A.notification})}else{const e=await t.json();console.error("Failed to submit data",e),ir.$e.show({title:(0,$g.__)("Error occured",n.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,o.jsx)($p.A,{}),className:Cy.A.notification})}}catch(e){ir.$e.show({title:(0,$g.__)("Error occured",n.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,o.jsx)($p.A,{}),className:Cy.A.notification})}finally{q(!1)}},[L,d]),de=(0,e.useCallback)(({text:e,scrollToId:t})=>(0,o.jsxs)(mt.Y,{align:"center",gap:"0.25rem",children:[e,(0,o.jsx)(Gl.M,{component:"label",variant:"subtle",size:"xs",onClick:()=>{O(t),M()},children:(0,o.jsx)(Hp.A,{size:16})})]}),[M]),pe=(0,e.useCallback)(e=>{W({...e,subscriptionType:$?.subscriptionType}),ne(!!$?.subscriptionType)},[ne,$?.subscriptionType]),fe="wordpress-login"===Y&&L.integrateWpLogin&&!y;(0,e.useEffect)(()=>{!te&&re&&Z||F(te?null:null!=ee?ee:null)},[ee,Z,re,te]),(0,e.useEffect)(()=>{var e;U?H({...JSON.parse(JSON.stringify(null!==(e=U.settings)&&void 0!==e?e:{})),subscriptionType:U.subscriptionType}):(!k&&!T||te)&&H(null)},[k,te,U,T]),(0,e.useEffect)(()=>{fe&&(0,n.loadAuthSession)().then(e=>{e?.credentials&&new ac({region:qy.settings.userPoolConfigurations.default.API?.GraphQL?.region,credentials:{...e.credentials}}).send(new $l({UserPoolId:qy.settings.userPoolConfigurations.default.Auth?.Cognito?.userPoolId})).then(e=>g(e.Groups?.map(e=>e.GroupName))).catch(e=>console.error(e)).finally(()=>v(!0))}).catch(e=>{console.error(e),(0,Hg.dispatch)(l).clearAccount()})},[fe,l]),(0,e.useEffect)(()=>{hf()({path:"/wp/v2/pages?status=publish&per_page=100&context=embed"}).then(e=>{I(e.map(e=>({path:"/"+e.slug,title:e.title.rendered})))}).catch(e=>console.error("Error loading form:",e))},[]);const he=(0,e.useMemo)(()=>C.map(e=>({label:e.title,value:e.path})),[C]);return(0,e.useEffect)(()=>{d&&L.integrateWpLogin&&!A&&fetch(qy.restUrl+"/get-roles",{method:"GET",headers:{"X-WP-Nonce":d},credentials:"same-origin"}).then(e=>e.json()).then(e=>{S(e),P(!0)}).catch(e=>console.error("Error loading form:",e))},[L.integrateWpLogin,d,A]),(0,e.useEffect)(()=>{const e=bm.YZ.listen("auth",e=>{const{payload:t}=e;"signedIn"!==t.event&&"signedOut"!==t.event||oe()});return()=>{e()}},[oe]),(0,e.useEffect)(()=>{const e=X&&k&&T&&N?!X:!V;E([{value:"general",label:(0,$g.__)("General",n.TEXT_DOMAIN),icon:(0,o.jsx)(Wp.A,{size:16,stroke:1.5})},{value:"user-pools",label:(0,$g.__)("User Pools",n.TEXT_DOMAIN),icon:(0,o.jsx)(Kp,{size:16,stroke:1.5})},{value:"wordpress-login",label:(0,$g.__)("WordPress Login",n.TEXT_DOMAIN),icon:(0,o.jsx)(Gp,{size:16,stroke:1.5})},{value:"custom-fields",label:(0,$g.__)("Custom Fields",n.TEXT_DOMAIN),icon:(0,o.jsx)(qp,{size:16,stroke:1.5}),badge:(0,o.jsx)(Ql,{variant:"light",color:"red",ml:"4px",miw:35,children:"PRO"}),disabled:e},{value:"custom-providers",label:(0,$g.__)("Custom Providers",n.TEXT_DOMAIN),icon:(0,o.jsx)(Yp,{size:16,stroke:1.5}),badge:(0,o.jsx)(Ql,{variant:"light",color:"red",ml:"4px",miw:35,children:"PRO"}),disabled:e},{value:"api-settings",label:(0,$g.__)("API Settings",n.TEXT_DOMAIN),icon:(0,o.jsx)(Jp,{size:16,stroke:1.5}),badge:(0,o.jsx)(Ql,{variant:"light",color:"red",ml:"4px",miw:35,children:"PRO"}),disabled:e}]),e&&J("general")},[k,B,X,V,T,N]),(0,e.useEffect)(()=>{void 0!==V&&W(null!=V?V:X)},[V,X]),(0,e.useEffect)(()=>{if(null!=V&&(V.subscriptionType&&!Vy.subscriber||!V.subscriptionType&&Vy.subscriber)){const e=!!V.subscriptionType;Vy.subscriber=e,ne(e)}},[ne,V]),void 0!==B&&(0,o.jsx)(ln.Authenticator.Provider,{children:(0,o.jsxs)("div",{className:Cy.A["wpc-container"],children:[(0,o.jsx)(xy,{opened:j,close:D,page:Y,scrollToId:x}),(0,o.jsx)(By,{settings:L}),(0,o.jsx)(mt.Y,{align:"flex-start",mt:"lg",style:{flexDirection:Q?"column":"row",width:"100%"},children:(0,o.jsxs)(Xl.t,{classNames:{tabLabel:Cy.A["wpc-tabs-label"],panel:Cy.A[Q?"wpc-tabs-panel-mobile":"wpc-tabs-panel"]},value:Y,orientation:Q?"horizontal":"vertical",onChange:e=>J(e),w:"100%",children:[(0,o.jsx)(Xl.t.List,{children:b?.map(e=>(0,o.jsxs)(Xl.t.Tab,{value:e.value,disabled:e.disabled,children:[e.icon,!Q&&e.label,e.badge]},e.value))}),(0,o.jsx)(Xl.t.Panel,{value:"user-pools",w:"100%",children:(0,o.jsxs)("form",{name:"user-pools",onSubmit:le,children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:"User Pools"}),(0,o.jsx)(Bl.E,{mb:"md",children:"Connect your AWS Cognito user pool and app client here. This is the foundation of your Gatey integration."}),(0,o.jsx)(Xl.t,{className:Cy.A["wpc-tabs"],value:f,onChange:e=>h(e),children:(0,o.jsxs)(Xl.t.List,{children:[(0,o.jsx)(Xl.t.Tab,{value:"default",leftSection:(0,o.jsx)(Qp.A,{size:16}),children:"Default"}),(0,o.jsxs)(Xl.t.Tab,{value:"secondary",leftSection:(0,o.jsx)(Xp.A,{size:16}),disabled:!$,children:["Secondary",(0,o.jsx)(Ql,{variant:"light",color:"red",ml:"4px",miw:60,children:"PRO"})]})]})}),(0,o.jsxs)(ed.B,{gap:"sm",p:"md",bg:"gray.1",children:["secondary"===f&&(0,o.jsx)(td.k,{disabled:G,name:"secondaryUserPoolDomains",label:(0,o.jsx)(de,{text:"User Pool Domains",scrollToId:"user-pool-domains"}),description:"Regular expression of domains for the secondary user pool",value:L.secondaryUserPoolDomains,onChange:e=>z({...L,secondaryUserPoolDomains:e.currentTarget.value})}),(0,o.jsx)(td.k,{disabled:G,name:("default"===f?"default":"secondary")+".Auth.Cognito.userPoolId",label:(0,o.jsx)(de,{text:"User Pool ID",scrollToId:"user-pool-id"}),description:"The ID of the AWS Cognito user pool to use",value:null!==(r=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.userPoolId)&&void 0!==r?r:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"App Client ID",scrollToId:"app-client-id"}),description:"The ID of the AWS Cognito app client to use",name:("default"===f?"default":"secondary")+".Auth.Cognito.userPoolClientId",value:null!==(i=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.userPoolClientId)&&void 0!==i?i:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"Region",scrollToId:"region"}),description:"AWS region",name:("default"===f?"default":"secondary")+".API.GraphQL.region",value:null!==(a=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.API?.GraphQL?.region)&&void 0!==a?a:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"Identity Pool ID",scrollToId:"identity-pool-id"}),description:"The ID of the AWS Cognito identity pool to use",name:("default"===f?"default":"secondary")+".Auth.Cognito.identityPoolId",value:null!==(s=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.identityPoolId)&&void 0!==s?s:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"OAuth Domain",scrollToId:"oauth-domain"}),description:"The domain of the OAuth provider to use",name:("default"===f?"default":"secondary")+".Auth.Cognito.loginWith.oauth.domain",value:null!==(c=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.loginWith?.oauth?.domain)&&void 0!==c?c:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"OAuth scopes",scrollToId:"oauth-scopes"}),description:"The scopes to use for the OAuth provider",name:("default"===f?"default":"secondary")+".Auth.Cognito.loginWith.oauth.scopes",value:null!==(u=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.loginWith?.oauth?.scopes?.join(","))&&void 0!==u?u:"",onChange:ie})]}),(0,o.jsx)(mt.Y,{justify:"flex-end",mt:"lg",children:(0,o.jsx)(gt.$,{loading:G,variant:"gradient",type:"submit",leftSection:(0,o.jsx)(Zp.A,{}),children:"Save User Pool Settings"})})]})}),(0,o.jsx)(Xl.t.Panel,{value:"general",w:"100%",children:(0,o.jsxs)("form",{name:"general",onSubmit:le,children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:"General"}),(0,o.jsx)(Bl.E,{mb:"md",children:"Control how Gatey behaves across your site — including login routing, redirect behavior, and display preferences."}),(0,o.jsxs)(ed.B,{gap:"sm",children:[(0,o.jsxs)(id,{legend:(0,o.jsx)(de,{text:"Login Mechanisms",scrollToId:"login-mechanisms"}),fw:500,children:[(0,o.jsx)(ad.S,{disabled:G,label:"Username",checked:L.loginMechanisms?.includes("username"),onChange:e=>{const t=[...L.loginMechanisms],r=t.indexOf("username");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("username"),z({...L,loginMechanisms:t})}}),(0,o.jsx)(ad.S,{disabled:G,label:"Email",checked:L.loginMechanisms?.includes("email"),onChange:e=>{const t=[...L.loginMechanisms],r=t.indexOf("email");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("email"),z({...L,loginMechanisms:t})}}),(0,o.jsx)(ad.S,{disabled:G,label:"Phone Number",checked:L.loginMechanisms?.includes("phone_number"),onChange:e=>{const t=[...L.loginMechanisms],r=t.indexOf("phone_number");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("phone_number"),z({...L,loginMechanisms:t})}})]}),(0,o.jsx)(Md,{label:(0,o.jsx)(de,{text:"Sign-up Attributes",scrollToId:"signup-attributes"}),placeholder:"Select attributes",data:Jy,value:L.signUpAttributes,onChange:e=>z({...L,signUpAttributes:e}),searchable:!0,hidePickedOptions:!0}),(0,o.jsxs)(id,{legend:(0,o.jsx)(de,{text:"Social Providers",scrollToId:"social-providers"}),fw:500,children:[(0,o.jsx)(ad.S,{label:"Google",checked:L.socialProviders?.includes("google"),onChange:e=>{const t=L.socialProviders?[...L.socialProviders]:[],r=t.indexOf("google");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("google"),z({...L,socialProviders:t})}}),(0,o.jsx)(ad.S,{label:"Facebook",checked:L.socialProviders?.includes("facebook"),onChange:e=>{const t=L.socialProviders?[...L.socialProviders]:[],r=t.indexOf("facebook");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("facebook"),z({...L,socialProviders:t})}}),(0,o.jsx)(ad.S,{label:"Apple",checked:L.socialProviders?.includes("apple"),onChange:e=>{const t=L.socialProviders?[...L.socialProviders]:[],r=t.indexOf("apple");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("apple"),z({...L,socialProviders:t})}}),(0,o.jsx)(ad.S,{label:"Amazon",checked:L.socialProviders?.includes("amazon"),onChange:e=>{const t=L.socialProviders?[...L.socialProviders]:[],r=t.indexOf("amazon");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("amazon"),z({...L,socialProviders:t})}})]}),(0,o.jsx)(Dd.l,{disabled:G,label:(0,o.jsx)(de,{text:"Sign In Page",scrollToId:"sign-in-page"}),description:"The WordPress page to show when the user is not logged in",value:L.signInPage,onChange:e=>z({...L,signInPage:e}),data:he}),(0,o.jsx)(Dd.l,{disabled:G,label:(0,o.jsx)(de,{text:"Default redirect after signing in",scrollToId:"default-redirect-after-signing-in"}),description:"The WordPress page to redirect to after the user signs in",value:L.redirectSignIn,onChange:e=>z({...L,redirectSignIn:e}),data:he}),(0,o.jsx)(Dd.l,{disabled:G,label:(0,o.jsx)(de,{text:"Default redirect after signing out",scrollToId:"default-redirect-after-signing-out"}),description:"The WordPress page to redirect to after the user signs out",value:L.redirectSignOut,onChange:e=>z({...L,redirectSignOut:e}),data:he}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"Google reCAPTCHA (v3) Site Key",scrollToId:"recaptcha-site-key"}),description:"Create the key in your reCAPTCHA project, then paste it here.",value:L.reCaptchaPublicKey,onChange:e=>z({...L,reCaptchaPublicKey:e.target.value})}),(0,o.jsx)(ad.S,{disabled:G,label:(0,o.jsx)(de,{text:"Use reCAPTCHA Enterprise",scrollToId:"use-recaptcha-enterprise"}),checked:L.useRecaptchaEnterprise,onChange:e=>z({...L,useRecaptchaEnterprise:e.currentTarget.checked})}),(0,o.jsx)(ad.S,{disabled:G,label:(0,o.jsx)(de,{text:"Use recaptcha.net",scrollToId:"use-recaptcha-net"}),checked:L.useRecaptchaNet,onChange:e=>z({...L,useRecaptchaNet:e.currentTarget.checked})}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"Custom Translations URL",scrollToId:"custom-translations-url"}),description:(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(Bl.E,{size:"sm",m:0,children:["If you want to use custom translations, enter the URL here. The URL should point to a JSON file. Download"," ",(0,o.jsx)("a",{href:"https://wpsuite.io/static/plugins/gatey-translations.json",target:"_blank",rel:"noopener noreferrer",download:!0,children:"sample translations"}),", modify it, and upload it to your server or a public file hosting service."]})}),value:L.customTranslationsUrl,onChange:e=>z({...L,customTranslationsUrl:e.target.value})}),(0,o.jsx)(Kd.Group,{defaultValue:L.enablePoweredBy?[]:["hide"],label:(0,o.jsx)(de,{text:"Hide 'Powered by Gatey' text",scrollToId:"hide-powered-by-gatey"}),description:"Hide the 'Powered by Gatey' text in the login and sign-up forms.",onChange:e=>z({...L,enablePoweredBy:!e.includes("hide")}),children:(0,o.jsx)(Kd,{label:"Hide",value:"hide",mt:"xs"})})]}),(0,o.jsx)(mt.Y,{justify:"flex-end",mt:"lg",children:(0,o.jsx)(gt.$,{loading:G,variant:"gradient",type:"submit",leftSection:(0,o.jsx)(Zp.A,{}),children:"Save General Settings"})})]})}),(0,o.jsx)(Xl.t.Panel,{value:"wordpress-login",w:"100%",children:(0,o.jsxs)("form",{name:"wordpress-login",onSubmit:le,children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:"WordPress Login"}),(0,o.jsx)(Bl.E,{mb:"md",children:"Enable full WordPress login integration using Cognito. Assign roles, override wp-login, and manage secure admin access."}),(0,o.jsxs)(ed.B,{gap:"sm",children:[(0,o.jsx)(ad.S,{disabled:G,label:(0,o.jsx)(de,{text:"Integrate WordPress Login",scrollToId:"integrate-wordpress-login"}),checked:L.integrateWpLogin,onChange:e=>ue(e.currentTarget.checked)}),L.integrateWpLogin&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Dp,{disabled:G,label:(0,o.jsx)(de,{text:"Cookie expiration",scrollToId:"cookie-expiration"}),description:"The number of seconds the cookie should be valid for",value:L.cookieExpiration,onChange:e=>z({...L,cookieExpiration:+e})}),A&&(0,o.jsxs)(R.a,{children:[(0,o.jsx)(Zl.h,{order:4,my:"md",children:(0,o.jsx)(de,{text:"Cognito Group to WordPress Role Mapping",scrollToId:"cognito-group-to-wordpress-role-mapping"})}),(0,o.jsxs)(Up.X,{withTableBorder:!0,children:[(0,o.jsx)(Up.X.Thead,{children:(0,o.jsxs)(Up.X.Tr,{children:[(0,o.jsx)(Up.X.Th,{children:"Cognito Group"}),(0,o.jsx)(Up.X.Th,{children:"WordPress Role"}),(0,o.jsx)(Up.X.Th,{})]})}),(0,o.jsx)(Up.X.Tbody,{children:L.mappings.map((e,t)=>(0,o.jsxs)(Up.X.Tr,{children:[(0,o.jsxs)(Up.X.Td,{children:[y&&(0,o.jsx)(Dd.l,{disabled:G,value:e.cognitoGroup,onChange:e=>ae(t,"cognitoGroup",e),data:m}),!y&&(0,o.jsx)(td.k,{disabled:G,value:e.cognitoGroup,onChange:e=>ae(t,"cognitoGroup",e.target.value)})]}),(0,o.jsx)(Up.X.Td,{children:(0,o.jsx)(Dd.l,{disabled:G,value:e.wordpressRole,onChange:e=>ae(t,"wordpressRole",e),data:w})}),(0,o.jsx)(Up.X.Td,{children:(0,o.jsx)(Gl.M,{disabled:G,variant:"subtle",color:"red",onClick:()=>ce(t),children:(0,o.jsx)(ef,{style:{width:"70%",height:"70%"},stroke:1.5})})})]},t))})]}),(0,o.jsx)(R.a,{ta:"center",children:(0,o.jsx)(gt.$,{disabled:G,variant:"subtle",size:"compact-xs",leftSection:(0,o.jsx)(tf.A,{size:14}),w:"100%",mt:"0.3rem",onClick:se,children:"Add Mapping"})})]})]})]}),(0,o.jsx)(mt.Y,{justify:"flex-end",mt:"lg",children:(0,o.jsx)(gt.$,{loading:G,variant:"gradient",type:"submit",leftSection:(0,o.jsx)(Zp.A,{}),children:"Save WordPress Login Settings"})})]})}),(0,o.jsxs)(Xl.t.Panel,{value:"custom-fields",w:"100%",children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:(0,o.jsx)(de,{text:"Custom Fields",scrollToId:"custom-fields"})}),(0,o.jsx)(Bl.E,{mb:"md",children:"Manage and configure custom form fields for both the admin screens and the front-end."}),!(null!=$?$:X)?.subscriptionType&&(0,o.jsxs)(zp,{variant:"light",color:"yellow",title:"PRO Feature",icon:(0,o.jsx)(rf,{}),mb:"md",children:["This feature is available in the ",(0,o.jsx)("strong",{children:"PRO"})," ","version of the plugin. You can save your settings but they will not take effect until you upgrade your subscription."]}),(null!=$?$:X)&&(0,o.jsx)($y,{amplifyConfigured:B,config:null!=$?$:X,accountId:k,siteId:T,siteKey:N,onSave:pe,InfoLabelComponent:de})]}),(0,o.jsxs)(Xl.t.Panel,{value:"custom-providers",w:"100%",children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:(0,o.jsx)(de,{text:"Custom Providers",scrollToId:"custom-providers"})}),(0,o.jsx)(Bl.E,{mb:"md",children:"Enable the custom login providers shown on the sign-in and sign-up screens."}),"PROFESSIONAL"!==(null!=$?$:X)?.subscriptionType&&(0,o.jsxs)(zp,{variant:"light",color:"yellow",title:"PRO Feature",icon:(0,o.jsx)(rf,{}),mb:"md",children:["This feature is available in the ",(0,o.jsx)("strong",{children:"PRO"})," ","version of the plugin. You can save your settings but they will not take effect until you upgrade your subscription."]}),(null!=$?$:X)&&(0,o.jsx)(Wy,{amplifyConfigured:B,config:null!=$?$:X,accountId:k,siteId:T,siteKey:N,onSave:pe,InfoLabelComponent:de})]}),(0,o.jsxs)(Xl.t.Panel,{value:"api-settings",w:"100%",children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:(0,o.jsx)(de,{text:"API Settings",scrollToId:"api-settings"})}),(0,o.jsx)(Bl.E,{mb:"md",children:"Define secure API endpoints that your frontend can call via Gatey.cognito. Choose API name, authorization, and endpoint URL, then configure sign-in and sign-up hooks."}),"PROFESSIONAL"!==(null!=$?$:X)?.subscriptionType&&(0,o.jsxs)(zp,{variant:"light",color:"yellow",title:"PRO Feature",icon:(0,o.jsx)(rf,{}),mb:"md",children:["This feature is available in the ",(0,o.jsx)("strong",{children:"PRO"})," ","version of the plugin. You can save your settings but they will not take effect until you upgrade your subscription."]}),(null!=$?$:X)&&(0,o.jsx)(Hy,{amplifyConfigured:B,config:null!=$?$:X,accountId:k,siteId:T,siteKey:N,onSave:pe,InfoLabelComponent:de})]})]})})]})})},Jy=["name","family_name","given_name","middle_name","nickname","preferred_username","birthdate","email","phone_number","profile","website"],Qy={respectReducedMotion:!0},Xy=new class{#ve;#B;#z;#be;#Ee;#we;#Se;#Ae;constructor(e={}){this.#ve=e.queryCache||new Qr,this.#B=e.mutationCache||new Zr,this.#z=e.defaultOptions||{},this.#be=new Map,this.#Ee=new Map,this.#we=0}mount(){this.#we++,1===this.#we&&(this.#Se=Lr.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#ve.onFocus())}),this.#Ae=zr.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#ve.onOnline())}))}unmount(){this.#we--,0===this.#we&&(this.#Se?.(),this.#Se=void 0,this.#Ae?.(),this.#Ae=void 0)}isFetching(e){return this.#ve.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#B.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#ve.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=this.#ve.build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(yr(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#ve.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),o=this.#ve.get(n.queryHash),i=o?.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(t,i);if(void 0!==a)return this.#ve.build(this,n).setData(a,{...r,manual:!0})}setQueriesData(e,t,r){return Ur.batch(()=>this.#ve.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#ve.get(t.queryHash)?.state}removeQueries(e){const t=this.#ve;Ur.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const r=this.#ve;return Ur.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=Ur.batch(()=>this.#ve.findAll(e).map(e=>e.cancel(r)));return Promise.all(n).then(hr).catch(hr)}invalidateQueries(e,t={}){return Ur.batch(()=>(this.#ve.findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=Ur.batch(()=>this.#ve.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(hr)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(n).then(hr)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const r=this.#ve.build(this,t);return r.isStaleByTime(yr(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(hr).catch(hr)}fetchInfiniteQuery(e){return e.behavior=tn(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(hr).catch(hr)}ensureInfiniteQueryData(e){return e.behavior=tn(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return zr.isOnline()?this.#B.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#ve}getMutationCache(){return this.#B}getDefaultOptions(){return this.#z}setDefaultOptions(e){this.#z=e}setQueryDefaults(e,t){this.#be.set(Sr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#be.values()],r={};return t.forEach(t=>{Ar(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#Ee.set(Sr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#Ee.values()],r={};return t.forEach(t=>{Ar(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#z.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=wr(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===jr&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#z.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#ve.clear(),this.#B.clear()}}({defaultOptions:{queries:{staleTime:3e5,retry:!1,retryDelay:0}}});(0,n.getStore)().then(t=>{const i=(0,n.getGateyPlugin)();if(!i)throw new Error("Gatey plugin is not available");(0,r.H)(document.getElementById("gatey-admin")).render((0,o.jsx)(e.StrictMode,{children:(0,o.jsx)(an,{client:Xy,children:(0,o.jsxs)(O,{theme:Qy,children:[(0,o.jsx)(lr,{position:"top-right",zIndex:1e5}),(0,o.jsx)(_t,{children:(0,o.jsx)(Yy,{store:t,...i})})]})})}))}).catch(e=>{console.error("Error initializing Gatey Admin:",e)})})()})();1 (()=>{var e,t,r,n,o={114(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextWebDetect=function(){return(0,n.windowExists)()&&window.next&&"object"==typeof window.next},t.nextSSRDetect=function(){return(0,n.globalExists)()&&((0,n.keyPrefixMatch)(globalThis,"__next")||(0,n.keyPrefixMatch)(globalThis,"__NEXT"))};const n=r(62114)},136(e,t,r){"use strict";r.r(t),r.d(t,{Sha256:()=>l});var n=r(31635),o=64,i=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),a=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],s=Math.pow(2,53)-1,c=function(){function e(){this.state=Int32Array.from(a),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>s)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===o&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%o>=56){for(var n=this.bufferLength;n<o;n++)t.setUint8(n,0);this.hashBuffer(),this.bufferLength=0}for(n=this.bufferLength;n<56;n++)t.setUint8(n,0);t.setUint32(56,Math.floor(e/4294967296),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}var i=new Uint8Array(32);for(n=0;n<8;n++)i[4*n]=this.state[n]>>>24&255,i[4*n+1]=this.state[n]>>>16&255,i[4*n+2]=this.state[n]>>>8&255,i[4*n+3]=this.state[n]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],a=t[2],s=t[3],c=t[4],u=t[5],l=t[6],d=t[7],p=0;p<o;p++){if(p<16)this.temp[p]=(255&e[4*p])<<24|(255&e[4*p+1])<<16|(255&e[4*p+2])<<8|255&e[4*p+3];else{var f=this.temp[p-2],h=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,m=((f=this.temp[p-15])>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;this.temp[p]=(h+this.temp[p-7]|0)+(m+this.temp[p-16]|0)}var g=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&u^~c&l)|0)+(d+(i[p]+this.temp[p]|0)|0)|0,y=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&a^n&a)|0;d=l,l=u,u=c,c=s+g|0,s=a,a=n,n=r,r=g+y|0}t[0]+=r,t[1]+=n,t[2]+=a,t[3]+=s,t[4]+=c,t[5]+=u,t[6]+=l,t[7]+=d},e}(),u=r(12392),l=function(){function e(e){this.secret=e,this.hash=new c,this.reset()}return e.prototype.update=function(e){if(!(0,u.Kz)(e)&&!this.error)try{this.hash.update((0,u.pP)(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,n.__awaiter)(this,void 0,void 0,function(){return(0,n.__generator)(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new c,this.secret){this.outer=new c;var e=function(e){var t=(0,u.pP)(e);if(t.byteLength>o){var r=new c;r.update(t),t=r.digest()}var n=new Uint8Array(o);return n.set(t),n}(this.secret),t=new Uint8Array(o);t.set(e);for(var r=0;r<o;r++)e[r]^=54,t[r]^=92;for(this.hash.update(e),this.outer.update(t),r=0;r<e.byteLength;r++)e[r]=0}},e}()},155(e,t,r){"use strict";r.d(t,{X:()=>f});var n=r(3052),o=(r(51609),r(10790),r(88149)),i=r(89569);function a(e,t){const r=(0,i.g)({color:e,theme:t});return"dimmed"===r.color?"var(--mantine-color-dimmed)":"bright"===r.color?"var(--mantine-color-bright)":r.variable?`var(${r.variable})`:r.color}const s={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"},c=["h1","h2","h3","h4","h5","h6"],u=["h1","h2","h3","h4","h5","h6"],l={color:a,textColor:function(e,t){const r=(0,i.g)({color:e,theme:t});return r.isThemeColor&&void 0===r.shade?`var(--mantine-color-${r.color}-text)`:a(e,t)},fontSize:function(e,t){return"string"==typeof e&&e in t.fontSizes?`var(--mantine-font-size-${e})`:"string"==typeof e&&c.includes(e)?`var(--mantine-${e}-font-size)`:"number"==typeof e||"string"==typeof e?(0,o.D)(e):e},spacing:function(e,t){if("number"==typeof e)return(0,o.D)(e);if("string"==typeof e){const r=e.replace("-","");if(!(r in t.spacing))return(0,o.D)(e);const n=`--mantine-spacing-${r}`;return e.startsWith("-")?`calc(var(${n}) * -1)`:`var(${n})`}return e},radius:function(e,t){return"string"==typeof e&&e in t.radius?`var(--mantine-radius-${e})`:"number"==typeof e||"string"==typeof e?(0,o.D)(e):e},identity:function(e){return e},size:function(e){return"number"==typeof e?(0,o.D)(e):e},lineHeight:function(e,t){return"string"==typeof e&&e in t.lineHeights?`var(--mantine-line-height-${e})`:"string"==typeof e&&u.includes(e)?`var(--mantine-${e}-line-height)`:e},fontFamily:function(e){return"string"==typeof e&&e in s?s[e]:e},border:function(e,t){if("number"==typeof e)return(0,o.D)(e);if("string"==typeof e){const[r,n,...i]=e.split(" ").filter(e=>""!==e.trim());let s=`${(0,o.D)(r)}`;return n&&(s+=` ${n}`),i.length>0&&(s+=` ${a(i.join(" "),t)}`),s.trim()}return e}};function d(e){return e.replace("(min-width: ","").replace("em)","")}function p(e,t){return"object"==typeof e&&null!==e&&t in e?e[t]:e}function f({styleProps:e,data:t,theme:r}){return function({media:e,...t}){return{...t,media:Object.keys(e).sort((e,t)=>Number(d(e))-Number(d(t))).map(t=>({query:t,styles:e[t]}))}}((0,n.H)(e).reduce((o,i)=>{if("hiddenFrom"===i||"visibleFrom"===i||"sx"===i)return o;const a=t[i],s=Array.isArray(a.property)?a.property:[a.property],c="object"==typeof(u=e[i])&&null!==u?"base"in u?u.base:void 0:u;var u;if(!function(e){if("object"!=typeof e||null===e)return!1;const t=Object.keys(e);return 1!==t.length||"base"!==t[0]}(e[i]))return s.forEach(e=>{o.inlineStyles[e]=l[a.type](c,r)}),o;o.hasResponsiveStyles=!0;const d=function(e){return"object"==typeof e&&null!==e?(0,n.H)(e).filter(e=>"base"!==e):[]}(e[i]);return s.forEach(t=>{null!=c&&(o.styles[t]=l[a.type](c,r)),d.forEach(n=>{const s=`(min-width: ${r.breakpoints[n]})`;o.media[s]={...o.media[s],[t]:l[a.type](p(e[i],n),r)}})}),o},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}},297(e,t,r){"use strict";r.d(t,{C:()=>o});var n=r(51609);function o(e,t){const r=(0,n.useRef)(!1);(0,n.useEffect)(()=>()=>{r.current=!1},[]),(0,n.useEffect)(()=>{if(r.current)return e();r.current=!0},t)}},761(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMapTo=void 0;var n=r(90680),o=r(10281);t.switchMapTo=function(e,t){return o.isFunction(t)?n.switchMap(function(){return e},t):n.switchMap(function(){return e})}},1058(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphQLResultWithError=void 0;const n=r(11729);t.createGraphQLResultWithError=e=>({data:{},errors:[new n.GraphQLError(e.message,null,null,null,null,e)]})},1101(e,t,r){"use strict";r.d(t,{nW:()=>p,xd:()=>d});var n=r(10790),o=r(51609),i=r(15304),a=r(1518);const s="[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";function c(e){return!(e<0||e>9)&&parseInt(e.toString(),10)===e}function u(e){if(!(e.primaryColor in e.colors))throw new Error("[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");if(!("object"!=typeof e.primaryShade||c(e.primaryShade.dark)&&c(e.primaryShade.light)))throw new Error(s);if("number"==typeof e.primaryShade&&!c(e.primaryShade))throw new Error(s)}const l=(0,o.createContext)(null);function d(){const e=(0,o.useContext)(l);if(!e)throw new Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return e}function p({theme:e,children:t,inherit:r=!0}){const s=(0,o.useContext)(l)||i.S,c=(0,o.useMemo)(()=>function(e,t){if(!t)return u(e),e;const r=(0,a.$)(e,t);return t.fontFamily&&!t.headings?.fontFamily&&(r.headings.fontFamily=t.fontFamily),u(r),r}(r?s:i.S,e),[e,s,r]);return(0,n.jsx)(l.Provider,{value:c,children:t})}p.displayName="@mantine/core/MantineThemeProvider"},1123(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.PlatformNotSupportedError=t.createAssertionFunction=t.ApiError=t.AmplifyError=void 0;var n=r(41185);Object.defineProperty(t,"AmplifyError",{enumerable:!0,get:function(){return n.AmplifyError}});var o=r(13281);Object.defineProperty(t,"ApiError",{enumerable:!0,get:function(){return o.ApiError}});var i=r(88143);Object.defineProperty(t,"createAssertionFunction",{enumerable:!0,get:function(){return i.createAssertionFunction}});var a=r(3147);Object.defineProperty(t,"PlatformNotSupportedError",{enumerable:!0,get:function(){return a.PlatformNotSupportedError}});var s=r(11920);Object.defineProperty(t,"assert",{enumerable:!0,get:function(){return s.assert}})},1230(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CognitoAWSCredentialsAndIdentityIdProvider=void 0;const n=r(56547),o=r(22651),i=r(43518),a=r(73031),s=r(62639),c=r(64166),u=r(28228),l=r(74231),d=r(95392),p=new n.ConsoleLogger("CognitoCredentialsProvider"),f=3e6;t.CognitoAWSCredentialsAndIdentityIdProvider=class{constructor(e){this._nextCredentialsRefresh=0,this._identityIdStore=e}async clearCredentialsAndIdentityId(){p.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){p.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(e){const t=e.authenticated,{tokens:r}=e,{authConfig:n}=e;try{(0,o.assertIdentityPoolIdConfig)(n?.Cognito)}catch{return}if(!t&&!n.Cognito.allowGuestAccess)return;const{forceRefresh:i}=e,a=this.hasTokenChanged(r),s=await(0,l.cognitoIdentityIdProvider)({tokens:r,authConfig:n.Cognito,identityIdStore:this._identityIdStore});return(i||a)&&this.clearCredentials(),t?((0,c.assertIdTokenInAuthTokens)(r),this.credsForOIDCTokens(n.Cognito,r,s)):this.getGuestCredentials(s,n.Cognito)}async getGuestCredentials(e,t){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!1===this._credentialsAndIdentityId.isAuthenticatedCreds)return p.info("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const r=(0,s.getRegionFromIdentityPoolId)(t.identityPoolId),o=(0,n.createGetCredentialsForIdentityClient)({endpointResolver:(0,u.createCognitoIdentityPoolEndpointResolver)({endpointOverride:t.identityPoolEndpoint})});let c;try{c=await o({region:r},{IdentityId:e})}catch(e){throw(0,a.assertServiceError)(e),new i.AuthError(e)}if(c?.Credentials?.AccessKeyId&&c?.Credentials?.SecretKey){this._nextCredentialsRefresh=(new Date).getTime()+f;const t={credentials:{accessKeyId:c.Credentials.AccessKeyId,secretAccessKey:c.Credentials.SecretKey,sessionToken:c.Credentials.SessionToken,expiration:c.Credentials.Expiration},identityId:e};return c.IdentityId&&(t.identityId=c.IdentityId,this._identityIdStore.storeIdentityId({id:c.IdentityId,type:"guest"})),this._credentialsAndIdentityId={...t,isAuthenticatedCreds:!1},t}throw new i.AuthError({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(e,t,r){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!0===this._credentialsAndIdentityId.isAuthenticatedCreds)return p.debug("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const o=t.idToken?(0,d.formLoginsMap)(t.idToken.toString()):{},c=(0,s.getRegionFromIdentityPoolId)(e.identityPoolId),l=(0,n.createGetCredentialsForIdentityClient)({endpointResolver:(0,u.createCognitoIdentityPoolEndpointResolver)({endpointOverride:e.identityPoolEndpoint})});let h;try{h=await l({region:c},{IdentityId:r,Logins:o})}catch(e){throw(0,a.assertServiceError)(e),new i.AuthError(e)}if(h?.Credentials?.AccessKeyId&&h?.Credentials?.SecretKey){this._nextCredentialsRefresh=(new Date).getTime()+f;const e={credentials:{accessKeyId:h.Credentials.AccessKeyId,secretAccessKey:h.Credentials.SecretKey,sessionToken:h.Credentials.SessionToken,expiration:h.Credentials.Expiration},identityId:r};return h.IdentityId&&(e.identityId=h.IdentityId,this._identityIdStore.storeIdentityId({id:h.IdentityId,type:"primary"})),this._credentialsAndIdentityId={...e,isAuthenticatedCreds:!0,associatedIdToken:t.idToken?.toString()},e}throw new i.AuthError({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return void 0===this._nextCredentialsRefresh||this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(e){return!!e&&!!this._credentialsAndIdentityId?.associatedIdToken&&e.idToken?.toString()!==this._credentialsAndIdentityId.associatedIdToken}}},1268(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUpdatedSystemClockOffset=void 0;const n=r(80494);t.getUpdatedSystemClockOffset=(e,t)=>(0,n.isClockSkewed)(e,t)?e-Date.now():t},1478(e,t){"use strict";var r,n,o,i,a,s,c,u,l,d,p,f,h,m;Object.defineProperty(t,"__esModule",{value:!0}),t.StorageAction=t.PushNotificationAction=t.PubSubAction=t.PredictionsAction=t.InteractionsAction=t.InAppMessagingAction=t.GeoAction=t.DataStoreAction=t.AuthAction=t.ApiAction=t.AnalyticsAction=t.AiAction=t.Category=t.Framework=void 0,function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"}(r||(t.Framework=r={})),function(e){e.AI="ai",e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"}(n||(t.Category=n={})),function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnMessage="7",e.Generation="8",e.UpdateConversation="9"}(o||(t.AiAction=o={})),function(e){e.Record="1",e.IdentifyUser="2"}(i||(t.AnalyticsAction=i={})),function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"}(a||(t.ApiAction=a={})),function(e){e.SignUp="1",e.ConfirmSignUp="2",e.ResendSignUpCode="3",e.SignIn="4",e.FetchMFAPreference="6",e.UpdateMFAPreference="7",e.SetUpTOTP="10",e.VerifyTOTPSetup="11",e.ConfirmSignIn="12",e.DeleteUserAttributes="15",e.DeleteUser="16",e.UpdateUserAttributes="17",e.FetchUserAttributes="18",e.ConfirmUserAttribute="22",e.SignOut="26",e.UpdatePassword="27",e.ResetPassword="28",e.ConfirmResetPassword="29",e.FederatedSignIn="30",e.RememberDevice="32",e.ForgetDevice="33",e.FetchDevices="34",e.SendUserAttributeVerificationCode="35",e.SignInWithRedirect="36",e.StartWebAuthnRegistration="37",e.CompleteWebAuthnRegistration="38",e.ListWebAuthnCredentials="39",e.DeleteWebAuthnCredential="40"}(s||(t.AuthAction=s={})),function(e){e.Subscribe="1",e.GraphQl="2"}(c||(t.DataStoreAction=c={})),function(e){e.SearchByText="0",e.SearchByCoordinates="1",e.SearchForSuggestions="2",e.SearchByPlaceId="3",e.SaveGeofences="4",e.GetGeofence="5",e.ListGeofences="6",e.DeleteGeofences="7"}(u||(t.GeoAction=u={})),function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"}(l||(t.InAppMessagingAction=l={})),function(e){e.None="0"}(d||(t.InteractionsAction=d={})),function(e){e.Convert="1",e.Identify="2",e.Interpret="3"}(p||(t.PredictionsAction=p={})),function(e){e.Subscribe="1"}(f||(t.PubSubAction=f={})),function(e){e.InitializePushNotifications="1",e.IdentifyUser="2"}(h||(t.PushNotificationAction=h={})),function(e){e.UploadData="1",e.DownloadData="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6",e.GetUrl="7",e.GetDataAccess="8",e.ListCallerAccessGrants="9"}(m||(t.StorageAction=m={}))},1518(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&!Array.isArray(e)}function o(e,t){const r={...e},i=t;return n(e)&&n(t)&&Object.keys(t).forEach(t=>{n(i[t])?r[t]=t in e?o(r[t],i[t]):i[t]:r[t]=i[t]}),r}r.d(t,{$:()=>o})},1882(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashFromHex=void 0;const n=r(95179),o=r(76803);t.getHashFromHex=e=>(0,o.getHashFromData)((0,n.getBytesFromHex)(e))},1903(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var n=r(48051),o=r(7652),i=r(17214),a=r(5717),s=r(19724);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.argsOrArgArray(e);return new n.Observable(function(e){var t=0,n=function(){if(t<r.length){var o=void 0;try{o=s.innerFrom(r[t++])}catch(e){return void n()}var c=new i.OperatorSubscriber(e,void 0,a.noop,a.noop);o.subscribe(c),c.add(n)}else e.complete()};n()})}},2106(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rememberDevice=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:d}=await(0,n.fetchAuthSession)();(0,i.assertAuthTokens)(d);const p=await(s.tokenOrchestrator?.getDeviceMetadata());(0,i.assertDeviceMetadata)(p);const f=(0,u.createUpdateDeviceStatusClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await f({region:(0,a.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.RememberDevice)},{AccessToken:d.accessToken.toString(),DeviceKey:p.deviceKey,DeviceRememberedStatus:"remembered"})};const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(4870),c=r(17238),u=r(35456),l=r(28228)},2126(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializePkcWithAssertionToJson=t.deserializeJsonToPkcGetOptions=t.serializePkcWithAttestationToJson=t.deserializeJsonToPkcCreationOptions=void 0;const n=r(2504);t.deserializeJsonToPkcCreationOptions=e=>{const t=(0,n.convertBase64UrlToArrayBuffer)(e.user.id),r=(0,n.convertBase64UrlToArrayBuffer)(e.challenge),o=(e.excludeCredentials||[]).map(e=>({...e,id:(0,n.convertBase64UrlToArrayBuffer)(e.id)}));return{...e,excludeCredentials:o,challenge:r,user:{...e.user,id:t}}},t.serializePkcWithAttestationToJson=e=>{const t={clientDataJSON:(0,n.convertArrayBufferToBase64Url)(e.response.clientDataJSON),attestationObject:(0,n.convertArrayBufferToBase64Url)(e.response.attestationObject),transports:e.response.getTransports(),publicKeyAlgorithm:e.response.getPublicKeyAlgorithm(),authenticatorData:(0,n.convertArrayBufferToBase64Url)(e.response.getAuthenticatorData())},r=e.response.getPublicKey();r&&(t.publicKey=(0,n.convertArrayBufferToBase64Url)(r));const o={type:e.type,id:e.id,rawId:(0,n.convertArrayBufferToBase64Url)(e.rawId),clientExtensionResults:e.getClientExtensionResults(),response:t};return e.authenticatorAttachment&&(o.authenticatorAttachment=e.authenticatorAttachment),o},t.deserializeJsonToPkcGetOptions=e=>{const t=(0,n.convertBase64UrlToArrayBuffer)(e.challenge),r=(e.allowCredentials||[]).map(e=>({...e,id:(0,n.convertBase64UrlToArrayBuffer)(e.id)}));return{...e,challenge:t,allowCredentials:r}},t.serializePkcWithAssertionToJson=e=>{const t={clientDataJSON:(0,n.convertArrayBufferToBase64Url)(e.response.clientDataJSON),authenticatorData:(0,n.convertArrayBufferToBase64Url)(e.response.authenticatorData),signature:(0,n.convertArrayBufferToBase64Url)(e.response.signature)};e.response.userHandle&&(t.userHandle=(0,n.convertArrayBufferToBase64Url)(e.response.userHandle));const r={id:e.id,rawId:(0,n.convertArrayBufferToBase64Url)(e.rawId),type:e.type,clientExtensionResults:e.getClientExtensionResults(),response:t};return e.authenticatorAttachment&&(r.authenticatorAttachment=e.authenticatorAttachment),r}},2412(e,t,r){"use strict";r.d(t,{D_:()=>i,P9:()=>a});var n=r(10790),o=r(51609);function i(e){return e}function a(e){const t=(0,o.forwardRef)(e);return t.extend=i,t.withProps=e=>{const r=(0,o.forwardRef)((r,o)=>(0,n.jsx)(t,{...e,...r,ref:o}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t}},2492(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepFreeze=void 0,t.deepFreeze=e=>{const r=Reflect.ownKeys(e);for(const n of r){const r=e[n];(r&&"object"==typeof r||"function"==typeof r)&&(0,t.deepFreeze)(r)}return Object.freeze(e)}},2504(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64UrlToArrayBuffer=t.convertArrayBufferToBase64Url=void 0;var n=r(30247);Object.defineProperty(t,"convertArrayBufferToBase64Url",{enumerable:!0,get:function(){return n.convertArrayBufferToBase64Url}}),Object.defineProperty(t,"convertBase64UrlToArrayBuffer",{enumerable:!0,get:function(){return n.convertBase64UrlToArrayBuffer}})},2554(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CONNECTION_STATE_CHANGE=t.graphqlOperation=t.GraphQLAPIClass=t.GraphQLAPI=t.events=void 0;const n=r(31635),o=n.__importStar(r(30157));t.events=o;var i=r(91339);Object.defineProperty(t,"GraphQLAPI",{enumerable:!0,get:function(){return i.GraphQLAPI}}),Object.defineProperty(t,"GraphQLAPIClass",{enumerable:!0,get:function(){return i.GraphQLAPIClass}}),Object.defineProperty(t,"graphqlOperation",{enumerable:!0,get:function(){return i.graphqlOperation}}),n.__exportStar(r(82192),t);var a=r(57186);Object.defineProperty(t,"CONNECTION_STATE_CHANGE",{enumerable:!0,get:function(){return a.CONNECTION_STATE_CHANGE}}),n.__exportStar(r(67060),t)},2574(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeInternals=void 0;var n=r(19724),o=r(28619),i=r(17214);t.mergeInternals=function(e,t,r,a,s,c,u,l){var d=[],p=0,f=0,h=!1,m=function(){!h||d.length||p||t.complete()},g=function(e){return p<a?y(e):d.push(e)},y=function(e){c&&t.next(e),p++;var l=!1;n.innerFrom(r(e,f++)).subscribe(i.createOperatorSubscriber(t,function(e){null==s||s(e),c?g(e):t.next(e)},function(){l=!0},void 0,function(){if(l)try{p--;for(var e=function(){var e=d.shift();u?o.executeSchedule(t,u,function(){return y(e)}):y(e)};d.length&&p<a;)e();m()}catch(e){t.error(e)}}))};return e.subscribe(i.createOperatorSubscriber(t,g,function(){h=!0,m()})),function(){null==l||l()}}},2708(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var i=r(10281),a=r(69879),s=r(93728),c=r(32980),u=r(5717),l=r(42767),d=r(94808),p=r(12688),f=function(e){function r(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,a.isSubscription(r)&&r.add(n)):n.destination=t.EMPTY_OBSERVER,n}return o(r,e),r.create=function(e,t,r){return new y(e,t,r)},r.prototype.next=function(e){this.isStopped?b(l.nextNotification(e),this):this._next(e)},r.prototype.error=function(e){this.isStopped?b(l.errorNotification(e),this):(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped?b(l.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(a.Subscription);t.Subscriber=f;var h=Function.prototype.bind;function m(e,t){return h.call(e,t)}var g=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){v(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){v(e)}else v(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){v(e)}},e}(),y=function(e){function t(t,r,n){var o,a,c=e.call(this)||this;return i.isFunction(t)||!t?o={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:c&&s.config.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return c.unsubscribe()},o={next:t.next&&m(t.next,a),error:t.error&&m(t.error,a),complete:t.complete&&m(t.complete,a)}):o=t,c.destination=new g(o),c}return o(t,e),t}(f);function v(e){s.config.useDeprecatedSynchronousErrorHandling?p.captureError(e):c.reportUnhandledError(e)}function b(e,t){var r=s.config.onStoppedNotification;r&&d.timeoutProvider.setTimeout(function(){return r(e,t)})}t.SafeSubscriber=y,t.EMPTY_OBSERVER={closed:!0,next:u.noop,error:function(e){throw e},complete:u.noop}},2733(e){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}return function t(r,n){function o(t,o,i){if("undefined"!=typeof document){"number"==typeof(i=e({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=t+"="+r.write(o,t)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var i=t[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(n[s]=r.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){o(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},2757(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInAppMessages=void 0;const n=r(91537),o=r(50057),i=r(6465),a=r(39930),s=r(11923),c=r(53838);t.getInAppMessages=(0,o.composeServiceApi)(n.authenticatedHandler,({ApplicationId:e="",EndpointId:t=""},r)=>{const n=(0,c.getSharedHeaders)(),o=new s.AmplifyUrl(r.url);return o.pathname=`v1/apps/${(0,i.extendedEncodeURIComponent)(e)}/endpoints/${(0,i.extendedEncodeURIComponent)(t)}/inappmessages`,{method:"GET",headers:n,url:o}},async e=>{if(e.statusCode>=300)throw await(0,a.parseJsonError)(e);{const{InAppMessageCampaigns:t}=await(0,a.parseJsonBody)(e);return{InAppMessagesResponse:{InAppMessageCampaigns:t},$metadata:(0,a.parseMetadata)(e)}}},c.defaultConfig)},2884(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0,t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},2959(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreElements=void 0;var n=r(65212),o=r(17214),i=r(5717);t.ignoreElements=function(){return n.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,i.noop))})}},3052(e,t,r){"use strict";function n(e){return Object.keys(e)}r.d(t,{H:()=>n})},3143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0;var n=r(65212),o=r(5717),i=r(17214),a=r(19724);t.debounce=function(e){return n.operate(function(t,r){var n=!1,s=null,c=null,u=function(){if(null==c||c.unsubscribe(),c=null,n){n=!1;var e=s;s=null,r.next(e)}};t.subscribe(i.createOperatorSubscriber(r,function(t){null==c||c.unsubscribe(),n=!0,s=t,c=i.createOperatorSubscriber(r,u,o.noop),a.innerFrom(e(t)).subscribe(c)},function(){u(),r.complete()},void 0,function(){s=c=null}))})}},3147(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformNotSupportedError=void 0;const n=r(27745),o=r(41185);class i extends o.AmplifyError{constructor(){super({name:n.AmplifyErrorCode.PlatformNotSupported,message:"Function not supported on current platform"})}}t.PlatformNotSupportedError=i},3352(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=void 0;var n=r(65212),o=r(17214),i=r(87699),a=r(5825),s=r(19724);t.retry=function(e){var t;void 0===e&&(e=1/0);var r=(t=e&&"object"==typeof e?e:{count:e}).count,c=void 0===r?1/0:r,u=t.delay,l=t.resetOnSuccess,d=void 0!==l&&l;return c<=0?i.identity:n.operate(function(e,t){var r,n=0,i=function(){var l=!1;r=e.subscribe(o.createOperatorSubscriber(t,function(e){d&&(n=0),t.next(e)},void 0,function(e){if(n++<c){var d=function(){r?(r.unsubscribe(),r=null,i()):l=!0};if(null!=u){var p="number"==typeof u?a.timer(u):s.innerFrom(u(e,n)),f=o.createOperatorSubscriber(t,function(){f.unsubscribe(),d()},function(){t.complete()});p.subscribe(f)}else d()}else t.error(e)})),l&&(r.unsubscribe(),r=null,i())};i()})}},3427(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoUserPoolTransferHandler=void 0;var n=r(31240);Object.defineProperty(t,"cognitoUserPoolTransferHandler",{enumerable:!0,get:function(){return n.cognitoUserPoolTransferHandler}})},3944(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InMemoryStorage=void 0,t.InMemoryStorage=class{constructor(){this.storage=new Map}get length(){return this.storage.size}key(e){return e>this.length-1?null:Array.from(this.storage.keys())[e]}setItem(e,t){this.storage.set(e,t)}getItem(e){return this.storage.get(e)??null}removeItem(e){this.storage.delete(e)}clear(){this.storage.clear()}}},3957(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithCustomSRPAuth=async function(e){const{username:t,password:r,options:h}=e,m={loginId:t,authFlowType:"CUSTOM_WITH_SRP"},g=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(g);const y=h?.clientMetadata;(0,a.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptySignInUsername),(0,a.assertValidationError)(!!r,i.AuthValidationErrorCode.EmptySignInPassword);try{const{ChallengeName:e,ChallengeParameters:n,AuthenticationResult:o,Session:i}=await(0,c.handleCustomSRPAuthFlow)(t,r,y,g,d.tokenOrchestrator),a=(0,c.getActiveSignInUsername)(t);return(0,u.setActiveSignInState)({signInSession:i,username:a,challengeName:e,signInDetails:m}),o?(await(0,l.cacheCognitoTokens)({username:a,...o,NewDeviceMetadata:await(0,f.getNewDeviceMetadata)({userPoolId:g.userPoolId,userPoolEndpoint:g.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:m}),(0,u.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:e,challengeParameters:n})}catch(e){(0,u.resetActiveSignInState)(),(0,s.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(73031),c=r(78040),u=r(27861),l=r(55794),d=r(4870),p=r(84539),f=r(66542)},3977(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDnsSuffix=void 0;var n=r(93839);Object.defineProperty(t,"getDnsSuffix",{enumerable:!0,get:function(){return n.getDnsSuffix}})},4010(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionListener=void 0;const n=r(6441),o=new Set;t.SessionListener=class{constructor(){this.listenerActive=!1,this.handleVisibilityChange=this.handleVisibilityChange.bind(this),(0,n.isBrowser)()&&(document.addEventListener("visibilitychange",this.handleVisibilityChange,!1),this.listenerActive=!0)}addStateChangeListener(e,t=!1){this.listenerActive&&(o.add(e),t&&e(this.getSessionState()))}removeStateChangeListener(e){this.listenerActive&&o.delete(e)}handleVisibilityChange(){this.notifyHandlers()}notifyHandlers(){const e=this.getSessionState();o.forEach(t=>{t(e)})}getSessionState(){return(0,n.isBrowser)()&&"hidden"!==document.visibilityState?"started":"ended"}}},4463(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAmplifyUserAgent=t.getAmplifyUserAgentObject=t.Platform=t.sanitizeAmplifyVersion=void 0;const n=r(1478),o=r(72223),i=r(33990),a=r(76638),s="aws-amplify";t.sanitizeAmplifyVersion=e=>e.replace(/\+.*/,""),t.Platform=new class{constructor(){this.userAgent=`${s}/${(0,t.sanitizeAmplifyVersion)(o.version)}`}get framework(){return(0,i.detectFramework)()}get isReactNative(){return this.framework===n.Framework.ReactNative||this.framework===n.Framework.Expo}observeFrameworkChanges(e){(0,i.observeFrameworkChanges)(e)}},t.getAmplifyUserAgentObject=({category:e,action:r}={})=>{const n=[[s,(0,t.sanitizeAmplifyVersion)(o.version)]];if(e&&n.push([e,r]),n.push(["framework",(0,i.detectFramework)()]),e&&r){const t=(0,a.getCustomUserAgent)(e,r);t&&t.forEach(e=>{n.push(e)})}return n},t.getAmplifyUserAgent=e=>(0,t.getAmplifyUserAgentObject)(e).map(([e,t])=>e&&t?`${e}/${t}`:e).join(" ")},4571(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reactNativeDetect=function(){return"undefined"!=typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},4870(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AUTH_KEY_PREFIX=t.tokenOrchestrator=t.cognitoUserPoolsTokenProvider=t.TokenOrchestrator=t.createKeysForAuthStorage=t.DefaultTokenStore=t.refreshAuthTokensWithoutDedupe=t.refreshAuthTokens=void 0;var n=r(76772);Object.defineProperty(t,"refreshAuthTokens",{enumerable:!0,get:function(){return n.refreshAuthTokens}}),Object.defineProperty(t,"refreshAuthTokensWithoutDedupe",{enumerable:!0,get:function(){return n.refreshAuthTokensWithoutDedupe}});var o=r(47278);Object.defineProperty(t,"DefaultTokenStore",{enumerable:!0,get:function(){return o.DefaultTokenStore}}),Object.defineProperty(t,"createKeysForAuthStorage",{enumerable:!0,get:function(){return o.createKeysForAuthStorage}});var i=r(28891);Object.defineProperty(t,"TokenOrchestrator",{enumerable:!0,get:function(){return i.TokenOrchestrator}});var a=r(39602);Object.defineProperty(t,"cognitoUserPoolsTokenProvider",{enumerable:!0,get:function(){return a.cognitoUserPoolsTokenProvider}}),Object.defineProperty(t,"tokenOrchestrator",{enumerable:!0,get:function(){return a.tokenOrchestrator}});var s=r(24631);Object.defineProperty(t,"AUTH_KEY_PREFIX",{enumerable:!0,get:function(){return s.AUTH_KEY_PREFIX}})},4915(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HubInternal=t.Hub=t.HubClass=t.AMPLIFY_SYMBOL=void 0;const n=r(69580),o=r(68582),i=r(1123);t.AMPLIFY_SYMBOL="undefined"!=typeof Symbol?Symbol("amplify_default"):"@@amplify_default";const a=new n.ConsoleLogger("Hub");class s{constructor(e){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}_remove(e,t){const r=this.listeners.get(e);r?this.listeners.set(e,[...r.filter(({callback:e})=>e!==t)]):a.warn(`No listeners for ${e}`)}dispatch(e,r,n,o){"string"==typeof e&&this.protectedChannels.indexOf(e)>-1&&(o===t.AMPLIFY_SYMBOL||a.warn(`WARNING: ${e} is protected and dispatching on it can have unintended consequences`));const i={channel:e,payload:{...r},source:n,patternInfo:[]};try{this._toListeners(i)}catch(e){a.error(e)}}listen(e,t,r="noname"){let n;if("function"!=typeof t)throw new i.AmplifyError({name:o.NO_HUBCALLBACK_PROVIDED_EXCEPTION,message:"No callback supplied to Hub"});n=t;let a=this.listeners.get(e);return a||(a=[],this.listeners.set(e,a)),a.push({name:r,callback:n}),()=>{this._remove(e,n)}}_toListeners(e){const{channel:t,payload:r}=e,n=this.listeners.get(t);n&&n.forEach(n=>{a.debug(`Dispatching to ${t} with `,r);try{n.callback(e)}catch(e){a.error(e)}})}}t.HubClass=s,t.Hub=new s("__default__"),t.HubInternal=new s("internal-hub")},5001(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeOAuthFlow=void 0;const n=r(22651),o=r(56547),i=r(55794),a=r(84539),s=r(4870),c=r(19804),u=r(48105),l=r(88516),d=r(80227);t.completeOAuthFlow=async({currentUrl:e,userAgentValue:t,clientId:r,redirectUri:o,responseType:i,domain:a,preferPrivateSession:s})=>{const u=new n.AmplifyUrl(e),l=u.searchParams.get("error"),d=u.searchParams.get("error_description");if(l)throw(0,c.createOAuthError)(d??l);return"code"===i?p({currentUrl:e,userAgentValue:t,clientId:r,redirectUri:o,domain:a,preferPrivateSession:s}):f({currentUrl:e,redirectUri:o,preferPrivateSession:s})};const p=async({currentUrl:e,userAgentValue:t,clientId:r,redirectUri:a,domain:s,preferPrivateSession:u})=>{const p=new n.AmplifyUrl(e),f=p.searchParams.get("code"),m=p.searchParams.get("state");if(!f||!m)throw(0,c.createOAuthError)("User cancelled OAuth flow.");const g=await(0,l.validateState)(m),y="https://"+s+"/oauth2/token",v=await d.oAuthStore.loadPKCE(),b={grant_type:"authorization_code",code:f,client_id:r,redirect_uri:a,...v?{code_verifier:v}:{}},E=Object.entries(b).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&"),{access_token:w,refresh_token:S,id_token:A,error:_,error_message:P,token_type:C,expires_in:I}=await(await fetch(y,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",[n.USER_AGENT_HEADER]:t},body:E})).json();if(_)throw(0,c.createOAuthError)(P??_);const x=(w&&(0,o.decodeJWT)(w).payload.username)??"username";return await(0,i.cacheCognitoTokens)({username:x,AccessToken:w,IdToken:A,RefreshToken:S,TokenType:C,ExpiresIn:I}),h({redirectUri:a,state:g,preferPrivateSession:u})},f=async({currentUrl:e,redirectUri:t,preferPrivateSession:r})=>{const a=new n.AmplifyUrl(e),{id_token:s,access_token:u,state:d,token_type:p,expires_in:f,error_description:m,error:g}=(a.hash??"#").substring(1).split("&").map(e=>e.split("=")).reduce((e,[t,r])=>({...e,[t]:r}),{id_token:void 0,access_token:void 0,state:void 0,token_type:void 0,expires_in:void 0,error_description:void 0,error:void 0});if(g)throw(0,c.createOAuthError)(m??g);if(!u)throw(0,c.createOAuthError)("No access token returned from OAuth flow.");const y=await(0,l.validateState)(d),v=(u&&(0,o.decodeJWT)(u).payload.username)??"username";return await(0,i.cacheCognitoTokens)({username:v,AccessToken:u,IdToken:s,TokenType:p,ExpiresIn:f}),h({redirectUri:t,state:y,preferPrivateSession:r})},h=async({redirectUri:e,state:t,preferPrivateSession:r})=>{await s.tokenOrchestrator.setOAuthMetadata({oauthSignIn:!0}),await d.oAuthStore.clearOAuthData(),await d.oAuthStore.storeOAuthSignIn(!0,r),(0,u.resolveAndClearInflightPromises)(),y(e),m(t)&&o.Hub.dispatch("auth",{event:"customOAuthState",data:(0,n.urlSafeDecode)(g(t))},"Auth",n.AMPLIFY_SYMBOL),o.Hub.dispatch("auth",{event:"signInWithRedirect"},"Auth",n.AMPLIFY_SYMBOL),await(0,a.dispatchSignedInHubEvent)()},m=e=>/-/.test(e),g=e=>e.split("-").splice(1).join("-"),y=e=>{"undefined"!=typeof window&&void 0!==window.history&&window.history.replaceState(window.history.state,"",e)}},5055(e,t,r){"use strict";r.d(t,{$:()=>A});var n=r(10790),o=r(88149),i=(r(51609),r(56324)),a=r(59396),s=r(46100),c=r(52837),u=r(11507),l=r(18639),d=r(24952),p=r(73087),f=r(46076),h=r(2412),m={root:"m_77c9d27d",inner:"m_80f1301b",label:"m_811560b9",section:"m_a74036a",loader:"m_a25b86ee",group:"m_80d6d844",groupSection:"m_70be2a01"};const g={orientation:"horizontal"},y=(0,a.V)((e,{borderWidth:t})=>({group:{"--button-border-width":(0,o.D)(t)}})),v=(0,h.P9)((e,t)=>{const r=(0,s.Y)("ButtonGroup",g,e),{className:o,style:i,classNames:a,styles:l,unstyled:d,orientation:p,vars:f,borderWidth:h,variant:v,mod:b,attributes:E,...w}=(0,s.Y)("ButtonGroup",g,e),S=(0,c.I)({name:"ButtonGroup",props:r,classes:m,className:o,style:i,classNames:a,styles:l,unstyled:d,attributes:E,vars:f,varsResolver:y,rootSelector:"group"});return(0,n.jsx)(u.a,{...S("group"),ref:t,variant:v,mod:[{"data-orientation":p},b],role:"group",...w})});v.classes=m,v.displayName="@mantine/core/ButtonGroup";const b=(0,a.V)((e,{radius:t,color:r,gradient:n,variant:o,autoContrast:a,size:s})=>{const c=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:a});return{groupSection:{"--section-height":(0,i.YC)(s,"section-height"),"--section-padding-x":(0,i.YC)(s,"section-padding-x"),"--section-fz":s?.includes("compact")?(0,i.ny)(s.replace("compact-","")):(0,i.ny)(s),"--section-radius":void 0===t?void 0:(0,i.nJ)(t),"--section-bg":r||o?c.background:void 0,"--section-color":c.color,"--section-bd":r||o?c.border:void 0}}}),E=(0,h.P9)((e,t)=>{const r=(0,s.Y)("ButtonGroupSection",null,e),{className:o,style:i,classNames:a,styles:l,unstyled:d,vars:p,variant:f,gradient:h,radius:g,autoContrast:y,attributes:v,...E}=r,w=(0,c.I)({name:"ButtonGroupSection",props:r,classes:m,className:o,style:i,classNames:a,styles:l,unstyled:d,attributes:v,vars:p,varsResolver:b,rootSelector:"groupSection"});return(0,n.jsx)(u.a,{...w("groupSection"),ref:t,variant:f,...E})});E.classes=m,E.displayName="@mantine/core/ButtonGroupSection";const w={in:{opacity:1,transform:`translate(-50%, calc(-50% + ${(0,o.D)(1)}))`},out:{opacity:0,transform:"translate(-50%, -200%)"},common:{transformOrigin:"center"},transitionProperty:"transform, opacity"},S=(0,a.V)((e,{radius:t,color:r,gradient:n,variant:o,size:a,justify:s,autoContrast:c})=>{const u=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:c});return{root:{"--button-justify":s,"--button-height":(0,i.YC)(a,"button-height"),"--button-padding-x":(0,i.YC)(a,"button-padding-x"),"--button-fz":a?.includes("compact")?(0,i.ny)(a.replace("compact-","")):(0,i.ny)(a),"--button-radius":void 0===t?void 0:(0,i.nJ)(t),"--button-bg":r||o?u.background:void 0,"--button-hover":r||o?u.hover:void 0,"--button-color":u.color,"--button-bd":r||o?u.border:void 0,"--button-hover-color":r||o?u.hoverColor:void 0}}}),A=(0,l.v)((e,t)=>{const r=(0,s.Y)("Button",null,e),{style:o,vars:i,className:a,color:l,disabled:h,children:g,leftSection:y,rightSection:v,fullWidth:b,variant:E,radius:A,loading:_,loaderProps:P,gradient:C,classNames:I,styles:x,unstyled:O,"data-disabled":k,autoContrast:T,mod:N,attributes:j,...R}=r,M=(0,c.I)({name:"Button",props:r,classes:m,className:a,style:o,classNames:I,styles:x,unstyled:O,attributes:j,vars:i,varsResolver:S}),D=!!y,U=!!v;return(0,n.jsxs)(f.N,{ref:t,...M("root",{active:!h&&!_&&!k}),unstyled:O,variant:E,disabled:h||_,mod:[{disabled:h||k,loading:_,block:b,"with-left-section":D,"with-right-section":U},N],...R,children:["boolean"==typeof _&&(0,n.jsx)(p.e,{mounted:_,transition:w,duration:150,children:e=>(0,n.jsx)(u.a,{component:"span",...M("loader",{style:e}),"aria-hidden":!0,children:(0,n.jsx)(d.a,{color:"var(--button-color)",size:"calc(var(--button-height) / 1.8)",...P})})}),(0,n.jsxs)("span",{...M("inner"),children:[y&&(0,n.jsx)(u.a,{component:"span",...M("section"),mod:{position:"left"},children:y}),(0,n.jsx)(u.a,{component:"span",mod:{loading:_},...M("label"),children:g}),v&&(0,n.jsx)(u.a,{component:"span",...M("section"),mod:{position:"right"},children:v})]})]})});A.classes=m,A.displayName="@mantine/core/Button",A.Group=v,A.GroupSection=E},5128(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupBy=void 0;var n=r(48051),o=r(19724),i=r(76808),a=r(65212),s=r(17214);t.groupBy=function(e,t,r,c){return a.operate(function(a,u){var l;t&&"function"!=typeof t?(r=t.duration,l=t.element,c=t.connector):l=t;var d=new Map,p=function(e){d.forEach(e),e(u)},f=function(e){return p(function(t){return t.error(e)})},h=0,m=!1,g=new s.OperatorSubscriber(u,function(t){try{var a=e(t),p=d.get(a);if(!p){d.set(a,p=c?c():new i.Subject);var y=(b=a,E=p,(w=new n.Observable(function(e){h++;var t=E.subscribe(e);return function(){t.unsubscribe(),0===--h&&m&&g.unsubscribe()}})).key=b,w);if(u.next(y),r){var v=s.createOperatorSubscriber(p,function(){p.complete(),null==v||v.unsubscribe()},void 0,void 0,function(){return d.delete(a)});g.add(o.innerFrom(r(y)).subscribe(v))}}p.next(l?l(t):t)}catch(e){f(e)}var b,E,w},function(){return p(function(e){return e.complete()})},f,function(){return d.clear()},function(){return m=!0,0===h});a.subscribe(g)})}},5130(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncSubject=void 0;var i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return o(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t._hasValue,o=t._value,i=t.thrownError,a=t.isStopped,s=t._isComplete;r?e.error(i):(a||s)&&(n&&e.next(o),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,r=t._hasValue,n=t._value;t._isComplete||(this._isComplete=!0,r&&e.prototype.next.call(this,n),e.prototype.complete.call(this))},t}(r(76808).Subject);t.AsyncSubject=i},5205(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalHeaders=void 0,t.getCanonicalHeaders=e=>Object.entries(e).map(([e,t])=>({key:e.toLowerCase(),value:t?.trim().replace(/\s+/g," ")??""})).sort((e,t)=>e.key<t.key?-1:1).map(e=>`${e.key}:${e.value}\n`).join("")},5338(e,t,r){"use strict";var n=r(75795);t.H=n.createRoot,n.hydrateRoot},5362(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zipAll=void 0;var n=r(11415),o=r(80719);t.zipAll=function(e){return o.joinAllInternals(n.zip,e)}},5425(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCompleteWebAuthnRegistrationClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createCompleteWebAuthnRegistrationClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("CompleteWebAuthnRegistration"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},5455(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeOn=void 0;var n=r(65212);t.subscribeOn=function(e,t){return void 0===t&&(t=0),n.operate(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}},5717(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},5760(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userAgentMiddlewareFactory=void 0,t.userAgentMiddlewareFactory=({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>r=>async function(n){if(0===t.trim().length)return await r(n);{const o=e.toLowerCase();return n.headers[o]=n.headers[o]?`${n.headers[o]} ${t}`:t,await r(n)}}},5797(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0;var n=r(62326),o=r(72885),i=r(5825);t.delay=function(e,t){void 0===t&&(t=n.asyncScheduler);var r=i.timer(e,t);return o.delayWhen(function(){return r})}},5825(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timer=void 0;var n=r(48051),o=r(62326),i=r(68596),a=r(85345);t.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=o.async);var s=-1;return null!=t&&(i.isScheduler(t)?r=t:s=t),new n.Observable(function(t){var n=a.isValidDate(e)?+e-r.now():e;n<0&&(n=0);var o=0;return r.schedule(function(){t.closed||(t.next(o++),0<=s?this.schedule(void 0,s):t.complete())},n)})}},5837(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetPassword=async function(e){const{username:t}=e;(0,a.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptyResetPasswordUsername);const r=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(r);const{userPoolClientId:p,userPoolId:f,userPoolEndpoint:h}=r,m=e.options?.clientMetadata,g=(0,u.getUserContextData)({username:t,userPoolId:f,userPoolClientId:p}),y=(0,l.createForgotPasswordClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:h})}),v=(await y({region:(0,s.getRegionFromUserPoolId)(f),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.ResetPassword)},{Username:t,ClientMetadata:m,ClientId:p,UserContextData:g})).CodeDeliveryDetails;return{isPasswordReset:!1,nextStep:{resetPasswordStep:"CONFIRM_RESET_PASSWORD_WITH_CODE",codeDeliveryDetails:{deliveryMedium:v?.DeliveryMedium,destination:v?.Destination,attributeName:v?.AttributeName}}}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(62639),c=r(17238),u=r(99369),l=r(35456),d=r(28228)},6229(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomOperationsProperty=i,t.generateCustomMutationsProperty=function(e,t,r){return i(e,t,"mutations",r)},t.generateCustomQueriesProperty=function(e,t,r){return i(e,t,"queries",r)},t.generateCustomSubscriptionsProperty=function(e,t,r){return i(e,t,"subscriptions",r)};const n=r(59640),o={queries:"query",mutations:"mutation",subscriptions:"subscription"};function i(e,t,r,i){if(!t)return{};const a=t.modelIntrospection;if(!a)return{};const s=a[r];if(!s)return{};const c={},u=null===i(e).amplify;for(const t of Object.values(s))c[t.name]=(0,n.customOpFactory)(e,a,o[r],t,u,i);return c}},6252(e,t,r){"use strict";r.d(t,{Jt:()=>Q,yJ:()=>X});var n=r(16736);class o extends n.x{get response(){return this._response?i(this._response):void 0}constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype),e.response&&(this._response=e.response)}}const i=e=>({...e,headers:{...e.headers}});class a extends o{constructor(e){super(e),this.constructor=a,Object.setPrototypeOf(this,a.prototype)}}class s extends a{constructor(e={}){super({name:"CanceledError",message:"Request is canceled by user",...e}),this.constructor=s,Object.setPrototypeOf(this,s.prototype)}}var c,u=r(20126);!function(e){e.InvalidApiName="InvalidApiName"}(c||(c={}));const l={[c.InvalidApiName]:{message:"API name is invalid.",recoverySuggestion:"Check if the API name matches the one in your configuration or `aws-exports.js`"}};var d=r(53553);const p=async e=>{if(!e)return;const t=await(0,d.F)(f(e));if(t){const r=await(e.body?.text());return h(t,{statusCode:e.statusCode,headers:e.headers,body:r})}},f=e=>{let t;const r=new Proxy(e.body,{get:(e,r,n)=>"json"===r?async()=>{t||(t=e.text());try{return JSON.parse(await t)}catch(e){return{}}}:"text"===r?async()=>(t||(t=e.text()),t):Reflect.get(e,r,n)});return new Proxy(e,{get:(e,t,n)=>"body"===t?r:Reflect.get(e,t,n)})},h=(e,t)=>{const r=new a({name:e?.name,message:e.message,underlyingError:e,response:t});return Object.assign(r,{$metadata:e.$metadata})},m=new(r(84210).C)("RestApis"),g="execute-api",y="us-east-1",v=/^.+\.([a-z0-9-]+)\.([a-z0-9-]+)\.amazonaws\.com/,b=(e,t)=>{const{service:r=g,region:n=y}=t?.amplify.getConfig()?.API?.REST?.[t?.apiName]??{},{hostname:o}=e,[,i,a]=v.exec(o)??[];return i===g?{service:i,region:a??n}:"appsync-api"===i?{service:"appsync",region:a??n}:{service:r,region:n}};var E=r(79097);const w=({headers:e},t)=>!e.authorization&&!!t;var S=r(54359),A=r(68463),_=r(89555),P=r(70547),C=r(82313);const I=e=>Object.keys(e).map(e=>e.toLowerCase()).sort().join(";"),x="X-Amz-Date".toLowerCase(),O="X-Amz-Security-Token".toLowerCase(),k="aws4_request",T="AWS4-HMAC-SHA256",N="UNSIGNED-PAYLOAD";var j=r(136),R=r(80056);const M=(e,t)=>{const r=new j.Sha256(e??void 0);return r.update(t),r.digestSync()},D=(e,t)=>{const r=M(e,t);return(0,R.toHex)(r)},U=e=>Object.entries(e).map(([e,t])=>({key:e.toLowerCase(),value:t?.trim().replace(/\s+/g," ")??""})).sort((e,t)=>e.key<t.key?-1:1).map(e=>`${e.key}:${e.value}\n`).join(""),F=e=>encodeURIComponent(e).replace(/[!'()*]/g,L),L=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,z=(e,t=!0)=>e?t?encodeURIComponent(e).replace(/%2F/g,"/"):e:"/",V=e=>null==e?"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855":H(e)?D(null,e):N,H=e=>e!==N&&("string"==typeof e||ArrayBuffer.isView(e)||$(e)),$=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e),W=e=>new Date(Date.now()+e);var B=r(98306);const K=(0,B.q)(_.Q,[P.L,C.b,({credentials:e,region:t,service:r,uriEscapePath:n=!0})=>{let o;return(i,a)=>async function(s){o=o??0;const c={credentials:"function"==typeof e?await e({forceRefresh:!!a?.isCredentialsExpired}):e,signingDate:W(o),signingRegion:t,signingService:r,uriEscapePath:n},u=await((e,t)=>{const r=(({credentials:e,signingDate:t=new Date,signingRegion:r,signingService:n,uriEscapePath:o=!0})=>{const{accessKeyId:i,secretAccessKey:a,sessionToken:s}=e,{longDate:c,shortDate:u}=(e=>{const t=e.toISOString().replace(/[:-]|\.\d{3}/g,"");return{longDate:t,shortDate:t.slice(0,8)}})(t);return{accessKeyId:i,credentialScope:`${u}/${r}/${n}/${k}`,longDate:c,secretAccessKey:a,sessionToken:s,shortDate:u,signingRegion:r,signingService:n,uriEscapePath:o}})(t),{accessKeyId:n,credentialScope:o,longDate:i,sessionToken:a}=r,s={...e.headers};s.host=e.url.host,s[x]=i,a&&(s[O]=a);const c={...e,headers:s},u=((e,{credentialScope:t,longDate:r,secretAccessKey:n,shortDate:o,signingRegion:i,signingService:a,uriEscapePath:s})=>{const c=(({body:e,headers:t,method:r,url:n},o=!0)=>{return[r,z(n.pathname,o),(i=n.searchParams,Array.from(i).sort(([e,t],[r,n])=>e===r?t<n?-1:1:e<r?-1:1).map(([e,t])=>`${F(e)}=${F(t)}`).join("&")),U(t),I(t),V(e)].join("\n");var i})(e,s),u=((e,t,r)=>[T,e,t,r].join("\n"))(r,t,D(null,c)),l=D(((e,t,r,n)=>{const o=M(`AWS4${e}`,t),i=M(o,r),a=M(i,n);return M(a,k)})(n,o,i,a),u);return l})(c,r),l=`Credential=${n}/${o}`,d=`SignedHeaders=${I(s)}`,p=`Signature=${u}`;return s.authorization=`${T} ${l}, ${d}, ${p}`,c})(s,c),l=await i(u),d=(({headers:e}={})=>e?.date??e?.Date??e?.["x-amz-date"])(l);return d&&(o=((e,t)=>((e,t)=>Math.abs(W(t).getTime()-e)>=3e5)(e,t)?e-Date.now():t)(Date.parse(d),o)),l}}]),G=(0,B.q)(_.Q,[P.L,C.b]),q=e=>{const t=e?.strategy;return"no-retry"===t?()=>Promise.resolve({retryable:!1}):(0,A.D)(p)},Y=async e=>{try{const{credentials:t}=await e.Auth.fetchAuthSession();if(t)return t}catch(e){m.debug("No credentials available, the request will be unsigned.")}return null},J=(e,t,r)=>{const{apiName:n,options:o={},path:i}=t,u=e.libraryOptions?.API?.REST?.timeout?.({apiName:n,method:r}),d=o?.timeout||u||void 0,f=new AbortController,h=f.signal;return function(e,t,r,n){const o=t.signal;let i;if(null!=n){if(n<0)throw new Error("Timeout must be a non-negative number");setTimeout(()=>{i="TimeoutError",t.abort(i)},n)}const a=async()=>{try{const t=await e();if(t.statusCode>=300)throw await p(t);return t}catch(e){if("AbortError"===e.name||!0===o?.aborted){if(i&&"TimeoutError"===i){const e=new Error(`Request timeout after ${n}ms`);throw e.name="TimeoutError",m.debug(e),e}{const t=i??o.reason,r=new s({...t&&{message:t},underlyingError:e,recoverySuggestion:"The API request was explicitly canceled. If this is not intended, validate if you called the `cancel()` function on the API request erroneously."});throw m.debug(r),r}}throw m.debug(e),e}};{const e=e=>{!0!==o.aborted&&(t.abort(e),e&&o.reason!==e&&(i=e))};return{response:a(),cancel:e}}}(async()=>{const t=((e,t,r,n)=>{const o=e.getConfig()?.API?.REST?.[t]?.endpoint;!function(e,t){const{message:r,recoverySuggestion:n}=l[t];if(!e)throw new a({name:t,message:r,recoverySuggestion:n})}(!!o,c.InvalidApiName);try{let e;if(e=E.o.canParse(o+r)?new E.o(o+r):new E.o(o+r,location?.origin),n){const t=new E.g(e.searchParams);Object.entries(n).forEach(([e,r])=>{t.set(e,r)}),e.search=new E.g(t).toString()}return e}catch(e){throw new a({name:c.InvalidApiName,...l[c.InvalidApiName],recoverySuggestion:`Please make sure the REST endpoint URL is a valid URL string. Got ${o}`})}})(e,n,i,o?.queryParams),s=await(e.libraryOptions?.API?.REST?.headers?.({apiName:n})),{headers:u={}}=o,d={...s,...u},p=b(t,{amplify:e,apiName:n});return m.debug(r,t,d,`IAM signing options: ${JSON.stringify(p)}`),(async(e,t,r,n)=>{const{url:o,method:i,headers:a,body:s,withCredentials:c,abortSignal:u,retryStrategy:l}=t,d=s?s instanceof FormData?s:JSON.stringify(s??""):void 0,p=((e,t)=>{const r={};for(const t in e)r[t.toLowerCase()]=e[t];if(t){const e=r["content-type"];e&&(e.startsWith("application/json")||e.startsWith("application/")&&e.includes("+json"))||(r["content-type"]="application/json; charset=UTF-8"),t instanceof FormData&&delete r["content-type"]}return r})(a,s),f={url:o,headers:p,method:i,body:d},{retryStrategy:h,defaultAuthMode:m}=(e=>{const t=e.libraryOptions?.API?.REST?.retryStrategy,r=e.libraryOptions?.API?.REST?.defaultAuthMode;return{retryStrategy:t,defaultAuthMode:r}})(e),g={retryDecider:q(l??h),computeDelay:S.y,withCrossDomainCredentials:c,abortSignal:u};let y,v=null;if("none"!==(t.defaultAuthMode??m)&&(v=await Y(e)),r(f,n)&&v){const e=b(o),t=n?.service??e.service,r=n?.region??e.region;y=await K(f,{...g,credentials:v,region:r,service:t})}else y=await G(f,{...g});return{statusCode:y.statusCode,headers:y.headers,body:y.body}})(e,{...o,url:t,method:r,headers:d,abortSignal:h},w,p)},f,0,d)},Q=e=>((e,t)=>J(e,t,"GET"))(u.H,e),X=e=>((e,t)=>J(e,t,"PUT"))(u.H,e)},6441(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0,t.isBrowser=()=>"undefined"!=typeof window&&void 0!==window.document},6465(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendedEncodeURIComponent=void 0,t.extendedEncodeURIComponent=e=>encodeURIComponent(e).replace(/[!'()*]/g,r);const r=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`},6467(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reachability=void 0;var n=r(32044);Object.defineProperty(t,"Reachability",{enumerable:!0,get:function(){return n.Reachability}})},6628(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFormattedDates=void 0,t.getFormattedDates=e=>{const t=e.toISOString().replace(/[:-]|\.\d{3}/g,"");return{longDate:t,shortDate:t.slice(0,8)}}},6677(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.raceWith=void 0;var i=r(89795),a=r(65212),s=r(87699);t.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?a.operate(function(t,r){i.raceInit(o([t],n(e)))(r)}):s.identity}},6711(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NonRetryableError=void 0;class r extends Error{constructor(){super(...arguments),this.nonRetryable=!0}}t.NonRetryableError=r},6757(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameAction=void 0;var i=r(64772),a=r(35726),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=a.animationFrameProvider.requestAnimationFrame(function(){return t.flush(void 0)})))},t.prototype.recycleAsyncId=function(t,r,n){var o;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i=t.actions;null!=r&&r===t._scheduled&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==r&&(a.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(i.AsyncAction);t.AnimationFrameAction=s},6837(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsPasskeySupported=void 0;const n=r(22651);t.getIsPasskeySupported=()=>(0,n.isBrowser)()&&window.isSecureContext&&"credentials"in navigator&&"function"==typeof window.PublicKeyCredential},6996(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFailure=void 0;const n=r(56547),o=r(22651),i=r(80227),a=r(48105);t.handleFailure=async e=>{(0,a.resolveAndClearInflightPromises)(),await i.oAuthStore.clearOAuthInflightData(),n.Hub.dispatch("auth",{event:"signInWithRedirect_failure",data:{error:e}},"Auth",o.AMPLIFY_SYMBOL)}},7024(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentOutOfRangeError=void 0;var n=r(9619);t.ArgumentOutOfRangeError=n.createErrorClass(function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},7151(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateMFAPreference=async function(e){const{sms:t,totp:r,email:d}=e,p=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(p);const{userPoolEndpoint:f,userPoolId:h}=p,{tokens:m}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,a.assertAuthTokens)(m);const g=(0,c.createSetUserMFAPreferenceClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:f})});await g({region:(0,i.getRegionFromUserPoolId)(h),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.UpdateMFAPreference)},{AccessToken:m.accessToken.toString(),SMSMfaSettings:l(t),SoftwareTokenMfaSettings:l(r),EmailMfaSettings:l(d)})},t.getMFASettings=l;const n=r(56547),o=r(22651),i=r(62639),a=r(64166),s=r(17238),c=r(35456),u=r(28228);function l(e){return"DISABLED"===e?{Enabled:!1}:"PREFERRED"===e?{Enabled:!0,PreferredMfa:!0}:"ENABLED"===e?{Enabled:!0}:"NOT_PREFERRED"===e?{Enabled:!0,PreferredMfa:!1}:void 0}},7245(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var n=r(62326),o=r(44880),i=r(5825);t.throttleTime=function(e,t,r){void 0===t&&(t=n.asyncScheduler);var a=i.timer(e,t);return o.throttle(function(){return a},r)}},7315(e,t,r){"use strict";r.d(t,{UE:()=>oe,ll:()=>X,rD:()=>se,UU:()=>te,jD:()=>ne,mG:()=>ie,ER:()=>ae,cY:()=>Z,BN:()=>ee,Ej:()=>re});const n=["top","right","bottom","left"],o=Math.min,i=Math.max,a=Math.round,s=Math.floor,c=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function d(e,t,r){return i(e,o(t,r))}function p(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}const y=new Set(["top","bottom"]);function v(e){return y.has(f(e))?"y":"x"}function b(e){return m(v(e))}function E(e){return e.replace(/start|end/g,e=>l[e])}const w=["left","right"],S=["right","left"],A=["top","bottom"],_=["bottom","top"];function P(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function C(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function I(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function x(e,t,r){let{reference:n,floating:o}=e;const i=v(t),a=b(t),s=g(a),c=f(t),u="y"===i,l=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[s]/2-o[s]/2;let m;switch(c){case"top":m={x:l,y:n.y-o.height};break;case"bottom":m={x:l,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:d};break;case"left":m={x:n.x-o.width,y:d};break;default:m={x:n.x,y:n.y}}switch(h(t)){case"start":m[a]-=p*(r&&u?-1:1);break;case"end":m[a]+=p*(r&&u?-1:1)}return m}async function O(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=p(t,e),m=C(h),g=s[f?"floating"===d?"reference":"floating":d],y=I(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(g)))||r?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:l,strategy:c})),v="floating"===d?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),E=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},w=I(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:c}):v);return{top:(y.top-w.top+m.top)/E.y,bottom:(w.bottom-y.bottom+m.bottom)/E.y,left:(y.left-w.left+m.left)/E.x,right:(w.right-y.right+m.right)/E.x}}function k(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return n.some(t=>e[t]>=0)}function N(e){const t=o(...e.map(e=>e.left)),r=o(...e.map(e=>e.top));return{x:t,y:r,width:i(...e.map(e=>e.right))-t,height:i(...e.map(e=>e.bottom))-r}}const j=new Set(["left","top"]);var R=r(86635);function M(e){const t=(0,R.L9)(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=(0,R.sb)(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,c=a(r)!==i||a(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function D(e){return(0,R.vq)(e)?e:e.contextElement}function U(e){const t=D(e);if(!(0,R.sb)(t))return c(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=M(t);let s=(i?a(r.width):r.width)/n,u=(i?a(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}const F=c(0);function L(e){const t=(0,R.zk)(e);return(0,R.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:F}function z(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=D(e);let a=c(1);t&&(n?(0,R.vq)(n)&&(a=U(n)):a=U(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==(0,R.zk)(e))&&t}(i,r,n)?L(i):c(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(i){const e=(0,R.zk)(i),t=n&&(0,R.vq)(n)?(0,R.zk)(n):n;let r=e,o=(0,R._m)(r);for(;o&&n&&t!==r;){const e=U(o),t=o.getBoundingClientRect(),n=(0,R.L9)(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,l*=e.y,d*=e.x,p*=e.y,u+=i,l+=a,r=(0,R.zk)(o),o=(0,R._m)(r)}}return I({width:d,height:p,x:u,y:l})}function V(e,t){const r=(0,R.CP)(e).scrollLeft;return t?t.left+r:z((0,R.ep)(e)).left+r}function H(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-V(e,r),y:r.top+t.scrollTop}}const $=new Set(["absolute","fixed"]);function W(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=(0,R.zk)(e),n=(0,R.ep)(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const e=(0,R.Tc)();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}const u=V(n);if(u<=0){const e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else u<=25&&(i+=u);return{width:i,height:a,x:s,y:c}}(e,r);else if("document"===t)n=function(e){const t=(0,R.ep)(e),r=(0,R.CP)(e),n=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=i(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+V(e);const c=-r.scrollTop;return"rtl"===(0,R.L9)(n).direction&&(s+=i(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:c}}((0,R.ep)(e));else if((0,R.vq)(t))n=function(e,t){const r=z(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=(0,R.sb)(e)?U(e):c(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=L(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return I(n)}function B(e,t){const r=(0,R.$4)(e);return!(r===t||!(0,R.vq)(r)||(0,R.eu)(r))&&("fixed"===(0,R.L9)(r).position||B(r,t))}function K(e,t,r){const n=(0,R.sb)(t),o=(0,R.ep)(t),i="fixed"===r,a=z(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=c(0);function l(){u.x=V(o)}if(n||!n&&!i)if(("body"!==(0,R.mq)(t)||(0,R.ZU)(o))&&(s=(0,R.CP)(t)),n){const e=z(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&l();i&&!n&&o&&l();const d=!o||n||i?c(0):H(o,s);return{x:a.left+s.scrollLeft-u.x-d.x,y:a.top+s.scrollTop-u.y-d.y,width:a.width,height:a.height}}function G(e){return"static"===(0,R.L9)(e).position}function q(e,t){if(!(0,R.sb)(e)||"fixed"===(0,R.L9)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,R.ep)(e)===r&&(r=r.ownerDocument.body),r}function Y(e,t){const r=(0,R.zk)(e);if((0,R.Tf)(e))return r;if(!(0,R.sb)(e)){let t=(0,R.$4)(e);for(;t&&!(0,R.eu)(t);){if((0,R.vq)(t)&&!G(t))return t;t=(0,R.$4)(t)}return r}let n=q(e,t);for(;n&&(0,R.Lv)(n)&&G(n);)n=q(n,t);return n&&(0,R.eu)(n)&&G(n)&&!(0,R.sQ)(n)?r:n||(0,R.gJ)(e)||r}const J={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i="fixed"===o,a=(0,R.ep)(n),s=!!t&&(0,R.Tf)(t.floating);if(n===a||s&&i)return r;let u={scrollLeft:0,scrollTop:0},l=c(1);const d=c(0),p=(0,R.sb)(n);if((p||!p&&!i)&&(("body"!==(0,R.mq)(n)||(0,R.ZU)(a))&&(u=(0,R.CP)(n)),(0,R.sb)(n))){const e=z(n);l=U(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}const f=!a||p||i?c(0):H(a,u);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+d.x+f.x,y:r.y*l.y-u.scrollTop*l.y+d.y+f.y}},getDocumentElement:R.ep,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const s=[..."clippingAncestors"===r?(0,R.Tf)(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=(0,R.v9)(e,[],!1).filter(e=>(0,R.vq)(e)&&"body"!==(0,R.mq)(e)),o=null;const i="fixed"===(0,R.L9)(e).position;let a=i?(0,R.$4)(e):e;for(;(0,R.vq)(a)&&!(0,R.eu)(a);){const t=(0,R.L9)(a),r=(0,R.sQ)(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&$.has(o.position)||(0,R.ZU)(a)&&!r&&B(e,a))?n=n.filter(e=>e!==a):o=t,a=(0,R.$4)(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],c=s[0],u=s.reduce((e,r)=>{const n=W(t,r,a);return e.top=i(n.top,e.top),e.right=o(n.right,e.right),e.bottom=o(n.bottom,e.bottom),e.left=i(n.left,e.left),e},W(t,c,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:Y,getElementRects:async function(e){const t=this.getOffsetParent||Y,r=this.getDimensions,n=await r(e.floating);return{reference:K(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=M(e);return{width:t,height:r}},getScale:U,isElement:R.vq,isRTL:function(e){return"rtl"===(0,R.L9)(e).direction}};function Q(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function X(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,p=D(e),f=a||c?[...p?(0,R.v9)(p):[],...(0,R.v9)(t)]:[];f.forEach(e=>{a&&e.addEventListener("scroll",r,{passive:!0}),c&&e.addEventListener("resize",r)});const h=p&&l?function(e,t){let r,n=null;const a=(0,R.ep)(e);function c(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function u(l,d){void 0===l&&(l=!1),void 0===d&&(d=1),c();const p=e.getBoundingClientRect(),{left:f,top:h,width:m,height:g}=p;if(l||t(),!m||!g)return;const y={rootMargin:-s(h)+"px "+-s(a.clientWidth-(f+m))+"px "+-s(a.clientHeight-(h+g))+"px "+-s(f)+"px",threshold:i(0,o(1,d))||1};let v=!0;function b(t){const n=t[0].intersectionRatio;if(n!==d){if(!v)return u();n?u(!1,n):r=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==n||Q(p,e.getBoundingClientRect())||u(),v=!1}try{n=new IntersectionObserver(b,{...y,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(b,y)}n.observe(e)}(!0),c}(p,r):null;let m,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),p&&!d&&y.observe(p),y.observe(t));let v=d?z(e):null;return d&&function t(){const n=z(e);v&&!Q(v,n)&&r(),v=n,m=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{a&&e.removeEventListener("scroll",r),c&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(m)}}const Z=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:s}=t,c=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),a=f(r),s=h(r),c="y"===v(r),u=j.has(a)?-1:1,l=i&&c?-1:1,d=p(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof y&&(g="end"===s?-1*y:y),c?{x:g*l,y:m*u}:{x:m*u,y:g*l}}(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},ee=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=p(e,t),u={x:r,y:n},l=await O(t,c),h=v(f(o)),g=m(h);let y=u[g],b=u[h];if(i){const e="y"===g?"bottom":"right";y=d(y+l["y"===g?"top":"left"],y,y-l[e])}if(a){const e="y"===h?"bottom":"right";b=d(b+l["y"===h?"top":"left"],b,b-l[e])}const E=s.fn({...t,[g]:y,[h]:b});return{...E,data:{x:E.x-r,y:E.y-n,enabled:{[g]:i,[h]:a}}}}}},te=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:c,elements:u}=t,{mainAxis:l=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:I=!0,...x}=p(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const k=f(o),T=v(s),N=f(s)===s,j=await(null==c.isRTL?void 0:c.isRTL(u.floating)),R=m||(N||!I?[P(s)]:function(e){const t=P(e);return[E(e),t,E(t)]}(s)),M="none"!==C;!m&&M&&R.push(...function(e,t,r,n){const o=h(e);let i=function(e,t,r){switch(e){case"top":case"bottom":return r?t?S:w:t?w:S;case"left":case"right":return t?A:_;default:return[]}}(f(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(E)))),i}(s,I,C,j));const D=[s,...R],U=await O(t,x),F=[];let L=(null==(n=i.flip)?void 0:n.overflows)||[];if(l&&F.push(U[k]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=h(e),o=b(e),i=g(o);let a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=P(a)),[a,P(a)]}(o,a,j);F.push(U[e[0]],U[e[1]])}if(L=[...L,{placement:o,overflows:F}],!F.every(e=>e<=0)){var z,V;const e=((null==(z=i.flip)?void 0:z.index)||0)+1,t=D[e];if(t&&("alignment"!==d||T===v(t)||L.every(e=>v(e.placement)!==T||e.overflows[0]>0)))return{data:{index:e,overflows:L},reset:{placement:t}};let r=null==(V=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:V.placement;if(!r)switch(y){case"bestFit":{var H;const e=null==(H=L.filter(e=>{if(M){const t=v(e.placement);return t===T||"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:H[0];e&&(r=e);break}case"initialPlacement":r=s}if(o!==r)return{reset:{placement:r}}}return{}}}},re=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:a,rects:s,platform:c,elements:u}=t,{apply:l=()=>{},...d}=p(e,t),m=await O(t,d),g=f(a),y=h(a),b="y"===v(a),{width:E,height:w}=s.floating;let S,A;"top"===g||"bottom"===g?(S=g,A=y===(await(null==c.isRTL?void 0:c.isRTL(u.floating))?"start":"end")?"left":"right"):(A=g,S="end"===y?"top":"bottom");const _=w-m.top-m.bottom,P=E-m.left-m.right,C=o(w-m[S],_),I=o(E-m[A],P),x=!t.middlewareData.shift;let k=C,T=I;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(T=P),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(k=_),x&&!y){const e=i(m.left,0),t=i(m.right,0),r=i(m.top,0),n=i(m.bottom,0);b?T=E-2*(0!==e||0!==t?e+t:i(m.left,m.right)):k=w-2*(0!==r||0!==n?r+n:i(m.top,m.bottom))}await l({...t,availableWidth:T,availableHeight:k});const N=await c.getDimensions(u.floating);return E!==N.width||w!==N.height?{reset:{rects:!0}}:{}}}},ne=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=p(e,t);switch(n){case"referenceHidden":{const e=k(await O(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:T(e)}}}case"escaped":{const e=k(await O(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:T(e)}}}default:return{}}}}},oe=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:a,platform:s,elements:c,middlewareData:u}=t,{element:l,padding:f=0}=p(e,t)||{};if(null==l)return{};const m=C(f),y={x:r,y:n},v=b(i),E=g(v),w=await s.getDimensions(l),S="y"===v,A=S?"top":"left",_=S?"bottom":"right",P=S?"clientHeight":"clientWidth",I=a.reference[E]+a.reference[v]-y[v]-a.floating[E],x=y[v]-a.reference[v],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let k=O?O[P]:0;k&&await(null==s.isElement?void 0:s.isElement(O))||(k=c.floating[P]||a.floating[E]);const T=I/2-x/2,N=k/2-w[E]/2-1,j=o(m[A],N),R=o(m[_],N),M=j,D=k-w[E]-R,U=k/2-w[E]/2+T,F=d(M,U,D),L=!u.arrow&&null!=h(i)&&U!==F&&a.reference[E]/2-(U<M?j:R)-w[E]/2<0,z=L?U<M?U-M:U-D:0;return{[v]:y[v]+z,data:{[v]:F,centerOffset:U-F-z,...L&&{alignmentOffset:z}},reset:L}}}),ie=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:a,platform:s,strategy:c}=t,{padding:u=2,x:l,y:d}=p(e,t),h=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(n.reference))||[]),m=function(e){const t=e.slice().sort((e,t)=>e.y-t.y),r=[];let n=null;for(let e=0;e<t.length;e++){const o=t[e];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map(e=>I(N(e)))}(h),g=I(N(h)),y=C(u),b=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=l&&null!=d)return m.find(e=>l>e.left-y.left&&l<e.right+y.right&&d>e.top-y.top&&d<e.bottom+y.bottom)||g;if(m.length>=2){if("y"===v(r)){const e=m[0],t=m[m.length-1],n="top"===f(r),o=e.top,i=t.bottom,a=n?e.left:t.left,s=n?e.right:t.right;return{top:o,bottom:i,left:a,right:s,width:s-a,height:i-o,x:a,y:o}}const e="left"===f(r),t=i(...m.map(e=>e.right)),n=o(...m.map(e=>e.left)),a=m.filter(r=>e?r.left===n:r.right===t),s=a[0].top,c=a[a.length-1].bottom;return{top:s,bottom:c,left:n,right:t,width:t-n,height:c-s,x:n,y:s}}return g}},floating:n.floating,strategy:c});return a.reference.x!==b.reference.x||a.reference.y!==b.reference.y||a.reference.width!==b.reference.width||a.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},ae=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=p(e,t),l={x:r,y:n},d=v(o),h=m(d);let g=l[h],y=l[d];const b=p(s,t),E="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(c){const e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+E.mainAxis,r=i.reference[h]+i.reference[e]-E.mainAxis;g<t?g=t:g>r&&(g=r)}if(u){var w,S;const e="y"===h?"width":"height",t=j.has(f(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(w=a.offset)?void 0:w[d])||0)+(t?0:E.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(S=a.offset)?void 0:S[d])||0)-(t?E.crossAxis:0);y<r?y=r:y>n&&(y=n)}return{[h]:g,[d]:y}}}},se=(e,t,r)=>{const n=new Map,o={platform:J,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:d}=x(u,n,c),p=n,f={},h=0;for(let r=0;r<s.length;r++){const{name:i,fn:m}=s[r],{x:g,y,data:v,reset:b}=await m({x:l,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});l=null!=g?g:l,d=null!=y?y:d,f={...f,[i]:{...f[i],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:l,y:d}=x(u,p,c))),r=-1)}return{x:l,y:d,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:i})}},7322(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateEndpoint=void 0;const n=r(90195),o=r(38457),i=r(78121),a=r(11092),s=r(74744),c=r(93586);t.updateEndpoint=async({address:e,appId:t,category:r,channelType:u,credentials:l,identityId:d,optOut:p,region:f,userAttributes:h,userId:m,userProfile:g,userAgentValue:y})=>{const v=await(0,c.getEndpointId)(t,r),b=v?void 0:(0,s.createEndpointId)(t,r),{customProperties:E,demographic:w,email:S,location:A,metrics:_,name:P,plan:C}=g??{},I={},x=b?m??d:m;if(b){const e=(0,i.getClientInfo)();I.appVersion=e.appVersion,I.make=e.make,I.model=e.model,I.modelVersion=e.version,I.platform=e.platform}const O={...I,...w},k={...S&&{email:[S]},...P&&{name:[P]},...C&&{plan:[C]},...E},T=b||w,N=S||E||P||C,j=x||h,R={ApplicationId:t,EndpointId:v??b,EndpointRequest:{RequestId:(0,o.amplifyUuid)(),EffectiveDate:(new Date).toISOString(),ChannelType:u,Address:e,...N&&{Attributes:k},...T&&{Demographic:{AppVersion:O.appVersion,Locale:O.locale,Make:O.make,Model:O.model,ModelVersion:O.modelVersion,Platform:O.platform,PlatformVersion:O.platformVersion,Timezone:O.timezone}},...A&&{Location:{City:A.city,Country:A.country,Latitude:A.latitude,Longitude:A.longitude,PostalCode:A.postalCode,Region:A.region}},Metrics:_,OptOut:p,...j&&{User:{UserId:x,UserAttributes:h}}}};try{await(0,n.updateEndpoint)({credentials:l,region:f,userAgentValue:y},R),b&&await(0,a.cacheEndpointId)(t,r,b)}finally{b&&(0,s.clearCreatedEndpointId)(t,r)}}},7479(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateState=t.oAuthStore=t.completeOAuthFlow=t.handleFailure=t.getRedirectUrl=t.handleOAuthSignOut=t.generateState=t.generateCodeVerifier=void 0;var n=r(75983);Object.defineProperty(t,"generateCodeVerifier",{enumerable:!0,get:function(){return n.generateCodeVerifier}});var o=r(94291);Object.defineProperty(t,"generateState",{enumerable:!0,get:function(){return o.generateState}});var i=r(75995);Object.defineProperty(t,"handleOAuthSignOut",{enumerable:!0,get:function(){return i.handleOAuthSignOut}});var a=r(19506);Object.defineProperty(t,"getRedirectUrl",{enumerable:!0,get:function(){return a.getRedirectUrl}});var s=r(6996);Object.defineProperty(t,"handleFailure",{enumerable:!0,get:function(){return s.handleFailure}});var c=r(5001);Object.defineProperty(t,"completeOAuthFlow",{enumerable:!0,get:function(){return c.completeOAuthFlow}});var u=r(80227);Object.defineProperty(t,"oAuthStore",{enumerable:!0,get:function(){return u.oAuthStore}});var l=r(88516);Object.defineProperty(t,"validateState",{enumerable:!0,get:function(){return l.validateState}})},7641(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","alert-circle","AlertCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]])},7652(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsOrArgArray=void 0;var r=Array.isArray;t.argsOrArgArray=function(e){return 1===e.length&&r(e[0])?e[0]:e}},7884(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withMemoization=t.parseMetadata=t.parseJsonError=t.parseJsonBody=t.userAgentMiddlewareFactory=t.amzSdkRequestHeaderMiddlewareFactory=t.amzSdkInvocationIdHeaderMiddlewareFactory=t.retryMiddlewareFactory=t.jitteredBackoff=t.getRetryDecider=t.signingMiddlewareFactory=t.extendedEncodeURIComponent=t.UNSIGNED_PAYLOAD=t.EMPTY_SHA256_HASH=t.signRequest=t.presignUrl=t.getHashedPayload=t.authenticatedHandler=t.unauthenticatedHandler=t.fetchTransferHandler=t.getDnsSuffix=void 0;const n=r(31635);var o=r(3977);Object.defineProperty(t,"getDnsSuffix",{enumerable:!0,get:function(){return o.getDnsSuffix}});var i=r(19676);Object.defineProperty(t,"fetchTransferHandler",{enumerable:!0,get:function(){return i.fetchTransferHandler}});var a=r(75536);Object.defineProperty(t,"unauthenticatedHandler",{enumerable:!0,get:function(){return a.unauthenticatedHandler}});var s=r(91537);Object.defineProperty(t,"authenticatedHandler",{enumerable:!0,get:function(){return s.authenticatedHandler}});var c=r(36759);Object.defineProperty(t,"getHashedPayload",{enumerable:!0,get:function(){return c.getHashedPayload}}),Object.defineProperty(t,"presignUrl",{enumerable:!0,get:function(){return c.presignUrl}}),Object.defineProperty(t,"signRequest",{enumerable:!0,get:function(){return c.signRequest}});var u=r(15130);Object.defineProperty(t,"EMPTY_SHA256_HASH",{enumerable:!0,get:function(){return u.EMPTY_HASH}}),Object.defineProperty(t,"UNSIGNED_PAYLOAD",{enumerable:!0,get:function(){return u.UNSIGNED_PAYLOAD}});var l=r(6465);Object.defineProperty(t,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return l.extendedEncodeURIComponent}});var d=r(95593);Object.defineProperty(t,"signingMiddlewareFactory",{enumerable:!0,get:function(){return d.signingMiddlewareFactory}});var p=r(92896);Object.defineProperty(t,"getRetryDecider",{enumerable:!0,get:function(){return p.getRetryDecider}}),Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return p.jitteredBackoff}}),Object.defineProperty(t,"retryMiddlewareFactory",{enumerable:!0,get:function(){return p.retryMiddlewareFactory}}),Object.defineProperty(t,"amzSdkInvocationIdHeaderMiddlewareFactory",{enumerable:!0,get:function(){return p.amzSdkInvocationIdHeaderMiddlewareFactory}}),Object.defineProperty(t,"amzSdkRequestHeaderMiddlewareFactory",{enumerable:!0,get:function(){return p.amzSdkRequestHeaderMiddlewareFactory}});var f=r(72674);Object.defineProperty(t,"userAgentMiddlewareFactory",{enumerable:!0,get:function(){return f.userAgentMiddlewareFactory}});var h=r(39930);Object.defineProperty(t,"parseJsonBody",{enumerable:!0,get:function(){return h.parseJsonBody}}),Object.defineProperty(t,"parseJsonError",{enumerable:!0,get:function(){return h.parseJsonError}}),Object.defineProperty(t,"parseMetadata",{enumerable:!0,get:function(){return h.parseMetadata}});var m=r(72580);Object.defineProperty(t,"withMemoization",{enumerable:!0,get:function(){return m.withMemoization}}),n.__exportStar(r(44610),t)},8171(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selfAwareAsync=function(e){let t,r;const n=new Promise((e,n)=>{t=e,r=n});return e(n).then(e=>{t(e)}).catch(e=>{r(e)}),n}},8284(e,t){"use strict";var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.intervalProvider=void 0,t.intervalProvider={setInterval:function(e,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s=t.intervalProvider.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,n([e,o],r(i))):setInterval.apply(void 0,n([e,o],r(i)))},clearInterval:function(e){var r=t.intervalProvider.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0}},8353(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageCache=void 0;const n=r(69580),o=r(44056),i=r(72380),a=r(73655),s=r(98572),c=r(95264),u=new n.ConsoleLogger("StorageCache");class l extends s.StorageCacheCommon{constructor(e){const t=(0,i.getLocalStorageWithFallback)();super({config:e,keyValueStorage:new o.KeyValueStorage(t)}),this.storage=t,this.getItem=this.getItem.bind(this),this.setItem=this.setItem.bind(this),this.removeItem=this.removeItem.bind(this)}async getAllCacheKeys(e){const{omitSizeKey:t}=e??{},r=[];for(let e=0;e<this.storage.length;e++){const n=this.storage.key(e);t&&n===(0,c.getCurrentSizeKey)(this.config.keyPrefix)||n?.startsWith(this.config.keyPrefix)&&r.push(n.substring(this.config.keyPrefix.length))}return r}createInstance(e){return e.keyPrefix&&e.keyPrefix!==a.defaultConfig.keyPrefix||(u.error("invalid keyPrefix, setting keyPrefix with timeStamp"),e.keyPrefix=c.getCurrentTime.toString()),new l(e)}}t.StorageCache=l},8404(e,t,r){"use strict";r.d(t,{K7:()=>n,Q8:()=>i,jy:()=>o,mU:()=>a});const n=3,o="amz-sdk-invocation-id",i="amz-sdk-request",a=3e5},8816(e,t,r){"use strict";r.d(t,{I:()=>d,M:()=>l});var n=r(10790),o=r(51609),i=r(31422),a=r(56324),s=r(52837),c=r(11507),u={root:"m_5f75b09e",body:"m_5f6e695e",labelWrapper:"m_d3ea56bb",label:"m_8ee546b8",description:"m_328f68c0",error:"m_8e8a99cc"};const l=u,d=(0,o.forwardRef)(({__staticSelector:e,__stylesApiProps:t,className:r,classNames:o,styles:l,unstyled:d,children:p,label:f,description:h,id:m,disabled:g,error:y,size:v,labelPosition:b="left",bodyElement:E="div",labelElement:w="label",variant:S,style:A,vars:_,mod:P,attributes:C,...I},x)=>{const O=(0,s.I)({name:e,props:t,className:r,style:A,classes:u,classNames:o,styles:l,unstyled:d,attributes:C});return(0,n.jsx)(c.a,{...O("root"),ref:x,__vars:{"--label-fz":(0,a.ny)(v),"--label-lh":(0,a.YC)(v,"label-lh")},mod:[{"label-position":b},P],variant:S,size:v,...I,children:(0,n.jsxs)(c.a,{component:E,htmlFor:"label"===E?m:void 0,...O("body"),children:[p,(0,n.jsxs)("div",{...O("labelWrapper"),"data-disabled":g||void 0,children:[f&&(0,n.jsx)(c.a,{component:w,htmlFor:"label"===w?m:void 0,...O("label"),"data-disabled":g||void 0,children:f}),h&&(0,n.jsx)(i.p.Description,{size:v,__inheritStyles:!1,...O("description"),children:h}),y&&"boolean"!=typeof y&&(0,n.jsx)(i.p.Error,{size:v,__inheritStyles:!1,...O("error"),children:y})]})]})})});d.displayName="@mantine/core/InlineInput"},9021(e,t,r){"use strict";r.d(t,{I:()=>o});var n=r(86945);function o(e,t){return(0,n.U)("(prefers-reduced-motion: reduce)",e,t)}},9255(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.urlSafeEncode=function(e){return e.split("").map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("")}},9287(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferCount=void 0;var o=r(65212),i=r(17214),a=r(54830);t.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,o.operate(function(r,o){var s=[],c=0;r.subscribe(i.createOperatorSubscriber(o,function(r){var i,u,l,d,p=null;c++%t===0&&s.push([]);try{for(var f=n(s),h=f.next();!h.done;h=f.next())(y=h.value).push(r),e<=y.length&&(p=null!=p?p:[]).push(y)}catch(e){i={error:e}}finally{try{h&&!h.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}if(p)try{for(var m=n(p),g=m.next();!g.done;g=m.next()){var y=g.value;a.arrRemove(s,y),o.next(y)}}catch(e){l={error:e}}finally{try{g&&!g.done&&(d=m.return)&&d.call(m)}finally{if(l)throw l.error}}},function(){var e,t;try{for(var r=n(s),i=r.next();!i.done;i=r.next()){var a=i.value;o.next(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}o.complete()},void 0,function(){s=null}))})}},9330(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var i=r(65212),a=r(68087),s=r(26404),c=r(47058);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.popScheduler(e),u=s.popNumber(e,1/0);return i.operate(function(t,i){a.mergeAll(u)(c.from(o([t],n(e)),r)).subscribe(i)})}},9515(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CognitoUserPoolsTokenProvider=void 0;const n=r(56547),o=r(76772),i=r(47278),a=r(28891);t.CognitoUserPoolsTokenProvider=class{constructor(){this.authTokenStore=new i.DefaultTokenStore,this.authTokenStore.setKeyValueStorage(n.defaultStorage),this.tokenOrchestrator=new a.TokenOrchestrator,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(o.refreshAuthTokens)}getTokens(e={}){return this.tokenOrchestrator.getTokens(e)}setKeyValueStorage(e){this.authTokenStore.setKeyValueStorage(e)}setClientMetadataProvider(e){this.tokenOrchestrator.setClientMetadataProvider(e)}setAuthConfig(e){this.authTokenStore.setAuthConfig(e),this.tokenOrchestrator.setAuthConfig(e)}}},9543(e,t,r){"use strict";r.d(t,{_b:()=>c,$e:()=>u,__:()=>i,E$:()=>a});var n=r(45727),o=r(51609);const i=function(){let e={notifications:[],queue:[],defaultPosition:"bottom-right",limit:5},t=!1;const r=new Set;return{getState:()=>e,updateState(t){e="function"==typeof t?t(e):t},setState(t){this.updateState(t),r.forEach(t=>t(e))},initialize(r){t||(e=r,t=!0)},subscribe:e=>(r.add(e),()=>r.delete(e))}}(),a=(e=i)=>function(e){return(0,o.useSyncExternalStore)(e.subscribe,()=>e.getState(),()=>e.getState())}(e);function s(e,t){const r=e.getState(),n=function(e,t,r){const n=[],o=[],i={};for(const a of e){const e=a.position||t;i[e]=i[e]||0,i[e]+=1,i[e]<=r?o.push(a):n.push(a)}return{notifications:o,queue:n}}(t([...r.notifications,...r.queue]),r.defaultPosition,r.limit);e.setState({notifications:n.notifications,queue:n.queue,limit:r.limit,defaultPosition:r.defaultPosition})}function c(e,t=i){return s(t,t=>t.filter(t=>t.id!==e||(t.onClose?.(t),!1))),e}const u={show:function(e,t=i){const r=e.id||(0,n.z)();return s(t,t=>e.id&&t.some(t=>t.id===e.id)?t:[...t,{...e,id:r}]),r},hide:c,update:function(e,t=i){return s(t,t=>t.map(t=>t.id===e.id?{...t,...e}:t)),e.id},clean:function(e=i){s(e,()=>[])},cleanQueue:function(e=i){s(e,t=>t.slice(0,e.getState().limit))},updateState:s}},9609(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleWebAuthnSignInResult=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{username:r,signInSession:y,signInDetails:v,challengeName:b}=d.signInStore.getState();if("WEB_AUTHN"!==b||!r)throw new m.AuthError({name:i.AuthErrorCodes.SignInException,message:"Unable to proceed due to invalid sign in state."});const{CREDENTIAL_REQUEST_OPTIONS:E}=e;(0,h.assertPasskeyError)(!!E,h.PasskeyErrorCode.InvalidPasskeyAuthenticationOptions);const w=await(0,f.getPasskey)(JSON.parse(E)),S=(0,a.createRespondToAuthChallengeClient)({endpointResolver:(0,c.createCognitoUserPoolEndpointResolver)({endpointOverride:t.userPoolEndpoint})}),{ChallengeName:A,ChallengeParameters:_,AuthenticationResult:P,Session:C}=await S({region:(0,s.getRegionFromUserPoolId)(t.userPoolId),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},{ChallengeName:"WEB_AUTHN",ChallengeResponses:{USERNAME:r,CREDENTIAL:JSON.stringify(w)},ClientId:t.userPoolClientId,Session:y});if((0,d.setActiveSignInState)({signInSession:C,username:r,challengeName:A,signInDetails:v}),P)return await(0,u.cacheCognitoTokens)({...P,username:r,NewDeviceMetadata:await(0,g.getNewDeviceMetadata)({userPoolId:t.userPoolId,userPoolEndpoint:t.userPoolEndpoint,newDeviceMetadata:P.NewDeviceMetadata,accessToken:P.AccessToken}),signInDetails:v}),d.signInStore.dispatch({type:"RESET_STATE"}),await(0,l.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};if("WEB_AUTHN"===A)throw new m.AuthError({name:i.AuthErrorCodes.SignInException,message:"Sequential WEB_AUTHN challenges returned from underlying service cannot be handled."});return{challengeName:A,challengeParameters:_}};const n=r(56547),o=r(22651),i=r(70928),a=r(35456),s=r(62639),c=r(28228),u=r(55794),l=r(84539),d=r(33826),p=r(17238),f=r(97963),h=r(67579),m=r(43518),g=r(66542)},9619(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorClass=void 0,t.createErrorClass=function(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},9686(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundManagerNotOpenError=void 0;class r extends Error{constructor(e){super(`BackgroundManagerNotOpenError: ${e}`)}}t.BackgroundManagerNotOpenError=r},9901(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoHostedUIIdentityProviderMap=void 0,t.cognitoHostedUIIdentityProviderMap={Google:"Google",Facebook:"Facebook",Amazon:"LoginWithAmazon",Apple:"SignInWithApple"}},9998(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createVerifySoftwareTokenClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createVerifySoftwareTokenClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("VerifySoftwareToken"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},10154(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUpdateUserAttributesClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createUpdateUserAttributesClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("UpdateUserAttributes"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},10281(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},10334(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Signer=void 0;var n=r(52382);Object.defineProperty(t,"Signer",{enumerable:!0,get:function(){return n.Signer}})},10381(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaySubject=void 0;var i=r(76808),a=r(93275),s=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=a.dateTimestampProvider);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,r),o}return o(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,a=r._timestampProvider,s=r._windowTime;n||(o.push(t),!i&&o.push(a.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,o=e._infiniteTimeWindow,i=(o?1:2)*t;if(t<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var a=r.now(),s=0,c=1;c<n.length&&n[c]<=a;c+=2)s=c;s&&n.splice(0,s+1)}},t}(i.Subject);t.ReplaySubject=s},10435(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detect=function(){return f.find(e=>e.detectionMethod())?.platform||n.Framework.ServerSideUnknown};const n=r(1478),o=r(14596),i=r(13119),a=r(59663),s=r(114),c=r(22626),u=r(72049),l=r(4571),d=r(63407),p=r(97209),f=[{platform:n.Framework.Expo,detectionMethod:d.expoDetect},{platform:n.Framework.ReactNative,detectionMethod:l.reactNativeDetect},{platform:n.Framework.NextJs,detectionMethod:s.nextWebDetect},{platform:n.Framework.Nuxt,detectionMethod:c.nuxtWebDetect},{platform:n.Framework.Angular,detectionMethod:u.angularWebDetect},{platform:n.Framework.React,detectionMethod:o.reactWebDetect},{platform:n.Framework.VueJs,detectionMethod:i.vueWebDetect},{platform:n.Framework.Svelte,detectionMethod:a.svelteWebDetect},{platform:n.Framework.WebUnknown,detectionMethod:p.webDetect},{platform:n.Framework.NextJsSSR,detectionMethod:s.nextSSRDetect},{platform:n.Framework.NuxtSSR,detectionMethod:c.nuxtSSRDetect},{platform:n.Framework.ReactSSR,detectionMethod:o.reactSSRDetect},{platform:n.Framework.VueJsSSR,detectionMethod:i.vueSSRDetect},{platform:n.Framework.AngularSSR,detectionMethod:u.angularSSRDetect},{platform:n.Framework.SvelteSSR,detectionMethod:a.svelteSSRDetect}]},10605(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentSizeKey=void 0,t.getByteLength=function(e){let t=0;t=e.length;for(let r=e.length;r>=0;r-=1){const n=e.charCodeAt(r);n>127&&n<=2047?t+=1:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&(r-=1)}return t},t.getCurrentTime=function(){return(new Date).getTime()},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};const n=r(73655);t.getCurrentSizeKey=e=>`${e}${n.currentSizeKey}`},10706(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffer=void 0;var n=r(65212),o=r(5717),i=r(17214),a=r(19724);t.buffer=function(e){return n.operate(function(t,r){var n=[];return t.subscribe(i.createOperatorSubscriber(r,function(e){return n.push(e)},function(){r.next(n),r.complete()})),a.innerFrom(e).subscribe(i.createOperatorSubscriber(r,function(){var e=n;n=[],r.next(e)},o.noop)),function(){n=null}})}},10715(e,t,r){"use strict";r.d(t,{i:()=>f});var n=r(10790),o=r(34164),i=r(15333),a=r(63089),s=r(43748),c=r(58455);function u({options:e,search:t,limit:r}){const n=t.trim().toLowerCase(),o=[];for(let i=0;i<e.length;i+=1){const a=e[i];if(o.length===r)return o;(0,c.c)(a)&&o.push({group:a.group,items:u({options:a.items,search:t,limit:r-o.length})}),(0,c.c)(a)||a.label.toLowerCase().includes(n)&&o.push(a)}return o}function l(e,t=new Set){if(Array.isArray(e))for(const r of e)if((0,c.c)(r))l(r.items,t);else{if(void 0===r.value)throw new Error("[@mantine/core] Each option must have value property");if("string"!=typeof r.value)throw new Error("[@mantine/core] Option value must be a string, other data formats are not supported, got "+typeof r.value);if(t.has(r.value))throw new Error(`[@mantine/core] Duplicate options are not supported. Option with value "${r.value}" was provided more than once`);t.add(r.value)}}var d=r(87986);function p({data:e,withCheckIcon:t,withAlignedLabels:r,value:a,checkIconPosition:u,unstyled:l,renderOption:f}){if(!(0,c.c)(e)){const c=function(e,t){return Array.isArray(e)?e.includes(t):e===t}(a,e.value),p=t&&(c?(0,n.jsx)(i.S,{className:d.A.optionsDropdownCheckIcon}):r?(0,n.jsx)("div",{className:d.A.optionsDropdownCheckPlaceholder}):null),h=(0,n.jsxs)(n.Fragment,{children:["left"===u&&p,(0,n.jsx)("span",{children:e.label}),"right"===u&&p]});return(0,n.jsx)(s.G.Option,{value:e.value,disabled:e.disabled,className:(0,o.A)({[d.A.optionsDropdownOption]:!l}),"data-reverse":"right"===u||void 0,"data-checked":c||void 0,"aria-selected":c,active:c,children:"function"==typeof f?f({option:e,checked:c}):h})}const h=e.items.map(e=>(0,n.jsx)(p,{data:e,value:a,unstyled:l,withCheckIcon:t,withAlignedLabels:r,checkIconPosition:u,renderOption:f},e.value));return(0,n.jsx)(s.G.Group,{label:e.group,children:h})}function f({data:e,hidden:t,hiddenWhenEmpty:r,filter:o,search:i,limit:d,maxDropdownHeight:f,withScrollArea:h=!0,filterOptions:m=!0,withCheckIcon:g=!1,withAlignedLabels:y=!1,value:v,checkIconPosition:b,nothingFoundMessage:E,unstyled:w,labelId:S,renderOption:A,scrollAreaProps:_,"aria-label":P}){l(e);const C="string"==typeof i?(o||u)({options:e,search:m?i:"",limit:d??1/0}):e,I=function(e){if(0===e.length)return!0;for(const t of e){if(!("group"in t))return!1;if(t.items.length>0)return!1}return!0}(C),x=C.map(e=>(0,n.jsx)(p,{data:e,withCheckIcon:g,withAlignedLabels:y,value:v,checkIconPosition:b,unstyled:w,renderOption:A},(0,c.c)(e)?e.group:e.value));return(0,n.jsx)(s.G.Dropdown,{hidden:t||r&&I,"data-composed":!0,children:(0,n.jsxs)(s.G.Options,{labelledBy:S,"aria-label":P,children:[h?(0,n.jsx)(a.F.Autosize,{mah:f??220,type:"scroll",scrollbarSize:"var(--combobox-padding)",offsetScrollbars:"y",..._,children:x}):x,I&&E&&(0,n.jsx)(s.G.Empty,{children:E})]})})}},10790(e){"use strict";e.exports=window.ReactJSXRuntime},11092(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cacheEndpointId=void 0;const n=r(22918),o=r(67635);t.cacheEndpointId=async(e,t,r)=>{const i=(0,o.getCacheKey)(e,t),a=(new Date).getTime()+31536e8;return n.Cache.setItem(i,r,{expires:a,priority:1})}},11140(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=t.listWebAuthnCredentials=t.associateWebAuthnCredential=t.decodeJWT=t.fetchAuthSession=t.AuthError=t.autoSignIn=t.fetchDevices=t.forgetDevice=t.rememberDevice=t.deleteUser=t.deleteUserAttributes=t.sendUserAttributeVerificationCode=t.signOut=t.fetchUserAttributes=t.signInWithRedirect=t.confirmUserAttribute=t.getCurrentUser=t.updateUserAttribute=t.updateUserAttributes=t.setUpTOTP=t.updatePassword=t.verifyTOTPSetup=t.fetchMFAPreference=t.updateMFAPreference=t.confirmSignIn=t.confirmSignUp=t.resendSignUpCode=t.signIn=t.confirmResetPassword=t.resetPassword=t.signUp=void 0;var n=r(83181);Object.defineProperty(t,"signUp",{enumerable:!0,get:function(){return n.signUp}}),Object.defineProperty(t,"resetPassword",{enumerable:!0,get:function(){return n.resetPassword}}),Object.defineProperty(t,"confirmResetPassword",{enumerable:!0,get:function(){return n.confirmResetPassword}}),Object.defineProperty(t,"signIn",{enumerable:!0,get:function(){return n.signIn}}),Object.defineProperty(t,"resendSignUpCode",{enumerable:!0,get:function(){return n.resendSignUpCode}}),Object.defineProperty(t,"confirmSignUp",{enumerable:!0,get:function(){return n.confirmSignUp}}),Object.defineProperty(t,"confirmSignIn",{enumerable:!0,get:function(){return n.confirmSignIn}}),Object.defineProperty(t,"updateMFAPreference",{enumerable:!0,get:function(){return n.updateMFAPreference}}),Object.defineProperty(t,"fetchMFAPreference",{enumerable:!0,get:function(){return n.fetchMFAPreference}}),Object.defineProperty(t,"verifyTOTPSetup",{enumerable:!0,get:function(){return n.verifyTOTPSetup}}),Object.defineProperty(t,"updatePassword",{enumerable:!0,get:function(){return n.updatePassword}}),Object.defineProperty(t,"setUpTOTP",{enumerable:!0,get:function(){return n.setUpTOTP}}),Object.defineProperty(t,"updateUserAttributes",{enumerable:!0,get:function(){return n.updateUserAttributes}}),Object.defineProperty(t,"updateUserAttribute",{enumerable:!0,get:function(){return n.updateUserAttribute}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return n.getCurrentUser}}),Object.defineProperty(t,"confirmUserAttribute",{enumerable:!0,get:function(){return n.confirmUserAttribute}}),Object.defineProperty(t,"signInWithRedirect",{enumerable:!0,get:function(){return n.signInWithRedirect}}),Object.defineProperty(t,"fetchUserAttributes",{enumerable:!0,get:function(){return n.fetchUserAttributes}}),Object.defineProperty(t,"signOut",{enumerable:!0,get:function(){return n.signOut}}),Object.defineProperty(t,"sendUserAttributeVerificationCode",{enumerable:!0,get:function(){return n.sendUserAttributeVerificationCode}}),Object.defineProperty(t,"deleteUserAttributes",{enumerable:!0,get:function(){return n.deleteUserAttributes}}),Object.defineProperty(t,"deleteUser",{enumerable:!0,get:function(){return n.deleteUser}}),Object.defineProperty(t,"rememberDevice",{enumerable:!0,get:function(){return n.rememberDevice}}),Object.defineProperty(t,"forgetDevice",{enumerable:!0,get:function(){return n.forgetDevice}}),Object.defineProperty(t,"fetchDevices",{enumerable:!0,get:function(){return n.fetchDevices}}),Object.defineProperty(t,"autoSignIn",{enumerable:!0,get:function(){return n.autoSignIn}});var o=r(43518);Object.defineProperty(t,"AuthError",{enumerable:!0,get:function(){return o.AuthError}});var i=r(56547);Object.defineProperty(t,"fetchAuthSession",{enumerable:!0,get:function(){return i.fetchAuthSession}}),Object.defineProperty(t,"decodeJWT",{enumerable:!0,get:function(){return i.decodeJWT}});var a=r(74878);Object.defineProperty(t,"associateWebAuthnCredential",{enumerable:!0,get:function(){return a.associateWebAuthnCredential}}),Object.defineProperty(t,"listWebAuthnCredentials",{enumerable:!0,get:function(){return a.listWebAuthnCredentials}}),Object.defineProperty(t,"deleteWebAuthnCredential",{enumerable:!0,get:function(){return a.deleteWebAuthnCredential}})},11415(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var i=r(48051),a=r(19724),s=r(7652),c=r(44885),u=r(17214),l=r(26404);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l.popResultSelector(e),d=s.argsOrArgArray(e);return d.length?new i.Observable(function(e){var t=d.map(function(){return[]}),i=d.map(function(){return!1});e.add(function(){t=i=null});for(var s=function(s){a.innerFrom(d[s]).subscribe(u.createOperatorSubscriber(e,function(a){if(t[s].push(a),t.every(function(e){return e.length})){var c=t.map(function(e){return e.shift()});e.next(r?r.apply(void 0,o([],n(c))):c),t.some(function(e,t){return!e.length&&i[t]})&&e.complete()}},function(){i[s]=!0,!t[s].length&&e.complete()}))},c=0;!e.closed&&c<d.length;c++)s(c);return function(){t=i=null}}):c.EMPTY}},11464(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaust=void 0;var n=r(17977);t.exhaust=n.exhaustAll},11507(e,t,r){"use strict";r.d(t,{a:()=>b});var n=r(10790),o=r(51609),i=r(34164),a=r(15074),s=r(12940),c=r(66192),u=r(1101);function l(e){return e.startsWith("data-")?e:`data-${e}`}function d(e){return e?"string"==typeof e?{[l(e)]:!0}:Array.isArray(e)?[...e].reduce((e,t)=>({...e,...d(t)}),{}):(t=e,Object.keys(t).reduce((e,r)=>{const n=t[r];return void 0===n||""===n||!1===n||null===n||(e[l(r)]=t[r]),e},{})):null;var t}function p(e,t){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,...p(r,t)}),{}):"function"==typeof e?e(t):null==e?{}:e}function f({theme:e,style:t,vars:r,styleProps:n}){return{...p(t,e),...p(r,e),...n}}var h=r(63733);const m={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bdrs:{type:"radius",property:"borderRadius"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};var g=r(155),y=r(83974);const v=(0,o.forwardRef)(({component:e,style:t,__vars:r,className:o,variant:l,mod:p,size:v,hiddenFrom:b,visibleFrom:E,lightHidden:w,darkHidden:S,renderRoot:A,__size:_,...P},C)=>{const I=(0,u.xd)(),x=e||"div",{styleProps:O,rest:k}=(0,h.j)(P),T=(0,c.NL)(),N=T?.()?.(O.sx),j=(0,y.C)(),R=(0,g.X)({styleProps:O,theme:I,data:m}),M={ref:C,style:f({theme:I,style:t,vars:r,styleProps:R.inlineStyles}),className:(0,i.A)(o,N,{[j]:R.hasResponsiveStyles,"mantine-light-hidden":w,"mantine-dark-hidden":S,[`mantine-hidden-from-${b}`]:b,[`mantine-visible-from-${E}`]:E}),"data-variant":l,"data-size":(0,s.t)(v)?void 0:v||void 0,size:_,...d(p),...k};return(0,n.jsxs)(n.Fragment,{children:[R.hasResponsiveStyles&&(0,n.jsx)(a.K,{selector:`.${j}`,styles:R.styles,media:R.media}),"function"==typeof A?A(M):(0,n.jsx)(x,{...M})]})});v.displayName="@mantine/core/Box";const b=v},11588(e,t){"use strict";var r,n,o,i,a,s,c,u,l,d,p,f,h,m,g,y,v,b,E,w,S,A,_,P;Object.defineProperty(t,"__esModule",{value:!0}),t.SETUP_TOTP_EXCEPTION=t.ListDevicesException=t.UpdateDeviceStatusException=t.VerifyUserAttributeException=t.VerifySoftwareTokenException=t.UpdateUserAttributesException=t.SignUpException=t.SetUserMFAPreferenceException=t.RespondToAuthChallengeException=t.ResendConfirmationException=t.InitiateAuthException=t.GlobalSignOutException=t.GetUserAttributeVerificationException=t.GetCredentialsForIdentityException=t.GetIdException=t.GetUserException=t.ForgotPasswordException=t.ForgetDeviceException=t.DeleteUserException=t.DeleteUserAttributesException=t.ConfirmSignUpException=t.ConfirmForgotPasswordException=t.ConfirmDeviceException=t.ChangePasswordException=t.AssociateSoftwareTokenException=void 0,function(e){e.ConcurrentModificationException="ConcurrentModificationException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException"}(r||(t.AssociateSoftwareTokenException=r={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(n||(t.ChangePasswordException=n={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UsernameExistsException="UsernameExistsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(o||(t.ConfirmDeviceException=o={})),function(e){e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(i||(t.ConfirmForgotPasswordException=i={})),function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"}(a||(t.ConfirmSignUpException=a={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(s||(t.DeleteUserAttributesException=s={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(c||(t.DeleteUserException=c={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(u||(t.ForgetDeviceException=u={})),function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"}(l||(t.ForgotPasswordException=l={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(d||(t.GetUserException=d={})),function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"}(p||(t.GetIdException=p={})),function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidIdentityPoolConfigurationException="InvalidIdentityPoolConfigurationException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"}(f||(t.GetCredentialsForIdentityException=f={})),function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(h||(t.GetUserAttributeVerificationException=h={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException"}(m||(t.GlobalSignOutException=m={})),function(e){e.PasswordResetRequiredException="PasswordResetRequiredException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(g||(t.InitiateAuthException=g={})),function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"}(y||(t.ResendConfirmationException=y={})),function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.MFAMethodNotFoundException="MFAMethodNotFoundException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(v||(t.RespondToAuthChallengeException=v={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(b||(t.SetUserMFAPreferenceException=b={})),function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UsernameExistsException="UsernameExistsException"}(E||(t.SignUpException=E={})),function(e){e.AliasExistsException="AliasExistsException",e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(w||(t.UpdateUserAttributesException=w={})),function(e){e.CodeMismatchException="CodeMismatchException",e.EnableSoftwareTokenMFAException="EnableSoftwareTokenMFAException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(S||(t.VerifySoftwareTokenException=S={})),function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(A||(t.VerifyUserAttributeException=A={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(_||(t.UpdateDeviceStatusException=_={})),function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"}(P||(t.ListDevicesException=P={})),t.SETUP_TOTP_EXCEPTION="SetUpTOTPException"},11630(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveConfig=void 0;const n=r(56547),o=r(30014),i=new n.ConsoleLogger("GraphQLAPI resolveConfig");t.resolveConfig=e=>{const t=e.getConfig();t.API?.GraphQL||i.warn("The API configuration is missing. This is likely due to Amplify.configure() not being called prior to generateClient().");const{apiKey:r,customEndpoint:n,customEndpointRegion:a,defaultAuthMode:s,endpoint:c,region:u}=t.API?.GraphQL??{};return(0,o.assertValidationError)(!(!n&&a),o.APIValidationErrorCode.NoCustomEndpoint),{apiKey:r,customEndpoint:n,customEndpointRegion:a,defaultAuthMode:s,endpoint:c,region:u}}},11729(e,t,r){"use strict";r.r(t),r.d(t,{BREAK:()=>ve,BreakingChangeType:()=>Na,DEFAULT_DEPRECATION_REASON:()=>Vr,DangerousChangeType:()=>ja,DirectiveLocation:()=>G,ExecutableDefinitionsRule:()=>On,FieldsOnCorrectTypeRule:()=>Fn,FragmentsOnCompositeTypesRule:()=>Mn,GraphQLBoolean:()=>mr,GraphQLDeprecatedDirective:()=>Hr,GraphQLDirective:()=>Fr,GraphQLEnumType:()=>Jt,GraphQLError:()=>I,GraphQLFloat:()=>pr,GraphQLID:()=>gr,GraphQLIncludeDirective:()=>Lr,GraphQLInputObjectType:()=>Xt,GraphQLInt:()=>dr,GraphQLInterfaceType:()=>Gt,GraphQLList:()=>It,GraphQLNonNull:()=>xt,GraphQLObjectType:()=>zt,GraphQLScalarType:()=>Lt,GraphQLSchema:()=>Yr,GraphQLSkipDirective:()=>zr,GraphQLSpecifiedByDirective:()=>$r,GraphQLString:()=>hr,GraphQLUnionType:()=>qt,Kind:()=>T,KnownArgumentNamesRule:()=>Xn,KnownDirectivesRule:()=>Gn,KnownFragmentNamesRule:()=>zn,KnownTypeNamesRule:()=>jn,Lexer:()=>X,Location:()=>M,LoneAnonymousOperationRule:()=>Tn,LoneSchemaDefinitionRule:()=>Po,NoDeprecatedCustomRule:()=>Mi,NoFragmentCyclesRule:()=>$n,NoSchemaIntrospectionCustomRule:()=>Di,NoUndefinedVariablesRule:()=>Bn,NoUnusedFragmentsRule:()=>Vn,NoUnusedVariablesRule:()=>Kn,OverlappingFieldsCanBeMergedRule:()=>fo,PossibleFragmentSpreadsRule:()=>Hn,PossibleTypeExtensionsRule:()=>jo,ProvidedRequiredArgumentsRule:()=>ao,ScalarLeafsRule:()=>Un,SchemaMetaFieldDef:()=>kr,SingleFieldSubscriptionsRule:()=>Nn,Source:()=>B,Token:()=>D,TokenKind:()=>F,TypeInfo:()=>gn,TypeKind:()=>xr,TypeMetaFieldDef:()=>Tr,TypeNameMetaFieldDef:()=>Nr,UniqueArgumentNamesRule:()=>eo,UniqueDirectiveNamesRule:()=>To,UniqueDirectivesPerLocationRule:()=>qn,UniqueEnumValueNamesRule:()=>xo,UniqueFieldDefinitionNamesRule:()=>Oo,UniqueFragmentNamesRule:()=>Ln,UniqueInputFieldNamesRule:()=>_o,UniqueOperationNamesRule:()=>kn,UniqueOperationTypesRule:()=>Co,UniqueTypeNamesRule:()=>Io,UniqueVariableNamesRule:()=>Wn,ValidationContext:()=>zo,ValuesOfCorrectTypeRule:()=>to,VariablesAreInputTypesRule:()=>Dn,VariablesInAllowedPositionRule:()=>uo,__Directive:()=>Sr,__DirectiveLocation:()=>Ar,__EnumValue:()=>Ir,__Field:()=>Pr,__InputValue:()=>Cr,__Schema:()=>wr,__Type:()=>_r,__TypeKind:()=>Or,assertAbstractType:()=>Ct,assertCompositeType:()=>_t,assertDirective:()=>Ur,assertEnumType:()=>lt,assertInputObjectType:()=>pt,assertInputType:()=>vt,assertInterfaceType:()=>at,assertLeafType:()=>St,assertListType:()=>ht,assertNamedType:()=>Mt,assertNonNullType:()=>gt,assertNullableType:()=>Nt,assertObjectType:()=>ot,assertOutputType:()=>Et,assertScalarType:()=>rt,assertSchema:()=>qr,assertType:()=>et,assertUnionType:()=>ct,assertValidName:()=>Ce,assertValidSchema:()=>Xr,assertWrappingType:()=>kt,astFromValue:()=>br,buildASTSchema:()=>ta,buildClientSchema:()=>Bi,buildSchema:()=>ra,coerceInputValue:()=>Yo,concatAST:()=>Aa,createSourceEventStream:()=>Ri,defaultFieldResolver:()=>_i,defaultTypeResolver:()=>Ai,doTypesOverlap:()=>nr,execute:()=>ti,executeSync:()=>ri,extendSchema:()=>Yi,findBreakingChanges:()=>Ra,findDangerousChanges:()=>Ma,findDeprecatedUsages:()=>qa,formatError:()=>Ui,getDescription:()=>ea,getDirectiveValues:()=>Zo,getIntrospectionQuery:()=>zi,getLocation:()=>d,getNamedType:()=>Dt,getNullableType:()=>jt,getOperationAST:()=>Vi,getOperationRootType:()=>Bo,getVisitFn:()=>we,graphql:()=>Ci,graphqlSync:()=>Ii,introspectionFromSchema:()=>Wi,introspectionTypes:()=>jr,isAbstractType:()=>Pt,isCompositeType:()=>At,isDefinitionNode:()=>bn,isDirective:()=>Dr,isEnumType:()=>ut,isEqualType:()=>tr,isExecutableDefinitionNode:()=>En,isInputObjectType:()=>dt,isInputType:()=>yt,isInterfaceType:()=>it,isIntrospectionType:()=>Rr,isLeafType:()=>wt,isListType:()=>ft,isNamedType:()=>Rt,isNonNullType:()=>mt,isNullableType:()=>Tt,isObjectType:()=>nt,isOutputType:()=>bt,isRequiredArgument:()=>Kt,isRequiredInputField:()=>er,isScalarType:()=>tt,isSchema:()=>Gr,isSelectionNode:()=>wn,isSpecifiedDirective:()=>Br,isSpecifiedScalarType:()=>vr,isType:()=>Ze,isTypeDefinitionNode:()=>Cn,isTypeExtensionNode:()=>xn,isTypeNode:()=>An,isTypeSubTypeOf:()=>rr,isTypeSystemDefinitionNode:()=>Pn,isTypeSystemExtensionNode:()=>In,isUnionType:()=>st,isValidNameError:()=>Ie,isValueNode:()=>Sn,isWrappingType:()=>Ot,lexicographicSortSchema:()=>aa,locatedError:()=>_e,parse:()=>de,parseType:()=>fe,parseValue:()=>pe,print:()=>Ve,printError:()=>O,printIntrospectionSchema:()=>da,printLocation:()=>p,printSchema:()=>la,printSourceLocation:()=>f,printType:()=>ma,responsePathAsArray:()=>Wo,separateOperations:()=>_a,specifiedDirectives:()=>Wr,specifiedRules:()=>Mo,specifiedScalarTypes:()=>yr,stripIgnoredCharacters:()=>Ia,subscribe:()=>Ni,syntaxError:()=>k,typeFromAST:()=>mn,validate:()=>Vo,validateSchema:()=>Qr,valueFromAST:()=>Go,valueFromASTUntyped:()=>Je,version:()=>n,versionInfo:()=>o,visit:()=>be,visitInParallel:()=>Ee,visitWithTypeInfo:()=>vn});var n="15.8.0",o=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function i(e){return"function"==typeof(null==e?void 0:e.then)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e){return"object"==a(e)&&null!==e}var c="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",u="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator",l="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function d(e,t){for(var r,n=/\r\n|[\n\r]/g,o=1,i=t+1;(r=n.exec(e.body))&&r.index<t;)o+=1,i=t+1-(r.index+r[0].length);return{line:o,column:i}}function p(e){return f(e.source,d(e.source,e.start))}function f(e,t){var r=e.locationOffset.column-1,n=m(r)+e.body,o=t.line-1,i=e.locationOffset.line-1,a=t.line+i,s=1===t.line?r:0,c=t.column+s,u="".concat(e.name,":").concat(a,":").concat(c,"\n"),l=n.split(/\r\n|[\n\r]/g),d=l[o];if(d.length>120){for(var p=Math.floor(c/80),f=c%80,g=[],y=0;y<d.length;y+=80)g.push(d.slice(y,y+80));return u+h([["".concat(a),g[0]]].concat(g.slice(1,p+1).map(function(e){return["",e]}),[[" ",m(f-1)+"^"],["",g[p+1]]]))}return u+h([["".concat(a-1),l[o-1]],["".concat(a),d],["",m(c-1)+"^"],["".concat(a+1),l[o+1]]])}function h(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}),r=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t,n=e[0],o=e[1];return m(r-(t=n).length)+t+(o?" | "+o:" |")}).join("\n")}function m(e){return Array(e+1).join(" ")}function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(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 E(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){var t="function"==typeof Map?new Map:void 0;return S=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return A(e,arguments,C(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),P(n,e)},S(e)}function A(e,t,r){return A=_()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&P(o,r.prototype),o},A.apply(null,arguments)}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function P(e,t){return P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},P(e,t)}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}(a,e);var t,r,n,o,i=(t=a,r=_(),function(){var e,n=C(t);if(r){var o=C(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return E(this,e)});function a(e,t,r,n,o,c,u){var l,p,f,h;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(h=i.call(this,e)).name="GraphQLError",h.originalError=null!=c?c:void 0,h.nodes=x(Array.isArray(t)?t:t?[t]:void 0);for(var m=[],g=0,b=null!==(S=h.nodes)&&void 0!==S?S:[];g<b.length;g++){var S,A=b[g].loc;null!=A&&m.push(A)}m=x(m),h.source=null!=r?r:null===(l=m)||void 0===l?void 0:l[0].source,h.positions=null!=n?n:null===(p=m)||void 0===p?void 0:p.map(function(e){return e.start}),h.locations=n&&r?n.map(function(e){return d(r,e)}):null===(f=m)||void 0===f?void 0:f.map(function(e){return d(e.source,e.start)}),h.path=null!=o?o:void 0;var _=null==c?void 0:c.extensions;return null==u&&s(_)?h.extensions=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},_):h.extensions=null!=u?u:{},Object.defineProperties(w(h),{message:{enumerable:!0},locations:{enumerable:null!=h.locations},path:{enumerable:null!=h.path},extensions:{enumerable:null!=h.extensions&&Object.keys(h.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?(Object.defineProperty(w(h),"stack",{value:c.stack,writable:!0,configurable:!0}),E(h)):(Error.captureStackTrace?Error.captureStackTrace(w(h),a):Object.defineProperty(w(h),"stack",{value:Error().stack,writable:!0,configurable:!0}),h)}return n=a,(o=[{key:"toString",value:function(){return O(this)}},{key:l,get:function(){return"Object"}}])&&b(n.prototype,o),a}(S(Error));function x(e){return void 0===e||0===e.length?void 0:e}function O(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var o=n[r];o.loc&&(t+="\n\n"+p(o.loc))}else if(e.source&&e.locations)for(var i=0,a=e.locations;i<a.length;i++){var s=a[i];t+="\n\n"+f(e.source,s)}return t}function k(e,t,r){return new I("Syntax Error: ".concat(r),void 0,e,[t])}var T=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});function N(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const j="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function R(e){var t=e.prototype.toJSON;"function"==typeof t||N(0),e.prototype.inspect=t,j&&(e.prototype[j]=t)}var M=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();R(M);var D=function(){function e(e,t,r,n,o,i,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=o,this.value=a,this.prev=i,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function U(e){return null!=e&&"string"==typeof e.kind}R(D);var F=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function z(e){return V(e,[])}function V(e,t){switch(L(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var r=[].concat(t,[e]),n=function(e){var t=e[String(j)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==n){var o=n.call(e);if(o!==e)return"string"==typeof o?o:V(o,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,o=[],i=0;i<r;++i)o.push(V(e[i],t));return 1===n?o.push("... 1 more item"):n>1&&o.push("... ".concat(n," more items")),"["+o.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);return 0===r.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]":"{ "+r.map(function(r){return r+": "+V(e[r],t)}).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}function H(e,t){if(!Boolean(e))throw new Error(t)}const $=function(e,t){return e instanceof t};function W(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)}}var B=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||H(0,"Body must be a string. Received: ".concat(z(e),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||H(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||H(0,"column in locationOffset is 1-indexed and must be positive.")}var t,r;return t=e,(r=[{key:l,get:function(){return"Source"}}])&&W(t.prototype,r),e}();function K(e){return $(e,B)}var G=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function q(e){var t=e.split(/\r\n|[\n\r]/g),r=J(e);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(var o=0;o<t.length&&Y(t[o]);)++o;for(var i=t.length;i>o&&Y(t[i-1]);)--i;return t.slice(o,i).join("\n")}function Y(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function J(e){for(var t,r=!0,n=!0,o=0,i=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:r=!1,n=!0,o=0;break;case 9:case 32:++o;break;default:n&&!r&&(null===i||o<i)&&(i=o),n=!1}return null!==(t=i)&&void 0!==t?t:0}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],i='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||i||a||r,c="";return!s||n&&o||(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}var X=function(){function e(e){var t=new D(F.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==F.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=te(this,e)}while(e.kind===F.COMMENT);return e},e}();function Z(e){return e===F.BANG||e===F.DOLLAR||e===F.AMP||e===F.PAREN_L||e===F.PAREN_R||e===F.SPREAD||e===F.COLON||e===F.EQUALS||e===F.AT||e===F.BRACKET_L||e===F.BRACKET_R||e===F.BRACE_L||e===F.PIPE||e===F.BRACE_R}function ee(e){return isNaN(e)?F.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function te(e,t){for(var r=e.source,n=r.body,o=n.length,i=t.end;i<o;){var a=n.charCodeAt(i),s=e.line,c=1+i-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 33:return new D(F.BANG,i,i+1,s,c,t);case 35:return ne(r,i,s,c,t);case 36:return new D(F.DOLLAR,i,i+1,s,c,t);case 38:return new D(F.AMP,i,i+1,s,c,t);case 40:return new D(F.PAREN_L,i,i+1,s,c,t);case 41:return new D(F.PAREN_R,i,i+1,s,c,t);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return new D(F.SPREAD,i,i+3,s,c,t);break;case 58:return new D(F.COLON,i,i+1,s,c,t);case 61:return new D(F.EQUALS,i,i+1,s,c,t);case 64:return new D(F.AT,i,i+1,s,c,t);case 91:return new D(F.BRACKET_L,i,i+1,s,c,t);case 93:return new D(F.BRACKET_R,i,i+1,s,c,t);case 123:return new D(F.BRACE_L,i,i+1,s,c,t);case 124:return new D(F.PIPE,i,i+1,s,c,t);case 125:return new D(F.BRACE_R,i,i+1,s,c,t);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?se(r,i,s,c,t,e):ae(r,i,s,c,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return oe(r,i,a,s,c,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return le(r,i,s,c,t)}throw k(r,i,re(a))}var u=e.line,l=1+i-e.lineStart;return new D(F.EOF,o,o,u,l,t)}function re(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(ee(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(ee(e),".")}function ne(e,t,r,n,o){var i,a=e.body,s=t;do{i=a.charCodeAt(++s)}while(!isNaN(i)&&(i>31||9===i));return new D(F.COMMENT,t,s,r,n,o,a.slice(t+1,s))}function oe(e,t,r,n,o,i){var a=e.body,s=r,c=t,u=!1;if(45===s&&(s=a.charCodeAt(++c)),48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw k(e,c,"Invalid number, unexpected digit after 0: ".concat(ee(s),"."))}else c=ie(e,c,s),s=a.charCodeAt(c);if(46===s&&(u=!0,s=a.charCodeAt(++c),c=ie(e,c,s),s=a.charCodeAt(c)),69!==s&&101!==s||(u=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=ie(e,c,s),s=a.charCodeAt(c)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw k(e,c,"Invalid number, expected digit but got: ".concat(ee(s),"."));return new D(u?F.FLOAT:F.INT,t,c,n,o,i,a.slice(t,c))}function ie(e,t,r){var n=e.body,o=t,i=r;if(i>=48&&i<=57){do{i=n.charCodeAt(++o)}while(i>=48&&i<=57);return o}throw k(e,o,"Invalid number, expected digit but got: ".concat(ee(i),"."))}function ae(e,t,r,n,o){for(var i=e.body,a=t+1,s=a,c=0,u="";a<i.length&&!isNaN(c=i.charCodeAt(a))&&10!==c&&13!==c;){if(34===c)return u+=i.slice(s,a),new D(F.STRING,t,a+1,r,n,o,u);if(c<32&&9!==c)throw k(e,a,"Invalid character within String: ".concat(ee(c),"."));if(++a,92===c){switch(u+=i.slice(s,a-1),c=i.charCodeAt(a)){case 34:u+='"';break;case 47:u+="/";break;case 92:u+="\\";break;case 98:u+="\b";break;case 102:u+="\f";break;case 110:u+="\n";break;case 114:u+="\r";break;case 116:u+="\t";break;case 117:var l=ce(i.charCodeAt(a+1),i.charCodeAt(a+2),i.charCodeAt(a+3),i.charCodeAt(a+4));if(l<0){var d=i.slice(a+1,a+5);throw k(e,a,"Invalid character escape sequence: \\u".concat(d,"."))}u+=String.fromCharCode(l),a+=4;break;default:throw k(e,a,"Invalid character escape sequence: \\".concat(String.fromCharCode(c),"."))}s=++a}}throw k(e,a,"Unterminated string.")}function se(e,t,r,n,o,i){for(var a=e.body,s=t+3,c=s,u=0,l="";s<a.length&&!isNaN(u=a.charCodeAt(s));){if(34===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return l+=a.slice(c,s),new D(F.BLOCK_STRING,t,s+3,r,n,o,q(l));if(u<32&&9!==u&&10!==u&&13!==u)throw k(e,s,"Invalid character within String: ".concat(ee(u),"."));10===u?(++s,++i.line,i.lineStart=s):13===u?(10===a.charCodeAt(s+1)?s+=2:++s,++i.line,i.lineStart=s):92===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(l+=a.slice(c,s)+'"""',c=s+=4):++s}throw k(e,s,"Unterminated string.")}function ce(e,t,r,n){return ue(e)<<12|ue(t)<<8|ue(r)<<4|ue(n)}function ue(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function le(e,t,r,n,o){for(var i=e.body,a=i.length,s=t+1,c=0;s!==a&&!isNaN(c=i.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new D(F.NAME,t,s,r,n,o,i.slice(t,s))}function de(e,t){return new he(e,t).parseDocument()}function pe(e,t){var r=new he(e,t);r.expectToken(F.SOF);var n=r.parseValueLiteral(!1);return r.expectToken(F.EOF),n}function fe(e,t){var r=new he(e,t);r.expectToken(F.SOF);var n=r.parseTypeReference();return r.expectToken(F.EOF),n}var he=function(){function e(e,t){var r=K(e)?e:new B(e);this._lexer=new X(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(F.NAME);return{kind:T.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:T.DOCUMENT,definitions:this.many(F.SOF,this.parseDefinition,F.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(F.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(F.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(F.BRACE_L))return{kind:T.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,r=this.parseOperationType();return this.peek(F.NAME)&&(t=this.parseName()),{kind:T.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(F.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(F.PAREN_L,this.parseVariableDefinition,F.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:T.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(F.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(F.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(F.DOLLAR),{kind:T.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:T.SELECTION_SET,selections:this.many(F.BRACE_L,this.parseSelection,F.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(F.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(F.COLON)?(e=n,t=this.parseName()):t=n,{kind:T.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(F.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(F.PAREN_L,t,F.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(F.COLON),{kind:T.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:T.ARGUMENT,name:this.parseName(),value:(this.expectToken(F.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(F.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(F.NAME)?{kind:T.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:T.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:T.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:T.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case F.BRACKET_L:return this.parseList(e);case F.BRACE_L:return this.parseObject(e);case F.INT:return this._lexer.advance(),{kind:T.INT,value:t.value,loc:this.loc(t)};case F.FLOAT:return this._lexer.advance(),{kind:T.FLOAT,value:t.value,loc:this.loc(t)};case F.STRING:case F.BLOCK_STRING:return this.parseStringLiteral();case F.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:T.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:T.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:T.NULL,loc:this.loc(t)};default:return{kind:T.ENUM,value:t.value,loc:this.loc(t)}}case F.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:T.STRING,value:e.value,block:e.kind===F.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:T.LIST,values:this.any(F.BRACKET_L,function(){return t.parseValueLiteral(e)},F.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:T.OBJECT,fields:this.any(F.BRACE_L,function(){return t.parseObjectField(e)},F.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(F.COLON),{kind:T.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(F.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(F.AT),{kind:T.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(F.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(F.BRACKET_R),e={kind:T.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(F.BANG)?{kind:T.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:T.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===F.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(F.STRING)||this.peek(F.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(F.BRACE_L,this.parseOperationTypeDefinition,F.BRACE_R);return{kind:T.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(F.COLON);var r=this.parseNamedType();return{kind:T.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:T.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:T.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(F.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(F.AMP)||this.peek(F.NAME));return t}return this.delimitedMany(F.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(F.BRACE_L)&&this._lexer.lookahead().kind===F.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(F.BRACE_L,this.parseFieldDefinition,F.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(F.COLON);var o=this.parseTypeReference(),i=this.parseDirectives(!0);return{kind:T.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:i,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(F.PAREN_L,this.parseInputValueDef,F.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(F.COLON);var n,o=this.parseTypeReference();this.expectOptionalToken(F.EQUALS)&&(n=this.parseValueLiteral(!0));var i=this.parseDirectives(!0);return{kind:T.INPUT_VALUE_DEFINITION,description:t,name:r,type:o,defaultValue:n,directives:i,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:T.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:T.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(F.EQUALS)?this.delimitedMany(F.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:T.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(F.BRACE_L,this.parseEnumValueDefinition,F.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:T.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:T.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(F.BRACE_L,this.parseInputValueDef,F.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===F.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(F.BRACE_L,this.parseOperationTypeDefinition,F.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:T.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:T.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:T.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:T.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:T.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:T.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:T.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(F.AT);var r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var i=this.parseDirectiveLocations();return{kind:T.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:i,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(F.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==G[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new M(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw k(this._lexer.source,t.start,"Expected ".concat(ge(e),", found ").concat(me(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==F.NAME||t.value!==e)throw k(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(me(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===F.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return k(this._lexer.source,t.start,"Unexpected ".concat(me(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r},e}();function me(e){var t=e.value;return ge(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function ge(e){return Z(e)?'"'.concat(e,'"'):e}var ye={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},ve=Object.freeze({});function be(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ye,n=void 0,o=Array.isArray(e),i=[e],a=-1,s=[],c=void 0,u=void 0,l=void 0,d=[],p=[],f=e;do{var h=++a===i.length,m=h&&0!==s.length;if(h){if(u=0===p.length?void 0:d[d.length-1],c=l,l=p.pop(),m){if(o)c=c.slice();else{for(var g={},y=0,v=Object.keys(c);y<v.length;y++){var b=v[y];g[b]=c[b]}c=g}for(var E=0,w=0;w<s.length;w++){var S=s[w][0],A=s[w][1];o&&(S-=E),o&&null===A?(c.splice(S,1),E++):c[S]=A}}a=n.index,i=n.keys,s=n.edits,o=n.inArray,n=n.prev}else{if(u=l?o?a:i[a]:void 0,null==(c=l?l[u]:f))continue;l&&d.push(u)}var _,P=void 0;if(!Array.isArray(c)){if(!U(c))throw new Error("Invalid AST Node: ".concat(z(c),"."));var C=we(t,c.kind,h);if(C){if((P=C.call(t,c,u,l,d,p))===ve)break;if(!1===P){if(!h){d.pop();continue}}else if(void 0!==P&&(s.push([u,P]),!h)){if(!U(P)){d.pop();continue}c=P}}}void 0===P&&m&&s.push([u,c]),h?d.pop():(n={inArray:o,index:a,keys:i,edits:s,prev:n},i=(o=Array.isArray(c))?c:null!==(_=r[c.kind])&&void 0!==_?_:[],a=-1,s=[],l&&p.push(l),l=c)}while(void 0!==n);return 0!==s.length&&(f=s[s.length-1][1]),f}function Ee(e){var t=new Array(e.length);return{enter:function(r){for(var n=0;n<e.length;n++)if(null==t[n]){var o=we(e[n],r.kind,!1);if(o){var i=o.apply(e[n],arguments);if(!1===i)t[n]=r;else if(i===ve)t[n]=ve;else if(void 0!==i)return i}}},leave:function(r){for(var n=0;n<e.length;n++)if(null==t[n]){var o=we(e[n],r.kind,!0);if(o){var i=o.apply(e[n],arguments);if(i===ve)t[n]=ve;else if(void 0!==i&&!1!==i)return i}}else t[n]===r&&(t[n]=null)}}}function we(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var o=r?n.leave:n.enter;if("function"==typeof o)return o}else{var i=r?e.leave:e.enter;if(i){if("function"==typeof i)return i;var a=i[t];if("function"==typeof a)return a}}}const Se=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n))return n}},Ae=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})};function _e(e,t,r){var n,o=e instanceof Error?e:new Error("Unexpected error value: "+z(e));return Array.isArray(o.path)?o:new I(o.message,null!==(n=o.nodes)&&void 0!==n?n:t,o.source,o.positions,r,o)}var Pe=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function Ce(e){var t=Ie(e);if(t)throw t;return e}function Ie(e){return"string"==typeof e||H(0,"Expected name to be a string."),e.length>1&&"_"===e[0]&&"_"===e[1]?new I('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.')):Pe.test(e)?void 0:new I('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'))}const xe=Object.entries||function(e){return Object.keys(e).map(function(t){return[t,e[t]]})};function Oe(e,t){return e.reduce(function(e,r){return e[t(r)]=r,e},Object.create(null))}function ke(e,t){for(var r=Object.create(null),n=0,o=xe(e);n<o.length;n++){var i=o[n],a=i[0],s=i[1];r[a]=t(s,a)}return r}function Te(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),r=0,n=xe(e);r<n.length;r++){var o=n[r],i=o[0],a=o[1];t[i]=a}return t}function Ne(e,t,r){return e.reduce(function(e,n){return e[t(n)]=r(n),e},Object.create(null))}function je(e,t){var r="string"==typeof e?[e,t]:[void 0,e],n=r[0],o=" Did you mean ";n&&(o+=n+" ");var i=r[1].map(function(e){return'"'.concat(e,'"')});switch(i.length){case 0:return"";case 1:return o+i[0]+"?";case 2:return o+i[0]+" or "+i[1]+"?"}var a=i.slice(0,5),s=a.pop();return o+a.join(", ")+", or "+s+"?"}function Re(e){return e}function Me(e,t){for(var r=0,n=0;r<e.length&&n<t.length;){var o=e.charCodeAt(r),i=t.charCodeAt(n);if(Ue(o)&&Ue(i)){var a=0;do{++r,a=10*a+o-De,o=e.charCodeAt(r)}while(Ue(o)&&a>0);var s=0;do{++n,s=10*s+i-De,i=t.charCodeAt(n)}while(Ue(i)&&s>0);if(a<s)return-1;if(a>s)return 1}else{if(o<i)return-1;if(o>i)return 1;++r,++n}}return e.length-t.length}var De=48;function Ue(e){return!isNaN(e)&&De<=e&&e<=57}function Fe(e,t){for(var r=Object.create(null),n=new Le(e),o=Math.floor(.4*e.length)+1,i=0;i<t.length;i++){var a=t[i],s=n.measure(a,o);void 0!==s&&(r[a]=s)}return Object.keys(r).sort(function(e,t){var n=r[e]-r[t];return 0!==n?n:Me(e,t)})}var Le=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=ze(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var r=e.toLowerCase();if(this._inputLowerCase===r)return 1;var n=ze(r),o=this._inputArray;if(n.length<o.length){var i=n;n=o,o=i}var a=n.length,s=o.length;if(!(a-s>t)){for(var c=this._rows,u=0;u<=s;u++)c[0][u]=u;for(var l=1;l<=a;l++){for(var d=c[(l-1)%3],p=c[l%3],f=p[0]=l,h=1;h<=s;h++){var m=n[l-1]===o[h-1]?0:1,g=Math.min(d[h]+1,p[h-1]+1,d[h-1]+m);if(l>1&&h>1&&n[l-1]===o[h-2]&&n[l-2]===o[h-1]){var y=c[(l-2)%3][h-2];g=Math.min(g,y+1)}g<f&&(f=g),p[h]=g}if(f>t)return}var v=c[a%3][s];return v<=t?v:void 0}},e}();function ze(e){for(var t=e.length,r=new Array(t),n=0;n<t;++n)r[n]=e.charCodeAt(n);return r}function Ve(e){return be(e,{leave:He})}var He={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return We(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=Ke("(",We(e.variableDefinitions,", "),")"),o=We(e.directives," "),i=e.selectionSet;return r||o||n||"query"!==t?We([t,We([r,n]),o,i]," "):i},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,o=e.directives;return t+": "+r+Ke(" = ",n)+Ke(" ",We(o," "))},SelectionSet:function(e){return Be(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,o=e.directives,i=e.selectionSet,a=Ke("",t,": ")+r,s=a+Ke("(",We(n,", "),")");return s.length>80&&(s=a+Ke("(\n",Ge(We(n,"\n")),"\n)")),We([s,We(o," "),i]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+Ke(" ",We(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return We(["...",Ke("on ",t),We(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,o=e.directives,i=e.selectionSet;return"fragment ".concat(t).concat(Ke("(",We(n,", "),")")," ")+"on ".concat(r," ").concat(Ke("",We(o," ")," "))+i},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?Q(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+We(e.values,", ")+"]"},ObjectValue:function(e){return"{"+We(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+Ke("(",We(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:$e(function(e){var t=e.directives,r=e.operationTypes;return We(["schema",We(t," "),Be(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:$e(function(e){return We(["scalar",e.name,We(e.directives," ")]," ")}),ObjectTypeDefinition:$e(function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return We(["type",t,Ke("implements ",We(r," & ")),We(n," "),Be(o)]," ")}),FieldDefinition:$e(function(e){var t=e.name,r=e.arguments,n=e.type,o=e.directives;return t+(Ye(r)?Ke("(\n",Ge(We(r,"\n")),"\n)"):Ke("(",We(r,", "),")"))+": "+n+Ke(" ",We(o," "))}),InputValueDefinition:$e(function(e){var t=e.name,r=e.type,n=e.defaultValue,o=e.directives;return We([t+": "+r,Ke("= ",n),We(o," ")]," ")}),InterfaceTypeDefinition:$e(function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return We(["interface",t,Ke("implements ",We(r," & ")),We(n," "),Be(o)]," ")}),UnionTypeDefinition:$e(function(e){var t=e.name,r=e.directives,n=e.types;return We(["union",t,We(r," "),n&&0!==n.length?"= "+We(n," | "):""]," ")}),EnumTypeDefinition:$e(function(e){var t=e.name,r=e.directives,n=e.values;return We(["enum",t,We(r," "),Be(n)]," ")}),EnumValueDefinition:$e(function(e){return We([e.name,We(e.directives," ")]," ")}),InputObjectTypeDefinition:$e(function(e){var t=e.name,r=e.directives,n=e.fields;return We(["input",t,We(r," "),Be(n)]," ")}),DirectiveDefinition:$e(function(e){var t=e.name,r=e.arguments,n=e.repeatable,o=e.locations;return"directive @"+t+(Ye(r)?Ke("(\n",Ge(We(r,"\n")),"\n)"):Ke("(",We(r,", "),")"))+(n?" repeatable":"")+" on "+We(o," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return We(["extend schema",We(t," "),Be(r)]," ")},ScalarTypeExtension:function(e){return We(["extend scalar",e.name,We(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return We(["extend type",t,Ke("implements ",We(r," & ")),We(n," "),Be(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return We(["extend interface",t,Ke("implements ",We(r," & ")),We(n," "),Be(o)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return We(["extend union",t,We(r," "),n&&0!==n.length?"= "+We(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return We(["extend enum",t,We(r," "),Be(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return We(["extend input",t,We(r," "),Be(n)]," ")}};function $e(e){return function(t){return We([t.description,e(t)],"\n")}}function We(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter(function(e){return e}).join(r))&&void 0!==t?t:""}function Be(e){return Ke("{\n",Ge(We(e,"\n")),"\n}")}function Ke(e,t){return null!=t&&""!==t?e+t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function Ge(e){return Ke(" ",e.replace(/\n/g,"\n "))}function qe(e){return-1!==e.indexOf("\n")}function Ye(e){return null!=e&&e.some(qe)}function Je(e,t){switch(e.kind){case T.NULL:return null;case T.INT:return parseInt(e.value,10);case T.FLOAT:return parseFloat(e.value);case T.STRING:case T.ENUM:case T.BOOLEAN:return e.value;case T.LIST:return e.values.map(function(e){return Je(e,t)});case T.OBJECT:return Ne(e.fields,function(e){return e.name.value},function(e){return Je(e.value,t)});case T.VARIABLE:return null==t?void 0:t[e.name.value]}N(0,"Unexpected value node: "+z(e))}function Qe(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 Xe(e,t,r){return t&&Qe(e.prototype,t),r&&Qe(e,r),e}function Ze(e){return tt(e)||nt(e)||it(e)||st(e)||ut(e)||dt(e)||ft(e)||mt(e)}function et(e){if(!Ze(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL type."));return e}function tt(e){return $(e,Lt)}function rt(e){if(!tt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Scalar type."));return e}function nt(e){return $(e,zt)}function ot(e){if(!nt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Object type."));return e}function it(e){return $(e,Gt)}function at(e){if(!it(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Interface type."));return e}function st(e){return $(e,qt)}function ct(e){if(!st(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Union type."));return e}function ut(e){return $(e,Jt)}function lt(e){if(!ut(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Enum type."));return e}function dt(e){return $(e,Xt)}function pt(e){if(!dt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Input Object type."));return e}function ft(e){return $(e,It)}function ht(e){if(!ft(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL List type."));return e}function mt(e){return $(e,xt)}function gt(e){if(!mt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL Non-Null type."));return e}function yt(e){return tt(e)||ut(e)||dt(e)||Ot(e)&&yt(e.ofType)}function vt(e){if(!yt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL input type."));return e}function bt(e){return tt(e)||nt(e)||it(e)||st(e)||ut(e)||Ot(e)&&bt(e.ofType)}function Et(e){if(!bt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL output type."));return e}function wt(e){return tt(e)||ut(e)}function St(e){if(!wt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL leaf type."));return e}function At(e){return nt(e)||it(e)||st(e)}function _t(e){if(!At(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL composite type."));return e}function Pt(e){return it(e)||st(e)}function Ct(e){if(!Pt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL abstract type."));return e}function It(e){if(!(this instanceof It))return new It(e);this.ofType=et(e)}function xt(e){if(!(this instanceof xt))return new xt(e);this.ofType=Nt(e)}function Ot(e){return ft(e)||mt(e)}function kt(e){if(!Ot(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL wrapping type."));return e}function Tt(e){return Ze(e)&&!mt(e)}function Nt(e){if(!Tt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL nullable type."));return e}function jt(e){if(e)return mt(e)?e.ofType:e}function Rt(e){return tt(e)||nt(e)||it(e)||st(e)||ut(e)||dt(e)}function Mt(e){if(!Rt(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL named type."));return e}function Dt(e){if(e){for(var t=e;Ot(t);)t=t.ofType;return t}}function Ut(e){return"function"==typeof e?e():e}function Ft(e){return e&&e.length>0?e:void 0}It.prototype.toString=function(){return"["+String(this.ofType)+"]"},It.prototype.toJSON=function(){return this.toString()},Object.defineProperty(It.prototype,l,{get:function(){return"GraphQLList"}}),R(It),xt.prototype.toString=function(){return String(this.ofType)+"!"},xt.prototype.toJSON=function(){return this.toString()},Object.defineProperty(xt.prototype,l,{get:function(){return"GraphQLNonNull"}}),R(xt);var Lt=function(){function e(e){var t,r,n,o=null!==(t=e.parseValue)&&void 0!==t?t:Re;this.name=e.name,this.description=e.description,this.specifiedByUrl=e.specifiedByUrl,this.serialize=null!==(r=e.serialize)&&void 0!==r?r:Re,this.parseValue=o,this.parseLiteral=null!==(n=e.parseLiteral)&&void 0!==n?n:function(e,t){return o(Je(e,t))},this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),"string"==typeof e.name||H(0,"Must provide name."),null==e.specifiedByUrl||"string"==typeof e.specifiedByUrl||H(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat(z(e.specifiedByUrl),".")),null==e.serialize||"function"==typeof e.serialize||H(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||H(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLScalarType"}}]),e}();R(Lt);var zt=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._fields=Ht.bind(void 0,e),this._interfaces=Vt.bind(void 0,e),"string"==typeof e.name||H(0,"Must provide name."),null==e.isTypeOf||"function"==typeof e.isTypeOf||H(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(z(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Wt(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLObjectType"}}]),e}();function Vt(e){var t,r=null!==(t=Ut(e.interfaces))&&void 0!==t?t:[];return Array.isArray(r)||H(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),r}function Ht(e){var t=Ut(e.fields);return $t(t)||H(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),ke(t,function(t,r){var n;$t(t)||H(0,"".concat(e.name,".").concat(r," field config must be an object.")),!("isDeprecated"in t)||H(0,"".concat(e.name,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"==typeof t.resolve||H(0,"".concat(e.name,".").concat(r," field resolver must be a function if ")+"provided, but got: ".concat(z(t.resolve),"."));var o=null!==(n=t.args)&&void 0!==n?n:{};$t(o)||H(0,"".concat(e.name,".").concat(r," args must be an object with argument names as keys."));var i=xe(o).map(function(e){var t=e[0],r=e[1];return{name:t,description:r.description,type:r.type,defaultValue:r.defaultValue,deprecationReason:r.deprecationReason,extensions:r.extensions&&Te(r.extensions),astNode:r.astNode}});return{name:r,description:t.description,type:t.type,args:i,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Te(t.extensions),astNode:t.astNode}})}function $t(e){return s(e)&&!Array.isArray(e)}function Wt(e){return ke(e,function(e){return{description:e.description,type:e.type,args:Bt(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}})}function Bt(e){return Ne(e,function(e){return e.name},function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}})}function Kt(e){return mt(e.type)&&void 0===e.defaultValue}R(zt);var Gt=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._fields=Ht.bind(void 0,e),this._interfaces=Vt.bind(void 0,e),"string"==typeof e.name||H(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||H(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(z(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Wt(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLInterfaceType"}}]),e}();R(Gt);var qt=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._types=Yt.bind(void 0,e),"string"==typeof e.name||H(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||H(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(z(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"==typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLUnionType"}}]),e}();function Yt(e){var t=Ut(e.types);return Array.isArray(t)||H(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}R(qt);var Jt=function(){function e(e){var t,r;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._values=(t=this.name,$t(r=e.values)||H(0,"".concat(t," values must be an object with value names as keys.")),xe(r).map(function(e){var r=e[0],n=e[1];return $t(n)||H(0,"".concat(t,".").concat(r,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(z(n),".")),!("isDeprecated"in n)||H(0,"".concat(t,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),{name:r,description:n.description,value:void 0!==n.value?n.value:r,isDeprecated:null!=n.deprecationReason,deprecationReason:n.deprecationReason,extensions:n.extensions&&Te(n.extensions),astNode:n.astNode}})),this._valueLookup=new Map(this._values.map(function(e){return[e.value,e]})),this._nameLookup=Oe(this._values,function(e){return e.name}),"string"==typeof e.name||H(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(void 0===t)throw new I('Enum "'.concat(this.name,'" cannot represent value: ').concat(z(e)));return t.name},t.parseValue=function(e){if("string"!=typeof e){var t=z(e);throw new I('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t,".")+Qt(this,t))}var r=this.getValue(e);if(null==r)throw new I('Value "'.concat(e,'" does not exist in "').concat(this.name,'" enum.')+Qt(this,e));return r.value},t.parseLiteral=function(e,t){if(e.kind!==T.ENUM){var r=Ve(e);throw new I('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(r,".")+Qt(this,r),e)}var n=this.getValue(e.value);if(null==n){var o=Ve(e);throw new I('Value "'.concat(o,'" does not exist in "').concat(this.name,'" enum.')+Qt(this,o),e)}return n.value},t.toConfig=function(){var e,t=Ne(this.getValues(),function(e){return e.name},function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}});return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLEnumType"}}]),e}();function Qt(e,t){return je("the enum value",Fe(t,e.getValues().map(function(e){return e.name})))}R(Jt);var Xt=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Ft(e.extensionASTNodes),this._fields=Zt.bind(void 0,e),"string"==typeof e.name||H(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e,t=ke(this.getFields(),function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}});return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},Xe(e,[{key:l,get:function(){return"GraphQLInputObjectType"}}]),e}();function Zt(e){var t=Ut(e.fields);return $t(t)||H(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),ke(t,function(t,r){return!("resolve"in t)||H(0,"".concat(e.name,".").concat(r," field has a resolve property, but Input Types cannot define resolvers.")),{name:r,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&Te(t.extensions),astNode:t.astNode}})}function er(e){return mt(e.type)&&void 0===e.defaultValue}function tr(e,t){return e===t||(mt(e)&&mt(t)||!(!ft(e)||!ft(t)))&&tr(e.ofType,t.ofType)}function rr(e,t,r){return t===r||(mt(r)?!!mt(t)&&rr(e,t.ofType,r.ofType):mt(t)?rr(e,t.ofType,r):ft(r)?!!ft(t)&&rr(e,t.ofType,r.ofType):!ft(t)&&Pt(r)&&(it(t)||nt(t))&&e.isSubType(r,t))}function nr(e,t,r){return t===r||(Pt(t)?Pt(r)?e.getPossibleTypes(t).some(function(t){return e.isSubType(r,t)}):e.isSubType(t,r):!!Pt(r)&&e.isSubType(r,t))}R(Xt);const or=Array.from||function(e,t,r){if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n=e[c];if("function"==typeof n){for(var o,i=n.call(e),a=[],s=0;!(o=i.next()).done;++s)if(a.push(t.call(r,o.value,s)),s>9999999)throw new TypeError("Near-infinite iteration.");return a}var u=e.length;if("number"==typeof u&&u>=0&&u%1==0){for(var l=[],d=0;d<u;++d)Object.prototype.hasOwnProperty.call(e,d)&&l.push(t.call(r,e[d],d));return l}return[]},ir=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)};function ar(e){return ar="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ar(e)}function sr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};if(null==e||"object"!==ar(e))return null;if(Array.isArray(e))return e.map(t);var r=e[c];if("function"==typeof r){for(var n,o=r.call(e),i=[],a=0;!(n=o.next()).done;++a)i.push(t(n.value,a));return i}var s=e.length;if("number"==typeof s&&s>=0&&s%1==0){for(var u=[],l=0;l<s;++l){if(!Object.prototype.hasOwnProperty.call(e,l))return null;u.push(t(e[String(l)],l))}return u}return null}const cr=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};var ur=2147483647,lr=-2147483648,dr=new Lt({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e){var t=fr(e);if("boolean"==typeof t)return t?1:0;var r=t;if("string"==typeof t&&""!==t&&(r=Number(t)),!cr(r))throw new I("Int cannot represent non-integer value: ".concat(z(t)));if(r>ur||r<lr)throw new I("Int cannot represent non 32-bit signed integer value: "+z(t));return r},parseValue:function(e){if(!cr(e))throw new I("Int cannot represent non-integer value: ".concat(z(e)));if(e>ur||e<lr)throw new I("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(e){if(e.kind!==T.INT)throw new I("Int cannot represent non-integer value: ".concat(Ve(e)),e);var t=parseInt(e.value,10);if(t>ur||t<lr)throw new I("Int cannot represent non 32-bit signed integer value: ".concat(e.value),e);return t}}),pr=new Lt({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){var t=fr(e);if("boolean"==typeof t)return t?1:0;var r=t;if("string"==typeof t&&""!==t&&(r=Number(t)),!ir(r))throw new I("Float cannot represent non numeric value: ".concat(z(t)));return r},parseValue:function(e){if(!ir(e))throw new I("Float cannot represent non numeric value: ".concat(z(e)));return e},parseLiteral:function(e){if(e.kind!==T.FLOAT&&e.kind!==T.INT)throw new I("Float cannot represent non numeric value: ".concat(Ve(e)),e);return parseFloat(e.value)}});function fr(e){if(s(e)){if("function"==typeof e.valueOf){var t=e.valueOf();if(!s(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}var hr=new Lt({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=fr(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if(ir(t))return t.toString();throw new I("String cannot represent value: ".concat(z(e)))},parseValue:function(e){if("string"!=typeof e)throw new I("String cannot represent a non string value: ".concat(z(e)));return e},parseLiteral:function(e){if(e.kind!==T.STRING)throw new I("String cannot represent a non string value: ".concat(Ve(e)),e);return e.value}}),mr=new Lt({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){var t=fr(e);if("boolean"==typeof t)return t;if(ir(t))return 0!==t;throw new I("Boolean cannot represent a non boolean value: ".concat(z(t)))},parseValue:function(e){if("boolean"!=typeof e)throw new I("Boolean cannot represent a non boolean value: ".concat(z(e)));return e},parseLiteral:function(e){if(e.kind!==T.BOOLEAN)throw new I("Boolean cannot represent a non boolean value: ".concat(Ve(e)),e);return e.value}}),gr=new Lt({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=fr(e);if("string"==typeof t)return t;if(cr(t))return String(t);throw new I("ID cannot represent value: ".concat(z(e)))},parseValue:function(e){if("string"==typeof e)return e;if(cr(e))return e.toString();throw new I("ID cannot represent value: ".concat(z(e)))},parseLiteral:function(e){if(e.kind!==T.STRING&&e.kind!==T.INT)throw new I("ID cannot represent a non-string and non-integer value: "+Ve(e),e);return e.value}}),yr=Object.freeze([hr,dr,pr,mr,gr]);function vr(e){return yr.some(function(t){var r=t.name;return e.name===r})}function br(e,t){if(mt(t)){var r=br(e,t.ofType);return(null==r?void 0:r.kind)===T.NULL?null:r}if(null===e)return{kind:T.NULL};if(void 0===e)return null;if(ft(t)){var n=t.ofType,o=sr(e);if(null!=o){for(var i=[],a=0;a<o.length;a++){var c=br(o[a],n);null!=c&&i.push(c)}return{kind:T.LIST,values:i}}return br(e,n)}if(dt(t)){if(!s(e))return null;for(var u=[],l=0,d=Ae(t.getFields());l<d.length;l++){var p=d[l],f=br(e[p.name],p.type);f&&u.push({kind:T.OBJECT_FIELD,name:{kind:T.NAME,value:p.name},value:f})}return{kind:T.OBJECT,fields:u}}if(wt(t)){var h=t.serialize(e);if(null==h)return null;if("boolean"==typeof h)return{kind:T.BOOLEAN,value:h};if("number"==typeof h&&ir(h)){var m=String(h);return Er.test(m)?{kind:T.INT,value:m}:{kind:T.FLOAT,value:m}}if("string"==typeof h)return ut(t)?{kind:T.ENUM,value:h}:t===gr&&Er.test(h)?{kind:T.INT,value:h}:{kind:T.STRING,value:h};throw new TypeError("Cannot convert value to AST: ".concat(z(h),"."))}N(0,"Unexpected input type: "+z(t))}var Er=/^-?(?:0|[1-9][0-9]*)$/,wr=new zt({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:hr,resolve:function(e){return e.description}},types:{description:"A list of all types supported by this server.",type:new xt(new It(new xt(_r))),resolve:function(e){return Ae(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new xt(_r),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:_r,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:_r,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new xt(new It(new xt(Sr))),resolve:function(e){return e.getDirectives()}}}}}),Sr=new zt({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:new xt(hr),resolve:function(e){return e.name}},description:{type:hr,resolve:function(e){return e.description}},isRepeatable:{type:new xt(mr),resolve:function(e){return e.isRepeatable}},locations:{type:new xt(new It(new xt(Ar))),resolve:function(e){return e.locations}},args:{type:new xt(new It(new xt(Cr))),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter(function(e){return null==e.deprecationReason})}}}}}),Ar=new Jt({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:G.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:G.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:G.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:G.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:G.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:G.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:G.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:G.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:G.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:G.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:G.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:G.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:G.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:G.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:G.UNION,description:"Location adjacent to a union definition."},ENUM:{value:G.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:G.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:G.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:G.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),_r=new zt({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new xt(Or),resolve:function(e){return tt(e)?xr.SCALAR:nt(e)?xr.OBJECT:it(e)?xr.INTERFACE:st(e)?xr.UNION:ut(e)?xr.ENUM:dt(e)?xr.INPUT_OBJECT:ft(e)?xr.LIST:mt(e)?xr.NON_NULL:void N(0,'Unexpected type: "'.concat(z(e),'".'))}},name:{type:hr,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:hr,resolve:function(e){return void 0!==e.description?e.description:void 0}},specifiedByUrl:{type:hr,resolve:function(e){return void 0!==e.specifiedByUrl?e.specifiedByUrl:void 0}},fields:{type:new It(new xt(Pr)),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(nt(e)||it(e)){var n=Ae(e.getFields());return r?n:n.filter(function(e){return null==e.deprecationReason})}}},interfaces:{type:new It(new xt(_r)),resolve:function(e){if(nt(e)||it(e))return e.getInterfaces()}},possibleTypes:{type:new It(new xt(_r)),resolve:function(e,t,r,n){var o=n.schema;if(Pt(e))return o.getPossibleTypes(e)}},enumValues:{type:new It(new xt(Ir)),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(ut(e)){var n=e.getValues();return r?n:n.filter(function(e){return null==e.deprecationReason})}}},inputFields:{type:new It(new xt(Cr)),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(dt(e)){var n=Ae(e.getFields());return r?n:n.filter(function(e){return null==e.deprecationReason})}}},ofType:{type:_r,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),Pr=new zt({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new xt(hr),resolve:function(e){return e.name}},description:{type:hr,resolve:function(e){return e.description}},args:{type:new xt(new It(new xt(Cr))),args:{includeDeprecated:{type:mr,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter(function(e){return null==e.deprecationReason})}},type:{type:new xt(_r),resolve:function(e){return e.type}},isDeprecated:{type:new xt(mr),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:hr,resolve:function(e){return e.deprecationReason}}}}}),Cr=new zt({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new xt(hr),resolve:function(e){return e.name}},description:{type:hr,resolve:function(e){return e.description}},type:{type:new xt(_r),resolve:function(e){return e.type}},defaultValue:{type:hr,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=e.type,r=br(e.defaultValue,t);return r?Ve(r):null}},isDeprecated:{type:new xt(mr),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:hr,resolve:function(e){return e.deprecationReason}}}}}),Ir=new zt({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new xt(hr),resolve:function(e){return e.name}},description:{type:hr,resolve:function(e){return e.description}},isDeprecated:{type:new xt(mr),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:hr,resolve:function(e){return e.deprecationReason}}}}}),xr=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),Or=new Jt({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:xr.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:xr.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:xr.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:xr.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:xr.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:xr.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:xr.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:xr.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),kr={name:"__schema",type:new xt(wr),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,r,n){return n.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Tr={name:"__type",type:_r,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new xt(hr),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,r,n){var o=t.name;return n.schema.getType(o)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Nr={name:"__typename",type:new xt(hr),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,r,n){return n.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},jr=Object.freeze([wr,Sr,Ar,_r,Pr,Cr,Ir,Or]);function Rr(e){return jr.some(function(t){var r=t.name;return e.name===r})}function Mr(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 Dr(e){return $(e,Fr)}function Ur(e){if(!Dr(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL directive."));return e}var Fr=function(){function e(e){var t,r;this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,e.name||H(0,"Directive must be named."),Array.isArray(e.locations)||H(0,"@".concat(e.name," locations must be an Array."));var n=null!==(r=e.args)&&void 0!==r?r:{};s(n)&&!Array.isArray(n)||H(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=xe(n).map(function(e){var t=e[0],r=e[1];return{name:t,description:r.description,type:r.type,defaultValue:r.defaultValue,deprecationReason:r.deprecationReason,extensions:r.extensions&&Te(r.extensions),astNode:r.astNode}})}var t,r,n=e.prototype;return n.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Bt(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},n.toString=function(){return"@"+this.name},n.toJSON=function(){return this.toString()},t=e,(r=[{key:l,get:function(){return"GraphQLDirective"}}])&&Mr(t.prototype,r),e}();R(Fr);var Lr=new Fr({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[G.FIELD,G.FRAGMENT_SPREAD,G.INLINE_FRAGMENT],args:{if:{type:new xt(mr),description:"Included when true."}}}),zr=new Fr({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[G.FIELD,G.FRAGMENT_SPREAD,G.INLINE_FRAGMENT],args:{if:{type:new xt(mr),description:"Skipped when true."}}}),Vr="No longer supported",Hr=new Fr({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[G.FIELD_DEFINITION,G.ARGUMENT_DEFINITION,G.INPUT_FIELD_DEFINITION,G.ENUM_VALUE],args:{reason:{type:hr,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Vr}}}),$r=new Fr({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[G.SCALAR],args:{url:{type:new xt(hr),description:"The URL that specifies the behaviour of this scalar."}}}),Wr=Object.freeze([Lr,zr,Hr,$r]);function Br(e){return Wr.some(function(t){return t.name===e.name})}function Kr(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 Gr(e){return $(e,Yr)}function qr(e){if(!Gr(e))throw new Error("Expected ".concat(z(e)," to be a GraphQL schema."));return e}var Yr=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,s(e)||H(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||H(0,'"types" must be Array if provided but got: '.concat(z(e.types),".")),!e.directives||Array.isArray(e.directives)||H(0,'"directives" must be Array if provided but got: '+"".concat(z(e.directives),".")),this.description=e.description,this.extensions=e.extensions&&Te(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(t=e.directives)&&void 0!==t?t:Wr;var r=new Set(e.types);if(null!=e.types)for(var n=0,o=e.types;n<o.length;n++){var i=o[n];r.delete(i),Jr(i,r)}null!=this._queryType&&Jr(this._queryType,r),null!=this._mutationType&&Jr(this._mutationType,r),null!=this._subscriptionType&&Jr(this._subscriptionType,r);for(var a=0,c=this._directives;a<c.length;a++){var u=c[a];if(Dr(u))for(var l=0,d=u.args;l<d.length;l++)Jr(d[l].type,r)}Jr(wr,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var p=0,f=or(r);p<f.length;p++){var h=f[p];if(null!=h){var m=h.name;if(m||H(0,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[m])throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(m,'".'));if(this._typeMap[m]=h,it(h))for(var g=0,y=h.getInterfaces();g<y.length;g++){var v=y[g];if(it(v)){var b=this._implementationsMap[v.name];void 0===b&&(b=this._implementationsMap[v.name]={objects:[],interfaces:[]}),b.interfaces.push(h)}}else if(nt(h))for(var E=0,w=h.getInterfaces();E<w.length;E++){var S=w[E];if(it(S)){var A=this._implementationsMap[S.name];void 0===A&&(A=this._implementationsMap[S.name]={objects:[],interfaces:[]}),A.objects.push(h)}}}}}var t,r,n=e.prototype;return n.getQueryType=function(){return this._queryType},n.getMutationType=function(){return this._mutationType},n.getSubscriptionType=function(){return this._subscriptionType},n.getTypeMap=function(){return this._typeMap},n.getType=function(e){return this.getTypeMap()[e]},n.getPossibleTypes=function(e){return st(e)?e.getTypes():this.getImplementations(e).objects},n.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}},n.isPossibleType=function(e,t){return this.isSubType(e,t)},n.isSubType=function(e,t){var r=this._subTypeMap[e.name];if(void 0===r){if(r=Object.create(null),st(e))for(var n=0,o=e.getTypes();n<o.length;n++)r[o[n].name]=!0;else{for(var i=this.getImplementations(e),a=0,s=i.objects;a<s.length;a++)r[s[a].name]=!0;for(var c=0,u=i.interfaces;c<u.length;c++)r[u[c].name]=!0}this._subTypeMap[e.name]=r}return void 0!==r[t.name]},n.getDirectives=function(){return this._directives},n.getDirective=function(e){return Se(this.getDirectives(),function(t){return t.name===e})},n.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Ae(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[],assumeValid:void 0!==this.__validationErrors}},t=e,(r=[{key:l,get:function(){return"GraphQLSchema"}}])&&Kr(t.prototype,r),e}();function Jr(e,t){var r=Dt(e);if(!t.has(r))if(t.add(r),st(r))for(var n=0,o=r.getTypes();n<o.length;n++)Jr(o[n],t);else if(nt(r)||it(r)){for(var i=0,a=r.getInterfaces();i<a.length;i++)Jr(a[i],t);for(var s=0,c=Ae(r.getFields());s<c.length;s++){var u=c[s];Jr(u.type,t);for(var l=0,d=u.args;l<d.length;l++)Jr(d[l].type,t)}}else if(dt(r))for(var p=0,f=Ae(r.getFields());p<f.length;p++)Jr(f[p].type,t);return t}function Qr(e){if(qr(e),e.__validationErrors)return e.__validationErrors;var t=new Zr(e);!function(e){var t=e.schema,r=t.getQueryType();if(r){if(!nt(r)){var n;e.reportError("Query root type must be Object type, it cannot be ".concat(z(r),"."),null!==(n=en(t,"query"))&&void 0!==n?n:r.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);var o,i=t.getMutationType();i&&!nt(i)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(z(i),"."),null!==(o=en(t,"mutation"))&&void 0!==o?o:i.astNode);var a,s=t.getSubscriptionType();s&&!nt(s)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(z(s),"."),null!==(a=en(t,"subscription"))&&void 0!==a?a:s.astNode)}(t),function(e){for(var t=0,r=e.schema.getDirectives();t<r.length;t++){var n=r[t];if(Dr(n)){tn(e,n);for(var o=0,i=n.args;o<i.length;o++){var a,s=i[o];tn(e,s),yt(s.type)||e.reportError("The type of @".concat(n.name,"(").concat(s.name,":) must be Input Type ")+"but got: ".concat(z(s.type),"."),s.astNode),Kt(s)&&null!=s.deprecationReason&&e.reportError("Required argument @".concat(n.name,"(").concat(s.name,":) cannot be deprecated."),[hn(s.astNode),null===(a=s.astNode)||void 0===a?void 0:a.type])}}else e.reportError("Expected directive but got: ".concat(z(n),"."),null==n?void 0:n.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),r=[],n=Object.create(null);return function o(i){if(!t[i.name]){t[i.name]=!0,n[i.name]=r.length;for(var a=Ae(i.getFields()),s=0;s<a.length;s++){var c=a[s];if(mt(c.type)&&dt(c.type.ofType)){var u=c.type.ofType,l=n[u.name];if(r.push(c),void 0===l)o(u);else{var d=r.slice(l),p=d.map(function(e){return e.name}).join(".");e.reportError('Cannot reference Input Object "'.concat(u.name,'" within itself through a series of non-null fields: "').concat(p,'".'),d.map(function(e){return e.astNode}))}r.pop()}}n[i.name]=void 0}}}(e),r=e.schema.getTypeMap(),n=0,o=Ae(r);n<o.length;n++){var i=o[n];Rt(i)?(Rr(i)||tn(e,i),nt(i)||it(i)?(rn(e,i),nn(e,i)):st(i)?sn(e,i):ut(i)?cn(e,i):dt(i)&&(un(e,i),t(i))):e.reportError("Expected GraphQL named type but got: ".concat(z(i),"."),i.astNode)}}(t);var r=t.getErrors();return e.__validationErrors=r,r}function Xr(e){var t=Qr(e);if(0!==t.length)throw new Error(t.map(function(e){return e.message}).join("\n\n"))}var Zr=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var r=Array.isArray(t)?t.filter(Boolean):t;this.addError(new I(e,r))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function en(e,t){for(var r=dn(e,function(e){return e.operationTypes}),n=0;n<r.length;n++){var o=r[n];if(o.operation===t)return o.type}}function tn(e,t){var r=Ie(t.name);r&&e.addError(_e(r,t.astNode))}function rn(e,t){var r=Ae(t.getFields());0===r.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),ln(t));for(var n=0;n<r.length;n++){var o,i=r[n];tn(e,i),bt(i.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name," must be Output Type ")+"but got: ".concat(z(i.type),"."),null===(o=i.astNode)||void 0===o?void 0:o.type);for(var a=0,s=i.args;a<s.length;a++){var c,u,l=s[a],d=l.name;tn(e,l),yt(l.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name,"(").concat(d,":) must be Input ")+"Type but got: ".concat(z(l.type),"."),null===(c=l.astNode)||void 0===c?void 0:c.type),Kt(l)&&null!=l.deprecationReason&&e.reportError("Required argument ".concat(t.name,".").concat(i.name,"(").concat(d,":) cannot be deprecated."),[hn(l.astNode),null===(u=l.astNode)||void 0===u?void 0:u.type])}}}function nn(e,t){for(var r=Object.create(null),n=0,o=t.getInterfaces();n<o.length;n++){var i=o[n];it(i)?t!==i?r[i.name]?e.reportError("Type ".concat(t.name," can only implement ").concat(i.name," once."),pn(t,i)):(r[i.name]=!0,an(e,t,i),on(e,t,i)):e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),pn(t,i)):e.reportError("Type ".concat(z(t)," must only implement Interface types, ")+"it cannot implement ".concat(z(i),"."),pn(t,i))}}function on(e,t,r){for(var n=t.getFields(),o=0,i=Ae(r.getFields());o<i.length;o++){var a=i[o],s=a.name,c=n[s];if(c){var u,l;rr(e.schema,c.type,a.type)||e.reportError("Interface field ".concat(r.name,".").concat(s," expects type ")+"".concat(z(a.type)," but ").concat(t.name,".").concat(s," ")+"is type ".concat(z(c.type),"."),[null===(u=a.astNode)||void 0===u?void 0:u.type,null===(l=c.astNode)||void 0===l?void 0:l.type]);for(var d=function(n,o){var i,a,u=o[n],l=u.name,d=Se(c.args,function(e){return e.name===l});if(!d)return e.reportError("Interface field argument ".concat(r.name,".").concat(s,"(").concat(l,":) expected but ").concat(t.name,".").concat(s," does not provide it."),[u.astNode,c.astNode]),"continue";tr(u.type,d.type)||e.reportError("Interface field argument ".concat(r.name,".").concat(s,"(").concat(l,":) ")+"expects type ".concat(z(u.type)," but ")+"".concat(t.name,".").concat(s,"(").concat(l,":) is type ")+"".concat(z(d.type),"."),[null===(i=u.astNode)||void 0===i?void 0:i.type,null===(a=d.astNode)||void 0===a?void 0:a.type])},p=0,f=a.args;p<f.length;p++)d(p,f);for(var h=function(n,o){var i=o[n],c=i.name;!Se(a.args,function(e){return e.name===c})&&Kt(i)&&e.reportError("Object field ".concat(t.name,".").concat(s," includes required argument ").concat(c," that is missing from the Interface field ").concat(r.name,".").concat(s,"."),[i.astNode,a.astNode])},m=0,g=c.args;m<g.length;m++)h(m,g)}else e.reportError("Interface field ".concat(r.name,".").concat(s," expected but ").concat(t.name," does not provide it."),[a.astNode].concat(ln(t)))}}function an(e,t,r){for(var n=t.getInterfaces(),o=0,i=r.getInterfaces();o<i.length;o++){var a=i[o];-1===n.indexOf(a)&&e.reportError(a===t?"Type ".concat(t.name," cannot implement ").concat(r.name," because it would create a circular reference."):"Type ".concat(t.name," must implement ").concat(a.name," because it is implemented by ").concat(r.name,"."),[].concat(pn(r,a),pn(t,r)))}}function sn(e,t){var r=t.getTypes();0===r.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),ln(t));for(var n=Object.create(null),o=0;o<r.length;o++){var i=r[o];n[i.name]?e.reportError("Union type ".concat(t.name," can only include type ").concat(i.name," once."),fn(t,i.name)):(n[i.name]=!0,nt(i)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat(z(i),"."),fn(t,String(i))))}}function cn(e,t){var r=t.getValues();0===r.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),ln(t));for(var n=0;n<r.length;n++){var o=r[n],i=o.name;tn(e,o),"true"!==i&&"false"!==i&&"null"!==i||e.reportError("Enum type ".concat(t.name," cannot include value: ").concat(i,"."),o.astNode)}}function un(e,t){var r=Ae(t.getFields());0===r.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),ln(t));for(var n=0;n<r.length;n++){var o,i,a=r[n];tn(e,a),yt(a.type)||e.reportError("The type of ".concat(t.name,".").concat(a.name," must be Input Type ")+"but got: ".concat(z(a.type),"."),null===(o=a.astNode)||void 0===o?void 0:o.type),er(a)&&null!=a.deprecationReason&&e.reportError("Required input field ".concat(t.name,".").concat(a.name," cannot be deprecated."),[hn(a.astNode),null===(i=a.astNode)||void 0===i?void 0:i.type])}}function ln(e){var t=e.astNode,r=e.extensionASTNodes;return t?r?[t].concat(r):[t]:null!=r?r:[]}function dn(e,t){for(var r=[],n=0,o=ln(e);n<o.length;n++){var i,a=o[n];r=r.concat(null!==(i=t(a))&&void 0!==i?i:[])}return r}function pn(e,t){return dn(e,function(e){return e.interfaces}).filter(function(e){return e.name.value===t.name})}function fn(e,t){return dn(e,function(e){return e.types}).filter(function(e){return e.name.value===t})}function hn(e){var t;return null==e||null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return e.name.value===Hr.name})}function mn(e,t){var r;return t.kind===T.LIST_TYPE?(r=mn(e,t.type))&&new It(r):t.kind===T.NON_NULL_TYPE?(r=mn(e,t.type))&&new xt(r):t.kind===T.NAMED_TYPE?e.getType(t.name.value):void N(0,"Unexpected type node: "+z(t))}var gn=function(){function e(e,t,r){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=t?t:yn,r&&(yt(r)&&this._inputTypeStack.push(r),At(r)&&this._parentTypeStack.push(r),bt(r)&&this._typeStack.push(r))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case T.SELECTION_SET:var r=Dt(this.getType());this._parentTypeStack.push(At(r)?r:void 0);break;case T.FIELD:var n,o,i=this.getParentType();i&&(n=this._getFieldDef(t,i,e))&&(o=n.type),this._fieldDefStack.push(n),this._typeStack.push(bt(o)?o:void 0);break;case T.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case T.OPERATION_DEFINITION:var a;switch(e.operation){case"query":a=t.getQueryType();break;case"mutation":a=t.getMutationType();break;case"subscription":a=t.getSubscriptionType()}this._typeStack.push(nt(a)?a:void 0);break;case T.INLINE_FRAGMENT:case T.FRAGMENT_DEFINITION:var s=e.typeCondition,c=s?mn(t,s):Dt(this.getType());this._typeStack.push(bt(c)?c:void 0);break;case T.VARIABLE_DEFINITION:var u=mn(t,e.type);this._inputTypeStack.push(yt(u)?u:void 0);break;case T.ARGUMENT:var l,d,p,f=null!==(l=this.getDirective())&&void 0!==l?l:this.getFieldDef();f&&(d=Se(f.args,function(t){return t.name===e.name.value}))&&(p=d.type),this._argument=d,this._defaultValueStack.push(d?d.defaultValue:void 0),this._inputTypeStack.push(yt(p)?p:void 0);break;case T.LIST:var h=jt(this.getInputType()),m=ft(h)?h.ofType:h;this._defaultValueStack.push(void 0),this._inputTypeStack.push(yt(m)?m:void 0);break;case T.OBJECT_FIELD:var g,y,v=Dt(this.getInputType());dt(v)&&(y=v.getFields()[e.name.value])&&(g=y.type),this._defaultValueStack.push(y?y.defaultValue:void 0),this._inputTypeStack.push(yt(g)?g:void 0);break;case T.ENUM:var b,E=Dt(this.getInputType());ut(E)&&(b=E.getValue(e.value)),this._enumValue=b}},t.leave=function(e){switch(e.kind){case T.SELECTION_SET:this._parentTypeStack.pop();break;case T.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case T.DIRECTIVE:this._directive=null;break;case T.OPERATION_DEFINITION:case T.INLINE_FRAGMENT:case T.FRAGMENT_DEFINITION:this._typeStack.pop();break;case T.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case T.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case T.LIST:case T.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case T.ENUM:this._enumValue=null}},e}();function yn(e,t,r){var n=r.name.value;return n===kr.name&&e.getQueryType()===t?kr:n===Tr.name&&e.getQueryType()===t?Tr:n===Nr.name&&At(t)?Nr:nt(t)||it(t)?t.getFields()[n]:void 0}function vn(e,t){return{enter:function(r){e.enter(r);var n=we(t,r.kind,!1);if(n){var o=n.apply(t,arguments);return void 0!==o&&(e.leave(r),U(o)&&e.enter(o)),o}},leave:function(r){var n,o=we(t,r.kind,!0);return o&&(n=o.apply(t,arguments)),e.leave(r),n}}}function bn(e){return En(e)||Pn(e)||In(e)}function En(e){return e.kind===T.OPERATION_DEFINITION||e.kind===T.FRAGMENT_DEFINITION}function wn(e){return e.kind===T.FIELD||e.kind===T.FRAGMENT_SPREAD||e.kind===T.INLINE_FRAGMENT}function Sn(e){return e.kind===T.VARIABLE||e.kind===T.INT||e.kind===T.FLOAT||e.kind===T.STRING||e.kind===T.BOOLEAN||e.kind===T.NULL||e.kind===T.ENUM||e.kind===T.LIST||e.kind===T.OBJECT}function An(e){return e.kind===T.NAMED_TYPE||e.kind===T.LIST_TYPE||e.kind===T.NON_NULL_TYPE}function Pn(e){return e.kind===T.SCHEMA_DEFINITION||Cn(e)||e.kind===T.DIRECTIVE_DEFINITION}function Cn(e){return e.kind===T.SCALAR_TYPE_DEFINITION||e.kind===T.OBJECT_TYPE_DEFINITION||e.kind===T.INTERFACE_TYPE_DEFINITION||e.kind===T.UNION_TYPE_DEFINITION||e.kind===T.ENUM_TYPE_DEFINITION||e.kind===T.INPUT_OBJECT_TYPE_DEFINITION}function In(e){return e.kind===T.SCHEMA_EXTENSION||xn(e)}function xn(e){return e.kind===T.SCALAR_TYPE_EXTENSION||e.kind===T.OBJECT_TYPE_EXTENSION||e.kind===T.INTERFACE_TYPE_EXTENSION||e.kind===T.UNION_TYPE_EXTENSION||e.kind===T.ENUM_TYPE_EXTENSION||e.kind===T.INPUT_OBJECT_TYPE_EXTENSION}function On(e){return{Document:function(t){for(var r=0,n=t.definitions;r<n.length;r++){var o=n[r];if(!En(o)){var i=o.kind===T.SCHEMA_DEFINITION||o.kind===T.SCHEMA_EXTENSION?"schema":'"'+o.name.value+'"';e.reportError(new I("The ".concat(i," definition is not executable."),o))}}return!1}}}function kn(e){var t=Object.create(null);return{OperationDefinition:function(r){var n=r.name;return n&&(t[n.value]?e.reportError(new I('There can be only one operation named "'.concat(n.value,'".'),[t[n.value],n])):t[n.value]=n),!1},FragmentDefinition:function(){return!1}}}function Tn(e){var t=0;return{Document:function(e){t=e.definitions.filter(function(e){return e.kind===T.OPERATION_DEFINITION}).length},OperationDefinition:function(r){!r.name&&t>1&&e.reportError(new I("This anonymous operation must be the only defined operation.",r))}}}function Nn(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new I(t.name?'Subscription "'.concat(t.name.value,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t.selectionSet.selections.slice(1)))}}}function jn(e){for(var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null),o=0,i=e.getDocument().definitions;o<i.length;o++){var a=i[o];Cn(a)&&(n[a.name.value]=!0)}var s=Object.keys(r).concat(Object.keys(n));return{NamedType:function(t,o,i,a,c){var u,l=t.name.value;if(!r[l]&&!n[l]){var d,p=null!==(d=c[2])&&void 0!==d?d:i,f=null!=p&&(u=p,!Array.isArray(u)&&(Pn(u)||In(u)));if(f&&function(e){return-1!==Rn.indexOf(e)}(l))return;var h=Fe(l,f?Rn.concat(s):s);e.reportError(new I('Unknown type "'.concat(l,'".')+je(h),t))}}}}var Rn=[].concat(yr,jr).map(function(e){return e.name});function Mn(e){return{InlineFragment:function(t){var r=t.typeCondition;if(r){var n=mn(e.getSchema(),r);if(n&&!At(n)){var o=Ve(r);e.reportError(new I('Fragment cannot condition on non composite type "'.concat(o,'".'),r))}}},FragmentDefinition:function(t){var r=mn(e.getSchema(),t.typeCondition);if(r&&!At(r)){var n=Ve(t.typeCondition);e.reportError(new I('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(n,'".'),t.typeCondition))}}}}function Dn(e){return{VariableDefinition:function(t){var r=mn(e.getSchema(),t.type);if(r&&!yt(r)){var n=t.variable.name.value,o=Ve(t.type);e.reportError(new I('Variable "$'.concat(n,'" cannot be non-input type "').concat(o,'".'),t.type))}}}}function Un(e){return{Field:function(t){var r=e.getType(),n=t.selectionSet;if(r)if(wt(Dt(r))){if(n){var o=t.name.value,i=z(r);e.reportError(new I('Field "'.concat(o,'" must not have a selection since type "').concat(i,'" has no subfields.'),n))}}else if(!n){var a=t.name.value,s=z(r);e.reportError(new I('Field "'.concat(a,'" of type "').concat(s,'" must have a selection of subfields. Did you mean "').concat(a,' { ... }"?'),t))}}}}function Fn(e){return{Field:function(t){var r=e.getParentType();if(r&&!e.getFieldDef()){var n=e.getSchema(),o=t.name.value,i=je("to use an inline fragment on",function(e,t,r){if(!Pt(t))return[];for(var n=new Set,o=Object.create(null),i=0,a=e.getPossibleTypes(t);i<a.length;i++){var s=a[i];if(s.getFields()[r]){n.add(s),o[s.name]=1;for(var c=0,u=s.getInterfaces();c<u.length;c++){var l,d=u[c];d.getFields()[r]&&(n.add(d),o[d.name]=(null!==(l=o[d.name])&&void 0!==l?l:0)+1)}}}return or(n).sort(function(t,r){var n=o[r.name]-o[t.name];return 0!==n?n:it(t)&&e.isSubType(t,r)?-1:it(r)&&e.isSubType(r,t)?1:Me(t.name,r.name)}).map(function(e){return e.name})}(n,r,o));""===i&&(i=je(function(e,t){return nt(e)||it(e)?Fe(t,Object.keys(e.getFields())):[]}(r,o))),e.reportError(new I('Cannot query field "'.concat(o,'" on type "').concat(r.name,'".')+i,t))}}}}function Ln(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(r){var n=r.name.value;return t[n]?e.reportError(new I('There can be only one fragment named "'.concat(n,'".'),[t[n],r.name])):t[n]=r.name,!1}}}function zn(e){return{FragmentSpread:function(t){var r=t.name.value;e.getFragment(r)||e.reportError(new I('Unknown fragment "'.concat(r,'".'),t.name))}}}function Vn(e){var t=[],r=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return r.push(e),!1},Document:{leave:function(){for(var n=Object.create(null),o=0;o<t.length;o++)for(var i=t[o],a=0,s=e.getRecursivelyReferencedFragments(i);a<s.length;a++)n[s[a].name.value]=!0;for(var c=0;c<r.length;c++){var u=r[c],l=u.name.value;!0!==n[l]&&e.reportError(new I('Fragment "'.concat(l,'" is never used.'),u))}}}}}function Hn(e){return{InlineFragment:function(t){var r=e.getType(),n=e.getParentType();if(At(r)&&At(n)&&!nr(e.getSchema(),r,n)){var o=z(n),i=z(r);e.reportError(new I('Fragment cannot be spread here as objects of type "'.concat(o,'" can never be of type "').concat(i,'".'),t))}},FragmentSpread:function(t){var r=t.name.value,n=function(e,t){var r=e.getFragment(t);if(r){var n=mn(e.getSchema(),r.typeCondition);if(At(n))return n}}(e,r),o=e.getParentType();if(n&&o&&!nr(e.getSchema(),n,o)){var i=z(o),a=z(n);e.reportError(new I('Fragment "'.concat(r,'" cannot be spread here as objects of type "').concat(i,'" can never be of type "').concat(a,'".'),t))}}}}function $n(e){var t=Object.create(null),r=[],n=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(e){return o(e),!1}};function o(i){if(!t[i.name.value]){var a=i.name.value;t[a]=!0;var s=e.getFragmentSpreads(i.selectionSet);if(0!==s.length){n[a]=r.length;for(var c=0;c<s.length;c++){var u=s[c],l=u.name.value,d=n[l];if(r.push(u),void 0===d){var p=e.getFragment(l);p&&o(p)}else{var f=r.slice(d),h=f.slice(0,-1).map(function(e){return'"'+e.name.value+'"'}).join(", ");e.reportError(new I('Cannot spread fragment "'.concat(l,'" within itself')+(""!==h?" via ".concat(h,"."):"."),f))}r.pop()}n[a]=void 0}}}}function Wn(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(r){var n=r.variable.name.value;t[n]?e.reportError(new I('There can be only one variable named "$'.concat(n,'".'),[t[n],r.variable.name])):t[n]=r.variable.name}}}function Bn(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(r){for(var n=e.getRecursiveVariableUsages(r),o=0;o<n.length;o++){var i=n[o].node,a=i.name.value;!0!==t[a]&&e.reportError(new I(r.name?'Variable "$'.concat(a,'" is not defined by operation "').concat(r.name.value,'".'):'Variable "$'.concat(a,'" is not defined.'),[i,r]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function Kn(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(r){for(var n=Object.create(null),o=e.getRecursiveVariableUsages(r),i=0;i<o.length;i++)n[o[i].node.name.value]=!0;for(var a=0,s=t;a<s.length;a++){var c=s[a],u=c.variable.name.value;!0!==n[u]&&e.reportError(new I(r.name?'Variable "$'.concat(u,'" is never used in operation "').concat(r.name.value,'".'):'Variable "$'.concat(u,'" is never used.'),c))}}},VariableDefinition:function(e){t.push(e)}}}function Gn(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():Wr,o=0;o<n.length;o++){var i=n[o];t[i.name]=i.locations}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];c.kind===T.DIRECTIVE_DEFINITION&&(t[c.name.value]=c.locations.map(function(e){return e.value}))}return{Directive:function(r,n,o,i,a){var s=r.name.value,c=t[s];if(c){var u=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||N(0),t.kind){case T.OPERATION_DEFINITION:return function(e){switch(e){case"query":return G.QUERY;case"mutation":return G.MUTATION;case"subscription":return G.SUBSCRIPTION}N(0,"Unexpected operation: "+z(e))}(t.operation);case T.FIELD:return G.FIELD;case T.FRAGMENT_SPREAD:return G.FRAGMENT_SPREAD;case T.INLINE_FRAGMENT:return G.INLINE_FRAGMENT;case T.FRAGMENT_DEFINITION:return G.FRAGMENT_DEFINITION;case T.VARIABLE_DEFINITION:return G.VARIABLE_DEFINITION;case T.SCHEMA_DEFINITION:case T.SCHEMA_EXTENSION:return G.SCHEMA;case T.SCALAR_TYPE_DEFINITION:case T.SCALAR_TYPE_EXTENSION:return G.SCALAR;case T.OBJECT_TYPE_DEFINITION:case T.OBJECT_TYPE_EXTENSION:return G.OBJECT;case T.FIELD_DEFINITION:return G.FIELD_DEFINITION;case T.INTERFACE_TYPE_DEFINITION:case T.INTERFACE_TYPE_EXTENSION:return G.INTERFACE;case T.UNION_TYPE_DEFINITION:case T.UNION_TYPE_EXTENSION:return G.UNION;case T.ENUM_TYPE_DEFINITION:case T.ENUM_TYPE_EXTENSION:return G.ENUM;case T.ENUM_VALUE_DEFINITION:return G.ENUM_VALUE;case T.INPUT_OBJECT_TYPE_DEFINITION:case T.INPUT_OBJECT_TYPE_EXTENSION:return G.INPUT_OBJECT;case T.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===T.INPUT_OBJECT_TYPE_DEFINITION?G.INPUT_FIELD_DEFINITION:G.ARGUMENT_DEFINITION}}(a);u&&-1===c.indexOf(u)&&e.reportError(new I('Directive "@'.concat(s,'" may not be used on ').concat(u,"."),r))}else e.reportError(new I('Unknown directive "@'.concat(s,'".'),r))}}}function qn(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():Wr,o=0;o<n.length;o++){var i=n[o];t[i.name]=!i.isRepeatable}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];c.kind===T.DIRECTIVE_DEFINITION&&(t[c.name.value]=!c.repeatable)}var u=Object.create(null),l=Object.create(null);return{enter:function(r){if(null!=r.directives){var n;if(r.kind===T.SCHEMA_DEFINITION||r.kind===T.SCHEMA_EXTENSION)n=u;else if(Cn(r)||xn(r)){var o=r.name.value;void 0===(n=l[o])&&(l[o]=n=Object.create(null))}else n=Object.create(null);for(var i=0,a=r.directives;i<a.length;i++){var s=a[i],c=s.name.value;t[c]&&(n[c]?e.reportError(new I('The directive "@'.concat(c,'" can only be used once at this location.'),[n[c],s])):n[c]=s)}}}}}function Yn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Jn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yn(Object(r),!0).forEach(function(t){Qn(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xn(e){return Jn(Jn({},Zn(e)),{},{Argument:function(t){var r=e.getArgument(),n=e.getFieldDef(),o=e.getParentType();if(!r&&n&&o){var i=t.name.value,a=Fe(i,n.args.map(function(e){return e.name}));e.reportError(new I('Unknown argument "'.concat(i,'" on field "').concat(o.name,".").concat(n.name,'".')+je(a),t))}}})}function Zn(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():Wr,o=0;o<n.length;o++){var i=n[o];t[i.name]=i.args.map(function(e){return e.name})}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];if(c.kind===T.DIRECTIVE_DEFINITION){var u,l=null!==(u=c.arguments)&&void 0!==u?u:[];t[c.name.value]=l.map(function(e){return e.name.value})}}return{Directive:function(r){var n=r.name.value,o=t[n];if(r.arguments&&o)for(var i=0,a=r.arguments;i<a.length;i++){var s=a[i],c=s.name.value;if(-1===o.indexOf(c)){var u=Fe(c,o);e.reportError(new I('Unknown argument "'.concat(c,'" on directive "@').concat(n,'".')+je(u),s))}}return!1}}}function eo(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(r){var n=r.name.value;return t[n]?e.reportError(new I('There can be only one argument named "'.concat(n,'".'),[t[n],r.name])):t[n]=r.name,!1}}}function to(e){return{ListValue:function(t){if(!ft(jt(e.getParentInputType())))return ro(e,t),!1},ObjectValue:function(t){var r=Dt(e.getInputType());if(!dt(r))return ro(e,t),!1;for(var n=Oe(t.fields,function(e){return e.name.value}),o=0,i=Ae(r.getFields());o<i.length;o++){var a=i[o];if(!n[a.name]&&er(a)){var s=z(a.type);e.reportError(new I('Field "'.concat(r.name,".").concat(a.name,'" of required type "').concat(s,'" was not provided.'),t))}}},ObjectField:function(t){var r=Dt(e.getParentInputType());if(!e.getInputType()&&dt(r)){var n=Fe(t.name.value,Object.keys(r.getFields()));e.reportError(new I('Field "'.concat(t.name.value,'" is not defined by type "').concat(r.name,'".')+je(n),t))}},NullValue:function(t){var r=e.getInputType();mt(r)&&e.reportError(new I('Expected value of type "'.concat(z(r),'", found ').concat(Ve(t),"."),t))},EnumValue:function(t){return ro(e,t)},IntValue:function(t){return ro(e,t)},FloatValue:function(t){return ro(e,t)},StringValue:function(t){return ro(e,t)},BooleanValue:function(t){return ro(e,t)}}}function ro(e,t){var r=e.getInputType();if(r){var n=Dt(r);if(wt(n))try{if(void 0===n.parseLiteral(t,void 0)){var o=z(r);e.reportError(new I('Expected value of type "'.concat(o,'", found ').concat(Ve(t),"."),t))}}catch(n){var i=z(r);n instanceof I?e.reportError(n):e.reportError(new I('Expected value of type "'.concat(i,'", found ').concat(Ve(t),"; ")+n.message,t,void 0,void 0,void 0,n))}else{var a=z(r);e.reportError(new I('Expected value of type "'.concat(a,'", found ').concat(Ve(t),"."),t))}}}function no(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function oo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?no(Object(r),!0).forEach(function(t){io(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):no(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ao(e){return oo(oo({},so(e)),{},{Field:{leave:function(t){var r,n=e.getFieldDef();if(!n)return!1;for(var o=Oe(null!==(r=t.arguments)&&void 0!==r?r:[],function(e){return e.name.value}),i=0,a=n.args;i<a.length;i++){var s=a[i];if(!o[s.name]&&Kt(s)){var c=z(s.type);e.reportError(new I('Field "'.concat(n.name,'" argument "').concat(s.name,'" of type "').concat(c,'" is required, but it was not provided.'),t))}}}}})}function so(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():Wr,o=0;o<n.length;o++){var i=n[o];t[i.name]=Oe(i.args.filter(Kt),function(e){return e.name})}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];if(c.kind===T.DIRECTIVE_DEFINITION){var u,l=null!==(u=c.arguments)&&void 0!==u?u:[];t[c.name.value]=Oe(l.filter(co),function(e){return e.name.value})}}return{Directive:{leave:function(r){var n=r.name.value,o=t[n];if(o)for(var i,a=Oe(null!==(i=r.arguments)&&void 0!==i?i:[],function(e){return e.name.value}),s=0,c=Object.keys(o);s<c.length;s++){var u=c[s];if(!a[u]){var l=o[u].type,d=Ze(l)?z(l):Ve(l);e.reportError(new I('Directive "@'.concat(n,'" argument "').concat(u,'" of type "').concat(d,'" is required, but it was not provided.'),r))}}}}}}function co(e){return e.type.kind===T.NON_NULL_TYPE&&null==e.defaultValue}function uo(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(r){for(var n=e.getRecursiveVariableUsages(r),o=0;o<n.length;o++){var i=n[o],a=i.node,s=i.type,c=i.defaultValue,u=a.name.value,l=t[u];if(l&&s){var d=e.getSchema(),p=mn(d,l.type);if(p&&!lo(d,p,l.defaultValue,s,c)){var f=z(p),h=z(s);e.reportError(new I('Variable "$'.concat(u,'" of type "').concat(f,'" used in position expecting type "').concat(h,'".'),[l,a]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function lo(e,t,r,n,o){return mt(n)&&!mt(t)?(null!=r&&r.kind!==T.NULL||void 0!==o)&&rr(e,t,n.ofType):rr(e,t,n)}function po(e){return Array.isArray(e)?e.map(function(e){var t=e[0],r=e[1];return'subfields "'.concat(t,'" conflict because ')+po(r)}).join(" and "):e}function fo(e){var t=new Ao,r=new Map;return{SelectionSet:function(n){for(var o=function(e,t,r,n,o){var i=[],a=bo(e,t,n,o),s=a[0],c=a[1];if(function(e,t,r,n,o){for(var i=0,a=xe(o);i<a.length;i++){var s=a[i],c=s[0],u=s[1];if(u.length>1)for(var l=0;l<u.length;l++)for(var d=l+1;d<u.length;d++){var p=yo(e,r,n,!1,c,u[l],u[d]);p&&t.push(p)}}}(e,i,t,r,s),0!==c.length)for(var u=0;u<c.length;u++){ho(e,i,t,r,!1,s,c[u]);for(var l=u+1;l<c.length;l++)mo(e,i,t,r,!1,c[u],c[l])}return i}(e,r,t,e.getParentType(),n),i=0;i<o.length;i++){var a=o[i],s=a[0],c=s[0],u=s[1],l=a[1],d=a[2],p=po(u);e.reportError(new I('Fields "'.concat(c,'" conflict because ').concat(p,". Use different aliases on the fields to fetch both if this was intentional."),l.concat(d)))}}}}function ho(e,t,r,n,o,i,a){var s=e.getFragment(a);if(s){var c=Eo(e,r,s),u=c[0],l=c[1];if(i!==u){go(e,t,r,n,o,i,u);for(var d=0;d<l.length;d++)ho(e,t,r,n,o,i,l[d])}}}function mo(e,t,r,n,o,i,a){if(i!==a&&!n.has(i,a,o)){n.add(i,a,o);var s=e.getFragment(i),c=e.getFragment(a);if(s&&c){var u=Eo(e,r,s),l=u[0],d=u[1],p=Eo(e,r,c),f=p[0],h=p[1];go(e,t,r,n,o,l,f);for(var m=0;m<h.length;m++)mo(e,t,r,n,o,i,h[m]);for(var g=0;g<d.length;g++)mo(e,t,r,n,o,d[g],a)}}}function go(e,t,r,n,o,i,a){for(var s=0,c=Object.keys(i);s<c.length;s++){var u=c[s],l=a[u];if(l)for(var d=i[u],p=0;p<d.length;p++)for(var f=0;f<l.length;f++){var h=yo(e,r,n,o,u,d[p],l[f]);h&&t.push(h)}}}function yo(e,t,r,n,o,i,a){var s,c,u=i[0],l=i[1],d=i[2],p=a[0],f=a[1],h=a[2],m=n||u!==p&&nt(u)&&nt(p);if(!m){var g,y,v=l.name.value,b=f.name.value;if(v!==b)return[[o,'"'.concat(v,'" and "').concat(b,'" are different fields')],[l],[f]];if(s=null!==(g=l.arguments)&&void 0!==g?g:[],c=null!==(y=f.arguments)&&void 0!==y?y:[],s.length!==c.length||!s.every(function(e){var t,r,n=Se(c,function(t){return t.name.value===e.name.value});return!!n&&(t=e.value,r=n.value,Ve(t)===Ve(r))}))return[[o,"they have differing arguments"],[l],[f]]}var E=null==d?void 0:d.type,w=null==h?void 0:h.type;if(E&&w&&vo(E,w))return[[o,'they return conflicting types "'.concat(z(E),'" and "').concat(z(w),'"')],[l],[f]];var S=l.selectionSet,A=f.selectionSet;if(S&&A){var _=function(e,t,r,n,o,i,a,s){var c=[],u=bo(e,t,o,i),l=u[0],d=u[1],p=bo(e,t,a,s),f=p[0],h=p[1];if(go(e,c,t,r,n,l,f),0!==h.length)for(var m=0;m<h.length;m++)ho(e,c,t,r,n,l,h[m]);if(0!==d.length)for(var g=0;g<d.length;g++)ho(e,c,t,r,n,f,d[g]);for(var y=0;y<d.length;y++)for(var v=0;v<h.length;v++)mo(e,c,t,r,n,d[y],h[v]);return c}(e,t,r,m,Dt(E),S,Dt(w),A);return function(e,t,r,n){if(e.length>0)return[[t,e.map(function(e){return e[0]})],e.reduce(function(e,t){var r=t[1];return e.concat(r)},[r]),e.reduce(function(e,t){var r=t[2];return e.concat(r)},[n])]}(_,o,l,f)}}function vo(e,t){return ft(e)?!ft(t)||vo(e.ofType,t.ofType):!!ft(t)||(mt(e)?!mt(t)||vo(e.ofType,t.ofType):!!mt(t)||!(!wt(e)&&!wt(t))&&e!==t)}function bo(e,t,r,n){var o=t.get(n);if(!o){var i=Object.create(null),a=Object.create(null);wo(e,r,n,i,a),o=[i,Object.keys(a)],t.set(n,o)}return o}function Eo(e,t,r){var n=t.get(r.selectionSet);if(n)return n;var o=mn(e.getSchema(),r.typeCondition);return bo(e,t,o,r.selectionSet)}function wo(e,t,r,n,o){for(var i=0,a=r.selections;i<a.length;i++){var s=a[i];switch(s.kind){case T.FIELD:var c=s.name.value,u=void 0;(nt(t)||it(t))&&(u=t.getFields()[c]);var l=s.alias?s.alias.value:c;n[l]||(n[l]=[]),n[l].push([t,s,u]);break;case T.FRAGMENT_SPREAD:o[s.name.value]=!0;break;case T.INLINE_FRAGMENT:var d=s.typeCondition,p=d?mn(e.getSchema(),d):t;wo(e,p,s.selectionSet,n,o)}}}var So,Ao=function(){function e(){this._data=Object.create(null)}var t=e.prototype;return t.has=function(e,t,r){var n=this._data[e],o=n&&n[t];return void 0!==o&&(!1!==r||!1===o)},t.add=function(e,t,r){this._pairSetAdd(e,t,r),this._pairSetAdd(t,e,r)},t._pairSetAdd=function(e,t,r){var n=this._data[e];n||(n=Object.create(null),this._data[e]=n),n[t]=r},e}();function _o(e){var t=[],r=Object.create(null);return{ObjectValue:{enter:function(){t.push(r),r=Object.create(null)},leave:function(){r=t.pop()}},ObjectField:function(t){var n=t.name.value;r[n]?e.reportError(new I('There can be only one input field named "'.concat(n,'".'),[r[n],t.name])):r[n]=t.name}}}function Po(e){var t,r,n,o=e.getSchema(),i=null!==(t=null!==(r=null!==(n=null==o?void 0:o.astNode)&&void 0!==n?n:null==o?void 0:o.getQueryType())&&void 0!==r?r:null==o?void 0:o.getMutationType())&&void 0!==t?t:null==o?void 0:o.getSubscriptionType(),a=0;return{SchemaDefinition:function(t){i?e.reportError(new I("Cannot define a new schema within a schema extension.",t)):(a>0&&e.reportError(new I("Must provide only one schema definition.",t)),++a)}}}function Co(e){var t=e.getSchema(),r=Object.create(null),n=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){for(var o,i=null!==(o=t.operationTypes)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a],c=s.operation,u=r[c];n[c]?e.reportError(new I("Type for ".concat(c," already defined in the schema. It cannot be redefined."),s)):u?e.reportError(new I("There can be only one ".concat(c," type in schema."),[u,s])):r[c]=s}return!1}}function Io(e){var t=Object.create(null),r=e.getSchema();return{ScalarTypeDefinition:n,ObjectTypeDefinition:n,InterfaceTypeDefinition:n,UnionTypeDefinition:n,EnumTypeDefinition:n,InputObjectTypeDefinition:n};function n(n){var o=n.name.value;if(null==r||!r.getType(o))return t[o]?e.reportError(new I('There can be only one type named "'.concat(o,'".'),[t[o],n.name])):t[o]=n.name,!1;e.reportError(new I('Type "'.concat(o,'" already exists in the schema. It cannot also be defined in this type definition.'),n.name))}}function xo(e){var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{EnumTypeDefinition:o,EnumTypeExtension:o};function o(t){var o,i=t.name.value;n[i]||(n[i]=Object.create(null));for(var a=null!==(o=t.values)&&void 0!==o?o:[],s=n[i],c=0;c<a.length;c++){var u=a[c],l=u.name.value,d=r[i];ut(d)&&d.getValue(l)?e.reportError(new I('Enum value "'.concat(i,".").concat(l,'" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[l]?e.reportError(new I('Enum value "'.concat(i,".").concat(l,'" can only be defined once.'),[s[l],u.name])):s[l]=u.name}return!1}}function Oo(e){var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(t){var o,i=t.name.value;n[i]||(n[i]=Object.create(null));for(var a=null!==(o=t.fields)&&void 0!==o?o:[],s=n[i],c=0;c<a.length;c++){var u=a[c],l=u.name.value;ko(r[i],l)?e.reportError(new I('Field "'.concat(i,".").concat(l,'" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[l]?e.reportError(new I('Field "'.concat(i,".").concat(l,'" can only be defined once.'),[s[l],u.name])):s[l]=u.name}return!1}}function ko(e,t){return!!(nt(e)||it(e)||dt(e))&&null!=e.getFields()[t]}function To(e){var t=Object.create(null),r=e.getSchema();return{DirectiveDefinition:function(n){var o=n.name.value;if(null==r||!r.getDirective(o))return t[o]?e.reportError(new I('There can be only one directive named "@'.concat(o,'".'),[t[o],n.name])):t[o]=n.name,!1;e.reportError(new I('Directive "@'.concat(o,'" already exists in the schema. It cannot be redefined.'),n.name))}}}function No(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(e){for(var t=e.getSchema(),r=Object.create(null),n=0,o=e.getDocument().definitions;n<o.length;n++){var i=o[n];Cn(i)&&(r[i.name.value]=i)}return{ScalarTypeExtension:a,ObjectTypeExtension:a,InterfaceTypeExtension:a,UnionTypeExtension:a,EnumTypeExtension:a,InputObjectTypeExtension:a};function a(n){var o,i,a=n.name.value,s=r[a],c=null==t?void 0:t.getType(a);if(s?o=Ro[s.kind]:c&&(o=tt(i=c)?T.SCALAR_TYPE_EXTENSION:nt(i)?T.OBJECT_TYPE_EXTENSION:it(i)?T.INTERFACE_TYPE_EXTENSION:st(i)?T.UNION_TYPE_EXTENSION:ut(i)?T.ENUM_TYPE_EXTENSION:dt(i)?T.INPUT_OBJECT_TYPE_EXTENSION:void N(0,"Unexpected type: "+z(i))),o){if(o!==n.kind){var u=function(e){switch(e){case T.SCALAR_TYPE_EXTENSION:return"scalar";case T.OBJECT_TYPE_EXTENSION:return"object";case T.INTERFACE_TYPE_EXTENSION:return"interface";case T.UNION_TYPE_EXTENSION:return"union";case T.ENUM_TYPE_EXTENSION:return"enum";case T.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}N(0,"Unexpected kind: "+z(e))}(n.kind);e.reportError(new I("Cannot extend non-".concat(u,' type "').concat(a,'".'),s?[s,n]:n))}}else{var l=Object.keys(r);t&&(l=l.concat(Object.keys(t.getTypeMap())));var d=Fe(a,l);e.reportError(new I('Cannot extend type "'.concat(a,'" because it is not defined.')+je(d),n.name))}}}var Ro=(No(So={},T.SCALAR_TYPE_DEFINITION,T.SCALAR_TYPE_EXTENSION),No(So,T.OBJECT_TYPE_DEFINITION,T.OBJECT_TYPE_EXTENSION),No(So,T.INTERFACE_TYPE_DEFINITION,T.INTERFACE_TYPE_EXTENSION),No(So,T.UNION_TYPE_DEFINITION,T.UNION_TYPE_EXTENSION),No(So,T.ENUM_TYPE_DEFINITION,T.ENUM_TYPE_EXTENSION),No(So,T.INPUT_OBJECT_TYPE_DEFINITION,T.INPUT_OBJECT_TYPE_EXTENSION),So),Mo=Object.freeze([On,kn,Tn,Nn,jn,Mn,Dn,Un,Fn,Ln,zn,Vn,Hn,$n,Wn,Bn,Kn,Gn,qn,Xn,eo,to,ao,uo,fo,_o]),Do=Object.freeze([Po,Co,Io,xo,Oo,To,jn,Gn,qn,jo,Zn,eo,_o,so]);function Uo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Fo=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce(function(e,t){return t.kind===T.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e},Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var r=[e];0!==r.length;)for(var n=0,o=r.pop().selections;n<o.length;n++){var i=o[n];i.kind===T.FRAGMENT_SPREAD?t.push(i):i.selectionSet&&r.push(i.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var r=Object.create(null),n=[e.selectionSet];0!==n.length;)for(var o=n.pop(),i=0,a=this.getFragmentSpreads(o);i<a.length;i++){var s=a[i].name.value;if(!0!==r[s]){r[s]=!0;var c=this.getFragment(s);c&&(t.push(c),n.push(c.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),Lo=function(e){function t(t,r,n){var o;return(o=e.call(this,t,n)||this)._schema=r,o}return Uo(t,e),t.prototype.getSchema=function(){return this._schema},t}(Fo),zo=function(e){function t(t,r,n,o){var i;return(i=e.call(this,r,o)||this)._schema=t,i._typeInfo=n,i._variableUsages=new Map,i._recursiveVariableUsages=new Map,i}Uo(t,e);var r=t.prototype;return r.getSchema=function(){return this._schema},r.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var r=[],n=new gn(this._schema);be(e,vn(n,{VariableDefinition:function(){return!1},Variable:function(e){r.push({node:e,type:n.getInputType(),defaultValue:n.getDefaultValue()})}})),t=r,this._variableUsages.set(e,t)}return t},r.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var r=0,n=this.getRecursivelyReferencedFragments(e);r<n.length;r++){var o=n[r];t=t.concat(this.getVariableUsages(o))}this._recursiveVariableUsages.set(e,t)}return t},r.getType=function(){return this._typeInfo.getType()},r.getParentType=function(){return this._typeInfo.getParentType()},r.getInputType=function(){return this._typeInfo.getInputType()},r.getParentInputType=function(){return this._typeInfo.getParentInputType()},r.getFieldDef=function(){return this._typeInfo.getFieldDef()},r.getDirective=function(){return this._typeInfo.getDirective()},r.getArgument=function(){return this._typeInfo.getArgument()},r.getEnumValue=function(){return this._typeInfo.getEnumValue()},t}(Fo);function Vo(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Mo,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new gn(e),o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||H(0,"Must provide document."),Xr(e);var i=Object.freeze({}),a=[],s=new zo(e,t,n,function(e){if(null!=o.maxErrors&&a.length>=o.maxErrors)throw a.push(new I("Too many validation errors, error limit reached. Validation aborted.")),i;a.push(e)}),c=Ee(r.map(function(e){return e(s)}));try{be(t,vn(n,c))}catch(e){if(e!==i)throw e}return a}function Ho(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Do,n=[],o=new Lo(e,t,function(e){n.push(e)});return be(e,Ee(r.map(function(e){return e(o)}))),n}function $o(e,t,r){return{prev:e,key:t,typename:r}}function Wo(e){for(var t=[],r=e;r;)t.push(r.key),r=r.prev;return t.reverse()}function Bo(e,t){if("query"===t.operation){var r=e.getQueryType();if(!r)throw new I("Schema does not define the required query root type.",t);return r}if("mutation"===t.operation){var n=e.getMutationType();if(!n)throw new I("Schema is not configured for mutations.",t);return n}if("subscription"===t.operation){var o=e.getSubscriptionType();if(!o)throw new I("Schema is not configured for subscriptions.",t);return o}throw new I("Can only have query, mutation and subscription operations.",t)}function Ko(e){return e.map(function(e){return"number"==typeof e?"["+e.toString()+"]":"."+e}).join("")}function Go(e,t,r){if(e){if(e.kind===T.VARIABLE){var n=e.name.value;if(null==r||void 0===r[n])return;var o=r[n];if(null===o&&mt(t))return;return o}if(mt(t)){if(e.kind===T.NULL)return;return Go(e,t.ofType,r)}if(e.kind===T.NULL)return null;if(ft(t)){var i=t.ofType;if(e.kind===T.LIST){for(var a=[],s=0,c=e.values;s<c.length;s++){var u=c[s];if(qo(u,r)){if(mt(i))return;a.push(null)}else{var l=Go(u,i,r);if(void 0===l)return;a.push(l)}}return a}var d=Go(e,i,r);if(void 0===d)return;return[d]}if(dt(t)){if(e.kind!==T.OBJECT)return;for(var p=Object.create(null),f=Oe(e.fields,function(e){return e.name.value}),h=0,m=Ae(t.getFields());h<m.length;h++){var g=m[h],y=f[g.name];if(y&&!qo(y.value,r)){var v=Go(y.value,g.type,r);if(void 0===v)return;p[g.name]=v}else if(void 0!==g.defaultValue)p[g.name]=g.defaultValue;else if(mt(g.type))return}return p}if(wt(t)){var b;try{b=t.parseLiteral(e,r)}catch(e){return}if(void 0===b)return;return b}N(0,"Unexpected input type: "+z(t))}}function qo(e,t){return e.kind===T.VARIABLE&&(null==t||void 0===t[e.name.value])}function Yo(e,t){return Qo(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jo)}function Jo(e,t,r){var n="Invalid value "+z(t);throw e.length>0&&(n+=' at "value'.concat(Ko(e),'"')),r.message=n+": "+r.message,r}function Qo(e,t,r,n){if(mt(t))return null!=e?Qo(e,t.ofType,r,n):void r(Wo(n),e,new I('Expected non-nullable type "'.concat(z(t),'" not to be null.')));if(null==e)return null;if(ft(t)){var o=t.ofType,i=sr(e,function(e,t){var i=$o(n,t,void 0);return Qo(e,o,r,i)});return null!=i?i:[Qo(e,o,r,n)]}if(dt(t)){if(!s(e))return void r(Wo(n),e,new I('Expected type "'.concat(t.name,'" to be an object.')));for(var a={},c=t.getFields(),u=0,l=Ae(c);u<l.length;u++){var d=l[u],p=e[d.name];if(void 0!==p)a[d.name]=Qo(p,d.type,r,$o(n,d.name,t.name));else if(void 0!==d.defaultValue)a[d.name]=d.defaultValue;else if(mt(d.type)){var f=z(d.type);r(Wo(n),e,new I('Field "'.concat(d.name,'" of required type "').concat(f,'" was not provided.')))}}for(var h=0,m=Object.keys(e);h<m.length;h++){var g=m[h];if(!c[g]){var y=Fe(g,Object.keys(t.getFields()));r(Wo(n),e,new I('Field "'.concat(g,'" is not defined by type "').concat(t.name,'".')+je(y)))}}return a}if(wt(t)){var v;try{v=t.parseValue(e)}catch(o){return void r(Wo(n),e,o instanceof I?o:new I('Expected type "'.concat(t.name,'". ')+o.message,void 0,void 0,void 0,void 0,o))}return void 0===v&&r(Wo(n),e,new I('Expected type "'.concat(t.name,'".'))),v}N(0,"Unexpected input type: "+z(t))}function Xo(e,t,r){for(var n,o={},i=Oe(null!==(n=t.arguments)&&void 0!==n?n:[],function(e){return e.name.value}),a=0,s=e.args;a<s.length;a++){var c=s[a],u=c.name,l=c.type,d=i[u];if(d){var p=d.value,f=p.kind===T.NULL;if(p.kind===T.VARIABLE){var h=p.name.value;if(null==r||!ei(r,h)){if(void 0!==c.defaultValue)o[u]=c.defaultValue;else if(mt(l))throw new I('Argument "'.concat(u,'" of required type "').concat(z(l),'" ')+'was provided the variable "$'.concat(h,'" which was not provided a runtime value.'),p);continue}f=null==r[h]}if(f&&mt(l))throw new I('Argument "'.concat(u,'" of non-null type "').concat(z(l),'" ')+"must not be null.",p);var m=Go(p,l,r);if(void 0===m)throw new I('Argument "'.concat(u,'" has invalid value ').concat(Ve(p),"."),p);o[u]=m}else if(void 0!==c.defaultValue)o[u]=c.defaultValue;else if(mt(l))throw new I('Argument "'.concat(u,'" of required type "').concat(z(l),'" ')+"was not provided.",t)}return o}function Zo(e,t,r){var n=t.directives&&Se(t.directives,function(t){return t.name.value===e.name});if(n)return Xo(e,n,r)}function ei(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ti(e,t,r,n,o,i,a,s){return ni(1===arguments.length?e:{schema:e,document:t,rootValue:r,contextValue:n,variableValues:o,operationName:i,fieldResolver:a,typeResolver:s})}function ri(e){var t=ni(e);if(i(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function ni(e){var t=e.schema,r=e.document,n=e.rootValue,o=e.contextValue,a=e.variableValues,s=e.operationName,c=e.fieldResolver,u=e.typeResolver;ii(t,r,a);var l=ai(t,r,n,o,a,s,c,u);if(Array.isArray(l))return{errors:l};var d=function(e,t,r){var n=Bo(e.schema,t),o=ci(e,n,t.selectionSet,Object.create(null),Object.create(null)),a=void 0;try{var s="mutation"===t.operation?function(e,t,r,n,o){return a=Object.keys(o),s=function(a,s){var c=o[s],u=$o(n,s,t.name),l=pi(e,t,r,c,u);return void 0===l?a:i(l)?l.then(function(e){return a[s]=e,a}):(a[s]=l,a)},c=Object.create(null),a.reduce(function(e,t){return i(e)?e.then(function(e){return s(e,t)}):s(e,t)},c);var a,s,c}(e,n,r,a,o):si(e,n,r,a,o);return i(s)?s.then(void 0,function(t){return e.errors.push(t),Promise.resolve(null)}):s}catch(t){return e.errors.push(t),null}}(l,l.operation,n);return oi(l,d)}function oi(e,t){return i(t)?t.then(function(t){return oi(e,t)}):0===e.errors.length?{data:t}:{errors:e.errors,data:t}}function ii(e,t,r){t||H(0,"Must provide document."),Xr(e),null==r||s(r)||H(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function ai(e,t,r,n,o,i,a,s){for(var c,u,l,d=Object.create(null),p=0,f=t.definitions;p<f.length;p++){var h=f[p];switch(h.kind){case T.OPERATION_DEFINITION:if(null==i){if(void 0!==l)return[new I("Must provide operation name if query contains multiple operations.")];l=h}else(null===(c=h.name)||void 0===c?void 0:c.value)===i&&(l=h);break;case T.FRAGMENT_DEFINITION:d[h.name.value]=h}}if(!l)return null!=i?[new I('Unknown operation named "'.concat(i,'".'))]:[new I("Must provide an operation.")];var m=function(e,t,r,n){var o=[],i=null==n?void 0:n.maxErrors;try{var a=function(e,t,r,n){for(var o={},i=function(i){var a=t[i],s=a.variable.name.value,c=mn(e,a.type);if(!yt(c)){var u=Ve(a.type);return n(new I('Variable "$'.concat(s,'" expected value of type "').concat(u,'" which cannot be used as an input type.'),a.type)),"continue"}if(!ei(r,s)){if(a.defaultValue)o[s]=Go(a.defaultValue,c);else if(mt(c)){var l=z(c);n(new I('Variable "$'.concat(s,'" of required type "').concat(l,'" was not provided.'),a))}return"continue"}var d=r[s];if(null===d&&mt(c)){var p=z(c);return n(new I('Variable "$'.concat(s,'" of non-null type "').concat(p,'" must not be null.'),a)),"continue"}o[s]=Yo(d,c,function(e,t,r){var o='Variable "$'.concat(s,'" got invalid value ')+z(t);e.length>0&&(o+=' at "'.concat(s).concat(Ko(e),'"')),n(new I(o+"; "+r.message,a,void 0,void 0,void 0,r.originalError))})},a=0;a<t.length;a++)i(a);return o}(e,t,r,function(e){if(null!=i&&o.length>=i)throw new I("Too many errors processing variables, error limit reached. Execution aborted.");o.push(e)});if(0===o.length)return{coerced:a}}catch(e){o.push(e)}return{errors:o}}(e,null!==(u=l.variableDefinitions)&&void 0!==u?u:[],null!=o?o:{},{maxErrors:50});return m.errors?m.errors:{schema:e,fragments:d,rootValue:r,contextValue:n,operation:l,variableValues:m.coerced,fieldResolver:null!=a?a:_i,typeResolver:null!=s?s:Ai,errors:[]}}function si(e,t,r,n,o){for(var a,s,c,u=Object.create(null),l=!1,d=0,p=Object.keys(o);d<p.length;d++){var f=p[d],h=pi(e,t,r,o[f],$o(n,f,t.name));void 0!==h&&(u[f]=h,i(h)&&(l=!0))}return l?(a=u,c=(s=Object.keys(a)).map(function(e){return a[e]}),Promise.all(c).then(function(e){return e.reduce(function(e,t,r){return e[s[r]]=t,e},Object.create(null))})):u}function ci(e,t,r,n,o){for(var i=0,a=r.selections;i<a.length;i++){var s=a[i];switch(s.kind){case T.FIELD:if(!ui(e,s))continue;var c=di(s);n[c]||(n[c]=[]),n[c].push(s);break;case T.INLINE_FRAGMENT:if(!ui(e,s)||!li(e,s,t))continue;ci(e,t,s.selectionSet,n,o);break;case T.FRAGMENT_SPREAD:var u=s.name.value;if(o[u]||!ui(e,s))continue;o[u]=!0;var l=e.fragments[u];if(!l||!li(e,l,t))continue;ci(e,t,l.selectionSet,n,o)}}return n}function ui(e,t){var r=Zo(zr,t,e.variableValues);if(!0===(null==r?void 0:r.if))return!1;var n=Zo(Lr,t,e.variableValues);return!1!==(null==n?void 0:n.if)}function li(e,t,r){var n=t.typeCondition;if(!n)return!0;var o=mn(e.schema,n);return o===r||!!Pt(o)&&e.schema.isSubType(o,r)}function di(e){return e.alias?e.alias.value:e.name.value}function pi(e,t,r,n,o){var a,s=n[0].name.value,c=Pi(e.schema,t,s);if(c){var u=c.type,l=null!==(a=c.resolve)&&void 0!==a?a:e.fieldResolver,d=fi(e,c,n,t,o);try{var p,f=l(r,Xo(c,n[0],e.variableValues),e.contextValue,d);return p=i(f)?f.then(function(t){return mi(e,u,n,d,o,t)}):mi(e,u,n,d,o,f),i(p)?p.then(void 0,function(t){return hi(_e(t,n,Wo(o)),u,e)}):p}catch(t){return hi(_e(t,n,Wo(o)),u,e)}}}function fi(e,t,r,n,o){return{fieldName:t.name,fieldNodes:r,returnType:t.type,parentType:n,path:o,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function hi(e,t,r){if(mt(t))throw e;return r.errors.push(e),null}function mi(e,t,r,n,o,a){if(a instanceof Error)throw a;if(mt(t)){var s=mi(e,t.ofType,r,n,o,a);if(null===s)throw new Error("Cannot return null for non-nullable field ".concat(n.parentType.name,".").concat(n.fieldName,"."));return s}return null==a?null:ft(t)?function(e,t,r,n,o,a){var s=t.ofType,c=!1,u=sr(a,function(t,a){var u=$o(o,a,void 0);try{var l;return l=i(t)?t.then(function(t){return mi(e,s,r,n,u,t)}):mi(e,s,r,n,u,t),i(l)?(c=!0,l.then(void 0,function(t){return hi(_e(t,r,Wo(u)),s,e)})):l}catch(t){return hi(_e(t,r,Wo(u)),s,e)}});if(null==u)throw new I('Expected Iterable, but did not find one for field "'.concat(n.parentType.name,".").concat(n.fieldName,'".'));return c?Promise.all(u):u}(e,t,r,n,o,a):wt(t)?function(e,t){var r=e.serialize(t);if(void 0===r)throw new Error('Expected a value of type "'.concat(z(e),'" but ')+"received: ".concat(z(t)));return r}(t,a):Pt(t)?function(e,t,r,n,o,a){var s,c=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,u=e.contextValue,l=c(a,u,n,t);return i(l)?l.then(function(i){return yi(e,gi(i,e,t,r,n,a),r,n,o,a)}):yi(e,gi(l,e,t,r,n,a),r,n,o,a)}(e,t,r,n,o,a):nt(t)?yi(e,t,r,n,o,a):void N(0,"Cannot complete value of unexpected output type: "+z(t))}function gi(e,t,r,n,o,i){if(null==e)throw new I('Abstract type "'.concat(r.name,'" must resolve to an Object type at runtime for field "').concat(o.parentType.name,".").concat(o.fieldName,'". Either the "').concat(r.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),n);var a=Rt(e)?e.name:e;if("string"!=typeof a)throw new I('Abstract type "'.concat(r.name,'" must resolve to an Object type at runtime for field "').concat(o.parentType.name,".").concat(o.fieldName,'" with ')+"value ".concat(z(i),', received "').concat(z(e),'".'));var s=t.schema.getType(a);if(null==s)throw new I('Abstract type "'.concat(r.name,'" was resolve to a type "').concat(a,'" that does not exist inside schema.'),n);if(!nt(s))throw new I('Abstract type "'.concat(r.name,'" was resolve to a non-object type "').concat(a,'".'),n);if(!t.schema.isSubType(r,s))throw new I('Runtime Object type "'.concat(s.name,'" is not a possible type for "').concat(r.name,'".'),n);return s}function yi(e,t,r,n,o,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,n);if(i(s))return s.then(function(n){if(!n)throw vi(t,a,r);return bi(e,t,r,o,a)});if(!s)throw vi(t,a,r)}return bi(e,t,r,o,a)}function vi(e,t,r){return new I('Expected value of type "'.concat(e.name,'" but got: ').concat(z(t),"."),r)}function bi(e,t,r,n,o){return si(e,t,o,n,Si(e,t,r))}var Ei,wi,Si=(Ei=function(e,t,r){for(var n=Object.create(null),o=Object.create(null),i=0;i<r.length;i++){var a=r[i];a.selectionSet&&(n=ci(e,t,a.selectionSet,n,o))}return n},function(e,t,r){wi||(wi=new WeakMap);var n,o=wi.get(e);if(o){if(n=o.get(t)){var i=n.get(r);if(void 0!==i)return i}}else o=new WeakMap,wi.set(e,o);n||(n=new WeakMap,o.set(t,n));var a=Ei(e,t,r);return n.set(r,a),a}),Ai=function(e,t,r,n){if(s(e)&&"string"==typeof e.__typename)return e.__typename;for(var o=r.schema.getPossibleTypes(n),a=[],c=0;c<o.length;c++){var u=o[c];if(u.isTypeOf){var l=u.isTypeOf(e,t,r);if(i(l))a[c]=l;else if(l)return u.name}}return a.length?Promise.all(a).then(function(e){for(var t=0;t<e.length;t++)if(e[t])return o[t].name}):void 0},_i=function(e,t,r,n){if(s(e)||"function"==typeof e){var o=e[n.fieldName];return"function"==typeof o?e[n.fieldName](t,r,n):o}};function Pi(e,t,r){return r===kr.name&&e.getQueryType()===t?kr:r===Tr.name&&e.getQueryType()===t?Tr:r===Nr.name?Nr:t.getFields()[r]}function Ci(e,t,r,n,o,i,a,s){var c=arguments;return new Promise(function(u){return u(xi(1===c.length?e:{schema:e,source:t,rootValue:r,contextValue:n,variableValues:o,operationName:i,fieldResolver:a,typeResolver:s}))})}function Ii(e,t,r,n,o,a,s,c){var u=xi(1===arguments.length?e:{schema:e,source:t,rootValue:r,contextValue:n,variableValues:o,operationName:a,fieldResolver:s,typeResolver:c});if(i(u))throw new Error("GraphQL execution failed to complete synchronously.");return u}function xi(e){var t,r=e.schema,n=e.source,o=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,c=e.fieldResolver,u=e.typeResolver,l=Qr(r);if(l.length>0)return{errors:l};try{t=de(n)}catch(e){return{errors:[e]}}var d=Vo(r,t);return d.length>0?{errors:d}:ti({schema:r,document:t,rootValue:o,contextValue:i,variableValues:a,operationName:s,fieldResolver:c,typeResolver:u})}function Oi(e){return"function"==typeof(null==e?void 0:e[u])}function ki(e,t){return new Promise(function(r){return r(t(e))})}function Ti(e){return{value:e,done:!1}}function Ni(e,t,r,n,o,i,a,s){return function(e){var t=e.schema,r=e.document,n=e.rootValue,o=e.contextValue,i=e.variableValues,a=e.operationName,s=e.fieldResolver,c=e.subscribeFieldResolver,l=Ri(t,r,n,o,i,a,c),d=function(e){return ti({schema:t,document:r,rootValue:e,contextValue:o,variableValues:i,operationName:a,fieldResolver:s})};return l.then(function(e){return Oi(e)?function(e,t,r){var n,o,i,a,s,c,l=e[u].call(e);function d(e){return e.done?e:ki(e.value,t).then(Ti,o)}if("function"==typeof l.return&&(n=l.return,o=function(e){var t=function(){return Promise.reject(e)};return n.call(l).then(t,t)}),r){var p=r;i=function(e){return ki(e,p).then(Ti,o)}}return c=function(){return this},(s=u)in(a={next:function(){return l.next().then(d,i)},return:function(){return n?n.call(l).then(d,i):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"==typeof l.throw?l.throw(e).then(d,i):Promise.reject(e).catch(o)}})?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,a}(e,d,ji):e})}(1===arguments.length?e:{schema:e,document:t,rootValue:r,contextValue:n,variableValues:o,operationName:i,fieldResolver:a,subscribeFieldResolver:s})}function ji(e){if(e instanceof I)return{errors:[e]};throw e}function Ri(e,t,r,n,o,i,a){return ii(e,t,o),new Promise(function(s){var c=ai(e,t,r,n,o,i,a);s(Array.isArray(c)?{errors:c}:function(e){var t=e.schema,r=e.operation,n=e.variableValues,o=e.rootValue,i=Bo(t,r),a=ci(e,i,r.selectionSet,Object.create(null),Object.create(null)),s=Object.keys(a)[0],c=a[s],u=c[0].name.value,l=Pi(t,i,u);if(!l)throw new I('The subscription field "'.concat(u,'" is not defined.'),c);var d=$o(void 0,s,i.name),p=fi(e,l,c,i,d);return new Promise(function(t){var r,i=Xo(l,c[0],n),a=e.contextValue;t((null!==(r=l.subscribe)&&void 0!==r?r:e.fieldResolver)(o,i,a,p))}).then(function(e){if(e instanceof Error)throw _e(e,c,Wo(d));if(!Oi(e))throw new Error("Subscription field must return Async Iterable. "+"Received: ".concat(z(e),"."));return e},function(e){throw _e(e,c,Wo(d))})}(c))}).catch(ji)}function Mi(e){return{Field:function(t){var r=e.getFieldDef(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var o=e.getParentType();null!=o||N(0),e.reportError(new I("The field ".concat(o.name,".").concat(r.name," is deprecated. ").concat(n),t))}},Argument:function(t){var r=e.getArgument(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var o=e.getDirective();if(null!=o)e.reportError(new I('Directive "@'.concat(o.name,'" argument "').concat(r.name,'" is deprecated. ').concat(n),t));else{var i=e.getParentType(),a=e.getFieldDef();null!=i&&null!=a||N(0),e.reportError(new I('Field "'.concat(i.name,".").concat(a.name,'" argument "').concat(r.name,'" is deprecated. ').concat(n),t))}}},ObjectField:function(t){var r=Dt(e.getParentInputType());if(dt(r)){var n=r.getFields()[t.name.value],o=null==n?void 0:n.deprecationReason;null!=o&&e.reportError(new I("The input field ".concat(r.name,".").concat(n.name," is deprecated. ").concat(o),t))}},EnumValue:function(t){var r=e.getEnumValue(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var o=Dt(e.getInputType());null!=o||N(0),e.reportError(new I('The enum value "'.concat(o.name,".").concat(r.name,'" is deprecated. ').concat(n),t))}}}}function Di(e){return{Field:function(t){var r=Dt(e.getType());r&&Rr(r)&&e.reportError(new I('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),t))}}}function Ui(e){var t;e||H(0,"Received null or undefined error.");var r=null!==(t=e.message)&&void 0!==t?t:"An unknown error occurred.",n=e.locations,o=e.path,i=e.extensions;return i&&Object.keys(i).length>0?{message:r,locations:n,path:o,extensions:i}:{message:r,locations:n,path:o}}function Fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){var t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fi(Object(r),!0).forEach(function(t){Li(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fi(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e),r=t.descriptions?"description":"",n=t.specifiedByUrl?"specifiedByUrl":"",o=t.directiveIsRepeatable?"isRepeatable":"",i=t.schemaDescription?r:"";function a(e){return t.inputValueDeprecation?e:""}return"\n query IntrospectionQuery {\n __schema {\n ".concat(i,"\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ").concat(r,"\n ").concat(o,"\n locations\n args").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(r,"\n ").concat(n,"\n fields(includeDeprecated: true) {\n name\n ").concat(r,"\n args").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(r,"\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(r,"\n type { ...TypeRef }\n defaultValue\n ").concat(a("isDeprecated"),"\n ").concat(a("deprecationReason"),"\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n ")}function Vi(e,t){for(var r=null,n=0,o=e.definitions;n<o.length;n++){var i,a=o[n];if(a.kind===T.OPERATION_DEFINITION)if(null==t){if(r)return null;r=a}else if((null===(i=a.name)||void 0===i?void 0:i.value)===t)return a}return r}function Hi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function $i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e,t){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hi(Object(r),!0).forEach(function(t){$i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hi(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),n=ri({schema:e,document:de(zi(r))});return!n.errors&&n.data||N(0),n.data}function Bi(e,t){s(e)&&s(e.__schema)||H(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat(z(e),"."));for(var r=e.__schema,n=Ne(r.types,function(e){return e.name},function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case xr.SCALAR:return new Lt({name:(n=e).name,description:n.description,specifiedByUrl:n.specifiedByUrl});case xr.OBJECT:return new zt({name:(r=e).name,description:r.description,interfaces:function(){return g(r)},fields:function(){return y(r)}});case xr.INTERFACE:return new Gt({name:(t=e).name,description:t.description,interfaces:function(){return g(t)},fields:function(){return y(t)}});case xr.UNION:return function(e){if(!e.possibleTypes){var t=z(e);throw new Error("Introspection result missing possibleTypes: ".concat(t,"."))}return new qt({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(h)}})}(e);case xr.ENUM:return function(e){if(!e.enumValues){var t=z(e);throw new Error("Introspection result missing enumValues: ".concat(t,"."))}return new Jt({name:e.name,description:e.description,values:Ne(e.enumValues,function(e){return e.name},function(e){return{description:e.description,deprecationReason:e.deprecationReason}})})}(e);case xr.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=z(e);throw new Error("Introspection result missing inputFields: ".concat(t,"."))}return new Xt({name:e.name,description:e.description,fields:function(){return b(e.inputFields)}})}(e)}var t,r,n,o=z(e);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(o,"."))}(e)}),o=0,i=[].concat(yr,jr);o<i.length;o++){var a=i[o];n[a.name]&&(n[a.name]=a)}var c=r.queryType?h(r.queryType):null,u=r.mutationType?h(r.mutationType):null,l=r.subscriptionType?h(r.subscriptionType):null,d=r.directives?r.directives.map(function(e){if(!e.args){var t=z(e);throw new Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){var r=z(e);throw new Error("Introspection result missing directive locations: ".concat(r,"."))}return new Fr({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:b(e.args)})}):[];return new Yr({description:r.description,query:c,mutation:u,subscription:l,types:Ae(n),directives:d,assumeValid:null==t?void 0:t.assumeValid});function p(e){if(e.kind===xr.LIST){var t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new It(p(t))}if(e.kind===xr.NON_NULL){var r=e.ofType;if(!r)throw new Error("Decorated type deeper than introspection query.");return new xt(Nt(p(r)))}return f(e)}function f(e){var t=e.name;if(!t)throw new Error("Unknown type reference: ".concat(z(e),"."));var r=n[t];if(!r)throw new Error("Invalid or incomplete schema, unknown type: ".concat(t,". Ensure that a full introspection query is used in order to build a client schema."));return r}function h(e){return ot(f(e))}function m(e){return at(f(e))}function g(e){if(null===e.interfaces&&e.kind===xr.INTERFACE)return[];if(!e.interfaces){var t=z(e);throw new Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(m)}function y(e){if(!e.fields)throw new Error("Introspection result missing fields: ".concat(z(e),"."));return Ne(e.fields,function(e){return e.name},v)}function v(e){var t=p(e.type);if(!bt(t)){var r=z(t);throw new Error("Introspection must provide output type for fields, but received: ".concat(r,"."))}if(!e.args){var n=z(e);throw new Error("Introspection result missing field args: ".concat(n,"."))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:b(e.args)}}function b(e){return Ne(e,function(e){return e.name},E)}function E(e){var t=p(e.type);if(!yt(t)){var r=z(t);throw new Error("Introspection must provide input type for arguments, but received: ".concat(r,"."))}var n=null!=e.defaultValue?Go(pe(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}function Ki(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Gi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ki(Object(r),!0).forEach(function(t){qi(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ki(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e,t,r){qr(e),null!=t&&t.kind===T.DOCUMENT||H(0,"Must provide valid Document AST."),!0!==(null==r?void 0:r.assumeValid)&&!0!==(null==r?void 0:r.assumeValidSDL)&&function(e,t){var r=Ho(e,t);if(0!==r.length)throw new Error(r.map(function(e){return e.message}).join("\n\n"))}(t,e);var n=e.toConfig(),o=Ji(n,t,r);return n===o?e:new Yr(o)}function Ji(e,t,r){for(var n,o,i,a,s,c=[],u=Object.create(null),l=[],d=[],p=0,f=t.definitions;p<f.length;p++){var h=f[p];if(h.kind===T.SCHEMA_DEFINITION)s=h;else if(h.kind===T.SCHEMA_EXTENSION)d.push(h);else if(Cn(h))c.push(h);else if(xn(h)){var m=h.name.value,g=u[m];u[m]=g?g.concat([h]):[h]}else h.kind===T.DIRECTIVE_DEFINITION&&l.push(h)}if(0===Object.keys(u).length&&0===c.length&&0===l.length&&0===d.length&&null==s)return e;for(var y=Object.create(null),v=0,b=e.types;v<b.length;v++){var E=b[v];y[E.name]=x(E)}for(var w=0;w<c.length;w++){var S,A=c[w],_=A.name.value;y[_]=null!==(S=Qi[_])&&void 0!==S?S:$(A)}var P=Gi(Gi({query:e.query&&I(e.query),mutation:e.mutation&&I(e.mutation),subscription:e.subscription&&I(e.subscription)},s&&j([s])),j(d));return Gi(Gi({description:null===(n=s)||void 0===n||null===(o=n.description)||void 0===o?void 0:o.value},P),{},{types:Ae(y),directives:[].concat(e.directives.map(function(e){var t=e.toConfig();return new Fr(Gi(Gi({},t),{},{args:ke(t.args,k)}))}),l.map(function(e){var t=e.locations.map(function(e){return e.value});return new Fr({name:e.name.value,description:ea(e,r),locations:t,isRepeatable:e.repeatable,args:U(e.arguments),astNode:e})})),extensions:void 0,astNode:null!==(i=s)&&void 0!==i?i:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!==(a=null==r?void 0:r.assumeValid)&&void 0!==a&&a});function C(e){return ft(e)?new It(C(e.ofType)):mt(e)?new xt(C(e.ofType)):I(e)}function I(e){return y[e.name]}function x(e){return Rr(e)||vr(e)?e:tt(e)?function(e){for(var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[],o=r.specifiedByUrl,i=0;i<n.length;i++){var a;o=null!==(a=Zi(n[i]))&&void 0!==a?a:o}return new Lt(Gi(Gi({},r),{},{specifiedByUrl:o,extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):nt(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[];return new zt(Gi(Gi({},r),{},{interfaces:function(){return[].concat(e.getInterfaces().map(I),V(n))},fields:function(){return Gi(Gi({},ke(r.fields,O)),D(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):it(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[];return new Gt(Gi(Gi({},r),{},{interfaces:function(){return[].concat(e.getInterfaces().map(I),V(n))},fields:function(){return Gi(Gi({},ke(r.fields,O)),D(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):st(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[];return new qt(Gi(Gi({},r),{},{types:function(){return[].concat(e.getTypes().map(I),H(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):ut(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[e.name])&&void 0!==t?t:[];return new Jt(Gi(Gi({},r),{},{values:Gi(Gi({},r.values),L(n)),extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):dt(e)?function(e){var t,r=e.toConfig(),n=null!==(t=u[r.name])&&void 0!==t?t:[];return new Xt(Gi(Gi({},r),{},{fields:function(){return Gi(Gi({},ke(r.fields,function(e){return Gi(Gi({},e),{},{type:C(e.type)})})),F(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(e):void N(0,"Unexpected type: "+z(e))}function O(e){return Gi(Gi({},e),{},{type:C(e.type),args:ke(e.args,k)})}function k(e){return Gi(Gi({},e),{},{type:C(e.type)})}function j(e){for(var t={},r=0;r<e.length;r++)for(var n,o=null!==(n=e[r].operationTypes)&&void 0!==n?n:[],i=0;i<o.length;i++){var a=o[i];t[a.operation]=R(a.type)}return t}function R(e){var t,r=e.name.value,n=null!==(t=Qi[r])&&void 0!==t?t:y[r];if(void 0===n)throw new Error('Unknown type: "'.concat(r,'".'));return n}function M(e){return e.kind===T.LIST_TYPE?new It(M(e.type)):e.kind===T.NON_NULL_TYPE?new xt(M(e.type)):R(e)}function D(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var o,i=null!==(o=e[n].fields)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a];t[s.name.value]={type:M(s.type),description:ea(s,r),args:U(s.arguments),deprecationReason:Xi(s),astNode:s}}return t}function U(e){for(var t=null!=e?e:[],n=Object.create(null),o=0;o<t.length;o++){var i=t[o],a=M(i.type);n[i.name.value]={type:a,description:ea(i,r),defaultValue:Go(i.defaultValue,a),deprecationReason:Xi(i),astNode:i}}return n}function F(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var o,i=null!==(o=e[n].fields)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a],c=M(s.type);t[s.name.value]={type:c,description:ea(s,r),defaultValue:Go(s.defaultValue,c),deprecationReason:Xi(s),astNode:s}}return t}function L(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var o,i=null!==(o=e[n].values)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a];t[s.name.value]={description:ea(s,r),deprecationReason:Xi(s),astNode:s}}return t}function V(e){for(var t=[],r=0;r<e.length;r++)for(var n,o=null!==(n=e[r].interfaces)&&void 0!==n?n:[],i=0;i<o.length;i++){var a=o[i];t.push(R(a))}return t}function H(e){for(var t=[],r=0;r<e.length;r++)for(var n,o=null!==(n=e[r].types)&&void 0!==n?n:[],i=0;i<o.length;i++){var a=o[i];t.push(R(a))}return t}function $(e){var t,n=e.name.value,o=ea(e,r),i=null!==(t=u[n])&&void 0!==t?t:[];switch(e.kind){case T.OBJECT_TYPE_DEFINITION:var a=i,s=[e].concat(a);return new zt({name:n,description:o,interfaces:function(){return V(s)},fields:function(){return D(s)},astNode:e,extensionASTNodes:a});case T.INTERFACE_TYPE_DEFINITION:var c=i,l=[e].concat(c);return new Gt({name:n,description:o,interfaces:function(){return V(l)},fields:function(){return D(l)},astNode:e,extensionASTNodes:c});case T.ENUM_TYPE_DEFINITION:var d=i,p=[e].concat(d);return new Jt({name:n,description:o,values:L(p),astNode:e,extensionASTNodes:d});case T.UNION_TYPE_DEFINITION:var f=i,h=[e].concat(f);return new qt({name:n,description:o,types:function(){return H(h)},astNode:e,extensionASTNodes:f});case T.SCALAR_TYPE_DEFINITION:var m=i;return new Lt({name:n,description:o,specifiedByUrl:Zi(e),astNode:e,extensionASTNodes:m});case T.INPUT_OBJECT_TYPE_DEFINITION:var g=i,y=[e].concat(g);return new Xt({name:n,description:o,fields:function(){return F(y)},astNode:e,extensionASTNodes:g})}N(0,"Unexpected type definition node: "+z(e))}}var Qi=Oe(yr.concat(jr),function(e){return e.name});function Xi(e){var t=Zo(Hr,e);return null==t?void 0:t.reason}function Zi(e){var t=Zo($r,e);return null==t?void 0:t.url}function ea(e,t){if(e.description)return e.description.value;if(!0===(null==t?void 0:t.commentDescriptions)){var r=function(e){var t=e.loc;if(t){for(var r=[],n=t.startToken.prev;null!=n&&n.kind===F.COMMENT&&n.next&&n.prev&&n.line+1===n.next.line&&n.line!==n.prev.line;){var o=String(n.value);r.push(o),n=n.prev}return r.length>0?r.reverse().join("\n"):void 0}}(e);if(void 0!==r)return q("\n"+r)}}function ta(e,t){null!=e&&e.kind===T.DOCUMENT||H(0,"Must provide valid Document AST."),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&function(e){var t=Ho(e);if(0!==t.length)throw new Error(t.map(function(e){return e.message}).join("\n\n"))}(e);var r=Ji({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==r.astNode)for(var n=0,o=r.types;n<o.length;n++){var i=o[n];switch(i.name){case"Query":r.query=i;break;case"Mutation":r.mutation=i;break;case"Subscription":r.subscription=i}}for(var a=r.directives,s=function(e){var t=Wr[e];a.every(function(e){return e.name!==t.name})&&a.push(t)},c=0;c<Wr.length;c++)s(c);return new Yr(r)}function ra(e,t){return ta(de(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function na(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function oa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?na(Object(r),!0).forEach(function(t){ia(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):na(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){var t=e.toConfig(),r=Ne(ca(t.types),function(e){return e.name},function(e){if(tt(e)||Rr(e))return e;if(nt(e)){var t=e.toConfig();return new zt(oa(oa({},t),{},{interfaces:function(){return c(t.interfaces)},fields:function(){return s(t.fields)}}))}if(it(e)){var r=e.toConfig();return new Gt(oa(oa({},r),{},{interfaces:function(){return c(r.interfaces)},fields:function(){return s(r.fields)}}))}if(st(e)){var o=e.toConfig();return new qt(oa(oa({},o),{},{types:function(){return c(o.types)}}))}if(ut(e)){var i=e.toConfig();return new Jt(oa(oa({},i),{},{values:sa(i.values)}))}if(dt(e)){var a=e.toConfig();return new Xt(oa(oa({},a),{},{fields:function(){return sa(a.fields,function(e){return oa(oa({},e),{},{type:n(e.type)})})}}))}N(0,"Unexpected type: "+z(e))});return new Yr(oa(oa({},t),{},{types:Ae(r),directives:ca(t.directives).map(function(e){var t=e.toConfig();return new Fr(oa(oa({},t),{},{locations:ua(t.locations,function(e){return e}),args:a(t.args)}))}),query:i(t.query),mutation:i(t.mutation),subscription:i(t.subscription)}));function n(e){return ft(e)?new It(n(e.ofType)):mt(e)?new xt(n(e.ofType)):o(e)}function o(e){return r[e.name]}function i(e){return e&&o(e)}function a(e){return sa(e,function(e){return oa(oa({},e),{},{type:n(e.type)})})}function s(e){return sa(e,function(e){return oa(oa({},e),{},{type:n(e.type),args:a(e.args)})})}function c(e){return ca(e).map(o)}}function sa(e,t){for(var r=Object.create(null),n=ua(Object.keys(e),function(e){return e}),o=0;o<n.length;o++){var i=n[o],a=e[i];r[i]=t?t(a):a}return r}function ca(e){return ua(e,function(e){return e.name})}function ua(e,t){return e.slice().sort(function(e,r){return Me(t(e),t(r))})}function la(e,t){return fa(e,function(e){return!Br(e)},pa,t)}function da(e,t){return fa(e,Br,Rr,t)}function pa(e){return!vr(e)&&!Rr(e)}function fa(e,t,r,n){var o=e.getDirectives().filter(t),i=Ae(e.getTypeMap()).filter(r);return[ha(e)].concat(o.map(function(e){return function(e,t){return Sa(t,e)+"directive @"+e.name+ba(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e,n)}),i.map(function(e){return ma(e,n)})).filter(Boolean).join("\n\n")+"\n"}function ha(e){if(null!=e.description||!function(e){var t=e.getQueryType();if(t&&"Query"!==t.name)return!1;var r=e.getMutationType();if(r&&"Mutation"!==r.name)return!1;var n=e.getSubscriptionType();return!n||"Subscription"===n.name}(e)){var t=[],r=e.getQueryType();r&&t.push(" query: ".concat(r.name));var n=e.getMutationType();n&&t.push(" mutation: ".concat(n.name));var o=e.getSubscriptionType();return o&&t.push(" subscription: ".concat(o.name)),Sa({},e)+"schema {\n".concat(t.join("\n"),"\n}")}}function ma(e,t){return tt(e)?function(e,t){return Sa(t,e)+"scalar ".concat(e.name)+function(e){if(null==e.specifiedByUrl)return"";var t=br(e.specifiedByUrl,hr);return t||N(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+Ve(t)+")"}(e)}(e,t):nt(e)?function(e,t){return Sa(t,e)+"type ".concat(e.name)+ga(e)+ya(t,e)}(e,t):it(e)?function(e,t){return Sa(t,e)+"interface ".concat(e.name)+ga(e)+ya(t,e)}(e,t):st(e)?function(e,t){var r=e.getTypes(),n=r.length?" = "+r.join(" | "):"";return Sa(t,e)+"union "+e.name+n}(e,t):ut(e)?function(e,t){var r=e.getValues().map(function(e,r){return Sa(t,e," ",!r)+" "+e.name+wa(e.deprecationReason)});return Sa(t,e)+"enum ".concat(e.name)+va(r)}(e,t):dt(e)?function(e,t){var r=Ae(e.getFields()).map(function(e,r){return Sa(t,e," ",!r)+" "+Ea(e)});return Sa(t,e)+"input ".concat(e.name)+va(r)}(e,t):void N(0,"Unexpected type: "+z(e))}function ga(e){var t=e.getInterfaces();return t.length?" implements "+t.map(function(e){return e.name}).join(" & "):""}function ya(e,t){return va(Ae(t.getFields()).map(function(t,r){return Sa(e,t," ",!r)+" "+t.name+ba(e,t.args," ")+": "+String(t.type)+wa(t.deprecationReason)}))}function va(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function ba(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every(function(e){return!e.description})?"("+t.map(Ea).join(", ")+")":"(\n"+t.map(function(t,n){return Sa(e,t," "+r,!n)+" "+r+Ea(t)}).join("\n")+"\n"+r+")"}function Ea(e){var t=br(e.defaultValue,e.type),r=e.name+": "+String(e.type);return t&&(r+=" = ".concat(Ve(t))),r+wa(e.deprecationReason)}function wa(e){if(null==e)return"";var t=br(e,hr);return t&&e!==Vr?" @deprecated(reason: "+Ve(t)+")":" @deprecated"}function Sa(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=t.description;return null==o?"":!0===(null==e?void 0:e.commentDescriptions)?function(e,t,r){return(t&&!r?"\n":"")+e.split("\n").map(function(e){return t+(""!==e?"# "+e:"#")}).join("\n")+"\n"}(o,r,n):(r&&!n?"\n"+r:r)+Q(o,"",o.length>70).replace(/\n/g,"\n"+r)+"\n"}function Aa(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t=t.concat(n.definitions)}return{kind:"Document",definitions:t}}function _a(e){for(var t=[],r=Object.create(null),n=0,o=e.definitions;n<o.length;n++){var i=o[n];switch(i.kind){case T.OPERATION_DEFINITION:t.push(i);break;case T.FRAGMENT_DEFINITION:r[i.name.value]=Ca(i.selectionSet)}}for(var a=Object.create(null),s=function(n){for(var o=t[n],i=new Set,s=0,c=Ca(o.selectionSet);s<c.length;s++){var u=c[s];Pa(i,r,u)}var l=o.name?o.name.value:"";a[l]={kind:T.DOCUMENT,definitions:e.definitions.filter(function(e){return e===o||e.kind===T.FRAGMENT_DEFINITION&&i.has(e.name.value)})}},c=0;c<t.length;c++)s(c);return a}function Pa(e,t,r){if(!e.has(r)){e.add(r);var n=t[r];if(void 0!==n)for(var o=0;o<n.length;o++)Pa(e,t,n[o])}}function Ca(e){var t=[];return be(e,{FragmentSpread:function(e){t.push(e.name.value)}}),t}function Ia(e){for(var t=K(e)?e:new B(e),r=t.body,n=new X(t),o="",i=!1;n.advance().kind!==F.EOF;){var a=n.token,s=a.kind,c=!Z(a.kind);i&&(c||a.kind===F.SPREAD)&&(o+=" ");var u=r.slice(a.start,a.end);s===F.BLOCK_STRING?o+=xa(u):o+=u,i=c}return o}function xa(e){var t=q(e.slice(3,-3));J(t)>0&&(t="\n"+t);var r=t[t.length-1];return('"'===r&&'\\"""'!==t.slice(-4)||"\\"===r)&&(t+="\n"),'"""'+t+'"""'}function Oa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ka(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(r),!0).forEach(function(t){Ta(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oa(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Na=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),ja=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENTED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function Ra(e,t){return Da(e,t).filter(function(e){return e.type in Na})}function Ma(e,t){return Da(e,t).filter(function(e){return e.type in ja})}function Da(e,t){return[].concat(function(e,t){for(var r=[],n=Ga(Ae(e.getTypeMap()),Ae(t.getTypeMap())),o=0,i=n.removed;o<i.length;o++){var a=i[o];r.push({type:Na.TYPE_REMOVED,description:vr(a)?"Standard scalar ".concat(a.name," was removed because it is not referenced anymore."):"".concat(a.name," was removed.")})}for(var s=0,c=n.persisted;s<c.length;s++){var u=c[s],l=u[0],d=u[1];ut(l)&&ut(d)?r.push.apply(r,La(l,d)):st(l)&&st(d)?r.push.apply(r,Fa(l,d)):dt(l)&&dt(d)?r.push.apply(r,Ua(l,d)):nt(l)&&nt(d)||it(l)&&it(d)?r.push.apply(r,Va(l,d).concat(za(l,d))):l.constructor!==d.constructor&&r.push({type:Na.TYPE_CHANGED_KIND,description:"".concat(l.name," changed from ")+"".concat(Ba(l)," to ").concat(Ba(d),".")})}return r}(e,t),function(e,t){for(var r=[],n=Ga(e.getDirectives(),t.getDirectives()),o=0,i=n.removed;o<i.length;o++){var a=i[o];r.push({type:Na.DIRECTIVE_REMOVED,description:"".concat(a.name," was removed.")})}for(var s=0,c=n.persisted;s<c.length;s++){for(var u=c[s],l=u[0],d=u[1],p=Ga(l.args,d.args),f=0,h=p.added;f<h.length;f++){var m=h[f];Kt(m)&&r.push({type:Na.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(m.name," on directive ").concat(l.name," was added.")})}for(var g=0,y=p.removed;g<y.length;g++){var v=y[g];r.push({type:Na.DIRECTIVE_ARG_REMOVED,description:"".concat(v.name," was removed from ").concat(l.name,".")})}l.isRepeatable&&!d.isRepeatable&&r.push({type:Na.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(l.name,".")});for(var b=0,E=l.locations;b<E.length;b++){var w=E[b];-1===d.locations.indexOf(w)&&r.push({type:Na.DIRECTIVE_LOCATION_REMOVED,description:"".concat(w," was removed from ").concat(l.name,".")})}}return r}(e,t))}function Ua(e,t){for(var r=[],n=Ga(Ae(e.getFields()),Ae(t.getFields())),o=0,i=n.added;o<i.length;o++){var a=i[o];er(a)?r.push({type:Na.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(a.name," on input type ").concat(e.name," was added.")}):r.push({type:ja.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(a.name," on input type ").concat(e.name," was added.")})}for(var s=0,c=n.removed;s<c.length;s++){var u=c[s];r.push({type:Na.FIELD_REMOVED,description:"".concat(e.name,".").concat(u.name," was removed.")})}for(var l=0,d=n.persisted;l<d.length;l++){var p=d[l],f=p[0],h=p[1];Wa(f.type,h.type)||r.push({type:Na.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(f.name," changed type from ")+"".concat(String(f.type)," to ").concat(String(h.type),".")})}return r}function Fa(e,t){for(var r=[],n=Ga(e.getTypes(),t.getTypes()),o=0,i=n.added;o<i.length;o++){var a=i[o];r.push({type:ja.TYPE_ADDED_TO_UNION,description:"".concat(a.name," was added to union type ").concat(e.name,".")})}for(var s=0,c=n.removed;s<c.length;s++){var u=c[s];r.push({type:Na.TYPE_REMOVED_FROM_UNION,description:"".concat(u.name," was removed from union type ").concat(e.name,".")})}return r}function La(e,t){for(var r=[],n=Ga(e.getValues(),t.getValues()),o=0,i=n.added;o<i.length;o++){var a=i[o];r.push({type:ja.VALUE_ADDED_TO_ENUM,description:"".concat(a.name," was added to enum type ").concat(e.name,".")})}for(var s=0,c=n.removed;s<c.length;s++){var u=c[s];r.push({type:Na.VALUE_REMOVED_FROM_ENUM,description:"".concat(u.name," was removed from enum type ").concat(e.name,".")})}return r}function za(e,t){for(var r=[],n=Ga(e.getInterfaces(),t.getInterfaces()),o=0,i=n.added;o<i.length;o++){var a=i[o];r.push({type:ja.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(a.name," added to interfaces implemented by ").concat(e.name,".")})}for(var s=0,c=n.removed;s<c.length;s++){var u=c[s];r.push({type:Na.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(u.name,".")})}return r}function Va(e,t){for(var r=[],n=Ga(Ae(e.getFields()),Ae(t.getFields())),o=0,i=n.removed;o<i.length;o++){var a=i[o];r.push({type:Na.FIELD_REMOVED,description:"".concat(e.name,".").concat(a.name," was removed.")})}for(var s=0,c=n.persisted;s<c.length;s++){var u=c[s],l=u[0],d=u[1];r.push.apply(r,Ha(e,l,d)),$a(l.type,d.type)||r.push({type:Na.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(l.name," changed type from ")+"".concat(String(l.type)," to ").concat(String(d.type),".")})}return r}function Ha(e,t,r){for(var n=[],o=Ga(t.args,r.args),i=0,a=o.removed;i<a.length;i++){var s=a[i];n.push({type:Na.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(s.name," was removed.")})}for(var c=0,u=o.persisted;c<u.length;c++){var l=u[c],d=l[0],p=l[1];if(Wa(d.type,p.type)){if(void 0!==d.defaultValue)if(void 0===p.defaultValue)n.push({type:ja.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," defaultValue was removed.")});else{var f=Ka(d.defaultValue,d.type),h=Ka(p.defaultValue,p.type);f!==h&&n.push({type:ja.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed defaultValue from ").concat(f," to ").concat(h,".")})}}else n.push({type:Na.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed type from ")+"".concat(String(d.type)," to ").concat(String(p.type),".")})}for(var m=0,g=o.added;m<g.length;m++){var y=g[m];Kt(y)?n.push({type:Na.REQUIRED_ARG_ADDED,description:"A required arg ".concat(y.name," on ").concat(e.name,".").concat(t.name," was added.")}):n.push({type:ja.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(y.name," on ").concat(e.name,".").concat(t.name," was added.")})}return n}function $a(e,t){return ft(e)?ft(t)&&$a(e.ofType,t.ofType)||mt(t)&&$a(e,t.ofType):mt(e)?mt(t)&&$a(e.ofType,t.ofType):Rt(t)&&e.name===t.name||mt(t)&&$a(e,t.ofType)}function Wa(e,t){return ft(e)?ft(t)&&Wa(e.ofType,t.ofType):mt(e)?mt(t)&&Wa(e.ofType,t.ofType)||!mt(t)&&Wa(e.ofType,t):Rt(t)&&e.name===t.name}function Ba(e){return tt(e)?"a Scalar type":nt(e)?"an Object type":it(e)?"an Interface type":st(e)?"a Union type":ut(e)?"an Enum type":dt(e)?"an Input type":void N(0,"Unexpected type: "+z(e))}function Ka(e,t){var r=br(e,t);return null!=r||N(0),Ve(be(r,{ObjectValue:function(e){var t=[].concat(e.fields);return t.sort(function(e,t){return Me(e.name.value,t.name.value)}),ka(ka({},e),{},{fields:t})}}))}function Ga(e,t){for(var r=[],n=[],o=[],i=Oe(e,function(e){return e.name}),a=Oe(t,function(e){return e.name}),s=0;s<e.length;s++){var c=e[s],u=a[c.name];void 0===u?n.push(c):o.push([c,u])}for(var l=0;l<t.length;l++){var d=t[l];void 0===i[d.name]&&r.push(d)}return{added:r,persisted:o,removed:n}}function qa(e,t){return Vo(e,t,[Mi])}},11771(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveLibraryOptions=void 0,t.resolveLibraryOptions=e=>{const t=e.libraryOptions?.API?.GraphQL?.headers,r=e.libraryOptions?.API?.GraphQL?.withCredentials;return{headers:t,withCredentials:r}}},11920(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=void 0;const n=r(27745),o=r(88143),i={[n.AmplifyErrorCode.NoEndpointId]:{message:"Endpoint ID was not found and was unable to be created."},[n.AmplifyErrorCode.PlatformNotSupported]:{message:"Function not supported on current platform."},[n.AmplifyErrorCode.Unknown]:{message:"An unknown error occurred."},[n.AmplifyErrorCode.NetworkError]:{message:"A network error has occurred."}};t.assert=(0,o.createAssertionFunction)(i)},11923(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmplifyUrlSearchParams=t.AmplifyUrl=void 0;const r=URL;t.AmplifyUrl=r;const n=URLSearchParams;t.AmplifyUrlSearchParams=n},11934(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var n=r(48051),o=r(5717);t.NEVER=new n.Observable(o.noop),t.never=function(){return t.NEVER}},12187(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIterable=void 0;var n=r(34891),o=r(10281);t.isIterable=function(e){return o.isFunction(null==e?void 0:e[n.iterator])}},12392(e,t,r){"use strict";r.d(t,{pP:()=>o,Kz:()=>i});var n="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:e=>(new TextEncoder).encode(e);function o(e){return e instanceof Uint8Array?e:"string"==typeof e?n(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function i(e){return"string"==typeof e?0===e.length:0===e.byteLength}},12504(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeEvents=t.configure=t.normalizeAuth=void 0;const n=r(56547);t.normalizeAuth=(e,t)=>e?"identityPool"===e?"iam":e:t,t.configure=()=>{const e=n.Amplify.getConfig(),r=e.API?.Events;if(!r)throw new Error("Amplify configuration is missing. Have you called Amplify.configure()?");const o=(0,t.normalizeAuth)(r.defaultAuthMode,"apiKey");return{appSyncGraphqlEndpoint:r.endpoint,region:r.region,authenticationType:o,apiKey:r.apiKey}},t.serializeEvents=e=>{if(Array.isArray(e))return e.map((e,t)=>{const r=JSON.stringify(e);if(void 0===r)throw new Error(`Event must be a valid JSON value. Received ${e} at index ${t}`);return r});const t=JSON.stringify(e);if(void 0===t)throw new Error(`Event must be a valid JSON value. Received ${e}`);return[t]}},12688(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.captureError=t.errorContext=void 0;var n=r(93728),o=null;t.errorContext=function(e){if(n.config.useDeprecatedSynchronousErrorHandling){var t=!o;if(t&&(o={errorThrown:!1,error:null}),e(),t){var r=o,i=r.errorThrown,a=r.error;if(o=null,i)throw a}}else e()},t.captureError=function(e){n.config.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=e)}},12852(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.amzSdkInvocationIdHeaderMiddlewareFactory=void 0;const n=r(22651),o=r(27573);t.amzSdkInvocationIdHeaderMiddlewareFactory=()=>e=>async function(t){return t.headers[o.AMZ_SDK_INVOCATION_ID_HEADER]||(t.headers[o.AMZ_SDK_INVOCATION_ID_HEADER]=(0,n.amplifyUuid)()),e(t)}},12940(e,t,r){"use strict";function n(e){if("number"==typeof e)return!0;if("string"==typeof e){if(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&""!==e.trim())return!0;const t=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\s+/).every(e=>t.test(e))}return!1}r.d(t,{t:()=>n})},12975(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEmptyResponseDeserializer=void 0;const n=r(7884),o=r(73031),i=r(43518);t.createEmptyResponseDeserializer=()=>async e=>{if(e.statusCode>=300){const t=await(0,n.parseJsonError)(e);throw(0,o.assertServiceError)(t),new i.AuthError({name:t.name,message:t.message})}}},13119(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vueWebDetect=function(){return(0,n.windowExists)()&&(0,n.keyPrefixMatch)(window,"__VUE")},t.vueSSRDetect=function(){return(0,n.globalExists)()&&(0,n.keyPrefixMatch)(globalThis,"__VUE")};const n=r(62114)},13281(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiError=void 0;const n=r(41185);class o extends n.AmplifyError{get response(){return this._response?i(this._response):void 0}constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype),e.response&&(this._response=e.response)}}t.ApiError=o;const i=e=>({...e,headers:{...e.headers}})},13321(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidCredentialCreationOptions=void 0,t.assertCredentialIsPkcWithAuthenticatorAttestationResponse=function(e){(0,n.assertPasskeyError)(e&&e instanceof PublicKeyCredential&&e.response instanceof AuthenticatorAttestationResponse,n.PasskeyErrorCode.PasskeyRegistrationFailed)},t.assertCredentialIsPkcWithAuthenticatorAssertionResponse=function(e){(0,n.assertPasskeyError)(e&&e instanceof PublicKeyCredential&&e.response instanceof AuthenticatorAssertionResponse,n.PasskeyErrorCode.PasskeyRetrievalFailed)};const n=r(67579);var o=r(96316);Object.defineProperty(t,"assertValidCredentialCreationOptions",{enumerable:!0,get:function(){return o.assertValidCredentialCreationOptions}})},13337(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapTo=void 0;var n=r(26872);t.mapTo=function(e){return n.map(function(){return e})}},13890(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalRequest=void 0;const n=r(5205),o=r(80694),i=r(64957),a=r(99912),s=r(67791);t.getCanonicalRequest=({body:e,headers:t,method:r,url:c},u=!0)=>[r,(0,i.getCanonicalUri)(c.pathname,u),(0,o.getCanonicalQueryString)(c.searchParams),(0,n.getCanonicalHeaders)(t),(0,s.getSignedHeaders)(t),(0,a.getHashedPayload)(e)].join("\n")},13916(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mapOneOrManyArgs=void 0;var i=r(26872),a=Array.isArray;t.mapOneOrManyArgs=function(e){return i.map(function(t){return function(e,t){return a(t)?e.apply(void 0,o([],n(t))):e(t)}(e,t)})}},14106(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryMiddlewareFactory=void 0;const n=r(27573);t.retryMiddlewareFactory=({maxAttempts:e=n.DEFAULT_RETRY_ATTEMPTS,retryDecider:t,computeDelay:r,abortSignal:a})=>{if(e<1)throw new Error("maxAttempts must be greater than 0");return(n,s)=>async function(c){let u,l,d=s.attemptsCount??0;const p=()=>{if(l)return i(l,d),l;throw i(u,d),u};for(;!a?.aborted&&d<e;){try{l=await n(c),u=void 0}catch(e){u=e,l=void 0}d=(s.attemptsCount??0)>d?s.attemptsCount??0:d+1,s.attemptsCount=d;const{isCredentialsExpiredError:i,retryable:f}=await t(l,u,s);if(!f)return p();if(s.isCredentialsExpired=!!i,!a?.aborted&&d<e){const e=r(d);await o(e,a)}}if(a?.aborted)throw new Error("Request aborted.");return p()}};const o=(e,t)=>{if(t?.aborted)return Promise.resolve();let r,n;const o=new Promise(t=>{n=t,r=setTimeout(t,e)});return t?.addEventListener("abort",function e(o){clearTimeout(r),t?.removeEventListener("abort",e),n()}),o},i=(e,t)=>{"[object Object]"===Object.prototype.toString.call(e)&&(e.$metadata={...e.$metadata??{},attempts:t})}},14120(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.not=void 0,t.not=function(e,t){return function(r,n){return!e.call(t,r,n)}}},14316(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isClockSkewError=void 0;const r=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"];t.isClockSkewError=e=>!!e&&r.includes(e)},14359(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectableObservable=void 0;var i=r(48051),a=r(69879),s=r(79224),c=r(17214),u=r(65212),l=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,u.hasLift(t)&&(n.lift=t.lift),n}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new a.Subscription;var r=this.getSubject();t.add(this.source.subscribe(c.createOperatorSubscriber(r,void 0,function(){e._teardown(),r.complete()},function(t){e._teardown(),r.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=a.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return s.refCount()(this)},t}(i.Observable);t.ConnectableObservable=l},14596(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reactWebDetect=function(){const e=e=>e.startsWith("_react")||e.startsWith("__react");return(0,n.documentExists)()&&Array.from(document.querySelectorAll("[id]")).some(t=>Object.keys(t).find(e))},t.reactSSRDetect=function(){return(0,n.processExists)()&&void 0!==process.env&&!!Object.keys(process.env).find(e=>e.includes("react"))};const n=r(62114)},14598(e,t,r){"use strict";r.d(t,{j:()=>A});var n=r(10790),o=r(51609),i=r(46100),a=r(66678),s=r(46798);const[c,u]=(0,s.F)("HoverCard component was not found in the tree");function l(e,t){return r=>{e?.(r),t?.(r)}}const d=(0,o.createContext)(!1),p=d.Provider,f=()=>(0,o.useContext)(d);function h(e){const{children:t,onMouseEnter:r,onMouseLeave:o,...s}=(0,i.Y)("HoverCardDropdown",null,e),c=u();if(f()&&c.getFloatingProps&&c.floating){const e=c.getFloatingProps();return(0,n.jsx)(a.A.Dropdown,{ref:c.floating,...e,onMouseEnter:l(r,e.onMouseEnter),onMouseLeave:l(o,e.onMouseLeave),...s,children:t})}const d=l(r,c.openDropdown),p=l(o,c.closeDropdown);return(0,n.jsx)(a.A.Dropdown,{onMouseEnter:d,onMouseLeave:p,...s,children:t})}h.displayName="@mantine/core/HoverCardDropdown";var m=r(83505);const g={openDelay:0,closeDelay:0};function y(e){const{openDelay:t,closeDelay:r,children:o}=(0,i.Y)("HoverCardGroup",g,e);return(0,n.jsx)(p,{value:!0,children:(0,n.jsx)(m.T3,{delay:{open:t,close:r},children:o})})}y.displayName="@mantine/core/HoverCardGroup",y.extend=e=>e;var v=r(26810);const b={refProp:"ref"},E=(0,o.forwardRef)((e,t)=>{const{children:r,refProp:s,eventPropsWrapperName:c,...d}=(0,i.Y)("HoverCardTarget",b,e),p=(0,v.D)(r);if(!p)throw new Error("HoverCard.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const h=u();if(f()&&h.getReferenceProps&&h.reference){const e=h.getReferenceProps();return(0,n.jsx)(a.A.Target,{refProp:s,ref:t,...d,children:(0,o.cloneElement)(p,c?{[c]:{...e,ref:h.reference}}:{...e,ref:h.reference})})}const m={onMouseEnter:l(p.props.onMouseEnter,h.openDropdown),onMouseLeave:l(p.props.onMouseLeave,h.closeDropdown)};return(0,n.jsx)(a.A.Target,{refProp:s,ref:t,...d,children:(0,o.cloneElement)(p,c?{[c]:m}:m)})});E.displayName="@mantine/core/HoverCardTarget";var w=r(66284);const S={openDelay:0,closeDelay:150,initiallyOpened:!1};function A(e){const{children:t,onOpen:r,onClose:s,openDelay:u,closeDelay:l,initiallyOpened:d,...p}=(0,i.Y)("HoverCard",S,e),h=function(e){const[t,r]=(0,o.useState)(e.defaultOpened),n="boolean"==typeof e.opened?e.opened:t,i=f(),a=(0,w.B)(),s=(0,o.useRef)(-1),c=(0,o.useRef)(-1),u=(0,o.useCallback)(()=>{window.clearTimeout(s.current),window.clearTimeout(c.current)},[]),l=(0,o.useCallback)(t=>{r(t),t?(g(a),e.onOpen?.()):e.onClose?.()},[a,e.onOpen,e.onClose]),{context:d,refs:p}=(0,m.we)({open:n,onOpenChange:l}),{delay:h,setCurrentId:g}=(0,m.ck)(d,{id:a}),{getReferenceProps:y,getFloatingProps:v}=(0,m.bv)([(0,m.Mk)(d,{enabled:!0,delay:i?h:{open:e.openDelay,close:e.closeDelay}}),(0,m.It)(d,{role:"dialog"}),(0,m.s9)(d,{enabled:i})]),b=(0,o.useCallback)(()=>{i||(u(),0===e.openDelay||void 0===e.openDelay?l(!0):s.current=window.setTimeout(()=>l(!0),e.openDelay))},[i,u,e.openDelay,l]),E=(0,o.useCallback)(()=>{i||(u(),0===e.closeDelay||void 0===e.closeDelay?l(!1):c.current=window.setTimeout(()=>l(!1),e.closeDelay))},[i,u,e.closeDelay,l]);return(0,o.useEffect)(()=>()=>u(),[u]),{opened:n,reference:p.setReference,floating:p.setFloating,getReferenceProps:y,getFloatingProps:v,openDropdown:b,closeDropdown:E}}({openDelay:u,closeDelay:l,defaultOpened:d,onOpen:r,onClose:s});return(0,n.jsx)(c,{value:{openDropdown:h.openDropdown,closeDropdown:h.closeDropdown,getReferenceProps:h.getReferenceProps,getFloatingProps:h.getFloatingProps,reference:h.reference,floating:h.floating},children:(0,n.jsx)(a.A,{...p,opened:h.opened,__staticSelector:"HoverCard",children:t})})}A.displayName="@mantine/core/HoverCard",A.Target=E,A.Dropdown=h,A.Group=y,A.extend=e=>e},14602(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attemptCompleteOAuthFlow=void 0;const n=r(22651),o=r(17238),i=r(80227),a=r(5001),s=r(19506),c=r(6996);t.attemptCompleteOAuthFlow=async e=>{try{(0,n.assertTokenProviderConfig)(e),(0,n.assertOAuthConfig)(e),i.oAuthStore.setAuthConfig(e)}catch(e){return}if(await i.oAuthStore.loadOAuthInFlight())try{const t=window.location.href,{loginWith:r,userPoolClientId:i}=e,{domain:c,redirectSignIn:u,responseType:l}=r.oauth,d=(0,s.getRedirectUrl)(u);await(0,a.completeOAuthFlow)({currentUrl:t,clientId:i,domain:c,redirectUri:d,responseType:l,userAgentValue:(0,o.getAuthUserAgentValue)(n.AuthAction.SignInWithRedirect)})}catch(e){await(0,c.handleFailure)(e)}}},14954(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listWebAuthnCredentials=async function(e){return(0,o.listWebAuthnCredentials)(n.Amplify,e)};const n=r(56547),o=r(16772)},15019(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tap=void 0;var n=r(10281),o=r(65212),i=r(17214),a=r(87699);t.tap=function(e,t,r){var s=n.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return s?o.operate(function(e,t){var r;null===(r=s.subscribe)||void 0===r||r.call(s);var n=!0;e.subscribe(i.createOperatorSubscriber(t,function(e){var r;null===(r=s.next)||void 0===r||r.call(s,e),t.next(e)},function(){var e;n=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()},function(e){var r;n=!1,null===(r=s.error)||void 0===r||r.call(s,e),t.error(e)},function(){var e,t;n&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)}))}):a.identity}},15027(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTokenExpired=function({expiresAt:e,clockDrift:t,tolerance:r=5e3}){return Date.now()+t+r>e}},15060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signUp=async function(e){const{username:t,password:r,options:g}=e,y=n.Amplify.getConfig().Auth?.Cognito,v=y?.signUpVerificationMethod??"code",{clientMetadata:b,validationData:E,autoSignIn:w}=e.options??{};(0,o.assertTokenProviderConfig)(y),(0,i.assertValidationError)(!!t,a.AuthValidationErrorCode.EmptySignUpUsername);const S="boolean"!=typeof w?w:void 0,A={username:t,options:S};"CUSTOM_WITHOUT_SRP"!==S?.authFlowType&&(A.password=r);const{userPoolId:_,userPoolClientId:P,userPoolEndpoint:C}=y,I=(0,p.createSignUpClient)({endpointResolver:(0,f.createCognitoUserPoolEndpointResolver)({endpointOverride:C})}),x={Username:t,Password:void 0,UserAttributes:g?.userAttributes&&(0,c.toAttributeType)(g?.userAttributes),ClientMetadata:b,ValidationData:E&&(0,c.toAttributeType)(E),ClientId:P,UserContextData:(0,l.getUserContextData)({username:t,userPoolId:_,userPoolClientId:P})};r&&(x.Password=r);const{UserSub:O,CodeDeliveryDetails:k,UserConfirmed:T,Session:N}=await I({region:(0,s.getRegionFromUserPoolId)(_),userAgentValue:(0,d.getAuthUserAgentValue)(o.AuthAction.SignUp)},x);(S||!0===w)&&(h.autoSignInStore.dispatch({type:"START"}),h.autoSignInStore.dispatch({type:"SET_USERNAME",value:t}),h.autoSignInStore.dispatch({type:"SET_SESSION",value:N}));const j={destination:k?.Destination,deliveryMedium:k?.DeliveryMedium,attributeName:k?.AttributeName},R=!!T,M=h.autoSignInStore.getState().active;if(R)return M?((0,m.setAutoSignIn)((0,u.autoSignInUserConfirmed)(A)),{isSignUpComplete:!0,nextStep:{signUpStep:"COMPLETE_AUTO_SIGN_IN"},userId:O}):{isSignUpComplete:!0,nextStep:{signUpStep:"DONE"},userId:O};if(M){if("link"===v)return(0,m.setAutoSignIn)((0,u.autoSignInWhenUserIsConfirmedWithLink)(A)),{isSignUpComplete:!1,nextStep:{signUpStep:"COMPLETE_AUTO_SIGN_IN",codeDeliveryDetails:j},userId:O};(0,u.handleCodeAutoSignIn)(A)}return{isSignUpComplete:!1,nextStep:{signUpStep:"CONFIRM_SIGN_UP",codeDeliveryDetails:j},userId:O}};const n=r(56547),o=r(22651),i=r(58765),a=r(49129),s=r(62639),c=r(39726),u=r(35354),l=r(99369),d=r(17238),p=r(35456),f=r(28228),h=r(33826),m=r(19578)},15074(e,t,r){"use strict";r.d(t,{K:()=>c});var n=r(10790),o=(r(51609),r(66192)),i=r(3052);function a(e){return(0,i.H)(e).reduce((t,r)=>{return void 0!==e[r]?`${t}${n=r,n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}:${e[r]};`:t;var n},"").trim()}function s({selector:e,styles:t,media:r,container:n}){const o=t?a(t):"",i=Array.isArray(r)?r.map(t=>`@media${t.query}{${e}{${a(t.styles)}}}`):[],s=Array.isArray(n)?n.map(t=>`@container ${t.query}{${e}{${a(t.styles)}}}`):[];return`${o?`${e}{${o}}`:""}${i.join("")}${s.join("")}`.trim()}function c(e){const t=(0,o.WV)();return(0,n.jsx)("style",{"data-mantine-styles":"inline",nonce:t?.(),dangerouslySetInnerHTML:{__html:s(e)}})}},15130(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNSIGNED_PAYLOAD=t.EMPTY_HASH=t.SIGNATURE_IDENTIFIER=t.SHA256_ALGORITHM_IDENTIFIER=t.KEY_TYPE_IDENTIFIER=t.TOKEN_HEADER=t.AMZ_DATE_HEADER=t.HOST_HEADER=t.AUTH_HEADER=t.TOKEN_QUERY_PARAM=t.SIGNED_HEADERS_QUERY_PARAM=t.SIGNATURE_QUERY_PARAM=t.REGION_SET_PARAM=t.EXPIRES_QUERY_PARAM=t.CREDENTIAL_QUERY_PARAM=t.AMZ_DATE_QUERY_PARAM=t.ALGORITHM_QUERY_PARAM=void 0,t.ALGORITHM_QUERY_PARAM="X-Amz-Algorithm",t.AMZ_DATE_QUERY_PARAM="X-Amz-Date",t.CREDENTIAL_QUERY_PARAM="X-Amz-Credential",t.EXPIRES_QUERY_PARAM="X-Amz-Expires",t.REGION_SET_PARAM="X-Amz-Region-Set",t.SIGNATURE_QUERY_PARAM="X-Amz-Signature",t.SIGNED_HEADERS_QUERY_PARAM="X-Amz-SignedHeaders",t.TOKEN_QUERY_PARAM="X-Amz-Security-Token",t.AUTH_HEADER="authorization",t.HOST_HEADER="host",t.AMZ_DATE_HEADER=t.AMZ_DATE_QUERY_PARAM.toLowerCase(),t.TOKEN_HEADER=t.TOKEN_QUERY_PARAM.toLowerCase(),t.KEY_TYPE_IDENTIFIER="aws4_request",t.SHA256_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256",t.SIGNATURE_IDENTIFIER="AWS4",t.EMPTY_HASH="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",t.UNSIGNED_PAYLOAD="UNSIGNED-PAYLOAD"},15219(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchUserAttributes=void 0;const n=r(22651),o=r(62639),i=r(64166),a=r(39726),s=r(17238),c=r(35456),u=r(28228);t.fetchUserAttributes=async e=>{const t=e.getConfig().Auth?.Cognito;(0,n.assertTokenProviderConfig)(t);const{userPoolEndpoint:r,userPoolId:l}=t,{tokens:d}=await(0,n.fetchAuthSession)(e,{forceRefresh:!1});(0,i.assertAuthTokens)(d);const p=(0,c.createGetUserClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:r})}),{UserAttributes:f}=await p({region:(0,o.getRegionFromUserPoolId)(l),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.FetchUserAttributes)},{AccessToken:d.accessToken.toString()});return(0,a.toAuthUserAttribute)(f)}},15304(e,t,r){"use strict";r.d(t,{S:()=>l});var n=r(88149),o=(r(51609),r(10790),r(59444));function i(e,t){if(e.startsWith("var("))return`color-mix(in srgb, ${e}, black ${100*t}%)`;const{r,g:n,b:i,a}=(0,o.K)(e),s=1-t,c=e=>Math.round(e*s);return`rgba(${c(r)}, ${c(n)}, ${c(i)}, ${a})`}var a=r(91752),s=r(89569),c=r(97170);const u="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",l={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:{dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:({color:e,theme:t,variant:r,gradient:o,autoContrast:u})=>{const l=(0,s.g)({color:e,theme:t}),d="boolean"==typeof u?u:t.autoContrast;if("none"===r)return{background:"transparent",hover:"transparent",color:"inherit",border:"none"};if("filled"===r){const t=d&&l.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return l.isThemeColor?void 0===l.shade?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:t,border:`${(0,n.D)(1)} solid transparent`}:{background:`var(--mantine-color-${l.color}-${l.shade})`,hover:`var(--mantine-color-${l.color}-${9===l.shade?8:l.shade+1})`,color:t,border:`${(0,n.D)(1)} solid transparent`}:{background:e,hover:i(e,.1),color:t,border:`${(0,n.D)(1)} solid transparent`}}if("light"===r){if(l.isThemeColor){if(void 0===l.shade)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${(0,n.D)(1)} solid transparent`};const r=t.colors[l.color][l.shade];return{background:(0,c.B)(r,.1),hover:(0,c.B)(r,.12),color:`var(--mantine-color-${l.color}-${Math.min(l.shade,6)})`,border:`${(0,n.D)(1)} solid transparent`}}return{background:(0,c.B)(e,.1),hover:(0,c.B)(e,.12),color:e,border:`${(0,n.D)(1)} solid transparent`}}if("outline"===r)return l.isThemeColor?void 0===l.shade?{background:"transparent",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${(0,n.D)(1)} solid var(--mantine-color-${e}-outline)`}:{background:"transparent",hover:(0,c.B)(t.colors[l.color][l.shade],.05),color:`var(--mantine-color-${l.color}-${l.shade})`,border:`${(0,n.D)(1)} solid var(--mantine-color-${l.color}-${l.shade})`}:{background:"transparent",hover:(0,c.B)(e,.05),color:e,border:`${(0,n.D)(1)} solid ${e}`};if("subtle"===r){if(l.isThemeColor){if(void 0===l.shade)return{background:"transparent",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${(0,n.D)(1)} solid transparent`};const r=t.colors[l.color][l.shade];return{background:"transparent",hover:(0,c.B)(r,.12),color:`var(--mantine-color-${l.color}-${Math.min(l.shade,6)})`,border:`${(0,n.D)(1)} solid transparent`}}return{background:"transparent",hover:(0,c.B)(e,.12),color:e,border:`${(0,n.D)(1)} solid transparent`}}return"transparent"===r?l.isThemeColor?void 0===l.shade?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${e}-light-color)`,border:`${(0,n.D)(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${l.color}-${Math.min(l.shade,6)})`,border:`${(0,n.D)(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:e,border:`${(0,n.D)(1)} solid transparent`}:"white"===r?l.isThemeColor?void 0===l.shade?{background:"var(--mantine-color-white)",hover:i(t.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${(0,n.D)(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:i(t.white,.01),color:`var(--mantine-color-${l.color}-${l.shade})`,border:`${(0,n.D)(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:i(t.white,.01),color:e,border:`${(0,n.D)(1)} solid transparent`}:"gradient"===r?{background:(0,a.v)(o,t),hover:(0,a.v)(o,t),color:"var(--mantine-color-white)",border:"none"}:"default"===r?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${(0,n.D)(1)} solid var(--mantine-color-default-border)`}:{}},autoContrast:!1,luminanceThreshold:.3,fontFamily:u,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:u,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:(0,n.D)(34),lineHeight:"1.3"},h2:{fontSize:(0,n.D)(26),lineHeight:"1.35"},h3:{fontSize:(0,n.D)(22),lineHeight:"1.4"},h4:{fontSize:(0,n.D)(18),lineHeight:"1.45"},h5:{fontSize:(0,n.D)(16),lineHeight:"1.5"},h6:{fontSize:(0,n.D)(14),lineHeight:"1.5"}}},fontSizes:{xs:(0,n.D)(12),sm:(0,n.D)(14),md:(0,n.D)(16),lg:(0,n.D)(18),xl:(0,n.D)(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:(0,n.D)(2),sm:(0,n.D)(4),md:(0,n.D)(8),lg:(0,n.D)(16),xl:(0,n.D)(32)},spacing:{xs:(0,n.D)(10),sm:(0,n.D)(12),md:(0,n.D)(16),lg:(0,n.D)(20),xl:(0,n.D)(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), 0 ${(0,n.D)(1)} ${(0,n.D)(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${(0,n.D)(10)} ${(0,n.D)(15)} ${(0,n.D)(-5)}, rgba(0, 0, 0, 0.04) 0 ${(0,n.D)(7)} ${(0,n.D)(7)} ${(0,n.D)(-5)}`,md:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${(0,n.D)(20)} ${(0,n.D)(25)} ${(0,n.D)(-5)}, rgba(0, 0, 0, 0.04) 0 ${(0,n.D)(10)} ${(0,n.D)(10)} ${(0,n.D)(-5)}`,lg:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${(0,n.D)(28)} ${(0,n.D)(23)} ${(0,n.D)(-7)}, rgba(0, 0, 0, 0.04) 0 ${(0,n.D)(12)} ${(0,n.D)(12)} ${(0,n.D)(-7)}`,xl:`0 ${(0,n.D)(1)} ${(0,n.D)(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${(0,n.D)(36)} ${(0,n.D)(28)} ${(0,n.D)(-7)}, rgba(0, 0, 0, 0.04) 0 ${(0,n.D)(17)} ${(0,n.D)(17)} ${(0,n.D)(-7)}`},other:{},components:{}}},15333(e,t,r){"use strict";r.d(t,{R:()=>a,S:()=>i});var n=r(10790),o=r(88149);function i({size:e,style:t,...r}){const i=void 0!==e?{width:(0,o.D)(e),height:(0,o.D)(e),...t}:t;return(0,n.jsx)("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i,"aria-hidden":!0,...r,children:(0,n.jsx)("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function a({indeterminate:e,...t}){return e?(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6","aria-hidden":!0,...t,children:(0,n.jsx)("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})}):(0,n.jsx)(i,{...t})}r(51609)},15779(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListWebAuthnCredentialsClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createListWebAuthnCredentialsClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ListWebAuthnCredentials"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},15810(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObject=void 0,t.createObject=function(e,t){return e.reduce(function(e,r,n){return e[r]=t[n],e},{})}},15887(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var n=r(6757),o=r(74478);t.animationFrameScheduler=new o.AnimationFrameScheduler(n.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler},16002(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.immediateProvider=void 0;var i=r(92052),a=i.Immediate.setImmediate,s=i.Immediate.clearImmediate;t.immediateProvider={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.immediateProvider.delegate;return((null==i?void 0:i.setImmediate)||a).apply(void 0,o([],n(e)))},clearImmediate:function(e){var r=t.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||s)(e)},delegate:void 0}},16112(e,t,r){"use strict";r.d(t,{F:()=>i});var n=r(10790),o=(r(51609),r(37561));function i({children:e,role:t}){const r=(0,o.e)();return r?(0,n.jsx)("div",{role:t,"aria-labelledby":r.labelId,"aria-describedby":r.describedBy,children:e}):(0,n.jsx)(n.Fragment,{children:e})}},16201(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchAll=void 0;var n=r(90680),o=r(87699);t.switchAll=function(){return n.switchMap(o.identity)}},16211(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateClient=function(e){const t={[i.__amplify]:e.amplify,[i.__authMode]:e.authMode,[i.__authToken]:e.authToken,[i.__apiKey]:"apiKey"in e?e.apiKey:void 0,[i.__endpoint]:"endpoint"in e?e.endpoint:void 0,[i.__headers]:e.headers,graphql:c.graphql,cancel:c.cancel,isCancelError:c.isCancelError,models:l,enums:l,queries:l,mutations:l,subscriptions:l},r=e.amplify.getConfig().API?.GraphQL;if(t[i.__endpoint]){if(!t[i.__authMode])throw new Error("generateClient() requires an explicit `authMode` when `endpoint` is provided.");if("apiKey"===t[i.__authMode]&&!t[i.__apiKey])throw new Error("generateClient() requires an explicit `apiKey` when `endpoint` is provided and `authMode = 'apiKey'`.")}return t[i.__endpoint]||((0,a.isApiGraphQLConfig)(r)?(0,o.addSchemaToClient)(t,r,i.getInternals):u(t)),t};const n=r(56547),o=r(57309),i=r(82192),a=r(86764),s=r(84532),c=r(89015),u=e=>{n.Hub.listen("core",t=>{if(!(0,s.isConfigureEventWithResourceConfig)(t.payload))return;const r=t.payload.data.API?.GraphQL;(0,a.isApiGraphQLConfig)(r)&&(0,o.addSchemaToClient)(e,r,i.getInternals)})},l=new Proxy({},{get(){throw new Error("Client could not be generated. This is likely due to `Amplify.configure()` not being called prior to `generateClient()` or because the configuration passed to `Amplify.configure()` is missing GraphQL provider configuration.")}})},16267(e,t,r){"use strict";r.d(t,{t:()=>p});var n=r(10790),o=(r(51609),r(56324)),i=r(59396),a=r(46100),s=r(52837),c=r(11507),u=r(18639),l={root:"m_1b7284a3"};const d=(0,i.V)((e,{radius:t,shadow:r})=>({root:{"--paper-radius":void 0===t?void 0:(0,o.nJ)(t),"--paper-shadow":(0,o.dh)(r)}})),p=(0,u.v)((e,t)=>{const r=(0,a.Y)("Paper",null,e),{classNames:o,className:i,style:u,styles:p,unstyled:f,withBorder:h,vars:m,radius:g,shadow:y,variant:v,mod:b,attributes:E,...w}=r,S=(0,s.I)({name:"Paper",props:r,classes:l,className:i,style:u,classNames:o,styles:p,unstyled:f,attributes:E,vars:m,varsResolver:d});return(0,n.jsx)(c.a,{ref:t,mod:[{"data-with-border":h},b],...S("root"),variant:v,...w})});p.classes=l,p.displayName="@mantine/core/Paper"},16474(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partitionsInfo=t.defaultPartition=void 0,t.defaultPartition={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},t.partitionsInfo={partitions:[t.defaultPartition,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]}},16534(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},16707(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeScan=void 0;var n=r(65212),o=r(2574);t.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),n.operate(function(n,i){var a=t;return o.mergeInternals(n,i,function(t,r){return e(a,t,r)},r,function(e){a=e},!1,void 0,function(){return a=null})})}},16736(e,t,r){"use strict";r.d(t,{x:()=>n});class n extends Error{constructor({message:e,name:t,recoverySuggestion:r,underlyingError:o,metadata:i}){if(super(e),this.name=t,this.underlyingError=o,this.recoverySuggestion=r,i){const{extendedRequestId:e,httpStatusCode:t,requestId:r}=i;this.metadata={extendedRequestId:e,httpStatusCode:t,requestId:r}}this.constructor=n,Object.setPrototypeOf(this,n.prototype)}}},16772(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=t.listWebAuthnCredentials=void 0;var n=r(65620);Object.defineProperty(t,"listWebAuthnCredentials",{enumerable:!0,get:function(){return n.listWebAuthnCredentials}});var o=r(97922);Object.defineProperty(t,"deleteWebAuthnCredential",{enumerable:!0,get:function(){return o.deleteWebAuthnCredential}})},17214(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorSubscriber=t.createOperatorSubscriber=void 0;var i=r(2708);t.createOperatorSubscriber=function(e,t,r,n,o){return new a(e,t,r,n,o)};var a=function(e){function t(t,r,n,o,i,a){var s=e.call(this,t)||this;return s.onFinalize=i,s.shouldUnsubscribe=a,s._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return o(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(i.Subscriber);t.OperatorSubscriber=a},17238(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openAuthSession=t.getAuthUserAgentValue=t.getAuthUserAgentDetails=void 0;var n=r(93106);Object.defineProperty(t,"getAuthUserAgentDetails",{enumerable:!0,get:function(){return n.getAuthUserAgentDetails}});var o=r(86777);Object.defineProperty(t,"getAuthUserAgentValue",{enumerable:!0,get:function(){return o.getAuthUserAgentValue}});var i=r(68116);Object.defineProperty(t,"openAuthSession",{enumerable:!0,get:function(){return i.openAuthSession}})},17313(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomBytes=void 0;const n=r(22651),o=r(95179);t.getRandomBytes=e=>{const t=(new n.WordArray).random(e).toString();return(0,o.getBytesFromHex)(t)}},17330(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDeviceName=void 0,t.getDeviceName=async()=>{const{userAgentData:e}=navigator;if(!e)return navigator.userAgent;const{platform:t="",platformVersion:r="",model:n="",architecture:o="",fullVersionList:i=[]}=await e.getHighEntropyValues(["platform","platformVersion","architecture","model","fullVersionList"]);return[t,r,o,n,t,i.map(e=>`${e.brand}/${e.version}`).join(";")].filter(e=>e).join(" ")||navigator.userAgent}},17474(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallbackInternals=void 0;var i=r(68596),a=r(48051),s=r(5455),c=r(13916),u=r(32071),l=r(5130);t.bindCallbackInternals=function e(t,r,d,p){if(d){if(!i.isScheduler(d))return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e(t,r,p).apply(this,n).pipe(c.mapOneOrManyArgs(d))};p=d}return p?function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e(t,r).apply(this,n).pipe(s.subscribeOn(p),u.observeOn(p))}:function(){for(var e=this,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var c=new l.AsyncSubject,u=!0;return new a.Observable(function(a){var s=c.subscribe(a);if(u){u=!1;var l=!1,d=!1;r.apply(e,o(o([],n(i)),[function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t){var n=e.shift();if(null!=n)return void c.error(n)}c.next(1<e.length?e:e[0]),d=!0,l&&c.complete()}])),d&&c.complete(),l=!0}return s})}}},17524(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64Decoder=void 0;const n=r(58506);t.base64Decoder={convert(e,t){let r=e;return t?.urlSafe&&(r=r.replace(/-/g,"+").replace(/_/g,"/")),(0,n.getAtob)()(r)}}},17530(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jitteredExponentialRetry=void 0;const n=r(77113),o=r(58821),i=r(97542);t.jitteredExponentialRetry=(e,t,r=n.MAX_DELAY_MS,a)=>(0,i.retry)(e,t,(0,o.jitteredBackoff)(r),a)},17631(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selfAwareAsync=t.capitalize=t.resolveOwnerFields=t.findIndexByFields=t.resolvePKFields=void 0;var n=r(84615);Object.defineProperty(t,"resolvePKFields",{enumerable:!0,get:function(){return n.resolvePKFields}});var o=r(31898);Object.defineProperty(t,"findIndexByFields",{enumerable:!0,get:function(){return o.findIndexByFields}});var i=r(63553);Object.defineProperty(t,"resolveOwnerFields",{enumerable:!0,get:function(){return i.resolveOwnerFields}});var a=r(87287);Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return a.capitalize}});var s=r(8171);Object.defineProperty(t,"selfAwareAsync",{enumerable:!0,get:function(){return s.selfAwareAsync}})},17782(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shareReplay=void 0;var n=r(10381),o=r(93405);t.shareReplay=function(e,t,r){var i,a,s,c,u=!1;return e&&"object"==typeof e?(i=e.bufferSize,c=void 0===i?1/0:i,a=e.windowTime,t=void 0===a?1/0:a,u=void 0!==(s=e.refCount)&&s,r=e.scheduler):c=null!=e?e:1/0,o.share({connector:function(){return new n.ReplaySubject(c,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},17802(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.finalize=void 0;var n=r(65212);t.finalize=function(e){return n.operate(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}},17812(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=void 0;var n=r(76808),o=r(19724),i=r(65212),a=r(51071),s={connector:function(){return new n.Subject}};t.connect=function(e,t){void 0===t&&(t=s);var r=t.connector;return i.operate(function(t,n){var i=r();o.innerFrom(e(a.fromSubscribable(i))).subscribe(n),n.add(t.subscribe(i))})}},17826(e,t,r){"use strict";r.d(t,{E:()=>g});var n=r(10790),o=(r(51609),r(56324)),i=r(59396),a=r(86344),s=r(91752),c=r(46100),u=r(52837),l=r(11507),d=r(18639),p={root:"m_b6d8b162"};function f(e){return"start"===e?"start":"end"===e||e?"end":void 0}const h={inherit:!1},m=(0,i.V)((e,{variant:t,lineClamp:r,gradient:n,size:i,color:c})=>({root:{"--text-fz":(0,o.ny)(i),"--text-lh":(0,o.ks)(i),"--text-gradient":"gradient"===t?(0,s.v)(n,e):void 0,"--text-line-clamp":"number"==typeof r?r.toString():void 0,"--text-color":c?(0,a.r)(c,e):void 0}})),g=(0,d.v)((e,t)=>{const r=(0,c.Y)("Text",h,e),{lineClamp:o,truncate:i,inline:a,inherit:s,gradient:d,span:g,__staticSelector:y,vars:v,className:b,style:E,classNames:w,styles:S,unstyled:A,variant:_,mod:P,size:C,attributes:I,...x}=r,O=(0,u.I)({name:["Text",y],props:r,classes:p,className:b,style:E,classNames:w,styles:S,unstyled:A,attributes:I,vars:v,varsResolver:m});return(0,n.jsx)(l.a,{...O("root",{focusable:!0}),ref:t,component:g?"span":"p",variant:_,mod:[{"data-truncate":f(i),"data-line-clamp":"number"==typeof o,"data-inline":a,"data-inherit":s},P],size:C,...x})});g.classes=p,g.displayName="@mantine/core/Text"},17873(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleAsyncIterable=void 0;var n=r(48051),o=r(28619);t.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.Observable(function(r){o.executeSchedule(r,t,function(){var n=e[Symbol.asyncIterator]();o.executeSchedule(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}},17943(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SERVICE_CLIENT_API_CONFIG=t.COGNITO_IDENTITY_SERVICE_NAME=void 0;const n=r(7884);t.COGNITO_IDENTITY_SERVICE_NAME="cognito-identity",t.DEFAULT_SERVICE_CLIENT_API_CONFIG={service:t.COGNITO_IDENTITY_SERVICE_NAME,retryDecider:(0,n.getRetryDecider)(n.parseJsonError),computeDelay:n.jitteredBackoff,cache:"no-store"}},17977(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustAll=void 0;var n=r(86632),o=r(87699);t.exhaustAll=function(){return n.exhaustMap(o.identity)}},18057(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityTransferHandler=void 0;var n=r(27155);Object.defineProperty(t,"cognitoIdentityTransferHandler",{enumerable:!0,get:function(){return n.cognitoIdentityTransferHandler}})},18464(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multicast=void 0;var n=r(14359),o=r(10281),i=r(17812);t.multicast=function(e,t){var r=o.isFunction(e)?e:function(){return e};return o.isFunction(t)?i.connect(t,{connector:r}):function(e){return new n.ConnectableObservable(e,r)}}},18498(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sessionListener=t.SESSION_STOP_EVENT=t.SESSION_START_EVENT=void 0;const n=r(4010);var o=r(39027);Object.defineProperty(t,"SESSION_START_EVENT",{enumerable:!0,get:function(){return o.SESSION_START_EVENT}}),Object.defineProperty(t,"SESSION_STOP_EVENT",{enumerable:!0,get:function(){return o.SESSION_STOP_EVENT}}),t.sessionListener=new n.SessionListener},18639(e,t,r){"use strict";r.d(t,{v:()=>a});var n=r(10790),o=r(51609),i=r(2412);function a(e){const t=(0,o.forwardRef)(e);return t.withProps=e=>{const r=(0,o.forwardRef)((r,o)=>(0,n.jsx)(t,{...e,...r,ref:o}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t.extend=i.D_,t}},18870(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateGenerationsProperty=function(e,t,r){const i=t?.modelIntrospection;if(!i?.generations)return{};const a={};for(const t of Object.values(i.generations))a[t.name]=(0,n.customOpFactory)(e,i,"query",t,!1,r,(0,o.getCustomUserAgentDetails)(o.AiAction.Generation));return a};const n=r(59640),o=r(83102)},19308(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPaddedHex=void 0;const n=r(74008),o=/^[89a-f]/i;t.getPaddedHex=e=>{if(!(e instanceof n.BigInteger))throw new Error("Not a BigInteger");const t=e.compareTo(n.BigInteger.ZERO)<0;let r=e.abs().toString(16);if(r=r.length%2!=0?`0${r}`:r,r=o.test(r)?`00${r}`:r,t){const e=r.split("").map(e=>{const t=15&~parseInt(e,16);return"0123456789ABCDEF".charAt(t)}).join("");r=new n.BigInteger(e,16).add(n.BigInteger.ONE).toString(16),r.toUpperCase().startsWith("FF8")&&(r=r.substring(2))}return r}},19506(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRedirectUrl=function(e,t){if(t){const r=e?.find(e=>e===t);if(!r)throw n.invalidPreferredRedirectUrlException;return r}{const t=e?.find(o)??e?.find(i),r=e?.find(s)??e?.find(a);if(t)return t;if(r)throw n.invalidOriginException;throw n.invalidRedirectException}};const n=r(34143),o=e=>e.startsWith(String(window.location.origin+(window.location.pathname||"/"))),i=e=>e.includes(String(window.location.hostname)),a=e=>e.startsWith("http://"),s=e=>e.startsWith("https://")},19533(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncScheduler=void 0;var i=r(65881),a=function(e){function t(t,r){void 0===r&&(r=i.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return o(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(i.Scheduler);t.AsyncScheduler=a},19543(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.validationErrorMap=t.APIValidationErrorCode=void 0,function(e){e.NoAuthSession="NoAuthSession",e.NoRegion="NoRegion",e.NoCustomEndpoint="NoCustomEndpoint"}(r||(t.APIValidationErrorCode=r={})),t.validationErrorMap={[r.NoAuthSession]:{message:"Auth session should not be empty."},[r.NoRegion]:{message:"Missing region."},[r.NoCustomEndpoint]:{message:"Custom endpoint region is present without custom endpoint."}}},19578(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoSignIn=void 0,t.setAutoSignIn=function(e){t.autoSignIn=e},t.resetAutoSignIn=function(e=!0){e&&(t.autoSignIn=a),n.autoSignInStore.dispatch({type:"RESET"})};const n=r(33826),o=r(43518),i=r(34143),a=async()=>{throw new o.AuthError({name:i.AUTO_SIGN_IN_EXCEPTION,message:"The autoSignIn flow has not started, or has been cancelled/completed.",recoverySuggestion:"Please try to use the signIn API or log out before starting a new autoSignIn flow."})};t.autoSignIn=a},19613(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertItemToConversation=void 0;const n=r(41271),o=r(42916),i=r(50030);t.convertItemToConversation=(e,t,r,a,s,c,u,l,d,p)=>{if(!r)throw new Error(`An error occurred converting a ${c} conversation: Missing ID`);return{id:r,createdAt:a,updatedAt:s,metadata:d,name:p,onStreamEvent:(0,o.createOnStreamEventFunction)(e,t,r,c,l),sendMessage:(0,i.createSendMessageFunction)(e,t,r,c,l),listMessages:(0,n.createListMessagesFunction)(e,t,r,u,l)}}},19676(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchTransferHandler=void 0;const n=r(1123),o=r(72580),i=r(27745),a=e=>!["HEAD","GET"].includes(e.toUpperCase());t.fetchTransferHandler=async({url:e,method:t,headers:r,body:s},{abortSignal:c,cache:u,withCrossDomainCredentials:l})=>{let d;try{d=await fetch(e,{method:t,headers:r,body:a(t)?s:void 0,signal:c,cache:u,credentials:l?"include":"same-origin"})}catch(e){if(e instanceof TypeError)throw new n.AmplifyError({name:i.AmplifyErrorCode.NetworkError,message:"A network error has occurred.",underlyingError:e});throw e}const p={};return d.headers?.forEach((e,t)=>{p[t.toLowerCase()]=e}),{statusCode:d.status,headers:p,body:null,body:Object.assign(d.body??{},{text:(0,o.withMemoization)(()=>d.text()),blob:(0,o.withMemoization)(()=>d.blob()),json:(0,o.withMemoization)(()=>d.json())})}}},19724(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},i=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof a?a(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,o,(t=e[r](t)).done,t.value)})}}},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadableStreamLike=t.fromAsyncIterable=t.fromIterable=t.fromPromise=t.fromArrayLike=t.fromInteropObservable=t.innerFrom=void 0;var s=r(94975),c=r(67552),u=r(48051),l=r(80629),d=r(78263),p=r(86297),f=r(12187),h=r(95462),m=r(10281),g=r(32980),y=r(2884);function v(e){return new u.Observable(function(t){var r=e[y.observable]();if(m.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function b(e){return new u.Observable(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function E(e){return new u.Observable(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,g.reportUnhandledError)})}function w(e){return new u.Observable(function(t){var r,n;try{for(var o=a(e),i=o.next();!i.done;i=o.next()){var s=i.value;if(t.next(s),t.closed)return}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()})}function S(e){return new u.Observable(function(t){(function(e,t){var r,a,s,c;return n(this,void 0,void 0,function(){var n,u;return o(this,function(o){switch(o.label){case 0:o.trys.push([0,5,6,11]),r=i(e),o.label=1;case 1:return[4,r.next()];case 2:if((a=o.sent()).done)return[3,4];if(n=a.value,t.next(n),t.closed)return[2];o.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=o.sent(),s={error:u},[3,11];case 6:return o.trys.push([6,,9,10]),a&&!a.done&&(c=r.return)?[4,c.call(r)]:[3,8];case 7:o.sent(),o.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function A(e){return S(h.readableStreamLikeToAsyncGenerator(e))}t.innerFrom=function(e){if(e instanceof u.Observable)return e;if(null!=e){if(l.isInteropObservable(e))return v(e);if(s.isArrayLike(e))return b(e);if(c.isPromise(e))return E(e);if(d.isAsyncIterable(e))return S(e);if(f.isIterable(e))return w(e);if(h.isReadableStreamLike(e))return A(e)}throw p.createInvalidObservableTypeError(e)},t.fromInteropObservable=v,t.fromArrayLike=b,t.fromPromise=E,t.fromIterable=w,t.fromAsyncIterable=S,t.fromReadableStreamLike=A},19804(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOAuthError=void 0;const n=r(91109),o=r(70928),i=r(43518);t.createOAuthError=(e,t)=>new i.AuthError({message:e??"An error has occurred during the oauth process.",name:o.AuthErrorCodes.OAuthSignInError,recoverySuggestion:t??n.authErrorMessages.oauthSignInError.log})},19818(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dematerialize=void 0;var n=r(31245),o=r(65212),i=r(17214);t.dematerialize=function(){return o.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,function(e){return n.observeNotification(e,t)}))})}},19867(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RESEND_LIMIT=t.FLUSH_INTERVAL=t.FLUSH_SIZE=t.BUFFER_SIZE=void 0,t.BUFFER_SIZE=1e3,t.FLUSH_SIZE=100,t.FLUSH_INTERVAL=5e3,t.RESEND_LIMIT=5},19913(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMapTo=void 0;var n=r(29512),o=r(10281);t.concatMapTo=function(e,t){return o.isFunction(t)?n.concatMap(function(){return e},t):n.concatMap(function(){return e})}},19980(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.first=void 0;var n=r(59328),o=r(85934),i=r(54383),a=r(58799),s=r(30632),c=r(87699);t.first=function(e,t){var r=arguments.length>=2;return function(u){return u.pipe(e?o.filter(function(t,r){return e(t,r,u)}):c.identity,i.take(1),r?a.defaultIfEmpty(t):s.throwIfEmpty(function(){return new n.EmptyError}))}}},20042(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscriptionFactory=function(e,t,r,i,a){const{name:s}=r;return c=>{const u=(0,o.generateGraphQLDocument)(t,r,i,c),l=(0,o.buildGraphQLVariables)(r,i,c,t),d=(0,o.authModeParams)(e,a,c),p=(0,o.getCustomHeaders)(e,a,c?.headers);return e.graphql({...d,query:u,variables:l},p).pipe((0,n.map)(r=>{const[n]=Object.keys(r.data),i=r.data[n],a=(0,o.flattenItems)(t,s,i);if(null===a)return null;if(c?.selectionSet)return a;{const[r]=(0,o.initializeModel)(e,s,[a],t,d.authMode,d.authToken);return r}}))}};const n=r(79364),o=r(44287)},20126(e,t,r){"use strict";r.d(t,{H:()=>l});var n=r(26886);const o=e=>{const t=Reflect.ownKeys(e);for(const r of t){const t=e[r];(t&&"object"==typeof t||"function"==typeof t)&&o(t)}return Object.freeze(e)},i=Symbol("oauth-listener");var a=r(63614);r(136),r(80056);const s=new(r(84210).C)("Auth");class c{configure(e,t){this.authConfig=e,this.authOptions=t,e&&e.Cognito?.userPoolEndpoint&&s.warn(u("Amazon Cognito User Pool")),e&&e.Cognito?.identityPoolEndpoint&&s.warn(u("Amazon Cognito Identity Pool"))}async fetchAuthSession(e={}){let t,r;const n=await this.getTokens(e);return n?(r=n.accessToken?.payload?.sub,t=await(this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:n,authenticated:!0,forceRefresh:e.forceRefresh}))):t=await(this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:e.forceRefresh})),{tokens:n,credentials:t?.credentials,identityId:t?.identityId,userSub:r}}async clearCredentials(){await(this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId())}async getTokens(e){return await(this.authOptions?.tokenProvider?.getTokens(e))??void 0}}const u=e=>`You are using a custom Amazon ${e} endpoint, ensure the endpoint is correct.`,l=new class{constructor(){this.oAuthListener=void 0,this.isConfigured=!1,this.resourcesConfig={},this.libraryOptions={},this.Auth=new c}configure(e,t){const r=(0,a.M)(e);this.resourcesConfig=r,t&&(this.libraryOptions=t),this.resourcesConfig=o(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),n.YZ.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",n.U9),this.notifyOAuthListener(),this.isConfigured=!0}getConfig(){return this.isConfigured||console.warn("Amplify has not been configured. Please call Amplify.configure() before using this service."),this.resourcesConfig}[i](e){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth?e(this.resourcesConfig.Auth?.Cognito):this.oAuthListener=e}notifyOAuthListener(){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth&&this.oAuthListener&&(this.oAuthListener(this.resourcesConfig.Auth?.Cognito),this.oAuthListener=void 0)}}},20749(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRetryDecider=void 0;const n=r(27745),o=r(14316);t.getRetryDecider=e=>async(t,r)=>{const n=r??await e(t)??void 0,i=n?.code||n?.name,a=t?.statusCode;return{retryable:c(r)||s(a,i)||(0,o.isClockSkewError)(i)||u(a,i)}};const i=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],a=["TimeoutError","RequestTimeout","RequestTimeoutException"],s=(e,t)=>429===e||!!t&&i.includes(t),c=e=>[n.AmplifyErrorCode.NetworkError,"ERR_NETWORK"].includes(e?.name),u=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&a.includes(t)},20793(e,t,r){"use strict";r.r(t),r.d(t,{fromBase64:()=>i,toBase64:()=>a});const n={},o=new Array(64);for(let e=0,t="A".charCodeAt(0),r="Z".charCodeAt(0);e+t<=r;e++){const r=String.fromCharCode(e+t);n[r]=e,o[e]=r}for(let e=0,t="a".charCodeAt(0),r="z".charCodeAt(0);e+t<=r;e++){const r=String.fromCharCode(e+t),i=e+26;n[r]=i,o[i]=r}for(let e=0;e<10;e++){n[e.toString(10)]=e+52;const t=e.toString(10),r=e+52;n[t]=r,o[r]=t}n["+"]=62,o[62]="+",n["/"]=63,o[63]="/";const i=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const r=new ArrayBuffer(t),o=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,i=0;for(let o=t,a=t+3;o<=a;o++)if("="!==e[o]){if(!(e[o]in n))throw new TypeError(`Invalid character ${e[o]} in base64 string.`);r|=n[e[o]]<<6*(a-o),i+=6}else r>>=6;const a=t/4*3;r>>=i%8;const s=Math.floor(i/8);for(let e=0;e<s;e++){const t=8*(s-e-1);o.setUint8(a+e,(r&255<<t)>>t)}}return new Uint8Array(r)};function a(e){let t;t="string"==typeof e?(e=>(new TextEncoder).encode(e))(e):e;const r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let i="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let o=e,i=Math.min(e+3,t.length);o<i;o++)r|=t[o]<<8*(i-o-1),n+=8;const a=Math.ceil(n/6);r<<=6*a-n;for(let e=1;e<=a;e++){const t=6*(a-e);i+=o[(r&63<<t)>>t]}i+="==".slice(0,4-a)}return i}},20810(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveEndpointId=t.getEndpointId=t.getCacheKey=t.createEndpointId=t.cacheEndpointId=void 0;var n=r(11092);Object.defineProperty(t,"cacheEndpointId",{enumerable:!0,get:function(){return n.cacheEndpointId}});var o=r(74744);Object.defineProperty(t,"createEndpointId",{enumerable:!0,get:function(){return o.createEndpointId}});var i=r(67635);Object.defineProperty(t,"getCacheKey",{enumerable:!0,get:function(){return i.getCacheKey}});var a=r(93586);Object.defineProperty(t,"getEndpointId",{enumerable:!0,get:function(){return a.getEndpointId}});var s=r(95090);Object.defineProperty(t,"resolveEndpointId",{enumerable:!0,get:function(){return s.resolveEndpointId}})},20899(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","check","Check",[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]])},20982(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateEndpointException=void 0;var n=r(56395);Object.defineProperty(t,"UpdateEndpointException",{enumerable:!0,get:function(){return n.UpdateEndpointException}})},21067(e,t,r){"use strict";function n(e){return e.reduce((e,t)=>"group"in t?{...e,...n(t.items)}:(e[t.value]=t,e),{})}r.d(t,{D:()=>n})},21170(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31635);n.__exportStar(r(91078),t),n.__exportStar(r(33748),t),n.__exportStar(r(85500),t)},21361(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;var n=r(65212),o=r(17214);t.every=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(o){e.call(t,o,i++,r)||(n.next(!1),n.complete())},function(){n.next(!0),n.complete()}))})}},21636(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultOAuthStore=void 0;const n=r(22651),o=r(47278),i=r(64166),a="amplify-signin-with-hostedUI",s="CognitoIdentityServiceProvider";t.DefaultOAuthStore=class{constructor(e){this.keyValueStorage=e}async clearOAuthInflightData(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(e.inflightOAuth),this.keyValueStorage.removeItem(e.oauthPKCE),this.keyValueStorage.removeItem(e.oauthState)])}async clearOAuthData(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(a),this.keyValueStorage.removeItem(e.oauthSignIn)}loadOAuthState(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthState)}storeOAuthState(e){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const t=c(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthState,e)}loadPKCE(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthPKCE)}storePKCE(e){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const t=c(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthPKCE,e)}setAuthConfig(e){this.cognitoConfig=e}async loadOAuthInFlight(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId);return"true"===await this.keyValueStorage.getItem(e.inflightOAuth)}async storeOAuthInFlight(e){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const t=c(s,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(t.inflightOAuth,`${e}`)}async loadOAuthSignIn(){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const e=c(s,this.cognitoConfig.userPoolClientId),t=await this.keyValueStorage.getItem(a),[r,o]=(await this.keyValueStorage.getItem(e.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:"true"===r||"true"===t,preferPrivateSession:"true"===o}}async storeOAuthSignIn(e,t=!1){(0,n.assertTokenProviderConfig)(this.cognitoConfig);const r=c(s,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(r.oauthSignIn,`${e},${t}`)}};const c=(e,t)=>(0,o.getAuthStorageKeys)(i.OAuthStorageKeys)(e,t)},21762(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounceTime=void 0;var n=r(62326),o=r(65212),i=r(17214);t.debounceTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.operate(function(r,n){var o=null,a=null,s=null,c=function(){if(o){o.unsubscribe(),o=null;var e=a;a=null,n.next(e)}};function u(){var r=s+e,i=t.now();if(i<r)return o=this.schedule(void 0,r-i),void n.add(o);c()}r.subscribe(i.createOperatorSubscriber(n,function(r){a=r,s=t.now(),o||(o=t.schedule(u,e),n.add(o))},function(){c(),n.complete()},void 0,function(){a=o=null}))})}},21777(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveHeaders=void 0,t.resolveHeaders=(e,t)=>{const r={};for(const t in e)r[t.toLowerCase()]=e[t];if(t){const e=r["content-type"];e&&(e.startsWith("application/json")||e.startsWith("application/")&&e.includes("+json"))||(r["content-type"]="application/json; charset=UTF-8"),t instanceof FormData&&delete r["content-type"]}return r}},21875(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrames=void 0;var n=r(48051),o=r(22931),i=r(35726);function a(e){return new n.Observable(function(t){var r=e||o.performanceTimestampProvider,n=r.now(),a=0,s=function(){t.closed||(a=i.animationFrameProvider.requestAnimationFrame(function(o){a=0;var i=r.now();t.next({timestamp:e?i:o,elapsed:i-n}),s()}))};return s(),function(){a&&i.animationFrameProvider.cancelAnimationFrame(a)}})}t.animationFrames=function(e){return e?a(e):s};var s=a()},21946(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindNodeCallback=void 0;var n=r(17474);t.bindNodeCallback=function(e,t,r){return n.bindCallbackInternals(!0,e,t,r)}},22044(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilChanged=void 0;var n=r(87699),o=r(65212),i=r(17214);function a(e,t){return e===t}t.distinctUntilChanged=function(e,t){return void 0===t&&(t=n.identity),e=null!=e?e:a,o.operate(function(r,n){var o,a=!0;r.subscribe(i.createOperatorSubscriber(n,function(r){var i=t(r);!a&&e(o,i)||(a=!1,o=i,n.next(r))}))})}},22105(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var n=r(78051),o=r(23952);t.asapScheduler=new o.AsapScheduler(n.AsapAction),t.asap=t.asapScheduler},22485(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetTokensFromRefreshTokenClient=void 0;const n=r(39236),o=r(72002),i=r(3427),a=r(58261);t.createGetTokensFromRefreshTokenClient=e=>(0,n.composeServiceApi)(i.cognitoUserPoolTransferHandler,(0,o.createUserPoolSerializer)("GetTokensFromRefreshToken"),(0,o.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},22525(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReconnectionMonitor=t.ReconnectEvent=void 0;const n=r(57186);var o;!function(e){e.START_RECONNECT="START_RECONNECT",e.HALT_RECONNECT="HALT_RECONNECT"}(o||(t.ReconnectEvent=o={})),t.ReconnectionMonitor=class{constructor(){this.reconnectObservers=[]}addObserver(e){this.reconnectObservers.push(e)}record(e){e===o.START_RECONNECT&&void 0===this.reconnectSetTimeoutId&&void 0===this.reconnectIntervalId&&(this.reconnectSetTimeoutId=setTimeout(()=>{this._triggerReconnect(),this.reconnectIntervalId=setInterval(()=>{this._triggerReconnect()},n.RECONNECT_INTERVAL)},n.RECONNECT_DELAY)),e===o.HALT_RECONNECT&&(this.reconnectIntervalId&&(clearInterval(this.reconnectIntervalId),this.reconnectIntervalId=void 0),this.reconnectSetTimeoutId&&(clearTimeout(this.reconnectSetTimeoutId),this.reconnectSetTimeoutId=void 0))}close(){this.reconnectObservers.forEach(e=>{e.complete?.()})}_triggerReconnect(){this.reconnectObservers.forEach(e=>{e.next?.()})}}},22626(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nuxtWebDetect=function(){return(0,n.windowExists)()&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)},t.nuxtSSRDetect=function(){return(0,n.globalExists)()&&void 0!==globalThis.__NUXT_PATHS__};const n=r(62114)},22651(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiError=t.createAssertionFunction=t.PlatformNotSupportedError=t.AmplifyError=t.setCustomUserAgent=t.StorageAction=t.PushNotificationAction=t.PubSubAction=t.PredictionsAction=t.InAppMessagingAction=t.InteractionsAction=t.GeoAction=t.Framework=t.DataStoreAction=t.Category=t.AnalyticsAction=t.AuthAction=t.ApiAction=t.AiAction=t.getAmplifyUserAgent=t.getAmplifyUserAgentObject=t.Platform=t.haveCredentialsChanged=t.Signer=t.assertOAuthConfig=t.assertIdentityPoolIdConfig=t.assertTokenProviderConfig=t.decodeJWT=t.getDeviceName=t.getClientInfo=t.parseAmplifyConfig=t.AmplifyUrlSearchParams=t.AmplifyUrl=t.amplifyUuid=t.ADD_OAUTH_LISTENER=t.parseAmplifyOutputs=t.isAmplifyOutputs=t.parseAWSExports=t.deDupeAsyncFunction=t.urlSafeEncode=t.urlSafeDecode=t.retry=t.NonRetryableError=t.jitteredExponentialRetry=t.jitteredBackoff=t.isWebWorker=t.isTokenExpired=t.isNonRetryableError=t.isBrowser=t.generateRandomString=void 0,t.SESSION_STOP_EVENT=t.SESSION_START_EVENT=t.sessionListener=t.HubInternal=t.WordArray=t.cryptoSecureRandomInt=t.getCrypto=t.base64Encoder=t.base64Decoder=t.AMPLIFY_SYMBOL=t.fetchAuthSession=t.USER_AGENT_HEADER=t.Reachability=t.Mutex=t.BackgroundProcessManager=t.AmplifyErrorCode=void 0;var n=r(72685);Object.defineProperty(t,"generateRandomString",{enumerable:!0,get:function(){return n.generateRandomString}}),Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return n.isBrowser}}),Object.defineProperty(t,"isNonRetryableError",{enumerable:!0,get:function(){return n.isNonRetryableError}}),Object.defineProperty(t,"isTokenExpired",{enumerable:!0,get:function(){return n.isTokenExpired}}),Object.defineProperty(t,"isWebWorker",{enumerable:!0,get:function(){return n.isWebWorker}}),Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return n.jitteredBackoff}}),Object.defineProperty(t,"jitteredExponentialRetry",{enumerable:!0,get:function(){return n.jitteredExponentialRetry}}),Object.defineProperty(t,"NonRetryableError",{enumerable:!0,get:function(){return n.NonRetryableError}}),Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return n.retry}}),Object.defineProperty(t,"urlSafeDecode",{enumerable:!0,get:function(){return n.urlSafeDecode}}),Object.defineProperty(t,"urlSafeEncode",{enumerable:!0,get:function(){return n.urlSafeEncode}}),Object.defineProperty(t,"deDupeAsyncFunction",{enumerable:!0,get:function(){return n.deDupeAsyncFunction}});var o=r(60448);Object.defineProperty(t,"parseAWSExports",{enumerable:!0,get:function(){return o.parseAWSExports}});var i=r(57706);Object.defineProperty(t,"isAmplifyOutputs",{enumerable:!0,get:function(){return i.isAmplifyOutputs}}),Object.defineProperty(t,"parseAmplifyOutputs",{enumerable:!0,get:function(){return i.parseAmplifyOutputs}});var a=r(59392);Object.defineProperty(t,"ADD_OAUTH_LISTENER",{enumerable:!0,get:function(){return a.ADD_OAUTH_LISTENER}});var s=r(38457);Object.defineProperty(t,"amplifyUuid",{enumerable:!0,get:function(){return s.amplifyUuid}});var c=r(11923);Object.defineProperty(t,"AmplifyUrl",{enumerable:!0,get:function(){return c.AmplifyUrl}}),Object.defineProperty(t,"AmplifyUrlSearchParams",{enumerable:!0,get:function(){return c.AmplifyUrlSearchParams}});var u=r(68506);Object.defineProperty(t,"parseAmplifyConfig",{enumerable:!0,get:function(){return u.parseAmplifyConfig}});var l=r(72685);Object.defineProperty(t,"getClientInfo",{enumerable:!0,get:function(){return l.getClientInfo}});var d=r(83359);Object.defineProperty(t,"getDeviceName",{enumerable:!0,get:function(){return d.getDeviceName}});var p=r(98778);Object.defineProperty(t,"decodeJWT",{enumerable:!0,get:function(){return p.decodeJWT}}),Object.defineProperty(t,"assertTokenProviderConfig",{enumerable:!0,get:function(){return p.assertTokenProviderConfig}}),Object.defineProperty(t,"assertIdentityPoolIdConfig",{enumerable:!0,get:function(){return p.assertIdentityPoolIdConfig}}),Object.defineProperty(t,"assertOAuthConfig",{enumerable:!0,get:function(){return p.assertOAuthConfig}});var f=r(10334);Object.defineProperty(t,"Signer",{enumerable:!0,get:function(){return f.Signer}});var h=r(62421);Object.defineProperty(t,"haveCredentialsChanged",{enumerable:!0,get:function(){return h.haveCredentialsChanged}});var m=r(4463);Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return m.Platform}}),Object.defineProperty(t,"getAmplifyUserAgentObject",{enumerable:!0,get:function(){return m.getAmplifyUserAgentObject}}),Object.defineProperty(t,"getAmplifyUserAgent",{enumerable:!0,get:function(){return m.getAmplifyUserAgent}});var g=r(1478);Object.defineProperty(t,"AiAction",{enumerable:!0,get:function(){return g.AiAction}}),Object.defineProperty(t,"ApiAction",{enumerable:!0,get:function(){return g.ApiAction}}),Object.defineProperty(t,"AuthAction",{enumerable:!0,get:function(){return g.AuthAction}}),Object.defineProperty(t,"AnalyticsAction",{enumerable:!0,get:function(){return g.AnalyticsAction}}),Object.defineProperty(t,"Category",{enumerable:!0,get:function(){return g.Category}}),Object.defineProperty(t,"DataStoreAction",{enumerable:!0,get:function(){return g.DataStoreAction}}),Object.defineProperty(t,"Framework",{enumerable:!0,get:function(){return g.Framework}}),Object.defineProperty(t,"GeoAction",{enumerable:!0,get:function(){return g.GeoAction}}),Object.defineProperty(t,"InteractionsAction",{enumerable:!0,get:function(){return g.InteractionsAction}}),Object.defineProperty(t,"InAppMessagingAction",{enumerable:!0,get:function(){return g.InAppMessagingAction}}),Object.defineProperty(t,"PredictionsAction",{enumerable:!0,get:function(){return g.PredictionsAction}}),Object.defineProperty(t,"PubSubAction",{enumerable:!0,get:function(){return g.PubSubAction}}),Object.defineProperty(t,"PushNotificationAction",{enumerable:!0,get:function(){return g.PushNotificationAction}}),Object.defineProperty(t,"StorageAction",{enumerable:!0,get:function(){return g.StorageAction}});var y=r(76638);Object.defineProperty(t,"setCustomUserAgent",{enumerable:!0,get:function(){return y.setCustomUserAgent}});var v=r(1123);Object.defineProperty(t,"AmplifyError",{enumerable:!0,get:function(){return v.AmplifyError}}),Object.defineProperty(t,"PlatformNotSupportedError",{enumerable:!0,get:function(){return v.PlatformNotSupportedError}}),Object.defineProperty(t,"createAssertionFunction",{enumerable:!0,get:function(){return v.createAssertionFunction}}),Object.defineProperty(t,"ApiError",{enumerable:!0,get:function(){return v.ApiError}});var b=r(27745);Object.defineProperty(t,"AmplifyErrorCode",{enumerable:!0,get:function(){return b.AmplifyErrorCode}});var E=r(74920);Object.defineProperty(t,"BackgroundProcessManager",{enumerable:!0,get:function(){return E.BackgroundProcessManager}});var w=r(29815);Object.defineProperty(t,"Mutex",{enumerable:!0,get:function(){return w.Mutex}});var S=r(6467);Object.defineProperty(t,"Reachability",{enumerable:!0,get:function(){return S.Reachability}});var A=r(68582);Object.defineProperty(t,"USER_AGENT_HEADER",{enumerable:!0,get:function(){return A.USER_AGENT_HEADER}});var _=r(89439);Object.defineProperty(t,"fetchAuthSession",{enumerable:!0,get:function(){return _.fetchAuthSession}});var P=r(4915);Object.defineProperty(t,"AMPLIFY_SYMBOL",{enumerable:!0,get:function(){return P.AMPLIFY_SYMBOL}});var C=r(35269);Object.defineProperty(t,"base64Decoder",{enumerable:!0,get:function(){return C.base64Decoder}}),Object.defineProperty(t,"base64Encoder",{enumerable:!0,get:function(){return C.base64Encoder}});var I=r(58506);Object.defineProperty(t,"getCrypto",{enumerable:!0,get:function(){return I.getCrypto}});var x=r(80369);Object.defineProperty(t,"cryptoSecureRandomInt",{enumerable:!0,get:function(){return x.cryptoSecureRandomInt}});var O=r(90472);Object.defineProperty(t,"WordArray",{enumerable:!0,get:function(){return O.WordArray}});var k=r(4915);Object.defineProperty(t,"HubInternal",{enumerable:!0,get:function(){return k.HubInternal}});var T=r(18498);Object.defineProperty(t,"sessionListener",{enumerable:!0,get:function(){return T.sessionListener}});var N=r(18498);Object.defineProperty(t,"SESSION_START_EVENT",{enumerable:!0,get:function(){return N.SESSION_START_EVENT}}),Object.defineProperty(t,"SESSION_STOP_EVENT",{enumerable:!0,get:function(){return N.SESSION_STOP_EVENT}})},22662(e,t,r){"use strict";r.d(t,{h:()=>g});var n=r(10790),o=r(88149),i=(r(51609),r(68690)),a=r(56324),s=r(59396),c=r(97170),u=r(46100),l=r(52837),d=r(11507),p=r(18639),f={root:"m_9814e45f"};const h={zIndex:(0,i.I)("modal")},m=(0,s.V)((e,{gradient:t,color:r,backgroundOpacity:n,blur:i,radius:s,zIndex:u})=>({root:{"--overlay-bg":t||(void 0!==r||void 0!==n)&&(0,c.B)(r||"#000",n??.6)||void 0,"--overlay-filter":i?`blur(${(0,o.D)(i)})`:void 0,"--overlay-radius":void 0===s?void 0:(0,a.nJ)(s),"--overlay-z-index":u?.toString()}})),g=(0,p.v)((e,t)=>{const r=(0,u.Y)("Overlay",h,e),{classNames:o,className:i,style:a,styles:s,unstyled:c,vars:p,fixed:g,center:y,children:v,radius:b,zIndex:E,gradient:w,blur:S,color:A,backgroundOpacity:_,mod:P,attributes:C,...I}=r,x=(0,l.I)({name:"Overlay",props:r,classes:f,className:i,style:a,classNames:o,styles:s,unstyled:c,attributes:C,vars:p,varsResolver:m});return(0,n.jsx)(d.a,{ref:t,...x("root"),mod:[{center:y,fixed:g},P],...I,children:v})});g.classes=f,g.displayName="@mantine/core/Overlay"},22829(e,t){"use strict";function r(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520],i=new Uint8Array(e.length+1);i.set(e),i[e.length]=128;const a=(e=i).length/4+2,s=Math.ceil(a/16),c=new Array(s);for(let t=0;t<s;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];c[t]=r}c[s-1][14]=8*(e.length-1)/Math.pow(2,32),c[s-1][14]=Math.floor(c[s-1][14]),c[s-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<s;++e){const i=new Uint32Array(80);for(let t=0;t<16;++t)i[t]=c[e][t];for(let e=16;e<80;++e)i[e]=n(i[e-3]^i[e-8]^i[e-14]^i[e-16],1);let a=o[0],s=o[1],u=o[2],l=o[3],d=o[4];for(let e=0;e<80;++e){const o=Math.floor(e/20),c=n(a,5)+r(o,s,u,l)+d+t[o]+i[e]>>>0;d=l,l=u,u=n(s,30)>>>0,s=a,a=c}o[0]=o[0]+a>>>0,o[1]=o[1]+s>>>0,o[2]=o[2]+u>>>0,o[3]=o[3]+l>>>0,o[4]=o[4]+d>>>0}return Uint8Array.of(o[0]>>24,o[0]>>16,o[0]>>8,o[0],o[1]>>24,o[1]>>16,o[1]>>8,o[1],o[2]>>24,o[2]>>16,o[2]>>8,o[2],o[3]>>24,o[3]>>16,o[3]>>8,o[3],o[4]>>24,o[4]>>16,o[4]>>8,o[4])}},22918(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;const n=r(8353);t.Cache=new n.StorageCache},22931(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},22961(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oAuthSignOutRedirect=void 0;const n=r(22651),o=r(17238),i=r(19506);t.oAuthSignOutRedirect=async(e,t=!1,r)=>{(0,n.assertOAuthConfig)(e);const{loginWith:a,userPoolClientId:s}=e,{domain:c,redirectSignOut:u}=a.oauth,l=(0,i.getRedirectUrl)(u,r),d=`https://${c}/logout?${Object.entries({client_id:s,logout_uri:encodeURIComponent(l)}).map(([e,t])=>`${e}=${t}`).join("&")}`;return(0,o.openAuthSession)(d,u,t)}},23079(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skip=void 0;var n=r(85934);t.skip=function(e){return n.filter(function(t,r){return e<=r})}},23151(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listFactory=function(e,t,r,n,o=!1,i){return o?(o,a)=>c(e,t,r,n,a,o,i):o=>c(e,t,r,n,o,void 0,i)};const n=r(44287),o=r(48310),i=r(17631),a=r(53841),s=r(83102);function c(e,t,r,c,u,l,d){return(0,i.selfAwareAsync)(async i=>{const{name:p}=r,f=(0,n.generateGraphQLDocument)(t,r,"LIST",u),h=(0,n.buildGraphQLVariables)(r,"LIST",u,t),m=(0,n.authModeParams)(e,c,u),g=(0,n.getCustomHeaders)(e,c,u?.headers),y=(0,s.createUserAgentOverride)(d);try{const r=l?e.graphql(l,{...m,query:f,variables:h},g):e.graphql({...m,query:f,variables:h,...y},g),o=(0,a.extendCancellability)(r,i),{data:s,extensions:c}=await o;if(void 0!==s){const[r]=Object.keys(s);if(s[r].items){const o=s[r].items.map(e=>(0,n.flattenItems)(t,p,e));return u?.selectionSet?{data:o,nextToken:s[r].nextToken,extensions:c}:{data:(0,n.initializeModel)(e,p,o,t,m.authMode,m.authToken,!!l),nextToken:s[r].nextToken,extensions:c}}return{data:s[r],nextToken:s[r].nextToken,extensions:c}}}catch(r){const{data:i,errors:a}=r;if(null!=i&&0!==Object.keys(i).length&&a){const[s]=Object.keys(i);if(i[s]?.items){const r=i[s].items.map(e=>(0,n.flattenItems)(t,p,e));return r?u?.selectionSet?{data:r,nextToken:i[s]?.nextToken,errors:a}:{data:(0,n.initializeModel)(e,p,r,t,m.authMode,m.authToken,!!l),nextToken:i[s]?.nextToken,errors:a}:{data:i[s],nextToken:i[s]?.nextToken,errors:a}}return(0,o.handleListGraphQlError)(r)}return(0,o.handleListGraphQlError)(r)}})}},23462(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(43518),o=r(49913),i=r(74008),a=r(76396),s=r(95179),c=r(76803),u=r(1882),l=r(82639),d=r(86313),p=r(19308),f=r(17313),h=r(51393);t.default=class{constructor({userPoolName:e,a:t,g:r,A:n,N:a}){this.encoder=o.textEncoder,this.userPoolName=e,this.a=t,this.g=r,this.A=n,this.N=a,this.k=new i.BigInteger((0,u.getHashFromHex)(`${(0,p.getPaddedHex)(a)}${(0,p.getPaddedHex)(r)}`),16)}getRandomPassword(){if(!this.randomPassword)throw new n.AuthError({name:"EmptyBigIntegerRandomPassword",message:"random password is empty"});return this.randomPassword}getSaltToHashDevices(){if(!this.saltToHashDevices)throw new n.AuthError({name:"EmptyBigIntegersaltToHashDevices",message:"saltToHashDevices is empty"});return this.saltToHashDevices}getVerifierDevices(){if(!this.verifierDevices)throw new n.AuthError({name:"EmptyBigIntegerVerifierDevices",message:"verifyDevices is empty"});return this.verifierDevices}async generateHashDevice(e,t){this.randomPassword=(0,h.getRandomString)();const r=`${e}${t}:${this.randomPassword}`,n=(0,c.getHashFromData)(r),o=(0,l.getHexFromBytes)((0,f.getRandomBytes)(16));return this.saltToHashDevices=(0,p.getPaddedHex)(new i.BigInteger(o,16)),new Promise((e,t)=>{this.g.modPow(new i.BigInteger((0,u.getHashFromHex)(this.saltToHashDevices+n),16),this.N,(r,n)=>{r?t(r):(this.verifierDevices=(0,p.getPaddedHex)(n),e())})})}async getPasswordAuthenticationKey({username:e,password:t,serverBValue:r,salt:n}){if(r.mod(this.N).equals(i.BigInteger.ZERO))throw new Error("B cannot be zero.");const o=(0,a.calculateU)({A:this.A,B:r}),l=`${this.userPoolName}${e}:${t}`,f=(0,c.getHashFromData)(l),h=new i.BigInteger((0,u.getHashFromHex)((0,p.getPaddedHex)(n)+f),16),m=await(0,a.calculateS)({a:this.a,g:this.g,k:this.k,x:h,B:r,N:this.N,U:o}),g=this.encoder.convert("Caldera Derived Key"),y=this.encoder.convert(String.fromCharCode(1)),v=new Uint8Array(g.byteLength+y.byteLength);return v.set(g,0),v.set(y,g.byteLength),(0,d.getHkdfKey)((0,s.getBytesFromHex)((0,p.getPaddedHex)(m)),(0,s.getBytesFromHex)((0,p.getPaddedHex)(o)),v)}}},23506(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundError=void 0;var n=r(9619);t.NotFoundError=n.createErrorClass(function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}})},23952(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(19533).AsyncScheduler);t.AsapScheduler=i},24096(e,t,r){"use strict";r.d(t,{B:()=>c});var n=r(51609),o=r(61617);function i(e,t=document){const r=t.querySelector(e);if(r)return r;const n=t.querySelectorAll("*");for(let t=0;t<n.length;t+=1){const r=n[t];if(r.shadowRoot){const t=i(e,r.shadowRoot);if(t)return t}}return null}function a(e,t=document){const r=[],n=t.querySelectorAll(e);r.push(...Array.from(n));const o=t.querySelectorAll("*");for(let t=0;t<o.length;t+=1){const n=o[t];if(n.shadowRoot){const t=a(e,n.shadowRoot);r.push(...t)}}return r}function s(e){if(!e)return document;const t=e.getRootNode();return t instanceof ShadowRoot||t instanceof Document?t:document}function c({defaultOpened:e,opened:t,onOpenedChange:r,onDropdownClose:c,onDropdownOpen:u,loop:l=!0,scrollBehavior:d="instant"}={}){const[p,f]=(0,o.Z)({value:t,defaultValue:e,finalValue:!1,onChange:r}),h=(0,n.useRef)(null),m=(0,n.useRef)(-1),g=(0,n.useRef)(null),y=(0,n.useRef)(null),v=(0,n.useRef)(-1),b=(0,n.useRef)(-1),E=(0,n.useRef)(-1),w=(0,n.useCallback)((e="unknown")=>{p||(f(!0),u?.(e))},[f,u,p]),S=(0,n.useCallback)((e="unknown")=>{p&&(f(!1),c?.(e))},[f,c,p]),A=(0,n.useCallback)((e="unknown")=>{p?S(e):w(e)},[S,w,p]),_=(0,n.useCallback)(()=>{const e=s(y.current),t=i(`#${h.current} [data-combobox-selected]`,e);t?.removeAttribute("data-combobox-selected"),t?.removeAttribute("aria-selected")},[]),P=(0,n.useCallback)(e=>{const t=s(y.current),r=i(`#${h.current}`,t),n=r?a("[data-combobox-option]",r):null;if(!n)return null;const o=e>=n.length?0:e<0?n.length-1:e;return m.current=o,n?.[o]&&!n[o].hasAttribute("data-combobox-disabled")?(_(),n[o].setAttribute("data-combobox-selected","true"),n[o].setAttribute("aria-selected","true"),n[o].scrollIntoView({block:"nearest",behavior:d}),n[o].id):null},[d,_]),C=(0,n.useCallback)(()=>{const e=s(y.current),t=i(`#${h.current} [data-combobox-active]`,e);if(t){const r=a(`#${h.current} [data-combobox-option]`,e).findIndex(e=>e===t);return P(r)}return P(0)},[P]),I=(0,n.useCallback)(()=>{const e=s(y.current),t=a(`#${h.current} [data-combobox-option]`,e);return P(function(e,t,r){for(let r=e+1;r<t.length;r+=1)if(!t[r].hasAttribute("data-combobox-disabled"))return r;if(r)for(let e=0;e<t.length;e+=1)if(!t[e].hasAttribute("data-combobox-disabled"))return e;return e}(m.current,t,l))},[P,l]),x=(0,n.useCallback)(()=>{const e=s(y.current),t=a(`#${h.current} [data-combobox-option]`,e);return P(function(e,t,r){for(let r=e-1;r>=0;r-=1)if(!t[r].hasAttribute("data-combobox-disabled"))return r;if(r)for(let e=t.length-1;e>-1;e-=1)if(!t[e].hasAttribute("data-combobox-disabled"))return e;return e}(m.current,t,l))},[P,l]),O=(0,n.useCallback)(()=>{const e=s(y.current),t=a(`#${h.current} [data-combobox-option]`,e);return P(function(e){for(let t=0;t<e.length;t+=1)if(!e[t].hasAttribute("data-combobox-disabled"))return t;return-1}(t))},[P]),k=(0,n.useCallback)((e="selected",t)=>{E.current=window.setTimeout(()=>{const r=s(y.current),n=a(`#${h.current} [data-combobox-option]`,r),o=n.findIndex(t=>t.hasAttribute(`data-combobox-${e}`));m.current=o,t?.scrollIntoView&&n[o]?.scrollIntoView({block:"nearest",behavior:d})},0)},[]),T=(0,n.useCallback)(()=>{m.current=-1,_()},[_]),N=(0,n.useCallback)(()=>{const e=s(y.current),t=a(`#${h.current} [data-combobox-option]`,e),r=t?.[m.current];r?.click()},[]),j=(0,n.useCallback)(e=>{h.current=e},[]),R=(0,n.useCallback)(()=>{v.current=window.setTimeout(()=>g.current?.focus(),0)},[]),M=(0,n.useCallback)(()=>{b.current=window.setTimeout(()=>y.current?.focus(),0)},[]),D=(0,n.useCallback)(()=>m.current,[]);return(0,n.useEffect)(()=>()=>{window.clearTimeout(v.current),window.clearTimeout(b.current),window.clearTimeout(E.current)},[]),{dropdownOpened:p,openDropdown:w,closeDropdown:S,toggleDropdown:A,selectedOptionIndex:m.current,getSelectedOptionIndex:D,selectOption:P,selectFirstOption:O,selectActiveOption:C,selectNextOption:I,selectPreviousOption:x,resetSelectedOption:T,updateSelectedOptionIndex:k,listId:h.current,setListId:j,clickSelectedOption:N,searchRef:g,focusSearchInput:R,targetRef:y,focusTarget:M}}r(10790)},24315(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasskeyAuthenticationError=void 0;const n=r(27287),o=r(54129);t.handlePasskeyAuthenticationError=e=>{if(e instanceof o.PasskeyError)return e;if(e instanceof Error&&"NotAllowedError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.PasskeyAuthenticationCanceled];return new o.PasskeyError({name:o.PasskeyErrorCode.PasskeyAuthenticationCanceled,message:t,recoverySuggestion:r,underlyingError:e})}return(0,n.handlePasskeyError)(e)}},24489(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LogType=void 0,function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"}(r||(t.LogType=r={}))},24521(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patch=t.head=t.del=t.put=t.post=t.get=t.isCancelError=void 0;var n=r(46834);Object.defineProperty(t,"isCancelError",{enumerable:!0,get:function(){return n.isCancelError}});var o=r(91387);Object.defineProperty(t,"get",{enumerable:!0,get:function(){return o.get}}),Object.defineProperty(t,"post",{enumerable:!0,get:function(){return o.post}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return o.put}}),Object.defineProperty(t,"del",{enumerable:!0,get:function(){return o.del}}),Object.defineProperty(t,"head",{enumerable:!0,get:function(){return o.head}}),Object.defineProperty(t,"patch",{enumerable:!0,get:function(){return o.patch}})},24631(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AUTH_KEY_PREFIX=void 0,t.AUTH_KEY_PREFIX="CognitoIdentityServiceProvider"},24865(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resendSignUpCode=async function(e){const{username:t}=e;(0,i.assertValidationError)(!!t,a.AuthValidationErrorCode.EmptySignUpUsername);const r=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(r);const{userPoolClientId:p,userPoolId:f,userPoolEndpoint:h}=r,m=e.options?.clientMetadata,g=(0,u.getUserContextData)({username:t,userPoolId:f,userPoolClientId:p}),y=(0,l.createResendConfirmationCodeClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:h})}),{CodeDeliveryDetails:v}=await y({region:(0,s.getRegionFromUserPoolId)(r.userPoolId),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.ResendSignUpCode)},{Username:t,ClientMetadata:m,ClientId:r.userPoolClientId,UserContextData:g}),{DeliveryMedium:b,AttributeName:E,Destination:w}={...v};return{destination:w,deliveryMedium:b,attributeName:E||void 0}};const n=r(56547),o=r(22651),i=r(58765),a=r(49129),s=r(62639),c=r(17238),u=r(99369),l=r(35456),d=r(28228)},24952(e,t,r){"use strict";r.d(t,{a:()=>E});var n=r(10790),o=r(51609),i=r(56324),a=r(59396),s=r(86344),c=r(46100),u=r(52837),l=r(11507),d=r(2412),p=r(34164),f={root:"m_5ae2e3c",barsLoader:"m_7a2bd4cd",bar:"m_870bb79","bars-loader-animation":"m_5d2b3b9d",dotsLoader:"m_4e3f22d7",dot:"m_870c4af","loader-dots-animation":"m_aac34a1",ovalLoader:"m_b34414df","oval-loader-animation":"m_f8e89c4b"};const h=(0,o.forwardRef)(({className:e,...t},r)=>(0,n.jsxs)(l.a,{component:"span",className:(0,p.A)(f.barsLoader,e),...t,ref:r,children:[(0,n.jsx)("span",{className:f.bar}),(0,n.jsx)("span",{className:f.bar}),(0,n.jsx)("span",{className:f.bar})]}));h.displayName="@mantine/core/Bars";const m=(0,o.forwardRef)(({className:e,...t},r)=>(0,n.jsxs)(l.a,{component:"span",className:(0,p.A)(f.dotsLoader,e),...t,ref:r,children:[(0,n.jsx)("span",{className:f.dot}),(0,n.jsx)("span",{className:f.dot}),(0,n.jsx)("span",{className:f.dot})]}));m.displayName="@mantine/core/Dots";const g=(0,o.forwardRef)(({className:e,...t},r)=>(0,n.jsx)(l.a,{component:"span",className:(0,p.A)(f.ovalLoader,e),...t,ref:r}));g.displayName="@mantine/core/Oval";const y={bars:h,oval:g,dots:m},v={loaders:y,type:"oval"},b=(0,a.V)((e,{size:t,color:r})=>({root:{"--loader-size":(0,i.YC)(t,"loader-size"),"--loader-color":r?(0,s.r)(r,e):void 0}})),E=(0,d.P9)((e,t)=>{const r=(0,c.Y)("Loader",v,e),{size:o,color:i,type:a,vars:s,className:d,style:p,classNames:h,styles:m,unstyled:g,loaders:y,variant:E,children:w,attributes:S,...A}=r,_=(0,u.I)({name:"Loader",props:r,classes:f,className:d,style:p,classNames:h,styles:m,unstyled:g,attributes:S,vars:s,varsResolver:b});return w?(0,n.jsx)(l.a,{..._("root"),ref:t,...A,children:w}):(0,n.jsx)(l.a,{..._("root"),ref:t,component:y[a],variant:E,size:o,...A})});E.defaultLoaders=y,E.classes=f,E.displayName="@mantine/core/Loader"},25022(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmUserAttribute=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userPoolEndpoint:r,userPoolId:p}=t,{confirmationCode:f,userAttributeKey:h}=e;(0,a.assertValidationError)(!!f,i.AuthValidationErrorCode.EmptyConfirmUserAttributeCode);const{tokens:m}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,c.assertAuthTokens)(m);const g=(0,l.createVerifyUserAttributeClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:r})});await g({region:(0,s.getRegionFromUserPoolId)(p),userAgentValue:(0,u.getAuthUserAgentValue)(o.AuthAction.ConfirmUserAttribute)},{AccessToken:m.accessToken.toString(),AttributeName:h,Code:f})};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(62639),c=r(64166),u=r(17238),l=r(35456),d=r(28228)},25217(e,t,r){"use strict";r.r(t),r.d(t,{CompactEncrypt:()=>st,CompactSign:()=>ut,EmbeddedJWK:()=>yt,EncryptJWT:()=>ft,FlattenedEncrypt:()=>We,FlattenedSign:()=>ct,GeneralEncrypt:()=>Ke,GeneralSign:()=>dt,SignJWT:()=>pt,UnsecuredJWT:()=>It,base64url:()=>n,calculateJwkThumbprint:()=>mt,calculateJwkThumbprintUri:()=>gt,compactDecrypt:()=>Ue,compactVerify:()=>Je,createLocalJWKSet:()=>wt,createRemoteJWKSet:()=>Ct,cryptoRuntime:()=>jt,customFetch:()=>At,decodeJwt:()=>Ot,decodeProtectedHeader:()=>xt,errors:()=>o,exportJWK:()=>He,exportPKCS8:()=>Ve,exportSPKI:()=>ze,flattenedDecrypt:()=>De,flattenedVerify:()=>Ye,generalDecrypt:()=>Fe,generalVerify:()=>Qe,generateKeyPair:()=>Tt,generateSecret:()=>Nt,importJWK:()=>Pe,importPKCS8:()=>_e,importSPKI:()=>Se,importX509:()=>Ae,jwksCache:()=>_t,jwtDecrypt:()=>at,jwtVerify:()=>it});var n={};r.r(n),r.d(n,{decode:()=>m,encode:()=>g});var o={};r.r(o),r.d(o,{JOSEAlgNotAllowed:()=>E,JOSEError:()=>y,JOSENotSupported:()=>w,JWEDecryptionFailed:()=>S,JWEInvalid:()=>A,JWKInvalid:()=>C,JWKSInvalid:()=>I,JWKSMultipleMatchingKeys:()=>O,JWKSNoMatchingKey:()=>x,JWKSTimeout:()=>k,JWSInvalid:()=>_,JWSSignatureVerificationFailed:()=>T,JWTClaimValidationFailed:()=>v,JWTExpired:()=>b,JWTInvalid:()=>P});const i=new TextEncoder,a=new TextDecoder,s=2**32;function c(...e){const t=e.reduce((e,{length:t})=>e+t,0),r=new Uint8Array(t);let n=0;for(const t of e)r.set(t,n),n+=t.length;return r}function u(e,t,r){if(t<0||t>=s)throw new RangeError(`value must be >= 0 and <= 4294967295. Received ${t}`);e.set([t>>>24,t>>>16,t>>>8,255&t],r)}function l(e){const t=Math.floor(e/s),r=e%s,n=new Uint8Array(8);return u(n,t,0),u(n,r,4),n}function d(e){const t=new Uint8Array(4);return u(t,e),t}function p(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);if(n>127)throw new TypeError("non-ASCII string encountered in encode()");t[r]=n}return t}function f(e){if(Uint8Array.prototype.toBase64)return e.toBase64();const t=[];for(let r=0;r<e.length;r+=32768)t.push(String.fromCharCode.apply(null,e.subarray(r,r+32768)));return btoa(t.join(""))}function h(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r}function m(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:a.decode(e),{alphabet:"base64url"});let t=e;t instanceof Uint8Array&&(t=a.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/");try{return h(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}}function g(e){let t=e;return"string"==typeof t&&(t=i.encode(t)),Uint8Array.prototype.toBase64?t.toBase64({alphabet:"base64url",omitPadding:!0}):f(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}class y extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,t){super(e,t),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class v extends y{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.claim=r,this.reason=n,this.payload=t}}class b extends y{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.claim=r,this.reason=n,this.payload=t}}class E extends y{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class w extends y{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class S extends y{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",t){super(e,t)}}class A extends y{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"}class _ extends y{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class P extends y{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class C extends y{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"}class I extends y{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"}class x extends y{static code="ERR_JWKS_NO_MATCHING_KEY";code="ERR_JWKS_NO_MATCHING_KEY";constructor(e="no applicable key found in the JSON Web Key Set",t){super(e,t)}}class O extends y{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t)}}class k extends y{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",t){super(e,t)}}class T extends y{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",t){super(e,t)}}function N(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new w(`Unsupported JWE Algorithm: ${e}`)}}function j(e,t){if(t.length<<3!==N(e))throw new A("Invalid Initialization Vector length")}function R(e,t){const r=e.byteLength<<3;if(r!==t)throw new A(`Invalid Content Encryption Key length. Expected ${t} bits, got ${r} bits`)}const M=(e,t="algorithm.name")=>new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`),D=(e,t)=>e.name===t;function U(e){return parseInt(e.name.slice(4),10)}function F(e,t){if(t&&!e.usages.includes(t))throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`)}function L(e,t,r){switch(t){case"A128GCM":case"A192GCM":case"A256GCM":{if(!D(e.algorithm,"AES-GCM"))throw M("AES-GCM");const r=parseInt(t.slice(1,4),10);if(e.algorithm.length!==r)throw M(r,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!D(e.algorithm,"AES-KW"))throw M("AES-KW");const r=parseInt(t.slice(1,4),10);if(e.algorithm.length!==r)throw M(r,"algorithm.length");break}case"ECDH":switch(e.algorithm.name){case"ECDH":case"X25519":break;default:throw M("ECDH or X25519")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!D(e.algorithm,"PBKDF2"))throw M("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!D(e.algorithm,"RSA-OAEP"))throw M("RSA-OAEP");const r=parseInt(t.slice(9),10)||1;if(U(e.algorithm.hash)!==r)throw M(`SHA-${r}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}F(e,r)}function z(e,t,...r){if((r=r.filter(Boolean)).length>2){const t=r.pop();e+=`one of type ${r.join(", ")}, or ${t}.`}else 2===r.length?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}const V=(e,...t)=>z("Key must be ",e,...t),H=(e,t,...r)=>z(`Key for the ${e} algorithm must be `,t,...r);function $(e){if(!W(e))throw new Error("CryptoKey instance expected")}const W=e=>{if("CryptoKey"===e?.[Symbol.toStringTag])return!0;try{return e instanceof CryptoKey}catch{return!1}},B=e=>"KeyObject"===e?.[Symbol.toStringTag],K=e=>W(e)||B(e);async function G(e,t,r,n,o,i){if(!(W(t)||t instanceof Uint8Array))throw new TypeError(V(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!n)throw new A("JWE Initialization Vector missing");if(!o)throw new A("JWE Authentication Tag missing");switch(j(e,n),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t instanceof Uint8Array&&R(t,parseInt(e.slice(-3),10)),async function(e,t,r,n,o,i){if(!(t instanceof Uint8Array))throw new TypeError(V(t,"Uint8Array"));const a=parseInt(e.slice(1,4),10),s=await crypto.subtle.importKey("raw",t.subarray(a>>3),"AES-CBC",!1,["decrypt"]),u=await crypto.subtle.importKey("raw",t.subarray(0,a>>3),{hash:"SHA-"+(a<<1),name:"HMAC"},!1,["sign"]),d=c(i,n,r,l(i.length<<3)),p=new Uint8Array((await crypto.subtle.sign("HMAC",u,d)).slice(0,a>>3));let f,h;try{f=await async function(e,t){if(!(e instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(t instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");const r={name:"HMAC",hash:"SHA-256"},n=await crypto.subtle.generateKey(r,!1,["sign"]),o=new Uint8Array(await crypto.subtle.sign(r,n,e)),i=new Uint8Array(await crypto.subtle.sign(r,n,t));let a=0,s=-1;for(;++s<32;)a|=o[s]^i[s];return 0===a}(o,p)}catch{}if(!f)throw new S;try{h=new Uint8Array(await crypto.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}if(!h)throw new S;return h}(e,t,r,n,o,i);case"A128GCM":case"A192GCM":case"A256GCM":return t instanceof Uint8Array&&R(t,parseInt(e.slice(1,4),10)),async function(e,t,r,n,o,i){let a;t instanceof Uint8Array?a=await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["decrypt"]):(L(t,e,"decrypt"),a=t);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:i,iv:n,name:"AES-GCM",tagLength:128},a,c(r,o)))}catch{throw new S}}(e,t,r,n,o,i);default:throw new w("Unsupported JWE Content Encryption Algorithm")}}function q(...e){const t=e.filter(Boolean);if(0===t.length||1===t.length)return!0;let r;for(const e of t){const t=Object.keys(e);if(r&&0!==r.size)for(const e of t){if(r.has(e))return!1;r.add(e)}else r=new Set(t)}return!0}function Y(e){if("object"!=typeof(t=e)||null===t||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t;if(null===Object.getPrototypeOf(e))return!0;let r=e;for(;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function J(e,t){if(e.algorithm.length!==parseInt(t.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${t}`)}function Q(e,t,r){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"AES-KW",!0,[r]):(L(e,t,r),e)}async function X(e,t,r){const n=await Q(t,e,"wrapKey");J(n,e);const o=await crypto.subtle.importKey("raw",r,{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.wrapKey("raw",o,n,"AES-KW"))}async function Z(e,t,r){const n=await Q(t,e,"unwrapKey");J(n,e);const o=await crypto.subtle.unwrapKey("raw",r,n,"AES-KW",{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.exportKey("raw",o))}async function ee(e,t){const r=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(r,t))}function te(e){return c(d(e.length),e)}async function re(e,t,r,n,o=new Uint8Array,i=new Uint8Array){L(e,"ECDH"),L(t,"ECDH","deriveBits");const a=c(te(p(r)),te(o),te(i),d(n),new Uint8Array),s=new Uint8Array(await crypto.subtle.deriveBits({name:e.algorithm.name,public:e},t,function(e){return"X25519"===e.algorithm.name?256:Math.ceil(parseInt(e.algorithm.namedCurve.slice(-3),10)/8)<<3}(e)));return async function(e,t,r){const n=t>>3,o=Math.ceil(n/32),i=new Uint8Array(32*o);for(let t=1;t<=o;t++){const n=new Uint8Array(4+e.length+r.length);n.set(d(t),0),n.set(e,4),n.set(r,4+e.length);const o=await ee("sha256",n);i.set(o,32*(t-1))}return i.slice(0,n)}(s,n,a)}function ne(e){switch(e.algorithm.namedCurve){case"P-256":case"P-384":case"P-521":return!0;default:return"X25519"===e.algorithm.name}}async function oe(e,t,r,n){if(!(e instanceof Uint8Array)||e.length<8)throw new A("PBES2 Salt Input must be 8 or more octets");const o=((e,t)=>c(p(e),Uint8Array.of(0),t))(t,e),i=parseInt(t.slice(13,16),10),a={hash:`SHA-${t.slice(8,11)}`,iterations:r,name:"PBKDF2",salt:o},s=await function(e,t){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]):(L(e,t,"deriveBits"),e)}(n,t);return new Uint8Array(await crypto.subtle.deriveBits(a,s,i))}function ie(e,t){if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:r}=t.algorithm;if("number"!=typeof r||r<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}const ae=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new w(`alg ${e} is not supported either by JOSE or your javascript runtime`)}};function se(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new w(`Unsupported JWE Algorithm: ${e}`)}}const ce=e=>crypto.getRandomValues(new Uint8Array(se(e)>>3)),ue=(e,t)=>`-----BEGIN ${t}-----\n${(e.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${t}-----`,le=async(e,t,r)=>{if(B(r)){if(r.type!==e)throw new TypeError(`key is not a ${e} key`);return r.export({format:"pem",type:t})}if(!W(r))throw new TypeError(V(r,"CryptoKey","KeyObject"));if(!r.extractable)throw new TypeError("CryptoKey is not extractable");if(r.type!==e)throw new TypeError(`key is not a ${e} key`);return ue(f(new Uint8Array(await crypto.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},de=(e,t)=>{if(e.byteLength!==t.length)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0},pe=e=>({data:e,pos:0}),fe=e=>{const t=e.data[e.pos++];if(128&t){const r=127&t;let n=0;for(let t=0;t<r;t++)n=n<<8|e.data[e.pos++];return n}return t},he=(e,t=1)=>{if(t<=0)return;e.pos++;const r=fe(e);e.pos+=r,t>1&&he(e,t-1)},me=(e,t,r)=>{if(e.data[e.pos++]!==t)throw new Error(r)},ge=(e,t)=>{const r=e.data.subarray(e.pos,e.pos+t);return e.pos+=t,r},ye=e=>{const t=(e=>{me(e,6,"Expected algorithm OID");const t=fe(e);return ge(e,t)})(e);if(de(t,[43,101,110]))return"X25519";if(!de(t,[42,134,72,206,61,2,1]))throw new Error("Unsupported key algorithm");me(e,6,"Expected curve OID");const r=fe(e),n=ge(e,r);for(const{name:e,oid:t}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(de(n,t))return e;throw new Error("Unsupported named curve")},ve=async(e,t,r,n)=>{let o,i;const a="spki"===e,s=()=>a?["verify"]:["sign"];switch(r){case"PS256":case"PS384":case"PS512":o={name:"RSA-PSS",hash:`SHA-${r.slice(-3)}`},i=s();break;case"RS256":case"RS384":case"RS512":o={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${r.slice(-3)}`},i=s();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":o={name:"RSA-OAEP",hash:`SHA-${parseInt(r.slice(-3),10)||1}`},i=a?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":o={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[r]},i=s();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{const e=n.getNamedCurve(t);o="X25519"===e?{name:"X25519"}:{name:"ECDH",namedCurve:e}}catch(e){throw new w("Invalid or unsupported key format")}i=a?[]:["deriveBits"];break;case"Ed25519":case"EdDSA":o={name:"Ed25519"},i=s();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":o={name:r},i=s();break;default:throw new w('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(e,t,o,n?.extractable??!!a,i)},be=(e,t)=>h(e.replace(t,"")),Ee=(e,t,r)=>{const n=be(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);let o=r;return t?.startsWith?.("ECDH-ES")&&(o||={},o.getNamedCurve=e=>{const t=pe(e);return function(e){me(e,48,"Invalid SPKI structure"),fe(e),me(e,48,"Expected algorithm identifier");fe(e);e.pos}(t),ye(t)}),ve("spki",n,t,o)};async function we(e){if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:t,keyUsages:r}=function(e){let t,r;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":t={name:e.alg},r=e.priv?["sign"]:["verify"];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},r=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},r=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},r=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":t={name:"Ed25519"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new w('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:r}}(e),n={...e};return"AKP"!==n.kty&&delete n.alg,delete n.use,crypto.subtle.importKey("jwk",n,t,e.ext??(!e.d&&!e.priv),e.key_ops??r)}async function Se(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return Ee(e,t,r)}async function Ae(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return((e,t,r)=>{let n;try{n=function(e){return function(e){const t=pe(e);me(t,48,"Invalid certificate structure"),fe(t),me(t,48,"Invalid tbsCertificate structure"),fe(t),160===e[t.pos]?he(t,6):he(t,5);const r=t.pos;me(t,48,"Invalid SPKI structure");const n=fe(t);return e.subarray(r,r+n+(t.pos-r))}(be(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g))}(e)}catch(e){throw new TypeError("Failed to parse the X.509 certificate",{cause:e})}return Ee(ue(f(n),"PUBLIC KEY"),t,r)})(e,t,r)}async function _e(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return((e,t,r)=>{const n=be(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);let o=r;return t?.startsWith?.("ECDH-ES")&&(o||={},o.getNamedCurve=e=>{const t=pe(e);return function(e){me(e,48,"Invalid PKCS#8 structure"),fe(e),me(e,2,"Expected version field");const t=fe(e);e.pos+=t,me(e,48,"Expected algorithm identifier"),fe(e),e.pos}(t),ye(t)}),ve("pkcs8",n,t,o)})(e,t,r)}async function Pe(e,t,r){if(!Y(e))throw new TypeError("JWK must be an object");let n;switch(t??=e.alg,n??=r?.extractable??e.ext,e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return m(e.k);case"RSA":if("oth"in e&&void 0!==e.oth)throw new w('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return we({...e,alg:t,ext:n});case"AKP":if("string"!=typeof e.alg||!e.alg)throw new TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==t&&t!==e.alg)throw new TypeError("JWK alg and alg option value mismatch");return we({...e,ext:n});case"EC":case"OKP":return we({...e,alg:t,ext:n});default:throw new w('Unsupported "kty" (Key Type) Parameter value')}}async function Ce(e,t,r,n,o){if(!(W(r)||r instanceof Uint8Array))throw new TypeError(V(r,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));var i;switch(n?j(e,n):(i=e,n=crypto.getRandomValues(new Uint8Array(N(i)>>3))),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return r instanceof Uint8Array&&R(r,parseInt(e.slice(-3),10)),async function(e,t,r,n,o){if(!(r instanceof Uint8Array))throw new TypeError(V(r,"Uint8Array"));const i=parseInt(e.slice(1,4),10),a=await crypto.subtle.importKey("raw",r.subarray(i>>3),"AES-CBC",!1,["encrypt"]),s=await crypto.subtle.importKey("raw",r.subarray(0,i>>3),{hash:"SHA-"+(i<<1),name:"HMAC"},!1,["sign"]),u=new Uint8Array(await crypto.subtle.encrypt({iv:n,name:"AES-CBC"},a,t)),d=c(o,n,u,l(o.length<<3));return{ciphertext:u,tag:new Uint8Array((await crypto.subtle.sign("HMAC",s,d)).slice(0,i>>3)),iv:n}}(e,t,r,n,o);case"A128GCM":case"A192GCM":case"A256GCM":return r instanceof Uint8Array&&R(r,parseInt(e.slice(1,4),10)),async function(e,t,r,n,o){let i;r instanceof Uint8Array?i=await crypto.subtle.importKey("raw",r,"AES-GCM",!1,["encrypt"]):(L(r,e,"encrypt"),i=r);const a=new Uint8Array(await crypto.subtle.encrypt({additionalData:o,iv:n,name:"AES-GCM",tagLength:128},i,t)),s=a.slice(-16);return{ciphertext:a.slice(0,-16),tag:s,iv:n}}(e,t,r,n,o);default:throw new w("Unsupported JWE Content Encryption Algorithm")}}function Ie(e,t,r,n,o){if(void 0!==o.crit&&void 0===n?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||void 0===n.crit)return new Set;if(!Array.isArray(n.crit)||0===n.crit.length||n.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let i;i=void 0!==r?new Map([...Object.entries(r),...t.entries()]):t;for(const t of n.crit){if(!i.has(t))throw new w(`Extension Header Parameter "${t}" is not recognized`);if(void 0===o[t])throw new e(`Extension Header Parameter "${t}" is missing`);if(i.get(t)&&void 0===n[t])throw new e(`Extension Header Parameter "${t}" MUST be integrity protected`)}return new Set(n.crit)}function xe(e,t){if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw new TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)}const Oe=e=>Y(e)&&"string"==typeof e.kty;let ke;const Te=async(e,t,r,n=!1)=>{ke||=new WeakMap;let o=ke.get(e);if(o?.[r])return o[r];const i=await we({...t,alg:r});return n&&Object.freeze(e),o?o[r]=i:ke.set(e,{[r]:i}),i};async function Ne(e,t){if(e instanceof Uint8Array)return e;if(W(e))return e;if(B(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return((e,t)=>{ke||=new WeakMap;let r=ke.get(e);if(r?.[t])return r[t];const n="public"===e.type,o=!!n;let i;if("x25519"===e.asymmetricKeyType){switch(t){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}i=e.toCryptoKey(e.asymmetricKeyType,o,n?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==t&&"Ed25519"!==t)throw new TypeError("given KeyObject instance cannot be used for this algorithm");i=e.toCryptoKey(e.asymmetricKeyType,o,[n?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(t!==e.asymmetricKeyType.toUpperCase())throw new TypeError("given KeyObject instance cannot be used for this algorithm");i=e.toCryptoKey(e.asymmetricKeyType,o,[n?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let r;switch(t){case"RSA-OAEP":r="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":r="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":r="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":r="SHA-512";break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}if(t.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:r},o,n?["encrypt"]:["decrypt"]);i=e.toCryptoKey({name:t.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:r},o,[n?"verify":"sign"])}if("ec"===e.asymmetricKeyType){const r=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!r)throw new TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===t&&"P-256"===r&&(i=e.toCryptoKey({name:"ECDSA",namedCurve:r},o,[n?"verify":"sign"])),"ES384"===t&&"P-384"===r&&(i=e.toCryptoKey({name:"ECDSA",namedCurve:r},o,[n?"verify":"sign"])),"ES512"===t&&"P-521"===r&&(i=e.toCryptoKey({name:"ECDSA",namedCurve:r},o,[n?"verify":"sign"])),t.startsWith("ECDH-ES")&&(i=e.toCryptoKey({name:"ECDH",namedCurve:r},o,n?[]:["deriveBits"]))}if(!i)throw new TypeError("given KeyObject instance cannot be used for this algorithm");return r?r[t]=i:ke.set(e,{[t]:i}),i})(e,t)}catch(e){if(e instanceof TypeError)throw e}let r=e.export({format:"jwk"});return Te(e,r,t)}if(Oe(e))return e.k?m(e.k):Te(e,e,t,!0);throw new Error("unreachable")}const je=e=>e?.[Symbol.toStringTag],Re=(e,t,r)=>{if(void 0!==t.use){let e;switch(r){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(t.use!==e)throw new TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==t.alg&&t.alg!==e)throw new TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(t.key_ops)){let n;switch(!0){case"sign"===r||"verify"===r:case"dir"===e:case e.includes("CBC-HS"):n=r;break;case e.startsWith("PBES2"):n="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):n=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===r?"wrapKey":"unwrapKey":r;break;case"encrypt"===r&&e.startsWith("RSA"):n="wrapKey";break;case"decrypt"===r:n=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(n&&!1===t.key_ops?.includes?.(n))throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${n}" when present`)}return!0};function Me(e,t,r){switch(e.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":((e,t,r)=>{if(!(t instanceof Uint8Array)){if(Oe(t)){if((e=>"oct"===e.kty&&"string"==typeof e.k)(t)&&Re(e,t,r))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!K(t))throw new TypeError(H(e,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==t.type)throw new TypeError(`${je(t)} instances for symmetric algorithms must be of type "secret"`)}})(e,t,r);break;default:((e,t,r)=>{if(Oe(t))switch(r){case"decrypt":case"sign":if((e=>"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d))(t)&&Re(e,t,r))return;throw new TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if((e=>"oct"!==e.kty&&void 0===e.d&&void 0===e.priv)(t)&&Re(e,t,r))return;throw new TypeError("JSON Web Key for this operation must be a public JWK")}if(!K(t))throw new TypeError(H(e,t,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===t.type)throw new TypeError(`${je(t)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===t.type)switch(r){case"sign":throw new TypeError(`${je(t)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw new TypeError(`${je(t)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===t.type)switch(r){case"verify":throw new TypeError(`${je(t)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw new TypeError(`${je(t)} instances for asymmetric algorithm encryption must be of type "public"`)}})(e,t,r)}}async function De(e,t,r){if(!Y(e))throw new A("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new A("JOSE Header missing");if(void 0!==e.iv&&"string"!=typeof e.iv)throw new A("JWE Initialization Vector incorrect type");if("string"!=typeof e.ciphertext)throw new A("JWE Ciphertext missing or incorrect type");if(void 0!==e.tag&&"string"!=typeof e.tag)throw new A("JWE Authentication Tag incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new A("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new A("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new A("JWE AAD incorrect type");if(void 0!==e.header&&!Y(e.header))throw new A("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!Y(e.unprotected))throw new A("JWE Per-Recipient Unprotected Header incorrect type");let n;if(e.protected)try{const t=m(e.protected);n=JSON.parse(a.decode(t))}catch{throw new A("JWE Protected Header is invalid")}if(!q(n,e.header,e.unprotected))throw new A("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const o={...n,...e.header,...e.unprotected};if(Ie(A,new Map,r?.crit,n,o),void 0!==o.zip)throw new w('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:i,enc:s}=o;if("string"!=typeof i||!i)throw new A("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof s||!s)throw new A("missing JWE Encryption Algorithm (enc) in JWE Header");const u=r&&xe("keyManagementAlgorithms",r.keyManagementAlgorithms),l=r&&xe("contentEncryptionAlgorithms",r.contentEncryptionAlgorithms);if(u&&!u.has(i)||!u&&i.startsWith("PBES2"))throw new E('"alg" (Algorithm) Header Parameter value not allowed');if(l&&!l.has(s))throw new E('"enc" (Encryption Algorithm) Header Parameter value not allowed');let d;if(void 0!==e.encrypted_key)try{d=m(e.encrypted_key)}catch{throw new A("Failed to base64url decode the encrypted_key")}let f=!1;"function"==typeof t&&(t=await t(n,e),f=!0),Me("dir"===i?s:i,t,"decrypt");const h=await Ne(t,i);let g,y,v;try{g=await async function(e,t,r,n,o){switch(e){case"dir":if(void 0!==r)throw new A("Encountered unexpected JWE Encrypted Key");return t;case"ECDH-ES":if(void 0!==r)throw new A("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!Y(n.epk))throw new A('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if($(t),!ne(t))throw new w("ECDH with the provided key is not allowed or not supported by your javascript runtime");const o=await Pe(n.epk,e);let i,a;if($(o),void 0!==n.apu){if("string"!=typeof n.apu)throw new A('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{i=m(n.apu)}catch{throw new A("Failed to base64url decode the apu")}}if(void 0!==n.apv){if("string"!=typeof n.apv)throw new A('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{a=m(n.apv)}catch{throw new A("Failed to base64url decode the apv")}}const s=await re(o,t,"ECDH-ES"===e?n.enc:e,"ECDH-ES"===e?se(n.enc):parseInt(e.slice(-5,-2),10),i,a);if("ECDH-ES"===e)return s;if(void 0===r)throw new A("JWE Encrypted Key missing");return Z(e.slice(-6),s,r)}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===r)throw new A("JWE Encrypted Key missing");return $(t),async function(e,t,r){return L(t,e,"decrypt"),ie(e,t),new Uint8Array(await crypto.subtle.decrypt(ae(e),t,r))}(e,t,r);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===r)throw new A("JWE Encrypted Key missing");if("number"!=typeof n.p2c)throw new A('JOSE Header "p2c" (PBES2 Count) missing or invalid');const i=o?.maxPBES2Count||1e4;if(n.p2c>i)throw new A('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof n.p2s)throw new A('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let a;try{a=m(n.p2s)}catch{throw new A("Failed to base64url decode the p2s")}return async function(e,t,r,n,o){const i=await oe(o,e,n,t);return Z(e.slice(-6),i,r)}(e,t,r,n.p2c,a)}case"A128KW":case"A192KW":case"A256KW":if(void 0===r)throw new A("JWE Encrypted Key missing");return Z(e,t,r);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===r)throw new A("JWE Encrypted Key missing");if("string"!=typeof n.iv)throw new A('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof n.tag)throw new A('JOSE Header "tag" (Authentication Tag) missing or invalid');let o,i;try{o=m(n.iv)}catch{throw new A("Failed to base64url decode the iv")}try{i=m(n.tag)}catch{throw new A("Failed to base64url decode the tag")}return async function(e,t,r,n,o){return G(e.slice(0,7),t,r,n,o,new Uint8Array)}(e,t,r,o,i)}default:throw new w('Invalid or unsupported "alg" (JWE Algorithm) header value')}}(i,h,d,o,r)}catch(e){if(e instanceof TypeError||e instanceof A||e instanceof w)throw e;g=ce(s)}if(void 0!==e.iv)try{y=m(e.iv)}catch{throw new A("Failed to base64url decode the iv")}if(void 0!==e.tag)try{v=m(e.tag)}catch{throw new A("Failed to base64url decode the tag")}const b=void 0!==e.protected?p(e.protected):new Uint8Array;let S,_;S=void 0!==e.aad?c(b,p("."),p(e.aad)):b;try{_=m(e.ciphertext)}catch{throw new A("Failed to base64url decode the ciphertext")}const P={plaintext:await G(s,g,_,y,v,S)};if(void 0!==e.protected&&(P.protectedHeader=n),void 0!==e.aad)try{P.additionalAuthenticatedData=m(e.aad)}catch{throw new A("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(P.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(P.unprotectedHeader=e.header),f?{...P,key:h}:P}async function Ue(e,t,r){if(e instanceof Uint8Array&&(e=a.decode(e)),"string"!=typeof e)throw new A("Compact JWE must be a string or Uint8Array");const{0:n,1:o,2:i,3:s,4:c,length:u}=e.split(".");if(5!==u)throw new A("Invalid Compact JWE");const l=await De({ciphertext:s,iv:i||void 0,protected:n,tag:c||void 0,encrypted_key:o||void 0},t,r),d={plaintext:l.plaintext,protectedHeader:l.protectedHeader};return"function"==typeof t?{...d,key:l.key}:d}async function Fe(e,t,r){if(!Y(e))throw new A("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(Y))throw new A("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new A("JWE Recipients has no members");for(const n of e.recipients)try{return await De({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:n.encrypted_key,header:n.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},t,r)}catch{}throw new S}const Le=Symbol();async function ze(e){return(e=>le("public","spki",e))(e)}async function Ve(e){return(e=>le("private","pkcs8",e))(e)}async function He(e){return async function(e){if(B(e)){if("secret"!==e.type)return e.export({format:"jwk"});e=e.export()}if(e instanceof Uint8Array)return{kty:"oct",k:g(e)};if(!W(e))throw new TypeError(V(e,"CryptoKey","KeyObject","Uint8Array"));if(!e.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:t,key_ops:r,alg:n,use:o,...i}=await crypto.subtle.exportKey("jwk",e);return"AKP"===i.kty&&(i.alg=n),i}(e)}async function $e(e,t,r,n,o={}){let i,a,s;switch(e){case"dir":s=r;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if($(r),!ne(r))throw new w("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:c,apv:u}=o;let l;l=o.epk?await Ne(o.epk,e):(await crypto.subtle.generateKey(r.algorithm,!0,["deriveBits"])).privateKey;const{x:d,y:p,crv:f,kty:h}=await He(l),m=await re(r,l,"ECDH-ES"===e?t:e,"ECDH-ES"===e?se(t):parseInt(e.slice(-5,-2),10),c,u);if(a={epk:{x:d,crv:f,kty:h}},"EC"===h&&(a.epk.y=p),c&&(a.apu=g(c)),u&&(a.apv=g(u)),"ECDH-ES"===e){s=m;break}s=n||ce(t);const y=e.slice(-6);i=await X(y,m,s);break}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":s=n||ce(t),$(r),i=await async function(e,t,r){return L(t,e,"encrypt"),ie(e,t),new Uint8Array(await crypto.subtle.encrypt(ae(e),t,r))}(e,r,s);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{s=n||ce(t);const{p2c:c,p2s:u}=o;({encryptedKey:i,...a}=await async function(e,t,r,n=2048,o=crypto.getRandomValues(new Uint8Array(16))){const i=await oe(o,e,n,t);return{encryptedKey:await X(e.slice(-6),i,r),p2c:n,p2s:g(o)}}(e,r,s,c,u));break}case"A128KW":case"A192KW":case"A256KW":s=n||ce(t),i=await X(e,r,s);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{s=n||ce(t);const{iv:c}=o;({encryptedKey:i,...a}=await async function(e,t,r,n){const o=e.slice(0,7),i=await Ce(o,r,t,n,new Uint8Array);return{encryptedKey:i.ciphertext,iv:g(i.iv),tag:g(i.tag)}}(e,r,s,c));break}default:throw new w('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:s,encryptedKey:i,parameters:a}}class We{#e;#t;#r;#n;#o;#i;#a;#s;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this.#e=e}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setProtectedHeader(e){if(this.#t)throw new TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setSharedUnprotectedHeader(e){if(this.#r)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#r=e,this}setUnprotectedHeader(e){if(this.#n)throw new TypeError("setUnprotectedHeader can only be called once");return this.#n=e,this}setAdditionalAuthenticatedData(e){return this.#o=e,this}setContentEncryptionKey(e){if(this.#i)throw new TypeError("setContentEncryptionKey can only be called once");return this.#i=e,this}setInitializationVector(e){if(this.#a)throw new TypeError("setInitializationVector can only be called once");return this.#a=e,this}async encrypt(e,t){if(!this.#t&&!this.#n&&!this.#r)throw new A("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!q(this.#t,this.#n,this.#r))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const r={...this.#t,...this.#n,...this.#r};if(Ie(A,new Map,t?.crit,this.#t,r),void 0!==r.zip)throw new w('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:n,enc:o}=r;if("string"!=typeof n||!n)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof o||!o)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let i,a,s,u,l,d;if(this.#i&&("dir"===n||"ECDH-ES"===n))throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${n}`);Me("dir"===n?o:n,e,"encrypt");{let r;const s=await Ne(e,n);({cek:a,encryptedKey:i,parameters:r}=await $e(n,o,s,this.#i,this.#s)),r&&(t&&Le in t?this.#n?this.#n={...this.#n,...r}:this.setUnprotectedHeader(r):this.#t?this.#t={...this.#t,...r}:this.setProtectedHeader(r))}if(this.#t?(u=g(JSON.stringify(this.#t)),l=p(u)):(u="",l=new Uint8Array),this.#o){d=g(this.#o);const e=p(d);s=c(l,p("."),e)}else s=l;const{ciphertext:f,tag:h,iv:m}=await Ce(o,this.#e,a,this.#a,s),y={ciphertext:g(f)};return m&&(y.iv=g(m)),h&&(y.tag=g(h)),i&&(y.encrypted_key=g(i)),d&&(y.aad=d),this.#t&&(y.protected=u),this.#r&&(y.unprotected=this.#r),this.#n&&(y.header=this.#n),y}}class Be{#c;unprotectedHeader;keyManagementParameters;key;options;constructor(e,t,r){this.#c=e,this.key=t,this.options=r}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}setKeyManagementParameters(e){if(this.keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this.keyManagementParameters=e,this}addRecipient(...e){return this.#c.addRecipient(...e)}encrypt(...e){return this.#c.encrypt(...e)}done(){return this.#c}}class Ke{#e;#u=[];#t;#n;#o;constructor(e){this.#e=e}addRecipient(e,t){const r=new Be(this,e,{crit:t?.crit});return this.#u.push(r),r}setProtectedHeader(e){if(this.#t)throw new TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setSharedUnprotectedHeader(e){if(this.#n)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#n=e,this}setAdditionalAuthenticatedData(e){return this.#o=e,this}async encrypt(){if(!this.#u.length)throw new A("at least one recipient must be added");if(1===this.#u.length){const[e]=this.#u,t=await new We(this.#e).setAdditionalAuthenticatedData(this.#o).setProtectedHeader(this.#t).setSharedUnprotectedHeader(this.#n).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options}),r={ciphertext:t.ciphertext,iv:t.iv,recipients:[{}],tag:t.tag};return t.aad&&(r.aad=t.aad),t.protected&&(r.protected=t.protected),t.unprotected&&(r.unprotected=t.unprotected),t.encrypted_key&&(r.recipients[0].encrypted_key=t.encrypted_key),t.header&&(r.recipients[0].header=t.header),r}let e;for(let t=0;t<this.#u.length;t++){const r=this.#u[t];if(!q(this.#t,this.#n,r.unprotectedHeader))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const n={...this.#t,...this.#n,...r.unprotectedHeader},{alg:o}=n;if("string"!=typeof o||!o)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===o||"ECDH-ES"===o)throw new A('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof n.enc||!n.enc)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(e){if(e!==n.enc)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else e=n.enc;if(Ie(A,new Map,r.options.crit,this.#t,n),void 0!==n.zip)throw new w('JWE "zip" (Compression Algorithm) Header Parameter is not supported.')}const t=ce(e),r={ciphertext:"",recipients:[]};for(let n=0;n<this.#u.length;n++){const o=this.#u[n],i={};if(r.recipients.push(i),0===n){const e=await new We(this.#e).setAdditionalAuthenticatedData(this.#o).setContentEncryptionKey(t).setProtectedHeader(this.#t).setSharedUnprotectedHeader(this.#n).setUnprotectedHeader(o.unprotectedHeader).setKeyManagementParameters(o.keyManagementParameters).encrypt(o.key,{...o.options,[Le]:!0});r.ciphertext=e.ciphertext,r.iv=e.iv,r.tag=e.tag,e.aad&&(r.aad=e.aad),e.protected&&(r.protected=e.protected),e.unprotected&&(r.unprotected=e.unprotected),i.encrypted_key=e.encrypted_key,e.header&&(i.header=e.header);continue}const a=o.unprotectedHeader?.alg||this.#t?.alg||this.#n?.alg;Me("dir"===a?e:a,o.key,"encrypt");const s=await Ne(o.key,a),{encryptedKey:c,parameters:u}=await $e(a,e,s,t,o.keyManagementParameters);i.encrypted_key=g(c),(o.unprotectedHeader||u)&&(i.header={...o.unprotectedHeader,...u})}return r}}function Ge(e,t){const r=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new w(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function qe(e,t,r){if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(V(t,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[r])}return function(e,t,r){switch(t){case"HS256":case"HS384":case"HS512":{if(!D(e.algorithm,"HMAC"))throw M("HMAC");const r=parseInt(t.slice(2),10);if(U(e.algorithm.hash)!==r)throw M(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!D(e.algorithm,"RSASSA-PKCS1-v1_5"))throw M("RSASSA-PKCS1-v1_5");const r=parseInt(t.slice(2),10);if(U(e.algorithm.hash)!==r)throw M(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!D(e.algorithm,"RSA-PSS"))throw M("RSA-PSS");const r=parseInt(t.slice(2),10);if(U(e.algorithm.hash)!==r)throw M(`SHA-${r}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!D(e.algorithm,"Ed25519"))throw M("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!D(e.algorithm,t))throw M(t);break;case"ES256":case"ES384":case"ES512":{if(!D(e.algorithm,"ECDSA"))throw M("ECDSA");const r=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(t);if(e.algorithm.namedCurve!==r)throw M(r,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}F(e,r)}(t,e,r),t}async function Ye(e,t,r){if(!Y(e))throw new _("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new _('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new _("JWS Protected Header incorrect type");if(void 0===e.payload)throw new _("JWS Payload missing");if("string"!=typeof e.signature)throw new _("JWS Signature missing or incorrect type");if(void 0!==e.header&&!Y(e.header))throw new _("JWS Unprotected Header incorrect type");let n={};if(e.protected)try{const t=m(e.protected);n=JSON.parse(a.decode(t))}catch{throw new _("JWS Protected Header is invalid")}if(!q(n,e.header))throw new _("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const o={...n,...e.header};let s=!0;if(Ie(_,new Map([["b64",!0]]),r?.crit,n,o).has("b64")&&(s=n.b64,"boolean"!=typeof s))throw new _('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:u}=o;if("string"!=typeof u||!u)throw new _('JWS "alg" (Algorithm) Header Parameter missing or invalid');const l=r&&xe("algorithms",r.algorithms);if(l&&!l.has(u))throw new E('"alg" (Algorithm) Header Parameter value not allowed');if(s){if("string"!=typeof e.payload)throw new _("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new _("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof t&&(t=await t(n,e),d=!0),Me(u,t,"verify");const f=c(void 0!==e.protected?p(e.protected):new Uint8Array,p("."),"string"==typeof e.payload?s?p(e.payload):i.encode(e.payload):e.payload);let h;try{h=m(e.signature)}catch{throw new _("Failed to base64url decode the signature")}const g=await Ne(t,u),y=await async function(e,t,r,n){const o=await qe(e,t,"verify");ie(e,o);const i=Ge(e,o.algorithm);try{return await crypto.subtle.verify(i,o,r,n)}catch{return!1}}(u,g,h,f);if(!y)throw new T;let v;if(s)try{v=m(e.payload)}catch{throw new _("Failed to base64url decode the payload")}else v="string"==typeof e.payload?i.encode(e.payload):e.payload;const b={payload:v};return void 0!==e.protected&&(b.protectedHeader=n),void 0!==e.header&&(b.unprotectedHeader=e.header),d?{...b,key:g}:b}async function Je(e,t,r){if(e instanceof Uint8Array&&(e=a.decode(e)),"string"!=typeof e)throw new _("Compact JWS must be a string or Uint8Array");const{0:n,1:o,2:i,length:s}=e.split(".");if(3!==s)throw new _("Invalid Compact JWS");const c=await Ye({payload:o,protected:n,signature:i},t,r),u={payload:c.payload,protectedHeader:c.protectedHeader};return"function"==typeof t?{...u,key:c.key}:u}async function Qe(e,t,r){if(!Y(e))throw new _("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(Y))throw new _("JWS Signatures missing or incorrect type");for(const n of e.signatures)try{return await Ye({header:n.header,payload:e.payload,protected:n.protected,signature:n.signature},t,r)}catch{}throw new T}const Xe=e=>Math.floor(e.getTime()/1e3),Ze=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function et(e){const t=Ze.exec(e);if(!t||t[4]&&t[1])throw new TypeError("Invalid time period format");const r=parseFloat(t[2]);let n;switch(t[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":n=Math.round(r);break;case"minute":case"minutes":case"min":case"mins":case"m":n=Math.round(60*r);break;case"hour":case"hours":case"hr":case"hrs":case"h":n=Math.round(3600*r);break;case"day":case"days":case"d":n=Math.round(86400*r);break;case"week":case"weeks":case"w":n=Math.round(604800*r);break;default:n=Math.round(31557600*r)}return"-"===t[1]||"ago"===t[4]?-n:n}function tt(e,t){if(!Number.isFinite(t))throw new TypeError(`Invalid ${e} input`);return t}const rt=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`;function nt(e,t,r={}){let n;try{n=JSON.parse(a.decode(t))}catch{}if(!Y(n))throw new P("JWT Claims Set must be a top-level JSON object");const{typ:o}=r;if(o&&("string"!=typeof e.typ||rt(e.typ)!==rt(o)))throw new v('unexpected "typ" JWT header value',n,"typ","check_failed");const{requiredClaims:i=[],issuer:s,subject:c,audience:u,maxTokenAge:l}=r,d=[...i];void 0!==l&&d.push("iat"),void 0!==u&&d.push("aud"),void 0!==c&&d.push("sub"),void 0!==s&&d.push("iss");for(const e of new Set(d.reverse()))if(!(e in n))throw new v(`missing required "${e}" claim`,n,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(n.iss))throw new v('unexpected "iss" claim value',n,"iss","check_failed");if(c&&n.sub!==c)throw new v('unexpected "sub" claim value',n,"sub","check_failed");if(u&&(f="string"==typeof u?[u]:u,!("string"==typeof(p=n.aud)?f.includes(p):Array.isArray(p)&&f.some(Set.prototype.has.bind(new Set(p))))))throw new v('unexpected "aud" claim value',n,"aud","check_failed");var p,f;let h;switch(typeof r.clockTolerance){case"string":h=et(r.clockTolerance);break;case"number":h=r.clockTolerance;break;case"undefined":h=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:m}=r,g=Xe(m||new Date);if((void 0!==n.iat||l)&&"number"!=typeof n.iat)throw new v('"iat" claim must be a number',n,"iat","invalid");if(void 0!==n.nbf){if("number"!=typeof n.nbf)throw new v('"nbf" claim must be a number',n,"nbf","invalid");if(n.nbf>g+h)throw new v('"nbf" claim timestamp check failed',n,"nbf","check_failed")}if(void 0!==n.exp){if("number"!=typeof n.exp)throw new v('"exp" claim must be a number',n,"exp","invalid");if(n.exp<=g-h)throw new b('"exp" claim timestamp check failed',n,"exp","check_failed")}if(l){const e=g-n.iat;if(e-h>("number"==typeof l?l:et(l)))throw new b('"iat" claim timestamp check failed (too far in the past)',n,"iat","check_failed");if(e<0-h)throw new v('"iat" claim timestamp check failed (it should be in the past)',n,"iat","check_failed")}return n}class ot{#l;constructor(e){if(!Y(e))throw new TypeError("JWT Claims Set MUST be an object");this.#l=structuredClone(e)}data(){return i.encode(JSON.stringify(this.#l))}get iss(){return this.#l.iss}set iss(e){this.#l.iss=e}get sub(){return this.#l.sub}set sub(e){this.#l.sub=e}get aud(){return this.#l.aud}set aud(e){this.#l.aud=e}set jti(e){this.#l.jti=e}set nbf(e){"number"==typeof e?this.#l.nbf=tt("setNotBefore",e):e instanceof Date?this.#l.nbf=tt("setNotBefore",Xe(e)):this.#l.nbf=Xe(new Date)+et(e)}set exp(e){"number"==typeof e?this.#l.exp=tt("setExpirationTime",e):e instanceof Date?this.#l.exp=tt("setExpirationTime",Xe(e)):this.#l.exp=Xe(new Date)+et(e)}set iat(e){void 0===e?this.#l.iat=Xe(new Date):e instanceof Date?this.#l.iat=tt("setIssuedAt",Xe(e)):this.#l.iat=tt("setIssuedAt","string"==typeof e?Xe(new Date)+et(e):e)}}async function it(e,t,r){const n=await Je(e,t,r);if(n.protectedHeader.crit?.includes("b64")&&!1===n.protectedHeader.b64)throw new P("JWTs MUST NOT use unencoded payload");const o={payload:nt(n.protectedHeader,n.payload,r),protectedHeader:n.protectedHeader};return"function"==typeof t?{...o,key:n.key}:o}async function at(e,t,r){const n=await Ue(e,t,r),o=nt(n.protectedHeader,n.plaintext,r),{protectedHeader:i}=n;if(void 0!==i.iss&&i.iss!==o.iss)throw new v('replicated "iss" claim header parameter mismatch',o,"iss","mismatch");if(void 0!==i.sub&&i.sub!==o.sub)throw new v('replicated "sub" claim header parameter mismatch',o,"sub","mismatch");if(void 0!==i.aud&&JSON.stringify(i.aud)!==JSON.stringify(o.aud))throw new v('replicated "aud" claim header parameter mismatch',o,"aud","mismatch");const a={payload:o,protectedHeader:i};return"function"==typeof t?{...a,key:n.key}:a}class st{#d;constructor(e){this.#d=new We(e)}setContentEncryptionKey(e){return this.#d.setContentEncryptionKey(e),this}setInitializationVector(e){return this.#d.setInitializationVector(e),this}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}setKeyManagementParameters(e){return this.#d.setKeyManagementParameters(e),this}async encrypt(e,t){const r=await this.#d.encrypt(e,t);return[r.protected,r.encrypted_key,r.iv,r.ciphertext,r.tag].join(".")}}class ct{#l;#t;#n;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this.#l=e}setProtectedHeader(e){if(this.#t)throw new TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setUnprotectedHeader(e){if(this.#n)throw new TypeError("setUnprotectedHeader can only be called once");return this.#n=e,this}async sign(e,t){if(!this.#t&&!this.#n)throw new _("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!q(this.#t,this.#n))throw new _("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const r={...this.#t,...this.#n};let n=!0;if(Ie(_,new Map([["b64",!0]]),t?.crit,this.#t,r).has("b64")&&(n=this.#t.b64,"boolean"!=typeof n))throw new _('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:o}=r;if("string"!=typeof o||!o)throw new _('JWS "alg" (Algorithm) Header Parameter missing or invalid');let i,a,s,u;Me(o,e,"sign"),n?(i=g(this.#l),a=p(i)):(a=this.#l,i=""),this.#t?(s=g(JSON.stringify(this.#t)),u=p(s)):(s="",u=new Uint8Array);const l=c(u,p("."),a),d=await Ne(e,o),f=await async function(e,t,r){const n=await qe(e,t,"sign");ie(e,n);const o=await crypto.subtle.sign(Ge(e,n.algorithm),n,r);return new Uint8Array(o)}(o,d,l),h={signature:g(f),payload:i};return this.#n&&(h.header=this.#n),this.#t&&(h.protected=s),h}}class ut{#d;constructor(e){this.#d=new ct(e)}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}async sign(e,t){const r=await this.#d.sign(e,t);if(void 0===r.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${r.protected}.${r.payload}.${r.signature}`}}class lt{#c;protectedHeader;unprotectedHeader;options;key;constructor(e,t,r){this.#c=e,this.key=t,this.options=r}setProtectedHeader(e){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=e,this}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addSignature(...e){return this.#c.addSignature(...e)}sign(...e){return this.#c.sign(...e)}done(){return this.#c}}class dt{#l;#p=[];constructor(e){this.#l=e}addSignature(e,t){const r=new lt(this,e,t);return this.#p.push(r),r}async sign(){if(!this.#p.length)throw new _("at least one signature must be added");const e={signatures:[],payload:""};for(let t=0;t<this.#p.length;t++){const r=this.#p[t],n=new ct(this.#l);n.setProtectedHeader(r.protectedHeader),n.setUnprotectedHeader(r.unprotectedHeader);const{payload:o,...i}=await n.sign(r.key,r.options);if(0===t)e.payload=o;else if(e.payload!==o)throw new _("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(i)}return e}}class pt{#t;#f;constructor(e={}){this.#f=new ot(e)}setIssuer(e){return this.#f.iss=e,this}setSubject(e){return this.#f.sub=e,this}setAudience(e){return this.#f.aud=e,this}setJti(e){return this.#f.jti=e,this}setNotBefore(e){return this.#f.nbf=e,this}setExpirationTime(e){return this.#f.exp=e,this}setIssuedAt(e){return this.#f.iat=e,this}setProtectedHeader(e){return this.#t=e,this}async sign(e,t){const r=new ut(this.#f.data());if(r.setProtectedHeader(this.#t),Array.isArray(this.#t?.crit)&&this.#t.crit.includes("b64")&&!1===this.#t.b64)throw new P("JWTs MUST NOT use unencoded payload");return r.sign(e,t)}}class ft{#i;#a;#s;#t;#h;#m;#g;#f;constructor(e={}){this.#f=new ot(e)}setIssuer(e){return this.#f.iss=e,this}setSubject(e){return this.#f.sub=e,this}setAudience(e){return this.#f.aud=e,this}setJti(e){return this.#f.jti=e,this}setNotBefore(e){return this.#f.nbf=e,this}setExpirationTime(e){return this.#f.exp=e,this}setIssuedAt(e){return this.#f.iat=e,this}setProtectedHeader(e){if(this.#t)throw new TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setContentEncryptionKey(e){if(this.#i)throw new TypeError("setContentEncryptionKey can only be called once");return this.#i=e,this}setInitializationVector(e){if(this.#a)throw new TypeError("setInitializationVector can only be called once");return this.#a=e,this}replicateIssuerAsHeader(){return this.#h=!0,this}replicateSubjectAsHeader(){return this.#m=!0,this}replicateAudienceAsHeader(){return this.#g=!0,this}async encrypt(e,t){const r=new st(this.#f.data());return this.#t&&(this.#h||this.#m||this.#g)&&(this.#t={...this.#t,iss:this.#h?this.#f.iss:void 0,sub:this.#m?this.#f.sub:void 0,aud:this.#g?this.#f.aud:void 0}),r.setProtectedHeader(this.#t),this.#a&&r.setInitializationVector(this.#a),this.#i&&r.setContentEncryptionKey(this.#i),this.#s&&r.setKeyManagementParameters(this.#s),r.encrypt(e,t)}}const ht=(e,t)=>{if("string"!=typeof e||!e)throw new C(`${t} missing or invalid`)};async function mt(e,t){let r,n;if(Oe(e))r=e;else{if(!K(e))throw new TypeError(V(e,"CryptoKey","KeyObject","JSON Web Key"));r=await He(e)}if(t??="sha256","sha256"!==t&&"sha384"!==t&&"sha512"!==t)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');switch(r.kty){case"AKP":ht(r.alg,'"alg" (Algorithm) Parameter'),ht(r.pub,'"pub" (Public key) Parameter'),n={alg:r.alg,kty:r.kty,pub:r.pub};break;case"EC":ht(r.crv,'"crv" (Curve) Parameter'),ht(r.x,'"x" (X Coordinate) Parameter'),ht(r.y,'"y" (Y Coordinate) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x,y:r.y};break;case"OKP":ht(r.crv,'"crv" (Subtype of Key Pair) Parameter'),ht(r.x,'"x" (Public Key) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x};break;case"RSA":ht(r.e,'"e" (Exponent) Parameter'),ht(r.n,'"n" (Modulus) Parameter'),n={e:r.e,kty:r.kty,n:r.n};break;case"oct":ht(r.k,'"k" (Key Value) Parameter'),n={k:r.k,kty:r.kty};break;default:throw new w('"kty" (Key Type) Parameter missing or unsupported')}const o=p(JSON.stringify(n));return g(await ee(t,o))}async function gt(e,t){t??="sha256";const r=await mt(e,t);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${t.slice(-3)}:${r}`}async function yt(e,t){const r={...e,...t?.header};if(!Y(r.jwk))throw new _('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const n=await Pe({...r.jwk,ext:!0},r.alg);if(n instanceof Uint8Array||"public"!==n.type)throw new _('"jwk" (JSON Web Key) Header Parameter must be a public key');return n}function vt(e){return Y(e)}class bt{#y;#v=new WeakMap;constructor(e){if(!function(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(vt)}(e))throw new I("JSON Web Key Set malformed");this.#y=structuredClone(e)}jwks(){return this.#y}async getKey(e,t){const{alg:r,kid:n}={...e,...t?.header},o=function(e){switch("string"==typeof e&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new w('Unsupported "alg" value for a JSON Web Key Set')}}(r),i=this.#y.keys.filter(e=>{let t=o===e.kty;if(t&&"string"==typeof n&&(t=n===e.kid),!t||"string"!=typeof e.alg&&"AKP"!==o||(t=r===e.alg),t&&"string"==typeof e.use&&(t="sig"===e.use),t&&Array.isArray(e.key_ops)&&(t=e.key_ops.includes("verify")),t)switch(r){case"ES256":t="P-256"===e.crv;break;case"ES384":t="P-384"===e.crv;break;case"ES512":t="P-521"===e.crv;break;case"Ed25519":case"EdDSA":t="Ed25519"===e.crv}return t}),{0:a,length:s}=i;if(0===s)throw new x;if(1!==s){const e=new O,t=this.#v;throw e[Symbol.asyncIterator]=async function*(){for(const e of i)try{yield await Et(t,e,r)}catch{}},e}return Et(this.#v,a,r)}}async function Et(e,t,r){const n=e.get(t)||e.set(t,{}).get(t);if(void 0===n[r]){const e=await Pe({...t,ext:!0},r);if(e instanceof Uint8Array||"public"!==e.type)throw new I("JSON Web Key Set members must be public keys");n[r]=e}return n[r]}function wt(e){const t=new bt(e),r=async(e,r)=>t.getKey(e,r);return Object.defineProperties(r,{jwks:{value:()=>structuredClone(t.jwks()),enumerable:!1,configurable:!1,writable:!1}}),r}let St;"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(St="jose/v6.1.3");const At=Symbol(),_t=Symbol();class Pt{#b;#E;#w;#S;#A;#_;#P;#C;#I;#x;constructor(e,t){if(!(e instanceof URL))throw new TypeError("url must be an instance of URL");var r,n;this.#b=new URL(e.href),this.#E="number"==typeof t?.timeoutDuration?t?.timeoutDuration:5e3,this.#w="number"==typeof t?.cooldownDuration?t?.cooldownDuration:3e4,this.#S="number"==typeof t?.cacheMaxAge?t?.cacheMaxAge:6e5,this.#P=new Headers(t?.headers),St&&!this.#P.has("User-Agent")&&this.#P.set("User-Agent",St),this.#P.has("accept")||(this.#P.set("accept","application/json"),this.#P.append("accept","application/jwk-set+json")),this.#C=t?.[At],void 0!==t?.[_t]&&(this.#x=t?.[_t],r=t?.[_t],n=this.#S,"object"==typeof r&&null!==r&&"uat"in r&&"number"==typeof r.uat&&!(Date.now()-r.uat>=n)&&"jwks"in r&&Y(r.jwks)&&Array.isArray(r.jwks.keys)&&Array.prototype.every.call(r.jwks.keys,Y)&&(this.#A=this.#x.uat,this.#I=wt(this.#x.jwks)))}pendingFetch(){return!!this.#_}coolingDown(){return"number"==typeof this.#A&&Date.now()<this.#A+this.#w}fresh(){return"number"==typeof this.#A&&Date.now()<this.#A+this.#S}jwks(){return this.#I?.jwks()}async getKey(e,t){this.#I&&this.fresh()||await this.reload();try{return await this.#I(e,t)}catch(r){if(r instanceof x&&!1===this.coolingDown())return await this.reload(),this.#I(e,t);throw r}}async reload(){this.#_&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#_=void 0),this.#_||=async function(e,t,r,n=fetch){const o=await n(e,{method:"GET",signal:r,redirect:"manual",headers:t}).catch(e=>{if("TimeoutError"===e.name)throw new k;throw e});if(200!==o.status)throw new y("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await o.json()}catch{throw new y("Failed to parse the JSON Web Key Set HTTP response as JSON")}}(this.#b.href,this.#P,AbortSignal.timeout(this.#E),this.#C).then(e=>{this.#I=wt(e),this.#x&&(this.#x.uat=Date.now(),this.#x.jwks=e),this.#A=Date.now(),this.#_=void 0}).catch(e=>{throw this.#_=void 0,e}),await this.#_}}function Ct(e,t){const r=new Pt(e,t),n=async(e,t)=>r.getKey(e,t);return Object.defineProperties(n,{coolingDown:{get:()=>r.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>r.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>r.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>r.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>r.jwks(),enumerable:!0,configurable:!1,writable:!1}}),n}class It{#f;constructor(e={}){this.#f=new ot(e)}encode(){return`${g(JSON.stringify({alg:"none"}))}.${g(this.#f.data())}.`}setIssuer(e){return this.#f.iss=e,this}setSubject(e){return this.#f.sub=e,this}setAudience(e){return this.#f.aud=e,this}setJti(e){return this.#f.jti=e,this}setNotBefore(e){return this.#f.nbf=e,this}setExpirationTime(e){return this.#f.exp=e,this}setIssuedAt(e){return this.#f.iat=e,this}static decode(e,t){if("string"!=typeof e)throw new P("Unsecured JWT must be a string");const{0:r,1:n,2:o,length:i}=e.split(".");if(3!==i||""!==o)throw new P("Invalid Unsecured JWT");let s;try{if(s=JSON.parse(a.decode(m(r))),"none"!==s.alg)throw new Error}catch{throw new P("Invalid Unsecured JWT")}return{payload:nt(s,m(n),t),header:s}}}function xt(e){let t;if("string"==typeof e){const r=e.split(".");3!==r.length&&5!==r.length||([t]=r)}else if("object"==typeof e&&e){if(!("protected"in e))throw new TypeError("Token does not contain a Protected Header");t=e.protected}try{if("string"!=typeof t||!t)throw new Error;const e=JSON.parse(a.decode(m(t)));if(!Y(e))throw new Error;return e}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}function Ot(e){if("string"!=typeof e)throw new P("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:r}=e.split(".");if(5===r)throw new P("Only JWTs using Compact JWS serialization can be decoded");if(3!==r)throw new P("Invalid JWT");if(!t)throw new P("JWTs must contain a payload");let n,o;try{n=m(t)}catch{throw new P("Failed to base64url decode the payload")}try{o=JSON.parse(a.decode(n))}catch{throw new P("Failed to parse the decoded payload as JSON")}if(!Y(o))throw new P("Invalid JWT Claims Set");return o}function kt(e){const t=e?.modulusLength??2048;if("number"!=typeof t||t<2048)throw new w("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return t}async function Tt(e,t){let r,n;switch(e){case"PS256":case"PS384":case"PS512":r={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:kt(t)},n=["sign","verify"];break;case"RS256":case"RS384":case"RS512":r={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:kt(t)},n=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":r={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:kt(t)},n=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":r={name:"ECDSA",namedCurve:"P-256"},n=["sign","verify"];break;case"ES384":r={name:"ECDSA",namedCurve:"P-384"},n=["sign","verify"];break;case"ES512":r={name:"ECDSA",namedCurve:"P-521"},n=["sign","verify"];break;case"Ed25519":case"EdDSA":n=["sign","verify"],r={name:"Ed25519"};break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":n=["sign","verify"],r={name:e};break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{n=["deriveBits"];const e=t?.crv??"P-256";switch(e){case"P-256":case"P-384":case"P-521":r={name:"ECDH",namedCurve:e};break;case"X25519":r={name:"X25519"};break;default:throw new w("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519")}break}default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(r,t?.extractable??!1,n)}async function Nt(e,t){let r,n,o;switch(e){case"HS256":case"HS384":case"HS512":r=parseInt(e.slice(-3),10),n={name:"HMAC",hash:`SHA-${r}`,length:r},o=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return r=parseInt(e.slice(-3),10),crypto.getRandomValues(new Uint8Array(r>>3));case"A128KW":case"A192KW":case"A256KW":r=parseInt(e.slice(1,4),10),n={name:"AES-KW",length:r},o=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":r=parseInt(e.slice(1,4),10),n={name:"AES-GCM",length:r},o=["encrypt","decrypt"];break;default:throw new w('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(n,t?.extractable??!1,o)}const jt="WebCryptoAPI"},25279(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveSignInUsername=function(e){const{dispatch:t}=n.signInStore;t({type:"SET_USERNAME",value:e})};const n=r(33826)},25343(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthenticationHelper=void 0;const n=r(60732),o=r(74008),i=r(76396),a=r(39902),s=r(82639),c=r(17313);t.getAuthenticationHelper=async e=>{const t=new o.BigInteger(a.INIT_N,16),r=new o.BigInteger("2",16),s=u(),c=await(0,i.calculateA)({a:s,g:r,N:t});return new n.AuthenticationHelper({userPoolName:e,a:s,g:r,A:c,N:t})};const u=()=>{const e=(0,s.getHexFromBytes)((0,c.getRandomBytes)(128));return new o.BigInteger(e,16)}},25445(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWebWorker=void 0,t.isWebWorker=()=>{if("undefined"==typeof self)return!1;const e=self;return void 0!==e.WorkerGlobalScope&&self instanceof e.WorkerGlobalScope}},25926(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendUserAttributeVerificationCode=void 0;const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(17238),c=r(35456),u=r(28228);t.sendUserAttributeVerificationCode=async e=>{const{userAttributeKey:t,options:r}=e,l=n.Amplify.getConfig().Auth?.Cognito,d=r?.clientMetadata;(0,o.assertTokenProviderConfig)(l);const{userPoolEndpoint:p,userPoolId:f}=l,{tokens:h}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,i.assertAuthTokens)(h);const m=(0,c.createGetUserAttributeVerificationCodeClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:p})}),{CodeDeliveryDetails:g}=await m({region:(0,a.getRegionFromUserPoolId)(f),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.SendUserAttributeVerificationCode)},{AccessToken:h.accessToken.toString(),ClientMetadata:d,AttributeName:t}),{DeliveryMedium:y,AttributeName:v,Destination:b}={...g};return{destination:b,deliveryMedium:y,attributeName:v}}},26060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCancellableOperation=function(e,t,r,a){const s=t.signal;let c;if(null!=a){if(a<0)throw new Error("Timeout must be a non-negative number");setTimeout(()=>{c="TimeoutError",t.abort(c)},a)}const u=async()=>{try{const t=await e();if(t.statusCode>=300)throw await(0,o.parseRestApiServiceError)(t);return t}catch(e){if("AbortError"===e.name||!0===s?.aborted){if(c&&"TimeoutError"===c){const e=new Error(`Request timeout after ${a}ms`);throw e.name="TimeoutError",i.logger.debug(e),e}{const t=c??s.reason,r=new n.CanceledError({...t&&{message:t},underlyingError:e,recoverySuggestion:"The API request was explicitly canceled. If this is not intended, validate if you called the `cancel()` function on the API request erroneously."});throw i.logger.debug(r),r}}throw i.logger.debug(e),e}};if("internal"===r)return u();{const e=e=>{!0!==s.aborted&&(t.abort(e),e&&s.reason!==e&&(c=e))};return{response:u(),cancel:e}}};const n=r(59645),o=r(70352),i=r(42811)},26346(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithSRP=async function(e){const{username:t,password:r}=e,m=n.Amplify.getConfig().Auth?.Cognito,g={loginId:t,authFlowType:"USER_SRP_AUTH"};(0,o.assertTokenProviderConfig)(m);const y=e.options?.clientMetadata;(0,a.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptySignInUsername),(0,a.assertValidationError)(!!r,i.AuthValidationErrorCode.EmptySignInPassword);try{const{ChallengeName:e,ChallengeParameters:n,AuthenticationResult:o,Session:i}=await(0,c.handleUserSRPAuthFlow)(t,r,y,m,d.tokenOrchestrator),a=(0,c.getActiveSignInUsername)(t);return(0,u.setActiveSignInState)({signInSession:i,username:a,challengeName:e,signInDetails:g}),o?(await(0,l.cacheCognitoTokens)({username:a,...o,NewDeviceMetadata:await(0,f.getNewDeviceMetadata)({userPoolId:m.userPoolId,userPoolEndpoint:m.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:g}),(0,u.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),(0,h.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:e,challengeParameters:n})}catch(e){(0,u.resetActiveSignInState)(),(0,h.resetAutoSignIn)(),(0,s.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(73031),c=r(78040),u=r(27861),l=r(55794),d=r(4870),p=r(84539),f=r(66542),h=r(19578)},26404(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.popNumber=t.popScheduler=t.popResultSelector=void 0;var n=r(10281),o=r(68596);function i(e){return e[e.length-1]}t.popResultSelector=function(e){return n.isFunction(i(e))?e.pop():void 0},t.popScheduler=function(e){return o.isScheduler(i(e))?e.pop():void 0},t.popNumber=function(e,t){return"number"==typeof i(e)?e.pop():t}},26420(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appsyncRequest=async function(e,t,r={},l,d){const{region:p,appSyncGraphqlEndpoint:f,authenticationType:h,query:m,variables:g}=t;if(!f)throw new Error("No endpoint");const{withCredentials:y}=(0,i.resolveLibraryOptions)(e),v=await async function(e,t,r,o){const{apiKey:a,appSyncGraphqlEndpoint:c,authenticationType:l,query:d,variables:p,authToken:f}=t,{headers:h}=(0,i.resolveLibraryOptions)(e);let m;if("function"==typeof r){const e={method:"POST",url:new n.AmplifyUrl(c).toString(),queryString:d};m=await r(e)}else m=r;f&&(m={...m,Authorization:f});return{...await(0,s.headerBasedAuth)(e,l,a,m),...h&&await h({query:d,variables:p}),...m,[u]:(0,n.getAmplifyUserAgent)(o)}}(e,t,r,d),b={channel:m,events:g},E=["apiKey","none"].includes(h)?void 0:{service:"appsync",region:p},{body:w}=await(0,o.post)(e,{url:new n.AmplifyUrl(f),options:{headers:v,body:b,signingServiceInfo:E,withCredentials:y},abortController:l}),S=await w.json();if((0,c.isGraphQLResponseWithErrors)(S))throw(0,a.repackageUnauthorizedError)(S);return S};const n=r(22651),o=r(64684),i=r(93812),a=r(90077),s=r(95356),c=r(47197),u="x-amz-user-agent"},26569(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishLast=void 0;var n=r(5130),o=r(14359);t.publishLast=function(){return function(e){var t=new n.AsyncSubject;return new o.ConnectableObservable(e,function(){return t})}}},26610(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateRequestToBeCancellable=t.cancel=t.post=void 0;const n=r(41723),o=r(45977),i=r(99892),a=new WeakMap;t.post=(e,{url:t,options:r,abortController:s})=>{const c=s??new AbortController,u=(0,n.createCancellableOperation)(async()=>(0,i.transferHandler)(e,{url:t,method:"POST",...r,abortSignal:c.signal,retryStrategy:{strategy:"jittered-exponential-backoff"}},o.isIamAuthApplicableForGraphQL,r?.signingServiceInfo),c,"internal").finally(()=>{a.delete(u)});return u},t.cancel=(e,t)=>{const r=a.get(e);return!!r&&(r.abort(t),t&&r.signal.reason!==t&&(r.signal.reason=t),!0)},t.updateRequestToBeCancellable=(e,t)=>{a.set(e,t)}},26680(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=void 0;var n=r(48051),o=r(10281);t.throwError=function(e,t){var r=o.isFunction(e)?e:function(){return e},i=function(e){return e.error(r())};return new n.Observable(t?function(e){return t.schedule(i,0,e)}:i)}},26744(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairwise=void 0;var n=r(65212),o=r(17214);t.pairwise=function(){return n.operate(function(e,t){var r,n=!1;e.subscribe(o.createOperatorSubscriber(t,function(e){var o=r;r=e,n&&t.next([o,e]),n=!0}))})}},26749(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var i=r(11415),a=r(65212);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.operate(function(t,r){i.zip.apply(void 0,o([t],n(e))).subscribe(r)})}},26810(e,t,r){"use strict";r.d(t,{D:()=>i});var n=r(51609),o=r(49178);function i(e){const t=n.Children.toArray(e);return 1===t.length&&(0,o.v)(t[0])?t[0]:null}},26872(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;var n=r(65212),o=r(17214);t.map=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){n.next(e.call(t,r,i++))}))})}},26886(e,t,r){"use strict";r.d(t,{U9:()=>a,YZ:()=>u});var n=r(84210),o=r(84597),i=r(16736);const a="undefined"!=typeof Symbol?Symbol("amplify_default"):"@@amplify_default",s=new n.C("Hub");class c{constructor(e){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}_remove(e,t){const r=this.listeners.get(e);r?this.listeners.set(e,[...r.filter(({callback:e})=>e!==t)]):s.warn(`No listeners for ${e}`)}dispatch(e,t,r,n){"string"==typeof e&&this.protectedChannels.indexOf(e)>-1&&(n===a||s.warn(`WARNING: ${e} is protected and dispatching on it can have unintended consequences`));const o={channel:e,payload:{...t},source:r,patternInfo:[]};try{this._toListeners(o)}catch(e){s.error(e)}}listen(e,t,r="noname"){let n;if("function"!=typeof t)throw new i.x({name:o.d1,message:"No callback supplied to Hub"});n=t;let a=this.listeners.get(e);return a||(a=[],this.listeners.set(e,a)),a.push({name:r,callback:n}),()=>{this._remove(e,n)}}_toListeners(e){const{channel:t,payload:r}=e,n=this.listeners.get(t);n&&n.forEach(n=>{s.debug(`Dispatching to ${t} with `,r);try{n.callback(e)}catch(e){s.error(e)}})}}const u=new c("__default__");new c("internal-hub")},26920(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromEventPattern=void 0;var n=r(48051),o=r(10281),i=r(13916);t.fromEventPattern=function e(t,r,a){return a?e(t,r).pipe(i.mapOneOrManyArgs(a)):new n.Observable(function(e){var n=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1===t.length?t[0]:t)},i=t(n);return o.isFunction(r)?function(){return r(n,i)}:void 0})}},26967(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmSignUp=async function(e){const{username:t,confirmationCode:r,options:h}=e,m=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(m);const{userPoolId:g,userPoolClientId:y,userPoolEndpoint:v}=m,b=h?.clientMetadata;(0,i.assertValidationError)(!!t,a.AuthValidationErrorCode.EmptyConfirmSignUpUsername),(0,i.assertValidationError)(!!r,a.AuthValidationErrorCode.EmptyConfirmSignUpCode);const E=(0,u.getUserContextData)({username:t,userPoolId:g,userPoolClientId:y}),w=(0,l.createConfirmSignUpClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:v})}),{Session:S}=await w({region:(0,s.getRegionFromUserPoolId)(m.userPoolId),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.ConfirmSignUp)},{Username:t,ConfirmationCode:r,ClientMetadata:b,ForceAliasCreation:h?.forceAliasCreation,ClientId:m.userPoolClientId,UserContextData:E});return new Promise((e,r)=>{try{const r={isSignUpComplete:!0,nextStep:{signUpStep:"DONE"}},n=p.autoSignInStore.getState();if(!n.active||n.username!==t)return e(r),void(0,f.resetAutoSignIn)();p.autoSignInStore.dispatch({type:"SET_SESSION",value:S});const i=o.HubInternal.listen("auth-internal",({payload:t})=>{"autoSignIn"===t.event&&(e({isSignUpComplete:!0,nextStep:{signUpStep:"COMPLETE_AUTO_SIGN_IN"}}),i())});o.HubInternal.dispatch("auth-internal",{event:"confirmSignUp",data:r})}catch(e){r(e)}})};const n=r(56547),o=r(22651),i=r(58765),a=r(49129),s=r(62639),c=r(17238),u=r(99369),l=r(35456),d=r(28228),p=r(33826),f=r(19578)},26974(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityPoolEndpointResolver=void 0;const n=r(7884),o=r(22651),i=r(17943);t.cognitoIdentityPoolEndpointResolver=({region:e})=>({url:new o.AmplifyUrl(`https://${i.COGNITO_IDENTITY_SERVICE_NAME}.${e}.${(0,n.getDnsSuffix)(e)}`)})},27155(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityTransferHandler=void 0;const n=r(7884),o=r(39236),i=r(30341);t.cognitoIdentityTransferHandler=(0,o.composeTransferHandler)(n.unauthenticatedHandler,[i.createDisableCacheMiddleware])},27287(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasskeyError=void 0;const n=r(22651),o=r(54129);t.handlePasskeyError=e=>{if(e instanceof Error){if("AbortError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.PasskeyOperationAborted];return new o.PasskeyError({name:o.PasskeyErrorCode.PasskeyOperationAborted,message:t,recoverySuggestion:r,underlyingError:e})}if("SecurityError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.RelyingPartyMismatch];return new o.PasskeyError({name:o.PasskeyErrorCode.RelyingPartyMismatch,message:t,recoverySuggestion:r,underlyingError:e})}}return new o.PasskeyError({name:n.AmplifyErrorCode.Unknown,message:"An unknown error has occurred.",underlyingError:e})}},27360(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListDevicesClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createListDevicesClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ListDevices"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},27573(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_MAX_DELAY_MS=t.AMZ_SDK_REQUEST_HEADER=t.AMZ_SDK_INVOCATION_ID_HEADER=t.DEFAULT_RETRY_ATTEMPTS=void 0,t.DEFAULT_RETRY_ATTEMPTS=3,t.AMZ_SDK_INVOCATION_ID_HEADER="amz-sdk-invocation-id",t.AMZ_SDK_REQUEST_HEADER="amz-sdk-request",t.DEFAULT_MAX_DELAY_MS=3e5},27723(e){"use strict";e.exports=window.wp.i18n},27745(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31635);n.__exportStar(r(16534),t),n.__exportStar(r(61558),t),n.__exportStar(r(33148),t),n.__exportStar(r(91276),t)},27861(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persistSignInState=t.signInStore=t.resetActiveSignInState=void 0,t.setActiveSignInState=function(e){t.signInStore.dispatch({type:"SET_SIGN_IN_STATE",value:e})};const n=r(56547),o="CognitoSignInState",i={username:`${o}.username`,challengeName:`${o}.challengeName`,signInSession:`${o}.signInSession`,expiry:`${o}.expiry`};t.resetActiveSignInState=()=>{t.signInStore.dispatch({type:"RESET_STATE"})};const a=()=>{for(const e of Object.values(i))n.syncSessionStorage.removeItem(e)};t.signInStore=(e=>{let t=e({username:void 0,challengeName:void 0,signInSession:void 0},{type:"SET_INITIAL_STATE"});return{getState:()=>t,dispatch:r=>{t=e(t,r)}}})((e,r)=>{switch(r.type){case"SET_SIGN_IN_SESSION":return(0,t.persistSignInState)({signInSession:r.value}),{...e,signInSession:r.value};case"SET_SIGN_IN_STATE":return(0,t.persistSignInState)(r.value),{...r.value};case"SET_CHALLENGE_NAME":return(0,t.persistSignInState)({challengeName:r.value}),{...e,challengeName:r.value};case"SET_USERNAME":return(0,t.persistSignInState)({username:r.value}),{...e,username:r.value};case"SET_INITIAL_STATE":return(()=>{const e=n.syncSessionStorage.getItem(i.expiry);return!e||Number(e)<=Date.now()?(a(),{username:void 0,challengeName:void 0,signInSession:void 0}):{username:n.syncSessionStorage.getItem(i.username)??void 0,challengeName:n.syncSessionStorage.getItem(i.challengeName)??void 0,signInSession:n.syncSessionStorage.getItem(i.signInSession)??void 0}})();case"RESET_STATE":return a(),{username:void 0,challengeName:void 0,signInSession:void 0};default:return e}}),t.persistSignInState=({challengeName:e,signInSession:t,username:r})=>{r&&n.syncSessionStorage.setItem(i.username,r),e&&n.syncSessionStorage.setItem(i.challengeName,e),t&&(n.syncSessionStorage.setItem(i.signInSession,t),n.syncSessionStorage.setItem(i.expiry,String(Date.now()+18e4)))}},28008(e,t,r){"use strict";r.d(t,{t:()=>T});var n=r(10790),o=r(66284),i=r(61617);function a(e,t){return r=>{if("string"!=typeof r||0===r.trim().length)throw new Error(t);return`${e}-${r}`}}r(51609);var s=r(56324),c=r(59396),u=r(86344),l=r(55488),d=r(56644),p=r(46100),f=r(52837),h=r(11507),m=r(2412),g=r(46798);const[y,v]=(0,g.F)("Tabs component was not found in the tree");var b={root:"m_89d60db1","list--default":"m_576c9d4",list:"m_89d33d6d",tab:"m_4ec4dce6",panel:"m_b0c91715",tabSection:"m_fc420b1f",tabLabel:"m_42bbd1ae","tab--default":"m_539e827b","list--outline":"m_6772fbd5","tab--outline":"m_b59ab47c","tab--pills":"m_c3381914"};const E=(0,m.P9)((e,t)=>{const r=(0,p.Y)("TabsList",null,e),{children:o,className:i,grow:a,justify:s,classNames:c,styles:u,style:l,mod:d,...f}=r,m=v();return(0,n.jsx)(h.a,{...f,...m.getStyles("list",{className:i,style:l,classNames:c,styles:u,props:r,variant:m.variant}),ref:t,role:"tablist",variant:m.variant,mod:[{grow:a,orientation:m.orientation,placement:"vertical"===m.orientation&&m.placement,inverted:m.inverted},d],"aria-orientation":m.orientation,__vars:{"--tabs-justify":s},children:o})});E.classes=b,E.displayName="@mantine/core/TabsList";const w=(0,m.P9)((e,t)=>{const r=(0,p.Y)("TabsPanel",null,e),{children:o,className:i,value:a,classNames:s,styles:c,style:u,mod:l,keepMounted:d,...f}=r,m=v(),g=m.value===a,y=m.keepMounted||d||g?o:null;return(0,n.jsx)(h.a,{...m.getStyles("panel",{className:i,classNames:s,styles:c,style:[u,g?void 0:{display:"none"}],props:r}),ref:t,mod:[{orientation:m.orientation},l],role:"tabpanel",id:m.getPanelId(a),"aria-labelledby":m.getTabId(a),...f,children:y})});function S(e,t){let r=e;for(;(r=r.parentElement)&&!r.matches(t););return r}function A({parentSelector:e,siblingSelector:t,onKeyDown:r,loop:n=!0,activateOnFocus:o=!1,dir:i="rtl",orientation:a}){return s=>{r?.(s);const c=Array.from(S(s.currentTarget,e)?.querySelectorAll(t)||[]).filter(t=>function(e,t,r){return S(e,r)===S(t,r)}(s.currentTarget,t,e)),u=c.findIndex(e=>s.currentTarget===e),l=function(e,t,r){for(let r=e+1;r<t.length;r+=1)if(!t[r].disabled)return r;if(r)for(let e=0;e<t.length;e+=1)if(!t[e].disabled)return e;return e}(u,c,n),d=function(e,t,r){for(let r=e-1;r>=0;r-=1)if(!t[r].disabled)return r;if(r)for(let e=t.length-1;e>-1;e-=1)if(!t[e].disabled)return e;return e}(u,c,n),p="rtl"===i?d:l,f="rtl"===i?l:d;switch(s.key){case"ArrowRight":"horizontal"===a&&(s.stopPropagation(),s.preventDefault(),c[p].focus(),o&&c[p].click());break;case"ArrowLeft":"horizontal"===a&&(s.stopPropagation(),s.preventDefault(),c[f].focus(),o&&c[f].click());break;case"ArrowUp":"vertical"===a&&(s.stopPropagation(),s.preventDefault(),c[d].focus(),o&&c[d].click());break;case"ArrowDown":"vertical"===a&&(s.stopPropagation(),s.preventDefault(),c[l].focus(),o&&c[l].click());break;case"Home":s.stopPropagation(),s.preventDefault(),!c[0].disabled&&c[0].focus();break;case"End":{s.stopPropagation(),s.preventDefault();const e=c.length-1;!c[e].disabled&&c[e].focus();break}}}}w.classes=b,w.displayName="@mantine/core/TabsPanel";var _=r(1101),P=r(82820),C=r(46076);const I=(0,m.P9)((e,t)=>{const r=(0,p.Y)("TabsTab",null,e),{className:o,children:i,rightSection:a,leftSection:s,value:c,onClick:l,onKeyDown:d,disabled:f,color:h,style:m,classNames:g,styles:y,vars:b,mod:E,tabIndex:w,...S}=r,I=(0,_.xd)(),{dir:x}=(0,P.jH)(),O=v(),k=c===O.value,T={classNames:g,styles:y,props:r};return(0,n.jsxs)(C.N,{...O.getStyles("tab",{className:o,style:m,variant:O.variant,...T}),disabled:f,unstyled:O.unstyled,variant:O.variant,mod:[{active:k,disabled:f,orientation:O.orientation,inverted:O.inverted,placement:"vertical"===O.orientation&&O.placement},E],ref:t,role:"tab",id:O.getTabId(c),"aria-selected":k,tabIndex:void 0!==w?w:k||null===O.value?0:-1,"aria-controls":O.getPanelId(c),onClick:e=>{O.onChange(O.allowTabDeactivation&&c===O.value?null:c),l?.(e)},__vars:{"--tabs-color":h?(0,u.r)(h,I):void 0},onKeyDown:A({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:O.activateTabWithKeyboard,loop:O.loop,orientation:O.orientation||"horizontal",dir:x,onKeyDown:d}),...S,children:[s&&(0,n.jsx)("span",{...O.getStyles("tabSection",T),"data-position":"left",children:s}),i&&(0,n.jsx)("span",{...O.getStyles("tabLabel",T),children:i}),a&&(0,n.jsx)("span",{...O.getStyles("tabSection",T),"data-position":"right",children:a})]})});I.classes=b,I.displayName="@mantine/core/TabsTab";const x="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",O={keepMounted:!0,orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,variant:"default",placement:"left"},k=(0,c.V)((e,{radius:t,color:r,autoContrast:n})=>({root:{"--tabs-radius":(0,s.nJ)(t),"--tabs-color":(0,u.r)(r,e),"--tabs-text-color":(0,d.v)(n,e)?(0,l.w)({color:r,theme:e,autoContrast:n}):void 0}})),T=(0,m.P9)((e,t)=>{const r=(0,p.Y)("Tabs",O,e),{defaultValue:s,value:c,onChange:u,orientation:l,children:d,loop:m,id:g,activateTabWithKeyboard:v,allowTabDeactivation:E,variant:w,color:S,radius:A,inverted:_,placement:P,keepMounted:C,classNames:I,styles:T,unstyled:N,className:j,style:R,vars:M,autoContrast:D,mod:U,attributes:F,...L}=r,z=(0,o.B)(g),[V,H]=(0,i.Z)({value:c,defaultValue:s,finalValue:null,onChange:u}),$=(0,f.I)({name:"Tabs",props:r,classes:b,className:j,style:R,classNames:I,styles:T,unstyled:N,attributes:F,vars:M,varsResolver:k});return(0,n.jsx)(y,{value:{placement:P,value:V,orientation:l,id:z,loop:m,activateTabWithKeyboard:v,getTabId:a(`${z}-tab`,x),getPanelId:a(`${z}-panel`,x),onChange:H,allowTabDeactivation:E,variant:w,color:S,radius:A,inverted:_,keepMounted:C,unstyled:N,getStyles:$},children:(0,n.jsx)(h.a,{ref:t,id:z,variant:w,mod:[{orientation:l,inverted:"horizontal"===l&&_,placement:"vertical"===l&&P},U],...$("root"),...L,children:d})})});T.classes=b,T.displayName="@mantine/core/Tabs",T.Tab=I,T.Panel=w,T.List=E},28228(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCognitoIdentityPoolEndpointResolver=t.createCognitoUserPoolEndpointResolver=void 0;var n=r(29337);Object.defineProperty(t,"createCognitoUserPoolEndpointResolver",{enumerable:!0,get:function(){return n.createCognitoUserPoolEndpointResolver}});var o=r(66776);Object.defineProperty(t,"createCognitoIdentityPoolEndpointResolver",{enumerable:!0,get:function(){return o.createCognitoIdentityPoolEndpointResolver}})},28261(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.authenticatedHandler=void 0;const n=r(7884),o=r(39236);t.authenticatedHandler=(0,o.composeTransferHandler)(n.fetchTransferHandler,[n.userAgentMiddlewareFactory,n.retryMiddlewareFactory,n.signingMiddlewareFactory])},28269(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Amplify=t.AmplifyClass=void 0;const n=r(4915),o=r(72685),i=r(22651),a=r(30552),s=r(59392);class c{constructor(){this.oAuthListener=void 0,this.isConfigured=!1,this.resourcesConfig={},this.libraryOptions={},this.Auth=new a.AuthClass}configure(e,t){const r=(0,i.parseAmplifyConfig)(e);this.resourcesConfig=r,t&&(this.libraryOptions=t),this.resourcesConfig=(0,o.deepFreeze)(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),n.Hub.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",n.AMPLIFY_SYMBOL),this.notifyOAuthListener(),this.isConfigured=!0}getConfig(){return this.isConfigured||console.warn("Amplify has not been configured. Please call Amplify.configure() before using this service."),this.resourcesConfig}[s.ADD_OAUTH_LISTENER](e){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth?e(this.resourcesConfig.Auth?.Cognito):this.oAuthListener=e}notifyOAuthListener(){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth&&this.oAuthListener&&(this.oAuthListener(this.resourcesConfig.Auth?.Cognito),this.oAuthListener=void 0)}}t.AmplifyClass=c,t.Amplify=new c},28298(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CookieStorage=void 0;const n=r(31635).__importDefault(r(2733));t.CookieStorage=class{constructor(e={}){const{path:t,domain:r,expires:n,sameSite:o,secure:i}=e;if(this.domain=r,this.path=t||"/",this.expires=Object.prototype.hasOwnProperty.call(e,"expires")?n:365,this.secure=!Object.prototype.hasOwnProperty.call(e,"secure")||i,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!o||!["strict","lax","none"].includes(o))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===o&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=o}}async setItem(e,t){n.default.set(e,t,this.getData())}async getItem(e){return n.default.get(e)??null}async removeItem(e){n.default.remove(e,this.getData())}async clear(){const e=n.default.get(),t=Object.keys(e).map(e=>this.removeItem(e));await Promise.all(t)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}},28619(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeSchedule=void 0,t.executeSchedule=function(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}},28891(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenOrchestrator=void 0;const n=r(56547),o=r(22651),i=r(73031),a=r(43518),s=r(80227),c=r(48105);t.TokenOrchestrator=class{constructor(){this.waitForInflightOAuth=(0,o.isBrowser)()?async()=>{if(await s.oAuthStore.loadOAuthInFlight())return this.inflightPromise||(this.inflightPromise=new Promise((e,t)=>{(0,c.addInflightPromise)(e)})),this.inflightPromise}:async()=>{}}setAuthConfig(e){s.oAuthStore.setAuthConfig(e.Cognito),this.authConfig=e}setTokenRefresher(e){this.tokenRefresher=e}setAuthTokenStore(e){this.tokenStore=e}getTokenStore(){if(!this.tokenStore)throw new a.AuthError({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new a.AuthError({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(e){this.clientMetadataProvider=e}async getTokens(e){let t;try{(0,o.assertTokenProviderConfig)(this.authConfig?.Cognito)}catch(e){return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,t=await this.getTokenStore().loadTokens();const r=await this.getTokenStore().getLastAuthUser();if(null===t)return null;const n=!!t?.idToken&&(0,o.isTokenExpired)({expiresAt:1e3*(t.idToken?.payload?.exp??0),clockDrift:t.clockDrift??0}),i=(0,o.isTokenExpired)({expiresAt:1e3*(t.accessToken?.payload?.exp??0),clockDrift:t.clockDrift??0});return(e?.forceRefresh||n||i)&&(t=await this.refreshTokens({tokens:t,username:r,clientMetadata:e?.clientMetadata??await(this.clientMetadataProvider?.())}),null===t)?null:{accessToken:t?.accessToken,idToken:t?.idToken,signInDetails:t?.signInDetails}}async refreshTokens({tokens:e,username:t,clientMetadata:r}){try{const{signInDetails:i}=e,a=await this.getTokenRefresher()({tokens:e,authConfig:this.authConfig,username:t,clientMetadata:r});return a.signInDetails=i,await this.setTokens({tokens:a}),n.Hub.dispatch("auth",{event:"tokenRefresh"},"Auth",o.AMPLIFY_SYMBOL),a}catch(e){return this.handleErrors(e)}}handleErrors(e){if((0,i.assertServiceError)(e),this.isAuthenticationError(e)&&this.clearTokens(),n.Hub.dispatch("auth",{event:"tokenRefresh_failure",data:{error:e}},"Auth",o.AMPLIFY_SYMBOL),e.name.startsWith("NotAuthorizedException"))return null;throw e}isAuthenticationError(e){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(t=>e?.name?.startsWith?.(t))}async setTokens({tokens:e}){return this.getTokenStore().storeTokens(e)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(e){return this.getTokenStore().getDeviceMetadata(e)}clearDeviceMetadata(e){return this.getTokenStore().clearDeviceMetadata(e)}setOAuthMetadata(e){return this.getTokenStore().setOAuthMetadata(e)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}},28996(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowToggle=void 0;var o=r(76808),i=r(69879),a=r(65212),s=r(19724),c=r(17214),u=r(5717),l=r(54830);t.windowToggle=function(e,t){return a.operate(function(r,a){var d=[],p=function(e){for(;0<d.length;)d.shift().error(e);a.error(e)};s.innerFrom(e).subscribe(c.createOperatorSubscriber(a,function(e){var r=new o.Subject;d.push(r);var n,f=new i.Subscription;try{n=s.innerFrom(t(e))}catch(e){return void p(e)}a.next(r.asObservable()),f.add(n.subscribe(c.createOperatorSubscriber(a,function(){l.arrRemove(d,r),r.complete(),f.unsubscribe()},u.noop,p)))},u.noop)),r.subscribe(c.createOperatorSubscriber(a,function(e){var t,r,o=d.slice();try{for(var i=n(o),a=i.next();!a.done;a=i.next())a.value.next(e)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},function(){for(;0<d.length;)d.shift().complete();a.complete()},p,function(){for(;0<d.length;)d.shift().unsubscribe()}))})}},29035(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;var n=r(65212),o=r(98183);t.findIndex=function(e,t){return n.operate(o.createFind(e,t,"index"))}},29237(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signRequest=void 0;const n=r(67791),o=r(96640),i=r(15130),a=r(67403);t.signRequest=(e,t)=>{const r=(0,o.getSigningValues)(t),{accessKeyId:s,credentialScope:c,longDate:u,sessionToken:l}=r,d={...e.headers};d[i.HOST_HEADER]=e.url.host,d[i.AMZ_DATE_HEADER]=u,l&&(d[i.TOKEN_HEADER]=l);const p={...e,headers:d},f=(0,a.getSignature)(p,r),h=`Credential=${s}/${c}`,m=`SignedHeaders=${(0,n.getSignedHeaders)(d)}`,g=`Signature=${f}`;return d[i.AUTH_HEADER]=`${i.SHA256_ALGORITHM_IDENTIFIER} ${h}, ${m}, ${g}`,p}},29337(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCognitoUserPoolEndpointResolver=void 0;const n=r(22651),o=r(39877);t.createCognitoUserPoolEndpointResolver=({endpointOverride:e})=>t=>e?{url:new n.AmplifyUrl(e)}:(0,o.cognitoUserPoolEndpointResolver)(t)},29470(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__modelMeta__=void 0,t.__modelMeta__=Symbol()},29512(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMap=void 0;var n=r(67478),o=r(10281);t.concatMap=function(e,t){return o.isFunction(t)?n.mergeMap(e,t,1):n.mergeMap(e,1)}},29531(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},29815(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutex=void 0;var n=r(94684);Object.defineProperty(t,"Mutex",{enumerable:!0,get:function(){return n.Mutex}})},29901(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.awsRealTimeHeaderBasedAuth=void 0;const n=r(56547),o=r(7884),i=r(22651),a=r(57186),s=new n.ConsoleLogger("AWSAppSyncRealTimeProvider Auth"),c=async({host:e})=>{const t=await(0,n.fetchAuthSession)();return{Authorization:t?.tokens?.accessToken?.toString(),host:e}},u=async({apiKey:e,host:t})=>({host:t,"x-amz-date":(new Date).toISOString().replace(/[:-]|\.\d{3}/g,""),"x-api-key":e}),l=async({payload:e,canonicalUri:t,appSyncGraphqlEndpoint:r,region:s})=>{const c={region:s,service:"appsync"},u=(await(0,n.fetchAuthSession)()).credentials,l={url:`${r}${t}`,data:e,method:"POST",headers:{...a.AWS_APPSYNC_REALTIME_HEADERS}};return(0,o.signRequest)({headers:l.headers,method:l.method,url:new i.AmplifyUrl(l.url),body:l.data},{credentials:u,signingRegion:c.region,signingService:c.service}).headers},d=async({host:e,additionalCustomHeaders:t})=>{if(!t?.Authorization)throw new Error("No auth token specified");return{Authorization:t.Authorization,host:e}};t.awsRealTimeHeaderBasedAuth=async({apiKey:e,authenticationType:t,canonicalUri:r,appSyncGraphqlEndpoint:n,region:o,additionalCustomHeaders:a,payload:p})=>{const f={apiKey:u,iam:l,oidc:c,userPool:c,lambda:d,none:d};if(t&&f[t]){const c=f[t],u=n?new i.AmplifyUrl(n).host:void 0,l="apiKey"===t?e:void 0;return s.debug(`Authenticating with ${JSON.stringify(t)}`),await c({payload:p,canonicalUri:r,appSyncGraphqlEndpoint:n,apiKey:l,region:o,host:u,additionalCustomHeaders:a})}s.debug(`Authentication type ${t} not supported`)}},30014(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphQLResultWithError=t.validationErrorMap=t.APIValidationErrorCode=t.assertValidationError=t.GraphQLApiError=void 0;var n=r(69721);Object.defineProperty(t,"GraphQLApiError",{enumerable:!0,get:function(){return n.GraphQLApiError}});var o=r(78335);Object.defineProperty(t,"assertValidationError",{enumerable:!0,get:function(){return o.assertValidationError}});var i=r(19543);Object.defineProperty(t,"APIValidationErrorCode",{enumerable:!0,get:function(){return i.APIValidationErrorCode}}),Object.defineProperty(t,"validationErrorMap",{enumerable:!0,get:function(){return i.validationErrorMap}});var a=r(1058);Object.defineProperty(t,"createGraphQLResultWithError",{enumerable:!0,get:function(){return a.createGraphQLResultWithError}})},30131(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduled=void 0;var n=r(65650),o=r(54530),i=r(34950),a=r(36805),s=r(17873),c=r(80629),u=r(67552),l=r(94975),d=r(12187),p=r(78263),f=r(86297),h=r(95462),m=r(30380);t.scheduled=function(e,t){if(null!=e){if(c.isInteropObservable(e))return n.scheduleObservable(e,t);if(l.isArrayLike(e))return i.scheduleArray(e,t);if(u.isPromise(e))return o.schedulePromise(e,t);if(p.isAsyncIterable(e))return s.scheduleAsyncIterable(e,t);if(d.isIterable(e))return a.scheduleIterable(e,t);if(h.isReadableStreamLike(e))return m.scheduleReadableStreamLike(e,t)}throw f.createInvalidObservableTypeError(e)}},30157(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=async function(e,t){const r=(0,s.configure)();r.authenticationType=(0,s.normalizeAuth)(t?.authMode,r.authenticationType),r.apiKey=t?.apiKey||r.apiKey,r.authToken=t?.authToken||r.authToken,await i.AppSyncEventProvider.connect(r);const n=(0,o.amplifyUuid)();let a;return c.add(n),{subscribe:(t,o)=>{if(!c.has(n))throw new Error("Channel is closed");const u={...r,query:e};return u.authenticationType=(0,s.normalizeAuth)(o?.authMode,u.authenticationType),u.apiKey=o?.apiKey||u.apiKey,u.authToken=o?.authToken||u.authToken,a=i.AppSyncEventProvider.subscribe(u).subscribe(t),a},close:async()=>{a&&a.unsubscribe(),c.delete(n),setTimeout(()=>{0===c.size&&i.AppSyncEventProvider.closeIfNoActiveSubscription()},1e3)},publish:async(t,o)=>{if(!c.has(n))throw new Error("Channel is closed");const a={...r,query:e,variables:t};return a.authenticationType=(0,s.normalizeAuth)(o?.authMode,a.authenticationType),a.apiKey=o?.apiKey||a.apiKey,a.authToken=o?.authToken||a.authToken,i.AppSyncEventProvider.publish(a)}}},t.post=async function(e,t,r){const o=(0,s.configure)();o.authenticationType=(0,s.normalizeAuth)(r?.authMode,o.authenticationType),o.apiKey=r?.apiKey||o.apiKey,o.authToken=r?.authToken||o.authToken;const i="/"===e[0]?e:`/${e}`,c={...o,query:i,variables:(0,s.serializeEvents)(t)},u=new AbortController,l=await(0,a.appsyncRequest)(n.Amplify,c,{},u);if(l.failed?.length>0)return l.failed},t.closeAll=async function(){await i.AppSyncEventProvider.close()};const n=r(56547),o=r(22651),i=r(54511),a=r(26420),s=r(12504),c=new Set},30247(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64UrlToArrayBuffer=t.convertArrayBufferToBase64Url=void 0;var n=r(71690);Object.defineProperty(t,"convertArrayBufferToBase64Url",{enumerable:!0,get:function(){return n.convertArrayBufferToBase64Url}});var o=r(83604);Object.defineProperty(t,"convertBase64UrlToArrayBuffer",{enumerable:!0,get:function(){return o.convertBase64UrlToArrayBuffer}})},30341(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDisableCacheMiddleware=void 0;var n=r(97807);Object.defineProperty(t,"createDisableCacheMiddleware",{enumerable:!0,get:function(){return n.createDisableCacheMiddleware}})},30380(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleReadableStreamLike=void 0;var n=r(17873),o=r(95462);t.scheduleReadableStreamLike=function(e,t){return n.scheduleAsyncIterable(o.readableStreamLikeToAsyncGenerator(e),t)}},30382(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResendConfirmationCodeClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createResendConfirmationCodeClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ResendConfirmationCode"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},30552(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthClass=void 0;const n=new(r(69580).ConsoleLogger)("Auth");t.AuthClass=class{configure(e,t){this.authConfig=e,this.authOptions=t,e&&e.Cognito?.userPoolEndpoint&&n.warn(o("Amazon Cognito User Pool")),e&&e.Cognito?.identityPoolEndpoint&&n.warn(o("Amazon Cognito Identity Pool"))}async fetchAuthSession(e={}){let t,r;const n=await this.getTokens(e);return n?(r=n.accessToken?.payload?.sub,t=await(this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:n,authenticated:!0,forceRefresh:e.forceRefresh}))):t=await(this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:e.forceRefresh})),{tokens:n,credentials:t?.credentials,identityId:t?.identityId,userSub:r}}async clearCredentials(){await(this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId())}async getTokens(e){return await(this.authOptions?.tokenProvider?.getTokens(e))??void 0}};const o=e=>`You are using a custom Amazon ${e} endpoint, ensure the endpoint is correct.`},30632(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfEmpty=void 0;var n=r(59328),o=r(65212),i=r(17214);function a(){return new n.EmptyError}t.throwIfEmpty=function(e){return void 0===e&&(e=a),o.operate(function(t,r){var n=!1;t.subscribe(i.createOperatorSubscriber(r,function(e){n=!0,r.next(e)},function(){return n?r.complete():r.error(e())}))})}},30658(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyTOTPSetup=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userPoolEndpoint:r,userPoolId:p}=t,{code:f,options:h}=e;(0,a.assertValidationError)(!!f,i.AuthValidationErrorCode.EmptyVerifyTOTPSetupCode);const{tokens:m}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,c.assertAuthTokens)(m);const g=(0,l.createVerifySoftwareTokenClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:r})});await g({region:(0,s.getRegionFromUserPoolId)(p),userAgentValue:(0,u.getAuthUserAgentValue)(o.AuthAction.VerifyTOTPSetup)},{AccessToken:m.accessToken.toString(),UserCode:f,FriendlyDeviceName:h?.friendlyDeviceName})};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(62639),c=r(64166),u=r(17238),l=r(35456),d=r(28228)},31179(e,t,r){"use strict";r.d(t,{Z:()=>v});var n=r(10790),o=r(51609),i=r(56324),a=r(59396),s=r(46100),c=r(52837),u=r(18639),l=r(16267),d=r(46798);const[p,f]=(0,d.F)("Card component was not found in tree");var h=r(11507),m={root:"m_e615b15f",section:"m_599a2148"};const g=(0,u.v)((e,t)=>{const r=(0,s.Y)("CardSection",null,e),{classNames:o,className:i,style:a,styles:c,vars:u,withBorder:l,inheritPadding:d,mod:p,...m}=r,g=f();return(0,n.jsx)(h.a,{ref:t,mod:[{"with-border":l,"inherit-padding":d},p],...g.getStyles("section",{className:i,style:a,styles:c,classNames:o}),...m})});g.classes=m,g.displayName="@mantine/core/CardSection";const y=(0,a.V)((e,{padding:t})=>({root:{"--card-padding":(0,i.GY)(t)}})),v=(0,u.v)((e,t)=>{const r=(0,s.Y)("Card",null,e),{classNames:i,className:a,style:u,styles:d,unstyled:f,vars:h,children:v,padding:b,attributes:E,...w}=r,S=(0,c.I)({name:"Card",props:r,classes:m,className:a,style:u,classNames:i,styles:d,unstyled:f,attributes:E,vars:h,varsResolver:y}),A=o.Children.toArray(v),_=A.map((e,t)=>"object"==typeof e&&e&&"type"in e&&e.type===g?(0,o.cloneElement)(e,{"data-first-section":0===t||void 0,"data-last-section":t===A.length-1||void 0}):e);return(0,n.jsx)(p,{value:{getStyles:S},children:(0,n.jsx)(l.t,{ref:t,unstyled:f,...S("root"),...w,children:_})})});v.classes=m,v.displayName="@mantine/core/Card",v.Section=g},31240(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoUserPoolTransferHandler=void 0;const n=r(39236),o=r(7884);t.cognitoUserPoolTransferHandler=(0,n.composeTransferHandler)(o.unauthenticatedHandler,[()=>(e,t)=>async function(t){return t.headers["cache-control"]="no-store",e(t)}])},31245(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var n,o=r(44885),i=r(61587),a=r(26680),s=r(10281);(n=t.NotificationKind||(t.NotificationKind={})).NEXT="N",n.ERROR="E",n.COMPLETE="C";var c=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return u(this,e)},e.prototype.do=function(e,t,r){var n=this,o=n.kind,i=n.value,a=n.error;return"N"===o?null==e?void 0:e(i):"E"===o?null==t?void 0:t(a):null==r?void 0:r()},e.prototype.accept=function(e,t,r){var n;return s.isFunction(null===(n=e)||void 0===n?void 0:n.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this,t=e.kind,r=e.value,n=e.error,s="N"===t?i.of(r):"E"===t?a.throwError(function(){return n}):"C"===t?o.EMPTY:0;if(!s)throw new TypeError("Unexpected notification kind "+t);return s},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function u(e,t){var r,n,o,i=e,a=i.kind,s=i.value,c=i.error;if("string"!=typeof a)throw new TypeError('Invalid notification, missing "kind"');"N"===a?null===(r=t.next)||void 0===r||r.call(t,s):"E"===a?null===(n=t.error)||void 0===n||n.call(t,c):null===(o=t.complete)||void 0===o||o.call(t)}t.Notification=c,t.observeNotification=u},31422(e,t,r){"use strict";r.d(t,{p:()=>F});var n=r(10790),o=r(88149),i=r(51609),a=r(56324),s=r(59396),c=r(46100),u=r(52837),l=r(63733),d=r(11507),p=r(18639),f=r(97986);const[h,m]=(0,f.e)({size:"sm"});var g=r(99274),y=r(2412),v=r(80355);const b=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputClearButton",null,e),{size:o,variant:i,vars:a,classNames:s,styles:u,...l}=r,d=m(),{resolvedClassNames:p,resolvedStyles:f}=(0,g.Y)({classNames:s,styles:u,props:r});return(0,n.jsx)(v.J,{variant:i||"transparent",ref:t,size:o||d?.size||"sm",classNames:p,styles:f,__staticSelector:"InputClearButton",style:{pointerEvents:"all",background:"var(--input-bg)",...l.style},...l})});b.displayName="@mantine/core/InputClearButton";const E={xs:7,sm:8,md:10,lg:12,xl:15};var w=r(37561),S={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};const A=(0,s.V)((e,{size:t})=>({description:{"--input-description-size":void 0===t?void 0:`calc(${(0,a.ny)(t)} - ${(0,o.D)(2)})`}})),_=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputDescription",null,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,vars:p,size:f,__staticSelector:h,__inheritStyles:m=!0,attributes:g,variant:y,...v}=(0,c.Y)("InputDescription",null,r),b=(0,w.e)(),E=(0,u.I)({name:["InputWrapper",h],props:r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:l,attributes:g,rootSelector:"description",vars:p,varsResolver:A}),_=m&&b?.getStyles||E;return(0,n.jsx)(d.a,{component:"p",ref:t,variant:y,size:f,..._("description",b?.getStyles?{className:i,style:a}:void 0),...v})});_.classes=S,_.displayName="@mantine/core/InputDescription";const P=(0,s.V)((e,{size:t})=>({error:{"--input-error-size":void 0===t?void 0:`calc(${(0,a.ny)(t)} - ${(0,o.D)(2)})`}})),C=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputError",null,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,vars:p,size:f,attributes:h,__staticSelector:m,__inheritStyles:g=!0,variant:y,...v}=r,b=(0,u.I)({name:["InputWrapper",m],props:r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:l,attributes:h,rootSelector:"error",vars:p,varsResolver:P}),E=(0,w.e)(),A=g&&E?.getStyles||b;return(0,n.jsx)(d.a,{component:"p",ref:t,variant:y,size:f,...A("error",E?.getStyles?{className:i,style:a}:void 0),...v})});C.classes=S,C.displayName="@mantine/core/InputError";const I={labelElement:"label"},x=(0,s.V)((e,{size:t})=>({label:{"--input-label-size":(0,a.ny)(t),"--input-asterisk-color":void 0}})),O=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputLabel",I,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,vars:p,labelElement:f,size:h,required:m,htmlFor:g,onMouseDown:y,children:v,__staticSelector:b,variant:E,mod:A,attributes:_,...P}=(0,c.Y)("InputLabel",I,r),C=(0,u.I)({name:["InputWrapper",b],props:r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:l,attributes:_,rootSelector:"label",vars:p,varsResolver:x}),O=(0,w.e)(),k=O?.getStyles||C;return(0,n.jsxs)(d.a,{...k("label",O?.getStyles?{className:i,style:a}:void 0),component:f,variant:E,size:h,ref:t,htmlFor:"label"===f?g:void 0,mod:[{required:m},A],onMouseDown:e=>{y?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()},...P,children:[v,m&&(0,n.jsx)("span",{...k("required"),"aria-hidden":!0,children:" *"})]})});O.classes=S,O.displayName="@mantine/core/InputLabel";const k=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputPlaceholder",null,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,vars:p,__staticSelector:f,variant:h,error:m,mod:g,attributes:y,...v}=r,b=(0,u.I)({name:["InputPlaceholder",f],props:r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:l,attributes:y,rootSelector:"placeholder"});return(0,n.jsx)(d.a,{...b("placeholder"),mod:[{error:!!m},g],component:"span",variant:h,ref:t,...v})});k.classes=S,k.displayName="@mantine/core/InputPlaceholder";var T=r(66284);function N(e,{hasDescription:t,hasError:r}){const n=e.findIndex(e=>"input"===e),o=e.slice(0,n),i=e.slice(n+1),a=t&&o.includes("description")||r&&o.includes("error");return{offsetBottom:t&&i.includes("description")||r&&i.includes("error"),offsetTop:a}}const j={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},R=(0,s.V)((e,{size:t})=>({label:{"--input-label-size":(0,a.ny)(t),"--input-asterisk-color":void 0},error:{"--input-error-size":void 0===t?void 0:`calc(${(0,a.ny)(t)} - ${(0,o.D)(2)})`},description:{"--input-description-size":void 0===t?void 0:`calc(${(0,a.ny)(t)} - ${(0,o.D)(2)})`}})),M=(0,y.P9)((e,t)=>{const r=(0,c.Y)("InputWrapper",j,e),{classNames:o,className:a,style:s,styles:l,unstyled:p,vars:f,size:h,variant:m,__staticSelector:g,inputContainer:y,inputWrapperOrder:v,label:b,error:E,description:A,labelProps:P,descriptionProps:I,errorProps:x,labelElement:k,children:M,withAsterisk:D,id:U,required:F,__stylesApiProps:L,mod:z,attributes:V,...H}=r,$=(0,u.I)({name:["InputWrapper",g],props:L||r,classes:S,className:a,style:s,classNames:o,styles:l,unstyled:p,attributes:V,vars:f,varsResolver:R}),W={size:h,variant:m,__staticSelector:g},B=(0,T.B)(U),K="boolean"==typeof D?D:F,G=x?.id||`${B}-error`,q=I?.id||`${B}-description`,Y=B,J=!!E&&"boolean"!=typeof E,Q=!!A,X=`${J?G:""} ${Q?q:""}`,Z=X.trim().length>0?X.trim():void 0,ee=P?.id||`${B}-label`,te=b&&(0,n.jsx)(O,{labelElement:k,id:ee,htmlFor:Y,required:K,...W,...P,children:b},"label"),re=Q&&(0,n.jsx)(_,{...I,...W,size:I?.size||W.size,id:I?.id||q,children:A},"description"),ne=(0,n.jsx)(i.Fragment,{children:y(M)},"input"),oe=J&&(0,i.createElement)(C,{...x,...W,size:x?.size||W.size,key:"error",id:x?.id||G},E),ie=v.map(e=>{switch(e){case"label":return te;case"input":return ne;case"description":return re;case"error":return oe;default:return null}});return(0,n.jsx)(w.D,{value:{getStyles:$,describedBy:Z,inputId:Y,labelId:ee,...N(v,{hasDescription:Q,hasError:J})},children:(0,n.jsx)(d.a,{ref:t,variant:m,size:h,mod:[{error:!!E},z],...$("root"),...H,children:ie})})});M.classes=S,M.displayName="@mantine/core/InputWrapper";const D={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0,size:"sm"},U=(0,s.V)((e,t,r)=>({wrapper:{"--input-margin-top":r.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":r.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":(0,a.YC)(t.size,"input-height"),"--input-fz":(0,a.ny)(t.size),"--input-radius":void 0===t.radius?void 0:(0,a.nJ)(t.radius),"--input-left-section-width":void 0!==t.leftSectionWidth?(0,o.D)(t.leftSectionWidth):void 0,"--input-right-section-width":void 0!==t.rightSectionWidth?(0,o.D)(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?(0,a.YC)(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}})),F=(0,p.v)((e,t)=>{const r=(0,c.Y)("Input",D,e),{classNames:o,className:i,style:a,styles:s,unstyled:p,required:f,__staticSelector:m,__stylesApiProps:g,size:y,wrapperProps:v,error:b,disabled:A,leftSection:_,leftSectionProps:P,leftSectionWidth:C,rightSection:I,rightSectionProps:x,rightSectionWidth:O,rightSectionPointerEvents:k,leftSectionPointerEvents:T,variant:N,vars:j,pointer:R,multiline:M,radius:F,id:L,withAria:z,withErrorStyles:V,mod:H,inputSize:$,attributes:W,__clearSection:B,__clearable:K,__defaultRightSection:G,...q}=r,{styleProps:Y,rest:J}=(0,l.j)(q),Q=(0,w.e)(),X={offsetBottom:Q?.offsetBottom,offsetTop:Q?.offsetTop},Z=(0,u.I)({name:["Input",m],props:g||r,classes:S,className:i,style:a,classNames:o,styles:s,unstyled:p,attributes:W,stylesCtx:X,rootSelector:"wrapper",vars:j,varsResolver:U}),ee=z?{required:f,disabled:A,"aria-invalid":!!b,"aria-describedby":Q?.describedBy,id:Q?.inputId||L}:{},te=function({__clearable:e,__clearSection:t,rightSection:r,__defaultRightSection:o,size:i="sm"}){const a=e&&t;return a&&(r||o)?(0,n.jsxs)("div",{"data-combined-clear-section":!0,style:{display:"flex",gap:2,alignItems:"center",paddingInlineEnd:E[i]},children:[a,r||o]}):null===r?null:r||a||o}({__clearable:K,__clearSection:B,rightSection:I,__defaultRightSection:G,size:y});return(0,n.jsx)(h,{value:{size:y||"sm"},children:(0,n.jsxs)(d.a,{...Z("wrapper"),...Y,...v,mod:[{error:!!b&&V,pointer:R,disabled:A,multiline:M,"data-with-right-section":!!te,"data-with-left-section":!!_},H],variant:N,size:y,children:[_&&(0,n.jsx)("div",{...P,"data-position":"left",...Z("section",{className:P?.className,style:P?.style}),children:_}),(0,n.jsx)(d.a,{component:"input",...J,...ee,ref:t,required:f,mod:{disabled:A,error:!!b&&V},variant:N,__size:$,...Z("input")}),te&&(0,n.jsx)("div",{...x,"data-position":"right",...Z("section",{className:x?.className,style:x?.style}),children:te})]})})});F.classes=S,F.Wrapper=M,F.Label=O,F.Error=C,F.Description=_,F.Placeholder=k,F.ClearButton=b,F.displayName="@mantine/core/Input"},31425(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV1State=void 0;const n=r(52291),o=r(76011),i={};function a(e,t,r){return e.msecs??=-1/0,e.nsecs??=0,t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=r.slice(10,16),e.node[0]|=1,e.clockseq=16383&(r[8]<<8|r[9])),e.msecs=t,e}function s(e,t,r,n,o,i,a=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(i){if(a<0||a+16>i.length)throw new RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`)}else i=new Uint8Array(16),a=0;t??=Date.now(),r??=0,n??=16383&(e[8]<<8|e[9]),o??=e.slice(10,16);const s=(1e4*(268435455&(t+=122192928e5))+r)%4294967296;i[a++]=s>>>24&255,i[a++]=s>>>16&255,i[a++]=s>>>8&255,i[a++]=255&s;const c=t/4294967296*1e4&268435455;i[a++]=c>>>8&255,i[a++]=255&c,i[a++]=c>>>24&15|16,i[a++]=c>>>16&255,i[a++]=n>>>8|128,i[a++]=255&n;for(let e=0;e<6;++e)i[a++]=o[e];return i}t.updateV1State=a,t.default=function(e,t,r){let c;const u=e?._v6??!1;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e)c=s(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r);else{const e=Date.now(),o=(0,n.default)();a(i,e,o),c=s(o,i.msecs,i.nsecs,u?void 0:i.clockseq,u?void 0:i.node,t,r)}return t??(0,o.unsafeStringify)(c)}},31635(e,t,r){"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>M,__assign:()=>i,__asyncDelegator:()=>P,__asyncGenerator:()=>_,__asyncValues:()=>C,__await:()=>A,__awaiter:()=>h,__classPrivateFieldGet:()=>N,__classPrivateFieldIn:()=>R,__classPrivateFieldSet:()=>j,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>U,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>T,__importStar:()=>k,__makeTemplateObject:()=>I,__metadata:()=>f,__param:()=>c,__propKey:()=>d,__read:()=>b,__rest:()=>a,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>l,__setFunctionName:()=>p,__spread:()=>E,__spreadArray:()=>S,__spreadArrays:()=>w,__values:()=>v,default:()=>L});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,d=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),p=!1,f=r.length-1;f>=0;f--){var h={};for(var m in n)h[m]="access"===m?{}:n[m];for(var m in n.access)h.access[m]=n.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,r[f])("accessor"===c?{get:d.get,set:d.set}:d[u],h);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&o.unshift(s)}else(s=a(g))&&("field"===c?o.unshift(s):d[u]=s)}l&&Object.defineProperty(l,n.name,d),p=!0}function l(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}function m(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var g=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function y(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function E(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function S(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function A(e){return this instanceof A?(this.v=e,this):new A(e)}function _(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{(r=o[e](t)).value instanceof A?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function P(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:A(e[n](t)),done:!1}:o?o(t):t}:o}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=v(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,o,(t=e[r](t)).done,t.value)})}}}function I(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var x=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},O=function(e){return O=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},O(e)};function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=O(e),n=0;n<r.length;n++)"default"!==r[n]&&g(t,e,r[n]);return x(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function N(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new 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)}function j(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function R(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function M(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var D="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function U(e){function t(t){e.error=e.hasError?new D(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,function(e){return t(e),o()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,o,i){return r?t?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":e}):e}const L={__extends:o,__assign:i,__rest:a,__decorate:s,__param:c,__esDecorate:u,__runInitializers:l,__propKey:d,__setFunctionName:p,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:E,__spreadArrays:w,__spreadArray:S,__await:A,__asyncGenerator:_,__asyncDelegator:P,__asyncValues:C,__makeTemplateObject:I,__importStar:k,__importDefault:T,__classPrivateFieldGet:N,__classPrivateFieldSet:j,__classPrivateFieldIn:R,__addDisposableResource:M,__disposeResources:U,__rewriteRelativeImportExtension:F}},31797(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(59746);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");let t;return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/1099511627776&255,t/4294967296&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)}},31898(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndexByFields=function(e,t,r){const n=Object.fromEntries(r.map(t=>[t,e[t]]));for(let e=0;e<t.length;e++)if(Object.keys(n).every(r=>n[r]===t[e][r]))return e;return-1}},31983(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueAction=void 0;var i=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.flush(this),0)},t}(r(64772).AsyncAction);t.QueueAction=i},32036(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(r(19533).AsyncScheduler);t.QueueScheduler=i},32044(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reachability=void 0;const n=r(79364),o=r(72685);class i{networkMonitor(e){const t=(0,o.isWebWorker)()?self:"undefined"!=typeof window&&window;return t?new n.Observable(e=>{e.next({online:t.navigator.onLine});const r=()=>{e.next({online:!0})},n=()=>{e.next({online:!1})};return t.addEventListener("online",r),t.addEventListener("offline",n),i._observers.push(e),()=>{t.removeEventListener("online",r),t.removeEventListener("offline",n),i._observers=i._observers.filter(t=>t!==e)}}):(0,n.from)([{online:!0}])}static _observerOverride(e){for(const t of this._observers)t.closed?this._observers=this._observers.filter(e=>e!==t):t?.next&&t.next(e)}}t.Reachability=i,i._observers=[]},32071(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeOn=void 0;var n=r(28619),o=r(65212),i=r(17214);t.observeOn=function(e,t){return void 0===t&&(t=0),o.operate(function(r,o){r.subscribe(i.createOperatorSubscriber(o,function(r){return n.executeSchedule(o,e,function(){return o.next(r)},t)},function(){return n.executeSchedule(o,e,function(){return o.complete()},t)},function(r){return n.executeSchedule(o,e,function(){return o.error(r)},t)}))})}},32508(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeInterval=t.timeInterval=void 0;var n=r(62326),o=r(65212),i=r(17214);t.timeInterval=function(e){return void 0===e&&(e=n.asyncScheduler),o.operate(function(t,r){var n=e.now();t.subscribe(i.createOperatorSubscriber(r,function(t){var o=e.now(),i=o-n;n=o,r.next(new a(t,i))}))})};var a=function(e,t){this.value=e,this.interval=t};t.TimeInterval=a},32568(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.last=void 0;var n=r(59328),o=r(85934),i=r(65279),a=r(30632),s=r(58799),c=r(87699);t.last=function(e,t){var r=arguments.length>=2;return function(u){return u.pipe(e?o.filter(function(t,r){return e(t,r,u)}):c.identity,i.takeLast(1),r?s.defaultIfEmpty(t):a.throwIfEmpty(function(){return new n.EmptyError}))}}},32980(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportUnhandledError=void 0;var n=r(93728),o=r(94808);t.reportUnhandledError=function(e){o.timeoutProvider.setTimeout(function(){var t=n.config.onUnhandledError;if(!t)throw e;t(e)})}},32988(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=t.stringToBytes=void 0;const n=r(31797),o=r(76011);function i(e){e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}t.stringToBytes=i,t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t.default=function(e,t,r,a,s,c){const u="string"==typeof r?i(r):r,l="string"==typeof a?(0,n.default)(a):a;if("string"==typeof a&&(a=(0,n.default)(a)),16!==a?.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let d=new Uint8Array(16+u.length);if(d.set(l),d.set(u,l.length),d=t(d),d[6]=15&d[6]|e,d[8]=63&d[8]|128,s){c=c||0;for(let e=0;e<16;++e)s[c+e]=d[e];return s}return(0,o.unsafeStringify)(d)}},33148(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},33748(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__modelMeta__=void 0;var n=r(29470);Object.defineProperty(t,"__modelMeta__",{enumerable:!0,get:function(){return n.__modelMeta__}})},33826(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31635);n.__exportStar(r(70896),t),n.__exportStar(r(27861),t)},33859(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.associateWebAuthnCredential=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:p}=await(0,n.fetchAuthSession)();(0,i.assertAuthTokens)(p);const f=(0,l.createStartWebAuthnRegistrationClient)({endpointResolver:(0,a.createCognitoUserPoolEndpointResolver)({endpointOverride:t})}),{CredentialCreationOptions:h}=await f({region:(0,s.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.StartWebAuthnRegistration)},{AccessToken:p.accessToken.toString()});(0,d.assertValidCredentialCreationOptions)(h);const m=await(0,u.registerPasskey)(h),g=(0,l.createCompleteWebAuthnRegistrationClient)({endpointResolver:(0,a.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await g({region:(0,s.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.CompleteWebAuthnRegistration)},{AccessToken:p.accessToken.toString(),Credential:m})};const n=r(56547),o=r(22651),i=r(64166),a=r(28228),s=r(62639),c=r(17238),u=r(57440),l=r(35456),d=r(13321)},33990(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeFrameworkChanges=t.detectFramework=t.frameworkChangeObservers=void 0,t.clearCache=s;const n=r(1478),o=r(10435);let i;t.frameworkChangeObservers=[];let a=!1;function s(){i=void 0}function c(e,r){i!==e||a||setTimeout(()=>{s(),a=!0,setTimeout(t.detectFramework,1e3)},r)}t.detectFramework=()=>{if(!i){if(i=(0,o.detect)(),a)for(;t.frameworkChangeObservers.length;)t.frameworkChangeObservers.pop()?.();else t.frameworkChangeObservers.forEach(e=>{e()});c(n.Framework.ServerSideUnknown,10),c(n.Framework.WebUnknown,10)}return i},t.observeFrameworkChanges=e=>{a||t.frameworkChangeObservers.push(e)}},34073(e,t,r){"use strict";r.d(t,{a:()=>n});const n=e=>(new TextEncoder).encode(e)},34143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION=t.TOKEN_REFRESH_EXCEPTION=t.OAUTH_SIGNOUT_EXCEPTION=t.invalidOriginException=t.INVALID_ORIGIN_EXCEPTION=t.invalidPreferredRedirectUrlException=t.invalidAppSchemeException=t.invalidRedirectException=t.INVALID_PREFERRED_REDIRECT_EXCEPTION=t.INVALID_APP_SCHEME_EXCEPTION=t.INVALID_REDIRECT_EXCEPTION=t.AUTO_SIGN_IN_EXCEPTION=t.DEVICE_METADATA_NOT_FOUND_EXCEPTION=t.USER_ALREADY_AUTHENTICATED_EXCEPTION=t.USER_UNAUTHENTICATED_EXCEPTION=void 0;const n=r(43518);t.USER_UNAUTHENTICATED_EXCEPTION="UserUnAuthenticatedException",t.USER_ALREADY_AUTHENTICATED_EXCEPTION="UserAlreadyAuthenticatedException",t.DEVICE_METADATA_NOT_FOUND_EXCEPTION="DeviceMetadataNotFoundException",t.AUTO_SIGN_IN_EXCEPTION="AutoSignInException",t.INVALID_REDIRECT_EXCEPTION="InvalidRedirectException",t.INVALID_APP_SCHEME_EXCEPTION="InvalidAppSchemeException",t.INVALID_PREFERRED_REDIRECT_EXCEPTION="InvalidPreferredRedirectUrlException",t.invalidRedirectException=new n.AuthError({name:t.INVALID_REDIRECT_EXCEPTION,message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."}),t.invalidAppSchemeException=new n.AuthError({name:t.INVALID_APP_SCHEME_EXCEPTION,message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."}),t.invalidPreferredRedirectUrlException=new n.AuthError({name:t.INVALID_PREFERRED_REDIRECT_EXCEPTION,message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."}),t.INVALID_ORIGIN_EXCEPTION="InvalidOriginException",t.invalidOriginException=new n.AuthError({name:t.INVALID_ORIGIN_EXCEPTION,message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."}),t.OAUTH_SIGNOUT_EXCEPTION="OAuthSignOutException",t.TOKEN_REFRESH_EXCEPTION="TokenRefreshException",t.UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION="UnexpectedSignInInterruptionException"},34164(e,t,r){"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}r.d(t,{A:()=>o});const o=function(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}},34681(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteWebAuthnCredentialClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createDeleteWebAuthnCredentialClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("DeleteWebAuthnCredential"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},34743(e,t,r){"use strict";r.d(t,{BN:()=>h,ER:()=>m,Ej:()=>y,UE:()=>E,UU:()=>g,cY:()=>f,jD:()=>v,mG:()=>b,we:()=>d});var n=r(7315),o=r(51609),i=r(75795),a="undefined"!=typeof document?o.useLayoutEffect:function(){};function s(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!==n--;)if(!s(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!==n--;){const r=o[n];if(!("_owner"===r&&e.$$typeof||s(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function c(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){const r=c(e);return Math.round(t*r)/r}function l(e){const t=o.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:d=[],platform:p,elements:{reference:f,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,b]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[E,w]=o.useState(d);s(E,d)||w(d);const[S,A]=o.useState(null),[_,P]=o.useState(null),C=o.useCallback(e=>{e!==k.current&&(k.current=e,A(e))},[]),I=o.useCallback(e=>{e!==T.current&&(T.current=e,P(e))},[]),x=f||S,O=h||_,k=o.useRef(null),T=o.useRef(null),N=o.useRef(v),j=null!=g,R=l(g),M=l(p),D=l(y),U=o.useCallback(()=>{if(!k.current||!T.current)return;const e={placement:t,strategy:r,middleware:E};M.current&&(e.platform=M.current),(0,n.rD)(k.current,T.current,e).then(e=>{const t={...e,isPositioned:!1!==D.current};F.current&&!s(N.current,t)&&(N.current=t,i.flushSync(()=>{b(t)}))})},[E,t,r,M,D]);a(()=>{!1===y&&N.current.isPositioned&&(N.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[y]);const F=o.useRef(!1);a(()=>(F.current=!0,()=>{F.current=!1}),[]),a(()=>{if(x&&(k.current=x),O&&(T.current=O),x&&O){if(R.current)return R.current(x,O,U);U()}},[x,O,U,R,j]);const L=o.useMemo(()=>({reference:k,floating:T,setReference:C,setFloating:I}),[C,I]),z=o.useMemo(()=>({reference:x,floating:O}),[x,O]),V=o.useMemo(()=>{const e={position:r,left:0,top:0};if(!z.floating)return e;const t=u(z.floating,v.x),n=u(z.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...c(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,m,z.floating,v.x,v.y]);return o.useMemo(()=>({...v,update:U,refs:L,elements:z,floatingStyles:V}),[v,U,L,z,V])}const p=e=>({name:"arrow",options:e,fn(t){const{element:r,padding:o}="function"==typeof e?e(t):e;return r&&(i=r,{}.hasOwnProperty.call(i,"current"))?null!=r.current?(0,n.UE)({element:r.current,padding:o}).fn(t):{}:r?(0,n.UE)({element:r,padding:o}).fn(t):{};var i}}),f=(e,t)=>({...(0,n.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,n.BN)(e),options:[e,t]}),m=(e,t)=>({...(0,n.ER)(e),options:[e,t]}),g=(e,t)=>({...(0,n.UU)(e),options:[e,t]}),y=(e,t)=>({...(0,n.Ej)(e),options:[e,t]}),v=(e,t)=>({...(0,n.jD)(e),options:[e,t]}),b=(e,t)=>({...(0,n.mG)(e),options:[e,t]}),E=(e,t)=>({...p(e),options:[e,t]})},34891(e,t){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.getSymbolIterator=void 0,t.getSymbolIterator=r,t.iterator=r()},34950(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleArray=void 0;var n=r(48051);t.scheduleArray=function(e,t){return new n.Observable(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}},35138(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleDeviceSRPAuth=async function({username:e,config:t,clientMetadata:r,session:l,tokenOrchestrator:d}){const{userPoolId:p,userPoolEndpoint:f}=t,h=t.userPoolClientId,m=await(d?.getDeviceMetadata(e));(0,a.assertDeviceMetadata)(m);const g=await(0,s.getAuthenticationHelper)(m.deviceGroupKey),y={ChallengeName:"DEVICE_SRP_AUTH",ClientId:h,ChallengeResponses:{USERNAME:e,SRP_A:g.A.toString(16),DEVICE_KEY:m.deviceKey},ClientMetadata:r,Session:l},v=(0,n.createRespondToAuthChallengeClient)({endpointResolver:(0,o.createCognitoUserPoolEndpointResolver)({endpointOverride:f})}),{ChallengeParameters:b,Session:E}=await v({region:(0,i.getRegionFromUserPoolId)(p)},y);return async function(e,t,r,l,d,{userPoolId:p,userPoolClientId:f,userPoolEndpoint:h},m){const g=await(m?.getDeviceMetadata(e));(0,a.assertDeviceMetadata)(g);const y=new c.BigInteger(t?.SRP_B,16),v=new c.BigInteger(t?.SALT,16),{deviceKey:b}=g,{deviceGroupKey:E}=g,w=await d.getPasswordAuthenticationKey({username:g.deviceKey,password:g.randomPassword,serverBValue:y,salt:v}),S=(0,s.getNowString)(),A={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:f,ChallengeResponses:{USERNAME:t?.USERNAME??e,PASSWORD_CLAIM_SECRET_BLOCK:t?.SECRET_BLOCK,TIMESTAMP:S,PASSWORD_CLAIM_SIGNATURE:(0,s.getSignatureString)({username:b,userPoolName:E,challengeParameters:t,dateNow:S,hkdf:w}),DEVICE_KEY:b},Session:l,ClientMetadata:r,UserContextData:(0,u.getUserContextData)({username:e,userPoolId:p,userPoolClientId:f})};return(0,n.createRespondToAuthChallengeClient)({endpointResolver:(0,o.createCognitoUserPoolEndpointResolver)({endpointOverride:h})})({region:(0,i.getRegionFromUserPoolId)(p)},A)}(e,b,r,E,g,t,d)};const n=r(35456),o=r(28228),i=r(62639),a=r(64166),s=r(80699),c=r(74008),u=r(99369)},35269(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64Encoder=t.base64Decoder=void 0;var n=r(17524);Object.defineProperty(t,"base64Decoder",{enumerable:!0,get:function(){return n.base64Decoder}});var o=r(44012);Object.defineProperty(t,"base64Encoder",{enumerable:!0,get:function(){return o.base64Encoder}})},35354(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoSignInUserConfirmed=void 0,t.handleCodeAutoSignIn=function(e){const t=n.HubInternal.listen("auth-internal",async({payload:r})=>{if("confirmSignUp"===r.event){const o=r.data;o?.isSignUpComplete&&(n.HubInternal.dispatch("auth-internal",{event:"autoSignIn"}),(0,a.setAutoSignIn)(p(e)),t())}}),r=setTimeout(()=>{t(),clearTimeout(r),(0,a.resetAutoSignIn)()},18e4)},t.autoSignInWhenUserIsConfirmedWithLink=function(e){return async()=>new Promise((t,r)=>{l([e,t,r])})};const n=r(22651),o=r(86369),i=r(43518),a=r(19578),s=r(34143),c=r(84060);function u(e,t){let r;return n=>{r||e(...n),clearTimeout(r),r=setTimeout(()=>{r=void 0},t)}}const l=u(function(e,t,r){const n=Date.now(),c=setInterval(async()=>{if(Date.now()-n>18e4)clearInterval(c),r(new i.AuthError({name:s.AUTO_SIGN_IN_EXCEPTION,message:"The account was not confirmed on time.",recoverySuggestion:"Try to verify your account by clicking the link sent your email or phone and then login manually."})),(0,a.resetAutoSignIn)();else try{const r=await(0,o.signIn)(e);"CONFIRM_SIGN_UP"!==r.nextStep.signInStep&&(t(r),clearInterval(c),(0,a.resetAutoSignIn)())}catch(e){clearInterval(c),r(e),(0,a.resetAutoSignIn)()}},5e3)},300),d=u(async function(e,t,r){try{t("USER_AUTH"===e?.options?.authFlowType?await(0,c.signInWithUserAuth)(e):await(0,o.signIn)(e)),(0,a.resetAutoSignIn)()}catch(e){r(e),(0,a.resetAutoSignIn)()}},300);function p(e){return async()=>new Promise((t,r)=>{d([e,t,r])})}t.autoSignInUserConfirmed=p},35456(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteWebAuthnCredentialClient=t.createListWebAuthnCredentialsClient=t.createCompleteWebAuthnRegistrationClient=t.createStartWebAuthnRegistrationClient=t.createDeleteUserAttributesClient=t.createListDevicesClient=t.createUpdateDeviceStatusClient=t.createVerifyUserAttributeClient=t.createUpdateUserAttributesClient=t.createGlobalSignOutClient=t.createGetUserAttributeVerificationCodeClient=t.createDeleteUserClient=t.createForgetDeviceClient=t.createConfirmDeviceClient=t.createChangePasswordClient=t.createGetUserClient=t.createSetUserMFAPreferenceClient=t.createAssociateSoftwareTokenClient=t.createVerifySoftwareTokenClient=t.createResendConfirmationCodeClient=t.createRespondToAuthChallengeClient=t.createConfirmForgotPasswordClient=t.createForgotPasswordClient=t.createConfirmSignUpClient=t.createSignUpClient=t.createRevokeTokenClient=t.createGetTokensFromRefreshTokenClient=t.createInitiateAuthClient=void 0;var n=r(73836);Object.defineProperty(t,"createInitiateAuthClient",{enumerable:!0,get:function(){return n.createInitiateAuthClient}});var o=r(22485);Object.defineProperty(t,"createGetTokensFromRefreshTokenClient",{enumerable:!0,get:function(){return o.createGetTokensFromRefreshTokenClient}});var i=r(69988);Object.defineProperty(t,"createRevokeTokenClient",{enumerable:!0,get:function(){return i.createRevokeTokenClient}});var a=r(71405);Object.defineProperty(t,"createSignUpClient",{enumerable:!0,get:function(){return a.createSignUpClient}});var s=r(72647);Object.defineProperty(t,"createConfirmSignUpClient",{enumerable:!0,get:function(){return s.createConfirmSignUpClient}});var c=r(49867);Object.defineProperty(t,"createForgotPasswordClient",{enumerable:!0,get:function(){return c.createForgotPasswordClient}});var u=r(83089);Object.defineProperty(t,"createConfirmForgotPasswordClient",{enumerable:!0,get:function(){return u.createConfirmForgotPasswordClient}});var l=r(46414);Object.defineProperty(t,"createRespondToAuthChallengeClient",{enumerable:!0,get:function(){return l.createRespondToAuthChallengeClient}});var d=r(30382);Object.defineProperty(t,"createResendConfirmationCodeClient",{enumerable:!0,get:function(){return d.createResendConfirmationCodeClient}});var p=r(9998);Object.defineProperty(t,"createVerifySoftwareTokenClient",{enumerable:!0,get:function(){return p.createVerifySoftwareTokenClient}});var f=r(70265);Object.defineProperty(t,"createAssociateSoftwareTokenClient",{enumerable:!0,get:function(){return f.createAssociateSoftwareTokenClient}});var h=r(52359);Object.defineProperty(t,"createSetUserMFAPreferenceClient",{enumerable:!0,get:function(){return h.createSetUserMFAPreferenceClient}});var m=r(63704);Object.defineProperty(t,"createGetUserClient",{enumerable:!0,get:function(){return m.createGetUserClient}});var g=r(43276);Object.defineProperty(t,"createChangePasswordClient",{enumerable:!0,get:function(){return g.createChangePasswordClient}});var y=r(35889);Object.defineProperty(t,"createConfirmDeviceClient",{enumerable:!0,get:function(){return y.createConfirmDeviceClient}});var v=r(65438);Object.defineProperty(t,"createForgetDeviceClient",{enumerable:!0,get:function(){return v.createForgetDeviceClient}});var b=r(79169);Object.defineProperty(t,"createDeleteUserClient",{enumerable:!0,get:function(){return b.createDeleteUserClient}});var E=r(46742);Object.defineProperty(t,"createGetUserAttributeVerificationCodeClient",{enumerable:!0,get:function(){return E.createGetUserAttributeVerificationCodeClient}});var w=r(51233);Object.defineProperty(t,"createGlobalSignOutClient",{enumerable:!0,get:function(){return w.createGlobalSignOutClient}});var S=r(10154);Object.defineProperty(t,"createUpdateUserAttributesClient",{enumerable:!0,get:function(){return S.createUpdateUserAttributesClient}});var A=r(39993);Object.defineProperty(t,"createVerifyUserAttributeClient",{enumerable:!0,get:function(){return A.createVerifyUserAttributeClient}});var _=r(51700);Object.defineProperty(t,"createUpdateDeviceStatusClient",{enumerable:!0,get:function(){return _.createUpdateDeviceStatusClient}});var P=r(27360);Object.defineProperty(t,"createListDevicesClient",{enumerable:!0,get:function(){return P.createListDevicesClient}});var C=r(54872);Object.defineProperty(t,"createDeleteUserAttributesClient",{enumerable:!0,get:function(){return C.createDeleteUserAttributesClient}});var I=r(71556);Object.defineProperty(t,"createStartWebAuthnRegistrationClient",{enumerable:!0,get:function(){return I.createStartWebAuthnRegistrationClient}});var x=r(5425);Object.defineProperty(t,"createCompleteWebAuthnRegistrationClient",{enumerable:!0,get:function(){return x.createCompleteWebAuthnRegistrationClient}});var O=r(15779);Object.defineProperty(t,"createListWebAuthnCredentialsClient",{enumerable:!0,get:function(){return O.createListWebAuthnCredentialsClient}});var k=r(34681);Object.defineProperty(t,"createDeleteWebAuthnCredentialClient",{enumerable:!0,get:function(){return k.createDeleteWebAuthnCredentialClient}})},35565(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scan=void 0;var n=r(65212),o=r(78531);t.scan=function(e,t){return n.operate(o.scanInternals(e,t,arguments.length>=2,!0))}},35726(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrameProvider=void 0;var i=r(69879);t.animationFrameProvider={schedule:function(e){var r=requestAnimationFrame,n=cancelAnimationFrame,o=t.animationFrameProvider.delegate;o&&(r=o.requestAnimationFrame,n=o.cancelAnimationFrame);var a=r(function(t){n=void 0,e(t)});return new i.Subscription(function(){return null==n?void 0:n(a)})},requestAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.animationFrameProvider.delegate;return((null==i?void 0:i.requestAnimationFrame)||requestAnimationFrame).apply(void 0,o([],n(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.animationFrameProvider.delegate;return((null==i?void 0:i.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,o([],n(e)))},delegate:void 0}},35782(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listenForOAuthFlowCancellation=void 0;const n=r(19804),o=r(6996);t.listenForOAuthFlowCancellation=e=>{window.addEventListener("pageshow",async function t(r){if(r.persisted&&await e.loadOAuthInFlight()){const e=(0,n.createOAuthError)("User cancelled OAuth flow.");await(0,o.handleFailure)(e)}window.removeEventListener("pageshow",t)})}},35862(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteUserAttributes=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userAttributeKeys:r}=e,{userPoolEndpoint:l,userPoolId:d}=t,{tokens:p}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,a.assertAuthTokens)(p);const f=(0,c.createDeleteUserAttributesClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:l})});await f({region:(0,i.getRegionFromUserPoolId)(d),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.DeleteUserAttributes)},{AccessToken:p.accessToken.toString(),UserAttributeNames:r})};const n=r(56547),o=r(22651),i=r(62639),a=r(64166),s=r(17238),c=r(35456),u=r(28228)},35864(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchMFAPreference=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:d}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,s.assertAuthTokens)(d);const p=(0,u.createGetUserClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:t})}),{PreferredMfaSetting:f,UserMFASettingList:h}=await p({region:(0,a.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.FetchMFAPreference)},{AccessToken:d.accessToken.toString()});return{preferred:(0,i.getMFAType)(f),enabled:(0,i.getMFATypes)(h)}};const n=r(56547),o=r(22651),i=r(78040),a=r(62639),s=r(64166),c=r(17238),u=r(35456),l=r(28228)},35884(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defer=void 0;var n=r(48051),o=r(19724);t.defer=function(e){return new n.Observable(function(t){o.innerFrom(e()).subscribe(t)})}},35889(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConfirmDeviceClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createConfirmDeviceClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ConfirmDevice"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},35904(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.using=void 0;var n=r(48051),o=r(19724),i=r(44885);t.using=function(e,t){return new n.Observable(function(r){var n=e(),a=t(n);return(a?o.innerFrom(a):i.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}})}},36118(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","settings","Settings",[["path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065",key:"svg-0"}],["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}]])},36135(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.indexQueryFactory=function(e,t,r,n,o,i=!1){return i?(i,a,c)=>s(e,t,r,n,o,{...a,...c},i):(i,a)=>s(e,t,r,n,o,{...i,...a})};const n=r(44287),o=r(48310),i=r(17631),a=r(53841);function s(e,t,r,s,c,u,l){return(0,i.selfAwareAsync)(async i=>{const{name:d}=r,p=(0,n.generateGraphQLDocument)(t,r,"INDEX_QUERY",u,s),f=(0,n.buildGraphQLVariables)(r,"INDEX_QUERY",u,t,s),h=(0,n.authModeParams)(e,c,u),m=r=>(0,n.initializeModel)(e,d,r,t,h.authMode,h.authToken,!!l);try{const r=(0,n.getCustomHeaders)(e,c,u?.headers),o=[{...h,query:p,variables:f},r];void 0!==l&&o.unshift(l);const s=e.graphql(...o),g=(0,a.extendCancellability)(s,i),y=await g;if(void 0!==y.data)return function(e,t,r,o,i){const{data:a,extensions:s}=r,[c]=Object.keys(a);if(a[c].items){const r=a[c].items.map(r=>(0,n.flattenItems)(e,t,r));return{data:o?r:i(r),nextToken:a[c].nextToken,extensions:s}}return{data:a[c],nextToken:a[c].nextToken,extensions:s}}(t,d,y,u?.selectionSet,m)}catch(e){const{data:r,errors:i}=e;if(null!=r&&0!==Object.keys(r).length&&i){const[e]=Object.keys(r);if(r[e]?.items){const o=r[e]?.items.map(e=>(0,n.flattenItems)(t,d,e));if(o)return{data:u?.selectionSet?o:m(o),nextToken:r[e]?.nextToken}}return{data:r[e],nextToken:r[e]?.nextToken}}return(0,o.handleListGraphQlError)(e)}})}},36345(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateA=void 0;const n=r(74008);t.calculateA=async({a:e,g:t,N:r})=>new Promise((o,i)=>{t.modPow(e,r,(e,t)=>{e?i(e):t.mod(r).equals(n.BigInteger.ZERO)?i(new Error("Illegal parameter. A mod N cannot be 0.")):o(t)})})},36504(e,t,r){"use strict";r.d(t,{s:()=>E});var n=r(10790),o=r(51609);const i=/input|select|textarea|button|object/,a="a, input, select, textarea, button, object, [tabindex]";function s(e){return"none"===e.style.display}function c(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function u(e){const t=e.nodeName.toLowerCase(),r=!Number.isNaN(c(e));return(i.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&function(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type"))return!1;let t=e;for(;t&&t!==document.body&&11!==t.nodeType;){if(s(t))return!1;t=t.parentNode}return!0}(e)}function l(e){const t=c(e);return(Number.isNaN(t)||t>=0)&&u(e)}function d(e){return Array.from(e.querySelectorAll(a)).filter(l)}var p=r(37055),f=r(26810),h=r(46100),m=r(52837),g=r(11507),y=r(2412),v={root:"m_515a97f8"};const b=(0,y.P9)((e,t)=>{const r=(0,h.Y)("VisuallyHidden",null,e),{classNames:o,className:i,style:a,styles:s,unstyled:c,vars:u,attributes:l,...d}=r,p=(0,m.I)({name:"VisuallyHidden",classes:v,props:r,className:i,style:a,classNames:o,styles:s,unstyled:c,attributes:l});return(0,n.jsx)(g.a,{component:"span",ref:t,...p("root"),...d})});function E({children:e,active:t=!0,refProp:r="ref",innerRef:n}){const i=function(e=!0){const t=(0,o.useRef)(null),r=e=>{let t=e.querySelector("[data-autofocus]");if(!t){const r=Array.from(e.querySelectorAll(a));t=r.find(l)||r.find(u)||null,!t&&u(e)&&(t=e)}t&&t.focus({preventScroll:!0})},n=(0,o.useCallback)(n=>{e&&null!==n&&t.current!==n&&(n?(setTimeout(()=>{n.getRootNode()&&r(n)}),t.current=n):t.current=null)},[e]);return(0,o.useEffect)(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));const n=e=>{"Tab"===e.key&&t.current&&function(e,t){const r=d(e);if(!r.length)return void t.preventDefault();const n=r[t.shiftKey?0:r.length-1],o=e.getRootNode();let i=n===o.activeElement||e===o.activeElement;const a=o.activeElement;if("INPUT"===a.tagName&&"radio"===a.getAttribute("type")&&(i=r.filter(e=>"radio"===e.getAttribute("type")&&e.getAttribute("name")===a.getAttribute("name")).includes(n)),!i)return;t.preventDefault();const s=r[t.shiftKey?r.length-1:0];s&&s.focus()}(t.current,e)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[e]),n}(t),s=(0,p.pc)(i,n),c=(0,f.D)(e);return c?(0,o.cloneElement)(c,{[r]:s}):e}function w(e){return(0,n.jsx)(b,{tabIndex:-1,"data-autofocus":!0,...e})}b.classes=v,b.displayName="@mantine/core/VisuallyHidden",E.displayName="@mantine/core/FocusTrap",w.displayName="@mantine/core/FocusTrapInitialFocus",E.InitialFocus=w},36759(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashedPayload=t.TOKEN_QUERY_PARAM=t.presignUrl=t.signRequest=void 0;var n=r(29237);Object.defineProperty(t,"signRequest",{enumerable:!0,get:function(){return n.signRequest}});var o=r(89814);Object.defineProperty(t,"presignUrl",{enumerable:!0,get:function(){return o.presignUrl}});var i=r(15130);Object.defineProperty(t,"TOKEN_QUERY_PARAM",{enumerable:!0,get:function(){return i.TOKEN_QUERY_PARAM}});var a=r(99912);Object.defineProperty(t,"getHashedPayload",{enumerable:!0,get:function(){return a.getHashedPayload}})},36805(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleIterable=void 0;var n=r(48051),o=r(34891),i=r(10281),a=r(28619);t.scheduleIterable=function(e,t){return new n.Observable(function(r){var n;return a.executeSchedule(r,t,function(){n=e[o.iterator](),a.executeSchedule(r,t,function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){return void r.error(e)}o?r.complete():r.next(t)},0,!0)}),function(){return i.isFunction(null==n?void 0:n.return)&&n.return()}})}},36813(e,t,r){"use strict";function n(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){const[e,r]=t.split("-"),n="right"===e?"left":"right";return void 0===r?n:`${n}-${r}`}return t}r.d(t,{Q:()=>n})},36977(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zipWith=void 0;var i=r(26749);t.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.zip.apply(void 0,o([],n(e)))}},37055(e,t,r){"use strict";r.d(t,{bl:()=>o,pc:()=>i});var n=r(51609);function o(e,t){if("function"==typeof e)return e(t);"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}function i(...e){return(0,n.useCallback)(function(...e){const t=new Map;return r=>{if(e.forEach(e=>{const n=o(e,r);n&&t.set(e,n)}),t.size>0)return()=>{e.forEach(e=>{const r=t.get(e);r&&"function"==typeof r?r():o(e,null)}),t.clear()}}}(...e),e)}},37138(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateClient=function(e){return(0,n.generateClient)({...e||{},amplify:o.Amplify})};const n=r(78519),o=r(56547)},37561(e,t,r){"use strict";r.d(t,{D:()=>o,e:()=>i}),r(51609),r(10790);var n=r(97986);const[o,i]=(0,n.e)({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0})},38124(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStringToSign=void 0;const n=r(15130);t.getStringToSign=(e,t,r)=>[n.SHA256_ALGORITHM_IDENTIFIER,e,t,r].join("\n")},38457(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.amplifyUuid=void 0;const n=r(40182).v4;t.amplifyUuid=n},38459(e,t,r){"use strict";function n(e){const t=function(e){return"string"==typeof e&&e.includes("var(--mantine-scale)")?e.match(/^calc\((.*?)\)$/)?.[1].split("*")[0].trim():e}(e);return"number"==typeof t?t:"string"==typeof t?t.includes("calc")||t.includes("var")?t:t.includes("px")?Number(t.replace("px","")):t.includes("rem")?16*Number(t.replace("rem","")):t.includes("em")?16*Number(t.replace("em","")):Number(t):NaN}r.d(t,{px:()=>n})},38728(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(51609),o={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};const i=(e,t,r,i)=>{const a=(0,n.forwardRef)(({color:r="currentColor",size:a=24,stroke:s=2,title:c,className:u,children:l,...d},p)=>(0,n.createElement)("svg",{ref:p,...o[e],width:a,height:a,className:["tabler-icon",`tabler-icon-${t}`,u].join(" "),..."filled"===e?{fill:r}:{strokeWidth:s,stroke:r},...d},[c&&(0,n.createElement)("title",{key:"svg-title"},c),...i.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]]));return a.displayName=`${r}`,a}},39027(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_STOP_EVENT=t.SESSION_START_EVENT=void 0,t.SESSION_START_EVENT="_session.start",t.SESSION_STOP_EVENT="_session.stop"},39236(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.composeTransferHandler=t.composeServiceApi=void 0;var n=r(50057);Object.defineProperty(t,"composeServiceApi",{enumerable:!0,get:function(){return n.composeServiceApi}});var o=r(49615);Object.defineProperty(t,"composeTransferHandler",{enumerable:!0,get:function(){return o.composeTransferHandler}})},39268(e,t,r){"use strict";r.d(t,{r:()=>h});var n=r(10790),o=r(51609),i=r(66192),a=r(2412),s=r(75795),c=r(45585),u=r(37055),l=r(46100);function d(e){const t=document.createElement("div");return t.setAttribute("data-portal","true"),"string"==typeof e.className&&t.classList.add(...e.className.split(" ").filter(Boolean)),"object"==typeof e.style&&Object.assign(t.style,e.style),"string"==typeof e.id&&t.setAttribute("id",e.id),t}const p={reuseTargetNode:!0},f=(0,a.P9)((e,t)=>{const{children:r,target:i,reuseTargetNode:a,...f}=(0,l.Y)("Portal",p,e),[h,m]=(0,o.useState)(!1),g=(0,o.useRef)(null);return(0,c.o)(()=>(m(!0),g.current=function({target:e,reuseTargetNode:t,...r}){if(e)return"string"==typeof e?document.querySelector(e)||d(r):e;if(t){const e=document.querySelector("[data-mantine-shared-portal-node]");if(e)return e;const t=d(r);return t.setAttribute("data-mantine-shared-portal-node","true"),document.body.appendChild(t),t}return d(r)}({target:i,reuseTargetNode:a,...f}),(0,u.bl)(t,g.current),i||a||!g.current||document.body.appendChild(g.current),()=>{i||a||!g.current||document.body.removeChild(g.current)}),[i]),h&&g.current?(0,s.createPortal)((0,n.jsx)(n.Fragment,{children:r}),g.current):null});f.displayName="@mantine/core/Portal";const h=(0,a.P9)(({withinPortal:e=!0,children:t,...r},o)=>"test"!==(0,i.bv)()&&e?(0,n.jsx)(f,{ref:o,...r,children:t}):(0,n.jsx)(n.Fragment,{children:t}));h.displayName="@mantine/core/OptionalPortal"},39546(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var n=r(70201),o=r(26404),i=r(47058);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.concatAll()(i.from(e,o.popScheduler(e)))}},39554(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unauthenticatedHandler=void 0;const n=r(7884),o=r(39236);t.unauthenticatedHandler=(0,o.composeTransferHandler)(n.fetchTransferHandler,[n.userAgentMiddlewareFactory,n.retryMiddlewareFactory])},39596(e,t,r){"use strict";function n(e,t){let r=0,n=e.length,o=!1;if(!t){if(e.startsWith("data:"))return null;for(;r<e.length&&e.charCodeAt(r)<=32;)r+=1;for(;n>r+1&&e.charCodeAt(n-1)<=32;)n-=1;if(47===e.charCodeAt(r)&&47===e.charCodeAt(r+1))r+=2;else{const t=e.indexOf(":/",r);if(-1!==t){const n=t-r,o=e.charCodeAt(r),i=e.charCodeAt(r+1),a=e.charCodeAt(r+2),s=e.charCodeAt(r+3),c=e.charCodeAt(r+4);if(5===n&&104===o&&116===i&&116===a&&112===s&&115===c);else if(4===n&&104===o&&116===i&&116===a&&112===s);else if(3===n&&119===o&&115===i&&115===a);else if(2===n&&119===o&&115===i);else for(let n=r;n<t;n+=1){const t=32|e.charCodeAt(n);if(!(t>=97&&t<=122||t>=48&&t<=57||46===t||45===t||43===t))return null}for(r=t+2;47===e.charCodeAt(r);)r+=1}}let t=-1,i=-1,a=-1;for(let s=r;s<n;s+=1){const r=e.charCodeAt(s);if(35===r||47===r||63===r){n=s;break}64===r?t=s:93===r?i=s:58===r?a=s:r>=65&&r<=90&&(o=!0)}if(-1!==t&&t>r&&t<n&&(r=t+1),91===e.charCodeAt(r))return-1!==i?e.slice(r+1,i).toLowerCase():null;-1!==a&&a>r&&a<n&&(n=a)}for(;n>r+1&&46===e.charCodeAt(n-1);)n-=1;const i=0!==r||n!==e.length?e.slice(r,n):e;return o?i.toLowerCase():i}function o(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function i(e){if(e.length>255)return!1;if(0===e.length)return!1;if(!o(e.charCodeAt(0))&&46!==e.charCodeAt(0)&&95!==e.charCodeAt(0))return!1;let t=-1,r=-1;const n=e.length;for(let i=0;i<n;i+=1){const n=e.charCodeAt(i);if(46===n){if(i-t>64||46===r||45===r||95===r)return!1;t=i}else if(!o(n)&&45!==n&&95!==n)return!1;r=n}return n-t-1<=63&&45!==r}r.r(t),r.d(t,{getDomain:()=>g,getDomainWithoutSuffix:()=>v,getHostname:()=>h,getPublicSuffix:()=>m,getSubdomain:()=>y,parse:()=>f});const a=function({allowIcannDomains:e=!0,allowPrivateDomains:t=!1,detectIp:r=!0,extractHostname:n=!0,mixedInputs:o=!0,validHosts:i=null,validateHostname:a=!0}){return{allowIcannDomains:e,allowPrivateDomains:t,detectIp:r,extractHostname:n,mixedInputs:o,validHosts:i,validateHostname:a}}({});function s(e,t,r,o,s){const c=function(e){return void 0===e?a:function({allowIcannDomains:e=!0,allowPrivateDomains:t=!1,detectIp:r=!0,extractHostname:n=!0,mixedInputs:o=!0,validHosts:i=null,validateHostname:a=!0}){return{allowIcannDomains:e,allowPrivateDomains:t,detectIp:r,extractHostname:n,mixedInputs:o,validHosts:i,validateHostname:a}}(e)}(o);return"string"!=typeof e?s:(c.extractHostname?c.mixedInputs?s.hostname=n(e,i(e)):s.hostname=n(e,!1):s.hostname=e,c.detectIp&&null!==s.hostname&&(s.isIp=function(e){if(e.length<3)return!1;let t=e.startsWith("[")?1:0,r=e.length;if("]"===e[r-1]&&(r-=1),r-t>39)return!1;let n=!1;for(;t<r;t+=1){const r=e.charCodeAt(t);if(58===r)n=!0;else if(!(r>=48&&r<=57||r>=97&&r<=102||r>=65&&r<=90))return!1}return n}(u=s.hostname)||function(e){if(e.length<7)return!1;if(e.length>15)return!1;let t=0;for(let r=0;r<e.length;r+=1){const n=e.charCodeAt(r);if(46===n)t+=1;else if(n<48||n>57)return!1}return 3===t&&46!==e.charCodeAt(0)&&46!==e.charCodeAt(e.length-1)}(u),s.isIp)?s:c.validateHostname&&c.extractHostname&&null!==s.hostname&&!i(s.hostname)?(s.hostname=null,s):(0===t||null===s.hostname||(r(s.hostname,c,s),2===t||null===s.publicSuffix||(s.domain=function(e,t,r){if(null!==r.validHosts){const e=r.validHosts;for(const r of e)if(function(e,t){return!!e.endsWith(t)&&(e.length===t.length||"."===e[e.length-t.length-1])}(t,r))return r}let n=0;if(t.startsWith("."))for(;n<t.length&&"."===t[n];)n+=1;return e.length===t.length-n?null:function(e,t){const r=e.length-t.length-2,n=e.lastIndexOf(".",r);return-1===n?e:e.slice(n+1)}(t,e)}(s.publicSuffix,s.hostname,c),3===t||null===s.domain||(s.subdomain=function(e,t){return t.length===e.length?"":e.slice(0,-t.length-1)}(s.hostname,s.domain),4===t||(s.domainWithoutSuffix=(l=s.domain,d=s.publicSuffix,l.slice(0,-d.length-1)))))),s));var u,l,d}const c=function(){const e=[1,{}],t=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:t,kitakyushu:t,kobe:t,nagoya:t,sapporo:t,sendai:t,yokohama:t}]}]}(),u=function(){const e=[1,{}],t=[2,{}],r=[1,{com:e,edu:e,gov:e,net:e,org:e}],n=[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e}],o=[0,{"*":t}],i=[2,{s:o}],a=[0,{relay:t}],s=[2,{id:t}],c=[1,{gov:e}],u=[0,{airflow:o,"lambda-url":t,"transfer-webapp":t}],l=[0,{airflow:o,"transfer-webapp":t}],d=[0,{"transfer-webapp":t,"transfer-webapp-fips":t}],p=[0,{notebook:t,studio:t}],f=[0,{labeling:t,notebook:t,studio:t}],h=[0,{notebook:t}],m=[0,{labeling:t,notebook:t,"notebook-fips":t,studio:t}],g=[0,{notebook:t,"notebook-fips":t,studio:t,"studio-fips":t}],y=[0,{shop:t}],v=[0,{"*":e}],b=[1,{co:t}],E=[0,{objects:t}],w=[2,{nodes:t}],S=[0,{my:t}],A=[0,{s3:t,"s3-accesspoint":t,"s3-website":t}],_=[0,{s3:t,"s3-accesspoint":t}],P=[0,{direct:t}],C=[0,{"webview-assets":t}],I=[0,{vfs:t,"webview-assets":t}],x=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":C,cloud9:I}],O=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:_,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":C,cloud9:I}],k=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":C,cloud9:I}],T=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],N=[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-website":t}],j=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":C,cloud9:I}],R=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":C,cloud9:I}],M=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t}],s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],D=[0,{auth:t}],U=[0,{auth:t,"auth-fips":t}],F=[0,{"auth-fips":t}],L=[0,{apps:t}],z=[0,{paas:t}],V=[2,{eu:t}],H=[0,{app:t}],$=[0,{site:t}],W=[1,{com:e,edu:e,net:e,org:e}],B=[0,{j:t}],K=[0,{dyn:t}],G=[2,{web:t}],q=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],Y=[0,{p:t}],J=[0,{user:t}],Q=[0,{cdn:t}],X=[2,{raw:o}],Z=[0,{cust:t,reservd:t}],ee=[0,{cust:t}],te=[0,{s3:t}],re=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],ne=[0,{ipfs:t}],oe=[1,{framer:t}],ie=[0,{forgot:t}],ae=[1,{gs:e}],se=[0,{nes:e}],ce=[1,{k12:e,cc:e,lib:e}],ue=[1,{cc:e}],le=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,drr:t,feedback:t,forms:t}],ad:e,ae:[1,{ac:e,co:e,gov:e,mil:e,net:e,org:e,sch:e}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:r,ag:[1,{co:e,com:e,net:e,nom:e,org:e,obj:t}],ai:[1,{com:e,net:e,off:e,org:e,uwu:t,framer:t}],al:n,am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:t}],ao:[1,{co:e,ed:e,edu:e,gov:e,gv:e,it:e,og:e,org:e,pb:e}],aq:e,ar:[1,{bet:e,com:e,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,seg:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:c,asia:[1,{cloudns:t,daemon:t,dix:t}],at:[1,{4:t,ac:[1,{sth:e}],co:e,gv:e,or:e,funkfeuer:[0,{wien:t}],futurecms:[0,{"*":t,ex:o,in:o}],futurehosting:t,futuremailing:t,ortsinfo:[0,{ex:o,kunden:o}],biz:t,info:t,"123webseite":t,priv:t,my:t,myspreadshop:t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],au:[1,{asn:e,com:[1,{cloudlets:[0,{mel:t}],myspreadshop:t}],edu:[1,{act:e,catholic:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],id:e,net:e,org:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e,hrsn:[0,{vps:t}]}],aw:[1,{com:e}],ax:e,az:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,int:e,mil:e,name:e,net:e,org:e,pp:e,pro:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,brendly:y,rs:t}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:[1,{ac:e,ai:e,co:e,com:e,edu:e,gov:e,id:e,info:e,it:e,mil:e,net:e,org:e,sch:e,tv:e}],be:[1,{ac:e,cloudns:t,webhosting:t,interhostsolutions:[0,{cloud:t}],kuleuven:[0,{ezproxy:t}],"123website":t,myspreadshop:t,transurl:o}],bf:c,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,barsy:t}],bh:r,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:t,"cloud-ip":t,cloudns:t,jozi:t,dyndns:t,"for-better":t,"for-more":t,"for-some":t,"for-the":t,selfip:t,webhop:t,orx:t,mmafan:t,myftp:t,"no-ip":t,dscloud:t}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,restaurant:e,resto:e,tourism:e,univ:e}],bm:r,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:t}],bo:[1,{com:e,edu:e,gob:e,int:e,mil:e,net:e,org:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,plurinacional:e,politica:e,profesional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,api:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{simplesite:t}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,ia:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:t,al:t,am:t,ap:t,ba:t,ce:t,df:t,es:t,go:t,ma:t,mg:t,ms:t,mt:t,pa:t,pb:t,pe:t,pi:t,pr:t,rj:t,rn:t,ro:t,rr:t,rs:t,sc:t,se:t,sp:t,to:t}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:v,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,social:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,xyz:e,zlg:e,tche:t}],bs:[1,{com:e,edu:e,gov:e,net:e,org:e,we:t}],bt:r,bv:e,bw:[1,{ac:e,co:e,gov:e,net:e,org:e}],by:[1,{gov:e,mil:e,com:e,of:e,mediatech:t}],bz:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,za:t,mydns:t,gsj:t}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:t,awdev:o,co:t,"no-ip":t,onid:t,myspreadshop:t,box:t}],cat:e,cc:[1,{cleverapps:t,"cloud-ip":t,cloudns:t,ftpaccess:t,"game-server":t,myphotos:t,scrapping:t,twmail:t,csx:t,fantasyleague:t,spawn:[0,{instances:t}]}],cd:c,cf:e,cg:e,ch:[1,{square7:t,cloudns:t,cloudscale:[0,{cust:t,lpg:E,rma:E}],objectstorage:[0,{lpg:t,rma:t}],flow:[0,{ae:[0,{alp1:t}],appengine:t}],"linkyard-cloud":t,gotdns:t,dnsking:t,"123website":t,myspreadshop:t,firenet:[0,{"*":t,svc:o}],"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],ci:[1,{ac:e,"xn--aroport-bya":e,aéroport:e,asso:e,co:e,com:e,ed:e,edu:e,go:e,gouv:e,int:e,net:e,or:e,org:e}],ck:v,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:t}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,rds:o,dualstack:A,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"cn-northwest-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,rds:o,dualstack:_,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],compute:o,airflow:[0,{"cn-north-1":o,"cn-northwest-1":o}],eb:[0,{"cn-north-1":t,"cn-northwest-1":t}],elb:o}],amazonwebservices:[0,{on:[0,{"cn-north-1":l,"cn-northwest-1":l}]}],sagemaker:[0,{"cn-north-1":p,"cn-northwest-1":p}]}],edu:e,gov:e,mil:e,net:e,org:e,"xn--55qx5d":e,公司:e,"xn--od0alg":e,網絡:e,"xn--io0a7i":e,网络:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gx:e,gz:e,ha:e,hb:e,he:e,hi:e,hk:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,mo:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:t}],sn:e,sx:e,tj:e,tw:e,xj:e,xz:e,yn:e,zj:e,"canva-apps":t,canvasite:S,myqnapcloud:t,quickconnect:P}],co:[1,{com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,carrd:t,crd:t,otap:o,hidns:t,leadpages:t,lpages:t,mypi:t,xmit:o,firewalledreplit:s,repl:s,supabase:[2,{realtime:t,storage:t}],umso:t}],com:[1,{a2hosted:t,cpserver:t,adobeaemcloud:[2,{dev:o}],africa:t,aivencloud:t,alibabacloudcs:t,kasserver:t,amazonaws:[0,{"af-south-1":x,"ap-east-1":O,"ap-northeast-1":k,"ap-northeast-2":k,"ap-northeast-3":x,"ap-south-1":k,"ap-south-2":T,"ap-southeast-1":k,"ap-southeast-2":k,"ap-southeast-3":T,"ap-southeast-4":T,"ap-southeast-5":[0,{"execute-api":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"ca-central-1":j,"ca-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],"eu-central-1":k,"eu-central-2":T,"eu-north-1":O,"eu-south-1":x,"eu-south-2":T,"eu-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":C,cloud9:I}],"eu-west-2":O,"eu-west-3":x,"il-central-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:A,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":C,cloud9:[0,{vfs:t}]}],"me-central-1":T,"me-south-1":O,"sa-east-1":x,"us-east-1":[2,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":C,cloud9:I}],"us-east-2":R,"us-gov-east-1":M,"us-gov-west-1":M,"us-west-1":j,"us-west-2":R,compute:o,"compute-1":o,airflow:[0,{"af-south-1":o,"ap-east-1":o,"ap-northeast-1":o,"ap-northeast-2":o,"ap-northeast-3":o,"ap-south-1":o,"ap-south-2":o,"ap-southeast-1":o,"ap-southeast-2":o,"ap-southeast-3":o,"ap-southeast-4":o,"ap-southeast-5":o,"ap-southeast-7":o,"ca-central-1":o,"ca-west-1":o,"eu-central-1":o,"eu-central-2":o,"eu-north-1":o,"eu-south-1":o,"eu-south-2":o,"eu-west-1":o,"eu-west-2":o,"eu-west-3":o,"il-central-1":o,"me-central-1":o,"me-south-1":o,"sa-east-1":o,"us-east-1":o,"us-east-2":o,"us-west-1":o,"us-west-2":o}],rds:[0,{"af-south-1":o,"ap-east-1":o,"ap-east-2":o,"ap-northeast-1":o,"ap-northeast-2":o,"ap-northeast-3":o,"ap-south-1":o,"ap-south-2":o,"ap-southeast-1":o,"ap-southeast-2":o,"ap-southeast-3":o,"ap-southeast-4":o,"ap-southeast-5":o,"ap-southeast-6":o,"ap-southeast-7":o,"ca-central-1":o,"ca-west-1":o,"eu-central-1":o,"eu-central-2":o,"eu-west-1":o,"eu-west-2":o,"eu-west-3":o,"il-central-1":o,"me-central-1":o,"me-south-1":o,"mx-central-1":o,"sa-east-1":o,"us-east-1":o,"us-east-2":o,"us-gov-east-1":o,"us-gov-west-1":o,"us-northeast-1":o,"us-west-1":o,"us-west-2":o}],s3:t,"s3-1":t,"s3-ap-east-1":t,"s3-ap-northeast-1":t,"s3-ap-northeast-2":t,"s3-ap-northeast-3":t,"s3-ap-south-1":t,"s3-ap-southeast-1":t,"s3-ap-southeast-2":t,"s3-ca-central-1":t,"s3-eu-central-1":t,"s3-eu-north-1":t,"s3-eu-west-1":t,"s3-eu-west-2":t,"s3-eu-west-3":t,"s3-external-1":t,"s3-fips-us-gov-east-1":t,"s3-fips-us-gov-west-1":t,"s3-global":[0,{accesspoint:[0,{mrap:t}]}],"s3-me-south-1":t,"s3-sa-east-1":t,"s3-us-east-2":t,"s3-us-gov-east-1":t,"s3-us-gov-west-1":t,"s3-us-west-1":t,"s3-us-west-2":t,"s3-website-ap-northeast-1":t,"s3-website-ap-southeast-1":t,"s3-website-ap-southeast-2":t,"s3-website-eu-west-1":t,"s3-website-sa-east-1":t,"s3-website-us-east-1":t,"s3-website-us-gov-west-1":t,"s3-website-us-west-1":t,"s3-website-us-west-2":t,elb:o}],amazoncognito:[0,{"af-south-1":D,"ap-east-1":D,"ap-northeast-1":D,"ap-northeast-2":D,"ap-northeast-3":D,"ap-south-1":D,"ap-south-2":D,"ap-southeast-1":D,"ap-southeast-2":D,"ap-southeast-3":D,"ap-southeast-4":D,"ap-southeast-5":D,"ap-southeast-7":D,"ca-central-1":D,"ca-west-1":D,"eu-central-1":D,"eu-central-2":D,"eu-north-1":D,"eu-south-1":D,"eu-south-2":D,"eu-west-1":D,"eu-west-2":D,"eu-west-3":D,"il-central-1":D,"me-central-1":D,"me-south-1":D,"mx-central-1":D,"sa-east-1":D,"us-east-1":U,"us-east-2":U,"us-gov-east-1":F,"us-gov-west-1":F,"us-west-1":U,"us-west-2":U}],amplifyapp:t,awsapprunner:o,awsapps:t,elasticbeanstalk:[2,{"af-south-1":t,"ap-east-1":t,"ap-northeast-1":t,"ap-northeast-2":t,"ap-northeast-3":t,"ap-south-1":t,"ap-southeast-1":t,"ap-southeast-2":t,"ap-southeast-3":t,"ap-southeast-5":t,"ap-southeast-7":t,"ca-central-1":t,"eu-central-1":t,"eu-north-1":t,"eu-south-1":t,"eu-south-2":t,"eu-west-1":t,"eu-west-2":t,"eu-west-3":t,"il-central-1":t,"me-central-1":t,"me-south-1":t,"sa-east-1":t,"us-east-1":t,"us-east-2":t,"us-gov-east-1":t,"us-gov-west-1":t,"us-west-1":t,"us-west-2":t}],awsglobalaccelerator:t,siiites:t,appspacehosted:t,appspaceusercontent:t,"on-aptible":t,myasustor:t,"balena-devices":t,boutir:t,bplaced:t,cafjs:t,"canva-apps":t,"canva-hosted-embed":t,canvacode:t,"rice-labs":t,"cdn77-storage":t,br:t,cn:t,de:t,eu:t,jpn:t,mex:t,ru:t,sa:t,uk:t,us:t,za:t,"clever-cloud":[0,{services:o}],abrdns:t,dnsabr:t,"ip-ddns":t,jdevcloud:t,wpdevcloud:t,"cf-ipfs":t,"cloudflare-ipfs":t,trycloudflare:t,co:t,devinapps:o,builtwithdark:t,datadetect:[0,{demo:t,instance:t}],dattolocal:t,dattorelay:t,dattoweb:t,mydatto:t,digitaloceanspaces:o,discordsays:t,discordsez:t,drayddns:t,dreamhosters:t,durumis:t,blogdns:t,cechire:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,"dyn-o-saur":t,dynalias:t,"dyndns-at-home":t,"dyndns-at-work":t,"dyndns-blog":t,"dyndns-free":t,"dyndns-home":t,"dyndns-ip":t,"dyndns-mail":t,"dyndns-office":t,"dyndns-pics":t,"dyndns-remote":t,"dyndns-server":t,"dyndns-web":t,"dyndns-wiki":t,"dyndns-work":t,"est-a-la-maison":t,"est-a-la-masion":t,"est-le-patron":t,"est-mon-blogueur":t,"from-ak":t,"from-al":t,"from-ar":t,"from-ca":t,"from-ct":t,"from-dc":t,"from-de":t,"from-fl":t,"from-ga":t,"from-hi":t,"from-ia":t,"from-id":t,"from-il":t,"from-in":t,"from-ks":t,"from-ky":t,"from-ma":t,"from-md":t,"from-mi":t,"from-mn":t,"from-mo":t,"from-ms":t,"from-mt":t,"from-nc":t,"from-nd":t,"from-ne":t,"from-nh":t,"from-nj":t,"from-nm":t,"from-nv":t,"from-oh":t,"from-ok":t,"from-or":t,"from-pa":t,"from-pr":t,"from-ri":t,"from-sc":t,"from-sd":t,"from-tn":t,"from-tx":t,"from-ut":t,"from-va":t,"from-vt":t,"from-wa":t,"from-wi":t,"from-wv":t,"from-wy":t,getmyip:t,gotdns:t,"hobby-site":t,homelinux:t,homeunix:t,iamallama:t,"is-a-anarchist":t,"is-a-blogger":t,"is-a-bookkeeper":t,"is-a-bulls-fan":t,"is-a-caterer":t,"is-a-chef":t,"is-a-conservative":t,"is-a-cpa":t,"is-a-cubicle-slave":t,"is-a-democrat":t,"is-a-designer":t,"is-a-doctor":t,"is-a-financialadvisor":t,"is-a-geek":t,"is-a-green":t,"is-a-guru":t,"is-a-hard-worker":t,"is-a-hunter":t,"is-a-landscaper":t,"is-a-lawyer":t,"is-a-liberal":t,"is-a-libertarian":t,"is-a-llama":t,"is-a-musician":t,"is-a-nascarfan":t,"is-a-nurse":t,"is-a-painter":t,"is-a-personaltrainer":t,"is-a-photographer":t,"is-a-player":t,"is-a-republican":t,"is-a-rockstar":t,"is-a-socialist":t,"is-a-student":t,"is-a-teacher":t,"is-a-techie":t,"is-a-therapist":t,"is-an-accountant":t,"is-an-actor":t,"is-an-actress":t,"is-an-anarchist":t,"is-an-artist":t,"is-an-engineer":t,"is-an-entertainer":t,"is-certified":t,"is-gone":t,"is-into-anime":t,"is-into-cars":t,"is-into-cartoons":t,"is-into-games":t,"is-leet":t,"is-not-certified":t,"is-slick":t,"is-uberleet":t,"is-with-theband":t,"isa-geek":t,"isa-hockeynut":t,issmarterthanyou:t,"likes-pie":t,likescandy:t,"neat-url":t,"saves-the-whales":t,selfip:t,"sells-for-less":t,"sells-for-u":t,servebbs:t,"simple-url":t,"space-to-rent":t,"teaches-yoga":t,writesthisblog:t,ddnsfree:t,ddnsgeek:t,giize:t,gleeze:t,kozow:t,loseyourip:t,ooguy:t,theworkpc:t,mytuleap:t,"tuleap-partners":t,encoreapi:t,evennode:[0,{"eu-1":t,"eu-2":t,"eu-3":t,"eu-4":t,"us-1":t,"us-2":t,"us-3":t,"us-4":t}],onfabrica:t,"fastly-edge":t,"fastly-terrarium":t,"fastvps-server":t,mydobiss:t,firebaseapp:t,fldrv:t,forgeblocks:t,framercanvas:t,"freebox-os":t,freeboxos:t,freemyip:t,aliases121:t,gentapps:t,gentlentapis:t,githubusercontent:t,"0emm":o,appspot:[2,{r:o}],blogspot:t,codespot:t,googleapis:t,googlecode:t,pagespeedmobilizer:t,withgoogle:t,withyoutube:t,grayjayleagues:t,hatenablog:t,hatenadiary:t,herokuapp:t,gr:t,smushcdn:t,wphostedmail:t,wpmucdn:t,pixolino:t,"apps-1and1":t,"live-website":t,"webspace-host":t,dopaas:t,"hosted-by-previder":z,hosteur:[0,{"rag-cloud":t,"rag-cloud-ch":t}],"ik-server":[0,{jcloud:t,"jcloud-ver-jpc":t}],jelastic:[0,{demo:t}],massivegrid:z,wafaicloud:[0,{jed:t,ryd:t}],"eu1-plenit":t,"la1-plenit":t,"us1-plenit":t,webadorsite:t,joyent:[0,{cns:o}],"on-forge":t,"on-vapor":t,lpusercontent:t,linode:[0,{members:t,nodebalancer:o}],linodeobjects:o,linodeusercontent:[0,{ip:t}],localtonet:t,lovableproject:t,barsycenter:t,barsyonline:t,lutrausercontent:o,modelscape:t,mwcloudnonprod:t,polyspace:t,mazeplay:t,miniserver:t,atmeta:t,fbsbx:L,meteorapp:V,routingthecloud:t,"same-app":t,"same-preview":t,mydbserver:t,mochausercontent:t,hostedpi:t,"mythic-beasts":[0,{caracal:t,customer:t,fentiger:t,lynx:t,ocelot:t,oncilla:t,onza:t,sphinx:t,vs:t,x:t,yali:t}],nospamproxy:[0,{cloud:[2,{o365:t}]}],"4u":t,nfshost:t,"3utilities":t,blogsyte:t,ciscofreak:t,damnserver:t,ddnsking:t,ditchyourip:t,dnsiskinky:t,dynns:t,geekgalaxy:t,"health-carereform":t,homesecuritymac:t,homesecuritypc:t,myactivedirectory:t,mysecuritycamera:t,myvnc:t,"net-freaks":t,onthewifi:t,point2this:t,quicksytes:t,securitytactics:t,servebeer:t,servecounterstrike:t,serveexchange:t,serveftp:t,servegame:t,servehalflife:t,servehttp:t,servehumour:t,serveirc:t,servemp3:t,servep2p:t,servepics:t,servequake:t,servesarcasm:t,stufftoread:t,unusualperson:t,workisboring:t,myiphost:t,observableusercontent:[0,{static:t}],simplesite:t,oaiusercontent:o,orsites:t,operaunite:t,"customer-oci":[0,{"*":t,oci:o,ocp:o,ocs:o}],oraclecloudapps:o,oraclegovcloudapps:o,"authgear-staging":t,authgearapps:t,skygearapp:t,outsystemscloud:t,ownprovider:t,pgfog:t,pagexl:t,gotpantheon:t,paywhirl:o,upsunapp:t,"postman-echo":t,prgmr:[0,{xen:t}],"project-study":[0,{dev:t}],pythonanywhere:V,qa2:t,"alpha-myqnapcloud":t,"dev-myqnapcloud":t,mycloudnas:t,mynascloud:t,myqnapcloud:t,qualifioapp:t,ladesk:t,qualyhqpartner:o,qualyhqportal:o,qbuser:t,quipelements:o,rackmaze:t,"readthedocs-hosted":t,rhcloud:t,onrender:t,render:H,"subsc-pay":t,"180r":t,dojin:t,sakuratan:t,sakuraweb:t,x0:t,code:[0,{builder:o,"dev-builder":o,"stg-builder":o}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":o}]}]}]}],logoip:t,scrysec:t,"firewall-gateway":t,myshopblocks:t,myshopify:t,shopitsite:t,"1kapp":t,appchizi:t,applinzi:t,sinaapp:t,vipsinaapp:t,streamlitapp:t,"try-snowplow":t,"playstation-cloud":t,myspreadshop:t,"w-corp-staticblitz":t,"w-credentialless-staticblitz":t,"w-staticblitz":t,"stackhero-network":t,stdlib:[0,{api:t}],strapiapp:[2,{media:t}],"streak-link":t,streaklinks:t,streakusercontent:t,"temp-dns":t,dsmynas:t,familyds:t,mytabit:t,taveusercontent:t,"tb-hosting":$,reservd:t,thingdustdata:t,"townnews-staging":t,typeform:[0,{pro:t}],hk:t,it:t,"deus-canvas":t,vultrobjects:o,wafflecell:t,hotelwithflight:t,"reserve-online":t,cprapid:t,pleskns:t,remotewd:t,wiardweb:[0,{pages:t}],wixsite:t,wixstudio:t,messwithdns:t,"woltlab-demo":t,wpenginepowered:[2,{js:t}],xnbay:[2,{u2:t,"u2-local":t}],yolasite:t}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,id:e,int:e,net:e,nome:e,org:e,publ:e}],cw:W,cx:[1,{gov:e,cloudns:t,ath:t,info:t,assessments:t,calculators:t,funnels:t,paynow:t,quizzes:t,researched:t,tests:t}],cy:[1,{ac:e,biz:e,com:[1,{scaleforce:B}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{gov:e,contentproxy9:[0,{rsc:t}],realm:t,e4:t,co:t,metacentrum:[0,{cloud:o,custom:t}],muni:[0,{cloud:[0,{flt:t,usr:t}]}]}],de:[1,{bplaced:t,square7:t,com:t,cosidns:K,dnsupdater:t,"dynamisches-dns":t,"internet-dns":t,"l-o-g-i-n":t,ddnss:[2,{dyn:t,dyndns:t}],"dyn-ip24":t,dyndns1:t,"home-webserver":[2,{dyn:t}],"myhome-server":t,dnshome:t,fuettertdasnetz:t,isteingeek:t,istmein:t,lebtimnetz:t,leitungsen:t,traeumtgerade:t,frusky:o,goip:t,"xn--gnstigbestellen-zvb":t,günstigbestellen:t,"xn--gnstigliefern-wob":t,günstigliefern:t,"hs-heilbronn":[0,{it:[0,{pages:t,"pages-research":t}]}],"dyn-berlin":t,"in-berlin":t,"in-brb":t,"in-butter":t,"in-dsl":t,"in-vpn":t,iservschule:t,"mein-iserv":t,schuldock:t,schulplattform:t,schulserver:t,"test-iserv":t,keymachine:t,co:t,"git-repos":t,"lcube-server":t,"svn-repos":t,barsy:t,webspaceconfig:t,"123webseite":t,rub:t,"ruhr-uni-bochum":[2,{noc:[0,{io:t}]}],logoip:t,"firewall-gateway":t,"my-gateway":t,"my-router":t,spdns:t,my:t,speedpartner:[0,{customer:t}],myspreadshop:t,"taifun-dns":t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t,"dd-dns":t,"dray-dns":t,draydns:t,"dyn-vpn":t,dynvpn:t,"mein-vigor":t,"my-vigor":t,"my-wan":t,"syno-ds":t,"synology-diskstation":t,"synology-ds":t,"virtual-user":t,virtualuser:t,"community-pro":t,diskussionsbereich:t,xenonconnect:o}],dj:e,dk:[1,{biz:t,co:t,firm:t,reg:t,store:t,"123hjemmeside":t,myspreadshop:t}],dm:q,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,net:e,org:e,pol:e,soc:e,tm:e}],ec:[1,{abg:e,adm:e,agron:e,arqt:e,art:e,bar:e,chef:e,com:e,cont:e,cpa:e,cue:e,dent:e,dgn:e,disco:e,doc:e,edu:e,eng:e,esm:e,fin:e,fot:e,gal:e,gob:e,gov:e,gye:e,ibr:e,info:e,k12:e,lat:e,loj:e,med:e,mil:e,mktg:e,mon:e,net:e,ntr:e,odont:e,org:e,pro:e,prof:e,psic:e,psiq:e,pub:e,rio:e,rrpp:e,sal:e,tech:e,tul:e,tur:e,uio:e,vet:e,xxx:e,base:t,official:t}],edu:[1,{rit:[0,{"git-pages":t}]}],ee:[1,{aip:e,com:e,edu:e,fie:e,gov:e,lib:e,med:e,org:e,pri:e,riik:e}],eg:[1,{ac:e,com:e,edu:e,eun:e,gov:e,info:e,me:e,mil:e,name:e,net:e,org:e,sci:e,sport:e,tv:e}],er:v,es:[1,{com:e,edu:e,gob:e,nom:e,org:e,"123miweb":t,myspreadshop:t}],et:[1,{biz:e,com:e,edu:e,gov:e,info:e,name:e,net:e,org:e}],eu:[1,{cloudns:t,prvw:t,dogado:[0,{jelastic:t}],barsy:t,spdns:t,nxa:o,directwp:t,transurl:o,diskstation:t}],fi:[1,{aland:e,dy:t,"xn--hkkinen-5wa":t,häkkinen:t,iki:t,cloudplatform:[0,{fi:t}],datacenter:[0,{demo:t,paas:t}],kapsi:t,"123kotisivu":t,myspreadshop:t}],fj:[1,{ac:e,biz:e,com:e,edu:e,gov:e,id:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:v,fm:[1,{com:e,edu:e,net:e,org:e,radio:t,user:o}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"en-root":t,"fbx-os":t,fbxos:t,"freebox-os":t,freeboxos:t,goupile:t,"123siteweb":t,"on-web":t,"chirurgiens-dentistes-en-france":t,dedibox:t,aeroport:t,avocat:t,chambagri:t,"chirurgiens-dentistes":t,"experts-comptables":t,medecin:t,notaires:t,pharmacien:t,port:t,veterinaire:t,myspreadshop:t,ynh:t}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,net:e,org:e,pvt:e,school:e}],gf:e,gg:[1,{co:e,net:e,org:e,ply:[0,{at:o,d6:t}],botdash:t,kaas:t,stackit:t,panel:[2,{daemon:t}]}],gh:[1,{biz:e,com:e,edu:e,gov:e,mil:e,net:e,org:e}],gi:[1,{com:e,edu:e,gov:e,ltd:e,mod:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,net:e,org:e}],gov:e,gp:[1,{asso:e,com:e,edu:e,mobi:e,net:e,org:e}],gq:e,gr:[1,{com:e,edu:e,gov:e,net:e,org:e,barsy:t,simplesite:t}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:[1,{nx:t}],gy:q,hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--ciqpn":e,个人:e,"xn--gmqw5a":e,個人:e,"xn--55qx5d":e,公司:e,"xn--mxtq1m":e,政府:e,"xn--lcvr32d":e,敎育:e,"xn--wcvs22d":e,教育:e,"xn--gmq050i":e,箇人:e,"xn--uc0atv":e,組織:e,"xn--uc0ay4a":e,組织:e,"xn--od0alg":e,網絡:e,"xn--zf0avx":e,網络:e,"xn--mk0axi":e,组織:e,"xn--tn0ag":e,组织:e,"xn--od0aq3b":e,网絡:e,"xn--io0a7i":e,网络:e,inc:t,ltd:t}],hm:e,hn:[1,{com:e,edu:e,gob:e,mil:e,net:e,org:e}],hr:[1,{com:e,from:e,iz:e,name:e,brendly:y}],ht:[1,{adult:e,art:e,asso:e,com:e,coop:e,edu:e,firm:e,gouv:e,info:e,med:e,net:e,org:e,perso:e,pol:e,pro:e,rel:e,shop:e,rt:t}],hu:[1,{2e3:e,agrar:e,bolt:e,casino:e,city:e,co:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,info:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,org:e,priv:e,reklam:e,sex:e,shop:e,sport:e,suli:e,szex:e,tm:e,tozsde:e,utazas:e,video:e}],id:[1,{ac:e,biz:e,co:e,desa:e,go:e,kop:e,mil:e,my:e,net:e,or:e,ponpes:e,sch:e,web:e,e:t,zone:t}],ie:[1,{gov:e,myspreadshop:t}],il:[1,{ac:e,co:[1,{ravpage:t,mytabit:t,tabitorder:t}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],ישראל:[1,{אקדמיה:e,ישוב:e,צהל:e,ממשל:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bank:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,fin:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:t,barsy:t,web:t,supabase:t}],info:[1,{cloudns:t,"dynamic-dns":t,"barrel-of-knowledge":t,"barrell-of-knowledge":t,dyndns:t,"for-our":t,"groks-the":t,"groks-this":t,"here-for-more":t,knowsitall:t,selfip:t,webhop:t,barsy:t,mayfirst:t,mittwald:t,mittwaldserver:t,typo3server:t,dvrcam:t,ilovecollege:t,"no-ip":t,forumz:t,nsupdate:t,dnsupdate:t,"v-info":t}],int:[1,{eu:e}],io:[1,{2038:t,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":o,myaddr:t,apigee:t,"b-data":t,beagleboard:t,bitbucket:t,bluebite:t,boxfuse:t,brave:i,browsersafetymark:t,bubble:Q,bubbleapps:t,bigv:[0,{uk0:t}],cleverapps:t,cloudbeesusercontent:t,dappnode:[0,{dyndns:t}],darklang:t,definima:t,dedyn:t,icp0:X,icp1:X,qzz:t,"fh-muenster":t,shw:t,forgerock:[0,{id:t}],gitbook:t,github:t,gitlab:t,lolipop:t,"hasura-app":t,hostyhosting:t,hypernode:t,moonscale:o,beebyte:z,beebyteapp:[0,{sekd1:t}],jele:t,webthings:t,loginline:t,barsy:t,azurecontainer:o,ngrok:[2,{ap:t,au:t,eu:t,in:t,jp:t,sa:t,us:t}],nodeart:[0,{stage:t}],pantheonsite:t,pstmn:[2,{mock:t}],protonet:t,qcx:[2,{sys:o}],qoto:t,vaporcloud:t,myrdbx:t,"rb-hosting":$,"on-k3s":o,"on-rio":o,readthedocs:t,resindevice:t,resinstaging:[0,{devices:t}],hzc:t,sandcats:t,scrypted:[0,{client:t}],"mo-siemens":t,lair:L,stolos:o,musician:t,utwente:t,edugit:t,telebit:t,thingdust:[0,{dev:Z,disrec:Z,prod:ee,testing:Z}],tickets:t,webflow:t,webflowtest:t,editorx:t,wixstudio:t,basicserver:t,virtualserver:t}],iq:n,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,arvanedge:t,vistablog:t}],is:e,it:[1,{edu:e,gov:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenezia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-süd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-südtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,trentino:e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-süd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-südtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinosüd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinosüdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentinsüd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentinsüdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vallée-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vallée-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,valléeaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,valléedaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,balsan:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-südtirol":e,"balsan-suedtirol":e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,bolzano:e,"bolzano-altoadige":e,bozen:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-südtirol":e,"bozen-suedtirol":e,br:e,brescia:e,brindisi:e,bs:e,bt:e,bulsan:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-südtirol":e,"bulsan-suedtirol":e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesena-forli":e,"xn--cesena-forl-mcb":e,"cesena-forlì":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforlì:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forlì-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forlìcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,monza:e,"monza-brianza":e,"monza-e-della-brianza":e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,sa:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,"xn--sdtirol-n2a":e,südtirol:e,suedtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,"12chars":t,ibxos:t,iliadboxos:t,neen:[0,{jc:t}],"123homepage":t,"16-b":t,"32-b":t,"64-b":t,myspreadshop:t,syncloud:t}],je:[1,{co:e,net:e,org:e,of:t}],jm:v,jo:[1,{agri:e,ai:e,com:e,edu:e,eng:e,fm:e,gov:e,mil:e,net:e,org:e,per:e,phd:e,sch:e,tv:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:J,gehirn:t,ivory:t,"mail-box":t,mints:t,mokuren:t,opal:t,sakura:t,sumomo:t,topaz:t}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,nagi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,wakayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--ehqz56n":e,三重:e,"xn--1lqs03n":e,京都:e,"xn--qqqt11m":e,佐賀:e,"xn--f6qx53a":e,兵庫:e,"xn--djrs72d6uy":e,北海道:e,"xn--mkru45i":e,千葉:e,"xn--0trq7p7nn":e,和歌山:e,"xn--5js045d":e,埼玉:e,"xn--kbrq7o":e,大分:e,"xn--pssu33l":e,大阪:e,"xn--ntsq17g":e,奈良:e,"xn--uisz3g":e,宮城:e,"xn--6btw5a":e,宮崎:e,"xn--1ctwo":e,富山:e,"xn--6orx2r":e,山口:e,"xn--rht61e":e,山形:e,"xn--rht27z":e,山梨:e,"xn--nit225k":e,岐阜:e,"xn--rht3d":e,岡山:e,"xn--djty4k":e,岩手:e,"xn--klty5x":e,島根:e,"xn--kltx9a":e,広島:e,"xn--kltp7d":e,徳島:e,"xn--c3s14m":e,愛媛:e,"xn--vgu402c":e,愛知:e,"xn--efvn9s":e,新潟:e,"xn--1lqs71d":e,東京:e,"xn--4pvxs":e,栃木:e,"xn--uuwu58a":e,沖縄:e,"xn--zbx025d":e,滋賀:e,"xn--8pvr4u":e,熊本:e,"xn--5rtp49c":e,石川:e,"xn--ntso0iqx3a":e,神奈川:e,"xn--elqq16h":e,福井:e,"xn--4it168d":e,福岡:e,"xn--klt787d":e,福島:e,"xn--rny31h":e,秋田:e,"xn--7t0a264c":e,群馬:e,"xn--uist22h":e,茨城:e,"xn--8ltr62k":e,長崎:e,"xn--2m4a15e":e,長野:e,"xn--32vp30h":e,青森:e,"xn--4it797k":e,静岡:e,"xn--5rtq34k":e,香川:e,"xn--k7yn95e":e,高知:e,"xn--tor131o":e,鳥取:e,"xn--d5qv7z876c":e,鹿児島:e,kawasaki:v,kitakyushu:v,kobe:v,nagoya:v,sapporo:v,sendai:v,yokohama:v,buyshop:t,fashionstore:t,handcrafted:t,kawaiishop:t,supersale:t,theshop:t,"0am":t,"0g0":t,"0j0":t,"0t0":t,mydns:t,pgw:t,wjg:t,usercontent:t,angry:t,babyblue:t,babymilk:t,backdrop:t,bambina:t,bitter:t,blush:t,boo:t,boy:t,boyfriend:t,but:t,candypop:t,capoo:t,catfood:t,cheap:t,chicappa:t,chillout:t,chips:t,chowder:t,chu:t,ciao:t,cocotte:t,coolblog:t,cranky:t,cutegirl:t,daa:t,deca:t,deci:t,digick:t,egoism:t,fakefur:t,fem:t,flier:t,floppy:t,fool:t,frenchkiss:t,girlfriend:t,girly:t,gloomy:t,gonna:t,greater:t,hacca:t,heavy:t,her:t,hiho:t,hippy:t,holy:t,hungry:t,icurus:t,itigo:t,jellybean:t,kikirara:t,kill:t,kilo:t,kuron:t,littlestar:t,lolipopmc:t,lolitapunk:t,lomo:t,lovepop:t,lovesick:t,main:t,mods:t,mond:t,mongolian:t,moo:t,namaste:t,nikita:t,nobushi:t,noor:t,oops:t,parallel:t,parasite:t,pecori:t,peewee:t,penne:t,pepper:t,perma:t,pigboat:t,pinoko:t,punyu:t,pupu:t,pussycat:t,pya:t,raindrop:t,readymade:t,sadist:t,schoolbus:t,secret:t,staba:t,stripper:t,sub:t,sunnyday:t,thick:t,tonkotsu:t,under:t,upper:t,velvet:t,verse:t,versus:t,vivian:t,watson:t,weblike:t,whitesnow:t,zombie:t,hateblo:t,hatenablog:t,hatenadiary:t,"2-d":t,bona:t,crap:t,daynight:t,eek:t,flop:t,halfmoon:t,jeez:t,matrix:t,mimoza:t,netgamers:t,nyanta:t,o0o0:t,rdy:t,rgr:t,rulez:t,sakurastorage:[0,{isk01:te,isk02:te}],saloon:t,sblo:t,skr:t,tank:t,"uh-oh":t,undo:t,webaccel:[0,{rs:t,user:t}],websozai:t,xii:t}],ke:[1,{ac:e,co:e,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,us:t,xx:t}],kh:v,ki:re,km:[1,{ass:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e,tm:e,asso:e,coop:e,gouv:e,medecin:e,notaires:e,pharmaciens:e,presse:e,veterinaire:e}],kn:[1,{edu:e,gov:e,net:e,org:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,ai:e,co:e,es:e,go:e,hs:e,io:e,it:e,kg:e,me:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,c01:t,"eliv-cdn":t,"eliv-dns":t,mmv:t,vki:t}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:W,kz:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,jcloud:t}],la:[1,{com:e,edu:e,gov:e,info:e,int:e,net:e,org:e,per:e,bnr:t}],lb:r,lc:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,oy:t}],li:e,lk:[1,{ac:e,assn:e,com:e,edu:e,gov:e,grp:e,hotel:e,int:e,ltd:e,net:e,ngo:e,org:e,sch:e,soc:e,web:e}],lr:r,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:c,lu:[1,{"123website":t}],lv:[1,{asn:e,com:e,conf:e,edu:e,gov:e,id:e,mil:e,net:e,org:e}],ly:[1,{com:e,edu:e,gov:e,id:e,med:e,net:e,org:e,plc:e,sch:e}],ma:[1,{ac:e,co:e,gov:e,net:e,org:e,press:e}],mc:[1,{asso:e,tm:e}],md:[1,{ir:t}],me:[1,{ac:e,co:e,edu:e,gov:e,its:e,net:e,org:e,priv:e,c66:t,craft:t,edgestack:t,filegear:t,"filegear-sg":t,lohmus:t,barsy:t,mcdir:t,brasilia:t,ddns:t,dnsfor:t,hopto:t,loginto:t,noip:t,webhop:t,soundcast:t,tcp4:t,vp4:t,diskstation:t,dscloud:t,i234:t,myds:t,synology:t,transip:$,nohost:t}],mg:[1,{co:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e}],mh:e,mil:e,mk:[1,{com:e,edu:e,gov:e,inf:e,name:e,net:e,org:e}],ml:[1,{ac:e,art:e,asso:e,com:e,edu:e,gouv:e,gov:e,info:e,inst:e,net:e,org:e,pr:e,presse:e}],mm:v,mn:[1,{edu:e,gov:e,org:e,nyc:t}],mo:r,mobi:[1,{barsy:t,dscloud:t}],mp:[1,{ju:t}],mq:e,mr:c,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:t}],mt:W,mu:[1,{ac:e,co:e,com:e,gov:e,net:e,or:e,org:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,edu:e,gob:e,net:e,org:e}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:ie,his:ie,ispmanager:t}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:t,"adobeio-static":t,adobeioruntime:t,akadns:t,akamai:t,"akamai-staging":t,akamaiedge:t,"akamaiedge-staging":t,akamaihd:t,"akamaihd-staging":t,akamaiorigin:t,"akamaiorigin-staging":t,akamaized:t,"akamaized-staging":t,edgekey:t,"edgekey-staging":t,edgesuite:t,"edgesuite-staging":t,alwaysdata:t,myamaze:t,cloudfront:t,appudo:t,"atlassian-dev":[0,{prod:Q}],myfritz:t,onavstack:t,shopselect:t,blackbaudcdn:t,boomla:t,bplaced:t,square7:t,cdn77:[0,{r:t}],"cdn77-ssl":t,gb:t,hu:t,jp:t,se:t,uk:t,clickrising:t,"ddns-ip":t,"dns-cloud":t,"dns-dynamic":t,cloudaccess:t,cloudflare:[2,{cdn:t}],cloudflareanycast:Q,cloudflarecn:Q,cloudflareglobal:Q,ctfcloud:t,"feste-ip":t,"knx-server":t,"static-access":t,cryptonomic:o,dattolocal:t,mydatto:t,debian:t,definima:t,deno:t,icp:o,de5:t,"at-band-camp":t,blogdns:t,"broke-it":t,buyshouses:t,dnsalias:t,dnsdojo:t,"does-it":t,dontexist:t,dynalias:t,dynathome:t,endofinternet:t,"from-az":t,"from-co":t,"from-la":t,"from-ny":t,"gets-it":t,"ham-radio-op":t,homeftp:t,homeip:t,homelinux:t,homeunix:t,"in-the-band":t,"is-a-chef":t,"is-a-geek":t,"isa-geek":t,"kicks-ass":t,"office-on-the":t,podzone:t,"scrapper-site":t,selfip:t,"sells-it":t,servebbs:t,serveftp:t,thruhere:t,webhop:t,casacam:t,dynu:t,dynv6:t,twmail:t,ru:t,channelsdvr:[2,{u:t}],fastly:[0,{freetls:t,map:t,prod:[0,{a:t,global:t}],ssl:[0,{a:t,b:t,global:t}]}],fastlylb:[2,{map:t}],edgeapp:t,"keyword-on":t,"live-on":t,"server-on":t,"cdn-edges":t,heteml:t,cloudfunctions:t,"grafana-dev":t,iobb:t,moonscale:t,"in-dsl":t,"in-vpn":t,oninferno:t,botdash:t,"apps-1and1":t,ipifony:t,cloudjiffy:[2,{"fra1-de":t,"west1-us":t}],elastx:[0,{"jls-sto1":t,"jls-sto2":t,"jls-sto3":t}],massivegrid:[0,{paas:[0,{"fr-1":t,"lon-1":t,"lon-2":t,"ny-1":t,"ny-2":t,"sg-1":t}]}],saveincloud:[0,{jelastic:t,"nordeste-idc":t}],scaleforce:B,kinghost:t,uni5:t,krellian:t,ggff:t,localto:o,barsy:t,luyani:t,memset:t,"azure-api":t,"azure-mobile":t,azureedge:t,azurefd:t,azurestaticapps:[2,{1:t,2:t,3:t,4:t,5:t,6:t,7:t,centralus:t,eastasia:t,eastus2:t,westeurope:t,westus2:t}],azurewebsites:t,cloudapp:t,trafficmanager:t,windows:[0,{core:[0,{blob:t}],servicebus:t}],mynetname:[0,{sn:t}],routingthecloud:t,bounceme:t,ddns:t,"eating-organic":t,mydissent:t,myeffect:t,mymediapc:t,mypsx:t,mysecuritycamera:t,nhlfan:t,"no-ip":t,pgafan:t,privatizehealthinsurance:t,redirectme:t,serveblog:t,serveminecraft:t,sytes:t,dnsup:t,hicam:t,"now-dns":t,ownip:t,vpndns:t,cloudycluster:t,ovh:[0,{hosting:o,webpaas:o}],rackmaze:t,myradweb:t,in:t,"subsc-pay":t,squares:t,schokokeks:t,"firewall-gateway":t,seidat:t,senseering:t,siteleaf:t,mafelo:t,myspreadshop:t,"vps-host":[2,{jelastic:[0,{atl:t,njs:t,ric:t}]}],srcf:[0,{soc:t,user:t}],supabase:t,dsmynas:t,familyds:t,ts:[2,{c:o}],torproject:[2,{pages:t}],tunnelmole:t,vusercontent:t,"reserve-online":t,localcert:t,"community-pro":t,meinforum:t,yandexcloud:[2,{storage:t,website:t}],za:t,zabc:t}],nf:[1,{arts:e,com:e,firm:e,info:e,net:e,other:e,per:e,rec:e,store:e,web:e}],ng:[1,{com:e,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:t,dl:t,go:t,lg:t,on:t}],col:t,firm:t,gen:t,ltd:t,ngo:t,plc:t}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:t,"hosting-cluster":t,gov:t,khplay:t,"123website":t,myspreadshop:t,transurl:o,cistron:t,demon:t}],no:[1,{fhs:e,folkebibl:e,fylkesbibl:e,idrett:e,museum:e,priv:e,vgs:e,dep:e,herad:e,kommune:e,mil:e,stat:e,aa:ae,ah:ae,bu:ae,fm:ae,hl:ae,hm:ae,"jan-mayen":ae,mr:ae,nl:ae,nt:ae,of:ae,ol:ae,oslo:ae,rl:ae,sf:ae,st:ae,svalbard:ae,tm:ae,tr:ae,va:ae,vf:ae,akrehamn:e,"xn--krehamn-dxa":e,åkrehamn:e,algard:e,"xn--lgrd-poac":e,ålgård:e,arna:e,bronnoysund:e,"xn--brnnysund-m8ac":e,brønnøysund:e,brumunddal:e,bryne:e,drobak:e,"xn--drbak-wua":e,drøbak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,florø:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,hønefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,jørpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langevåg:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mjøndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosjøen:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,osøyro:e,raholt:e,"xn--rholt-mra":e,råholt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessjøen:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stjørdalshalsen:e,tananger:e,tranby:e,vossevangen:e,aarborte:e,aejrie:e,afjord:e,"xn--fjord-lra":e,åfjord:e,agdenes:e,akershus:se,aknoluokta:e,"xn--koluokta-7ya57h":e,ákŋoluokta:e,al:e,"xn--l-1fa":e,ål:e,alaheadju:e,"xn--laheadju-7ya":e,álaheadju:e,alesund:e,"xn--lesund-hua":e,ålesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,áltá:e,alvdal:e,amli:e,"xn--mli-tla":e,åmli:e,amot:e,"xn--mot-tla":e,åmot:e,andasuolo:e,andebu:e,andoy:e,"xn--andy-ira":e,andøy:e,ardal:e,"xn--rdal-poa":e,årdal:e,aremark:e,arendal:e,"xn--s-1fa":e,ås:e,aseral:e,"xn--seral-lra":e,åseral:e,asker:e,askim:e,askoy:e,"xn--asky-ira":e,askøy:e,askvoll:e,asnes:e,"xn--snes-poa":e,åsnes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-høland":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,averøy:e,badaddja:e,"xn--bdddj-mrabd":e,bådåddjå:e,"xn--brum-voa":e,bærum:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,báhcavuotna:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,báhccavuotna:e,baidar:e,"xn--bidr-5nac":e,báidár:e,bajddar:e,"xn--bjddar-pta":e,bájddar:e,balat:e,"xn--blt-elab":e,bálát:e,balestrand:e,ballangen:e,balsfjord:e,bamble:e,bardu:e,barum:e,batsfjord:e,"xn--btsfjord-9za":e,båtsfjord:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalváhki:e,beardu:e,beiarn:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlevåg:e,bievat:e,"xn--bievt-0qa":e,bievát:e,bindal:e,birkenes:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bodø:e,bokn:e,bomlo:e,"xn--bmlo-gra":e,bømlo:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,brønnøy:e,budejju:e,buskerud:se,bygland:e,bykle:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,čáhcesuolo:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenjárga:e,davvesiida:e,deatnu:e,dielddanuorri:e,divtasvuodna:e,divttasvuotna:e,donna:e,"xn--dnna-gra":e,dønna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyrøy:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenassi:e,"xn--eveni-0qa01ga":e,evenášši:e,evenes:e,"evje-og-hornnes":e,farsund:e,fauske:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finnøy:e,fitjar:e,fjaler:e,fjell:e,fla:e,"xn--fl-zia":e,flå:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,folldal:e,forde:e,"xn--frde-gra":e,førde:e,forsand:e,fosnes:e,"xn--frna-woa":e,fræna:e,frana:e,frei:e,frogn:e,froland:e,frosta:e,froya:e,"xn--frya-hra":e,frøya:e,fuoisku:e,fuossko:e,fusa:e,fyresdal:e,gaivuotna:e,"xn--givuotna-8ya":e,gáivuotna:e,galsa:e,"xn--gls-elac":e,gálsá:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,gáŋgaviika:e,gaular:e,gausdal:e,giehtavuoatna:e,gildeskal:e,"xn--gildeskl-g0a":e,gildeskål:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gjøvik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,grue:e,gulen:e,guovdageaidnu:e,ha:e,"xn--h-2fa":e,hå:e,habmer:e,"xn--hbmer-xqa":e,hábmer:e,hadsel:e,"xn--hgebostad-g3a":e,hægebostad:e,hagebostad:e,halden:e,halsa:e,hamar:e,hamaroy:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,hámmárfeasta:e,hammerfest:e,hapmir:e,"xn--hpmir-xqa":e,hápmir:e,haram:e,hareid:e,harstad:e,hasvik:e,hattfjelldal:e,haugesund:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,våler:e}],hemne:e,hemnes:e,hemsedal:e,hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hobøl:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holtålen:e,hordaland:[0,{os:e}],hornindal:e,horten:e,hoyanger:e,"xn--hyanger-q1a":e,høyanger:e,hoylandet:e,"xn--hylandet-54a":e,høylandet:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inderøy:e,iveland:e,ivgu:e,jevnaker:e,jolster:e,"xn--jlster-bya":e,jølster:e,jondal:e,kafjord:e,"xn--kfjord-iua":e,kåfjord:e,karasjohka:e,"xn--krjohka-hwab49j":e,kárášjohka:e,karasjok:e,karlsoy:e,karmoy:e,"xn--karmy-yua":e,karmøy:e,kautokeino:e,klabu:e,"xn--klbu-woa":e,klæbu:e,klepp:e,kongsberg:e,kongsvinger:e,kraanghke:e,"xn--kranghke-b0a":e,kråanghke:e,kragero:e,"xn--krager-gya":e,kragerø:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,krødsherad:e,"xn--kvfjord-nxa":e,kvæfjord:e,"xn--kvnangen-k0a":e,kvænangen:e,kvafjord:e,kvalsund:e,kvam:e,kvanangen:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvitsøy:e,laakesvuemie:e,"xn--lrdal-sra":e,lærdal:e,lahppi:e,"xn--lhppi-xqa":e,láhppi:e,lardal:e,larvik:e,lavagis:e,lavangen:e,leangaviika:e,"xn--leagaviika-52b":e,leaŋgaviika:e,lebesby:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,lerdal:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindas:e,"xn--linds-pra":e,lindås:e,lindesnes:e,loabat:e,"xn--loabt-0qa":e,loabát:e,lodingen:e,"xn--ldingen-q1a":e,lødingen:e,lom:e,loppa:e,lorenskog:e,"xn--lrenskog-54a":e,lørenskog:e,loten:e,"xn--lten-gra":e,løten:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lurøy:e,luster:e,lyngdal:e,lyngen:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,málatvuopmi:e,malselv:e,"xn--mlselv-iua":e,målselv:e,malvik:e,mandal:e,marker:e,marnardal:e,masfjorden:e,masoy:e,"xn--msy-ula0h":e,måsøy:e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"mátta-várjjat":e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,meløy:e,meraker:e,"xn--merker-kua":e,meråker:e,midsund:e,"midtre-gauldal":e,moareke:e,"xn--moreke-jua":e,moåreke:e,modalen:e,modum:e,molde:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"møre-og-romsdal":[0,{herøy:e,sande:e}],moskenes:e,moss:e,muosat:e,"xn--muost-0qa":e,muosát:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,nååmesjevuemie:e,"xn--nry-yla5g":e,nærøy:e,namdalseid:e,namsos:e,namsskogan:e,nannestad:e,naroy:e,narviika:e,narvik:e,naustdal:e,navuotna:e,"xn--nvuotna-hwa":e,návuotna:e,"nedre-eiker":e,nesna:e,nesodden:e,nesseby:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,nordland:[0,{bo:e,"xn--b-5ga":e,bø:e,heroy:e,"xn--hery-ira":e,herøy:e}],"nordre-land":e,nordreisa:e,"nore-og-uvdal":e,notodden:e,notteroy:e,"xn--nttery-byae":e,nøtterøy:e,odda:e,oksnes:e,"xn--ksnes-uua":e,øksnes:e,omasvuotna:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppegård:e,orkdal:e,orland:e,"xn--rland-uua":e,ørland:e,orskog:e,"xn--rskog-uua":e,ørskog:e,orsta:e,"xn--rsta-fra":e,ørsta:e,osen:e,osteroy:e,"xn--ostery-fya":e,osterøy:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],østfold:[0,{våler:e}],"ostre-toten":e,"xn--stre-toten-zcb":e,"østre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"øvre-eiker":e,oyer:e,"xn--yer-zna":e,øyer:e,oygarden:e,"xn--ygarden-p1a":e,øygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"øystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,porsáŋgu:e,porsgrunn:e,rade:e,"xn--rde-ula":e,råde:e,radoy:e,"xn--rady-ira":e,radøy:e,"xn--rlingen-mxa":e,rælingen:e,rahkkeravju:e,"xn--rhkkervju-01af":e,ráhkkerávju:e,raisa:e,"xn--risa-5na":e,ráisa:e,rakkestad:e,ralingen:e,rana:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennesøy:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,risor:e,"xn--risr-ira":e,risør:e,rissa:e,roan:e,rodoy:e,"xn--rdy-0nab":e,rødøy:e,rollag:e,romsa:e,romskog:e,"xn--rmskog-bya":e,rømskog:e,roros:e,"xn--rros-gra":e,røros:e,rost:e,"xn--rst-0na":e,røst:e,royken:e,"xn--ryken-vua":e,røyken:e,royrvik:e,"xn--ryrvik-bya":e,røyrvik:e,ruovat:e,rygge:e,salangen:e,salat:e,"xn--slat-5na":e,sálat:e,"xn--slt-elab":e,sálát:e,saltdal:e,samnanger:e,sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sandøy:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,siellak:e,sigdal:e,siljan:e,sirdal:e,skanit:e,"xn--sknit-yqa":e,skánit:e,skanland:e,"xn--sknland-fxa":e,skånland:e,skaun:e,skedsmo:e,ski:e,skien:e,skierva:e,"xn--skierv-uta":e,skiervá:e,skiptvet:e,skjak:e,"xn--skjk-soa":e,skjåk:e,skjervoy:e,"xn--skjervy-v1a":e,skjervøy:e,skodje:e,smola:e,"xn--smla-hra":e,smøla:e,snaase:e,"xn--snase-nra":e,snåase:e,snasa:e,"xn--snsa-roa":e,snåsa:e,snillfjord:e,snoasa:e,sogndal:e,sogne:e,"xn--sgne-gra":e,søgne:e,sokndal:e,sola:e,solund:e,somna:e,"xn--smna-gra":e,sømna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"søndre-land":e,songdalen:e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"sør-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"sør-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"sør-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"sør-varanger":e,sorfold:e,"xn--srfold-bya":e,sørfold:e,sorreisa:e,"xn--srreisa-q1a":e,sørreisa:e,sortland:e,sorum:e,"xn--srum-gra":e,sørum:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stjørdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,tana:e,telemark:[0,{bo:e,"xn--b-5ga":e,bø:e}],time:e,tingvoll:e,tinn:e,tjeldsund:e,tjome:e,"xn--tjme-hra":e,tjøme:e,tokke:e,tolga:e,tonsberg:e,"xn--tnsberg-q1a":e,tønsberg:e,torsken:e,"xn--trna-woa":e,træna:e,trana:e,tranoy:e,"xn--trany-yua":e,tranøy:e,troandin:e,trogstad:e,"xn--trgstad-r1a":e,trøgstad:e,tromsa:e,tromso:e,"xn--troms-zua":e,tromsø:e,trondheim:e,trysil:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,tysnes:e,"xn--tysvr-vra":e,tysvær:e,tysvar:e,ullensaker:e,ullensvang:e,ulvik:e,unjarga:e,"xn--unjrga-rta":e,unjárga:e,utsira:e,vaapste:e,vadso:e,"xn--vads-jra":e,vadsø:e,"xn--vry-yla5g":e,værøy:e,vaga:e,"xn--vg-yiab":e,vågå:e,vagan:e,"xn--vgan-qoa":e,vågan:e,vagsoy:e,"xn--vgsy-qoa0j":e,vågsøy:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vardø:e,varggat:e,"xn--vrggt-xqad":e,várggát:e,varoy:e,vefsn:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,vegårshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestfold:[0,{sande:e}],vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestvågøy:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,voagat:e,volda:e,voss:e,co:t,"123hjemmeside":t,myspreadshop:t}],np:v,nr:re,nu:[1,{merseine:t,mine:t,shacknet:t,enterprisecloud:t}],nz:[1,{ac:e,co:e,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,"xn--mori-qsa":e,māori:e,mil:e,net:e,org:e,parliament:e,school:e,cloudns:t}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:t,pimienta:t,poivron:t,potager:t,sweetpepper:t,cdn77:[0,{c:t,rsc:t}],"cdn77-secure":[0,{origin:[0,{ssl:t}]}],ae:t,cloudns:t,"ip-dynamic":t,ddnss:t,dpdns:t,duckdns:t,tunk:t,blogdns:t,blogsite:t,boldlygoingnowhere:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,dvrdns:t,dynalias:t,dyndns:[2,{go:t,home:t}],endofinternet:t,endoftheinternet:t,"from-me":t,"game-host":t,gotdns:t,"hobby-site":t,homedns:t,homeftp:t,homelinux:t,homeunix:t,"is-a-bruinsfan":t,"is-a-candidate":t,"is-a-celticsfan":t,"is-a-chef":t,"is-a-geek":t,"is-a-knight":t,"is-a-linux-user":t,"is-a-patsfan":t,"is-a-soxfan":t,"is-found":t,"is-lost":t,"is-saved":t,"is-very-bad":t,"is-very-evil":t,"is-very-good":t,"is-very-nice":t,"is-very-sweet":t,"isa-geek":t,"kicks-ass":t,misconfused:t,podzone:t,readmyblog:t,selfip:t,sellsyourhome:t,servebbs:t,serveftp:t,servegame:t,"stuff-4-sale":t,webhop:t,accesscam:t,camdvr:t,freeddns:t,mywire:t,webredirect:t,twmail:t,eu:[2,{al:t,asso:t,at:t,au:t,be:t,bg:t,ca:t,cd:t,ch:t,cn:t,cy:t,cz:t,de:t,dk:t,edu:t,ee:t,es:t,fi:t,fr:t,gr:t,hr:t,hu:t,ie:t,il:t,in:t,int:t,is:t,it:t,jp:t,kr:t,lt:t,lu:t,lv:t,me:t,mk:t,mt:t,my:t,net:t,ng:t,nl:t,no:t,nz:t,pl:t,pt:t,ro:t,ru:t,se:t,si:t,sk:t,tr:t,uk:t,us:t}],fedorainfracloud:t,fedorapeople:t,fedoraproject:[0,{cloud:t,os:H,stg:[0,{os:H}]}],freedesktop:t,hatenadiary:t,hepforge:t,"in-dsl":t,"in-vpn":t,js:t,barsy:t,mayfirst:t,routingthecloud:t,bmoattachments:t,"cable-modem":t,collegefan:t,couchpotatofries:t,hopto:t,mlbfan:t,myftp:t,mysecuritycamera:t,nflfan:t,"no-ip":t,"read-books":t,ufcfan:t,zapto:t,dynserv:t,"now-dns":t,"is-local":t,httpbin:t,pubtls:t,jpn:t,"my-firewall":t,myfirewall:t,spdns:t,"small-web":t,dsmynas:t,familyds:t,teckids:te,tuxfamily:t,diskstation:t,hk:t,us:t,toolforge:t,wmcloud:[2,{beta:t}],wmflabs:t,za:t}],pa:[1,{abo:e,ac:e,com:e,edu:e,gob:e,ing:e,med:e,net:e,nom:e,org:e,sld:e}],pe:[1,{com:e,edu:e,gob:e,mil:e,net:e,nom:e,org:e}],pf:[1,{com:e,edu:e,org:e}],pg:v,ph:[1,{com:e,edu:e,gov:e,i:e,mil:e,net:e,ngo:e,org:e,cloudns:t}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,agro:e,aid:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,media:e,miasta:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,"kazimierz-dolny":e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorskie:e,pomorze:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,skoczow:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:t,gliwice:t,krakow:t,poznan:t,wroc:t,zakopane:t,beep:t,"ecommerce-shop":t,cfolks:t,dfirma:t,dkonto:t,you2:t,shoparena:t,homesklep:t,sdscloud:t,unicloud:t,lodz:t,pabianice:t,plock:t,sieradz:t,skierniewice:t,zgierz:t,krasnik:t,leczna:t,lubartow:t,lublin:t,poniatowa:t,swidnik:t,co:t,torun:t,simplesite:t,myspreadshop:t,gda:t,gdansk:t,gdynia:t,med:t,sopot:t,bielsko:t}],pm:[1,{own:t,name:t}],pn:[1,{co:e,edu:e,gov:e,net:e,org:e}],post:e,pr:[1,{biz:e,com:e,edu:e,gov:e,info:e,isla:e,name:e,net:e,org:e,pro:e,ac:e,est:e,prof:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,"12chars":t,cloudns:t,barsy:t,ngrok:t}],ps:[1,{com:e,edu:e,gov:e,net:e,org:e,plo:e,sec:e}],pt:[1,{com:e,edu:e,gov:e,int:e,net:e,nome:e,org:e,publ:e,"123paginaweb":t}],pw:[1,{gov:e,cloudns:t,x443:t}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e}],re:[1,{asso:e,com:e,netlib:t,can:t}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:t,shop:t,barsy:t}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:y,barsy:t,ox:t}],ru:[1,{ac:t,edu:t,gov:t,int:t,mil:t,eurodir:t,adygeya:t,bashkiria:t,bir:t,cbg:t,com:t,dagestan:t,grozny:t,kalmykia:t,kustanai:t,marine:t,mordovia:t,msk:t,mytis:t,nalchik:t,nov:t,pyatigorsk:t,spb:t,vladikavkaz:t,vladimir:t,na4u:t,mircloud:t,myjino:[2,{hosting:o,landing:o,spectrum:o,vps:o}],cldmail:[0,{hb:t}],mcdir:[2,{vps:t}],mcpre:t,net:t,org:t,pp:t,lk3:t,ras:t}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,edu:e,gov:e,med:e,net:e,org:e,pub:e,sch:e}],sb:r,sc:r,sd:[1,{com:e,edu:e,gov:e,info:e,med:e,net:e,org:e,tv:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:t,iopsys:t,"123minsida":t,itcouldbewor:t,myspreadshop:t}],sg:[1,{com:e,edu:e,gov:e,net:e,org:e,enscaled:t}],sh:[1,{com:e,gov:e,mil:e,net:e,org:e,hashbang:t,botda:t,lovable:t,platform:[0,{ent:t,eu:t,us:t}],teleport:t,now:t}],si:[1,{f5:t,gitapp:t,gitpage:t}],sj:e,sk:e,sl:r,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,perso:e,univ:e}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:t}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:t,kirara:t,noho:t}],su:[1,{abkhazia:t,adygeya:t,aktyubinsk:t,arkhangelsk:t,armenia:t,ashgabad:t,azerbaijan:t,balashov:t,bashkiria:t,bryansk:t,bukhara:t,chimkent:t,dagestan:t,"east-kazakhstan":t,exnet:t,georgia:t,grozny:t,ivanovo:t,jambyl:t,kalmykia:t,kaluga:t,karacol:t,karaganda:t,karelia:t,khakassia:t,krasnodar:t,kurgan:t,kustanai:t,lenug:t,mangyshlak:t,mordovia:t,msk:t,murmansk:t,nalchik:t,navoi:t,"north-kazakhstan":t,nov:t,obninsk:t,penza:t,pokrovsk:t,sochi:t,spb:t,tashkent:t,termez:t,togliatti:t,troitsk:t,tselinograd:t,tula:t,tuva:t,vladikavkaz:t,vladimir:t,vologda:t}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:c,sy:n,sz:[1,{ac:e,co:e,org:e}],tc:e,td:e,tel:e,tf:[1,{sch:t}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:t,shop:t}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:c,tm:[1,{co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:t}],to:[1,{611:t,com:e,edu:e,gov:e,mil:e,net:e,org:e,oya:t,x0:t,quickconnect:P,vpnplus:t}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:e,dr:e,edu:e,gen:e,gov:e,info:e,k12:e,kep:e,mil:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:c}],tt:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],tv:[1,{"better-than":t,dyndns:t,"on-the-web":t,"worse-than":t,from:t,sakura:t}],tw:[1,{club:e,com:[1,{mymailer:t}],ebiz:e,edu:e,game:e,gov:e,idv:e,mil:e,net:e,org:e,url:t,mydns:t}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:t,inf:t,ltd:t,cx:t,biz:t,co:t,pp:t,v:t}],ug:[1,{ac:e,co:e,com:e,edu:e,go:e,gov:e,mil:e,ne:e,or:e,org:e,sc:e,us:e}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:t,vm:t}],layershift:B,barsy:t,barsyonline:t,retrosnub:ee,"nh-serv":t,"no-ip":t,adimo:t,myspreadshop:t}],gov:[1,{api:t,campaign:t,service:t}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:t,lug:t,lugs:t,affinitylottery:t,raffleentry:t,weeklylottery:t}],plc:e,police:e,sch:v,conn:t,copro:t,hosp:t,"independent-commission":t,"independent-inquest":t,"independent-inquiry":t,"independent-panel":t,"independent-review":t,"public-inquiry":t,"royal-commission":t,pymnt:t,barsy:t,nimsite:t,oraclegovcloudapps:o}],us:[1,{dni:e,isa:e,nsn:e,ak:ce,al:ce,ar:ce,as:ce,az:ce,ca:ce,co:ce,ct:ce,dc:ce,de:ue,fl:ce,ga:ce,gu:ce,hi:le,ia:ce,id:ce,il:ce,in:ce,ks:ce,ky:ce,la:ce,ma:[1,{k12:[1,{chtr:e,paroch:e,pvt:e}],cc:e,lib:e}],md:ce,me:ce,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:ce,mo:ce,ms:[1,{k12:e,cc:e}],mt:ce,nc:ce,nd:le,ne:ce,nh:ce,nj:ce,nm:ce,nv:ce,ny:ce,oh:ce,ok:ce,or:ce,pa:ce,pr:ce,ri:le,sc:ce,sd:le,tn:ce,tx:ce,ut:ce,va:ce,vi:ce,vt:ce,wa:ce,wi:ce,wv:ue,wy:ce,cloudns:t,"is-by":t,"land-4-sale":t,"stuff-4-sale":t,heliohost:t,enscaled:[0,{phx:t}],mircloud:t,ngo:t,golffan:t,noip:t,pointto:t,freeddns:t,srv:[2,{gh:t,gl:t}],platterp:t,servername:t}],uy:[1,{com:e,edu:e,gub:e,mil:e,net:e,org:e}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,gv:[2,{d:t}],"0e":o,mydns:t}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,emprende:e,firm:e,gob:e,gov:e,ia:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:[1,{edu:e}],vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e}],vu:W,wf:[1,{biz:t,sch:t}],ws:[1,{com:e,edu:e,gov:e,net:e,org:e,advisor:o,cloud66:t,dyndns:t,mypets:t}],yt:[1,{org:t}],"xn--mgbaam7a8h":e,امارات:e,"xn--y9a3aq":e,հայ:e,"xn--54b7fta0cc":e,বাংলা:e,"xn--90ae":e,бг:e,"xn--mgbcpq6gpa1a":e,البحرين:e,"xn--90ais":e,бел:e,"xn--fiqs8s":e,中国:e,"xn--fiqz9s":e,中國:e,"xn--lgbbat1ad8j":e,الجزائر:e,"xn--wgbh1c":e,مصر:e,"xn--e1a4c":e,ею:e,"xn--qxa6a":e,ευ:e,"xn--mgbah1a3hjkrd":e,موريتانيا:e,"xn--node":e,გე:e,"xn--qxam":e,ελ:e,"xn--j6w193g":[1,{"xn--gmqw5a":e,"xn--55qx5d":e,"xn--mxtq1m":e,"xn--wcvs22d":e,"xn--uc0atv":e,"xn--od0alg":e}],香港:[1,{個人:e,公司:e,政府:e,教育:e,組織:e,網絡:e}],"xn--2scrj9c":e,ಭಾರತ:e,"xn--3hcrj9c":e,ଭାରତ:e,"xn--45br5cyl":e,ভাৰত:e,"xn--h2breg3eve":e,भारतम्:e,"xn--h2brj9c8c":e,भारोत:e,"xn--mgbgu82a":e,ڀارت:e,"xn--rvc1e0am3e":e,ഭാരതം:e,"xn--h2brj9c":e,भारत:e,"xn--mgbbh1a":e,بارت:e,"xn--mgbbh1a71e":e,بھارت:e,"xn--fpcrj9c3d":e,భారత్:e,"xn--gecrj9c":e,ભારત:e,"xn--s9brj9c":e,ਭਾਰਤ:e,"xn--45brj9c":e,ভারত:e,"xn--xkc2dl3a5ee0h":e,இந்தியா:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,"xn--mgbtx2b":e,عراق:e,"xn--mgbayh7gpa":e,الاردن:e,"xn--3e0b707e":e,한국:e,"xn--80ao21a":e,қаз:e,"xn--q7ce6a":e,ລາວ:e,"xn--fzc2c9e2c":e,ලංකා:e,"xn--xkc2al3hye2a":e,இலங்கை:e,"xn--mgbc0a9azcg":e,المغرب:e,"xn--d1alf":e,мкд:e,"xn--l1acc":e,мон:e,"xn--mix891f":e,澳門:e,"xn--mix082f":e,澳门:e,"xn--mgbx4cd0ab":e,مليسيا:e,"xn--mgb9awbf":e,عمان:e,"xn--mgbai9azgqp6j":e,پاکستان:e,"xn--mgbai9a5eva00b":e,پاكستان:e,"xn--ygbi2ammx":e,فلسطين:e,"xn--90a3ac":[1,{"xn--80au":e,"xn--90azh":e,"xn--d1at":e,"xn--c1avg":e,"xn--o1ac":e,"xn--o1ach":e}],срб:[1,{ак:e,обр:e,од:e,орг:e,пр:e,упр:e}],"xn--p1ai":e,рф:e,"xn--wgbl6a":e,قطر:e,"xn--mgberp4a5d4ar":e,السعودية:e,"xn--mgberp4a5d4a87g":e,السعودیة:e,"xn--mgbqly7c0a67fbc":e,السعودیۃ:e,"xn--mgbqly7cvafr":e,السعوديه:e,"xn--mgbpl2fh":e,سودان:e,"xn--yfro4i67o":e,新加坡:e,"xn--clchc0ea0b2g2a9gcd":e,சிங்கப்பூர்:e,"xn--ogbpf8fl":e,سورية:e,"xn--mgbtf8fl":e,سوريا:e,"xn--o3cw4h":[1,{"xn--o3cyx2a":e,"xn--12co0c3b4eva":e,"xn--m3ch0j3a":e,"xn--h3cuzk1di":e,"xn--12c1fe0br":e,"xn--12cfi8ixb8l":e}],ไทย:[1,{ทหาร:e,ธุรกิจ:e,เน็ต:e,รัฐบาล:e,ศึกษา:e,องค์กร:e}],"xn--pgbs0dh":e,تونس:e,"xn--kpry57d":e,台灣:e,"xn--kprw13d":e,台湾:e,"xn--nnx388a":e,臺灣:e,"xn--j1amh":e,укр:e,"xn--mgb2ddes":e,اليمن:e,xxx:e,ye:n,za:[0,{ac:e,agric:e,alt:e,co:e,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:t}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:t,aiven:t,beget:o,brave:i,clerk:t,clerkstage:t,cloudflare:t,wnext:t,csb:[2,{preview:t}],convex:t,deta:t,ondigitalocean:t,easypanel:t,encr:[2,{frontend:t}],evervault:a,expo:[2,{staging:t}],edgecompute:t,"on-fleek":t,flutterflow:t,e2b:t,framer:t,github:t,hosted:o,run:[0,{"*":t,mtls:o}],web:t,hackclub:t,hasura:t,botdash:t,leapcell:t,loginline:t,lovable:t,luyani:t,medusajs:t,messerli:t,mocha:t,netlify:t,ngrok:t,"ngrok-free":t,developer:o,noop:t,northflank:o,upsun:o,railway:[0,{up:t}],replit:s,nyat:t,snowflake:[0,{"*":t,privatelink:o}],streamlit:t,storipress:t,telebit:t,typedream:t,vercel:t,wal:t,wasmer:t,bookonline:t,windsurf:t,zeabur:t,zerops:o}],apple:e,aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{on:[0,{"af-south-1":u,"ap-east-1":u,"ap-northeast-1":u,"ap-northeast-2":u,"ap-northeast-3":u,"ap-south-1":u,"ap-south-2":l,"ap-southeast-1":u,"ap-southeast-2":u,"ap-southeast-3":u,"ap-southeast-4":l,"ap-southeast-5":l,"ca-central-1":u,"ca-west-1":l,"eu-central-1":u,"eu-central-2":l,"eu-north-1":u,"eu-south-1":u,"eu-south-2":l,"eu-west-1":u,"eu-west-2":u,"eu-west-3":u,"il-central-1":l,"me-central-1":l,"me-south-1":u,"sa-east-1":u,"us-east-1":u,"us-east-2":u,"us-west-1":u,"us-west-2":u,"us-gov-east-1":d,"us-gov-west-1":d}],sagemaker:[0,{"ap-northeast-1":f,"ap-northeast-2":f,"ap-south-1":f,"ap-southeast-1":f,"ap-southeast-2":f,"ca-central-1":m,"eu-central-1":f,"eu-west-1":f,"eu-west-2":f,"us-east-1":m,"us-east-2":m,"us-west-2":m,"af-south-1":p,"ap-east-1":p,"ap-northeast-3":p,"ap-south-2":h,"ap-southeast-3":p,"ap-southeast-4":h,"ca-west-1":[0,{notebook:t,"notebook-fips":t}],"eu-central-2":p,"eu-north-1":p,"eu-south-1":p,"eu-south-2":p,"eu-west-3":p,"il-central-1":p,"me-central-1":p,"me-south-1":p,"sa-east-1":p,"us-gov-east-1":g,"us-gov-west-1":g,"us-west-1":[0,{notebook:t,"notebook-fips":t,studio:t}],experiments:o}],repost:[0,{private:o}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:t,nz:t}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{v0:t,windsurf:t}],builders:[1,{cloudsite:t}],business:b,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:t}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:t}]}],case:e,cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{convex:t,elementor:t,emergent:t,encoway:[0,{eu:t}],statics:o,ravendb:t,axarnet:[0,{"es-1":t}],diadem:t,jelastic:[0,{vip:t}],jele:t,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:t}]}],it1:t}],keliweb:[2,{cs:t}],oxa:[2,{tn:t,uk:t}],primetel:[2,{uk:t}],reclaim:[0,{ca:t,uk:t,us:t}],trendhosting:[0,{ch:t,de:t}],jote:t,jotelulu:t,kuleuven:t,laravel:t,linkyard:t,magentosite:o,matlab:t,observablehq:t,perspecta:t,vapor:t,"on-rancher":o,scw:[0,{baremetal:[0,{"fr-par-1":t,"fr-par-2":t,"nl-ams-1":t}],"fr-par":[0,{cockpit:t,ddl:t,dtwh:t,fnc:[2,{functions:t}],ifr:t,k8s:w,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t,whm:t}],instances:[0,{priv:t,pub:t}],k8s:t,"nl-ams":[0,{cockpit:t,ddl:t,dtwh:t,ifr:t,k8s:w,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t,whm:t}],"pl-waw":[0,{cockpit:t,ddl:t,dtwh:t,ifr:t,k8s:w,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t}],scalebook:t,smartlabeling:t}],servebolt:t,onstackit:[0,{runs:t}],trafficplex:t,"unison-services":t,urown:t,voorloper:t,zap:t}],club:[1,{cloudns:t,jele:t,barsy:t}],clubmed:e,coach:e,codes:[1,{owo:o}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:t,ravendb:t,myforum:t}],company:e,compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:t,de:t}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:t,bss:t}],dev:[1,{"12chars":t,myaddr:t,panel:t,bearblog:t,lcl:o,lclstage:o,stg:o,stgstage:o,pages:t,r2:t,workers:t,deno:t,"deno-staging":t,deta:t,lp:[2,{api:t,objects:t}],evervault:a,fly:t,githubpreview:t,gateway:o,botdash:t,inbrowser:o,"is-a-good":t,iserv:t,leapcell:t,runcontainers:t,localcert:[0,{user:o}],loginline:t,barsy:t,mediatech:t,"mocha-sandbox":t,modx:t,ngrok:t,"ngrok-free":t,"is-a-fullstack":t,"is-cool":t,"is-not-a":t,localplayer:t,xmit:t,"platter-app":t,replit:[2,{archer:t,bones:t,canary:t,global:t,hacker:t,id:t,janeway:t,kim:t,kira:t,kirk:t,odo:t,paris:t,picard:t,pike:t,prerelease:t,reed:t,riker:t,sisko:t,spock:t,staging:t,sulu:t,tarpit:t,teams:t,tucker:t,wesley:t,worf:t}],crm:[0,{d:o,w:o,wa:o,wb:o,wc:o,wd:o,we:o,wf:o}],erp:G,vercel:t,webhare:o,hrsn:t,"is-a":t}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:t}]}],direct:[1,{libp2p:t}],directory:e,discount:e,discover:e,dish:e,diy:e,dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:b,email:[1,{crisp:[0,{on:t}],tawk:Y,tawkto:Y}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:o}],eurovision:e,eus:[1,{party:J}],events:[1,{koobin:t,co:t}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:t}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:b,fire:e,firestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:e,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:t,sheezy:t}],gap:e,garden:e,gay:[1,{pages:t}],gbiz:e,gdn:[1,{cnpy:t}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:[1,{appwrite:t}],globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goo:e,goodyear:e,goog:[1,{cloud:t,translate:t,usercontent:o}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:t}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:t}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:t,freesite:t,easypanel:t,emergent:t,fastvps:t,myfast:t,tempurl:t,wpmudev:t,iserv:t,jele:t,mircloud:t,bolt:t,wp2:t,half:t}],hosting:[1,{opencraft:t}],hot:e,hotel:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:t,edu:t}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:t,cyon:t,joinmc:t,dweb:o,inbrowser:o,nftstorage:ne,mypep:t,storacha:ne,w3s:ne}],live:[1,{aem:t,hlx:t,ewp:o}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:t}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:e,mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:oe,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:t,barsyonline:t}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:e,monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{aem:t,alces:o,co:t,arvo:t,azimuth:t,tlon:t}],neustar:e,new:e,news:[1,{noticeable:t}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:o,service:t,website:t}],ong:[1,{obl:t}],onl:e,online:[1,{eero:t,"eero-stage":t,websitebuilder:t,leapcell:t,barsy:t}],ooo:e,open:e,oracle:e,orange:[1,{tech:t}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:t}],page:[1,{aem:t,hlx:t,translated:t,codeberg:t,heyflow:t,prvcy:t,rocky:t,statichost:t,pdns:t,plesk:t}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:oe,physio:e,pics:e,pictet:e,pictures:[1,{1337:t}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:t}],place:b,play:e,playstation:e,plumbing:e,plus:[1,{playit:[2,{at:o,with:t}]}],pnc:e,pohl:e,poker:e,politie:e,porn:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:o,kin:o,barsy:t}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:[1,{aem:t}],rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:t}],rocks:[1,{myddns:t,stackit:t,"lima-city":t,webspace:t}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{appwrite:o,canva:t,development:t,ravendb:t,liara:[2,{iran:t}],lovable:t,needle:t,build:o,code:o,database:o,migration:o,onporter:t,repl:t,stackit:t,val:G,vercel:t,wix:t}],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{gov:[2,{service:t}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:t}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:t,hoplix:t,barsy:t,barsyonline:t,shopware:t}],shopping:e,shouji:e,show:e,silk:e,sina:e,singles:e,site:[1,{square:t,canva:S,cloudera:o,convex:t,cyon:t,caffeine:t,fastvps:t,figma:t,"figma-gov":t,preview:t,heyflow:t,jele:t,jouwweb:t,loginline:t,barsy:t,co:t,notion:t,omniwe:t,opensocial:t,madethis:t,support:t,platformsh:o,tst:o,byen:t,srht:t,novecore:t,cpanel:t,wpsquared:t,sourcecraft:t}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:e,song:e,sony:e,soy:e,spa:e,space:[1,{myfast:t,heiyu:t,hf:[2,{static:t}],"app-ionos":t,project:t,uber:t,xs4all:t}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:t,sellfy:t,shopware:t,storebase:t}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:t}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:t}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:t,jelastic:t}],tech:[1,{cleverapps:t}],technology:b,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:t}],tokyo:e,tools:[1,{addr:K,myaddr:t}],top:[1,{ntdll:t,wadl:o}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:[1,{hidns:t}],virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:e,volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:oe,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:oe,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,wolterskluwer:e,woodside:e,work:e,works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,कॉम:e,"xn--1ck2e1b":e,セール:e,"xn--1qqw23a":e,佛山:e,"xn--30rr7y":e,慈善:e,"xn--3bst00m":e,集团:e,"xn--3ds443g":e,在线:e,"xn--3pxu8k":e,点看:e,"xn--42c2d9a":e,คอม:e,"xn--45q11c":e,八卦:e,"xn--4gbrim":e,موقع:e,"xn--55qw42g":e,公益:e,"xn--55qx5d":e,公司:e,"xn--5su34j936bgsg":e,香格里拉:e,"xn--5tzm5g":e,网站:e,"xn--6frz82g":e,移动:e,"xn--6qq986b3xl":e,我爱你:e,"xn--80adxhks":e,москва:e,"xn--80aqecdr1a":e,католик:e,"xn--80asehdb":e,онлайн:e,"xn--80aswg":e,сайт:e,"xn--8y0a063a":e,联通:e,"xn--9dbq2a":e,קום:e,"xn--9et52u":e,时尚:e,"xn--9krt00a":e,微博:e,"xn--b4w605ferd":e,淡马锡:e,"xn--bck1b9a5dre4c":e,ファッション:e,"xn--c1avg":e,орг:e,"xn--c2br7g":e,नेट:e,"xn--cck2b3b":e,ストア:e,"xn--cckwcxetd":e,アマゾン:e,"xn--cg4bki":e,삼성:e,"xn--czr694b":e,商标:e,"xn--czrs0t":e,商店:e,"xn--czru2d":e,商城:e,"xn--d1acj3b":e,дети:e,"xn--eckvdtc9d":e,ポイント:e,"xn--efvy88h":e,新闻:e,"xn--fct429k":e,家電:e,"xn--fhbei":e,كوم:e,"xn--fiq228c5hs":e,中文网:e,"xn--fiq64b":e,中信:e,"xn--fjq720a":e,娱乐:e,"xn--flw351e":e,谷歌:e,"xn--fzys8d69uvgm":e,電訊盈科:e,"xn--g2xx48c":e,购物:e,"xn--gckr3f0f":e,クラウド:e,"xn--gk3at1e":e,通販:e,"xn--hxt814e":e,网店:e,"xn--i1b6b1a6a2e":e,संगठन:e,"xn--imr513n":e,餐厅:e,"xn--io0a7i":e,网络:e,"xn--j1aef":e,ком:e,"xn--jlq480n2rg":e,亚马逊:e,"xn--jvr189m":e,食品:e,"xn--kcrx77d1x4a":e,飞利浦:e,"xn--kput3i":e,手机:e,"xn--mgba3a3ejt":e,ارامكو:e,"xn--mgba7c0bbn0a":e,العليان:e,"xn--mgbab2bd":e,بازار:e,"xn--mgbca7dzdo":e,ابوظبي:e,"xn--mgbi4ecexp":e,كاثوليك:e,"xn--mgbt3dhd":e,همراه:e,"xn--mk1bu44c":e,닷컴:e,"xn--mxtq1m":e,政府:e,"xn--ngbc5azd":e,شبكة:e,"xn--ngbe9e0a":e,بيتك:e,"xn--ngbrx":e,عرب:e,"xn--nqv7f":e,机构:e,"xn--nqv7fs00ema":e,组织机构:e,"xn--nyqy26a":e,健康:e,"xn--otu796d":e,招聘:e,"xn--p1acf":[1,{"xn--90amc":t,"xn--j1aef":t,"xn--j1ael8b":t,"xn--h1ahn":t,"xn--j1adp":t,"xn--c1avg":t,"xn--80aaa0cvac":t,"xn--h1aliz":t,"xn--90a1af":t,"xn--41a":t}],рус:[1,{биз:t,ком:t,крым:t,мир:t,мск:t,орг:t,самара:t,сочи:t,спб:t,я:t}],"xn--pssy2u":e,大拿:e,"xn--q9jyb4c":e,みんな:e,"xn--qcka1pmc":e,グーグル:e,"xn--rhqv96g":e,世界:e,"xn--rovu88b":e,書籍:e,"xn--ses554g":e,网址:e,"xn--t60b56a":e,닷넷:e,"xn--tckwe":e,コム:e,"xn--tiq49xqyj":e,天主教:e,"xn--unup4y":e,游戏:e,"xn--vermgensberater-ctb":e,vermögensberater:e,"xn--vermgensberatung-pwb":e,vermögensberatung:e,"xn--vhquv":e,企业:e,"xn--vuq861b":e,信息:e,"xn--w4r85el8fhu5dnra":e,嘉里大酒店:e,"xn--w4rs40l":e,嘉里:e,"xn--xhq521b":e,广东:e,"xn--zfr164b":e,政务:e,xyz:[1,{caffeine:t,botdash:t,telebit:o}],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{triton:o,stackit:t,lima:t}],zuerich:e}]}();function l(e,t,r,n){let o=null,i=t;for(;void 0!==i&&(0!==(i[0]&n)&&(o={index:r+1,isIcann:1===i[0],isPrivate:2===i[0]}),-1!==r);){const t=i[1];i=Object.prototype.hasOwnProperty.call(t,e[r])?t[e[r]]:t["*"],r-=1}return o}function d(e,t,r){var n;if(function(e,t,r){if(!t.allowPrivateDomains&&e.length>3){const t=e.length-1,n=e.charCodeAt(t),o=e.charCodeAt(t-1),i=e.charCodeAt(t-2),a=e.charCodeAt(t-3);if(109===n&&111===o&&99===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="com",!0;if(103===n&&114===o&&111===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="org",!0;if(117===n&&100===o&&101===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="edu",!0;if(118===n&&111===o&&103===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="gov",!0;if(116===n&&101===o&&110===i&&46===a)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="net",!0;if(101===n&&100===o&&46===i)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="de",!0}return!1}(e,t,r))return;const o=e.split("."),i=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0),a=l(o,c,o.length-1,i);if(null!==a)return r.isIcann=a.isIcann,r.isPrivate=a.isPrivate,void(r.publicSuffix=o.slice(a.index+1).join("."));const s=l(o,u,o.length-1,i);if(null!==s)return r.isIcann=s.isIcann,r.isPrivate=s.isPrivate,void(r.publicSuffix=o.slice(s.index).join("."));r.isIcann=!1,r.isPrivate=!1,r.publicSuffix=null!==(n=o[o.length-1])&&void 0!==n?n:null}const p={domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null};function f(e,t={}){return s(e,5,d,t,{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null})}function h(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,0,d,t,p).hostname}function m(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,2,d,t,p).publicSuffix}function g(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,3,d,t,p).domain}function y(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,4,d,t,p).subdomain}function v(e,t={}){var r;return(r=p).domain=null,r.domainWithoutSuffix=null,r.hostname=null,r.isIcann=null,r.isIp=null,r.isPrivate=null,r.publicSuffix=null,r.subdomain=null,s(e,5,d,t,p).domainWithoutSuffix}},39602(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tokenOrchestrator=t.cognitoUserPoolsTokenProvider=void 0;const n=r(9515);t.cognitoUserPoolsTokenProvider=new n.CognitoUserPoolsTokenProvider,t.tokenOrchestrator=t.cognitoUserPoolsTokenProvider.tokenOrchestrator},39726(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toAttributeType=function(e){return Object.entries(e).map(([e,t])=>({Name:e,Value:t}))},t.toAuthUserAttribute=function(e){const t={};return e?.forEach(e=>{e.Name&&(t[e.Name]=e.Value)}),t}},39877(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoUserPoolEndpointResolver=void 0;const n=r(7884),o=r(22651),i=r(62125);t.cognitoUserPoolEndpointResolver=({region:e})=>({url:new o.AmplifyUrl(`https://${i.COGNITO_IDP_SERVICE_NAME}.${e}.${(0,n.getDnsSuffix)(e)}`)})},39902(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEX_TO_SHORT=t.SHORT_TO_HEX=t.INIT_N=void 0,t.INIT_N="FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",t.SHORT_TO_HEX={},t.HEX_TO_SHORT={};for(let e=0;e<256;e++){let r=e.toString(16).toLowerCase();1===r.length&&(r=`0${r}`),t.SHORT_TO_HEX[e]=r,t.HEX_TO_SHORT[r]=e}},39930(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseJsonError=t.parseJsonBody=t.parseMetadata=void 0;var n=r(41251);Object.defineProperty(t,"parseMetadata",{enumerable:!0,get:function(){return n.parseMetadata}});var o=r(65826);Object.defineProperty(t,"parseJsonBody",{enumerable:!0,get:function(){return o.parseJsonBody}}),Object.defineProperty(t,"parseJsonError",{enumerable:!0,get:function(){return o.parseJsonError}})},39993(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createVerifyUserAttributeClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createVerifyUserAttributeClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("VerifyUserAttribute"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},40068(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=async function(e){return(0,o.deleteWebAuthnCredential)(n.Amplify,e)};const n=r(56547),o=r(16772)},40182(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.validate=t.v7=t.v6ToV1=t.v6=t.v5=t.v4=t.v3=t.v1ToV6=t.v1=t.stringify=t.parse=t.NIL=t.MAX=void 0;var n=r(62196);Object.defineProperty(t,"MAX",{enumerable:!0,get:function(){return n.default}});var o=r(63465);Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return o.default}});var i=r(31797);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.default}});var a=r(76011);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.default}});var s=r(31425);Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return s.default}});var c=r(96568);Object.defineProperty(t,"v1ToV6",{enumerable:!0,get:function(){return c.default}});var u=r(70591);Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return u.default}});var l=r(48286);Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return l.default}});var d=r(74557);Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return d.default}});var p=r(46356);Object.defineProperty(t,"v6",{enumerable:!0,get:function(){return p.default}});var f=r(60268);Object.defineProperty(t,"v6ToV1",{enumerable:!0,get:function(){return f.default}});var h=r(94299);Object.defineProperty(t,"v7",{enumerable:!0,get:function(){return h.default}});var m=r(59746);Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return m.default}});var g=r(72770);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return g.default}})},40338(e,t){"use strict";function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,o,i,a){return n((s=n(n(t,e),n(o,a)))<<(c=i)|s>>>32-c,r);var s,c}function i(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function a(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function s(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function c(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(e){const t=new Uint8Array(4*e.length);for(let r=0;r<4*e.length;r++)t[r]=e[r>>2]>>>r%4*8&255;return t}(function(e,t){const o=new Uint32Array(r(t)).fill(0);o.set(e),o[t>>5]|=128<<t%32,o[o.length-1]=t,e=o;let u=1732584193,l=-271733879,d=-1732584194,p=271733878;for(let t=0;t<e.length;t+=16){const r=u,o=l,f=d,h=p;u=i(u,l,d,p,e[t],7,-680876936),p=i(p,u,l,d,e[t+1],12,-389564586),d=i(d,p,u,l,e[t+2],17,606105819),l=i(l,d,p,u,e[t+3],22,-1044525330),u=i(u,l,d,p,e[t+4],7,-176418897),p=i(p,u,l,d,e[t+5],12,1200080426),d=i(d,p,u,l,e[t+6],17,-1473231341),l=i(l,d,p,u,e[t+7],22,-45705983),u=i(u,l,d,p,e[t+8],7,1770035416),p=i(p,u,l,d,e[t+9],12,-1958414417),d=i(d,p,u,l,e[t+10],17,-42063),l=i(l,d,p,u,e[t+11],22,-1990404162),u=i(u,l,d,p,e[t+12],7,1804603682),p=i(p,u,l,d,e[t+13],12,-40341101),d=i(d,p,u,l,e[t+14],17,-1502002290),l=i(l,d,p,u,e[t+15],22,1236535329),u=a(u,l,d,p,e[t+1],5,-165796510),p=a(p,u,l,d,e[t+6],9,-1069501632),d=a(d,p,u,l,e[t+11],14,643717713),l=a(l,d,p,u,e[t],20,-373897302),u=a(u,l,d,p,e[t+5],5,-701558691),p=a(p,u,l,d,e[t+10],9,38016083),d=a(d,p,u,l,e[t+15],14,-660478335),l=a(l,d,p,u,e[t+4],20,-405537848),u=a(u,l,d,p,e[t+9],5,568446438),p=a(p,u,l,d,e[t+14],9,-1019803690),d=a(d,p,u,l,e[t+3],14,-187363961),l=a(l,d,p,u,e[t+8],20,1163531501),u=a(u,l,d,p,e[t+13],5,-1444681467),p=a(p,u,l,d,e[t+2],9,-51403784),d=a(d,p,u,l,e[t+7],14,1735328473),l=a(l,d,p,u,e[t+12],20,-1926607734),u=s(u,l,d,p,e[t+5],4,-378558),p=s(p,u,l,d,e[t+8],11,-2022574463),d=s(d,p,u,l,e[t+11],16,1839030562),l=s(l,d,p,u,e[t+14],23,-35309556),u=s(u,l,d,p,e[t+1],4,-1530992060),p=s(p,u,l,d,e[t+4],11,1272893353),d=s(d,p,u,l,e[t+7],16,-155497632),l=s(l,d,p,u,e[t+10],23,-1094730640),u=s(u,l,d,p,e[t+13],4,681279174),p=s(p,u,l,d,e[t],11,-358537222),d=s(d,p,u,l,e[t+3],16,-722521979),l=s(l,d,p,u,e[t+6],23,76029189),u=s(u,l,d,p,e[t+9],4,-640364487),p=s(p,u,l,d,e[t+12],11,-421815835),d=s(d,p,u,l,e[t+15],16,530742520),l=s(l,d,p,u,e[t+2],23,-995338651),u=c(u,l,d,p,e[t],6,-198630844),p=c(p,u,l,d,e[t+7],10,1126891415),d=c(d,p,u,l,e[t+14],15,-1416354905),l=c(l,d,p,u,e[t+5],21,-57434055),u=c(u,l,d,p,e[t+12],6,1700485571),p=c(p,u,l,d,e[t+3],10,-1894986606),d=c(d,p,u,l,e[t+10],15,-1051523),l=c(l,d,p,u,e[t+1],21,-2054922799),u=c(u,l,d,p,e[t+8],6,1873313359),p=c(p,u,l,d,e[t+15],10,-30611744),d=c(d,p,u,l,e[t+6],15,-1560198380),l=c(l,d,p,u,e[t+13],21,1309151649),u=c(u,l,d,p,e[t+4],6,-145523070),p=c(p,u,l,d,e[t+11],10,-1120210379),d=c(d,p,u,l,e[t+2],15,718787259),l=c(l,d,p,u,e[t+9],21,-343485551),u=n(u,r),l=n(l,o),d=n(d,f),p=n(p,h)}return Uint32Array.of(u,l,d,p)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(r(8*e.length)).fill(0);for(let r=0;r<e.length;r++)t[r>>2]|=(255&e[r])<<r%4*8;return t}(e),8*e.length))}},40841(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstValueFrom=void 0;var n=r(59328),o=r(2708);t.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise(function(i,a){var s=new o.SafeSubscriber({next:function(e){i(e),s.unsubscribe()},error:a,complete:function(){r?i(t.defaultValue):a(new n.EmptyError)}});e.subscribe(s)})}},41125(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyncKeyValueStorage=void 0;const n=r(1123);t.SyncKeyValueStorage=class{constructor(e){this._storage=e}get storage(){if(!this._storage)throw new n.PlatformNotSupportedError;return this._storage}setItem(e,t){this.storage.setItem(e,t)}getItem(e){return this.storage.getItem(e)}removeItem(e){this.storage.removeItem(e)}clear(){this.storage.clear()}}},41185(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmplifyError=void 0;class r extends Error{constructor({message:e,name:t,recoverySuggestion:n,underlyingError:o,metadata:i}){if(super(e),this.name=t,this.underlyingError=o,this.recoverySuggestion=n,i){const{extendedRequestId:e,httpStatusCode:t,requestId:r}=i;this.metadata={extendedRequestId:e,httpStatusCode:t,requestId:r}}this.constructor=r,Object.setPrototypeOf(this,r.prototype)}}t.AmplifyError=r},41251(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseMetadata=void 0,t.parseMetadata=e=>{const{headers:t,statusCode:n}=e;return{...r(e)?e.$metadata:{},httpStatusCode:n,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}};const r=e=>"object"==typeof e?.$metadata},41271(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListMessagesFunction=void 0;const n=r(23151),o=r(85202),i=r(83102);t.createListMessagesFunction=(e,t,r,a,s)=>async c=>{const u=(0,n.listFactory)(e,t,a,s,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.ListMessages)),{data:l,nextToken:d,errors:p}=await u({...c,filter:{conversationId:{eq:r}}});return{data:l.map(e=>(0,o.convertItemToConversationMessage)(e)),nextToken:d,errors:p}}},41624(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveLibraryOptions=void 0,t.resolveLibraryOptions=e=>{const t=e.libraryOptions?.API?.REST?.retryStrategy,r=e.libraryOptions?.API?.REST?.defaultAuthMode;return{retryStrategy:t,defaultAuthMode:r}}},41719(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferTime=void 0;var o=r(69879),i=r(65212),a=r(17214),s=r(54830),c=r(62326),u=r(26404),l=r(28619);t.bufferTime=function(e){for(var t,r,d=[],p=1;p<arguments.length;p++)d[p-1]=arguments[p];var f=null!==(t=u.popScheduler(d))&&void 0!==t?t:c.asyncScheduler,h=null!==(r=d[0])&&void 0!==r?r:null,m=d[1]||1/0;return i.operate(function(t,r){var i=[],c=!1,u=function(e){var t=e.buffer;e.subs.unsubscribe(),s.arrRemove(i,e),r.next(t),c&&d()},d=function(){if(i){var t=new o.Subscription;r.add(t);var n={buffer:[],subs:t};i.push(n),l.executeSchedule(t,f,function(){return u(n)},e)}};null!==h&&h>=0?l.executeSchedule(r,f,d,h,!0):c=!0,d();var p=a.createOperatorSubscriber(r,function(e){var t,r,o=i.slice();try{for(var a=n(o),s=a.next();!s.done;s=a.next()){var c=s.value,l=c.buffer;l.push(e),m<=l.length&&u(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},function(){for(;null==i?void 0:i.length;)r.next(i.shift().buffer);null==p||p.unsubscribe(),r.complete(),r.unsubscribe()},void 0,function(){return i=null});t.subscribe(p)})}},41723(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.resolveLibraryOptions=t.resolveApiUrl=t.parseRestApiServiceError=t.parseSigningInfo=t.createCancellableOperation=void 0;var n=r(26060);Object.defineProperty(t,"createCancellableOperation",{enumerable:!0,get:function(){return n.createCancellableOperation}});var o=r(91625);Object.defineProperty(t,"parseSigningInfo",{enumerable:!0,get:function(){return o.parseSigningInfo}});var i=r(70352);Object.defineProperty(t,"parseRestApiServiceError",{enumerable:!0,get:function(){return i.parseRestApiServiceError}});var a=r(45814);Object.defineProperty(t,"resolveApiUrl",{enumerable:!0,get:function(){return a.resolveApiUrl}});var s=r(41624);Object.defineProperty(t,"resolveLibraryOptions",{enumerable:!0,get:function(){return s.resolveLibraryOptions}});var c=r(42811);Object.defineProperty(t,"logger",{enumerable:!0,get:function(){return c.logger}})},42020(e,t,r){"use strict";r.d(t,{i:()=>l});var n=r(10790),o=r(51609),i=r(82820);function a(e,t,r,n){return"center"===e||"center"===n?{top:t}:"end"===e?{bottom:r}:"start"===e?{top:r}:{}}function s(e,t,r,n,o){return"center"===e||"center"===n?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:r}:"start"===e?{["ltr"===o?"left":"right"]:r}:{}}const c={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function u({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:o,arrowX:i,arrowY:u,dir:l}){const[d,p="center"]=e.split("-"),f={width:t,height:t,transform:"rotate(45deg)",position:"absolute",[c[d]]:n},h=-t/2;return"left"===d?{...f,...a(p,u,r,o),right:h,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"polygon(100% 0, 0 0, 100% 100%)"}:"right"===d?{...f,...a(p,u,r,o),left:h,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}:"top"===d?{...f,...s(p,i,r,o,l),bottom:h,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}:"bottom"===d?{...f,...s(p,i,r,o,l),top:h,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}:{}}const l=(0,o.forwardRef)(({position:e,arrowSize:t,arrowOffset:r,arrowRadius:o,arrowPosition:a,visible:s,arrowX:c,arrowY:l,style:d,...p},f)=>{const{dir:h}=(0,i.jH)();return s?(0,n.jsx)("div",{...p,ref:f,style:{...d,...u({position:e,arrowSize:t,arrowOffset:r,arrowRadius:o,arrowPosition:a,dir:h,arrowX:c,arrowY:l})}}):null});l.displayName="@mantine/core/FloatingArrow"},42298(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeOAuthSignOut=void 0;const n=r(56547),o=r(22651),i=r(4870);t.completeOAuthSignOut=async e=>{await e.clearOAuthData(),i.tokenOrchestrator.clearTokens(),await(0,n.clearCredentials)(),n.Hub.dispatch("auth",{event:"signedOut"},"Auth",o.AMPLIFY_SYMBOL)}},42368(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.excludeDisabledOps=t.getSecondaryIndexesFromSchemaModel=void 0;const n=r(44287),o=e=>"key"===e.type&&e.properties?.name&&e.properties?.queryField&&e.properties?.fields.length>0;t.getSecondaryIndexesFromSchemaModel=e=>{const t=e.attributes?.filter(o).map(e=>{const t=e.properties.queryField,[r,...n]=e.properties.fields;return{queryField:t,pk:r,sk:n}});return t||[]},t.excludeDisabledOps=(e,t)=>{const r=e.models[t].attributes?.find(e=>"model"===e.type),o={queries:["list","get","observeQuery"],mutations:["create","update","delete"],subscriptions:["onCreate","onUpdate","onDelete"]},i=[];if(!r)return n.graphQLOperationsInfo;if(r.properties)for(const[e,t]of Object.entries(r.properties))e in o&&(null===t?i.push(...o[e]):t instanceof Object&&i.push(...Object.keys(t)));i.includes("list")&&i.push("observeQuery");const a=i.map(e=>e.toUpperCase());return Object.fromEntries(Object.entries(n.graphQLOperationsInfo).filter(([e])=>!a.includes(e)))}},42449(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","plus","Plus",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]])},42619(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.AuthConfigurationErrorCode=void 0;const n=r(1123);var o;!function(e){e.AuthTokenConfigException="AuthTokenConfigException",e.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",e.AuthUserPoolException="AuthUserPoolException",e.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",e.OAuthNotConfigureException="OAuthNotConfigureException"}(o||(t.AuthConfigurationErrorCode=o={}));const i={[o.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[o.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[o.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[o.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[o.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}};t.assert=(0,n.createAssertionFunction)(i)},42767(e,t){"use strict";function r(e,t,r){return{kind:e,value:t,error:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createNotification=t.nextNotification=t.errorNotification=t.COMPLETE_NOTIFICATION=void 0,t.COMPLETE_NOTIFICATION=r("C",void 0,void 0),t.errorNotification=function(e){return r("E",void 0,e)},t.nextNotification=function(e){return r("N",e,void 0)},t.createNotification=r},42775(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchDevices=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:d}=await(0,n.fetchAuthSession)();(0,i.assertAuthTokens)(d);const p=(0,c.createListDevicesClient)({endpointResolver:(0,u.createCognitoUserPoolEndpointResolver)({endpointOverride:t})}),f=await p({region:(0,a.getRegionFromUserPoolId)(r),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.FetchDevices)},{AccessToken:d.accessToken.toString(),Limit:60});return l(f.Devices??[])};const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(17238),c=r(35456),u=r(28228),l=async e=>e.map(({DeviceKey:e="",DeviceAttributes:t=[],DeviceCreateDate:r,DeviceLastModifiedDate:n,DeviceLastAuthenticatedDate:o})=>{let i;const a=t.reduce((e,{Name:t,Value:r})=>(t&&r&&("device_name"===t&&(i=r),e[t]=r),e),{});return{id:e,name:i,attributes:a,createDate:r?new Date(1e3*r):void 0,lastModifiedDate:n?new Date(1e3*n):void 0,lastAuthenticatedDate:o?new Date(1e3*o):void 0}})},42811(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logger=void 0;const n=r(56547);t.logger=new n.ConsoleLogger("RestApis")},42910(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultAmplify=void 0;const n=r(56547),o=r(22651),i=r(82060);t.DefaultAmplify={configure(e,t){const r=(0,o.parseAmplifyConfig)(e),a=new n.CookieStorage({sameSite:"lax"}),s=t?.ssr?a:n.defaultStorage,c=t?.ssr?new i.CognitoAWSCredentialsAndIdentityIdProvider(new i.DefaultIdentityIdStore(a)):i.cognitoCredentialsProvider;if(r.Auth)if(t?.Auth)n.Amplify.configure(r,t);else{if(!n.Amplify.libraryOptions.Auth)return i.cognitoUserPoolsTokenProvider.setAuthConfig(r.Auth),i.cognitoUserPoolsTokenProvider.setKeyValueStorage(s),void n.Amplify.configure(r,{...t,Auth:{tokenProvider:i.cognitoUserPoolsTokenProvider,credentialsProvider:c}});if(t){const e=n.Amplify.libraryOptions.Auth;return void 0!==t.ssr&&(i.cognitoUserPoolsTokenProvider.setKeyValueStorage(s),e.credentialsProvider=c),void n.Amplify.configure(r,{Auth:e,...t})}n.Amplify.configure(r)}else n.Amplify.configure(r,t)},getConfig:()=>n.Amplify.getConfig()}},42916(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOnStreamEventFunction=void 0;const n=r(59640),o=r(83102),i=r(74700);t.createOnStreamEventFunction=(e,t,r,a,s)=>c=>{const{conversations:u}=t;if(!u)return{};const l=u[a].message.subscribe;return(0,n.customOpFactory)(e,t,"subscription",l,!1,s,(0,o.getCustomUserAgentDetails)(o.AiAction.OnStreamEvent))({conversationId:r}).subscribe(e=>{const{next:t,error:r}=(0,i.convertItemToConversationStreamEvent)(e);r&&c.error(r),t&&c.next(t)})}},43101(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmResetPassword=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userPoolClientId:r,userPoolId:p,userPoolEndpoint:f}=t,{username:h,newPassword:m}=e;(0,a.assertValidationError)(!!h,i.AuthValidationErrorCode.EmptyConfirmResetPasswordUsername),(0,a.assertValidationError)(!!m,i.AuthValidationErrorCode.EmptyConfirmResetPasswordNewPassword);const g=e.confirmationCode;(0,a.assertValidationError)(!!g,i.AuthValidationErrorCode.EmptyConfirmResetPasswordConfirmationCode);const y=e.options?.clientMetadata,v=(0,c.getUserContextData)({username:h,userPoolId:p,userPoolClientId:r}),b=(0,u.createConfirmForgotPasswordClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:f})});await b({region:(0,d.getRegionFromUserPoolId)(t.userPoolId),userAgentValue:(0,s.getAuthUserAgentValue)(o.AuthAction.ConfirmResetPassword)},{Username:h,ConfirmationCode:g,Password:m,ClientMetadata:y,ClientId:t.userPoolClientId,UserContextData:v})};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(17238),c=r(99369),u=r(35456),l=r(28228),d=r(62639)},43226(e,t,r){"use strict";r.d(t,{A:()=>n});const n={"mantine-Select-input":"XEM1fi7HKUaOYx0mFv5y","wpc-container":"j7QpPcqW2jckSg1DEubK","wpc-tabs-label":"kgTxaDswJx4CJ__z0sAK","wpc-tabs-panel":"xcWdp1I5jR2QXPoJ5gBM","wpc-tabs-panel-mobile":"Ct44QjihhjkGaB38l5LT","wpc-title":"MannA2uadOvMSkgsvVkt","wpc-form-row":"gw3FC2npNCctIYLLvCnF","wpc-wp-login-settings":"iUh0QmWjqunUxccN1w4c","highlighted-doc-item":"OZr9mCA_J5Gf2Z9oejhU","form-field-label":"UWsIXEwIQEsewIRqLzic",item:"QjXM59EWL3oLuHAzz8V7",itemDragging:"DfjUGxocrQIv87jWwf1M",symbol:"cBTiTNfut5X26g0bzFLu",dragHandle:"EBRAqffRQhBgHtBNWN7L"}},43276(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChangePasswordClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createChangePasswordClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ChangePassword"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},43434(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sample=void 0;var n=r(19724),o=r(65212),i=r(5717),a=r(17214);t.sample=function(e){return o.operate(function(t,r){var o=!1,s=null;t.subscribe(a.createOperatorSubscriber(r,function(e){o=!0,s=e})),n.innerFrom(e).subscribe(a.createOperatorSubscriber(r,function(){if(o){o=!1;var e=s;s=null,r.next(e)}},i.noop))})}},43518(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthError=void 0;const n=r(22651);class o extends n.AmplifyError{constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}t.AuthError=o},43748(e,t,r){"use strict";r.d(t,{G:()=>q});var n=r(10790),o=r(88149),i=r(51609),a=r(56324),s=r(59396),c=r(46100),u=r(52837),l=r(66678),d=r(46798);const[p,f]=(0,d.F)("Combobox component was not found in tree");var h=r(86344),m=r(11507),g=r(2412),y=r(87986);const v={error:null},b=(0,s.V)((e,{size:t,color:r})=>({chevron:{"--combobox-chevron-size":(0,a.YC)(t,"combobox-chevron-size"),"--combobox-chevron-color":r?(0,h.r)(r,e):void 0}})),E=(0,g.P9)((e,t)=>{const r=(0,c.Y)("ComboboxChevron",v,e),{size:o,error:i,style:a,className:s,classNames:l,styles:d,unstyled:p,vars:f,mod:h,...g}=r,E=(0,u.I)({name:"ComboboxChevron",classes:y.A,props:r,style:a,className:s,classNames:l,styles:d,unstyled:p,vars:f,varsResolver:b,rootSelector:"chevron"});return(0,n.jsx)(m.a,{component:"svg",...g,...E("chevron"),size:o,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:i},h],ref:t,children:(0,n.jsx)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});E.classes=y.A,E.displayName="@mantine/core/ComboboxChevron";var w=r(31422);const S=(0,i.forwardRef)(({size:e,onMouseDown:t,onClick:r,onClear:o,...i},a)=>(0,n.jsx)(w.p.ClearButton,{ref:a,tabIndex:-1,"aria-hidden":!0,...i,onMouseDown:e=>{e.preventDefault(),t?.(e)},onClick:e=>{o(),r?.(e)}}));S.displayName="@mantine/core/ComboboxClearButton";const A=(0,g.P9)((e,t)=>{const{classNames:r,styles:o,className:i,style:a,hidden:s,...u}=(0,c.Y)("ComboboxDropdown",null,e),d=f();return(0,n.jsx)(l.A.Dropdown,{...u,ref:t,role:"presentation","data-hidden":s||void 0,...d.getStyles("dropdown",{className:i,style:a,classNames:r,styles:o})})});A.classes=y.A,A.displayName="@mantine/core/ComboboxDropdown";var _=r(49178);const P={refProp:"ref"},C=(0,g.P9)((e,t)=>{const{children:r,refProp:o}=(0,c.Y)("ComboboxDropdownTarget",P,e);if(f(),!(0,_.v)(r))throw new Error("Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return(0,n.jsx)(l.A.Target,{ref:t,refProp:o,children:r})});C.displayName="@mantine/core/ComboboxDropdownTarget";const I=(0,g.P9)((e,t)=>{const{classNames:r,className:o,style:i,styles:a,vars:s,...u}=(0,c.Y)("ComboboxEmpty",null,e),l=f();return(0,n.jsx)(m.a,{ref:t,...l.getStyles("empty",{className:o,classNames:r,styles:a,style:i}),...u})});I.classes=y.A,I.displayName="@mantine/core/ComboboxEmpty";var x=r(37055),O=r(94848),k=r(26810);function T({onKeyDown:e,withKeyboardNavigation:t,withAriaAttributes:r,withExpandedAttribute:n,targetType:o,autoComplete:a}){const s=f(),[c,u]=(0,i.useState)(null);return{...r?{"aria-haspopup":"listbox","aria-expanded":n?!(!s.store.listId||!s.store.dropdownOpened):void 0,"aria-controls":s.store.dropdownOpened&&s.store.listId?s.store.listId:void 0,"aria-activedescendant":s.store.dropdownOpened&&c||void 0,autoComplete:a,"data-expanded":s.store.dropdownOpened||void 0,"data-mantine-stop-propagation":s.store.dropdownOpened||void 0}:{},onKeyDown:r=>{if(e?.(r),!s.readOnly&&t){if(r.nativeEvent.isComposing)return;if("ArrowDown"===r.nativeEvent.code&&(r.preventDefault(),s.store.dropdownOpened?u(s.store.selectNextOption()):(s.store.openDropdown("keyboard"),u(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"ArrowUp"===r.nativeEvent.code&&(r.preventDefault(),s.store.dropdownOpened?u(s.store.selectPreviousOption()):(s.store.openDropdown("keyboard"),u(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"Enter"===r.nativeEvent.code||"NumpadEnter"===r.nativeEvent.code){if(229===r.nativeEvent.keyCode)return;const e=s.store.getSelectedOptionIndex();s.store.dropdownOpened&&-1!==e?(r.preventDefault(),s.store.clickSelectedOption()):"button"===o&&(r.preventDefault(),s.store.openDropdown("keyboard"))}"Escape"===r.key&&s.store.closeDropdown("keyboard"),"Space"===r.nativeEvent.code&&"button"===o&&(r.preventDefault(),s.store.toggleDropdown("keyboard"))}}}}const N={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},j=(0,g.P9)((e,t)=>{const{children:r,refProp:n,withKeyboardNavigation:o,withAriaAttributes:a,withExpandedAttribute:s,targetType:u,autoComplete:l,...d}=(0,c.Y)("ComboboxEventsTarget",N,e),p=(0,k.D)(r);if(!p)throw new Error("Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const h=f(),m=T({targetType:u,withAriaAttributes:a,withKeyboardNavigation:o,withExpandedAttribute:s,onKeyDown:p.props.onKeyDown,autoComplete:l});return(0,i.cloneElement)(p,{...m,...d,[n]:(0,x.pc)(t,h.store.targetRef,(0,O.x)(p))})});j.displayName="@mantine/core/ComboboxEventsTarget";const R=(0,g.P9)((e,t)=>{const{classNames:r,className:o,style:i,styles:a,vars:s,...u}=(0,c.Y)("ComboboxFooter",null,e),l=f();return(0,n.jsx)(m.a,{ref:t,...l.getStyles("footer",{className:o,classNames:r,style:i,styles:a}),...u,onMouseDown:e=>{e.preventDefault()}})});R.classes=y.A,R.displayName="@mantine/core/ComboboxFooter";var M=r(66284);const D=(0,g.P9)((e,t)=>{const{classNames:r,className:o,style:i,styles:a,vars:s,children:u,label:l,id:d,...p}=(0,c.Y)("ComboboxGroup",null,e),h=f(),g=(0,M.B)(d);return(0,n.jsxs)(m.a,{ref:t,role:"group","aria-labelledby":l?g:void 0,...h.getStyles("group",{className:o,classNames:r,style:i,styles:a}),...p,children:[l&&(0,n.jsx)("div",{id:g,...h.getStyles("groupLabel",{classNames:r,styles:a}),children:l}),u]})});D.classes=y.A,D.displayName="@mantine/core/ComboboxGroup";const U=(0,g.P9)((e,t)=>{const{classNames:r,className:o,style:i,styles:a,vars:s,...u}=(0,c.Y)("ComboboxHeader",null,e),l=f();return(0,n.jsx)(m.a,{ref:t,...l.getStyles("header",{className:o,classNames:r,style:i,styles:a}),...u,onMouseDown:e=>{e.preventDefault()}})});function F({value:e,valuesDivider:t=",",...r}){return(0,n.jsx)("input",{type:"hidden",value:Array.isArray(e)?e.join(t):e||"",...r})}U.classes=y.A,U.displayName="@mantine/core/ComboboxHeader",F.displayName="@mantine/core/ComboboxHiddenInput";const L=(0,g.P9)((e,t)=>{const r=(0,c.Y)("ComboboxOption",null,e),{classNames:o,className:a,style:s,styles:u,vars:l,onClick:d,id:p,active:h,onMouseDown:g,onMouseOver:y,disabled:v,selected:b,mod:E,...w}=r,S=f(),A=(0,i.useId)(),_=p||A;return(0,n.jsx)(m.a,{...S.getStyles("option",{className:a,classNames:o,styles:u,style:s}),...w,ref:t,id:_,mod:["combobox-option",{"combobox-active":h,"combobox-disabled":v,"combobox-selected":b},E],role:"option",onClick:e=>{v?e.preventDefault():(S.onOptionSubmit?.(r.value,r),d?.(e))},onMouseDown:e=>{e.preventDefault(),g?.(e)},onMouseOver:e=>{S.resetSelectionOnOptionHover&&S.store.resetSelectedOption(),y?.(e)}})});L.classes=y.A,L.displayName="@mantine/core/ComboboxOption";const z=(0,g.P9)((e,t)=>{const r=(0,c.Y)("ComboboxOptions",null,e),{classNames:o,className:a,style:s,styles:u,id:l,onMouseDown:d,labelledBy:p,...h}=r,g=f(),y=(0,M.B)(l);return(0,i.useEffect)(()=>{g.store.setListId(y)},[y]),(0,n.jsx)(m.a,{ref:t,...g.getStyles("options",{className:a,style:s,classNames:o,styles:u}),...h,id:y,role:"listbox","aria-labelledby":p,onMouseDown:e=>{e.preventDefault(),d?.(e)}})});z.classes=y.A,z.displayName="@mantine/core/ComboboxOptions";const V={withAriaAttributes:!0,withKeyboardNavigation:!0},H=(0,g.P9)((e,t)=>{const r=(0,c.Y)("ComboboxSearch",V,e),{classNames:o,styles:i,unstyled:a,vars:s,withAriaAttributes:u,onKeyDown:l,withKeyboardNavigation:d,size:p,...h}=r,m=f(),g=m.getStyles("search"),y=T({targetType:"input",withAriaAttributes:u,withKeyboardNavigation:d,withExpandedAttribute:!1,onKeyDown:l,autoComplete:"off"});return(0,n.jsx)(w.p,{ref:(0,x.pc)(t,m.store.searchRef),classNames:[{input:g.className},o],styles:[{input:g.style},i],size:p||m.size,...y,...h,__staticSelector:"Combobox"})});H.classes=y.A,H.displayName="@mantine/core/ComboboxSearch";const $={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},W=(0,g.P9)((e,t)=>{const{children:r,refProp:o,withKeyboardNavigation:a,withAriaAttributes:s,withExpandedAttribute:u,targetType:d,autoComplete:p,...h}=(0,c.Y)("ComboboxTarget",$,e),m=(0,k.D)(r);if(!m)throw new Error("Combobox.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const g=f(),y=T({targetType:d,withAriaAttributes:s,withKeyboardNavigation:a,withExpandedAttribute:u,onKeyDown:m.props.onKeyDown,autoComplete:p}),v=(0,i.cloneElement)(m,{...y,...h});return(0,n.jsx)(l.A.Target,{ref:(0,x.pc)(t,g.store.targetRef),children:v})});W.displayName="@mantine/core/ComboboxTarget";var B=r(24096);const K={keepMounted:!0,withinPortal:!0,resetSelectionOnOptionHover:!1,width:"target",transitionProps:{transition:"fade",duration:0},size:"sm"},G=(0,s.V)((e,{size:t,dropdownPadding:r})=>({options:{"--combobox-option-fz":(0,a.ny)(t),"--combobox-option-padding":(0,a.YC)(t,"combobox-option-padding")},dropdown:{"--combobox-padding":void 0===r?void 0:(0,o.D)(r),"--combobox-option-fz":(0,a.ny)(t),"--combobox-option-padding":(0,a.YC)(t,"combobox-option-padding")}}));function q(e){const t=(0,c.Y)("Combobox",K,e),{classNames:r,styles:o,unstyled:i,children:a,store:s,vars:d,onOptionSubmit:f,onClose:h,size:m,dropdownPadding:g,resetSelectionOnOptionHover:v,__staticSelector:b,readOnly:E,attributes:w,...S}=t,A=(0,B.B)(),_=s||A,P=(0,u.I)({name:b||"Combobox",classes:y.A,props:t,classNames:r,styles:o,unstyled:i,attributes:w,vars:d,varsResolver:G});return(0,n.jsx)(p,{value:{getStyles:P,store:_,onOptionSubmit:f,size:m,resetSelectionOnOptionHover:v,readOnly:E},children:(0,n.jsx)(l.A,{opened:_.dropdownOpened,preventPositionChangeWhenVisible:!1,...S,onChange:e=>!e&&(h?.(),void _.closeDropdown()),withRoles:!1,unstyled:i,children:a})})}q.extend=e=>e,q.classes=y.A,q.displayName="@mantine/core/Combobox",q.Target=W,q.Dropdown=A,q.Options=z,q.Option=L,q.Search=H,q.Empty=I,q.Chevron=E,q.Footer=R,q.Header=U,q.EventsTarget=j,q.DropdownTarget=C,q.Group=D,q.ClearButton=S,q.HiddenInput=F},43890(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytesToString=function(e){return Array.from(e,e=>String.fromCodePoint(e)).join("")}},44012(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64Encoder=void 0;const n=r(58506),o=r(43890);t.base64Encoder={convert(e,t={urlSafe:!1,skipPadding:!1}){const r="string"==typeof e?e:(0,o.bytesToString)(e);let i=(0,n.getBtoa)()(r);return t.urlSafe&&(i=i.replace(/\+/g,"-").replace(/\//g,"_")),t.skipPadding&&(i=i.replace(/=/g,"")),i}}},44056(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyValueStorage=void 0;const n=r(1123);t.KeyValueStorage=class{constructor(e){this.storage=e}async setItem(e,t){if(!this.storage)throw new n.PlatformNotSupportedError;this.storage.setItem(e,t)}async getItem(e){if(!this.storage)throw new n.PlatformNotSupportedError;return this.storage.getItem(e)}async removeItem(e){if(!this.storage)throw new n.PlatformNotSupportedError;this.storage.removeItem(e)}async clear(){if(!this.storage)throw new n.PlatformNotSupportedError;this.storage.clear()}}},44143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sampleTime=void 0;var n=r(62326),o=r(43434),i=r(62275);t.sampleTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.sample(i.interval(e,t))}},44287(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultSelectionSetForNonModelWithIR=t.graphQLOperationsInfo=t.flattenItems=void 0,t.initializeModel=function(e,t,r,c,u,l,d=!1){const p=c.models[t],f=p.fields,h=Object.entries(f).filter(([e,t])=>void 0!==t?.type?.model).map(([e])=>e);return r.map(t=>{if(null==t)return t;const r={};for(const m of h){const h=f[m],g=h?.type,y=g.model,v=c.models[y],b=v.primaryKeyInfo.primaryKeyFieldName,E=v.primaryKeyInfo.sortKeyFieldNames,w=h.association?.connectionType;let S=[];h.association&&"associatedWith"in h.association&&(S=h.association.associatedWith);const A=[];switch(h.association&&"targetNames"in h.association&&A.push(...h.association.targetNames),w){case s:{const n=E.reduce((e,r)=>(t[r]&&(e[r]=t[r]),e),{});if(void 0===e.models[y]?.get)break;r[m]=d?(r,o)=>t[A[0]]?e.models[y].get(r,{[b]:t[A[0]],...n},{authMode:o?.authMode||u,authToken:o?.authToken||l}):{data:null}:r=>t[A[0]]?e.models[y].get({[b]:t[A[0]],...n},{authMode:r?.authMode||u,authToken:r?.authToken||l}):{data:null};break}case i:case a:{const a=w===i?e=>({data:e?.data.shift()||null,errors:e.errors,extensions:e.extensions}):e=>e,s=p.primaryKeyInfo.primaryKeyFieldName,c=p.primaryKeyInfo.sortKeyFieldNames,f=v.fields[S[0]];if(f.type.model){let i=[];f.association&&"targetNames"in f.association&&(i=f.association?.targetNames);const p=i.map((e,r)=>0===r?{[e]:{eq:t[s]}}:{[e]:{eq:t[c[r-1]]}});if(void 0===e.models[y]?.list)break;r[m]=d?(r,i)=>t[s]?(0,n.selfAwareAsync)(async t=>{const n=e.models[y].list(r,{filter:{and:p},limit:i?.limit,nextToken:i?.nextToken,authMode:i?.authMode||u,authToken:i?.authToken||l}),s=(0,o.extendCancellability)(n,t);return a(await s)}):[]:r=>t[s]?(0,n.selfAwareAsync)(async t=>{const n=e.models[y].list({filter:{and:p},limit:r?.limit,nextToken:r?.nextToken,authMode:r?.authMode||u,authToken:r?.authToken||l}),i=(0,o.extendCancellability)(n,t);return a(await i)}):[];break}const h=S.map((e,r)=>0===r?{[e]:{eq:t[s]}}:{[e]:{eq:t[c[r-1]]}});if(void 0===e.models[y]?.list)break;r[m]=d?(r,i)=>t[s]?(0,n.selfAwareAsync)(async t=>{const n=e.models[y].list(r,{filter:{and:h},limit:i?.limit,nextToken:i?.nextToken,authMode:i?.authMode||u,authToken:i?.authToken||l}),s=(0,o.extendCancellability)(n,t);return a(await s)}):[]:r=>t[s]?(0,n.selfAwareAsync)(async t=>{const n=e.models[y].list({filter:{and:h},limit:r?.limit,nextToken:r?.nextToken,authMode:r?.authMode||u,authToken:r?.authToken||l}),i=(0,o.extendCancellability)(n,t);return a(await i)}):[];break}}}return{...t,...r}})},t.customSelectionSetToIR=h,t.selectionSetIRToString=m,t.generateSelectionSet=y,t.generateGraphQLDocument=function(e,r,o,i,a){const{name:s,pluralName:l,fields:d,primaryKeyInfo:{isCustomPrimaryKey:p,primaryKeyFieldName:f,sortKeyFieldNames:h},attributes:m}=r,g=s.charAt(0).toUpperCase()+s.slice(1),v=l.charAt(0).toUpperCase()+l.slice(1),{operationPrefix:b,usePlural:E}=t.graphQLOperationsInfo[o],{selectionSet:w}=i||{};let S,A,_,P,C;if(b)S=`${b}${E?v:g}`;else{if(!a)throw new Error("Error generating GraphQL Document - invalid operation name");{const{queryField:e,pk:t,sk:r=[]}=a;S=e;let o={};if(1===r.length){const[e]=r,t="string"==typeof d[e].type?d[e].type:"String",n=c[t];o={[e]:`Model${n}KeyConditionInput`}}else if(r.length>1){const t=u(r),i=m?.find(t=>t?.properties?.queryField===e)?.properties?.name;o={[t]:`Model${(0,n.capitalize)(s)}${(0,n.capitalize)(i)}CompositeKeyConditionInput`}}A={[t]:`${Object.prototype.hasOwnProperty.call(d[t].type,"enum")?d[t].type.enum:d[t].type}!`,...o}}}const I=y(e,s,w),x={[f]:`${d[f].type}!`},O={},k=e=>{if(0===h.length)return{};if("get"===e)return h.reduce((t,r)=>{const n=d[r].type;return"get"===e&&(t[r]=`${n}!`),t},{});if(1===h.length){const[e]=h,t="string"==typeof d[e].type?d[e].type:"String",r=c[t];return{[e]:`Model${r}KeyConditionInput`}}{const e=u(h);return{[e]:`Model${(0,n.capitalize)(s)}PrimaryCompositeKeyConditionInput`}}};switch(p&&(Object.assign(x,k("get")),Object.assign(O,{[f]:`${d[f].type}`,sortDirection:"ModelSortDirection"},k("list"))),o){case"CREATE":case"UPDATE":case"DELETE":C??(C={input:`${b.charAt(0).toLocaleUpperCase()+b.slice(1)}${g}Input!`}),_??(_="mutation");case"GET":C??(C=x),P??(P=I);case"LIST":C??(C={...O,filter:`Model${g}FilterInput`,limit:"Int",nextToken:"String"}),_??(_="query"),P??(P=`items { ${I} } nextToken __typename`);case"INDEX_QUERY":C??(C={...A,filter:`Model${g}FilterInput`,sortDirection:"ModelSortDirection",limit:"Int",nextToken:"String"}),_??(_="query"),P??(P=`items { ${I} } nextToken __typename`);case"ONCREATE":case"ONUPDATE":case"ONDELETE":C??(C={filter:`ModelSubscription${g}FilterInput`}),_??(_="subscription"),P??(P=I);break;default:throw new Error("Internal error: Attempted to generate graphql document for observeQuery. Please report this error.")}return`${_}${C?`(${Object.entries(C).map(([e,t])=>`$${e}: ${t}`)})`:""} { ${S}${C?`(${Object.keys(C).map(e=>`${e}: $${e}`)})`:""} { ${P} } }`},t.buildGraphQLVariables=function(e,t,r,o,i){const{fields:a,primaryKeyInfo:{isCustomPrimaryKey:s,primaryKeyFieldName:c,sortKeyFieldNames:l}}=e,d=l?.length&&u(l);let p={};switch(t){case"CREATE":p={input:r?v(r,e,o):{}};break;case"UPDATE":p={input:r?Object.fromEntries(Object.entries(v(r,e,o)).filter(([t])=>a[t]?!a[t].isReadOnly:!(0,n.resolveOwnerFields)(e).includes(t))):{}};break;case"GET":case"DELETE":r&&(p=s?[c,...l].reduce((e,t)=>(e[t]=r[t],e),{}):{[c]:r[c]}),"DELETE"===t&&(p={input:p});break;case"LIST":r?.filter&&(p.filter=r.filter),r?.sortDirection&&(p.sortDirection=r.sortDirection),r&&r[c]&&(p[c]=r[c]),d&&r&&r[d]&&(p[d]=r[d]),r?.nextToken&&(p.nextToken=r.nextToken),r?.limit&&(p.limit=r.limit);break;case"INDEX_QUERY":{const{pk:e,sk:t=[]}=i,n=t?.length&&u(t);p[e]=r[e],n&&r&&r[n]&&(p[n]=r[n]),r?.filter&&(p.filter=r.filter),r?.sortDirection&&(p.sortDirection=r.sortDirection),r?.nextToken&&(p.nextToken=r.nextToken),r?.limit&&(p.limit=r.limit);break}case"ONCREATE":case"ONUPDATE":case"ONDELETE":r?.filter&&(p={filter:r.filter});break;case"OBSERVEQUERY":throw new Error("Internal error: Attempted to build variables for observeQuery. Please report this error.");default:throw new Error(`Unhandled operation case: ${t}`)}return p},t.normalizeMutationInput=v,t.authModeParams=function(e,t,r={}){const n=t(e);return{authMode:r.authMode||n.authMode,authToken:r.authToken||n.authToken}},t.getCustomHeaders=function(e,t,r){let n=t(e).headers||{};return r&&(n=r),n};const n=r(17631),o=r(53841),i="HAS_ONE",a="HAS_MANY",s="BELONGS_TO",c={ID:"ID",String:"String",AWSDate:"String",AWSTime:"String",AWSDateTime:"String",AWSTimestamp:"Int",AWSEmail:"String",AWSPhone:"String",AWSURL:"String",AWSIPAddress:"String",AWSJSON:"String",Boolean:"Boolean",Int:"Int",Float:"Float"},u=e=>1===e.length?e[0]:e.reduce((e,t,r)=>0===r?t:e+(0,n.capitalize)(t),"");function l(e){return"object"==typeof e.fieldDef?.type&&"model"in e.fieldDef.type&&"string"==typeof e.fieldDef.type.model&&e.fieldDef.isArray&&Array.isArray(e.value?.items)}function d(e){return"object"==typeof e?.type&&"model"in e.type&&"string"==typeof e.type.model}t.flattenItems=(e,r,n)=>{if(!n)return null;const o={};for(const[i,a]of Object.entries(n)){const n=r?e.models[r]?.fields[i]:void 0,s={fieldDef:n,value:a};l(s)?o[i]=s.value.items.map(r=>(0,t.flattenItems)(e,s.fieldDef.type.model,r)):d(n)?o[i]=(0,t.flattenItems)(e,n.type.model,a):o[i]=a}return o},t.graphQLOperationsInfo={CREATE:{operationPrefix:"create",usePlural:!1},GET:{operationPrefix:"get",usePlural:!1},UPDATE:{operationPrefix:"update",usePlural:!1},DELETE:{operationPrefix:"delete",usePlural:!1},LIST:{operationPrefix:"list",usePlural:!0},INDEX_QUERY:{operationPrefix:"",usePlural:!1},ONCREATE:{operationPrefix:"onCreate",usePlural:!1},ONUPDATE:{operationPrefix:"onUpdate",usePlural:!1},ONDELETE:{operationPrefix:"onDelete",usePlural:!1},OBSERVEQUERY:{operationPrefix:"observeQuery",usePlural:!1}},t.getDefaultSelectionSetForNonModelWithIR=(e,r)=>{const{fields:n}=e,o=Object.values(n).map(({type:e,name:n})=>"string"==typeof e.enum?[n,f]:"string"==typeof e.nonModel?[n,(0,t.getDefaultSelectionSetForNonModelWithIR)(r.nonModels[e.nonModel],r)]:"string"==typeof e?[n,f]:void 0).filter(e=>void 0!==e);return Object.fromEntries(o)};const p=(e,r)=>{const{fields:o}=e,i=Object.values(o).map(({type:e,name:n})=>"string"==typeof e.enum||"string"==typeof e?[n,f]:"string"==typeof e.nonModel?[n,(0,t.getDefaultSelectionSetForNonModelWithIR)(r.nonModels[e.nonModel],r)]:void 0).filter(e=>void 0!==e),a=(0,n.resolveOwnerFields)(e).map(e=>[e,f]);return Object.fromEntries(i.concat(a))},f="";function h(e,r,o){const i=(r,o)=>{const[a,...s]=r.split("."),c=s[0],u=e.models[o]??e.nonModels[o],l=u?.fields,d=l?.[a]?.type?.model,h=e.models[d],m=l?.[a]?.type?.nonModel,g=e.nonModels[m],y=h?"model":g?"nonModel":"field";if("nonModel"===y){let r={};if(!c)throw Error(`${a} must declare a wildcard (*) or a field of custom type ${m}`);return r="*"===c?{[a]:(0,t.getDefaultSelectionSetForNonModelWithIR)(g,e)}:{[a]:i(s.join("."),m)},r}if("model"===y){let t={};if(!c)throw Error(`${a} must declare a wildcard (*) or a field of model ${d}`);if("*"===c){const r=e.models[d];t={[a]:p(r,e)}}else t={[a]:i(s.join("."),d)};return l[a]?.isArray&&(t={[a]:{items:t[a]}}),t}{const t=l?.[a],r=e.nonModels[o],i=r?.fields?.[a];if(r){if(!i)throw Error(`${a} is not a field of custom type ${o}`)}else{const e=(0,n.resolveOwnerFields)(u).includes(a);if(!t&&!e)throw Error(`${a} is not a field of model ${o}`)}return{[a]:f}}};return o.reduce((e,t)=>g(i(t,r),e),{})}function m(e){const t=[];return Object.entries(e).forEach(([e,r])=>{r===f?t.push(e):"object"==typeof r&&null!==r&&(r?.items?t.push(e,"{","items","{",m(r.items),"}","}"):t.push(e,"{",m(r),"}"))}),t.join(" ")}function g(e,t){const r=e=>e&&"object"==typeof e;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Object.prototype.hasOwnProperty.call(t,n)&&r(t[n])?g(e[n],t[n]):t[n]=e[n]);return t}function y(e,t,r){const o=e.models[t],i=h(e,t,r??function(e){const{fields:t}=e,r=Object.values(t).map(({type:e,name:t})=>{if("string"==typeof e)return t;if("object"==typeof e){if("string"==typeof e?.enum)return t;if("string"==typeof e?.nonModel)return`${t}.*`}}).filter(Boolean),o=(0,n.resolveOwnerFields)(e);return Array.from(new Set(r.concat(o)))}(o));return m(i)}function v(e,t,r){const{fields:n}=t,o={};return Object.entries(e).forEach(([e,t])=>{const a=n[e]?.type,c=a?.model;if(c){const a=n[e]?.association,u=r.models[c].primaryKeyInfo;if(a?.connectionType===i){const e=a;e.targetNames.forEach((r,n)=>{const i=e.associatedWith[n];o[r]=t[i]})}a?.connectionType===s&&a.targetNames.forEach((e,r)=>{if(0===r){const r=u.primaryKeyFieldName;o[e]=t[r]}else{const n=u.sortKeyFieldNames[r-1];o[e]=t[n]}})}else o[e]=t}),o}},44610(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},44812(e,t,r){"use strict";function n({theme:e,styles:t,props:r,stylesCtx:n}){return(Array.isArray(t)?t:[t]).reduce((t,o)=>"function"==typeof o?{...t,...o(e,r,n)}:{...t,...o},{})}r.d(t,{N:()=>n})},44880(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0;var n=r(65212),o=r(17214),i=r(19724);t.throttle=function(e,t){return n.operate(function(r,n){var a=null!=t?t:{},s=a.leading,c=void 0===s||s,u=a.trailing,l=void 0!==u&&u,d=!1,p=null,f=null,h=!1,m=function(){null==f||f.unsubscribe(),f=null,l&&(v(),h&&n.complete())},g=function(){f=null,h&&n.complete()},y=function(t){return f=i.innerFrom(e(t)).subscribe(o.createOperatorSubscriber(n,m,g))},v=function(){if(d){d=!1;var e=p;p=null,n.next(e),!h&&y(e)}};r.subscribe(o.createOperatorSubscriber(n,function(e){d=!0,p=e,(!f||f.closed)&&(c?v():y(e))},function(){h=!0,(!(l&&d&&f)||f.closed)&&n.complete()}))})}},44885(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var n=r(48051);t.EMPTY=new n.Observable(function(e){return e.complete()}),t.empty=function(e){return e?function(e){return new n.Observable(function(t){return e.schedule(function(){return t.complete()})})}(e):t.EMPTY}},45341(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=void 0;const n=r(56547),o=r(82783);t.getCurrentUser=async()=>(0,o.getCurrentUser)(n.Amplify)},45585(e,t,r){"use strict";r.d(t,{o:()=>o});var n=r(51609);const o="undefined"!=typeof document?n.useLayoutEffect:n.useEffect},45727(e,t,r){"use strict";function n(e="mantine-"){return`${e}${Math.random().toString(36).slice(2,11)}`}r.d(t,{z:()=>n})},45804(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateUserAttributes=void 0;const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(39726),c=r(17238),u=r(35456),l=r(28228);function d(e){const t={};return Object.keys(e)?.forEach(e=>{t[e]={isUpdated:!0,nextStep:{updateAttributeStep:"DONE"}}}),t}function p(e){const t={};return e?.forEach(e=>{const{AttributeName:r,DeliveryMedium:n,Destination:o}=e;r&&(t[r]={isUpdated:!1,nextStep:{updateAttributeStep:"CONFIRM_ATTRIBUTE_WITH_CODE",codeDeliveryDetails:{attributeName:r,deliveryMedium:n,destination:o}}})}),t}t.updateUserAttributes=async e=>{const{userAttributes:t,options:r}=e,f=n.Amplify.getConfig().Auth?.Cognito,h=r?.clientMetadata;(0,o.assertTokenProviderConfig)(f);const{userPoolEndpoint:m,userPoolId:g}=f,{tokens:y}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,i.assertAuthTokens)(y);const v=(0,u.createUpdateUserAttributesClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:m})}),{CodeDeliveryDetailsList:b}=await v({region:(0,a.getRegionFromUserPoolId)(g),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.UpdateUserAttributes)},{AccessToken:y.accessToken.toString(),ClientMetadata:h,UserAttributes:(0,s.toAttributeType)(t)});return{...d(t),...p(b)}}},45814(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveApiUrl=void 0;const n=r(22651),o=r(59645);t.resolveApiUrl=(e,t,r,i)=>{const a=e.getConfig()?.API?.REST?.[t]?.endpoint;(0,o.assertValidationError)(!!a,o.RestApiValidationErrorCode.InvalidApiName);try{let e;if(e=n.AmplifyUrl.canParse(a+r)?new n.AmplifyUrl(a+r):new n.AmplifyUrl(a+r,location?.origin),i){const t=new n.AmplifyUrlSearchParams(e.searchParams);Object.entries(i).forEach(([e,r])=>{t.set(e,r)}),e.search=new n.AmplifyUrlSearchParams(t).toString()}return e}catch(e){throw new o.RestApiError({name:o.RestApiValidationErrorCode.InvalidApiName,...o.validationErrorMap[o.RestApiValidationErrorCode.InvalidApiName],recoverySuggestion:`Please make sure the REST endpoint URL is a valid URL string. Got ${a}`})}}},45977(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIamAuthApplicableForRest=t.isIamAuthApplicableForGraphQL=void 0,t.isIamAuthApplicableForGraphQL=({headers:e},t)=>!e.authorization&&!e["x-api-key"]&&!!t,t.isIamAuthApplicableForRest=({headers:e},t)=>!e.authorization&&!!t},46076(e,t,r){"use strict";r.d(t,{N:()=>l});var n=r(10790),o=(r(51609),r(46100)),i=r(52837),a=r(11507),s=r(18639),c={root:"m_87cf2631"};const u={__staticSelector:"UnstyledButton"},l=(0,s.v)((e,t)=>{const r=(0,o.Y)("UnstyledButton",u,e),{className:s,component:l="button",__staticSelector:d,unstyled:p,classNames:f,styles:h,style:m,attributes:g,...y}=r,v=(0,i.I)({name:d,props:r,classes:c,className:s,style:m,classNames:f,styles:h,unstyled:p,attributes:g});return(0,n.jsx)(a.a,{...v("root",{focusable:!0}),component:l,ref:t,type:"button"===l?"button":void 0,...y})});l.classes=c,l.displayName="@mantine/core/UnstyledButton"},46100(e,t,r){"use strict";r.d(t,{Y:()=>i});var n=r(77602),o=(r(51609),r(10790),r(1101));function i(e,t,r){const i=(0,o.xd)(),a=i.components[e]?.defaultProps;return{...t,..."function"==typeof a?a(i):a,...(0,n.J)(r)}}},46356(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(76011),o=r(31425),i=r(96568);t.default=function(e,t,r){e??={},r??=0;let a=(0,o.default)({...e,_v6:!0},new Uint8Array(16));if(a=(0,i.default)(a),t){for(let e=0;e<16;e++)t[r+e]=a[e];return t}return(0,n.unsafeStringify)(a)}},46414(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRespondToAuthChallengeClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createRespondToAuthChallengeClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("RespondToAuthChallenge"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},46644(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasskeyRegistrationError=void 0;const n=r(27287),o=r(54129);t.handlePasskeyRegistrationError=e=>{if(e instanceof o.PasskeyError)return e;if(e instanceof Error){if("InvalidStateError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.PasskeyAlreadyExists];return new o.PasskeyError({name:o.PasskeyErrorCode.PasskeyAlreadyExists,message:t,recoverySuggestion:r,underlyingError:e})}if("NotAllowedError"===e.name){const{message:t,recoverySuggestion:r}=o.passkeyErrorMap[o.PasskeyErrorCode.PasskeyRegistrationCanceled];return new o.PasskeyError({name:o.PasskeyErrorCode.PasskeyRegistrationCanceled,message:t,recoverySuggestion:r,underlyingError:e})}}return(0,n.handlePasskeyError)(e)}},46742(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetUserAttributeVerificationCodeClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createGetUserAttributeVerificationCodeClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("GetUserAttributeVerificationCode"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},46798(e,t,r){"use strict";r.d(t,{F:()=>i});var n=r(10790),o=r(51609);function i(e){const t=(0,o.createContext)(null);return[({children:e,value:r})=>(0,n.jsx)(t.Provider,{value:r,children:e}),()=>{const r=(0,o.useContext)(t);if(null===r)throw new Error(e);return r}]}},46834(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCancelError=t.CanceledError=void 0;const n=r(85533);class o extends n.RestApiError{constructor(e={}){super({name:"CanceledError",message:"Request is canceled by user",...e}),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}t.CanceledError=o,t.isCancelError=e=>!!e&&e instanceof o},47058(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var n=r(30131),o=r(19724);t.from=function(e,t){return t?n.scheduled(e,t):o.innerFrom(e)}},47143(e){"use strict";e.exports=window.wp.data},47171(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initiateSelectedChallenge=async function({username:e,session:t,selectedChallenge:r,config:c,clientMetadata:u}){return(0,o.createRespondToAuthChallengeClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:c.userPoolEndpoint})})({region:(0,a.getRegionFromUserPoolId)(c.userPoolId),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:{USERNAME:e,ANSWER:r},ClientId:c.userPoolClientId,Session:t,ClientMetadata:u})};const n=r(22651),o=r(35456),i=r(28228),a=r(62639),s=r(17238)},47197(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGraphQLResponseWithErrors=function(e){if(!e)return!1;const t=e;return Array.isArray(t.errors)&&t.errors.length>0}},47278(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createKeysForAuthStorage=t.DefaultTokenStore=void 0,t.getAuthStorageKeys=c;const n=r(22651),o=r(43518),i=r(83995),a=r(87567),s=r(24631);function c(e){const t=Object.values({...e});return(e,r)=>t.reduce((t,n)=>({...t,[n]:`${e}.${r}.${n}`}),{})}t.DefaultTokenStore=class{getKeyValueStorage(){if(!this.keyValueStorage)throw new o.AuthError({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(e){this.keyValueStorage=e}setAuthConfig(e){this.authConfig=e}async loadTokens(){try{const e=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e.accessToken);if(!t)throw new o.AuthError({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});const r=(0,n.decodeJWT)(t),i=await this.getKeyValueStorage().getItem(e.idToken),a=i?(0,n.decodeJWT)(i):void 0,s=await this.getKeyValueStorage().getItem(e.refreshToken)??void 0,c=await this.getKeyValueStorage().getItem(e.clockDrift)??"0",u=Number.parseInt(c),l=await this.getKeyValueStorage().getItem(e.signInDetails),d={accessToken:r,idToken:a,refreshToken:s,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:u,username:await this.getLastAuthUser()};return l&&(d.signInDetails=JSON.parse(l)),d}catch(e){return null}}async storeTokens(e){(0,a.assert)(void 0!==e,a.TokenProviderErrorCode.InvalidAuthTokens);const t=e.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),t);const r=await this.getAuthKeys();await this.getKeyValueStorage().setItem(r.accessToken,e.accessToken.toString()),e.idToken?await this.getKeyValueStorage().setItem(r.idToken,e.idToken.toString()):await this.getKeyValueStorage().removeItem(r.idToken),e.refreshToken?await this.getKeyValueStorage().setItem(r.refreshToken,e.refreshToken):await this.getKeyValueStorage().removeItem(r.refreshToken),e.deviceMetadata&&(e.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(r.deviceKey,e.deviceMetadata.deviceKey),e.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(r.deviceGroupKey,e.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(r.randomPasswordKey,e.deviceMetadata.randomPassword)),e.signInDetails?await this.getKeyValueStorage().setItem(r.signInDetails,JSON.stringify(e.signInDetails)):await this.getKeyValueStorage().removeItem(r.signInDetails),await this.getKeyValueStorage().setItem(r.clockDrift,`${e.clockDrift}`)}async clearTokens(){const e=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(e.accessToken),this.getKeyValueStorage().removeItem(e.idToken),this.getKeyValueStorage().removeItem(e.clockDrift),this.getKeyValueStorage().removeItem(e.refreshToken),this.getKeyValueStorage().removeItem(e.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(e.oauthMetadata)])}async getDeviceMetadata(e){const t=await this.getAuthKeys(e),r=await this.getKeyValueStorage().getItem(t.deviceKey),n=await this.getKeyValueStorage().getItem(t.deviceGroupKey),o=await this.getKeyValueStorage().getItem(t.randomPasswordKey);return o&&n&&r?{deviceKey:r,deviceGroupKey:n,randomPassword:o}:null}async clearDeviceMetadata(e){const t=await this.getAuthKeys(e);await Promise.all([this.getKeyValueStorage().removeItem(t.deviceKey),this.getKeyValueStorage().removeItem(t.deviceGroupKey),this.getKeyValueStorage().removeItem(t.randomPasswordKey)])}async getAuthKeys(e){(0,n.assertTokenProviderConfig)(this.authConfig?.Cognito);const r=e??await this.getLastAuthUser();return(0,t.createKeysForAuthStorage)(s.AUTH_KEY_PREFIX,`${this.authConfig.Cognito.userPoolClientId}.${r}`)}getLastAuthUserKey(){(0,n.assertTokenProviderConfig)(this.authConfig?.Cognito);const e=this.authConfig.Cognito.userPoolClientId;return`${s.AUTH_KEY_PREFIX}.${e}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(e){const{oauthMetadata:t}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(t,JSON.stringify(e))}async getOAuthMetadata(){const{oauthMetadata:e}=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e);return t&&JSON.parse(t)}},t.createKeysForAuthStorage=(e,t)=>c(i.AuthTokenStorageKeys)(`${e}`,t)},47657(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateUserAttribute=void 0;const n=r(45804);t.updateUserAttribute=async e=>{const{userAttribute:{attributeKey:t,value:r},options:o}=e,i=await(0,n.updateUserAttributes)({userAttributes:{[t]:r},options:o});return Object.values(i)[0]}},47867(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPasskey=void 0;const n=r(67579),o=r(6837),i=r(2126),a=r(13321);t.getPasskey=async e=>{try{const t=(0,o.getIsPasskeySupported)();(0,n.assertPasskeyError)(t,n.PasskeyErrorCode.PasskeyNotSupported);const r=(0,i.deserializeJsonToPkcGetOptions)(e),s=await navigator.credentials.get({publicKey:r});return(0,a.assertCredentialIsPkcWithAuthenticatorAssertionResponse)(s),(0,i.serializePkcWithAssertionToJson)(s)}catch(e){throw(0,n.handlePasskeyAuthenticationError)(e)}}},48051(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var n=r(2708),o=r(69879),i=r(2884),a=r(99517),s=r(93728),c=r(10281),u=r(12688),l=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var i,a=this,s=(i=e)&&i instanceof n.Subscriber||function(e){return e&&c.isFunction(e.next)&&c.isFunction(e.error)&&c.isFunction(e.complete)}(i)&&o.isSubscription(i)?e:new n.SafeSubscriber(e,t,r);return u.errorContext(function(){var e=a,t=e.operator,r=e.source;s.add(t?t.call(s,r):r?a._subscribe(s):a._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=d(t))(function(t,o){var i=new n.SafeSubscriber({next:function(t){try{e(t)}catch(e){o(e),i.unsubscribe()}},error:o,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[i.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=d(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function d(e){var t;return null!==(t=null!=e?e:s.config.Promise)&&void 0!==t?t:Promise}t.Observable=l},48105(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveAndClearInflightPromises=t.addInflightPromise=void 0;const r=[];t.addInflightPromise=e=>{r.push(e)},t.resolveAndClearInflightPromises=()=>{for(;r.length;)r.pop()?.()}},48286(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(73779),o=r(52291),i=r(76011);t.default=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();const a=(e=e||{}).random??e.rng?.()??(0,o.default)();if(a.length<16)throw new Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=a[e];return t}return(0,i.unsafeStringify)(a)}},48310(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleListGraphQlError=function(e){if(e?.errors)return{...e,data:[]};throw e},t.handleSingularGraphQlError=function(e){if(e.errors)return{...e,data:null};throw e}},48324(e,t,r){"use strict";r.d(t,{M:()=>S});var n=r(10790),o=(r(51609),r(56324)),i=r(59396),a=r(46100),s=r(52837),c=r(11507),u=r(18639),l=r(24952),d=r(73087),p=r(46076),f=r(88149),h=r(2412),m={root:"m_8d3f4000",icon:"m_8d3afb97",loader:"m_302b9fb1",group:"m_1a0f1b21",groupSection:"m_437b6484"};const g={orientation:"horizontal"},y=(0,i.V)((e,{borderWidth:t})=>({group:{"--ai-border-width":(0,f.D)(t)}})),v=(0,h.P9)((e,t)=>{const r=(0,a.Y)("ActionIconGroup",g,e),{className:o,style:i,classNames:u,styles:l,unstyled:d,orientation:p,vars:f,borderWidth:h,variant:v,mod:b,attributes:E,...w}=(0,a.Y)("ActionIconGroup",g,e),S=(0,s.I)({name:"ActionIconGroup",props:r,classes:m,className:o,style:i,classNames:u,styles:l,unstyled:d,attributes:E,vars:f,varsResolver:y,rootSelector:"group"});return(0,n.jsx)(c.a,{...S("group"),ref:t,variant:v,mod:[{"data-orientation":p},b],role:"group",...w})});v.classes=m,v.displayName="@mantine/core/ActionIconGroup";const b=(0,i.V)((e,{radius:t,color:r,gradient:n,variant:i,autoContrast:a,size:s})=>{const c=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:i||"filled",autoContrast:a});return{groupSection:{"--section-height":(0,o.YC)(s,"section-height"),"--section-padding-x":(0,o.YC)(s,"section-padding-x"),"--section-fz":(0,o.ny)(s),"--section-radius":void 0===t?void 0:(0,o.nJ)(t),"--section-bg":r||i?c.background:void 0,"--section-color":c.color,"--section-bd":r||i?c.border:void 0}}}),E=(0,h.P9)((e,t)=>{const r=(0,a.Y)("ActionIconGroupSection",null,e),{className:o,style:i,classNames:u,styles:l,unstyled:d,vars:p,variant:f,gradient:h,radius:g,autoContrast:y,attributes:v,...E}=r,w=(0,s.I)({name:"ActionIconGroupSection",props:r,classes:m,className:o,style:i,classNames:u,styles:l,unstyled:d,attributes:v,vars:p,varsResolver:b,rootSelector:"groupSection"});return(0,n.jsx)(c.a,{...w("groupSection"),ref:t,variant:f,...E})});E.classes=m,E.displayName="@mantine/core/ActionIconGroupSection";const w=(0,i.V)((e,{size:t,radius:r,variant:n,gradient:i,color:a,autoContrast:s})=>{const c=e.variantColorResolver({color:a||e.primaryColor,theme:e,gradient:i,variant:n||"filled",autoContrast:s});return{root:{"--ai-size":(0,o.YC)(t,"ai-size"),"--ai-radius":void 0===r?void 0:(0,o.nJ)(r),"--ai-bg":a||n?c.background:void 0,"--ai-hover":a||n?c.hover:void 0,"--ai-hover-color":a||n?c.hoverColor:void 0,"--ai-color":c.color,"--ai-bd":a||n?c.border:void 0}}}),S=(0,u.v)((e,t)=>{const r=(0,a.Y)("ActionIcon",null,e),{className:o,unstyled:i,variant:u,classNames:f,styles:h,style:g,loading:y,loaderProps:v,size:b,color:E,radius:S,__staticSelector:A,gradient:_,vars:P,children:C,disabled:I,"data-disabled":x,autoContrast:O,mod:k,attributes:T,...N}=r,j=(0,s.I)({name:["ActionIcon",A],props:r,className:o,style:g,classes:m,classNames:f,styles:h,unstyled:i,attributes:T,vars:P,varsResolver:w});return(0,n.jsxs)(p.N,{...j("root",{active:!I&&!y&&!x}),...N,unstyled:i,variant:u,size:b,disabled:I||y,ref:t,mod:[{loading:y,disabled:I||x},k],children:["boolean"==typeof y&&(0,n.jsx)(d.e,{mounted:y,transition:"slide-down",duration:150,children:e=>(0,n.jsx)(c.a,{component:"span",...j("loader",{style:e}),"aria-hidden":!0,children:(0,n.jsx)(l.a,{color:"var(--ai-color)",size:"calc(var(--ai-size) * 0.55)",...v})})}),(0,n.jsx)(c.a,{component:"span",mod:{loading:y},...j("icon"),children:C})]})});S.classes=m,S.displayName="@mantine/core/ActionIcon",S.Group=v,S.GroupSection=E},48461(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchScan=void 0;var n=r(90680),o=r(65212);t.switchScan=function(e,t){return o.operate(function(r,o){var i=t;return n.switchMap(function(t,r){return e(i,t,r)},function(e,t){return i=t,t})(r).subscribe(o),function(){i=null}})}},48781(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOT_SUPPORTED_RECOVERY_SUGGESTION=void 0,t.NOT_SUPPORTED_RECOVERY_SUGGESTION="Passkeys may not be supported on this device. Ensure your application is running in a secure context (HTTPS) and Web Authentication API is supported."},49129(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AuthValidationErrorCode=void 0,function(e){e.EmptySignInUsername="EmptySignInUsername",e.EmptySignInPassword="EmptySignInPassword",e.CustomAuthSignInPassword="CustomAuthSignInPassword",e.EmptySignUpUsername="EmptySignUpUsername",e.EmptySignUpPassword="EmptySignUpPassword",e.EmptyConfirmSignUpUsername="EmptyConfirmSignUpUsername",e.EmptyConfirmSignUpCode="EmptyConfirmSignUpCode",e.EmptyResendSignUpCodeUsername="EmptyresendSignUpCodeUsername",e.EmptyChallengeResponse="EmptyChallengeResponse",e.EmptyConfirmResetPasswordUsername="EmptyConfirmResetPasswordUsername",e.EmptyConfirmResetPasswordNewPassword="EmptyConfirmResetPasswordNewPassword",e.EmptyConfirmResetPasswordConfirmationCode="EmptyConfirmResetPasswordConfirmationCode",e.EmptyResetPasswordUsername="EmptyResetPasswordUsername",e.EmptyVerifyTOTPSetupCode="EmptyVerifyTOTPSetupCode",e.EmptyConfirmUserAttributeCode="EmptyConfirmUserAttributeCode",e.IncorrectMFAMethod="IncorrectMFAMethod",e.EmptyUpdatePassword="EmptyUpdatePassword"}(r||(t.AuthValidationErrorCode=r={}))},49178(e,t,r){"use strict";r.d(t,{v:()=>o});var n=r(51609);function o(e){return!Array.isArray(e)&&null!==e&&"object"==typeof e&&e.type!==n.Fragment}},49568(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","circle-number-2","CircleNumber2",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M10 8h3a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 0 -1 1v2a1 1 0 0 0 1 1h3",key:"svg-1"}]])},49615(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.composeTransferHandler=void 0,t.composeTransferHandler=(e,t)=>(r,n)=>{const o={};let i=t=>e(t,n);for(let e=t.length-1;e>=0;e--)i=(0,t[e])(n)(i,o);return i(r)}},49867(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createForgotPasswordClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createForgotPasswordClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ForgotPassword"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},49913(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textEncoder=void 0,t.textEncoder={convert:e=>(new TextEncoder).encode(e)}},50030(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSendMessageFunction=void 0;const n=r(59640),o=r(85202),i=r(56792),a=r(83102);t.createSendMessageFunction=(e,t,r,s,c)=>async u=>{const{conversations:l}=t;if(!l)return{};const d="string"==typeof u?{content:[{text:u}]}:u,{content:p,aiContext:f,toolConfiguration:h}=d,m=l[s].message.send,g=(0,n.customOpFactory)(e,t,"mutation",m,!1,c,(0,a.getCustomUserAgentDetails)(a.AiAction.SendMessage)),{data:y,errors:v}=await g({conversationId:r,content:(0,i.serializeContent)(p),...f&&{aiContext:(0,i.serializeAiContext)(f)},...h&&{toolConfiguration:(0,i.serializeToolConfiguration)(h)}});return{data:y?(0,o.convertItemToConversationMessage)(y):y,errors:v}}},50057(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.composeServiceApi=void 0,t.composeServiceApi=(e,t,r,n)=>async(o,i)=>{const a={...n,...o},s=await a.endpointResolver(a,i),c=await t(i,s),u=await e(c,{...a});return r(u)}},50096(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=void 0;var n=r(92070),o=r(10281);t.max=function(e){return n.reduce(o.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})}},50120(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveEndpointId=t.getEndpointId=t.UpdateEndpointException=void 0,r(31635).__exportStar(r(53428),t);var n=r(20982);Object.defineProperty(t,"UpdateEndpointException",{enumerable:!0,get:function(){return n.UpdateEndpointException}});var o=r(20810);Object.defineProperty(t,"getEndpointId",{enumerable:!0,get:function(){return o.getEndpointId}}),Object.defineProperty(t,"resolveEndpointId",{enumerable:!0,get:function(){return o.resolveEndpointId}})},50326(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AuthErrorTypes=void 0,function(e){e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e.DeviceConfig="deviceConfig",e.NetworkError="networkError",e.AutoSignInError="autoSignInError",e.OAuthSignInError="oauthSignInError"}(r||(t.AuthErrorTypes=r={}))},50439(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsArgArrayOrObject=void 0;var r=Array.isArray,n=Object.getPrototypeOf,o=Object.prototype,i=Object.keys;t.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(r(t))return{args:t,keys:null};if((s=t)&&"object"==typeof s&&n(s)===o){var a=i(t);return{args:a.map(function(e){return t[e]}),keys:a}}}var s;return{args:e,keys:null}}},50454(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEventBuffer=void 0;const n=r(99137),o={};t.getEventBuffer=({appId:e,region:t,credentials:r,bufferSize:i,flushInterval:a,flushSize:s,resendLimit:c,identityId:u,userAgentValue:l})=>{if(o[t]?.[e]){const n=o[t][e];if(!n.identityHasChanged(u)&&!n.haveCredentialsChanged(r))return n;n.flush()}const d=new n.PinpointEventBuffer({appId:e,bufferSize:i,credentials:r,flushInterval:a,flushSize:s,identityId:u,region:t,resendLimit:c,userAgentValue:l});return o[t]||(o[t]={}),o[t][e]=d,d}},50508(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCreateConversationFunction=void 0;const n=r(68523),o=r(19613),i=r(83102);t.createCreateConversationFunction=(e,t,r,a,s,c)=>async u=>{const{name:l,metadata:d}=u??{},p=JSON.stringify(d),f=(0,n.getFactory)(e,t,a,"CREATE",c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.CreateConversation)),{data:h,errors:m}=await f({name:l,metadata:p});return{data:(0,o.convertItemToConversation)(e,t,h?.id,h?.createdAt,h?.updatedAt,r,s,c,h?.metadata,h?.name),errors:m}}},50597(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutWith=void 0;var n=r(62326),o=r(85345),i=r(81713);t.timeoutWith=function(e,t,r){var a,s,c;if(r=null!=r?r:n.async,o.isValidDate(e)?a=e:"number"==typeof e&&(s=e),!t)throw new TypeError("No observable provided to switch to");if(c=function(){return t},null==a&&null==s)throw new TypeError("No timeout provided.");return i.timeout({first:a,each:s,scheduler:r,with:c})}},50839(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnsubscribedError=void 0;var n=r(9619);t.ObjectUnsubscribedError=n.createErrorClass(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},50875(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.VirtualAction=t.VirtualTimeScheduler=void 0;var i=r(64772),a=r(69879),s=function(e){function t(t,r){void 0===t&&(t=c),void 0===r&&(r=1/0);var n=e.call(this,t,function(){return n.frame})||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return o(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(r(19533).AsyncScheduler);t.VirtualTimeScheduler=s;var c=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var o=e.call(this,t,r)||this;return o.scheduler=t,o.work=r,o.index=n,o.active=!0,o.index=t.index=n,o}return o(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var o=new t(this.scheduler,this.work);return this.add(o),o.schedule(r,n)}return a.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var o=e.actions;return o.push(this),o.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,t,r){void 0===r&&(r=0)},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(i.AsyncAction);t.VirtualAction=c},50929(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sharedInMemoryStorage=t.syncSessionStorage=t.sessionStorage=t.defaultStorage=t.CookieStorage=void 0;const n=r(73323),o=r(3944),i=r(44056),a=r(67904),s=r(99607);var c=r(28298);Object.defineProperty(t,"CookieStorage",{enumerable:!0,get:function(){return c.CookieStorage}}),t.defaultStorage=new n.DefaultStorage,t.sessionStorage=new a.SessionStorage,t.syncSessionStorage=new s.SyncSessionStorage,t.sharedInMemoryStorage=new i.KeyValueStorage(new o.InMemoryStorage)},50997(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__modelMeta__=void 0;var n=r(21170);Object.defineProperty(t,"__modelMeta__",{enumerable:!0,get:function(){return n.__modelMeta__}})},51071(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromSubscribable=void 0;var n=r(48051);t.fromSubscribable=function(e){return new n.Observable(function(t){return e.subscribe(t)})}},51233(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGlobalSignOutClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createGlobalSignOutClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("GlobalSignOut"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},51393(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomString=void 0;const n=r(22651),o=r(17313);t.getRandomString=()=>n.base64Encoder.convert((0,o.getRandomBytes)(40))},51608(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auditTime=void 0;var n=r(62326),o=r(88877),i=r(5825);t.auditTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.audit(function(){return i.timer(e,t)})}},51609(e){"use strict";e.exports=window.React},51700(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUpdateDeviceStatusClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createUpdateDeviceStatusClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("UpdateDeviceStatus"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},52291(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0});const n=new Uint8Array(16);t.default=function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(n)}},52359(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSetUserMFAPreferenceClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createSetUserMFAPreferenceClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("SetUserMFAPreference"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},52382(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Signer=void 0;const n=r(36759),o=r(11923),i=r(76027),a=/([^.]+)\.(?:([^.]*)\.)?amazonaws\.com(.cn)?$/;t.Signer=class{static sign(e,t,r){if(e.headers=e.headers||{},e.body&&!e.data)throw new Error('The attribute "body" was found on the request object. Please use the attribute "data" instead.');const i={...e,body:e.data,url:new o.AmplifyUrl(e.url)},a=s(i,t,r),c=(0,n.signRequest)(i,a);return c.url=c.url.toString(),c.headers.Authorization=c.headers.authorization,c.headers["X-Amz-Security-Token"]=c.headers["x-amz-security-token"],delete c.headers.authorization,delete c.headers["x-amz-security-token"],c}static signUrl(e,t,r,i){const a="object"==typeof e?e.url:e,c="object"==typeof e?e.method:"GET",l={body:"object"==typeof e?e.body:void 0,method:c,url:new o.AmplifyUrl(a)},d=s(l,t,r,i),p=(0,n.presignUrl)(l,d);return t.session_token&&!u(d.signingService)&&p.searchParams.append(n.TOKEN_QUERY_PARAM,t.session_token),p.toString()}};const s=(e,t,r,n)=>{const{access_key:o,secret_key:a,session_token:s}=t??{},{region:l,service:d}=c(e.url),{region:p=l,service:f=d}=r??{};return{credentials:{accessKeyId:o,secretAccessKey:a,...u(f)?{sessionToken:s}:{}},signingDate:i.DateUtils.getDateWithClockOffset(),signingRegion:p,signingService:f,...n&&{expiration:n}}},c=e=>{const{host:t}=e;let r=(t.match(a)??[]).slice(1,3);return"es"===r[1]&&(r=r.reverse()),{service:r[0],region:r[1]}},u=e=>"iotdevicegateway"!==e},52522(e,t){"use strict";function r(e,t){null!=e&&this.fromString(e,t)}function n(){return new r(null,null)}let o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;const i="undefined"!=typeof navigator;i&&"Microsoft Internet Explorer"===navigator.appName?(r.prototype.am=function(e,t,r,n,o,i){const a=32767&t,s=t>>15;for(;--i>=0;){let t=32767&this[e];const i=this[e++]>>15,c=s*t+i*a;t=a*t+((32767&c)<<15)+r[n]+(1073741823&o),o=(t>>>30)+(c>>>15)+s*i+(o>>>30),r[n++]=1073741823&t}return o},o=30):i&&"Netscape"!==navigator.appName?(r.prototype.am=function(e,t,r,n,o,i){for(;--i>=0;){const i=t*this[e++]+r[n]+o;o=Math.floor(i/67108864),r[n++]=67108863&i}return o},o=26):(r.prototype.am=function(e,t,r,n,o,i){const a=16383&t,s=t>>14;for(;--i>=0;){let t=16383&this[e];const i=this[e++]>>14,c=s*t+i*a;t=a*t+((16383&c)<<14)+r[n]+o,o=(t>>28)+(c>>14)+s*i,r[n++]=268435455&t}return o},o=28),r.prototype.DB=o,r.prototype.DM=(1<<o)-1,r.prototype.DV=1<<o,r.prototype.FV=Math.pow(2,52),r.prototype.F1=52-o,r.prototype.F2=2*o-52;const a=[];let s,c;for(s="0".charCodeAt(0),c=0;c<=9;++c)a[s++]=c;for(s="a".charCodeAt(0),c=10;c<36;++c)a[s++]=c;for(s="A".charCodeAt(0),c=10;c<36;++c)a[s++]=c;function u(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function l(e,t){const r=a[e.charCodeAt(t)];return null==r?-1:r}function d(e){const t=n();return t.fromInt(e),t}function p(e){let t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function f(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}f.prototype.convert=function(e){const t=n();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(r.ZERO)>0&&this.m.subTo(t,t),t},f.prototype.revert=function(e){const t=n();return e.copyTo(t),this.reduce(t),t},f.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(let t=0;t<this.m.t;++t){let r=32767&e[t];const n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(r=t+this.m.t,e[r]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},f.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},f.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},r.prototype.copyTo=function(e){for(let t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},r.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},r.prototype.fromString=function(e,t){let n;if(16===t)n=4;else if(8===t)n=3;else if(2===t)n=1;else if(32===t)n=5;else{if(4!==t)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}this.t=0,this.s=0;let o=e.length,i=!1,a=0;for(;--o>=0;){const t=l(e,o);t<0?"-"===e.charAt(o)&&(i=!0):(i=!1,0===a?this[this.t++]=t:a+n>this.DB?(this[this.t-1]|=(t&(1<<this.DB-a)-1)<<a,this[this.t++]=t>>this.DB-a):this[this.t-1]|=t<<a,a+=n,a>=this.DB&&(a-=this.DB))}this.clamp(),i&&r.ZERO.subTo(this,this)},r.prototype.clamp=function(){const e=this.s&this.DM;for(;this.t>0&&this[this.t-1]==e;)--this.t},r.prototype.dlShiftTo=function(e,t){let r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},r.prototype.drShiftTo=function(e,t){for(let r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},r.prototype.lShiftTo=function(e,t){const r=e%this.DB,n=this.DB-r,o=(1<<n)-1,i=Math.floor(e/this.DB);let a,s=this.s<<r&this.DM;for(a=this.t-1;a>=0;--a)t[a+i+1]=this[a]>>n|s,s=(this[a]&o)<<r;for(a=i-1;a>=0;--a)t[a]=0;t[i]=s,t.t=this.t+i+1,t.s=this.s,t.clamp()},r.prototype.rShiftTo=function(e,t){t.s=this.s;const r=Math.floor(e/this.DB);if(r>=this.t)return void(t.t=0);const n=e%this.DB,o=this.DB-n,i=(1<<n)-1;t[0]=this[r]>>n;for(let e=r+1;e<this.t;++e)t[e-r-1]|=(this[e]&i)<<o,t[e-r]=this[e]>>n;n>0&&(t[this.t-r-1]|=(this.s&i)<<o),t.t=this.t-r,t.clamp()},r.prototype.subTo=function(e,t){let r=0,n=0;const o=Math.min(e.t,this.t);for(;r<o;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},r.prototype.multiplyTo=function(e,t){const n=this.abs(),o=e.abs();let i=n.t;for(t.t=i+o.t;--i>=0;)t[i]=0;for(i=0;i<o.t;++i)t[i+n.t]=n.am(0,o[i],t,i,0,n.t);t.s=0,t.clamp(),this.s!==e.s&&r.ZERO.subTo(t,t)},r.prototype.squareTo=function(e){const t=this.abs();let r=e.t=2*t.t;for(;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){const n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},r.prototype.divRemTo=function(e,t,o){const i=e.abs();if(i.t<=0)return;const a=this.abs();if(a.t<i.t)return null!=t&&t.fromInt(0),void(null!=o&&this.copyTo(o));null===o&&(o=n());const s=n(),c=this.s,u=e.s,l=this.DB-p(i[i.t-1]);l>0?(i.lShiftTo(l,s),a.lShiftTo(l,o)):(i.copyTo(s),a.copyTo(o));const d=s.t,f=s[d-1];if(0===f)return;const h=f*(1<<this.F1)+(d>1?s[d-2]>>this.F2:0),m=this.FV/h,g=(1<<this.F1)/h,y=1<<this.F2;let v=o.t,b=v-d;const E=null===t?n():t;for(s.dlShiftTo(b,E),o.compareTo(E)>=0&&(o[o.t++]=1,o.subTo(E,o)),r.ONE.dlShiftTo(d,E),E.subTo(s,s);s.t<d;)s[s.t++]=0;for(;--b>=0;){let e=o[--v]===f?this.DM:Math.floor(o[v]*m+(o[v-1]+y)*g);if((o[v]+=s.am(0,e,o,b,0,d))<e)for(s.dlShiftTo(b,E),o.subTo(E,o);o[v]<--e;)o.subTo(E,o)}null!==t&&(o.drShiftTo(d,t),c!==u&&r.ZERO.subTo(t,t)),o.t=d,o.clamp(),l>0&&o.rShiftTo(l,o),c<0&&r.ZERO.subTo(o,o)},r.prototype.invDigit=function(){if(this.t<1)return 0;const e=this[0];if(!(1&e))return 0;let t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t},r.prototype.addTo=function(e,t){let r=0,n=0;const o=Math.min(e.t,this.t);for(;r<o;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},r.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);let t;if(16==e)t=4;else if(8===e)t=3;else if(2===e)t=1;else if(32===e)t=5;else{if(4!==e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}const r=(1<<t)-1;let n,o=!1,i="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(o=!0,i=u(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(o=!0),o&&(i+=u(n));return o?i:"0"},r.prototype.negate=function(){const e=n();return r.ZERO.subTo(this,e),e},r.prototype.abs=function(){return this.s<0?this.negate():this},r.prototype.compareTo=function(e){let t=this.s-e.s;if(0!=t)return t;let r=this.t;if(t=r-e.t,0!=t)return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},r.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+p(this[this.t-1]^this.s&this.DM)},r.prototype.mod=function(e){const t=n();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(r.ZERO)>0&&e.subTo(t,t),t},r.prototype.equals=function(e){return 0===this.compareTo(e)},r.prototype.add=function(e){const t=n();return this.addTo(e,t),t},r.prototype.subtract=function(e){const t=n();return this.subTo(e,t),t},r.prototype.multiply=function(e){const t=n();return this.multiplyTo(e,t),t},r.prototype.divide=function(e){const t=n();return this.divRemTo(e,t,null),t},r.prototype.modPow=function(e,t,r){let o,i=e.bitLength(),a=d(1);const s=new f(t);if(i<=0)return a;o=i<18?1:i<48?3:i<144?4:i<768?5:6;const c=[];let u=3;const l=o-1,h=(1<<o)-1;if(c[1]=s.convert(this),o>1){const e=n();for(s.sqrTo(c[1],e);u<=h;)c[u]=n(),s.mulTo(e,c[u-2],c[u]),u+=2}let m,g,y=e.t-1,v=!0,b=n();for(i=p(e[y])-1;y>=0;){for(i>=l?m=e[y]>>i-l&h:(m=(e[y]&(1<<i+1)-1)<<l-i,y>0&&(m|=e[y-1]>>this.DB+i-l)),u=o;!(1&m);)m>>=1,--u;if((i-=u)<0&&(i+=this.DB,--y),v)c[m].copyTo(a),v=!1;else{for(;u>1;)s.sqrTo(a,b),s.sqrTo(b,a),u-=2;u>0?s.sqrTo(a,b):(g=a,a=b,b=g),s.mulTo(b,c[m],a)}for(;y>=0&&!(e[y]&1<<i);)s.sqrTo(a,b),g=a,a=b,b=g,--i<0&&(i=this.DB-1,--y)}const E=s.revert(a);return r(null,E),E},r.ZERO=d(0),r.ONE=d(1)},52796(e,t,r){"use strict";r.d(t,{l:()=>n});const n=()=>{}},52837(e,t,r){"use strict";r.d(t,{I:()=>g}),r(51609),r(10790);var n=r(66192),o=r(1101),i=r(34164);const a={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};var s=r(74593);function c({selector:e,stylesCtx:t,theme:r,classNames:n,props:o}){return(0,s.J)({theme:r,classNames:n,props:o,stylesCtx:t})[e]}function u({theme:e,options:t,themeName:r,selector:n,classNamesPrefix:o,classNames:u,classes:l,unstyled:d,className:p,rootSelector:f,props:h,stylesCtx:m,withStaticClasses:g,headless:y,transformedStyles:v}){return(0,i.A)(function({theme:e,options:t,unstyled:r}){return(0,i.A)(t?.focusable&&!r&&(e.focusClassName||a[e.focusRing]),t?.active&&!r&&e.activeClassName)}({theme:e,options:t,unstyled:d||y}),function({themeName:e,theme:t,selector:r,props:n,stylesCtx:o}){return e.map(e=>(0,s.J)({theme:t,classNames:t.components[e]?.classNames,props:n,stylesCtx:o})?.[r])}({theme:e,themeName:r,selector:n,props:h,stylesCtx:m}),function({options:e,classes:t,selector:r,unstyled:n}){return e?.variant&&!n?t[`${r}--${e.variant}`]:void 0}({options:t,classes:l,selector:n,unstyled:d}),c({selector:n,stylesCtx:m,theme:e,classNames:u,props:h}),c({selector:n,stylesCtx:m,theme:e,classNames:v,props:h}),function({selector:e,stylesCtx:t,options:r,props:n,theme:o}){return(0,s.J)({theme:o,classNames:r?.classNames,props:r?.props||n,stylesCtx:t})[e]}({selector:n,stylesCtx:m,options:t,props:h,theme:e}),function({rootSelector:e,selector:t,className:r}){return e===t?r:void 0}({rootSelector:f,selector:n,className:p}),function({selector:e,classes:t,unstyled:r}){return r?void 0:t[e]}({selector:n,classes:l,unstyled:d||y}),g&&!y&&function({themeName:e,classNamesPrefix:t,selector:r,withStaticClass:n}){return!1===n?[]:e.map(e=>`${t}-${e}-${r}`)}({themeName:r,classNamesPrefix:o,selector:n,withStaticClass:t?.withStaticClass}),t?.className)}var l=r(44812);function d({theme:e,themeName:t,props:r,stylesCtx:n,selector:o}){return t.map(t=>(0,l.N)({theme:e,styles:e.components[t]?.styles,props:r,stylesCtx:n})[o]).reduce((e,t)=>({...e,...t}),{})}function p({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,...p({style:r,theme:t})}),{}):"function"==typeof e?e(t):null==e?{}:e}var f=r(77602);function h({vars:e,varsResolver:t,theme:r,props:n,stylesCtx:o,selector:i,themeName:a,headless:s}){return function(e){return e.reduce((e,t)=>(t&&Object.keys(t).forEach(r=>{e[r]={...e[r],...(0,f.J)(t[r])}}),e),{})}([s?{}:t?.(r,n,o),...a.map(e=>r.components?.[e]?.vars?.(r,n,o)),e?.(r,n,o)])?.[i]}function m({theme:e,themeName:t,selector:r,options:n,props:o,stylesCtx:i,rootSelector:a,styles:s,style:c,vars:u,varsResolver:f,headless:m,withStylesTransform:g}){return{...!g&&d({theme:e,themeName:t,props:o,stylesCtx:i,selector:r}),...!g&&(0,l.N)({theme:e,styles:s,props:o,stylesCtx:i})[r],...!g&&(0,l.N)({theme:e,styles:n?.styles,props:n?.props||o,stylesCtx:i})[r],...h({theme:e,props:o,stylesCtx:i,vars:u,varsResolver:f,selector:r,themeName:t,headless:m}),...a===r?p({style:c,theme:e}):null,...p({style:n?.style,theme:e})}}function g({name:e,classes:t,props:r,stylesCtx:i,className:a,style:s,rootSelector:c="root",unstyled:l,classNames:d,styles:p,vars:f,varsResolver:h,attributes:g}){const y=(0,o.xd)(),v=(0,n.AI)(),b=(0,n.If)(),E=(0,n.FI)(),w=(Array.isArray(e)?e:[e]).filter(e=>e),{withStylesTransform:S,getTransformedStyles:A}=function({props:e,stylesCtx:t,themeName:r}){const i=(0,o.xd)(),a=(0,n.m6)()?.();return{getTransformedStyles:n=>a?[...n.map(r=>a(r,{props:e,theme:i,ctx:t})),...r.map(r=>a(i.components[r]?.styles,{props:e,theme:i,ctx:t}))].filter(Boolean):[],withStylesTransform:!!a}}({props:r,stylesCtx:i,themeName:w});return(e,n)=>({className:u({theme:y,options:n,themeName:w,selector:e,classNamesPrefix:v,classNames:d,classes:t,unstyled:l,className:a,rootSelector:c,props:r,stylesCtx:i,withStaticClasses:b,headless:E,transformedStyles:A([n?.styles,p])}),style:m({theme:y,themeName:w,selector:e,options:n,props:r,stylesCtx:i,rootSelector:c,styles:p,style:s,vars:f,varsResolver:h,headless:E,withStylesTransform:S}),...g?.[e]})}},52999(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateEndpoint=void 0;const n=r(91537),o=r(50057),i=r(6465),a=r(39930),s=r(11923),c=r(53838);t.updateEndpoint=(0,o.composeServiceApi)(n.authenticatedHandler,({ApplicationId:e="",EndpointId:t="",EndpointRequest:r},n)=>{const o=(0,c.getSharedHeaders)(),a=new s.AmplifyUrl(n.url);return a.pathname=`v1/apps/${(0,i.extendedEncodeURIComponent)(e)}/endpoints/${(0,i.extendedEncodeURIComponent)(t)}`,{method:"PUT",headers:o,url:a,body:JSON.stringify(r)}},async e=>{if(e.statusCode>=300)throw await(0,a.parseJsonError)(e);{const{Message:t,RequestID:r}=await(0,a.parseJsonBody)(e);return{MessageBody:{Message:t,RequestID:r},$metadata:(0,a.parseMetadata)(e)}}},c.defaultConfig)},53197(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;var n=r(76808),o=r(18464),i=r(17812);t.publish=function(e){return e?function(t){return i.connect(e)(t)}:function(e){return o.multicast(new n.Subject)(e)}}},53222(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.validationErrorMap=t.RestApiValidationErrorCode=void 0,function(e){e.InvalidApiName="InvalidApiName"}(r||(t.RestApiValidationErrorCode=r={})),t.validationErrorMap={[r.InvalidApiName]:{message:"API name is invalid.",recoverySuggestion:"Check if the API name matches the one in your configuration or `aws-exports.js`"}}},53428(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flushEvents=t.record=t.updateEndpoint=void 0;var n=r(7322);Object.defineProperty(t,"updateEndpoint",{enumerable:!0,get:function(){return n.updateEndpoint}});var o=r(70935);Object.defineProperty(t,"record",{enumerable:!0,get:function(){return o.record}});var i=r(99463);Object.defineProperty(t,"flushEvents",{enumerable:!0,get:function(){return i.flushEvents}})},53478(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityPoolEndpointResolver=t.createGetIdClient=t.createGetCredentialsForIdentityClient=void 0;var n=r(93162);Object.defineProperty(t,"createGetCredentialsForIdentityClient",{enumerable:!0,get:function(){return n.createGetCredentialsForIdentityClient}});var o=r(68584);Object.defineProperty(t,"createGetIdClient",{enumerable:!0,get:function(){return o.createGetIdClient}});var i=r(26974);Object.defineProperty(t,"cognitoIdentityPoolEndpointResolver",{enumerable:!0,get:function(){return i.cognitoIdentityPoolEndpointResolver}})},53553(e,t,r){"use strict";r.d(t,{F:()=>o,Y:()=>i});var n=r(65430);const o=async e=>{if(!e||e.statusCode<300)return;const t=await i(e),r=(e=>{const[t]=e.toString().split(/[,:]+/);return t.includes("#")?t.split("#")[1]:t})(e.headers["x-amzn-errortype"]??t.code??t.__type??"UnknownError"),o=t.message??t.Message??"Unknown error",a=new Error(o);return Object.assign(a,{name:r,$metadata:(0,n.j)(e)})},i=async e=>{if(!e.body)throw new Error("Missing response payload");const t=await e.body.json();return Object.assign(t,{$metadata:(0,n.j)(e)})}},53838(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSharedHeaders=t.defaultConfig=void 0;const n=r(3977),o=r(92896),i=r(65826),a=r(4463),s=r(11923);t.defaultConfig={service:"mobiletargeting",endpointResolver:({region:e})=>({url:new s.AmplifyUrl(`https://pinpoint.${e}.${(0,n.getDnsSuffix)(e)}`)}),retryDecider:(0,o.getRetryDecider)(i.parseJsonError),computeDelay:o.jitteredBackoff,get userAgentValue(){return(0,a.getAmplifyUserAgent)()}},t.getSharedHeaders=()=>({"content-type":"application/json"})},53841(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendCancellability=function(e,t){return r.set(t,e),e.finally(()=>{r.delete(t)})},t.upgradeClientCancellation=function(e){const t=e.cancel.bind(e);e.cancel=function(e,n){const o=new Set;let i=e;for(;i&&r.has(i);){if(o.has(i))throw new Error("A cycle was detected in the modeled graphql cancellation chain. This is a bug. Please report it!");o.add(i),i=r.get(i)}return t(i,n)}};const r=new WeakMap},53866(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timestamp=void 0;var n=r(93275),o=r(26872);t.timestamp=function(e){return void 0===e&&(e=n.dateTimestampProvider),o.map(function(t){return{value:t,timestamp:e.now()}})}},54129(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertPasskeyError=t.passkeyErrorMap=t.PasskeyErrorCode=t.PasskeyError=void 0;const n=r(22651),o=r(48781);class i extends n.AmplifyError{constructor(e){super(e),this.constructor=i,Object.setPrototypeOf(this,i.prototype)}}var a;t.PasskeyError=i,function(e){e.PasskeyNotSupported="PasskeyNotSupported",e.PasskeyAlreadyExists="PasskeyAlreadyExists",e.InvalidPasskeyRegistrationOptions="InvalidPasskeyRegistrationOptions",e.InvalidPasskeyAuthenticationOptions="InvalidPasskeyAuthenticationOptions",e.RelyingPartyMismatch="RelyingPartyMismatch",e.PasskeyRegistrationFailed="PasskeyRegistrationFailed",e.PasskeyRetrievalFailed="PasskeyRetrievalFailed",e.PasskeyRegistrationCanceled="PasskeyRegistrationCanceled",e.PasskeyAuthenticationCanceled="PasskeyAuthenticationCanceled",e.PasskeyOperationAborted="PasskeyOperationAborted"}(a||(t.PasskeyErrorCode=a={}));const s="User may have canceled the ceremony or another interruption has occurred. Check underlying error for details.",c="Ensure your user pool is configured to support the WEB_AUTHN as an authentication factor.";t.passkeyErrorMap={[a.PasskeyNotSupported]:{message:"Passkeys may not be supported on this device.",recoverySuggestion:o.NOT_SUPPORTED_RECOVERY_SUGGESTION},[a.InvalidPasskeyRegistrationOptions]:{message:"Invalid passkey registration options.",recoverySuggestion:c},[a.InvalidPasskeyAuthenticationOptions]:{message:"Invalid passkey authentication options.",recoverySuggestion:c},[a.PasskeyRegistrationFailed]:{message:"Device failed to create passkey.",recoverySuggestion:o.NOT_SUPPORTED_RECOVERY_SUGGESTION},[a.PasskeyRetrievalFailed]:{message:"Device failed to retrieve passkey.",recoverySuggestion:"Passkeys may not be available on this device. Try an alternative authentication factor like PASSWORD, EMAIL_OTP, or SMS_OTP."},[a.PasskeyAlreadyExists]:{message:"Passkey already exists in authenticator.",recoverySuggestion:"Proceed with existing passkey or try again after deleting the credential."},[a.PasskeyRegistrationCanceled]:{message:"Passkey registration ceremony has been canceled.",recoverySuggestion:s},[a.PasskeyAuthenticationCanceled]:{message:"Passkey authentication ceremony has been canceled.",recoverySuggestion:s},[a.PasskeyOperationAborted]:{message:"Passkey operation has been aborted.",recoverySuggestion:s},[a.RelyingPartyMismatch]:{message:"Relying party does not match current domain.",recoverySuggestion:"Ensure relying party identifier matches current domain."}},t.assertPasskeyError=(0,n.createAssertionFunction)(t.passkeyErrorMap,i)},54359(e,t,r){"use strict";r.d(t,{y:()=>o});var n=r(8404);const o=e=>{const t=function(e=3e5){return t=>{const r=2**t*100+100*Math.random();return!(r>e)&&r}}(n.mU),r=t(e);return!1===r?n.mU:r}},54383(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.take=void 0;var n=r(44885),o=r(65212),i=r(17214);t.take=function(e){return e<=0?function(){return n.EMPTY}:o.operate(function(t,r){var n=0;t.subscribe(i.createOperatorSubscriber(r,function(t){++n<=e&&(r.next(t),e<=n&&r.complete())}))})}},54511(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppSyncEventProvider=t.AWSAppSyncEventProvider=void 0;const n=r(22651),o=r(57186),i=r(67201),a=r(29901),s=r(12504),c="AWSAppSyncEventsProvider";class u extends i.AWSWebSocketProvider{constructor(){super({providerName:c,wsProtocolName:"aws-appsync-event-ws",connectUri:""}),this.allowNoSubscriptions=!0}getProviderName(){return c}async connect(e){return super.connect(e)}subscribe(e,t){return super.subscribe(e,t).pipe()}async publish(e,t){return super.publish(e,t)}closeIfNoActiveSubscription(){this._closeSocketIfRequired()}async _prepareSubscriptionPayload({options:e,subscriptionId:t,customUserAgentDetails:r,additionalCustomHeaders:i,libraryConfigHeaders:c,publish:u}){const{appSyncGraphqlEndpoint:l,authenticationType:d,query:p,apiKey:f,region:h,variables:m}=e,g={channel:p,events:void 0!==m?(0,s.serializeEvents)(m):void 0},y=JSON.stringify(g),v={...await(0,a.awsRealTimeHeaderBasedAuth)({apiKey:f,appSyncGraphqlEndpoint:l,authenticationType:d,payload:y,canonicalUri:"",region:h,additionalCustomHeaders:i}),...c,...i,[n.USER_AGENT_HEADER]:(0,n.getAmplifyUserAgent)(r)},b={id:t,channel:p,events:void 0!==m?(0,s.serializeEvents)(m):void 0,authorization:{...v},payload:{events:void 0!==m?(0,s.serializeEvents)(m):void 0,channel:p,extensions:{authorization:{...v}}},type:u?o.MESSAGE_TYPES.EVENT_PUBLISH:o.MESSAGE_TYPES.EVENT_SUBSCRIBE};return JSON.stringify(b)}_handleSubscriptionData(e){this.logger.debug(`subscription message from AWS AppSync Events: ${e.data}`);const{id:t="",event:r,type:n}=JSON.parse(String(e.data)),{observer:i=null,query:a="",variables:s={}}=this.subscriptionObserverMap.get(t)||{};if(this.logger.debug({id:t,observer:i,query:a,variables:s}),n===o.MESSAGE_TYPES.DATA&&r){const e=JSON.parse(r);return i?i.next({id:t,type:n,event:e}):this.logger.debug(`observer not found for id: ${t}`),[!0,{id:t,type:n,payload:e}]}return[!1,{id:t,type:n,payload:r}]}_unsubscribeMessage(e){return{id:e,type:o.MESSAGE_TYPES.EVENT_STOP}}_extractConnectionTimeout(e){const{connectionTimeoutMs:t=o.DEFAULT_KEEP_ALIVE_TIMEOUT}=e;return t}_extractErrorCodeAndType(e){const{errors:[{errorType:t="",errorCode:r=0}={}]=[]}=e;return{errorCode:r,errorType:t}}}t.AWSAppSyncEventProvider=u,t.AppSyncEventProvider=new u},54530(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schedulePromise=void 0;var n=r(19724),o=r(32071),i=r(5455);t.schedulePromise=function(e,t){return n.innerFrom(e).pipe(i.subscribeOn(t),o.observeOn(t))}},54830(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrRemove=void 0,t.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},54872(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteUserAttributesClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createDeleteUserAttributesClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("DeleteUserAttributes"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},54937(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56547),o=r(22651),i=r(14602);(0,o.isBrowser)()&&n.Amplify[o.ADD_OAUTH_LISTENER](i.attemptCompleteOAuthFlow)},55440(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.single=void 0;var n=r(59328),o=r(94708),i=r(23506),a=r(65212),s=r(17214);t.single=function(e){return a.operate(function(t,r){var a,c=!1,u=!1,l=0;t.subscribe(s.createOperatorSubscriber(r,function(n){u=!0,e&&!e(n,l++,t)||(c&&r.error(new o.SequenceError("Too many matching values")),c=!0,a=n)},function(){c?(r.next(a),r.complete()):r.error(u?new i.NotFoundError("No matching values"):new n.EmptyError)}))})}},55488(e,t,r){"use strict";r.d(t,{g:()=>a,w:()=>i});var n=r(80684),o=r(89569);function i({color:e,theme:t,autoContrast:r}){return("boolean"==typeof r?r:t.autoContrast)&&(0,o.g)({color:e||t.primaryColor,theme:t}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}function a(e,t){return i({color:e.colors[e.primaryColor][(0,n.g)(e,t)],theme:e,autoContrast:null})}},55695(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeQueryFactory=function(e,t){const{name:r}=t;return i=>new n.Observable(n=>{const a=[],s=[];let c=(...e)=>s.push(...e);const u=e[r].onCreate(i).subscribe({next(e){c({item:e,type:"create"})},error(e){n.error({type:"onCreate",error:e})}}),l=e[r].onUpdate(i).subscribe({next(e){c({item:e,type:"update"})},error(e){n.error({type:"onUpdate",error:e})}}),d=e[r].onDelete(i).subscribe({next(e){c({item:e,type:"delete"})},error(e){n.error({type:"onDelete",error:e})}});function p(e){for(const t of e){const e=(0,o.findIndexByFields)(t.item,a,f);switch(t.type){case"create":e<0&&a.push(t.item);break;case"update":e>=0&&(a[e]=t.item);break;case"delete":e>=0&&a.splice(e,1);break;default:console.error("Unrecognized message in observeQuery.",t)}}n.next({items:a,isSynced:!0})}const f=(0,o.resolvePKFields)(t);return(async()=>{let t=!0,o=null;for(;!n.closed&&(t||o);){t=!1;const{data:c,errors:u,nextToken:l}=await e[r].list({...i,nextToken:o});o=l,a.push(...c);const d=0===s.length&&null==o;if(n.next({items:a,isSynced:d}),Array.isArray(u))for(const e of u)n.error(e)}s.length>0&&p(s),c=(...e)=>(p(e),a.length)})(),()=>{u.unsubscribe(),l.unsubscribe(),d.unsubscribe()}})};const n=r(79364),o=r(17631)},55794(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cacheCognitoTokens=async function(e){if(!e.AccessToken)throw new n.AmplifyError({message:"Invalid tokens",name:"InvalidTokens",recoverySuggestion:"Check Cognito UserPool settings"});{const t=(0,n.decodeJWT)(e.AccessToken),r=1e3*(t.payload.iat||0),i=(new Date).getTime(),a=r>0?r-i:0;let s,c,u;e.RefreshToken&&(c=e.RefreshToken),e.IdToken&&(s=(0,n.decodeJWT)(e.IdToken)),e?.NewDeviceMetadata&&(u=e.NewDeviceMetadata);const l={accessToken:t,idToken:s,refreshToken:c,clockDrift:a,deviceMetadata:u,username:e.username};e?.signInDetails&&(l.signInDetails=e.signInDetails),await o.tokenOrchestrator.setTokens({tokens:l})}};const n=r(22651),o=r(39602)},56131(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeat=void 0;var n=r(44885),o=r(65212),i=r(17214),a=r(19724),s=r(5825);t.repeat=function(e){var t,r,c=1/0;return null!=e&&("object"==typeof e?(t=e.count,c=void 0===t?1/0:t,r=e.delay):c=e),c<=0?function(){return n.EMPTY}:o.operate(function(e,t){var n,o=0,u=function(){if(null==n||n.unsubscribe(),n=null,null!=r){var e="number"==typeof r?s.timer(r):a.innerFrom(r(o)),c=i.createOperatorSubscriber(t,function(){c.unsubscribe(),l()});e.subscribe(c)}else l()},l=function(){var r=!1;n=e.subscribe(i.createOperatorSubscriber(t,void 0,function(){++o<c?n?u():r=!0:t.complete()})),r&&u()};l()})}},56324(e,t,r){"use strict";r.d(t,{GY:()=>a,YC:()=>i,dh:()=>l,ks:()=>u,nJ:()=>s,ny:()=>c});var n=r(12940),o=r(88149);function i(e,t="size",r=!0){if(void 0!==e)return(0,n.t)(e)?r?(0,o.D)(e):e:`var(--${t}-${e})`}function a(e){return i(e,"mantine-spacing")}function s(e){return void 0===e?"var(--mantine-radius-default)":i(e,"mantine-radius")}function c(e){return i(e,"mantine-font-size")}function u(e){return i(e,"mantine-line-height",!1)}function l(e){if(e)return i(e,"mantine-shadow",!1)}},56341(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUserPoolSerializer=void 0,t.createUserPoolSerializer=e=>(t,o)=>{const i=r(e),a=JSON.stringify(t);return n(o,i,a)};const r=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProviderService.${e}`}),n=({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"})},56395(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateEndpointException=void 0,function(e){e.BadRequestException="BadRequestException",e.ForbiddenException="ForbiddenException",e.InternalServerErrorException="InternalServerErrorException",e.MethodNotAllowedException="MethodNotAllowedException",e.NotFoundException="NotFoundException",e.PayloadTooLargeException="PayloadTooLargeException",e.TooManyRequestsException="TooManyRequestsException"}(r||(t.UpdateEndpointException=r={}))},56497(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmSignIn=async function(e){const{challengeResponse:t,options:r}=e,{username:g,challengeName:y,signInSession:v,signInDetails:b}=i.signInStore.getState(),E=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(E);const w=r?.clientMetadata;if((0,u.assertValidationError)(!!t,l.AuthValidationErrorCode.EmptyChallengeResponse),!g||!y||!v)throw new a.AuthError({name:d.AuthErrorCodes.SignInException,message:"\n\t\t\tAn error occurred during the sign in process.\n\n\t\t\tThis most likely occurred due to:\n\t\t\t1. signIn was not called before confirmSignIn.\n\t\t\t2. signIn threw an exception.\n\t\t\t3. page was refreshed during the sign in flow and session has expired.\n\t\t\t",recoverySuggestion:"Make sure a successful call to signIn is made before calling confirmSignInand that the session has not expired."});try{const{Session:e,ChallengeName:n,AuthenticationResult:o,ChallengeParameters:a}=await(0,s.handleChallengeName)(g,y,v,t,E,f.tokenOrchestrator,w,r);return(0,i.setActiveSignInState)({signInSession:e,username:g,challengeName:n,signInDetails:b}),o?(await(0,p.cacheCognitoTokens)({username:g,...o,NewDeviceMetadata:await(0,m.getNewDeviceMetadata)({userPoolId:E.userPoolId,userPoolEndpoint:E.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:b}),(0,i.resetActiveSignInState)(),await(0,h.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,s.getSignInResult)({challengeName:n,challengeParameters:a})}catch(e){(0,c.assertServiceError)(e);const t=(0,s.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(33826),a=r(43518),s=r(78040),c=r(73031),u=r(58765),l=r(49129),d=r(70928),p=r(55794),f=r(4870),h=r(84539),m=r(66542)},56547(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceWorker=t.ConsoleLogger=t.I18n=t.Cache=t.sharedInMemoryStorage=t.syncSessionStorage=t.sessionStorage=t.defaultStorage=t.CookieStorage=t.cognitoIdentityPoolEndpointResolver=t.createGetIdClient=t.createGetCredentialsForIdentityClient=t.clearCredentials=t.AmplifyClassV6=t.fetchAuthSession=t.Amplify=t.decodeJWT=t.Hub=void 0;var n=r(4915);Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return n.Hub}});var o=r(98778);Object.defineProperty(t,"decodeJWT",{enumerable:!0,get:function(){return o.decodeJWT}});var i=r(67609);Object.defineProperty(t,"Amplify",{enumerable:!0,get:function(){return i.Amplify}}),Object.defineProperty(t,"fetchAuthSession",{enumerable:!0,get:function(){return i.fetchAuthSession}}),Object.defineProperty(t,"AmplifyClassV6",{enumerable:!0,get:function(){return i.AmplifyClass}}),Object.defineProperty(t,"clearCredentials",{enumerable:!0,get:function(){return i.clearCredentials}});var a=r(53478);Object.defineProperty(t,"createGetCredentialsForIdentityClient",{enumerable:!0,get:function(){return a.createGetCredentialsForIdentityClient}}),Object.defineProperty(t,"createGetIdClient",{enumerable:!0,get:function(){return a.createGetIdClient}}),Object.defineProperty(t,"cognitoIdentityPoolEndpointResolver",{enumerable:!0,get:function(){return a.cognitoIdentityPoolEndpointResolver}});var s=r(50929);Object.defineProperty(t,"CookieStorage",{enumerable:!0,get:function(){return s.CookieStorage}}),Object.defineProperty(t,"defaultStorage",{enumerable:!0,get:function(){return s.defaultStorage}}),Object.defineProperty(t,"sessionStorage",{enumerable:!0,get:function(){return s.sessionStorage}}),Object.defineProperty(t,"syncSessionStorage",{enumerable:!0,get:function(){return s.syncSessionStorage}}),Object.defineProperty(t,"sharedInMemoryStorage",{enumerable:!0,get:function(){return s.sharedInMemoryStorage}});var c=r(22918);Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return c.Cache}});var u=r(88236);Object.defineProperty(t,"I18n",{enumerable:!0,get:function(){return u.I18n}});var l=r(69580);Object.defineProperty(t,"ConsoleLogger",{enumerable:!0,get:function(){return l.ConsoleLogger}});var d=r(85737);Object.defineProperty(t,"ServiceWorker",{enumerable:!0,get:function(){return d.ServiceWorker}})},56606(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bufferWhen=void 0;var n=r(65212),o=r(5717),i=r(17214),a=r(19724);t.bufferWhen=function(e){return n.operate(function(t,r){var n=null,s=null,c=function(){null==s||s.unsubscribe();var t=n;n=[],t&&r.next(t),a.innerFrom(e()).subscribe(s=i.createOperatorSubscriber(r,c,o.noop))};c(),t.subscribe(i.createOperatorSubscriber(r,function(e){return null==n?void 0:n.push(e)},function(){n&&r.next(n),r.complete()},void 0,function(){return n=s=null}))})}},56644(e,t,r){"use strict";function n(e,t){return"boolean"==typeof e?e:t.autoContrast}r.d(t,{v:()=>n})},56697(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i},56792(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeToolConfiguration=t.serializeContent=t.serializeAiContext=void 0;const n=r(20793);t.serializeAiContext=e=>JSON.stringify(e),t.serializeContent=e=>e.map(e=>e.image?o(e):e.document?i(e):e.toolResult?a(e):e),t.serializeToolConfiguration=({tools:e})=>({tools:Object.entries(e).map(([e,t])=>({toolSpec:{name:e,description:t.description,inputSchema:{json:JSON.stringify(t.inputSchema.json)}}}))});const o=({image:e})=>({image:{...e,source:{...e.source,bytes:(0,n.toBase64)(e.source.bytes)}}}),i=({document:e})=>({document:{...e,source:{...e.source,bytes:(0,n.toBase64)(e.source.bytes)}}}),a=({toolResult:e})=>({toolResult:{...e,content:e.content.map(e=>e.image?o(e):e.json?(({json:e})=>({json:JSON.stringify(e)}))(e):e)}})},57186(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RECONNECT_INTERVAL=t.RECONNECT_DELAY=t.DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT=t.DEFAULT_KEEP_ALIVE_HEARTBEAT_TIMEOUT=t.DEFAULT_KEEP_ALIVE_TIMEOUT=t.START_ACK_TIMEOUT=t.CONNECTION_INIT_TIMEOUT=t.AWS_APPSYNC_REALTIME_HEADERS=t.SOCKET_STATUS=t.SUBSCRIPTION_STATUS=t.MESSAGE_TYPES=t.CONNECTION_STATE_CHANGE=t.NON_RETRYABLE_ERROR_TYPES=t.NON_RETRYABLE_CODES=t.MAX_DELAY_MS=t.AMPLIFY_SYMBOL=void 0;var n,o,i,a=r(22651);Object.defineProperty(t,"AMPLIFY_SYMBOL",{enumerable:!0,get:function(){return a.AMPLIFY_SYMBOL}}),t.MAX_DELAY_MS=5e3,t.NON_RETRYABLE_CODES=[400,401,403],t.NON_RETRYABLE_ERROR_TYPES=["BadRequestException","UnauthorizedException"],t.CONNECTION_STATE_CHANGE="ConnectionStateChange",function(e){e.GQL_CONNECTION_INIT="connection_init",e.GQL_CONNECTION_ERROR="connection_error",e.GQL_CONNECTION_ACK="connection_ack",e.GQL_START="start",e.GQL_START_ACK="start_ack",e.DATA="data",e.GQL_CONNECTION_KEEP_ALIVE="ka",e.GQL_STOP="stop",e.GQL_COMPLETE="complete",e.GQL_ERROR="error",e.EVENT_SUBSCRIBE="subscribe",e.EVENT_PUBLISH="publish",e.EVENT_SUBSCRIBE_ACK="subscribe_success",e.EVENT_PUBLISH_ACK="publish_success",e.EVENT_STOP="unsubscribe",e.EVENT_COMPLETE="unsubscribe_success",e.EVENT_SUBSCRIBE_ERROR="subscribe_error"}(n||(t.MESSAGE_TYPES=n={})),function(e){e[e.PENDING=0]="PENDING",e[e.CONNECTED=1]="CONNECTED",e[e.FAILED=2]="FAILED"}(o||(t.SUBSCRIPTION_STATUS=o={})),function(e){e[e.CLOSED=0]="CLOSED",e[e.READY=1]="READY",e[e.CONNECTING=2]="CONNECTING"}(i||(t.SOCKET_STATUS=i={})),t.AWS_APPSYNC_REALTIME_HEADERS={accept:"application/json, text/javascript","content-encoding":"amz-1.0","content-type":"application/json; charset=UTF-8"},t.CONNECTION_INIT_TIMEOUT=15e3,t.START_ACK_TIMEOUT=15e3,t.DEFAULT_KEEP_ALIVE_TIMEOUT=3e5,t.DEFAULT_KEEP_ALIVE_HEARTBEAT_TIMEOUT=5e3,t.DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT=65e3,t.RECONNECT_DELAY=5e3,t.RECONNECT_INTERVAL=6e4},57193(e,t,r){"use strict";r.d(t,{k:()=>s});var n=r(10790),o=(r(51609),r(46100)),i=r(2412),a=r(82056);const s=(0,i.P9)((e,t)=>{const r=(0,o.Y)("TextInput",null,e);return(0,n.jsx)(a.O,{component:"input",ref:t,...r,__staticSelector:"TextInput"})});s.classes=a.O.classes,s.displayName="@mantine/core/TextInput"},57293(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUpdateConversationFunction=void 0;const n=r(68523),o=r(19613),i=r(83102);t.createUpdateConversationFunction=(e,t,r,a,s,c)=>async({id:u,metadata:l,name:d})=>{const p=JSON.stringify(l),f=(0,n.getFactory)(e,t,a,"UPDATE",c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.UpdateConversation)),{data:h,errors:m}=await f({id:u,metadata:p,name:d});return{data:h?(0,o.convertItemToConversation)(e,t,h?.id,h?.createdAt,h?.updatedAt,r,s,c,h?.metadata,h?.name):h,errors:m}}},57309(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INTERNAL_USER_AGENT_OVERRIDE=t.addSchemaToClientWithInstance=t.addSchemaToClient=void 0,r(31635).__exportStar(r(50997),t);var n=r(90555);Object.defineProperty(t,"addSchemaToClient",{enumerable:!0,get:function(){return n.addSchemaToClient}});var o=r(97156);Object.defineProperty(t,"addSchemaToClientWithInstance",{enumerable:!0,get:function(){return o.addSchemaToClientWithInstance}});var i=r(83102);Object.defineProperty(t,"INTERNAL_USER_AGENT_OVERRIDE",{enumerable:!0,get:function(){return i.INTERNAL_USER_AGENT_OVERRIDE}})},57406(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var n=r(14120),o=r(85934),i=r(19724);t.partition=function(e,t,r){return[o.filter(t,r)(i.innerFrom(e)),o.filter(n.not(t,r))(i.innerFrom(e))]}},57440(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerPasskey=t.getPasskey=void 0;var n=r(97963);Object.defineProperty(t,"getPasskey",{enumerable:!0,get:function(){return n.getPasskey}}),Object.defineProperty(t,"registerPasskey",{enumerable:!0,get:function(){return n.registerPasskey}})},57468(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateRandomString=void 0;const n=r(58506);t.generateRandomString=e=>{const t=[],r=new Uint8Array(e);(0,n.getCrypto)().getRandomValues(r);for(const e of r)t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"[e%62]);return t.join("")}},57693(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","info-circle","InfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]])},57700(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetConversationFunction=void 0;const n=r(68523),o=r(19613),i=r(83102);t.createGetConversationFunction=(e,t,r,a,s,c)=>async({id:u})=>{const l=(0,n.getFactory)(e,t,a,"GET",c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.GetConversation)),{data:d,errors:p}=await l({id:u});return{data:d?(0,o.convertItemToConversation)(e,t,d.id,d.createdAt,d.updatedAt,r,s,c,d?.metadata,d?.name):d,errors:p}}},57706(e,t){"use strict";function r(e){if(!e?.amazon_pinpoint)return;const{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}Object.defineProperty(t,"__esModule",{value:!0}),t.isAmplifyOutputs=function(e){const{version:t}=e;return!!t&&t.startsWith("1")},t.parseAnalytics=r,t.parseAmplifyOutputs=function(e){const t={};if(e.storage&&(t.Storage=function(e){if(!e)return;const{bucket_name:t,aws_region:r,buckets:n}=e;return{S3:{bucket:t,region:r,buckets:n&&s(n)}}}(e.storage)),e.auth&&(t.Auth=function(e){if(!e)return;const{user_pool_id:t,user_pool_client_id:r,identity_pool_id:n,password_policy:o,mfa_configuration:i,mfa_methods:s,unauthenticated_identities_enabled:c,oauth:u,username_attributes:l,standard_required_attributes:d,groups:p}=e,f={Cognito:{userPoolId:t,userPoolClientId:r,groups:p}};var h;return n&&(f.Cognito={...f.Cognito,identityPoolId:n}),o&&(f.Cognito.passwordFormat={requireLowercase:o.require_lowercase,requireNumbers:o.require_numbers,requireUppercase:o.require_uppercase,requireSpecialCharacters:o.require_symbols,minLength:o.min_length??6}),i&&(f.Cognito.mfa={status:(h=i,"OPTIONAL"===h?"optional":"REQUIRED"===h?"on":"off"),smsEnabled:s?.includes("SMS"),totpEnabled:s?.includes("TOTP")}),c&&(f.Cognito.allowGuestAccess=c),u&&(f.Cognito.loginWith={oauth:{domain:u.domain,redirectSignIn:u.redirect_sign_in_uri,redirectSignOut:u.redirect_sign_out_uri,responseType:"token"===u.response_type?"token":"code",scopes:u.scopes,providers:a(u.identity_providers)}}),l&&(f.Cognito.loginWith={...f.Cognito.loginWith,email:l.includes("email"),phone:l.includes("phone_number"),username:l.includes("username")}),d&&(f.Cognito.userAttributes=d.reduce((e,t)=>({...e,[t]:{required:!0}}),{})),f}(e.auth)),e.analytics&&(t.Analytics=r(e.analytics)),e.geo&&(t.Geo=function(e){if(!e)return;const{aws_region:t,geofence_collections:r,maps:n,search_indices:o}=e;return{LocationService:{region:t,searchIndices:o,geofenceCollections:r,maps:n}}}(e.geo)),e.data&&(t.API=function(e){if(!e)return;const{aws_region:t,default_authorization_type:r,url:n,api_key:i,model_introspection:a}=e;return{GraphQL:{endpoint:n,defaultAuthMode:o(r),region:t,apiKey:i,modelIntrospection:a}}}(e.data)),e.custom){const r=function(e){if(!e?.events)return;const{url:t,aws_region:r,api_key:n,default_authorization_type:i}=e.events;return{Events:{endpoint:t,defaultAuthMode:o(i),region:r,apiKey:n}}}(e.custom);r&&"Events"in r&&(t.API={...t.API,...r})}return e.notifications&&(t.Notifications=function(e){if(!e)return;const{aws_region:t,channels:r,amazon_pinpoint_app_id:n}=e,o=r.includes("IN_APP_MESSAGING"),i=r.includes("APNS")||r.includes("FCM");if(!o&&!i)return;const a={};return o&&(a.InAppMessaging={Pinpoint:{appId:n,region:t}}),i&&(a.PushNotification={Pinpoint:{appId:n,region:t}}),a}(e.notifications)),t};const n={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"};function o(e){return n[e]}const i={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"};function a(e=[]){return e.reduce((e,t)=>(void 0!==i[t]&&e.push(i[t]),e),[])}function s(e){const t={};return e.forEach(({name:e,bucket_name:r,aws_region:n,paths:o})=>{if(e in t)throw new Error(`Duplicate friendly name found: ${e}. Name must be unique.`);const i=o?Object.entries(o).reduce((e,[t,r])=>(void 0!==r&&(e[t]=r),e),{}):void 0;t[e]={bucketName:r,region:n,paths:i}}),t}},58168(e,t,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},58253(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultIdentityIdStore=void 0;const n=r(56547),o=r(22651),i=r(47278),a=r(87660),s=new n.ConsoleLogger("DefaultIdentityIdStore");t.DefaultIdentityIdStore=class{setAuthConfig(e){(0,o.assertIdentityPoolIdConfig)(e.Cognito),this.authConfig=e,this._authKeys=c("Cognito",e.Cognito.identityPoolId)}constructor(e){this._authKeys={},this._hasGuestIdentityId=!1,this.keyValueStorage=e}async loadIdentityId(){(0,o.assertIdentityPoolIdConfig)(this.authConfig?.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{const e=await this.keyValueStorage.getItem(this._authKeys.identityId);return e?(this._hasGuestIdentityId=!0,{id:e,type:"guest"}):null}}catch(e){return s.log("Error getting stored IdentityId.",e),null}}async storeIdentityId(e){(0,o.assertIdentityPoolIdConfig)(this.authConfig?.Cognito),"guest"===e.type?(this.keyValueStorage.setItem(this._authKeys.identityId,e.id),this._primaryIdentityId=void 0,this._hasGuestIdentityId=!0):(this._primaryIdentityId=e.id,this._hasGuestIdentityId&&(this.keyValueStorage.removeItem(this._authKeys.identityId),this._hasGuestIdentityId=!1))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}};const c=(e,t)=>(0,i.getAuthStorageKeys)(a.IdentityIdStorageKeys)(`com.amplify.${e}`,t)},58261(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SERVICE_CLIENT_API_CONFIG=void 0;const n=r(7884),o=r(22651),i=r(62125);t.DEFAULT_SERVICE_CLIENT_API_CONFIG={service:i.COGNITO_IDP_SERVICE_NAME,retryDecider:(0,n.getRetryDecider)(n.parseJsonError),computeDelay:n.jitteredBackoff,get userAgentValue(){return(0,o.getAmplifyUserAgent)()},cache:"no-store"}},58327(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AWSAppSyncRealTimeProvider=void 0;const n=r(22651),o=r(57186),i=r(67201),a=r(29901),s="AWSAppSyncRealTimeProvider";class c extends i.AWSWebSocketProvider{constructor(){super({providerName:s,wsProtocolName:"graphql-ws",connectUri:"/connect"})}getProviderName(){return s}subscribe(e,t){return super.subscribe(e,t)}async _prepareSubscriptionPayload({options:e,subscriptionId:t,customUserAgentDetails:r,additionalCustomHeaders:i,libraryConfigHeaders:s}){const{appSyncGraphqlEndpoint:c,authenticationType:u,query:l,variables:d,apiKey:p,region:f}=e,h={query:l,variables:d},m=JSON.stringify(h),g={id:t,payload:{data:m,extensions:{authorization:{...{...await(0,a.awsRealTimeHeaderBasedAuth)({apiKey:p,appSyncGraphqlEndpoint:c,authenticationType:u,payload:m,canonicalUri:"",region:f,additionalCustomHeaders:i}),...s,...i,[n.USER_AGENT_HEADER]:(0,n.getAmplifyUserAgent)(r)}}}},type:o.MESSAGE_TYPES.GQL_START};return JSON.stringify(g)}_handleSubscriptionData(e){this.logger.debug(`subscription message from AWS AppSync RealTime: ${e.data}`);const{id:t="",payload:r,type:n}=JSON.parse(String(e.data)),{observer:i=null,query:a="",variables:s={}}=this.subscriptionObserverMap.get(t)||{};return this.logger.debug({id:t,observer:i,query:a,variables:s}),n===o.MESSAGE_TYPES.DATA&&r&&r.data?(i?i.next(r):this.logger.debug(`observer not found for id: ${t}`),[!0,{id:t,type:n,payload:r}]):[!1,{id:t,type:n,payload:r}]}_unsubscribeMessage(e){return{id:e,type:o.MESSAGE_TYPES.GQL_STOP}}_extractConnectionTimeout(e){const{payload:{connectionTimeoutMs:t=o.DEFAULT_KEEP_ALIVE_TIMEOUT}={}}=e;return t}_extractErrorCodeAndType(e){const{payload:{errors:[{errorType:t="",errorCode:r=0}={}]=[]}={}}=e;return{errorCode:r,errorType:t}}}t.AWSAppSyncRealTimeProvider=c},58372(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSignatureString=void 0;const n=r(136),o=r(22651),i=r(49913);t.getSignatureString=({userPoolName:e,username:t,challengeParameters:r,dateNow:s,hkdf:c})=>{const u=i.textEncoder.convert(e),l=i.textEncoder.convert(t),d=a(r.SECRET_BLOCK),p=i.textEncoder.convert(s),f=new Uint8Array(u.byteLength+l.byteLength+d.byteLength+p.byteLength);f.set(u,0),f.set(l,u.byteLength),f.set(d,u.byteLength+l.byteLength),f.set(p,u.byteLength+l.byteLength+d.byteLength);const h=new n.Sha256(c);h.update(f);const m=h.digestSync();return o.base64Encoder.convert(m)};const a=e=>{const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),r=o.base64Decoder.convert(t),n=new Uint8Array(r.length);for(let e=0;e<r.length;++e)n[e]=r.charCodeAt(e);return n}},58407(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteConversationFunction=void 0;const n=r(68523),o=r(19613),i=r(83102);t.createDeleteConversationFunction=(e,t,r,a,s,c)=>async({id:u})=>{const l=(0,n.getFactory)(e,t,a,"DELETE",c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.DeleteConversation)),{data:d,errors:p}=await l({id:u});return{data:d?(0,o.convertItemToConversation)(e,t,d?.id,d?.createdAt,d?.updatedAt,r,s,c,d?.metadata,d?.name):d,errors:p}}},58455(e,t,r){"use strict";function n(e){return"group"in e}r.d(t,{c:()=>n})},58506(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAtob=t.getBtoa=t.getCrypto=void 0;const n=r(1123);t.getCrypto=()=>{if("object"==typeof window&&"object"==typeof window.crypto)return window.crypto;if("object"==typeof crypto)return crypto;throw new n.AmplifyError({name:"MissingPolyfill",message:"Cannot resolve the `crypto` function from the environment."})},t.getBtoa=()=>{if("undefined"!=typeof window&&"function"==typeof window.btoa)return window.btoa;if("function"==typeof btoa)return btoa;throw new n.AmplifyError({name:"Base64EncoderError",message:"Cannot resolve the `btoa` function from the environment."})},t.getAtob=()=>{if("undefined"!=typeof window&&"function"==typeof window.atob)return window.atob;if("function"==typeof atob)return atob;throw new n.AmplifyError({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})}},58765(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidationError=function(e,t){const{message:r,recoverySuggestion:i}=n.validationErrorMap[t];if(!e)throw new o.AuthError({name:t,message:r,recoverySuggestion:i})};const n=r(70928),o=r(43518)},58799(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultIfEmpty=void 0;var n=r(65212),o=r(17214);t.defaultIfEmpty=function(e){return n.operate(function(t,r){var n=!1;t.subscribe(o.createOperatorSubscriber(r,function(e){n=!0,r.next(e)},function(){n||r.next(e),r.complete()}))})}},58821(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jitteredBackoff=function(e=n.MAX_DELAY_MS){return t=>{const r=2**t*100+100*Math.random();return!(r>e)&&r}};const n=r(77113)},58870(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(67492),t)},59119(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NO_ENDPOINT=t.NO_AUTH_TOKEN_HEADER=t.NO_SIGNED_IN_USER=t.NO_VALID_AUTH_TOKEN=t.NO_VALID_CREDENTIALS=t.NO_API_KEY=void 0;const n=r(82192);t.NO_API_KEY={name:"NoApiKey",message:n.GraphQLAuthError.NO_API_KEY,recoverySuggestion:'The API request was made with `authMode: "apiKey"` but no API Key was passed into `Amplify.configure()`. Review if your API key is passed into the `Amplify.configure()` function.'},t.NO_VALID_CREDENTIALS={name:"NoCredentials",message:n.GraphQLAuthError.NO_CREDENTIALS,recoverySuggestion:'The API request was made with `authMode: "iam"` but no authentication credentials are available.\n\nIf you intended to make a request using an authenticated role, review if your user is signed in before making the request.\n\nIf you intend to make a request using an unauthenticated role or also known as "guest access", verify if "Auth.Cognito.allowGuestAccess" is set to "true" in the `Amplify.configure()` function.'},t.NO_VALID_AUTH_TOKEN={name:"NoValidAuthTokens",message:n.GraphQLAuthError.NO_FEDERATED_JWT,recoverySuggestion:"If you intended to make an authenticated API request, review if the current user is signed in."},t.NO_SIGNED_IN_USER={name:"NoSignedUser",message:n.GraphQLAuthError.NO_CURRENT_USER,recoverySuggestion:"Review the underlying exception field for more details. If you intended to make an authenticated API request, review if the current user is signed in."},t.NO_AUTH_TOKEN_HEADER={name:"NoAuthorizationHeader",message:n.GraphQLAuthError.NO_AUTH_TOKEN,recoverySuggestion:'The API request was made with `authMode: "lambda"` but no `authToken` is set. Review if a valid authToken is passed into the request options or in the `Amplify.configure()` function.'},t.NO_ENDPOINT={name:"NoEndpoint",message:"No GraphQL endpoint configured in `Amplify.configure()`.",recoverySuggestion:"Review if the GraphQL API endpoint is set in the `Amplify.configure()` function."}},59328(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyError=void 0;var n=r(9619);t.EmptyError=n.createErrorClass(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})},59392(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADD_OAUTH_LISTENER=void 0,t.ADD_OAUTH_LISTENER=Symbol("oauth-listener")},59396(e,t,r){"use strict";function n(e){return e}r.d(t,{V:()=>n})},59436(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signOut=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;let r;(0,o.assertTokenProviderConfig)(t),e?.global?await async function(e){try{const{userPoolEndpoint:t,userPoolId:r}=e,n=await a.tokenOrchestrator.getTokenStore().loadTokens();(0,c.assertAuthTokens)(n);const u=(0,f.createGlobalSignOutClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await u({region:(0,s.getRegionFromUserPoolId)(r),userAgentValue:(0,i.getAuthUserAgentValue)(o.AuthAction.SignOut)},{AccessToken:n.accessToken.toString()})}catch(e){m.debug("Global signOut error caught but will proceed with token removal")}}(t):await async function(e){try{const{userPoolEndpoint:t,userPoolId:r,userPoolClientId:n}=e,u=await a.tokenOrchestrator.getTokenStore().loadTokens();if((0,c.assertAuthTokensWithRefreshToken)(u),g(u.accessToken)){const e=(0,f.createRevokeTokenClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await e({region:(0,s.getRegionFromUserPoolId)(r),userAgentValue:(0,i.getAuthUserAgentValue)(o.AuthAction.SignOut)},{ClientId:n,Token:u.refreshToken})}}catch(e){m.debug("Client signOut error caught but will proceed with token removal")}}(t);try{(0,o.assertOAuthConfig)(t),r=!0}catch(e){r=!1}if(r){const r=new l.DefaultOAuthStore(n.defaultStorage);r.setAuthConfig(t);const{type:o}=await(0,u.handleOAuthSignOut)(t,r,a.tokenOrchestrator,e?.oauth?.redirectUrl)??{};if("error"===o)throw new d.AuthError({name:p.OAUTH_SIGNOUT_EXCEPTION,message:"An error occurred when attempting to log out from OAuth provider."})}else a.tokenOrchestrator.clearTokens(),await(0,n.clearCredentials)(),n.Hub.dispatch("auth",{event:"signedOut"},"Auth",o.AMPLIFY_SYMBOL)};const n=r(56547),o=r(22651),i=r(17238),a=r(4870),s=r(62639),c=r(64166),u=r(7479),l=r(21636),d=r(43518),p=r(34143),f=r(35456),h=r(28228),m=new n.ConsoleLogger("Auth"),g=e=>!!e?.payload?.origin_jti},59444(e,t,r){"use strict";function n(e){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)?function(e){let t=e.replace("#","");if(3===t.length){const e=t.split("");t=[e[0],e[0],e[1],e[1],e[2],e[2]].join("")}if(8===t.length){const e=parseInt(t.slice(6,8),16)/255;return{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:e}}const r=parseInt(t,16);return{r:r>>16&255,g:r>>8&255,b:255&r,a:1}}(e):e.startsWith("rgb")?function(e){const[t,r,n,o]=e.replace(/[^0-9,./]/g,"").split(/[/,]/).map(Number);return{r:t,g:r,b:n,a:void 0===o?1:o}}(e):e.startsWith("hsl")?function(e){const t=e.match(/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i);if(!t)return{r:0,g:0,b:0,a:1};const r=parseInt(t[1],10),n=parseInt(t[2],10)/100,o=parseInt(t[3],10)/100,i=t[5]?parseFloat(t[5]):void 0,a=(1-Math.abs(2*o-1))*n,s=r/60,c=a*(1-Math.abs(s%2-1)),u=o-a/2;let l,d,p;return s>=0&&s<1?(l=a,d=c,p=0):s>=1&&s<2?(l=c,d=a,p=0):s>=2&&s<3?(l=0,d=a,p=c):s>=3&&s<4?(l=0,d=c,p=a):s>=4&&s<5?(l=c,d=0,p=a):(l=a,d=0,p=c),{r:Math.round(255*(l+u)),g:Math.round(255*(d+u)),b:Math.round(255*(p+u)),a:i||1}}(e):{r:0,g:0,b:0,a:1}}r.d(t,{K:()=>n})},59640(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customOpFactory=function(e,t,r,h,m,g,y){const v=void 0!==h.arguments;return(...b)=>{const E=b[b.length-1];let w,S;if(m){if(!(e=>"symbol"==typeof e?.token?.value)(b[0]))throw new Error(`Invalid first argument passed to ${h.name}. Expected contextSpec`);w=b[0]}return v&&(S=m?b[1]:b[0]),"subscription"===r?function(e,t,r,i,a,s,h){const{name:m}=r,g=(0,o.authModeParams)(e,i,s),y=(0,o.getCustomHeaders)(e,i,s?.headers),v=l(r),b=d(r),E=p(t,r),w=u(r.type,"model")?r.type.model:void 0,S=`\n ${"subscription".toLocaleLowerCase()}${v} {\n ${m}${b} ${E}\n }\n `,A=f(r,a),_=(0,c.createUserAgentOverride)(h);return e.graphql({...g,query:S,variables:A,..._},y).pipe((0,n.map)(r=>{const[n]=Object.keys(r.data),i=r.data[n],[a]=w?(0,o.initializeModel)(e,w,[i],t,g.authMode,g.authToken):[i];return a}))}(e,t,h,g,S,E,y):function(e,t,r,n,h,m,g,y,v){return(0,a.selfAwareAsync)(async a=>{const{name:b}=n,E=(0,o.authModeParams)(e,h,g),w=(0,o.getCustomHeaders)(e,h,g?.headers),S=l(n),A=d(n),_=p(t,n),P=u(n.type,"model")?n.type.model:void 0,C=`\n ${r.toLocaleLowerCase()}${S} {\n ${b}${A} ${_}\n }\n `,I=f(n,m),x=(0,c.createUserAgentOverride)(v);try{const r=y?e.graphql(y,{...E,query:C,variables:I},w):e.graphql({...E,query:C,variables:I,...x},w),n=(0,s.extendCancellability)(r,a),{data:i,extensions:c}=await n;if(i){const[r]=Object.keys(i),n=Array.isArray(i[r]),a=n?i[r].filter(e=>e):i[r],s=P?(0,o.initializeModel)(e,P,n?a:[a],t,E.authMode,E.authToken,!!y):a;return{data:!n&&Array.isArray(s)?s.shift():s,extensions:c}}return{data:null,extensions:c}}catch(r){const{data:n,errors:a}=r;if(n&&0!==Object.keys(n).length&&a){const[s]=Object.keys(n),c=Array.isArray(n[s]),u=c?n[s].filter(e=>e):n[s];if(u){const r=P?(0,o.initializeModel)(e,P,c?u:[u],t,E.authMode,E.authToken,!!y):u;return{data:!c&&Array.isArray(r)?r.shift():r,errors:a}}return(0,i.handleSingularGraphQlError)(r)}return(0,i.handleSingularGraphQlError)(r)}})}(e,t,r,h,g,S,E,w,y)}};const n=r(79364),o=r(44287),i=r(48310),a=r(17631),s=r(53841),c=r(83102);function u(e,t){return"string"==typeof e[t]}function l(e){if(void 0===e.arguments)return"";const t=Object.entries(e.arguments).map(([e,t])=>{const r=function({type:e,isRequired:t}){const r=t?"!":"";return function(e){return e instanceof Object&&"enum"in e}(e)?`${e.enum}${r}`:function(e){return e instanceof Object&&"input"in e}(e)?`${e.input}${r}`:`${e}${r}`}(t);return`$${e}: ${t.isArray?`[${r}]${t.isArrayNullable?"":"!"}`:r}`}).join(", ");return t.length>0?`(${t})`:""}function d(e){if(void 0===e.arguments)return"";const t=Object.keys(e.arguments).map(e=>`${e}: $${e}`).join(", ");return t.length>0?`(${t})`:""}function p(e,t){if(u(t,"type")||u(t.type,"enum"))return"";if(u(t.type,"nonModel")){const r=e.nonModels[t.type.nonModel];return`{${(0,o.selectionSetIRToString)((0,o.getDefaultSelectionSetForNonModelWithIR)(r,e))}}`}return u(t.type,"model")?`{${(0,o.generateSelectionSet)(e,t.type.model)}}`:""}function f(e,t={}){const r={};if(void 0===e.arguments)return r;for(const n of Object.values(e.arguments))if(void 0!==t[n.name])r[n.name]=t[n.name];else if(n.isRequired)throw new Error(`${e.name} requires arguments '${n.name}'`);return r}},59645(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validationErrorMap=t.RestApiValidationErrorCode=t.assertValidationError=t.RestApiError=t.isCancelError=t.CanceledError=void 0;var n=r(46834);Object.defineProperty(t,"CanceledError",{enumerable:!0,get:function(){return n.CanceledError}}),Object.defineProperty(t,"isCancelError",{enumerable:!0,get:function(){return n.isCancelError}});var o=r(85533);Object.defineProperty(t,"RestApiError",{enumerable:!0,get:function(){return o.RestApiError}});var i=r(72047);Object.defineProperty(t,"assertValidationError",{enumerable:!0,get:function(){return i.assertValidationError}});var a=r(53222);Object.defineProperty(t,"RestApiValidationErrorCode",{enumerable:!0,get:function(){return a.RestApiValidationErrorCode}}),Object.defineProperty(t,"validationErrorMap",{enumerable:!0,get:function(){return a.validationErrorMap}})},59663(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.svelteWebDetect=function(){return(0,n.windowExists)()&&(0,n.keyPrefixMatch)(window,"__SVELTE")},t.svelteSSRDetect=function(){return(0,n.processExists)()&&void 0!==process.env&&!!Object.keys(process.env).find(e=>e.includes("svelte"))};const n=r(62114)},59746(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56697);t.default=function(e){return"string"==typeof e&&n.default.test(e)}},60268(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31797),o=r(76011);t.default=function(e){const t=(r="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&r[3])<<4|r[4]>>4&15,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|15&r[6],r[7],(15&r[1])<<4|(240&r[2])>>4,(15&r[2])<<4|(240&r[3])>>4,16|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]));var r;return"string"==typeof e?(0,o.unsafeStringify)(t):t}},60448(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAWSExports=void 0;const n=r(69580),o=r(1123),i=new n.ConsoleLogger("parseAWSExports"),a={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"};t.parseAWSExports=(e={})=>{if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new o.AmplifyError({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from `amplifyconfiguration.json`."});const{aws_appsync_apiKey:t,aws_appsync_authenticationType:r,aws_appsync_graphqlEndpoint:n,aws_appsync_region:s,aws_bots_config:l,aws_cognito_identity_pool_id:d,aws_cognito_sign_up_verification_method:p,aws_cognito_mfa_configuration:f,aws_cognito_mfa_types:h,aws_cognito_password_protection_settings:m,aws_cognito_verification_mechanisms:g,aws_cognito_signup_attributes:y,aws_cognito_social_providers:v,aws_cognito_username_attributes:b,aws_mandatory_sign_in:E,aws_mobile_analytics_app_id:w,aws_mobile_analytics_app_region:S,aws_user_files_s3_bucket:A,aws_user_files_s3_bucket_region:_,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:P,aws_user_pools_id:C,aws_user_pools_web_client_id:I,geo:x,oauth:O,predictions:k,aws_cloud_logic_custom:T,Notifications:N,modelIntrospection:j}=e,R={};w&&(R.Analytics={Pinpoint:{appId:w,region:S}});const{InAppMessaging:M,Push:D}=N??{};if(M?.AWSPinpoint||D?.AWSPinpoint){if(M?.AWSPinpoint){const{appId:e,region:t}=M.AWSPinpoint;R.Notifications={InAppMessaging:{Pinpoint:{appId:e,region:t}}}}if(D?.AWSPinpoint){const{appId:e,region:t}=D.AWSPinpoint;R.Notifications={...R.Notifications,PushNotification:{Pinpoint:{appId:e,region:t}}}}}if(Array.isArray(l)&&(R.Interactions={LexV1:Object.fromEntries(l.map(e=>[e.name,e]))}),n){const e=a[r];e||i.debug(`Invalid authentication type ${r}. Falling back to IAM.`),R.API={GraphQL:{endpoint:n,apiKey:t,region:s,defaultAuthMode:e??"iam"}},j&&(R.API.GraphQL.modelIntrospection=j)}const U=f?{status:f&&f.toLowerCase(),totpEnabled:h?.includes("TOTP")??!1,smsEnabled:h?.includes("SMS")??!1}:void 0,F=m?{minLength:m.passwordPolicyMinLength,requireLowercase:m.passwordPolicyCharacters?.includes("REQUIRES_LOWERCASE")??!1,requireUppercase:m.passwordPolicyCharacters?.includes("REQUIRES_UPPERCASE")??!1,requireNumbers:m.passwordPolicyCharacters?.includes("REQUIRES_NUMBERS")??!1,requireSpecialCharacters:m.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS")??!1}:void 0,L=Array.from(new Set([...g??[],...y??[]])).reduce((e,t)=>({...e,[t.toLowerCase()]:{required:!0}}),{}),z=b?.includes("EMAIL")??!1,V=b?.includes("PHONE_NUMBER")??!1;(d||C)&&(R.Auth={Cognito:{identityPoolId:d,allowGuestAccess:"enable"!==E,signUpVerificationMethod:p,userAttributes:L,userPoolClientId:I,userPoolId:C,mfa:U,passwordFormat:F,loginWith:{username:!(z||V),email:z,phone:V}}});const H=!!O&&Object.keys(O).length>0,$=!!v&&v.length>0;if(R.Auth&&H&&(R.Auth.Cognito.loginWith={...R.Auth.Cognito.loginWith,oauth:{...c(O),...$&&{providers:u(v)}}}),A&&(R.Storage={S3:{bucket:A,region:_,dangerouslyConnectToHttpEndpointForTesting:P}}),x){const{amazon_location_service:e}=x;R.Geo={LocationService:{maps:e.maps,geofenceCollections:e.geofenceCollections,searchIndices:e.search_indices,region:e.region}}}if(T&&(R.API={...R.API,REST:T.reduce((e,t)=>{const{name:r,endpoint:n,region:o,service:i}=t;return{...e,[r]:{endpoint:n,...i?{service:i}:void 0,...o?{region:o}:void 0}}},{})}),k){const{VoiceId:e}=k?.convert?.speechGenerator?.defaults??{};R.Predictions=e?{...k,convert:{...k.convert,speechGenerator:{...k.convert.speechGenerator,defaults:{voiceId:e}}}}:k}return R};const s=e=>e?.split(",")??[],c=({domain:e,scope:t,redirectSignIn:r,redirectSignOut:n,responseType:o})=>({domain:e,scopes:t,redirectSignIn:s(r),redirectSignOut:s(n),responseType:o}),u=e=>e.map(e=>{const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)})},60598(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0;var n=r(65212),o=r(17214);t.takeWhile=function(e,t){return void 0===t&&(t=!1),n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){var o=e(r,i++);(o||t)&&n.next(r),!o&&n.complete()}))})}},60732(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticationHelper=void 0;const n=r(31635).__importDefault(r(23462));t.AuthenticationHelper=n.default},61094(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(91970),t)},61129(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isApiGraphQLConfig=function(e){return void 0!==e}},61176(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashedDataAsHex=t.getHashedData=void 0;const n=r(136),o=r(80056);t.getHashedData=(e,t)=>{const r=new n.Sha256(e??void 0);return r.update(t),r.digestSync()},t.getHashedDataAsHex=(e,r)=>{const n=(0,t.getHashedData)(e,r);return(0,o.toHex)(n)}},61279(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementAt=void 0;var n=r(7024),o=r(85934),i=r(30632),a=r(58799),s=r(54383);t.elementAt=function(e,t){if(e<0)throw new n.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(c){return c.pipe(o.filter(function(t,r){return r===e}),s.take(1),r?a.defaultIfEmpty(t):i.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},61285(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateU=void 0;const n=r(74008),o=r(1882),i=r(19308);t.calculateU=({A:e,B:t})=>{const r=new n.BigInteger((0,o.getHashFromHex)((0,i.getPaddedHex)(e)+(0,i.getPaddedHex)(t)),16);if(r.equals(n.BigInteger.ZERO))throw new Error("U cannot be zero.");return r}},61558(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AmplifyErrorCode=void 0,function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"}(r||(t.AmplifyErrorCode=r={}))},61587(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.of=void 0;var n=r(26404),o=r(47058);t.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n.popScheduler(e);return o.from(e,r)}},61617(e,t,r){"use strict";r.d(t,{Z:()=>o});var n=r(51609);function o({value:e,defaultValue:t,finalValue:r,onChange:o=()=>{}}){const[i,a]=(0,n.useState)(void 0!==t?t:r);return void 0!==e?[e,o,!0]:[i,(e,...t)=>{a(e),o?.(e,...t)},!1]}},61712(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forgetDevice=async function(e){const{device:{id:t}={id:void 0}}=e??{},r=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(r);const{userPoolEndpoint:d,userPoolId:p}=r,{tokens:f}=await(0,n.fetchAuthSession)();(0,i.assertAuthTokens)(f);const h=await s.tokenOrchestrator.getDeviceMetadata(),m=h?.deviceKey;t||(0,i.assertDeviceMetadata)(h);const g=(0,u.createForgetDeviceClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:d})});await g({region:(0,a.getRegionFromUserPoolId)(p),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.ForgetDevice)},{AccessToken:f.accessToken.toString(),DeviceKey:t??m}),t&&t!==m||await s.tokenOrchestrator.clearDeviceMetadata()};const n=r(56547),o=r(22651),i=r(64166),a=r(62639),s=r(4870),c=r(17238),u=r(35456),l=r(28228)},61778(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferToggle=void 0;var o=r(69879),i=r(65212),a=r(19724),s=r(17214),c=r(5717),u=r(54830);t.bufferToggle=function(e,t){return i.operate(function(r,i){var l=[];a.innerFrom(e).subscribe(s.createOperatorSubscriber(i,function(e){var r=[];l.push(r);var n=new o.Subscription;n.add(a.innerFrom(t(e)).subscribe(s.createOperatorSubscriber(i,function(){u.arrRemove(l,r),i.next(r),n.unsubscribe()},c.noop)))},c.noop)),r.subscribe(s.createOperatorSubscriber(i,function(e){var t,r;try{for(var o=n(l),i=o.next();!i.done;i=o.next())i.value.push(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},function(){for(;l.length>0;)i.next(l.shift());i.complete()}))})}},61964(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(11140),t)},62114(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keyPrefixMatch=t.processExists=t.documentExists=t.windowExists=t.globalThisExists=t.globalExists=void 0,t.globalExists=()=>"undefined"!=typeof globalThis,t.globalThisExists=()=>"undefined"!=typeof globalThis,t.windowExists=()=>"undefined"!=typeof window,t.documentExists=()=>"undefined"!=typeof document,t.processExists=()=>"undefined"!=typeof process,t.keyPrefixMatch=(e,t)=>!!Object.keys(e).find(e=>e.startsWith(t))},62125(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COGNITO_IDP_SERVICE_NAME=void 0,t.COGNITO_IDP_SERVICE_NAME="cognito-idp"},62196(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},62275(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interval=void 0;var n=r(62326),o=r(5825);t.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=n.asyncScheduler),e<0&&(e=0),o.timer(e,e,t)}},62326(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var n=r(64772),o=r(19533);t.asyncScheduler=new o.AsyncScheduler(n.AsyncAction),t.async=t.asyncScheduler},62421(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.haveCredentialsChanged=void 0,t.haveCredentialsChanged=(e,t)=>e.accessKeyId!==t.accessKeyId||e.sessionToken!==t.sessionToken||e.secretAccessKey!==t.secretAccessKey},62560(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObservable=void 0;var n=r(48051),o=r(10281);t.isObservable=function(e){return!!e&&(e instanceof n.Observable||o.isFunction(e.lift)&&o.isFunction(e.subscribe))}},62639(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRegionFromIdentityPoolId=t.getRegionFromUserPoolId=void 0;var n=r(81547);Object.defineProperty(t,"getRegionFromUserPoolId",{enumerable:!0,get:function(){return n.getRegionFromUserPoolId}}),Object.defineProperty(t,"getRegionFromIdentityPoolId",{enumerable:!0,get:function(){return n.getRegionFromIdentityPoolId}})},62893(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowCount=void 0;var o=r(76808),i=r(65212),a=r(17214);t.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return i.operate(function(t,i){var s=[new o.Subject],c=0;i.next(s[0].asObservable()),t.subscribe(a.createOperatorSubscriber(i,function(t){var a,u;try{for(var l=n(s),d=l.next();!d.done;d=l.next())d.value.next(t)}catch(e){a={error:e}}finally{try{d&&!d.done&&(u=l.return)&&u.call(l)}finally{if(a)throw a.error}}var p=c-e+1;if(p>=0&&p%r===0&&s.shift().complete(),++c%r===0){var f=new o.Subject;s.push(f),i.next(f.asObservable())}},function(){for(;s.length>0;)s.shift().complete();i.complete()},function(e){for(;s.length>0;)s.shift().error(e);i.error(e)},function(){s=null}))})}},63089(e,t,r){"use strict";r.d(t,{F:()=>q});var n=r(10790),o=r(51609),i=r(83505),a=r(88149),s=r(59396),c=r(46100),u=r(52837),l=r(11507),d=r(2412),p=r(46798);const[f,h]=(0,p.F)("ScrollArea.Root component was not found in tree");function m(e){const t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e}),(0,o.useMemo)(()=>(...e)=>t.current?.(...e),[])}var g=r(45585);function y(e,t){const r=m(t);(0,g.o)(()=>{let t=0;if(e){const n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}const v=(0,o.forwardRef)((e,t)=>{const{style:r,...i}=e,a=h(),[s,c]=(0,o.useState)(0),[u,l]=(0,o.useState)(0),d=Boolean(s&&u);return y(a.scrollbarX,()=>{const e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),l(e)}),y(a.scrollbarY,()=>{const e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),c(e)}),d?(0,n.jsx)("div",{...i,ref:t,style:{...r,width:s,height:u}}):null}),b=(0,o.forwardRef)((e,t)=>{const r=h(),o=Boolean(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&o?(0,n.jsx)(v,{...e,ref:t}):null});var E=r(37055);const w={scrollHideDelay:1e3,type:"hover"},S=(0,o.forwardRef)((e,t)=>{const{type:r,scrollHideDelay:i,scrollbars:a,getStyles:s,...u}=(0,c.Y)("ScrollAreaRoot",w,e),[d,p]=(0,o.useState)(null),[h,m]=(0,o.useState)(null),[g,y]=(0,o.useState)(null),[v,b]=(0,o.useState)(null),[S,A]=(0,o.useState)(null),[_,P]=(0,o.useState)(0),[C,I]=(0,o.useState)(0),[x,O]=(0,o.useState)(!1),[k,T]=(0,o.useState)(!1),N=(0,E.pc)(t,e=>p(e));return(0,n.jsx)(f,{value:{type:r,scrollHideDelay:i,scrollArea:d,viewport:h,onViewportChange:m,content:g,onContentChange:y,scrollbarX:v,onScrollbarXChange:b,scrollbarXEnabled:x,onScrollbarXEnabledChange:O,scrollbarY:S,onScrollbarYChange:A,scrollbarYEnabled:k,onScrollbarYEnabledChange:T,onCornerWidthChange:P,onCornerHeightChange:I,getStyles:s},children:(0,n.jsx)(l.a,{...u,ref:N,__vars:{"--sa-corner-width":"xy"!==a?"0px":`${_}px`,"--sa-corner-height":"xy"!==a?"0px":`${C}px`}})})});function A(e,t){const{delay:r,flushOnUnmount:n,leading:i}="number"==typeof t?{delay:t,flushOnUnmount:!1,leading:!1}:t,a=m(e),s=(0,o.useRef)(0),c=(0,o.useMemo)(()=>{const e=Object.assign((...t)=>{window.clearTimeout(s.current);const n=e._isFirstCall;function o(){window.clearTimeout(s.current),s.current=0,e._isFirstCall=!0}if(e._isFirstCall=!1,i&&n){a(...t);const n=()=>{o()},i=()=>{0!==s.current&&(o(),a(...t))},c=()=>{o()};return e.flush=i,e.cancel=c,void(s.current=window.setTimeout(n,r))}if(i&&!n){const n=()=>{0!==s.current&&(o(),a(...t))},i=()=>{o()};e.flush=n,e.cancel=i;const c=()=>{o()};return void(s.current=window.setTimeout(c,r))}const c=()=>{0!==s.current&&(o(),a(...t))};e.flush=c,e.cancel=()=>{o()},s.current=window.setTimeout(c,r)},{flush:()=>{},cancel:()=>{},_isFirstCall:!0});return e},[a,r,i]);return(0,o.useEffect)(()=>()=>{n?c.flush():c.cancel()},[c,n]),c}S.displayName="@mantine/core/ScrollAreaRoot";var _=r(82820);function P(e,t){const r=e/t;return Number.isNaN(r)?0:r}function C(e){const t=P(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function I(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function x(e,t,r="ltr"){const n=C(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-o,a=t.content-t.viewport,s=i-n,c=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,"ltr"===r?[0,a]:[-1*a,0]);return I([0,a],[0,s])(c)}function O(e,t){return e>0&&e<t}function k(e){return e?parseInt(e,10):0}function T(e,t,{checkForDefaultPrevented:r=!0}={}){return n=>{e?.(n),!1!==r&&n.defaultPrevented||t?.(n)}}const[N,j]=(0,p.F)("ScrollAreaScrollbar was not found in tree"),R=(0,o.forwardRef)((e,t)=>{const{sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:s,onThumbPointerDown:c,onThumbPositionChange:u,onDragScroll:l,onWheelScroll:d,onResize:p,...f}=e,g=h(),[v,b]=(0,o.useState)(null),w=(0,E.pc)(t,e=>b(e)),S=(0,o.useRef)(null),_=(0,o.useRef)(""),{viewport:P}=g,C=r.content-r.viewport,I=m(d),x=m(u),O=A(p,10),k=e=>{if(S.current){const t=e.clientX-S.current.left,r=e.clientY-S.current.top;l({x:t,y:r})}};return(0,o.useEffect)(()=>{const e=e=>{const t=e.target,r=v?.contains(t);r&&I(e,C)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[P,v,C,I]),(0,o.useEffect)(x,[r,x]),y(v,O),y(g.content,O),(0,n.jsx)(N,{value:{scrollbar:v,hasThumb:i,onThumbChange:m(a),onThumbPointerUp:m(s),onThumbPositionChange:x,onThumbPointerDown:m(c)},children:(0,n.jsx)("div",{...f,ref:w,"data-mantine-scrollbar":!0,style:{position:"absolute",...f.style},onPointerDown:T(e.onPointerDown,e=>{e.preventDefault(),0===e.button&&(e.target.setPointerCapture(e.pointerId),S.current=v.getBoundingClientRect(),_.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",k(e))}),onPointerMove:T(e.onPointerMove,k),onPointerUp:T(e.onPointerUp,e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&(e.preventDefault(),t.releasePointerCapture(e.pointerId))}),onLostPointerCapture:()=>{document.body.style.webkitUserSelect=_.current,S.current=null}})})}),M=(0,o.forwardRef)((e,t)=>{const{sizes:r,onSizesChange:i,style:a,...s}=e,c=h(),[u,l]=(0,o.useState)(),d=(0,o.useRef)(null),p=(0,E.pc)(t,d,c.onScrollbarXChange);return(0,o.useEffect)(()=>{d.current&&l(getComputedStyle(d.current))},[d]),(0,n.jsx)(R,{"data-orientation":"horizontal",...s,ref:p,sizes:r,style:{...a,"--sa-thumb-width":`${C(r)}px`},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(c.viewport){const n=c.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),O(n,r)&&t.preventDefault()}},onResize:()=>{d.current&&c.viewport&&u&&i({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:k(u.paddingLeft),paddingEnd:k(u.paddingRight)}})}})});M.displayName="@mantine/core/ScrollAreaScrollbarX";const D=(0,o.forwardRef)((e,t)=>{const{sizes:r,onSizesChange:i,style:a,...s}=e,c=h(),[u,l]=(0,o.useState)(),d=(0,o.useRef)(null),p=(0,E.pc)(t,d,c.onScrollbarYChange);return(0,o.useEffect)(()=>{d.current&&l(window.getComputedStyle(d.current))},[]),(0,n.jsx)(R,{...s,"data-orientation":"vertical",ref:p,sizes:r,style:{"--sa-thumb-height":`${C(r)}px`,...a},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(c.viewport){const n=c.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),O(n,r)&&t.preventDefault()}},onResize:()=>{d.current&&c.viewport&&u&&i({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:k(u.paddingTop),paddingEnd:k(u.paddingBottom)}})}})});D.displayName="@mantine/core/ScrollAreaScrollbarY";const U=(0,o.forwardRef)((e,t)=>{const{orientation:r="vertical",...i}=e,{dir:a}=(0,_.jH)(),s=h(),c=(0,o.useRef)(null),u=(0,o.useRef)(0),[l,d]=(0,o.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),p=P(l.viewport,l.content),f={...i,sizes:l,onSizesChange:d,hasThumb:Boolean(p>0&&p<1),onThumbChange:e=>{c.current=e},onThumbPointerUp:()=>{u.current=0},onThumbPointerDown:e=>{u.current=e}},m=(e,t)=>function(e,t,r,n="ltr"){const o=C(r),i=t||o/2,a=o-i,s=r.scrollbar.paddingStart+i,c=r.scrollbar.size-r.scrollbar.paddingEnd-a,u=r.content-r.viewport;return I([s,c],"ltr"===n?[0,u]:[-1*u,0])(e)}(e,u.current,l,t);return"horizontal"===r?(0,n.jsx)(M,{...f,ref:t,onThumbPositionChange:()=>{if(s.viewport&&c.current){const e=x(s.viewport.scrollLeft,l,a);c.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollLeft=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollLeft=m(e,a))}}):"vertical"===r?(0,n.jsx)(D,{...f,ref:t,onThumbPositionChange:()=>{if(s.viewport&&c.current){const e=x(s.viewport.scrollTop,l);0===l.scrollbar.size?c.current.style.setProperty("--thumb-opacity","0"):c.current.style.setProperty("--thumb-opacity","1"),c.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollTop=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollTop=m(e))}}):null});U.displayName="@mantine/core/ScrollAreaScrollbarVisible";const F=(0,o.forwardRef)((e,t)=>{const r=h(),{forceMount:i,...a}=e,[s,c]=(0,o.useState)(!1),u="horizontal"===e.orientation,l=A(()=>{if(r.viewport){const e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;c(u?e:t)}},10);return y(r.viewport,l),y(r.content,l),i||s?(0,n.jsx)(U,{"data-state":s?"visible":"hidden",...a,ref:t}):null});F.displayName="@mantine/core/ScrollAreaScrollbarAuto";const L=(0,o.forwardRef)((e,t)=>{const{forceMount:r,...i}=e,a=h(),[s,c]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{const{scrollArea:e}=a;let t=0;if(e){const r=()=>{window.clearTimeout(t),c(!0)},n=()=>{t=window.setTimeout(()=>c(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[a.scrollArea,a.scrollHideDelay]),r||s?(0,n.jsx)(F,{"data-state":s?"visible":"hidden",...i,ref:t}):null});L.displayName="@mantine/core/ScrollAreaScrollbarHover";const z=(0,o.forwardRef)((e,t)=>{const{forceMount:r,...i}=e,a=h(),s="horizontal"===e.orientation,[c,u]=(0,o.useState)("hidden"),l=A(()=>u("idle"),100);return(0,o.useEffect)(()=>{if("idle"===c){const e=window.setTimeout(()=>u("hidden"),a.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,a.scrollHideDelay]),(0,o.useEffect)(()=>{const{viewport:e}=a,t=s?"scrollLeft":"scrollTop";if(e){let r=e[t];const n=()=>{const n=e[t];r!==n&&(u("scrolling"),l()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[a.viewport,s,l]),r||"hidden"!==c?(0,n.jsx)(U,{"data-state":"hidden"===c?"hidden":"visible",...i,ref:t,onPointerEnter:T(e.onPointerEnter,()=>u("interacting")),onPointerLeave:T(e.onPointerLeave,()=>u("idle"))}):null}),V=(0,o.forwardRef)((e,t)=>{const{forceMount:r,...i}=e,a=h(),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:c}=a,u="horizontal"===e.orientation;return(0,o.useEffect)(()=>(u?s(!0):c(!0),()=>{u?s(!1):c(!1)}),[u,s,c]),"hover"===a.type?(0,n.jsx)(L,{...i,ref:t,forceMount:r}):"scroll"===a.type?(0,n.jsx)(z,{...i,ref:t,forceMount:r}):"auto"===a.type?(0,n.jsx)(F,{...i,ref:t,forceMount:r}):"always"===a.type?(0,n.jsx)(U,{...i,ref:t}):null});V.displayName="@mantine/core/ScrollAreaScrollbar";const H=(0,o.forwardRef)((e,t)=>{const{style:r,...i}=e,a=h(),s=j(),{onThumbPositionChange:c}=s,u=(0,E.pc)(t,e=>s.onThumbChange(e)),l=(0,o.useRef)(void 0),d=A(()=>{l.current&&(l.current(),l.current=void 0)},100);return(0,o.useEffect)(()=>{const{viewport:e}=a;if(e){const t=()=>{if(d(),!l.current){const t=function(e,t=()=>{}){let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function o(){const i={left:e.scrollLeft,top:e.scrollTop},a=r.left!==i.left,s=r.top!==i.top;(a||s)&&t(),r=i,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)}(e,c);l.current=t,c()}};return c(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[a.viewport,d,c]),(0,n.jsx)("div",{"data-state":s.hasThumb?"visible":"hidden",...i,ref:u,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...r},onPointerDownCapture:T(e.onPointerDownCapture,e=>{const t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;s.onThumbPointerDown({x:r,y:n})}),onPointerUp:T(e.onPointerUp,s.onThumbPointerUp)})});H.displayName="@mantine/core/ScrollAreaThumb";const $=(0,o.forwardRef)((e,t)=>{const{forceMount:r,...o}=e,i=j();return r||i.hasThumb?(0,n.jsx)(H,{ref:t,...o}):null});$.displayName="@mantine/core/ScrollAreaThumb";const W=(0,o.forwardRef)(({children:e,style:t,...r},o)=>{const i=h(),a=(0,E.pc)(o,i.onViewportChange);return(0,n.jsx)(l.a,{...r,ref:a,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...t},children:(0,n.jsx)("div",{...i.getStyles("content"),ref:i.onContentChange,children:e})})});W.displayName="@mantine/core/ScrollAreaViewport";var B={root:"m_d57069b5",content:"m_b1336c6",viewport:"m_c0783ff9",viewportInner:"m_f8f631dd",scrollbar:"m_c44ba933",thumb:"m_d8b5e363",corner:"m_21657268"};const K={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},G=(0,s.V)((e,{scrollbarSize:t,overscrollBehavior:r})=>({root:{"--scrollarea-scrollbar-size":(0,a.D)(t),"--scrollarea-over-scroll-behavior":r}})),q=(0,d.P9)((e,t)=>{const r=(0,c.Y)("ScrollArea",K,e),{classNames:a,className:s,style:l,styles:d,unstyled:p,scrollbarSize:f,vars:h,type:m,scrollHideDelay:g,viewportProps:y,viewportRef:v,onScrollPositionChange:E,children:w,offsetScrollbars:A,scrollbars:_,onBottomReached:P,onTopReached:C,overscrollBehavior:I,attributes:x,...O}=r,[k,T]=(0,o.useState)(!1),[N,j]=(0,o.useState)(!1),[R,M]=(0,o.useState)(!1),D=(0,u.I)({name:"ScrollArea",props:r,classes:B,className:s,style:l,classNames:a,styles:d,unstyled:p,attributes:x,vars:h,varsResolver:G}),U=(0,o.useRef)(null),F=(0,i.SV)([v,U]);return(0,o.useEffect)(()=>{if(!U.current)return;if("present"!==A)return;const e=U.current,t=new ResizeObserver(()=>{const{scrollHeight:t,clientHeight:r,scrollWidth:n,clientWidth:o}=e;j(t>r),M(n>o)});return t.observe(e),()=>t.disconnect()},[U,A]),(0,n.jsxs)(S,{getStyles:D,type:"never"===m?"always":m,scrollHideDelay:g,ref:t,scrollbars:_,...D("root"),...O,children:[(0,n.jsx)(W,{...y,...D("viewport",{style:y?.style}),ref:F,"data-offset-scrollbars":!0===A?"xy":A||void 0,"data-scrollbars":_||void 0,"data-horizontal-hidden":"present"!==A||R?void 0:"true","data-vertical-hidden":"present"!==A||N?void 0:"true",onScroll:e=>{y?.onScroll?.(e),E?.({x:e.currentTarget.scrollLeft,y:e.currentTarget.scrollTop});const{scrollTop:t,scrollHeight:r,clientHeight:n}=e.currentTarget;t-(r-n)>=-.6&&P?.(),0===t&&C?.()},children:w}),("xy"===_||"x"===_)&&(0,n.jsx)(V,{...D("scrollbar"),orientation:"horizontal","data-hidden":"never"===m||"present"===A&&!R||void 0,forceMount:!0,onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:(0,n.jsx)($,{...D("thumb")})}),("xy"===_||"y"===_)&&(0,n.jsx)(V,{...D("scrollbar"),orientation:"vertical","data-hidden":"never"===m||"present"===A&&!N||void 0,forceMount:!0,onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:(0,n.jsx)($,{...D("thumb")})}),(0,n.jsx)(b,{...D("corner"),"data-hovered":k||void 0,"data-hidden":"never"===m||void 0})]})});q.displayName="@mantine/core/ScrollArea";const Y=(0,d.P9)((e,t)=>{const{children:r,classNames:a,styles:s,scrollbarSize:u,scrollHideDelay:d,type:p,dir:f,offsetScrollbars:h,viewportRef:m,onScrollPositionChange:g,unstyled:y,variant:v,viewportProps:b,scrollbars:E,style:w,vars:S,onBottomReached:A,onTopReached:_,onOverflowChange:P,...C}=(0,c.Y)("ScrollAreaAutosize",K,e),I=(0,o.useRef)(null),x=(0,i.SV)([m,I]),[O,k]=(0,o.useState)(!1),T=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{if(!P)return;const e=I.current;if(!e)return;const t=()=>{const t=e.scrollHeight>e.clientHeight;t!==O&&(T.current?P?.(t):(T.current=!0,t&&P?.(!0)),k(t))};t();const r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[P,O]),(0,n.jsx)(l.a,{...C,ref:t,style:[{display:"flex",overflow:"hidden"},w],children:(0,n.jsx)(l.a,{style:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",..."y"===E&&{minWidth:0},..."x"===E&&{minHeight:0},..."xy"===E&&{minWidth:0,minHeight:0},...!1===E&&{minWidth:0,minHeight:0}},children:(0,n.jsx)(q,{classNames:a,styles:s,scrollHideDelay:d,scrollbarSize:u,type:p,dir:f,offsetScrollbars:h,viewportRef:x,onScrollPositionChange:g,unstyled:y,variant:v,viewportProps:b,vars:S,scrollbars:E,onBottomReached:A,onTopReached:_,"data-autosize":"true",children:r})})})});q.classes=B,Y.displayName="@mantine/core/ScrollAreaAutosize",Y.classes=B,q.Autosize=Y},63169(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternalGraphQLAPI=t.InternalGraphQLAPIClass=void 0;const n=r(11729),o=r(79364),i=r(22651),a=r(24521),s=r(64684),c=r(58327),u=r(93812),l=r(90077),d=r(59119),p=r(30014),f=r(47197),h=r(95356),m="x-amz-user-agent";class g{constructor(){this.appSyncRealTime=new Map,this._api={post:s.post,cancelREST:s.cancel,isCancelErrorREST:a.isCancelError,updateRequestToBeCancellable:s.updateRequestToBeCancellable}}getModuleName(){return"InternalGraphQLAPI"}getGraphqlOperationType(e){const t=(0,n.parse)(e).definitions,[{operation:r}]=t;return r}graphql(e,{query:t,variables:r={},authMode:o,authToken:i,endpoint:a,apiKey:s},c,u){const l="string"==typeof t?(0,n.parse)(t):(0,n.parse)((0,n.print)(t)),[d={}]=l.definitions.filter(e=>"OperationDefinition"===e.kind),{operation:p}=d,f=c||{};switch(p){case"query":case"mutation":{const t=new AbortController;let n;return n=(e=>"function"!=typeof e)(e)?this._graphql(e,{query:l,variables:r,authMode:o,apiKey:s,endpoint:a},f,t,u,i):e(async e=>await this._graphql(e,{query:l,variables:r,authMode:o,apiKey:s,endpoint:a},f,t,u,i)),this._api.updateRequestToBeCancellable(n,t),n}case"subscription":return this._graphqlSubscribe(e,{query:l,variables:r,authMode:o,apiKey:s,endpoint:a},f,u,i);default:throw new Error(`invalid operation type: ${p}`)}}async _graphql(e,{query:t,variables:r,authMode:o,endpoint:a,apiKey:s},c={},g,y,v){const{apiKey:b,region:E,endpoint:w,customEndpoint:S,customEndpointRegion:A,defaultAuthMode:_}=(0,u.resolveConfig)(e),P=o||_||"iam",C="identityPool"===P?"iam":P,{headers:I,withCredentials:x}=(0,u.resolveLibraryOptions)(e);let O;if("function"==typeof c){const e={method:"POST",url:new i.AmplifyUrl(a||S||w||"").toString(),queryString:(0,n.print)(t)};O=await c(e)}else O=c;v&&(O={...O,Authorization:v});const k=await(0,h.headerBasedAuth)(e,C,s??b,O),T={...!S&&k,...S&&(A?k:{})||{},...I&&await I({query:(0,n.print)(t),variables:r}),...O,...!S&&{[m]:(0,i.getAmplifyUserAgent)(y)}},N={query:(0,n.print)(t),variables:r||null};let j;j=S&&!A||"oidc"!==C&&"userPool"!==C&&"iam"!==C&&"lambda"!==C?void 0:{service:A?"execute-api":"appsync",region:A||E};const R=a||S||w;if(!R)throw(0,p.createGraphQLResultWithError)(new p.GraphQLApiError(d.NO_ENDPOINT));let M;try{const{body:t}=await this._api.post(e,{url:new i.AmplifyUrl(R),options:{headers:T,body:N,signingServiceInfo:j,withCredentials:x},abortController:g});M=await t.json()}catch(e){if(this.isCancelError(e))throw e;M=(0,p.createGraphQLResultWithError)(e)}if((0,f.isGraphQLResponseWithErrors)(M))throw(0,l.repackageUnauthorizedError)(M);return M}isCancelError(e){return this._api.isCancelErrorREST(e)}cancel(e,t){return this._api.cancelREST(e,t)}_graphqlSubscribe(e,{query:t,variables:r,authMode:i,apiKey:a,endpoint:s},d={},p,f){const h=(0,u.resolveConfig)(e),m=i||h?.defaultAuthMode||"iam",g="identityPool"===m?"iam":m,{headers:y}=(0,u.resolveLibraryOptions)(e),v=s??h?.endpoint,b=v??"none",E=this.appSyncRealTime.get(b)??new c.AWSAppSyncRealTimeProvider;return this.appSyncRealTime.set(b,E),E.subscribe({query:(0,n.print)(t),variables:r,appSyncGraphqlEndpoint:v,region:h?.region,authenticationType:g,apiKey:a??h?.apiKey,additionalHeaders:d,authToken:f,libraryConfigHeaders:y},p).pipe((0,o.catchError)(e=>{if(e.errors)throw(0,l.repackageUnauthorizedError)(e);throw e}))}}t.InternalGraphQLAPIClass=g,t.InternalGraphQLAPI=new g},63231(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithUserPassword=async function(e){const{username:t,password:r,options:g}=e,y=n.Amplify.getConfig().Auth?.Cognito,v={loginId:t,authFlowType:"USER_PASSWORD_AUTH"};(0,o.assertTokenProviderConfig)(y);const b=g?.clientMetadata;(0,s.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptySignInUsername),(0,s.assertValidationError)(!!r,i.AuthValidationErrorCode.EmptySignInPassword);try{const{ChallengeName:e,ChallengeParameters:n,AuthenticationResult:o,Session:i}=await(0,f.retryOnResourceNotFoundException)(c.handleUserPasswordAuthFlow,[t,r,b,y,d.tokenOrchestrator],t,d.tokenOrchestrator),a=(0,c.getActiveSignInUsername)(t);return(0,u.setActiveSignInState)({signInSession:i,username:a,challengeName:e,signInDetails:v}),o?(await(0,l.cacheCognitoTokens)({...o,username:a,NewDeviceMetadata:await(0,h.getNewDeviceMetadata)({userPoolId:y.userPoolId,userPoolEndpoint:y.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:v}),(0,u.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),(0,m.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:e,challengeParameters:n})}catch(e){(0,u.resetActiveSignInState)(),(0,m.resetAutoSignIn)(),(0,a.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(73031),s=r(58765),c=r(78040),u=r(27861),l=r(55794),d=r(4870),p=r(84539),f=r(98090),h=r(66542),m=r(19578)},63344(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upgradeClientCancellation=t.isConfigureEventWithResourceConfig=t.isApiGraphQLConfig=t.isGraphQLResponseWithErrors=t.generateModelsProperty=t.generateEnumsProperty=t.generateGenerationsProperty=t.generateConversationsProperty=t.generateCustomSubscriptionsProperty=t.generateCustomQueriesProperty=t.generateCustomMutationsProperty=void 0;var n=r(6229);Object.defineProperty(t,"generateCustomMutationsProperty",{enumerable:!0,get:function(){return n.generateCustomMutationsProperty}}),Object.defineProperty(t,"generateCustomQueriesProperty",{enumerable:!0,get:function(){return n.generateCustomQueriesProperty}}),Object.defineProperty(t,"generateCustomSubscriptionsProperty",{enumerable:!0,get:function(){return n.generateCustomSubscriptionsProperty}});var o=r(97873);Object.defineProperty(t,"generateConversationsProperty",{enumerable:!0,get:function(){return o.generateConversationsProperty}});var i=r(18870);Object.defineProperty(t,"generateGenerationsProperty",{enumerable:!0,get:function(){return i.generateGenerationsProperty}});var a=r(81963);Object.defineProperty(t,"generateEnumsProperty",{enumerable:!0,get:function(){return a.generateEnumsProperty}});var s=r(89125);Object.defineProperty(t,"generateModelsProperty",{enumerable:!0,get:function(){return s.generateModelsProperty}});var c=r(98562);Object.defineProperty(t,"isGraphQLResponseWithErrors",{enumerable:!0,get:function(){return c.isGraphQLResponseWithErrors}});var u=r(61129);Object.defineProperty(t,"isApiGraphQLConfig",{enumerable:!0,get:function(){return u.isApiGraphQLConfig}});var l=r(96441);Object.defineProperty(t,"isConfigureEventWithResourceConfig",{enumerable:!0,get:function(){return l.isConfigureEventWithResourceConfig}});var d=r(53841);Object.defineProperty(t,"upgradeClientCancellation",{enumerable:!0,get:function(){return d.upgradeClientCancellation}})},63407(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expoDetect=function(){return(0,n.globalExists)()&&void 0!==globalThis.expo};const n=r(62114)},63465(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="00000000-0000-0000-0000-000000000000"},63553(e,t){"use strict";function r(e){return!("auth"!==e?.type||"object"!=typeof e?.properties||!Array.isArray(e?.properties?.rules))&&(e?.properties?.rules).every(e=>!!e.allow)}Object.defineProperty(t,"__esModule",{value:!0}),t.resolveOwnerFields=function(e){const t=new Set;for(const n of e.attributes||[])if(r(n))for(const e of n.properties.rules)"owner"===e.allow?t.add(e.ownerField||"owner"):"groups"===e.allow&&void 0!==e.groupsField&&t.add(e.groupsField);return Array.from(t)}},63614(e,t,r){"use strict";r.d(t,{M:()=>m});var n=r(84210),o=r(16736);const i=new n.C("parseAWSExports"),a={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"},s=e=>e?.split(",")??[],c=({domain:e,scope:t,redirectSignIn:r,redirectSignOut:n,responseType:o})=>({domain:e,scopes:t,redirectSignIn:s(r),redirectSignOut:s(n),responseType:o}),u=e=>e.map(e=>{const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)});const l={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"};function d(e){return l[e]}const p={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"};function f(e=[]){return e.reduce((e,t)=>(void 0!==p[t]&&e.push(p[t]),e),[])}function h(e){const t={};return e.forEach(({name:e,bucket_name:r,aws_region:n,paths:o})=>{if(e in t)throw new Error(`Duplicate friendly name found: ${e}. Name must be unique.`);const i=o?Object.entries(o).reduce((e,[t,r])=>(void 0!==r&&(e[t]=r),e),{}):void 0;t[e]={bucketName:r,region:n,paths:i}}),t}const m=e=>Object.keys(e).some(e=>e.startsWith("aws_"))?((e={})=>{if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new o.x({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from `amplifyconfiguration.json`."});const{aws_appsync_apiKey:t,aws_appsync_authenticationType:r,aws_appsync_graphqlEndpoint:n,aws_appsync_region:s,aws_bots_config:l,aws_cognito_identity_pool_id:d,aws_cognito_sign_up_verification_method:p,aws_cognito_mfa_configuration:f,aws_cognito_mfa_types:h,aws_cognito_password_protection_settings:m,aws_cognito_verification_mechanisms:g,aws_cognito_signup_attributes:y,aws_cognito_social_providers:v,aws_cognito_username_attributes:b,aws_mandatory_sign_in:E,aws_mobile_analytics_app_id:w,aws_mobile_analytics_app_region:S,aws_user_files_s3_bucket:A,aws_user_files_s3_bucket_region:_,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:P,aws_user_pools_id:C,aws_user_pools_web_client_id:I,geo:x,oauth:O,predictions:k,aws_cloud_logic_custom:T,Notifications:N,modelIntrospection:j}=e,R={};w&&(R.Analytics={Pinpoint:{appId:w,region:S}});const{InAppMessaging:M,Push:D}=N??{};if(M?.AWSPinpoint||D?.AWSPinpoint){if(M?.AWSPinpoint){const{appId:e,region:t}=M.AWSPinpoint;R.Notifications={InAppMessaging:{Pinpoint:{appId:e,region:t}}}}if(D?.AWSPinpoint){const{appId:e,region:t}=D.AWSPinpoint;R.Notifications={...R.Notifications,PushNotification:{Pinpoint:{appId:e,region:t}}}}}if(Array.isArray(l)&&(R.Interactions={LexV1:Object.fromEntries(l.map(e=>[e.name,e]))}),n){const e=a[r];e||i.debug(`Invalid authentication type ${r}. Falling back to IAM.`),R.API={GraphQL:{endpoint:n,apiKey:t,region:s,defaultAuthMode:e??"iam"}},j&&(R.API.GraphQL.modelIntrospection=j)}const U=f?{status:f&&f.toLowerCase(),totpEnabled:h?.includes("TOTP")??!1,smsEnabled:h?.includes("SMS")??!1}:void 0,F=m?{minLength:m.passwordPolicyMinLength,requireLowercase:m.passwordPolicyCharacters?.includes("REQUIRES_LOWERCASE")??!1,requireUppercase:m.passwordPolicyCharacters?.includes("REQUIRES_UPPERCASE")??!1,requireNumbers:m.passwordPolicyCharacters?.includes("REQUIRES_NUMBERS")??!1,requireSpecialCharacters:m.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS")??!1}:void 0,L=Array.from(new Set([...g??[],...y??[]])).reduce((e,t)=>({...e,[t.toLowerCase()]:{required:!0}}),{}),z=b?.includes("EMAIL")??!1,V=b?.includes("PHONE_NUMBER")??!1;(d||C)&&(R.Auth={Cognito:{identityPoolId:d,allowGuestAccess:"enable"!==E,signUpVerificationMethod:p,userAttributes:L,userPoolClientId:I,userPoolId:C,mfa:U,passwordFormat:F,loginWith:{username:!(z||V),email:z,phone:V}}});const H=!!O&&Object.keys(O).length>0,$=!!v&&v.length>0;if(R.Auth&&H&&(R.Auth.Cognito.loginWith={...R.Auth.Cognito.loginWith,oauth:{...c(O),...$&&{providers:u(v)}}}),A&&(R.Storage={S3:{bucket:A,region:_,dangerouslyConnectToHttpEndpointForTesting:P}}),x){const{amazon_location_service:e}=x;R.Geo={LocationService:{maps:e.maps,geofenceCollections:e.geofenceCollections,searchIndices:e.search_indices,region:e.region}}}if(T&&(R.API={...R.API,REST:T.reduce((e,t)=>{const{name:r,endpoint:n,region:o,service:i}=t;return{...e,[r]:{endpoint:n,...i?{service:i}:void 0,...o?{region:o}:void 0}}},{})}),k){const{VoiceId:e}=k?.convert?.speechGenerator?.defaults??{};R.Predictions=e?{...k,convert:{...k.convert,speechGenerator:{...k.convert.speechGenerator,defaults:{voiceId:e}}}}:k}return R})(e):function(e){const{version:t}=e;return!!t&&t.startsWith("1")}(e)?function(e){const t={};if(e.storage&&(t.Storage=function(e){if(!e)return;const{bucket_name:t,aws_region:r,buckets:n}=e;return{S3:{bucket:t,region:r,buckets:n&&h(n)}}}(e.storage)),e.auth&&(t.Auth=function(e){if(!e)return;const{user_pool_id:t,user_pool_client_id:r,identity_pool_id:n,password_policy:o,mfa_configuration:i,mfa_methods:a,unauthenticated_identities_enabled:s,oauth:c,username_attributes:u,standard_required_attributes:l,groups:d}=e,p={Cognito:{userPoolId:t,userPoolClientId:r,groups:d}};return n&&(p.Cognito={...p.Cognito,identityPoolId:n}),o&&(p.Cognito.passwordFormat={requireLowercase:o.require_lowercase,requireNumbers:o.require_numbers,requireUppercase:o.require_uppercase,requireSpecialCharacters:o.require_symbols,minLength:o.min_length??6}),i&&(p.Cognito.mfa={status:(h=i,"OPTIONAL"===h?"optional":"REQUIRED"===h?"on":"off"),smsEnabled:a?.includes("SMS"),totpEnabled:a?.includes("TOTP")}),s&&(p.Cognito.allowGuestAccess=s),c&&(p.Cognito.loginWith={oauth:{domain:c.domain,redirectSignIn:c.redirect_sign_in_uri,redirectSignOut:c.redirect_sign_out_uri,responseType:"token"===c.response_type?"token":"code",scopes:c.scopes,providers:f(c.identity_providers)}}),u&&(p.Cognito.loginWith={...p.Cognito.loginWith,email:u.includes("email"),phone:u.includes("phone_number"),username:u.includes("username")}),l&&(p.Cognito.userAttributes=l.reduce((e,t)=>({...e,[t]:{required:!0}}),{})),p;var h}(e.auth)),e.analytics&&(t.Analytics=function(e){if(!e?.amazon_pinpoint)return;const{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}(e.analytics)),e.geo&&(t.Geo=function(e){if(!e)return;const{aws_region:t,geofence_collections:r,maps:n,search_indices:o}=e;return{LocationService:{region:t,searchIndices:o,geofenceCollections:r,maps:n}}}(e.geo)),e.data&&(t.API=function(e){if(!e)return;const{aws_region:t,default_authorization_type:r,url:n,api_key:o,model_introspection:i}=e;return{GraphQL:{endpoint:n,defaultAuthMode:d(r),region:t,apiKey:o,modelIntrospection:i}}}(e.data)),e.custom){const r=function(e){if(!e?.events)return;const{url:t,aws_region:r,api_key:n,default_authorization_type:o}=e.events;return{Events:{endpoint:t,defaultAuthMode:d(o),region:r,apiKey:n}}}(e.custom);r&&"Events"in r&&(t.API={...t.API,...r})}return e.notifications&&(t.Notifications=function(e){if(!e)return;const{aws_region:t,channels:r,amazon_pinpoint_app_id:n}=e,o=r.includes("IN_APP_MESSAGING"),i=r.includes("APNS")||r.includes("FCM");if(!o&&!i)return;const a={};return o&&(a.InAppMessaging={Pinpoint:{appId:n,region:t}}),i&&(a.PushNotification={Pinpoint:{appId:n,region:t}}),a}(e.notifications)),t}(e):e},63661(e,t,r){"use strict";var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(e&&(t=e(e=0)),t),c=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})};function u(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");for(;t.length%4;)t+="=";return Uint8Array.from(atob(t),e=>e.charCodeAt(0))}var l,d,p=s(()=>{l=(e,t)=>{let r=Uint8Array.from(atob(e),e=>e.charCodeAt(0)).map((e,r)=>e^t+r&255);return(new TextDecoder).decode(r)},d=async e=>{let t=globalThis.grecaptcha,r=e?t?.enterprise:void 0,n=r?.ready??t?.ready,o=r?.execute??t?.execute;if("function"!=typeof o)return{execute:void 0};try{return"function"==typeof n&&await new Promise(e=>n(()=>e())),{execute:o}}catch{return{execute:void 0}}}});function f(e,t){return`wpsuite:${e}:${t}`}function h(e,t){let r=t?.timeoutMs??8e3;return e.availability??=function(e,t=8e3){return()=>new Promise(r=>{if("available"===e.status)return r("available");if("error"===e.status)return r("error");!e.status||e.status;let n,o=f(e.key,"ready"),i=f(e.key,"error"),a=()=>c("available"),s=()=>c("error"),c=e=>{window.removeEventListener(o,a),window.removeEventListener(i,s),void 0!==n&&window.clearTimeout(n),r(e)};window.addEventListener(o,a,{once:!0}),window.addEventListener(i,s,{once:!0}),n=window.setTimeout(()=>c("unavailable"),t)})}(e,r),e.onReady??=function(e){return t=>{window.addEventListener(f(e,"ready"),()=>t(),{once:!0})}}(e.key),e}var m,g,y=s(()=>{}),v=s(()=>{p(),m=l("///24djH19SDi+vD3tGN3c7q7NTM9PG3nazxrZz0rLqSoKCjvJyCtJjrsw==",170),g=l("/Z/u1+ncyvLd19D01cLL1vjCzvn18KuZsKf8iomml4auqpS/loekpeKjgQ==",170)}),b={};function E(e){try{return new URL(e.includes("://")?e:`http://${e}`).hostname.toLowerCase()}catch{return e.replace(/\/+$/,"").toLowerCase()}}function w(e){let t=E(e);if(T.test(t)||N.test(t)||"localhost"===t)return!0;let r=(0,_.parse)(t,{allowPrivateDomains:!0});return!(r.domain&&r.publicSuffix&&!k.includes(r.publicSuffix))}function S(e,t){return!!t&&function(e){let t=E(e);return t.startsWith("www.")?t.slice(4):t}(e)===t}c(b,{getConfig:()=>j});var A,_,P,C,I,x,O,k,T,N,j,R,M=s(()=>{A=r(25217),v(),p(),V(),_=r(39596),I=U(),x=I?I.siteSettings:{},O=/\b(dev|test|testing|staging|stage|qa|uat|preview|demo|sandbox|preprod|beta|canary)\b/i,k=["localhost","local","test","invalid","example","lan","internal"],T=/^(127\.)|^(10\.)|^(192\.168\.)|^(172\.(1[6-9]|2\d|3[0-1])\.)/,N=/^(::1$)|(^fc00:)|(^fd)/i,j=async()=>{let e=null;if(x.subscriber){let t=await(0,A.importJWK)({kty:"EC",x:P,y:C,crv:"P-256"},"ES256"),r=(new Date).getFullYear(),n=Math.floor((Date.now()-new Date(r,0,1).getTime())/6048e5),o=await fetch(I.uploadUrl+"lic.jws?t="+I.siteSettings.lastUpdate+"&y="+r+"&w="+n).then(e=>e.ok?e.text():null).catch(()=>null);if(o)try{let r=location.hostname.split(":")[0],{payload:n}=await(0,A.jwtVerify)(o,t,{algorithms:["ES256"]}),i=function(e,t){return function(e){return w(e)||function(e){let t=E(e);return!(!w(t)&&!O.test(t))||t.split(".").some(e=>O.test(e))}(e)}(e)?{free:!0,covered:!0}:{free:!1,covered:S(e,t)}}(r,n.domain);if(!i.free&&!i.covered)throw new Error("Invalid domain in JWT");let a=n.key.split(":"),s=u(a[0]),c=u(a[1]),l=(await fetch(I.uploadUrl+"config.enc?t="+I.siteSettings.lastUpdate).then(e=>e.ok?e.text():null).catch(()=>null))?.split(":");if(2===l?.length){let t=u(l[0]),r=u(l[1]),o=await crypto.subtle.importKey("raw",s,{name:"AES-GCM"},!1,["decrypt"]),i=await crypto.subtle.decrypt({name:"AES-GCM",iv:c},o,new Uint8Array([...t,...r]));e=JSON.parse((new TextDecoder).decode(i)),e.subscriptionType=n.subscriptionType}}catch(e){console.error(e.message)}}return e??null},P=m,C=g}),D={};function U(){return globalThis.WpSuite}function F(e){return globalThis.WpSuite?.plugins[e]}c(D,{TEXT_DOMAIN:()=>L,attachDefaultPluginRuntime:()=>h,getConfig:()=>z,getPlugin:()=>F,getRecaptcha:()=>d,getWpSuite:()=>U}),e.exports=(R=D,((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of i(t))!a.call(e,r)&&undefined!==r&&n(e,r,{get:()=>t[r],enumerable:!(s=o(t,r))||s.enumerable});return e})(n({},"__esModule",{value:!0}),R));var L,z,V=s(()=>{p(),y(),L="hub-for-wpsuiteio",z=async e=>{let t=await(await Promise.resolve().then(()=>(M(),b))).getConfig();return t&&(t={...t[e],subscriptionType:t.subscriptionType}),t}});V()},63704(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetUserClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createGetUserClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("GetUser"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},63733(e,t,r){"use strict";r.d(t,{j:()=>o});var n=r(77602);function o(e){const{m:t,mx:r,my:o,mt:i,mb:a,ml:s,mr:c,me:u,ms:l,p:d,px:p,py:f,pt:h,pb:m,pl:g,pr:y,pe:v,ps:b,bd:E,bdrs:w,bg:S,c:A,opacity:_,ff:P,fz:C,fw:I,lts:x,ta:O,lh:k,fs:T,tt:N,td:j,w:R,miw:M,maw:D,h:U,mih:F,mah:L,bgsz:z,bgp:V,bgr:H,bga:$,pos:W,top:B,left:K,bottom:G,right:q,inset:Y,display:J,flex:Q,hiddenFrom:X,visibleFrom:Z,lightHidden:ee,darkHidden:te,sx:re,...ne}=e;return{styleProps:(0,n.J)({m:t,mx:r,my:o,mt:i,mb:a,ml:s,mr:c,me:u,ms:l,p:d,px:p,py:f,pt:h,pb:m,pl:g,pr:y,pe:v,ps:b,bd:E,bg:S,c:A,opacity:_,ff:P,fz:C,fw:I,lts:x,ta:O,lh:k,fs:T,tt:N,td:j,w:R,miw:M,maw:D,h:U,mih:F,mah:L,bgsz:z,bgp:V,bgr:H,bga:$,pos:W,top:B,left:K,bottom:G,right:q,inset:Y,display:J,flex:Q,bdrs:w,hiddenFrom:X,visibleFrom:Z,lightHidden:ee,darkHidden:te,sx:re}),rest:ne}}r(51609),r(10790)},64151(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNonRetryableError=void 0,t.isNonRetryableError=e=>e&&e.nonRetryable},64166(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuthStorageKeys=t.tokenRefreshException=t.oAuthTokenRefreshException=void 0,t.isTypeUserPoolConfig=function(e){return!!(e&&e.Cognito.userPoolId&&e.Cognito.userPoolClientId)},t.assertAuthTokens=function(e){if(!e||!e.accessToken)throw new n.AuthError({name:o.USER_UNAUTHENTICATED_EXCEPTION,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})},t.assertIdTokenInAuthTokens=function(e){if(!e||!e.idToken)throw new n.AuthError({name:o.USER_UNAUTHENTICATED_EXCEPTION,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})},t.assertAuthTokensWithRefreshToken=function(e){if(function(e){return i(e)&&!e?.refreshToken}(e))throw t.oAuthTokenRefreshException;if(!function(e){return i(e)&&e?.refreshToken}(e))throw t.tokenRefreshException},t.assertDeviceMetadata=function(e){if(!(e&&e.deviceKey&&e.deviceGroupKey&&e.randomPassword))throw new n.AuthError({name:o.DEVICE_METADATA_NOT_FOUND_EXCEPTION,message:"Either deviceKey, deviceGroupKey or secretPassword were not found during the sign-in process.",recoverySuggestion:"Make sure to not clear storage after calling the signIn API."})};const n=r(43518),o=r(34143);function i(e){return e?.accessToken||e?.idToken}t.oAuthTokenRefreshException=new n.AuthError({name:o.TOKEN_REFRESH_EXCEPTION,message:"Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow. \n\tPlease change your oauth configuration to use 'code grant' flow.",recoverySuggestion:"Please logout and change your Amplify configuration to use \"code grant\" flow. \n\tE.g { responseType: 'code' }"}),t.tokenRefreshException=new n.AuthError({name:o.USER_UNAUTHENTICATED_EXCEPTION,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."}),t.OAuthStorageKeys={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"}},64672(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.PinpointValidationErrorCode=void 0;const n=r(1123);var o;!function(e){e.NoAppId="NoAppId"}(o||(t.PinpointValidationErrorCode=o={}));const i={[o.NoAppId]:{message:"Missing application id."}};t.assert=(0,n.createAssertionFunction)(i)},64684(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateRequestToBeCancellable=t.cancel=t.post=void 0;var n=r(26610);Object.defineProperty(t,"post",{enumerable:!0,get:function(){return n.post}});var o=r(26610);Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return o.cancel}}),Object.defineProperty(t,"updateRequestToBeCancellable",{enumerable:!0,get:function(){return o.updateRequestToBeCancellable}})},64772(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncAction=void 0;var i=r(71666),a=r(8284),s=r(54830),c=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return o(t,e),t.prototype.schedule=function(e,t){var r;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),a.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&a.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,s.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(i.Action);t.AsyncAction=c},64948(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatest=void 0;var i=r(88246),a=r(65212),s=r(7652),c=r(13916),u=r(99517),l=r(26404);t.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var d=l.popResultSelector(t);return d?u.pipe(e.apply(void 0,o([],n(t))),c.mapOneOrManyArgs(d)):a.operate(function(e,r){i.combineLatestInit(o([e],n(s.argsOrArgArray(t))))(r)})}},64957(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalUri=void 0,t.getCanonicalUri=(e,t=!0)=>e?t?encodeURIComponent(e).replace(/%2F/g,"/"):e:"/"},64999(e,t,r){"use strict";r.d(t,{Y:()=>h});var n=r(10790),o=r(51609),i=r(56324),a=r(59396),s=r(46100),c=r(52837),u=r(11507),l=r(2412),d={root:"m_4081bf90"};const p={preventGrowOverflow:!0,gap:"md",align:"center",justify:"flex-start",wrap:"wrap"},f=(0,a.V)((e,{grow:t,preventGrowOverflow:r,gap:n,align:o,justify:a,wrap:s},{childWidth:c})=>({root:{"--group-child-width":t&&r?c:void 0,"--group-gap":(0,i.GY)(n),"--group-align":o,"--group-justify":a,"--group-wrap":s}})),h=(0,l.P9)((e,t)=>{const r=(0,s.Y)("Group",p,e),{classNames:a,className:l,style:h,styles:m,unstyled:g,children:y,gap:v,align:b,justify:E,wrap:w,grow:S,preventGrowOverflow:A,vars:_,variant:P,__size:C,mod:I,attributes:x,...O}=r,k=function(e){return o.Children.toArray(e).filter(Boolean)}(y),T=k.length,N=(0,i.GY)(v??"md"),j={childWidth:`calc(${100/T}% - (${N} - ${N} / ${T}))`},R=(0,c.I)({name:"Group",props:r,stylesCtx:j,className:l,style:h,classes:d,classNames:a,styles:m,unstyled:g,attributes:x,vars:_,varsResolver:f});return(0,n.jsx)(u.a,{...R("root"),ref:t,variant:P,mod:[{grow:S},I],size:C,...O,children:k})});h.classes=d,h.displayName="@mantine/core/Group"},65156(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowWhen=void 0;var n=r(76808),o=r(65212),i=r(17214),a=r(19724);t.windowWhen=function(e){return o.operate(function(t,r){var o,s,c=function(e){o.error(e),r.error(e)},u=function(){var t;null==s||s.unsubscribe(),null==o||o.complete(),o=new n.Subject,r.next(o.asObservable());try{t=a.innerFrom(e())}catch(e){return void c(e)}t.subscribe(s=i.createOperatorSubscriber(r,u,u,c))};u(),t.subscribe(i.createOperatorSubscriber(r,function(e){return o.next(e)},function(){o.complete(),r.complete()},c,function(){null==s||s.unsubscribe(),o=null}))})}},65212(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operate=t.hasLift=void 0;var n=r(10281);function o(e){return n.isFunction(null==e?void 0:e.lift)}t.hasLift=o,t.operate=function(e){return function(t){if(o(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},65221(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleUserAuthFlow=async function({username:e,clientMetadata:t,config:r,tokenOrchestrator:f,preferredChallenge:h,password:m,session:g}){const{userPoolId:y,userPoolClientId:v,userPoolEndpoint:b}=r,E=(0,o.getUserContextData)({username:e,userPoolId:y,userPoolClientId:v}),w={USERNAME:e};if(h){if("PASSWORD_SRP"===h)return(0,l.assertValidationError)(!!m,d.AuthValidationErrorCode.EmptySignInPassword),(0,u.handlePasswordSRP)({username:e,password:m,clientMetadata:t,config:r,tokenOrchestrator:f,authFlow:"USER_AUTH",preferredChallenge:h});"PASSWORD"===h&&((0,l.assertValidationError)(!!m,d.AuthValidationErrorCode.EmptySignInPassword),w.PASSWORD=m),w.PREFERRED_CHALLENGE=h}const S={AuthFlow:"USER_AUTH",AuthParameters:w,ClientMetadata:t,ClientId:v,UserContextData:E};g&&(S.Session=g);const A=(0,i.createInitiateAuthClient)({endpointResolver:(0,a.createCognitoUserPoolEndpointResolver)({endpointOverride:b})}),_=await A({region:(0,s.getRegionFromUserPoolId)(y),userAgentValue:(0,c.getAuthUserAgentValue)(n.AuthAction.SignIn)},S);return(0,p.setActiveSignInUsername)(e),_};const n=r(22651),o=r(99369),i=r(35456),a=r(28228),s=r(62639),c=r(17238),u=r(82366),l=r(58765),d=r(49129),p=r(25279)},65279(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.takeLast=void 0;var o=r(44885),i=r(65212),a=r(17214);t.takeLast=function(e){return e<=0?function(){return o.EMPTY}:i.operate(function(t,r){var o=[];t.subscribe(a.createOperatorSubscriber(r,function(t){o.push(t),e<o.length&&o.shift()},function(){var e,t;try{for(var i=n(o),a=i.next();!a.done;a=i.next()){var s=a.value;r.next(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}r.complete()},void 0,function(){o=null}))})}},65430(e,t,r){"use strict";r.d(t,{j:()=>n});const n=e=>{const{headers:t,statusCode:r}=e;return{...o(e)?e.$metadata:{},httpStatusCode:r,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}},o=e=>"object"==typeof e?.$metadata},65438(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createForgetDeviceClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createForgetDeviceClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ForgetDevice"),(0,i.createEmptyResponseDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},65620(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listWebAuthnCredentials=async function(e,t){const r=e.getConfig().Auth?.Cognito;(0,n.assertTokenProviderConfig)(r);const{userPoolEndpoint:u,userPoolId:l}=r,{tokens:d}=await e.Auth.fetchAuthSession();(0,o.assertAuthTokens)(d);const p=(0,c.createListWebAuthnCredentialsClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:u})}),{Credentials:f=[],NextToken:h}=await p({region:(0,a.getRegionFromUserPoolId)(l),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.ListWebAuthnCredentials)},{AccessToken:d.accessToken.toString(),MaxResults:t?.pageSize,NextToken:t?.nextToken});return{credentials:f.map(e=>({credentialId:e.CredentialId,friendlyCredentialName:e.FriendlyCredentialName,relyingPartyId:e.RelyingPartyId,authenticatorAttachment:e.AuthenticatorAttachment,authenticatorTransports:e.AuthenticatorTransports,createdAt:e.CreatedAt?new Date(1e3*e.CreatedAt):void 0})),nextToken:h}};const n=r(22651),o=r(64166),i=r(28228),a=r(62639),s=r(17238),c=r(35456)},65650(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleObservable=void 0;var n=r(19724),o=r(32071),i=r(5455);t.scheduleObservable=function(e,t){return n.innerFrom(e).pipe(i.subscribeOn(t),o.observeOn(t))}},65774(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipWhile=void 0;var n=r(65212),o=r(17214);t.skipWhile=function(e){return n.operate(function(t,r){var n=!1,i=0;t.subscribe(o.createOperatorSubscriber(r,function(t){return(n||(n=!e(t,i++)))&&r.next(t)}))})}},65826(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseJsonBody=t.parseJsonError=void 0;const n=r(41251);t.parseJsonError=async e=>{if(!e||e.statusCode<300)return;const r=await(0,t.parseJsonBody)(e),o=(e=>{const[t]=e.toString().split(/[,:]+/);return t.includes("#")?t.split("#")[1]:t})(e.headers["x-amzn-errortype"]??r.code??r.__type??"UnknownError"),i=r.message??r.Message??"Unknown error",a=new Error(i);return Object.assign(a,{name:o,$metadata:(0,n.parseMetadata)(e)})},t.parseJsonBody=async e=>{if(!e.body)throw new Error("Missing response payload");const t=await e.body.json();return Object.assign(t,{$metadata:(0,n.parseMetadata)(e)})}},65881(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var n=r(93275),o=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=n.dateTimestampProvider.now,e}();t.Scheduler=o},66192(e,t,r){"use strict";r.d(t,{A$:()=>o,AI:()=>s,FI:()=>l,If:()=>u,NL:()=>d,OY:()=>a,WV:()=>c,bv:()=>f,m6:()=>p});var n=r(51609);const o=(0,n.createContext)(null);function i(){const e=(0,n.useContext)(o);if(!e)throw new Error("[@mantine/core] MantineProvider was not found in tree");return e}function a(){return i().cssVariablesResolver}function s(){return i().classNamesPrefix}function c(){return i().getStyleNonce}function u(){return i().withStaticClasses}function l(){return i().headless}function d(){return i().stylesTransform?.sx}function p(){return i().stylesTransform?.styles}function f(){return i().env||"default"}},66284(e,t,r){"use strict";r.d(t,{B:()=>s});var n=r(51609),o=r(45585),i=r(45727);const a=n["useId".toString()]||(()=>{});function s(e){const t=function(){const e=a();return e?`mantine-${e.replace(/:/g,"")}`:""}(),[r,s]=(0,n.useState)(t);return(0,o.o)(()=>{s((0,i.z)())},[]),"string"==typeof e?e:"undefined"==typeof window?t:r}},66355(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluck=void 0;var n=r(26872);t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map(function(t){for(var n=t,o=0;o<r;o++){var i=null==n?void 0:n[e[o]];if(void 0===i)return;n=i}return n})}},66477(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundProcessManagerState=void 0,function(e){e.Open="Open",e.Closing="Closing",e.Closed="Closed"}(r||(t.BackgroundProcessManagerState=r={}))},66542(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNewDeviceMetadata=async function({userPoolId:e,userPoolEndpoint:t,newDeviceMetadata:r,accessToken:c}){if(!r)return;const u=e.split("_")[1]||"",l=await(0,s.getAuthenticationHelper)(u),d=r?.DeviceKey,p=r?.DeviceGroupKey;try{await l.generateHashDevice(p??"",d??"")}catch(e){return}const f={Salt:n.base64Encoder.convert((0,s.getBytesFromHex)(l.getSaltToHashDevices())),PasswordVerifier:n.base64Encoder.convert((0,s.getBytesFromHex)(l.getVerifierDevices()))},h=l.getRandomPassword();try{const s=(0,o.createConfirmDeviceClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});return await s({region:(0,a.getRegionFromUserPoolId)(e)},{AccessToken:c,DeviceName:await(0,n.getDeviceName)(),DeviceKey:r?.DeviceKey,DeviceSecretVerifierConfig:f}),{deviceKey:d,deviceGroupKey:p,randomPassword:h}}catch(e){return}};const n=r(22651),o=r(35456),i=r(28228),a=r(62639),s=r(80699)},66678(e,t,r){"use strict";r.d(t,{A:()=>G});var n=r(10790),o=r(51609),i=r(66284);const a=["mousedown","touchstart"];var s=r(68690),c=r(56324),u=r(59396),l=r(99274),d=r(52837),p=r(66192),f=r(46100),h=r(82820),m=r(36813),g=r(22662),y=r(39268),v=r(73087),b=r(46798);const[E,w]=(0,b.F)("Popover component was not found in the tree");var S=r(72273),A=r(37055),_=r(88149),P=r(52796);function C(e,t={active:!0}){return"function"==typeof e&&t.active?r=>{"Escape"===r.key&&(e(r),t.onTrigger?.())}:t.onKeyDown||P.l}var I=r(11507),x=r(2412),O=r(42020),k=r(36504),T={dropdown:"m_38a85659",arrow:"m_a31dc6c1",overlay:"m_3d7bc908"};const N=(0,x.P9)((e,t)=>{const r=(0,f.Y)("PopoverDropdown",null,e),{className:o,style:i,vars:a,children:s,onKeyDownCapture:c,variant:u,classNames:l,styles:d,...p}=r,h=w(),m=(0,S.E)({opened:h.opened,shouldReturnFocus:h.returnFocus}),g=h.withRoles?{"aria-labelledby":h.getTargetId(),id:h.getDropdownId(),role:"dialog",tabIndex:-1}:{},b=(0,A.pc)(t,h.floating);return h.disabled?null:(0,n.jsx)(y.r,{...h.portalProps,withinPortal:h.withinPortal,children:(0,n.jsx)(v.e,{mounted:h.opened,...h.transitionProps,transition:h.transitionProps?.transition||"fade",duration:h.transitionProps?.duration??150,keepMounted:h.keepMounted,exitDuration:"number"==typeof h.transitionProps?.exitDuration?h.transitionProps.exitDuration:h.transitionProps?.duration,children:e=>(0,n.jsx)(k.s,{active:h.trapFocus&&h.opened,innerRef:b,children:(0,n.jsxs)(I.a,{...g,...p,variant:u,onKeyDownCapture:C(()=>{h.onClose?.(),h.onDismiss?.()},{active:h.closeOnEscape,onTrigger:m,onKeyDown:c}),"data-position":h.placement,"data-fixed":"fixed"===h.floatingStrategy||void 0,...h.getStyles("dropdown",{className:o,props:r,classNames:l,styles:d,style:[{...e,zIndex:h.zIndex,top:h.y??0,left:h.x??0,width:"target"===h.width?void 0:(0,_.D)(h.width),...h.referenceHidden?{display:"none"}:null},h.resolvedStyles.dropdown,d?.dropdown,i]}),children:[s,(0,n.jsx)(O.i,{ref:h.arrowRef,arrowX:h.arrowX,arrowY:h.arrowY,visible:h.withArrow,position:h.placement,arrowSize:h.arrowSize,arrowRadius:h.arrowRadius,arrowOffset:h.arrowOffset,arrowPosition:h.arrowPosition,...h.getStyles("arrow",{props:r,classNames:l,styles:d})})]})})})})});N.classes=T,N.displayName="@mantine/core/PopoverDropdown";var j=r(34164),R=r(94848),M=r(26810);const D={refProp:"ref",popupType:"dialog"},U=(0,x.P9)((e,t)=>{const{children:r,refProp:n,popupType:i,...a}=(0,f.Y)("PopoverTarget",D,e),s=(0,M.D)(r);if(!s)throw new Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const c=a,u=w(),l=(0,A.pc)(u.reference,(0,R.x)(s),t),d=u.withRoles?{"aria-haspopup":i,"aria-expanded":u.opened,"aria-controls":u.getDropdownId(),id:u.getTargetId()}:{},p=s.props;return(0,o.cloneElement)(s,{...c,...d,...u.targetProps,className:(0,j.A)(u.targetProps.className,c.className,p.className),[n]:l,...u.controlled?null:{onClick:()=>{u.onToggle(),p.onClick?.()}}})});U.displayName="@mantine/core/PopoverTarget";var F=r(34743),L=r(83505),z=r(7315),V=r(61617),H=r(297),$=r(45585);function W(e,t,r){const n=function(e){if(void 0===e)return{shift:!0,flip:!0};const t={...e};return void 0===e.shift&&(t.shift=!0),void 0===e.flip&&(t.flip=!0),t}(e.middlewares),o=[(0,F.cY)(e.offset),(0,F.jD)()];return e.dropdownVisible&&"test"!==r&&e.preventPositionChangeWhenVisible&&(n.flip=!1),n.shift&&o.push((0,F.BN)("boolean"==typeof n.shift?{limiter:(0,F.ER)(),padding:5}:{limiter:(0,F.ER)(),padding:5,...n.shift})),n.flip&&o.push("boolean"==typeof n.flip?(0,F.UU)():(0,F.UU)(n.flip)),n.inline&&o.push("boolean"==typeof n.inline?(0,F.mG)():(0,F.mG)(n.inline)),o.push((0,F.UE)({element:e.arrowRef,padding:e.arrowOffset})),(n.size||"target"===e.width)&&o.push((0,F.Ej)({..."boolean"==typeof n.size?{}:n.size,apply({rects:r,availableWidth:o,availableHeight:i,...a}){const s=t(),c=s.refs.floating.current?.style??{};n.size&&("object"==typeof n.size&&n.size.apply?n.size.apply({rects:r,availableWidth:o,availableHeight:i,...a}):Object.assign(c,{maxWidth:`${o}px`,maxHeight:`${i}px`})),"target"===e.width&&Object.assign(c,{width:`${r.reference.width}px`})}})),o}const B={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,withOverlay:!1,hideDetached:!0,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,s.I)("popover"),__staticSelector:"Popover",width:"max-content"},K=(0,u.V)((e,{radius:t,shadow:r})=>({dropdown:{"--popover-radius":void 0===t?void 0:(0,c.nJ)(t),"--popover-shadow":(0,c.dh)(r)}}));function G(e){const t=(0,f.Y)("Popover",B,e),{children:r,position:s,offset:c,onPositionChange:u,positionDependencies:b,opened:w,transitionProps:S,onExitTransitionEnd:A,onEnterTransitionEnd:_,width:P,middlewares:C,withArrow:I,arrowSize:x,arrowOffset:O,arrowRadius:k,arrowPosition:N,unstyled:j,classNames:R,styles:M,closeOnClickOutside:D,withinPortal:U,portalProps:F,closeOnEscape:G,clickOutsideEvents:q,trapFocus:Y,onClose:J,onDismiss:Q,onOpen:X,onChange:Z,zIndex:ee,radius:te,shadow:re,id:ne,defaultOpened:oe,__staticSelector:ie,withRoles:ae,disabled:se,returnFocus:ce,variant:ue,keepMounted:le,vars:de,floatingStrategy:pe,withOverlay:fe,overlayProps:he,hideDetached:me,attributes:ge,preventPositionChangeWhenVisible:ye,...ve}=t,be=(0,d.I)({name:ie,props:t,classes:T,classNames:R,styles:M,unstyled:j,attributes:ge,rootSelector:"dropdown",vars:de,varsResolver:K}),{resolvedStyles:Ee}=(0,l.Y)({classNames:R,styles:M,props:t}),[we,Se]=(0,o.useState)(w??oe??!1),Ae=(0,o.useRef)(s),_e=(0,o.useRef)(null),[Pe,Ce]=(0,o.useState)(null),[Ie,xe]=(0,o.useState)(null),{dir:Oe}=(0,h.jH)(),ke=(0,p.bv)(),Te=(0,i.B)(ne),Ne=function(e){const t=(0,p.bv)(),[r,n]=(0,V.Z)({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),i=(0,o.useRef)(r),a=(0,L.we)({strategy:e.strategy,placement:e.preventPositionChangeWhenVisible?e.positionRef.current:e.position,middleware:W(e,()=>a,t),whileElementsMounted:e.keepMounted?void 0:z.ll});return(0,o.useEffect)(()=>{if(a.refs.reference.current&&a.refs.floating.current)return r?(0,z.ll)(a.refs.reference.current,a.refs.floating.current,a.update):void 0},[r,a.update]),(0,H.C)(()=>{e.onPositionChange?.(a.placement),e.positionRef.current=a.placement},[a.placement,e.preventPositionChangeWhenVisible]),(0,H.C)(()=>{r!==i.current&&(r?e.onOpen?.():e.onClose?.()),i.current=r},[r,e.onClose,e.onOpen]),(0,$.o)(()=>{let t=-1;return r&&(t=window.setTimeout(()=>e.setDropdownVisible(!0),4)),()=>{window.clearTimeout(t)}},[r,e.position]),{floating:a,controlled:"boolean"==typeof e.opened,opened:r,onClose:()=>{r&&!e.disabled&&n(!1)},onToggle:()=>{e.disabled||n(!r)}}}({middlewares:C,width:P,position:(0,m.Q)(Oe,s),offset:"number"==typeof c?c+(I?x/2:0):c,arrowRef:_e,arrowOffset:O,onPositionChange:u,positionDependencies:b,opened:w,defaultOpened:oe,onChange:Z,onOpen:X,onClose:J,onDismiss:Q,strategy:pe,dropdownVisible:we,setDropdownVisible:Se,positionRef:Ae,disabled:se,preventPositionChangeWhenVisible:ye,keepMounted:le});!function(e,t,r){const n=(0,o.useRef)(null),i=t||a;(0,o.useEffect)(()=>{const t=t=>{const{target:o}=t??{};if(Array.isArray(r)){const n=!document.body.contains(o)&&"HTML"!==o?.tagName;r.every(e=>!!e&&!t.composedPath().includes(e))&&!n&&e()}else n.current&&!n.current.contains(o)&&e()};return i.forEach(e=>document.addEventListener(e,t)),()=>{i.forEach(e=>document.removeEventListener(e,t))}},[n,e,r])}(()=>{D&&(Ne.onClose(),Q?.())},q,[Pe,Ie]);const je=(0,o.useCallback)(e=>{Ce(e),Ne.floating.refs.setReference(e)},[Ne.floating.refs.setReference]),Re=(0,o.useCallback)(e=>{xe(e),Ne.floating.refs.setFloating(e)},[Ne.floating.refs.setFloating]),Me=(0,o.useCallback)(()=>{S?.onExited?.(),A?.(),Se(!1),ye||(Ae.current=s)},[S?.onExited,A,ye,s]),De=(0,o.useCallback)(()=>{S?.onEntered?.(),_?.()},[S?.onEntered,_]);return(0,n.jsxs)(E,{value:{returnFocus:ce,disabled:se,controlled:Ne.controlled,reference:je,floating:Re,x:Ne.floating.x,y:Ne.floating.y,arrowX:Ne.floating?.middlewareData?.arrow?.x,arrowY:Ne.floating?.middlewareData?.arrow?.y,opened:Ne.opened,arrowRef:_e,transitionProps:{...S,onExited:Me,onEntered:De},width:P,withArrow:I,arrowSize:x,arrowOffset:O,arrowRadius:k,arrowPosition:N,placement:Ne.floating.placement,trapFocus:Y,withinPortal:U,portalProps:F,zIndex:ee,radius:te,shadow:re,closeOnEscape:G,onDismiss:Q,onClose:Ne.onClose,onToggle:Ne.onToggle,getTargetId:()=>`${Te}-target`,getDropdownId:()=>`${Te}-dropdown`,withRoles:ae,targetProps:ve,__staticSelector:ie,classNames:R,styles:M,unstyled:j,variant:ue,keepMounted:le,getStyles:be,resolvedStyles:Ee,floatingStrategy:pe,referenceHidden:!(!me||"test"===ke)&&Ne.floating.middlewareData.hide?.referenceHidden},children:[r,fe&&(0,n.jsx)(v.e,{transition:"fade",mounted:Ne.opened,duration:S?.duration||250,exitDuration:S?.exitDuration||250,children:e=>(0,n.jsx)(y.r,{withinPortal:U,children:(0,n.jsx)(g.h,{...he,...be("overlay",{className:he?.className,style:[e,he?.style]})})})})]})}G.Target=U,G.Dropdown=N,G.displayName="@mantine/core/Popover",G.extend=e=>e},66776(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCognitoIdentityPoolEndpointResolver=void 0;const n=r(56547),o=r(22651);t.createCognitoIdentityPoolEndpointResolver=({endpointOverride:e})=>t=>e?{url:new o.AmplifyUrl(e)}:(0,n.cognitoIdentityPoolEndpointResolver)(t)},66791(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.endWith=void 0;var i=r(39546),a=r(61587);t.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return i.concat(t,a.of.apply(void 0,o([],n(e))))}}},66911(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeUntil=void 0;var n=r(65212),o=r(17214),i=r(19724),a=r(5717);t.takeUntil=function(e){return n.operate(function(t,r){i.innerFrom(e).subscribe(o.createOperatorSubscriber(r,function(){return r.complete()},a.noop)),!r.closed&&t.subscribe(r)})}},66975(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.withLatestFrom=void 0;var i=r(65212),a=r(17214),s=r(19724),c=r(87699),u=r(5717),l=r(26404);t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l.popResultSelector(e);return i.operate(function(t,i){for(var l=e.length,d=new Array(l),p=e.map(function(){return!1}),f=!1,h=function(t){s.innerFrom(e[t]).subscribe(a.createOperatorSubscriber(i,function(e){d[t]=e,f||p[t]||(p[t]=!0,(f=p.every(c.identity))&&(p=null))},u.noop))},m=0;m<l;m++)h(m);t.subscribe(a.createOperatorSubscriber(i,function(e){if(f){var t=o([e],n(d));i.next(r?r.apply(void 0,o([],n(t))):t)}}))})}},67060(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},67201(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AWSWebSocketProvider=void 0;const n=r(79364),o=r(11729),i=r(56547),a=r(22651),s=r(68769),c=r(57186),u=r(99271),l=r(22525),d=r(89604),p=r(29901),f=e=>{i.Hub.dispatch("api",e,"PubSub",c.AMPLIFY_SYMBOL)};t.AWSWebSocketProvider=class{constructor(e){this.subscriptionObserverMap=new Map,this.allowNoSubscriptions=!1,this.socketStatus=c.SOCKET_STATUS.CLOSED,this.keepAliveTimestamp=Date.now(),this.promiseArray=[],this.connectionStateMonitor=new u.ConnectionStateMonitor,this.reconnectionMonitor=new l.ReconnectionMonitor,this._establishConnection=async(e,t)=>{this.logger.debug(`Establishing WebSocket connection to ${e}`);try{await this._openConnection(e,t),await this._initiateHandshake()}catch(e){const{errorType:t,errorCode:r}=e;throw c.NON_RETRYABLE_CODES.includes(r)||c.NON_RETRYABLE_ERROR_TYPES.includes(t)?new a.NonRetryableError(t):t?new Error(t):e}},this.logger=new i.ConsoleLogger(e.providerName),this.wsProtocolName=e.wsProtocolName,this.wsConnectUri=e.connectUri,this.connectionStateMonitorSubscription=this._startConnectionStateMonitoring()}close(){return this.socketStatus=c.SOCKET_STATUS.CLOSED,this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CONNECTION_FAILED),this.connectionStateMonitorSubscription.unsubscribe(),this.reconnectionMonitor.close(),new Promise((e,t)=>{this.awsRealTimeSocket?(this.awsRealTimeSocket.onclose=t=>{this._closeSocket(),this.subscriptionObserverMap=new Map,this.awsRealTimeSocket=void 0,e()},this.awsRealTimeSocket.onerror=e=>{t(e)},this.awsRealTimeSocket.close()):e()})}subscribe(e,t){return new n.Observable(r=>{if(!e?.appSyncGraphqlEndpoint)return r.error({errors:[{...new o.GraphQLError("Subscribe only available for AWS AppSync endpoint")}]}),void r.complete();let i=!1;const c=(0,a.amplifyUuid)(),u=()=>{i||(i=!0,this._startSubscriptionWithAWSAppSyncRealTime({options:e,observer:r,subscriptionId:c,customUserAgentDetails:t}).catch(e=>{this.logger.debug(`${s.CONTROL_MSG.REALTIME_SUBSCRIPTION_INIT_ERROR}: ${e}`),this._closeSocket()}).finally(()=>{i=!1}))},l=new n.Observable(e=>{this.reconnectionMonitor.addObserver(e)}).subscribe(()=>{u()});return u(),async()=>{await this._cleanupSubscription(c,l)}})}async connect(e){this.socketStatus!==c.SOCKET_STATUS.READY&&await this._connectWebSocket(e)}async publish(e,t){if(this.socketStatus!==c.SOCKET_STATUS.READY)throw new Error("Subscription has not been initialized");return this._publishMessage(e,t)}async _connectWebSocket(e){const{apiKey:t,appSyncGraphqlEndpoint:r,authenticationType:n,region:o}=e,{additionalCustomHeaders:i}=await(0,d.additionalHeadersFromOptions)(e);this.connectionStateMonitor.record(u.CONNECTION_CHANGE.OPENING_CONNECTION),await this._initializeWebSocketConnection({apiKey:t,appSyncGraphqlEndpoint:r,authenticationType:n,region:o,additionalCustomHeaders:i})}async _publishMessage(e,t){const r=(0,a.amplifyUuid)(),{additionalCustomHeaders:n,libraryConfigHeaders:o}=await(0,d.additionalHeadersFromOptions)(e),i=await this._prepareSubscriptionPayload({options:e,subscriptionId:r,customUserAgentDetails:t,additionalCustomHeaders:n,libraryConfigHeaders:o,publish:!0});return new Promise((e,t)=>{if(this.awsRealTimeSocket){const n=o=>{const i=JSON.parse(o.data);if(i.id===r&&"publish_success"===i.type&&(this.awsRealTimeSocket&&this.awsRealTimeSocket.removeEventListener("message",n),s(),e()),i.errors&&i.errors.length>0){const e=i.errors.map(e=>e.errorType);s(),t(new Error(`Publish errors: ${e.join(", ")}`))}},o=e=>{s(),t(new Error(`WebSocket error: ${e}`))},a=()=>{s(),t(new Error("WebSocket is closed"))},s=()=>{this.awsRealTimeSocket?.removeEventListener("message",n),this.awsRealTimeSocket?.removeEventListener("error",o),this.awsRealTimeSocket?.removeEventListener("close",a)};this.awsRealTimeSocket.addEventListener("message",n),this.awsRealTimeSocket.addEventListener("error",o),this.awsRealTimeSocket.addEventListener("close",a),this.awsRealTimeSocket.send(i)}else t(new Error("WebSocket is not connected"))})}async _cleanupSubscription(e,t){t?.unsubscribe();try{await this._waitForSubscriptionToBeConnected(e);const{subscriptionState:t}=this.subscriptionObserverMap.get(e)||{};if(!t)return;if(t!==c.SUBSCRIPTION_STATUS.CONNECTED)throw new Error("Subscription never connected");this._sendUnsubscriptionMessage(e)}catch(e){this.logger.debug(`Error while unsubscribing ${e}`)}finally{this._removeSubscriptionObserver(e)}}_startConnectionStateMonitoring(){return this.connectionStateMonitor.connectionStateObservable.subscribe(e=>{f({event:c.CONNECTION_STATE_CHANGE,data:{provider:this,connectionState:e},message:`Connection state is ${e}`}),this.connectionState=e,e===s.ConnectionState.ConnectionDisrupted&&this.reconnectionMonitor.record(l.ReconnectEvent.START_RECONNECT),[s.ConnectionState.Connected,s.ConnectionState.ConnectedPendingDisconnect,s.ConnectionState.ConnectedPendingKeepAlive,s.ConnectionState.ConnectedPendingNetwork,s.ConnectionState.ConnectionDisruptedPendingNetwork,s.ConnectionState.Disconnected].includes(e)&&this.reconnectionMonitor.record(l.ReconnectEvent.HALT_RECONNECT)})}async _startSubscriptionWithAWSAppSyncRealTime({options:e,observer:t,subscriptionId:r,customUserAgentDetails:n}){const{query:o,variables:i}=e;this.subscriptionObserverMap.set(r,{observer:t,query:o??"",variables:i??{},subscriptionState:c.SUBSCRIPTION_STATUS.PENDING,startAckTimeoutId:void 0});const{additionalCustomHeaders:a,libraryConfigHeaders:s}=await(0,d.additionalHeadersFromOptions)(e),u=await this._prepareSubscriptionPayload({options:e,subscriptionId:r,customUserAgentDetails:n,additionalCustomHeaders:a,libraryConfigHeaders:s});try{await this._connectWebSocket(e)}catch(e){return void this._logStartSubscriptionError(r,t,e)}const{subscriptionFailedCallback:l,subscriptionReadyCallback:p}=this.subscriptionObserverMap.get(r)??{};this.subscriptionObserverMap.set(r,{observer:t,subscriptionState:c.SUBSCRIPTION_STATUS.PENDING,query:o??"",variables:i??{},subscriptionReadyCallback:p,subscriptionFailedCallback:l,startAckTimeoutId:setTimeout(()=>{this._timeoutStartSubscriptionAck(r)},c.START_ACK_TIMEOUT)}),this.awsRealTimeSocket&&this.awsRealTimeSocket.send(u)}_logStartSubscriptionError(e,t,r){this.logger.debug({err:r});const n=String(r.message??"");if(this._closeSocket(),this.connectionState!==s.ConnectionState.ConnectionDisruptedPendingNetwork){(0,a.isNonRetryableError)(r)?t.error({errors:[{...new o.GraphQLError(`${s.CONTROL_MSG.CONNECTION_FAILED}: ${n}`)}]}):this.logger.debug(`${s.CONTROL_MSG.CONNECTION_FAILED}: ${n}`);const{subscriptionFailedCallback:i}=this.subscriptionObserverMap.get(e)||{};"function"==typeof i&&i()}}async _waitForSubscriptionToBeConnected(e){const t=this.subscriptionObserverMap.get(e);if(t){const{subscriptionState:r}=t;if(r===c.SUBSCRIPTION_STATUS.PENDING)return new Promise((r,n)=>{const{observer:o,subscriptionState:i,variables:a,query:s}=t;this.subscriptionObserverMap.set(e,{observer:o,subscriptionState:i,variables:a,query:s,subscriptionReadyCallback:r,subscriptionFailedCallback:n})})}}_sendUnsubscriptionMessage(e){try{if(this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.socketStatus===c.SOCKET_STATUS.READY){const t=this._unsubscribeMessage(e),r=JSON.stringify(t);this.awsRealTimeSocket.send(r)}}catch(e){this.logger.debug({err:e})}}_removeSubscriptionObserver(e){this.subscriptionObserverMap.delete(e),this.allowNoSubscriptions||setTimeout(this._closeSocketIfRequired.bind(this),1e3)}_closeSocketIfRequired(){if(!(this.subscriptionObserverMap.size>0))if(this.awsRealTimeSocket)if(this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CLOSING_CONNECTION),this.awsRealTimeSocket.bufferedAmount>0)setTimeout(this._closeSocketIfRequired.bind(this),1e3);else{this.logger.debug("closing WebSocket...");const e=this.awsRealTimeSocket;e.onclose=null,e.onerror=null,e.close(1e3),this.awsRealTimeSocket=void 0,this.socketStatus=c.SOCKET_STATUS.CLOSED,this._closeSocket()}else this.socketStatus=c.SOCKET_STATUS.CLOSED}maintainKeepAlive(){this.keepAliveTimestamp=Date.now()}keepAliveHeartbeat(e){const t=Date.now();t-this.keepAliveTimestamp>c.DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT?this.connectionStateMonitor.record(u.CONNECTION_CHANGE.KEEP_ALIVE_MISSED):this.connectionStateMonitor.record(u.CONNECTION_CHANGE.KEEP_ALIVE),t-this.keepAliveTimestamp>e&&this._errorDisconnect(s.CONTROL_MSG.TIMEOUT_DISCONNECT)}_handleIncomingSubscriptionMessage(e){if("string"!=typeof e.data)return;const[t,r]=this._handleSubscriptionData(e);if(t)return void this.maintainKeepAlive();const{type:n,id:i,payload:a}=r,{observer:l=null,query:d="",variables:p={},startAckTimeoutId:h,subscriptionReadyCallback:m,subscriptionFailedCallback:g}=this.subscriptionObserverMap.get(i)||{};if(n===c.MESSAGE_TYPES.GQL_START_ACK||n===c.MESSAGE_TYPES.EVENT_SUBSCRIBE_ACK){this.logger.debug(`subscription ready for ${JSON.stringify({query:d,variables:p})}`),"function"==typeof m&&m(),h&&clearTimeout(h),f({event:s.CONTROL_MSG.SUBSCRIPTION_ACK,data:{query:d,variables:p},message:"Connection established for subscription"});const e=c.SUBSCRIPTION_STATUS.CONNECTED;return l&&this.subscriptionObserverMap.set(i,{observer:l,query:d,variables:p,startAckTimeoutId:void 0,subscriptionState:e,subscriptionReadyCallback:m,subscriptionFailedCallback:g}),void this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CONNECTION_ESTABLISHED)}if(n!==c.MESSAGE_TYPES.GQL_CONNECTION_KEEP_ALIVE){if(n===c.MESSAGE_TYPES.GQL_ERROR||n===c.MESSAGE_TYPES.EVENT_SUBSCRIBE_ERROR){const t=c.SUBSCRIPTION_STATUS.FAILED;if(l){this.subscriptionObserverMap.set(i,{observer:l,query:d,variables:p,startAckTimeoutId:h,subscriptionReadyCallback:m,subscriptionFailedCallback:g,subscriptionState:t});let u=JSON.stringify(a??r);if(n===c.MESSAGE_TYPES.EVENT_SUBSCRIBE_ERROR){const{errors:t}=JSON.parse(String(e.data));if(Array.isArray(t)&&t.length>0){const e=t[0];u=`${e.errorType}: ${e.message}`}}this.logger.debug(`${s.CONTROL_MSG.CONNECTION_FAILED}: ${u}`),l.error({errors:[{...new o.GraphQLError(`${s.CONTROL_MSG.CONNECTION_FAILED}: ${u}`)}]}),h&&clearTimeout(h),"function"==typeof g&&g()}}}else this.maintainKeepAlive()}_errorDisconnect(e){this.logger.debug(`Disconnect error: ${e}`),this.awsRealTimeSocket&&(this._closeSocket(),this.awsRealTimeSocket.close()),this.socketStatus=c.SOCKET_STATUS.CLOSED}_closeSocket(){this.keepAliveHeartbeatIntervalId&&(clearInterval(this.keepAliveHeartbeatIntervalId),this.keepAliveHeartbeatIntervalId=void 0),this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CLOSED)}_timeoutStartSubscriptionAck(e){const t=this.subscriptionObserverMap.get(e);if(t){const{observer:r,query:n,variables:o}=t;if(!r)return;this.subscriptionObserverMap.set(e,{observer:r,query:n,variables:o,subscriptionState:c.SUBSCRIPTION_STATUS.FAILED}),this._closeSocket(),this.logger.debug("timeoutStartSubscription",JSON.stringify({query:n,variables:o}))}}_initializeWebSocketConnection({appSyncGraphqlEndpoint:e,authenticationType:t,apiKey:r,region:n,additionalCustomHeaders:o}){if(this.socketStatus!==c.SOCKET_STATUS.READY)return new Promise(async(i,s)=>{if(this.promiseArray.push({res:i,rej:s}),this.socketStatus===c.SOCKET_STATUS.CLOSED)try{this.socketStatus=c.SOCKET_STATUS.CONNECTING;const i="{}",s=await(0,p.awsRealTimeHeaderBasedAuth)({authenticationType:t,payload:i,canonicalUri:this.wsConnectUri,apiKey:r,appSyncGraphqlEndpoint:e,region:n,additionalCustomHeaders:o}),u=s?JSON.stringify(s):"",l=`header-${a.base64Encoder.convert(u,{urlSafe:!0,skipPadding:!0})}`,f=(0,d.queryParamsFromCustomHeaders)(o),h=(0,d.realtimeUrlWithQueryString)(e,f);await this._establishRetryableConnection(h,l),this.promiseArray.forEach(({res:e})=>{this.logger.debug("Notifying connection successful"),e()}),this.socketStatus=c.SOCKET_STATUS.READY,this.promiseArray=[]}catch(e){this.logger.debug("Connection exited with",e),this.promiseArray.forEach(({rej:t})=>{t(e)}),this.promiseArray=[],this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.awsRealTimeSocket.close(3001),this.awsRealTimeSocket=void 0,this.socketStatus=c.SOCKET_STATUS.CLOSED}})}async _establishRetryableConnection(e,t){this.logger.debug("Establishing retryable connection"),await(0,a.jitteredExponentialRetry)(this._establishConnection.bind(this),[e,t],c.MAX_DELAY_MS)}async _openConnection(e,t){return new Promise((r,n)=>{const o=this._getNewWebSocket(e,[this.wsProtocolName,t]);o.onerror=()=>{this.logger.debug("WebSocket connection error")},o.onclose=()=>{this._closeSocket(),n(new Error("Connection handshake error"))},o.onopen=()=>{this.awsRealTimeSocket=o,r()}})}_getNewWebSocket(e,t){return new WebSocket(e,t)}async _initiateHandshake(){return new Promise((e,t)=>{if(!this.awsRealTimeSocket)return void t(new Error("awsRealTimeSocket undefined"));let r=!1;this.awsRealTimeSocket.onerror=e=>{this.logger.debug(`WebSocket error ${JSON.stringify(e)}`)},this.awsRealTimeSocket.onclose=e=>{this.logger.debug(`WebSocket closed ${e.reason}`),this._closeSocket(),t(new Error(JSON.stringify(e)))},this.awsRealTimeSocket.onmessage=n=>{if("string"!=typeof n.data)return;this.logger.debug(`subscription message from AWS AppSyncRealTime: ${n.data} `);const o=JSON.parse(n.data),{type:i}=o,a=this._extractConnectionTimeout(o);if(i===c.MESSAGE_TYPES.GQL_CONNECTION_ACK)return r=!0,this._registerWebsocketHandlers(a),void e("Connected to AWS AppSyncRealTime");if(i===c.MESSAGE_TYPES.GQL_CONNECTION_ERROR){const{errorType:e,errorCode:r}=this._extractErrorCodeAndType(o);t({errorType:e,errorCode:r})}};const n={type:c.MESSAGE_TYPES.GQL_CONNECTION_INIT};this.awsRealTimeSocket.send(JSON.stringify(n));const o=e=>{e||(this.connectionStateMonitor.record(u.CONNECTION_CHANGE.CONNECTION_FAILED),t(new Error(`Connection timeout: ack from AWSAppSyncRealTime was not received after ${c.CONNECTION_INIT_TIMEOUT} ms`)))};setTimeout(()=>{o(r)},c.CONNECTION_INIT_TIMEOUT)})}_registerWebsocketHandlers(e){this.awsRealTimeSocket&&(this.keepAliveHeartbeatIntervalId=setInterval(()=>{this.keepAliveHeartbeat(e)},c.DEFAULT_KEEP_ALIVE_HEARTBEAT_TIMEOUT),this.awsRealTimeSocket.onmessage=this._handleIncomingSubscriptionMessage.bind(this),this.awsRealTimeSocket.onerror=e=>{this.logger.debug(e),this._errorDisconnect(s.CONTROL_MSG.CONNECTION_CLOSED)},this.awsRealTimeSocket.onclose=e=>{this.logger.debug(`WebSocket closed ${e.reason}`),this._closeSocket(),this._errorDisconnect(s.CONTROL_MSG.CONNECTION_CLOSED)})}}},67403(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSignature=void 0;const n=r(61176),o=r(13890),i=r(79187),a=r(38124);t.getSignature=(e,{credentialScope:t,longDate:r,secretAccessKey:s,shortDate:c,signingRegion:u,signingService:l,uriEscapePath:d})=>{const p=(0,o.getCanonicalRequest)(e,d),f=(0,n.getHashedDataAsHex)(null,p),h=(0,a.getStringToSign)(r,t,f);return(0,n.getHashedDataAsHex)((0,i.getSigningKey)(s,c,u,l),h)}},67478(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMap=void 0;var n=r(26872),o=r(19724),i=r(65212),a=r(2574),s=r(10281);t.mergeMap=function e(t,r,c){return void 0===c&&(c=1/0),s.isFunction(r)?e(function(e,i){return n.map(function(t,n){return r(e,t,i,n)})(o.innerFrom(t(e,i)))},c):("number"==typeof r&&(c=r),i.operate(function(e,r){return a.mergeInternals(e,r,t,c)}))}},67492(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateModelsProperty=function(e,t,r){const s={},{config:c}=t,u=null===t.amplify;if(!c)throw new Error("generateModelsProperty cannot retrieve Amplify config");if(!c.API?.GraphQL)return{};const l=c.API.GraphQL.modelIntrospection;if(!l)return{};const d=["ONCREATE","ONUPDATE","ONDELETE","OBSERVEQUERY"];for(const t of Object.values(l.models)){const{name:c}=t;s[c]={};const p=(0,a.excludeDisabledOps)(l,c);Object.entries(p).forEach(([o,{operationPrefix:a}])=>{const p=o;d.includes(p)||(s[c][a]="LIST"===p?(0,n.listFactory)(e,l,t,r,u):(0,i.getFactory)(e,l,t,p,r,u))});const f=(0,a.getSecondaryIndexesFromSchemaModel)(t);for(const n of f)s[c][n.queryField]=(0,o.indexQueryFactory)(e,l,t,n,r,u)}return s};const n=r(23151),o=r(36135),i=r(68523),a=r(42368)},67552(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0;var n=r(10281);t.isPromise=function(e){return n.isFunction(null==e?void 0:e.then)}},67579(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertPasskeyError=t.PasskeyErrorCode=t.PasskeyError=t.handlePasskeyRegistrationError=t.handlePasskeyAuthenticationError=void 0;var n=r(24315);Object.defineProperty(t,"handlePasskeyAuthenticationError",{enumerable:!0,get:function(){return n.handlePasskeyAuthenticationError}});var o=r(46644);Object.defineProperty(t,"handlePasskeyRegistrationError",{enumerable:!0,get:function(){return o.handlePasskeyRegistrationError}});var i=r(54129);Object.defineProperty(t,"PasskeyError",{enumerable:!0,get:function(){return i.PasskeyError}}),Object.defineProperty(t,"PasskeyErrorCode",{enumerable:!0,get:function(){return i.PasskeyErrorCode}}),Object.defineProperty(t,"assertPasskeyError",{enumerable:!0,get:function(){return i.assertPasskeyError}})},67609(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCredentials=t.fetchAuthSession=t.Amplify=t.AmplifyClass=void 0;var n=r(28269);Object.defineProperty(t,"AmplifyClass",{enumerable:!0,get:function(){return n.AmplifyClass}}),Object.defineProperty(t,"Amplify",{enumerable:!0,get:function(){return n.Amplify}});var o=r(98229);Object.defineProperty(t,"fetchAuthSession",{enumerable:!0,get:function(){return o.fetchAuthSession}});var i=r(90746);Object.defineProperty(t,"clearCredentials",{enumerable:!0,get:function(){return i.clearCredentials}})},67635(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheKey=void 0,t.getCacheKey=(e,t)=>`${t}:pinpoint:${e}`},67689(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.CacheErrorCode=void 0;const n=r(1123);var o;!function(e){e.NoCacheItem="NoCacheItem",e.NullNextNode="NullNextNode",e.NullPreviousNode="NullPreviousNode"}(o||(t.CacheErrorCode=o={}));const i={[o.NoCacheItem]:{message:"Item not found in the cache storage."},[o.NullNextNode]:{message:"Next node is null."},[o.NullPreviousNode]:{message:"Previous node is null."}};t.assert=(0,n.createAssertionFunction)(i)},67791(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSignedHeaders=void 0,t.getSignedHeaders=e=>Object.keys(e).map(e=>e.toLowerCase()).sort().join(";")},67904(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorage=void 0;const n=r(44056),o=r(72380);class i extends n.KeyValueStorage{constructor(){super((0,o.getSessionStorageWithFallback)())}}t.SessionStorage=i},67933(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestAll=void 0;var n=r(88246),o=r(80719);t.combineLatestAll=function(e){return o.joinAllInternals(n.combineLatest,e)}},68087(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=void 0;var n=r(67478),o=r(87699);t.mergeAll=function(e){return void 0===e&&(e=1/0),n.mergeMap(o.identity,e)}},68116(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openAuthSession=void 0,t.openAuthSession=async e=>{window?.location&&(window.location.href=e.replace("http://","https://"))}},68177(e,t,r){"use strict";function n(e){return"string"==typeof e?{value:e,label:e}:"value"in e&&!("label"in e)?{value:e.value,label:e.value,disabled:e.disabled}:"number"==typeof e?{value:e.toString(),label:e.toString()}:"group"in e?{group:e.group,items:e.items.map(e=>n(e))}:e}function o(e){return e?e.map(e=>n(e)):[]}r.d(t,{d:()=>o})},68463(e,t,r){"use strict";r.d(t,{D:()=>i});var n=r(87525);const o=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],i=e=>async(t,r)=>{const n=r??await e(t)??void 0,i=n?.code||n?.name,a=t?.statusCode;return{retryable:u(r)||c(a,i)||(e=>!!e&&o.includes(e))(i)||l(a,i)}},a=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],s=["TimeoutError","RequestTimeout","RequestTimeoutException"],c=(e,t)=>429===e||!!t&&a.includes(t),u=e=>[n.m.NetworkError,"ERR_NETWORK"].includes(e?.name),l=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&s.includes(t)},68506(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAmplifyConfig=void 0;const n=r(60448),o=r(57706);t.parseAmplifyConfig=e=>Object.keys(e).some(e=>e.startsWith("aws_"))?(0,n.parseAWSExports)(e):(0,o.isAmplifyOutputs)(e)?(0,o.parseAmplifyOutputs)(e):e},68523(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFactory=function(e,t,r,n,o,i=!1,a){return i?(i,s,u)=>c(e,t,r,s,u,n,o,i,a):(i,s)=>c(e,t,r,i,s,n,o,void 0,a)};const n=r(44287),o=r(48310),i=r(17631),a=r(53841),s=r(83102);function c(e,t,r,c,u,l,d,p,f){return(0,i.selfAwareAsync)(async i=>{const{name:h}=r,m=(0,n.generateGraphQLDocument)(t,r,l,u),g=(0,n.buildGraphQLVariables)(r,l,c,t),y=(0,n.authModeParams)(e,d,u),v=(0,n.getCustomHeaders)(e,d,u?.headers),b=(0,s.createUserAgentOverride)(f);try{const r=p?e.graphql(p,{...y,query:m,variables:g},v):e.graphql({...y,query:m,variables:g,...b},v),o=(0,a.extendCancellability)(r,i),{data:s,extensions:c}=await o;if(s){const[r]=Object.keys(s),o=(0,n.flattenItems)(t,h,s[r]);if(null===o)return{data:null,extensions:c};if(u?.selectionSet)return{data:o,extensions:c};{const[r]=(0,n.initializeModel)(e,h,[o],t,y.authMode,y.authToken,!!p);return{data:r,extensions:c}}}return{data:null,extensions:c}}catch(r){const{data:i,errors:a}=r;if(i&&0!==Object.keys(i).length&&a){const[s]=Object.keys(i),c=(0,n.flattenItems)(t,h,i[s]);if(c){if(u?.selectionSet)return{data:c,errors:a};{const[r]=(0,n.initializeModel)(e,h,[c],t,y.authMode,y.authToken,!!p);return{data:r,errors:a}}}return(0,o.handleSingularGraphQlError)(r)}return(0,o.handleSingularGraphQlError)(r)}})}},68582(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NO_HUBCALLBACK_PROVIDED_EXCEPTION=t.USER_AGENT_HEADER=t.AWS_CLOUDWATCH_CATEGORY=void 0,t.AWS_CLOUDWATCH_CATEGORY="Logging",t.USER_AGENT_HEADER="x-amz-user-agent",t.NO_HUBCALLBACK_PROVIDED_EXCEPTION="NoHubcallbackProvidedException"},68584(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetIdClient=void 0;const n=r(7884),o=r(39236),i=r(4463),a=r(17943),s=r(18057),c=r(78744);t.createGetIdClient=e=>(0,o.composeServiceApi)(s.cognitoIdentityTransferHandler,(0,c.createClientSerializer)("GetId"),u,{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e,userAgentValue:(0,i.getAmplifyUserAgent)()});const u=async e=>{if(e.statusCode>=300)throw await(0,n.parseJsonError)(e);return{IdentityId:(await(0,n.parseJsonBody)(e)).IdentityId,$metadata:(0,n.parseMetadata)(e)}}},68596(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=void 0;var n=r(10281);t.isScheduler=function(e){return e&&n.isFunction(e.schedule)}},68690(e,t,r){"use strict";r.d(t,{I:()=>o});const n={app:100,modal:200,popover:300,overlay:400,max:9999};function o(e){return n[e]}},68710(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishReplay=void 0;var n=r(10381),o=r(18464),i=r(10281);t.publishReplay=function(e,t,r,a){r&&!i.isFunction(r)&&(a=r);var s=i.isFunction(r)?r:void 0;return function(r){return o.multicast(new n.ReplaySubject(e,t,a),s)(r)}}},68769(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionState=t.CONTROL_MSG=void 0,function(e){e.CONNECTION_CLOSED="Connection closed",e.CONNECTION_FAILED="Connection failed",e.REALTIME_SUBSCRIPTION_INIT_ERROR="AppSync Realtime subscription init error",e.SUBSCRIPTION_ACK="Subscription ack",e.TIMEOUT_DISCONNECT="Timeout disconnect"}(r||(t.CONTROL_MSG=r={})),function(e){e.Connected="Connected",e.ConnectedPendingNetwork="ConnectedPendingNetwork",e.ConnectionDisrupted="ConnectionDisrupted",e.ConnectionDisruptedPendingNetwork="ConnectionDisruptedPendingNetwork",e.Connecting="Connecting",e.ConnectedPendingDisconnect="ConnectedPendingDisconnect",e.Disconnected="Disconnected",e.ConnectedPendingKeepAlive="ConnectedPendingKeepAlive"}(n||(t.ConnectionState=n={}))},69019(e,t,r){"use strict";r.d(t,{B:()=>f});var n=r(10790),o=(r(51609),r(56324)),i=r(59396),a=r(46100),s=r(52837),c=r(11507),u=r(2412),l={root:"m_6d731127"};const d={gap:"md",align:"stretch",justify:"flex-start"},p=(0,i.V)((e,{gap:t,align:r,justify:n})=>({root:{"--stack-gap":(0,o.GY)(t),"--stack-align":r,"--stack-justify":n}})),f=(0,u.P9)((e,t)=>{const r=(0,a.Y)("Stack",d,e),{classNames:o,className:i,style:u,styles:f,unstyled:h,vars:m,align:g,justify:y,gap:v,variant:b,attributes:E,...w}=r,S=(0,s.I)({name:"Stack",props:r,classes:l,className:i,style:u,classNames:o,styles:f,unstyled:h,attributes:E,vars:m,varsResolver:p});return(0,n.jsx)(c.a,{ref:t,...S("root"),variant:b,...w})});f.classes=l,f.displayName="@mantine/core/Stack"},69384(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceWorkerClass=void 0;const n=r(69580),o=r(72685),i=r(1123),a=r(50120),s=r(67609),c=r(87614);t.ServiceWorkerClass=class{constructor(){this._logger=new n.ConsoleLogger("ServiceWorker")}get serviceWorker(){return(0,c.assert)(void 0!==this._serviceWorker,c.ServiceWorkerErrorCode.UndefinedInstance),this._serviceWorker}register(e="/service-worker.js",t="/"){return this._logger.debug(`registering ${e}`),this._logger.debug(`registering service worker with scope ${t}`),new Promise((r,n)=>{navigator&&"serviceWorker"in navigator?navigator.serviceWorker.register(e,{scope:t}).then(e=>{e.installing?this._serviceWorker=e.installing:e.waiting?this._serviceWorker=e.waiting:e.active&&(this._serviceWorker=e.active),this._registration=e,this._setupListeners(),this._logger.debug(`Service Worker Registration Success: ${e}`),r(e)}).catch(e=>{this._logger.debug(`Service Worker Registration Failed ${e}`),n(new i.AmplifyError({name:c.ServiceWorkerErrorCode.Unavailable,message:"Service Worker not available",underlyingError:e}))}):n(new i.AmplifyError({name:c.ServiceWorkerErrorCode.Unavailable,message:"Service Worker not available"}))})}enablePush(e){return(0,c.assert)(void 0!==this._registration,c.ServiceWorkerErrorCode.UndefinedRegistration),this._publicKey=e,new Promise((t,r)=>{(0,o.isBrowser)()?((0,c.assert)(void 0!==this._registration,c.ServiceWorkerErrorCode.UndefinedRegistration),this._registration.pushManager.getSubscription().then(r=>{if(!r)return this._logger.debug("User is NOT subscribed to push"),this._registration.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:this._urlB64ToUint8Array(e)}).then(e=>{this._subscription=e,this._logger.debug(`User subscribed: ${JSON.stringify(e)}`),t(e)}).catch(e=>{this._logger.error(e)});this._subscription=r,this._logger.debug(`User is subscribed to push: ${JSON.stringify(r)}`),t(r)})):r(new i.AmplifyError({name:c.ServiceWorkerErrorCode.Unavailable,message:"Service Worker not available"}))})}_urlB64ToUint8Array(e){const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),r=window.atob(t),n=new Uint8Array(r.length);for(let e=0;e<r.length;++e)n[e]=r.charCodeAt(e);return n}send(e){this._serviceWorker&&this._serviceWorker.postMessage("object"==typeof e?JSON.stringify(e):e)}_setupListeners(){this.serviceWorker.addEventListener("statechange",async()=>{const e=this.serviceWorker.state;this._logger.debug(`ServiceWorker statechange: ${e}`);const{appId:t,region:r,bufferSize:n,flushInterval:o,flushSize:i,resendLimit:c}=s.Amplify.getConfig().Analytics?.Pinpoint??{},{credentials:u}=await(0,s.fetchAuthSession)();t&&r&&u&&(0,a.record)({appId:t,region:r,category:"Core",credentials:u,bufferSize:n,flushInterval:o,flushSize:i,resendLimit:c,event:{name:"ServiceWorker",attributes:{state:e}}})}),this.serviceWorker.addEventListener("message",e=>{this._logger.debug(`ServiceWorker message event: ${e}`)})}}},69517(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscriptionError=void 0;var n=r(9619);t.UnsubscriptionError=n.createErrorClass(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}})},69580(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogger=void 0;var n=r(90413);Object.defineProperty(t,"ConsoleLogger",{enumerable:!0,get:function(){return n.ConsoleLogger}})},69721(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLApiError=void 0;const n=r(22651);class o extends n.AmplifyError{constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}t.GraphQLApiError=o},69752(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerPasskey=void 0;const n=r(13321),o=r(2126),i=r(67579),a=r(6837);t.registerPasskey=async e=>{try{const t=(0,a.getIsPasskeySupported)();(0,i.assertPasskeyError)(t,i.PasskeyErrorCode.PasskeyNotSupported);const r=(0,o.deserializeJsonToPkcCreationOptions)(e),s=await navigator.credentials.create({publicKey:r});return(0,n.assertCredentialIsPkcWithAuthenticatorAttestationResponse)(s),(0,o.serializePkcWithAttestationToJson)(s)}catch(e){throw(0,i.handlePasskeyRegistrationError)(e)}}},69802(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CacheList=void 0;const n=r(67689);class o{constructor(e){this.key=e||"",this.prevNode=null,this.nextNode=null}}t.CacheList=class{constructor(){this.head=new o,this.tail=new o,this.hashtable={},this.length=0,this.head.nextNode=this.tail,this.tail.prevNode=this.head}insertNodeToHead(e){const t=this.head.nextNode;this.head.nextNode=e,e.nextNode=t,e.prevNode=this.head,(0,n.assert)(null!==t,n.CacheErrorCode.NullPreviousNode),t.prevNode=e,this.length=this.length+1}removeNode(e){(0,n.assert)(null!==e.prevNode,n.CacheErrorCode.NullPreviousNode),(0,n.assert)(null!==e.nextNode,n.CacheErrorCode.NullNextNode),e.prevNode.nextNode=e.nextNode,e.nextNode.prevNode=e.prevNode,e.prevNode=null,e.nextNode=null,this.length=this.length-1}isEmpty(){return 0===this.length}refresh(e){const t=this.hashtable[e];this.removeNode(t),this.insertNodeToHead(t)}insertItem(e){const t=new o(e);this.hashtable[e]=t,this.insertNodeToHead(t)}getLastItem(){return(0,n.assert)(null!==this.tail.prevNode,n.CacheErrorCode.NullPreviousNode),this.tail.prevNode.key}removeItem(e){const t=this.hashtable[e];this.removeNode(t),delete this.hashtable[e]}getSize(){return this.length}containsKey(e){return e in this.hashtable}clearList(){for(const e of Object.keys(this.hashtable))Object.prototype.hasOwnProperty.call(this.hashtable,e)&&delete this.hashtable[e];this.head.nextNode=this.tail,this.tail.prevNode=this.head,this.length=0}getKeys(){return Object.keys(this.hashtable)}isHeadNode(e){return this.hashtable[e].prevNode===this.head}isTailNode(e){return this.hashtable[e].nextNode===this.tail}}},69879(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.isSubscription=t.EMPTY_SUBSCRIPTION=t.Subscription=void 0;var a=r(10281),s=r(69517),c=r(54830),u=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,r,c,u;if(!this.closed){this.closed=!0;var d=this._parentage;if(d)if(this._parentage=null,Array.isArray(d))try{for(var p=n(d),f=p.next();!f.done;f=p.next())f.value.remove(this)}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}else d.remove(this);var h=this.initialTeardown;if(a.isFunction(h))try{h()}catch(e){u=e instanceof s.UnsubscriptionError?e.errors:[e]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var g=n(m),y=g.next();!y.done;y=g.next()){var v=y.value;try{l(v)}catch(e){u=null!=u?u:[],e instanceof s.UnsubscriptionError?u=i(i([],o(u)),o(e.errors)):u.push(e)}}}catch(e){r={error:e}}finally{try{y&&!y.done&&(c=g.return)&&c.call(g)}finally{if(r)throw r.error}}}if(u)throw new s.UnsubscriptionError(u)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)l(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&c.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&c.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}();function l(e){a.isFunction(e)?e():e.unsubscribe()}t.Subscription=u,t.EMPTY_SUBSCRIPTION=u.EMPTY,t.isSubscription=function(e){return e instanceof u||e&&"closed"in e&&a.isFunction(e.remove)&&a.isFunction(e.add)&&a.isFunction(e.unsubscribe)}},69915(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0;var n=r(65212),o=r(17214);t.isEmpty=function(){return n.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,function(){t.next(!1),t.complete()},function(){t.next(!0),t.complete()}))})}},69988(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRevokeTokenClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createRevokeTokenClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("RevokeToken"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},70201(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatAll=void 0;var n=r(68087);t.concatAll=function(){return n.mergeAll(1)}},70265(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAssociateSoftwareTokenClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createAssociateSoftwareTokenClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("AssociateSoftwareToken"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},70352(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRestApiServiceError=void 0;const n=r(7884),o=r(59645);t.parseRestApiServiceError=async e=>{if(!e)return;const t=await(0,n.parseJsonError)(i(e));if(t){const r=await(e.body?.text());return a(t,{statusCode:e.statusCode,headers:e.headers,body:r})}};const i=e=>{let t;const r=new Proxy(e.body,{get:(e,r,n)=>"json"===r?async()=>{t||(t=e.text());try{return JSON.parse(await t)}catch(e){return{}}}:"text"===r?async()=>(t||(t=e.text()),t):Reflect.get(e,r,n)});return new Proxy(e,{get:(e,t,n)=>"body"===t?r:Reflect.get(e,t,n)})},a=(e,t)=>{const r=new o.RestApiError({name:e?.name,message:e.message,underlyingError:e,response:t});return Object.assign(r,{$metadata:e.$metadata})}},70512(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.amzSdkRequestHeaderMiddlewareFactory=void 0;const n=r(27573);t.amzSdkRequestHeaderMiddlewareFactory=({maxAttempts:e=n.DEFAULT_RETRY_ATTEMPTS})=>(t,r)=>async function(o){const i=r.attemptsCount??0;return o.headers[n.AMZ_SDK_REQUEST_HEADER]=`attempt=${i+1}; max=${e}`,t(o)}},70544(e,t,r){"use strict";var n,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(c,{TEXT_DOMAIN:()=>w,clearMfaPreferences:()=>U,configureAmplify:()=>N,getAmplifyConfig:()=>T,getGateyPlugin:()=>l,getGroups:()=>$,getMfaPreferences:()=>z,getPreferredRole:()=>B,getRoles:()=>W,getScopes:()=>K,getStore:()=>p,getStoreDispatch:()=>x,getStoreSelect:()=>O,getUserAttributes:()=>L,initializeGatey:()=>ee,isAuthenticated:()=>V,isInGroup:()=>H,loadAuthSession:()=>j,loadMFAPreferences:()=>M,loadUserAttributes:()=>R,login:()=>G,logout:()=>q,observeStore:()=>k,sanitizeAuthenticatorConfig:()=>_,store:()=>Z,waitForGateyReady:()=>d}),e.exports=(n=c,((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))!s.call(e,r)&&undefined!==r&&o(e,r,{get:()=>t[r],enumerable:!(n=i(t,r))||n.enumerable});return e})(o({},"__esModule",{value:!0}),n));var u=r(61094);function l(){return globalThis.WpSuite?.plugins?.gatey}async function d(e=8e3){let t=l();if("available"!==t?.status){if("error"===t?.status)throw new Error("Gatey failed");await new Promise((t,r)=>{let n=()=>i(t),o=()=>i(()=>r(new Error("Gatey failed"))),i=e=>{window.removeEventListener("wpsuite:gatey:ready",n),window.removeEventListener("wpsuite:gatey:error",o),a&&clearTimeout(a),e()};window.addEventListener("wpsuite:gatey:ready",n,{once:!0}),window.addEventListener("wpsuite:gatey:error",o,{once:!0});let a=e?window.setTimeout(()=>i(()=>r(new Error("Gatey timeout"))),e):0})}}async function p(e=1e4){await d(e);let t=l()?.cognito?.store;if(!t)throw new Error("Gatey store is not available");return t}var f,h=r(94381),m=r(61964),g=r(61964),y=r(93135),v=r(47143),b=r(63661),E="gatey_account",w="gatey";f=typeof WpSuite<"u"?WpSuite.siteSettings:{};var S=e=>{e?.username?window.localStorage.setItem(E,JSON.stringify(e)):window.localStorage.removeItem(E)},A=async e=>{let t=JSON.parse(window.localStorage.getItem(E)??"{}"),r=!1;if(t?.username)try{let e=await(0,g.fetchAuthSession)();e?.tokens?.accessToken?.payload?.exp&&e.tokens.accessToken.payload.exp>(new Date).getTime()/1e3&&(r=!0)}catch(e){console.error(e)}else try{t=await D(!1),t?.username&&(S(t),t.loaded=!0,r=!0)}catch(e){console.error(e)}return!r&&t?.username&&(S({}),p().then(async t=>{await q(e?.signOutHook),x(t).clearAccount()})),t},_=e=>{let t=e&&"object"==typeof e?e:{},r={customProviders:Array.isArray(t.customProviders)?t.customProviders:[],formFields:Array.isArray(t.formFields)?t.formFields:[],apiConfigurations:"object"==typeof t.apiConfigurations&&t.apiConfigurations?t.apiConfigurations:{default:{apis:[]}}};return"string"==typeof t.subscriptionType&&(r.subscriptionType=t.subscriptionType),r},P={setAmplifyConfig:e=>({type:"SET_AMPLIFY_CONFIG",amplifyConfig:e}),setAccount:e=>({type:"SET_ACCOUNT",account:e}),clearAccount:()=>({type:"CLEAR_ACCOUNT"}),setSignedIn:e=>({type:"SET_SIGNED_IN",signedIn:e}),setNextUrl:e=>({type:"SET_NEXT_URL",nextUrl:e}),setLanguage:e=>(e&&"system"!==e?y.I18n.setLanguage(e):y.I18n.setLanguage(""),{type:"SET_LANGUAGE",language:e}),setDirection:e=>({type:"SET_DIRECTION",direction:e}),reloadAuthSession:()=>({type:"RELOAD_AUTH_SESSION"}),reloadUserAttributes:()=>({type:"RELOAD_USER_ATTRIBUTES"}),reloadMFAPreferences:()=>({type:"RELOAD_MFA_PREFERENCE"})},C={getAmplifyConfig:e=>e.amplifyConfig,getAccount:e=>e.account,getNextUrl:e=>e.nextUrl,isSignedIn:e=>e.signedIn,getConfig:e=>e.config,getCustomTranslations:e=>e.customTranslations,getLanguage:e=>e.language,getDirection:e=>e.direction,getState:e=>e},I={},x=e=>(0,v.dispatch)(e),O=e=>(0,v.select)(e),k=(e,t,r)=>{let n;function o(){let o=O(e).getState(),i=t(o);if(i!==n){let e=n;n=i,r(n,e)}}let i=(0,v.subscribe)(o,e);return o(),i},T=()=>h.Amplify.getConfig(),N=(e,t)=>{h.Amplify.configure(e,t)},j=e=>(0,m.fetchAuthSession)(e),R=()=>(0,m.fetchUserAttributes)(),M=()=>(0,m.fetchMFAPreference)(),D=async(e=!0)=>{let t=e?await A():{};if(t?.username)return t;try{if((await(0,m.fetchAuthSession)()).tokens)return{username:(await(0,m.getCurrentUser)()).username,userAttributes:await R(),mfaPreferences:await M()}}catch(e){console.error(e);try{await(0,m.signOut)()}catch{}}return{}},U=async()=>{await(0,m.updateMFAPreference)({totp:"DISABLED"})},F=()=>A().then(e=>e?.username),L=()=>A().then(e=>e?.userAttributes),z=()=>A().then(e=>e?.mfaPreferences),V=()=>A().then(e=>!!e?.username),H=e=>$().then(t=>t?.includes(e)||!1),$=()=>j().then(e=>e.tokens?.idToken?.payload["cognito:groups"]instanceof Array?e.tokens.idToken.payload["cognito:groups"].map(e=>e):[]).catch(e=>{console.error(e)}),W=async()=>j().then(e=>e.tokens?.idToken?.payload["cognito:roles"]instanceof Array?e.tokens.idToken.payload["cognito:roles"].map(e=>e).map(e=>e.substring(e.indexOf("/")+1)):[]).catch(e=>{console.error(e)}),B=async()=>j().then(e=>{if(!e.tokens?.idToken?.payload["cognito:preferred_role"])return;let t=e.tokens.idToken.payload["cognito:preferred_role"];return t.substring(t.indexOf("/")+1)}).catch(e=>{console.error(e)}),K=()=>j().then(e=>e.tokens?.accessToken.payload.scope?.split(" ")??[]).catch(e=>{console.error(e)}),G=async e=>{let t,r=l();if(!r)throw new Error("Gatey plugin is not available");return r.settings.integrateWpLogin&&r.restUrl?.startsWith("http")&&(t=await r.cognito.post({apiName:"admin",path:"/login"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await r.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e)),r.settings.redirectSignIn??t},q=async e=>{let t,r=l();if(!r)throw new Error("Gatey plugin is not available");r.settings.integrateWpLogin&&(t=await r.cognito.get({apiName:"admin",path:"/logout"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await r.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e));try{await(0,m.signOut)()}catch{}return r.settings.redirectSignOut??t},Y=r(63661),J=()=>{p().then(e=>{k(e,e=>e.nextUrl,async e=>{e&&window.location.assign(e)}),x(e).clearAccount()}).catch(e=>{console.error("Gatey signOut error:",e)})},Q=e=>{p().then(t=>{x(t).setLanguage(e??"en")}).catch(e=>{console.error("Gatey setLanguage error:",e)})},X=e=>{p().then(t=>{x(t).setDirection(e??"auto")}).catch(e=>{console.error("Gatey setDirection error:",e)})},Z=async()=>p(),ee=()=>{let e=globalThis.WpSuite,t=l();if(!t)throw new Error("Gatey plugin is not available");(0,Y.attachDefaultPluginRuntime)(t),t.status=t.status??"initializing";let r=(async()=>{let e=await(async()=>{let e=_(await(0,b.getConfig)("gatey"));(async e=>{let t=window.location.hostname.toLowerCase().split(":")[0],r=l();if(!r)throw new Error("Gatey plugin is not available");let n=r.settings?.secondaryUserPoolDomains&&t.toLowerCase().match(r.settings.secondaryUserPoolDomains.toLowerCase())&&r.settings?.userPoolConfigurations.secondary?.Auth?.Cognito?.userPoolId?r.settings?.userPoolConfigurations.secondary:r.settings?.userPoolConfigurations.default,o={Auth:{Cognito:{userPoolClientId:"",userPoolId:"",identityPoolId:"",...n.Auth?.Cognito,loginWith:{oauth:{domain:"",scopes:[],responseType:"code",...n.Auth?.Cognito?.loginWith?.oauth,redirectSignIn:[window.location.origin+r.settings?.signInPage],redirectSignOut:[window.location.origin+r.settings?.signInPage]}}}},API:{...n.API,REST:{...n.API?.REST,admin:{endpoint:r.restUrl}}}},i=e?.apiConfigurations?.secondary?.domains&&t.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default;i?.apis?.forEach(e=>{let t=o.API?.REST;t&&(t[e.name]={endpoint:e.endpoint,region:e.region})}),N(o,{API:{REST:{headers:async e=>{let t=i?.apis?.find(t=>t.name===e.apiName);if("admin"===e.apiName||"ID_TOKEN"===t?.authorization||"ACCESS_TOKEN"===t?.authorization)try{let r=await j();if(r?.tokens?.idToken&&r?.tokens?.accessToken)return{Authorization:`Bearer ${"admin"===e.apiName||"ID_TOKEN"===t?.authorization?r.tokens.idToken.toString():r.tokens.accessToken.toString()}`}}catch(e){console.error(e),p().then(e=>{x(e).clearAccount()})}return{}}}}})})(e);let t=window.location.hostname.toLowerCase().split(":")[0],r=e?.apiConfigurations?.secondary?.domains&&t.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default,n=await A(r),o=await(async()=>{let e=l();if(!e)throw new Error("Gatey plugin is not available");let t=null;return e.settings.customTranslationsUrl&&(t=await fetch(e.settings.customTranslationsUrl+(e.settings.customTranslationsUrl.includes("?")?"&":"?")+"t="+f.lastUpdate).then(e=>e.ok?e.text():null).then(e=>e?JSON.parse(e):null).catch(()=>null)),t??null})();return{config:e,amplifyConfig:{},account:n,signedIn:!!n?.username&&!n.loaded,nextUrl:void 0,language:void 0,direction:void 0,customTranslations:o,reloadAuthSession:0,reloadUserAttributes:0,reloadMFAPreferences:0}})(),t=(0,v.createReduxStore)("wpsuite/gatey",{reducer(t=e,r){switch(r.type){case"SET_AMPLIFY_CONFIG":return{...t,amplifyConfig:r.amplifyConfig};case"SET_ACCOUNT":return S(r.account),{...t,account:r.account};case"CLEAR_ACCOUNT":return S({}),{...t,account:{}};case"RELOAD_AUTH_SESSION":{let e=Math.random();return{...t,reloadAuthSession:t.reloadAuthSession!==e?e:e+1}}case"RELOAD_USER_ATTRIBUTES":{let e=Math.random();return{...t,reloadUserAttributes:t.reloadUserAttributes!==e?e:e+1}}case"RELOAD_MFA_PREFERENCE":{let e=Math.random();return{...t,reloadMFAPreferences:t.reloadMFAPreferences!==e?e:e+1}}case"SET_SIGNED_IN":return{...t,signedIn:r.signedIn};case"SET_NEXT_URL":return{...t,nextUrl:r.nextUrl};case"SET_LANGUAGE":return{...t,language:r.language};case"SET_DIRECTION":return{...t,direction:r.direction}}return t},actions:P,selectors:C,resolvers:I});return(0,v.register)(t),t})();return t.cognito={store:r,observeStore:k,setLanguage:Q,setDirection:X,getAmplifyConfig:T,isAuthenticated:V,isInGroup:H,getUsername:F,getUserAttributes:L,getMfaPreferences:z,clearMfaPreferences:U,getGroups:$,getRoles:W,getPreferredRole:B,getScopes:K,signOut:J,get:u.get,post:u.post,put:u.put,del:u.del,head:u.head,patch:u.patch},r.then(()=>{t.status="available",e?.events?.emit("wpsuite:gatey:ready",{key:t.key,version:t.version})}).catch(r=>{t.status="error",e?.events?.emit("wpsuite:gatey:error",{key:t.key,error:String(r)})}),t}},70547(e,t,r){"use strict";r.d(t,{L:()=>n});const n=({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>r=>async function(n){if(0===t.trim().length)return await r(n);{const o=e.toLowerCase();return n.headers[o]=n.headers[o]?`${n.headers[o]} ${t}`:t,await r(n)}}},70591(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(40338),o=r(32988);var i=r(32988);function a(e,t,r,i){return(0,o.default)(48,n.default,e,t,r,i)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return i.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),a.DNS=o.DNS,a.URL=o.URL,t.default=a},70896(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoSignInStore=void 0,t.autoSignInStore=(e=>{let t=e({active:!1},{type:"RESET"});return{getState:()=>t,dispatch:r=>{t=e(t,r)}}})((e,t)=>{switch(t.type){case"SET_USERNAME":return{...e,username:t.value};case"SET_SESSION":return{...e,session:t.value};case"START":return{...e,active:!0};case"RESET":return{active:!1};default:return e}})},70928(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthErrorCodes=t.AuthErrorStrings=t.validationErrorMap=void 0;const n=r(49129);var o,i;t.validationErrorMap={[n.AuthValidationErrorCode.EmptyChallengeResponse]:{message:"challengeResponse is required to confirmSignIn"},[n.AuthValidationErrorCode.EmptyConfirmResetPasswordUsername]:{message:"username is required to confirmResetPassword"},[n.AuthValidationErrorCode.EmptyConfirmSignUpCode]:{message:"code is required to confirmSignUp"},[n.AuthValidationErrorCode.EmptyConfirmSignUpUsername]:{message:"username is required to confirmSignUp"},[n.AuthValidationErrorCode.EmptyConfirmResetPasswordConfirmationCode]:{message:"confirmationCode is required to confirmResetPassword"},[n.AuthValidationErrorCode.EmptyConfirmResetPasswordNewPassword]:{message:"newPassword is required to confirmResetPassword"},[n.AuthValidationErrorCode.EmptyResendSignUpCodeUsername]:{message:"username is required to confirmSignUp"},[n.AuthValidationErrorCode.EmptyResetPasswordUsername]:{message:"username is required to resetPassword"},[n.AuthValidationErrorCode.EmptySignInPassword]:{message:"password is required to signIn"},[n.AuthValidationErrorCode.EmptySignInUsername]:{message:"username is required to signIn"},[n.AuthValidationErrorCode.EmptySignUpPassword]:{message:"password is required to signUp"},[n.AuthValidationErrorCode.EmptySignUpUsername]:{message:"username is required to signUp"},[n.AuthValidationErrorCode.CustomAuthSignInPassword]:{message:"A password is not needed when signing in with CUSTOM_WITHOUT_SRP",recoverySuggestion:"Do not include a password in your signIn call."},[n.AuthValidationErrorCode.IncorrectMFAMethod]:{message:"Incorrect MFA method was chosen. It should be either SMS, TOTP, or EMAIL",recoverySuggestion:"Try to pass SMS, TOTP, or EMAIL as the challengeResponse"},[n.AuthValidationErrorCode.EmptyVerifyTOTPSetupCode]:{message:"code is required to verifyTotpSetup"},[n.AuthValidationErrorCode.EmptyUpdatePassword]:{message:"oldPassword and newPassword are required to changePassword"},[n.AuthValidationErrorCode.EmptyConfirmUserAttributeCode]:{message:"confirmation code is required to confirmUserAttribute"}},function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_EMAIL="Email cannot be empty",e.EMPTY_PHONE="Phone number cannot be empty",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty",e.NETWORK_ERROR="Network Error",e.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",e.AUTOSIGNIN_ERROR="Please use your credentials to sign in",e.OAUTH_ERROR="Couldn't finish OAuth flow, check your User Pool HostedUI settings"}(o||(t.AuthErrorStrings=o={})),function(e){e.SignInException="SignInException",e.OAuthSignInError="OAuthSignInException"}(i||(t.AuthErrorCodes=i={}))},70935(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.record=void 0;const n=r(38457),o=r(20810),i=r(18498),a=r(19867),s=r(50454);let c;t.record=async({appId:e,category:t,channelType:r,credentials:u,event:l,identityId:d,region:p,userAgentValue:f,bufferSize:h,flushInterval:m,flushSize:g,resendLimit:y})=>{let v=c;const b=new Date,E=b.toISOString(),w=(0,n.amplifyUuid)(),S=(0,s.getEventBuffer)({appId:e,region:p,credentials:u,bufferSize:h??a.BUFFER_SIZE,flushInterval:m??a.FLUSH_INTERVAL,flushSize:g??a.FLUSH_SIZE,resendLimit:y??a.RESEND_LIMIT,identityId:d,userAgentValue:f}),A=await(0,o.resolveEndpointId)({appId:e,category:t,channelType:r,credentials:u,identityId:d,region:p,userAgentValue:f});if(!v||l.name===i.SESSION_START_EVENT){const e=(0,n.amplifyUuid)();c={Id:e,StartTimestamp:E},v=c}c&&l.name===i.SESSION_STOP_EVENT&&(v={...c,StopTimestamp:E,Duration:b.getTime()-new Date(c.StartTimestamp).getTime()},c=void 0),S.push({eventId:w,endpointId:A,event:l,session:v,timestamp:E,resendLimit:y??a.RESEND_LIMIT})}},71405(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSignUpClient=t.createSignUpClientDeserializer=void 0;const n=r(39236),o=r(7884),i=r(70928),a=r(43518),s=r(49129),c=r(73031),u=r(11588),l=r(72002),d=r(3427),p=r(58261);t.createSignUpClientDeserializer=()=>async e=>{if(e.statusCode>=300){const t=await(0,o.parseJsonError)(e);if((0,c.assertServiceError)(t),t.name===u.SignUpException.InvalidParameterException&&/'password'/.test(t.message)&&/Member must not be null/.test(t.message)){const e=s.AuthValidationErrorCode.EmptySignUpPassword,{message:t,recoverySuggestion:r}=i.validationErrorMap[e];throw new a.AuthError({name:e,message:t,recoverySuggestion:r})}throw new a.AuthError({name:t.name,message:t.message})}return(0,o.parseJsonBody)(e)},t.createSignUpClient=e=>(0,n.composeServiceApi)(d.cognitoUserPoolTransferHandler,(0,l.createUserPoolSerializer)("SignUp"),(0,t.createSignUpClientDeserializer)(),{...p.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},71556(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStartWebAuthnRegistrationClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createStartWebAuthnRegistrationClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("StartWebAuthnRegistration"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},71666(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;var i=function(e){function t(t,r){return e.call(this)||this}return o(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(69879).Subscription);t.Action=i},71690(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertArrayBufferToBase64Url=void 0;const n=r(22651);t.convertArrayBufferToBase64Url=e=>n.base64Encoder.convert(new Uint8Array(e),{urlSafe:!0,skipPadding:!0})},72002(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEmptyResponseDeserializer=t.createUserPoolDeserializer=t.createUserPoolSerializer=void 0;var n=r(56341);Object.defineProperty(t,"createUserPoolSerializer",{enumerable:!0,get:function(){return n.createUserPoolSerializer}});var o=r(97206);Object.defineProperty(t,"createUserPoolDeserializer",{enumerable:!0,get:function(){return o.createUserPoolDeserializer}});var i=r(12975);Object.defineProperty(t,"createEmptyResponseDeserializer",{enumerable:!0,get:function(){return i.createEmptyResponseDeserializer}})},72047(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidationError=function(e,t){const{message:r,recoverySuggestion:i}=o.validationErrorMap[t];if(!e)throw new n.RestApiError({name:t,message:r,recoverySuggestion:i})};const n=r(85533),o=r(53222)},72049(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.angularWebDetect=function(){const e=Boolean((0,n.documentExists)()&&document.querySelector("[ng-version]")),t=Boolean((0,n.windowExists)()&&void 0!==window.ng);return e||t},t.angularSSRDetect=function(){return(0,n.processExists)()&&"object"==typeof process.env&&process.env.npm_lifecycle_script?.startsWith("ng ")||!1};const n=r(62114)},72223(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="6.15.9"},72273(e,t,r){"use strict";r.d(t,{E:()=>i});var n=r(51609),o=r(297);function i({opened:e,shouldReturnFocus:t=!0}){const r=(0,n.useRef)(null),i=()=>{r.current&&"focus"in r.current&&"function"==typeof r.current.focus&&r.current?.focus({preventScroll:!0})};return(0,o.C)(()=>{let n=-1;const o=e=>{"Tab"===e.key&&window.clearTimeout(n)};return document.addEventListener("keydown",o),e?r.current=document.activeElement:t&&(n=window.setTimeout(i,10)),()=>{window.clearTimeout(n),document.removeEventListener("keydown",o)}},[e,t]),i}},72380(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSessionStorageWithFallback=t.getLocalStorageWithFallback=void 0;const n=r(69580),o=r(3944),i=new n.ConsoleLogger("CoreStorageUtils");t.getLocalStorageWithFallback=()=>{try{if("undefined"!=typeof window&&window.localStorage)return window.localStorage}catch(e){i.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new o.InMemoryStorage},t.getSessionStorageWithFallback=()=>{try{if("undefined"!=typeof window&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw new Error("sessionStorage is not defined")}catch(e){return i.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new o.InMemoryStorage}}},72580(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withMemoization=void 0,t.withMemoization=e=>{let t;return()=>(t||(t=e()),t)}},72647(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConfirmSignUpClient=void 0;const n=r(39236),o=r(58261),i=r(3427),a=r(72002);t.createConfirmSignUpClient=e=>(0,n.composeServiceApi)(i.cognitoUserPoolTransferHandler,(0,a.createUserPoolSerializer)("ConfirmSignUp"),(0,a.createUserPoolDeserializer)(),{...o.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},72674(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userAgentMiddlewareFactory=void 0;var n=r(5760);Object.defineProperty(t,"userAgentMiddlewareFactory",{enumerable:!0,get:function(){return n.userAgentMiddlewareFactory}})},72685(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTokenExpired=t.deDupeAsyncFunction=t.deepFreeze=t.urlSafeEncode=t.urlSafeDecode=t.retry=t.jitteredExponentialRetry=t.jitteredBackoff=t.isNonRetryableError=t.NonRetryableError=t.isWebWorker=t.isBrowser=t.getClientInfo=t.generateRandomString=void 0;var n=r(57468);Object.defineProperty(t,"generateRandomString",{enumerable:!0,get:function(){return n.generateRandomString}});var o=r(78121);Object.defineProperty(t,"getClientInfo",{enumerable:!0,get:function(){return o.getClientInfo}});var i=r(6441);Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return i.isBrowser}});var a=r(25445);Object.defineProperty(t,"isWebWorker",{enumerable:!0,get:function(){return a.isWebWorker}});var s=r(87924);Object.defineProperty(t,"NonRetryableError",{enumerable:!0,get:function(){return s.NonRetryableError}}),Object.defineProperty(t,"isNonRetryableError",{enumerable:!0,get:function(){return s.isNonRetryableError}}),Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return s.jitteredBackoff}}),Object.defineProperty(t,"jitteredExponentialRetry",{enumerable:!0,get:function(){return s.jitteredExponentialRetry}}),Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return s.retry}});var c=r(76763);Object.defineProperty(t,"urlSafeDecode",{enumerable:!0,get:function(){return c.urlSafeDecode}});var u=r(9255);Object.defineProperty(t,"urlSafeEncode",{enumerable:!0,get:function(){return u.urlSafeEncode}});var l=r(2492);Object.defineProperty(t,"deepFreeze",{enumerable:!0,get:function(){return l.deepFreeze}});var d=r(96340);Object.defineProperty(t,"deDupeAsyncFunction",{enumerable:!0,get:function(){return d.deDupeAsyncFunction}});var p=r(15027);Object.defineProperty(t,"isTokenExpired",{enumerable:!0,get:function(){return p.isTokenExpired}})},72719(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.catchError=void 0;var n=r(19724),o=r(17214),i=r(65212);t.catchError=function e(t){return i.operate(function(r,i){var a,s=null,c=!1;s=r.subscribe(o.createOperatorSubscriber(i,void 0,void 0,function(o){a=n.innerFrom(t(o,e(t)(r))),s?(s.unsubscribe(),s=null,a.subscribe(i)):c=!0})),c&&(s.unsubscribe(),s=null,a.subscribe(i))})}},72770(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(59746);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},72885(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delayWhen=void 0;var n=r(39546),o=r(54383),i=r(2959),a=r(13337),s=r(67478),c=r(19724);t.delayWhen=function e(t,r){return r?function(a){return n.concat(r.pipe(o.take(1),i.ignoreElements()),a.pipe(e(t)))}:s.mergeMap(function(e,r){return c.innerFrom(t(e,r)).pipe(o.take(1),a.mapTo(e))})}},73031(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertServiceError=function(e){if(!e||"Error"===e.name||e instanceof TypeError)throw new o.AuthError({name:n.AmplifyErrorCode.Unknown,message:"An unknown error has occurred.",underlyingError:e})};const n=r(22651),o=r(43518)},73087(e,t,r){"use strict";r.d(t,{e:()=>h});var n=r(10790),o=r(51609),i=r(66192);const a=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${"bottom"===e?10:-10}px)`},transitionProperty:"transform, opacity"}),s={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...a("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...a("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...a("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...a("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...a("top"),common:{transformOrigin:"top right"}}},c={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function u({transition:e,state:t,duration:r,timingFunction:n}){const o={WebkitBackfaceVisibility:"hidden",transitionDuration:`${r}ms`,transitionTimingFunction:n};return"string"==typeof e?e in s?{transitionProperty:s[e].transitionProperty,...o,...s[e].common,...s[e][c[t]]}:{}:{transitionProperty:e.transitionProperty,...o,...e.common,...e[c[t]]}}var l=r(75795),d=r(9021),p=r(297),f=r(1101);function h({keepMounted:e,transition:t="fade",duration:r=250,exitDuration:a=r,mounted:s,children:c,timingFunction:h="ease",onExit:m,onEntered:g,onEnter:y,onExited:v,enterDelay:b,exitDelay:E}){const w=(0,i.bv)(),{transitionDuration:S,transitionStatus:A,transitionTimingFunction:_}=function({duration:e,exitDuration:t,timingFunction:r,mounted:n,onEnter:i,onExit:a,onEntered:s,onExited:c,enterDelay:u,exitDelay:h}){const m=(0,f.xd)(),g=(0,d.I)(),y=!!m.respectReducedMotion&&g,[v,b]=(0,o.useState)(y?0:e),[E,w]=(0,o.useState)(n?"entered":"exited"),S=(0,o.useRef)(-1),A=(0,o.useRef)(-1),_=(0,o.useRef)(-1);function P(){window.clearTimeout(S.current),window.clearTimeout(A.current),cancelAnimationFrame(_.current)}const C=r=>{P();const n=r?i:a,o=r?s:c,u=y?0:r?e:t;b(u),0===u?("function"==typeof n&&n(),"function"==typeof o&&o(),w(r?"entered":"exited")):_.current=requestAnimationFrame(()=>{l.flushSync(()=>{w(r?"pre-entering":"pre-exiting")}),_.current=requestAnimationFrame(()=>{"function"==typeof n&&n(),w(r?"entering":"exiting"),S.current=window.setTimeout(()=>{"function"==typeof o&&o(),w(r?"entered":"exited")},u)})})};return(0,p.C)(()=>{var e;e=n,P(),"number"==typeof(e?u:h)?A.current=window.setTimeout(()=>{C(e)},e?u:h):C(e)},[n]),(0,o.useEffect)(()=>()=>{P()},[]),{transitionDuration:v,transitionStatus:E,transitionTimingFunction:r||"ease"}}({mounted:s,exitDuration:a,duration:r,timingFunction:h,onExit:m,onEntered:g,onEnter:y,onExited:v,enterDelay:b,exitDelay:E});return 0===S||"test"===w?s?(0,n.jsx)(n.Fragment,{children:c({})}):e?c({display:"none"}):null:"exited"===A?e?c({display:"none"}):null:(0,n.jsx)(n.Fragment,{children:c(u({transition:t,duration:S,state:A,timingFunction:_}))})}h.displayName="@mantine/core/Transition"},73323(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultStorage=void 0;const n=r(44056),o=r(72380);class i extends n.KeyValueStorage{constructor(){super((0,o.getLocalStorageWithFallback)())}}t.DefaultStorage=i},73484(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var n=r(92070),o=r(65212),i=function(e,t){return e.push(t),e};t.toArray=function(){return o.operate(function(e,t){n.reduce(i,[])(e).subscribe(t)})}},73655(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.currentSizeKey=t.defaultConfig=void 0,t.defaultConfig={keyPrefix:"aws-amplify-cache",capacityInBytes:1048576,itemMaxSize:21e4,defaultTTL:2592e5,defaultPriority:5,warningThreshold:.8},t.currentSizeKey="CurSize"},73779(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);t.default={randomUUID:r}},73836(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInitiateAuthClient=void 0;const n=r(39236),o=r(72002),i=r(3427),a=r(58261);t.createInitiateAuthClient=e=>(0,n.composeServiceApi)(i.cognitoUserPoolTransferHandler,(0,o.createUserPoolSerializer)("InitiateAuth"),(0,o.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},73857(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasswordVerifierChallenge=async function(e,t,r,d,p,f,h){const{userPoolId:m,userPoolClientId:g,userPoolEndpoint:y}=f,v=m?.split("_")[1]||"",b=new c.BigInteger(t?.SRP_B,16),E=new c.BigInteger(t?.SALT,16),w=t?.USER_ID_FOR_SRP;if(!w)throw new n.AuthError({name:"EmptyUserIdForSRPException",message:"USER_ID_FOR_SRP was not found in challengeParameters"});const S=await p.getPasswordAuthenticationKey({username:w,password:e,serverBValue:b,salt:E}),A=(0,s.getNowString)(),_={USERNAME:w,PASSWORD_CLAIM_SECRET_BLOCK:t?.SECRET_BLOCK,TIMESTAMP:A,PASSWORD_CLAIM_SIGNATURE:(0,s.getSignatureString)({username:w,userPoolName:v,challengeParameters:t,dateNow:A,hkdf:S})},P=await h.getDeviceMetadata(w);P&&P.deviceKey&&(_.DEVICE_KEY=P.deviceKey);const C={ChallengeName:"PASSWORD_VERIFIER",ChallengeResponses:_,ClientMetadata:r,Session:d,ClientId:g,UserContextData:(0,u.getUserContextData)({username:w,userPoolId:m,userPoolClientId:g})},I=(0,o.createRespondToAuthChallengeClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:y})}),x=await I({region:(0,a.getRegionFromUserPoolId)(m)},C);return"DEVICE_SRP_AUTH"===x.ChallengeName?(0,l.handleDeviceSRPAuth)({username:w,config:f,clientMetadata:r,session:x.Session,tokenOrchestrator:h}):x};const n=r(43518),o=r(35456),i=r(28228),a=r(62639),s=r(80699),c=r(74008),u=r(99369),l=r(35138)},73929(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceEqual=void 0;var n=r(65212),o=r(17214),i=r(19724);t.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),n.operate(function(r,n){var a={buffer:[],complete:!1},s={buffer:[],complete:!1},c=function(e){n.next(e),n.complete()},u=function(e,r){var i=o.createOperatorSubscriber(n,function(n){var o=r.buffer,i=r.complete;0===o.length?i?c(!1):e.buffer.push(n):!t(n,o.shift())&&c(!1)},function(){e.complete=!0;var t=r.complete,n=r.buffer;t&&c(0===n.length),null==i||i.unsubscribe()});return i};r.subscribe(u(a,s)),i.innerFrom(e).subscribe(u(s,a))})}},73956(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryWhen=void 0;var n=r(19724),o=r(76808),i=r(65212),a=r(17214);t.retryWhen=function(e){return i.operate(function(t,r){var i,s,c=!1,u=function(){i=t.subscribe(a.createOperatorSubscriber(r,void 0,void 0,function(t){s||(s=new o.Subject,n.innerFrom(e(s)).subscribe(a.createOperatorSubscriber(r,function(){return i?u():c=!0}))),s&&s.next(t)})),c&&(i.unsubscribe(),i=null,c=!1,u())};u()})}},74008(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BigInteger=void 0;const n=r(31635).__importDefault(r(52522));t.BigInteger=n.default},74214(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNowString=void 0;const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];t.getNowString=()=>{const e=new Date,t=n[e.getUTCDay()],o=r[e.getUTCMonth()],i=e.getUTCDate();let a=e.getUTCHours();a<10&&(a=`0${a}`);let s=e.getUTCMinutes();s<10&&(s=`0${s}`);let c=e.getUTCSeconds();return c<10&&(c=`0${c}`),`${t} ${o} ${i} ${a}:${s}:${c} UTC ${e.getUTCFullYear()}`}},74231(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cognitoIdentityIdProvider=async function({tokens:e,authConfig:t,identityIdStore:r}){r.setAuthConfig({Cognito:t});const u=await r.loadIdentityId();if(u)return u.id;const l=e?.idToken?(0,c.formLoginsMap)(e.idToken.toString()):{},d=await async function(e,t){const r=t?.identityPoolId,c=(0,a.getRegionFromIdentityPoolId)(r),u=(0,n.createGetIdClient)({endpointResolver:(0,s.createCognitoIdentityPoolEndpointResolver)({endpointOverride:t.identityPoolEndpoint})});let l;try{l=(await u({region:c},{IdentityPoolId:r,Logins:e})).IdentityId}catch(e){throw(0,i.assertServiceError)(e),new o.AuthError(e)}if(!l)throw new o.AuthError({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return l}(l,t);return r.storeIdentityId({id:d,type:e?"primary":"guest"}),d};const n=r(56547),o=r(43518),i=r(73031),a=r(62639),s=r(28228),c=r(95392)},74385(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=void 0;var n=r(48051),o=r(44885);t.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return o.EMPTY;var i=t+e;return new n.Observable(r?function(t){var n=e;return r.schedule(function(){n<i?(t.next(n++),this.schedule()):t.complete()})}:function(t){for(var r=e;r<i&&!t.closed;)t.next(r++);t.complete()})}},74478(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.flush=function(e){var t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=void 0);var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(19533).AsyncScheduler);t.AnimationFrameScheduler=i},74533(e,t,r){"use strict";r.d(t,{S:()=>V});var n=r(10790),o=r(51609),i=r(66284),a=r(56324),s=r(59396),c=r(89569),u=r(86344),l=r(55488),d=r(56644),p=r(46100),f=r(52837),h=r(63733),m=r(11507),g=r(2412),y=r(8816),v=r(61617),b=r(46076);const E=(0,o.createContext)(null),w=E.Provider,S=()=>(0,o.useContext)(E);var A=r(97986);const[_,P]=(0,A.e)();var C={card:"m_26775b0a"};const I={withBorder:!0},x=(0,s.V)((e,{radius:t})=>({card:{"--card-radius":(0,a.nJ)(t)}})),O=(0,g.P9)((e,t)=>{const r=(0,p.Y)("CheckboxCard",I,e),{classNames:o,className:i,style:a,styles:s,unstyled:c,vars:u,checked:l,mod:d,withBorder:h,value:m,onClick:g,defaultChecked:y,onChange:E,attributes:w,...A}=r,P=(0,f.I)({name:"CheckboxCard",classes:C,props:r,className:i,style:a,classNames:o,styles:s,unstyled:c,attributes:w,vars:u,varsResolver:x,rootSelector:"card"}),O=S(),k="boolean"==typeof l?l:O?O.value.includes(m||""):void 0,[T,N]=(0,v.Z)({value:k,defaultValue:y,finalValue:!1,onChange:E});return(0,n.jsx)(_,{value:{checked:T},children:(0,n.jsx)(b.N,{ref:t,mod:[{"with-border":h,checked:T},d],...P("card"),...A,role:"checkbox","aria-checked":T,onClick:e=>{g?.(e),O?.onChange(m||""),N(!T)}})})});O.displayName="@mantine/core/CheckboxCard",O.classes=C;var k=r(16112),T=r(31422);const N=(0,g.P9)((e,t)=>{const{value:r,defaultValue:o,onChange:i,size:a,wrapperProps:s,children:c,readOnly:u,disabled:l,...d}=(0,p.Y)("CheckboxGroup",null,e),[f,h]=(0,v.Z)({value:r,defaultValue:o,finalValue:[],onChange:i});return(0,n.jsx)(w,{value:{value:f,onChange:e=>{const t="string"==typeof e?e:e.currentTarget.value;!u&&h(f.includes(t)?f.filter(e=>e!==t):[...f,t])},size:a,disabled:l},children:(0,n.jsx)(T.p.Wrapper,{size:a,ref:t,...s,...d,labelElement:"div",__staticSelector:"CheckboxGroup",children:(0,n.jsx)(k.F,{role:"group",children:c})})})});N.classes=T.p.Wrapper.classes,N.displayName="@mantine/core/CheckboxGroup";var j=r(15333),R={indicator:"m_5e5256ee",icon:"m_1b1c543a","indicator--outline":"m_76e20374"};const M={icon:j.R,variant:"filled"},D=(0,s.V)((e,{radius:t,color:r,size:n,iconColor:o,variant:i,autoContrast:s})=>{const p=(0,c.g)({color:r||e.primaryColor,theme:e}),f=p.isThemeColor&&void 0===p.shade?`var(--mantine-color-${p.color}-outline)`:p.color;return{indicator:{"--checkbox-size":(0,a.YC)(n,"checkbox-size"),"--checkbox-radius":void 0===t?void 0:(0,a.nJ)(t),"--checkbox-color":"outline"===i?f:(0,u.r)(r,e),"--checkbox-icon-color":o?(0,u.r)(o,e):(0,d.v)(s,e)?(0,l.w)({color:r,theme:e,autoContrast:s}):void 0}}}),U=(0,g.P9)((e,t)=>{const r=(0,p.Y)("CheckboxIndicator",M,e),{classNames:o,className:i,style:a,styles:s,unstyled:c,vars:u,icon:l,indeterminate:d,radius:h,color:g,iconColor:y,autoContrast:v,checked:b,mod:E,variant:w,disabled:S,attributes:A,..._}=r,C=(0,f.I)({name:"CheckboxIndicator",classes:R,props:r,className:i,style:a,classNames:o,styles:s,unstyled:c,attributes:A,vars:u,varsResolver:D,rootSelector:"indicator"}),I=P(),x="boolean"==typeof b||"boolean"==typeof d?b||d:I?.checked||!1;return(0,n.jsx)(m.a,{ref:t,...C("indicator",{variant:w}),variant:w,mod:[{checked:x,disabled:S},E],..._,children:(0,n.jsx)(l,{indeterminate:d,...C("icon")})})});U.displayName="@mantine/core/CheckboxIndicator",U.classes=R;var F={root:"m_bf2d988c",inner:"m_26062bec",input:"m_26063560",icon:"m_bf295423","input--outline":"m_215c4542"};const L={labelPosition:"right",icon:j.R,variant:"filled"},z=(0,s.V)((e,{radius:t,color:r,size:n,iconColor:o,variant:i,autoContrast:s})=>{const p=(0,c.g)({color:r||e.primaryColor,theme:e}),f=p.isThemeColor&&void 0===p.shade?`var(--mantine-color-${p.color}-outline)`:p.color;return{root:{"--checkbox-size":(0,a.YC)(n,"checkbox-size"),"--checkbox-radius":void 0===t?void 0:(0,a.nJ)(t),"--checkbox-color":"outline"===i?f:(0,u.r)(r,e),"--checkbox-icon-color":o?(0,u.r)(o,e):(0,d.v)(s,e)?(0,l.w)({color:r,theme:e,autoContrast:s}):void 0}}}),V=(0,g.P9)((e,t)=>{const r=(0,p.Y)("Checkbox",L,e),{classNames:a,className:s,style:c,styles:u,unstyled:l,vars:d,color:g,label:v,id:b,size:E,radius:w,wrapperProps:A,checked:_,labelPosition:P,description:C,error:I,disabled:x,variant:O,indeterminate:k,icon:T,rootRef:N,iconColor:j,onChange:R,autoContrast:M,mod:D,attributes:U,...V}=r,H=S(),$=E||H?.size,W=(0,f.I)({name:"Checkbox",props:r,classes:F,className:s,style:c,classNames:a,styles:u,unstyled:l,attributes:U,vars:d,varsResolver:z}),{styleProps:B,rest:K}=(0,h.j)(V),G=(0,i.B)(b),q={checked:H?.value.includes(K.value)??_,onChange:e=>{H?.onChange(e),R?.(e)},disabled:H?.disabled??x},Y=(0,o.useRef)(null),J=t||Y;return(0,o.useEffect)(()=>{J&&"current"in J&&J.current&&(J.current.indeterminate=k||!1,k?J.current.setAttribute("data-indeterminate","true"):J.current.removeAttribute("data-indeterminate"))},[k,J]),(0,n.jsx)(y.I,{...W("root"),__staticSelector:"Checkbox",__stylesApiProps:r,id:G,size:$,labelPosition:P,label:v,description:C,error:I,disabled:q.disabled,classNames:a,styles:u,unstyled:l,"data-checked":q.checked||_||void 0,variant:O,ref:N,mod:D,...B,...A,children:(0,n.jsxs)(m.a,{...W("inner"),mod:{"data-label-position":P},children:[(0,n.jsx)(m.a,{component:"input",id:G,ref:J,mod:{error:!!I},...W("input",{focusable:!0,variant:O}),...K,...q,type:"checkbox"}),(0,n.jsx)(T,{indeterminate:k,...W("icon")})]})})});V.classes={...F,...y.M},V.displayName="@mantine/core/Checkbox",V.Group=N,V.Indicator=U,V.Card=O},74557(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(22829),o=r(32988);var i=r(32988);function a(e,t,r,i){return(0,o.default)(80,n.default,e,t,r,i)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return i.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),a.DNS=o.DNS,a.URL=o.URL,t.default=a},74593(e,t,r){"use strict";r.d(t,{J:()=>i});var n=r(34164);const o={};function i({theme:e,classNames:t,props:r,stylesCtx:i}){return function(e){const t={};return e.forEach(e=>{Object.entries(e).forEach(([e,r])=>{t[e]?t[e]=(0,n.A)(t[e],r):t[e]=r})}),t}((Array.isArray(t)?t:[t]).map(t=>"function"==typeof t?t(e,r,i):t||o))}},74613(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatMap=void 0;var n=r(67478);t.flatMap=n.mergeMap},74700(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertItemToConversationStreamEvent=void 0,t.convertItemToConversationStreamEvent=({id:e,conversationId:t,associatedUserMessageId:o,contentBlockIndex:i,contentBlockDoneAtIndex:a,contentBlockDeltaIndex:s,contentBlockText:c,contentBlockToolUse:u,stopReason:l,errors:d})=>d?{error:{id:e,conversationId:t,associatedUserMessageId:o,errors:d}}:{next:n({id:e,conversationId:t,associatedUserMessageId:o,contentBlockIndex:i,contentBlockDoneAtIndex:a,contentBlockDeltaIndex:s,text:c,toolUse:r(u),stopReason:l})};const r=e=>{if(e)return{...e,input:JSON.parse(e.input)}},n=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>null!==t))},74744(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCreatedEndpointId=t.createEndpointId=void 0;const n=r(38457),o=r(67635),i={};t.createEndpointId=(e,t)=>{const r=(0,o.getCacheKey)(e,t);return i[r]||(i[r]=(0,n.amplifyUuid)()),i[r]},t.clearCreatedEndpointId=(e,t)=>{const r=(0,o.getCacheKey)(e,t);delete i[r]}},74878(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=t.listWebAuthnCredentials=t.associateWebAuthnCredential=void 0;var n=r(33859);Object.defineProperty(t,"associateWebAuthnCredential",{enumerable:!0,get:function(){return n.associateWebAuthnCredential}});var o=r(14954);Object.defineProperty(t,"listWebAuthnCredentials",{enumerable:!0,get:function(){return o.listWebAuthnCredentials}});var i=r(40068);Object.defineProperty(t,"deleteWebAuthnCredential",{enumerable:!0,get:function(){return i.deleteWebAuthnCredential}})},74920(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundProcessManager=void 0;var n=r(86578);Object.defineProperty(t,"BackgroundProcessManager",{enumerable:!0,get:function(){return n.BackgroundProcessManager}})},75019(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.materialize=void 0;var n=r(31245),o=r(65212),i=r(17214);t.materialize=function(){return o.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,function(e){t.next(n.Notification.createNext(e))},function(){t.next(n.Notification.createComplete()),t.complete()},function(e){t.next(n.Notification.createError(e)),t.complete()}))})}},75266(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forkJoin=void 0;var n=r(48051),o=r(50439),i=r(19724),a=r(26404),s=r(17214),c=r(13916),u=r(15810);t.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popResultSelector(e),l=o.argsArgArrayOrObject(e),d=l.args,p=l.keys,f=new n.Observable(function(e){var t=d.length;if(t)for(var r=new Array(t),n=t,o=t,a=function(t){var a=!1;i.innerFrom(d[t]).subscribe(s.createOperatorSubscriber(e,function(e){a||(a=!0,o--),r[t]=e},function(){return n--},void 0,function(){n&&a||(o||e.next(p?u.createObject(p,r):r),e.complete())}))},c=0;c<t;c++)a(c);else e.complete()});return r?f.pipe(c.mapOneOrManyArgs(r)):f}},75536(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unauthenticatedHandler=void 0;const n=r(92896),o=r(72674),i=r(49615),a=r(19676);t.unauthenticatedHandler=(0,i.composeTransferHandler)(a.fetchTransferHandler,[o.userAgentMiddlewareFactory,n.amzSdkInvocationIdHeaderMiddlewareFactory,n.retryMiddlewareFactory,n.amzSdkRequestHeaderMiddlewareFactory])},75544(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expand=void 0;var n=r(65212),o=r(2574);t.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,n.operate(function(n,i){return o.mergeInternals(n,i,e,t,void 0,!0,r)})}},75795(e){"use strict";e.exports=window.ReactDOM},75983(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCodeVerifier=void 0;const n=r(136),o=r(22651);t.generateCodeVerifier=e=>{const t=new Uint8Array(e);(0,o.getCrypto)().getRandomValues(t);let r,i="";for(const e of t)i+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(e%62);return{value:i,method:"S256",toCodeChallenge:()=>r||(r=function(e){const t=new n.Sha256;t.update(e);return o.base64Encoder.convert(t.digestSync(),{urlSafe:!0}).replace(/=/g,"")}(i),r)}}},75995(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleOAuthSignOut=void 0;const n=r(42298),o=r(22961);t.handleOAuthSignOut=async(e,t,r,i)=>{const{isOAuthSignIn:a}=await t.loadOAuthSignIn(),s=await r.getOAuthMetadata();if(await(0,n.completeOAuthSignOut)(t),a||s?.oauthSignIn)return(0,o.oAuthSignOutRedirect)(e,!1,i)}},76011(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsafeStringify=void 0;const n=r(59746),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function i(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}t.unsafeStringify=i,t.default=function(e,t=0){const r=i(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}},76027(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateUtils=void 0,t.DateUtils={clockOffset:0,getDateWithClockOffset:()=>t.DateUtils.clockOffset?new Date((new Date).getTime()+t.DateUtils.clockOffset):new Date,getClockOffset:()=>t.DateUtils.clockOffset,getHeaderStringFromDate:(e=t.DateUtils.getDateWithClockOffset())=>e.toISOString().replace(/[:-]|\.\d{3}/g,""),getDateFromHeaderString(e){const[,t,r,n,o,i,a]=e.match(/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2}).+/);return new Date(Date.UTC(Number(t),Number(r)-1,Number(n),Number(o),Number(i),Number(a)))},isClockSkewed:e=>Math.abs(e.getTime()-t.DateUtils.getDateWithClockOffset().getTime())>=3e5,isClockSkewError(e){if(!e.response||!e.response.headers)return!1;const{headers:t}=e.response;return Boolean(["BadRequestException","InvalidSignatureException"].includes(t["x-amzn-errortype"])&&(t.date||t.Date))},setClockOffset(e){t.DateUtils.clockOffset=e}}},76035(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilKeyChanged=void 0;var n=r(22044);t.distinctUntilKeyChanged=function(e,t){return n.distinctUntilChanged(function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}},76075(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMapTo=void 0;var n=r(67478),o=r(10281);t.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),o.isFunction(t)?n.mergeMap(function(){return e},t,r):("number"==typeof t&&(r=t),n.mergeMap(function(){return e},r))}},76285(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchUserAttributes=void 0;const n=r(56547),o=r(15219);t.fetchUserAttributes=()=>(0,o.fetchUserAttributes)(n.Amplify)},76396(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateU=t.calculateS=t.calculateA=void 0;var n=r(36345);Object.defineProperty(t,"calculateA",{enumerable:!0,get:function(){return n.calculateA}});var o=r(96871);Object.defineProperty(t,"calculateS",{enumerable:!0,get:function(){return o.calculateS}});var i=r(61285);Object.defineProperty(t,"calculateU",{enumerable:!0,get:function(){return i.calculateU}})},76638(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomUserAgent=t.setCustomUserAgent=void 0;const r={};t.setCustomUserAgent=e=>{r[e.category]=e.apis.reduce((t,r)=>({...t,[r]:{refCount:t[r]?.refCount?t[r].refCount+1:1,additionalDetails:e.additionalDetails}}),r[e.category]??{});let t=!1;return()=>{t||(t=!0,e.apis.forEach(t=>{const n=r[e.category][t].refCount;n>1?r[e.category][t].refCount=n-1:(delete r[e.category][t],Object.keys(r[e.category]).length||delete r[e.category])}))}},t.getCustomUserAgent=(e,t)=>r[e]?.[t]?.additionalDetails},76763(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.urlSafeDecode=function(e){return(e.match(/.{2}/g)||[]).map(e=>String.fromCharCode(parseInt(e,16))).join("")}},76772(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refreshAuthTokensWithoutDedupe=t.refreshAuthTokens=void 0;const n=r(22651),o=r(62639),i=r(64166),a=r(43518),s=r(28228),c=r(35456),u=async({tokens:e,authConfig:t,username:r,clientMetadata:u})=>{(0,n.assertTokenProviderConfig)(t?.Cognito);const{userPoolId:l,userPoolClientId:d,userPoolEndpoint:p}=t.Cognito,f=(0,o.getRegionFromUserPoolId)(l);(0,i.assertAuthTokensWithRefreshToken)(e);const h=(0,c.createGetTokensFromRefreshTokenClient)({endpointResolver:(0,s.createCognitoUserPoolEndpointResolver)({endpointOverride:p})}),{AuthenticationResult:m}=await h({region:f},{ClientId:d,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:u}),g=(0,n.decodeJWT)(m?.AccessToken??""),y=m?.IdToken?(0,n.decodeJWT)(m.IdToken):void 0,{iat:v}=g.payload;if(!v)throw new a.AuthError({name:"iatNotFoundException",message:"iat not found in access token"});return{accessToken:g,idToken:y,clockDrift:1e3*v-(new Date).getTime(),refreshToken:m?.RefreshToken??e.refreshToken,username:r}};t.refreshAuthTokens=(0,n.deDupeAsyncFunction)(u),t.refreshAuthTokensWithoutDedupe=u},76803(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashFromData=void 0;const n=r(136),o=r(82639);t.getHashFromData=e=>{const t=new n.Sha256;t.update(e);const r=t.digestSync(),i=(0,o.getHexFromBytes)(r);return new Array(64-i.length).join("0")+i}},76808(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousSubject=t.Subject=void 0;var a=r(48051),s=r(69879),c=r(50839),u=r(54830),l=r(12688),d=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype.lift=function(e){var t=new p(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new c.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;l.errorContext(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=i(t.currentObservers),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;l.errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;l.errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?s.EMPTY_SUBSCRIPTION:(this.currentObservers=null,i.push(e),new s.Subscription(function(){t.currentObservers=null,u.arrRemove(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,o=t.isStopped;r?e.error(n):o&&e.complete()},t.prototype.asObservable=function(){var e=new a.Observable;return e.source=this,e},t.create=function(e,t){return new p(e,t)},t}(a.Observable);t.Subject=d;var p=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return o(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:s.EMPTY_SUBSCRIPTION},t}(d);t.AnonymousSubject=p},77113(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_DELAY_MS=void 0,t.MAX_DELAY_MS=3e5},77602(e,t,r){"use strict";function n(e){return Object.keys(e).reduce((t,r)=>(void 0!==e[r]&&(t[r]=e[r]),t),{})}r.d(t,{J:()=>n})},77828(e,t,r){"use strict";r.d(t,{l:()=>y});var n=r(10790),o=r(51609),i=r(66284),a=r(61617),s=r(99274),c=r(46100),u=r(2412),l=r(68177),d=r(21067),p=r(43748),f=r(10715),h=r(24096),m=r(82056);const g={withCheckIcon:!0,allowDeselect:!0,checkIconPosition:"left"},y=(0,u.P9)((e,t)=>{const r=(0,c.Y)("Select",g,e),{classNames:u,styles:y,unstyled:v,vars:b,dropdownOpened:E,defaultDropdownOpened:w,onDropdownClose:S,onDropdownOpen:A,onFocus:_,onBlur:P,onClick:C,onChange:I,data:x,value:O,defaultValue:k,selectFirstOptionOnChange:T,onOptionSubmit:N,comboboxProps:j,readOnly:R,disabled:M,filter:D,limit:U,withScrollArea:F,maxDropdownHeight:L,size:z,searchable:V,rightSection:H,checkIconPosition:$,withCheckIcon:W,withAlignedLabels:B,nothingFoundMessage:K,name:G,form:q,searchValue:Y,defaultSearchValue:J,onSearchChange:Q,allowDeselect:X,error:Z,rightSectionPointerEvents:ee,id:te,clearable:re,clearButtonProps:ne,hiddenInputProps:oe,renderOption:ie,onClear:ae,autoComplete:se,scrollAreaProps:ce,__defaultRightSection:ue,__clearSection:le,__clearable:de,chevronColor:pe,autoSelectOnBlur:fe,attributes:he,...me}=r,ge=(0,o.useMemo)(()=>(0,l.d)(x),[x]),ye=(0,o.useRef)({}),ve=(0,o.useMemo)(()=>(0,d.D)(ge),[ge]),be=(0,i.B)(te),[Ee,we,Se]=(0,a.Z)({value:O,defaultValue:k,finalValue:null,onChange:I}),Ae="string"==typeof Ee?Ee in ve?ve[Ee]:ye.current[Ee]:void 0,_e=function(e){const t=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{t.current=e},[e]),t.current}(Ae),[Pe,Ce,Ie]=(0,a.Z)({value:Y,defaultValue:J,finalValue:Ae?Ae.label:"",onChange:Q}),xe=(0,h.B)({opened:E,defaultOpened:w,onDropdownOpen:()=>{A?.(),xe.updateSelectedOptionIndex("active",{scrollIntoView:!0})},onDropdownClose:()=>{S?.(),setTimeout(xe.resetSelectedOption,0)}}),Oe=e=>{Ce(e),xe.resetSelectedOption()},{resolvedClassNames:ke,resolvedStyles:Te}=(0,s.Y)({props:r,styles:y,classNames:u});(0,o.useEffect)(()=>{T&&xe.selectFirstOption()},[T,Pe]),(0,o.useEffect)(()=>{null===O&&Oe(""),"string"!=typeof O||!Ae||_e?.value===Ae.value&&_e?.label===Ae.label||Oe(Ae.label)},[O,Ae]),(0,o.useEffect)(()=>{Se||Ie||Oe("string"==typeof Ee?Ee in ve?ve[Ee]?.label:ye.current[Ee]?.label||"":"")},[ve,Ee]),(0,o.useEffect)(()=>{Ee&&Ee in ve&&(ye.current[Ee]=ve[Ee])},[ve,Ee]);const Ne=(0,n.jsx)(p.G.ClearButton,{...ne,onClear:()=>{we(null,null),Oe(""),ae?.()}}),je=re&&!!Ee&&!M&&!R;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(p.G,{store:xe,__staticSelector:"Select",classNames:ke,styles:Te,unstyled:v,readOnly:R,size:z,attributes:he,keepMounted:fe,onOptionSubmit:e=>{N?.(e);const t=X&&ve[e].value===Ee?null:ve[e],r=t?t.value:null;r!==Ee&&we(r,t),!Se&&Oe("string"==typeof r&&t?.label||""),xe.closeDropdown()},...j,children:[(0,n.jsx)(p.G.Target,{targetType:V?"input":"button",autoComplete:se,children:(0,n.jsx)(m.O,{id:be,ref:t,__defaultRightSection:(0,n.jsx)(p.G.Chevron,{size:z,error:Z,unstyled:v,color:pe}),__clearSection:Ne,__clearable:je,rightSection:H,rightSectionPointerEvents:ee||"none",...me,size:z,__staticSelector:"Select",disabled:M,readOnly:R||!V,value:Pe,onChange:e=>{Oe(e.currentTarget.value),xe.openDropdown(),T&&xe.selectFirstOption()},onFocus:e=>{V&&xe.openDropdown(),_?.(e)},onBlur:e=>{fe&&xe.clickSelectedOption(),V&&xe.closeDropdown();const t="string"==typeof Ee&&(Ee in ve?ve[Ee]:ye.current[Ee]);Oe(t&&t.label||""),P?.(e)},onClick:e=>{V?xe.openDropdown():xe.toggleDropdown(),C?.(e)},classNames:ke,styles:Te,unstyled:v,pointer:!V,error:Z,attributes:he})}),(0,n.jsx)(f.i,{data:ge,hidden:R||M,filter:D,search:Pe,limit:U,hiddenWhenEmpty:!K,withScrollArea:F,maxDropdownHeight:L,filterOptions:!!V&&Ae?.label!==Pe,value:Ee,checkIconPosition:$,withCheckIcon:W,withAlignedLabels:B,nothingFoundMessage:K,unstyled:v,labelId:me.label?`${be}-label`:void 0,"aria-label":me.label?void 0:me["aria-label"],renderOption:ie,scrollAreaProps:ce})]}),(0,n.jsx)(p.G.HiddenInput,{value:Ee,name:G,form:q,disabled:M,...oe})]})});y.classes={...m.O.classes,...p.G.classes},y.displayName="@mantine/core/Select"},77844(e,t,r){"use strict";r.d(t,{P:()=>n});const n=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)}},77876(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var n=r(65212),o=r(17214),i=r(5717),a=r(19724);t.distinct=function(e,t){return n.operate(function(r,n){var s=new Set;r.subscribe(o.createOperatorSubscriber(n,function(t){var r=e?e(t):t;s.has(r)||(s.add(r),n.next(t))})),t&&a.innerFrom(t).subscribe(o.createOperatorSubscriber(n,function(){return s.clear()},i.noop))})}},78040(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleCustomChallenge=O,t.handleMFASetupChallenge=k,t.handleSelectMFATypeChallenge=T,t.handleCompleteNewPasswordChallenge=N,t.handleUserPasswordAuthFlow=async function(e,t,r,n,i){const{userPoolClientId:a,userPoolId:s,userPoolEndpoint:c}=n,u={USERNAME:e,PASSWORD:t},l=await i.getDeviceMetadata(e);l&&l.deviceKey&&(u.DEVICE_KEY=l.deviceKey);const d={AuthFlow:"USER_PASSWORD_AUTH",AuthParameters:u,ClientMetadata:r,ClientId:a,UserContextData:(0,A.getUserContextData)({username:e,userPoolId:s,userPoolClientId:a})},g=(0,f.createInitiateAuthClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:c})}),y=await g({region:(0,m.getRegionFromUserPoolId)(s),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.SignIn)},d),v=y.ChallengeParameters?.USERNAME??y.ChallengeParameters?.USER_ID_FOR_SRP??e;return(0,I.setActiveSignInUsername)(v),"DEVICE_SRP_AUTH"===y.ChallengeName?(0,P.handleDeviceSRPAuth)({username:v,config:n,clientMetadata:r,session:y.Session,tokenOrchestrator:i}):y},t.handleUserSRPAuthFlow=async function(e,t,r,n,o){return(0,y.handlePasswordSRP)({username:e,password:t,clientMetadata:r,config:n,tokenOrchestrator:o,authFlow:"USER_SRP_AUTH"})},t.handleCustomAuthFlowWithoutSRP=async function(e,t,r,n){const{userPoolClientId:i,userPoolId:a,userPoolEndpoint:s}=r,c={USERNAME:e},u=await n.getDeviceMetadata(e);u&&u.deviceKey&&(c.DEVICE_KEY=u.deviceKey);const l={AuthFlow:"CUSTOM_AUTH",AuthParameters:c,ClientMetadata:t,ClientId:i,UserContextData:(0,A.getUserContextData)({username:e,userPoolId:a,userPoolClientId:i})},d=(0,f.createInitiateAuthClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:s})}),g=await d({region:(0,m.getRegionFromUserPoolId)(a),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.SignIn)},l),y=g.ChallengeParameters?.USERNAME??e;return(0,I.setActiveSignInUsername)(y),"DEVICE_SRP_AUTH"===g.ChallengeName?(0,P.handleDeviceSRPAuth)({username:y,config:r,clientMetadata:t,session:g.Session,tokenOrchestrator:n}):g},t.handleCustomSRPAuthFlow=async function(e,t,r,n,i){(0,o.assertTokenProviderConfig)(n);const{userPoolId:a,userPoolClientId:s,userPoolEndpoint:c}=n,u=a?.split("_")[1]||"",l=await(0,S.getAuthenticationHelper)(u),d={AuthFlow:"CUSTOM_AUTH",AuthParameters:{USERNAME:e,SRP_A:l.A.toString(16),CHALLENGE_NAME:"SRP_A"},ClientMetadata:r,ClientId:s,UserContextData:(0,A.getUserContextData)({username:e,userPoolId:a,userPoolClientId:s})},g=(0,f.createInitiateAuthClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:c})}),{ChallengeParameters:y,Session:v}=await g({region:(0,m.getRegionFromUserPoolId)(a),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.SignIn)},d),b=y?.USERNAME??e;return(0,I.setActiveSignInUsername)(b),(0,C.retryOnResourceNotFoundException)(_.handlePasswordVerifierChallenge,[t,y,r,v,l,n,i],b,i)},t.getSignInResult=async function e(t){const{challengeName:r,challengeParameters:a,availableChallenges:c}=t,u=n.Amplify.getConfig().Auth?.Cognito;switch((0,o.assertTokenProviderConfig)(u),r){case"CUSTOM_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_CUSTOM_CHALLENGE",additionalInfo:a}};case"MFA_SETUP":{const{signInSession:e,username:t}=w.signInStore.getState(),r=F(L(a.MFAS_CAN_SETUP))||[],n=z(r),o=n.includes("TOTP"),c=n.includes("EMAIL");if(o&&c)return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION",allowedMFATypes:n}};if(c)return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_EMAIL_SETUP"}};if(o){const r=(0,f.createAssociateSoftwareTokenClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:u.userPoolEndpoint})}),{Session:n,SecretCode:o}=await r({region:(0,m.getRegionFromUserPoolId)(u.userPoolId)},{Session:e});return w.signInStore.dispatch({type:"SET_SIGN_IN_SESSION",value:n}),{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_TOTP_SETUP",totpSetupDetails:j(o,t)}}}throw new i.AuthError({name:s.AuthErrorCodes.SignInException,message:`Cannot initiate MFA setup from available types: ${r}`})}case"NEW_PASSWORD_REQUIRED":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",missingAttributes:R(a.requiredAttributes)}};case"SELECT_MFA_TYPE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SELECTION",allowedMFATypes:F(L(a.MFAS_CAN_CHOOSE))}};case"SMS_OTP":case"SMS_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_SMS_CODE",codeDeliveryDetails:{deliveryMedium:a.CODE_DELIVERY_DELIVERY_MEDIUM,destination:a.CODE_DELIVERY_DESTINATION}}};case"SOFTWARE_TOKEN_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_TOTP_CODE"}};case"EMAIL_OTP":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_EMAIL_CODE",codeDeliveryDetails:{deliveryMedium:a.CODE_DELIVERY_DELIVERY_MEDIUM,destination:a.CODE_DELIVERY_DESTINATION}}};case"WEB_AUTHN":{const t=await(0,g.handleWebAuthnSignInResult)(a);return function(e){return"isSignedIn"in e&&"nextStep"in e}(t)?t:e(t)}case"PASSWORD":case"PASSWORD_SRP":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_PASSWORD"}};case"SELECT_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_FIRST_FACTOR_SELECTION",availableChallenges:c}}}throw new i.AuthError({name:s.AuthErrorCodes.SignInException,message:`An error occurred during the sign in process. ${r} challengeName returned by the underlying service was not addressed.`})},t.getTOTPSetupDetails=j,t.getSignInResultFromError=function(e){return e===a.InitiateAuthException.PasswordResetRequiredException?{isSignedIn:!1,nextStep:{signInStep:"RESET_PASSWORD"}}:e===a.InitiateAuthException.UserNotConfirmedException?{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_UP"}}:void 0},t.parseAttributes=R,t.createAttributes=M,t.handleChallengeName=async function(e,t,r,n,o,a,c,u){const l=u?.userAttributes,d=u?.friendlyDeviceName;switch(t){case"WEB_AUTHN":case"SELECT_CHALLENGE":return"PASSWORD_SRP"===n||"PASSWORD"===n?{ChallengeName:n,Session:r,$metadata:{}}:(0,v.initiateSelectedChallenge)({username:e,session:r,selectedChallenge:n,config:o,clientMetadata:c});case"SELECT_MFA_TYPE":return T({challengeResponse:n,clientMetadata:c,session:r,username:e,config:o});case"MFA_SETUP":return k({challengeResponse:n,clientMetadata:c,session:r,username:e,deviceName:d,config:o});case"NEW_PASSWORD_REQUIRED":return N({challengeResponse:n,clientMetadata:c,session:r,username:e,requiredAttributes:l,config:o});case"CUSTOM_CHALLENGE":return(0,C.retryOnResourceNotFoundException)(O,[{challengeResponse:n,clientMetadata:c,session:r,username:e,config:o,tokenOrchestrator:a}],e,a);case"SMS_MFA":case"SOFTWARE_TOKEN_MFA":case"SMS_OTP":case"EMAIL_OTP":return V({challengeName:t,challengeResponse:n,clientMetadata:c,session:r,username:e,config:o,tokenOrchestrator:a});case"PASSWORD":return(0,b.handleSelectChallengeWithPassword)(e,n,c,o,r);case"PASSWORD_SRP":return(0,E.handleSelectChallengeWithPasswordSRP)(e,n,c,o,r,a)}throw new i.AuthError({name:s.AuthErrorCodes.SignInException,message:`An error occurred during the sign in process.\n\t\t${t} challengeName returned by the underlying service was not addressed.`})},t.mapMfaType=D,t.getMFAType=U,t.getMFATypes=F,t.parseMFATypes=L,t.getAllowedMfaSetupTypes=z,t.assertUserNotAuthenticated=async function(){let e;try{e=await(0,d.getCurrentUser)()}catch(e){}if(e&&e.userId&&e.username)throw new i.AuthError({name:l.USER_ALREADY_AUTHENTICATED_EXCEPTION,message:"There is already a signed in user.",recoverySuggestion:"Call signOut before calling signIn again."})},t.getActiveSignInUsername=function(e){return w.signInStore.getState().username??e},t.handleMFAChallenge=V;const n=r(56547),o=r(22651),i=r(43518),a=r(11588),s=r(70928),c=r(49129),u=r(58765),l=r(34143),d=r(45341),p=r(17238),f=r(35456),h=r(28228),m=r(62639),g=r(9609),y=r(82366),v=r(47171),b=r(92590),E=r(82143),w=r(33826),S=r(80699),A=r(99369),_=r(73857),P=r(35138),C=r(98090),I=r(25279),x="userAttributes.";async function O({challengeResponse:e,clientMetadata:t,session:r,username:n,config:i,tokenOrchestrator:a}){const{userPoolId:s,userPoolClientId:c,userPoolEndpoint:u}=i,l={USERNAME:n,ANSWER:e},d=await(a?.getDeviceMetadata(n));d&&d.deviceKey&&(l.DEVICE_KEY=d.deviceKey);const g={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:l,Session:r,ClientMetadata:t,ClientId:c,UserContextData:(0,A.getUserContextData)({username:n,userPoolId:s,userPoolClientId:c})},y=(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:u})}),v=await y({region:(0,m.getRegionFromUserPoolId)(s),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},g);return"DEVICE_SRP_AUTH"===v.ChallengeName?(0,P.handleDeviceSRPAuth)({username:n,config:i,clientMetadata:t,session:v.Session,tokenOrchestrator:a}):v}async function k({challengeResponse:e,username:t,clientMetadata:r,session:n,deviceName:a,config:c}){const{userPoolId:u,userPoolClientId:l,userPoolEndpoint:d}=c;if("EMAIL"===e)return{ChallengeName:"MFA_SETUP",Session:n,ChallengeParameters:{MFAS_CAN_SETUP:'["EMAIL_OTP"]'},$metadata:{}};if("TOTP"===e)return{ChallengeName:"MFA_SETUP",Session:n,ChallengeParameters:{MFAS_CAN_SETUP:'["SOFTWARE_TOKEN_MFA"]'},$metadata:{}};const g={USERNAME:t};if(/^\d+$/.test(e)){const t=(0,f.createVerifySoftwareTokenClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:d})}),{Session:i}=await t({region:(0,m.getRegionFromUserPoolId)(u),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},{UserCode:e,Session:n,FriendlyDeviceName:a});w.signInStore.dispatch({type:"SET_SIGN_IN_SESSION",value:i});const s={ChallengeName:"MFA_SETUP",ChallengeResponses:g,Session:i,ClientMetadata:r,ClientId:l};return(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:d})})({region:(0,m.getRegionFromUserPoolId)(u),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},s)}if(e.includes("@")){g.EMAIL=e;const t={ChallengeName:"MFA_SETUP",ChallengeResponses:g,Session:n,ClientMetadata:r,ClientId:l};return(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:d})})({region:(0,m.getRegionFromUserPoolId)(u),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},t)}throw new i.AuthError({name:s.AuthErrorCodes.SignInException,message:`Cannot proceed with MFA setup using challengeResponse: ${e}`,recoverySuggestion:'Try passing "EMAIL", "TOTP", a valid email, or OTP code as the challengeResponse.'})}async function T({challengeResponse:e,username:t,clientMetadata:r,session:n,config:i}){const{userPoolId:a,userPoolClientId:s,userPoolEndpoint:l}=i;(0,u.assertValidationError)("TOTP"===e||"SMS"===e||"EMAIL"===e,c.AuthValidationErrorCode.IncorrectMFAMethod);const d={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:{USERNAME:t,ANSWER:D(e)},Session:n,ClientMetadata:r,ClientId:s,UserContextData:(0,A.getUserContextData)({username:t,userPoolId:a,userPoolClientId:s})};return(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:l})})({region:(0,m.getRegionFromUserPoolId)(a),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},d)}async function N({challengeResponse:e,clientMetadata:t,session:r,username:n,requiredAttributes:i,config:a}){const{userPoolId:s,userPoolClientId:c,userPoolEndpoint:u}=a,l={ChallengeName:"NEW_PASSWORD_REQUIRED",ChallengeResponses:{...M(i),NEW_PASSWORD:e,USERNAME:n},ClientMetadata:t,Session:r,ClientId:c,UserContextData:(0,A.getUserContextData)({username:n,userPoolId:s,userPoolClientId:c})};return(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:u})})({region:(0,m.getRegionFromUserPoolId)(s),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},l)}function j(e,t){return{sharedSecret:e,getSetupUri:(r,n)=>{const i=`otpauth://totp/${r}:${n??t}?secret=${e}&issuer=${r}`;return new o.AmplifyUrl(i)}}}function R(e){return e?JSON.parse(e).map(e=>e.includes(x)?e.replace(x,""):e):[]}function M(e){if(!e)return{};const t={};return Object.entries(e).forEach(([e,r])=>{r&&(t[`${x}${e}`]=r)}),t}function D(e){let t="SMS_MFA";return"TOTP"===e&&(t="SOFTWARE_TOKEN_MFA"),"EMAIL"===e&&(t="EMAIL_OTP"),t}function U(e){return"SMS_MFA"===e?"SMS":"SOFTWARE_TOKEN_MFA"===e?"TOTP":"EMAIL_OTP"===e?"EMAIL":void 0}function F(e){if(e)return e.map(U).filter(Boolean)}function L(e){return e?JSON.parse(e):[]}function z(e){return e.filter(e=>"EMAIL"===e||"TOTP"===e)}async function V({challengeName:e,challengeResponse:t,clientMetadata:r,session:n,username:i,config:a,tokenOrchestrator:s}){const{userPoolId:c,userPoolClientId:u,userPoolEndpoint:l}=a,d={USERNAME:i};"EMAIL_OTP"===e&&(d.EMAIL_OTP_CODE=t),"SMS_MFA"===e&&(d.SMS_MFA_CODE=t),"SMS_OTP"===e&&(d.SMS_OTP_CODE=t),"SOFTWARE_TOKEN_MFA"===e&&(d.SOFTWARE_TOKEN_MFA_CODE=t);const g=await(s?.getDeviceMetadata(i));g&&g.deviceKey&&(d.DEVICE_KEY=g.deviceKey);const y={ChallengeName:e,ChallengeResponses:d,Session:n,ClientMetadata:r,ClientId:u,UserContextData:(0,A.getUserContextData)({username:i,userPoolId:c,userPoolClientId:u})},v=(0,f.createRespondToAuthChallengeClient)({endpointResolver:(0,h.createCognitoUserPoolEndpointResolver)({endpointOverride:l})}),b=await v({region:(0,m.getRegionFromUserPoolId)(c),userAgentValue:(0,p.getAuthUserAgentValue)(o.AuthAction.ConfirmSignIn)},y);return"DEVICE_SRP_AUTH"===b.ChallengeName?(0,P.handleDeviceSRPAuth)({username:i,config:a,clientMetadata:r,session:b.Session,tokenOrchestrator:s}):b}},78051(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapAction=void 0;var i=r(64772),a=r(16002),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=a.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){var o;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i=t.actions;null!=r&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==r&&(a.immediateProvider.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(i.AsyncAction);t.AsapAction=s},78072(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.window=void 0;var n=r(76808),o=r(65212),i=r(17214),a=r(5717),s=r(19724);t.window=function(e){return o.operate(function(t,r){var o=new n.Subject;r.next(o.asObservable());var c=function(e){o.error(e),r.error(e)};return t.subscribe(i.createOperatorSubscriber(r,function(e){return null==o?void 0:o.next(e)},function(){o.complete(),r.complete()},c)),s.innerFrom(e).subscribe(i.createOperatorSubscriber(r,function(){o.complete(),r.next(o=new n.Subject)},a.noop,c)),function(){null==o||o.unsubscribe(),o=null}})}},78121(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClientInfo=void 0;var n=r(82558);Object.defineProperty(t,"getClientInfo",{enumerable:!0,get:function(){return n.getClientInfo}})},78263(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=void 0;var n=r(10281);t.isAsyncIterable=function(e){return Symbol.asyncIterator&&n.isFunction(null==e?void 0:e[Symbol.asyncIterator])}},78290(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCredentialScope=void 0;const n=r(15130);t.getCredentialScope=(e,t,r)=>`${e}/${t}/${r}/${n.KEY_TYPE_IDENTIFIER}`},78335(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidationError=function(e,t){const{message:r,recoverySuggestion:i}=o.validationErrorMap[t];if(!e)throw new n.GraphQLApiError({name:t,message:r,recoverySuggestion:i})};const n=r(69721),o=r(19543)},78519(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateClient=t.isCancelError=t.cancel=t.graphql=t.InternalGraphQLAPIClass=t.InternalGraphQLAPI=void 0;var n=r(63169);Object.defineProperty(t,"InternalGraphQLAPI",{enumerable:!0,get:function(){return n.InternalGraphQLAPI}}),Object.defineProperty(t,"InternalGraphQLAPIClass",{enumerable:!0,get:function(){return n.InternalGraphQLAPIClass}});var o=r(89015);Object.defineProperty(t,"graphql",{enumerable:!0,get:function(){return o.graphql}}),Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return o.cancel}}),Object.defineProperty(t,"isCancelError",{enumerable:!0,get:function(){return o.isCancelError}});var i=r(16211);Object.defineProperty(t,"generateClient",{enumerable:!0,get:function(){return i.generateClient}})},78531(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanInternals=void 0;var n=r(17214);t.scanInternals=function(e,t,r,o,i){return function(a,s){var c=r,u=t,l=0;a.subscribe(n.createOperatorSubscriber(s,function(t){var r=l++;u=c?e(u,t,r):(c=!0,t),o&&s.next(u)},i&&function(){c&&s.next(u),s.complete()}))}}},78744(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClientSerializer=void 0;var n=r(96029);Object.defineProperty(t,"createClientSerializer",{enumerable:!0,get:function(){return n.createClientSerializer}})},79048(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithCustomAuth=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{username:r,password:m,options:g}=e,y={loginId:r,authFlowType:"CUSTOM_WITHOUT_SRP"},v=g?.clientMetadata;(0,a.assertValidationError)(!!r,i.AuthValidationErrorCode.EmptySignInUsername),(0,a.assertValidationError)(!m,i.AuthValidationErrorCode.CustomAuthSignInPassword);try{const{ChallengeName:e,ChallengeParameters:n,AuthenticationResult:o,Session:i}=await(0,f.retryOnResourceNotFoundException)(c.handleCustomAuthFlowWithoutSRP,[r,v,t,d.tokenOrchestrator],r,d.tokenOrchestrator),a=(0,c.getActiveSignInUsername)(r);return(0,u.setActiveSignInState)({signInSession:i,username:a,challengeName:e,signInDetails:y}),o?(await(0,l.cacheCognitoTokens)({username:a,...o,NewDeviceMetadata:await(0,h.getNewDeviceMetadata)({userPoolId:t.userPoolId,userPoolEndpoint:t.userPoolEndpoint,newDeviceMetadata:o.NewDeviceMetadata,accessToken:o.AccessToken}),signInDetails:y}),(0,u.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:e,challengeParameters:n})}catch(e){(0,u.resetActiveSignInState)(),(0,s.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(73031),c=r(78040),u=r(27861),l=r(55794),d=r(4870),p=r(84539),f=r(98090),h=r(66542)},79097(e,t,r){"use strict";r.d(t,{g:()=>o,o:()=>n});const n=URL,o=URLSearchParams},79169(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeleteUserClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createDeleteUserClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("DeleteUser"),(0,i.createEmptyResponseDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},79187(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSigningKey=void 0;const n=r(15130),o=r(61176);t.getSigningKey=(e,t,r,i)=>{const a=`${n.SIGNATURE_IDENTIFIER}${e}`,s=(0,o.getHashedData)(a,t),c=(0,o.getHashedData)(s,r),u=(0,o.getHashedData)(c,i);return(0,o.getHashedData)(u,n.KEY_TYPE_IDENTIFIER)}},79224(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refCount=void 0;var n=r(65212),o=r(17214);t.refCount=function(){return n.operate(function(e,t){var r=null;e._refCount++;var n=o.createOperatorSubscriber(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,o=r;r=null,!n||o&&n!==o||n.unsubscribe(),t.unsubscribe()}});e.subscribe(n),n.closed||(r=e.connect())})}},79364(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.interval=t.iif=t.generate=t.fromEventPattern=t.fromEvent=t.from=t.forkJoin=t.empty=t.defer=t.connectable=t.concat=t.combineLatest=t.bindNodeCallback=t.bindCallback=t.UnsubscriptionError=t.TimeoutError=t.SequenceError=t.ObjectUnsubscribedError=t.NotFoundError=t.EmptyError=t.ArgumentOutOfRangeError=t.firstValueFrom=t.lastValueFrom=t.isObservable=t.identity=t.noop=t.pipe=t.NotificationKind=t.Notification=t.Subscriber=t.Subscription=t.Scheduler=t.VirtualAction=t.VirtualTimeScheduler=t.animationFrameScheduler=t.animationFrame=t.queueScheduler=t.queue=t.asyncScheduler=t.async=t.asapScheduler=t.asap=t.AsyncSubject=t.ReplaySubject=t.BehaviorSubject=t.Subject=t.animationFrames=t.observable=t.ConnectableObservable=t.Observable=void 0,t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.combineLatestWith=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=t.config=t.NEVER=t.EMPTY=t.scheduled=t.zip=t.using=t.timer=t.throwError=t.range=t.race=t.partition=t.pairs=t.onErrorResumeNext=t.of=t.never=t.merge=void 0,t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.pairwise=t.onErrorResumeNextWith=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=t.mergeAll=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=void 0,t.zipWith=t.zipAll=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=void 0;var i=r(48051);Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return i.Observable}});var a=r(14359);Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return a.ConnectableObservable}});var s=r(2884);Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return s.observable}});var c=r(21875);Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return c.animationFrames}});var u=r(76808);Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return u.Subject}});var l=r(97314);Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return l.BehaviorSubject}});var d=r(10381);Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return d.ReplaySubject}});var p=r(5130);Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return p.AsyncSubject}});var f=r(22105);Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return f.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return f.asapScheduler}});var h=r(62326);Object.defineProperty(t,"async",{enumerable:!0,get:function(){return h.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return h.asyncScheduler}});var m=r(99245);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return m.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return m.queueScheduler}});var g=r(15887);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return g.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return g.animationFrameScheduler}});var y=r(50875);Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return y.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return y.VirtualAction}});var v=r(65881);Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return v.Scheduler}});var b=r(69879);Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return b.Subscription}});var E=r(2708);Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return E.Subscriber}});var w=r(31245);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return w.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return w.NotificationKind}});var S=r(99517);Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return S.pipe}});var A=r(5717);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return A.noop}});var _=r(87699);Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return _.identity}});var P=r(62560);Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return P.isObservable}});var C=r(85761);Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return C.lastValueFrom}});var I=r(40841);Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return I.firstValueFrom}});var x=r(7024);Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return x.ArgumentOutOfRangeError}});var O=r(59328);Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return O.EmptyError}});var k=r(23506);Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return k.NotFoundError}});var T=r(50839);Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return T.ObjectUnsubscribedError}});var N=r(94708);Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return N.SequenceError}});var j=r(81713);Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return j.TimeoutError}});var R=r(69517);Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return R.UnsubscriptionError}});var M=r(79750);Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return M.bindCallback}});var D=r(21946);Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return D.bindNodeCallback}});var U=r(88246);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return U.combineLatest}});var F=r(39546);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return F.concat}});var L=r(98590);Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return L.connectable}});var z=r(35884);Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return z.defer}});var V=r(44885);Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return V.empty}});var H=r(75266);Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return H.forkJoin}});var $=r(47058);Object.defineProperty(t,"from",{enumerable:!0,get:function(){return $.from}});var W=r(88616);Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return W.fromEvent}});var B=r(26920);Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return B.fromEventPattern}});var K=r(87281);Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return K.generate}});var G=r(99380);Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return G.iif}});var q=r(62275);Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return q.interval}});var Y=r(95936);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return Y.merge}});var J=r(11934);Object.defineProperty(t,"never",{enumerable:!0,get:function(){return J.never}});var Q=r(61587);Object.defineProperty(t,"of",{enumerable:!0,get:function(){return Q.of}});var X=r(1903);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return X.onErrorResumeNext}});var Z=r(88269);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return Z.pairs}});var ee=r(57406);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ee.partition}});var te=r(89795);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return te.race}});var re=r(74385);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return re.range}});var ne=r(26680);Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return ne.throwError}});var oe=r(5825);Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return oe.timer}});var ie=r(35904);Object.defineProperty(t,"using",{enumerable:!0,get:function(){return ie.using}});var ae=r(11415);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return ae.zip}});var se=r(30131);Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return se.scheduled}});var ce=r(44885);Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return ce.EMPTY}});var ue=r(11934);Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return ue.NEVER}}),o(r(96153),t);var le=r(93728);Object.defineProperty(t,"config",{enumerable:!0,get:function(){return le.config}});var de=r(88877);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return de.audit}});var pe=r(51608);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return pe.auditTime}});var fe=r(10706);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return fe.buffer}});var he=r(9287);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return he.bufferCount}});var me=r(41719);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return me.bufferTime}});var ge=r(61778);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return ge.bufferToggle}});var ye=r(56606);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return ye.bufferWhen}});var ve=r(72719);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return ve.catchError}});var be=r(89244);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return be.combineAll}});var Ee=r(67933);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return Ee.combineLatestAll}});var we=r(82044);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return we.combineLatestWith}});var Se=r(70201);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return Se.concatAll}});var Ae=r(29512);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return Ae.concatMap}});var _e=r(19913);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return _e.concatMapTo}});var Pe=r(98032);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return Pe.concatWith}});var Ce=r(17812);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return Ce.connect}});var Ie=r(88589);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return Ie.count}});var xe=r(3143);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return xe.debounce}});var Oe=r(21762);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Oe.debounceTime}});var ke=r(58799);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return ke.defaultIfEmpty}});var Te=r(5797);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return Te.delay}});var Ne=r(72885);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Ne.delayWhen}});var je=r(19818);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return je.dematerialize}});var Re=r(77876);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return Re.distinct}});var Me=r(22044);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return Me.distinctUntilChanged}});var De=r(76035);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return De.distinctUntilKeyChanged}});var Ue=r(61279);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return Ue.elementAt}});var Fe=r(66791);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return Fe.endWith}});var Le=r(21361);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return Le.every}});var ze=r(11464);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return ze.exhaust}});var Ve=r(17977);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return Ve.exhaustAll}});var He=r(86632);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return He.exhaustMap}});var $e=r(75544);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return $e.expand}});var We=r(85934);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return We.filter}});var Be=r(17802);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return Be.finalize}});var Ke=r(98183);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return Ke.find}});var Ge=r(29035);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return Ge.findIndex}});var qe=r(19980);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return qe.first}});var Ye=r(5128);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Ye.groupBy}});var Je=r(2959);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Je.ignoreElements}});var Qe=r(69915);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Qe.isEmpty}});var Xe=r(32568);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Xe.last}});var Ze=r(26872);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Ze.map}});var et=r(13337);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return et.mapTo}});var tt=r(75019);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return tt.materialize}});var rt=r(50096);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return rt.max}});var nt=r(68087);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return nt.mergeAll}});var ot=r(74613);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return ot.flatMap}});var it=r(67478);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return it.mergeMap}});var at=r(76075);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return at.mergeMapTo}});var st=r(16707);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return st.mergeScan}});var ct=r(79694);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return ct.mergeWith}});var ut=r(80142);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return ut.min}});var lt=r(18464);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return lt.multicast}});var dt=r(32071);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return dt.observeOn}});var pt=r(95513);Object.defineProperty(t,"onErrorResumeNextWith",{enumerable:!0,get:function(){return pt.onErrorResumeNextWith}});var ft=r(26744);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return ft.pairwise}});var ht=r(66355);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return ht.pluck}});var mt=r(53197);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return mt.publish}});var gt=r(82955);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return gt.publishBehavior}});var yt=r(26569);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return yt.publishLast}});var vt=r(68710);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return vt.publishReplay}});var bt=r(6677);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return bt.raceWith}});var Et=r(92070);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return Et.reduce}});var wt=r(56131);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return wt.repeat}});var St=r(82139);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return St.repeatWhen}});var At=r(3352);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return At.retry}});var _t=r(73956);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return _t.retryWhen}});var Pt=r(79224);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Pt.refCount}});var Ct=r(43434);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Ct.sample}});var It=r(44143);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return It.sampleTime}});var xt=r(35565);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return xt.scan}});var Ot=r(73929);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Ot.sequenceEqual}});var kt=r(93405);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return kt.share}});var Tt=r(17782);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Tt.shareReplay}});var Nt=r(55440);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Nt.single}});var jt=r(23079);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return jt.skip}});var Rt=r(92359);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Rt.skipLast}});var Mt=r(97783);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Mt.skipUntil}});var Dt=r(65774);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Dt.skipWhile}});var Ut=r(99054);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Ut.startWith}});var Ft=r(5455);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return Ft.subscribeOn}});var Lt=r(16201);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return Lt.switchAll}});var zt=r(90680);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return zt.switchMap}});var Vt=r(761);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return Vt.switchMapTo}});var Ht=r(48461);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return Ht.switchScan}});var $t=r(54383);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return $t.take}});var Wt=r(65279);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Wt.takeLast}});var Bt=r(66911);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return Bt.takeUntil}});var Kt=r(60598);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return Kt.takeWhile}});var Gt=r(15019);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return Gt.tap}});var qt=r(44880);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return qt.throttle}});var Yt=r(7245);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return Yt.throttleTime}});var Jt=r(30632);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return Jt.throwIfEmpty}});var Qt=r(32508);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Qt.timeInterval}});var Xt=r(81713);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Xt.timeout}});var Zt=r(50597);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Zt.timeoutWith}});var er=r(53866);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return er.timestamp}});var tr=r(73484);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return tr.toArray}});var rr=r(78072);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return rr.window}});var nr=r(62893);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return nr.windowCount}});var or=r(90037);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return or.windowTime}});var ir=r(28996);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return ir.windowToggle}});var ar=r(65156);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return ar.windowWhen}});var sr=r(66975);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return sr.withLatestFrom}});var cr=r(5362);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return cr.zipAll}});var ur=r(36977);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return ur.zipWith}})},79404(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReachabilityMonitor=void 0;const n=r(22651);t.ReachabilityMonitor=()=>(new n.Reachability).networkMonitor()},79694(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeWith=void 0;var i=r(9330);t.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.merge.apply(void 0,o([],n(e)))}},79750(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallback=void 0;var n=r(17474);t.bindCallback=function(e,t,r){return n.bindCallbackInternals(!1,e,t,r)}},80056(e,t,r){"use strict";r.r(t),r.d(t,{fromHex:()=>i,toHex:()=>a});const n={},o={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),n[e]=t,o[t]=e}function i(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const n=e.slice(r,r+2).toLowerCase();if(!(n in o))throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`);t[r/2]=o[n]}return t}function a(e){let t="";for(let r=0;r<e.byteLength;r++)t+=n[e[r]];return t}},80142(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.min=void 0;var n=r(92070),o=r(10281);t.min=function(e){return n.reduce(o.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})}},80227(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oAuthStore=void 0;const n=r(56547),o=r(21636);t.oAuthStore=new o.DefaultOAuthStore(n.defaultStorage)},80355(e,t,r){"use strict";r.d(t,{J:()=>g});var n=r(10790),o=r(88149),i=r(51609),a=r(56324),s=r(59396),c=r(46100),u=r(52837),l=r(18639),d=r(46076);const p=(0,i.forwardRef)(({size:e="var(--cb-icon-size, 70%)",style:t,...r},o)=>(0,n.jsx)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t,width:e,height:e},ref:o,...r,children:(0,n.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));p.displayName="@mantine/core/CloseIcon";var f={root:"m_86a44da5","root--subtle":"m_220c80f2"};const h={variant:"subtle"},m=(0,s.V)((e,{size:t,radius:r,iconSize:n})=>({root:{"--cb-size":(0,a.YC)(t,"cb-size"),"--cb-radius":void 0===r?void 0:(0,a.nJ)(r),"--cb-icon-size":(0,o.D)(n)}})),g=(0,l.v)((e,t)=>{const r=(0,c.Y)("CloseButton",h,e),{iconSize:o,children:i,vars:a,radius:s,className:l,classNames:g,style:y,styles:v,unstyled:b,"data-disabled":E,disabled:w,variant:S,icon:A,mod:_,attributes:P,__staticSelector:C,...I}=r,x=(0,u.I)({name:C||"CloseButton",props:r,className:l,style:y,classes:f,classNames:g,styles:v,unstyled:b,attributes:P,vars:a,varsResolver:m});return(0,n.jsxs)(d.N,{ref:t,...I,unstyled:b,variant:S,disabled:w,mod:[{disabled:w||E},_],...x("root",{variant:S,active:!w&&!E}),children:[A||(0,n.jsx)(p,{}),i]})});g.classes=f,g.displayName="@mantine/core/CloseButton"},80369(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cryptoSecureRandomInt=function(){return(0,n.getCrypto)().getRandomValues(new Uint32Array(1))[0]};const n=r(58506)},80494(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isClockSkewed=void 0;const n=r(82322);t.isClockSkewed=(e,t)=>Math.abs((0,n.getSkewCorrectedDate)(t).getTime()-e)>=3e5},80629(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteropObservable=void 0;var n=r(2884),o=r(10281);t.isInteropObservable=function(e){return o.isFunction(e[n.observable])}},80684(e,t,r){"use strict";function n(e,t){return"number"==typeof e.primaryShade?e.primaryShade:"dark"===t?e.primaryShade.dark:e.primaryShade.light}r.d(t,{g:()=>n})},80694(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalQueryString=void 0,t.getCanonicalQueryString=e=>Array.from(e).sort(([e,t],[r,n])=>e===r?t<n?-1:1:e<r?-1:1).map(([e,t])=>`${r(e)}=${r(t)}`).join("&");const r=e=>encodeURIComponent(e).replace(/[!'()*]/g,n),n=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`},80699(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSignatureString=t.getNowString=t.getBytesFromHex=t.getAuthenticationHelper=void 0;var n=r(25343);Object.defineProperty(t,"getAuthenticationHelper",{enumerable:!0,get:function(){return n.getAuthenticationHelper}});var o=r(95179);Object.defineProperty(t,"getBytesFromHex",{enumerable:!0,get:function(){return o.getBytesFromHex}});var i=r(74214);Object.defineProperty(t,"getNowString",{enumerable:!0,get:function(){return i.getNowString}});var a=r(58372);Object.defineProperty(t,"getSignatureString",{enumerable:!0,get:function(){return a.getSignatureString}})},80719(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinAllInternals=void 0;var n=r(87699),o=r(13916),i=r(99517),a=r(67478),s=r(73484);t.joinAllInternals=function(e,t){return i.pipe(s.toArray(),a.mergeMap(function(t){return e(t)}),t?o.mapOneOrManyArgs(t):n.identity)}},81318(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18n=void 0;const n=new(r(69580).ConsoleLogger)("I18n");t.I18n=class{constructor(){this._options=null,this._lang=null,this._dict={}}setDefaultLanguage(){!this._lang&&"undefined"!=typeof window&&window&&window.navigator&&(this._lang=window.navigator.language),n.debug(this._lang)}setLanguage(e){this._lang=e}get(e,t=void 0){if(this.setDefaultLanguage(),!this._lang)return void 0!==t?t:e;const r=this._lang;let n=this.getByLanguage(e,r);return n||(r.indexOf("-")>0&&(n=this.getByLanguage(e,r.split("-")[0])),n||(void 0!==t?t:e))}getByLanguage(e,t,r=null){if(!t)return r;const n=this._dict[t];return n?n[e]:r}putVocabulariesForLanguage(e,t){let r=this._dict[e];r||(r=this._dict[e]={}),this._dict[e]={...r,...t}}putVocabularies(e){Object.keys(e).forEach(t=>{this.putVocabulariesForLanguage(t,e[t])})}}},81547(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRegionFromUserPoolId=function(e){const t=e?.split("_")[0];if(!e||e.indexOf("_")<0||!t||"string"!=typeof t)throw new n.AuthError({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t},t.getRegionFromIdentityPoolId=function(e){if(!e||!e.includes(":"))throw new n.AuthError({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]};const n=r(43518)},81713(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var n=r(62326),o=r(85345),i=r(65212),a=r(19724),s=r(9619),c=r(17214),u=r(28619);function l(e){throw new t.TimeoutError(e)}t.TimeoutError=s.createErrorClass(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}}),t.timeout=function(e,t){var r=o.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,s=r.first,d=r.each,p=r.with,f=void 0===p?l:p,h=r.scheduler,m=void 0===h?null!=t?t:n.asyncScheduler:h,g=r.meta,y=void 0===g?null:g;if(null==s&&null==d)throw new TypeError("No timeout provided.");return i.operate(function(e,t){var r,n,o=null,i=0,l=function(e){n=u.executeSchedule(t,m,function(){try{r.unsubscribe(),a.innerFrom(f({meta:y,lastValue:o,seen:i})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe(c.createOperatorSubscriber(t,function(e){null==n||n.unsubscribe(),i++,t.next(o=e),d>0&&l(d)},void 0,void 0,function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),o=null})),!i&&l(null!=s?"number"==typeof s?s:+s-m.now():d)})}},81963(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateEnumsProperty=void 0,t.generateEnumsProperty=e=>{const t=e.modelIntrospection;if(!t)return{};const r={};for(const[e,n]of Object.entries(t.enums))r[n.name]={values:()=>n.values};return r}},82044(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestWith=void 0;var i=r(64948);t.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.combineLatest.apply(void 0,o([],n(e)))}},82056(e,t,r){"use strict";r.d(t,{O:()=>u});var n=r(10790),o=(r(51609),r(18639)),i=r(31422),a=r(46100),s=r(63733);const c={__staticSelector:"InputBase",withAria:!0,size:"sm"},u=(0,o.v)((e,t)=>{const{inputProps:r,wrapperProps:o,...u}=function(e,t,r){const n=(0,a.Y)("InputBase",t,r),{label:o,description:i,error:c,required:u,classNames:l,styles:d,className:p,unstyled:f,__staticSelector:h,__stylesApiProps:m,errorProps:g,labelProps:y,descriptionProps:v,wrapperProps:b,id:E,size:w,style:S,inputContainer:A,inputWrapperOrder:_,withAsterisk:P,variant:C,vars:I,mod:x,attributes:O,...k}=n,{styleProps:T,rest:N}=(0,s.j)(k);return{...N,classNames:l,styles:d,unstyled:f,wrapperProps:{...{label:o,description:i,error:c,required:u,classNames:l,className:p,__staticSelector:h,__stylesApiProps:m||n,errorProps:g,labelProps:y,descriptionProps:v,unstyled:f,styles:d,size:w,style:S,inputContainer:A,inputWrapperOrder:_,withAsterisk:P,variant:C,id:E,mod:x,attributes:O,...b},...T},inputProps:{required:u,classNames:l,styles:d,unstyled:f,size:w,__staticSelector:h,__stylesApiProps:m||n,error:c,variant:C,id:E,attributes:O}}}(0,c,e);return(0,n.jsx)(i.p.Wrapper,{...o,children:(0,n.jsx)(i.p,{...r,...u,ref:t})})});u.classes={...i.p.classes,...i.p.Wrapper.classes},u.displayName="@mantine/core/InputBase"},82060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(83181),t)},82139(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeatWhen=void 0;var n=r(19724),o=r(76808),i=r(65212),a=r(17214);t.repeatWhen=function(e){return i.operate(function(t,r){var i,s,c=!1,u=!1,l=!1,d=function(){return l&&u&&(r.complete(),!0)},p=function(){l=!1,i=t.subscribe(a.createOperatorSubscriber(r,void 0,function(){l=!0,!d()&&(s||(s=new o.Subject,n.innerFrom(e(s)).subscribe(a.createOperatorSubscriber(r,function(){i?p():c=!0},function(){u=!0,d()}))),s).next()})),c&&(i.unsubscribe(),i=null,c=!1,p())};p()})}},82143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleSelectChallengeWithPasswordSRP=async function(e,t,r,f,h,m){const{userPoolId:g,userPoolClientId:y,userPoolEndpoint:v}=f,b=g.split("_")[1]||"",E=await(0,c.getAuthenticationHelper)(b),w={ANSWER:"PASSWORD_SRP",USERNAME:e,SRP_A:E.A.toString(16)},S=(0,u.getUserContextData)({username:e,userPoolId:g,userPoolClientId:y}),A=(0,o.createRespondToAuthChallengeClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:v})}),_=await A({region:(0,a.getRegionFromUserPoolId)(g),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:w,ClientId:y,ClientMetadata:r,Session:h,UserContextData:S}),P=_.ChallengeParameters?.USERNAME??e;return(0,l.setActiveSignInUsername)(P),"PASSWORD_VERIFIER"===_.ChallengeName?(0,d.retryOnResourceNotFoundException)(p.handlePasswordVerifierChallenge,[t,_.ChallengeParameters,r,_.Session,E,f,m],P,m):_};const n=r(22651),o=r(35456),i=r(28228),a=r(62639),s=r(17238),c=r(80699),u=r(99369),l=r(25279),d=r(98090),p=r(73857)},82192(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__endpoint=t.__headers=t.__apiKey=t.__authToken=t.__authMode=t.__amplify=t.GraphQLAuthError=t.ConnectionState=t.CONTROL_MSG=void 0,t.getInternals=function(e){const r=e;return{amplify:r[t.__amplify],apiKey:r[t.__apiKey],authMode:r[t.__authMode],authToken:r[t.__authToken],endpoint:r[t.__endpoint],headers:r[t.__headers]}};var n,o=r(68769);Object.defineProperty(t,"CONTROL_MSG",{enumerable:!0,get:function(){return o.CONTROL_MSG}}),Object.defineProperty(t,"ConnectionState",{enumerable:!0,get:function(){return o.ConnectionState}}),function(e){e.NO_API_KEY="No api-key configured",e.NO_CURRENT_USER="No current user",e.NO_CREDENTIALS="No credentials",e.NO_FEDERATED_JWT="No federated jwt",e.NO_AUTH_TOKEN="No auth token specified"}(n||(t.GraphQLAuthError=n={})),t.__amplify=Symbol("amplify"),t.__authMode=Symbol("authMode"),t.__authToken=Symbol("authToken"),t.__apiKey=Symbol("apiKey"),t.__headers=Symbol("headers"),t.__endpoint=Symbol("endpoint")},82313(e,t,r){"use strict";r.d(t,{b:()=>o});var n=r(8404);const o=({maxAttempts:e=n.K7,retryDecider:t,computeDelay:r,abortSignal:o})=>{if(e<1)throw new Error("maxAttempts must be greater than 0");return(n,s)=>async function(c){let u,l,d=s.attemptsCount??0;const p=()=>{if(l)return a(l,d),l;throw a(u,d),u};for(;!o?.aborted&&d<e;){try{l=await n(c),u=void 0}catch(e){u=e,l=void 0}d=(s.attemptsCount??0)>d?s.attemptsCount??0:d+1,s.attemptsCount=d;const{isCredentialsExpiredError:a,retryable:f}=await t(l,u,s);if(!f)return p();if(s.isCredentialsExpired=!!a,!o?.aborted&&d<e){const e=r(d);await i(e,o)}}if(o?.aborted)throw new Error("Request aborted.");return p()}},i=(e,t)=>{if(t?.aborted)return Promise.resolve();let r,n;const o=new Promise(t=>{n=t,r=setTimeout(t,e)});return t?.addEventListener("abort",function e(o){clearTimeout(r),t?.removeEventListener("abort",e),n()}),o},a=(e,t)=>{"[object Object]"===Object.prototype.toString.call(e)&&(e.$metadata={...e.$metadata??{},attempts:t})}},82322(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSkewCorrectedDate=void 0,t.getSkewCorrectedDate=e=>new Date(Date.now()+e)},82345(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patch=t.head=t.del=t.put=t.post=t.get=void 0;const n=r(41723),o=r(45977),i=r(99892),a=(e,t,r)=>{const{apiName:a,options:s={},path:c}=t,u=e.libraryOptions?.API?.REST?.timeout?.({apiName:a,method:r}),l=s?.timeout||u||void 0,d=new AbortController,p=d.signal;return(0,n.createCancellableOperation)(async()=>{const t=(0,n.resolveApiUrl)(e,a,c,s?.queryParams),u=await(e.libraryOptions?.API?.REST?.headers?.({apiName:a})),{headers:l={}}=s,d={...u,...l},f=(0,n.parseSigningInfo)(t,{amplify:e,apiName:a});return n.logger.debug(r,t,d,`IAM signing options: ${JSON.stringify(f)}`),(0,i.transferHandler)(e,{...s,url:t,method:r,headers:d,abortSignal:p},o.isIamAuthApplicableForRest,f)},d,"public",l)};t.get=(e,t)=>a(e,t,"GET"),t.post=(e,t)=>a(e,t,"POST"),t.put=(e,t)=>a(e,t,"PUT"),t.del=(e,t)=>a(e,t,"DELETE"),t.head=(e,t)=>a(e,t,"HEAD"),t.patch=(e,t)=>a(e,t,"PATCH")},82366(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handlePasswordSRP=async function({username:e,password:t,clientMetadata:r,config:f,tokenOrchestrator:h,authFlow:m,preferredChallenge:g}){const{userPoolId:y,userPoolClientId:v,userPoolEndpoint:b}=f,E=y?.split("_")[1]||"",w=await(0,i.getAuthenticationHelper)(E),S={USERNAME:e,SRP_A:w.A.toString(16)};"USER_AUTH"===m&&g&&(S.PREFERRED_CHALLENGE=g);const A={AuthFlow:m,AuthParameters:S,ClientMetadata:r,ClientId:v,UserContextData:(0,o.getUserContextData)({username:e,userPoolId:y,userPoolClientId:v})},_=(0,a.createInitiateAuthClient)({endpointResolver:(0,s.createCognitoUserPoolEndpointResolver)({endpointOverride:b})}),P=await _({region:(0,c.getRegionFromUserPoolId)(y),userAgentValue:(0,u.getAuthUserAgentValue)(n.AuthAction.SignIn)},A),{ChallengeParameters:C,Session:I}=P,x=C?.USERNAME??e;return(0,p.setActiveSignInUsername)(x),"PASSWORD_VERIFIER"===P.ChallengeName?(0,d.retryOnResourceNotFoundException)(l.handlePasswordVerifierChallenge,[t,C,r,I,w,f,h],x,h):P};const n=r(22651),o=r(99369),i=r(80699),a=r(35456),s=r(28228),c=r(62639),u=r(17238),l=r(73857),d=r(98090),p=r(25279)},82558(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClientInfo=function(){return"undefined"==typeof window?{}:function(){if("undefined"==typeof window)return n.warn("No window object available to get browser client info"),{};const e=window.navigator;if(!e)return n.warn("No navigator object available to get browser client info"),{};const{platform:t,product:r,vendor:o,userAgent:i,language:a}=e,s=function(e){const t=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9.]+).*/i.exec(e);if(t)return{type:t[1],version:t[2]};const r=/.+(Trident|Edge|Edg|EdgA|EdgiOS)\/([0-9.]+).*/i.exec(e);if(r)return{type:r[1],version:r[2]};const n=/.+(Chrome|CriOS|Firefox|FxiOS)\/([0-9.]+).*/i.exec(e);if(n)return{type:n[1],version:n[2]};const o=/.+(Safari)\/([0-9.]+).*/i.exec(e);if(o)return{type:o[1],version:o[2]};const i=/.+(AppleWebKit)\/([0-9.]+).*/i.exec(e);if(i)return{type:i[1],version:i[2]};const a=/.*([A-Z]+)\/([0-9.]+).*/i.exec(e);return a?{type:a[1],version:a[2]}:{type:"",version:""}}(i),c=function(){const e=/\(([A-Za-z\s].*)\)/.exec((new Date).toString());return e&&e[1]||""}();return{platform:t,make:r||o,model:s.type,version:s.version,appVersion:[s.type,s.version].join("/"),language:a,timezone:c}}()};const n=new(r(69580).ConsoleLogger)("getClientInfo")},82639(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHexFromBytes=void 0;const n=r(39902);t.getHexFromBytes=e=>{let t="";for(let r=0;r<e.byteLength;r++)t+=n.SHORT_TO_HEX[e[r]];return t}},82783(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=void 0;const n=r(22651),o=r(64166);t.getCurrentUser=async e=>{const t=e.getConfig().Auth?.Cognito;(0,n.assertTokenProviderConfig)(t);const r=await e.Auth.getTokens({forceRefresh:!1});(0,o.assertAuthTokens)(r);const{"cognito:username":i,sub:a}=r.idToken?.payload??{},s={username:i,userId:a},c=function(e){return e?.signInDetails}(r);return c&&(s.signInDetails=c),s}},82820(e,t,r){"use strict";r.d(t,{jH:()=>i}),r(10790);var n=r(51609);const o=(0,n.createContext)({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function i(){return(0,n.useContext)(o)}},82955(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishBehavior=void 0;var n=r(97314),o=r(14359);t.publishBehavior=function(e){return function(t){var r=new n.BehaviorSubject(e);return new o.ConnectableObservable(t,function(){return r})}}},83089(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConfirmForgotPasswordClient=void 0;const n=r(39236),o=r(3427),i=r(72002),a=r(58261);t.createConfirmForgotPasswordClient=e=>(0,n.composeServiceApi)(o.cognitoUserPoolTransferHandler,(0,i.createUserPoolSerializer)("ConfirmForgotPassword"),(0,i.createUserPoolDeserializer)(),{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e})},83102(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomUserAgentDetails=t.AiAction=t.INTERNAL_USER_AGENT_OVERRIDE=void 0,t.createUserAgentOverride=function(e){return e?{[t.INTERNAL_USER_AGENT_OVERRIDE]:e}:void 0},t.INTERNAL_USER_AGENT_OVERRIDE=Symbol("INTERNAL_USER_AGENT_OVERRIDE"),function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnStreamEvent="7",e.Generation="8",e.UpdateConversation="9"}(r||(t.AiAction=r={})),t.getCustomUserAgentDetails=e=>({category:"ai",action:e})},83181(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateState=t.generateCodeVerifier=t.getRedirectUrl=t.generateState=t.AUTH_KEY_PREFIX=t.createKeysForAuthStorage=t.refreshAuthTokensWithoutDedupe=t.refreshAuthTokens=t.DefaultTokenStore=t.TokenOrchestrator=t.cognitoUserPoolsTokenProvider=t.DefaultIdentityIdStore=t.CognitoAWSCredentialsAndIdentityIdProvider=t.cognitoCredentialsProvider=t.autoSignIn=t.fetchDevices=t.forgetDevice=t.rememberDevice=t.deleteUser=t.deleteUserAttributes=t.sendUserAttributeVerificationCode=t.signOut=t.fetchUserAttributes=t.signInWithRedirect=t.confirmUserAttribute=t.getCurrentUser=t.updateUserAttribute=t.updateUserAttributes=t.setUpTOTP=t.updatePassword=t.verifyTOTPSetup=t.fetchMFAPreference=t.updateMFAPreference=t.confirmSignIn=t.confirmSignUp=t.resendSignUpCode=t.signIn=t.confirmResetPassword=t.resetPassword=t.signUp=void 0;var n=r(15060);Object.defineProperty(t,"signUp",{enumerable:!0,get:function(){return n.signUp}});var o=r(5837);Object.defineProperty(t,"resetPassword",{enumerable:!0,get:function(){return o.resetPassword}});var i=r(43101);Object.defineProperty(t,"confirmResetPassword",{enumerable:!0,get:function(){return i.confirmResetPassword}});var a=r(86369);Object.defineProperty(t,"signIn",{enumerable:!0,get:function(){return a.signIn}});var s=r(24865);Object.defineProperty(t,"resendSignUpCode",{enumerable:!0,get:function(){return s.resendSignUpCode}});var c=r(26967);Object.defineProperty(t,"confirmSignUp",{enumerable:!0,get:function(){return c.confirmSignUp}});var u=r(56497);Object.defineProperty(t,"confirmSignIn",{enumerable:!0,get:function(){return u.confirmSignIn}});var l=r(7151);Object.defineProperty(t,"updateMFAPreference",{enumerable:!0,get:function(){return l.updateMFAPreference}});var d=r(35864);Object.defineProperty(t,"fetchMFAPreference",{enumerable:!0,get:function(){return d.fetchMFAPreference}});var p=r(30658);Object.defineProperty(t,"verifyTOTPSetup",{enumerable:!0,get:function(){return p.verifyTOTPSetup}});var f=r(97551);Object.defineProperty(t,"updatePassword",{enumerable:!0,get:function(){return f.updatePassword}});var h=r(91971);Object.defineProperty(t,"setUpTOTP",{enumerable:!0,get:function(){return h.setUpTOTP}});var m=r(45804);Object.defineProperty(t,"updateUserAttributes",{enumerable:!0,get:function(){return m.updateUserAttributes}});var g=r(47657);Object.defineProperty(t,"updateUserAttribute",{enumerable:!0,get:function(){return g.updateUserAttribute}});var y=r(45341);Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return y.getCurrentUser}});var v=r(25022);Object.defineProperty(t,"confirmUserAttribute",{enumerable:!0,get:function(){return v.confirmUserAttribute}});var b=r(91249);Object.defineProperty(t,"signInWithRedirect",{enumerable:!0,get:function(){return b.signInWithRedirect}});var E=r(76285);Object.defineProperty(t,"fetchUserAttributes",{enumerable:!0,get:function(){return E.fetchUserAttributes}});var w=r(59436);Object.defineProperty(t,"signOut",{enumerable:!0,get:function(){return w.signOut}});var S=r(25926);Object.defineProperty(t,"sendUserAttributeVerificationCode",{enumerable:!0,get:function(){return S.sendUserAttributeVerificationCode}});var A=r(35862);Object.defineProperty(t,"deleteUserAttributes",{enumerable:!0,get:function(){return A.deleteUserAttributes}});var _=r(98867);Object.defineProperty(t,"deleteUser",{enumerable:!0,get:function(){return _.deleteUser}});var P=r(2106);Object.defineProperty(t,"rememberDevice",{enumerable:!0,get:function(){return P.rememberDevice}});var C=r(61712);Object.defineProperty(t,"forgetDevice",{enumerable:!0,get:function(){return C.forgetDevice}});var I=r(42775);Object.defineProperty(t,"fetchDevices",{enumerable:!0,get:function(){return I.fetchDevices}});var x=r(19578);Object.defineProperty(t,"autoSignIn",{enumerable:!0,get:function(){return x.autoSignIn}});var O=r(88453);Object.defineProperty(t,"cognitoCredentialsProvider",{enumerable:!0,get:function(){return O.cognitoCredentialsProvider}}),Object.defineProperty(t,"CognitoAWSCredentialsAndIdentityIdProvider",{enumerable:!0,get:function(){return O.CognitoAWSCredentialsAndIdentityIdProvider}}),Object.defineProperty(t,"DefaultIdentityIdStore",{enumerable:!0,get:function(){return O.DefaultIdentityIdStore}});var k=r(4870);Object.defineProperty(t,"cognitoUserPoolsTokenProvider",{enumerable:!0,get:function(){return k.cognitoUserPoolsTokenProvider}}),Object.defineProperty(t,"TokenOrchestrator",{enumerable:!0,get:function(){return k.TokenOrchestrator}}),Object.defineProperty(t,"DefaultTokenStore",{enumerable:!0,get:function(){return k.DefaultTokenStore}}),Object.defineProperty(t,"refreshAuthTokens",{enumerable:!0,get:function(){return k.refreshAuthTokens}}),Object.defineProperty(t,"refreshAuthTokensWithoutDedupe",{enumerable:!0,get:function(){return k.refreshAuthTokensWithoutDedupe}}),Object.defineProperty(t,"createKeysForAuthStorage",{enumerable:!0,get:function(){return k.createKeysForAuthStorage}}),Object.defineProperty(t,"AUTH_KEY_PREFIX",{enumerable:!0,get:function(){return k.AUTH_KEY_PREFIX}});var T=r(7479);Object.defineProperty(t,"generateState",{enumerable:!0,get:function(){return T.generateState}}),Object.defineProperty(t,"getRedirectUrl",{enumerable:!0,get:function(){return T.getRedirectUrl}}),Object.defineProperty(t,"generateCodeVerifier",{enumerable:!0,get:function(){return T.generateCodeVerifier}}),Object.defineProperty(t,"validateState",{enumerable:!0,get:function(){return T.validateState}})},83359(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDeviceName=void 0;var n=r(17330);Object.defineProperty(t,"getDeviceName",{enumerable:!0,get:function(){return n.getDeviceName}})},83505(e,t,r){"use strict";r.d(t,{T3:()=>H,ck:()=>$,s9:()=>G,we:()=>q,iQ:()=>J,Mk:()=>L,bv:()=>X,SV:()=>w,It:()=>ee});var n=r(51609),o=r.t(n,2),i=r(86635);function a(){return function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:r}=e;return t+"/"+r}).join(" "):navigator.userAgent}().includes("jsdom/")}const s="data-floating-ui-focusable";function c(e){let t=e.activeElement;for(;null!=(null==(r=t)||null==(r=r.shadowRoot)?void 0:r.activeElement);){var r;t=t.shadowRoot.activeElement}return t}function u(e,t){if(!e||!t)return!1;const r=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&(0,i.Ng)(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function l(e){return"composedPath"in e?e.composedPath()[0]:e.target}function d(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return null!=r.target&&t.contains(r.target)}function p(e){return(null==e?void 0:e.ownerDocument)||document}function f(e,t,r){return void 0===r&&(r=!0),e.filter(e=>{var n;return e.parentId===t&&(!r||(null==(n=e.context)?void 0:n.open))}).flatMap(t=>[t,...f(e,t.id,r)])}function h(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}var m="undefined"!=typeof document?n.useLayoutEffect:function(){};function g(e){const t=n.useRef(e);return m(()=>{t.current=e}),t}const y={...o}.useInsertionEffect||(e=>e());function v(e){const t=n.useRef(()=>{});return y(()=>{t.current=e}),n.useCallback(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)},[])}var b=r(10790),E=(r(75795),r(34743));function w(e){const t=n.useRef(void 0),r=n.useCallback(t=>{const r=e.map(e=>{if(null!=e){if("function"==typeof e){const r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}}});return()=>{r.forEach(e=>null==e?void 0:e())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}const S="data-floating-ui-focusable",A="active",_="selected",P={...o};let C=!1,I=0;const x=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+I++,O=P.useId||function(){const[e,t]=n.useState(()=>C?x():void 0);return m(()=>{null==e&&t(x())},[]),n.useEffect(()=>{C=!0},[]),e};const k=n.createContext(null),T=n.createContext(null),N=()=>{var e;return(null==(e=n.useContext(k))?void 0:e.id)||null},j=()=>n.useContext(T);function R(e){return"data-floating-ui-"+e}function M(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}const D=R("safe-polygon");function U(e,t,r){if(r&&!h(r))return 0;if("number"==typeof e)return e;if("function"==typeof e){const r=e();return"number"==typeof r?r:null==r?void 0:r[t]}return null==e?void 0:e[t]}function F(e){return"function"==typeof e?e():e}function L(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,dataRef:a,events:s,elements:c}=e,{enabled:l=!0,delay:d=0,handleClose:f=null,mouseOnly:y=!1,restMs:b=0,move:E=!0}=t,w=j(),S=N(),A=g(f),_=g(d),P=g(r),C=g(b),I=n.useRef(),x=n.useRef(-1),O=n.useRef(),k=n.useRef(-1),T=n.useRef(!0),R=n.useRef(!1),L=n.useRef(()=>{}),z=n.useRef(!1),V=v(()=>{var e;const t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t});n.useEffect(()=>{if(l)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;t||(M(x),M(k),T.current=!0,z.current=!1)}},[l,s]),n.useEffect(()=>{if(!l)return;if(!A.current)return;if(!r)return;function e(e){V()&&o(!1,e,"hover")}const t=p(c.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[c.floating,r,o,l,A,V]);const H=n.useCallback(function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r="hover");const n=U(_.current,"close",I.current);n&&!O.current?(M(x),x.current=window.setTimeout(()=>o(!1,e,r),n)):t&&(M(x),o(!1,e,r))},[_,o]),$=v(()=>{L.current(),O.current=void 0}),W=v(()=>{if(R.current){const e=p(c.floating).body;e.style.pointerEvents="",e.removeAttribute(D),R.current=!1}}),B=v(()=>!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type));n.useEffect(()=>{if(l&&(0,i.vq)(c.domReference)){const o=c.domReference,i=c.floating;return r&&o.addEventListener("mouseleave",n),E&&o.addEventListener("mousemove",e,{once:!0}),o.addEventListener("mouseenter",e),o.addEventListener("mouseleave",t),i&&(i.addEventListener("mouseleave",n),i.addEventListener("mouseenter",s),i.addEventListener("mouseleave",d)),()=>{r&&o.removeEventListener("mouseleave",n),E&&o.removeEventListener("mousemove",e),o.removeEventListener("mouseenter",e),o.removeEventListener("mouseleave",t),i&&(i.removeEventListener("mouseleave",n),i.removeEventListener("mouseenter",s),i.removeEventListener("mouseleave",d))}}function e(e){if(M(x),T.current=!1,y&&!h(I.current)||F(C.current)>0&&!U(_.current,"open"))return;const t=U(_.current,"open",I.current);t?x.current=window.setTimeout(()=>{P.current||o(!0,e,"hover")},t):r||o(!0,e,"hover")}function t(e){if(B())return void W();L.current();const t=p(c.floating);if(M(k),z.current=!1,A.current&&a.current.floatingContext){r||M(x),O.current=A.current({...a.current.floatingContext,tree:w,x:e.clientX,y:e.clientY,onClose(){W(),$(),B()||H(e,!0,"safe-polygon")}});const n=O.current;return t.addEventListener("mousemove",n),void(L.current=()=>{t.removeEventListener("mousemove",n)})}("touch"!==I.current||!u(c.floating,e.relatedTarget))&&H(e)}function n(e){B()||a.current.floatingContext&&(null==A.current||A.current({...a.current.floatingContext,tree:w,x:e.clientX,y:e.clientY,onClose(){W(),$(),B()||H(e)}})(e))}function s(){M(x)}function d(e){B()||H(e,!1)}},[c,l,e,y,E,H,$,W,o,r,P,w,_,A,a,B,C]),m(()=>{var e;if(l&&r&&null!=(e=A.current)&&null!=(e=e.__options)&&e.blockPointerEvents&&V()){R.current=!0;const e=c.floating;if((0,i.vq)(c.domReference)&&e){var t;const r=p(c.floating).body;r.setAttribute(D,"");const n=c.domReference,o=null==w||null==(t=w.nodesRef.current.find(e=>e.id===S))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),r.style.pointerEvents="none",n.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{r.style.pointerEvents="",n.style.pointerEvents="",e.style.pointerEvents=""}}}},[l,r,S,c,w,A,V]),m(()=>{r||(I.current=void 0,z.current=!1,$(),W())},[r,$,W]),n.useEffect(()=>()=>{$(),M(x),M(k),W()},[l,c.domReference,$,W]);const K=n.useMemo(()=>{function e(e){I.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function n(){T.current||P.current||o(!0,t,"hover")}y&&!h(I.current)||r||0===F(C.current)||z.current&&e.movementX**2+e.movementY**2<2||(M(k),"touch"===I.current?n():(z.current=!0,k.current=window.setTimeout(n,F(C.current))))}}},[y,o,r,P,C]);return n.useMemo(()=>l?{reference:K}:{},[l,K])}const z=()=>{},V=n.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:z,setState:z,isInstantPhase:!1});function H(e){const{children:t,delay:r,timeoutMs:o=0}=e,[i,a]=n.useReducer((e,t)=>({...e,...t}),{delay:r,timeoutMs:o,initialDelay:r,currentId:null,isInstantPhase:!1}),s=n.useRef(null),c=n.useCallback(e=>{a({currentId:e})},[]);return m(()=>{i.currentId?null===s.current?s.current=i.currentId:i.isInstantPhase||a({isInstantPhase:!0}):(i.isInstantPhase&&a({isInstantPhase:!1}),s.current=null)},[i.currentId,i.isInstantPhase]),(0,b.jsx)(V.Provider,{value:n.useMemo(()=>({...i,setState:a,setCurrentId:c}),[i,c]),children:t})}function $(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,floatingId:i}=e,{id:a,enabled:s=!0}=t,c=null!=a?a:i,u=n.useContext(V),{currentId:l,setCurrentId:d,initialDelay:p,setState:f,timeoutMs:h}=u;return m(()=>{s&&l&&(f({delay:{open:1,close:U(p,"close")}}),l!==c&&o(!1))},[s,c,o,f,l,p]),m(()=>{function e(){o(!1),f({delay:p,currentId:null})}if(s&&l&&!r&&l===c){if(h){const t=window.setTimeout(e,h);return()=>{clearTimeout(t)}}e()}},[s,r,f,l,c,o,p,h]),m(()=>{s&&d!==z&&r&&d(c)},[s,r,d,c]),u}const W={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},B={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},K=e=>{var t,r;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(r=null==e?void 0:e.outsidePress)||r}};function G(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,elements:a,dataRef:s}=e,{enabled:c=!0,escapeKey:h=!0,outsidePress:m=!0,outsidePressEvent:g="pointerdown",referencePress:y=!1,referencePressEvent:b="pointerdown",ancestorScroll:E=!1,bubbles:w,capture:S}=t,A=j(),_=v("function"==typeof m?m:()=>!1),P="function"==typeof m?_:m,C=n.useRef(!1),{escapeKey:I,outsidePress:x}=K(w),{escapeKey:O,outsidePress:k}=K(S),T=n.useRef(!1),N=v(e=>{var t;if(!r||!c||!h||"Escape"!==e.key)return;if(T.current)return;const n=null==(t=s.current.floatingContext)?void 0:t.nodeId,i=A?f(A.nodesRef.current,n):[];if(!I&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach(t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)}),!e)return}o(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")}),M=v(e=>{var t;const r=()=>{var t;N(e),null==(t=l(e))||t.removeEventListener("keydown",r)};null==(t=l(e))||t.addEventListener("keydown",r)}),D=v(e=>{var t;const r=s.current.insideReactTree;s.current.insideReactTree=!1;const n=C.current;if(C.current=!1,"click"===g&&n)return;if(r)return;if("function"==typeof P&&!P(e))return;const c=l(e),h="["+R("inert")+"]",m=p(a.floating).querySelectorAll(h);let y=(0,i.vq)(c)?c:null;for(;y&&!(0,i.eu)(y);){const e=(0,i.$4)(y);if((0,i.eu)(e)||!(0,i.vq)(e))break;y=e}if(m.length&&(0,i.vq)(c)&&!c.matches("html,body")&&!u(c,a.floating)&&Array.from(m).every(e=>!u(y,e)))return;if((0,i.sb)(c)&&L){const t=(0,i.eu)(c),r=(0,i.L9)(c),n=/auto|scroll/,o=t||n.test(r.overflowX),a=t||n.test(r.overflowY),s=o&&c.clientWidth>0&&c.scrollWidth>c.clientWidth,u=a&&c.clientHeight>0&&c.scrollHeight>c.clientHeight,l="rtl"===r.direction,d=u&&(l?e.offsetX<=c.offsetWidth-c.clientWidth:e.offsetX>c.clientWidth),p=s&&e.offsetY>c.clientHeight;if(d||p)return}const v=null==(t=s.current.floatingContext)?void 0:t.nodeId,b=A&&f(A.nodesRef.current,v).some(t=>{var r;return d(e,null==(r=t.context)?void 0:r.elements.floating)});if(d(e,a.floating)||d(e,a.domReference)||b)return;const E=A?f(A.nodesRef.current,v):[];if(E.length>0){let e=!0;if(E.forEach(t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)}),!e)return}o(!1,e,"outside-press")}),U=v(e=>{var t;const r=()=>{var t;D(e),null==(t=l(e))||t.removeEventListener(g,r)};null==(t=l(e))||t.addEventListener(g,r)});n.useEffect(()=>{if(!r||!c)return;s.current.__escapeKeyBubbles=I,s.current.__outsidePressBubbles=x;let e=-1;function t(e){o(!1,e,"ancestor-scroll")}function n(){window.clearTimeout(e),T.current=!0}function u(){e=window.setTimeout(()=>{T.current=!1},(0,i.Tc)()?5:0)}const l=p(a.floating);h&&(l.addEventListener("keydown",O?M:N,O),l.addEventListener("compositionstart",n),l.addEventListener("compositionend",u)),P&&l.addEventListener(g,k?U:D,k);let d=[];return E&&((0,i.vq)(a.domReference)&&(d=(0,i.v9)(a.domReference)),(0,i.vq)(a.floating)&&(d=d.concat((0,i.v9)(a.floating))),!(0,i.vq)(a.reference)&&a.reference&&a.reference.contextElement&&(d=d.concat((0,i.v9)(a.reference.contextElement)))),d=d.filter(e=>{var t;return e!==(null==(t=l.defaultView)?void 0:t.visualViewport)}),d.forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{h&&(l.removeEventListener("keydown",O?M:N,O),l.removeEventListener("compositionstart",n),l.removeEventListener("compositionend",u)),P&&l.removeEventListener(g,k?U:D,k),d.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[s,a,h,P,g,r,o,E,c,I,x,N,O,M,D,k,U]),n.useEffect(()=>{s.current.insideReactTree=!1},[s,P,g]);const F=n.useMemo(()=>({onKeyDown:N,...y&&{[W[b]]:e=>{o(!1,e.nativeEvent,"reference-press")},..."click"!==b&&{onClick(e){o(!1,e.nativeEvent,"reference-press")}}}}),[N,o,y,b]),L=n.useMemo(()=>({onKeyDown:N,onMouseDown(){C.current=!0},onMouseUp(){C.current=!0},[B[g]]:()=>{s.current.insideReactTree=!0}}),[N,g,s]);return n.useMemo(()=>c?{reference:F,floating:L}:{},[c,F,L])}function q(e){void 0===e&&(e={});const{nodeId:t}=e,r=function(e){const{open:t=!1,onOpenChange:r,elements:o}=e,i=O(),a=n.useRef({}),[s]=n.useState(()=>function(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach(e=>e(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var n;null==(n=e.get(t))||n.delete(r)}}}()),c=null!=N(),[u,l]=n.useState(o.reference),d=v((e,t,n)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:n,nested:c}),null==r||r(e,t,n)}),p=n.useMemo(()=>({setPositionReference:l}),[]),f=n.useMemo(()=>({reference:u||o.reference||null,floating:o.floating||null,domReference:o.reference}),[u,o.reference,o.floating]);return n.useMemo(()=>({dataRef:a,open:t,onOpenChange:d,elements:f,events:s,floatingId:i,refs:p}),[t,d,f,s,i,p])}({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||r,a=o.elements,[s,c]=n.useState(null),[u,l]=n.useState(null),d=(null==a?void 0:a.domReference)||s,p=n.useRef(null),f=j();m(()=>{d&&(p.current=d)},[d]);const h=(0,E.we)({...e,elements:{...a,...u&&{reference:u}}}),g=n.useCallback(e=>{const t=(0,i.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;l(t),h.refs.setReference(t)},[h.refs]),y=n.useCallback(e=>{((0,i.vq)(e)||null===e)&&(p.current=e,c(e)),((0,i.vq)(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!(0,i.vq)(e))&&h.refs.setReference(e)},[h.refs]),b=n.useMemo(()=>({...h.refs,setReference:y,setPositionReference:g,domReference:p}),[h.refs,y,g]),w=n.useMemo(()=>({...h.elements,domReference:d}),[h.elements,d]),S=n.useMemo(()=>({...h,...o,refs:b,elements:w,nodeId:t}),[h,b,w,t,o]);return m(()=>{o.dataRef.current.floatingContext=S;const e=null==f?void 0:f.nodesRef.current.find(e=>e.id===t);e&&(e.context=S)}),n.useMemo(()=>({...h,context:S,refs:b,elements:w}),[h,b,w,S])}function Y(){return function(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints&&/apple/i.test(navigator.vendor)}function J(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,events:s,dataRef:d,elements:f}=e,{enabled:h=!0,visibleOnly:m=!0}=t,g=n.useRef(!1),y=n.useRef(-1),v=n.useRef(!0);n.useEffect(()=>{if(!h)return;const e=(0,i.zk)(f.domReference);function t(){!r&&(0,i.sb)(f.domReference)&&f.domReference===c(p(f.domReference))&&(g.current=!0)}function n(){v.current=!0}function o(){v.current=!1}return e.addEventListener("blur",t),Y()&&(e.addEventListener("keydown",n,!0),e.addEventListener("pointerdown",o,!0)),()=>{e.removeEventListener("blur",t),Y()&&(e.removeEventListener("keydown",n,!0),e.removeEventListener("pointerdown",o,!0))}},[f.domReference,r,h]),n.useEffect(()=>{if(h)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(g.current=!0)}},[s,h]),n.useEffect(()=>()=>{M(y)},[]);const b=n.useMemo(()=>({onMouseLeave(){g.current=!1},onFocus(e){if(g.current)return;const t=l(e.nativeEvent);if(m&&(0,i.vq)(t))if(Y()&&!e.relatedTarget){if(!v.current&&(r=t,!(0,i.sb)(r)||!r.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")))return}else if(!function(e){if(!e||a())return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(t))return;var r;o(!0,e.nativeEvent,"focus")},onBlur(e){g.current=!1;const t=e.relatedTarget,r=e.nativeEvent,n=(0,i.vq)(t)&&t.hasAttribute(R("focus-guard"))&&"outside"===t.getAttribute("data-type");y.current=window.setTimeout(()=>{var e;const i=c(f.domReference?f.domReference.ownerDocument:document);(t||i!==f.domReference)&&(u(null==(e=d.current.floatingContext)?void 0:e.refs.floating.current,i)||u(f.domReference,i)||n||o(!1,r,"focus"))})}}),[d,f.domReference,o,m]);return n.useMemo(()=>h?{reference:b}:{},[h,b])}function Q(e,t,r){const n=new Map,o="item"===r;let i=e;if(o&&e){const{[A]:t,[_]:__,...r}=e;i=r}return{..."floating"===r&&{tabIndex:-1,[S]:""},...i,...t.map(t=>{const n=t?t[r]:null;return"function"==typeof n?e?n(e):null:n}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[r,i]=t;var a;o&&[A,_].includes(r)||(0===r.indexOf("on")?(n.has(r)||n.set(r,[]),"function"==typeof i&&(null==(a=n.get(r))||a.push(i),e[r]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=n.get(r))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)})):e[r]=i)}),e):e,{})}}function X(e){void 0===e&&(e=[]);const t=e.map(e=>null==e?void 0:e.reference),r=e.map(e=>null==e?void 0:e.floating),o=e.map(e=>null==e?void 0:e.item),i=n.useCallback(t=>Q(t,e,"reference"),t),a=n.useCallback(t=>Q(t,e,"floating"),r),s=n.useCallback(t=>Q(t,e,"item"),o);return n.useMemo(()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:s}),[i,a,s])}const Z=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function ee(e,t){var r,o;void 0===t&&(t={});const{open:i,elements:a,floatingId:c}=e,{enabled:u=!0,role:l="dialog"}=t,d=O(),p=(null==(r=a.domReference)?void 0:r.id)||d,f=n.useMemo(()=>{var e,t;return(null==(e=(t=a.floating)?t.hasAttribute(s)?t:t.querySelector("["+s+"]")||t:null)?void 0:e.id)||c},[a.floating,c]),h=null!=(o=Z.get(l))?o:l,m=null!=N(),g=n.useMemo(()=>"tooltip"===h||"label"===l?{["aria-"+("label"===l?"labelledby":"describedby")]:i?f:void 0}:{"aria-expanded":i?"true":"false","aria-haspopup":"alertdialog"===h?"dialog":h,"aria-controls":i?f:void 0,..."listbox"===h&&{role:"combobox"},..."menu"===h&&{id:p},..."menu"===h&&m&&{role:"menuitem"},..."select"===l&&{"aria-autocomplete":"none"},..."combobox"===l&&{"aria-autocomplete":"list"}},[h,f,m,i,p,l]),y=n.useMemo(()=>{const e={id:f,...h&&{role:h}};return"tooltip"===h||"label"===l?e:{...e,..."menu"===h&&{"aria-labelledby":p}}},[h,f,p,l]),v=n.useCallback(e=>{let{active:t,selected:r}=e;const n={role:"option",...t&&{id:f+"-fui-option"}};switch(l){case"select":case"combobox":return{...n,"aria-selected":r}}return{}},[f,l]);return n.useMemo(()=>u?{reference:g,floating:y,item:v}:{},[u,g,y,v])}},83604(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64UrlToArrayBuffer=void 0;const n=r(22651);t.convertBase64UrlToArrayBuffer=e=>Uint8Array.from(n.base64Decoder.convert(e,{urlSafe:!0}),e=>e.charCodeAt(0)).buffer},83801(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jitteredBackoff=void 0;const n=r(72685),o=r(27573);t.jitteredBackoff=e=>{const t=(0,n.jitteredBackoff)(o.DEFAULT_MAX_DELAY_MS)(e);return!1===t?o.DEFAULT_MAX_DELAY_MS:t}},83974(e,t,r){"use strict";r.d(t,{C:()=>o});var n=r(51609);function o(){return`__m__-${(0,n.useId)().replace(/[:«»]/g,"")}`}},83995(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthTokenStorageKeys=void 0,t.AuthTokenStorageKeys={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"}},84060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithUserAuth=async function(e){const{username:t,password:r,options:y}=e,v=n.Amplify.getConfig().Auth?.Cognito,b={loginId:t,authFlowType:"USER_AUTH"};(0,o.assertTokenProviderConfig)(v);const E=y?.clientMetadata,w=y?.preferredChallenge;(0,a.assertValidationError)(!!t,i.AuthValidationErrorCode.EmptySignInUsername);try{const e={username:t,config:v,tokenOrchestrator:f.tokenOrchestrator,clientMetadata:E,preferredChallenge:w,password:r},n=u.autoSignInStore.getState();n.active&&n.username===t&&(e.session=n.session);const o=await(0,h.handleUserAuthFlow)(e),i=(0,c.getActiveSignInUsername)(t);return(0,l.setActiveSignInState)({signInSession:o.Session,username:i,challengeName:o.ChallengeName,signInDetails:b}),o.AuthenticationResult?(await(0,d.cacheCognitoTokens)({username:i,...o.AuthenticationResult,NewDeviceMetadata:await(0,m.getNewDeviceMetadata)({userPoolId:v.userPoolId,userPoolEndpoint:v.userPoolEndpoint,newDeviceMetadata:o.AuthenticationResult.NewDeviceMetadata,accessToken:o.AuthenticationResult.AccessToken}),signInDetails:b}),(0,l.resetActiveSignInState)(),await(0,p.dispatchSignedInHubEvent)(),(0,g.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):(0,c.getSignInResult)({challengeName:o.ChallengeName,challengeParameters:o.ChallengeParameters,availableChallenges:"AvailableChallenges"in o?o.AvailableChallenges:void 0})}catch(e){(0,l.resetActiveSignInState)(),(0,g.resetAutoSignIn)(),(0,s.assertServiceError)(e);const t=(0,c.getSignInResultFromError)(e.name);if(t)return t;throw e}};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(73031),c=r(78040),u=r(33826),l=r(27861),d=r(55794),p=r(84539),f=r(4870),h=r(65221),m=r(66542),g=r(19578)},84210(e,t,r){"use strict";r.d(t,{C:()=>a});var n,o=r(84597);!function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"}(n||(n={}));const i={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class a{constructor(e,t=n.WARN){this.name=e,this.level=t,this._pluggables=[]}_padding(e){return e<10?"0"+e:""+e}_ts(){const e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()}configure(e){return e?(this._config=e,this._config):this._config}_log(e,...t){let r=this.level;if(a.LOG_LEVEL&&(r=a.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(r=window.LOG_LEVEL),!(i[e]>=i[r]))return;let o=console.log.bind(console);e===n.ERROR&&console.error&&(o=console.error.bind(console)),e===n.WARN&&console.warn&&(o=console.warn.bind(console)),a.BIND_ALL_LOG_LEVELS&&(e===n.INFO&&console.info&&(o=console.info.bind(console)),e===n.DEBUG&&console.debug&&(o=console.debug.bind(console)));const s=`[${e}] ${this._ts()} ${this.name}`;let c="";if(1===t.length&&"string"==typeof t[0])c=`${s} - ${t[0]}`,o(c);else if(1===t.length)c=`${s} ${t[0]}`,o(s,t[0]);else if("string"==typeof t[0]){let e=t.slice(1);1===e.length&&(e=e[0]),c=`${s} - ${t[0]} ${e}`,o(`${s} - ${t[0]}`,e)}else c=`${s} ${t}`,o(s,t);for(const e of this._pluggables){const t={message:c,timestamp:Date.now()};e.pushLogs([t])}}log(...e){this._log(n.INFO,...e)}info(...e){this._log(n.INFO,...e)}warn(...e){this._log(n.WARN,...e)}error(...e){this._log(n.ERROR,...e)}debug(...e){this._log(n.DEBUG,...e)}verbose(...e){this._log(n.VERBOSE,...e)}addPluggable(e){e&&e.getCategoryName()===o.OU&&(this._pluggables.push(e),e.configure(this._config))}listPluggables(){return this._pluggables}}a.LOG_LEVEL=null,a.BIND_ALL_LOG_LEVELS=!1},84532(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isConfigureEventWithResourceConfig=function(e){return"configure"===e.event}},84539(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchSignedInHubEvent=t.ERROR_MESSAGE=void 0;const n=r(56547),o=r(22651),i=r(45341),a=r(34143),s=r(43518);t.ERROR_MESSAGE="Unable to get user session following successful sign-in.",t.dispatchSignedInHubEvent=async()=>{try{n.Hub.dispatch("auth",{event:"signedIn",data:await(0,i.getCurrentUser)()},"Auth",o.AMPLIFY_SYMBOL)}catch(e){if(e.name===a.USER_UNAUTHENTICATED_EXCEPTION)throw new s.AuthError({name:a.UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION,message:t.ERROR_MESSAGE,recoverySuggestion:"This most likely is due to auth tokens not being persisted. If you are using cookie store, please ensure cookies can be correctly set from your server."});throw e}}},84597(e,t,r){"use strict";r.d(t,{OU:()=>n,d1:()=>o});const n="Logging",o="NoHubcallbackProvidedException"},84615(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolvePKFields=function(e){const{primaryKeyFieldName:t,sortKeyFieldNames:r}=e.primaryKeyInfo;return[t,...r]}},84805(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(38728).A)("outline","star","Star",[["path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873l-6.158 -3.245",key:"svg-0"}]])},85091(e,t,r){"use strict";r.d(t,{X:()=>N});var n=r(10790),o=r(88149),i=(r(51609),r(56324)),a=r(59396),s=r(86344),c=r(46100),u=r(52837),l=r(11507),d=r(2412),p=r(46798);const[f,h]=(0,p.F)("Table component was not found in the tree");var m={table:"m_b23fa0ef",th:"m_4e7aa4f3",tr:"m_4e7aa4fd",td:"m_4e7aa4ef",tbody:"m_b2404537",thead:"m_b242d975",caption:"m_9e5a3ac7",scrollContainer:"m_a100c15",scrollContainerInner:"m_62259741"};function g(e,t){if(!t)return;const r={};return t.columnBorder&&e.withColumnBorders&&(r["data-with-column-border"]=!0),t.rowBorder&&e.withRowBorders&&(r["data-with-row-border"]=!0),t.striped&&e.striped&&(r["data-striped"]=e.striped),t.highlightOnHover&&e.highlightOnHover&&(r["data-hover"]=!0),t.captionSide&&e.captionSide&&(r["data-side"]=e.captionSide),t.stickyHeader&&e.stickyHeader&&(r["data-sticky"]=!0),r}function y(e,t){const r=`Table${e.charAt(0).toUpperCase()}${e.slice(1)}`,o=(0,d.P9)((o,i)=>{const a=(0,c.Y)(r,{},o),{classNames:s,className:u,style:d,styles:p,...f}=a,m=h();return(0,n.jsx)(l.a,{component:e,ref:i,...g(m,t),...m.getStyles(e,{className:u,classNames:s,style:d,styles:p,props:a}),...f})});return o.displayName=`@mantine/core/${r}`,o.classes=m,o}const v=y("th",{columnBorder:!0}),b=y("td",{columnBorder:!0}),E=y("tr",{rowBorder:!0,striped:!0,highlightOnHover:!0}),w=y("thead",{stickyHeader:!0}),S=y("tbody"),A=y("tfoot"),_=y("caption",{captionSide:!0});function P({data:e}){return(0,n.jsxs)(n.Fragment,{children:[e.caption&&(0,n.jsx)(_,{children:e.caption}),e.head&&(0,n.jsx)(w,{children:(0,n.jsx)(E,{children:e.head.map((e,t)=>(0,n.jsx)(v,{children:e},t))})}),e.body&&(0,n.jsx)(S,{children:e.body.map((e,t)=>(0,n.jsx)(E,{children:e.map((e,t)=>(0,n.jsx)(b,{children:e},t))},t))}),e.foot&&(0,n.jsx)(A,{children:(0,n.jsx)(E,{children:e.foot.map((e,t)=>(0,n.jsx)(v,{children:e},t))})})]})}P.displayName="@mantine/core/TableDataRenderer";var C=r(63089);const I={type:"scrollarea"},x=(0,a.V)((e,{minWidth:t,maxHeight:r,type:n})=>({scrollContainer:{"--table-min-width":(0,o.D)(t),"--table-max-height":(0,o.D)(r),"--table-overflow":"native"===n?"auto":void 0}})),O=(0,d.P9)((e,t)=>{const r=(0,c.Y)("TableScrollContainer",I,e),{classNames:o,className:i,style:a,styles:s,unstyled:d,vars:p,children:f,minWidth:h,maxHeight:g,type:y,scrollAreaProps:v,attributes:b,...E}=r,w=(0,u.I)({name:"TableScrollContainer",classes:m,props:r,className:i,style:a,classNames:o,styles:s,unstyled:d,attributes:b,vars:p,varsResolver:x,rootSelector:"scrollContainer"});return(0,n.jsx)(l.a,{component:"scrollarea"===y?C.F:"div",..."scrollarea"===y?g?{offsetScrollbars:"xy",...v}:{offsetScrollbars:"x",...v}:{},ref:t,...w("scrollContainer"),...E,children:(0,n.jsx)("div",{...w("scrollContainerInner"),children:f})})});O.classes=m,O.displayName="@mantine/core/TableScrollContainer";const k={withRowBorders:!0,verticalSpacing:7},T=(0,a.V)((e,{layout:t,captionSide:r,horizontalSpacing:n,verticalSpacing:a,borderColor:c,stripedColor:u,highlightOnHoverColor:l,striped:d,highlightOnHover:p,stickyHeaderOffset:f,stickyHeader:h})=>({table:{"--table-layout":t,"--table-caption-side":r,"--table-horizontal-spacing":(0,i.GY)(n),"--table-vertical-spacing":(0,i.GY)(a),"--table-border-color":c?(0,s.r)(c,e):void 0,"--table-striped-color":d&&u?(0,s.r)(u,e):void 0,"--table-highlight-on-hover-color":p&&l?(0,s.r)(l,e):void 0,"--table-sticky-header-offset":h?(0,o.D)(f):void 0}})),N=(0,d.P9)((e,t)=>{const r=(0,c.Y)("Table",k,e),{classNames:o,className:i,style:a,styles:s,unstyled:d,vars:p,horizontalSpacing:h,verticalSpacing:g,captionSide:y,stripedColor:v,highlightOnHoverColor:b,striped:E,highlightOnHover:w,withColumnBorders:S,withRowBorders:A,withTableBorder:_,borderColor:C,layout:I,variant:x,data:O,children:N,stickyHeader:j,stickyHeaderOffset:R,mod:M,tabularNums:D,attributes:U,...F}=r,L=(0,u.I)({name:"Table",props:r,className:i,style:a,classes:m,classNames:o,styles:s,unstyled:d,attributes:U,rootSelector:"table",vars:p,varsResolver:T});return(0,n.jsx)(f,{value:{getStyles:L,stickyHeader:j,striped:!0===E?"odd":E||void 0,highlightOnHover:w,withColumnBorders:S,withRowBorders:A,captionSide:y||"bottom"},children:(0,n.jsx)(l.a,{component:"table",variant:x,ref:t,mod:[{"data-with-table-border":_,"data-tabular-nums":D},M],...L("table"),...F,children:N||!!O&&(0,n.jsx)(P,{data:O})})})});N.classes=m,N.displayName="@mantine/core/Table",N.Td=b,N.Th=v,N.Tr=E,N.Thead=w,N.Tbody=S,N.Tfoot=A,N.Caption=_,N.ScrollContainer=O,N.DataRenderer=P},85202(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertItemToConversationMessage=void 0;const n=r(97973);t.convertItemToConversationMessage=({content:e,createdAt:t,id:r,conversationId:o,role:i})=>({content:(0,n.deserializeContent)(e??[]),conversationId:o,createdAt:t,id:r,role:i})},85345(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidDate=void 0,t.isValidDate=function(e){return e instanceof Date&&!isNaN(e)}},85351(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.putEvents=void 0;const n=r(91537),o=r(50057),i=r(6465),a=r(39930),s=r(11923),c=r(53838),u=r(64672);t.putEvents=(0,o.composeServiceApi)(n.authenticatedHandler,({ApplicationId:e,EventsRequest:t},r)=>{(0,u.assert)(!!e,u.PinpointValidationErrorCode.NoAppId);const n=(0,c.getSharedHeaders)(),o=new s.AmplifyUrl(r.url);return o.pathname=`v1/apps/${(0,i.extendedEncodeURIComponent)(e)}/events`,{method:"POST",headers:n,url:o,body:JSON.stringify(t??{})}},async e=>{if(e.statusCode>=300)throw await(0,a.parseJsonError)(e);{const{Results:t}=await(0,a.parseJsonBody)(e);return{EventsResponse:{Results:t},$metadata:(0,a.parseMetadata)(e)}}},c.defaultConfig)},85500(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},85533(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestApiError=void 0;const n=r(22651);class o extends n.ApiError{constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}t.RestApiError=o},85737(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceWorker=void 0;var n=r(69384);Object.defineProperty(t,"ServiceWorker",{enumerable:!0,get:function(){return n.ServiceWorkerClass}})},85761(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lastValueFrom=void 0;var n=r(59328);t.lastValueFrom=function(e,t){var r="object"==typeof t;return new Promise(function(o,i){var a,s=!1;e.subscribe({next:function(e){a=e,s=!0},error:i,complete:function(){s?o(a):r?o(t.defaultValue):i(new n.EmptyError)}})})}},85934(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;var n=r(65212),o=r(17214);t.filter=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}},86297(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInvalidObservableTypeError=void 0,t.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},86313(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHkdfKey=void 0;const n=r(136);t.getHkdfKey=(e,t,r)=>{const o=new n.Sha256(t);o.update(e);const i=o.digestSync(),a=new n.Sha256(i);return a.update(r),a.digestSync().slice(0,16)}},86344(e,t,r){"use strict";r.d(t,{r:()=>o});var n=r(89569);function o(e,t){const r=(0,n.g)({color:e||t.primaryColor,theme:t});return r.variable?`var(${r.variable})`:e}},86369(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signIn=async function(e){(0,u.resetAutoSignIn)(!1);const t=e.options?.authFlowType;switch(await(0,n.assertUserNotAuthenticated)(),t){case"USER_SRP_AUTH":default:return(0,a.signInWithSRP)(e);case"USER_PASSWORD_AUTH":return(0,s.signInWithUserPassword)(e);case"CUSTOM_WITHOUT_SRP":return(0,o.signInWithCustomAuth)(e);case"CUSTOM_WITH_SRP":return(0,i.signInWithCustomSRPAuth)(e);case"USER_AUTH":return(0,c.signInWithUserAuth)(e)}};const n=r(78040),o=r(79048),i=r(3957),a=r(26346),s=r(63231),c=r(84060),u=r(19578)},86578(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundProcessManager=void 0;const n=r(9686),o=r(66477);class i{constructor(){this._state=o.BackgroundProcessManagerState.Open,this.jobs=new Set}add(e,t){let r,n;"string"==typeof e?(r=void 0,n=e):(r=e,n=t);const o=this.closedFailure(n);if(o)return o;if(void 0===r)return this.addHook(n);if("function"==typeof r)return this.addFunction(r,n);if(!(r instanceof i))throw new Error("If `job` is provided, it must be an Observable, Function, or BackgroundProcessManager.");this.addManager(r,n)}addCleaner(e,t){const{resolve:r,onTerminate:n}=this.addHook(t),o=async()=>{await e(),r()};return n.then(o),o}addFunction(e,t){let r;const n=e(new Promise(e=>{r=e}));return"function"==typeof n?.then&&this.registerPromise(n,r,t),n}addManager(e,t){this.addCleaner(async()=>e.close(),t)}addHook(e){let t,r;const n=new Promise((e,n)=>{t=e,r=n});let o;const i=new Promise(e=>{o=e});return this.registerPromise(n,o,e),{resolve:t,reject:r,onTerminate:i}}registerPromise(e,t,r){const n={promise:e,terminate:t,description:r};this.jobs.add(n),e.then(()=>{this.jobs.delete(n)}).catch(()=>{this.jobs.delete(n)})}get length(){return this.jobs.size}get state(){return this._state}get pending(){return Array.from(this.jobs).map(e=>e.description)}get isOpen(){return this._state===o.BackgroundProcessManagerState.Open}get isClosing(){return this._state===o.BackgroundProcessManagerState.Closing}get isClosed(){return this._state===o.BackgroundProcessManagerState.Closed}closedFailure(e){if(!this.isOpen)return Promise.reject(new n.BackgroundManagerNotOpenError([`The manager is ${this.state}.`,`You tried to add "${e}".`,`Pending jobs: [\n${this.pending.map(e=>" "+e).join(",\n")}\n]`].join("\n")))}async close(){if(this.isOpen){this._state=o.BackgroundProcessManagerState.Closing;for(const e of Array.from(this.jobs))try{e.terminate()}catch(t){console.warn(`Failed to send termination signal to job. Error: ${t.message}`,e)}this._closingPromise=Promise.allSettled(Array.from(this.jobs).map(e=>e.promise)),await this._closingPromise,this._state=o.BackgroundProcessManagerState.Closed}return this._closingPromise}async open(){this.isClosing&&await this.close(),this._state=o.BackgroundProcessManagerState.Open}}t.BackgroundProcessManager=i},86632(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustMap=void 0;var n=r(26872),o=r(19724),i=r(65212),a=r(17214);t.exhaustMap=function e(t,r){return r?function(i){return i.pipe(e(function(e,i){return o.innerFrom(t(e,i)).pipe(n.map(function(t,n){return r(e,t,i,n)}))}))}:i.operate(function(e,r){var n=0,i=null,s=!1;e.subscribe(a.createOperatorSubscriber(r,function(e){i||(i=a.createOperatorSubscriber(r,void 0,function(){i=null,s&&r.complete()}),o.innerFrom(t(e,n++)).subscribe(i))},function(){s=!0,!i&&r.complete()}))})}},86635(e,t,r){"use strict";function n(){return"undefined"!=typeof window}function o(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!n()&&(e instanceof Node||e instanceof i(e).Node)}function c(e){return!!n()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!n()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function l(e){return!(!n()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}r.d(t,{$4:()=>I,CP:()=>C,L9:()=>P,Lv:()=>h,Ng:()=>l,Tc:()=>S,Tf:()=>g,ZU:()=>p,_m:()=>k,ep:()=>a,eu:()=>_,gJ:()=>w,mq:()=>o,sQ:()=>E,sb:()=>u,v9:()=>O,vq:()=>c,zk:()=>i});const d=new Set(["inline","contents"]);function p(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=P(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!d.has(o)}const f=new Set(["table","td","th"]);function h(e){return f.has(o(e))}const m=[":popover-open",":modal"];function g(e){return m.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const y=["transform","translate","scale","rotate","perspective"],v=["transform","translate","scale","rotate","perspective","filter"],b=["paint","layout","strict","content"];function E(e){const t=S(),r=c(e)?P(e):e;return y.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||v.some(e=>(r.willChange||"").includes(e))||b.some(e=>(r.contain||"").includes(e))}function w(e){let t=I(e);for(;u(t)&&!_(t);){if(E(t))return t;if(g(t))return null;t=I(t)}return null}function S(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const A=new Set(["html","body","#document"]);function _(e){return A.has(o(e))}function P(e){return i(e).getComputedStyle(e)}function C(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function I(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||l(e)&&e.host||a(e);return l(t)?t.host:t}function x(e){const t=I(e);return _(t)?e.ownerDocument?e.ownerDocument.body:e.body:u(t)&&p(t)?t:x(t)}function O(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=x(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),s=i(o);if(a){const e=k(s);return t.concat(s,s.visualViewport||[],p(o)?o:[],e&&r?O(e):[])}return t.concat(o,O(o,[],r))}function k(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},86764(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isApiGraphQLConfig=function(e){return void 0!==e}},86777(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthUserAgentValue=void 0;const n=r(22651);t.getAuthUserAgentValue=(e,t)=>(0,n.getAmplifyUserAgent)({category:n.Category.Auth,action:e,...t})},86945(e,t,r){"use strict";r.d(t,{U:()=>o});var n=r(51609);function o(e,t,{getInitialValueInEffect:r}={getInitialValueInEffect:!0}){const[o,i]=(0,n.useState)(r?t:function(e){return"undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia(e).matches}(e));return(0,n.useEffect)(()=>{try{const t=window.matchMedia(e);return i(t.matches),function(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch(r){return e.addListener(t),()=>e.removeListener(t)}}(t,e=>i(e.matches))}catch(e){return}},[e]),o||!1}},87281(e,t,r){"use strict";var n=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.generate=void 0;var o=r(87699),i=r(68596),a=r(35884),s=r(36805);t.generate=function(e,t,r,c,u){var l,d,p,f;function h(){var e;return n(this,function(n){switch(n.label){case 0:e=f,n.label=1;case 1:return t&&!t(e)?[3,4]:[4,p(e)];case 2:n.sent(),n.label=3;case 3:return e=r(e),[3,1];case 4:return[2]}})}return 1===arguments.length?(f=(l=e).initialState,t=l.condition,r=l.iterate,d=l.resultSelector,p=void 0===d?o.identity:d,u=l.scheduler):(f=e,!c||i.isScheduler(c)?(p=o.identity,u=c):p=c),a.defer(u?function(){return s.scheduleIterable(h(),u)}:h)}},87287(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return`${e[0].toUpperCase()}${e.slice(1)}`}},87525(e,t,r){"use strict";var n;r.d(t,{m:()=>n}),function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"}(n||(n={}))},87567(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.TokenProviderErrorCode=void 0;const n=r(22651);var o;!function(e){e.InvalidAuthTokens="InvalidAuthTokens"}(o||(t.TokenProviderErrorCode=o={}));const i={[o.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}};t.assert=(0,n.createAssertionFunction)(i)},87614(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.ServiceWorkerErrorCode=void 0;const n=r(1123);var o;!function(e){e.UndefinedInstance="UndefinedInstance",e.UndefinedRegistration="UndefinedRegistration",e.Unavailable="Unavailable"}(o||(t.ServiceWorkerErrorCode=o={}));const i={[o.UndefinedInstance]:{message:"Service Worker instance is undefined."},[o.UndefinedRegistration]:{message:"Service Worker registration is undefined."},[o.Unavailable]:{message:"Service Worker not available."}};t.assert=(0,n.createAssertionFunction)(i)},87660(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityIdStorageKeys=void 0,t.IdentityIdStorageKeys={identityId:"identityId"}},87699(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0,t.identity=function(e){return e}},87924(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=t.jitteredExponentialRetry=t.jitteredBackoff=t.isNonRetryableError=t.NonRetryableError=void 0;var n=r(6711);Object.defineProperty(t,"NonRetryableError",{enumerable:!0,get:function(){return n.NonRetryableError}});var o=r(64151);Object.defineProperty(t,"isNonRetryableError",{enumerable:!0,get:function(){return o.isNonRetryableError}});var i=r(58821);Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return i.jitteredBackoff}});var a=r(17530);Object.defineProperty(t,"jitteredExponentialRetry",{enumerable:!0,get:function(){return a.jitteredExponentialRetry}});var s=r(97542);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return s.retry}})},87986(e,t,r){"use strict";r.d(t,{A:()=>n});var n={dropdown:"m_88b62a41",search:"m_985517d8",options:"m_b2821a6e",option:"m_92253aa5",empty:"m_2530cd1d",header:"m_858f94bd",footer:"m_82b967cb",group:"m_254f3e4f",groupLabel:"m_2bb2e9e5",chevron:"m_2943220b",optionsDropdownOption:"m_390b5f4",optionsDropdownCheckIcon:"m_8ee53fc2",optionsDropdownCheckPlaceholder:"m_a530ee0a"}},88143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAssertionFunction=void 0;const n=r(41185);t.createAssertionFunction=(e,t=n.AmplifyError)=>(r,n,o)=>{const{message:i,recoverySuggestion:a}=e[n];if(!r)throw new t({name:n,message:o?`${i} ${o}`:i,recoverySuggestion:a})}},88149(e,t,r){"use strict";function n(e){return"0rem"===e?"0rem":`calc(${e} * var(--mantine-scale))`}function o(e,{shouldScale:t=!1}={}){return function r(o){if(0===o||"0"===o)return`0${e}`;if("number"==typeof o){const r=`${o/16}${e}`;return t?n(r):r}if("string"==typeof o){if(""===o)return o;if(o.startsWith("calc(")||o.startsWith("clamp(")||o.includes("rgba("))return o;if(o.includes(","))return o.split(",").map(e=>r(e)).join(",");if(o.includes(" "))return o.split(" ").map(e=>r(e)).join(" ");const i=o.replace("px","");if(!Number.isNaN(Number(i))){const r=`${Number(i)/16}${e}`;return t?n(r):r}}return o}}r.d(t,{D:()=>i,em:()=>a});const i=o("rem",{shouldScale:!0}),a=o("em")},88236(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18n=void 0;const n=r(69580),o=r(81318),i=r(92813),a=new n.ConsoleLogger("I18n");let s={language:null},c=null;class u{static configure(e){return a.debug("configure I18n"),e?(s=Object.assign({},s,e.I18n||e),u.createInstance(),s):s}static getModuleName(){return"I18n"}static createInstance(){a.debug("create I18n instance"),c||(c=new o.I18n)}static setLanguage(e){u.checkConfig(),(0,i.assert)(!!c,i.I18nErrorCode.NotConfigured),c.setLanguage(e)}static get(e,t){return u.checkConfig()?((0,i.assert)(!!c,i.I18nErrorCode.NotConfigured),c.get(e,t)):void 0===t?e:t}static putVocabulariesForLanguage(e,t){u.checkConfig(),(0,i.assert)(!!c,i.I18nErrorCode.NotConfigured),c.putVocabulariesForLanguage(e,t)}static putVocabularies(e){u.checkConfig(),(0,i.assert)(!!c,i.I18nErrorCode.NotConfigured),c.putVocabularies(e)}static checkConfig(){return c||u.createInstance(),!0}}t.I18n=u,u.createInstance()},88246(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestInit=t.combineLatest=void 0;var n=r(48051),o=r(50439),i=r(47058),a=r(87699),s=r(13916),c=r(26404),u=r(15810),l=r(17214),d=r(28619);function p(e,t,r){return void 0===r&&(r=a.identity),function(n){f(t,function(){for(var o=e.length,a=new Array(o),s=o,c=o,u=function(o){f(t,function(){var u=i.from(e[o],t),d=!1;u.subscribe(l.createOperatorSubscriber(n,function(e){a[o]=e,d||(d=!0,c--),c||n.next(r(a.slice()))},function(){--s||n.complete()}))},n)},d=0;d<o;d++)u(d)},n)}}function f(e,t,r){e?d.executeSchedule(r,e,t):t()}t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=c.popScheduler(e),l=c.popResultSelector(e),d=o.argsArgArrayOrObject(e),f=d.args,h=d.keys;if(0===f.length)return i.from([],r);var m=new n.Observable(p(f,r,h?function(e){return u.createObject(h,e)}:a.identity));return l?m.pipe(s.mapOneOrManyArgs(l)):m},t.combineLatestInit=p},88269(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairs=void 0;var n=r(47058);t.pairs=function(e,t){return n.from(Object.entries(e),t)}},88453(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultIdentityIdStore=t.CognitoAWSCredentialsAndIdentityIdProvider=t.cognitoCredentialsProvider=void 0;const n=r(56547),o=r(58253);Object.defineProperty(t,"DefaultIdentityIdStore",{enumerable:!0,get:function(){return o.DefaultIdentityIdStore}});const i=r(1230);Object.defineProperty(t,"CognitoAWSCredentialsAndIdentityIdProvider",{enumerable:!0,get:function(){return i.CognitoAWSCredentialsAndIdentityIdProvider}}),t.cognitoCredentialsProvider=new i.CognitoAWSCredentialsAndIdentityIdProvider(new o.DefaultIdentityIdStore(n.defaultStorage))},88516(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateState=t.validationRecoverySuggestion=t.validationFailedMessage=t.flowCancelledMessage=void 0;const n=r(43518),o=r(50326),i=r(80227);t.flowCancelledMessage="`signInWithRedirect` has been canceled.",t.validationFailedMessage="An error occurred while validating the state.",t.validationRecoverySuggestion="Try to initiate an OAuth flow from Amplify",t.validateState=async e=>{const r=await i.oAuthStore.loadOAuthState(),a=e===r?r:void 0;if(!a)throw new n.AuthError({name:o.AuthErrorTypes.OAuthSignInError,message:null===e?t.flowCancelledMessage:t.validationFailedMessage,recoverySuggestion:null===e?void 0:t.validationRecoverySuggestion});return a}},88589(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.count=void 0;var n=r(92070);t.count=function(e){return n.reduce(function(t,r,n){return!e||e(r,n)?t+1:t},0)}},88616(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.fromEvent=void 0;var o=r(19724),i=r(48051),a=r(67478),s=r(94975),c=r(10281),u=r(13916),l=["addListener","removeListener"],d=["addEventListener","removeEventListener"],p=["on","off"];function f(e,t){return function(r){return function(n){return e[r](t,n)}}}t.fromEvent=function e(t,r,h,m){if(c.isFunction(h)&&(m=h,h=void 0),m)return e(t,r,h).pipe(u.mapOneOrManyArgs(m));var g=n(function(e){return c.isFunction(e.addEventListener)&&c.isFunction(e.removeEventListener)}(t)?d.map(function(e){return function(n){return t[e](r,n,h)}}):function(e){return c.isFunction(e.addListener)&&c.isFunction(e.removeListener)}(t)?l.map(f(t,r)):function(e){return c.isFunction(e.on)&&c.isFunction(e.off)}(t)?p.map(f(t,r)):[],2),y=g[0],v=g[1];if(!y&&s.isArrayLike(t))return a.mergeMap(function(t){return e(t,r,h)})(o.innerFrom(t));if(!y)throw new TypeError("Invalid event target");return new i.Observable(function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return y(t),function(){return v(t)}})}},88877(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.audit=void 0;var n=r(65212),o=r(19724),i=r(17214);t.audit=function(e){return n.operate(function(t,r){var n=!1,a=null,s=null,c=!1,u=function(){if(null==s||s.unsubscribe(),s=null,n){n=!1;var e=a;a=null,r.next(e)}c&&r.complete()},l=function(){s=null,c&&r.complete()};t.subscribe(i.createOperatorSubscriber(r,function(t){n=!0,a=t,s||o.innerFrom(e(t)).subscribe(s=i.createOperatorSubscriber(r,u,l))},function(){c=!0,(!n||!s||s.closed)&&r.complete()}))})}},89015(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.graphql=function(e,t){const r=(0,o.getInternals)(this),i=r.endpoint,a=r.authMode,s=r.apiKey;if(e.authMode=e.authMode||a,e.apiKey=e.apiKey??s,e.authToken=e.authToken||r.authToken,i&&"apiKey"===e.authMode&&!e.apiKey)throw new Error("graphql() requires an explicit `apiKey` for a custom `endpoint` when `authMode = 'apiKey'`.");const c=t||r.headers;return n.GraphQLAPI.graphql(r.amplify,{...e,endpoint:i},c)},t.cancel=function(e,t){return n.GraphQLAPI.cancel(e,t)},t.isCancelError=function(e){return n.GraphQLAPI.isCancelError(e)};const n=r(91339),o=r(82192)},89125(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateModelsProperty=function(e,t,r){const u={},l=t.modelIntrospection;if(!l)return{};const d=["ONCREATE","ONUPDATE","ONDELETE"];for(const t of Object.values(l.models)){const{name:p}=t;u[p]={};const f=(0,c.excludeDisabledOps)(l,p);Object.entries(f).forEach(([o,{operationPrefix:c}])=>{const f=o;"LIST"===f?u[p][c]=(0,n.listFactory)(e,l,t,r):d.includes(f)?u[p][c]=(0,a.subscriptionFactory)(e,l,t,f,r):u[p][c]="OBSERVEQUERY"===f?(0,s.observeQueryFactory)(u,t):(0,i.getFactory)(e,l,t,f,r)});const h=(0,c.getSecondaryIndexesFromSchemaModel)(t);for(const n of h)u[p][n.queryField]=(0,o.indexQueryFactory)(e,l,t,n,r)}return u};const n=r(23151),o=r(36135),i=r(68523),a=r(20042),s=r(55695),c=r(42368)},89244(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineAll=void 0;var n=r(67933);t.combineAll=n.combineLatestAll},89439(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchAuthSession=void 0,t.fetchAuthSession=(e,t)=>e.Auth.fetchAuthSession(t)},89555(e,t,r){"use strict";r.d(t,{Q:()=>s});var n=r(16736),o=r(87525);const i=e=>{let t;return()=>(t||(t=e()),t)},a=e=>!["HEAD","GET"].includes(e.toUpperCase()),s=async({url:e,method:t,headers:r,body:s},{abortSignal:c,cache:u,withCrossDomainCredentials:l})=>{let d;try{d=await fetch(e,{method:t,headers:r,body:a(t)?s:void 0,signal:c,cache:u,credentials:l?"include":"same-origin"})}catch(e){if(e instanceof TypeError)throw new n.x({name:o.m.NetworkError,message:"A network error has occurred.",underlyingError:e});throw e}const p={};return d.headers?.forEach((e,t)=>{p[t.toLowerCase()]=e}),{statusCode:d.status,headers:p,body:null,body:Object.assign(d.body??{},{text:i(()=>d.text()),blob:i(()=>d.blob()),json:i(()=>d.json())})}}},89569(e,t,r){"use strict";r.d(t,{g:()=>s});var n=r(80684),o=r(59444);function i(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function a(e,t=.179){return!e.startsWith("var(")&&function(e){if(e.startsWith("oklch("))return(function(e){const t=e.match(/oklch\((.*?)%\s/);return t?parseFloat(t[1]):null}(e)||0)/100;const{r:t,g:r,b:n}=(0,o.K)(e),a=r/255,s=n/255;return.2126*i(t/255)+.7152*i(a)+.0722*i(s)}(e)>t}function s({color:e,theme:t,colorScheme:r}){if("string"!=typeof e)throw new Error("[@mantine/core] Failed to parse color. Expected color to be a string, instead got "+typeof e);if("bright"===e)return{color:e,value:"dark"===r?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:a("dark"===r?t.white:t.black,t.luminanceThreshold),variable:"--mantine-color-bright"};if("dimmed"===e)return{color:e,value:"dark"===r?t.colors.dark[2]:t.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:a("dark"===r?t.colors.dark[2]:t.colors.gray[6],t.luminanceThreshold),variable:"--mantine-color-dimmed"};if("white"===e||"black"===e)return{color:e,value:"white"===e?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:a("white"===e?t.white:t.black,t.luminanceThreshold),variable:`--mantine-color-${e}`};const[o,i]=e.split("."),s=i?Number(i):void 0,c=o in t.colors;if(c){const e=void 0!==s?t.colors[o][s]:t.colors[o][(0,n.g)(t,r||"light")];return{color:o,value:e,shade:s,isThemeColor:c,isLight:a(e,t.luminanceThreshold),variable:i?`--mantine-color-${o}-${s}`:`--mantine-color-${o}-filled`}}return{color:e,value:e,isThemeColor:c,isLight:a(e,t.luminanceThreshold),shade:s,variable:void 0}}},89604(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.additionalHeadersFromOptions=t.realtimeUrlWithQueryString=t.queryParamsFromCustomHeaders=t.getRealtimeEndpointUrl=t.isCustomDomain=void 0;const n=r(22651),o="wss://",i=/^https:\/\/\w{26}\.appsync-api\.\w{2}(?:(?:-\w{2,})+)-\d\.amazonaws.com(?:\.cn)?\/graphql$/i,a=/^https:\/\/\w{26}\.\w+-api\.\w{2}(?:(?:-\w{2,})+)-\d\.amazonaws.com(?:\.cn)?\/event$/i,s="/realtime";t.isCustomDomain=e=>null===e.match(i),t.getRealtimeEndpointUrl=e=>{let r=e??"";return r=null!==r.match(a)?r.concat(s).replace("ddpg-api","grt-gamma").replace("appsync-api","appsync-realtime-api"):(0,t.isCustomDomain)(r)?r.concat(s):r.replace("appsync-api","appsync-realtime-api").replace("gogi-beta","grt-beta").replace("ddpg-api","grt-gamma"),r=r.replace("https://",o).replace("http://",o),new n.AmplifyUrl(r)},t.queryParamsFromCustomHeaders=e=>{const t=(e=>{if(!e)return{};if("Authorization"in e){const{Authorization:t,...r}=e;return r}return e})(e),r=new n.AmplifyUrlSearchParams;return Object.entries(t).forEach(([e,t])=>{r.append(e,t)}),r},t.realtimeUrlWithQueryString=(e,r)=>{const o=(0,t.getRealtimeEndpointUrl)(e),i=new n.AmplifyUrlSearchParams(o.search);for(const[e,t]of r.entries())i.append(e,t);return o.search=i.toString(),o.toString()},t.additionalHeadersFromOptions=async e=>{const{appSyncGraphqlEndpoint:t,query:r,libraryConfigHeaders:n=()=>({}),additionalHeaders:o={},authToken:i}=e;let a={};const s=await n();if("function"==typeof o){const e={url:t||"",queryString:r||""};a=await o(e)}else a=o;return i&&(a={...a,Authorization:i}),{additionalCustomHeaders:a,libraryConfigHeaders:s}}},89652(e,t,r){"use strict";r.d(t,{h:()=>m});var n=r(10790),o=(r(51609),r(59396)),i=r(46100),a=r(52837),s=r(11507),c=r(2412),u=r(88149);const l=["h1","h2","h3","h4","h5","h6"],d=["xs","sm","md","lg","xl"];var p={root:"m_8a5d1357"};const f={order:1},h=(0,o.V)((e,{order:t,size:r,lineClamp:n,textWrap:o})=>{const i=function(e,t){const r=void 0!==t?t:`h${e}`;return l.includes(r)?{fontSize:`var(--mantine-${r}-font-size)`,fontWeight:`var(--mantine-${r}-font-weight)`,lineHeight:`var(--mantine-${r}-line-height)`}:d.includes(r)?{fontSize:`var(--mantine-font-size-${r})`,fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}:{fontSize:(0,u.D)(r),fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}}(t||1,r);return{root:{"--title-fw":i.fontWeight,"--title-lh":i.lineHeight,"--title-fz":i.fontSize,"--title-line-clamp":"number"==typeof n?n.toString():void 0,"--title-text-wrap":o}}}),m=(0,c.P9)((e,t)=>{const r=(0,i.Y)("Title",f,e),{classNames:o,className:c,style:u,styles:l,unstyled:d,order:m,vars:g,size:y,variant:v,lineClamp:b,textWrap:E,mod:w,attributes:S,...A}=r,_=(0,a.I)({name:"Title",props:r,classes:p,className:c,style:u,classNames:o,styles:l,unstyled:d,attributes:S,vars:g,varsResolver:h});return[1,2,3,4,5,6].includes(m)?(0,n.jsx)(s.a,{..._("root"),component:`h${m}`,variant:v,ref:t,mod:[{order:m,"data-line-clamp":"number"==typeof b},w],size:y,...A}):null});m.classes=p,m.displayName="@mantine/core/Title"},89795(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.raceInit=t.race=void 0;var n=r(48051),o=r(19724),i=r(7652),a=r(17214);function s(e){return function(t){for(var r=[],n=function(n){r.push(o.innerFrom(e[n]).subscribe(a.createOperatorSubscriber(t,function(e){if(r){for(var o=0;o<r.length;o++)o!==n&&r[o].unsubscribe();r=null}t.next(e)})))},i=0;r&&!t.closed&&i<e.length;i++)n(i)}}t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=i.argsOrArgArray(e)).length?o.innerFrom(e[0]):new n.Observable(s(e))},t.raceInit=s},89814(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presignUrl=void 0;const n=r(11923),o=r(15130),i=r(96640),a=r(67403);t.presignUrl=({body:e,method:t="GET",url:r},{expiration:s,...c})=>{const u=(0,i.getSigningValues)(c),{accessKeyId:l,credentialScope:d,longDate:p,sessionToken:f}=u,h=new n.AmplifyUrl(r);Object.entries({[o.ALGORITHM_QUERY_PARAM]:o.SHA256_ALGORITHM_IDENTIFIER,[o.CREDENTIAL_QUERY_PARAM]:`${l}/${d}`,[o.AMZ_DATE_QUERY_PARAM]:p,[o.SIGNED_HEADERS_QUERY_PARAM]:o.HOST_HEADER,...s&&{[o.EXPIRES_QUERY_PARAM]:s.toString()},...f&&{[o.TOKEN_QUERY_PARAM]:f}}).forEach(([e,t])=>{h.searchParams.append(e,t)});const m={body:e,headers:{[o.HOST_HEADER]:r.host},method:t,url:h},g=(0,a.getSignature)(m,u);return h.searchParams.append(o.SIGNATURE_QUERY_PARAM,g),h}},90037(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowTime=void 0;var n=r(76808),o=r(62326),i=r(69879),a=r(65212),s=r(17214),c=r(54830),u=r(26404),l=r(28619);t.windowTime=function(e){for(var t,r,d=[],p=1;p<arguments.length;p++)d[p-1]=arguments[p];var f=null!==(t=u.popScheduler(d))&&void 0!==t?t:o.asyncScheduler,h=null!==(r=d[0])&&void 0!==r?r:null,m=d[1]||1/0;return a.operate(function(t,r){var o=[],a=!1,u=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),c.arrRemove(o,e),a&&d()},d=function(){if(o){var t=new i.Subscription;r.add(t);var a=new n.Subject,s={window:a,subs:t,seen:0};o.push(s),r.next(a.asObservable()),l.executeSchedule(t,f,function(){return u(s)},e)}};null!==h&&h>=0?l.executeSchedule(r,f,d,h,!0):a=!0,d();var p=function(e){return o.slice().forEach(e)},g=function(e){p(function(t){var r=t.window;return e(r)}),e(r),r.unsubscribe()};return t.subscribe(s.createOperatorSubscriber(r,function(e){p(function(t){t.window.next(e),m<=++t.seen&&u(t)})},function(){return g(function(e){return e.complete()})},function(e){return g(function(t){return t.error(e)})})),function(){o=null}})}},90077(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repackageUnauthorizedError=function(e){return e.errors&&Array.isArray(e.errors)&&e.errors.forEach(e=>{var t;t=e,(t?.originalError?.name?.startsWith("UnauthorizedException")||t.message?.startsWith("Connection failed:")&&t.message?.includes("Permission denied"))&&(e.message="Unauthorized",e.recoverySuggestion="If you're calling an Amplify-generated API, make sure to set the \"authMode\" in generateClient({ authMode: '...' }) to the backend authorization rule's auth provider ('apiKey', 'userPool', 'iam', 'oidc', 'lambda')")}),e}},90195(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateEndpoint=t.putEvents=t.getInAppMessages=void 0;var n=r(2757);Object.defineProperty(t,"getInAppMessages",{enumerable:!0,get:function(){return n.getInAppMessages}});var o=r(85351);Object.defineProperty(t,"putEvents",{enumerable:!0,get:function(){return o.putEvents}});var i=r(52999);Object.defineProperty(t,"updateEndpoint",{enumerable:!0,get:function(){return i.updateEndpoint}})},90413(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogger=void 0;const n=r(68582),o=r(24489),i={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class a{constructor(e,t=o.LogType.WARN){this.name=e,this.level=t,this._pluggables=[]}_padding(e){return e<10?"0"+e:""+e}_ts(){const e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()}configure(e){return e?(this._config=e,this._config):this._config}_log(e,...t){let r=this.level;if(a.LOG_LEVEL&&(r=a.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(r=window.LOG_LEVEL),!(i[e]>=i[r]))return;let n=console.log.bind(console);e===o.LogType.ERROR&&console.error&&(n=console.error.bind(console)),e===o.LogType.WARN&&console.warn&&(n=console.warn.bind(console)),a.BIND_ALL_LOG_LEVELS&&(e===o.LogType.INFO&&console.info&&(n=console.info.bind(console)),e===o.LogType.DEBUG&&console.debug&&(n=console.debug.bind(console)));const s=`[${e}] ${this._ts()} ${this.name}`;let c="";if(1===t.length&&"string"==typeof t[0])c=`${s} - ${t[0]}`,n(c);else if(1===t.length)c=`${s} ${t[0]}`,n(s,t[0]);else if("string"==typeof t[0]){let e=t.slice(1);1===e.length&&(e=e[0]),c=`${s} - ${t[0]} ${e}`,n(`${s} - ${t[0]}`,e)}else c=`${s} ${t}`,n(s,t);for(const e of this._pluggables){const t={message:c,timestamp:Date.now()};e.pushLogs([t])}}log(...e){this._log(o.LogType.INFO,...e)}info(...e){this._log(o.LogType.INFO,...e)}warn(...e){this._log(o.LogType.WARN,...e)}error(...e){this._log(o.LogType.ERROR,...e)}debug(...e){this._log(o.LogType.DEBUG,...e)}verbose(...e){this._log(o.LogType.VERBOSE,...e)}addPluggable(e){e&&e.getCategoryName()===n.AWS_CLOUDWATCH_CATEGORY&&(this._pluggables.push(e),e.configure(this._config))}listPluggables(){return this._pluggables}}t.ConsoleLogger=a,a.LOG_LEVEL=null,a.BIND_ALL_LOG_LEVELS=!1},90472(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WordArray=void 0;const n=r(80369);class o{constructor(e,t){this.words=[];let r=e;r=this.words=r||[],this.sigBytes=void 0!==t?t:4*r.length}random(e){const t=[];for(let r=0;r<e;r+=4)t.push((0,n.cryptoSecureRandomInt)());return new o(t,e)}toString(){return function(e){const{words:t}=e,{sigBytes:r}=e,n=[];for(let e=0;e<r;e++){const r=t[e>>>2]>>>24-e%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")}(this)}}t.WordArray=o},90555(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSchemaToClient=function(e,t,r){return(0,n.upgradeClientCancellation)(e),e.models=(0,n.generateModelsProperty)(e,t,r),e.enums=(0,n.generateEnumsProperty)(t),e.queries=(0,n.generateCustomQueriesProperty)(e,t,r),e.mutations=(0,n.generateCustomMutationsProperty)(e,t,r),e.subscriptions=(0,n.generateCustomSubscriptionsProperty)(e,t,r),e.conversations=(0,n.generateConversationsProperty)(e,t,r),e.generations=(0,n.generateGenerationsProperty)(e,t,r),e};const n=r(63344)},90680(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMap=void 0;var n=r(19724),o=r(65212),i=r(17214);t.switchMap=function(e,t){return o.operate(function(r,o){var a=null,s=0,c=!1,u=function(){return c&&!a&&o.complete()};r.subscribe(i.createOperatorSubscriber(o,function(r){null==a||a.unsubscribe();var c=0,l=s++;n.innerFrom(e(r,l)).subscribe(a=i.createOperatorSubscriber(o,function(e){return o.next(t?t(r,e,l,c++):e)},function(){a=null,u()}))},function(){c=!0,u()}))})}},90746(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCredentials=function(){return n.Amplify.Auth.clearCredentials()};const n=r(28269)},91078(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(31635).__exportStar(r(29531),t)},91109(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.authErrorMessages=t.NoUserPoolError=t.AuthError=void 0;const n=r(56547),o=r(70928),i=new n.ConsoleLogger("AuthError");class a extends Error{constructor(e){const{message:r,log:n}=t.authErrorMessages[e];super(r),this.constructor=a,Object.setPrototypeOf(this,a.prototype),this.name="AuthError",this.log=n||r,i.error(this.log)}}t.AuthError=a;class s extends a{constructor(e){super(e),this.constructor=s,Object.setPrototypeOf(this,s.prototype),this.name="NoUserPoolError"}}t.NoUserPoolError=s,t.authErrorMessages={oauthSignInError:{message:o.AuthErrorStrings.OAUTH_ERROR,log:"Make sure Cognito Hosted UI has been configured correctly"},noConfig:{message:o.AuthErrorStrings.DEFAULT_MSG,log:"\n Error: Amplify has not been configured correctly.\n This error is typically caused by one of the following scenarios:\n\n 1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n \n 2. There might be multiple conflicting versions of amplify packages in your node_modules.\n\t\t\t\tRefer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n "},missingAuthConfig:{message:o.AuthErrorStrings.DEFAULT_MSG,log:"\n Error: Amplify has not been configured correctly. \n The configuration object is missing required auth properties.\n This error is typically caused by one of the following scenarios:\n\n 1. Did you run `amplify push` after adding auth via `amplify add auth`?\n See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n 2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n "},emptyUsername:{message:o.AuthErrorStrings.EMPTY_USERNAME},invalidUsername:{message:o.AuthErrorStrings.INVALID_USERNAME},emptyPassword:{message:o.AuthErrorStrings.EMPTY_PASSWORD},emptyCode:{message:o.AuthErrorStrings.EMPTY_CODE},signUpError:{message:o.AuthErrorStrings.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:o.AuthErrorStrings.NO_MFA},invalidMFA:{message:o.AuthErrorStrings.INVALID_MFA},emptyChallengeResponse:{message:o.AuthErrorStrings.EMPTY_CHALLENGE},noUserSession:{message:o.AuthErrorStrings.NO_USER_SESSION},deviceConfig:{message:o.AuthErrorStrings.DEVICE_CONFIG},networkError:{message:o.AuthErrorStrings.NETWORK_ERROR},autoSignInError:{message:o.AuthErrorStrings.AUTOSIGNIN_ERROR},default:{message:o.AuthErrorStrings.DEFAULT_MSG}}},91249(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signInWithRedirect=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t),(0,o.assertOAuthConfig)(t),c.oAuthStore.setAuthConfig(t),e?.options?.prompt||await(0,s.assertUserNotAuthenticated)();let r,a="COGNITO";return"string"==typeof e?.provider?a=i.cognitoHostedUIIdentityProviderMap[e.provider]:e?.provider?.custom?a=e.provider.custom:e?.provider?.idpIdentifier&&({idpIdentifier:r}=e.provider),d({oauthConfig:t.loginWith.oauth,clientId:t.userPoolClientId,provider:a,idpIdentifier:r,customState:e?.customState,preferPrivateSession:e?.options?.preferPrivateSession,options:{loginHint:e?.options?.loginHint,lang:e?.options?.lang,nonce:e?.options?.nonce,prompt:e?.options?.prompt},authSessionOpener:e?.options?.authSessionOpener})};const n=r(56547),o=r(22651);r(54937);const i=r(9901),a=r(17238),s=r(78040),c=r(7479),u=r(19804),l=r(35782),d=async({oauthConfig:e,provider:t,idpIdentifier:r,clientId:n,customState:i,preferPrivateSession:s,options:d,authSessionOpener:p})=>{const{domain:f,redirectSignIn:h,responseType:m,scopes:g}=e,{loginHint:y,lang:v,nonce:b,prompt:E}=d??{},w=(0,c.generateState)(),S=p||a.openAuthSession,A=i?`${w}-${(0,o.urlSafeEncode)(i)}`:w,{value:_,method:P,toCodeChallenge:C}=(0,c.generateCodeVerifier)(128),I=(0,c.getRedirectUrl)(e.redirectSignIn);(0,o.isBrowser)()&&c.oAuthStore.storeOAuthInFlight(!0),c.oAuthStore.storeOAuthState(A),c.oAuthStore.storePKCE(_);const x=new URLSearchParams([["redirect_uri",I],["response_type",m],["client_id",n]]);r?x.append("idp_identifier",r):x.append("identity_provider",t),x.append("scope",g.join(" ")),y&&x.append("login_hint",y),v&&x.append("lang",v),b&&x.append("nonce",b),E&&x.append("prompt",E.toLowerCase()),x.append("state",A),"code"===m&&(x.append("code_challenge",C()),x.append("code_challenge_method",P));const O=`https://${f}/oauth2/authorize?${x.toString()}`;(0,l.listenForOAuthFlowCancellation)(c.oAuthStore);const{type:k,error:T,url:N}=await S(O,h,s)??{};try{if("error"===k)throw(0,u.createOAuthError)(String(T));if("canceled"===k)throw(0,u.createOAuthError)(String(k));"success"===k&&N&&await(0,c.completeOAuthFlow)({currentUrl:N,clientId:n,domain:f,redirectUri:I,responseType:m,userAgentValue:(0,a.getAuthUserAgentValue)(o.AuthAction.SignInWithRedirect),preferPrivateSession:s})}catch(e){throw await(0,c.handleFailure)(e),e}}},91276(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},91339(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLAPI=t.GraphQLAPIClass=t.graphqlOperation=void 0;const n=r(22651),o=r(57309),i=r(63169);t.graphqlOperation=(e,t={},r)=>({query:e,variables:t,authToken:r});class a extends i.InternalGraphQLAPIClass{getModuleName(){return"GraphQLAPI"}graphql(e,t,r){const i={category:n.Category.API,action:n.ApiAction.GraphQl};if(function(e){return o.INTERNAL_USER_AGENT_OVERRIDE in e}(t)){const{[o.INTERNAL_USER_AGENT_OVERRIDE]:n,...a}=t;return super.graphql(e,a,r,{...i,...n})}return super.graphql(e,t,r,{...i})}isCancelError(e){return super.isCancelError(e)}cancel(e,t){return super.cancel(e,t)}}t.GraphQLAPIClass=a,t.GraphQLAPI=new a},91387(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patch=t.head=t.del=t.put=t.post=t.get=void 0;const n=r(56547),o=r(82345);t.get=e=>(0,o.get)(n.Amplify,e),t.post=e=>(0,o.post)(n.Amplify,e),t.put=e=>(0,o.put)(n.Amplify,e),t.del=e=>(0,o.del)(n.Amplify,e),t.head=e=>(0,o.head)(n.Amplify,e),t.patch=e=>(0,o.patch)(n.Amplify,e)},91537(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.authenticatedHandler=void 0;const n=r(92896),o=r(95593),i=r(72674),a=r(49615),s=r(19676);t.authenticatedHandler=(0,a.composeTransferHandler)(s.fetchTransferHandler,[i.userAgentMiddlewareFactory,n.amzSdkInvocationIdHeaderMiddlewareFactory,n.retryMiddlewareFactory,n.amzSdkRequestHeaderMiddlewareFactory,o.signingMiddlewareFactory])},91625(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseSigningInfo=void 0;const n=r(96126);t.parseSigningInfo=(e,t)=>{const{service:r=n.DEFAULT_REST_IAM_SIGNING_SERVICE,region:o=n.DEFAULT_IAM_SIGNING_REGION}=t?.amplify.getConfig()?.API?.REST?.[t?.apiName]??{},{hostname:i}=e,[,a,s]=n.APIG_HOSTNAME_PATTERN.exec(i)??[];return a===n.DEFAULT_REST_IAM_SIGNING_SERVICE?{service:a,region:s??o}:"appsync-api"===a?{service:"appsync",region:s??o}:{service:r,region:o}}},91752(e,t,r){"use strict";r.d(t,{v:()=>o});var n=r(86344);function o(e,t){const r={from:e?.from||t.defaultGradient.from,to:e?.to||t.defaultGradient.to,deg:e?.deg??t.defaultGradient.deg??0},o=(0,n.r)(r.from,t),i=(0,n.r)(r.to,t);return`linear-gradient(${r.deg}deg, ${o} 0%, ${i} 100%)`}},91970(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiError=t.isCancelError=t.patch=t.head=t.del=t.post=t.put=t.get=t.events=t.CONNECTION_STATE_CHANGE=t.ConnectionState=t.GraphQLAuthError=t.generateClient=void 0;var n=r(37138);Object.defineProperty(t,"generateClient",{enumerable:!0,get:function(){return n.generateClient}});var o=r(2554);Object.defineProperty(t,"GraphQLAuthError",{enumerable:!0,get:function(){return o.GraphQLAuthError}}),Object.defineProperty(t,"ConnectionState",{enumerable:!0,get:function(){return o.ConnectionState}});var i=r(2554);Object.defineProperty(t,"CONNECTION_STATE_CHANGE",{enumerable:!0,get:function(){return i.CONNECTION_STATE_CHANGE}}),Object.defineProperty(t,"events",{enumerable:!0,get:function(){return i.events}});var a=r(24521);Object.defineProperty(t,"get",{enumerable:!0,get:function(){return a.get}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return a.put}}),Object.defineProperty(t,"post",{enumerable:!0,get:function(){return a.post}}),Object.defineProperty(t,"del",{enumerable:!0,get:function(){return a.del}}),Object.defineProperty(t,"head",{enumerable:!0,get:function(){return a.head}}),Object.defineProperty(t,"patch",{enumerable:!0,get:function(){return a.patch}}),Object.defineProperty(t,"isCancelError",{enumerable:!0,get:function(){return a.isCancelError}});var s=r(22651);Object.defineProperty(t,"ApiError",{enumerable:!0,get:function(){return s.ApiError}})},91971(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setUpTOTP=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:f}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,u.assertAuthTokens)(f);const h=f.idToken?.payload["cognito:username"]??"",m=(0,d.createAssociateSoftwareTokenClient)({endpointResolver:(0,p.createCognitoUserPoolEndpointResolver)({endpointOverride:t})}),{SecretCode:g}=await m({region:(0,c.getRegionFromUserPoolId)(r),userAgentValue:(0,l.getAuthUserAgentValue)(o.AuthAction.SetUpTOTP)},{AccessToken:f.accessToken.toString()});if(!g)throw new i.AuthError({name:a.SETUP_TOTP_EXCEPTION,message:"Failed to set up TOTP."});return(0,s.getTOTPSetupDetails)(g,JSON.stringify(h))};const n=r(56547),o=r(22651),i=r(43518),a=r(11588),s=r(78040),c=r(62639),u=r(64166),l=r(17238),d=r(35456),p=r(28228)},92052(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestTools=t.Immediate=void 0;var r,n=1,o={};function i(e){return e in o&&(delete o[e],!0)}t.Immediate={setImmediate:function(e){var t=n++;return o[t]=!0,r||(r=Promise.resolve()),r.then(function(){return i(t)&&e()}),t},clearImmediate:function(e){i(e)}},t.TestTools={pending:function(){return Object.keys(o).length}}},92070(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;var n=r(78531),o=r(65212);t.reduce=function(e,t){return o.operate(n.scanInternals(e,t,arguments.length>=2,!1,!0))}},92359(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipLast=void 0;var n=r(87699),o=r(65212),i=r(17214);t.skipLast=function(e){return e<=0?n.identity:o.operate(function(t,r){var n=new Array(e),o=0;return t.subscribe(i.createOperatorSubscriber(r,function(t){var i=o++;if(i<e)n[i]=t;else{var a=i%e,s=n[a];n[a]=t,r.next(s)}})),function(){n=null}})}},92590(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleSelectChallengeWithPassword=async function(e,t,r,l,d){const{userPoolId:p,userPoolClientId:f,userPoolEndpoint:h}=l,m={ANSWER:"PASSWORD",USERNAME:e,PASSWORD:t},g=(0,c.getUserContextData)({username:e,userPoolId:p,userPoolClientId:f}),y=(0,o.createRespondToAuthChallengeClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:h})}),v=await y({region:(0,a.getRegionFromUserPoolId)(p),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:m,ClientId:f,ClientMetadata:r,Session:d,UserContextData:g}),b=v.ChallengeParameters?.USERNAME??e;return(0,u.setActiveSignInUsername)(b),v};const n=r(22651),o=r(35456),i=r(28228),a=r(62639),s=r(17238),c=r(99369),u=r(25279)},92679(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListConversationsFunction=void 0;const n=r(23151),o=r(19613),i=r(83102);t.createListConversationsFunction=(e,t,r,a,s,c)=>async u=>{const l=(0,n.listFactory)(e,t,a,c,!1,(0,i.getCustomUserAgentDetails)(i.AiAction.ListConversations)),{data:d,nextToken:p,errors:f}=await l(u);return{data:d.map(n=>(0,o.convertItemToConversation)(e,t,n.id,n.createdAt,n.updatedAt,r,s,c,n?.metadata,n?.name)),nextToken:p,errors:f}}},92813(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.I18nErrorCode=void 0;const n=r(1123);var o;!function(e){e.NotConfigured="NotConfigured"}(o||(t.I18nErrorCode=o={}));const i={[o.NotConfigured]:{message:"i18n is not configured."}};t.assert=(0,n.createAssertionFunction)(i)},92896(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.amzSdkRequestHeaderMiddlewareFactory=t.amzSdkInvocationIdHeaderMiddlewareFactory=t.getRetryDecider=t.jitteredBackoff=t.retryMiddlewareFactory=void 0;var n=r(14106);Object.defineProperty(t,"retryMiddlewareFactory",{enumerable:!0,get:function(){return n.retryMiddlewareFactory}});var o=r(83801);Object.defineProperty(t,"jitteredBackoff",{enumerable:!0,get:function(){return o.jitteredBackoff}});var i=r(20749);Object.defineProperty(t,"getRetryDecider",{enumerable:!0,get:function(){return i.getRetryDecider}});var a=r(12852);Object.defineProperty(t,"amzSdkInvocationIdHeaderMiddlewareFactory",{enumerable:!0,get:function(){return a.amzSdkInvocationIdHeaderMiddlewareFactory}});var s=r(70512);Object.defineProperty(t,"amzSdkRequestHeaderMiddlewareFactory",{enumerable:!0,get:function(){return s.amzSdkRequestHeaderMiddlewareFactory}})},93106(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthUserAgentDetails=void 0;const n=r(22651);t.getAuthUserAgentDetails=(e,t)=>({category:n.Category.Auth,action:e,...t})},93135(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAmplifyConfig=t.sharedInMemoryStorage=t.sessionStorage=t.defaultStorage=t.CookieStorage=t.ServiceWorker=t.ConsoleLogger=t.Cache=t.I18n=t.Hub=void 0;var n=r(56547);Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return n.Hub}}),Object.defineProperty(t,"I18n",{enumerable:!0,get:function(){return n.I18n}}),Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return n.Cache}}),Object.defineProperty(t,"ConsoleLogger",{enumerable:!0,get:function(){return n.ConsoleLogger}}),Object.defineProperty(t,"ServiceWorker",{enumerable:!0,get:function(){return n.ServiceWorker}}),Object.defineProperty(t,"CookieStorage",{enumerable:!0,get:function(){return n.CookieStorage}}),Object.defineProperty(t,"defaultStorage",{enumerable:!0,get:function(){return n.defaultStorage}}),Object.defineProperty(t,"sessionStorage",{enumerable:!0,get:function(){return n.sessionStorage}}),Object.defineProperty(t,"sharedInMemoryStorage",{enumerable:!0,get:function(){return n.sharedInMemoryStorage}});var o=r(22651);Object.defineProperty(t,"parseAmplifyConfig",{enumerable:!0,get:function(){return o.parseAmplifyConfig}})},93162(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetCredentialsForIdentityClient=void 0;const n=r(7884),o=r(39236),i=r(4463),a=r(17943),s=r(18057),c=r(78744);t.createGetCredentialsForIdentityClient=e=>(0,o.composeServiceApi)(s.cognitoIdentityTransferHandler,(0,c.createClientSerializer)("GetCredentialsForIdentity"),u,{...a.DEFAULT_SERVICE_CLIENT_API_CONFIG,...e,userAgentValue:(0,i.getAmplifyUserAgent)()});const u=async e=>{if(e.statusCode>=300)throw await(0,n.parseJsonError)(e);const t=await(0,n.parseJsonBody)(e);return{IdentityId:t.IdentityId,Credentials:l(t.Credentials),$metadata:(0,n.parseMetadata)(e)}},l=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(1e3*e)})},93275(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},93405(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.share=void 0;var i=r(19724),a=r(76808),s=r(2708),c=r(65212);function u(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];if(!0!==t){if(!1!==t){var c=new s.SafeSubscriber({next:function(){c.unsubscribe(),e()}});return i.innerFrom(t.apply(void 0,o([],n(r)))).subscribe(c)}}else e()}t.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new a.Subject}:t,n=e.resetOnError,o=void 0===n||n,l=e.resetOnComplete,d=void 0===l||l,p=e.resetOnRefCountZero,f=void 0===p||p;return function(e){var t,n,a,l=0,p=!1,h=!1,m=function(){null==n||n.unsubscribe(),n=void 0},g=function(){m(),t=a=void 0,p=h=!1},y=function(){var e=t;g(),null==e||e.unsubscribe()};return c.operate(function(e,c){l++,h||p||m();var v=a=null!=a?a:r();c.add(function(){0!==--l||h||p||(n=u(y,f))}),v.subscribe(c),!t&&l>0&&(t=new s.SafeSubscriber({next:function(e){return v.next(e)},error:function(e){h=!0,m(),n=u(g,o,e),v.error(e)},complete:function(){p=!0,m(),n=u(g,d),v.complete()}}),i.innerFrom(e).subscribe(t))})(e)}}},93586(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEndpointId=void 0;const n=r(22918),o=r(67635);t.getEndpointId=async(e,t)=>{const r=(0,o.getCacheKey)(e,t);return await n.Cache.getItem(r)??void 0}},93728(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0,t.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},93812(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveLibraryOptions=t.resolveConfig=void 0;var n=r(11630);Object.defineProperty(t,"resolveConfig",{enumerable:!0,get:function(){return n.resolveConfig}});var o=r(11771);Object.defineProperty(t,"resolveLibraryOptions",{enumerable:!0,get:function(){return o.resolveLibraryOptions}})},93839(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDnsSuffix=void 0;const n=r(16474);t.getDnsSuffix=e=>{const{partitions:t}=n.partitionsInfo;for(const{regions:r,outputs:n,regionRegex:o}of t){const t=new RegExp(o);if(r.includes(e)||t.test(e))return n.dnsSuffix}return n.defaultPartition.outputs.dnsSuffix}},94291(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateState=void 0;const n=r(22651);t.generateState=()=>(0,n.generateRandomString)(32)},94299(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV7State=void 0;const n=r(52291),o=r(76011),i={};function a(e,t,r){return e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=r[6]<<23|r[7]<<16|r[8]<<8|r[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++),e}function s(e,t,r,n,o=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(n){if(o<0||o+16>n.length)throw new RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`)}else n=new Uint8Array(16),o=0;return t??=Date.now(),r??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],n[o++]=t/1099511627776&255,n[o++]=t/4294967296&255,n[o++]=t/16777216&255,n[o++]=t/65536&255,n[o++]=t/256&255,n[o++]=255&t,n[o++]=112|r>>>28&15,n[o++]=r>>>20&255,n[o++]=128|r>>>14&63,n[o++]=r>>>6&255,n[o++]=r<<2&255|3&e[10],n[o++]=e[11],n[o++]=e[12],n[o++]=e[13],n[o++]=e[14],n[o++]=e[15],n}t.updateV7State=a,t.default=function(e,t,r){let c;if(e)c=s(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.seq,t,r);else{const e=Date.now(),o=(0,n.default)();a(i,e,o),c=s(o,i.msecs,i.seq,t,r)}return t??(0,o.unsafeStringify)(c)}},94381(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Amplify=void 0;var n=r(42910);Object.defineProperty(t,"Amplify",{enumerable:!0,get:function(){return n.DefaultAmplify}})},94684(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutex=void 0,t.Mutex=class{constructor(){this._queue=[],this._pending=!1}isLocked(){return this._pending}acquire(){const e=new Promise(e=>this._queue.push(e));return this._pending||this._dispatchNext(),e}runExclusive(e){return this.acquire().then(t=>{let r;try{r=e()}catch(e){throw t(),e}return Promise.resolve(r).then(e=>(t(),e),e=>{throw t(),e})})}_dispatchNext(){this._queue.length>0?(this._pending=!0,this._queue.shift()(this._dispatchNext.bind(this))):this._pending=!1}}},94708(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceError=void 0;var n=r(9619);t.SequenceError=n.createErrorClass(function(e){return function(t){e(this),this.name="SequenceError",this.message=t}})},94808(e,t){"use strict";var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutProvider=void 0,t.timeoutProvider={setTimeout:function(e,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s=t.timeoutProvider.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,n([e,o],r(i))):setTimeout.apply(void 0,n([e,o],r(i)))},clearTimeout:function(e){var r=t.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0}},94848(e,t,r){"use strict";r.d(t,{x:()=>o});var n=r(51609);function o(e){const t=n.version;return"string"!=typeof n.version||t.startsWith("18.")?e?.ref:e?.props?.ref}},94975(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=void 0,t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},95090(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveEndpointId=void 0;const n=r(1123),o=r(27745),i=r(7322),a=r(93586);t.resolveEndpointId=async({address:e,appId:t,category:r,channelType:s,credentials:c,identityId:u,region:l,userAgentValue:d})=>{let p=await(0,a.getEndpointId)(t,r);return p||(await(0,i.updateEndpoint)({address:e,appId:t,category:r,channelType:s,credentials:c,identityId:u,region:l,userAgentValue:d}),p=await(0,a.getEndpointId)(t,r)),(0,n.assert)(!!p,o.AmplifyErrorCode.NoEndpointId),p}},95179(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBytesFromHex=void 0;const n=r(39902);t.getBytesFromHex=e=>{if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const o=e.slice(r,r+2).toLowerCase();if(!(o in n.HEX_TO_SHORT))throw new Error(`Cannot decode unrecognized sequence ${o} as hexadecimal`);t[r/2]=n.HEX_TO_SHORT[o]}return t}},95264(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CacheList=t.isInteger=t.getCurrentTime=t.getCurrentSizeKey=t.getByteLength=void 0;var n=r(10605);Object.defineProperty(t,"getByteLength",{enumerable:!0,get:function(){return n.getByteLength}}),Object.defineProperty(t,"getCurrentSizeKey",{enumerable:!0,get:function(){return n.getCurrentSizeKey}}),Object.defineProperty(t,"getCurrentTime",{enumerable:!0,get:function(){return n.getCurrentTime}}),Object.defineProperty(t,"isInteger",{enumerable:!0,get:function(){return n.isInteger}});var o=r(69802);Object.defineProperty(t,"CacheList",{enumerable:!0,get:function(){return o.CacheList}})},95356(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.headerBasedAuth=async function(e,t,r,i={}){let a={};switch(t){case"apiKey":if(!r)throw new n.GraphQLApiError(o.NO_API_KEY);a={"X-Api-Key":r};break;case"iam":if(void 0===(await e.Auth.fetchAuthSession()).credentials)throw new n.GraphQLApiError(o.NO_VALID_CREDENTIALS);break;case"oidc":case"userPool":{let t;try{t=(await e.Auth.fetchAuthSession()).tokens?.accessToken.toString()}catch(e){throw new n.GraphQLApiError({...o.NO_SIGNED_IN_USER,underlyingError:e})}if(!t)throw new n.GraphQLApiError(o.NO_VALID_AUTH_TOKEN);a={Authorization:t};break}case"lambda":if("object"==typeof i&&!i.Authorization)throw new n.GraphQLApiError(o.NO_AUTH_TOKEN_HEADER);a={Authorization:i.Authorization}}return a};const n=r(30014),o=r(59119)},95392(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formLoginsMap=function(e){const t=(0,n.decodeJWT)(e).payload.iss,r={};if(!t)throw new o.AuthError({name:"InvalidIdTokenException",message:"Invalid Idtoken."});return r[t.replace(/(^\w+:|^)\/\//,"")]=e,r};const n=r(22651),o=r(43518)},95462(e,t,r){"use strict";var n=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},o=this&&this.__await||function(e){return this instanceof o?(this.v=e,this):new o(e)},i=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),a=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){i[e]&&(n[e]=function(t){return new Promise(function(r,n){a.push([e,t,r,n])>1||c(e,t)})})}function c(e,t){try{(r=i[e](t)).value instanceof o?Promise.resolve(r.value.v).then(u,l):d(a[0][2],r)}catch(e){d(a[0][3],e)}var r}function u(e){c("next",e)}function l(e){c("throw",e)}function d(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStreamLike=t.readableStreamLikeToAsyncGenerator=void 0;var a=r(10281);t.readableStreamLikeToAsyncGenerator=function(e){return i(this,arguments,function(){var t,r,i;return n(this,function(n){switch(n.label){case 0:t=e.getReader(),n.label=1;case 1:n.trys.push([1,,9,10]),n.label=2;case 2:return[4,o(t.read())];case 3:return r=n.sent(),i=r.value,r.done?[4,o(void 0)]:[3,5];case 4:return[2,n.sent()];case 5:return[4,o(i)];case 6:return[4,n.sent()];case 7:return n.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})},t.isReadableStreamLike=function(e){return a.isFunction(null==e?void 0:e.getReader)}},95513(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=t.onErrorResumeNextWith=void 0;var i=r(7652),a=r(1903);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.argsOrArgArray(e);return function(e){return a.onErrorResumeNext.apply(void 0,o([e],n(r)))}}t.onErrorResumeNextWith=s,t.onErrorResumeNext=s},95593(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signingMiddlewareFactory=void 0;var n=r(97045);Object.defineProperty(t,"signingMiddlewareFactory",{enumerable:!0,get:function(){return n.signingMiddlewareFactory}})},95936(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var n=r(68087),o=r(19724),i=r(44885),a=r(26404),s=r(47058);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popScheduler(e),c=a.popNumber(e,1/0),u=e;return u.length?1===u.length?o.innerFrom(u[0]):n.mergeAll(c)(s.from(u,r)):i.EMPTY}},96029(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildHttpRpcRequest=t.createClientSerializer=void 0,t.createClientSerializer=e=>(n,o)=>{const i=r(e),a=JSON.stringify(n);return(0,t.buildHttpRpcRequest)(o,i,a)};const r=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`});t.buildHttpRpcRequest=({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"})},96126(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIG_HOSTNAME_PATTERN=t.DEFAULT_IAM_SIGNING_REGION=t.DEFAULT_APPSYNC_API_SERVICE=t.DEFAULT_REST_IAM_SIGNING_SERVICE=void 0,t.DEFAULT_REST_IAM_SIGNING_SERVICE="execute-api",t.DEFAULT_APPSYNC_API_SERVICE="appsync-api",t.DEFAULT_IAM_SIGNING_REGION="us-east-1",t.APIG_HOSTNAME_PATTERN=/^.+\.([a-z0-9-]+)\.([a-z0-9-]+)\.amazonaws\.com/},96153(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},96316(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidCredentialCreationOptions=function(e){(0,n.assertPasskeyError)([!!e,!!e?.challenge,!!e?.user,!!e?.rp,!!e?.pubKeyCredParams].every(Boolean),n.PasskeyErrorCode.InvalidPasskeyRegistrationOptions)};const n=r(67579)},96328(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var i=r(65212),a=r(70201),s=r(26404),c=r(47058);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.popScheduler(e);return i.operate(function(t,i){a.concatAll()(c.from(o([t],n(e)),r)).subscribe(i)})}},96340(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deDupeAsyncFunction=void 0,t.deDupeAsyncFunction=e=>{let t;return async(...r)=>t||(t=new Promise((n,o)=>{e(...r).then(e=>{n(e)}).catch(e=>{o(e)}).finally(()=>{t=void 0})}),t)}},96441(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isConfigureEventWithResourceConfig=function(e){return"configure"===e.event}},96543(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAppInForeground=void 0,t.isAppInForeground=()=>!0},96568(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31797),o=r(76011);t.default=function(e){const t=(r="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&r[6])<<4|r[7]>>4&15,(15&r[7])<<4|(240&r[4])>>4,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,(15&r[1])<<4|(240&r[2])>>4,96|15&r[2],r[3],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]));var r;return"string"==typeof e?(0,o.unsafeStringify)(t):t}},96640(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSigningValues=void 0;const n=r(78290),o=r(6628);t.getSigningValues=({credentials:e,signingDate:t=new Date,signingRegion:r,signingService:i,uriEscapePath:a=!0})=>{const{accessKeyId:s,secretAccessKey:c,sessionToken:u}=e,{longDate:l,shortDate:d}=(0,o.getFormattedDates)(t);return{accessKeyId:s,credentialScope:(0,n.getCredentialScope)(d,r,i),longDate:l,secretAccessKey:c,sessionToken:u,shortDate:d,signingRegion:r,signingService:i,uriEscapePath:a}}},96871(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateS=void 0,t.calculateS=async({a:e,g:t,k:r,x:n,B:o,N:i,U:a})=>new Promise((s,c)=>{t.modPow(n,i,(t,u)=>{t?c(t):o.subtract(r.multiply(u)).modPow(e.add(a.multiply(n)),i,(e,t)=>{e?c(e):s(t.mod(i))})})})},97045(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signingMiddlewareFactory=void 0;const n=r(36759),o=r(82322),i=r(1268);t.signingMiddlewareFactory=({credentials:e,region:t,service:r,uriEscapePath:s=!0})=>{let c;return(u,l)=>async function(d){c=c??0;const p={credentials:"function"==typeof e?await e({forceRefresh:!!l?.isCredentialsExpired}):e,signingDate:(0,o.getSkewCorrectedDate)(c),signingRegion:t,signingService:r,uriEscapePath:s},f=await(0,n.signRequest)(d,p),h=await u(f),m=a(h);return m&&(c=(0,i.getUpdatedSystemClockOffset)(Date.parse(m),c)),h}};const a=({headers:e}={})=>e?.date??e?.Date??e?.["x-amz-date"]},97156(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSchemaToClientWithInstance=function(e,t,r){const a=t.config?.API?.GraphQL;return(0,n.isApiGraphQLConfig)(a)&&((0,o.upgradeClientCancellation)(e),e.models=(0,i.generateModelsProperty)(e,t,r),e.enums=(0,o.generateEnumsProperty)(a),e.queries=(0,o.generateCustomQueriesProperty)(e,a,r),e.mutations=(0,o.generateCustomMutationsProperty)(e,a,r)),e};const n=r(61129),o=r(63344),i=r(58870)},97170(e,t,r){"use strict";r.d(t,{B:()=>o,X:()=>i});var n=r(59444);function o(e,t){if("string"!=typeof e||t>1||t<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var("))return`color-mix(in srgb, ${e}, transparent ${100*(1-t)}%)`;if(e.startsWith("oklch"))return e.includes("/")?e.replace(/\/\s*[\d.]+\s*\)/,`/ ${t})`):e.replace(")",` / ${t})`);const{r,g:o,b:i}=(0,n.K)(e);return`rgba(${r}, ${o}, ${i}, ${t})`}const i=o},97206(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUserPoolDeserializer=void 0;const n=r(7884),o=r(73031),i=r(43518);t.createUserPoolDeserializer=()=>async e=>{if(e.statusCode>=300){const t=await(0,n.parseJsonError)(e);throw(0,o.assertServiceError)(t),new i.AuthError({name:t.name,message:t.message,metadata:t.$metadata})}return(0,n.parseJsonBody)(e)}},97209(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.webDetect=function(){return(0,n.windowExists)()};const n=r(62114)},97314(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});Object.defineProperty(t,"__esModule",{value:!0}),t.BehaviorSubject=void 0;var i=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r(76808).Subject);t.BehaviorSubject=i},97542(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=async function(e,t,r,n){if("function"!=typeof e)throw Error("functionToRetry must be a function");return new Promise(async(a,s)=>{let c,u,l=0,d=!1,p=()=>{};for(n&&n.then(()=>{d=!0,clearTimeout(c),p()});!d;){l++,i.debug(`${e.name} attempt #${l} with this vars: ${JSON.stringify(t)}`);try{return void a(await e(...t))}catch(n){if(u=n,i.debug(`error on ${e.name}`,n),(0,o.isNonRetryableError)(n))return i.debug(`${e.name} non retryable error`,n),void s(n);const a=r(l,t,n);if(i.debug(`${e.name} retrying in ${a} ms`),!1===a||d)return void s(n);await new Promise(e=>{p=e,c=setTimeout(p,a)})}}s(u)})};const n=r(90413),o=r(64151),i=new n.ConsoleLogger("retryUtil")},97551(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updatePassword=async function(e){const t=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(t);const{userPoolEndpoint:r,userPoolId:p}=t,{oldPassword:f,newPassword:h}=e;(0,a.assertValidationError)(!!f,i.AuthValidationErrorCode.EmptyUpdatePassword),(0,a.assertValidationError)(!!h,i.AuthValidationErrorCode.EmptyUpdatePassword);const{tokens:m}=await(0,n.fetchAuthSession)({forceRefresh:!1});(0,c.assertAuthTokens)(m);const g=(0,l.createChangePasswordClient)({endpointResolver:(0,d.createCognitoUserPoolEndpointResolver)({endpointOverride:r})});await g({region:(0,s.getRegionFromUserPoolId)(p),userAgentValue:(0,u.getAuthUserAgentValue)(o.AuthAction.UpdatePassword)},{AccessToken:m.accessToken.toString(),PreviousPassword:f,ProposedPassword:h})};const n=r(56547),o=r(22651),i=r(49129),a=r(58765),s=r(62639),c=r(64166),u=r(17238),l=r(35456),d=r(28228)},97783(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipUntil=void 0;var n=r(65212),o=r(17214),i=r(19724),a=r(5717);t.skipUntil=function(e){return n.operate(function(t,r){var n=!1,s=o.createOperatorSubscriber(r,function(){null==s||s.unsubscribe(),n=!0},a.noop);i.innerFrom(e).subscribe(s),t.subscribe(o.createOperatorSubscriber(r,function(e){return n&&r.next(e)}))})}},97807(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDisableCacheMiddleware=void 0,t.createDisableCacheMiddleware=()=>e=>async function(t){return t.headers["cache-control"]="no-store",e(t)}},97873(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateConversationsProperty=function(e,t,r){const c=t?.modelIntrospection;if(!c?.conversations)return{};const u={};for(const{name:t,conversation:l,message:d,models:p,nonModels:f,enums:h}of Object.values(c.conversations)){const m=p[l.modelName],g=p[d.modelName];if(!m||!g)return{};const y={...c,models:{...c.models,...p},nonModels:{...c.nonModels,...f},enums:{...c.enums,...h}};u[t]={update:(0,s.createUpdateConversationFunction)(e,y,t,m,g,r),create:(0,n.createCreateConversationFunction)(e,y,t,m,g,r),get:(0,o.createGetConversationFunction)(e,y,t,m,g,r),delete:(0,a.createDeleteConversationFunction)(e,y,t,m,g,r),list:(0,i.createListConversationsFunction)(e,y,t,m,g,r)}}return u};const n=r(50508),o=r(57700),i=r(92679),a=r(58407),s=r(57293)},97922(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteWebAuthnCredential=async function(e,t){const r=e.getConfig().Auth?.Cognito;(0,n.assertTokenProviderConfig)(r);const{userPoolEndpoint:u,userPoolId:l}=r,{tokens:d}=await e.Auth.fetchAuthSession();(0,o.assertAuthTokens)(d);const p=(0,c.createDeleteWebAuthnCredentialClient)({endpointResolver:(0,i.createCognitoUserPoolEndpointResolver)({endpointOverride:u})});await p({region:(0,a.getRegionFromUserPoolId)(l),userAgentValue:(0,s.getAuthUserAgentValue)(n.AuthAction.DeleteWebAuthnCredential)},{AccessToken:d.accessToken.toString(),CredentialId:t.credentialId})};const n=r(22651),o=r(64166),i=r(28228),a=r(62639),s=r(17238),c=r(35456)},97963(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPasskey=t.registerPasskey=void 0;var n=r(69752);Object.defineProperty(t,"registerPasskey",{enumerable:!0,get:function(){return n.registerPasskey}});var o=r(47867);Object.defineProperty(t,"getPasskey",{enumerable:!0,get:function(){return o.getPasskey}})},97973(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserializeContent=void 0;const n=r(20793);t.deserializeContent=e=>e.map(e=>e.image?o(e):e.document?i(e):e.toolUse?a(e):e.toolResult?s(e):c(e));const o=({image:e})=>({image:{...e,source:{...e.source,bytes:(0,n.fromBase64)(e.source.bytes)}}}),i=({document:e})=>({document:{...e,source:{...e.source,bytes:(0,n.fromBase64)(e.source.bytes)}}}),a=({toolUse:e})=>({toolUse:{...e,input:JSON.parse(e.input)}}),s=({toolResult:e})=>({toolResult:{toolUseId:e.toolUseId,content:e.content.map(e=>e.image?o(e):e.json?(({json:e})=>({json:JSON.parse(e)}))(e):c(e))}}),c=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>null!==t))},97986(e,t,r){"use strict";r.d(t,{e:()=>i});var n=r(10790),o=r(51609);function i(e=null){const t=(0,o.createContext)(e);return[({children:e,value:r})=>(0,n.jsx)(t.Provider,{value:r,children:e}),()=>(0,o.useContext)(t)]}},98032(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concatWith=void 0;var i=r(96328);t.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.concat.apply(void 0,o([],n(e)))}},98090(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryOnResourceNotFoundException=async function(e,t,r,o){try{return await e(...t)}catch(i){if(i instanceof n.AuthError&&"ResourceNotFoundException"===i.name&&i.message.includes("Device does not exist."))return await o.clearDeviceMetadata(r),e(...t);throw i}};const n=r(43518)},98183(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFind=t.find=void 0;var n=r(65212),o=r(17214);function i(e,t,r){var n="index"===r;return function(r,i){var a=0;r.subscribe(o.createOperatorSubscriber(i,function(o){var s=a++;e.call(t,o,s,r)&&(i.next(n?s:o),i.complete())},function(){i.next(n?-1:void 0),i.complete()}))}}t.find=function(e,t){return n.operate(i(e,t,"value"))},t.createFind=i},98229(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchAuthSession=void 0;const n=r(28269),o=r(89439);t.fetchAuthSession=e=>(0,o.fetchAuthSession)(n.Amplify,e)},98306(e,t,r){"use strict";r.d(t,{q:()=>n});const n=(e,t)=>(r,n)=>{const o={};let i=t=>e(t,n);for(let e=t.length-1;e>=0;e--)i=(0,t[e])(n)(i,o);return i(r)}},98562(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGraphQLResponseWithErrors=function(e){if(!e)return!1;const t=e;return Array.isArray(t.errors)&&t.errors.length>0}},98572(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageCacheCommon=void 0;const n=r(69580),o=r(73655),i=r(95264),a=r(67689),s=new n.ConsoleLogger("StorageCache");t.StorageCacheCommon=class{constructor({config:e,keyValueStorage:t}){this.config={...o.defaultConfig,...e},this.keyValueStorage=t,this.sanitizeConfig()}getModuleName(){return"Cache"}configure(e){return e&&(e.keyPrefix&&s.warn("keyPrefix can not be re-configured on an existing Cache instance."),this.config={...this.config,...e}),this.sanitizeConfig(),this.config}async getCurrentCacheSize(){let e=await this.getStorage().getItem((0,i.getCurrentSizeKey)(this.config.keyPrefix));return e||(await this.getStorage().setItem((0,i.getCurrentSizeKey)(this.config.keyPrefix),"0"),e="0"),Number(e)}async setItem(e,t,r){if(s.debug(`Set item: key is ${e}, value is ${t} with options: ${r}`),!e||e===o.currentSizeKey)return void s.warn(`Invalid key: should not be empty or reserved key: '${o.currentSizeKey}'`);if(void 0===t)return void s.warn("The value of item should not be undefined!");const n={priority:void 0!==r?.priority?r.priority:this.config.defaultPriority,expires:void 0!==r?.expires?r.expires:this.config.defaultTTL+(0,i.getCurrentTime)()};if(n.priority<1||n.priority>5)return void s.warn("Invalid parameter: priority due to out or range. It should be within 1 and 5.");const a=`${this.config.keyPrefix}${e}`,c=this.fillCacheItem(a,t,n);if(c.byteSize>this.config.itemMaxSize)s.warn(`Item with key: ${e} you are trying to put into is too big!`);else try{const e=await this.getStorage().getItem(a);if(e&&await this.removeCacheItem(a,JSON.parse(e).byteSize),await this.isCacheFull(c.byteSize)){const e=await this.clearInvalidAndGetRemainingKeys();if(await this.isCacheFull(c.byteSize)){const t=await this.sizeToPop(c.byteSize);await this.popOutItems(e,t)}}return this.setCacheItem(a,c)}catch(e){s.warn(`setItem failed! ${e}`)}}async getItem(e,t){let r;if(s.debug(`Get item: key is ${e} with options ${t}`),!e||e===o.currentSizeKey)return s.warn(`Invalid key: should not be empty or reserved key: '${o.currentSizeKey}'`),null;const n=`${this.config.keyPrefix}${e}`;try{if(r=await this.getStorage().getItem(n),null!=r){if(!await this.isExpired(n))return(await this.updateVisitedTime(JSON.parse(r),n)).data;await this.removeCacheItem(n,JSON.parse(r).byteSize)}if(t?.callback){const r=t.callback();return null!==r&&await this.setItem(e,r,t),r}return null}catch(e){return s.warn(`getItem failed! ${e}`),null}}async removeItem(e){if(s.debug(`Remove item: key is ${e}`),!e||e===o.currentSizeKey)return void s.warn(`Invalid key: should not be empty or reserved key: '${o.currentSizeKey}'`);const t=`${this.config.keyPrefix}${e}`;try{const e=await this.getStorage().getItem(t);e&&await this.removeCacheItem(t,JSON.parse(e).byteSize)}catch(e){s.warn(`removeItem failed! ${e}`)}}async getAllKeys(){try{return await this.getAllCacheKeys()}catch(e){return s.warn(`getAllkeys failed! ${e}`),[]}}getStorage(){return this.keyValueStorage}async isExpired(e){const t=await this.getStorage().getItem(e);(0,a.assert)(null!==t,a.CacheErrorCode.NoCacheItem,`Key: ${e}`);const r=JSON.parse(t);return(0,i.getCurrentTime)()>=r.expires}async removeCacheItem(e,t){const r=await this.getStorage().getItem(e);(0,a.assert)(null!==r,a.CacheErrorCode.NoCacheItem,`Key: ${e}`);const n=t??JSON.parse(r).byteSize;await this.decreaseCurrentSizeInBytes(n);try{await this.getStorage().removeItem(e)}catch(e){await this.increaseCurrentSizeInBytes(n),s.error(`Failed to remove item: ${e}`)}}fillCacheItem(e,t,r){const n={key:e,data:t,timestamp:(0,i.getCurrentTime)(),visitedTime:(0,i.getCurrentTime)(),priority:r.priority??0,expires:r.expires??0,type:typeof t,byteSize:0};return n.byteSize=(0,i.getByteLength)(JSON.stringify(n)),n.byteSize=(0,i.getByteLength)(JSON.stringify(n)),n}sanitizeConfig(){this.config.itemMaxSize>this.config.capacityInBytes&&(s.error("Invalid parameter: itemMaxSize. It should be smaller than capacityInBytes. Setting back to default."),this.config.itemMaxSize=o.defaultConfig.itemMaxSize),(this.config.defaultPriority>5||this.config.defaultPriority<1)&&(s.error("Invalid parameter: defaultPriority. It should be between 1 and 5. Setting back to default."),this.config.defaultPriority=o.defaultConfig.defaultPriority),(Number(this.config.warningThreshold)>1||Number(this.config.warningThreshold)<0)&&(s.error("Invalid parameter: warningThreshold. It should be between 0 and 1. Setting back to default."),this.config.warningThreshold=o.defaultConfig.warningThreshold),this.config.capacityInBytes>5242880&&(s.error("Cache Capacity should be less than 5MB. Setting back to default. Setting back to default."),this.config.capacityInBytes=o.defaultConfig.capacityInBytes)}async increaseCurrentSizeInBytes(e){const t=await this.getCurrentCacheSize();await this.getStorage().setItem((0,i.getCurrentSizeKey)(this.config.keyPrefix),(t+e).toString())}async decreaseCurrentSizeInBytes(e){const t=await this.getCurrentCacheSize();await this.getStorage().setItem((0,i.getCurrentSizeKey)(this.config.keyPrefix),(t-e).toString())}async updateVisitedTime(e,t){return e.visitedTime=(0,i.getCurrentTime)(),await this.getStorage().setItem(t,JSON.stringify(e)),e}async setCacheItem(e,t){await this.increaseCurrentSizeInBytes(t.byteSize);try{await this.getStorage().setItem(e,JSON.stringify(t))}catch(e){await this.decreaseCurrentSizeInBytes(t.byteSize),s.error(`Failed to set item ${e}`)}}async sizeToPop(e){const t=await this.getCurrentCacheSize()+e-this.config.capacityInBytes,r=(1-this.config.warningThreshold)*this.config.capacityInBytes;return t>r?t:r}async isCacheFull(e){return e+await this.getCurrentCacheSize()>this.config.capacityInBytes}async popOutItems(e,t){const r=[];let n=t;for(const t of e){const e=await this.getStorage().getItem(t);if(null!=e){const t=JSON.parse(e);r.push(t)}}r.sort((e,t)=>e.priority>t.priority?-1:e.priority<t.priority?1:e.visitedTime<t.visitedTime?-1:1);for(const e of r)if(await this.removeCacheItem(e.key,e.byteSize),n-=e.byteSize,n<=0)return}async clearInvalidAndGetRemainingKeys(){const e=[],t=await this.getAllCacheKeys({omitSizeKey:!0});for(const r of t)await this.isExpired(r)?await this.removeCacheItem(r):e.push(r);return e}async clear(){s.debug("Clear Cache");try{const e=await this.getAllKeys();for(const t of e){const e=`${this.config.keyPrefix}${t}`;await this.getStorage().removeItem(e)}}catch(e){s.warn(`clear failed! ${e}`)}}}},98590(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectable=void 0;var n=r(76808),o=r(48051),i=r(35884),a={connector:function(){return new n.Subject},resetOnDisconnect:!0};t.connectable=function(e,t){void 0===t&&(t=a);var r=null,n=t.connector,s=t.resetOnDisconnect,c=void 0===s||s,u=n(),l=new o.Observable(function(e){return u.subscribe(e)});return l.connect=function(){return r&&!r.closed||(r=i.defer(function(){return e}).subscribe(u),c&&r.add(function(){return u=n()})),r},l}},98778(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTokenProviderConfig=function(e){let t=!0;t=!!e&&!!e.userPoolId&&!!e.userPoolClientId,(0,o.assert)(t,o.AuthConfigurationErrorCode.AuthUserPoolException)},t.assertOAuthConfig=function(e){const t=!!(e?.loginWith?.oauth?.domain&&e?.loginWith?.oauth?.redirectSignOut&&e?.loginWith?.oauth?.redirectSignIn&&e?.loginWith?.oauth?.responseType);(0,o.assert)(t,o.AuthConfigurationErrorCode.OAuthNotConfigureException)},t.assertIdentityPoolIdConfig=function(e){const t=!!e?.identityPoolId;(0,o.assert)(t,o.AuthConfigurationErrorCode.InvalidIdentityPoolIdException)},t.decodeJWT=function(e){const t=e.split(".");if(3!==t.length)throw new Error("Invalid token");try{const r=t[1].replace(/-/g,"+").replace(/_/g,"/"),o=decodeURIComponent(n.base64Decoder.convert(r).split("").map(e=>`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`).join(""));return{toString:()=>e,payload:JSON.parse(o)}}catch(e){throw new Error("Invalid token payload")}};const n=r(35269),o=r(42619)},98867(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteUser=async function(){const e=n.Amplify.getConfig().Auth?.Cognito;(0,o.assertTokenProviderConfig)(e);const{userPoolEndpoint:t,userPoolId:r}=e,{tokens:p}=await(0,n.fetchAuthSession)();(0,a.assertAuthTokens)(p);const f=(0,u.createDeleteUserClient)({endpointResolver:(0,l.createCognitoUserPoolEndpointResolver)({endpointOverride:t})});await f({region:(0,i.getRegionFromUserPoolId)(r),userAgentValue:(0,c.getAuthUserAgentValue)(o.AuthAction.DeleteUser)},{AccessToken:p.accessToken.toString()}),await s.tokenOrchestrator.clearDeviceMetadata(),await(0,d.signOut)()};const n=r(56547),o=r(22651),i=r(62639),a=r(64166),s=r(4870),c=r(17238),u=r(35456),l=r(28228),d=r(59436)},99054(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startWith=void 0;var n=r(39546),o=r(26404),i=r(65212);t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.popScheduler(e);return i.operate(function(t,o){(r?n.concat(e,t,r):n.concat(e,t)).subscribe(o)})}},99137(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PinpointEventBuffer=void 0;const n=r(69580),o=r(90195),i=r(62421),a=r(96543),s=new n.ConsoleLogger("PinpointEventBuffer"),c=[429,500],u=[202];t.PinpointEventBuffer=class{constructor(e){this._interval=void 0,this._pause=!1,this._flush=!1,this._buffer=[],this._config=e,this._sendBatch=this._sendBatch.bind(this),this._startLoop()}push(e){this._buffer.length>=this._config.bufferSize?s.debug("Exceeded Pinpoint event buffer limits, event dropped.",{eventId:e.eventId}):this._buffer.push({[e.eventId]:e})}pause(){this._pause=!0}resume(){this._pause=!1}flush(){this._flush=!0}identityHasChanged(e){return this._config.identityId!==e}haveCredentialsChanged(e){return(0,i.haveCredentialsChanged)(this._config.credentials,e)}flushAll(){this._putEvents(this._buffer.splice(0,this._buffer.length))}_startLoop(){this._interval&&clearInterval(this._interval);const{flushInterval:e}=this._config;this._interval=setInterval(this._sendBatch,e)}_sendBatch(){const e=this._buffer.length;if(this._flush&&!e&&this._interval&&clearInterval(this._interval),this._pause||!e||!(0,a.isAppInForeground)())return;const{flushSize:t}=this._config,r=Math.min(t,e),n=this._buffer.splice(0,r);this._putEvents(n)}async _putEvents(e){const t=this._bufferToMap(e),r=this._generateBatchEventParams(t);try{const{credentials:e,region:n,userAgentValue:i}=this._config,a=await(0,o.putEvents)({credentials:e,region:n,userAgentValue:i},r);this._processPutEventsSuccessResponse(a,t)}catch(e){this._handlePutEventsFailure(e,t)}}_generateBatchEventParams(e){const t={};return Object.values(e).forEach(e=>{const{event:r,timestamp:n,endpointId:o,eventId:i,session:a}=e,{name:s,attributes:c,metrics:u}=r;t[o]={Endpoint:{...t[o]?.Endpoint},Events:{...t[o]?.Events,[i]:{EventType:s,Timestamp:new Date(n).toISOString(),Attributes:c,Metrics:u,Session:a}}}}),{ApplicationId:this._config.appId,EventsRequest:{BatchItem:t}}}_handlePutEventsFailure(e,t){s.debug("putEvents call to Pinpoint failed.",e);const r=e.$metadata&&e.$metadata.httpStatusCode;if(c.includes(r)){const e=Object.values(t);this._retry(e)}}_processPutEventsSuccessResponse(e,t){const{Results:r={}}=e.EventsResponse??{},n=[];Object.entries(r).forEach(([e,r])=>{const o=r.EventsItemResponse??{};Object.entries(o).forEach(([e,r])=>{const o=t[e];if(!o)return;const{StatusCode:i,Message:a}=r??{};if(i&&u.includes(i))return;if(i&&c.includes(i))return void n.push(o);const{name:l}=o.event;s.warn("Pinpoint event failed to send.",{eventId:e,name:l,message:a})})}),n.length&&this._retry(n)}_retry(e){const t=[];e.forEach(e=>{const{eventId:r}=e,{name:n}=e.event;if(e.resendLimit-- >0)return s.debug("Resending event.",{eventId:r,name:n,remainingAttempts:e.resendLimit}),void t.push({[r]:e});s.debug("No retry attempts remaining for event.",{eventId:r,name:n})}),this._buffer.unshift(...t)}_bufferToMap(e){return e.reduce((e,t)=>{const[[r,n]]=Object.entries(t);return e[r]=n,e},{})}}},99245(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var n=r(31983),o=r(32036);t.queueScheduler=new o.QueueScheduler(n.QueueAction),t.queue=t.queueScheduler},99271(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionStateMonitor=t.CONNECTION_CHANGE=void 0;const n=r(79364),o=r(68769),i=r(79404);t.CONNECTION_CHANGE={KEEP_ALIVE_MISSED:{keepAliveState:"unhealthy"},KEEP_ALIVE:{keepAliveState:"healthy"},CONNECTION_ESTABLISHED:{connectionState:"connected"},CONNECTION_FAILED:{intendedConnectionState:"disconnected",connectionState:"disconnected"},CLOSING_CONNECTION:{intendedConnectionState:"disconnected"},OPENING_CONNECTION:{intendedConnectionState:"connected",connectionState:"connecting"},CLOSED:{connectionState:"disconnected"},ONLINE:{networkState:"connected"},OFFLINE:{networkState:"disconnected"}},t.ConnectionStateMonitor=class{constructor(){this._networkMonitoringSubscription=void 0,this._linkedConnectionState={networkState:"connected",connectionState:"disconnected",intendedConnectionState:"disconnected",keepAliveState:"healthy"},this._initialNetworkStateSubscription=(0,i.ReachabilityMonitor)().subscribe(({online:e})=>{this.record(e?t.CONNECTION_CHANGE.ONLINE:t.CONNECTION_CHANGE.OFFLINE),this._initialNetworkStateSubscription?.unsubscribe()}),this._linkedConnectionStateObservable=new n.Observable(e=>{e.next(this._linkedConnectionState),this._linkedConnectionStateObserver=e})}enableNetworkMonitoring(){this._initialNetworkStateSubscription?.unsubscribe(),void 0===this._networkMonitoringSubscription&&(this._networkMonitoringSubscription=(0,i.ReachabilityMonitor)().subscribe(({online:e})=>{this.record(e?t.CONNECTION_CHANGE.ONLINE:t.CONNECTION_CHANGE.OFFLINE)}))}disableNetworkMonitoring(){this._networkMonitoringSubscription?.unsubscribe(),this._networkMonitoringSubscription=void 0}get connectionStateObservable(){let e;return this._linkedConnectionStateObservable.pipe((0,n.map)(e=>this.connectionStatesTranslator(e))).pipe((0,n.filter)(t=>{const r=t!==e;return e=t,r}))}record(e){"connected"===e.intendedConnectionState?this.enableNetworkMonitoring():"disconnected"===e.intendedConnectionState&&this.disableNetworkMonitoring();const t={...this._linkedConnectionState,...e};this._linkedConnectionState={...t},this._linkedConnectionStateObserver?.next(this._linkedConnectionState)}connectionStatesTranslator({connectionState:e,networkState:t,intendedConnectionState:r,keepAliveState:n}){return"connected"===e&&"disconnected"===t?o.ConnectionState.ConnectedPendingNetwork:"connected"===e&&"disconnected"===r?o.ConnectionState.ConnectedPendingDisconnect:"disconnected"===e&&"connected"===r&&"disconnected"===t?o.ConnectionState.ConnectionDisruptedPendingNetwork:"disconnected"===e&&"connected"===r?o.ConnectionState.ConnectionDisrupted:"connected"===e&&"unhealthy"===n?o.ConnectionState.ConnectedPendingKeepAlive:"connecting"===e?o.ConnectionState.Connecting:"disconnected"===e?o.ConnectionState.Disconnected:o.ConnectionState.Connected}}},99274(e,t,r){"use strict";r.d(t,{Y:()=>a}),r(51609),r(10790);var n=r(1101),o=r(74593),i=r(44812);function a({classNames:e,styles:t,props:r,stylesCtx:a}){const s=(0,n.xd)();return{resolvedClassNames:(0,o.J)({theme:s,classNames:e,props:r,stylesCtx:a||void 0}),resolvedStyles:(0,i.N)({theme:s,styles:t,props:r,stylesCtx:a||void 0})}}},99369(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserContextData=function({username:e,userPoolId:t,userPoolClientId:r}){if("undefined"==typeof window)return;const n=window.AmazonCognitoAdvancedSecurityData;if(void 0===n)return;const o=n.getData(e,t,r);return o?{EncodedData:o}:{}}},99380(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iif=void 0;var n=r(35884);t.iif=function(e,t,r){return n.defer(function(){return e()?t:r})}},99463(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flushEvents=void 0;const n=r(50454),o=r(19867);t.flushEvents=({appId:e,region:t,credentials:r,bufferSize:i,flushInterval:a,flushSize:s,resendLimit:c,identityId:u,userAgentValue:l})=>{(0,n.getEventBuffer)({appId:e,region:t,credentials:r,bufferSize:i??o.BUFFER_SIZE,flushInterval:a??o.FLUSH_INTERVAL,flushSize:s??o.FLUSH_SIZE,resendLimit:c??o.RESEND_LIMIT,identityId:u,userAgentValue:l}).flushAll()}},99517(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipeFromArray=t.pipe=void 0;var n=r(87699);function o(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)},t.pipeFromArray=o},99607(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyncSessionStorage=void 0;const n=r(41125),o=r(72380);class i extends n.SyncKeyValueStorage{constructor(){super((0,o.getSessionStorageWithFallback)())}}t.SyncSessionStorage=i},99892(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transferHandler=void 0;const n=r(7884),o=r(41723),i=r(21777),a=r(28261),s=r(39554);t.transferHandler=async(e,t,r,l)=>{const{url:d,method:p,headers:f,body:h,withCredentials:m,abortSignal:g,retryStrategy:y}=t,v=h?h instanceof FormData?h:JSON.stringify(h??""):void 0,b={url:d,headers:(0,i.resolveHeaders)(f,h),method:p,body:v},{retryStrategy:E,defaultAuthMode:w}=(0,o.resolveLibraryOptions)(e),S={retryDecider:c(y??E),computeDelay:n.jitteredBackoff,withCrossDomainCredentials:m,abortSignal:g};let A,_=null;if("none"!==(t.defaultAuthMode??w)&&(_=await u(e)),r(b,l)&&_){const e=(0,o.parseSigningInfo)(d),t=l?.service??e.service,r=l?.region??e.region;A=await(0,a.authenticatedHandler)(b,{...S,credentials:_,region:r,service:t})}else A=await(0,s.unauthenticatedHandler)(b,{...S});return{statusCode:A.statusCode,headers:A.headers,body:A.body}};const c=e=>{const t=e?.strategy;return"no-retry"===t?()=>Promise.resolve({retryable:!1}):(0,n.getRetryDecider)(o.parseRestApiServiceError)},u=async e=>{try{const{credentials:t}=await e.Auth.fetchAuthSession();if(t)return t}catch(e){o.logger.debug("No credentials available, the request will be unsigned.")}return null}},99912(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHashedPayload=void 0;const n=r(15130),o=r(61176);t.getHashedPayload=e=>null==e?n.EMPTY_HASH:i(e)?(0,o.getHashedDataAsHex)(null,e):n.UNSIGNED_PAYLOAD;const i=e=>e!==n.UNSIGNED_PAYLOAD&&("string"==typeof e||ArrayBuffer.isView(e)||a(e)),a=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e)}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e].call(r.exports,r,r.exports,a),r.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>e+".js?ver="+{181:"fafe915cad074d7d63c1",283:"0e9a5d17cc7782ee1b31",491:"ef3f19a0e46cf2aa8940",563:"73114211505a4bb7547f",635:"4f92cf1812a819130aa8",788:"76b10629de5900246c7e",805:"08ca1b5fc6f4b1df0067",985:"65e0e4cb9288353b6010"}[e],a.miniCssF=e=>e+".css",a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@smart-cloud/gatey-admin:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+o){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(f);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(n)),t)return t(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e={57:0};a.f.miniCss=(t,r)=>{e[t]?r.push(e[t]):0!==e[t]&&{985:1}[t]&&r.push(e[t]=(e=>new Promise((t,r)=>{var n=a.miniCssF(e),o=a.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(n,o))return t();((e,t,r,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",a.nc&&(i.nonce=a.nc),i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&r.type,s=r&&r.target&&r.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+s+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=a,c.request=s,i.parentNode&&i.parentNode.removeChild(i),o(c)}},i.href=t,document.head.appendChild(i)})(e,o,0,t,r)}))(t).then(()=>{e[t]=0},r=>{throw delete e[t],r}))}}})(),(()=>{var e={57:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}},"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,c]=r,u=0;if(i.some(t=>0!==e[t])){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);c&&c(a)}for(t&&t(r);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunk_smart_cloud_gatey_admin=globalThis.webpackChunk_smart_cloud_gatey_admin||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0;var s={};(()=>{"use strict";a.d(s,{A:()=>Jy});var e=a(51609),t=a.n(e),r=a(5338),n=a(70544),o=a(10790);function i(e){return"auto"===e||"dark"===e||"light"===e}function c({key:e="mantine-color-scheme-value"}={}){let t;return{get:t=>{if("undefined"==typeof window)return t;try{const r=window.localStorage.getItem(e);return i(r)?r:t}catch{return t}},set:t=>{try{window.localStorage.setItem(e,t)}catch(e){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",e)}},subscribe:r=>{t=t=>{t.storageArea===window.localStorage&&t.key===e&&i(t.newValue)&&r(t.newValue)},window.addEventListener("storage",t)},unsubscribe:()=>{window.removeEventListener("storage",t)},clear:()=>{window.localStorage.removeItem(e)}}}var u=a(66192),l=a(3052),d=a(38459),p=a(88149),f=a(1101);function h(){const e=(0,f.xd)(),t=(0,u.WV)(),r=(0,l.H)(e.breakpoints).reduce((t,r)=>{const n=e.breakpoints[r].includes("px"),o=(0,d.px)(e.breakpoints[r]);return`${t}@media (max-width: ${n?o-.1+"px":(0,p.em)(o-.1)}) {.mantine-visible-from-${r} {display: none !important;}}@media (min-width: ${n?`${o}px`:(0,p.em)(o)}) {.mantine-hidden-from-${r} {display: none !important;}}`},"");return(0,o.jsx)("style",{"data-mantine-styles":"classes",nonce:t?.(),dangerouslySetInnerHTML:{__html:r}})}function m(e){return Object.entries(e).map(([e,t])=>`${e}: ${t};`).join("")}function g(e,t){const r=t?[t]:[":root",":host"],n=m(e.variables),o=n?`${r.join(", ")}{${n}}`:"",i=m(e.dark),a=m(e.light),s=e=>r.map(t=>":host"===t?`${t}([data-mantine-color-scheme="${e}"])`:`${t}[data-mantine-color-scheme="${e}"]`).join(", ");return`${o}\n\n${i?`${s("dark")}{${i}}`:""}\n\n${a?`${s("light")}{${a}}`:""}`}var y=a(1518),v=a(80684),b=a(55488),E=a(97170);function w({theme:e,color:t,colorScheme:r,name:n=t,withColorValues:o=!0}){if(!e.colors[t])return{};if("light"===r){const r=(0,v.g)(e,"light"),i={[`--mantine-color-${n}-text`]:`var(--mantine-color-${n}-filled)`,[`--mantine-color-${n}-filled`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-filled-hover`]:`var(--mantine-color-${n}-${9===r?8:r+1})`,[`--mantine-color-${n}-light`]:(0,E.X)(e.colors[t][r],.1),[`--mantine-color-${n}-light-hover`]:(0,E.X)(e.colors[t][r],.12),[`--mantine-color-${n}-light-color`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-outline`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-outline-hover`]:(0,E.X)(e.colors[t][r],.05)};return o?{[`--mantine-color-${n}-0`]:e.colors[t][0],[`--mantine-color-${n}-1`]:e.colors[t][1],[`--mantine-color-${n}-2`]:e.colors[t][2],[`--mantine-color-${n}-3`]:e.colors[t][3],[`--mantine-color-${n}-4`]:e.colors[t][4],[`--mantine-color-${n}-5`]:e.colors[t][5],[`--mantine-color-${n}-6`]:e.colors[t][6],[`--mantine-color-${n}-7`]:e.colors[t][7],[`--mantine-color-${n}-8`]:e.colors[t][8],[`--mantine-color-${n}-9`]:e.colors[t][9],...i}:i}const i=(0,v.g)(e,"dark"),a={[`--mantine-color-${n}-text`]:`var(--mantine-color-${n}-4)`,[`--mantine-color-${n}-filled`]:`var(--mantine-color-${n}-${i})`,[`--mantine-color-${n}-filled-hover`]:`var(--mantine-color-${n}-${9===i?8:i+1})`,[`--mantine-color-${n}-light`]:(0,E.X)(e.colors[t][Math.max(0,i-2)],.15),[`--mantine-color-${n}-light-hover`]:(0,E.X)(e.colors[t][Math.max(0,i-2)],.2),[`--mantine-color-${n}-light-color`]:`var(--mantine-color-${n}-${Math.max(i-5,0)})`,[`--mantine-color-${n}-outline`]:`var(--mantine-color-${n}-${Math.max(i-4,0)})`,[`--mantine-color-${n}-outline-hover`]:(0,E.X)(e.colors[t][Math.max(i-4,0)],.05)};return o?{[`--mantine-color-${n}-0`]:e.colors[t][0],[`--mantine-color-${n}-1`]:e.colors[t][1],[`--mantine-color-${n}-2`]:e.colors[t][2],[`--mantine-color-${n}-3`]:e.colors[t][3],[`--mantine-color-${n}-4`]:e.colors[t][4],[`--mantine-color-${n}-5`]:e.colors[t][5],[`--mantine-color-${n}-6`]:e.colors[t][6],[`--mantine-color-${n}-7`]:e.colors[t][7],[`--mantine-color-${n}-8`]:e.colors[t][8],[`--mantine-color-${n}-9`]:e.colors[t][9],...a}:a}function S(e,t,r){(0,l.H)(t).forEach(n=>Object.assign(e,{[`--mantine-${r}-${n}`]:t[n]}))}const A=e=>{const t=(0,v.g)(e,"light"),r=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:(0,p.D)(e.defaultRadius),n={variables:{"--mantine-z-index-app":"100","--mantine-z-index-modal":"200","--mantine-z-index-popover":"300","--mantine-z-index-overlay":"400","--mantine-z-index-max":"9999","--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":r,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-color-scheme":"light","--mantine-primary-color-contrast":(0,b.g)(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${t})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)","--mantine-color-disabled":"var(--mantine-color-gray-2)","--mantine-color-disabled-color":"var(--mantine-color-gray-5)","--mantine-color-disabled-border":"var(--mantine-color-gray-3)"},dark:{"--mantine-color-scheme":"dark","--mantine-primary-color-contrast":(0,b.g)(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)","--mantine-color-disabled":"var(--mantine-color-dark-6)","--mantine-color-disabled-color":"var(--mantine-color-dark-3)","--mantine-color-disabled-border":"var(--mantine-color-dark-4)"}};S(n.variables,e.breakpoints,"breakpoint"),S(n.variables,e.spacing,"spacing"),S(n.variables,e.fontSizes,"font-size"),S(n.variables,e.lineHeights,"line-height"),S(n.variables,e.shadows,"shadow"),S(n.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((t,r)=>{n.variables[`--mantine-primary-color-${r}`]=`var(--mantine-color-${e.primaryColor}-${r})`}),(0,l.H)(e.colors).forEach(t=>{const r=e.colors[t];if(function(e){return!!e&&"object"==typeof e&&"mantine-virtual-color"in e}(r))return Object.assign(n.light,w({theme:e,name:r.name,color:r.light,colorScheme:"light",withColorValues:!0})),void Object.assign(n.dark,w({theme:e,name:r.name,color:r.dark,colorScheme:"dark",withColorValues:!0}));r.forEach((e,r)=>{n.variables[`--mantine-color-${t}-${r}`]=e}),Object.assign(n.light,w({theme:e,color:t,colorScheme:"light",withColorValues:!1})),Object.assign(n.dark,w({theme:e,color:t,colorScheme:"dark",withColorValues:!1}))});const o=e.headings.sizes;return(0,l.H)(o).forEach(t=>{n.variables[`--mantine-${t}-font-size`]=o[t].fontSize,n.variables[`--mantine-${t}-line-height`]=o[t].lineHeight,n.variables[`--mantine-${t}-font-weight`]=o[t].fontWeight||e.headings.fontWeight}),n};var _=a(15304);const P=A(_.S);function C({cssVariablesSelector:e,deduplicateCssVariables:t}){const r=(0,f.xd)(),n=(0,u.WV)(),i=function({theme:e,generator:t}){const r=A(e),n=t?.(e);return n?(0,y.$)(r,n):r}({theme:r,generator:(0,u.OY)()}),a=(void 0===e||":root"===e||":host"===e)&&t,s=g(a?function(e){const t={variables:{},light:{},dark:{}};return(0,l.H)(e.variables).forEach(r=>{P.variables[r]!==e.variables[r]&&(t.variables[r]=e.variables[r])}),(0,l.H)(e.light).forEach(r=>{P.light[r]!==e.light[r]&&(t.light[r]=e.light[r])}),(0,l.H)(e.dark).forEach(r=>{P.dark[r]!==e.dark[r]&&(t.dark[r]=e.dark[r])}),t}(i):i,e);return s?(0,o.jsx)("style",{"data-mantine-styles":!0,nonce:n?.(),dangerouslySetInnerHTML:{__html:`${s}${a?"":(c=e,g({variables:{},dark:{"--mantine-color-scheme":"dark"},light:{"--mantine-color-scheme":"light"}},c))}`}}):null;var c}C.displayName="@mantine/CssVariables";var I=a(45585);function x(e,t){const r="undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)")?.matches,n="auto"!==e?e:r?"dark":"light";t()?.setAttribute("data-mantine-color-scheme",n)}function O({theme:t,children:r,getStyleNonce:n,withStaticClasses:i=!0,withGlobalClasses:a=!0,deduplicateCssVariables:s=!0,withCssVariables:l=!0,cssVariablesSelector:d,classNamesPrefix:p="mantine",colorSchemeManager:m=c(),defaultColorScheme:g="light",getRootElement:y=()=>document.documentElement,cssVariablesResolver:v,forceColorScheme:b,stylesTransform:E,env:w}){const{colorScheme:S,setColorScheme:A,clearColorScheme:_}=function({manager:t,defaultColorScheme:r,getRootElement:n,forceColorScheme:o}){const i=(0,e.useRef)(null),[a,s]=(0,e.useState)(()=>t.get(r)),c=o||a,u=(0,e.useCallback)(e=>{o||(x(e,n),s(e),t.set(e))},[t.set,c,o]),l=(0,e.useCallback)(()=>{s(r),x(r,n),t.clear()},[t.clear,r]);return(0,e.useEffect)(()=>(t.subscribe(u),t.unsubscribe),[t.subscribe,t.unsubscribe]),(0,I.o)(()=>{x(t.get(r),n)},[]),(0,e.useEffect)(()=>{if(o)return x(o,n),()=>{};void 0===o&&x(a,n),"undefined"!=typeof window&&"matchMedia"in window&&(i.current=window.matchMedia("(prefers-color-scheme: dark)"));const e=e=>{"auto"===a&&x(e.matches?"dark":"light",n)};return i.current?.addEventListener("change",e),()=>i.current?.removeEventListener("change",e)},[a,o]),{colorScheme:c,setColorScheme:u,clearColorScheme:l}}({defaultColorScheme:g,forceColorScheme:b,manager:m,getRootElement:y});return function({respectReducedMotion:e,getRootElement:t}){(0,I.o)(()=>{e&&t()?.setAttribute("data-respect-reduced-motion","true")},[e])}({respectReducedMotion:t?.respectReducedMotion||!1,getRootElement:y}),(0,o.jsx)(u.A$.Provider,{value:{colorScheme:S,setColorScheme:A,clearColorScheme:_,getRootElement:y,classNamesPrefix:p,getStyleNonce:n,cssVariablesResolver:v,cssVariablesSelector:d??":root",withStaticClasses:i,stylesTransform:E,env:w},children:(0,o.jsxs)(f.nW,{theme:t,children:[l&&(0,o.jsx)(C,{cssVariablesSelector:d,deduplicateCssVariables:s}),a&&(0,o.jsx)(h,{}),r]})})}O.displayName="@mantine/core/MantineProvider";var k=a(68690),T=a(46100),N=a(2412),j=a(34164),R=a(11507),M=a(46798);const[D,U]=(0,M.F)("ModalBase component was not found in tree");var F="m_615af6c9",L="m_b5489c3c",z="m_60c222c7",V="m_fd1ab0aa",H="m_606cb269",$="m_5df29311";const W=(0,e.forwardRef)(({className:t,...r},n)=>{const i=function(){const t=U();return(0,e.useEffect)(()=>(t.setBodyMounted(!0),()=>t.setBodyMounted(!1)),[]),t.getBodyId()}(),a=U();return(0,o.jsx)(R.a,{ref:n,...r,id:i,className:(0,j.A)({[$]:!a.unstyled},t)})});W.displayName="@mantine/core/ModalBaseBody";const[B,K]=(0,M.F)("Modal component was not found in tree");var G={root:"m_9df02822",content:"m_54c44539",inner:"m_1f958f16",header:"m_d0e2b9cd"};const q=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalBody",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(W,{ref:t,...l.getStyles("body",{classNames:n,style:a,styles:s,className:i}),...u})});q.classes=G,q.displayName="@mantine/core/ModalBody";var Y=a(80355);const J=(0,e.forwardRef)(({className:e,onClick:t,...r},n)=>{const i=U();return(0,o.jsx)(Y.J,{ref:n,...r,onClick:e=>{i.onClose(),t?.(e)},className:(0,j.A)({[H]:!i.unstyled},e),unstyled:i.unstyled})});J.displayName="@mantine/core/ModalBaseCloseButton";const Q=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalCloseButton",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(J,{ref:t,...l.getStyles("close",{classNames:n,style:a,styles:s,className:i}),...u})});Q.classes=G,Q.displayName="@mantine/core/ModalCloseButton";var X=a(36504),Z=a(16267),ee=a(73087);const te=(0,e.forwardRef)(({transitionProps:e,className:t,innerProps:r,onKeyDown:n,style:i,...a},s)=>{const c=U();return(0,o.jsx)(ee.e,{mounted:c.opened,transition:"pop",...c.transitionProps,onExited:()=>{c.onExitTransitionEnd?.(),c.transitionProps?.onExited?.()},onEntered:()=>{c.onEnterTransitionEnd?.(),c.transitionProps?.onEntered?.()},...e,children:e=>(0,o.jsx)("div",{...r,className:(0,j.A)({[z]:!c.unstyled},r.className),children:(0,o.jsx)(X.s,{active:c.opened&&c.trapFocus,innerRef:s,children:(0,o.jsx)(Z.t,{...a,component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":c.bodyMounted?c.getBodyId():void 0,"aria-labelledby":c.titleMounted?c.getTitleId():void 0,style:[i,e],className:(0,j.A)({[V]:!c.unstyled},t),unstyled:c.unstyled,children:a.children})})})})});function re({children:e}){return(0,o.jsx)(o.Fragment,{children:e})}te.displayName="@mantine/core/ModalBaseContent";const ne=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalContent",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,children:u,__hidden:l,...d}=r,f=K(),h=f.scrollAreaComponent||re;return(0,o.jsx)(te,{...f.getStyles("content",{className:i,style:a,styles:s,classNames:n}),innerProps:f.getStyles("inner",{className:i,style:a,styles:s,classNames:n}),"data-full-screen":f.fullScreen||void 0,"data-modal-content":!0,"data-hidden":l||void 0,ref:t,...d,children:(0,o.jsx)(h,{style:{maxHeight:f.fullScreen?"100dvh":`calc(100dvh - (${(0,p.D)(f.yOffset)} * 2))`},children:u})})});ne.classes=G,ne.displayName="@mantine/core/ModalContent";const oe=(0,e.forwardRef)(({className:e,...t},r)=>{const n=U();return(0,o.jsx)(R.a,{component:"header",ref:r,className:(0,j.A)({[L]:!n.unstyled},e),...t})});oe.displayName="@mantine/core/ModalBaseHeader";const ie=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalHeader",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(oe,{ref:t,...l.getStyles("header",{classNames:n,style:a,styles:s,className:i}),...u})});ie.classes=G,ie.displayName="@mantine/core/ModalHeader";var ae=a(22662);const se={duration:200,timingFunction:"ease",transition:"fade"},ce=(0,e.forwardRef)(({onClick:e,transitionProps:t,style:r,visible:n,...i},a)=>{const s=U(),c=function(e){const t=U();return{...se,...t.transitionProps,...e}}(t);return(0,o.jsx)(ee.e,{mounted:void 0!==n?n:s.opened,...c,transition:"fade",children:t=>(0,o.jsx)(ae.h,{ref:a,fixed:!0,style:[r,t],zIndex:s.zIndex,unstyled:s.unstyled,onClick:t=>{e?.(t),s.closeOnClickOutside&&s.onClose()},...i})})});ce.displayName="@mantine/core/ModalBaseOverlay";const ue=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalOverlay",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(ce,{ref:t,...l.getStyles("overlay",{classNames:n,style:a,styles:s,className:i}),...u})});ue.classes=G,ue.displayName="@mantine/core/ModalOverlay";var le=a(56324),de=a(59396),pe=a(52837),fe=a(31635),he="right-scroll-bar-position",me="width-before-scroll-bar";function ge(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ye="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,ve=new WeakMap;function be(e){return e}var Ee=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=be);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}};return o}(null);return t.options=(0,fe.__assign)({async:!0,ssr:!1},e),t}(),we=function(){},Se=e.forwardRef(function(t,r){var n=e.useRef(null),o=e.useState({onScrollCapture:we,onWheelCapture:we,onTouchMoveCapture:we}),i=o[0],a=o[1],s=t.forwardProps,c=t.children,u=t.className,l=t.removeScrollBar,d=t.enabled,p=t.shards,f=t.sideCar,h=t.noRelative,m=t.noIsolation,g=t.inert,y=t.allowPinchZoom,v=t.as,b=void 0===v?"div":v,E=t.gapMode,w=(0,fe.__rest)(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,A=function(t,r){var n,o,i,a=(n=r||null,o=function(e){return t.forEach(function(t){return ge(t,e)})},(i=(0,e.useState)(function(){return{value:n,callback:o,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=o,i.facade);return ye(function(){var e=ve.get(a);if(e){var r=new Set(e),n=new Set(t),o=a.current;r.forEach(function(e){n.has(e)||ge(e,null)}),n.forEach(function(e){r.has(e)||ge(e,o)})}ve.set(a,t)},[t]),a}([n,r]),_=(0,fe.__assign)((0,fe.__assign)({},w),i);return e.createElement(e.Fragment,null,d&&e.createElement(S,{sideCar:Ee,removeScrollBar:l,shards:p,noRelative:h,noIsolation:m,inert:g,setCallbacks:a,allowPinchZoom:!!y,lockRef:n,gapMode:E}),s?e.cloneElement(e.Children.only(c),(0,fe.__assign)((0,fe.__assign)({},_),{ref:A})):e.createElement(b,(0,fe.__assign)({},_,{className:u,ref:A}),c))});Se.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Se.classNames={fullWidth:me,zeroRight:he};var Ae=function(t){var r=t.sideCar,n=(0,fe.__rest)(t,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=r.read();if(!o)throw new Error("Sidecar medium not found");return e.createElement(o,(0,fe.__assign)({},n))};Ae.isSideCarExport=!0;var _e=function(){var e=0,t=null;return{add:function(r){var n,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a.nc;return t&&e.setAttribute("nonce",t),e}())&&(o=r,(n=t).styleSheet?n.styleSheet.cssText=o:n.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Pe=function(){var t,r=(t=_e(),function(r,n){e.useEffect(function(){return t.add(r),function(){t.remove()}},[r&&n])});return function(e){var t=e.styles,n=e.dynamic;return r(t,n),null}},Ce={left:0,top:0,right:0,gap:0},Ie=function(e){return parseInt(e||"",10)||0},xe=Pe(),Oe="data-scroll-locked",ke=function(e,t,r,n){var o=e.left,i=e.top,a=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(Oe,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"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(he," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(me," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(he," .").concat(he," {\n right: 0 ").concat(n,";\n }\n \n .").concat(me," .").concat(me," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(Oe,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Te=function(){var e=parseInt(document.body.getAttribute(Oe)||"0",10);return isFinite(e)?e:0},Ne=function(t){var r=t.noRelative,n=t.noImportant,o=t.gapMode,i=void 0===o?"margin":o;e.useEffect(function(){return document.body.setAttribute(Oe,(Te()+1).toString()),function(){var e=Te()-1;e<=0?document.body.removeAttribute(Oe):document.body.setAttribute(Oe,e.toString())}},[]);var a=e.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Ce;var t=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Ie(r),Ie(n),Ie(o)]}(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])}}(i)},[i]);return e.createElement(xe,{styles:ke(a,!r,i,n?"":"!important")})},je=!1;if("undefined"!=typeof window)try{var Re=Object.defineProperty({},"passive",{get:function(){return je=!0,!0}});window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(e){je=!1}var Me=!!je&&{passive:!1},De=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===r[t])},Ue=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Fe(e,n)){var o=Le(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Fe=function(e,t){return"v"===e?function(e){return De(e,"overflowY")}(t):function(e){return De(e,"overflowX")}(t)},Le=function(e,t){return"v"===e?[(r=t).scrollTop,r.scrollHeight,r.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var r},ze=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ve=function(e){return[e.deltaX,e.deltaY]},He=function(e){return e&&"current"in e?e.current:e},$e=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},We=0,Be=[];function Ke(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ge=(qe=function(t){var r=e.useRef([]),n=e.useRef([0,0]),o=e.useRef(),i=e.useState(We++)[0],a=e.useState(Pe)[0],s=e.useRef(t);e.useEffect(function(){s.current=t},[t]),e.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var e=(0,fe.__spreadArray)([t.lockRef.current],(t.shards||[]).map(He),!0).filter(Boolean);return e.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),e.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var c=e.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var r,i=ze(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],l=e.target,d=Math.abs(c)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var p=window.getSelection(),f=p&&p.anchorNode;if(f&&(f===l||f.contains(l)))return!1;var h=Ue(d,l);if(!h)return!0;if(h?r=d:(r="v"===d?"h":"v",h=Ue(d,l)),!h)return!1;if(!o.current&&"changedTouches"in e&&(c||u)&&(o.current=r),!r)return!0;var m=o.current||r;return function(e,t,r,n){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*n,a=r.target,s=t.contains(a),c=!1,u=i>0,l=0,d=0;do{if(!a)break;var p=Le(e,a),f=p[0],h=p[1]-p[2]-o*f;(f||h)&&Fe(e,a)&&(l+=h,d+=f);var m=a.parentNode;a=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return(u&&(Math.abs(l)<1||!1)||!u&&(Math.abs(d)<1||!1))&&(c=!0),c}(m,t,e,"h"===m?c:u)},[]),u=e.useCallback(function(e){var t=e;if(Be.length&&Be[Be.length-1]===a){var n="deltaY"in t?Ve(t):ze(t),o=r.current.filter(function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,n)})[0];if(o&&o.should)t.cancelable&&t.preventDefault();else if(!o){var i=(s.current.shards||[]).map(He).filter(Boolean).filter(function(e){return e.contains(t.target)});(i.length>0?c(t,i[0]):!s.current.noIsolation)&&t.cancelable&&t.preventDefault()}}},[]),l=e.useCallback(function(e,t,n,o){var i={name:e,delta:t,target:n,should:o,shadowParent:Ke(n)};r.current.push(i),setTimeout(function(){r.current=r.current.filter(function(e){return e!==i})},1)},[]),d=e.useCallback(function(e){n.current=ze(e),o.current=void 0},[]),p=e.useCallback(function(e){l(e.type,Ve(e),e.target,c(e,t.lockRef.current))},[]),f=e.useCallback(function(e){l(e.type,ze(e),e.target,c(e,t.lockRef.current))},[]);e.useEffect(function(){return Be.push(a),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",u,Me),document.addEventListener("touchmove",u,Me),document.addEventListener("touchstart",d,Me),function(){Be=Be.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,Me),document.removeEventListener("touchmove",u,Me),document.removeEventListener("touchstart",d,Me)}},[]);var h=t.removeScrollBar,m=t.inert;return e.createElement(e.Fragment,null,m?e.createElement(a,{styles:$e(i)}):null,h?e.createElement(Ne,{noRelative:t.noRelative,gapMode:t.gapMode}):null)},Ee.useMedium(qe),Ae);var qe,Ye=e.forwardRef(function(t,r){return e.createElement(Se,(0,fe.__assign)({},t,{ref:r,sideCar:Ge}))});Ye.classNames=Se.classNames;const Je=Ye;var Qe=a(39268),Xe=a(66284),Ze=a(72273),et=a(9021);const tt=(0,e.forwardRef)(({keepMounted:t,opened:r,onClose:n,id:i,transitionProps:a,onExitTransitionEnd:s,onEnterTransitionEnd:c,trapFocus:u,closeOnEscape:l,returnFocus:d,closeOnClickOutside:p,withinPortal:f,portalProps:h,lockScroll:m,children:g,zIndex:y,shadow:v,padding:b,__vars:E,unstyled:w,removeScrollProps:S,...A},_)=>{const{_id:P,titleMounted:C,bodyMounted:I,shouldLockScroll:x,setTitleMounted:O,setBodyMounted:T}=function({id:t,transitionProps:r,opened:n,trapFocus:o,closeOnEscape:i,onClose:a,returnFocus:s}){const c=(0,Xe.B)(t),[u,l]=(0,e.useState)(!1),[d,p]=(0,e.useState)(!1),f=function({opened:t,transitionDuration:r}){const[n,o]=(0,e.useState)(t),i=(0,e.useRef)(-1),a=(0,et.I)()?0:r;return(0,e.useEffect)(()=>(t?(o(!0),window.clearTimeout(i.current)):0===a?o(!1):i.current=window.setTimeout(()=>o(!1),a),()=>window.clearTimeout(i.current)),[t,a]),n}({opened:n,transitionDuration:"number"==typeof r?.duration?r?.duration:200});return function(t,r,n){(0,e.useEffect)(()=>(window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n)),[t,r])}("keydown",e=>{"Escape"===e.key&&i&&!e.isComposing&&n&&"true"!==e.target?.getAttribute("data-mantine-stop-propagation")&&a()},{capture:!0}),(0,Ze.E)({opened:n,shouldReturnFocus:o&&s}),{_id:c,titleMounted:u,bodyMounted:d,shouldLockScroll:f,setTitleMounted:l,setBodyMounted:p}}({id:i,transitionProps:a,opened:r,trapFocus:u,closeOnEscape:l,onClose:n,returnFocus:d}),{key:N,...j}=S||{};return(0,o.jsx)(Qe.r,{...h,withinPortal:f,children:(0,o.jsx)(D,{value:{opened:r,onClose:n,closeOnClickOutside:p,onExitTransitionEnd:s,onEnterTransitionEnd:c,transitionProps:{...a,keepMounted:t},getTitleId:()=>`${P}-title`,getBodyId:()=>`${P}-body`,titleMounted:C,bodyMounted:I,setTitleMounted:O,setBodyMounted:T,trapFocus:u,closeOnEscape:l,zIndex:y,unstyled:w},children:(0,o.jsx)(Je,{enabled:x&&m,...j,children:(0,o.jsx)(R.a,{ref:_,...A,__vars:{...E,"--mb-z-index":(y||(0,k.I)("modal")).toString(),"--mb-shadow":(0,le.dh)(v),"--mb-padding":(0,le.GY)(b)},children:g})},N)})})});tt.displayName="@mantine/core/ModalBase";var rt=a(63089);const nt={__staticSelector:"Modal",closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,k.I)("modal"),transitionProps:{duration:200,transition:"fade-down"},yOffset:"5dvh"},ot=(0,de.V)((e,{radius:t,size:r,yOffset:n,xOffset:o})=>({root:{"--modal-radius":void 0===t?void 0:(0,le.nJ)(t),"--modal-size":(0,le.YC)(r,"modal-size"),"--modal-y-offset":(0,p.D)(n),"--modal-x-offset":(0,p.D)(o)}})),it=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalRoot",nt,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,yOffset:l,scrollAreaComponent:d,radius:p,fullScreen:f,centered:h,xOffset:m,__staticSelector:g,attributes:y,...v}=r,b=(0,pe.I)({name:g,classes:G,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:y,vars:u,varsResolver:ot});return(0,o.jsx)(B,{value:{yOffset:l,scrollAreaComponent:d,getStyles:b,fullScreen:f},children:(0,o.jsx)(tt,{ref:t,...b("root"),"data-full-screen":f||void 0,"data-centered":h||void 0,"data-offset-scrollbars":d===rt.F.Autosize||void 0,unstyled:c,...v})})});it.classes=G,it.displayName="@mantine/core/ModalRoot";var at=a(97986);const[st,ct]=(0,at.e)();function ut({children:t}){const[r,n]=(0,e.useState)([]),[i,a]=(0,e.useState)((0,k.I)("modal"));return(0,o.jsx)(st,{value:{stack:r,addModal:(e,t)=>{n(t=>[...new Set([...t,e])]),a(e=>"number"==typeof t&&"number"==typeof e?Math.max(e,t):e)},removeModal:e=>n(t=>t.filter(t=>t!==e)),getZIndex:e=>`calc(${i} + ${r.indexOf(e)} + 1)`,currentId:r[r.length-1],maxZIndex:i},children:t})}ut.displayName="@mantine/core/ModalStack";const lt=(0,e.forwardRef)(({className:t,...r},n)=>{const i=function(){const t=U();return(0,e.useEffect)(()=>(t.setTitleMounted(!0),()=>t.setTitleMounted(!1)),[]),t.getTitleId()}(),a=U();return(0,o.jsx)(R.a,{component:"h2",ref:n,className:(0,j.A)({[F]:!a.unstyled},t),...r,id:i})});lt.displayName="@mantine/core/ModalBaseTitle";const dt=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ModalTitle",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=K();return(0,o.jsx)(lt,{ref:t,...l.getStyles("title",{classNames:n,style:a,styles:s,className:i}),...u})});dt.classes=G,dt.displayName="@mantine/core/ModalTitle";const pt={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,k.I)("modal"),transitionProps:{duration:200,transition:"fade-down"},withOverlay:!0,withCloseButton:!0},ft=(0,N.P9)((t,r)=>{const{title:n,withOverlay:i,overlayProps:a,withCloseButton:s,closeButtonProps:c,children:u,radius:l,opened:d,stackId:p,zIndex:f,...h}=(0,T.Y)("Modal",pt,t),m=ct(),g=!!n||s,y=m&&p?{closeOnEscape:m.currentId===p,trapFocus:m.currentId===p,zIndex:m.getZIndex(p)}:{},v=!1!==i&&(p&&m?m.currentId===p:d);return(0,e.useEffect)(()=>{m&&p&&(d?m.addModal(p,f||(0,k.I)("modal")):m.removeModal(p))},[d,p,f]),(0,o.jsxs)(it,{ref:r,radius:l,opened:d,zIndex:m&&p?m.getZIndex(p):f,...h,...y,children:[i&&(0,o.jsx)(ue,{visible:v,transitionProps:m&&p?{duration:0}:void 0,...a}),(0,o.jsxs)(ne,{radius:l,__hidden:!!(m&&p&&d)&&p!==m.currentId,children:[g&&(0,o.jsxs)(ie,{children:[n&&(0,o.jsx)(dt,{children:n}),s&&(0,o.jsx)(Q,{...c})]}),(0,o.jsx)(q,{children:u})]})]})});ft.classes=G,ft.displayName="@mantine/core/Modal",ft.Root=it,ft.Overlay=ue,ft.Content=ne,ft.Body=q,ft.Header=ie,ft.Title=dt,ft.CloseButton=Q,ft.Stack=ut;var ht=a(45727),mt=a(64999),gt=a(5055);const yt=(0,e.createContext)(null);function vt({id:t,cancelProps:r,confirmProps:n,labels:i={cancel:"",confirm:""},closeOnConfirm:a=!0,closeOnCancel:s=!0,groupProps:c,onCancel:u,onConfirm:l,children:d}){const{cancel:p,confirm:f}=i,h=function(){const t=(0,e.useContext)(yt);if(!t)throw new Error("[@mantine/modals] useModals hook was called outside of context, wrap your app with ModalsProvider component");return t}();return(0,o.jsxs)(o.Fragment,{children:[d&&(0,o.jsx)(R.a,{mb:"md",children:d}),(0,o.jsxs)(mt.Y,{mt:d?0:"md",justify:"flex-end",...c,children:[(0,o.jsx)(gt.$,{variant:"default",...r,onClick:e=>{"function"==typeof r?.onClick&&r?.onClick(e),"function"==typeof u&&u(),s&&h.closeModal(t)},children:r?.children||p}),(0,o.jsx)(gt.$,{...n,onClick:e=>{"function"==typeof n?.onClick&&n?.onClick(e),"function"==typeof l&&l(),a&&h.closeModal(t)},children:n?.children||f})]})]})}yt.displayName="@mantine/modals/ModalsContext";const[bt,Et]=(wt="mantine-modals",[function(e){const t=Object.keys(e).reduce((t,r)=>(t[`${wt}:${r}`]=t=>e[r](t.detail),t),{});(0,I.o)(()=>(Object.keys(t).forEach(e=>{window.removeEventListener(e,t[e]),window.addEventListener(e,t[e])}),()=>Object.keys(t).forEach(e=>{window.removeEventListener(e,t[e])})),[t])},function(e){return(...t)=>{return r=`${wt}:${String(e)}`,n=t[0],void window.dispatchEvent(new CustomEvent(r,{detail:n}));var r,n}}]);var wt;function St(e,t){t&&"confirm"===e.type&&e.props.onCancel?.(),e.props.onClose?.()}function At(e,t){switch(t.type){case"OPEN":return{current:t.modal,modals:[...e.modals,t.modal]};case"CLOSE":{const r=e.modals.find(e=>e.id===t.modalId);if(!r)return e;St(r,t.canceled);const n=e.modals.filter(e=>e.id!==t.modalId);return{current:n[n.length-1]||e.current,modals:n}}case"CLOSE_ALL":return e.modals.length?(e.modals.concat().reverse().forEach(e=>{St(e,t.canceled)}),{current:e.current,modals:[]}):e;case"UPDATE":{const{modalId:r,newProps:n}=t,o=e.modals.map(e=>e.id!==r?e:"content"===e.type||"confirm"===e.type?{...e,props:{...e.props,...n}}:"context"===e.type?{...e,props:{...e.props,...n,innerProps:{...e.props.innerProps,...n.innerProps}}}:e),i=e.current?.id===r&&o.find(e=>e.id===r)||e.current;return{...e,modals:o,current:i}}default:return e}}function _t({children:t,modalProps:r,labels:n,modals:i}){const[a,s]=(0,e.useReducer)(At,{modals:[],current:null}),c=(0,e.useRef)(a);c.current=a;const u=(0,e.useCallback)(e=>{s({type:"CLOSE_ALL",canceled:e})},[c,s]),l=(0,e.useCallback)(({modalId:e,...t})=>{const r=e||(0,ht.z)();return s({type:"OPEN",modal:{id:r,type:"content",props:t}}),r},[s]),d=(0,e.useCallback)(({modalId:e,...t})=>{const r=e||(0,ht.z)();return s({type:"OPEN",modal:{id:r,type:"confirm",props:t}}),r},[s]),p=(0,e.useCallback)((e,{modalId:t,...r})=>{const n=t||(0,ht.z)();return s({type:"OPEN",modal:{id:n,type:"context",props:r,ctx:e}}),n},[s]),f=(0,e.useCallback)((e,t)=>{s({type:"CLOSE",modalId:e,canceled:t})},[c,s]),h=(0,e.useCallback)(({modalId:e,...t})=>{s({type:"UPDATE",modalId:e,newProps:t})},[s]),m=(0,e.useCallback)(({modalId:e,...t})=>{s({type:"UPDATE",modalId:e,newProps:t})},[s]);bt({openModal:l,openConfirmModal:d,openContextModal:({modal:e,...t})=>p(e,t),closeModal:f,closeContextModal:f,closeAllModals:u,updateModal:h,updateContextModal:m});const g={modalProps:r||{},modals:a.modals,openModal:l,openConfirmModal:d,openContextModal:p,closeModal:f,closeContextModal:f,closeAll:u,updateModal:h,updateContextModal:m},{modalProps:y,content:v}=(()=>{const e=c.current.current;switch(e?.type){case"context":{const{innerProps:t,...r}=e.props,n=i[e.ctx];return{modalProps:r,content:(0,o.jsx)(n,{innerProps:t,context:g,id:e.id})}}case"confirm":{const{modalProps:t,confirmProps:r}=function(e){if(!e)return{confirmProps:{},modalProps:{}};const{id:t,children:r,onCancel:n,onConfirm:o,closeOnConfirm:i,closeOnCancel:a,cancelProps:s,confirmProps:c,groupProps:u,labels:l,...d}=e;return{confirmProps:{id:t,children:r,onCancel:n,onConfirm:o,closeOnConfirm:i,closeOnCancel:a,cancelProps:s,confirmProps:c,groupProps:u,labels:l},modalProps:{id:t,...d}}}(e.props);return{modalProps:t,content:(0,o.jsx)(vt,{...r,id:e.id,labels:e.props.labels||n})}}case"content":{const{children:t,...r}=e.props;return{modalProps:r,content:t}}default:return{modalProps:{},content:null}}})();return(0,o.jsxs)(yt.Provider,{value:g,children:[(0,o.jsx)(ft,{zIndex:(0,k.I)("modal")+1,...r,...y,opened:a.modals.length>0,onClose:()=>f(a.current?.id),children:v}),t]})}function Pt(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function Ct(e,t){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ct(e,t)}function It(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ct(e,t)}Et("closeModal"),Et("closeAllModals");var xt=a(75795),Ot=a.n(xt);const kt=t().createContext(null);var Tt="unmounted",Nt="exited",jt="entering",Rt="entered",Mt="exiting",Dt=function(e){function r(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Nt,n.appearStatus=jt):o=Rt:o=t.unmountOnExit||t.mountOnEnter?Tt:Nt,n.state={status:o},n.nextCallback=null,n}It(r,e),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Tt?{status:Nt}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==jt&&r!==Rt&&(t=jt):r!==jt&&r!==Rt||(t=Mt)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===jt){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:Ot().findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Nt&&this.setState({status:Tt})},n.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[Ot().findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),c=n?s.appear:s.enter;e||r?(this.props.onEnter(i,a),this.safeSetState({status:jt},function(){t.props.onEntering(i,a),t.onTransitionEnd(c,function(){t.safeSetState({status:Rt},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:Rt},function(){t.props.onEntered(i)})},n.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:Ot().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:Mt},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:Nt},function(){e.props.onExited(n)})})})):this.safeSetState({status:Nt},function(){e.props.onExited(n)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:Ot().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Tt)return null;var r=this.props,n=r.children,o=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,Pt(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t().createElement(kt.Provider,{value:null},"function"==typeof n?n(e,o):t().cloneElement(t().Children.only(n),o))},r}(t().Component);function Ut(){}Dt.contextType=kt,Dt.propTypes={},Dt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ut,onEntering:Ut,onEntered:Ut,onExit:Ut,onExiting:Ut,onExited:Ut},Dt.UNMOUNTED=Tt,Dt.EXITED=Nt,Dt.ENTERING=jt,Dt.ENTERED=Rt,Dt.EXITING=Mt;const Ft=Dt;var Lt=a(58168);function zt(t,r){var n=Object.create(null);return t&&e.Children.map(t,function(e){return e}).forEach(function(t){n[t.key]=function(t){return r&&(0,e.isValidElement)(t)?r(t):t}(t)}),n}function Vt(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Ht(t,r,n){var o=zt(t.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var c in t){if(o[c])for(n=0;n<o[c].length;n++){var u=o[c][n];s[o[c][n]]=r(u)}s[c]=r(c)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(r,o);return Object.keys(i).forEach(function(a){var s=i[a];if((0,e.isValidElement)(s)){var c=a in r,u=a in o,l=r[a],d=(0,e.isValidElement)(l)&&!l.props.in;!u||c&&!d?u||!c||d?u&&c&&(0,e.isValidElement)(l)&&(i[a]=(0,e.cloneElement)(s,{onExited:n.bind(null,s),in:l.props.in,exit:Vt(s,"exit",t),enter:Vt(s,"enter",t)})):i[a]=(0,e.cloneElement)(s,{in:!1}):i[a]=(0,e.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Vt(s,"exit",t),enter:Vt(s,"enter",t)})}}),i}var $t=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Wt=function(r){function n(e,t){var n,o=(n=r.call(this,e,t)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}It(n,r);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,r){var n,o,i=r.children,a=r.handleExited;return{children:r.firstRender?(n=t,o=a,zt(n.children,function(t){return(0,e.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:Vt(t,"appear",n),enter:Vt(t,"enter",n),exit:Vt(t,"exit",n)})})):Ht(t,i,a),firstRender:!1}},o.handleExited=function(e,t){var r=zt(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,Lt.A)({},t.children);return delete r[e.key],{children:r}}))},o.render=function(){var e=this.props,r=e.component,n=e.childFactory,o=Pt(e,["component","childFactory"]),i=this.state.contextValue,a=$t(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===r?t().createElement(kt.Provider,{value:i},a):t().createElement(kt.Provider,{value:i},t().createElement(r,o,a))},n}(t().Component);Wt.propTypes={},Wt.defaultProps={component:"div",childFactory:function(e){return e}};const Bt=Wt,Kt=e=>(e+1)%1e6;var Gt=a(297);const qt=["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"],Yt={left:"translateX(-100%)",right:"translateX(100%)","top-center":"translateY(-100%)","bottom-center":"translateY(100%)"},Jt={left:"translateX(0)",right:"translateX(0)","top-center":"translateY(0)","bottom-center":"translateY(0)"};function Qt({state:e,maxHeight:t,position:r,transitionDuration:n}){const[o,i]=r.split("-"),a="center"===i?`${o}-center`:i,s={opacity:1,transform:Jt[a]},c={opacity:0,maxHeight:0,transform:Yt[a]};return{opacity:0,maxHeight:t,transform:Yt[a],transitionDuration:`${n}ms, ${n}ms, ${n}ms`,transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21), cubic-bezier(.51,.3,0,1.21), linear",transitionProperty:"opacity, transform, max-height",...{entering:s,entered:s,exiting:c,exited:c}[e]}}var Xt=a(86344),Zt=a(24952),er={root:"m_a513464",icon:"m_a4ceffb",loader:"m_b0920b15",body:"m_a49ed24",title:"m_3feedf16",description:"m_3d733a3a",closeButton:"m_919a4d88"};const tr={withCloseButton:!0},rr=(0,de.V)((e,{radius:t,color:r})=>({root:{"--notification-radius":void 0===t?void 0:(0,le.nJ)(t),"--notification-color":r?(0,Xt.r)(r,e):void 0}})),nr=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Notification",tr,e),{className:n,color:i,radius:a,loading:s,withCloseButton:c,withBorder:u,title:l,icon:d,children:p,onClose:f,closeButtonProps:h,classNames:m,style:g,styles:y,unstyled:v,vars:b,mod:E,loaderProps:w,role:S,attributes:A,..._}=r,P=(0,pe.I)({name:"Notification",classes:er,props:r,className:n,style:g,classNames:m,styles:y,unstyled:v,attributes:A,vars:b,varsResolver:rr});return(0,o.jsxs)(R.a,{...P("root"),mod:[{"data-with-icon":!!d||s,"data-with-border":u},E],ref:t,role:S||"alert",..._,children:[d&&!s&&(0,o.jsx)("div",{...P("icon"),children:d}),s&&(0,o.jsx)(Zt.a,{size:28,color:i,...w,...P("loader")}),(0,o.jsxs)("div",{...P("body"),children:[l&&(0,o.jsx)("div",{...P("title"),children:l}),(0,o.jsx)(R.a,{...P("description"),mod:{"data-with-title":!!l},children:p})]}),c&&(0,o.jsx)(Y.J,{iconSize:16,color:"gray",...h,unstyled:v,onClick:f,...P("closeButton")})]})});nr.classes=er,nr.displayName="@mantine/core/Notification";const or=(0,e.forwardRef)(({data:t,onHide:r,autoClose:n,...i},a)=>{const{autoClose:s,message:c,...u}=t,l=function(e,t){return"number"==typeof t?t:!1!==t&&!1!==e&&e}(n,t.autoClose),d=(0,e.useRef)(-1),p=()=>window.clearTimeout(d.current),f=()=>{r(t.id),p()},h=()=>{"number"==typeof l&&(d.current=window.setTimeout(f,l))};return(0,e.useEffect)(()=>{t.onOpen?.(t)},[]),(0,e.useEffect)(()=>(h(),p),[l]),(0,o.jsx)(nr,{...i,...u,onClose:f,ref:a,onMouseEnter:p,onMouseLeave:h,children:c})});or.displayName="@mantine/notifications/NotificationContainer";var ir=a(9543),ar={root:"m_b37d9ac7",notification:"m_5ed0edd0"};const sr=Ft,cr={position:"bottom-right",autoClose:4e3,transitionDuration:250,containerWidth:440,notificationMaxHeight:200,limit:5,zIndex:(0,k.I)("overlay"),store:ir.__,withinPortal:!0},ur=(0,de.V)((e,{zIndex:t,containerWidth:r})=>({root:{"--notifications-z-index":t?.toString(),"--notifications-container-width":(0,p.D)(r)}})),lr=(0,N.P9)((t,r)=>{const n=(0,T.Y)("Notifications",cr,t),{classNames:i,className:a,style:s,styles:c,unstyled:u,vars:l,position:d,autoClose:p,transitionDuration:h,containerWidth:m,notificationMaxHeight:g,limit:y,zIndex:v,store:b,portalProps:E,withinPortal:w,...S}=n,A=(0,f.xd)(),_=(0,ir.E$)(b),P=function(){const[,t]=(0,e.useReducer)(Kt,0);return t}(),C=(0,et.I)(),I=(0,e.useRef)({}),x=(0,e.useRef)(0),O=A.respectReducedMotion&&C?1:h,k=(0,pe.I)({name:"Notifications",classes:ar,props:n,className:a,style:s,classNames:i,styles:c,unstyled:u,vars:l,varsResolver:ur});(0,e.useEffect)(()=>{b?.updateState(e=>({...e,limit:y||5,defaultPosition:d}))},[y,d]),(0,Gt.C)(()=>{_.notifications.length>x.current&&setTimeout(()=>P(),0),x.current=_.notifications.length},[_.notifications]);const N=(j=_.notifications,M=d,j.reduce((e,t)=>(e[t.position||M].push(t),e),qt.reduce((e,t)=>(e[t]=[],e),{})));var j,M;const D=qt.reduce((e,t)=>(e[t]=N[t].map(({style:e,...r})=>(0,o.jsx)(sr,{timeout:O,onEnter:()=>I.current[r.id].offsetHeight,nodeRef:{current:I.current[r.id]},children:n=>(0,o.jsx)(or,{ref:e=>{e&&(I.current[r.id]=e)},data:r,onHide:e=>(0,ir._b)(e,b),autoClose:p,...k("notification",{style:{...Qt({state:n,position:t,transitionDuration:O,maxHeight:g}),...e}})})},r.id)),e),{});return(0,o.jsxs)(Qe.r,{withinPortal:w,...E,children:[(0,o.jsx)(R.a,{...k("root"),"data-position":"top-center",ref:r,...S,children:(0,o.jsx)(Bt,{children:D["top-center"]})}),(0,o.jsx)(R.a,{...k("root"),"data-position":"top-left",...S,children:(0,o.jsx)(Bt,{children:D["top-left"]})}),(0,o.jsx)(R.a,{...k("root",{className:Je.classNames.fullWidth}),"data-position":"top-right",...S,children:(0,o.jsx)(Bt,{children:D["top-right"]})}),(0,o.jsx)(R.a,{...k("root",{className:Je.classNames.fullWidth}),"data-position":"bottom-right",...S,children:(0,o.jsx)(Bt,{children:D["bottom-right"]})}),(0,o.jsx)(R.a,{...k("root"),"data-position":"bottom-left",...S,children:(0,o.jsx)(Bt,{children:D["bottom-left"]})}),(0,o.jsx)(R.a,{...k("root"),"data-position":"bottom-center",...S,children:(0,o.jsx)(Bt,{children:D["bottom-center"]})})]})});lr.classes=ar,lr.displayName="@mantine/notifications/Notifications",lr.show=ir.$e.show,lr.hide=ir.$e.hide,lr.update=ir.$e.update,lr.clean=ir.$e.clean,lr.cleanQueue=ir.$e.cleanQueue,lr.updateState=ir.$e.updateState;var dr={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},pr=new class{#O=dr;#k=!1;setTimeoutProvider(e){this.#O=e}setTimeout(e,t){return this.#O.setTimeout(e,t)}clearTimeout(e){this.#O.clearTimeout(e)}setInterval(e,t){return this.#O.setInterval(e,t)}clearInterval(e){this.#O.clearInterval(e)}},fr="undefined"==typeof window||"Deno"in globalThis;function hr(){}function mr(e){return"number"==typeof e&&e>=0&&e!==1/0}function gr(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yr(e,t){return"function"==typeof e?e(t):e}function vr(e,t){return"function"==typeof e?e(t):e}function br(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(n){if(t.queryHash!==wr(a,t.options))return!1}else if(!Ar(t.queryKey,a))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function Er(e,t){const{exact:r,status:n,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(Sr(t.options.mutationKey)!==Sr(i))return!1}else if(!Ar(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||o&&!o(t))}function wr(e,t){return(t?.queryKeyHashFn||Sr)(e)}function Sr(e){return JSON.stringify(e,(e,t)=>xr(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function Ar(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(r=>Ar(e[r],t[r]))}var _r=Object.prototype.hasOwnProperty;function Pr(e,t){if(e===t)return e;const r=Ir(e)&&Ir(t);if(!(r||xr(e)&&xr(t)))return t;const n=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),i=o.length,a=r?new Array(i):{};let s=0;for(let c=0;c<i;c++){const i=r?c:o[c],u=e[i],l=t[i];if(u===l){a[i]=u,(r?c<n:_r.call(e,i))&&s++;continue}if(null===u||null===l||"object"!=typeof u||"object"!=typeof l){a[i]=l;continue}const d=Pr(u,l);a[i]=d,d===u&&s++}return n===i&&s===n?e:a}function Cr(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function Ir(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function xr(e){if(!Or(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!Or(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function Or(e){return"[object Object]"===Object.prototype.toString.call(e)}function kr(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?Pr(e,t):t}function Tr(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function Nr(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var jr=Symbol();function Rr(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==jr?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}function Mr(e,t){return"function"==typeof e?e(...t):!!e}var Dr=function(e){setTimeout(e,0)},Ur=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},o=Dr;const i=n=>{t?e.push(n):o(()=>{r(n)})};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{n(()=>{t.forEach(e=>{r(e)})})})})()}return a},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{o=e}}}(),Fr=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Lr=new class extends Fr{#T;#N;#j;constructor(){super(),this.#j=e=>{if(!fr&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#N||this.setEventListener(this.#j)}onUnsubscribe(){this.hasListeners()||(this.#N?.(),this.#N=void 0)}setEventListener(e){this.#j=e,this.#N?.(),this.#N=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#T!==e&&(this.#T=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#T?this.#T:"hidden"!==globalThis.document?.visibilityState}},zr=new class extends Fr{#R=!0;#N;#j;constructor(){super(),this.#j=e=>{if(!fr&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#N||this.setEventListener(this.#j)}onUnsubscribe(){this.hasListeners()||(this.#N?.(),this.#N=void 0)}setEventListener(e){this.#j=e,this.#N?.(),this.#N=e(this.setOnline.bind(this))}setOnline(e){this.#R!==e&&(this.#R=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#R}};function Vr(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}function Hr(e){return Math.min(1e3*2**e,3e4)}function $r(e){return"online"!==(e??"online")||zr.isOnline()}var Wr=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Br(e){let t,r=!1,n=0;const o=Vr(),i=()=>"pending"!==o.status,a=()=>Lr.isFocused()&&("always"===e.networkMode||zr.isOnline())&&e.canRun(),s=()=>$r(e.networkMode)&&e.canRun(),c=e=>{i()||(t?.(),o.resolve(e))},u=e=>{i()||(t?.(),o.reject(e))},l=()=>new Promise(r=>{t=e=>{(i()||a())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,i()||e.onContinue?.()}),d=()=>{if(i())return;let t;const o=0===n?e.initialPromise:void 0;try{t=o??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch(t=>{if(i())return;const o=e.retry??(fr?0:3),s=e.retryDelay??Hr,c="function"==typeof s?s(n,t):s,p=!0===o||"number"==typeof o&&n<o||"function"==typeof o&&o(n,t);var f;!r&&p?(n++,e.onFail?.(n,t),(f=c,new Promise(e=>{pr.setTimeout(e,f)})).then(()=>a()?void 0:l()).then(()=>{r?u(t):d()})):u(t)})};return{promise:o,status:()=>o.status,cancel:t=>{if(!i()){const r=new Wr(t);u(r),e.onCancel?.(r)}},continue:()=>(t?.(),o),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:s,start:()=>(s()?d():l().then(d),o)}}var Kr=class{#M;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),mr(this.gcTime)&&(this.#M=pr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(fr?1/0:3e5))}clearGcTimeout(){this.#M&&(pr.clearTimeout(this.#M),this.#M=void 0)}},Gr=class extends Kr{#D;#U;#x;#F;#L;#z;#V;constructor(e){super(),this.#V=!1,this.#z=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#F=e.client,this.#x=this.#F.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#D=Jr(this.options),this.state=e.state??this.#D,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#L?.promise}setOptions(e){if(this.options={...this.#z,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=Jr(this.options);void 0!==e.data&&(this.setState(Yr(e.data,e.dataUpdatedAt)),this.#D=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#x.remove(this)}setData(e,t){const r=kr(this.state.data,e,this.options);return this.#H({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#H({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#L?.promise;return this.#L?.cancel(e),t?t.then(hr).catch(hr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#D)}isActive(){return this.observers.some(e=>!1!==vr(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===jr||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===yr(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!gr(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#L?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#L?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#x.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#L&&(this.#V?this.#L.cancel({revert:!0}):this.#L.cancelRetry()),this.scheduleGc()),this.#x.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#H({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#L?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#L)return this.#L.continueRetry(),this.#L.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#V=!0,r.signal)})},o=()=>{const e=Rr(this.options,t),r=(()=>{const e={client:this.#F,queryKey:this.queryKey,meta:this.meta};return n(e),e})();return this.#V=!1,this.options.persister?this.options.persister(e,r,this):e(r)},i=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#F,state:this.state,fetchFn:o};return n(e),e})();this.options.behavior?.onFetch(i,this),this.#U=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===i.fetchOptions?.meta||this.#H({type:"fetch",meta:i.fetchOptions?.meta}),this.#L=Br({initialPromise:t?.initialPromise,fn:i.fetchFn,onCancel:e=>{e instanceof Wr&&e.revert&&this.setState({...this.#U,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#H({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#H({type:"pause"})},onContinue:()=>{this.#H({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0});try{const e=await this.#L.start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#x.config.onSuccess?.(e,this),this.#x.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Wr){if(e.silent)return this.#L.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#H({type:"error",error:e}),this.#x.config.onError?.(e,this),this.#x.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#H(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...qr(t.data,this.options),fetchMeta:e.meta??null};case"success":const r={...t,...Yr(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#U=e.manual?r:void 0,r;case"error":const n=e.error;return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Ur.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#x.notify({query:this,type:"updated",action:e})})}};function qr(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$r(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function Yr(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Jr(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Qr=class extends Fr{constructor(e={}){super(),this.config=e,this.#$=new Map}#$;build(e,t,r){const n=t.queryKey,o=t.queryHash??wr(n,t);let i=this.get(o);return i||(i=new Gr({client:e,queryKey:n,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(i)),i}add(e){this.#$.has(e.queryHash)||(this.#$.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#$.get(e.queryHash);t&&(e.destroy(),t===e&&this.#$.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ur.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#$.get(e)}getAll(){return[...this.#$.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>br(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>br(e,t)):t}notify(e){Ur.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ur.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ur.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Xr=class extends Kr{#F;#W;#B;#L;constructor(e){super(),this.#F=e.client,this.mutationId=e.mutationId,this.#B=e.mutationCache,this.#W=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#W.includes(e)||(this.#W.push(e),this.clearGcTimeout(),this.#B.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#W=this.#W.filter(t=>t!==e),this.scheduleGc(),this.#B.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#W.length||("pending"===this.state.status?this.scheduleGc():this.#B.remove(this))}continue(){return this.#L?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#H({type:"continue"})},r={client:this.#F,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#L=Br({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#H({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#H({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#B.canRun(this)});const n="pending"===this.state.status,o=!this.#L.canStart();try{if(n)t();else{this.#H({type:"pending",variables:e,isPaused:o}),await(this.#B.config.onMutate?.(e,this,r));const t=await(this.options.onMutate?.(e,r));t!==this.state.context&&this.#H({type:"pending",context:t,variables:e,isPaused:o})}const i=await this.#L.start();return await(this.#B.config.onSuccess?.(i,e,this.state.context,this,r)),await(this.options.onSuccess?.(i,e,this.state.context,r)),await(this.#B.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r)),await(this.options.onSettled?.(i,null,e,this.state.context,r)),this.#H({type:"success",data:i}),i}catch(t){try{await(this.#B.config.onError?.(t,e,this.state.context,this,r))}catch(e){Promise.reject(e)}try{await(this.options.onError?.(t,e,this.state.context,r))}catch(e){Promise.reject(e)}try{await(this.#B.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r))}catch(e){Promise.reject(e)}try{await(this.options.onSettled?.(void 0,t,e,this.state.context,r))}catch(e){Promise.reject(e)}throw this.#H({type:"error",error:t}),t}finally{this.#B.runNext(this)}}#H(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),Ur.batch(()=>{this.#W.forEach(t=>{t.onMutationUpdate(e)}),this.#B.notify({mutation:this,type:"updated",action:e})})}},Zr=class extends Fr{constructor(e={}){super(),this.config=e,this.#K=new Set,this.#G=new Map,this.#q=0}#K;#G;#q;build(e,t,r){const n=new Xr({client:e,mutationCache:this,mutationId:++this.#q,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#K.add(e);const t=en(e);if("string"==typeof t){const r=this.#G.get(t);r?r.push(e):this.#G.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#K.delete(e)){const t=en(e);if("string"==typeof t){const r=this.#G.get(t);if(r)if(r.length>1){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#G.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=en(e);if("string"==typeof t){const r=this.#G.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}return!0}runNext(e){const t=en(e);if("string"==typeof t){const r=this.#G.get(t)?.find(t=>t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}return Promise.resolve()}clear(){Ur.batch(()=>{this.#K.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#K.clear(),this.#G.clear()})}getAll(){return Array.from(this.#K)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>Er(t,e))}findAll(e={}){return this.getAll().filter(t=>Er(e,t))}notify(e){Ur.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return Ur.batch(()=>Promise.all(e.map(e=>e.continue().catch(hr))))}};function en(e){return e.options.scope?.id}function tn(e){return{onFetch:(t,r)=>{const n=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},c=0;const u=async()=>{let r=!1;const u=e=>{!function(e,r,n){let o,i=!1;Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??=t.signal,i||(i=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)})}(e,0,()=>r=!0)},l=Rr(t.options,t.fetchOptions),d=async(e,n,o)=>{if(r)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const i=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:n,direction:o?"backward":"forward",meta:t.options.meta};return u(e),e})(),a=await l(i),{maxPages:s}=t.options,c=o?Nr:Tr;return{pages:c(e.pages,a,s),pageParams:c(e.pageParams,n,s)}};if(o&&i.length){const e="backward"===o,t={pages:i,pageParams:a},r=(e?nn:rn)(n,t);s=await d(t,r,e)}else{const t=e??i.length;do{const e=0===c?a[0]??n.initialPageParam:rn(n,s);if(c>0&&null==e)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=u}}}function rn(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function nn(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var on=e.createContext(void 0),an=({client:t,children:r})=>(e.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,o.jsx)(on.Provider,{value:t,children:r})),sn=a(6252),cn=a(20126);const un=e=>((e,t)=>e.Auth.fetchAuthSession(t))(cn.H,e),ln=WpSuiteAmplify;class dn{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new dn({...e,headers:{...e.headers}});var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce((e,t)=>{const n=r[t];return{...e,[t]:Array.isArray(n)?[...n]:n}},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return dn.clone(this)}}const pn={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},fn={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},hn={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};const mn={},gn=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),yn=(e,t=!1)=>{if(!t)return gn.test(e);const r=e.split(".");for(const e of r)if(!yn(e))return!1;return!0},vn=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),bn=e=>vn.test(e)||e.startsWith("[")&&e.endsWith("]"),En=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!En(t))return!1;return!0}return!(!yn(e)||e.length<3||e.length>63||e!==e.toLowerCase()||bn(e))};let wn=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-east-2":{"description":"Asia Pacific (Taipei)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-6":{"description":"Asia Pacific (New Zealand)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"aws global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"aws-cn global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"api.amazonwebservices.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"EU (Germany)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"api.aws.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"aws-iso global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"api.aws.scloud","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"aws-iso-b global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"},"us-isob-west-1":{"description":"US ISOB West"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"api.cloud-aws.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"aws-iso-e global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"api.aws.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"aws-iso-f global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"aws-us-gov global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}}],"version":"1.1"}');const Sn={isVirtualHostableS3Bucket:En,parseArn:e=>{const t=e.split(":");if(t.length<6)return null;const[r,n,o,i,a,...s]=t;return"arn"!==r||""===n||""===o||""===s.join(":")?null:{partition:n,service:o,region:i,accountId:a,resourceId:s.map(e=>e.split("/")).flat()}},partition:e=>{const{partitions:t}=wn;for(const r of t){const{regions:t,outputs:n}=r;for(const[r,o]of Object.entries(t))if(r===e)return{...n,...o}}for(const r of t){const{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e))return{...n}}const r=t.find(e=>"aws"===e.id);if(!r)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...r.outputs}}};function An(e,t,r){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=r}mn.aws=Sn;const Pn=/\d{12}\.ddb/,Cn="user-agent",In="x-amz-user-agent",xn=/[^!$%&'*+\-.^_`|~\w]/g,On=/[^!$%&'*+\-.^_`|~\w#]/g,kn=e=>{const t=e[0].split("/").map(e=>e.replace(xn,"-")).join("/"),r=e[1]?.replace(On,"-"),n=t.indexOf("/"),o=t.substring(0,n);let i=t.substring(n+1);return"api"===o&&(i=i.toLowerCase()),[o,i,r].filter(e=>e&&e.length>0).reduce((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},Tn={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Nn=new Set,jn=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),Rn="__smithy_context",Mn=e=>e[Rn]||(e[Rn]={}),Dn={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};class Un{authSchemes=new Map;constructor(e){for(const[t,r]of Object.entries(e))void 0!==r&&this.authSchemes.set(t,r)}getIdentityProvider(e){return this.authSchemes.get(e)}}const Fn=e=>e=>{throw e},Ln=(e,t)=>{},zn={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"};class Vn{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}const Hn=(e,t,r,n,o)=>({name:t,namespace:e,traits:r,input:n,output:o}),$n=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1],Wn={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Bn={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};const Kn="content-length",Gn={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},qn=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},Yn=async e=>{},Jn=e=>{if("string"==typeof e)return Jn(new URL(e));const{hostname:t,pathname:r,port:n,protocol:o,search:i}=e;let a;return i&&(a=function(e){const t={};if(e=e.replace(/^\?/,""))for(const r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(i)),{hostname:t,port:n?parseInt(n):void 0,protocol:o,path:r,query:a}},Qn=e=>"object"==typeof e?"url"in e?Jn(e.url):e:Jn(e);var Xn;!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(Xn||(Xn={}));const Zn=Xn.STANDARD,eo=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],to=["TimeoutError","RequestTimeout","RequestTimeoutException"],ro=[500,502,503,504],no=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],oo=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],io=e=>429===e.$metadata?.httpStatusCode||eo.includes(e.name)||1==e.$retryable?.throttling,ao=(e,t=0)=>(e=>void 0!==e?.$retryable)(e)||(e=>e.$metadata?.clockSkewCorrected)(e)||to.includes(e.name)||no.includes(e?.code||"")||oo.includes(e?.code||"")||ro.includes(e.$metadata?.httpStatusCode||0)||(e=>{const t=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);return!!(e&&e instanceof TypeError)&&t.has(e.message)})(e)||void 0!==e.cause&&t<=10&&ao(e.cause,t+1);class so{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;currentCapacity=0;enabled=!1;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8;const t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(this.enabled){if(this.refillTokenBucket(),e>this.currentCapacity){const t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise(e=>so.setTimeoutFn(e,t))}this.currentCapacity=this.currentCapacity-e}}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=e);const t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=e}updateClientSendingRate(e){let t;if(this.updateMeasuredRate(),io(e)){const e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());const r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds(),t=Math.floor(2*e)/2;if(this.requestCount++,t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}}const co=({retryDelay:e,retryCount:t,retryCost:r})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(2e4,e),getRetryCost:()=>r});class uo{maxAttempts;mode=Xn.STANDARD;capacity=500;retryBackoffStrategy=(()=>{let e=100;return{computeNextBackoffDelay:t=>Math.floor(Math.min(2e4,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}})();maxAttemptsProvider;constructor(e){this.maxAttempts=e,this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return co({retryDelay:100,retryCount:0})}async refreshRetryTokenForRetry(e,t){const r=await this.getMaxAttempts();if(this.shouldRetry(e,t,r)){const r=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===r?500:100);const n=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),o=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,n):n,i=this.getCapacityCost(r);return this.capacity-=i,co({retryDelay:o,retryCount:e.getRetryCount()+1,retryCost:i})}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(e,t,r){return e.getRetryCount()+1<r&&this.capacity>=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return"TRANSIENT"===e?10:5}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class lo{maxAttemptsProvider;rateLimiter;standardRetryStrategy;mode=Xn.ADAPTIVE;constructor(e,t){this.maxAttemptsProvider=e;const{rateLimiter:r}=t??{};this.rateLimiter=r??new so,this.standardRetryStrategy=new uo(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}}class po{trace(){}debug(){}info(){}warn(){}error(){}}const fo="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ho=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0")),mo=()=>{if(fo)return fo();const e=new Uint8Array(16);return crypto.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,ho[e[0]]+ho[e[1]]+ho[e[2]]+ho[e[3]]+"-"+ho[e[4]]+ho[e[5]]+"-"+ho[e[6]]+ho[e[7]]+"-"+ho[e[8]]+ho[e[9]]+"-"+ho[e[10]]+ho[e[11]]+ho[e[12]]+ho[e[13]]+ho[e[14]]+ho[e[15]]},go=e=>e?.body instanceof ReadableStream,yo=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):"string"==typeof e?new Error(e):new Error(`AWS SDK error wrapper for ${e}`),vo=e=>{const t={error:e,errorType:bo(e)},r=wo(e.$response);return r&&(t.retryAfterHint=r),t},bo=e=>io(e)?"THROTTLING":ao(e)?"TRANSIENT":(e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!ao(e)}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",Eo={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},wo=e=>{if(!Vn.isInstance(e))return;const t=Object.keys(e.headers).find(e=>"retry-after"===e.toLowerCase());if(!t)return;const r=e.headers[t],n=Number(r);return Number.isNaN(n)?new Date(r):new Date(1e3*n)},So=(e,t)=>{const r=[];if(e&&r.push(e),t)for(const e of t)r.push(e);return r},Ao=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,_o=()=>{let e=[],t=[],r=!1;const n=new Set,o=r=>(e.forEach(e=>{r.add(e.middleware,{...e})}),t.forEach(e=>{r.addRelativeTo(e.middleware,{...e})}),r.identifyOnResolve?.(s.identifyOnResolve()),r),i=e=>{const t=[];return e.before.forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...i(e))}),t.push(e),e.after.reverse().forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...i(e))}),t},a=(r=!1)=>{const n=[],o=[],a={};e.forEach(e=>{const t={...e,before:[],after:[]};for(const e of So(t.name,t.aliases))a[e]=t;n.push(t)}),t.forEach(e=>{const t={...e,before:[],after:[]};for(const e of So(t.name,t.aliases))a[e]=t;o.push(t)}),o.forEach(e=>{if(e.toMiddleware){const t=a[e.toMiddleware];if(void 0===t){if(r)return;throw new Error(`${e.toMiddleware} is not found when adding ${Ao(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}});const s=(c=n,c.sort((e,t)=>Po[t.step]-Po[e.step]||Co[t.priority||"normal"]-Co[e.priority||"normal"])).map(i).reduce((e,t)=>(e.push(...t),e),[]);var c;return s},s={add:(t,r={})=>{const{name:o,override:i,aliases:a}=r,s={step:"initialize",priority:"normal",middleware:t,...r},c=So(o,a);if(c.length>0){if(c.some(e=>n.has(e))){if(!i)throw new Error(`Duplicate middleware name '${Ao(o,a)}'`);for(const t of c){const r=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===r)continue;const n=e[r];if(n.step!==s.step||s.priority!==n.priority)throw new Error(`"${Ao(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${Ao(o,a)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(r,1)}}for(const e of c)n.add(e)}e.push(s)},addRelativeTo:(e,r)=>{const{name:o,override:i,aliases:a}=r,s={middleware:e,...r},c=So(o,a);if(c.length>0){if(c.some(e=>n.has(e))){if(!i)throw new Error(`Duplicate middleware name '${Ao(o,a)}'`);for(const e of c){const r=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===r)continue;const n=t[r];if(n.toMiddleware!==s.toMiddleware||n.relation!==s.relation)throw new Error(`"${Ao(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${Ao(o,a)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(r,1)}}for(const e of c)n.add(e)}t.push(s)},clone:()=>o(_o()),use:e=>{e.applyToStack(s)},remove:r=>"string"==typeof r?(r=>{let o=!1;const i=e=>{const t=So(e.name,e.aliases);if(t.includes(r)){o=!0;for(const e of t)n.delete(e);return!1}return!0};return e=e.filter(i),t=t.filter(i),o})(r):(r=>{let o=!1;const i=e=>{if(e.middleware===r){o=!0;for(const t of So(e.name,e.aliases))n.delete(t);return!1}return!0};return e=e.filter(i),t=t.filter(i),o})(r),removeByTag:r=>{let o=!1;const i=e=>{const{tags:t,name:i,aliases:a}=e;if(t&&t.includes(r)){const e=So(i,a);for(const t of e)n.delete(t);return o=!0,!1}return!0};return e=e.filter(i),t=t.filter(i),o},concat:e=>{const t=o(_o());return t.use(e),t.identifyOnResolve(r||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:o,identify:()=>a(!0).map(e=>{const t=e.step??e.relation+" "+e.toMiddleware;return Ao(e.name,e.aliases)+" - "+t}),identifyOnResolve:e=>("boolean"==typeof e&&(r=e),r),resolve:(e,t)=>{for(const r of a().map(e=>e.middleware).reverse())e=r(e,t);return r&&console.log(s.identify()),e}};return s},Po={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Co={high:3,normal:2,low:1};class Io{config;middlewareStack=_o();initConfig;handlers;constructor(e){this.config=e;const{protocol:t,protocolSettings:r}=e;r&&"function"==typeof t&&(e.protocol=new t(r))}send(e,t,r){const n="function"!=typeof t?t:void 0,o="function"==typeof t?t:r;let i;if(void 0===n&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);const t=this.handlers;t.has(e.constructor)?i=t.get(e.constructor):(i=e.resolveMiddleware(this.middlewareStack,this.config,n),t.set(e.constructor,i))}else delete this.handlers,i=e.resolveMiddleware(this.middlewareStack,this.config,n);if(!o)return i(e).then(e=>e.output);i(e).then(e=>o(null,e.output),e=>o(e)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}const xo=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},Oo=function(e){return ko(e)&&e.expiration.getTime()-Date.now()<3e5};const ko=e=>void 0!==e.expiration,To={},No={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),To[e]=t,No[t]=e}function jo(e){let t="";for(let r=0;r<e.byteLength;r++)t+=To[e[r]];return t}const Ro=e=>(new TextEncoder).encode(e),Mo=e=>"string"==typeof e?Ro(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),Do="X-Amz-Date",Uo="X-Amz-Signature",Fo="X-Amz-Security-Token",Lo="authorization",zo=Do.toLowerCase(),Vo=[Lo,zo,"date"],Ho=Uo.toLowerCase(),$o="x-amz-content-sha256",Wo=Fo.toLowerCase(),Bo={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Ko=/^proxy-/,Go=/^sec-/,qo="AWS4-HMAC-SHA256",Yo="AWS4-HMAC-SHA256-PAYLOAD",Jo="aws4_request",Qo={},Xo=[],Zo=(e,t,r)=>`${e}/${t}/${r}/${Jo}`,ei=(e,t,r)=>{const n=new e(t);return n.update(Mo(r)),n.digest()},ti=({headers:e},t,r)=>{const n={};for(const o of Object.keys(e).sort()){if(null==e[o])continue;const i=o.toLowerCase();(i in Bo||t?.has(i)||Ko.test(i)||Go.test(i))&&(!r||r&&!r.has(i))||(n[i]=e[o].trim().replace(/\s+/g," "))}return n},ri=async({headers:e,body:t},r)=>{for(const t of Object.keys(e))if(t.toLowerCase()===$o)return e[t];if(null==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||(n=t,"function"==typeof ArrayBuffer&&n instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(n))){const e=new r;return e.update(Mo(t)),jo(await e.digest())}var n;return"UNSIGNED-PAYLOAD"};class ni{format(e){const t=[];for(const r of Object.keys(e)){const n=Ro(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}const r=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0));let n=0;for(const e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":const n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":const o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6),o.setUint16(1,e.value.byteLength,!1);const i=new Uint8Array(o.buffer);return i.set(e.value,3),i;case"string":const a=Ro(e.value),s=new DataView(new ArrayBuffer(3+a.byteLength));s.setUint8(0,7),s.setUint16(1,a.byteLength,!1);const c=new Uint8Array(s.buffer);return c.set(a,3),c;case"timestamp":const u=new Uint8Array(9);return u[0]=8,u.set(ai.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!ii.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(function(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const n=e.slice(r,r+2).toLowerCase();if(!(n in No))throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`);t[r/2]=No[n]}return t}(e.value.replace(/\-/g,"")),1),l}}}var oi;!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(oi||(oi={}));const ii=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class ai{bytes;constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&si(t),new ai(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&si(e),parseInt(jo(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function si(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class ci{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new ci({...e,headers:{...e.headers}});var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce((e,t)=>{const n=r[t];return{...e,[t]:Array.isArray(n)?[...n]:n}},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return ci.clone(this)}}const ui=e=>{e=ci.clone(e);for(const t of Object.keys(e.headers))Vo.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},li=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},di=e=>encodeURIComponent(e).replace(/[!'()*]/g,pi),pi=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;class fi{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i=!0}){this.service=n,this.sha256=o,this.uriEscapePath=i,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=li(r),this.credentialProvider=li(t)}createCanonicalRequest(e,t,r){const n=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${(({query:e={}})=>{const t=[],r={};for(const n of Object.keys(e)){if(n.toLowerCase()===Ho)continue;const o=di(n);t.push(o);const i=e[n];"string"==typeof i?r[o]=`${o}=${di(i)}`:Array.isArray(i)&&(r[o]=i.slice(0).reduce((e,t)=>e.concat([`${o}=${di(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>r[e]).filter(e=>e).join("&")})(e)}\n${n.map(e=>`${e}:${t[e]}`).join("\n")}\n\n${n.join(";")}\n${r}`}async createStringToSign(e,t,r,n){const o=new this.sha256;return o.update(Mo(r)),`${n}\n${e}\n${t}\n${jo(await o.digest())}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const r of e.split("/"))0!==r?.length&&"."!==r&&(".."===r?t.pop():t.push(r));const r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return di(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw new Error("Resolved credential object is not valid")}formatDate(e){const t=(r=e,(e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e)(r).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var r;return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}class hi extends fi{headerFormatter=new ni;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i})}async presign(e,t={}){const{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:o,unhoistableHeaders:i,signableHeaders:a,hoistableHeaders:s,signingRegion:c,signingService:u}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);const d=c??await this.regionProvider(),{longDate:p,shortDate:f}=this.formatDate(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const h=Zo(f,d,u??this.service),m=((e,t={})=>{const{headers:r,query:n={}}=ci.clone(e);for(const e of Object.keys(r)){const o=e.toLowerCase();("x-amz-"===o.slice(0,6)&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))&&(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}})(ui(e),{unhoistableHeaders:i,hoistableHeaders:s});l.sessionToken&&(m.query[Fo]=l.sessionToken),m.query["X-Amz-Algorithm"]=qo,m.query["X-Amz-Credential"]=`${l.accessKeyId}/${h}`,m.query[Do]=p,m.query["X-Amz-Expires"]=n.toString(10);const g=ti(m,o,a);return m.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(g),m.query[Uo]=await this.getSignature(p,h,this.getSigningKey(l,d,f,u),this.createCanonicalRequest(m,g,await ri(e,this.sha256))),m}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:o,signingService:i}){const a=o??await this.regionProvider(),{shortDate:s,longDate:c}=this.formatDate(r),u=Zo(s,a,i??this.service),l=await ri({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);const p=jo(await d.digest()),f=[Yo,c,u,n,p,l].join("\n");return this.signString(f,{signingDate:r,signingRegion:a,signingService:i})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n}={}){const o=await this.credentialProvider();this.validateResolvedCredentials(o);const i=r??await this.regionProvider(),{shortDate:a}=this.formatDate(t),s=new this.sha256(await this.getSigningKey(o,i,a,n));return s.update(Mo(e)),jo(await s.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:o,signingService:i}={}){const a=await this.credentialProvider();this.validateResolvedCredentials(a);const s=o??await this.regionProvider(),c=ui(e),{longDate:u,shortDate:l}=this.formatDate(t),d=Zo(l,s,i??this.service);c.headers[zo]=u,a.sessionToken&&(c.headers[Wo]=a.sessionToken);const p=await ri(c,this.sha256);!((e,t)=>{e=e.toLowerCase();for(const r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1})($o,c.headers)&&this.applyChecksum&&(c.headers[$o]=p);const f=ti(c,n,r),h=await this.getSignature(u,d,this.getSigningKey(a,s,l,i),this.createCanonicalRequest(c,f,p));return c.headers[Lo]=`${qo} Credential=${a.accessKeyId}/${d}, SignedHeaders=${this.getCanonicalHeaderList(f)}, Signature=${h}`,c}async getSignature(e,t,r,n){const o=await this.createStringToSign(e,t,n,qo),i=new this.sha256(await r);return i.update(Mo(o)),jo(await i.digest())}getSigningKey(e,t,r,n){return(async(e,t,r,n,o)=>{const i=`${r}:${n}:${o}:${jo(await ei(e,t.secretAccessKey,t.accessKeyId))}:${t.sessionToken}`;if(i in Qo)return Qo[i];for(Xo.push(i);Xo.length>50;)delete Qo[Xo.shift()];let a=`AWS4${t.secretAccessKey}`;for(const t of[r,n,o,Jo])a=await ei(e,a,t);return Qo[i]=a})(this.sha256,e,r,t,n||this.service)}}const mi=async(e,t,r)=>({operation:Mn(t).operation,region:await qn(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),gi=e=>{const t=[];switch(e.operation){case"AssociateSoftwareToken":case"ChangePassword":case"CompleteWebAuthnRegistration":case"ConfirmDevice":case"ConfirmForgotPassword":case"ConfirmSignUp":case"DeleteUser":case"DeleteUserAttributes":case"DeleteWebAuthnCredential":case"ForgetDevice":case"ForgotPassword":case"GetDevice":case"GetTokensFromRefreshToken":case"GetUser":case"GetUserAttributeVerificationCode":case"GetUserAuthFactors":case"GlobalSignOut":case"InitiateAuth":case"ListDevices":case"ListWebAuthnCredentials":case"ResendConfirmationCode":case"RespondToAuthChallenge":case"RevokeToken":case"SetUserMFAPreference":case"SetUserSettings":case"SignUp":case"StartWebAuthnRegistration":case"UpdateAuthEventFeedback":case"UpdateDeviceStatus":case"UpdateUserAttributes":case"VerifySoftwareToken":case"VerifyUserAttribute":t.push({schemeId:"smithy.api#noAuth"});break;default:t.push(function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"cognito-idp",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}(e))}return t},yi={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var vi=a(12392),bi={name:"SHA-256"},Ei={name:"HMAC",hash:bi},wi=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);const Si={};function Ai(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:Si}var _i=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!(0,vi.Kz)(e)){var t=(0,vi.pP)(e),r=new Uint8Array(this.toHash.byteLength+t.byteLength);r.set(this.toHash,0),r.set(t,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return Ai().crypto.subtle.sign(Ei,t,e.toHash).then(function(e){return new Uint8Array(e)})}):(0,vi.Kz)(this.toHash)?Promise.resolve(wi):Promise.resolve().then(function(){return Ai().crypto.subtle.digest(bi,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(t,r){Ai().crypto.subtle.importKey("raw",(0,vi.pP)(e.secret),Ei,!1,["sign"]).then(t,r)}),this.key.catch(function(){}))},e}(),Pi=a(136),Ci=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];var Ii=function(){function e(e){!function(e){return!(!function(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}(e)||"object"!=typeof e.crypto.subtle)&&((t=e.crypto.subtle)&&Ci.every(function(e){return"function"==typeof t[e]}));var t}(Ai())?this.hash=new Pi.Sha256(e):this.hash=new _i(e)}return e.prototype.update=function(e,t){this.hash.update((0,vi.pP)(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}();const xi=({serviceId:e,clientVersion:t})=>async r=>{const n="undefined"!=typeof window?window.navigator:void 0,o=n?.userAgent??"",i=n?.userAgentData?.platform??Oi.os(o)??"other",a=n?.userAgentData?.brands??[],s=a[a.length-1],c=s?.brand??Oi.browser(o)??"unknown",u=[["aws-sdk-js",t],["ua","2.1"],[`os/${i}`,void 0],["lang/js"],["md/browser",`${c}_${s?.version??"unknown"}`]];e&&u.push([`api/${e}`,t]);const l=await(r?.userAgentAppId?.());return l&&u.push([`app/${l}`]),u},Oi={os:e=>/iPhone|iPad|iPod/.test(e)?"iOS":/Macintosh|Mac OS X/.test(e)?"macOS":/Windows NT/.test(e)?"Windows":/Android/.test(e)?"Android":/Linux/.test(e)?"Linux":void 0,browser:e=>/EdgiOS|EdgA|Edg\//.test(e)?"Microsoft Edge":/Firefox\//.test(e)?"Firefox":/Chrome\//.test(e)?"Chrome":/Safari\//.test(e)?"Safari":void 0};var ki;!function(e){e.ENV="env",e.CONFIG="shared config entry"}(ki||(ki={}));const Ti=e=>encodeURIComponent(e).replace(/[!'()*]/g,Ni),Ni=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;function ji(e,t){return new Request(e,t)}function Ri(e=0){return new Promise((t,r)=>{e&&setTimeout(()=>{const t=new Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",r(t)},e)})}const Mi={supported:void 0};class Di{config;configProvider;static create(e){return"function"==typeof e?.handle?e:new Di(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===Mi.supported&&(Mi.supported=Boolean("undefined"!=typeof Request&&"keepalive"in ji("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:r}={}){this.config||(this.config=await this.configProvider);const n=r??this.config.requestTimeout,o=!0===this.config.keepAlive,i=this.config.credentials;if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let a=e.path;const s=function(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];if(r=Ti(r),Array.isArray(n))for(let e=0,o=n.length;e<o;e++)t.push(`${r}=${Ti(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${Ti(n)}`),t.push(e)}}return t.join("&")}(e.query||{});s&&(a+=`?${s}`),e.fragment&&(a+=`#${e.fragment}`);let c="";null==e.username&&null==e.password||(c=`${e.username??""}:${e.password??""}@`);const{port:u,method:l}=e,d=`${e.protocol}//${c}${e.hostname}${u?`:${u}`:""}${a}`,p="GET"===l||"HEAD"===l?void 0:e.body,f={body:p,headers:new Headers(e.headers),method:l,credentials:i};this.config?.cache&&(f.cache=this.config.cache),p&&(f.duplex="half"),"undefined"!=typeof AbortController&&(f.signal=t),Mi.supported&&(f.keepalive=o),"function"==typeof this.config.requestInit&&Object.assign(f,this.config.requestInit(e));let h=()=>{};const m=ji(d,f),g=[fetch(m).then(e=>{const t=e.headers,r={};for(const e of t.entries())r[e[0]]=e[1];return null!=e.body?{response:new Vn({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then(t=>({response:new Vn({headers:r,reason:e.statusText,statusCode:e.status,body:t})}))}),Ri(n)];return t&&g.push(new Promise((e,r)=>{const n=()=>{const e=new Error("Request aborted");e.name="AbortError",r(e)};if("function"==typeof t.addEventListener){const e=t;e.addEventListener("abort",n,{once:!0}),h=()=>e.removeEventListener("abort",n)}else t.onabort=n})),Promise.race(g).finally(h)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>(r[e]=t,r))}httpHandlerConfigs(){return this.config??{}}}const Ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fi=Object.entries(Ui).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),Li=Ui.split(""),zi=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,o=0;for(let n=t,i=t+3;n<=i;n++)if("="!==e[n]){if(!(e[n]in Fi))throw new TypeError(`Invalid character ${e[n]} in base64 string.`);r|=Fi[e[n]]<<6*(i-n),o+=6}else r>>=6;const i=t/4*3;r>>=o%8;const a=Math.floor(o/8);for(let e=0;e<a;e++){const t=8*(a-e-1);n.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)},Vi=async e=>"function"==typeof Blob&&e instanceof Blob||"Blob"===e.constructor?.name?void 0!==Blob.prototype.arrayBuffer?new Uint8Array(await e.arrayBuffer()):async function(e){const t=await function(e){return new Promise((t,r)=>{const n=new FileReader;n.onloadend=()=>{if(2!==n.readyState)return r(new Error("Reader aborted too early"));const e=n.result??"",o=e.indexOf(","),i=o>-1?o+1:e.length;t(e.substring(i))},n.onabort=()=>r(new Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(e)})}(e),r=zi(t);return new Uint8Array(r)}(e):async function(e){const t=[],r=e.getReader();let n=!1,o=0;for(;!n;){const{done:e,value:i}=await r.read();i&&(t.push(i),o+=i.length),n=e}const i=new Uint8Array(o);let a=0;for(const e of t)i.set(e,a),a+=e.length;return i}(e),Hi=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},$i="function"==typeof TextEncoder?new TextEncoder:null,Wi=e=>{if("string"==typeof e){if($i)return $i.encode(e).byteLength;let t=e.length;for(let r=t-1;r>=0;r--){const n=e.charCodeAt(r);n>127&&n<=2047?t++:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&r--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw new Error(`Body Length computation failed for ${e}`)},Bi=["in-region","cross-region","mobile","standard","legacy"];class Ki{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new Ki({...e,headers:{...e.headers}});var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce((e,t)=>{const n=r[t];return{...e,[t]:Array.isArray(n)?[...n]:n}},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return Ki.clone(this)}}const Gi=e=>new Date(Date.now()+e);class qi{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}const Yi=e=>qi.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,Ji=(e,t)=>{const r=Date.parse(e);return((e,t)=>Math.abs(Gi(t).getTime()-e)>=3e5)(r,t)?r-Date.now():t},Qi=(e,t)=>{if(!t)throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t};class Xi{async sign(e,t,r){if(!Ki.isInstance(e))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const n=await(async e=>{const t=Qi("context",e.context),r=Qi("config",e.config),n=t.endpointV2?.properties?.authSchemes?.[0],o=Qi("signer",r.signer),i=await o(n),a=e?.signingRegion,s=e?.signingRegionSet,c=e?.signingName;return{config:r,signer:i,signingRegion:a,signingRegionSet:s,signingName:c}})(r),{config:o,signer:i}=n;let{signingRegion:a,signingName:s}=n;const c=r.context;if(c?.authSchemes?.length){const[e,t]=c.authSchemes;"sigv4a"===e?.name&&"sigv4"===t?.name&&(a=t?.signingRegion??a,s=t?.signingName??s)}return await i.sign(e,{signingDate:Gi(o.systemClockOffset),signingRegion:a,signingService:s})}errorHandler(e){return t=>{const r=t.ServerTime??Yi(t.$response);if(r){const n=Qi("config",e.config),o=n.systemClockOffset;n.systemClockOffset=Ji(r,n.systemClockOffset),n.systemClockOffset!==o&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){const r=Yi(e);if(r){const e=Qi("config",t.config);e.systemClockOffset=Ji(r,e.systemClockOffset)}}}const Zi=e=>"function"==typeof e?e():e;function ea(e){if("object"==typeof e)return e;e|=0;const t={};let r=0;for(const n of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])1==(e>>r++&1)&&(t[n]=1);return t}class ta{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=ta.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(e,t){this.ref=e,this.memberName=t;const r=[];let n=e,o=e;for(this._isMemberSchema=!1;na(n);)r.push(n[1]),n=n[0],o=Zi(n),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){const t=r[e];Object.assign(this.memberTraits,ea(t))}}else this.memberTraits=0;if(o instanceof ta){const e=this.memberTraits;return Object.assign(this,o),this.memberTraits=Object.assign({},e,o.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,void(this.memberName=t??o.memberName)}if(this.schema=Zi(o),oa(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(o),this.traits=0),this._isMemberSchema&&!t)throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){const t=this.prototype.isPrototypeOf(e);return t||"object"!=typeof e||null===e?t:e.symbol===this.symbol}static of(e){const t=Zi(e);if(t instanceof ta)return t;if(na(t)){const[r,n]=t;if(r instanceof ta)return Object.assign(r.getMergedTraits(),ea(n)),r;throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(e,null,2)}.`)}return new ta(t)}getSchema(){const e=this.schema;return 0===e[0]?e[4]:e}getName(e=!1){const{name:t}=this;return!e&&t&&t.includes("#")?t.split("#")[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const e=this.getSchema();return"number"==typeof e?e>=64&&e<128:1===e[0]}isMapSchema(){const e=this.getSchema();return"number"==typeof e?e>=128&&e<=255:2===e[0]}isStructSchema(){const e=this.getSchema();return 3===e[0]||-3===e[0]}isBlobSchema(){const e=this.getSchema();return 21===e||42===e}isTimestampSchema(){const e=this.getSchema();return"number"==typeof e&&e>=4&&e<=7}isUnitSchema(){return"unit"===this.getSchema()}isDocumentSchema(){return 15===this.getSchema()}isStringSchema(){return 0===this.getSchema()}isBooleanSchema(){return 2===this.getSchema()}isNumericSchema(){return 1===this.getSchema()}isBigIntegerSchema(){return 17===this.getSchema()}isBigDecimalSchema(){return 19===this.getSchema()}isStreaming(){const{streaming:e}=this.getMergedTraits();return!!e||42===this.getSchema()}isIdempotencyToken(){const e=e=>!(4&~e&&!e?.idempotencyToken),{normalizedTraits:t,traits:r,memberTraits:n}=this;return e(t)||e(r)||e(n)}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return ea(this.memberTraits)}getOwnTraits(){return ea(this.traits)}getKeySchema(){const[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);const r=this.getSchema();return ra([e?15:r[4]??0,0],"key")}getValueSchema(){const e=this.getSchema(),[t,r,n]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],o="number"==typeof e?63&e:e&&"object"==typeof e&&(r||n)?e[3+e[0]]:t?15:void 0;if(null!=o)return ra([o,0],r?"value":"member");throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){const t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){const r=t[4].indexOf(e),n=t[5][r];return ra(na(n)?n:[n,0],e)}if(this.isDocumentSchema())return ra([15,0],e);throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no no member=${e}.`)}getMemberSchemas(){const e={};try{for(const[t,r]of this.structIterator())e[t]=r}catch(e){}return e}getEventStreamMember(){if(this.isStructSchema())for(const[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e;return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");const e=this.getSchema();for(let t=0;t<e[4].length;++t)yield[e[4][t],ra([e[5][t],0],e[4][t])]}}function ra(e,t){return e instanceof ta?Object.assign(e,{memberName:t,_isMemberSchema:!0}):new ta(e,t)}const na=e=>Array.isArray(e)&&2===e.length,oa=e=>Array.isArray(e)&&e.length>=5,ia="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",aa=Object.entries(ia).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),sa=ia.split(""),ca=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,o=0;for(let n=t,i=t+3;n<=i;n++)if("="!==e[n]){if(!(e[n]in aa))throw new TypeError(`Invalid character ${e[n]} in base64 string.`);r|=aa[e[n]]<<6*(i-n),o+=6}else r>>=6;const i=t/4*3;r>>=o%8;const a=Math.floor(o/8);for(let e=0;e<a;e++){const t=8*(a-e-1);n.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)};var ua=a(34073);function la(e){let t;t="string"==typeof e?(0,ua.a)(e):e;const r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let o="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let o=e,i=Math.min(e+3,t.length);o<i;o++)r|=t[o]<<8*(i-o-1),n+=8;const i=Math.ceil(n/6);r<<=6*i-n;for(let e=1;e<=i;e++){const t=6*(i-e);o+=sa[(r&63<<t)>>t]}o+="==".slice(0,4-i)}return o}var da=a(77844);class pa extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return"base64"===t?pa.mutate(ca(e)):pa.mutate((0,ua.a)(e));throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,pa.prototype),e}transformToString(e="utf-8"){return"base64"===e?la(this):(0,da.P)(this)}}const fa=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return pa.mutate(e);if(!e)return pa.mutate(new Uint8Array);const r=t.streamCollector(e);return pa.mutate(await r)};class ha{serdeContext;setSerdeContext(e){this.serdeContext=e}}class ma extends ha{options;constructor(e){super(),this.options=e}getRequestType(){return Ki}getResponseType(){return qi}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if("url"in t){e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||(e.query={});for(const[r,n]of t.url.searchParams.entries())e.query[r]=n;return e}return e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},e}setHostPrefix(e,t,r){const n=ta.of(t.input),o=ea(t.traits??{});if(o.endpoint){let t=o.endpoint?.[0];if("string"==typeof t){const o=[...n.structIterator()].filter(([,e])=>e.getMergedTraits().hostLabel);for(const[e]of o){const n=r[e];if("string"!=typeof n)throw new Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,n)}e.hostname=t+e.hostname}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r})}async loadEventStreamCapability(){const{EventStreamSerde:e}=await a.e(283).then(a.bind(a,29283));return new e({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,r,n,o){return[]}getEventStreamMarshaller(){const e=this.serdeContext;if(!e.eventStreamMarshaller)throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return e.eventStreamMarshaller}}class ga extends ma{async serializeRequest(e,t,r){const n=this.serializer,o={},i={},a=await r.endpoint(),s=ta.of(e?.input),c=s.getSchema();let u;const l=new Ki({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:o,headers:i,body:void 0});a&&(this.updateServiceEndpoint(l,a),this.setHostPrefix(l,e,t));const d={...t};if(t){const e=s.getEventStreamMember();if(e){if(d[e]){const t={};for(const[r,o]of s.structIterator())r!==e&&d[r]&&(n.write(o,d[r]),t[r]=n.flush());u=await this.serializeEventStream({eventStream:d[e],requestSchema:s,initialRequest:t})}}else n.write(c,d),u=n.flush()}return l.headers=i,l.query=o,l.body=u,l.method="POST",l}async deserializeResponse(e,t,r){const n=this.deserializer,o=ta.of(e.output),i={};if(r.statusCode>=300){const o=await fa(r.body,t);throw o.byteLength>0&&Object.assign(i,await n.read(15,o)),await this.handleError(e,t,r,i,this.deserializeMetadata(r)),new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(const e in r.headers){const t=r.headers[e];delete r.headers[e],r.headers[e.toLowerCase()]=t}const a=o.getEventStreamMember();if(a)i[a]=await this.deserializeEventStream({response:r,responseSchema:o,initialResponseContainer:i});else{const e=await fa(r.body,t);e.byteLength>0&&Object.assign(i,await n.read(o,e))}return i.$metadata=this.deserializeMetadata(r),i}}class ya{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,r=new Map){this.namespace=e,this.schemas=t,this.exceptions=r}static for(e){return ya.registries.has(e)||ya.registries.set(e,new ya(e)),ya.registries.get(e)}register(e,t){const r=this.normalizeShapeId(e);ya.for(r.split("#")[0]).schemas.set(r,t)}getSchema(e){const t=this.normalizeShapeId(e);if(!this.schemas.has(t))throw new Error(`@smithy/core/schema - schema not found for ${t}`);return this.schemas.get(t)}registerError(e,t){const r=e,n=ya.for(r[1]);n.schemas.set(r[1]+"#"+r[2],r),n.exceptions.set(r,t)}getErrorCtor(e){const t=e;return ya.for(t[1]).exceptions.get(t)}getBaseException(){for(const e of this.exceptions.keys())if(Array.isArray(e)){const[,t,r]=e,n=t+"#"+r;if(n.startsWith("smithy.ts.sdk.synthetic.")&&n.endsWith("ServiceException"))return e}}find(e){return[...this.schemas.values()].find(e)}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes("#")?e:this.namespace+"#"+e}}Error,Symbol.hasInstance;const va=(e,t={})=>{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,r])=>{null!=e[t]&&""!==e[t]||(e[t]=r)});const r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e};class ba{queryCompat;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){const r=t.getMemberSchemas(),n=Object.values(r).find(e=>!!e.getMergedTraits().httpPayload);if(n){return n.getMergedTraits().mediaType||(n.isStringSchema()?"text/plain":n.isBlobSchema()?"application/octet-stream":e)}if(!t.isUnitSchema()){const t=Object.values(r).find(e=>{const{httpQuery:t,httpQueryParams:r,httpHeader:n,httpLabel:o,httpPrefixHeaders:i}=e.getMergedTraits();return!(t||r||n||o||void 0!==i)});if(t)return e}}async getErrorSchemaOrThrowBaseException(e,t,r,n,o,i){let a=t,s=e;e.includes("#")&&([a,s]=e.split("#"));const c={$metadata:o,$fault:r.statusCode<500?"client":"server"},u=ya.for(a);try{return{errorSchema:i?.(u,s)??u.getSchema(e),errorMetadata:c}}catch(e){n.message=n.message??n.Message??"UnknownError";const t=ya.for("smithy.ts.sdk.synthetic."+a),r=t.getBaseException();if(r){const e=t.getErrorCtor(r)??Error;throw this.decorateServiceException(Object.assign(new e({name:s}),c),n)}throw this.decorateServiceException(Object.assign(new Error(s),c),n)}}decorateServiceException(e,t={}){if(this.queryCompat){const r=e.Message??t.Message,n=va(e,t);r&&(n.message=r),n.Error={...n.Error,Type:n.Error.Type,Code:n.Error.Code,Message:n.Error.message??n.Error.Message??r};const o=n.$metadata.requestId;return o&&(n.RequestId=o),n}return va(e,t)}setQueryCompatError(e,t){const r=t.headers?.["x-amzn-query-error"];if(void 0!==e&&null!=r){const[t,n]=r.split(";"),o=Object.entries(e),i={Code:t,Type:n};Object.assign(e,i);for(const[e,t]of o)i["message"===e?"Message":e]=t;delete i.__type,e.Error=i}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch(r){return e.find(e=>ta.of(e).getMergedTraits().awsQueryError?.[0]===t)}}}class Ea{serdeContext;setSerdeContext(e){this.serdeContext=e}}function wa(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(5===e.getSchema()||6===e.getSchema()||7===e.getSchema()))return e.getSchema();const{httpLabel:r,httpPrefixHeaders:n,httpHeader:o,httpQuery:i}=e.getMergedTraits();return(t.httpBindings?"string"==typeof n||Boolean(o)?6:Boolean(i)||Boolean(r)?5:void 0:void 0)??t.timestampFormat.default}const Sa=function(e){return Object.assign(new String(e),{deserializeJSON:()=>JSON.parse(String(e)),toString:()=>String(e),toJSON:()=>String(e)})};Sa.from=e=>e&&"object"==typeof e&&(e instanceof Sa||"deserializeJSON"in e)?e:"string"==typeof e||Object.getPrototypeOf(e)===String.prototype?Sa(String(e)):Sa(JSON.stringify(e)),Sa.fromObject=Sa.from;const Aa=e=>{if(null!=e){if("string"==typeof e){const t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&Ta.warn(ka(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}},_a=Math.ceil(2**127*(2-2**-23)),Pa=(e,t)=>{const r=(e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}})(e);if(void 0!==r&&Ca(r,t)!==r)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return r},Ca=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},Ia=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,xa=e=>{const t=e.match(Ia);if(null===t||t[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)},Oa=e=>(e=>Pa(e,16))("string"==typeof e?xa(e):e),ka=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),Ta={warn:console.warn},Na=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ja=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ra=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),Ma=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Da=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Ua=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),Fa=(e,t,r,n)=>{const o=t-1;return Va(e,o,r),new Date(Date.UTC(e,o,r,$a(n.hours,"hour",0,23),$a(n.minutes,"minute",0,59),$a(n.seconds,"seconds",0,60),Wa(n.fractionalMilliseconds)))},La=e=>{const t=ja.indexOf(e);if(t<0)throw new TypeError(`Invalid month: ${e}`);return t+1},za=[31,28,31,30,31,30,31,31,30,31,30,31],Va=(e,t,r)=>{let n=za[t];if(1===t&&Ha(e)&&(n=29),r>n)throw new TypeError(`Invalid day for ${ja[t]} in ${e}: ${r}`)},Ha=e=>e%4==0&&(e%100!=0||e%400==0),$a=(e,t,r,n)=>{const o=(e=>(e=>Pa(e,8))("string"==typeof e?xa(e):e))(Ba(e));if(o<r||o>n)throw new TypeError(`${t} must be between ${r} and ${n}, inclusive`);return o},Wa=e=>null==e?0:1e3*(e=>(e=>{const t=Aa(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>_a)throw new TypeError(`Expected 32-bit float, got ${e}`);return t})("string"==typeof e?xa(e):e))("0."+e),Ba=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)},Ka=/^-?\d*(\.\d+)?$/;class Ga{string;type;constructor(e,t){if(this.string=e,this.type=t,!Ka.test(e))throw new Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance](e){if(!e||"object"!=typeof e)return!1;const t=e;return Ga.prototype.isPrototypeOf(e)||"bigDecimal"===t.type&&Ka.test(t.string)}}function qa(e,t,r){if(r?.source){const e=r.source;if("number"==typeof t&&(t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||e!==String(t)))return e.includes(".")?new Ga(e,"bigDecimal"):BigInt(e)}return t}class Ya extends Ea{settings;constructor(e){super(),this.settings=e}async read(e,t){return this._read(e,"string"==typeof t?JSON.parse(t,qa):await(r=t,n=this.serdeContext,((e,t)=>fa(e,t).then(e=>(t?.utf8Encoder??da.P)(e)))(r,n).then(e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw"SyntaxError"===t?.name&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}})));var r,n}readObject(e,t){return this._read(e,t)}_read(e,t){const r=null!==t&&"object"==typeof t,n=ta.of(e);if(r){if(n.isStructSchema()){const e={};for(const[r,o]of function*(e,t,r){if(e.isUnitSchema())return;const n=e.getSchema();let o=Object.keys(t).filter(e=>"__type"!==e).length;for(let e=0;e<n[4].length&&0!==o;++e){const i=n[4][e],a=n[5][e],s=new ta([a,0],i);let c=i;r&&(c=s.getMergedTraits()[r]??i),c in t&&(yield[i,s],o-=1)}}(n,t,!!this.settings.jsonName&&"jsonName")){const n=this.settings.jsonName?o.getMergedTraits().jsonName??r:r,i=this._read(o,t[n]);null!=i&&(e[r]=i)}return e}if(Array.isArray(t)&&n.isListSchema()){const e=n.getValueSchema(),r=[],o=!!n.getMergedTraits().sparse;for(const n of t)(o||null!=n)&&r.push(this._read(e,n));return r}if(n.isMapSchema()){const e=n.getValueSchema(),r={},o=!!n.getMergedTraits().sparse;for(const[n,i]of Object.entries(t))(o||null!=i)&&(r[n]=this._read(e,i));return r}}if(n.isBlobSchema()&&"string"==typeof t)return ca(t);const o=n.getMergedTraits().mediaType;if(n.isStringSchema()&&"string"==typeof t&&o)return"application/json"===o||o.endsWith("+json")?Sa.from(t):t;if(n.isTimestampSchema()&&null!=t)switch(wa(n,this.settings)){case 5:return(e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=Ra.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,o,i,a,s,c,u,l]=t,d=Oa(Ba(n)),p=$a(o,"month",1,12),f=$a(i,"day",1,31),h=Fa(d,p,f,{hours:a,minutes:s,seconds:c,fractionalMilliseconds:u});return"Z"!=l.toUpperCase()&&h.setTime(h.getTime()-(e=>{const t=e[0];let r=1;if("+"==t)r=1;else{if("-"!=t)throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`);r=-1}return r*(60*Number(e.substring(1,3))+Number(e.substring(4,6)))*60*1e3})(l)),h})(t);case 6:return(e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-7231 date-times must be expressed as strings");let t=Ma.exec(e);if(t){const[e,r,n,o,i,a,s,c]=t;return Fa(Oa(Ba(o)),La(n),$a(r,"day",1,31),{hours:i,minutes:a,seconds:s,fractionalMilliseconds:c})}if(t=Da.exec(e),t){const[e,n,o,i,a,s,c,u]=t;return r=Fa((e=>{const t=(new Date).getUTCFullYear(),r=100*Math.floor(t/100)+Oa(Ba(e));return r<t?r+100:r})(i),La(o),$a(n,"day",1,31),{hours:a,minutes:s,seconds:c,fractionalMilliseconds:u}),r.getTime()-(new Date).getTime()>15768e8?new Date(Date.UTC(r.getUTCFullYear()-100,r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds())):r}var r;if(t=Ua.exec(e),t){const[e,r,n,o,i,a,s,c]=t;return Fa(Oa(Ba(c)),La(r),$a(n.trimLeft(),"day",1,31),{hours:o,minutes:i,seconds:a,fractionalMilliseconds:s})}throw new TypeError("Invalid RFC-7231 date-time value")})(t);case 7:return(e=>{if(null==e)return;let t;if("number"==typeof e)t=e;else if("string"==typeof e)t=(e=>Aa("string"==typeof e?xa(e):e))(e);else{if("object"!=typeof e||1!==e.tag)throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");t=e.value}if(Number.isNaN(t)||t===1/0||t===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*t))})(t);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}if(n.isBigIntegerSchema()&&("number"==typeof t||"string"==typeof t))return BigInt(t);if(n.isBigDecimalSchema()&&null!=t){if(t instanceof Ga)return t;const e=t;return"bigDecimal"===e.type&&"string"in e?new Ga(e.string,e.type):new Ga(String(t),"bigDecimal")}if(n.isNumericSchema()&&"string"==typeof t){switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}return t}if(n.isDocumentSchema()){if(r){const e=Array.isArray(t)?[]:{};for(const[r,o]of Object.entries(t))e[r]=o instanceof Ga?o:this._read(n,o);return e}return structuredClone(t)}return t}}const Ja=String.fromCharCode(925);class Qa{values=new Map;counter=0;stage=0;createReplacer(){if(1===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(2===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(e,t)=>{if(t instanceof Ga){const e=Ja+"nv"+this.counter+++"_"+t.string;return this.values.set(`"${e}"`,t.string),e}if("bigint"==typeof t){const e=t.toString(),r=Ja+"b"+this.counter+++"_"+e;return this.values.set(`"${r}"`,e),r}return t}}replaceInJson(e){if(0===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(2===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,0===this.counter)return e;for(const[t,r]of this.values)e=e.replace(t,r);return e}}class Xa extends Ea{settings;buffer;useReplacer=!1;rootSchema;constructor(e){super(),this.settings=e}write(e,t){this.rootSchema=ta.of(e),this.buffer=this._write(this.rootSchema,t)}writeDiscriminatedDocument(e,t){this.write(e,t),"object"==typeof this.buffer&&(this.buffer.__type=ta.of(e).getName(!0))}flush(){const{rootSchema:e,useReplacer:t}=this;if(this.rootSchema=void 0,this.useReplacer=!1,e?.isStructSchema()||e?.isDocumentSchema()){if(!t)return JSON.stringify(this.buffer);const e=new Qa;return e.replaceInJson(JSON.stringify(this.buffer,e.createReplacer(),0))}return this.buffer}_write(e,t,r){const n=null!==t&&"object"==typeof t,o=ta.of(e);if(n){if(o.isStructSchema()){const e={};for(const[r,n]of function*(e,t){if(e.isUnitSchema())return;const r=e.getSchema();for(let e=0;e<r[4].length;++e){const n=r[4][e],o=r[5][e],i=new ta([o,0],n);(n in t||i.isIdempotencyToken())&&(yield[n,i])}}(o,t)){const i=this._write(n,t[r],o);if(void 0!==i){const t=n.getMergedTraits().jsonName;e[this.settings.jsonName?t??r:r]=i}}return e}if(Array.isArray(t)&&o.isListSchema()){const e=o.getValueSchema(),r=[],n=!!o.getMergedTraits().sparse;for(const o of t)(n||null!=o)&&r.push(this._write(e,o));return r}if(o.isMapSchema()){const e=o.getValueSchema(),r={},n=!!o.getMergedTraits().sparse;for(const[o,i]of Object.entries(t))(n||null!=i)&&(r[o]=this._write(e,i));return r}if(t instanceof Uint8Array&&(o.isBlobSchema()||o.isDocumentSchema()))return o===this.rootSchema?t:(this.serdeContext?.base64Encoder??la)(t);if(t instanceof Date&&(o.isTimestampSchema()||o.isDocumentSchema()))switch(wa(o,this.settings)){case 5:return t.toISOString().replace(".000Z","Z");case 6:return function(e){const t=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),o=e.getUTCDate(),i=e.getUTCHours(),a=e.getUTCMinutes(),s=e.getUTCSeconds(),c=i<10?`0${i}`:`${i}`,u=a<10?`0${a}`:`${a}`,l=s<10?`0${s}`:`${s}`;return`${Na[n]}, ${o<10?`0${o}`:`${o}`} ${ja[r]} ${t} ${c}:${u}:${l} GMT`}(t);case 7:return t.getTime()/1e3;default:return console.warn("Missing timestamp format, using epoch seconds",t),t.getTime()/1e3}t instanceof Ga&&(this.useReplacer=!0)}if(null!==t||!r?.isStructSchema()){if(o.isStringSchema()){if(void 0===t&&o.isIdempotencyToken())return mo();const e=o.getMergedTraits().mediaType;return null!=t&&e&&("application/json"===e||e.endsWith("+json"))?Sa.from(t):t}if("number"==typeof t&&o.isNumericSchema())return Math.abs(t)===1/0||isNaN(t)?String(t):t;if("string"==typeof t&&o.isBlobSchema())return o===this.rootSchema?t:(this.serdeContext?.base64Encoder??la)(t);if("bigint"==typeof t&&(this.useReplacer=!0),o.isDocumentSchema()){if(n){const e=Array.isArray(t)?[]:{};for(const[r,n]of Object.entries(t))n instanceof Ga?(this.useReplacer=!0,e[r]=n):e[r]=this._write(o,n);return e}return structuredClone(t)}return t}}}class Za extends Ea{settings;constructor(e){super(),this.settings=e}createSerializer(){const e=new Xa(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){const e=new Ya(this.settings);return e.setSerdeContext(this.serdeContext),e}}class es extends ga{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:e,serviceTarget:t,awsQueryCompatible:r,jsonCodec:n}){super({defaultNamespace:e}),this.serviceTarget=t,this.codec=n??new Za({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!r,this.mixin=new ba(this.awsQueryCompatible)}async serializeRequest(e,t,r){const n=await super.serializeRequest(e,t,r);return n.path.endsWith("/")||(n.path+="/"),Object.assign(n.headers,{"content-type":`application/x-amz-json-${this.getJsonRpcVersion()}`,"x-amz-target":`${this.serviceTarget}.${e.name}`}),this.awsQueryCompatible&&(n.headers["x-amzn-query-mode"]="true"),"unit"!==Zi(e.input)&&n.body||(n.body="{}"),n}getPayloadCodec(){return this.codec}async handleError(e,t,r,n,o){this.awsQueryCompatible&&this.mixin.setQueryCompatError(n,r);const i=((e,t)=>{const r=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),n=e=>{let t=e;return"number"==typeof t&&(t=t.toString()),t.indexOf(",")>=0&&(t=t.split(",")[0]),t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},o=r(e.headers,"x-amzn-errortype");if(void 0!==o)return n(e.headers[o]);if(t&&"object"==typeof t){const e=r(t,"code");if(e&&void 0!==t[e])return n(t[e]);if(void 0!==t.__type)return n(t.__type)}})(r,n)??"Unknown",{errorSchema:a,errorMetadata:s}=await this.mixin.getErrorSchemaOrThrowBaseException(i,this.options.defaultNamespace,r,n,o,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:void 0),c=ta.of(a),u=n.message??n.Message??"Unknown",l=new(ya.for(a[1]).getErrorCtor(a)??Error)(u),d={};for(const[e,t]of c.structIterator())null!=n[e]&&(d[e]=this.codec.createDeserializer().readObject(t,n[e]));throw this.awsQueryCompatible&&this.mixin.queryCompatOutput(n,d),this.mixin.decorateServiceException(Object.assign(l,s,{$fault:c.getMergedTraits().error,message:u},d),n)}}class ts extends es{constructor({defaultNamespace:e,serviceTarget:t,awsQueryCompatible:r,jsonCodec:n}){super({defaultNamespace:e,serviceTarget:t,awsQueryCompatible:r,jsonCodec:n})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class rs{async sign(e,t,r){return e}}const ns=e=>(new TextEncoder).encode(e);function os(e){let t;t="string"==typeof e?ns(e):e;const r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let o="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let o=e,i=Math.min(e+3,t.length);o<i;o++)r|=t[o]<<8*(i-o-1),n+=8;const i=Math.ceil(n/6);r<<=6*i-n;for(let e=1;e<=i;e++){const t=6*(i-e);o+=Li[(r&63<<t)>>t]}o+="==".slice(0,4-i)}return o}const is=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)},as="endpoints";function ss(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${ss(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(ss).join(", ")})`:JSON.stringify(e,null,2)}class cs extends Error{constructor(e){super(e),this.name="EndpointError"}}const us=(e,t)=>(e=>{const t=e.split("."),r=[];for(const n of t){const t=n.indexOf("[");if(-1!==t){if(n.indexOf("]")!==n.length-1)throw new cs(`Path: '${e}' does not end with ']'`);const o=n.slice(t+1,-1);if(Number.isNaN(parseInt(o)))throw new cs(`Invalid array index: '${o}' in path: '${e}'`);0!==t&&r.push(n.slice(0,t)),r.push(o)}else r.push(n)}return r})(t).reduce((r,n)=>{if("object"!=typeof r)throw new cs(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(r)?r[parseInt(n)]:r[n]},e);var ls;!function(e){e.HTTP="http",e.HTTPS="https"}(ls||(ls={}));const ds={[ls.HTTP]:80,[ls.HTTPS]:443},ps={booleanEquals:(e,t)=>e===t,getAttr:us,isSet:e=>null!=e,isValidHostLabel:yn,not:e=>!e,parseURL:e=>{const t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){const{hostname:t,port:r,protocol:n="",path:o="",query:i={}}=e,a=new URL(`${n}//${t}${r?`:${r}`:""}${o}`);return a.search=Object.entries(i).map(([e,t])=>`${e}=${t}`).join("&"),a}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;const r=t.href,{host:n,hostname:o,pathname:i,protocol:a,search:s}=t;if(s)return null;const c=a.slice(0,-1);if(!Object.values(ls).includes(c))return null;const u=bn(o);return{scheme:c,authority:`${n}${r.includes(`${n}:${ds[c]}`)||"string"==typeof e&&e.includes(`${n}:${ds[c]}`)?`:${ds[c]}`:""}`,path:i,normalizedPath:i.endsWith("/")?i:`${i}/`,isIp:u}},stringEquals:(e,t)=>e===t,substring:(e,t,r,n)=>t>=r||e.length<r?null:n?e.substring(e.length-r,e.length-t):e.substring(t,r),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},fs=(e,t)=>{const r=[],n={...t.endpointParams,...t.referenceRecord};let o=0;for(;o<e.length;){const t=e.indexOf("{",o);if(-1===t){r.push(e.slice(o));break}r.push(e.slice(o,t));const i=e.indexOf("}",t);if(-1===i){r.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[i+1]&&(r.push(e.slice(t+1,i)),o=i+2);const a=e.substring(t+1,i);if(a.includes("#")){const[e,t]=a.split("#");r.push(us(n[e],t))}else r.push(n[a]);o=i+1}return r.join("")},hs=(e,t,r)=>{if("string"==typeof e)return fs(e,r);if(e.fn)return gs.callFunction(e,r);if(e.ref)return(({ref:e},t)=>({...t.endpointParams,...t.referenceRecord}[e]))(e,r);throw new cs(`'${t}': ${String(e)} is not a string, function or reference.`)},ms=({fn:e,argv:t},r)=>{const n=t.map(e=>["boolean","number"].includes(typeof e)?e:gs.evaluateExpression(e,"arg",r)),o=e.split(".");return o[0]in mn&&null!=o[1]?mn[o[0]][o[1]](...n):ps[e](...n)},gs={evaluateExpression:hs,callFunction:ms},ys=({assign:e,...t},r)=>{if(e&&e in r.referenceRecord)throw new cs(`'${e}' is already defined in Reference Record.`);const n=ms(t,r);return r.logger?.debug?.(`${as} evaluateCondition: ${ss(t)} = ${ss(n)}`),{result:""===n||!!n,...null!=e&&{toAssign:{name:e,value:n}}}},vs=(e=[],t)=>{const r={};for(const n of e){const{result:e,toAssign:o}=ys(n,{...t,referenceRecord:{...t.referenceRecord,...r}});if(!e)return{result:e};o&&(r[o.name]=o.value,t.logger?.debug?.(`${as} assign: ${o.name} := ${ss(o.value)}`))}return{result:!0,referenceRecord:r}},bs=(e,t)=>Object.entries(e).reduce((e,[r,n])=>({...e,[r]:n.map(e=>{const n=hs(e,"Header value entry",t);if("string"!=typeof n)throw new cs(`Header '${r}' value '${n}' is not a string`);return n})}),{}),Es=(e,t)=>Object.entries(e).reduce((e,[r,n])=>({...e,[r]:Ss.getEndpointProperty(n,t)}),{}),ws=(e,t)=>{if(Array.isArray(e))return e.map(e=>ws(e,t));switch(typeof e){case"string":return fs(e,t);case"object":if(null===e)throw new cs(`Unexpected endpoint property: ${e}`);return Ss.getEndpointProperties(e,t);case"boolean":return e;default:throw new cs("Unexpected endpoint property type: "+typeof e)}},Ss={getEndpointProperty:ws,getEndpointProperties:Es},As=(e,t)=>{const r=hs(e,"Endpoint URL",t);if("string"==typeof r)try{return new URL(r)}catch(e){throw console.error(`Failed to construct URL with ${r}`,e),e}throw new cs("Endpoint URL must be a string, got "+typeof r)},_s=(e,t)=>{const{conditions:r,endpoint:n}=e,{result:o,referenceRecord:i}=vs(r,t);if(!o)return;const a={...t,referenceRecord:{...t.referenceRecord,...i}},{url:s,properties:c,headers:u}=n;return t.logger?.debug?.(`${as} Resolving endpoint from template: ${ss(n)}`),{...null!=u&&{headers:bs(u,a)},...null!=c&&{properties:Es(c,a)},url:As(s,a)}},Ps=(e,t)=>{const{conditions:r,error:n}=e,{result:o,referenceRecord:i}=vs(r,t);if(o)throw new cs(hs(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...i}}))},Cs=(e,t)=>{for(const r of e)if("endpoint"===r.type){const e=_s(r,t);if(e)return e}else if("error"===r.type)Ps(r,t);else{if("tree"!==r.type)throw new cs(`Unknown endpoint rule: ${r}`);{const e=Is.evaluateTreeRule(r,t);if(e)return e}}throw new cs("Rules evaluation failed")},Is={evaluateRules:Cs,evaluateTreeRule:(e,t)=>{const{conditions:r,rules:n}=e,{result:o,referenceRecord:i}=vs(r,t);if(o)return Is.evaluateRules(n,{...t,referenceRecord:{...t.referenceRecord,...i}})}},xs="required",Os="fn",ks="argv",Ts="ref",Ns=!0,js="isSet",Rs="booleanEquals",Ms="error",Ds="endpoint",Us="tree",Fs="PartitionResult",Ls="getAttr",zs="stringEquals",Vs={[xs]:!1,type:"string"},Hs={[xs]:!0,default:!1,type:"boolean"},$s={[Ts]:"Endpoint"},Ws={[Os]:Rs,[ks]:[{[Ts]:"UseFIPS"},!0]},Bs={[Os]:Rs,[ks]:[{[Ts]:"UseDualStack"},!0]},Ks={},Gs={[Ts]:"Region"},qs={[Os]:Ls,[ks]:[{[Ts]:Fs},"supportsFIPS"]},Ys={[Ts]:Fs},Js={[Os]:Rs,[ks]:[!0,{[Os]:Ls,[ks]:[Ys,"supportsDualStack"]}]},Qs=[Ws],Xs=[Bs],Zs=[Gs],ec={version:"1.0",parameters:{Region:Vs,UseDualStack:Hs,UseFIPS:Hs,Endpoint:Vs},rules:[{conditions:[{[Os]:js,[ks]:[$s]}],rules:[{conditions:Qs,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Ms},{conditions:Xs,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Ms},{endpoint:{url:$s,properties:Ks,headers:Ks},type:Ds}],type:Us},{conditions:[{[Os]:js,[ks]:Zs}],rules:[{conditions:[{[Os]:"aws.partition",[ks]:Zs,assign:Fs}],rules:[{conditions:[Ws,Bs],rules:[{conditions:[{[Os]:Rs,[ks]:[Ns,qs]},Js],rules:[{conditions:[{[Os]:zs,[ks]:[Gs,"us-east-1"]}],endpoint:{url:"https://cognito-idp-fips.us-east-1.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{conditions:[{[Os]:zs,[ks]:[Gs,"us-east-2"]}],endpoint:{url:"https://cognito-idp-fips.us-east-2.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{conditions:[{[Os]:zs,[ks]:[Gs,"us-west-1"]}],endpoint:{url:"https://cognito-idp-fips.us-west-1.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{conditions:[{[Os]:zs,[ks]:[Gs,"us-west-2"]}],endpoint:{url:"https://cognito-idp-fips.us-west-2.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{endpoint:{url:"https://cognito-idp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Ks,headers:Ks},type:Ds}],type:Us},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Ms}],type:Us},{conditions:Qs,rules:[{conditions:[{[Os]:Rs,[ks]:[qs,Ns]}],rules:[{endpoint:{url:"https://cognito-idp-fips.{Region}.{PartitionResult#dnsSuffix}",properties:Ks,headers:Ks},type:Ds}],type:Us},{error:"FIPS is enabled but this partition does not support FIPS",type:Ms}],type:Us},{conditions:Xs,rules:[{conditions:[Js],rules:[{conditions:[{[Os]:zs,[ks]:["aws",{[Os]:Ls,[ks]:[Ys,"name"]}]}],endpoint:{url:"https://cognito-idp.{Region}.amazonaws.com",properties:Ks,headers:Ks},type:Ds},{endpoint:{url:"https://cognito-idp.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Ks,headers:Ks},type:Ds}],type:Us},{error:"DualStack is enabled but this partition does not support DualStack",type:Ms}],type:Us},{endpoint:{url:"https://cognito-idp.{Region}.{PartitionResult#dnsSuffix}",properties:Ks,headers:Ks},type:Ds}],type:Us}],type:Us},{error:"Invalid Configuration: Missing Region",type:Ms}]},tc=new class{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){const r=this.hash(e);if(!1===r)return t();if(!this.data.has(r)){if(this.data.size>this.capacity+10){const e=this.data.keys();let t=0;for(;;){const{value:r,done:n}=e.next();if(this.data.delete(r),n||++t>10)break}}this.data.set(r,t())}return this.data.get(r)}size(){return this.data.size}hash(e){let t="";const{parameters:r}=this;if(0===r.length)return!1;for(const n of r){const r=String(e[n]??"");if(r.includes("|;"))return!1;t+=r+"|;"}return t}}({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),rc=(e,t={})=>tc.get(e,()=>((e,t)=>{const{endpointParams:r,logger:n}=t,{parameters:o,rules:i}=e;t.logger?.debug?.(`${as} Initial EndpointParams: ${ss(r)}`);const a=Object.entries(o).filter(([,e])=>null!=e.default).map(([e,t])=>[e,t.default]);if(a.length>0)for(const[e,t]of a)r[e]=r[e]??t;const s=Object.entries(o).filter(([,e])=>e.required).map(([e])=>e);for(const e of s)if(null==r[e])throw new cs(`Missing required parameter: '${e}'`);const c=Cs(i,{endpointParams:r,logger:n,referenceRecord:{}});return t.logger?.debug?.(`${as} Resolved endpoint: ${ss(c)}`),c})(ec,{endpointParams:e,logger:t.logger}));mn.aws=Sn;const nc=e=>{const t=(({defaultsMode:e}={})=>(()=>{let t,r,n,o=!1;const i=async()=>{r||(r=(async()=>{const t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve((()=>{const e=window?.navigator;if(e?.connection){const{effectiveType:t,rtt:r,downlink:n}=e?.connection;if("string"==typeof t&&"4g"!==t||Number(r)>100||Number(n)<10)return!0}return e?.userAgentData?.mobile||"number"==typeof e?.maxTouchPoints&&e?.maxTouchPoints>1})()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${Bi.join(", ")}, got ${t}`)}})());try{t=await r,n=!0,o=!1}finally{r=void 0}return t};return async e=>(n&&!e?.forceRefresh||(t=await i()),t)})())(e),r=()=>t().then(Hi),n=(e=>({apiVersion:"2016-04-18",base64Decoder:e?.base64Decoder??zi,base64Encoder:e?.base64Encoder??os,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??rc,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??gi,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new Xi},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new rs}],logger:e?.logger??new po,protocol:e?.protocol??new ts({defaultNamespace:"com.amazonaws.cognitoidentityprovider",serviceTarget:"AWSCognitoIdentityProviderService",awsQueryCompatible:!1}),serviceId:e?.serviceId??"Cognito Identity Provider",urlParser:e?.urlParser??Jn,utf8Decoder:e?.utf8Decoder??ns,utf8Encoder:e?.utf8Encoder??is}))(e);return{...n,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Wi,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??xi({serviceId:n.serviceId,clientVersion:"3.952.0"}),maxAttempts:e?.maxAttempts??3,region:e?.region??(()=>Promise.reject("Region is missing")),requestHandler:Di.create(e?.requestHandler??r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||Zn),sha256:e?.sha256??Ii,streamCollector:e?.streamCollector??Vi,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}};var oc;!function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(oc||(oc={}));const ic=(e,t)=>{const r=Object.assign((e=>({setRegion(t){e.region=t},region:()=>e.region}))(e),(e=>Object.assign((e=>{const t=[];for(const r in oc){const n=oc[r];void 0!==e[n]&&t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{addChecksumAlgorithm(e){t.push(e)},checksumAlgorithms:()=>t}})(e),(e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy:()=>e.retryStrategy}))(e)))(e),(e=>({setHttpHandler(t){e.httpHandler=t},httpHandler:()=>e.httpHandler,updateHttpClientConfig(t,r){e.httpHandler?.updateHttpClientConfig(t,r)},httpHandlerConfigs:()=>e.httpHandler.httpHandlerConfigs()}))(e),(e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider,n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex(t=>t.schemeId===e.schemeId);-1===r?t.push(e):t.splice(r,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider:()=>r,setCredentials(e){n=e},credentials:()=>n}})(e));return t.forEach(e=>e.configure(r)),Object.assign(e,{region:r.region()},(n=r,Object.assign((e=>{const t={};return e.checksumAlgorithms().forEach(e=>{t[e.algorithmId()]=e.checksumConstructor()}),t})(n),(e=>{const t={};return t.retryStrategy=e.retryStrategy(),t})(n))),{httpHandler:r.httpHandler()},(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}))(r));var n};class ac extends Io{config;constructor(...[e]){const t=nc(e||{});super(t),this.initConfig=t;const r=(e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"cognito-idp"}))(t),n=(e=>{const{retryStrategy:t,retryMode:r,maxAttempts:n}=e,o=qn(n??3);return Object.assign(e,{maxAttempts:o,retryStrategy:async()=>t||(await qn(r)()===Xn.ADAPTIVE?new lo(o):new uo(o))})})(function(e){const t=(e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t})(e.userAgentAppId??void 0),{customUserAgent:r}=e;return Object.assign(e,{customUserAgent:"string"==typeof r?[[r]]:r,userAgentAppId:async()=>{const r=await t();if(!function(e){return void 0===e||"string"==typeof e&&e.length<=50}(r)){const t="NoOpLogger"!==e.logger?.constructor?.name&&e.logger?e.logger:console;"string"!=typeof r?t?.warn("userAgentAppId must be a string or undefined."):r.length>50&&t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return r}})}(r)),o=(e=>{const t=(e=>{let t,r=e.credentials,n=!!e.credentials;Object.defineProperty(e,"credentials",{set(o){o&&o!==r&&o!==t&&(n=!0),r=o;const i=function(e,{credentials:t,credentialDefaultProvider:r}){let n;return n=t?t?.memoized?t:((e,t,r)=>{if(void 0===e)return;const n="function"!=typeof e?async()=>Promise.resolve(e):e;let o,i,a,s=!1;const c=async e=>{i||(i=n(e));try{o=await i,a=!0,s=!1}finally{i=void 0}return o};return void 0===t?async e=>(a&&!e?.forceRefresh||(o=await c(e)),o):async e=>(a&&!e?.forceRefresh||(o=await c(e)),s?o:r(o)?t(o)?(await c(e),o):o:(s=!0,o))})(t,Oo,ko):r?xo(r(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")},n.memoized=!0,n}(e,{credentials:r,credentialDefaultProvider:e.credentialDefaultProvider}),a=function(e,t){if(t.configBound)return t;const r=async r=>t({...r,callerClientConfig:e});return r.memoized=t.memoized,r.configBound=!0,r}(e,i);n&&!a.attributed?(t=async e=>a(e).then(e=>function(e){return e.$source||(e.$source={}),e.$source.CREDENTIALS_CODE="e",e}(e)),t.memoized=a.memoized,t.configBound=a.configBound,t.attributed=!0):t=a},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=r;const{signingEscapePath:o=!0,systemClockOffset:i=e.systemClockOffset||0,sha256:a}=e;let s;return s=e.signer?xo(e.signer):e.regionInfoProvider?()=>xo(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,r])=>{const{signingRegion:n,signingService:i}=t;e.signingRegion=e.signingRegion||n||r,e.signingName=e.signingName||i||e.serviceId;const s={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:a,uriEscapePath:o};return new(e.signerConstructor||hi)(s)}):async t=>{const r=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await xo(e.region)(),properties:{}},t)).signingRegion,n=t.signingName;e.signingRegion=e.signingRegion||r,e.signingName=e.signingName||n||e.serviceId;const i={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:a,uriEscapePath:o};return new(e.signerConstructor||hi)(i)},Object.assign(e,{systemClockOffset:i,signingEscapePath:o,signer:s})})(e);return Object.assign(t,{authSchemePreference:qn(e.authSchemePreference??[])})})((e=>{const t=e.tls??!0,{endpoint:r,useDualstackEndpoint:n,useFipsEndpoint:o}=e,i=null!=r?async()=>Qn(await qn(r)()):void 0,a=!!r,s=Object.assign(e,{endpoint:i,tls:t,isCustomEndpoint:a,useDualstackEndpoint:qn(n??!1),useFipsEndpoint:qn(o??!1)});let c;return s.serviceConfiguredEndpoint=async()=>(e.serviceId&&!c&&(c=Yn(e.serviceId)),c),s})((e=>{const{region:t,useFipsEndpoint:r}=e;if(!t)throw new Error("Region is missing");return Object.assign(e,{region:async()=>{const e=(e=>jn(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e)("function"==typeof t?await t():t);return((e,t=yn)=>{if(Nn.has(e)||t(e))Nn.add(e);else{if("*"!==e)throw new Error(`Region not accepted: region="${e}" is not a valid hostname component.`);console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.')}})(e),e},useFipsEndpoint:async()=>{const e="string"==typeof t?t:await t();return!!jn(e)||("function"!=typeof r?Promise.resolve(!!r):r())}})})(n))),i=ic(o,e?.extensions||[]);var a;this.config=i,this.middlewareStack.use((a=this.config,{applyToStack:e=>{e.add((e=>(t,r)=>async n=>{const{operationSchema:o}=Mn(r),[,i,a,s,c,u]=o??[],l=r.endpointV2?.url&&e.urlParser?async()=>e.urlParser(r.endpointV2.url):e.endpoint,d=await e.protocol.serializeRequest(Hn(i,a,s,c,u),n.input,{...e,...r,endpoint:l});return t({...n,request:d})})(a),Bn),e.add((e=>(t,r)=>async n=>{const{response:o}=await t(n),{operationSchema:i}=Mn(r),[,a,s,c,u,l]=i??[];try{return{response:o,output:await e.protocol.deserializeResponse(Hn(a,s,c,u,l),{...e,...r},o)}}catch(e){if(Object.defineProperty(e,"$response",{value:o,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in e)){const t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{e.message+="\n "+t}catch(e){r.logger&&"NoOpLogger"!==r.logger?.constructor?.name?r.logger?.warn?.(t):console.warn(t)}void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(Vn.isInstance(o)){const{headers:t={}}=o,r=Object.entries(t);e.$metadata={httpStatusCode:o.statusCode,requestId:$n(/^x-[\w-]+-request-?id$/,r),extendedRequestId:$n(/^x-[\w-]+-id-2$/,r),cfId:$n(/^x-[\w-]+-cf-id$/,r)}}}catch(e){}}throw e}})(a),Wn),a.protocol.setSerdeContext(a)}})),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((e=>(t,r)=>async n=>{const{request:o}=n;if(!dn.isInstance(o))return t(n);const{headers:i}=o,a=r?.userAgent?.map(kn)||[],s=(await e.defaultUserAgentProvider()).map(kn);await async function(e,t,r){const n=r.request;if("rpc-v2-cbor"===n?.headers?.["smithy-protocol"]&&An(e,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof t.retryStrategy){const r=await t.retryStrategy();"function"==typeof r.acquireInitialRetryToken?r.constructor?.name?.includes("Adaptive")?An(e,"RETRY_MODE_ADAPTIVE","F"):An(e,"RETRY_MODE_STANDARD","E"):An(e,"RETRY_MODE_LEGACY","D")}if("function"==typeof t.accountIdEndpointMode){const r=e.endpointV2;switch(String(r?.url?.hostname).match(Pn)&&An(e,"ACCOUNT_ID_ENDPOINT","O"),await(t.accountIdEndpointMode?.())){case"disabled":An(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":An(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":An(e,"ACCOUNT_ID_MODE_REQUIRED","R")}}const o=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(o?.$source){const t=o;t.accountId&&An(e,"RESOLVED_ACCOUNT_ID","T");for(const[r,n]of Object.entries(t.$source??{}))An(e,r,n)}}(r,e,n);const c=r;s.push(`m/${function(e){let t="";for(const r in e){const n=e[r];if(!(t.length+n.length+1<=1024))break;t.length?t+=","+n:t+=n}return t}(Object.assign({},r.__smithy_context?.features,c.__aws_sdk_context?.features))}`);const u=e?.customUserAgent?.map(kn)||[],l=await e.userAgentAppId();l&&s.push(kn(["app",`${l}`]));const d=[].concat([...s,...a,...u]).join(" "),p=[...s.filter(e=>e.startsWith("aws-sdk-")),...u].join(" ");return"browser"!==e.runtime?(p&&(i[In]=i[In]?`${i[Cn]} ${p}`:p),i[Cn]=d):i[In]=d,t({...n,request:o})})(e),Tn)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((e=>(t,r)=>async n=>{let o=await e.retryStrategy();const i=await e.maxAttempts();if(!(e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess)(o))return o?.mode&&(r.userAgent=[...r.userAgent||[],["cfg/retry-mode",o.mode]]),o.retry(t,n);{let e=await o.acquireInitialRetryToken(r.partition_id),a=new Error,s=0,c=0;const{request:u}=n,l=dn.isInstance(u);for(l&&(u.headers["amz-sdk-invocation-id"]=mo());;)try{l&&(u.headers["amz-sdk-request"]=`attempt=${s+1}; max=${i}`);const{response:r,output:a}=await t(n);return o.recordSuccess(e),a.$metadata.attempts=s+1,a.$metadata.totalRetryDelay=c,{response:r,output:a}}catch(t){const n=vo(t);if(a=yo(t),l&&go(u))throw(r.logger instanceof po?console:r.logger)?.warn("An error was encountered in a non-retryable streaming request."),a;try{e=await o.refreshRetryTokenForRetry(e,n)}catch(e){throw a.$metadata||(a.$metadata={}),a.$metadata.attempts=s+1,a.$metadata.totalRetryDelay=c,a}s=e.getRetryCount();const i=e.getRetryDelay();c+=i,await new Promise(e=>setTimeout(e,i))}}})(e),Eo)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{const n=t.request;if(dn.isInstance(n)){const{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map(e=>e.toLowerCase()).indexOf(Kn))try{const t=r(e);n.headers={...n.headers,[Kn]:String(t)}}catch(e){}}return e({...t,request:n})}),Gn)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((e=>t=>async r=>{if(!dn.isInstance(r.request))return t(r);const{request:n}=r,{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!n.headers[":authority"])delete n.headers.host,n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"");else if(!n.headers.host){let e=n.hostname;null!=n.port&&(e+=`:${n.port}`),n.headers.host=e}return t(r)})(e),pn)}}))(this.config)),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add((e,t)=>async r=>{try{const n=await e(r),{clientName:o,commandName:i,logger:a,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:u}=s,l=c??t.inputFilterSensitiveLog,d=u??t.outputFilterSensitiveLog,{$metadata:p,...f}=n.output;return a?.info?.({clientName:o,commandName:i,input:l(r.input),output:d(f),metadata:p}),n}catch(e){const{clientName:n,commandName:o,logger:i,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:s}=a,c=s??t.inputFilterSensitiveLog;throw i?.error?.({clientName:n,commandName:o,input:c(r.input),error:e,metadata:e.$metadata}),e}},fn)}})),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add(e=>async t=>e(t),hn)}})),this.middlewareStack.use(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(((e,t)=>(r,n)=>async o=>{const i=((e,t)=>{if(!t||0===t.length)return e;const r=[];for(const n of t)for(const t of e)t.schemeId.split("#")[1]===n&&r.push(t);for(const t of e)r.find(({schemeId:e})=>e===t.schemeId)||r.push(t);return r})(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,n,o.input)),e.authSchemePreference?await e.authSchemePreference():[]),a=function(e){const t=new Map;for(const r of e)t.set(r.schemeId,r);return t}(e.httpAuthSchemes),s=Mn(n),c=[];for(const r of i){const o=a.get(r.schemeId);if(!o){c.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}const i=o.identityProvider(await t.identityProviderConfigProvider(e));if(!i){c.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:u={},signingProperties:l={}}=r.propertiesExtractor?.(e,n)||{};r.identityProperties=Object.assign(r.identityProperties||{},u),r.signingProperties=Object.assign(r.signingProperties||{},l),s.selectedHttpAuthScheme={httpAuthOption:r,identity:await i(r.identityProperties),signer:o.signer};break}if(!s.selectedHttpAuthScheme)throw new Error(c.join("\n"));return r(o)})(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),Dn)}}))(this.config,{httpAuthSchemeParametersProvider:mi,identityProviderConfigProvider:async e=>new Un({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use((this.config,{applyToStack:e=>{e.addRelativeTo((e,t)=>async r=>{if(!dn.isInstance(r.request))return e(r);const n=Mn(t).selectedHttpAuthScheme;if(!n)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:o={}},identity:i,signer:a}=n,s=await e({...r,request:await a.sign(r.request,i,o)}).catch((a.errorHandler||Fn)(o));return(a.successHandler||Ln)(s.response,o),s},zn)}}))}destroy(){super.destroy()}}const sc=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,cc=/(\d+\.){3}\d+/,uc=/\.\./,lc=(e,t,r,n=!1)=>{const o=async()=>{let o;if(n){const n=r.clientContextParams,i=n?.[e];o=i??r[e]??r[t]}else o=r[e]??r[t];return"function"==typeof o?o():o};return"credentialScope"===e||"CredentialScope"===t?async()=>{const e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{const e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{if(!1===r.isCustomEndpoint)return;const e=await o();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){const{protocol:t,hostname:r,port:n,path:o}=e;return`${t}//${r}${n?":"+n:""}${o}`}}return e}:o},dc=async(e,t,r)=>{const n={},o=t?.getEndpointParameterInstructions?.()||{};for(const[t,i]of Object.entries(o))switch(i.type){case"staticContextParams":n[t]=i.value;break;case"contextParams":n[t]=e[i.name];break;case"clientContextParams":case"builtInParams":n[t]=await lc(i.name,t,r,"builtInParams"!==i.type)();break;case"operationContextParams":n[t]=i.get(e);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(i))}return 0===Object.keys(o).length&&Object.assign(n,r),"s3"===String(r.serviceId).toLowerCase()&&await(async e=>{const t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),(e=>{const[t,r,n,,,o]=e.split(":"),i="arn"===t&&e.split(":").length>=6,a=Boolean(i&&r&&n&&o);if(i&&!a)throw new Error(`Invalid ARN: ${e} was an invalid ARN.`);return a})(t)){if(!0===e.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else r=t,(!sc.test(r)||cc.test(r)||uc.test(r)||-1!==t.indexOf(".")&&!String(e.Endpoint).startsWith("http:")||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);var r;return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e})(n),n},pc={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},fc=(e,t)=>({applyToStack:r=>{r.addRelativeTo((({config:e,instructions:t})=>(r,n)=>async o=>{e.isCustomEndpoint&&function(e){e.__smithy_context?e.__smithy_context.features||(e.__smithy_context.features={}):e.__smithy_context={features:{}},e.__smithy_context.features.ENDPOINT_OVERRIDE="N"}(n);const i=await(async(e,t,r,n)=>{if(!r.isCustomEndpoint){let e;e=r.serviceConfiguredEndpoint?await r.serviceConfiguredEndpoint():await Yn(r.serviceId),e&&(r.endpoint=()=>Promise.resolve(Qn(e)),r.isCustomEndpoint=!0)}const o=await dc(e,t,r);if("function"!=typeof r.endpointProvider)throw new Error("config.endpointProvider is not set.");return r.endpointProvider(o,n)})(o.input,{getEndpointParameterInstructions:()=>t},{...e},n);n.endpointV2=i,n.authSchemes=i.properties?.authSchemes;const a=n.authSchemes?.[0];if(a){n.signing_region=a.signingRegion,n.signing_service=a.signingName;const e=Mn(n),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:a.signingRegion,signingRegion:a.signingRegion,signing_service:a.signingName,signingName:a.signingName,signingRegionSet:a.signingRegionSet},a.properties))}return r({...o})})({config:e,instructions:t}),pc)}}),hc=e=>"function"==typeof e?e():e;function mc(e){if("object"==typeof e)return e;e|=0;const t={};let r=0;for(const n of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])1==(e>>r++&1)&&(t[n]=1);return t}class gc{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=gc.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(e,t){this.ref=e,this.memberName=t;const r=[];let n=e,o=e;for(this._isMemberSchema=!1;vc(n);)r.push(n[1]),n=n[0],o=hc(n),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){const t=r[e];Object.assign(this.memberTraits,mc(t))}}else this.memberTraits=0;if(o instanceof gc){const e=this.memberTraits;return Object.assign(this,o),this.memberTraits=Object.assign({},e,o.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,void(this.memberName=t??o.memberName)}if(this.schema=hc(o),bc(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(o),this.traits=0),this._isMemberSchema&&!t)throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){const t=this.prototype.isPrototypeOf(e);return t||"object"!=typeof e||null===e?t:e.symbol===this.symbol}static of(e){const t=hc(e);if(t instanceof gc)return t;if(vc(t)){const[r,n]=t;if(r instanceof gc)return Object.assign(r.getMergedTraits(),mc(n)),r;throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(e,null,2)}.`)}return new gc(t)}getSchema(){const e=this.schema;return 0===e[0]?e[4]:e}getName(e=!1){const{name:t}=this;return!e&&t&&t.includes("#")?t.split("#")[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const e=this.getSchema();return"number"==typeof e?e>=64&&e<128:1===e[0]}isMapSchema(){const e=this.getSchema();return"number"==typeof e?e>=128&&e<=255:2===e[0]}isStructSchema(){const e=this.getSchema();return 3===e[0]||-3===e[0]}isBlobSchema(){const e=this.getSchema();return 21===e||42===e}isTimestampSchema(){const e=this.getSchema();return"number"==typeof e&&e>=4&&e<=7}isUnitSchema(){return"unit"===this.getSchema()}isDocumentSchema(){return 15===this.getSchema()}isStringSchema(){return 0===this.getSchema()}isBooleanSchema(){return 2===this.getSchema()}isNumericSchema(){return 1===this.getSchema()}isBigIntegerSchema(){return 17===this.getSchema()}isBigDecimalSchema(){return 19===this.getSchema()}isStreaming(){const{streaming:e}=this.getMergedTraits();return!!e||42===this.getSchema()}isIdempotencyToken(){const e=e=>!(4&~e&&!e?.idempotencyToken),{normalizedTraits:t,traits:r,memberTraits:n}=this;return e(t)||e(r)||e(n)}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return mc(this.memberTraits)}getOwnTraits(){return mc(this.traits)}getKeySchema(){const[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);const r=this.getSchema();return yc([e?15:r[4]??0,0],"key")}getValueSchema(){const e=this.getSchema(),[t,r,n]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],o="number"==typeof e?63&e:e&&"object"==typeof e&&(r||n)?e[3+e[0]]:t?15:void 0;if(null!=o)return yc([o,0],r?"value":"member");throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){const t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){const r=t[4].indexOf(e),n=t[5][r];return yc(vc(n)?n:[n,0],e)}if(this.isDocumentSchema())return yc([15,0],e);throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no no member=${e}.`)}getMemberSchemas(){const e={};try{for(const[t,r]of this.structIterator())e[t]=r}catch(e){}return e}getEventStreamMember(){if(this.isStructSchema())for(const[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e;return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");const e=this.getSchema();for(let t=0;t<e[4].length;++t)yield[e[4][t],yc([e[5][t],0],e[4][t])]}}function yc(e,t){return e instanceof gc?Object.assign(e,{memberName:t,_isMemberSchema:!0}):new gc(e,t)}const vc=e=>Array.isArray(e)&&2===e.length,bc=e=>Array.isArray(e)&&e.length>=5,Ec="***SensitiveInformation***";function wc(e,t){if(null==t)return t;const r=gc.of(e);if(r.getMergedTraits().sensitive)return Ec;if(r.isListSchema()){if(r.getValueSchema().getMergedTraits().sensitive)return Ec}else if(r.isMapSchema()){if(r.getKeySchema().getMergedTraits().sensitive||r.getValueSchema().getMergedTraits().sensitive)return Ec}else if(r.isStructSchema()&&"object"==typeof t){const e=t,n={};for(const[t,o]of r.structIterator())null!=e[t]&&(n[t]=wc(o,e[t]));return n}return t}class Sc{middlewareStack=_o();schema;static classBuilder(){return new Ac}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:o,commandName:i,inputFilterSensitiveLog:a,outputFilterSensitiveLog:s,smithyContext:c,additionalContext:u,CommandCtor:l}){for(const o of n.bind(this)(l,e,t,r))this.middlewareStack.use(o);const d=e.concat(this.middlewareStack),{logger:p}=t,f={logger:p,clientName:o,commandName:i,inputFilterSensitiveLog:a,outputFilterSensitiveLog:s,[Rn]:{commandInstance:this,...c},...u},{requestHandler:h}=t;return d.resolve(e=>h.handle(e.request,r||{}),f)}}class Ac{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){const e=this;let t;return t=class extends Sc{input;static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(r,n,o){const i=e._operationSchema,a=i?.[4]??i?.input,s=i?.[5]??i?.output;return this.resolveMiddlewareWithContext(r,n,o,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(i?wc.bind(null,a):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(i?wc.bind(null,s):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}serialize=e._serializer;deserialize=e._deserializer}}}class _c{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,r=new Map){this.namespace=e,this.schemas=t,this.exceptions=r}static for(e){return _c.registries.has(e)||_c.registries.set(e,new _c(e)),_c.registries.get(e)}register(e,t){const r=this.normalizeShapeId(e);_c.for(r.split("#")[0]).schemas.set(r,t)}getSchema(e){const t=this.normalizeShapeId(e);if(!this.schemas.has(t))throw new Error(`@smithy/core/schema - schema not found for ${t}`);return this.schemas.get(t)}registerError(e,t){const r=e,n=_c.for(r[1]);n.schemas.set(r[1]+"#"+r[2],r),n.exceptions.set(r,t)}getErrorCtor(e){const t=e;return _c.for(t[1]).exceptions.get(t)}getBaseException(){for(const e of this.exceptions.keys())if(Array.isArray(e)){const[,t,r]=e,n=t+"#"+r;if(n.startsWith("smithy.ts.sdk.synthetic.")&&n.endsWith("ServiceException"))return e}}find(e){return[...this.schemas.values()].find(e)}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes("#")?e:this.namespace+"#"+e}}class Pc extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(e){if(!e)return!1;const t=e;return Pc.prototype.isPrototypeOf(t)||Boolean(t.$fault)&&Boolean(t.$metadata)&&("client"===t.$fault||"server"===t.$fault)}static[Symbol.hasInstance](e){if(!e)return!1;const t=e;return this===Pc?Pc.isInstance(e):!!Pc.isInstance(e)&&(t.name&&this.name?this.prototype.isPrototypeOf(e)||t.name===this.name:this.prototype.isPrototypeOf(e))}}class Cc extends Pc{constructor(e){super(e),Object.setPrototypeOf(this,Cc.prototype)}}class Ic extends Cc{name="InternalErrorException";$fault="server";constructor(e){super({name:"InternalErrorException",$fault:"server",...e}),Object.setPrototypeOf(this,Ic.prototype)}}class xc extends Cc{name="InvalidParameterException";$fault="client";reasonCode;constructor(e){super({name:"InvalidParameterException",$fault:"client",...e}),Object.setPrototypeOf(this,xc.prototype),this.reasonCode=e.reasonCode}}class Oc extends Cc{name="NotAuthorizedException";$fault="client";constructor(e){super({name:"NotAuthorizedException",$fault:"client",...e}),Object.setPrototypeOf(this,Oc.prototype)}}class kc extends Cc{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,kc.prototype)}}class Tc extends Cc{name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e}),Object.setPrototypeOf(this,Tc.prototype)}}class Nc extends Cc{name="UserImportInProgressException";$fault="client";constructor(e){super({name:"UserImportInProgressException",$fault:"client",...e}),Object.setPrototypeOf(this,Nc.prototype)}}class jc extends Cc{name="UserNotFoundException";$fault="client";constructor(e){super({name:"UserNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,jc.prototype)}}class Rc extends Cc{name="InvalidLambdaResponseException";$fault="client";constructor(e){super({name:"InvalidLambdaResponseException",$fault:"client",...e}),Object.setPrototypeOf(this,Rc.prototype)}}class Mc extends Cc{name="LimitExceededException";$fault="client";constructor(e){super({name:"LimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Mc.prototype)}}class Dc extends Cc{name="TooManyFailedAttemptsException";$fault="client";constructor(e){super({name:"TooManyFailedAttemptsException",$fault:"client",...e}),Object.setPrototypeOf(this,Dc.prototype)}}class Uc extends Cc{name="UnexpectedLambdaException";$fault="client";constructor(e){super({name:"UnexpectedLambdaException",$fault:"client",...e}),Object.setPrototypeOf(this,Uc.prototype)}}class Fc extends Cc{name="UserLambdaValidationException";$fault="client";constructor(e){super({name:"UserLambdaValidationException",$fault:"client",...e}),Object.setPrototypeOf(this,Fc.prototype)}}class Lc extends Cc{name="CodeDeliveryFailureException";$fault="client";constructor(e){super({name:"CodeDeliveryFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,Lc.prototype)}}class zc extends Cc{name="InvalidPasswordException";$fault="client";constructor(e){super({name:"InvalidPasswordException",$fault:"client",...e}),Object.setPrototypeOf(this,zc.prototype)}}class Vc extends Cc{name="InvalidSmsRoleAccessPolicyException";$fault="client";constructor(e){super({name:"InvalidSmsRoleAccessPolicyException",$fault:"client",...e}),Object.setPrototypeOf(this,Vc.prototype)}}class Hc extends Cc{name="InvalidSmsRoleTrustRelationshipException";$fault="client";constructor(e){super({name:"InvalidSmsRoleTrustRelationshipException",$fault:"client",...e}),Object.setPrototypeOf(this,Hc.prototype)}}class $c extends Cc{name="PreconditionNotMetException";$fault="client";constructor(e){super({name:"PreconditionNotMetException",$fault:"client",...e}),Object.setPrototypeOf(this,$c.prototype)}}class Wc extends Cc{name="UnsupportedUserStateException";$fault="client";constructor(e){super({name:"UnsupportedUserStateException",$fault:"client",...e}),Object.setPrototypeOf(this,Wc.prototype)}}class Bc extends Cc{name="UsernameExistsException";$fault="client";constructor(e){super({name:"UsernameExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,Bc.prototype)}}class Kc extends Cc{name="AliasExistsException";$fault="client";constructor(e){super({name:"AliasExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,Kc.prototype)}}class Gc extends Cc{name="InvalidUserPoolConfigurationException";$fault="client";constructor(e){super({name:"InvalidUserPoolConfigurationException",$fault:"client",...e}),Object.setPrototypeOf(this,Gc.prototype)}}class qc extends Cc{name="InvalidEmailRoleAccessPolicyException";$fault="client";constructor(e){super({name:"InvalidEmailRoleAccessPolicyException",$fault:"client",...e}),Object.setPrototypeOf(this,qc.prototype)}}class Yc extends Cc{name="MFAMethodNotFoundException";$fault="client";constructor(e){super({name:"MFAMethodNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,Yc.prototype)}}class Jc extends Cc{name="PasswordResetRequiredException";$fault="client";constructor(e){super({name:"PasswordResetRequiredException",$fault:"client",...e}),Object.setPrototypeOf(this,Jc.prototype)}}class Qc extends Cc{name="UnsupportedOperationException";$fault="client";constructor(e){super({name:"UnsupportedOperationException",$fault:"client",...e}),Object.setPrototypeOf(this,Qc.prototype)}}class Xc extends Cc{name="UserNotConfirmedException";$fault="client";constructor(e){super({name:"UserNotConfirmedException",$fault:"client",...e}),Object.setPrototypeOf(this,Xc.prototype)}}class Zc extends Cc{name="UserPoolAddOnNotEnabledException";$fault="client";constructor(e){super({name:"UserPoolAddOnNotEnabledException",$fault:"client",...e}),Object.setPrototypeOf(this,Zc.prototype)}}class eu extends Cc{name="CodeMismatchException";$fault="client";constructor(e){super({name:"CodeMismatchException",$fault:"client",...e}),Object.setPrototypeOf(this,eu.prototype)}}class tu extends Cc{name="ExpiredCodeException";$fault="client";constructor(e){super({name:"ExpiredCodeException",$fault:"client",...e}),Object.setPrototypeOf(this,tu.prototype)}}class ru extends Cc{name="PasswordHistoryPolicyViolationException";$fault="client";constructor(e){super({name:"PasswordHistoryPolicyViolationException",$fault:"client",...e}),Object.setPrototypeOf(this,ru.prototype)}}class nu extends Cc{name="SoftwareTokenMFANotFoundException";$fault="client";constructor(e){super({name:"SoftwareTokenMFANotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,nu.prototype)}}class ou extends Cc{name="ConcurrentModificationException";$fault="client";constructor(e){super({name:"ConcurrentModificationException",$fault:"client",...e}),Object.setPrototypeOf(this,ou.prototype)}}class iu extends Cc{name="ForbiddenException";$fault="client";constructor(e){super({name:"ForbiddenException",$fault:"client",...e}),Object.setPrototypeOf(this,iu.prototype)}}class au extends Cc{name="WebAuthnChallengeNotFoundException";$fault="client";constructor(e){super({name:"WebAuthnChallengeNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,au.prototype)}}class su extends Cc{name="WebAuthnClientMismatchException";$fault="client";constructor(e){super({name:"WebAuthnClientMismatchException",$fault:"client",...e}),Object.setPrototypeOf(this,su.prototype)}}class cu extends Cc{name="WebAuthnCredentialNotSupportedException";$fault="client";constructor(e){super({name:"WebAuthnCredentialNotSupportedException",$fault:"client",...e}),Object.setPrototypeOf(this,cu.prototype)}}class uu extends Cc{name="WebAuthnNotEnabledException";$fault="client";constructor(e){super({name:"WebAuthnNotEnabledException",$fault:"client",...e}),Object.setPrototypeOf(this,uu.prototype)}}class lu extends Cc{name="WebAuthnOriginNotAllowedException";$fault="client";constructor(e){super({name:"WebAuthnOriginNotAllowedException",$fault:"client",...e}),Object.setPrototypeOf(this,lu.prototype)}}class du extends Cc{name="WebAuthnRelyingPartyMismatchException";$fault="client";constructor(e){super({name:"WebAuthnRelyingPartyMismatchException",$fault:"client",...e}),Object.setPrototypeOf(this,du.prototype)}}class pu extends Cc{name="DeviceKeyExistsException";$fault="client";constructor(e){super({name:"DeviceKeyExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,pu.prototype)}}class fu extends Cc{name="GroupExistsException";$fault="client";constructor(e){super({name:"GroupExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,fu.prototype)}}class hu extends Cc{name="DuplicateProviderException";$fault="client";constructor(e){super({name:"DuplicateProviderException",$fault:"client",...e}),Object.setPrototypeOf(this,hu.prototype)}}class mu extends Cc{name="ManagedLoginBrandingExistsException";$fault="client";constructor(e){super({name:"ManagedLoginBrandingExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,mu.prototype)}}class gu extends Cc{name="TermsExistsException";$fault="client";constructor(e){super({name:"TermsExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,gu.prototype)}}class yu extends Cc{name="FeatureUnavailableInTierException";$fault="client";constructor(e){super({name:"FeatureUnavailableInTierException",$fault:"client",...e}),Object.setPrototypeOf(this,yu.prototype)}}class vu extends Cc{name="TierChangeNotAllowedException";$fault="client";constructor(e){super({name:"TierChangeNotAllowedException",$fault:"client",...e}),Object.setPrototypeOf(this,vu.prototype)}}class bu extends Cc{name="UserPoolTaggingException";$fault="client";constructor(e){super({name:"UserPoolTaggingException",$fault:"client",...e}),Object.setPrototypeOf(this,bu.prototype)}}class Eu extends Cc{name="InvalidOAuthFlowException";$fault="client";constructor(e){super({name:"InvalidOAuthFlowException",$fault:"client",...e}),Object.setPrototypeOf(this,Eu.prototype)}}class wu extends Cc{name="ScopeDoesNotExistException";$fault="client";constructor(e){super({name:"ScopeDoesNotExistException",$fault:"client",...e}),Object.setPrototypeOf(this,wu.prototype)}}class Su extends Cc{name="UnsupportedIdentityProviderException";$fault="client";constructor(e){super({name:"UnsupportedIdentityProviderException",$fault:"client",...e}),Object.setPrototypeOf(this,Su.prototype)}}class Au extends Cc{name="RefreshTokenReuseException";$fault="client";constructor(e){super({name:"RefreshTokenReuseException",$fault:"client",...e}),Object.setPrototypeOf(this,Au.prototype)}}class _u extends Cc{name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e}),Object.setPrototypeOf(this,_u.prototype)}}class Pu extends Cc{name="UnsupportedTokenTypeException";$fault="client";constructor(e){super({name:"UnsupportedTokenTypeException",$fault:"client",...e}),Object.setPrototypeOf(this,Pu.prototype)}}class Cu extends Cc{name="WebAuthnConfigurationMissingException";$fault="client";constructor(e){super({name:"WebAuthnConfigurationMissingException",$fault:"client",...e}),Object.setPrototypeOf(this,Cu.prototype)}}class Iu extends Cc{name="EnableSoftwareTokenMFAException";$fault="client";constructor(e){super({name:"EnableSoftwareTokenMFAException",$fault:"client",...e}),Object.setPrototypeOf(this,Iu.prototype)}}const xu="NextToken",Ou="UserPoolId",ku="client",Tu="error",Nu="httpError",ju="message",Ru="smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentityprovider",Mu="com.amazonaws.cognitoidentityprovider";var Du=[-3,Mu,"AliasExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Du,Kc);var Uu=[-3,Mu,"CodeDeliveryFailureException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Uu,Lc);var Fu=[-3,Mu,"CodeMismatchException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Fu,eu);var Lu=[-3,Mu,"ConcurrentModificationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Lu,ou);var zu=[-3,Mu,"DeviceKeyExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(zu,pu);var Vu=[-3,Mu,"DuplicateProviderException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Vu,hu);var Hu=[-3,Mu,"EnableSoftwareTokenMFAException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Hu,Iu);var $u=[-3,Mu,"ExpiredCodeException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError($u,tu);var Wu=[-3,Mu,"FeatureUnavailableInTierException",{[Tu]:ku,[Nu]:403},[ju],[0]];_c.for(Mu).registerError(Wu,yu);var Bu=[-3,Mu,"ForbiddenException",{[Tu]:ku,[Nu]:403},[ju],[0]];_c.for(Mu).registerError(Bu,iu);var Ku=[-3,Mu,"GroupExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ku,fu);var Gu=[3,Mu,"GroupType",0,["GroupName",Ou,"Description","RoleArn","Precedence","LastModifiedDate","CreationDate"],[0,0,0,0,1,4,4]],qu=[-3,Mu,"InternalErrorException",{[Tu]:"server"},[ju],[0]];_c.for(Mu).registerError(qu,Ic);var Yu=[-3,Mu,"InvalidEmailRoleAccessPolicyException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Yu,qc);var Ju=[-3,Mu,"InvalidLambdaResponseException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ju,Rc);var Qu=[-3,Mu,"InvalidOAuthFlowException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Qu,Eu);var Xu=[-3,Mu,"InvalidParameterException",{[Tu]:ku,[Nu]:400},[ju,"reasonCode"],[0,0]];_c.for(Mu).registerError(Xu,xc);var Zu=[-3,Mu,"InvalidPasswordException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Zu,zc);var el=[-3,Mu,"InvalidSmsRoleAccessPolicyException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(el,Vc);var tl=[-3,Mu,"InvalidSmsRoleTrustRelationshipException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(tl,Hc);var rl=[-3,Mu,"InvalidUserPoolConfigurationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(rl,Gc);var nl=[-3,Mu,"LimitExceededException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(nl,Mc);var ol=[3,Mu,"ListGroupsRequest",0,[Ou,"Limit",xu],[0,1,0]],il=[3,Mu,"ListGroupsResponse",0,["Groups",xu],[()=>Vl,0]],al=[-3,Mu,"ManagedLoginBrandingExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(al,mu);var sl=[-3,Mu,"MFAMethodNotFoundException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(sl,Yc);var cl=[-3,Mu,"NotAuthorizedException",{[Tu]:ku,[Nu]:403},[ju],[0]];_c.for(Mu).registerError(cl,Oc);var ul=[-3,Mu,"PasswordHistoryPolicyViolationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(ul,ru);var ll=[-3,Mu,"PasswordResetRequiredException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(ll,Jc);var dl=[-3,Mu,"PreconditionNotMetException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(dl,$c);var pl=[-3,Mu,"RefreshTokenReuseException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(pl,Au);var fl=[-3,Mu,"ResourceNotFoundException",{[Tu]:ku,[Nu]:404},[ju],[0]];_c.for(Mu).registerError(fl,kc);var hl=[-3,Mu,"ScopeDoesNotExistException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(hl,wu);var ml=[-3,Mu,"SoftwareTokenMFANotFoundException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(ml,nu);var gl=[-3,Mu,"TermsExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(gl,gu);var yl=[-3,Mu,"TierChangeNotAllowedException",{[Tu]:ku,[Nu]:403},[ju],[0]];_c.for(Mu).registerError(yl,vu);var vl=[-3,Mu,"TooManyFailedAttemptsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(vl,Dc);var bl=[-3,Mu,"TooManyRequestsException",{[Tu]:ku,[Nu]:429},[ju],[0]];_c.for(Mu).registerError(bl,Tc);var El=[-3,Mu,"UnauthorizedException",{[Tu]:ku,[Nu]:401},[ju],[0]];_c.for(Mu).registerError(El,_u);var wl=[-3,Mu,"UnexpectedLambdaException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(wl,Uc);var Sl=[-3,Mu,"UnsupportedIdentityProviderException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Sl,Su);var Al=[-3,Mu,"UnsupportedOperationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Al,Qc);var _l=[-3,Mu,"UnsupportedTokenTypeException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(_l,Pu);var Pl=[-3,Mu,"UnsupportedUserStateException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Pl,Wc);var Cl=[-3,Mu,"UserImportInProgressException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Cl,Nc);var Il=[-3,Mu,"UserLambdaValidationException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Il,Fc);var xl=[-3,Mu,"UsernameExistsException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(xl,Bc);var Ol=[-3,Mu,"UserNotConfirmedException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ol,Xc);var kl=[-3,Mu,"UserNotFoundException",{[Tu]:ku,[Nu]:404},[ju],[0]];_c.for(Mu).registerError(kl,jc);var Tl=[-3,Mu,"UserPoolAddOnNotEnabledException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Tl,Zc);var Nl=[-3,Mu,"UserPoolTaggingException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Nl,bu);var jl=[-3,Mu,"WebAuthnChallengeNotFoundException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(jl,au);var Rl=[-3,Mu,"WebAuthnClientMismatchException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Rl,su);var Ml=[-3,Mu,"WebAuthnConfigurationMissingException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ml,Cu);var Dl=[-3,Mu,"WebAuthnCredentialNotSupportedException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Dl,cu);var Ul=[-3,Mu,"WebAuthnNotEnabledException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ul,uu);var Fl=[-3,Mu,"WebAuthnOriginNotAllowedException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Fl,lu);var Ll=[-3,Mu,"WebAuthnRelyingPartyMismatchException",{[Tu]:ku,[Nu]:400},[ju],[0]];_c.for(Mu).registerError(Ll,du);var zl=[-3,Ru,"CognitoIdentityProviderServiceException",0,[],[]];_c.for(Ru).registerError(zl,Cc);var Vl=[1,Mu,"GroupListType",0,()=>Gu],Hl=[9,Mu,"ListGroups",0,()=>ol,()=>il];class $l extends(Sc.classBuilder().ep(yi).m(function(e,t,r,n){return[fc(r,e.getEndpointParameterInstructions())]}).s("AWSCognitoIdentityProviderService","ListGroups",{}).n("CognitoIdentityProviderClient","ListGroupsCommand").sc(Hl).build()){}var Wl=a(31179),Bl=a(17826),Kl=a(14598),Gl=a(48324),ql=a(18639),Yl={root:"m_347db0ec","root--dot":"m_fbd81e3d",label:"m_5add502a",section:"m_91fdda9b"};const Jl=(0,de.V)((e,{radius:t,color:r,gradient:n,variant:o,size:i,autoContrast:a,circle:s})=>{const c=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:a});return{root:{"--badge-height":(0,le.YC)(i,"badge-height"),"--badge-padding-x":(0,le.YC)(i,"badge-padding-x"),"--badge-fz":(0,le.YC)(i,"badge-fz"),"--badge-radius":s||void 0===t?void 0:(0,le.nJ)(t),"--badge-bg":r||o?c.background:void 0,"--badge-color":r||o?c.color:void 0,"--badge-bd":r||o?c.border:void 0,"--badge-dot-color":"dot"===o?(0,Xt.r)(r,e):void 0}}}),Ql=(0,ql.v)((e,t)=>{const r=(0,T.Y)("Badge",null,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,radius:l,color:d,gradient:p,leftSection:f,rightSection:h,children:m,variant:g,fullWidth:y,autoContrast:v,circle:b,mod:E,attributes:w,...S}=r,A=(0,pe.I)({name:"Badge",props:r,classes:Yl,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:w,vars:u,varsResolver:Jl});return(0,o.jsxs)(R.a,{variant:g,mod:[{block:y,circle:b,"with-right-section":!!h,"with-left-section":!!f},E],...A("root",{variant:g}),ref:t,...S,children:[f&&(0,o.jsx)("span",{...A("section"),"data-position":"left",children:f}),(0,o.jsx)("span",{...A("label"),children:m}),h&&(0,o.jsx)("span",{...A("section"),"data-position":"right",children:h})]})});Ql.classes=Yl,Ql.displayName="@mantine/core/Badge";var Xl=a(28008),Zl=a(89652),ed=a(69019),td=a(57193),rd={root:"m_e9408a47","root--default":"m_84c9523a","root--filled":"m_ef274e49","root--unstyled":"m_eda993d3",legend:"m_90794832","legend--unstyled":"m_74ca27fe"};const nd={variant:"default"},od=(0,de.V)((e,{radius:t})=>({root:{"--fieldset-radius":void 0===t?void 0:(0,le.nJ)(t)}})),id=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Fieldset",nd,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,legend:l,variant:d,children:p,attributes:f,...h}=r,m=(0,pe.I)({name:"Fieldset",classes:rd,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:f,vars:u,varsResolver:od});return(0,o.jsxs)(R.a,{component:"fieldset",ref:t,variant:d,...m("root",{variant:d}),...h,children:[l&&(0,o.jsx)("legend",{...m("legend",{variant:d}),children:l}),p]})});id.classes=rd,id.displayName="@mantine/core/Fieldset";var ad=a(74533),sd=a(61617),cd=a(99274),ud=a(63733),ld=a(68177),dd=a(21067),pd=a(43748),fd=a(10715),hd=a(24096),md=a(82056);const[gd,yd]=(0,at.e)(),[vd,bd]=(0,at.e)();var Ed={root:"m_7cda1cd6","root--default":"m_44da308b","root--contrast":"m_e3a01f8",label:"m_1e0e6180",remove:"m_ae386778",group:"m_1dcfd90b"};const wd=(0,de.V)((e,{gap:t},{size:r})=>({group:{"--pg-gap":void 0!==t?(0,le.YC)(t):(0,le.YC)(r,"pg-gap")}})),Sd=(0,N.P9)((e,t)=>{const r=(0,T.Y)("PillGroup",null,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,size:l,disabled:d,attributes:p,...f}=r,h=yd(),m=h?.size||l||void 0,g=(0,pe.I)({name:"PillGroup",classes:Ed,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:p,vars:u,varsResolver:wd,stylesCtx:{size:m},rootSelector:"group"});return(0,o.jsx)(vd,{value:{size:m,disabled:d},children:(0,o.jsx)(R.a,{ref:t,size:m,...g("group"),...f})})});Sd.classes=Ed,Sd.displayName="@mantine/core/PillGroup";const Ad={variant:"default"},_d=(0,de.V)((e,{radius:t},{size:r})=>({root:{"--pill-fz":(0,le.YC)(r,"pill-fz"),"--pill-height":(0,le.YC)(r,"pill-height"),"--pill-radius":void 0===t?void 0:(0,le.nJ)(t)}})),Pd=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Pill",Ad,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,variant:l,children:d,withRemoveButton:p,onRemove:f,removeButtonProps:h,radius:m,size:g,disabled:y,mod:v,attributes:b,...E}=r,w=bd(),S=yd(),A=g||w?.size||void 0,_="filled"===S?.variant?"contrast":l||"default",P=(0,pe.I)({name:"Pill",classes:Ed,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:b,vars:u,varsResolver:_d,stylesCtx:{size:A}});return(0,o.jsxs)(R.a,{component:"span",ref:t,variant:_,size:A,...P("root",{variant:_}),mod:[{"with-remove":p&&!y,disabled:y||w?.disabled},v],...E,children:[(0,o.jsx)("span",{...P("label"),children:d}),p&&(0,o.jsx)(Y.J,{variant:"transparent",radius:m,tabIndex:-1,"aria-hidden":!0,unstyled:c,...h,...P("remove",{className:h?.className,style:h?.style}),onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),h?.onMouseDown?.(e)},onClick:e=>{e.stopPropagation(),f?.(),h?.onClick?.(e)}})]})});Pd.classes=Ed,Pd.displayName="@mantine/core/Pill",Pd.Group=Sd;var Cd=a(37055),Id=a(37561),xd={field:"m_45c4369d"};const Od={type:"visible"},kd=(0,N.P9)((e,t)=>{const r=(0,T.Y)("PillsInputField",Od,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,type:l,disabled:d,id:p,pointer:f,mod:h,attributes:m,...g}=r,y=yd(),v=(0,Id.e)(),b=(0,pe.I)({name:"PillsInputField",classes:xd,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:m,rootSelector:"field"}),E=d||y?.disabled;return(0,o.jsx)(R.a,{component:"input",ref:(0,Cd.pc)(t,y?.fieldRef),"data-type":l,disabled:E,mod:[{disabled:E,pointer:f},h],...b("field"),...g,id:v?.inputId||p,"aria-invalid":y?.hasError,"aria-describedby":v?.describedBy,type:"text",onMouseDown:e=>!f&&e.stopPropagation()})});kd.classes=xd,kd.displayName="@mantine/core/PillsInputField";const Td={size:"sm"},Nd=(0,N.P9)((t,r)=>{const n=(0,T.Y)("PillsInput",Td,t),{children:i,onMouseDown:a,onClick:s,size:c,disabled:u,__staticSelector:l,error:d,variant:p,...f}=n,h=(0,e.useRef)(null);return(0,o.jsx)(gd,{value:{fieldRef:h,size:c,disabled:u,hasError:!!d,variant:p},children:(0,o.jsx)(md.O,{size:c,error:d,variant:p,component:"div",ref:r,"data-no-overflow":!0,onMouseDown:e=>{e.preventDefault(),a?.(e),h.current?.focus()},onClick:e=>{e.preventDefault();const t=e.currentTarget.closest("fieldset");t?.disabled||(h.current?.focus(),s?.(e))},...f,multiline:!0,disabled:u,__staticSelector:l||"PillsInput",withAria:!1,children:i})})});Nd.displayName="@mantine/core/PillsInput",Nd.Field=kd;var jd=a(58455);const Rd={maxValues:1/0,withCheckIcon:!0,checkIconPosition:"left",hiddenInputValuesDivider:",",clearSearchOnChange:!0,size:"sm"},Md=(0,N.P9)((t,r)=>{const n=(0,T.Y)("MultiSelect",Rd,t),{classNames:i,className:a,style:s,styles:c,unstyled:u,vars:l,size:d,value:p,defaultValue:f,onChange:h,onKeyDown:m,variant:g,data:y,dropdownOpened:v,defaultDropdownOpened:b,onDropdownOpen:E,onDropdownClose:w,selectFirstOptionOnChange:S,onOptionSubmit:A,comboboxProps:_,filter:P,limit:C,withScrollArea:I,maxDropdownHeight:x,searchValue:O,defaultSearchValue:k,onSearchChange:N,readOnly:j,disabled:R,onFocus:M,onBlur:D,radius:U,rightSection:F,rightSectionWidth:L,rightSectionPointerEvents:z,rightSectionProps:V,leftSection:H,leftSectionWidth:$,leftSectionPointerEvents:W,leftSectionProps:B,inputContainer:K,inputWrapperOrder:G,withAsterisk:q,labelProps:Y,descriptionProps:J,errorProps:Q,wrapperProps:X,description:Z,label:ee,error:te,maxValues:re,searchable:ne,nothingFoundMessage:oe,withCheckIcon:ie,withAlignedLabels:ae,checkIconPosition:se,hidePickedOptions:ce,withErrorStyles:ue,name:le,form:de,id:fe,clearable:he,clearButtonProps:me,hiddenInputProps:ge,placeholder:ye,hiddenInputValuesDivider:ve,required:be,mod:Ee,renderOption:we,onRemove:Se,onClear:Ae,scrollAreaProps:_e,chevronColor:Pe,attributes:Ce,clearSearchOnChange:Ie,...xe}=n,Oe=(0,Xe.B)(fe),ke=(0,ld.d)(y),Te=(0,dd.D)(ke),Ne=(0,e.useRef)({}),je=(0,hd.B)({opened:v,defaultOpened:b,onDropdownOpen:E,onDropdownClose:()=>{w?.(),je.resetSelectedOption()}}),{styleProps:Re,rest:{type:Me,autoComplete:De,...Ue}}=(0,ud.j)(xe),[Fe,Le]=(0,sd.Z)({value:p,defaultValue:f,finalValue:[],onChange:h}),[ze,Ve]=(0,sd.Z)({value:O,defaultValue:k,finalValue:"",onChange:N}),He=e=>{Ve(e),je.resetSelectedOption()},$e=(0,pe.I)({name:"MultiSelect",classes:{},props:n,classNames:i,styles:c,unstyled:u,attributes:Ce}),{resolvedClassNames:We,resolvedStyles:Be}=(0,cd.Y)({props:n,styles:c,classNames:i}),Ke=Fe.map((e,t)=>{const r=Te[e]||Ne.current[e];return(0,o.jsx)(Pd,{withRemoveButton:!j&&!Te[e]?.disabled,onRemove:()=>{Le(Fe.filter(t=>e!==t)),Se?.(e)},unstyled:u,disabled:R,...$e("pill"),children:r?.label||e},`${e}-${t}`)});(0,e.useEffect)(()=>{S&&je.selectFirstOption()},[S,ze]),(0,e.useEffect)(()=>{Fe.forEach(e=>{e in Te&&(Ne.current[e]=Te[e])})},[Te,Fe]);const Ge=(0,o.jsx)(pd.G.ClearButton,{...me,onClear:()=>{Ae?.(),Le([]),He("")}}),qe=function({data:e,value:t}){const r=t.map(e=>e.trim().toLowerCase());return e.reduce((e,t)=>((0,jd.c)(t)?e.push({group:t.group,items:t.items.filter(e=>-1===r.indexOf(e.value.toLowerCase().trim()))}):-1===r.indexOf(t.value.toLowerCase().trim())&&e.push(t),e),[])}({data:ke,value:Fe}),Ye=he&&Fe.length>0&&!R&&!j;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(pd.G,{store:je,classNames:We,styles:Be,unstyled:u,size:d,readOnly:j,__staticSelector:"MultiSelect",attributes:Ce,onOptionSubmit:e=>{A?.(e),Ie&&He(""),je.updateSelectedOptionIndex("selected"),Fe.includes(Te[e].value)?(Le(Fe.filter(t=>t!==Te[e].value)),Se?.(Te[e].value)):Fe.length<re&&Le([...Fe,Te[e].value])},..._,children:[(0,o.jsx)(pd.G.DropdownTarget,{children:(0,o.jsx)(Nd,{...Re,__staticSelector:"MultiSelect",classNames:We,styles:Be,unstyled:u,size:d,className:a,style:s,variant:g,disabled:R,radius:U,__defaultRightSection:(0,o.jsx)(pd.G.Chevron,{size:d,error:te,unstyled:u,color:Pe}),__clearSection:Ge,__clearable:Ye,rightSection:F,rightSectionPointerEvents:z||"none",rightSectionWidth:L,rightSectionProps:V,leftSection:H,leftSectionWidth:$,leftSectionPointerEvents:W,leftSectionProps:B,inputContainer:K,inputWrapperOrder:G,withAsterisk:q,labelProps:Y,descriptionProps:J,errorProps:Q,wrapperProps:X,description:Z,label:ee,error:te,withErrorStyles:ue,__stylesApiProps:{...n,rightSectionPointerEvents:z||(Ye?"all":"none"),multiline:!0},pointer:!ne,onClick:()=>ne?je.openDropdown():je.toggleDropdown(),"data-expanded":je.dropdownOpened||void 0,id:Oe,required:be,mod:Ee,attributes:Ce,children:(0,o.jsxs)(Pd.Group,{attributes:Ce,disabled:R,unstyled:u,...$e("pillsList"),children:[Ke,(0,o.jsx)(pd.G.EventsTarget,{autoComplete:De,children:(0,o.jsx)(Nd.Field,{...Ue,ref:r,id:Oe,placeholder:ye,type:ne||ye?"visible":"hidden",...$e("inputField"),unstyled:u,onFocus:e=>{M?.(e),ne&&je.openDropdown()},onBlur:e=>{D?.(e),je.closeDropdown(),He("")},onKeyDown:e=>{m?.(e)," "!==e.key||ne||(e.preventDefault(),je.toggleDropdown()),"Backspace"===e.key&&0===ze.length&&Fe.length>0&&(Se?.(Fe[Fe.length-1]),Le(Fe.slice(0,Fe.length-1)))},value:ze,onChange:e=>{He(e.currentTarget.value),ne&&je.openDropdown(),S&&je.selectFirstOption()},disabled:R,readOnly:j||!ne,pointer:!ne})})]})})}),(0,o.jsx)(fd.i,{data:ce?qe:ke,hidden:j||R,filter:P,search:ze,limit:C,hiddenWhenEmpty:!oe,withScrollArea:I,maxDropdownHeight:x,filterOptions:ne,value:Fe,checkIconPosition:se,withCheckIcon:ie,withAlignedLabels:ae,nothingFoundMessage:oe,unstyled:u,labelId:ee?`${Oe}-label`:void 0,"aria-label":ee?void 0:xe["aria-label"],renderOption:we,scrollAreaProps:_e})]}),(0,o.jsx)(pd.G.HiddenInput,{name:le,valuesDivider:ve,value:Fe,form:de,disabled:R,...ge})]})});Md.classes={...md.O.classes,...pd.G.classes},Md.displayName="@mantine/core/MultiSelect";var Dd=a(77828),Ud=a(8816);const Fd=(0,e.createContext)(null),Ld=Fd.Provider;var zd=a(16112),Vd=a(31422);const Hd=(0,N.P9)((e,t)=>{const{value:r,defaultValue:n,onChange:i,size:a,wrapperProps:s,children:c,readOnly:u,disabled:l,...d}=(0,T.Y)("SwitchGroup",null,e),[p,f]=(0,sd.Z)({value:r,defaultValue:n,finalValue:[],onChange:i});return(0,o.jsx)(Ld,{value:{value:p,onChange:e=>{const t=e.currentTarget.value;!u&&f(p.includes(t)?p.filter(e=>e!==t):[...p,t])},size:a,disabled:l},children:(0,o.jsx)(Vd.p.Wrapper,{size:a,ref:t,...s,...d,labelElement:"div",__staticSelector:"SwitchGroup",children:(0,o.jsx)(zd.F,{role:"group",children:c})})})});Hd.classes=Vd.p.Wrapper.classes,Hd.displayName="@mantine/core/SwitchGroup";var $d={root:"m_5f93f3bb",input:"m_926b4011",track:"m_9307d992",thumb:"m_93039a1d",trackLabel:"m_8277e082"};const Wd={labelPosition:"right",withThumbIndicator:!0},Bd=(0,de.V)((e,{radius:t,color:r,size:n})=>({root:{"--switch-radius":void 0===t?void 0:(0,le.nJ)(t),"--switch-height":(0,le.YC)(n,"switch-height"),"--switch-width":(0,le.YC)(n,"switch-width"),"--switch-thumb-size":(0,le.YC)(n,"switch-thumb-size"),"--switch-label-font-size":(0,le.YC)(n,"switch-label-font-size"),"--switch-track-label-padding":(0,le.YC)(n,"switch-track-label-padding"),"--switch-color":r?(0,Xt.r)(r,e):void 0}})),Kd=(0,N.P9)((t,r)=>{const n=(0,T.Y)("Switch",Wd,t),{classNames:i,className:a,style:s,styles:c,unstyled:u,vars:l,color:d,label:p,offLabel:f,onLabel:h,id:m,size:g,radius:y,wrapperProps:v,thumbIcon:b,checked:E,defaultChecked:w,onChange:S,labelPosition:A,description:_,error:P,disabled:C,variant:I,rootRef:x,mod:O,withThumbIndicator:k,attributes:N,...j}=n,M=(0,e.useContext)(Fd),D=g||M?.size,U=(0,pe.I)({name:"Switch",props:n,classes:$d,className:a,style:s,classNames:i,styles:c,unstyled:u,attributes:N,vars:l,varsResolver:Bd}),{styleProps:F,rest:L}=(0,ud.j)(j),z=(0,Xe.B)(m),V={checked:M?.value.includes(L.value)??E,onChange:e=>{M?.onChange(e),S?.(e)},disabled:M?.disabled??C},[H,$]=(0,sd.Z)({value:V.checked??E,defaultValue:w,finalValue:!1});return(0,o.jsxs)(Ud.I,{...U("root"),__staticSelector:"Switch",__stylesApiProps:n,id:z,size:D,labelPosition:A,label:p,description:_,error:P,disabled:V.disabled,bodyElement:"label",labelElement:"span",classNames:i,styles:c,unstyled:u,"data-checked":V.checked,variant:I,ref:x,mod:O,...F,...v,children:[(0,o.jsx)("input",{...L,...V,checked:H,"data-checked":V.checked,onChange:e=>{V.onChange?.(e),$(e.currentTarget.checked)},id:z,ref:r,type:"checkbox",role:"switch",...U("input")}),(0,o.jsxs)(R.a,{"aria-hidden":"true",component:"span",mod:{error:P,"label-position":A,"without-labels":!h&&!f},...U("track"),children:[(0,o.jsx)(R.a,{component:"span",mod:{"reduce-motion":!0,"with-thumb-indicator":k&&!b},...U("thumb"),children:b}),(0,o.jsx)("span",{...U("trackLabel"),children:H?h:f})]})]})});function Gd(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}var qd;function Yd(){}function Jd(e){return!!(e||"").match(/\d/)}function Qd(e){return null==e}function Xd(e){return Qd(e)||function(e){return"number"==typeof e&&isNaN(e)}(e)||"number"==typeof e&&!isFinite(e)}function Zd(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ep(e,t){void 0===t&&(t=!0);var r="-"===e[0],n=r&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNegation:r,addNegation:n}}function tp(e,t,r){for(var n="",o=r?"0":"",i=0;i<=t-1;i++)n+=e[i]||o;return n}function rp(e,t){return Array(t+1).join(e)}function np(e){var t=e+"",r="-"===t[0]?"-":"";r&&(t=t.substring(1));var n=t.split(/[eE]/g),o=n[0],i=n[1];if(!(i=Number(i)))return r+o;var a=1+i,s=(o=o.replace(".","")).length;return a<0?o="0."+rp("0",Math.abs(a))+o:a>=s?o+=rp("0",a-s):o=(o.substring(0,a)||"0")+"."+o.substring(a),r+o}function op(e,t,r){if(-1!==["","-"].indexOf(e))return e;var n=(-1!==e.indexOf(".")||r)&&t,o=ep(e),i=o.beforeDecimal,a=o.afterDecimal,s=o.hasNegation,c=parseFloat("0."+(a||"0")),u=(a.length<=t?"0."+a:c.toFixed(t)).split("."),l=i;return i&&Number(u[0])&&(l=i.split("").reverse().reduce(function(e,t,r){return e.length>r?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e},u[0])),(s?"-":"")+l+(n?".":"")+tp(u[1]||"",t,r)}function ip(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}Kd.classes={...$d,...Ud.M},Kd.displayName="@mantine/core/Switch",Kd.Group=Hd,function(e){e.event="event",e.props="prop"}(qd||(qd={}));var ap,sp,cp,up=(ap=function(e,t){for(var r=0,n=0,o=e.length,i=t.length;e[r]===t[r]&&r<o;)r++;for(;e[o-1-n]===t[i-1-n]&&i-n>r&&o-n>r;)n++;return{from:{start:r,end:o-n},to:{start:r,end:i-n}}},cp=void 0,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return sp&&e.length===sp.length&&e.every(function(e,t){return e===sp[t]})?cp:(sp=e,cp=ap.apply(void 0,e))});function lp(e){return Math.max(e.selectionStart,e.selectionEnd)}function dp(e){var t=e.currentValue,r=e.formattedValue,n=e.currentValueIndex,o=e.formattedValueIndex;return t[n]===r[o]}function pp(e,t,r,n){var o,i,a=e.length;if(o=t,i=a,t=Math.min(Math.max(o,0),i),"left"===n){for(;t>=0&&!r[t];)t--;-1===t&&(t=r.indexOf(!0))}else{for(;t<=a&&!r[t];)t++;t>a&&(t=r.lastIndexOf(!0))}return-1===t&&(t=a),t}function fp(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),r=0,n=t.length;r<n;r++)t[r]=Boolean(Jd(e[r])||Jd(e[r-1]));return t}function hp(t,r,n,o,i,a){void 0===a&&(a=Yd);var s=function(t){var r=(0,e.useRef)(t);r.current=t;var n=(0,e.useRef)(function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r.current.apply(r,e)});return n.current}(function(e,t){var r,n;return Xd(e)?(n="",r=""):"number"==typeof e||t?(n="number"==typeof e?np(e):e,r=o(n)):(n=i(e,void 0),r=o(n)),{formattedValue:r,numAsString:n}}),c=(0,e.useState)(function(){return s(Qd(t)?r:t,n)}),u=c[0],l=c[1],d=t,p=n;Qd(t)&&(d=u.numAsString,p=!0);var f=s(d,p);return(0,e.useMemo)(function(){l(f)},[f.formattedValue]),[u,function(e,t){e.formattedValue!==u.formattedValue&&l({formattedValue:e.formattedValue,numAsString:e.value}),a(e,t)}]}function mp(e){return e.replace(/[^0-9]/g,"")}function gp(e){return e}function yp(r){var n=r.type;void 0===n&&(n="text");var o=r.displayType;void 0===o&&(o="input");var i=r.customInput,a=r.renderText,s=r.getInputRef,c=r.format;void 0===c&&(c=gp);var u=r.removeFormatting;void 0===u&&(u=mp);var l=r.defaultValue,d=r.valueIsNumericString,p=r.onValueChange,f=r.isAllowed,h=r.onChange;void 0===h&&(h=Yd);var m=r.onKeyDown;void 0===m&&(m=Yd);var g=r.onMouseUp;void 0===g&&(g=Yd);var y=r.onFocus;void 0===y&&(y=Yd);var v=r.onBlur;void 0===v&&(v=Yd);var b=r.value,E=r.getCaretBoundary;void 0===E&&(E=fp);var w=r.isValidInputCharacter;void 0===w&&(w=Jd);var S=r.isCharacterSame,A=Gd(r,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),_=hp(b,l,Boolean(d),c,u,p),P=_[0],C=P.formattedValue,I=P.numAsString,x=_[1],O=(0,e.useRef)(),k=(0,e.useRef)({formattedValue:C,numAsString:I}),T=function(e,t){k.current={formattedValue:e.formattedValue,numAsString:e.value},x(e,t)},N=(0,e.useState)(!1),j=N[0],R=N[1],M=(0,e.useRef)(null),D=(0,e.useRef)({setCaretTimeout:null,focusTimeout:null});(0,e.useEffect)(function(){return R(!0),function(){clearTimeout(D.current.setCaretTimeout),clearTimeout(D.current.focusTimeout)}},[]);var U=c,F=function(e,t){var r=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(r)?void 0:r}},L=function(e,t,r){0===e.selectionStart&&e.selectionEnd===e.value.length||(ip(e,t),D.current.setCaretTimeout=setTimeout(function(){e.value===r&&e.selectionStart!==t&&ip(e,t)},0))},z=function(e,t,r){return pp(e,t,E(e),r)},V=function(e,t,r){var n=E(t),o=function(e,t,r,n,o,i,a){void 0===a&&(a=dp);var s=o.findIndex(function(e){return e}),c=e.slice(0,s);t||r.startsWith(c)||(t=c,r=c+r,n+=c.length);for(var u=r.length,l=e.length,d={},p=new Array(u),f=0;f<u;f++){p[f]=-1;for(var h=0,m=l;h<m;h++)if(a({currentValue:r,lastValue:t,formattedValue:e,currentValueIndex:f,formattedValueIndex:h})&&!0!==d[h]){p[f]=h,d[h]=!0;break}}for(var g=n;g<u&&(-1===p[g]||!i(r[g]));)g++;var y=g===u||-1===p[g]?l:p[g];for(g=n-1;g>0&&-1===p[g];)g--;var v=-1===g||-1===p[g]?0:p[g]+1;return v>y?y:n-v<y-n?v:y}(t,C,e,r,n,w,S);return pp(t,o,n)};(0,e.useEffect)(function(){var e=k.current,t=e.formattedValue,r=e.numAsString;C===t&&I===r||T(F(C,I),{event:void 0,source:qd.props})},[C,I]);var H=M.current?lp(M.current):void 0;("undefined"!=typeof window?e.useLayoutEffect:e.useEffect)(function(){var e=M.current;if(C!==k.current.formattedValue&&e){var t=V(k.current.formattedValue,C,H);e.value=C,L(e,t,C)}},[C]);var $=function(e,t){void 0===t&&(t=0);var r=e.selectionStart,n=e.selectionEnd;O.current={selectionStart:r,selectionEnd:n+t}},W=!j||"undefined"==typeof navigator||navigator.platform&&/iPhone|iPod/.test(navigator.platform)?void 0:"numeric",B=Object.assign({inputMode:W},A,{type:n,value:C,onChange:function(e){(function(e,t,r){var n=t.target,o=O.current?function(e,t){var r=Math.min(e.selectionStart,t);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:t}}}(O.current,n.selectionEnd):up(C,e),i=Object.assign(Object.assign({},o),{lastValue:C}),a=u(e,i),s=U(a);if(a=u(s,void 0),f&&!f(F(s,a))){var c=t.target,l=lp(c),d=V(e,C,l);return c.value=C,L(c,d,C),!1}return function(e){var t=e.formattedValue;void 0===t&&(t="");var r,n=e.input,o=e.source,i=e.event,a=e.numAsString;if(n){var s=e.inputValue||n.value,c=lp(n);n.value=t,void 0!==(r=V(s,t,c))&&L(n,r,t)}t!==C&&T(F(t,a),{event:i,source:o})}({formattedValue:s,numAsString:a,inputValue:e,event:t,source:r,input:t.target}),!0})(e.target.value,e,qd.event)&&h(e),O.current=void 0},onKeyDown:function(e){var t,r=e.target,n=e.key,o=r.selectionStart,i=r.selectionEnd,a=r.value;void 0===a&&(a=""),"ArrowLeft"===n||"Backspace"===n?t=Math.max(o-1,0):"ArrowRight"===n?t=Math.min(o+1,a.length):"Delete"===n&&(t=o);var s=0;"Delete"===n&&o===i&&(s=1);var c="ArrowLeft"===n||"ArrowRight"===n;if(void 0===t||o!==i&&!c)return m(e),void $(r,s);var u=t;c?(u=z(a,t,"ArrowLeft"===n?"left":"right"))!==t&&e.preventDefault():"Delete"!==n||w(a[t])?"Backspace"!==n||w(a[t])||(u=z(a,t,"left")):u=z(a,t,"right"),u!==t&&L(r,u,a),m(e),$(r,s)},onMouseUp:function(e){var t=e.target,r=function(){var e=t.selectionStart,r=t.selectionEnd,n=t.value;if(void 0===n&&(n=""),e===r){var o=z(n,e);o!==e&&L(t,o,n)}};r(),requestAnimationFrame(function(){r()}),g(e),$(t)},onFocus:function(e){e.persist&&e.persist();var t=e.target,r=e.currentTarget;M.current=t,D.current.focusTimeout=setTimeout(function(){var n=t.selectionStart,o=t.selectionEnd,i=t.value;void 0===i&&(i="");var a=z(i,n);a===n||0===n&&o===i.length||L(t,a,i),y(Object.assign(Object.assign({},e),{currentTarget:r}))},0)},onBlur:function(e){M.current=null,clearTimeout(D.current.focusTimeout),clearTimeout(D.current.setCaretTimeout),v(e)}});if("text"===o)return a?t().createElement(t().Fragment,null,a(C,A)||null):t().createElement("span",Object.assign({},A,{ref:s}),C);if(i){var K=i;return t().createElement(K,Object.assign({},B,{ref:s}))}return t().createElement("input",Object.assign({},B,{ref:s}))}function vp(e,t){var r=t.decimalScale,n=t.fixedDecimalScale,o=t.prefix;void 0===o&&(o="");var i=t.suffix;void 0===i&&(i="");var a=t.allowNegative,s=t.thousandsGroupStyle;if(void 0===s&&(s="thousand"),""===e||"-"===e)return e;var c=bp(t),u=c.thousandSeparator,l=c.decimalSeparator,d=0!==r&&-1!==e.indexOf(".")||r&&n,p=ep(e,a),f=p.beforeDecimal,h=p.afterDecimal,m=p.addNegation;return void 0!==r&&(h=tp(h,r,!!n)),u&&(f=function(e,t,r){var n=function(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}(r),o=e.search(/[1-9]/);return o=-1===o?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(n,"$1"+t)}(f,u,s)),o&&(f=o+f),i&&(h+=i),m&&(f="-"+f),f+(d&&l||"")+h}function bp(e){var t=e.decimalSeparator;void 0===t&&(t=".");var r=e.thousandSeparator,n=e.allowedDecimalSeparators;return!0===r&&(r=","),n||(n=[t,"."]),{decimalSeparator:t,thousandSeparator:r,allowedDecimalSeparators:n}}function Ep(e){e=function(e){var t=bp(e),r=t.thousandSeparator,n=t.decimalSeparator,o=e.prefix;void 0===o&&(o="");var i=e.allowNegative;if(void 0===i&&(i=!0),r===n)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: "+r+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: '+n+" (default value for decimalSeparator is .)\n ");return o.startsWith("-")&&i&&(console.error("\n Prefix can't start with '-' when allowNegative is true.\n prefix: "+o+"\n allowNegative: "+i+"\n "),i=!1),Object.assign(Object.assign({},e),{allowNegative:i})}(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,r=e.allowNegative,n=e.allowLeadingZeros,o=e.onKeyDown;void 0===o&&(o=Yd);var i=e.onBlur;void 0===i&&(i=Yd);var a=e.thousandSeparator,s=e.decimalScale,c=e.fixedDecimalScale,u=e.prefix;void 0===u&&(u="");var l=e.defaultValue,d=e.value,p=e.valueIsNumericString,f=e.onValueChange,h=Gd(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),m=bp(e),g=m.decimalSeparator,y=m.allowedDecimalSeparators,v=function(t){return vp(t,e)},b=function(t,r){return function(e,t,r){var n;void 0===t&&(t=function(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}(e));var o=r.allowNegative,i=r.prefix;void 0===i&&(i="");var a=r.suffix;void 0===a&&(a="");var s=r.decimalScale,c=t.from,u=t.to,l=u.start,d=u.end,p=bp(r),f=p.allowedDecimalSeparators,h=p.decimalSeparator,m=e[d]===h;if(Jd(e)&&(e===i||e===a)&&""===t.lastValue)return e;if(d-l===1&&-1!==f.indexOf(e[l])){var g=0===s?"":h;e=e.substring(0,l)+g+e.substring(l+1,e.length)}var y=function(e,t,r){var n=!1,o=!1;i.startsWith("-")?n=!1:e.startsWith("--")?(n=!1,o=!0):a.startsWith("-")&&e.length===a.length?n=!1:"-"===e[0]&&(n=!0);var s=n?1:0;return o&&(s=2),s&&(e=e.substring(s),t-=s,r-=s),{value:e,start:t,end:r,hasNegation:n}},v=y(e,l,d),b=v.hasNegation;e=(n=v).value,l=n.start,d=n.end;var E=y(t.lastValue,c.start,c.end),w=E.start,S=E.end,A=E.value,_=e.substring(l,d);!(e.length&&A.length&&(w>A.length-a.length||S<i.length))||_&&a.startsWith(_)||(e=A);var P=0;e.startsWith(i)?P+=i.length:l<i.length&&(P=l),d-=P;var C=(e=e.substring(P)).length,I=e.length-a.length;e.endsWith(a)?C=I:(d>I||d>e.length-a.length)&&(C=d),e=e.substring(0,C),e=function(e,t){void 0===e&&(e="");var r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),o=r.test(e),i=n.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e}(b?"-"+e:e,o),e=(e.match(function(e){return new RegExp("(^-)|[0-9]|"+Zd(e),"g")}(h))||[]).join("");var x=e.indexOf(h),O=ep(e=e.replace(new RegExp(Zd(h),"g"),function(e,t){return t===x?".":""}),o),k=O.beforeDecimal,T=O.afterDecimal,N=O.addNegation;return u.end-u.start<c.end-c.start&&""===k&&m&&!parseFloat(T)&&(e=N?"-":""),e}(t,r,e)},E=Qd(d)?l:d,w=null!=p?p:function(e,t,r){return""===e||!(null==t?void 0:t.match(/\d/))&&!(null==r?void 0:r.match(/\d/))&&"string"==typeof e&&!isNaN(Number(e))}(E,u,t);Qd(d)?Qd(l)||(w=w||"number"==typeof l):w=w||"number"==typeof d;var S=function(e){return Xd(e)?e:("number"==typeof e&&(e=np(e)),w&&"number"==typeof s?op(e,s,Boolean(c)):e)},A=hp(S(d),S(l),Boolean(w),v,b,f),_=A[0],P=_.numAsString,C=_.formattedValue,I=A[1];return Object.assign(Object.assign({},h),{value:C,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===g||Jd(e)},isCharacterSame:function(e){var t=e.currentValue,r=e.lastValue,n=e.formattedValue,o=e.currentValueIndex,i=e.formattedValueIndex,a=t[o],l=n[i],p=up(r,t).to,f=function(e){return b(e).indexOf(".")+u.length};return!(0===d&&c&&s&&t[p.start]===g&&f(t)<o&&f(n)>i||!(o>=p.start&&o<p.end&&y&&y.includes(a)&&l===g)&&a!==l)},onValueChange:I,format:v,removeFormatting:b,getCaretBoundary:function(t){return function(e,t){var r=t.prefix;void 0===r&&(r="");var n=t.suffix;void 0===n&&(n="");var o=Array.from({length:e.length+1}).map(function(){return!0}),i="-"===e[0];o.fill(!1,0,r.length+(i?1:0));var a=e.length;return o.fill(!1,a-n.length+1,a+1),o}(t,e)},onKeyDown:function(e){var t=e.target,n=e.key,i=t.selectionStart,l=t.selectionEnd,d=t.value;if(void 0===d&&(d=""),("Backspace"===n||"Delete"===n)&&l<u.length)e.preventDefault();else if(i===l){"Backspace"===n&&"-"===d[0]&&i===u.length+1&&r&&ip(t,1),s&&c&&("Backspace"===n&&d[i-1]===g?(ip(t,i-1),e.preventDefault()):"Delete"===n&&d[i]===g&&e.preventDefault()),(null==y?void 0:y.includes(n))&&d[i]===g&&ip(t,i+1);var p=!0===a?",":a;"Backspace"===n&&d[i-1]===p&&ip(t,i-1),"Delete"===n&&d[i]===p&&ip(t,i+1),o(e)}else o(e)},onBlur:function(t){var r=P;if(r.match(/\d/g)||(r=""),n||(r=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",o=r[1]||"";return(t?"-":"")+n+(o?"."+o:"")}(r)),c&&s&&(r=op(r,s,c)),r!==P){var o=vp(r,e);I({formattedValue:o,value:r,floatValue:parseFloat(r)},{event:t,source:qd.event})}i(t)}})}function wp(e){var r=Ep(e);return t().createElement(yp,Object.assign({},r))}function Sp(e,t,r){return void 0===t&&void 0===r?e:void 0!==t&&void 0===r?Math.max(e,t):void 0===t&&void 0!==r?Math.min(e,r):Math.min(Math.max(e,t),r)}var Ap=a(52796),_p=a(46076);function Pp({direction:e,style:t,...r}){return(0,o.jsx)("svg",{style:{width:"var(--ni-chevron-size)",height:"var(--ni-chevron-size)",transform:"up"===e?"rotate(180deg)":void 0,...t},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:(0,o.jsx)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}var Cp={root:"m_e2f5cd4e",controls:"m_95e17d22",control:"m_80b4b171"};const Ip=/^(0\.0*|-0(\.0*)?)$/,xp=/^-?0\d+(\.\d+)?\.?$/,Op=/\.\d*0$/,kp=/^-?\d+\.$/;function Tp(e){return"string"==typeof e&&""!==e&&!Number.isNaN(Number(e))}function Np(e){return"number"==typeof e?e<Number.MAX_SAFE_INTEGER:""===e||Tp(e)&&Number(e)<Number.MAX_SAFE_INTEGER}function jp(e,t,r){return void 0===e||(void 0===t||e>=t)&&(void 0===r||e<=r)}const Rp={step:1,clampBehavior:"blur",allowDecimal:!0,allowNegative:!0,withKeyboardEvents:!0,allowLeadingZeros:!0,trimLeadingZeroesOnBlur:!0,startValue:0,allowedDecimalSeparators:[".",","]},Mp=(0,de.V)((e,{size:t})=>({controls:{"--ni-chevron-size":(0,le.YC)(t,"ni-chevron-size")}})),Dp=(0,N.P9)((t,r)=>{const n=(0,T.Y)("NumberInput",Rp,t),{className:i,classNames:a,styles:s,unstyled:c,vars:u,onChange:l,onValueChange:d,value:p,defaultValue:f,max:h,min:m,step:g,hideControls:y,rightSection:v,isAllowed:b,clampBehavior:E,onBlur:w,allowDecimal:S,decimalScale:A,onKeyDown:_,onKeyDownCapture:P,handlersRef:C,startValue:I,disabled:x,rightSectionPointerEvents:O,allowNegative:k,readOnly:N,size:R,rightSectionWidth:M,stepHoldInterval:D,stepHoldDelay:U,allowLeadingZeros:F,withKeyboardEvents:L,trimLeadingZeroesOnBlur:z,allowedDecimalSeparators:V,attributes:H,...$}=n,W=(0,pe.I)({name:"NumberInput",classes:Cp,props:n,classNames:a,styles:s,unstyled:c,attributes:H,vars:u,varsResolver:Mp}),{resolvedClassNames:B,resolvedStyles:K}=(0,cd.Y)({classNames:a,styles:s,props:n}),[G,q]=(0,sd.Z)({value:p,defaultValue:f,finalValue:"",onChange:l}),Y=void 0!==U&&void 0!==D,J=(0,e.useRef)(null),Q=(0,e.useRef)(null),X=(0,e.useRef)(0),Z=e=>{const t=String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},ee=e=>{J.current&&void 0!==e&&J.current.setSelectionRange(e,e)},te=(0,e.useRef)(Ap.l);te.current=()=>{if(!Np(G))return;let e;const t=Z(G),r=Z(g),n=Math.max(t,r),o=10**n;if(Tp(G)||"number"==typeof G&&!Number.isNaN(G))if(void 0!==h){const t=(Math.round(Number(G)*o)+Math.round(g*o))/o;e=t<=h?t:h}else e=(Math.round(Number(G)*o)+Math.round(g*o))/o;else e=Sp(I,m,h);const i=e.toFixed(n);q(parseFloat(i)),d?.({floatValue:parseFloat(i),formattedValue:i,value:i},{source:"increment"}),setTimeout(()=>ee(J.current?.value.length),0)};const re=(0,e.useRef)(Ap.l);re.current=()=>{if(!Np(G))return;let e;const t=void 0!==m?m:k?Number.MIN_SAFE_INTEGER:0,r=Z(G),n=Z(g),o=Math.max(r,n),i=10**o;if(!Tp(G)&&"number"!=typeof G||Number.isNaN(G))e=Sp(I,t,h);else{const r=(Math.round(Number(G)*i)-Math.round(g*i))/i;e=void 0!==t&&r<t?t:r}const a=e.toFixed(o);q(parseFloat(a)),d?.({floatValue:parseFloat(a),formattedValue:a,value:a},{source:"decrement"}),setTimeout(()=>ee(J.current?.value.length),0)},(0,Cd.bl)(C,{increment:te.current,decrement:re.current});const ne=e=>{e?te.current?.():re.current?.(),X.current+=1},oe=e=>{if(ne(e),Y){const t="number"==typeof D?D:D(X.current);Q.current=window.setTimeout(()=>oe(e),t)}},ie=(e,t)=>{e.preventDefault(),J.current?.focus(),ne(t),Y&&(Q.current=window.setTimeout(()=>oe(t),U))},ae=()=>{Q.current&&window.clearTimeout(Q.current),Q.current=null,X.current=0},se=(0,o.jsxs)("div",{...W("controls"),children:[(0,o.jsx)(_p.N,{...W("control"),tabIndex:-1,"aria-hidden":!0,disabled:x||"number"==typeof G&&void 0!==h&&G>=h,mod:{direction:"up"},onMouseDown:e=>e.preventDefault(),onPointerDown:e=>{ie(e,!0)},onPointerUp:ae,onPointerLeave:ae,children:(0,o.jsx)(Pp,{direction:"up"})}),(0,o.jsx)(_p.N,{...W("control"),tabIndex:-1,"aria-hidden":!0,disabled:x||"number"==typeof G&&void 0!==m&&G<=m,mod:{direction:"down"},onMouseDown:e=>e.preventDefault(),onPointerDown:e=>{ie(e,!1)},onPointerUp:ae,onPointerLeave:ae,children:(0,o.jsx)(Pp,{direction:"down"})})]});return(0,o.jsx)(md.O,{component:wp,allowNegative:k,className:(0,j.A)(Cp.root,i),size:R,inputMode:"decimal",...$,readOnly:N,disabled:x,value:G,getInputRef:(0,Cd.pc)(r,J),onValueChange:(e,t)=>{"event"===t.source&&q(!function(e,t){return("number"==typeof e?e<Number.MAX_SAFE_INTEGER:!Number.isNaN(Number(e)))&&!Number.isNaN(e)&&t.toString().replace(".","").length<14&&""!==t}(e.floatValue,e.value)||Ip.test(e.value)||F&&xp.test(e.value)||Op.test(e.value)||kp.test(e.value)?e.value:e.floatValue),d?.(e,t)},rightSection:y||N||!Np(G)?v:v||se,classNames:B,styles:K,unstyled:c,__staticSelector:"NumberInput",decimalScale:S?A:0,onKeyDown:e=>{_?.(e),!N&&L&&("ArrowUp"===e.key&&(e.preventDefault(),te.current?.()),"ArrowDown"===e.key&&(e.preventDefault(),re.current?.()))},onKeyDownCapture:e=>{if(P?.(e),"Backspace"===e.key){const t=J.current;t&&0===t.selectionStart&&t.selectionStart===t.selectionEnd&&(e.preventDefault(),window.setTimeout(()=>ee(0),0))}},rightSectionPointerEvents:O??(x?"none":void 0),rightSectionWidth:M??`var(--ni-right-section-width-${R||"sm"})`,allowLeadingZeros:F,allowedDecimalSeparators:V,onBlur:e=>{let t=G;"blur"===E&&"number"==typeof t&&(t=Sp(t,m,h)),z&&"string"==typeof t&&Z(t)<15&&(t=function(e,t,r){const n=e.toString(),o=kp.test(n),i=n.replace(/^0+(?=\d)/,""),a=parseFloat(i);if(Number.isNaN(a))return i;if(a>Number.MAX_SAFE_INTEGER)return void 0!==t?t:i;const s=Sp(a,r,t);return o?`${s.toString().replace(/^0+(?=\d)/,"")}.`:s}(t,h,m)),G!==t&&q(t),w?.(e)},attributes:H,isAllowed:e=>"strict"===E?b?b(e)&&jp(e.floatValue,m,h):jp(e.floatValue,m,h):!b||b(e)})});Dp.classes={...md.O.classes,...Cp},Dp.displayName="@mantine/core/NumberInput";var Up=a(85091),Fp={root:"m_66836ed3",wrapper:"m_a5d60502",body:"m_667c2793",title:"m_6a03f287",label:"m_698f4f23",icon:"m_667f2a6a",message:"m_7fa78076",closeButton:"m_87f54839"};const Lp=(0,de.V)((e,{radius:t,color:r,variant:n,autoContrast:o})=>{const i=e.variantColorResolver({color:r||e.primaryColor,theme:e,variant:n||"light",autoContrast:o});return{root:{"--alert-radius":void 0===t?void 0:(0,le.nJ)(t),"--alert-bg":r||n?i.background:void 0,"--alert-color":i.color,"--alert-bd":r||n?i.border:void 0}}}),zp=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Alert",null,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,radius:l,color:d,title:p,children:f,id:h,icon:m,withCloseButton:g,onClose:y,closeButtonLabel:v,variant:b,autoContrast:E,role:w,attributes:S,...A}=r,_=(0,pe.I)({name:"Alert",classes:Fp,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:S,vars:u,varsResolver:Lp}),P=(0,Xe.B)(h),C=p&&`${P}-title`||void 0,I=`${P}-body`;return(0,o.jsx)(R.a,{id:P,..._("root",{variant:b}),variant:b,ref:t,role:w||"alert",...A,"aria-describedby":f?I:void 0,"aria-labelledby":p?C:void 0,children:(0,o.jsxs)("div",{..._("wrapper"),children:[m&&(0,o.jsx)("div",{..._("icon"),children:m}),(0,o.jsxs)("div",{..._("body"),children:[p&&(0,o.jsx)("div",{..._("title"),"data-with-close-button":g||void 0,children:(0,o.jsx)("span",{id:C,..._("label"),children:p})}),f&&(0,o.jsx)("div",{id:I,..._("message"),"data-variant":b,children:f})]}),g&&(0,o.jsx)(Y.J,{..._("closeButton"),onClick:y,variant:"transparent",size:16,iconSize:16,"aria-label":v,unstyled:c})]})})});zp.classes=Fp,zp.displayName="@mantine/core/Alert";var Vp=a(86945),Hp=a(57693),$p=a(7641),Wp=a(36118),Bp=a(38728);const Kp=(0,Bp.A)("outline","users-group","UsersGroup",[["path",{d:"M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-0"}],["path",{d:"M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1",key:"svg-1"}],["path",{d:"M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-2"}],["path",{d:"M17 10h2a2 2 0 0 1 2 2v1",key:"svg-3"}],["path",{d:"M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-4"}],["path",{d:"M3 13v-1a2 2 0 0 1 2 -2h2",key:"svg-5"}]]),Gp=(0,Bp.A)("outline","login","Login",[["path",{d:"M15 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M21 12h-13l3 -3",key:"svg-1"}],["path",{d:"M11 15l-3 -3",key:"svg-2"}]]),qp=(0,Bp.A)("outline","forms","Forms",[["path",{d:"M12 3a3 3 0 0 0 -3 3v12a3 3 0 0 0 3 3",key:"svg-0"}],["path",{d:"M6 3a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3",key:"svg-1"}],["path",{d:"M13 7h7a1 1 0 0 1 1 1v8a1 1 0 0 1 -1 1h-7",key:"svg-2"}],["path",{d:"M5 7h-1a1 1 0 0 0 -1 1v8a1 1 0 0 0 1 1h1",key:"svg-3"}],["path",{d:"M17 12h.01",key:"svg-4"}],["path",{d:"M13 12h.01",key:"svg-5"}]]),Yp=(0,Bp.A)("outline","social","Social",[["path",{d:"M10 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M3 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M17 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-2"}],["path",{d:"M9 14a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-3"}],["path",{d:"M12 7l0 4",key:"svg-4"}],["path",{d:"M6.7 17.8l2.8 -2",key:"svg-5"}],["path",{d:"M17.3 17.8l-2.8 -2",key:"svg-6"}]]),Jp=(0,Bp.A)("outline","api","Api",[["path",{d:"M4 13h5",key:"svg-0"}],["path",{d:"M12 16v-8h3a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-3",key:"svg-1"}],["path",{d:"M20 8v8",key:"svg-2"}],["path",{d:"M9 16v-5.5a2.5 2.5 0 0 0 -5 0v5.5",key:"svg-3"}]]);var Qp=a(84805),Xp=a(49568),Zp=a(20899);const ef=(0,Bp.A)("outline","x","X",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]]);var tf=a(42449);const rf=(0,Bp.A)("outline","exclamation-circle","ExclamationCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M12 9v4",key:"svg-1"}],["path",{d:"M12 16v.01",key:"svg-2"}]]);var nf=class extends Fr{constructor(e,t){super(),this.options=t,this.#F=e,this.#Y=null,this.#J=Vr(),this.bindMethods(),this.setOptions(t)}#F;#Q=void 0;#X=void 0;#Z=void 0;#ee;#te;#J;#Y;#re;#ne;#oe;#ie;#ae;#se;#ce=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#Q.addObserver(this),of(this.#Q,this.options)?this.#ue():this.updateResult(),this.#le())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return af(this.#Q,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return af(this.#Q,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#de(),this.#pe(),this.#Q.removeObserver(this)}setOptions(e){const t=this.options,r=this.#Q;if(this.options=this.#F.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof vr(this.options.enabled,this.#Q))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#fe(),this.#Q.setOptions(this.options),t._defaulted&&!Cr(this.options,t)&&this.#F.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#Q,observer:this});const n=this.hasListeners();n&&sf(this.#Q,r,this.options,t)&&this.#ue(),this.updateResult(),!n||this.#Q===r&&vr(this.options.enabled,this.#Q)===vr(t.enabled,this.#Q)&&yr(this.options.staleTime,this.#Q)===yr(t.staleTime,this.#Q)||this.#he();const o=this.#me();!n||this.#Q===r&&vr(this.options.enabled,this.#Q)===vr(t.enabled,this.#Q)&&o===this.#se||this.#ge(o)}getOptimisticResult(e){const t=this.#F.getQueryCache().build(this.#F,e),r=this.createResult(t,e);return n=r,!Cr(this.getCurrentResult(),n)&&(this.#Z=r,this.#te=this.options,this.#ee=this.#Q.state),r;var n}getCurrentResult(){return this.#Z}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#J.status||this.#J.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#ce.add(e)}getCurrentQuery(){return this.#Q}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#F.defaultQueryOptions(e),r=this.#F.getQueryCache().build(this.#F,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#ue({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#Z))}#ue(e){this.#fe();let t=this.#Q.fetch(this.options,e);return e?.throwOnError||(t=t.catch(hr)),t}#he(){this.#de();const e=yr(this.options.staleTime,this.#Q);if(fr||this.#Z.isStale||!mr(e))return;const t=gr(this.#Z.dataUpdatedAt,e)+1;this.#ie=pr.setTimeout(()=>{this.#Z.isStale||this.updateResult()},t)}#me(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#Q):this.options.refetchInterval)??!1}#ge(e){this.#pe(),this.#se=e,!fr&&!1!==vr(this.options.enabled,this.#Q)&&mr(this.#se)&&0!==this.#se&&(this.#ae=pr.setInterval(()=>{(this.options.refetchIntervalInBackground||Lr.isFocused())&&this.#ue()},this.#se))}#le(){this.#he(),this.#ge(this.#me())}#de(){this.#ie&&(pr.clearTimeout(this.#ie),this.#ie=void 0)}#pe(){this.#ae&&(pr.clearInterval(this.#ae),this.#ae=void 0)}createResult(e,t){const r=this.#Q,n=this.options,o=this.#Z,i=this.#ee,a=this.#te,s=e!==r?e.state:this.#X,{state:c}=e;let u,l={...c},d=!1;if(t._optimisticResults){const o=this.hasListeners(),i=!o&&of(e,t),a=o&&sf(e,r,t,n);(i||a)&&(l={...l,...qr(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(l.fetchStatus="idle")}let{error:p,errorUpdatedAt:f,status:h}=l;u=l.data;let m=!1;if(void 0!==t.placeholderData&&void 0===u&&"pending"===h){let e;o?.isPlaceholderData&&t.placeholderData===a?.placeholderData?(e=o.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#oe?.state.data,this.#oe):t.placeholderData,void 0!==e&&(h="success",u=kr(o?.data,e,t),d=!0)}if(t.select&&void 0!==u&&!m)if(o&&u===i?.data&&t.select===this.#re)u=this.#ne;else try{this.#re=t.select,u=t.select(u),u=kr(o?.data,u,t),this.#ne=u,this.#Y=null}catch(e){this.#Y=e}this.#Y&&(p=this.#Y,u=this.#ne,f=Date.now(),h="error");const g="fetching"===l.fetchStatus,y="pending"===h,v="error"===h,b=y&&g,E=void 0!==u,w={status:h,fetchStatus:l.fetchStatus,isPending:y,isSuccess:"success"===h,isError:v,isInitialLoading:b,isLoading:b,data:u,dataUpdatedAt:l.dataUpdatedAt,error:p,errorUpdatedAt:f,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!E,isPaused:"paused"===l.fetchStatus,isPlaceholderData:d,isRefetchError:v&&E,isStale:cf(e,t),refetch:this.refetch,promise:this.#J,isEnabled:!1!==vr(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===w.status?e.reject(w.error):void 0!==w.data&&e.resolve(w.data)},n=()=>{const e=this.#J=w.promise=Vr();t(e)},o=this.#J;switch(o.status){case"pending":e.queryHash===r.queryHash&&t(o);break;case"fulfilled":"error"!==w.status&&w.data===o.value||n();break;case"rejected":"error"===w.status&&w.error===o.reason||n()}}return w}updateResult(){const e=this.#Z,t=this.createResult(this.#Q,this.options);this.#ee=this.#Q.state,this.#te=this.options,void 0!==this.#ee.data&&(this.#oe=this.#Q),Cr(t,e)||(this.#Z=t,this.#ye({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#ce.size)return!0;const n=new Set(r??this.#ce);return this.options.throwOnError&&n.add("error"),Object.keys(this.#Z).some(t=>{const r=t;return this.#Z[r]!==e[r]&&n.has(r)})})()}))}#fe(){const e=this.#F.getQueryCache().build(this.#F,this.options);if(e===this.#Q)return;const t=this.#Q;this.#Q=e,this.#X=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#le()}#ye(e){Ur.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#Z)}),this.#F.getQueryCache().notify({query:this.#Q,type:"observerResultsUpdated"})})}};function of(e,t){return function(e,t){return!1!==vr(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&af(e,t,t.refetchOnMount)}function af(e,t,r){if(!1!==vr(t.enabled,e)&&"static"!==yr(t.staleTime,e)){const n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&cf(e,t)}return!1}function sf(e,t,r,n){return(e!==t||!1===vr(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&cf(e,r)}function cf(e,t){return!1!==vr(t.enabled,e)&&e.isStaleByTime(yr(t.staleTime,e))}var uf=e.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),lf=e.createContext(!1),df=(lf.Provider,(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()}));function pf(t,r){return function(t,r,n){const o=e.useContext(lf),i=e.useContext(uf),a=(t=>{const r=e.useContext(on);if(t)return t;if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r})(n),s=a.defaultQueryOptions(t);a.getDefaultOptions().queries?._experimental_beforeQuery?.(s);const c=a.getQueryCache().get(s.queryHash);s._optimisticResults=o?"isRestoring":"optimistic",(e=>{if(e.suspense){const t=1e3,r=e=>"static"===e?e:Math.max(e??t,t),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>r(n(...e)):r(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,t))}})(s),((e,t,r)=>{const n=r?.state.error&&"function"==typeof e.throwOnError?Mr(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||n)&&(t.isReset()||(e.retryOnMount=!1))})(s,i,c),(t=>{e.useEffect(()=>{t.clearReset()},[t])})(i);const u=!a.getQueryCache().get(s.queryHash),[l]=e.useState(()=>new r(a,s)),d=l.getOptimisticResult(s),p=!o&&!1!==t.subscribed;if(e.useSyncExternalStore(e.useCallback(e=>{const t=p?l.subscribe(Ur.batchCalls(e)):hr;return l.updateResult(),t},[l,p]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),e.useEffect(()=>{l.setOptions(s)},[s,l]),((e,t)=>e?.suspense&&t.isPending)(s,d))throw df(s,l,i);if((({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(o&&void 0===e.data||Mr(r,[e.error,n])))({result:d,errorResetBoundary:i,throwOnError:s.throwOnError,query:c,suspense:s.suspense}))throw d.error;if(a.getDefaultOptions().queries?._experimental_afterQuery?.(s,d),s.experimental_prefetchInRender&&!fr&&((e,t)=>e.isLoading&&e.isFetching&&!t)(d,o)){const e=u?df(s,l,i):c?.promise;e?.catch(hr).finally(()=>{l.updateResult()})}return s.notifyOnChangeProps?d:l.trackResult(d)}(t,nf,r)}const ff=window.wp.apiFetch;var hf=a.n(ff);function mf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var gf=function e(t,r){function n(e,n,o){if("undefined"!=typeof document){"number"==typeof(o=mf({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+i}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(n[s]=t.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){n(e,"",mf({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,mf({},this.attributes,t))},withConverter:function(t){return e(mf({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});class yf{constructor(e={}){const{path:t,domain:r,expires:n,sameSite:o,secure:i}=e;if(this.domain=r,this.path=t||"/",this.expires=Object.prototype.hasOwnProperty.call(e,"expires")?n:365,this.secure=!Object.prototype.hasOwnProperty.call(e,"secure")||i,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!o||!["strict","lax","none"].includes(o))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===o&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=o}}async setItem(e,t){gf.set(e,t,this.getData())}async getItem(e){return gf.get(e)??null}async removeItem(e){gf.remove(e,this.getData())}async clear(){const e=gf.get(),t=Object.keys(e).map(e=>this.removeItem(e));await Promise.all(t)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}var vf=a(87525),bf=a(16736);class Ef extends bf.x{constructor(){super({name:vf.m.PlatformNotSupported,message:"Function not supported on current platform"})}}class wf{constructor(e){this.storage=e}async setItem(e,t){if(!this.storage)throw new Ef;this.storage.setItem(e,t)}async getItem(e){if(!this.storage)throw new Ef;return this.storage.getItem(e)}async removeItem(e){if(!this.storage)throw new Ef;this.storage.removeItem(e)}async clear(){if(!this.storage)throw new Ef;this.storage.clear()}}var Sf=a(84210);class Af{constructor(){this.storage=new Map}get length(){return this.storage.size}key(e){return e>this.length-1?null:Array.from(this.storage.keys())[e]}setItem(e,t){this.storage.set(e,t)}getItem(e){return this.storage.get(e)??null}removeItem(e){this.storage.delete(e)}clear(){this.storage.clear()}}const _f=new Sf.C("CoreStorageUtils"),Pf=()=>{try{if("undefined"!=typeof window&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw new Error("sessionStorage is not defined")}catch(e){return _f.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new Af}};class Cf{constructor(e){this._storage=e}get storage(){if(!this._storage)throw new Ef;return this._storage}setItem(e,t){this.storage.setItem(e,t)}getItem(e){return this.storage.getItem(e)}removeItem(e){this.storage.removeItem(e)}clear(){this.storage.clear()}}const If=new class extends wf{constructor(){super((()=>{try{if("undefined"!=typeof window&&window.localStorage)return window.localStorage}catch(e){_f.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new Af})())}};new class extends wf{constructor(){super(Pf())}},new class extends Cf{constructor(){super(Pf())}},new wf(new Af);var xf,Of,kf,Tf,Nf,jf,Rf,Mf,Df,Uf,Ff,Lf,zf,Vf,Hf=a(63614);a(80056),function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"}(xf||(xf={})),function(e){e.AI="ai",e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"}(Of||(Of={})),function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnMessage="7",e.Generation="8",e.UpdateConversation="9"}(kf||(kf={})),function(e){e.Record="1",e.IdentifyUser="2"}(Tf||(Tf={})),function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"}(Nf||(Nf={})),function(e){e.SignUp="1",e.ConfirmSignUp="2",e.ResendSignUpCode="3",e.SignIn="4",e.FetchMFAPreference="6",e.UpdateMFAPreference="7",e.SetUpTOTP="10",e.VerifyTOTPSetup="11",e.ConfirmSignIn="12",e.DeleteUserAttributes="15",e.DeleteUser="16",e.UpdateUserAttributes="17",e.FetchUserAttributes="18",e.ConfirmUserAttribute="22",e.SignOut="26",e.UpdatePassword="27",e.ResetPassword="28",e.ConfirmResetPassword="29",e.FederatedSignIn="30",e.RememberDevice="32",e.ForgetDevice="33",e.FetchDevices="34",e.SendUserAttributeVerificationCode="35",e.SignInWithRedirect="36",e.StartWebAuthnRegistration="37",e.CompleteWebAuthnRegistration="38",e.ListWebAuthnCredentials="39",e.DeleteWebAuthnCredential="40"}(jf||(jf={})),function(e){e.Subscribe="1",e.GraphQl="2"}(Rf||(Rf={})),function(e){e.SearchByText="0",e.SearchByCoordinates="1",e.SearchForSuggestions="2",e.SearchByPlaceId="3",e.SaveGeofences="4",e.GetGeofence="5",e.ListGeofences="6",e.DeleteGeofences="7"}(Mf||(Mf={})),function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"}(Df||(Df={})),function(e){e.None="0"}(Uf||(Uf={})),function(e){e.Convert="1",e.Identify="2",e.Interpret="3"}(Ff||(Ff={})),function(e){e.Subscribe="1"}(Lf||(Lf={})),function(e){e.InitializePushNotifications="1",e.IdentifyUser="2"}(zf||(zf={})),function(e){e.UploadData="1",e.DownloadData="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6",e.GetUrl="7",e.GetDataAccess="8",e.ListCallerAccessGrants="9"}(Vf||(Vf={}));const $f="6.15.9",Wf=()=>"undefined"!=typeof globalThis,Bf=()=>"undefined"!=typeof window,Kf=()=>"undefined"!=typeof document,Gf=()=>"undefined"!=typeof process,qf=(e,t)=>!!Object.keys(e).find(e=>e.startsWith(t)),Yf=[{platform:xf.Expo,detectionMethod:function(){return Wf()&&void 0!==globalThis.expo}},{platform:xf.ReactNative,detectionMethod:function(){return"undefined"!=typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},{platform:xf.NextJs,detectionMethod:function(){return Bf()&&window.next&&"object"==typeof window.next}},{platform:xf.Nuxt,detectionMethod:function(){return Bf()&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)}},{platform:xf.Angular,detectionMethod:function(){const e=Boolean(Kf()&&document.querySelector("[ng-version]")),t=Boolean(Bf()&&void 0!==window.ng);return e||t}},{platform:xf.React,detectionMethod:function(){const e=e=>e.startsWith("_react")||e.startsWith("__react");return Kf()&&Array.from(document.querySelectorAll("[id]")).some(t=>Object.keys(t).find(e))}},{platform:xf.VueJs,detectionMethod:function(){return Bf()&&qf(window,"__VUE")}},{platform:xf.Svelte,detectionMethod:function(){return Bf()&&qf(window,"__SVELTE")}},{platform:xf.WebUnknown,detectionMethod:function(){return Bf()}},{platform:xf.NextJsSSR,detectionMethod:function(){return Wf()&&(qf(globalThis,"__next")||qf(globalThis,"__NEXT"))}},{platform:xf.NuxtSSR,detectionMethod:function(){return Wf()&&void 0!==globalThis.__NUXT_PATHS__}},{platform:xf.ReactSSR,detectionMethod:function(){return Gf()&&void 0!==process.env&&!!Object.keys(process.env).find(e=>e.includes("react"))}},{platform:xf.VueJsSSR,detectionMethod:function(){return Wf()&&qf(globalThis,"__VUE")}},{platform:xf.AngularSSR,detectionMethod:function(){return Gf()&&"object"==typeof process.env&&process.env.npm_lifecycle_script?.startsWith("ng ")||!1}},{platform:xf.SvelteSSR,detectionMethod:function(){return Gf()&&void 0!==process.env&&!!Object.keys(process.env).find(e=>e.includes("svelte"))}}];let Jf;const Qf=[];let Xf=!1;const Zf=()=>{if(!Jf){if(Jf=Yf.find(e=>e.detectionMethod())?.platform||xf.ServerSideUnknown,Xf)for(;Qf.length;)Qf.pop()?.();else Qf.forEach(e=>{e()});eh(xf.ServerSideUnknown,10),eh(xf.WebUnknown,10)}return Jf};function eh(e,t){Jf!==e||Xf||setTimeout(()=>{Jf=void 0,Xf=!0,setTimeout(Zf,1e3)},t)}const th={},rh="aws-amplify",nh=e=>e.replace(/\+.*/,"");new class{constructor(){this.userAgent=`${rh}/${nh($f)}`}get framework(){return Zf()}get isReactNative(){return this.framework===xf.ReactNative||this.framework===xf.Expo}observeFrameworkChanges(e){(e=>{Xf||Qf.push(e)})(e)}};const oh=e=>(({category:e,action:t}={})=>{const r=[[rh,nh($f)]];if(e&&r.push([e,t]),r.push(["framework",Zf()]),e&&t){const n=((e,t)=>th[e]?.[t]?.additionalDetails)(e,t);n&&n.forEach(e=>{r.push(e)})}return r})(e).map(([e,t])=>e&&t?`${e}/${t}`:e).join(" ");var ih=a(65430),ah=a(53553);const sh=(e,t,r,n)=>async(o,i)=>{const a={...n,...o},s=await a.endpointResolver(a,i),c=await t(i,s),u=await e(c,{...a});return r(u)};var ch=a(54359),uh=a(68463);const lh="cognito-identity",dh={service:lh,retryDecider:(0,uh.D)(ah.F),computeDelay:ch.y,cache:"no-store"};var ph=a(82313);const fh={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let hh;const mh=new Uint8Array(16),gh=[];for(let e=0;e<256;++e)gh.push((e+256).toString(16).slice(1));const yh=function(e,t,r){if(fh.randomUUID&&!t&&!e)return fh.randomUUID();const n=(e=e||{}).random??e.rng?.()??function(){if(!hh){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");hh=crypto.getRandomValues.bind(crypto)}return hh(mh)}();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=n[e];return t}return function(e,t=0){return(gh[e[t+0]]+gh[e[t+1]]+gh[e[t+2]]+gh[e[t+3]]+"-"+gh[e[t+4]]+gh[e[t+5]]+"-"+gh[e[t+6]]+gh[e[t+7]]+"-"+gh[e[t+8]]+gh[e[t+9]]+"-"+gh[e[t+10]]+gh[e[t+11]]+gh[e[t+12]]+gh[e[t+13]]+gh[e[t+14]]+gh[e[t+15]]).toLowerCase()}(n)};var vh=a(8404),bh=a(70547),Eh=a(98306),wh=a(89555);const Sh=(0,Eh.q)(wh.Q,[bh.L,()=>e=>async function(t){return t.headers[vh.jy]||(t.headers[vh.jy]=yh()),e(t)},ph.b,({maxAttempts:e=vh.K7})=>(t,r)=>async function(n){const o=r.attemptsCount??0;return n.headers[vh.Q8]=`attempt=${o+1}; max=${e}`,t(n)}]),Ah=(0,Eh.q)(Sh,[()=>e=>async function(t){return t.headers["cache-control"]="no-store",e(t)}]),_h=e=>(t,r)=>{const n=Ph(e),o=JSON.stringify(t);return Ch(r,n,o)},Ph=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),Ch=({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"}),Ih=e=>sh(Ah,_h("GetCredentialsForIdentity"),xh,{...dh,...e,userAgentValue:oh()}),xh=async e=>{if(e.statusCode>=300)throw await(0,ah.F)(e);const t=await(0,ah.Y)(e);return{IdentityId:t.IdentityId,Credentials:Oh(t.Credentials),$metadata:(0,ih.j)(e)}},Oh=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(1e3*e)}),kh={convert(e,t){let r=e;return t?.urlSafe&&(r=r.replace(/-/g,"+").replace(/_/g,"/")),(()=>{if("undefined"!=typeof window&&"function"==typeof window.atob)return window.atob;if("function"==typeof atob)return atob;throw new bf.x({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})})()(r)}},Th=(e,t=bf.x)=>(r,n,o)=>{const{message:i,recoverySuggestion:a}=e[n];if(!r)throw new t({name:n,message:o?`${i} ${o}`:i,recoverySuggestion:a})};var Nh,jh;(jh=Nh||(Nh={})).AuthTokenConfigException="AuthTokenConfigException",jh.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",jh.AuthUserPoolException="AuthUserPoolException",jh.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",jh.OAuthNotConfigureException="OAuthNotConfigureException";const Rh=Th({[Nh.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[Nh.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[Nh.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[Nh.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[Nh.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}});function Mh(e){let t=!0;t=!!e&&!!e.userPoolId&&!!e.userPoolClientId,Rh(t,Nh.AuthUserPoolException)}function Dh(e){Rh(!!e?.identityPoolId,Nh.InvalidIdentityPoolIdException)}function Uh(e){const t=e.split(".");if(3!==t.length)throw new Error("Invalid token");try{const r=t[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(kh.convert(r).split("").map(e=>`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`).join(""));return{toString:()=>e,payload:JSON.parse(n)}}catch(e){throw new Error("Invalid token payload")}}class Fh extends bf.x{constructor(e){super(e),this.constructor=Fh,Object.setPrototypeOf(this,Fh.prototype)}}function Lh(e){if(!e||"Error"===e.name||e instanceof TypeError)throw new Fh({name:vf.m.Unknown,message:"An unknown error has occurred.",underlyingError:e})}function zh(e){if(!e||!e.includes(":"))throw new Fh({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]}const Vh="UserUnAuthenticatedException";new Fh({name:"InvalidRedirectException",message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."}),new Fh({name:"InvalidAppSchemeException",message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."}),new Fh({name:"InvalidPreferredRedirectUrlException",message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."}),new Fh({name:"InvalidOriginException",message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."});const Hh=new Fh({name:"TokenRefreshException",message:"Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow. \n\tPlease change your oauth configuration to use 'code grant' flow.",recoverySuggestion:"Please logout and change your Amplify configuration to use \"code grant\" flow. \n\tE.g { responseType: 'code' }"}),$h=new Fh({name:Vh,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});const Wh={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"};function Bh(e){return e?.accessToken||e?.idToken}const Kh={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},Gh={partitions:[Kh,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},qh=e=>{const{partitions:t}=Gh;for(const{regions:r,outputs:n,regionRegex:o}of t){const t=new RegExp(o);if(r.includes(e)||t.test(e))return n.dnsSuffix}return Kh.outputs.dnsSuffix};var Yh=a(79097);const Jh=({endpointOverride:e})=>t=>e?{url:new Yh.o(e)}:(({region:e})=>({url:new Yh.o(`https://${lh}.${e}.${qh(e)}`)}))(t),Qh=async e=>{if(e.statusCode>=300)throw await(0,ah.F)(e);return{IdentityId:(await(0,ah.Y)(e)).IdentityId,$metadata:(0,ih.j)(e)}};function Xh(e){const t=Uh(e).payload.iss,r={};if(!t)throw new Fh({name:"InvalidIdTokenException",message:"Invalid Idtoken."});return r[t.replace(/(^\w+:|^)\/\//,"")]=e,r}const Zh=new Sf.C("CognitoCredentialsProvider"),em=3e6;class tm{constructor(e){this._nextCredentialsRefresh=0,this._identityIdStore=e}async clearCredentialsAndIdentityId(){Zh.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){Zh.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(e){const t=e.authenticated,{tokens:r}=e,{authConfig:n}=e;try{Dh(n?.Cognito)}catch{return}if(!t&&!n.Cognito.allowGuestAccess)return;const{forceRefresh:o}=e,i=this.hasTokenChanged(r),a=await async function({tokens:e,authConfig:t,identityIdStore:r}){r.setAuthConfig({Cognito:t});const n=await r.loadIdentityId();if(n)return n.id;const o=e?.idToken?Xh(e.idToken.toString()):{},i=await async function(e,t){const r=t?.identityPoolId,n=zh(r),o=(i={endpointResolver:Jh({endpointOverride:t.identityPoolEndpoint})},sh(Ah,_h("GetId"),Qh,{...dh,...i,userAgentValue:oh()}));var i;let a;try{a=(await o({region:n},{IdentityPoolId:r,Logins:e})).IdentityId}catch(e){throw Lh(e),new Fh(e)}if(!a)throw new Fh({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return a}(o,t);return r.storeIdentityId({id:i,type:e?"primary":"guest"}),i}({tokens:r,authConfig:n.Cognito,identityIdStore:this._identityIdStore});return(o||i)&&this.clearCredentials(),t?(function(e){if(!e||!e.idToken)throw new Fh({name:Vh,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}(r),this.credsForOIDCTokens(n.Cognito,r,a)):this.getGuestCredentials(a,n.Cognito)}async getGuestCredentials(e,t){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!1===this._credentialsAndIdentityId.isAuthenticatedCreds)return Zh.info("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const r=zh(t.identityPoolId),n=Ih({endpointResolver:Jh({endpointOverride:t.identityPoolEndpoint})});let o;try{o=await n({region:r},{IdentityId:e})}catch(e){throw Lh(e),new Fh(e)}if(o?.Credentials?.AccessKeyId&&o?.Credentials?.SecretKey){this._nextCredentialsRefresh=(new Date).getTime()+em;const t={credentials:{accessKeyId:o.Credentials.AccessKeyId,secretAccessKey:o.Credentials.SecretKey,sessionToken:o.Credentials.SessionToken,expiration:o.Credentials.Expiration},identityId:e};return o.IdentityId&&(t.identityId=o.IdentityId,this._identityIdStore.storeIdentityId({id:o.IdentityId,type:"guest"})),this._credentialsAndIdentityId={...t,isAuthenticatedCreds:!1},t}throw new Fh({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(e,t,r){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!0===this._credentialsAndIdentityId.isAuthenticatedCreds)return Zh.debug("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const n=t.idToken?Xh(t.idToken.toString()):{},o=zh(e.identityPoolId),i=Ih({endpointResolver:Jh({endpointOverride:e.identityPoolEndpoint})});let a;try{a=await i({region:o},{IdentityId:r,Logins:n})}catch(e){throw Lh(e),new Fh(e)}if(a?.Credentials?.AccessKeyId&&a?.Credentials?.SecretKey){this._nextCredentialsRefresh=(new Date).getTime()+em;const e={credentials:{accessKeyId:a.Credentials.AccessKeyId,secretAccessKey:a.Credentials.SecretKey,sessionToken:a.Credentials.SessionToken,expiration:a.Credentials.Expiration},identityId:r};return a.IdentityId&&(e.identityId=a.IdentityId,this._identityIdStore.storeIdentityId({id:a.IdentityId,type:"primary"})),this._credentialsAndIdentityId={...e,isAuthenticatedCreds:!0,associatedIdToken:t.idToken?.toString()},e}throw new Fh({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return void 0===this._nextCredentialsRefresh||this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(e){return!!e&&!!this._credentialsAndIdentityId?.associatedIdToken&&e.idToken?.toString()!==this._credentialsAndIdentityId.associatedIdToken}}const rm={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"};var nm;!function(e){e.InvalidAuthTokens="InvalidAuthTokens"}(nm||(nm={}));const om=Th({[nm.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}}),im="CognitoIdentityServiceProvider";class am{getKeyValueStorage(){if(!this.keyValueStorage)throw new Fh({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(e){this.keyValueStorage=e}setAuthConfig(e){this.authConfig=e}async loadTokens(){try{const e=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e.accessToken);if(!t)throw new Fh({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});const r=Uh(t),n=await this.getKeyValueStorage().getItem(e.idToken),o=n?Uh(n):void 0,i=await this.getKeyValueStorage().getItem(e.refreshToken)??void 0,a=await this.getKeyValueStorage().getItem(e.clockDrift)??"0",s=Number.parseInt(a),c=await this.getKeyValueStorage().getItem(e.signInDetails),u={accessToken:r,idToken:o,refreshToken:i,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:s,username:await this.getLastAuthUser()};return c&&(u.signInDetails=JSON.parse(c)),u}catch(e){return null}}async storeTokens(e){om(void 0!==e,nm.InvalidAuthTokens);const t=e.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),t);const r=await this.getAuthKeys();await this.getKeyValueStorage().setItem(r.accessToken,e.accessToken.toString()),e.idToken?await this.getKeyValueStorage().setItem(r.idToken,e.idToken.toString()):await this.getKeyValueStorage().removeItem(r.idToken),e.refreshToken?await this.getKeyValueStorage().setItem(r.refreshToken,e.refreshToken):await this.getKeyValueStorage().removeItem(r.refreshToken),e.deviceMetadata&&(e.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(r.deviceKey,e.deviceMetadata.deviceKey),e.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(r.deviceGroupKey,e.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(r.randomPasswordKey,e.deviceMetadata.randomPassword)),e.signInDetails?await this.getKeyValueStorage().setItem(r.signInDetails,JSON.stringify(e.signInDetails)):await this.getKeyValueStorage().removeItem(r.signInDetails),await this.getKeyValueStorage().setItem(r.clockDrift,`${e.clockDrift}`)}async clearTokens(){const e=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(e.accessToken),this.getKeyValueStorage().removeItem(e.idToken),this.getKeyValueStorage().removeItem(e.clockDrift),this.getKeyValueStorage().removeItem(e.refreshToken),this.getKeyValueStorage().removeItem(e.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(e.oauthMetadata)])}async getDeviceMetadata(e){const t=await this.getAuthKeys(e),r=await this.getKeyValueStorage().getItem(t.deviceKey),n=await this.getKeyValueStorage().getItem(t.deviceGroupKey),o=await this.getKeyValueStorage().getItem(t.randomPasswordKey);return o&&n&&r?{deviceKey:r,deviceGroupKey:n,randomPassword:o}:null}async clearDeviceMetadata(e){const t=await this.getAuthKeys(e);await Promise.all([this.getKeyValueStorage().removeItem(t.deviceKey),this.getKeyValueStorage().removeItem(t.deviceGroupKey),this.getKeyValueStorage().removeItem(t.randomPasswordKey)])}async getAuthKeys(e){Mh(this.authConfig?.Cognito);const t=e??await this.getLastAuthUser();return sm(im,`${this.authConfig.Cognito.userPoolClientId}.${t}`)}getLastAuthUserKey(){Mh(this.authConfig?.Cognito);const e=this.authConfig.Cognito.userPoolClientId;return`${im}.${e}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(e){const{oauthMetadata:t}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(t,JSON.stringify(e))}async getOAuthMetadata(){const{oauthMetadata:e}=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e);return t&&JSON.parse(t)}}const sm=(e,t)=>cm(rm)(`${e}`,t);function cm(e){const t=Object.values({...e});return(e,r)=>t.reduce((t,n)=>({...t,[n]:`${e}.${r}.${n}`}),{})}const um={identityId:"identityId"},lm=new Sf.C("DefaultIdentityIdStore");class dm{setAuthConfig(e){Dh(e.Cognito),this.authConfig=e,this._authKeys=pm("Cognito",e.Cognito.identityPoolId)}constructor(e){this._authKeys={},this._hasGuestIdentityId=!1,this.keyValueStorage=e}async loadIdentityId(){Dh(this.authConfig?.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{const e=await this.keyValueStorage.getItem(this._authKeys.identityId);return e?(this._hasGuestIdentityId=!0,{id:e,type:"guest"}):null}}catch(e){return lm.log("Error getting stored IdentityId.",e),null}}async storeIdentityId(e){Dh(this.authConfig?.Cognito),"guest"===e.type?(this.keyValueStorage.setItem(this._authKeys.identityId,e.id),this._primaryIdentityId=void 0,this._hasGuestIdentityId=!0):(this._primaryIdentityId=e.id,this._hasGuestIdentityId&&(this.keyValueStorage.removeItem(this._authKeys.identityId),this._hasGuestIdentityId=!1))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}}const pm=(e,t)=>cm(um)(`com.amplify.${e}`,t),fm=new tm(new dm(If)),hm="cognito-idp",mm=({endpointOverride:e})=>t=>e?{url:new Yh.o(e)}:(({region:e})=>({url:new Yh.o(`https://${hm}.${e}.${qh(e)}`)}))(t),gm=(0,Eh.q)(Sh,[()=>(e,t)=>async function(t){return t.headers["cache-control"]="no-store",e(t)}]),ym={service:hm,retryDecider:(0,uh.D)(ah.F),computeDelay:ch.y,get userAgentValue(){return oh()},cache:"no-store"},vm=(e=>{let t;return async(...r)=>t||(t=new Promise((n,o)=>{e(...r).then(e=>{n(e)}).catch(e=>{o(e)}).finally(()=>{t=void 0})}),t)})(async({tokens:e,authConfig:t,username:r,clientMetadata:n})=>{Mh(t?.Cognito);const{userPoolId:o,userPoolClientId:i,userPoolEndpoint:a}=t.Cognito,s=function(e){const t=e?.split("_")[0];if(!e||e.indexOf("_")<0||!t||"string"!=typeof t)throw new Fh({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t}(o);!function(e){if(function(e){return Bh(e)&&!e?.refreshToken}(e))throw Hh;if(!function(e){return Bh(e)&&e?.refreshToken}(e))throw $h}(e);const c=(f={endpointResolver:mm({endpointOverride:a})},sh(gm,(e,t)=>(({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"}))(t,{"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityProviderService.GetTokensFromRefreshToken"},JSON.stringify(e)),async e=>{if(e.statusCode>=300){const t=await(0,ah.F)(e);throw Lh(t),new Fh({name:t.name,message:t.message,metadata:t.$metadata})}return(0,ah.Y)(e)},{...ym,...f})),{AuthenticationResult:u}=await c({region:s},{ClientId:i,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:n}),l=Uh(u?.AccessToken??""),d=u?.IdToken?Uh(u.IdToken):void 0,{iat:p}=l.payload;var f;if(!p)throw new Fh({name:"iatNotFoundException",message:"iat not found in access token"});return{accessToken:l,idToken:d,clockDrift:1e3*p-(new Date).getTime(),refreshToken:u?.RefreshToken??e.refreshToken,username:r}});var bm=a(26886);function Em({expiresAt:e,clockDrift:t,tolerance:r=5e3}){return Date.now()+t+r>e}const wm="amplify-signin-with-hostedUI",Sm="CognitoIdentityServiceProvider",Am=(e,t)=>cm(Wh)(e,t),_m=new class{constructor(e){this.keyValueStorage=e}async clearOAuthInflightData(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(e.inflightOAuth),this.keyValueStorage.removeItem(e.oauthPKCE),this.keyValueStorage.removeItem(e.oauthState)])}async clearOAuthData(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(wm),this.keyValueStorage.removeItem(e.oauthSignIn)}loadOAuthState(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthState)}storeOAuthState(e){Mh(this.cognitoConfig);const t=Am(Sm,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthState,e)}loadPKCE(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthPKCE)}storePKCE(e){Mh(this.cognitoConfig);const t=Am(Sm,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthPKCE,e)}setAuthConfig(e){this.cognitoConfig=e}async loadOAuthInFlight(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId);return"true"===await this.keyValueStorage.getItem(e.inflightOAuth)}async storeOAuthInFlight(e){Mh(this.cognitoConfig);const t=Am(Sm,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(t.inflightOAuth,`${e}`)}async loadOAuthSignIn(){Mh(this.cognitoConfig);const e=Am(Sm,this.cognitoConfig.userPoolClientId),t=await this.keyValueStorage.getItem(wm),[r,n]=(await this.keyValueStorage.getItem(e.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:"true"===r||"true"===t,preferPrivateSession:"true"===n}}async storeOAuthSignIn(e,t=!1){Mh(this.cognitoConfig);const r=Am(Sm,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(r.oauthSignIn,`${e},${t}`)}}(If),Pm=[];class Cm{constructor(){this.waitForInflightOAuth="undefined"!=typeof window&&void 0!==window.document?async()=>{if(await _m.loadOAuthInFlight())return this.inflightPromise||(this.inflightPromise=new Promise((e,t)=>{var r;r=e,Pm.push(r)})),this.inflightPromise}:async()=>{}}setAuthConfig(e){_m.setAuthConfig(e.Cognito),this.authConfig=e}setTokenRefresher(e){this.tokenRefresher=e}setAuthTokenStore(e){this.tokenStore=e}getTokenStore(){if(!this.tokenStore)throw new Fh({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new Fh({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(e){this.clientMetadataProvider=e}async getTokens(e){let t;try{Mh(this.authConfig?.Cognito)}catch(e){return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,t=await this.getTokenStore().loadTokens();const r=await this.getTokenStore().getLastAuthUser();if(null===t)return null;const n=!!t?.idToken&&Em({expiresAt:1e3*(t.idToken?.payload?.exp??0),clockDrift:t.clockDrift??0}),o=Em({expiresAt:1e3*(t.accessToken?.payload?.exp??0),clockDrift:t.clockDrift??0});return(e?.forceRefresh||n||o)&&(t=await this.refreshTokens({tokens:t,username:r,clientMetadata:e?.clientMetadata??await(this.clientMetadataProvider?.())}),null===t)?null:{accessToken:t?.accessToken,idToken:t?.idToken,signInDetails:t?.signInDetails}}async refreshTokens({tokens:e,username:t,clientMetadata:r}){try{const{signInDetails:n}=e,o=await this.getTokenRefresher()({tokens:e,authConfig:this.authConfig,username:t,clientMetadata:r});return o.signInDetails=n,await this.setTokens({tokens:o}),bm.YZ.dispatch("auth",{event:"tokenRefresh"},"Auth",bm.U9),o}catch(e){return this.handleErrors(e)}}handleErrors(e){if(Lh(e),this.isAuthenticationError(e)&&this.clearTokens(),bm.YZ.dispatch("auth",{event:"tokenRefresh_failure",data:{error:e}},"Auth",bm.U9),e.name.startsWith("NotAuthorizedException"))return null;throw e}isAuthenticationError(e){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(t=>e?.name?.startsWith?.(t))}async setTokens({tokens:e}){return this.getTokenStore().storeTokens(e)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(e){return this.getTokenStore().getDeviceMetadata(e)}clearDeviceMetadata(e){return this.getTokenStore().clearDeviceMetadata(e)}setOAuthMetadata(e){return this.getTokenStore().setOAuthMetadata(e)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}const Im=new class{constructor(){this.authTokenStore=new am,this.authTokenStore.setKeyValueStorage(If),this.tokenOrchestrator=new Cm,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(vm)}getTokens(e={}){return this.tokenOrchestrator.getTokens(e)}setKeyValueStorage(e){this.authTokenStore.setKeyValueStorage(e)}setClientMetadataProvider(e){this.tokenOrchestrator.setClientMetadataProvider(e)}setAuthConfig(e){this.authTokenStore.setAuthConfig(e),this.tokenOrchestrator.setAuthConfig(e)}},{tokenOrchestrator:xm}=Im,Om={configure(e,t){const r=(0,Hf.M)(e),n=new yf({sameSite:"lax"}),o=t?.ssr?n:If,i=t?.ssr?new tm(new dm(n)):fm;if(r.Auth)if(t?.Auth)cn.H.configure(r,t);else{if(!cn.H.libraryOptions.Auth)return Im.setAuthConfig(r.Auth),Im.setKeyValueStorage(o),void cn.H.configure(r,{...t,Auth:{tokenProvider:Im,credentialsProvider:i}});if(t){const e=cn.H.libraryOptions.Auth;return void 0!==t.ssr&&(Im.setKeyValueStorage(o),e.credentialsProvider=i),void cn.H.configure(r,{Auth:e,...t})}cn.H.configure(r)}else cn.H.configure(r,t)},getConfig:()=>cn.H.getConfig()};var km=Symbol.for("immer-nothing"),Tm=Symbol.for("immer-draftable"),Nm=Symbol.for("immer-state");function jm(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Rm=Object,Mm=Rm.getPrototypeOf,Dm="constructor",Um="prototype",Fm="configurable",Lm="enumerable",zm="writable",Vm="value",Hm=e=>!!e&&!!e[Nm];function $m(e){return!!e&&(Km(e)||Xm(e)||!!e[Tm]||!!e[Dm]?.[Tm]||Zm(e)||eg(e))}var Wm=Rm[Um][Dm].toString(),Bm=new WeakMap;function Km(e){if(!e||!tg(e))return!1;const t=Mm(e);if(null===t||t===Rm[Um])return!0;const r=Rm.hasOwnProperty.call(t,Dm)&&t[Dm];if(r===Object)return!0;if(!rg(r))return!1;let n=Bm.get(r);return void 0===n&&(n=Function.toString.call(r),Bm.set(r,n)),n===Wm}function Gm(e,t,r=!0){0===qm(e)?(r?Reflect.ownKeys(e):Rm.keys(e)).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function qm(e){const t=e[Nm];return t?t.type_:Xm(e)?1:Zm(e)?2:eg(e)?3:0}var Ym=(e,t,r=qm(e))=>2===r?e.has(t):Rm[Um].hasOwnProperty.call(e,t),Jm=(e,t,r=qm(e))=>2===r?e.get(t):e[t],Qm=(e,t,r,n=qm(e))=>{2===n?e.set(t,r):3===n?e.add(r):e[t]=r},Xm=Array.isArray,Zm=e=>e instanceof Map,eg=e=>e instanceof Set,tg=e=>"object"==typeof e,rg=e=>"function"==typeof e,ng=e=>"boolean"==typeof e,og=e=>e.copy_||e.base_,ig=e=>e.modified_?e.copy_:e.base_;function ag(e,t){if(Zm(e))return new Map(e);if(eg(e))return new Set(e);if(Xm(e))return Array[Um].slice.call(e);const r=Km(e);if(!0===t||"class_only"===t&&!r){const t=Rm.getOwnPropertyDescriptors(e);delete t[Nm];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){const o=r[n],i=t[o];!1===i[zm]&&(i[zm]=!0,i[Fm]=!0),(i.get||i.set)&&(t[o]={[Fm]:!0,[zm]:!0,[Lm]:i[Lm],[Vm]:e[o]})}return Rm.create(Mm(e),t)}{const t=Mm(e);if(null!==t&&r)return{...e};const n=Rm.create(t);return Rm.assign(n,e)}}function sg(e,t=!1){return ug(e)||Hm(e)||!$m(e)||(qm(e)>1&&Rm.defineProperties(e,{set:cg,add:cg,clear:cg,delete:cg}),Rm.freeze(e),t&&Gm(e,(e,t)=>{sg(t,!0)},!1)),e}var cg={[Vm]:function(){jm(2)}};function ug(e){return null===e||!tg(e)||Rm.isFrozen(e)}var lg="MapSet",dg="Patches",pg="ArrayMethods",fg={};function hg(e){const t=fg[e];return t||jm(0),t}var mg,gg=e=>!!fg[e],yg=()=>mg;function vg(e,t){t&&(e.patchPlugin_=hg(dg),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function bg(e){Eg(e),e.drafts_.forEach(Sg),e.drafts_=null}function Eg(e){e===mg&&(mg=e.parent_)}var wg=e=>mg={drafts_:[],parent_:mg,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:gg(lg)?hg(lg):void 0,arrayMethodsPlugin_:gg(pg)?hg(pg):void 0};function Sg(e){const t=e[Nm];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Ag(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];if(void 0!==e&&e!==r){r[Nm].modified_&&(bg(t),jm(4)),$m(e)&&(e=_g(t,e));const{patchPlugin_:n}=t;n&&n.generateReplacementPatches_(r[Nm].base_,e,t)}else e=_g(t,r);return function(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&sg(t,r)}(t,e,!0),bg(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==km?e:void 0}function _g(e,t){if(ug(t))return t;const r=t[Nm];if(!r)return kg(t,e.handledSet_,e);if(!Cg(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){const{callbacks_:t}=r;if(t)for(;t.length>0;)t.pop()(e);Og(r,e)}return r.copy_}function Pg(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Cg=(e,t)=>e.scope_===t,Ig=[];function xg(e,t,r,n){const o=og(e),i=e.type_;if(void 0!==n&&Jm(o,n,i)===t)return void Qm(o,n,r,i);if(!e.draftLocations_){const t=e.draftLocations_=new Map;Gm(o,(e,r)=>{if(Hm(r)){const n=t.get(r)||[];n.push(e),t.set(r,n)}})}const a=e.draftLocations_.get(t)??Ig;for(const e of a)Qm(o,e,r,i)}function Og(e,t){if(e.modified_&&!e.finalized_&&(3===e.type_||1===e.type_&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){const{patchPlugin_:r}=t;if(r){const n=r.getPath(e);n&&r.generatePatches_(e,n,t)}Pg(e)}}function kg(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Hm(e)||t.has(e)||!$m(e)||ug(e)||(t.add(e),Gm(e,(n,o)=>{if(Hm(o)){const t=o[Nm];if(Cg(t,r)){const r=ig(t);Qm(e,n,r,e.type_),Pg(t)}}else $m(o)&&kg(o,t,r)})),e}var Tg={get(e,t){if(t===Nm)return e;let r=e.scope_.arrayMethodsPlugin_;const n=1===e.type_&&"string"==typeof t;if(n&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);const o=og(e);if(!Ym(o,t,e.type_))return function(e,t,r){const n=Rg(t,r);return n?Vm in n?n[Vm]:n.get?.call(e.draft_):void 0}(e,o,t);const i=o[t];if(e.finalized_||!$m(i))return i;if(n&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&function(e){const t=+e;return Number.isInteger(t)&&String(t)===e}(t))return i;if(i===jg(e.base_,t)){Dg(e);const r=1===e.type_?+t:t,n=Ug(e.scope_,i,e,r);return e.copy_[r]=n}return i},has:(e,t)=>t in og(e),ownKeys:e=>Reflect.ownKeys(og(e)),set(e,t,r){const n=Rg(og(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const n=jg(og(e),t),o=n?.[Nm];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(r,n)&&(void 0!==r||Ym(e.base_,t,e.type_)))return!0;Dg(e),Mg(e)}return e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_.set(t,!0),function(e,t,r){const{scope_:n}=e;if(Hm(r)){const o=r[Nm];Cg(o,n)&&o.callbacks_.push(function(){Dg(e);const n=ig(o);xg(e,r,n,t)})}else $m(r)&&e.callbacks_.push(function(){const o=og(e);3===e.type_?o.has(r)&&kg(r,n.handledSet_,n):Jm(o,t,e.type_)===r&&n.drafts_.length>1&&!0===(e.assigned_.get(t)??!1)&&e.copy_&&kg(Jm(e.copy_,t,e.type_),n.handledSet_,n)})}(e,t,r)),!0},deleteProperty:(e,t)=>(Dg(e),void 0!==jg(e.base_,t)||t in e.base_?(e.assigned_.set(t,!1),Mg(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const r=og(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{[zm]:!0,[Fm]:1!==e.type_||"length"!==t,[Lm]:n[Lm],[Vm]:r[t]}:n},defineProperty(){jm(11)},getPrototypeOf:e=>Mm(e.base_),setPrototypeOf(){jm(12)}},Ng={};for(let e in Tg){let t=Tg[e];Ng[e]=function(){const e=arguments;return e[0]=e[0][0],t.apply(this,e)}}function jg(e,t){const r=e[Nm];return(r?og(r):e)[t]}function Rg(e,t){if(!(t in e))return;let r=Mm(e);for(;r;){const e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=Mm(r)}}function Mg(e){e.modified_||(e.modified_=!0,e.parent_&&Mg(e.parent_))}function Dg(e){e.copy_||(e.assigned_=new Map,e.copy_=ag(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function Ug(e,t,r,n){const[o,i]=Zm(t)?hg(lg).proxyMap_(t,r):eg(t)?hg(lg).proxySet_(t,r):function(e,t){const r=Xm(e),n={type_:r?1:0,scope_:t?t.scope_:yg(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=n,i=Tg;r&&(o=[n],i=Ng);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=a,[s,n]}(t,r);return(r?.scope_??yg()).drafts_.push(o),i.callbacks_=r?.callbacks_??[],i.key_=n,r&&void 0!==n?function(e,t,r){e.callbacks_.push(function(n){const o=t;if(!o||!Cg(o,n))return;n.mapSetPlugin_?.fixSetContents(o);const i=ig(o);xg(e,o.draft_??o,i,r),Og(o,n)})}(r,i,n):i.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(i);const{patchPlugin_:t}=e;i.modified_&&t&&t.generatePatches_(i,[],e)}),o}function Fg(e){if(!$m(e)||ug(e))return e;const t=e[Nm];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=ag(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=ag(e,!0);return Gm(r,(e,t)=>{Qm(r,e,Fg(t))},n),t&&(t.finalized_=!1),r}Ng.deleteProperty=function(e,t){return Ng.set.call(this,e,t,void 0)},Ng.set=function(e,t,r){return Tg.set.call(this,e[0],t,r,e[0])};var Lg=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,r)=>{if(rg(e)&&!rg(t)){const r=t;t=e;const n=this;return function(e=r,...o){return n.produce(e,e=>t.call(this,e,...o))}}let n;if(rg(t)||jm(6),void 0===r||rg(r)||jm(7),$m(e)){const o=wg(this),i=Ug(0,e,void 0);let a=!0;try{n=t(i),a=!1}finally{a?bg(o):Eg(o)}return vg(o,r),Ag(n,o)}if(!e||!tg(e)){if(n=t(e),void 0===n&&(n=e),n===km&&(n=void 0),this.autoFreeze_&&sg(n,!0),r){const t=[],o=[];hg(dg).generateReplacementPatches_(e,n,{patches_:t,inversePatches_:o}),r(t,o)}return n}jm(1)},this.produceWithPatches=(e,t)=>{if(rg(e))return(t,...r)=>this.produceWithPatches(t,t=>e(t,...r));let r,n;const o=this.produce(e,t,(e,t)=>{r=e,n=t});return[o,r,n]},ng(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),ng(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),ng(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){var t;$m(e)||jm(8),Hm(e)&&(Hm(t=e)||jm(10),e=Fg(t));const r=wg(this),n=Ug(0,e,void 0);return n[Nm].isManual_=!0,Eg(r),n}finishDraft(e,t){const r=e&&e[Nm];r&&r.isManual_||jm(9);const{scope_:n}=r;return vg(n,t),Ag(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));const n=hg(dg).applyPatches_;return Hm(e)?n(e,t):this.produce(e,e=>n(e,t))}},zg=Lg.produce;const Vg=window.wp.components;var Hg=a(47143),$g=a(27723),Wg={root:"m_849cf0da"};const Bg={underline:"hover"},Kg=(0,ql.v)((e,t)=>{const{underline:r,className:n,unstyled:i,mod:a,...s}=(0,T.Y)("Anchor",Bg,e);return(0,o.jsx)(Bl.E,{component:"a",ref:t,className:(0,j.A)({[Wg.root]:!i},n),...s,mod:[{underline:r},a],__staticSelector:"Anchor",unstyled:i})});Kg.classes=Wg,Kg.displayName="@mantine/core/Anchor";const[Gg,qg]=(0,M.F)("List component was not found in tree");var Yg={root:"m_abbac491",item:"m_abb6bec2",itemWrapper:"m_75cd9f71",itemIcon:"m_60f83e5b"};const Jg=(0,N.P9)((e,t)=>{const r=(0,T.Y)("ListItem",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,icon:u,children:l,mod:d,...p}=r,f=qg(),h=u||f.icon,m={classNames:n,styles:s};return(0,o.jsx)(R.a,{...f.getStyles("item",{...m,className:i,style:a}),component:"li",mod:[{"with-icon":!!h,centered:f.center},d],ref:t,...p,children:(0,o.jsxs)("div",{...f.getStyles("itemWrapper",m),children:[h&&(0,o.jsx)("span",{...f.getStyles("itemIcon",m),children:h}),(0,o.jsx)("span",{...f.getStyles("itemLabel",m),children:l})]})})});Jg.classes=Yg,Jg.displayName="@mantine/core/ListItem";const Qg={type:"unordered"},Xg=(0,de.V)((e,{size:t,spacing:r})=>({root:{"--list-fz":(0,le.ny)(t),"--list-lh":(0,le.ks)(t),"--list-spacing":(0,le.GY)(r)}})),Zg=(0,N.P9)((e,t)=>{const r=(0,T.Y)("List",Qg,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,children:l,type:d,withPadding:p,icon:f,spacing:h,center:m,listStyleType:g,mod:y,attributes:v,...b}=r,E=(0,pe.I)({name:"List",classes:Yg,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:v,vars:u,varsResolver:Xg});return(0,o.jsx)(Gg,{value:{center:m,icon:f,getStyles:E},children:(0,o.jsx)(R.a,{...E("root",{style:{listStyleType:g}}),component:"unordered"===d?"ul":"ol",mod:[{"with-padding":p,type:f?"none":g},y],ref:t,...b,children:l})})});Zg.classes=Yg,Zg.displayName="@mantine/core/List",Zg.Item=Jg;var ey={root:"m_b183c0a2"};const ty=(0,de.V)((e,{color:t})=>({root:{"--code-bg":t?(0,Xt.r)(t,e):void 0}})),ry=(0,N.P9)((e,t)=>{const r=(0,T.Y)("Code",null,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,color:l,block:d,variant:p,mod:f,attributes:h,...m}=r,g=(0,pe.I)({name:"Code",props:r,classes:ey,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:h,vars:u,varsResolver:ty});return(0,o.jsx)(R.a,{component:d?"pre":"code",variant:p,ref:t,mod:[{block:d},f],...g("root"),...m,dir:"ltr"})});ry.classes=ey,ry.displayName="@mantine/core/Code";const[ny,oy]=(0,M.F)("Drawer component was not found in tree");var iy={root:"m_f11b401e",header:"m_5a7c2c9",content:"m_b8a05bbd",inner:"m_31cd769a"};const ay=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerBody",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(W,{ref:t,...l.getStyles("body",{classNames:n,style:a,styles:s,className:i}),...u})});ay.classes=iy,ay.displayName="@mantine/core/DrawerBody";const sy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerCloseButton",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(J,{ref:t,...l.getStyles("close",{classNames:n,style:a,styles:s,className:i}),...u})});sy.classes=iy,sy.displayName="@mantine/core/DrawerCloseButton";const cy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerContent",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,children:u,radius:l,__hidden:d,...p}=r,f=oy(),h=f.scrollAreaComponent||re;return(0,o.jsx)(te,{...f.getStyles("content",{className:i,style:a,styles:s,classNames:n}),innerProps:f.getStyles("inner",{className:i,style:a,styles:s,classNames:n}),ref:t,...p,radius:l||f.radius||0,"data-hidden":d||void 0,children:(0,o.jsx)(h,{style:{height:"calc(100vh - var(--drawer-offset) * 2)"},children:u})})});cy.classes=iy,cy.displayName="@mantine/core/DrawerContent";const uy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerHeader",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(oe,{ref:t,...l.getStyles("header",{classNames:n,style:a,styles:s,className:i}),...u})});uy.classes=iy,uy.displayName="@mantine/core/DrawerHeader";const ly=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerOverlay",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(ce,{ref:t,...l.getStyles("overlay",{classNames:n,style:a,styles:s,className:i}),...u})});ly.classes=iy,ly.displayName="@mantine/core/DrawerOverlay";var dy=a(82820);function py(e){switch(e){case"top":return"flex-start";case"bottom":return"flex-end";default:return}}function fy(e){if("top"===e||"bottom"===e)return"0 0 calc(100% - var(--drawer-offset, 0rem) * 2)"}const hy={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},my={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},gy={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,k.I)("modal"),position:"left"},yy=(0,de.V)((e,{position:t,size:r,offset:n})=>({root:{"--drawer-size":(0,le.YC)(r,"drawer-size"),"--drawer-flex":fy(t),"--drawer-height":"left"===t||"right"===t?void 0:"var(--drawer-size)","--drawer-align":py(t),"--drawer-justify":"right"===t?"flex-end":void 0,"--drawer-offset":(0,p.D)(n)}})),vy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerRoot",gy,e),{classNames:n,className:i,style:a,styles:s,unstyled:c,vars:u,scrollAreaComponent:l,position:d,transitionProps:p,radius:f,attributes:h,...m}=r,{dir:g}=(0,dy.jH)(),y=(0,pe.I)({name:"Drawer",classes:iy,props:r,className:i,style:a,classNames:n,styles:s,unstyled:c,attributes:h,vars:u,varsResolver:yy}),v=("rtl"===g?my:hy)[d];return(0,o.jsx)(ny,{value:{scrollAreaComponent:l,getStyles:y,radius:f},children:(0,o.jsx)(tt,{ref:t,...y("root"),transitionProps:{transition:v,...p},"data-offset-scrollbars":l===rt.F.Autosize||void 0,unstyled:c,...m})})});vy.classes=iy,vy.displayName="@mantine/core/DrawerRoot";const[by,Ey]=(0,at.e)();function wy({children:t}){const[r,n]=(0,e.useState)([]),[i,a]=(0,e.useState)((0,k.I)("modal"));return(0,o.jsx)(by,{value:{stack:r,addModal:(e,t)=>{n(t=>[...new Set([...t,e])]),a(e=>"number"==typeof t&&"number"==typeof e?Math.max(e,t):e)},removeModal:e=>n(t=>t.filter(t=>t!==e)),getZIndex:e=>`calc(${i} + ${r.indexOf(e)} + 1)`,currentId:r[r.length-1],maxZIndex:i},children:t})}wy.displayName="@mantine/core/DrawerStack";const Sy=(0,N.P9)((e,t)=>{const r=(0,T.Y)("DrawerTitle",null,e),{classNames:n,className:i,style:a,styles:s,vars:c,...u}=r,l=oy();return(0,o.jsx)(lt,{ref:t,...l.getStyles("title",{classNames:n,style:a,styles:s,className:i}),...u})});Sy.classes=iy,Sy.displayName="@mantine/core/DrawerTitle";const Ay={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,k.I)("modal"),withOverlay:!0,withCloseButton:!0},_y=(0,N.P9)((t,r)=>{const{title:n,withOverlay:i,overlayProps:a,withCloseButton:s,closeButtonProps:c,children:u,opened:l,stackId:d,zIndex:p,...f}=(0,T.Y)("Drawer",Ay,t),h=Ey(),m=!!n||s,g=h&&d?{closeOnEscape:h.currentId===d,trapFocus:h.currentId===d,zIndex:h.getZIndex(d)}:{},y=!1!==i&&(d&&h?h.currentId===d:l);return(0,e.useEffect)(()=>{h&&d&&(l?h.addModal(d,p||(0,k.I)("modal")):h.removeModal(d))},[l,d,p]),(0,o.jsxs)(vy,{ref:r,opened:l,zIndex:h&&d?h.getZIndex(d):p,...f,...g,children:[i&&(0,o.jsx)(ly,{visible:y,transitionProps:h&&d?{duration:0}:void 0,...a}),(0,o.jsxs)(cy,{__hidden:!!(h&&d&&l)&&d!==h.currentId,children:[m&&(0,o.jsxs)(uy,{children:[n&&(0,o.jsx)(Sy,{children:n}),s&&(0,o.jsx)(sy,{...c})]}),(0,o.jsx)(ay,{children:u})]})]})});_y.classes=iy,_y.displayName="@mantine/core/Drawer",_y.Root=vy,_y.Overlay=ly,_y.Content=cy,_y.Body=ay,_y.Header=uy,_y.Title=Sy,_y.CloseButton=sy,_y.Stack=wy;const Py=(0,Bp.A)("outline","circle","Circle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}]]);var Cy=a(43226);const Iy={"user-pools":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"Configuring AWS Cognito"}),(0,o.jsxs)(Bl.E,{children:["This plugin connects your WordPress site to"," ",(0,o.jsx)(Kg,{href:"https://aws.amazon.com/pm/cognito",target:"_blank",children:"AWS Cognito"})," ","for user authentication. To get started, you’ll need to set up resources within your AWS account:"]}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Kg,{href:"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools.html",target:"_blank",children:"Cognito User Pool"}),": Manages user directories, sign-up, and sign-in."]}),(0,o.jsxs)(Zg.Item,{children:["An"," ",(0,o.jsx)(Kg,{href:"https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html",target:"_blank",children:"App Client"})," ","within the User Pool: Allows your site (the application) to interact with the User Pool."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Kg,{href:"https://docs.aws.amazon.com/cognito/latest/developerguide/identity-pools.html",target:"_blank",children:"Cognito Identity Pool (Optional but Recommended)"}),": Grants authenticated users temporary AWS credentials to access other AWS services if needed."]})]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Default vs. Secondary User Pools"}),(0,o.jsx)(Bl.E,{children:"You can configure two separate Cognito User Pool setups:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Default User Pool:"})," This configuration is used when users authenticate directly on your WordPress domain. It’s the standard setup for dynamic WordPress sites. If you also have a static export, this pool typically handles the development version served from the WordPress backend."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Secondary User Pool:"})," This is primarily for statically exported sites hosted on a ",(0,o.jsx)("strong",{children:"different domain"})," than your WordPress installation. Since Cognito requires precise redirect URIs based on the domain, a separate configuration (and potentially a separate App Client or even User Pool) is needed for the static site’s domain."]})]}),(0,o.jsx)(Bl.E,{size:"sm",children:"For a standard dynamic WordPress site, you usually only need to configure the Default User Pool."}),(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Configuration Fields Explained"}),(0,o.jsx)(Bl.E,{children:"Enter the details from your AWS Cognito setup into the corresponding fields:"}),(0,o.jsxs)(Zg,{type:"ordered",size:"sm",spacing:"sm",mt:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{id:"user-pool-domains",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"User Pool Domains"})}),"Specify the domains as a regular expression that should use the secondary User Pool configuration. Requests from other domains will use the default User Pool configuration. For example, to match ",(0,o.jsx)(ry,{children:"example.com"})," and ",(0,o.jsx)(ry,{children:"www.example.com"}),", use "," ",(0,o.jsx)(ry,{children:"^(www\\.)?example\\.com$"}),"."]}),(0,o.jsxs)(Zg.Item,{id:"user-pool-id",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"User Pool ID"})}),"The unique identifier for your Cognito User Pool (e.g.,"," ",(0,o.jsx)(ry,{children:"us-east-1_abcdef123"}),"). Find this on the User Pool overview page in the AWS console."]}),(0,o.jsxs)(Zg.Item,{id:"app-client-id",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"App Client ID"})}),"The unique ID for the App Client you created within your User Pool. Find this under “App integration” > “App client list” in your User Pool settings. Ensure this App Client is configured correctly for your website’s domain(s) and callback URLs."]}),(0,o.jsxs)(Zg.Item,{id:"region",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Region"})}),"The AWS region where your User Pool and Identity Pool are located (e.g., ",(0,o.jsx)(ry,{children:"us-east-1"}),", ",(0,o.jsx)(ry,{children:"eu-west-2"}),")."]}),(0,o.jsxs)(Zg.Item,{id:"identity-pool-id",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Identity Pool ID"})}),"(Optional) The unique identifier for your Cognito Identity Pool (e.g.,"," ",(0,o.jsx)(ry,{children:"us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"}),"). Required if you need to grant users access to other AWS resources."]}),(0,o.jsxs)(Zg.Item,{id:"oauth-domain",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"OAuth Domain"})}),"The full domain used for Cognito’s hosted UI and OAuth endpoints. This is often in the format"," ",(0,o.jsx)(ry,{children:"your-domain-prefix.auth.your-region.amazoncognito.com"}),". Find this under “App integration” > “Domain name” in your User Pool settings."]}),(0,o.jsxs)(Zg.Item,{id:"oauth-scopes",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"OAuth Scopes"})}),"Space-separated list of"," ",(0,o.jsx)(Kg,{href:"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-define-resource-servers.html#cognito-user-pools-define-resource-servers-scopes",target:"_blank",children:"OAuth scopes"})," ","your application requests during authentication. Common scopes include"," ",(0,o.jsx)(ry,{children:"openid"}),", ",(0,o.jsx)(ry,{children:"email"}),", ",(0,o.jsx)(ry,{children:"profile"}),", and"," ",(0,o.jsx)(ry,{children:"aws.cognito.signin.user.admin"}),". Ensure these match the scopes enabled in your App Client settings under “Hosted UI”."]})]})]}),general:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"General Settings"}),(0,o.jsx)(Bl.E,{children:"Configure core authentication behaviors, security measures, and page redirects for your users."}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"login-mechanisms",children:(0,o.jsx)("span",{className:"highlightable",children:"Login Mechanisms"})}),(0,o.jsx)(Bl.E,{children:"Choose which identifiers users can use to sign in to their accounts via Cognito. Select one or more options:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Username:"})," Allow users to sign in with the username they chose during registration."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Email:"})," Allow users to sign in using their verified email address."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Phone Number:"})," Allow users to sign in using their verified phone number."]})]}),(0,o.jsx)(Bl.E,{size:"sm",mt:"xs",children:"Ensure your Cognito User Pool is configured to support the selected mechanisms under “Sign-in options”."}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"signup-attributes",children:(0,o.jsx)("span",{className:"highlightable",children:"Sign-up attributes"})}),(0,o.jsx)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Bl.E,{fw:500,children:"Standard attributes"}),"Choose which Cognito attributes are stored at sign-up —",(0,o.jsx)(ry,{ml:"xs",children:"email"}),", ",(0,o.jsx)(ry,{children:"phone_number"}),", etc. These fields are rendered automatically by Cognito."]})}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"social-providers",children:(0,o.jsx)("span",{className:"highlightable",children:"Social providers"})}),(0,o.jsx)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Bl.E,{fw:500,children:"Providers"}),"Toggle Google, Facebook, Apple or Amazon buttons (requires corresponding Identity Provider in AWS console)."]})}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"custom-translations-url",children:(0,o.jsx)("span",{className:"highlightable",children:"Custom Translations"})}),(0,o.jsx)(Bl.E,{children:"Specify the URL of a JSON file that provides your custom translations for the authentication flow."}),(0,o.jsxs)(Bl.E,{children:["The file can live on your own server or any public location, as long as it returns valid JSON in the expected format. Include"," ",(0,o.jsx)("strong",{children:"only"})," those locales and text keys you actually want to override or add (e.g. labels for ",(0,o.jsx)("em",{children:"Custom Blocks"})," that have no default translation). For details, see ",(0,o.jsx)(Kg,{href:"https://ui.docs.amplify.aws/react/connected-components/authenticator/customization#internationalization-i18n",target:"_blank",children:"AWS Amplify Authenticator Internationalization (i18n) documentation"}),"."]}),(0,o.jsx)(Bl.E,{children:"Example of a minimal JSON file:"}),(0,o.jsx)(Bl.E,{className:Cy.A["highlighted-doc-item"],style:{whiteSpace:"pre-wrap"},children:'{\n "fr": {\n "Sign In": "Se connecter"\n },\n "es": {\n "custom:company": "Empresa",\n "custom:favoriteColor": "Color favorito"\n }\n}'}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"recaptcha-site-key",children:(0,o.jsx)("span",{className:"highlightable",children:"reCAPTCHA Site Key"})}),(0,o.jsxs)(Bl.E,{children:[(0,o.jsx)(Kg,{href:"https://developers.google.com/recaptcha/docs/v3",target:"_blank",children:"Google reCAPTCHA"})," ","protects your site from automated abuse without annoying your real visitors. Gatey can work with both the ",(0,o.jsx)("strong",{children:"classic v3"})," and",(0,o.jsx)("strong",{children:" reCAPTCHA Enterprise (v3)"})," APIs. Simply paste the Site Key here, then use the check‑boxes below to tell Gatey which variant to load and from which host."]}),(0,o.jsx)(Bl.E,{children:"The Site Key is stored in WordPress; the matching Secret Key is only required server‑side when you verify tokens in a custom API."}),(0,o.jsxs)(Zg,{size:"sm",spacing:"sm",mt:"xs",children:[(0,o.jsxs)(Zg.Item,{id:"recaptcha-site-key",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Site Key"})}),"Paste the key generated in either the"," ",(0,o.jsx)(Kg,{href:"https://console.cloud.google.com/security/recaptcha",target:"_blank",children:"reCAPTCHA Enterprise console"})," ","or the"," ",(0,o.jsx)(Kg,{href:"https://www.google.com/recaptcha/admin/create",target:"_blank",children:"classic v3 admin page"}),". Gatey will use it in the browser to request a token every time a user performs a protected action."]}),(0,o.jsxs)(Zg.Item,{id:"use-recaptcha-enterprise",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Use reCAPTCHA Enterprise"})}),"Tick this if the key above belongs to a reCAPTCHA Enterprise project. Enterprise offers higher quotas, risk analysis, and Google Cloud IAM integration. Leave it ",(0,o.jsx)("em",{children:"unchecked"})," to load the classic v3 client instead."]}),(0,o.jsxs)(Zg.Item,{id:"use-recaptcha-net",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Serve from recaptcha.net"})}),"When enabled, the reCAPTCHA script will be downloaded from",(0,o.jsx)("code",{children:"recaptcha.net"})," rather than ",(0,o.jsx)("code",{children:"google.com"}),". This is useful for visitors in regions where ",(0,o.jsx)("code",{children:"google.com"})," is blocked (e.g. mainland China). For most sites you can keep this unchecked for the fastest global CDN delivery."]})]}),(0,o.jsxs)(Bl.E,{mt:"sm",children:["During ",(0,o.jsx)("em",{children:"sign‑up"})," the client token is sent as"," ",(0,o.jsx)("code",{children:"validationData.recaptchaToken"}),". Validate it in your pre‑sign‑up Lambda — see the example on"," ",(0,o.jsx)(Kg,{href:"https://wpsuite.io",target:"_blank",children:"wpsuite.io"}),"."]})," ",(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Page Settings"}),(0,o.jsx)(Bl.E,{children:"Select specific WordPress pages for key parts of the authentication flow. This ensures users are directed to the correct locations within your site."}),(0,o.jsxs)(Zg,{size:"sm",spacing:"sm",mt:"xs",children:[(0,o.jsxs)(Zg.Item,{id:"sign-in-page",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Sign In Page"})}),"Choose the WordPress page that contains your login form (either via a shortcode provided by this plugin or a custom implementation). Unauthenticated users attempting to access protected content may be redirected here."]}),(0,o.jsxs)(Zg.Item,{id:"default-redirect-after-signing-in",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Default redirect after signing in"})}),"Select the default page users should be redirected to immediately after a successful login. This is often a user dashboard, profile page, or the site homepage."]}),(0,o.jsxs)(Zg.Item,{id:"default-redirect-after-signing-out",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Default redirect after signing out"})}),"Select the default page users should be redirected to after they explicitly sign out. This is typically the login page or the site homepage."]})]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"hide-powered-by-gatey",className:"highlightable",children:"Hide “Powered by Gatey”"}),(0,o.jsxs)(Bl.E,{children:["When enabled (default), this hides the “Powered by Gatey” text from your Sign In and Sign Up forms. If you disable it, a small footer will appear below the forms linking to"," ",(0,o.jsx)("a",{href:"https://wpsuite.io/gatey/",target:"_blank",rel:"noopener noreferrer",children:"Gatey"}),". The link is always present for screen readers to ensure accessibility."]})]}),"wordpress-login":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"WordPress Login Integration"}),(0,o.jsx)(Bl.E,{children:"This powerful feature allows you to synchronize user logins between your public-facing site (using Cognito) and the underlying WordPress instance."}),(0,o.jsx)(Bl.E,{children:"When enabled, users signing in via Cognito will also be automatically logged into the WordPress backend. This means:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,icon:(0,o.jsx)(Zp.A,{size:"1rem"}),children:[(0,o.jsx)(Zg.Item,{children:"The WordPress admin bar will appear at the top of the site for logged-in users (if their role permits)."}),(0,o.jsxs)(Zg.Item,{children:["Users can seamlessly access the WordPress admin area (",(0,o.jsx)(ry,{children:"/wp-admin/"}),") based on their assigned role without needing a separate WordPress login."]})]}),(0,o.jsx)(Bl.E,{mt:"sm",children:"This is particularly useful for site administrators, editors, or any user who needs access to both the frontend user experience and backend WordPress management features."}),(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Enable Integration"}),(0,o.jsx)(Zg,{size:"sm",spacing:"sm",mt:"xs",children:(0,o.jsxs)(Zg.Item,{id:"integrate-wordpress-login",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Integrate WordPress Login"})}),"Check this box to activate the synchronization between Cognito logins and WordPress user sessions. When checked, the configuration options below will become available. Unchecking this disables the feature entirely."]})}),(0,o.jsx)(Zl.h,{order:3,mt:"md",children:"Cookie Expiration"}),(0,o.jsx)(Zg,{size:"sm",spacing:"sm",mt:"xs",children:(0,o.jsxs)(Zg.Item,{id:"cookie-expiration",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Cookie Expiration (Seconds)"})}),"Enter the duration, in seconds, for which the WordPress authentication cookie should remain valid after a user logs in via Cognito. This controls how long the user stays logged into the WordPress backend portion of their session. For example, ",(0,o.jsx)(ry,{children:"86400"})," represents 24 hours. Leave blank or set to ",(0,o.jsx)(ry,{children:"0"})," to use the WordPress default (typically session-based or 2 days, extendable with “Remember Me”)."]})}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"cognito-group-to-wordpress-role-mapping",children:(0,o.jsx)("span",{className:"highlightable",children:"Cognito Group to WordPress Role Mapping"})}),(0,o.jsx)(Bl.E,{children:"To grant appropriate permissions within WordPress, you must map the groups users belong to in Cognito to corresponding roles within WordPress. When a user logs in, the plugin checks their Cognito group memberships and assigns the mapped WordPress role."}),(0,o.jsx)(zp,{icon:(0,o.jsx)(Hp.A,{size:"1rem"}),title:"Important Security Note",color:"yellow",radius:"xs",mt:"sm",mb:"sm",children:"Correctly mapping groups to roles is crucial for security. Ensure users only receive the minimum necessary WordPress permissions based on their Cognito group. Misconfiguration could grant unintended access to sensitive areas of your WordPress site."}),(0,o.jsx)(Bl.E,{children:"Use the table in the settings page to define these mappings:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",mt:"sm",icon:(0,o.jsx)(Kp,{size:"1rem"}),children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"Cognito Group Name:"})," Enter the ",(0,o.jsx)("i",{children:"exact"})," name of a group defined in your Cognito User Pool. Case sensitivity matters."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)("strong",{children:"WordPress Role:"})," Select the desired WordPress role (e.g., Administrator, Editor, Author, Contributor, Subscriber) from the dropdown list that should be assigned to users in the specified Cognito group."]}),(0,o.jsx)(Zg.Item,{children:"Add as many rows as needed to cover all relevant Cognito groups that should grant WordPress access."})]}),(0,o.jsxs)(Bl.E,{size:"sm",mt:"sm",children:["If a user belongs to multiple Cognito groups that are mapped here, the role corresponding to the ",(0,o.jsx)("i",{children:"first"})," matching group in this table might be applied, or the highest privilege role depending on plugin logic (clarify this based on implementation). If a user logs in via Cognito but belongs to no mapped groups, they will typically not be logged into WordPress or will only get the default subscriber role."]})]}),"api-settings":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,id:"api-settings",children:(0,o.jsx)("span",{className:"highlightable",children:"API Settings"})}),(0,o.jsxs)(Bl.E,{children:["Configure which REST or GraphQL endpoints your front end may call once the user is authenticated, and register optional hooks that fire immediately after ",(0,o.jsx)("em",{children:"sign-in"})," or ",(0,o.jsx)("em",{children:"sign-out"}),"."]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"api-domains",children:(0,o.jsx)("span",{className:"highlightable",children:"Domains"})}),(0,o.jsxs)(Bl.E,{children:["Specify the domains as a regular expression that should use the secondary API configuration. Requests from other domains will use the default API configuration. For example, to match ",(0,o.jsx)(ry,{children:"example.com"})," and ",(0,o.jsx)(ry,{children:"www.example.com"}),", use "," ",(0,o.jsx)(ry,{children:"^(www\\.)?example\\.com$"}),"."]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"api-definitaions",children:(0,o.jsx)("span",{className:"highlightable",children:"API definitions"})}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{id:"api-name",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Name"})}),"Internal key you’ll use in ",(0,o.jsx)(ry,{children:'Gatey.cognito.get({apiName:"name", …})'}),"."]}),(0,o.jsxs)(Zg.Item,{id:"api-endpoint",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Endpoint"})}),"Base URL such as ",(0,o.jsx)(ry,{children:"https://api.example.com"})," or ",(0,o.jsx)(ry,{children:"https://xyz.execute-api.us-east-1.amazonaws.com/prod"}),"."]}),(0,o.jsxs)(Zg.Item,{id:"api-region",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Region"})}),"AWS region where the API is hosted, e.g. ",(0,o.jsx)(ry,{children:"us-east-1"}),"."]}),(0,o.jsxs)(Zg.Item,{id:"api-authorization",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Authorization"})}),(0,o.jsx)(ry,{mr:"xs",children:"IAM"}),", ",(0,o.jsx)(ry,{mr:"xs",children:"ACCESS_TOKEN"}),", or ",(0,o.jsx)(ry,{children:"ID_TOKEN"}),". ",(0,o.jsx)(ry,{children:"IAM"})," uses SigV4; the token options send a Cognito JWT in the ",(0,o.jsx)("code",{children:"Authorization"})," header."]})]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"api-hooks",children:(0,o.jsx)("span",{className:"highlightable",children:"Sign-in / Sign-out hooks"})}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{id:"hook-api",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"API"})}),"Select one of the API definitions above."]}),(0,o.jsxs)(Zg.Item,{id:"hook-path",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Path"})}),"Endpoint path, e.g. ",(0,o.jsx)(ry,{children:"/logins"}),"."]}),(0,o.jsxs)(Zg.Item,{id:"hook-credentials",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"With Credentials"})}),"Whether to send cookies / auth headers in browser requests."]}),(0,o.jsxs)(Zg.Item,{id:"hook-headers",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Headers / Query Params"})}),"Free-form key/value pairs; duplicate keys are flagged in the editor."]})]})]}),"custom-providers":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"Custom Providers Editor"}),(0,o.jsx)(Bl.E,{children:"Select the custom OIDC / SAML providers you want to offer. Gatey will automatically place their login buttons at the top of your Sign-In and Sign-Up screens."}),(0,o.jsxs)(Bl.E,{children:["Type the ",(0,o.jsx)("strong",{children:"exact"})," name of the SAML or OIDC provider you added to your Cognito user pool. The value is case-sensitive and must match the ",(0,o.jsx)("em",{children:"Provider name"})," shown in the AWS console."]}),(0,o.jsxs)(Bl.E,{children:["You can optionally add a ",(0,o.jsx)("strong",{children:"Title"})," to display on the login button, and an ",(0,o.jsx)("strong",{children:"Icon"})," to show next to the button. The icon should be a square PNG or SVG image, encoded in base64 format. For example, a 24x24 pixel icon might look like this:",(0,o.jsx)(ry,{children:"data:image/svg+xml;base64,<base64-encoded content>"})]}),(0,o.jsx)(Zg,{size:"sm",spacing:"xs",withPadding:!0,mt:"sm",children:(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(Bl.E,{fw:500,children:"Where to find the name?"}),"In the AWS Cognito console, go to ",(0,o.jsx)("em",{children:"User pools → [Your pool] → Authentication → Social and external providers"}),", then copy the provider’s ",(0,o.jsx)("em",{children:"Name"})," value verbatim."]})})," ",(0,o.jsx)(zp,{icon:(0,o.jsx)(Hp.A,{size:"1rem"}),title:"PRO feature",color:"yellow",radius:"xs",mt:"sm",children:"Social provider editing is available in PROFESSIONAL plan. In free mode your settings are saved, but the UI won’t generate the controls."})]}),"custom-fields":(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Zl.h,{order:2,children:"Custom Fields Editor"}),(0,o.jsxs)(Bl.E,{children:["Create custom fields once and reuse them everywhere: they can appear on the ",(0,o.jsx)("strong",{children:"Sign Up"})," and ",(0,o.jsx)("strong",{children:"Edit Account"})," screens, in the ",(0,o.jsx)("strong",{children:"Account Attribute"})," block/shortcode, and in the"," ",(0,o.jsx)("strong",{children:"Gatey Account Attribute Elementor"})," widget. Just set a",(0,o.jsx)("strong",{children:"name"})," and ",(0,o.jsx)("strong",{children:"type"}),"—and, for"," ",(0,o.jsx)("strong",{children:"select"})," or ",(0,o.jsx)("strong",{children:"radio"})," inputs, list each option as a value-label pair in the Options box. Gatey then shows the user-friendly labels instead of raw values, giving you a consistent, polished experience across all screens and front-end elements."]}),(0,o.jsx)(Zl.h,{order:3,mt:"md",id:"custom-fields",children:(0,o.jsx)("span",{className:"highlightable",children:"Custom fields"})}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,children:[(0,o.jsxs)(Zg.Item,{id:"field-name",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Name"})}),"Cognito custom attribute key without ",(0,o.jsx)(ry,{children:"custom:"})," prefix, e.g."," ",(0,o.jsx)(ry,{children:"country"})]}),(0,o.jsxs)(Zg.Item,{id:"field-type",children:[(0,o.jsx)(Bl.E,{fw:500,children:(0,o.jsx)("span",{className:"highlightable",children:"Type"})}),(0,o.jsxs)(Zg,{spacing:"xs",size:"sm",icon:(0,o.jsx)(Py,{size:12}),children:[(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"text"})," – Single-line text input."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"password"})," – Password input (characters hidden)."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"tel"})," – Telephone / number-pad input."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"country"})," – Country selection (dropdown)."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"checkbox"})," – Single checkbox (true / false)."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"radio"})," – Radio-button group. Define options in the ",(0,o.jsx)("em",{children:"Options"})," list."]}),(0,o.jsxs)(Zg.Item,{children:[(0,o.jsx)(ry,{children:"select"})," – Drop-down list. Define options in the ",(0,o.jsx)("em",{children:"Options"})," list."]})]})]})]}),(0,o.jsx)(zp,{icon:(0,o.jsx)(Hp.A,{size:"1rem"}),title:"PRO feature",color:"yellow",radius:"xs",mt:"sm",children:"Custom field editing is available in PAID plans. In free mode your settings are saved, but the UI falls back to Cognito’s default fields."})]})};function xy({opened:t,close:r,page:n,scrollToId:i}){const a=(0,e.useRef)(null),s=(0,e.useRef)(null);return(0,e.useEffect)(()=>{if(s.current&&(clearTimeout(s.current),s.current=null),a.current&&(clearTimeout(a.current),a.current=null),document.querySelectorAll(Cy.A["highlighted-doc-item"]).forEach(e=>e.classList.remove(Cy.A["highlighted-doc-item"])),t&&i)return s.current=setTimeout(()=>{const e=document.getElementById(i);if(!e)return void(s.current=null);e.scrollIntoView({behavior:"smooth",block:"center"});const t=e.querySelector(".highlightable");t&&(a.current&&(clearTimeout(a.current),a.current=null,document.querySelectorAll(Cy.A["highlighted-doc-item"]).forEach(e=>e.classList.remove(Cy.A["highlighted-doc-item"]))),t.classList.add(Cy.A["highlighted-doc-item"]),a.current=setTimeout(()=>{t.classList.remove(Cy.A["highlighted-doc-item"]),a.current=null},2e3)),s.current=null},0),()=>{s.current&&(clearTimeout(s.current),s.current=null),a.current&&(clearTimeout(a.current),a.current=null),document.querySelectorAll(Cy.A["highlighted-doc-item"]).forEach(e=>e.classList.remove(Cy.A["highlighted-doc-item"]))}},[t,i]),(0,o.jsx)(_y,{opened:t,onClose:r,position:"right",title:"Documentation",zIndex:999999,children:(0,o.jsx)(ed.B,{children:Iy[n]})})}const Oy="gatey_noregistration_required_dismissed",ky=localStorage.getItem(Oy),Ty=()=>{const[t,r]=(0,e.useState)(!ky),n=(0,e.useCallback)(()=>{localStorage.setItem(Oy,"true"),r(!1)},[]);return t?t&&(0,o.jsxs)(zp,{color:"green",title:"No Registration Required",icon:(0,o.jsx)(Hp.A,{}),w:"100%",withCloseButton:!0,onClose:n,children:[(0,o.jsxs)(Bl.E,{size:"sm",mb:"xs",children:[(0,o.jsx)("strong",{children:"All essential features work out of the box without registration."})," ","Premium options like frontend customization, advanced forms, and custom identity providers become available after connecting your site and choosing a plan."]}),(0,o.jsxs)(Bl.E,{size:"sm",children:["Enjoy a ",(0,o.jsx)("strong",{children:"14-day free trial"})," with full access —"," ",(0,o.jsx)("strong",{children:"no credit card required"}),". See our"," ",(0,o.jsx)("a",{href:"https://wpsuite.io/gatey/pricing/",target:"_blank",rel:"noreferrer",children:"pricing page"})," ","for details."]})]}):null},Ny=(0,Bp.A)("outline","circle-check","CircleCheck",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 12l2 2l4 -4",key:"svg-1"}]]),jy={listItemIcon:"bRuKiJPIJueop4oFlM2R",listItemLabelDone:"zksmSWeAFQ8pGfSFftFB"},Ry="gatey_onboarding_dismissed",My=localStorage.getItem(Ry),Dy=({settings:t})=>{const r=(0,e.useState)(!!t.userPoolConfigurations.default.Auth?.Cognito?.userPoolId&&!!t.userPoolConfigurations.default.Auth?.Cognito?.userPoolClientId),n=(0,e.useState)(!!t.loginMechanisms.length&&!!t.signInPage),i=(0,e.useState)(t.integrateWpLogin),[a,s]=(0,e.useState)(!My),c=(0,e.useCallback)(()=>{localStorage.setItem(Ry,"true"),s(!1)},[]);return a?(0,o.jsx)(zp,{icon:(0,o.jsx)(Hp.A,{size:20}),title:"First time using Gatey?",color:"blue",withCloseButton:!0,onClose:c,radius:"xs",w:"100%",children:(0,o.jsxs)(ed.B,{gap:"xs",children:[(0,o.jsx)(Bl.E,{size:"sm",children:"Follow these quick steps to get started:"}),(0,o.jsxs)(Zg,{size:"sm",spacing:"xs",withPadding:!0,classNames:{itemWrapper:jy.listItemWrapper,itemIcon:jy.listItemIcon},children:[(0,o.jsxs)(Jg,{icon:(0,o.jsx)(Ny,{size:14,color:r?"green":"gray"}),classNames:{itemLabel:r?jy.listItemLabelDone:void 0},children:[(0,o.jsx)("strong",{children:"Configure your default User Pool"})," using your AWS Cognito details."]}),(0,o.jsxs)(Jg,{icon:(0,o.jsx)(Ny,{size:14,color:n?"green":"gray"}),classNames:{itemLabel:n?jy.listItemLabelDone:void 0},children:[(0,o.jsx)("strong",{children:"Create a login page"})," with the ",(0,o.jsx)("em",{children:"Authenticator"})," ","block in Gutenberg, then go to the ",(0,o.jsx)("strong",{children:"General"})," tab and set login mechanism, sign-in, and redirect pages.",(0,o.jsx)("br",{}),(0,o.jsx)("em",{children:"Optional:"})," use a shortcode in any page (Elementor supported)."]}),(0,o.jsxs)(Jg,{icon:(0,o.jsx)(Ny,{size:14,color:i?"green":"gray"}),classNames:{itemLabel:i?jy.listItemLabelDone:void 0},children:[(0,o.jsx)("em",{children:"Optional:"})," Enable WordPress login override in the"," ",(0,o.jsx)("strong",{children:"WordPress Login"})," tab."]})]}),r&&n?(0,o.jsx)(Bl.E,{size:"sm",c:"green",fw:500,children:"✅ Great job! You are all set up and ready to go."}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Bl.E,{size:"sm",c:"orange",fw:500,children:"⚠️ When all steps are complete, green checkmarks will confirm your setup."}),(0,o.jsxs)(Bl.E,{size:"sm",children:["You can find more details in the"," ",(0,o.jsx)("a",{href:"https://wpsuite.io/gatey/docs/getting-started/",target:"_blank",children:"Getting Started with Gatey"})," ","guide."]})]})]})}):null};var Uy=a(63661);window.jQuery;const Fy=(0,Uy.getWpSuite)();let Ly,zy=!1,Vy={};Fy&&(zy=!0,Vy=Fy.siteSettings,Ly=Fy.restUrl);const Hy=(0,e.lazy)(()=>Promise.all([a.e(635),a.e(563),a.e(181)]).then(a.bind(a,75181))),$y=(0,e.lazy)(()=>Promise.all([a.e(635),a.e(563),a.e(805),a.e(788)]).then(a.bind(a,74788))),Wy=(0,e.lazy)(()=>Promise.all([a.e(635),a.e(491)]).then(a.bind(a,15491))),By=({settings:e})=>{const t=(0,Vp.U)(`(max-width: ${_.S.breakpoints.sm})`);return(0,o.jsx)(Wl.Z,{p:"sm",withBorder:!0,mt:"md",maw:1280,children:(0,o.jsxs)(mt.Y,{align:"flex-start",style:{flexDirection:"column",width:"100%"},children:[(0,o.jsx)(Vg.__experimentalHeading,{level:1,style:{display:"flex",alignItems:"center",gap:"8px",color:"#218BE6"},children:(0,$g.__)(t?"Gatey":"Gatey - Login & SSO with Amazon Cognito",n.TEXT_DOMAIN)}),(0,o.jsx)(Bl.E,{children:"This interface allows you to configure how your WordPress installation connects to Amazon Cognito."}),(0,o.jsxs)(Bl.E,{children:["You can set up your ",(0,o.jsx)("strong",{children:"user pool"}),", define supported"," ",(0,o.jsx)("strong",{children:"login mechanisms"}),", customize"," ",(0,o.jsx)("strong",{children:"sign-in and redirect behavior"}),", and choose whether to replace",(0,o.jsxs)(Kl.j,{children:[(0,o.jsx)(Kl.j.Target,{children:(0,o.jsx)(Gl.M,{variant:"subtle",size:"xs",children:(0,o.jsx)(Hp.A,{size:16})})}),(0,o.jsx)(Kl.j.Dropdown,{maw:300,style:{zIndex:1e4},children:(0,o.jsx)(Bl.E,{size:"sm",children:"Replacing the default login is optional — for example, if your WordPress instance is used only for backend content editing and the public site is statically generated, you can still fully leverage Gatey for your frontend."})})]})," ","the default WordPress login page with a Cognito-based flow."]}),(0,o.jsx)(Ty,{}),!Vy.siteId&&(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(Bl.E,{c:"dimmed",size:"xs",children:["To use Pro features, please connect this WordPress instance to a"," ",(0,o.jsx)("strong",{children:"WPSuite.io"})," site. Go to the"," ",(0,o.jsx)("a",{href:"?page=hub-for-wpsuiteio",children:(0,o.jsx)("strong",{children:"WPSuite.io → Connect your Site"})})," ","menu and complete the linking process."]})}),(0,o.jsx)(Dy,{settings:e})]})})},Ky="dev.wpsuite.io"===window.location.host?"https://api.wpsuite.io/dev":"https://api.wpsuite.io",Gy="dev.wpsuite.io"===window.location.host?"https://wpsuite.io/static/config/dev.json":"https://wpsuite.io/static/config/prod.json",qy=(0,n.getGateyPlugin)(),Yy=t=>{var r,i,a,s,c,u;const{store:l,nonce:d,settings:p}=t,[f,h]=(0,e.useState)("default"),[m,g]=(0,e.useState)([]),[y,v]=(0,e.useState)(!1),[b,E]=(0,e.useState)(),[w,S]=(0,e.useState)([]),[A,P]=(0,e.useState)(!1),[C,I]=(0,e.useState)([]),[x,O]=(0,e.useState)(""),[k]=(0,e.useState)(Vy.accountId),[T]=(0,e.useState)(Vy.siteId),[N]=(0,e.useState)(Vy.siteKey),[j,{open:M,close:D}]=function(t=!1,r={}){const[n,o]=(0,e.useState)(t),i=(0,e.useCallback)(()=>{o(e=>e||(r.onOpen?.(),!0))},[r.onOpen]),a=(0,e.useCallback)(()=>{o(e=>e?(r.onClose?.(),!1):e)},[r.onClose]),s=(0,e.useCallback)(()=>{n?a():i()},[a,i,n]);return[n,{open:i,close:a,toggle:s}]}(!1),[U,F]=(0,e.useState)(),[L,z]=(0,e.useState)({userPoolConfigurations:JSON.parse(JSON.stringify(p.userPoolConfigurations||{})),secondaryUserPoolDomains:p.secondaryUserPoolDomains||"",mappings:p.mappings||[],loginMechanisms:p.loginMechanisms||[],integrateWpLogin:p.integrateWpLogin||!1,cookieExpiration:p.cookieExpiration,signInPage:p.signInPage,redirectSignIn:p.redirectSignIn,redirectSignOut:p.redirectSignOut,reCaptchaPublicKey:p.reCaptchaPublicKey,customTranslationsUrl:p.customTranslationsUrl,signUpAttributes:p.signUpAttributes||[],socialProviders:p.socialProviders||[],useRecaptchaEnterprise:p.useRecaptchaEnterprise||!1,useRecaptchaNet:p.useRecaptchaNet||!1,enablePoweredBy:p.enablePoweredBy||!1}),[V,H]=(0,e.useState)(void 0),[$,W]=(0,e.useState)(),[B,K]=(0,e.useState)(),[G,q]=(0,e.useState)(!1),[Y,J]=(0,e.useState)("general"),Q=(0,Vp.U)(`(max-width: ${_.S.breakpoints.sm})`),X=(0,Hg.useSelect)(()=>(0,n.getStoreSelect)(l)?.getConfig(),[]),Z=!!k&&!!T&&!!N&&void 0!==B;pf({queryKey:["config"],queryFn:async()=>{const e=await fetch(Gy).catch(e=>({ok:!0,statusText:e.message,json:async()=>({config:"prod",baseUrl:"https://wpsuite.io",userPoolId:"us-east-1_G0wEwK9tt",identityPoolId:"us-east-1:11e55c9a-b768-48a2-8a0c-c51f1e99c129",appClientPlugin:"5e6fs3pk1k1ju7cgpnp7o7si8u",awsRegion:"us-east-1",pricingTable:"prctbl_1QA6TQFjw5MDUzy6c3fBSPGL",stripePublicKey:"pk_live_51OVeJwFjw5MDUzy6pwTbsMjcBZjZioihzLAtxQsF91u4lYJC4mtqrJddSskhz6OPbWS0tr8XL2G1AwJaXEpv9Rgn008dAz5TEr",permissions:{owner:["transfer-account","manage-account","manage-sites","manage-subscriptions","manage-billing"],admin:["manage-account","manage-sites","manage-subscriptions","manage-billing"],accountant:["manage-billing"]}})}));if(!e.ok)throw console.error("Error loading configuration:",await e.json()),K(!1),new Error(e.statusText);const t=await e.json(),r={Auth:{Cognito:{userPoolId:t.userPoolId,userPoolClientId:t.appClientPlugin,identityPoolId:t.identityPoolId}},API:{REST:{backend:{endpoint:Ky},backendWithIam:{endpoint:Ky}}}},n={API:{REST:{headers:async e=>{if("backend"===e.apiName)try{const e=await un();if(e?.tokens?.accessToken)return{Authorization:`Bearer ${e.tokens.accessToken}`}}catch(e){console.error(e)}return{}}}}};return Om.configure(r,n),await oe(),K(!0),t}});const{data:ee,isError:te,isPending:re}=pf({queryKey:["site",k,T],queryFn:()=>async function(e,t,r){try{const n={apiName:"backend",path:`/account/${e}/site/${t}${r?"/settings":""}`,options:{headers:{"X-Plugin":"gatey"}}};r&&(n.options.headers["X-Site-Key"]=r);const o=await(0,sn.Jt)(n).response;return await o.body.json()}catch(e){throw console.error("fetchSite error:",e),e}}(k,T,N),enabled:Z}),ne=(0,e.useCallback)(e=>{zy&&Ly&&k&&T&&N&&fetch(Ly+"/update-site-settings",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":d},body:JSON.stringify({accountId:k,siteId:T,siteKey:N,lastUpdate:(new Date).getTime(),subscriber:e}),credentials:"same-origin"})},[k,d,T,N]),oe=(0,e.useCallback)(async()=>{try{var e;const t=await un(),r=null!==(e=t.tokens?.accessToken.payload.scope?.split(" "))&&void 0!==e?e:[];!k||r.includes("sc.account.owner."+k)||r.includes("sc.account.admin."+k)||console.error("You do not have permission to access this resource. Please contact site owner.")}catch(e){console.error(e)}},[k]),ie=e=>{const{name:t,value:r}=e.target;z(e=>zg(e,e=>{const n=t.split(".");let o=e.userPoolConfigurations;for(;n.length>1;)o=o[n.shift()];o[n[0]]="scopes"===n[0]?r.split(",").map(e=>e.trim()):r}))},ae=(0,e.useCallback)((e,t,r)=>{const n=L.mappings.map((n,o)=>o===e?{...n,[t]:r}:n);z({...L,mappings:n})},[L]),se=(0,e.useCallback)(()=>{z({...L,mappings:[...L.mappings,{cognitoGroup:"",wordpressRole:""}]})},[L]),ce=(0,e.useCallback)(e=>{const t=L.mappings.filter((t,r)=>r!==e);z({...L,mappings:t})},[L]),ue=(0,e.useCallback)(e=>{z({...L,integrateWpLogin:e})},[L]),le=(0,e.useCallback)(async e=>{e.preventDefault(),q(!0);try{const t=await fetch(qy.restUrl+"/update-settings",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":d},body:JSON.stringify(L),credentials:"same-origin"});if(t.ok){let t=(0,$g.__)("Settings saved successfully.",n.TEXT_DOMAIN);switch(e.target.name){case"user-pools":t=(0,$g.__)("User pool settings saved successfully.",n.TEXT_DOMAIN);break;case"general":t=(0,$g.__)("General settings saved successfully.",n.TEXT_DOMAIN);break;case"wordpress-login":t=(0,$g.__)("WordPress login settings saved successfully.",n.TEXT_DOMAIN)}ir.$e.show({title:(0,$g.__)("Settings saved",n.TEXT_DOMAIN),message:t,color:"green",icon:(0,o.jsx)(Hp.A,{}),className:Cy.A.notification})}else{const e=await t.json();console.error("Failed to submit data",e),ir.$e.show({title:(0,$g.__)("Error occured",n.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,o.jsx)($p.A,{}),className:Cy.A.notification})}}catch(e){ir.$e.show({title:(0,$g.__)("Error occured",n.TEXT_DOMAIN),message:e.message,color:"red",icon:(0,o.jsx)($p.A,{}),className:Cy.A.notification})}finally{q(!1)}},[L,d]),de=(0,e.useCallback)(({text:e,scrollToId:t})=>(0,o.jsxs)(mt.Y,{align:"center",gap:"0.25rem",children:[e,(0,o.jsx)(Gl.M,{component:"label",variant:"subtle",size:"xs",onClick:()=>{O(t),M()},children:(0,o.jsx)(Hp.A,{size:16})})]}),[M]),pe=(0,e.useCallback)(e=>{W({...(0,n.sanitizeAuthenticatorConfig)(e),subscriptionType:$?.subscriptionType}),ne(!!$?.subscriptionType)},[ne,$?.subscriptionType]),fe="wordpress-login"===Y&&L.integrateWpLogin&&!y;(0,e.useEffect)(()=>{!te&&re&&Z||F(te?null:null!=ee?ee:null)},[ee,Z,re,te]),(0,e.useEffect)(()=>{var e;U?H({...(0,n.sanitizeAuthenticatorConfig)(null!==(e=U.settings)&&void 0!==e?e:{}),subscriptionType:U.subscriptionType}):(!k&&!T||te)&&H(null)},[k,te,U,T]),(0,e.useEffect)(()=>{fe&&(0,n.loadAuthSession)().then(e=>{e?.credentials&&new ac({region:qy.settings.userPoolConfigurations.default.API?.GraphQL?.region,credentials:{...e.credentials}}).send(new $l({UserPoolId:qy.settings.userPoolConfigurations.default.Auth?.Cognito?.userPoolId})).then(e=>g(e.Groups?.map(e=>e.GroupName))).catch(e=>console.error(e)).finally(()=>v(!0))}).catch(e=>{console.error(e),(0,Hg.dispatch)(l).clearAccount()})},[fe,l]),(0,e.useEffect)(()=>{hf()({path:"/wp/v2/pages?status=publish&per_page=100&context=embed"}).then(e=>{I(e.map(e=>({path:"/"+e.slug,title:e.title.rendered})))}).catch(e=>console.error("Error loading form:",e))},[]);const he=(0,e.useMemo)(()=>C.map(e=>({label:e.title,value:e.path})),[C]);return(0,e.useEffect)(()=>{d&&L.integrateWpLogin&&!A&&fetch(qy.restUrl+"/get-roles",{method:"GET",headers:{"X-WP-Nonce":d},credentials:"same-origin"}).then(e=>e.json()).then(e=>{S(e),P(!0)}).catch(e=>console.error("Error loading form:",e))},[L.integrateWpLogin,d,A]),(0,e.useEffect)(()=>{const e=bm.YZ.listen("auth",e=>{const{payload:t}=e;"signedIn"!==t.event&&"signedOut"!==t.event||oe()});return()=>{e()}},[oe]),(0,e.useEffect)(()=>{const e=X&&k&&T&&N?!X:!V;E([{value:"general",label:(0,$g.__)("General",n.TEXT_DOMAIN),icon:(0,o.jsx)(Wp.A,{size:16,stroke:1.5})},{value:"user-pools",label:(0,$g.__)("User Pools",n.TEXT_DOMAIN),icon:(0,o.jsx)(Kp,{size:16,stroke:1.5})},{value:"wordpress-login",label:(0,$g.__)("WordPress Login",n.TEXT_DOMAIN),icon:(0,o.jsx)(Gp,{size:16,stroke:1.5})},{value:"custom-fields",label:(0,$g.__)("Custom Fields",n.TEXT_DOMAIN),icon:(0,o.jsx)(qp,{size:16,stroke:1.5}),badge:(0,o.jsx)(Ql,{variant:"light",color:"red",ml:"4px",miw:35,children:"PRO"}),disabled:e},{value:"custom-providers",label:(0,$g.__)("Custom Providers",n.TEXT_DOMAIN),icon:(0,o.jsx)(Yp,{size:16,stroke:1.5}),badge:(0,o.jsx)(Ql,{variant:"light",color:"red",ml:"4px",miw:35,children:"PRO"}),disabled:e},{value:"api-settings",label:(0,$g.__)("API Settings",n.TEXT_DOMAIN),icon:(0,o.jsx)(Jp,{size:16,stroke:1.5}),badge:(0,o.jsx)(Ql,{variant:"light",color:"red",ml:"4px",miw:35,children:"PRO"}),disabled:e}]),e&&J("general")},[k,B,X,V,T,N]),(0,e.useEffect)(()=>{void 0!==V&&W(null!=V?V:X)},[V,X]),(0,e.useEffect)(()=>{if(null!=V&&(V.subscriptionType&&!Vy.subscriber||!V.subscriptionType&&Vy.subscriber)){const e=!!V.subscriptionType;Vy.subscriber=e,ne(e)}},[ne,V]),void 0!==B&&(0,o.jsx)(ln.Authenticator.Provider,{children:(0,o.jsxs)("div",{className:Cy.A["wpc-container"],children:[(0,o.jsx)(xy,{opened:j,close:D,page:Y,scrollToId:x}),(0,o.jsx)(By,{settings:L}),(0,o.jsx)(mt.Y,{align:"flex-start",mt:"lg",style:{flexDirection:Q?"column":"row",width:"100%"},children:(0,o.jsxs)(Xl.t,{classNames:{tabLabel:Cy.A["wpc-tabs-label"],panel:Cy.A[Q?"wpc-tabs-panel-mobile":"wpc-tabs-panel"]},value:Y,orientation:Q?"horizontal":"vertical",onChange:e=>J(e),w:"100%",children:[(0,o.jsx)(Xl.t.List,{children:b?.map(e=>(0,o.jsxs)(Xl.t.Tab,{value:e.value,disabled:e.disabled,children:[e.icon,!Q&&e.label,e.badge]},e.value))}),(0,o.jsx)(Xl.t.Panel,{value:"user-pools",w:"100%",children:(0,o.jsxs)("form",{name:"user-pools",onSubmit:le,children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:"User Pools"}),(0,o.jsx)(Bl.E,{mb:"md",children:"Connect your AWS Cognito user pool and app client here. This is the foundation of your Gatey integration."}),(0,o.jsx)(Xl.t,{className:Cy.A["wpc-tabs"],value:f,onChange:e=>h(e),children:(0,o.jsxs)(Xl.t.List,{children:[(0,o.jsx)(Xl.t.Tab,{value:"default",leftSection:(0,o.jsx)(Qp.A,{size:16}),children:"Default"}),(0,o.jsxs)(Xl.t.Tab,{value:"secondary",leftSection:(0,o.jsx)(Xp.A,{size:16}),disabled:!$,children:["Secondary",(0,o.jsx)(Ql,{variant:"light",color:"red",ml:"4px",miw:60,children:"PRO"})]})]})}),(0,o.jsxs)(ed.B,{gap:"sm",p:"md",bg:"gray.1",children:["secondary"===f&&(0,o.jsx)(td.k,{disabled:G,name:"secondaryUserPoolDomains",label:(0,o.jsx)(de,{text:"User Pool Domains",scrollToId:"user-pool-domains"}),description:"Regular expression of domains for the secondary user pool",value:L.secondaryUserPoolDomains,onChange:e=>z({...L,secondaryUserPoolDomains:e.currentTarget.value})}),(0,o.jsx)(td.k,{disabled:G,name:("default"===f?"default":"secondary")+".Auth.Cognito.userPoolId",label:(0,o.jsx)(de,{text:"User Pool ID",scrollToId:"user-pool-id"}),description:"The ID of the AWS Cognito user pool to use",value:null!==(r=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.userPoolId)&&void 0!==r?r:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"App Client ID",scrollToId:"app-client-id"}),description:"The ID of the AWS Cognito app client to use",name:("default"===f?"default":"secondary")+".Auth.Cognito.userPoolClientId",value:null!==(i=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.userPoolClientId)&&void 0!==i?i:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"Region",scrollToId:"region"}),description:"AWS region",name:("default"===f?"default":"secondary")+".API.GraphQL.region",value:null!==(a=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.API?.GraphQL?.region)&&void 0!==a?a:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"Identity Pool ID",scrollToId:"identity-pool-id"}),description:"The ID of the AWS Cognito identity pool to use",name:("default"===f?"default":"secondary")+".Auth.Cognito.identityPoolId",value:null!==(s=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.identityPoolId)&&void 0!==s?s:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"OAuth Domain",scrollToId:"oauth-domain"}),description:"The domain of the OAuth provider to use",name:("default"===f?"default":"secondary")+".Auth.Cognito.loginWith.oauth.domain",value:null!==(c=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.loginWith?.oauth?.domain)&&void 0!==c?c:"",onChange:ie}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"OAuth scopes",scrollToId:"oauth-scopes"}),description:"The scopes to use for the OAuth provider",name:("default"===f?"default":"secondary")+".Auth.Cognito.loginWith.oauth.scopes",value:null!==(u=("default"===f?L.userPoolConfigurations.default:L.userPoolConfigurations.secondary)?.Auth?.Cognito?.loginWith?.oauth?.scopes?.join(","))&&void 0!==u?u:"",onChange:ie})]}),(0,o.jsx)(mt.Y,{justify:"flex-end",mt:"lg",children:(0,o.jsx)(gt.$,{loading:G,variant:"gradient",type:"submit",leftSection:(0,o.jsx)(Zp.A,{}),children:"Save User Pool Settings"})})]})}),(0,o.jsx)(Xl.t.Panel,{value:"general",w:"100%",children:(0,o.jsxs)("form",{name:"general",onSubmit:le,children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:"General"}),(0,o.jsx)(Bl.E,{mb:"md",children:"Control how Gatey behaves across your site — including login routing, redirect behavior, and display preferences."}),(0,o.jsxs)(ed.B,{gap:"sm",children:[(0,o.jsxs)(id,{legend:(0,o.jsx)(de,{text:"Login Mechanisms",scrollToId:"login-mechanisms"}),fw:500,children:[(0,o.jsx)(ad.S,{disabled:G,label:"Username",checked:L.loginMechanisms?.includes("username"),onChange:e=>{const t=[...L.loginMechanisms],r=t.indexOf("username");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("username"),z({...L,loginMechanisms:t})}}),(0,o.jsx)(ad.S,{disabled:G,label:"Email",checked:L.loginMechanisms?.includes("email"),onChange:e=>{const t=[...L.loginMechanisms],r=t.indexOf("email");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("email"),z({...L,loginMechanisms:t})}}),(0,o.jsx)(ad.S,{disabled:G,label:"Phone Number",checked:L.loginMechanisms?.includes("phone_number"),onChange:e=>{const t=[...L.loginMechanisms],r=t.indexOf("phone_number");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("phone_number"),z({...L,loginMechanisms:t})}})]}),(0,o.jsx)(Md,{label:(0,o.jsx)(de,{text:"Sign-up Attributes",scrollToId:"signup-attributes"}),placeholder:"Select attributes",data:Jy,value:L.signUpAttributes,onChange:e=>z({...L,signUpAttributes:e}),searchable:!0,hidePickedOptions:!0}),(0,o.jsxs)(id,{legend:(0,o.jsx)(de,{text:"Social Providers",scrollToId:"social-providers"}),fw:500,children:[(0,o.jsx)(ad.S,{label:"Google",checked:L.socialProviders?.includes("google"),onChange:e=>{const t=L.socialProviders?[...L.socialProviders]:[],r=t.indexOf("google");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("google"),z({...L,socialProviders:t})}}),(0,o.jsx)(ad.S,{label:"Facebook",checked:L.socialProviders?.includes("facebook"),onChange:e=>{const t=L.socialProviders?[...L.socialProviders]:[],r=t.indexOf("facebook");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("facebook"),z({...L,socialProviders:t})}}),(0,o.jsx)(ad.S,{label:"Apple",checked:L.socialProviders?.includes("apple"),onChange:e=>{const t=L.socialProviders?[...L.socialProviders]:[],r=t.indexOf("apple");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("apple"),z({...L,socialProviders:t})}}),(0,o.jsx)(ad.S,{label:"Amazon",checked:L.socialProviders?.includes("amazon"),onChange:e=>{const t=L.socialProviders?[...L.socialProviders]:[],r=t.indexOf("amazon");!e.currentTarget.checked&&r>-1?t.splice(r,1):e.currentTarget.checked&&-1===r&&t.push("amazon"),z({...L,socialProviders:t})}})]}),(0,o.jsx)(Dd.l,{disabled:G,label:(0,o.jsx)(de,{text:"Sign In Page",scrollToId:"sign-in-page"}),description:"The WordPress page to show when the user is not logged in",value:L.signInPage,onChange:e=>z({...L,signInPage:e}),data:he}),(0,o.jsx)(Dd.l,{disabled:G,label:(0,o.jsx)(de,{text:"Default redirect after signing in",scrollToId:"default-redirect-after-signing-in"}),description:"The WordPress page to redirect to after the user signs in",value:L.redirectSignIn,onChange:e=>z({...L,redirectSignIn:e}),data:he}),(0,o.jsx)(Dd.l,{disabled:G,label:(0,o.jsx)(de,{text:"Default redirect after signing out",scrollToId:"default-redirect-after-signing-out"}),description:"The WordPress page to redirect to after the user signs out",value:L.redirectSignOut,onChange:e=>z({...L,redirectSignOut:e}),data:he}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"Google reCAPTCHA (v3) Site Key",scrollToId:"recaptcha-site-key"}),description:"Create the key in your reCAPTCHA project, then paste it here.",value:L.reCaptchaPublicKey,onChange:e=>z({...L,reCaptchaPublicKey:e.target.value})}),(0,o.jsx)(ad.S,{disabled:G,label:(0,o.jsx)(de,{text:"Use reCAPTCHA Enterprise",scrollToId:"use-recaptcha-enterprise"}),checked:L.useRecaptchaEnterprise,onChange:e=>z({...L,useRecaptchaEnterprise:e.currentTarget.checked})}),(0,o.jsx)(ad.S,{disabled:G,label:(0,o.jsx)(de,{text:"Use recaptcha.net",scrollToId:"use-recaptcha-net"}),checked:L.useRecaptchaNet,onChange:e=>z({...L,useRecaptchaNet:e.currentTarget.checked})}),(0,o.jsx)(td.k,{disabled:G,label:(0,o.jsx)(de,{text:"Custom Translations URL",scrollToId:"custom-translations-url"}),description:(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(Bl.E,{size:"sm",m:0,children:["If you want to use custom translations, enter the URL here. The URL should point to a JSON file. Download"," ",(0,o.jsx)("a",{href:"https://wpsuite.io/static/plugins/gatey-translations.json",target:"_blank",rel:"noopener noreferrer",download:!0,children:"sample translations"}),", modify it, and upload it to your server or a public file hosting service."]})}),value:L.customTranslationsUrl,onChange:e=>z({...L,customTranslationsUrl:e.target.value})}),(0,o.jsx)(Kd.Group,{defaultValue:L.enablePoweredBy?[]:["hide"],label:(0,o.jsx)(de,{text:"Hide 'Powered by Gatey' text",scrollToId:"hide-powered-by-gatey"}),description:"Hide the 'Powered by Gatey' text in the login and sign-up forms.",onChange:e=>z({...L,enablePoweredBy:!e.includes("hide")}),children:(0,o.jsx)(Kd,{label:"Hide",value:"hide",mt:"xs"})})]}),(0,o.jsx)(mt.Y,{justify:"flex-end",mt:"lg",children:(0,o.jsx)(gt.$,{loading:G,variant:"gradient",type:"submit",leftSection:(0,o.jsx)(Zp.A,{}),children:"Save General Settings"})})]})}),(0,o.jsx)(Xl.t.Panel,{value:"wordpress-login",w:"100%",children:(0,o.jsxs)("form",{name:"wordpress-login",onSubmit:le,children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:"WordPress Login"}),(0,o.jsx)(Bl.E,{mb:"md",children:"Enable full WordPress login integration using Cognito. Assign roles, override wp-login, and manage secure admin access."}),(0,o.jsxs)(ed.B,{gap:"sm",children:[(0,o.jsx)(ad.S,{disabled:G,label:(0,o.jsx)(de,{text:"Integrate WordPress Login",scrollToId:"integrate-wordpress-login"}),checked:L.integrateWpLogin,onChange:e=>ue(e.currentTarget.checked)}),L.integrateWpLogin&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Dp,{disabled:G,label:(0,o.jsx)(de,{text:"Cookie expiration",scrollToId:"cookie-expiration"}),description:"The number of seconds the cookie should be valid for",value:L.cookieExpiration,onChange:e=>z({...L,cookieExpiration:+e})}),A&&(0,o.jsxs)(R.a,{children:[(0,o.jsx)(Zl.h,{order:4,my:"md",children:(0,o.jsx)(de,{text:"Cognito Group to WordPress Role Mapping",scrollToId:"cognito-group-to-wordpress-role-mapping"})}),(0,o.jsxs)(Up.X,{withTableBorder:!0,children:[(0,o.jsx)(Up.X.Thead,{children:(0,o.jsxs)(Up.X.Tr,{children:[(0,o.jsx)(Up.X.Th,{children:"Cognito Group"}),(0,o.jsx)(Up.X.Th,{children:"WordPress Role"}),(0,o.jsx)(Up.X.Th,{})]})}),(0,o.jsx)(Up.X.Tbody,{children:L.mappings.map((e,t)=>(0,o.jsxs)(Up.X.Tr,{children:[(0,o.jsxs)(Up.X.Td,{children:[y&&(0,o.jsx)(Dd.l,{disabled:G,value:e.cognitoGroup,onChange:e=>ae(t,"cognitoGroup",e),data:m}),!y&&(0,o.jsx)(td.k,{disabled:G,value:e.cognitoGroup,onChange:e=>ae(t,"cognitoGroup",e.target.value)})]}),(0,o.jsx)(Up.X.Td,{children:(0,o.jsx)(Dd.l,{disabled:G,value:e.wordpressRole,onChange:e=>ae(t,"wordpressRole",e),data:w})}),(0,o.jsx)(Up.X.Td,{children:(0,o.jsx)(Gl.M,{disabled:G,variant:"subtle",color:"red",onClick:()=>ce(t),children:(0,o.jsx)(ef,{style:{width:"70%",height:"70%"},stroke:1.5})})})]},t))})]}),(0,o.jsx)(R.a,{ta:"center",children:(0,o.jsx)(gt.$,{disabled:G,variant:"subtle",size:"compact-xs",leftSection:(0,o.jsx)(tf.A,{size:14}),w:"100%",mt:"0.3rem",onClick:se,children:"Add Mapping"})})]})]})]}),(0,o.jsx)(mt.Y,{justify:"flex-end",mt:"lg",children:(0,o.jsx)(gt.$,{loading:G,variant:"gradient",type:"submit",leftSection:(0,o.jsx)(Zp.A,{}),children:"Save WordPress Login Settings"})})]})}),(0,o.jsxs)(Xl.t.Panel,{value:"custom-fields",w:"100%",children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:(0,o.jsx)(de,{text:"Custom Fields",scrollToId:"custom-fields"})}),(0,o.jsx)(Bl.E,{mb:"md",children:"Manage and configure custom form fields for both the admin screens and the front-end."}),!(null!=$?$:X)?.subscriptionType&&(0,o.jsxs)(zp,{variant:"light",color:"yellow",title:"PRO Feature",icon:(0,o.jsx)(rf,{}),mb:"md",children:["This feature is available in the ",(0,o.jsx)("strong",{children:"PRO"})," ","version of the plugin. You can save your settings but they will not take effect until you upgrade your subscription."]}),(null!=$?$:X)&&(0,o.jsx)($y,{amplifyConfigured:B,config:null!=$?$:X,accountId:k,siteId:T,siteKey:N,onSave:pe,InfoLabelComponent:de})]}),(0,o.jsxs)(Xl.t.Panel,{value:"custom-providers",w:"100%",children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:(0,o.jsx)(de,{text:"Custom Providers",scrollToId:"custom-providers"})}),(0,o.jsx)(Bl.E,{mb:"md",children:"Enable the custom login providers shown on the sign-in and sign-up screens."}),"PROFESSIONAL"!==(null!=$?$:X)?.subscriptionType&&(0,o.jsxs)(zp,{variant:"light",color:"yellow",title:"PRO Feature",icon:(0,o.jsx)(rf,{}),mb:"md",children:["This feature is available in the ",(0,o.jsx)("strong",{children:"PRO"})," ","version of the plugin. You can save your settings but they will not take effect until you upgrade your subscription."]}),(null!=$?$:X)&&(0,o.jsx)(Wy,{amplifyConfigured:B,config:null!=$?$:X,accountId:k,siteId:T,siteKey:N,onSave:pe,InfoLabelComponent:de})]}),(0,o.jsxs)(Xl.t.Panel,{value:"api-settings",w:"100%",children:[(0,o.jsx)(Zl.h,{order:2,mb:"md",children:(0,o.jsx)(de,{text:"API Settings",scrollToId:"api-settings"})}),(0,o.jsx)(Bl.E,{mb:"md",children:"Define secure API endpoints that your frontend can call via Gatey.cognito. Choose API name, authorization, and endpoint URL, then configure sign-in and sign-up hooks."}),"PROFESSIONAL"!==(null!=$?$:X)?.subscriptionType&&(0,o.jsxs)(zp,{variant:"light",color:"yellow",title:"PRO Feature",icon:(0,o.jsx)(rf,{}),mb:"md",children:["This feature is available in the ",(0,o.jsx)("strong",{children:"PRO"})," ","version of the plugin. You can save your settings but they will not take effect until you upgrade your subscription."]}),(null!=$?$:X)&&(0,o.jsx)(Hy,{amplifyConfigured:B,config:null!=$?$:X,accountId:k,siteId:T,siteKey:N,onSave:pe,InfoLabelComponent:de})]})]})})]})})},Jy=["name","family_name","given_name","middle_name","nickname","preferred_username","birthdate","email","phone_number","profile","website"],Qy={respectReducedMotion:!0},Xy=new class{#ve;#B;#z;#be;#Ee;#we;#Se;#Ae;constructor(e={}){this.#ve=e.queryCache||new Qr,this.#B=e.mutationCache||new Zr,this.#z=e.defaultOptions||{},this.#be=new Map,this.#Ee=new Map,this.#we=0}mount(){this.#we++,1===this.#we&&(this.#Se=Lr.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#ve.onFocus())}),this.#Ae=zr.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#ve.onOnline())}))}unmount(){this.#we--,0===this.#we&&(this.#Se?.(),this.#Se=void 0,this.#Ae?.(),this.#Ae=void 0)}isFetching(e){return this.#ve.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#B.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#ve.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=this.#ve.build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(yr(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#ve.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),o=this.#ve.get(n.queryHash),i=o?.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(t,i);if(void 0!==a)return this.#ve.build(this,n).setData(a,{...r,manual:!0})}setQueriesData(e,t,r){return Ur.batch(()=>this.#ve.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#ve.get(t.queryHash)?.state}removeQueries(e){const t=this.#ve;Ur.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const r=this.#ve;return Ur.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=Ur.batch(()=>this.#ve.findAll(e).map(e=>e.cancel(r)));return Promise.all(n).then(hr).catch(hr)}invalidateQueries(e,t={}){return Ur.batch(()=>(this.#ve.findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=Ur.batch(()=>this.#ve.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(hr)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(n).then(hr)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const r=this.#ve.build(this,t);return r.isStaleByTime(yr(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(hr).catch(hr)}fetchInfiniteQuery(e){return e.behavior=tn(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(hr).catch(hr)}ensureInfiniteQueryData(e){return e.behavior=tn(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return zr.isOnline()?this.#B.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#ve}getMutationCache(){return this.#B}getDefaultOptions(){return this.#z}setDefaultOptions(e){this.#z=e}setQueryDefaults(e,t){this.#be.set(Sr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#be.values()],r={};return t.forEach(t=>{Ar(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#Ee.set(Sr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#Ee.values()],r={};return t.forEach(t=>{Ar(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#z.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=wr(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===jr&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#z.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#ve.clear(),this.#B.clear()}}({defaultOptions:{queries:{staleTime:3e5,retry:!1,retryDelay:0}}});(0,n.getStore)().then(t=>{const i=(0,n.getGateyPlugin)();if(!i)throw new Error("Gatey plugin is not available");(0,r.H)(document.getElementById("gatey-admin")).render((0,o.jsx)(e.StrictMode,{children:(0,o.jsx)(an,{client:Xy,children:(0,o.jsxs)(O,{theme:Qy,children:[(0,o.jsx)(lr,{position:"top-right",zIndex:1e5}),(0,o.jsx)(_t,{children:(0,o.jsx)(Yy,{store:t,...i})})]})})}))}).catch(e=>{console.error("Error initializing Gatey Admin:",e)})})()})(); -
gatey/trunk/gatey-blocks/dist/authenticator/block.json
r3434314 r3434727 3 3 "apiVersion": 3, 4 4 "name": "gatey/authenticator", 5 "version": "2.0. 4",5 "version": "2.0.5", 6 6 "title": "Authenticator", 7 7 "category": "wpsuite-gatey", -
gatey/trunk/gatey-blocks/dist/index.asset.php
r3434314 r3434727 1 <?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => ' 9aad53587720fc58a2a4');1 <?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '6f4f1fb89044faaed0cd'); -
gatey/trunk/gatey-blocks/dist/index.js
r3434314 r3434727 1 (()=>{"use strict";var e,a,t,o,n,r,i,s={237:(e,a,t)=>{t.a(e,async(e,o)=>{try{t.d(a,{B:()=>h});var n=t(1609),r=t(3752),i=t(7143),s=t(544),c=t(1923),l=t(790),u=e([c]),d=u.then?(await u)():u;c=d[0];const h=e=>{var a,t;const{id:o,className:u,isPreview:d,store:h,editorRef:m,children:p,showOpenButton:g,openButtonTitle:y,language:b,screen:f,variation:k,colorMode:w,direction:v,signingInMessage:x,signingOutMessage:A,redirectingMessage:E,totpIssuer:S}=e,j={name:"gatey-theme-"+o,overrides:[r.defaultDarkModeOverride]},[T,_]=(0,n.useState)(),[C,I]=(0,n.useState)(),P=(0,i.useSelect)(()=>(0,s.getStoreSelect)(h).getLanguage(),[]),z=(0,i.useSelect)(()=>(0,s.getStoreSelect)(h).getDirection(),[]),[M]=(0,n.useState)(null!==(a=new URLSearchParams(window.location.search).get("language"))&&void 0!==a?a:""),[D]=(0,n.useState)(null!==(t=new URLSearchParams(window.location.search).get("direction"))&&void 0!==t?t:"");return(0,n.useEffect)(()=>{queueMicrotask(()=>{const e=P||M||b;_(e&&"system"!==e?e:"")})},[b,M,P]),(0,n.useEffect)(()=>{queueMicrotask(()=>{const e=z||D||v;I(e&&"auto"!==e?e:"ar"===T||"he"===T?"rtl":"ltr")})},[T,v,z,D]),(0,l.jsx)(r.ThemeProvider,{theme:j,colorMode:w,direction:C,children:(0,l.jsx)(c.q,{id:o,className:u,store:h,editorRef:m,screen:f,variation:k,language:T,direction:C,showOpenButton:g,openButtonTitle:y,signingInMessage:x,signingOutMessage:A,redirectingMessage:E,totpIssuer:S,isPreview:d,children:p})})};o()}catch(e){o(e)}})},259:(e,a,t)=>{function o(e,a){let t=0,o=e.length,n=!1;if(!a){if(e.startsWith("data:"))return null;for(;t<e.length&&e.charCodeAt(t)<=32;)t+=1;for(;o>t+1&&e.charCodeAt(o-1)<=32;)o-=1;if(47===e.charCodeAt(t)&&47===e.charCodeAt(t+1))t+=2;else{const a=e.indexOf(":/",t);if(-1!==a){const o=a-t,n=e.charCodeAt(t),r=e.charCodeAt(t+1),i=e.charCodeAt(t+2),s=e.charCodeAt(t+3),c=e.charCodeAt(t+4);if(5===o&&104===n&&116===r&&116===i&&112===s&&115===c);else if(4===o&&104===n&&116===r&&116===i&&112===s);else if(3===o&&119===n&&115===r&&115===i);else if(2===o&&119===n&&115===r);else for(let o=t;o<a;o+=1){const a=32|e.charCodeAt(o);if(!(a>=97&&a<=122||a>=48&&a<=57||46===a||45===a||43===a))return null}for(t=a+2;47===e.charCodeAt(t);)t+=1}}let a=-1,r=-1,i=-1;for(let s=t;s<o;s+=1){const t=e.charCodeAt(s);if(35===t||47===t||63===t){o=s;break}64===t?a=s:93===t?r=s:58===t?i=s:t>=65&&t<=90&&(n=!0)}if(-1!==a&&a>t&&a<o&&(t=a+1),91===e.charCodeAt(t))return-1!==r?e.slice(t+1,r).toLowerCase():null;-1!==i&&i>t&&i<o&&(o=i)}for(;o>t+1&&46===e.charCodeAt(o-1);)o-=1;const r=0!==t||o!==e.length?e.slice(t,o):e;return n?r.toLowerCase():r}function n(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function r(e){if(e.length>255)return!1;if(0===e.length)return!1;if(!n(e.charCodeAt(0))&&46!==e.charCodeAt(0)&&95!==e.charCodeAt(0))return!1;let a=-1,t=-1;const o=e.length;for(let r=0;r<o;r+=1){const o=e.charCodeAt(r);if(46===o){if(r-a>64||46===t||45===t||95===t)return!1;a=r}else if(!n(o)&&45!==o&&95!==o)return!1;t=o}return o-a-1<=63&&45!==t}t.r(a),t.d(a,{getDomain:()=>y,getDomainWithoutSuffix:()=>f,getHostname:()=>p,getPublicSuffix:()=>g,getSubdomain:()=>b,parse:()=>m});const i=function({allowIcannDomains:e=!0,allowPrivateDomains:a=!1,detectIp:t=!0,extractHostname:o=!0,mixedInputs:n=!0,validHosts:r=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:a,detectIp:t,extractHostname:o,mixedInputs:n,validHosts:r,validateHostname:i}}({});function s(e,a,t,n,s){const c=function(e){return void 0===e?i:function({allowIcannDomains:e=!0,allowPrivateDomains:a=!1,detectIp:t=!0,extractHostname:o=!0,mixedInputs:n=!0,validHosts:r=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:a,detectIp:t,extractHostname:o,mixedInputs:n,validHosts:r,validateHostname:i}}(e)}(n);return"string"!=typeof e?s:(c.extractHostname?c.mixedInputs?s.hostname=o(e,r(e)):s.hostname=o(e,!1):s.hostname=e,c.detectIp&&null!==s.hostname&&(s.isIp=function(e){if(e.length<3)return!1;let a=e.startsWith("[")?1:0,t=e.length;if("]"===e[t-1]&&(t-=1),t-a>39)return!1;let o=!1;for(;a<t;a+=1){const t=e.charCodeAt(a);if(58===t)o=!0;else if(!(t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=90))return!1}return o}(l=s.hostname)||function(e){if(e.length<7)return!1;if(e.length>15)return!1;let a=0;for(let t=0;t<e.length;t+=1){const o=e.charCodeAt(t);if(46===o)a+=1;else if(o<48||o>57)return!1}return 3===a&&46!==e.charCodeAt(0)&&46!==e.charCodeAt(e.length-1)}(l),s.isIp)?s:c.validateHostname&&c.extractHostname&&null!==s.hostname&&!r(s.hostname)?(s.hostname=null,s):(0===a||null===s.hostname||(t(s.hostname,c,s),2===a||null===s.publicSuffix||(s.domain=function(e,a,t){if(null!==t.validHosts){const e=t.validHosts;for(const t of e)if(function(e,a){return!!e.endsWith(a)&&(e.length===a.length||"."===e[e.length-a.length-1])}(a,t))return t}let o=0;if(a.startsWith("."))for(;o<a.length&&"."===a[o];)o+=1;return e.length===a.length-o?null:function(e,a){const t=e.length-a.length-2,o=e.lastIndexOf(".",t);return-1===o?e:e.slice(o+1)}(a,e)}(s.publicSuffix,s.hostname,c),3===a||null===s.domain||(s.subdomain=function(e,a){return a.length===e.length?"":e.slice(0,-a.length-1)}(s.hostname,s.domain),4===a||(s.domainWithoutSuffix=(u=s.domain,d=s.publicSuffix,u.slice(0,-d.length-1)))))),s));var l,u,d}const c=function(){const e=[1,{}],a=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:a,kitakyushu:a,kobe:a,nagoya:a,sapporo:a,sendai:a,yokohama:a}]}]}(),l=function(){const e=[1,{}],a=[2,{}],t=[1,{com:e,edu:e,gov:e,net:e,org:e}],o=[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e}],n=[0,{"*":a}],r=[2,{s:n}],i=[0,{relay:a}],s=[2,{id:a}],c=[1,{gov:e}],l=[0,{airflow:n,"lambda-url":a,"transfer-webapp":a}],u=[0,{airflow:n,"transfer-webapp":a}],d=[0,{"transfer-webapp":a,"transfer-webapp-fips":a}],h=[0,{notebook:a,studio:a}],m=[0,{labeling:a,notebook:a,studio:a}],p=[0,{notebook:a}],g=[0,{labeling:a,notebook:a,"notebook-fips":a,studio:a}],y=[0,{notebook:a,"notebook-fips":a,studio:a,"studio-fips":a}],b=[0,{shop:a}],f=[0,{"*":e}],k=[1,{co:a}],w=[0,{objects:a}],v=[2,{nodes:a}],x=[0,{my:a}],A=[0,{s3:a,"s3-accesspoint":a,"s3-website":a}],E=[0,{s3:a,"s3-accesspoint":a}],S=[0,{direct:a}],j=[0,{"webview-assets":a}],T=[0,{vfs:a,"webview-assets":a}],_=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:T}],C=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:E,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:T}],I=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:T}],P=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a}],z=[0,{s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-website":a}],M=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:z,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:T}],D=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:z,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-deprecated":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:T}],O=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:[0,{s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a}],s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a}],H=[0,{auth:a}],N=[0,{auth:a,"auth-fips":a}],K=[0,{"auth-fips":a}],W=[0,{apps:a}],U=[0,{paas:a}],R=[2,{eu:a}],J=[0,{app:a}],L=[0,{site:a}],X=[1,{com:e,edu:e,net:e,org:e}],q=[0,{j:a}],B=[0,{dyn:a}],F=[2,{web:a}],G=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],V=[0,{p:a}],$=[0,{user:a}],Z=[0,{cdn:a}],Q=[2,{raw:n}],Y=[0,{cust:a,reservd:a}],ee=[0,{cust:a}],ae=[0,{s3:a}],te=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],oe=[0,{ipfs:a}],ne=[1,{framer:a}],re=[0,{forgot:a}],ie=[1,{gs:e}],se=[0,{nes:e}],ce=[1,{k12:e,cc:e,lib:e}],le=[1,{cc:e}],ue=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,drr:a,feedback:a,forms:a}],ad:e,ae:[1,{ac:e,co:e,gov:e,mil:e,net:e,org:e,sch:e}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:t,ag:[1,{co:e,com:e,net:e,nom:e,org:e,obj:a}],ai:[1,{com:e,net:e,off:e,org:e,uwu:a,framer:a}],al:o,am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:a}],ao:[1,{co:e,ed:e,edu:e,gov:e,gv:e,it:e,og:e,org:e,pb:e}],aq:e,ar:[1,{bet:e,com:e,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,seg:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:c,asia:[1,{cloudns:a,daemon:a,dix:a}],at:[1,{4:a,ac:[1,{sth:e}],co:e,gv:e,or:e,funkfeuer:[0,{wien:a}],futurecms:[0,{"*":a,ex:n,in:n}],futurehosting:a,futuremailing:a,ortsinfo:[0,{ex:n,kunden:n}],biz:a,info:a,"123webseite":a,priv:a,my:a,myspreadshop:a,"12hp":a,"2ix":a,"4lima":a,"lima-city":a}],au:[1,{asn:e,com:[1,{cloudlets:[0,{mel:a}],myspreadshop:a}],edu:[1,{act:e,catholic:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],id:e,net:e,org:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e,hrsn:[0,{vps:a}]}],aw:[1,{com:e}],ax:e,az:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,int:e,mil:e,name:e,net:e,org:e,pp:e,pro:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,brendly:b,rs:a}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:[1,{ac:e,ai:e,co:e,com:e,edu:e,gov:e,id:e,info:e,it:e,mil:e,net:e,org:e,sch:e,tv:e}],be:[1,{ac:e,cloudns:a,webhosting:a,interhostsolutions:[0,{cloud:a}],kuleuven:[0,{ezproxy:a}],"123website":a,myspreadshop:a,transurl:n}],bf:c,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,barsy:a}],bh:t,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:a,"cloud-ip":a,cloudns:a,jozi:a,dyndns:a,"for-better":a,"for-more":a,"for-some":a,"for-the":a,selfip:a,webhop:a,orx:a,mmafan:a,myftp:a,"no-ip":a,dscloud:a}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,restaurant:e,resto:e,tourism:e,univ:e}],bm:t,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:a}],bo:[1,{com:e,edu:e,gob:e,int:e,mil:e,net:e,org:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,plurinacional:e,politica:e,profesional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,api:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{simplesite:a}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,ia:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:a,al:a,am:a,ap:a,ba:a,ce:a,df:a,es:a,go:a,ma:a,mg:a,ms:a,mt:a,pa:a,pb:a,pe:a,pi:a,pr:a,rj:a,rn:a,ro:a,rr:a,rs:a,sc:a,se:a,sp:a,to:a}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:f,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,social:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,xyz:e,zlg:e,tche:a}],bs:[1,{com:e,edu:e,gov:e,net:e,org:e,we:a}],bt:t,bv:e,bw:[1,{ac:e,co:e,gov:e,net:e,org:e}],by:[1,{gov:e,mil:e,com:e,of:e,mediatech:a}],bz:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,za:a,mydns:a,gsj:a}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:a,awdev:n,co:a,"no-ip":a,onid:a,myspreadshop:a,box:a}],cat:e,cc:[1,{cleverapps:a,"cloud-ip":a,cloudns:a,ftpaccess:a,"game-server":a,myphotos:a,scrapping:a,twmail:a,csx:a,fantasyleague:a,spawn:[0,{instances:a}]}],cd:c,cf:e,cg:e,ch:[1,{square7:a,cloudns:a,cloudscale:[0,{cust:a,lpg:w,rma:w}],objectstorage:[0,{lpg:a,rma:a}],flow:[0,{ae:[0,{alp1:a}],appengine:a}],"linkyard-cloud":a,gotdns:a,dnsking:a,"123website":a,myspreadshop:a,firenet:[0,{"*":a,svc:n}],"12hp":a,"2ix":a,"4lima":a,"lima-city":a}],ci:[1,{ac:e,"xn--aroport-bya":e,aéroport:e,asso:e,co:e,com:e,ed:e,edu:e,go:e,gouv:e,int:e,net:e,or:e,org:e}],ck:f,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:a}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,rds:n,dualstack:A,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a}],"cn-northwest-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,rds:n,dualstack:E,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a}],compute:n,airflow:[0,{"cn-north-1":n,"cn-northwest-1":n}],eb:[0,{"cn-north-1":a,"cn-northwest-1":a}],elb:n}],amazonwebservices:[0,{on:[0,{"cn-north-1":u,"cn-northwest-1":u}]}],sagemaker:[0,{"cn-north-1":h,"cn-northwest-1":h}]}],edu:e,gov:e,mil:e,net:e,org:e,"xn--55qx5d":e,公司:e,"xn--od0alg":e,網絡:e,"xn--io0a7i":e,网络:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gx:e,gz:e,ha:e,hb:e,he:e,hi:e,hk:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,mo:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:a}],sn:e,sx:e,tj:e,tw:e,xj:e,xz:e,yn:e,zj:e,"canva-apps":a,canvasite:x,myqnapcloud:a,quickconnect:S}],co:[1,{com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,carrd:a,crd:a,otap:n,hidns:a,leadpages:a,lpages:a,mypi:a,xmit:n,firewalledreplit:s,repl:s,supabase:[2,{realtime:a,storage:a}],umso:a}],com:[1,{a2hosted:a,cpserver:a,adobeaemcloud:[2,{dev:n}],africa:a,aivencloud:a,alibabacloudcs:a,kasserver:a,amazonaws:[0,{"af-south-1":_,"ap-east-1":C,"ap-northeast-1":I,"ap-northeast-2":I,"ap-northeast-3":_,"ap-south-1":I,"ap-south-2":P,"ap-southeast-1":I,"ap-southeast-2":I,"ap-southeast-3":P,"ap-southeast-4":P,"ap-southeast-5":[0,{"execute-api":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a}],"ca-central-1":M,"ca-west-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:z,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a}],"eu-central-1":I,"eu-central-2":P,"eu-north-1":C,"eu-south-1":_,"eu-south-2":P,"eu-west-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:T}],"eu-west-2":C,"eu-west-3":_,"il-central-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:[0,{vfs:a}]}],"me-central-1":P,"me-south-1":C,"sa-east-1":_,"us-east-1":[2,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:z,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-deprecated":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:T}],"us-east-2":D,"us-gov-east-1":O,"us-gov-west-1":O,"us-west-1":M,"us-west-2":D,compute:n,"compute-1":n,airflow:[0,{"af-south-1":n,"ap-east-1":n,"ap-northeast-1":n,"ap-northeast-2":n,"ap-northeast-3":n,"ap-south-1":n,"ap-south-2":n,"ap-southeast-1":n,"ap-southeast-2":n,"ap-southeast-3":n,"ap-southeast-4":n,"ap-southeast-5":n,"ap-southeast-7":n,"ca-central-1":n,"ca-west-1":n,"eu-central-1":n,"eu-central-2":n,"eu-north-1":n,"eu-south-1":n,"eu-south-2":n,"eu-west-1":n,"eu-west-2":n,"eu-west-3":n,"il-central-1":n,"me-central-1":n,"me-south-1":n,"sa-east-1":n,"us-east-1":n,"us-east-2":n,"us-west-1":n,"us-west-2":n}],rds:[0,{"af-south-1":n,"ap-east-1":n,"ap-east-2":n,"ap-northeast-1":n,"ap-northeast-2":n,"ap-northeast-3":n,"ap-south-1":n,"ap-south-2":n,"ap-southeast-1":n,"ap-southeast-2":n,"ap-southeast-3":n,"ap-southeast-4":n,"ap-southeast-5":n,"ap-southeast-6":n,"ap-southeast-7":n,"ca-central-1":n,"ca-west-1":n,"eu-central-1":n,"eu-central-2":n,"eu-west-1":n,"eu-west-2":n,"eu-west-3":n,"il-central-1":n,"me-central-1":n,"me-south-1":n,"mx-central-1":n,"sa-east-1":n,"us-east-1":n,"us-east-2":n,"us-gov-east-1":n,"us-gov-west-1":n,"us-northeast-1":n,"us-west-1":n,"us-west-2":n}],s3:a,"s3-1":a,"s3-ap-east-1":a,"s3-ap-northeast-1":a,"s3-ap-northeast-2":a,"s3-ap-northeast-3":a,"s3-ap-south-1":a,"s3-ap-southeast-1":a,"s3-ap-southeast-2":a,"s3-ca-central-1":a,"s3-eu-central-1":a,"s3-eu-north-1":a,"s3-eu-west-1":a,"s3-eu-west-2":a,"s3-eu-west-3":a,"s3-external-1":a,"s3-fips-us-gov-east-1":a,"s3-fips-us-gov-west-1":a,"s3-global":[0,{accesspoint:[0,{mrap:a}]}],"s3-me-south-1":a,"s3-sa-east-1":a,"s3-us-east-2":a,"s3-us-gov-east-1":a,"s3-us-gov-west-1":a,"s3-us-west-1":a,"s3-us-west-2":a,"s3-website-ap-northeast-1":a,"s3-website-ap-southeast-1":a,"s3-website-ap-southeast-2":a,"s3-website-eu-west-1":a,"s3-website-sa-east-1":a,"s3-website-us-east-1":a,"s3-website-us-gov-west-1":a,"s3-website-us-west-1":a,"s3-website-us-west-2":a,elb:n}],amazoncognito:[0,{"af-south-1":H,"ap-east-1":H,"ap-northeast-1":H,"ap-northeast-2":H,"ap-northeast-3":H,"ap-south-1":H,"ap-south-2":H,"ap-southeast-1":H,"ap-southeast-2":H,"ap-southeast-3":H,"ap-southeast-4":H,"ap-southeast-5":H,"ap-southeast-7":H,"ca-central-1":H,"ca-west-1":H,"eu-central-1":H,"eu-central-2":H,"eu-north-1":H,"eu-south-1":H,"eu-south-2":H,"eu-west-1":H,"eu-west-2":H,"eu-west-3":H,"il-central-1":H,"me-central-1":H,"me-south-1":H,"mx-central-1":H,"sa-east-1":H,"us-east-1":N,"us-east-2":N,"us-gov-east-1":K,"us-gov-west-1":K,"us-west-1":N,"us-west-2":N}],amplifyapp:a,awsapprunner:n,awsapps:a,elasticbeanstalk:[2,{"af-south-1":a,"ap-east-1":a,"ap-northeast-1":a,"ap-northeast-2":a,"ap-northeast-3":a,"ap-south-1":a,"ap-southeast-1":a,"ap-southeast-2":a,"ap-southeast-3":a,"ap-southeast-5":a,"ap-southeast-7":a,"ca-central-1":a,"eu-central-1":a,"eu-north-1":a,"eu-south-1":a,"eu-south-2":a,"eu-west-1":a,"eu-west-2":a,"eu-west-3":a,"il-central-1":a,"me-central-1":a,"me-south-1":a,"sa-east-1":a,"us-east-1":a,"us-east-2":a,"us-gov-east-1":a,"us-gov-west-1":a,"us-west-1":a,"us-west-2":a}],awsglobalaccelerator:a,siiites:a,appspacehosted:a,appspaceusercontent:a,"on-aptible":a,myasustor:a,"balena-devices":a,boutir:a,bplaced:a,cafjs:a,"canva-apps":a,"canva-hosted-embed":a,canvacode:a,"rice-labs":a,"cdn77-storage":a,br:a,cn:a,de:a,eu:a,jpn:a,mex:a,ru:a,sa:a,uk:a,us:a,za:a,"clever-cloud":[0,{services:n}],abrdns:a,dnsabr:a,"ip-ddns":a,jdevcloud:a,wpdevcloud:a,"cf-ipfs":a,"cloudflare-ipfs":a,trycloudflare:a,co:a,devinapps:n,builtwithdark:a,datadetect:[0,{demo:a,instance:a}],dattolocal:a,dattorelay:a,dattoweb:a,mydatto:a,digitaloceanspaces:n,discordsays:a,discordsez:a,drayddns:a,dreamhosters:a,durumis:a,blogdns:a,cechire:a,dnsalias:a,dnsdojo:a,doesntexist:a,dontexist:a,doomdns:a,"dyn-o-saur":a,dynalias:a,"dyndns-at-home":a,"dyndns-at-work":a,"dyndns-blog":a,"dyndns-free":a,"dyndns-home":a,"dyndns-ip":a,"dyndns-mail":a,"dyndns-office":a,"dyndns-pics":a,"dyndns-remote":a,"dyndns-server":a,"dyndns-web":a,"dyndns-wiki":a,"dyndns-work":a,"est-a-la-maison":a,"est-a-la-masion":a,"est-le-patron":a,"est-mon-blogueur":a,"from-ak":a,"from-al":a,"from-ar":a,"from-ca":a,"from-ct":a,"from-dc":a,"from-de":a,"from-fl":a,"from-ga":a,"from-hi":a,"from-ia":a,"from-id":a,"from-il":a,"from-in":a,"from-ks":a,"from-ky":a,"from-ma":a,"from-md":a,"from-mi":a,"from-mn":a,"from-mo":a,"from-ms":a,"from-mt":a,"from-nc":a,"from-nd":a,"from-ne":a,"from-nh":a,"from-nj":a,"from-nm":a,"from-nv":a,"from-oh":a,"from-ok":a,"from-or":a,"from-pa":a,"from-pr":a,"from-ri":a,"from-sc":a,"from-sd":a,"from-tn":a,"from-tx":a,"from-ut":a,"from-va":a,"from-vt":a,"from-wa":a,"from-wi":a,"from-wv":a,"from-wy":a,getmyip:a,gotdns:a,"hobby-site":a,homelinux:a,homeunix:a,iamallama:a,"is-a-anarchist":a,"is-a-blogger":a,"is-a-bookkeeper":a,"is-a-bulls-fan":a,"is-a-caterer":a,"is-a-chef":a,"is-a-conservative":a,"is-a-cpa":a,"is-a-cubicle-slave":a,"is-a-democrat":a,"is-a-designer":a,"is-a-doctor":a,"is-a-financialadvisor":a,"is-a-geek":a,"is-a-green":a,"is-a-guru":a,"is-a-hard-worker":a,"is-a-hunter":a,"is-a-landscaper":a,"is-a-lawyer":a,"is-a-liberal":a,"is-a-libertarian":a,"is-a-llama":a,"is-a-musician":a,"is-a-nascarfan":a,"is-a-nurse":a,"is-a-painter":a,"is-a-personaltrainer":a,"is-a-photographer":a,"is-a-player":a,"is-a-republican":a,"is-a-rockstar":a,"is-a-socialist":a,"is-a-student":a,"is-a-teacher":a,"is-a-techie":a,"is-a-therapist":a,"is-an-accountant":a,"is-an-actor":a,"is-an-actress":a,"is-an-anarchist":a,"is-an-artist":a,"is-an-engineer":a,"is-an-entertainer":a,"is-certified":a,"is-gone":a,"is-into-anime":a,"is-into-cars":a,"is-into-cartoons":a,"is-into-games":a,"is-leet":a,"is-not-certified":a,"is-slick":a,"is-uberleet":a,"is-with-theband":a,"isa-geek":a,"isa-hockeynut":a,issmarterthanyou:a,"likes-pie":a,likescandy:a,"neat-url":a,"saves-the-whales":a,selfip:a,"sells-for-less":a,"sells-for-u":a,servebbs:a,"simple-url":a,"space-to-rent":a,"teaches-yoga":a,writesthisblog:a,ddnsfree:a,ddnsgeek:a,giize:a,gleeze:a,kozow:a,loseyourip:a,ooguy:a,theworkpc:a,mytuleap:a,"tuleap-partners":a,encoreapi:a,evennode:[0,{"eu-1":a,"eu-2":a,"eu-3":a,"eu-4":a,"us-1":a,"us-2":a,"us-3":a,"us-4":a}],onfabrica:a,"fastly-edge":a,"fastly-terrarium":a,"fastvps-server":a,mydobiss:a,firebaseapp:a,fldrv:a,forgeblocks:a,framercanvas:a,"freebox-os":a,freeboxos:a,freemyip:a,aliases121:a,gentapps:a,gentlentapis:a,githubusercontent:a,"0emm":n,appspot:[2,{r:n}],blogspot:a,codespot:a,googleapis:a,googlecode:a,pagespeedmobilizer:a,withgoogle:a,withyoutube:a,grayjayleagues:a,hatenablog:a,hatenadiary:a,herokuapp:a,gr:a,smushcdn:a,wphostedmail:a,wpmucdn:a,pixolino:a,"apps-1and1":a,"live-website":a,"webspace-host":a,dopaas:a,"hosted-by-previder":U,hosteur:[0,{"rag-cloud":a,"rag-cloud-ch":a}],"ik-server":[0,{jcloud:a,"jcloud-ver-jpc":a}],jelastic:[0,{demo:a}],massivegrid:U,wafaicloud:[0,{jed:a,ryd:a}],"eu1-plenit":a,"la1-plenit":a,"us1-plenit":a,webadorsite:a,joyent:[0,{cns:n}],"on-forge":a,"on-vapor":a,lpusercontent:a,linode:[0,{members:a,nodebalancer:n}],linodeobjects:n,linodeusercontent:[0,{ip:a}],localtonet:a,lovableproject:a,barsycenter:a,barsyonline:a,lutrausercontent:n,modelscape:a,mwcloudnonprod:a,polyspace:a,mazeplay:a,miniserver:a,atmeta:a,fbsbx:W,meteorapp:R,routingthecloud:a,"same-app":a,"same-preview":a,mydbserver:a,mochausercontent:a,hostedpi:a,"mythic-beasts":[0,{caracal:a,customer:a,fentiger:a,lynx:a,ocelot:a,oncilla:a,onza:a,sphinx:a,vs:a,x:a,yali:a}],nospamproxy:[0,{cloud:[2,{o365:a}]}],"4u":a,nfshost:a,"3utilities":a,blogsyte:a,ciscofreak:a,damnserver:a,ddnsking:a,ditchyourip:a,dnsiskinky:a,dynns:a,geekgalaxy:a,"health-carereform":a,homesecuritymac:a,homesecuritypc:a,myactivedirectory:a,mysecuritycamera:a,myvnc:a,"net-freaks":a,onthewifi:a,point2this:a,quicksytes:a,securitytactics:a,servebeer:a,servecounterstrike:a,serveexchange:a,serveftp:a,servegame:a,servehalflife:a,servehttp:a,servehumour:a,serveirc:a,servemp3:a,servep2p:a,servepics:a,servequake:a,servesarcasm:a,stufftoread:a,unusualperson:a,workisboring:a,myiphost:a,observableusercontent:[0,{static:a}],simplesite:a,oaiusercontent:n,orsites:a,operaunite:a,"customer-oci":[0,{"*":a,oci:n,ocp:n,ocs:n}],oraclecloudapps:n,oraclegovcloudapps:n,"authgear-staging":a,authgearapps:a,skygearapp:a,outsystemscloud:a,ownprovider:a,pgfog:a,pagexl:a,gotpantheon:a,paywhirl:n,upsunapp:a,"postman-echo":a,prgmr:[0,{xen:a}],"project-study":[0,{dev:a}],pythonanywhere:R,qa2:a,"alpha-myqnapcloud":a,"dev-myqnapcloud":a,mycloudnas:a,mynascloud:a,myqnapcloud:a,qualifioapp:a,ladesk:a,qualyhqpartner:n,qualyhqportal:n,qbuser:a,quipelements:n,rackmaze:a,"readthedocs-hosted":a,rhcloud:a,onrender:a,render:J,"subsc-pay":a,"180r":a,dojin:a,sakuratan:a,sakuraweb:a,x0:a,code:[0,{builder:n,"dev-builder":n,"stg-builder":n}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":n}]}]}]}],logoip:a,scrysec:a,"firewall-gateway":a,myshopblocks:a,myshopify:a,shopitsite:a,"1kapp":a,appchizi:a,applinzi:a,sinaapp:a,vipsinaapp:a,streamlitapp:a,"try-snowplow":a,"playstation-cloud":a,myspreadshop:a,"w-corp-staticblitz":a,"w-credentialless-staticblitz":a,"w-staticblitz":a,"stackhero-network":a,stdlib:[0,{api:a}],strapiapp:[2,{media:a}],"streak-link":a,streaklinks:a,streakusercontent:a,"temp-dns":a,dsmynas:a,familyds:a,mytabit:a,taveusercontent:a,"tb-hosting":L,reservd:a,thingdustdata:a,"townnews-staging":a,typeform:[0,{pro:a}],hk:a,it:a,"deus-canvas":a,vultrobjects:n,wafflecell:a,hotelwithflight:a,"reserve-online":a,cprapid:a,pleskns:a,remotewd:a,wiardweb:[0,{pages:a}],wixsite:a,wixstudio:a,messwithdns:a,"woltlab-demo":a,wpenginepowered:[2,{js:a}],xnbay:[2,{u2:a,"u2-local":a}],yolasite:a}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,id:e,int:e,net:e,nome:e,org:e,publ:e}],cw:X,cx:[1,{gov:e,cloudns:a,ath:a,info:a,assessments:a,calculators:a,funnels:a,paynow:a,quizzes:a,researched:a,tests:a}],cy:[1,{ac:e,biz:e,com:[1,{scaleforce:q}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{gov:e,contentproxy9:[0,{rsc:a}],realm:a,e4:a,co:a,metacentrum:[0,{cloud:n,custom:a}],muni:[0,{cloud:[0,{flt:a,usr:a}]}]}],de:[1,{bplaced:a,square7:a,com:a,cosidns:B,dnsupdater:a,"dynamisches-dns":a,"internet-dns":a,"l-o-g-i-n":a,ddnss:[2,{dyn:a,dyndns:a}],"dyn-ip24":a,dyndns1:a,"home-webserver":[2,{dyn:a}],"myhome-server":a,dnshome:a,fuettertdasnetz:a,isteingeek:a,istmein:a,lebtimnetz:a,leitungsen:a,traeumtgerade:a,frusky:n,goip:a,"xn--gnstigbestellen-zvb":a,günstigbestellen:a,"xn--gnstigliefern-wob":a,günstigliefern:a,"hs-heilbronn":[0,{it:[0,{pages:a,"pages-research":a}]}],"dyn-berlin":a,"in-berlin":a,"in-brb":a,"in-butter":a,"in-dsl":a,"in-vpn":a,iservschule:a,"mein-iserv":a,schuldock:a,schulplattform:a,schulserver:a,"test-iserv":a,keymachine:a,co:a,"git-repos":a,"lcube-server":a,"svn-repos":a,barsy:a,webspaceconfig:a,"123webseite":a,rub:a,"ruhr-uni-bochum":[2,{noc:[0,{io:a}]}],logoip:a,"firewall-gateway":a,"my-gateway":a,"my-router":a,spdns:a,my:a,speedpartner:[0,{customer:a}],myspreadshop:a,"taifun-dns":a,"12hp":a,"2ix":a,"4lima":a,"lima-city":a,"dd-dns":a,"dray-dns":a,draydns:a,"dyn-vpn":a,dynvpn:a,"mein-vigor":a,"my-vigor":a,"my-wan":a,"syno-ds":a,"synology-diskstation":a,"synology-ds":a,"virtual-user":a,virtualuser:a,"community-pro":a,diskussionsbereich:a,xenonconnect:n}],dj:e,dk:[1,{biz:a,co:a,firm:a,reg:a,store:a,"123hjemmeside":a,myspreadshop:a}],dm:G,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,net:e,org:e,pol:e,soc:e,tm:e}],ec:[1,{abg:e,adm:e,agron:e,arqt:e,art:e,bar:e,chef:e,com:e,cont:e,cpa:e,cue:e,dent:e,dgn:e,disco:e,doc:e,edu:e,eng:e,esm:e,fin:e,fot:e,gal:e,gob:e,gov:e,gye:e,ibr:e,info:e,k12:e,lat:e,loj:e,med:e,mil:e,mktg:e,mon:e,net:e,ntr:e,odont:e,org:e,pro:e,prof:e,psic:e,psiq:e,pub:e,rio:e,rrpp:e,sal:e,tech:e,tul:e,tur:e,uio:e,vet:e,xxx:e,base:a,official:a}],edu:[1,{rit:[0,{"git-pages":a}]}],ee:[1,{aip:e,com:e,edu:e,fie:e,gov:e,lib:e,med:e,org:e,pri:e,riik:e}],eg:[1,{ac:e,com:e,edu:e,eun:e,gov:e,info:e,me:e,mil:e,name:e,net:e,org:e,sci:e,sport:e,tv:e}],er:f,es:[1,{com:e,edu:e,gob:e,nom:e,org:e,"123miweb":a,myspreadshop:a}],et:[1,{biz:e,com:e,edu:e,gov:e,info:e,name:e,net:e,org:e}],eu:[1,{cloudns:a,prvw:a,dogado:[0,{jelastic:a}],barsy:a,spdns:a,nxa:n,directwp:a,transurl:n,diskstation:a}],fi:[1,{aland:e,dy:a,"xn--hkkinen-5wa":a,häkkinen:a,iki:a,cloudplatform:[0,{fi:a}],datacenter:[0,{demo:a,paas:a}],kapsi:a,"123kotisivu":a,myspreadshop:a}],fj:[1,{ac:e,biz:e,com:e,edu:e,gov:e,id:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:f,fm:[1,{com:e,edu:e,net:e,org:e,radio:a,user:n}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"en-root":a,"fbx-os":a,fbxos:a,"freebox-os":a,freeboxos:a,goupile:a,"123siteweb":a,"on-web":a,"chirurgiens-dentistes-en-france":a,dedibox:a,aeroport:a,avocat:a,chambagri:a,"chirurgiens-dentistes":a,"experts-comptables":a,medecin:a,notaires:a,pharmacien:a,port:a,veterinaire:a,myspreadshop:a,ynh:a}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,net:e,org:e,pvt:e,school:e}],gf:e,gg:[1,{co:e,net:e,org:e,ply:[0,{at:n,d6:a}],botdash:a,kaas:a,stackit:a,panel:[2,{daemon:a}]}],gh:[1,{biz:e,com:e,edu:e,gov:e,mil:e,net:e,org:e}],gi:[1,{com:e,edu:e,gov:e,ltd:e,mod:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,net:e,org:e}],gov:e,gp:[1,{asso:e,com:e,edu:e,mobi:e,net:e,org:e}],gq:e,gr:[1,{com:e,edu:e,gov:e,net:e,org:e,barsy:a,simplesite:a}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:[1,{nx:a}],gy:G,hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--ciqpn":e,个人:e,"xn--gmqw5a":e,個人:e,"xn--55qx5d":e,公司:e,"xn--mxtq1m":e,政府:e,"xn--lcvr32d":e,敎育:e,"xn--wcvs22d":e,教育:e,"xn--gmq050i":e,箇人:e,"xn--uc0atv":e,組織:e,"xn--uc0ay4a":e,組织:e,"xn--od0alg":e,網絡:e,"xn--zf0avx":e,網络:e,"xn--mk0axi":e,组織:e,"xn--tn0ag":e,组织:e,"xn--od0aq3b":e,网絡:e,"xn--io0a7i":e,网络:e,inc:a,ltd:a}],hm:e,hn:[1,{com:e,edu:e,gob:e,mil:e,net:e,org:e}],hr:[1,{com:e,from:e,iz:e,name:e,brendly:b}],ht:[1,{adult:e,art:e,asso:e,com:e,coop:e,edu:e,firm:e,gouv:e,info:e,med:e,net:e,org:e,perso:e,pol:e,pro:e,rel:e,shop:e,rt:a}],hu:[1,{2e3:e,agrar:e,bolt:e,casino:e,city:e,co:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,info:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,org:e,priv:e,reklam:e,sex:e,shop:e,sport:e,suli:e,szex:e,tm:e,tozsde:e,utazas:e,video:e}],id:[1,{ac:e,biz:e,co:e,desa:e,go:e,kop:e,mil:e,my:e,net:e,or:e,ponpes:e,sch:e,web:e,e:a,zone:a}],ie:[1,{gov:e,myspreadshop:a}],il:[1,{ac:e,co:[1,{ravpage:a,mytabit:a,tabitorder:a}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],ישראל:[1,{אקדמיה:e,ישוב:e,צהל:e,ממשל:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bank:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,fin:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:a,barsy:a,web:a,supabase:a}],info:[1,{cloudns:a,"dynamic-dns":a,"barrel-of-knowledge":a,"barrell-of-knowledge":a,dyndns:a,"for-our":a,"groks-the":a,"groks-this":a,"here-for-more":a,knowsitall:a,selfip:a,webhop:a,barsy:a,mayfirst:a,mittwald:a,mittwaldserver:a,typo3server:a,dvrcam:a,ilovecollege:a,"no-ip":a,forumz:a,nsupdate:a,dnsupdate:a,"v-info":a}],int:[1,{eu:e}],io:[1,{2038:a,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":n,myaddr:a,apigee:a,"b-data":a,beagleboard:a,bitbucket:a,bluebite:a,boxfuse:a,brave:r,browsersafetymark:a,bubble:Z,bubbleapps:a,bigv:[0,{uk0:a}],cleverapps:a,cloudbeesusercontent:a,dappnode:[0,{dyndns:a}],darklang:a,definima:a,dedyn:a,icp0:Q,icp1:Q,qzz:a,"fh-muenster":a,shw:a,forgerock:[0,{id:a}],gitbook:a,github:a,gitlab:a,lolipop:a,"hasura-app":a,hostyhosting:a,hypernode:a,moonscale:n,beebyte:U,beebyteapp:[0,{sekd1:a}],jele:a,webthings:a,loginline:a,barsy:a,azurecontainer:n,ngrok:[2,{ap:a,au:a,eu:a,in:a,jp:a,sa:a,us:a}],nodeart:[0,{stage:a}],pantheonsite:a,pstmn:[2,{mock:a}],protonet:a,qcx:[2,{sys:n}],qoto:a,vaporcloud:a,myrdbx:a,"rb-hosting":L,"on-k3s":n,"on-rio":n,readthedocs:a,resindevice:a,resinstaging:[0,{devices:a}],hzc:a,sandcats:a,scrypted:[0,{client:a}],"mo-siemens":a,lair:W,stolos:n,musician:a,utwente:a,edugit:a,telebit:a,thingdust:[0,{dev:Y,disrec:Y,prod:ee,testing:Y}],tickets:a,webflow:a,webflowtest:a,editorx:a,wixstudio:a,basicserver:a,virtualserver:a}],iq:o,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,arvanedge:a,vistablog:a}],is:e,it:[1,{edu:e,gov:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenezia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-süd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-südtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,trentino:e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-süd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-südtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinosüd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinosüdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentinsüd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentinsüdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vallée-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vallée-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,valléeaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,valléedaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,balsan:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-südtirol":e,"balsan-suedtirol":e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,bolzano:e,"bolzano-altoadige":e,bozen:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-südtirol":e,"bozen-suedtirol":e,br:e,brescia:e,brindisi:e,bs:e,bt:e,bulsan:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-südtirol":e,"bulsan-suedtirol":e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesena-forli":e,"xn--cesena-forl-mcb":e,"cesena-forlì":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforlì:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forlì-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forlìcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,monza:e,"monza-brianza":e,"monza-e-della-brianza":e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,sa:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,"xn--sdtirol-n2a":e,südtirol:e,suedtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,"12chars":a,ibxos:a,iliadboxos:a,neen:[0,{jc:a}],"123homepage":a,"16-b":a,"32-b":a,"64-b":a,myspreadshop:a,syncloud:a}],je:[1,{co:e,net:e,org:e,of:a}],jm:f,jo:[1,{agri:e,ai:e,com:e,edu:e,eng:e,fm:e,gov:e,mil:e,net:e,org:e,per:e,phd:e,sch:e,tv:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:$,gehirn:a,ivory:a,"mail-box":a,mints:a,mokuren:a,opal:a,sakura:a,sumomo:a,topaz:a}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,nagi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,wakayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--ehqz56n":e,三重:e,"xn--1lqs03n":e,京都:e,"xn--qqqt11m":e,佐賀:e,"xn--f6qx53a":e,兵庫:e,"xn--djrs72d6uy":e,北海道:e,"xn--mkru45i":e,千葉:e,"xn--0trq7p7nn":e,和歌山:e,"xn--5js045d":e,埼玉:e,"xn--kbrq7o":e,大分:e,"xn--pssu33l":e,大阪:e,"xn--ntsq17g":e,奈良:e,"xn--uisz3g":e,宮城:e,"xn--6btw5a":e,宮崎:e,"xn--1ctwo":e,富山:e,"xn--6orx2r":e,山口:e,"xn--rht61e":e,山形:e,"xn--rht27z":e,山梨:e,"xn--nit225k":e,岐阜:e,"xn--rht3d":e,岡山:e,"xn--djty4k":e,岩手:e,"xn--klty5x":e,島根:e,"xn--kltx9a":e,広島:e,"xn--kltp7d":e,徳島:e,"xn--c3s14m":e,愛媛:e,"xn--vgu402c":e,愛知:e,"xn--efvn9s":e,新潟:e,"xn--1lqs71d":e,東京:e,"xn--4pvxs":e,栃木:e,"xn--uuwu58a":e,沖縄:e,"xn--zbx025d":e,滋賀:e,"xn--8pvr4u":e,熊本:e,"xn--5rtp49c":e,石川:e,"xn--ntso0iqx3a":e,神奈川:e,"xn--elqq16h":e,福井:e,"xn--4it168d":e,福岡:e,"xn--klt787d":e,福島:e,"xn--rny31h":e,秋田:e,"xn--7t0a264c":e,群馬:e,"xn--uist22h":e,茨城:e,"xn--8ltr62k":e,長崎:e,"xn--2m4a15e":e,長野:e,"xn--32vp30h":e,青森:e,"xn--4it797k":e,静岡:e,"xn--5rtq34k":e,香川:e,"xn--k7yn95e":e,高知:e,"xn--tor131o":e,鳥取:e,"xn--d5qv7z876c":e,鹿児島:e,kawasaki:f,kitakyushu:f,kobe:f,nagoya:f,sapporo:f,sendai:f,yokohama:f,buyshop:a,fashionstore:a,handcrafted:a,kawaiishop:a,supersale:a,theshop:a,"0am":a,"0g0":a,"0j0":a,"0t0":a,mydns:a,pgw:a,wjg:a,usercontent:a,angry:a,babyblue:a,babymilk:a,backdrop:a,bambina:a,bitter:a,blush:a,boo:a,boy:a,boyfriend:a,but:a,candypop:a,capoo:a,catfood:a,cheap:a,chicappa:a,chillout:a,chips:a,chowder:a,chu:a,ciao:a,cocotte:a,coolblog:a,cranky:a,cutegirl:a,daa:a,deca:a,deci:a,digick:a,egoism:a,fakefur:a,fem:a,flier:a,floppy:a,fool:a,frenchkiss:a,girlfriend:a,girly:a,gloomy:a,gonna:a,greater:a,hacca:a,heavy:a,her:a,hiho:a,hippy:a,holy:a,hungry:a,icurus:a,itigo:a,jellybean:a,kikirara:a,kill:a,kilo:a,kuron:a,littlestar:a,lolipopmc:a,lolitapunk:a,lomo:a,lovepop:a,lovesick:a,main:a,mods:a,mond:a,mongolian:a,moo:a,namaste:a,nikita:a,nobushi:a,noor:a,oops:a,parallel:a,parasite:a,pecori:a,peewee:a,penne:a,pepper:a,perma:a,pigboat:a,pinoko:a,punyu:a,pupu:a,pussycat:a,pya:a,raindrop:a,readymade:a,sadist:a,schoolbus:a,secret:a,staba:a,stripper:a,sub:a,sunnyday:a,thick:a,tonkotsu:a,under:a,upper:a,velvet:a,verse:a,versus:a,vivian:a,watson:a,weblike:a,whitesnow:a,zombie:a,hateblo:a,hatenablog:a,hatenadiary:a,"2-d":a,bona:a,crap:a,daynight:a,eek:a,flop:a,halfmoon:a,jeez:a,matrix:a,mimoza:a,netgamers:a,nyanta:a,o0o0:a,rdy:a,rgr:a,rulez:a,sakurastorage:[0,{isk01:ae,isk02:ae}],saloon:a,sblo:a,skr:a,tank:a,"uh-oh":a,undo:a,webaccel:[0,{rs:a,user:a}],websozai:a,xii:a}],ke:[1,{ac:e,co:e,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,us:a,xx:a}],kh:f,ki:te,km:[1,{ass:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e,tm:e,asso:e,coop:e,gouv:e,medecin:e,notaires:e,pharmaciens:e,presse:e,veterinaire:e}],kn:[1,{edu:e,gov:e,net:e,org:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,ai:e,co:e,es:e,go:e,hs:e,io:e,it:e,kg:e,me:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,c01:a,"eliv-cdn":a,"eliv-dns":a,mmv:a,vki:a}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:X,kz:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,jcloud:a}],la:[1,{com:e,edu:e,gov:e,info:e,int:e,net:e,org:e,per:e,bnr:a}],lb:t,lc:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,oy:a}],li:e,lk:[1,{ac:e,assn:e,com:e,edu:e,gov:e,grp:e,hotel:e,int:e,ltd:e,net:e,ngo:e,org:e,sch:e,soc:e,web:e}],lr:t,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:c,lu:[1,{"123website":a}],lv:[1,{asn:e,com:e,conf:e,edu:e,gov:e,id:e,mil:e,net:e,org:e}],ly:[1,{com:e,edu:e,gov:e,id:e,med:e,net:e,org:e,plc:e,sch:e}],ma:[1,{ac:e,co:e,gov:e,net:e,org:e,press:e}],mc:[1,{asso:e,tm:e}],md:[1,{ir:a}],me:[1,{ac:e,co:e,edu:e,gov:e,its:e,net:e,org:e,priv:e,c66:a,craft:a,edgestack:a,filegear:a,"filegear-sg":a,lohmus:a,barsy:a,mcdir:a,brasilia:a,ddns:a,dnsfor:a,hopto:a,loginto:a,noip:a,webhop:a,soundcast:a,tcp4:a,vp4:a,diskstation:a,dscloud:a,i234:a,myds:a,synology:a,transip:L,nohost:a}],mg:[1,{co:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e}],mh:e,mil:e,mk:[1,{com:e,edu:e,gov:e,inf:e,name:e,net:e,org:e}],ml:[1,{ac:e,art:e,asso:e,com:e,edu:e,gouv:e,gov:e,info:e,inst:e,net:e,org:e,pr:e,presse:e}],mm:f,mn:[1,{edu:e,gov:e,org:e,nyc:a}],mo:t,mobi:[1,{barsy:a,dscloud:a}],mp:[1,{ju:a}],mq:e,mr:c,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:a}],mt:X,mu:[1,{ac:e,co:e,com:e,gov:e,net:e,or:e,org:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,edu:e,gob:e,net:e,org:e}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:re,his:re,ispmanager:a}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:a,"adobeio-static":a,adobeioruntime:a,akadns:a,akamai:a,"akamai-staging":a,akamaiedge:a,"akamaiedge-staging":a,akamaihd:a,"akamaihd-staging":a,akamaiorigin:a,"akamaiorigin-staging":a,akamaized:a,"akamaized-staging":a,edgekey:a,"edgekey-staging":a,edgesuite:a,"edgesuite-staging":a,alwaysdata:a,myamaze:a,cloudfront:a,appudo:a,"atlassian-dev":[0,{prod:Z}],myfritz:a,onavstack:a,shopselect:a,blackbaudcdn:a,boomla:a,bplaced:a,square7:a,cdn77:[0,{r:a}],"cdn77-ssl":a,gb:a,hu:a,jp:a,se:a,uk:a,clickrising:a,"ddns-ip":a,"dns-cloud":a,"dns-dynamic":a,cloudaccess:a,cloudflare:[2,{cdn:a}],cloudflareanycast:Z,cloudflarecn:Z,cloudflareglobal:Z,ctfcloud:a,"feste-ip":a,"knx-server":a,"static-access":a,cryptonomic:n,dattolocal:a,mydatto:a,debian:a,definima:a,deno:a,icp:n,de5:a,"at-band-camp":a,blogdns:a,"broke-it":a,buyshouses:a,dnsalias:a,dnsdojo:a,"does-it":a,dontexist:a,dynalias:a,dynathome:a,endofinternet:a,"from-az":a,"from-co":a,"from-la":a,"from-ny":a,"gets-it":a,"ham-radio-op":a,homeftp:a,homeip:a,homelinux:a,homeunix:a,"in-the-band":a,"is-a-chef":a,"is-a-geek":a,"isa-geek":a,"kicks-ass":a,"office-on-the":a,podzone:a,"scrapper-site":a,selfip:a,"sells-it":a,servebbs:a,serveftp:a,thruhere:a,webhop:a,casacam:a,dynu:a,dynv6:a,twmail:a,ru:a,channelsdvr:[2,{u:a}],fastly:[0,{freetls:a,map:a,prod:[0,{a,global:a}],ssl:[0,{a,b:a,global:a}]}],fastlylb:[2,{map:a}],edgeapp:a,"keyword-on":a,"live-on":a,"server-on":a,"cdn-edges":a,heteml:a,cloudfunctions:a,"grafana-dev":a,iobb:a,moonscale:a,"in-dsl":a,"in-vpn":a,oninferno:a,botdash:a,"apps-1and1":a,ipifony:a,cloudjiffy:[2,{"fra1-de":a,"west1-us":a}],elastx:[0,{"jls-sto1":a,"jls-sto2":a,"jls-sto3":a}],massivegrid:[0,{paas:[0,{"fr-1":a,"lon-1":a,"lon-2":a,"ny-1":a,"ny-2":a,"sg-1":a}]}],saveincloud:[0,{jelastic:a,"nordeste-idc":a}],scaleforce:q,kinghost:a,uni5:a,krellian:a,ggff:a,localto:n,barsy:a,luyani:a,memset:a,"azure-api":a,"azure-mobile":a,azureedge:a,azurefd:a,azurestaticapps:[2,{1:a,2:a,3:a,4:a,5:a,6:a,7:a,centralus:a,eastasia:a,eastus2:a,westeurope:a,westus2:a}],azurewebsites:a,cloudapp:a,trafficmanager:a,windows:[0,{core:[0,{blob:a}],servicebus:a}],mynetname:[0,{sn:a}],routingthecloud:a,bounceme:a,ddns:a,"eating-organic":a,mydissent:a,myeffect:a,mymediapc:a,mypsx:a,mysecuritycamera:a,nhlfan:a,"no-ip":a,pgafan:a,privatizehealthinsurance:a,redirectme:a,serveblog:a,serveminecraft:a,sytes:a,dnsup:a,hicam:a,"now-dns":a,ownip:a,vpndns:a,cloudycluster:a,ovh:[0,{hosting:n,webpaas:n}],rackmaze:a,myradweb:a,in:a,"subsc-pay":a,squares:a,schokokeks:a,"firewall-gateway":a,seidat:a,senseering:a,siteleaf:a,mafelo:a,myspreadshop:a,"vps-host":[2,{jelastic:[0,{atl:a,njs:a,ric:a}]}],srcf:[0,{soc:a,user:a}],supabase:a,dsmynas:a,familyds:a,ts:[2,{c:n}],torproject:[2,{pages:a}],tunnelmole:a,vusercontent:a,"reserve-online":a,localcert:a,"community-pro":a,meinforum:a,yandexcloud:[2,{storage:a,website:a}],za:a,zabc:a}],nf:[1,{arts:e,com:e,firm:e,info:e,net:e,other:e,per:e,rec:e,store:e,web:e}],ng:[1,{com:e,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:a,dl:a,go:a,lg:a,on:a}],col:a,firm:a,gen:a,ltd:a,ngo:a,plc:a}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:a,"hosting-cluster":a,gov:a,khplay:a,"123website":a,myspreadshop:a,transurl:n,cistron:a,demon:a}],no:[1,{fhs:e,folkebibl:e,fylkesbibl:e,idrett:e,museum:e,priv:e,vgs:e,dep:e,herad:e,kommune:e,mil:e,stat:e,aa:ie,ah:ie,bu:ie,fm:ie,hl:ie,hm:ie,"jan-mayen":ie,mr:ie,nl:ie,nt:ie,of:ie,ol:ie,oslo:ie,rl:ie,sf:ie,st:ie,svalbard:ie,tm:ie,tr:ie,va:ie,vf:ie,akrehamn:e,"xn--krehamn-dxa":e,åkrehamn:e,algard:e,"xn--lgrd-poac":e,ålgård:e,arna:e,bronnoysund:e,"xn--brnnysund-m8ac":e,brønnøysund:e,brumunddal:e,bryne:e,drobak:e,"xn--drbak-wua":e,drøbak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,florø:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,hønefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,jørpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langevåg:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mjøndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosjøen:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,osøyro:e,raholt:e,"xn--rholt-mra":e,råholt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessjøen:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stjørdalshalsen:e,tananger:e,tranby:e,vossevangen:e,aarborte:e,aejrie:e,afjord:e,"xn--fjord-lra":e,åfjord:e,agdenes:e,akershus:se,aknoluokta:e,"xn--koluokta-7ya57h":e,ákŋoluokta:e,al:e,"xn--l-1fa":e,ål:e,alaheadju:e,"xn--laheadju-7ya":e,álaheadju:e,alesund:e,"xn--lesund-hua":e,ålesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,áltá:e,alvdal:e,amli:e,"xn--mli-tla":e,åmli:e,amot:e,"xn--mot-tla":e,åmot:e,andasuolo:e,andebu:e,andoy:e,"xn--andy-ira":e,andøy:e,ardal:e,"xn--rdal-poa":e,årdal:e,aremark:e,arendal:e,"xn--s-1fa":e,ås:e,aseral:e,"xn--seral-lra":e,åseral:e,asker:e,askim:e,askoy:e,"xn--asky-ira":e,askøy:e,askvoll:e,asnes:e,"xn--snes-poa":e,åsnes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-høland":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,averøy:e,badaddja:e,"xn--bdddj-mrabd":e,bådåddjå:e,"xn--brum-voa":e,bærum:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,báhcavuotna:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,báhccavuotna:e,baidar:e,"xn--bidr-5nac":e,báidár:e,bajddar:e,"xn--bjddar-pta":e,bájddar:e,balat:e,"xn--blt-elab":e,bálát:e,balestrand:e,ballangen:e,balsfjord:e,bamble:e,bardu:e,barum:e,batsfjord:e,"xn--btsfjord-9za":e,båtsfjord:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalváhki:e,beardu:e,beiarn:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlevåg:e,bievat:e,"xn--bievt-0qa":e,bievát:e,bindal:e,birkenes:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bodø:e,bokn:e,bomlo:e,"xn--bmlo-gra":e,bømlo:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,brønnøy:e,budejju:e,buskerud:se,bygland:e,bykle:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,čáhcesuolo:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenjárga:e,davvesiida:e,deatnu:e,dielddanuorri:e,divtasvuodna:e,divttasvuotna:e,donna:e,"xn--dnna-gra":e,dønna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyrøy:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenassi:e,"xn--eveni-0qa01ga":e,evenášši:e,evenes:e,"evje-og-hornnes":e,farsund:e,fauske:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finnøy:e,fitjar:e,fjaler:e,fjell:e,fla:e,"xn--fl-zia":e,flå:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,folldal:e,forde:e,"xn--frde-gra":e,førde:e,forsand:e,fosnes:e,"xn--frna-woa":e,fræna:e,frana:e,frei:e,frogn:e,froland:e,frosta:e,froya:e,"xn--frya-hra":e,frøya:e,fuoisku:e,fuossko:e,fusa:e,fyresdal:e,gaivuotna:e,"xn--givuotna-8ya":e,gáivuotna:e,galsa:e,"xn--gls-elac":e,gálsá:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,gáŋgaviika:e,gaular:e,gausdal:e,giehtavuoatna:e,gildeskal:e,"xn--gildeskl-g0a":e,gildeskål:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gjøvik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,grue:e,gulen:e,guovdageaidnu:e,ha:e,"xn--h-2fa":e,hå:e,habmer:e,"xn--hbmer-xqa":e,hábmer:e,hadsel:e,"xn--hgebostad-g3a":e,hægebostad:e,hagebostad:e,halden:e,halsa:e,hamar:e,hamaroy:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,hámmárfeasta:e,hammerfest:e,hapmir:e,"xn--hpmir-xqa":e,hápmir:e,haram:e,hareid:e,harstad:e,hasvik:e,hattfjelldal:e,haugesund:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,våler:e}],hemne:e,hemnes:e,hemsedal:e,hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hobøl:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holtålen:e,hordaland:[0,{os:e}],hornindal:e,horten:e,hoyanger:e,"xn--hyanger-q1a":e,høyanger:e,hoylandet:e,"xn--hylandet-54a":e,høylandet:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inderøy:e,iveland:e,ivgu:e,jevnaker:e,jolster:e,"xn--jlster-bya":e,jølster:e,jondal:e,kafjord:e,"xn--kfjord-iua":e,kåfjord:e,karasjohka:e,"xn--krjohka-hwab49j":e,kárášjohka:e,karasjok:e,karlsoy:e,karmoy:e,"xn--karmy-yua":e,karmøy:e,kautokeino:e,klabu:e,"xn--klbu-woa":e,klæbu:e,klepp:e,kongsberg:e,kongsvinger:e,kraanghke:e,"xn--kranghke-b0a":e,kråanghke:e,kragero:e,"xn--krager-gya":e,kragerø:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,krødsherad:e,"xn--kvfjord-nxa":e,kvæfjord:e,"xn--kvnangen-k0a":e,kvænangen:e,kvafjord:e,kvalsund:e,kvam:e,kvanangen:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvitsøy:e,laakesvuemie:e,"xn--lrdal-sra":e,lærdal:e,lahppi:e,"xn--lhppi-xqa":e,láhppi:e,lardal:e,larvik:e,lavagis:e,lavangen:e,leangaviika:e,"xn--leagaviika-52b":e,leaŋgaviika:e,lebesby:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,lerdal:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindas:e,"xn--linds-pra":e,lindås:e,lindesnes:e,loabat:e,"xn--loabt-0qa":e,loabát:e,lodingen:e,"xn--ldingen-q1a":e,lødingen:e,lom:e,loppa:e,lorenskog:e,"xn--lrenskog-54a":e,lørenskog:e,loten:e,"xn--lten-gra":e,løten:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lurøy:e,luster:e,lyngdal:e,lyngen:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,málatvuopmi:e,malselv:e,"xn--mlselv-iua":e,målselv:e,malvik:e,mandal:e,marker:e,marnardal:e,masfjorden:e,masoy:e,"xn--msy-ula0h":e,måsøy:e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"mátta-várjjat":e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,meløy:e,meraker:e,"xn--merker-kua":e,meråker:e,midsund:e,"midtre-gauldal":e,moareke:e,"xn--moreke-jua":e,moåreke:e,modalen:e,modum:e,molde:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"møre-og-romsdal":[0,{herøy:e,sande:e}],moskenes:e,moss:e,muosat:e,"xn--muost-0qa":e,muosát:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,nååmesjevuemie:e,"xn--nry-yla5g":e,nærøy:e,namdalseid:e,namsos:e,namsskogan:e,nannestad:e,naroy:e,narviika:e,narvik:e,naustdal:e,navuotna:e,"xn--nvuotna-hwa":e,návuotna:e,"nedre-eiker":e,nesna:e,nesodden:e,nesseby:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,nordland:[0,{bo:e,"xn--b-5ga":e,bø:e,heroy:e,"xn--hery-ira":e,herøy:e}],"nordre-land":e,nordreisa:e,"nore-og-uvdal":e,notodden:e,notteroy:e,"xn--nttery-byae":e,nøtterøy:e,odda:e,oksnes:e,"xn--ksnes-uua":e,øksnes:e,omasvuotna:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppegård:e,orkdal:e,orland:e,"xn--rland-uua":e,ørland:e,orskog:e,"xn--rskog-uua":e,ørskog:e,orsta:e,"xn--rsta-fra":e,ørsta:e,osen:e,osteroy:e,"xn--ostery-fya":e,osterøy:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],østfold:[0,{våler:e}],"ostre-toten":e,"xn--stre-toten-zcb":e,"østre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"øvre-eiker":e,oyer:e,"xn--yer-zna":e,øyer:e,oygarden:e,"xn--ygarden-p1a":e,øygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"øystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,porsáŋgu:e,porsgrunn:e,rade:e,"xn--rde-ula":e,råde:e,radoy:e,"xn--rady-ira":e,radøy:e,"xn--rlingen-mxa":e,rælingen:e,rahkkeravju:e,"xn--rhkkervju-01af":e,ráhkkerávju:e,raisa:e,"xn--risa-5na":e,ráisa:e,rakkestad:e,ralingen:e,rana:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennesøy:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,risor:e,"xn--risr-ira":e,risør:e,rissa:e,roan:e,rodoy:e,"xn--rdy-0nab":e,rødøy:e,rollag:e,romsa:e,romskog:e,"xn--rmskog-bya":e,rømskog:e,roros:e,"xn--rros-gra":e,røros:e,rost:e,"xn--rst-0na":e,røst:e,royken:e,"xn--ryken-vua":e,røyken:e,royrvik:e,"xn--ryrvik-bya":e,røyrvik:e,ruovat:e,rygge:e,salangen:e,salat:e,"xn--slat-5na":e,sálat:e,"xn--slt-elab":e,sálát:e,saltdal:e,samnanger:e,sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sandøy:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,siellak:e,sigdal:e,siljan:e,sirdal:e,skanit:e,"xn--sknit-yqa":e,skánit:e,skanland:e,"xn--sknland-fxa":e,skånland:e,skaun:e,skedsmo:e,ski:e,skien:e,skierva:e,"xn--skierv-uta":e,skiervá:e,skiptvet:e,skjak:e,"xn--skjk-soa":e,skjåk:e,skjervoy:e,"xn--skjervy-v1a":e,skjervøy:e,skodje:e,smola:e,"xn--smla-hra":e,smøla:e,snaase:e,"xn--snase-nra":e,snåase:e,snasa:e,"xn--snsa-roa":e,snåsa:e,snillfjord:e,snoasa:e,sogndal:e,sogne:e,"xn--sgne-gra":e,søgne:e,sokndal:e,sola:e,solund:e,somna:e,"xn--smna-gra":e,sømna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"søndre-land":e,songdalen:e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"sør-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"sør-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"sør-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"sør-varanger":e,sorfold:e,"xn--srfold-bya":e,sørfold:e,sorreisa:e,"xn--srreisa-q1a":e,sørreisa:e,sortland:e,sorum:e,"xn--srum-gra":e,sørum:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stjørdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,tana:e,telemark:[0,{bo:e,"xn--b-5ga":e,bø:e}],time:e,tingvoll:e,tinn:e,tjeldsund:e,tjome:e,"xn--tjme-hra":e,tjøme:e,tokke:e,tolga:e,tonsberg:e,"xn--tnsberg-q1a":e,tønsberg:e,torsken:e,"xn--trna-woa":e,træna:e,trana:e,tranoy:e,"xn--trany-yua":e,tranøy:e,troandin:e,trogstad:e,"xn--trgstad-r1a":e,trøgstad:e,tromsa:e,tromso:e,"xn--troms-zua":e,tromsø:e,trondheim:e,trysil:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,tysnes:e,"xn--tysvr-vra":e,tysvær:e,tysvar:e,ullensaker:e,ullensvang:e,ulvik:e,unjarga:e,"xn--unjrga-rta":e,unjárga:e,utsira:e,vaapste:e,vadso:e,"xn--vads-jra":e,vadsø:e,"xn--vry-yla5g":e,værøy:e,vaga:e,"xn--vg-yiab":e,vågå:e,vagan:e,"xn--vgan-qoa":e,vågan:e,vagsoy:e,"xn--vgsy-qoa0j":e,vågsøy:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vardø:e,varggat:e,"xn--vrggt-xqad":e,várggát:e,varoy:e,vefsn:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,vegårshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestfold:[0,{sande:e}],vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestvågøy:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,voagat:e,volda:e,voss:e,co:a,"123hjemmeside":a,myspreadshop:a}],np:f,nr:te,nu:[1,{merseine:a,mine:a,shacknet:a,enterprisecloud:a}],nz:[1,{ac:e,co:e,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,"xn--mori-qsa":e,māori:e,mil:e,net:e,org:e,parliament:e,school:e,cloudns:a}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:a,pimienta:a,poivron:a,potager:a,sweetpepper:a,cdn77:[0,{c:a,rsc:a}],"cdn77-secure":[0,{origin:[0,{ssl:a}]}],ae:a,cloudns:a,"ip-dynamic":a,ddnss:a,dpdns:a,duckdns:a,tunk:a,blogdns:a,blogsite:a,boldlygoingnowhere:a,dnsalias:a,dnsdojo:a,doesntexist:a,dontexist:a,doomdns:a,dvrdns:a,dynalias:a,dyndns:[2,{go:a,home:a}],endofinternet:a,endoftheinternet:a,"from-me":a,"game-host":a,gotdns:a,"hobby-site":a,homedns:a,homeftp:a,homelinux:a,homeunix:a,"is-a-bruinsfan":a,"is-a-candidate":a,"is-a-celticsfan":a,"is-a-chef":a,"is-a-geek":a,"is-a-knight":a,"is-a-linux-user":a,"is-a-patsfan":a,"is-a-soxfan":a,"is-found":a,"is-lost":a,"is-saved":a,"is-very-bad":a,"is-very-evil":a,"is-very-good":a,"is-very-nice":a,"is-very-sweet":a,"isa-geek":a,"kicks-ass":a,misconfused:a,podzone:a,readmyblog:a,selfip:a,sellsyourhome:a,servebbs:a,serveftp:a,servegame:a,"stuff-4-sale":a,webhop:a,accesscam:a,camdvr:a,freeddns:a,mywire:a,webredirect:a,twmail:a,eu:[2,{al:a,asso:a,at:a,au:a,be:a,bg:a,ca:a,cd:a,ch:a,cn:a,cy:a,cz:a,de:a,dk:a,edu:a,ee:a,es:a,fi:a,fr:a,gr:a,hr:a,hu:a,ie:a,il:a,in:a,int:a,is:a,it:a,jp:a,kr:a,lt:a,lu:a,lv:a,me:a,mk:a,mt:a,my:a,net:a,ng:a,nl:a,no:a,nz:a,pl:a,pt:a,ro:a,ru:a,se:a,si:a,sk:a,tr:a,uk:a,us:a}],fedorainfracloud:a,fedorapeople:a,fedoraproject:[0,{cloud:a,os:J,stg:[0,{os:J}]}],freedesktop:a,hatenadiary:a,hepforge:a,"in-dsl":a,"in-vpn":a,js:a,barsy:a,mayfirst:a,routingthecloud:a,bmoattachments:a,"cable-modem":a,collegefan:a,couchpotatofries:a,hopto:a,mlbfan:a,myftp:a,mysecuritycamera:a,nflfan:a,"no-ip":a,"read-books":a,ufcfan:a,zapto:a,dynserv:a,"now-dns":a,"is-local":a,httpbin:a,pubtls:a,jpn:a,"my-firewall":a,myfirewall:a,spdns:a,"small-web":a,dsmynas:a,familyds:a,teckids:ae,tuxfamily:a,diskstation:a,hk:a,us:a,toolforge:a,wmcloud:[2,{beta:a}],wmflabs:a,za:a}],pa:[1,{abo:e,ac:e,com:e,edu:e,gob:e,ing:e,med:e,net:e,nom:e,org:e,sld:e}],pe:[1,{com:e,edu:e,gob:e,mil:e,net:e,nom:e,org:e}],pf:[1,{com:e,edu:e,org:e}],pg:f,ph:[1,{com:e,edu:e,gov:e,i:e,mil:e,net:e,ngo:e,org:e,cloudns:a}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,agro:e,aid:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,media:e,miasta:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,"kazimierz-dolny":e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorskie:e,pomorze:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,skoczow:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:a,gliwice:a,krakow:a,poznan:a,wroc:a,zakopane:a,beep:a,"ecommerce-shop":a,cfolks:a,dfirma:a,dkonto:a,you2:a,shoparena:a,homesklep:a,sdscloud:a,unicloud:a,lodz:a,pabianice:a,plock:a,sieradz:a,skierniewice:a,zgierz:a,krasnik:a,leczna:a,lubartow:a,lublin:a,poniatowa:a,swidnik:a,co:a,torun:a,simplesite:a,myspreadshop:a,gda:a,gdansk:a,gdynia:a,med:a,sopot:a,bielsko:a}],pm:[1,{own:a,name:a}],pn:[1,{co:e,edu:e,gov:e,net:e,org:e}],post:e,pr:[1,{biz:e,com:e,edu:e,gov:e,info:e,isla:e,name:e,net:e,org:e,pro:e,ac:e,est:e,prof:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,"12chars":a,cloudns:a,barsy:a,ngrok:a}],ps:[1,{com:e,edu:e,gov:e,net:e,org:e,plo:e,sec:e}],pt:[1,{com:e,edu:e,gov:e,int:e,net:e,nome:e,org:e,publ:e,"123paginaweb":a}],pw:[1,{gov:e,cloudns:a,x443:a}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e}],re:[1,{asso:e,com:e,netlib:a,can:a}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:a,shop:a,barsy:a}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:b,barsy:a,ox:a}],ru:[1,{ac:a,edu:a,gov:a,int:a,mil:a,eurodir:a,adygeya:a,bashkiria:a,bir:a,cbg:a,com:a,dagestan:a,grozny:a,kalmykia:a,kustanai:a,marine:a,mordovia:a,msk:a,mytis:a,nalchik:a,nov:a,pyatigorsk:a,spb:a,vladikavkaz:a,vladimir:a,na4u:a,mircloud:a,myjino:[2,{hosting:n,landing:n,spectrum:n,vps:n}],cldmail:[0,{hb:a}],mcdir:[2,{vps:a}],mcpre:a,net:a,org:a,pp:a,lk3:a,ras:a}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,edu:e,gov:e,med:e,net:e,org:e,pub:e,sch:e}],sb:t,sc:t,sd:[1,{com:e,edu:e,gov:e,info:e,med:e,net:e,org:e,tv:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:a,iopsys:a,"123minsida":a,itcouldbewor:a,myspreadshop:a}],sg:[1,{com:e,edu:e,gov:e,net:e,org:e,enscaled:a}],sh:[1,{com:e,gov:e,mil:e,net:e,org:e,hashbang:a,botda:a,lovable:a,platform:[0,{ent:a,eu:a,us:a}],teleport:a,now:a}],si:[1,{f5:a,gitapp:a,gitpage:a}],sj:e,sk:e,sl:t,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,perso:e,univ:e}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:a}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:a,kirara:a,noho:a}],su:[1,{abkhazia:a,adygeya:a,aktyubinsk:a,arkhangelsk:a,armenia:a,ashgabad:a,azerbaijan:a,balashov:a,bashkiria:a,bryansk:a,bukhara:a,chimkent:a,dagestan:a,"east-kazakhstan":a,exnet:a,georgia:a,grozny:a,ivanovo:a,jambyl:a,kalmykia:a,kaluga:a,karacol:a,karaganda:a,karelia:a,khakassia:a,krasnodar:a,kurgan:a,kustanai:a,lenug:a,mangyshlak:a,mordovia:a,msk:a,murmansk:a,nalchik:a,navoi:a,"north-kazakhstan":a,nov:a,obninsk:a,penza:a,pokrovsk:a,sochi:a,spb:a,tashkent:a,termez:a,togliatti:a,troitsk:a,tselinograd:a,tula:a,tuva:a,vladikavkaz:a,vladimir:a,vologda:a}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:c,sy:o,sz:[1,{ac:e,co:e,org:e}],tc:e,td:e,tel:e,tf:[1,{sch:a}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:a,shop:a}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:c,tm:[1,{co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:a}],to:[1,{611:a,com:e,edu:e,gov:e,mil:e,net:e,org:e,oya:a,x0:a,quickconnect:S,vpnplus:a}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:e,dr:e,edu:e,gen:e,gov:e,info:e,k12:e,kep:e,mil:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:c}],tt:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],tv:[1,{"better-than":a,dyndns:a,"on-the-web":a,"worse-than":a,from:a,sakura:a}],tw:[1,{club:e,com:[1,{mymailer:a}],ebiz:e,edu:e,game:e,gov:e,idv:e,mil:e,net:e,org:e,url:a,mydns:a}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:a,inf:a,ltd:a,cx:a,biz:a,co:a,pp:a,v:a}],ug:[1,{ac:e,co:e,com:e,edu:e,go:e,gov:e,mil:e,ne:e,or:e,org:e,sc:e,us:e}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:a,vm:a}],layershift:q,barsy:a,barsyonline:a,retrosnub:ee,"nh-serv":a,"no-ip":a,adimo:a,myspreadshop:a}],gov:[1,{api:a,campaign:a,service:a}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:a,lug:a,lugs:a,affinitylottery:a,raffleentry:a,weeklylottery:a}],plc:e,police:e,sch:f,conn:a,copro:a,hosp:a,"independent-commission":a,"independent-inquest":a,"independent-inquiry":a,"independent-panel":a,"independent-review":a,"public-inquiry":a,"royal-commission":a,pymnt:a,barsy:a,nimsite:a,oraclegovcloudapps:n}],us:[1,{dni:e,isa:e,nsn:e,ak:ce,al:ce,ar:ce,as:ce,az:ce,ca:ce,co:ce,ct:ce,dc:ce,de:le,fl:ce,ga:ce,gu:ce,hi:ue,ia:ce,id:ce,il:ce,in:ce,ks:ce,ky:ce,la:ce,ma:[1,{k12:[1,{chtr:e,paroch:e,pvt:e}],cc:e,lib:e}],md:ce,me:ce,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:ce,mo:ce,ms:[1,{k12:e,cc:e}],mt:ce,nc:ce,nd:ue,ne:ce,nh:ce,nj:ce,nm:ce,nv:ce,ny:ce,oh:ce,ok:ce,or:ce,pa:ce,pr:ce,ri:ue,sc:ce,sd:ue,tn:ce,tx:ce,ut:ce,va:ce,vi:ce,vt:ce,wa:ce,wi:ce,wv:le,wy:ce,cloudns:a,"is-by":a,"land-4-sale":a,"stuff-4-sale":a,heliohost:a,enscaled:[0,{phx:a}],mircloud:a,ngo:a,golffan:a,noip:a,pointto:a,freeddns:a,srv:[2,{gh:a,gl:a}],platterp:a,servername:a}],uy:[1,{com:e,edu:e,gub:e,mil:e,net:e,org:e}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,gv:[2,{d:a}],"0e":n,mydns:a}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,emprende:e,firm:e,gob:e,gov:e,ia:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:[1,{edu:e}],vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e}],vu:X,wf:[1,{biz:a,sch:a}],ws:[1,{com:e,edu:e,gov:e,net:e,org:e,advisor:n,cloud66:a,dyndns:a,mypets:a}],yt:[1,{org:a}],"xn--mgbaam7a8h":e,امارات:e,"xn--y9a3aq":e,հայ:e,"xn--54b7fta0cc":e,বাংলা:e,"xn--90ae":e,бг:e,"xn--mgbcpq6gpa1a":e,البحرين:e,"xn--90ais":e,бел:e,"xn--fiqs8s":e,中国:e,"xn--fiqz9s":e,中國:e,"xn--lgbbat1ad8j":e,الجزائر:e,"xn--wgbh1c":e,مصر:e,"xn--e1a4c":e,ею:e,"xn--qxa6a":e,ευ:e,"xn--mgbah1a3hjkrd":e,موريتانيا:e,"xn--node":e,გე:e,"xn--qxam":e,ελ:e,"xn--j6w193g":[1,{"xn--gmqw5a":e,"xn--55qx5d":e,"xn--mxtq1m":e,"xn--wcvs22d":e,"xn--uc0atv":e,"xn--od0alg":e}],香港:[1,{個人:e,公司:e,政府:e,教育:e,組織:e,網絡:e}],"xn--2scrj9c":e,ಭಾರತ:e,"xn--3hcrj9c":e,ଭାରତ:e,"xn--45br5cyl":e,ভাৰত:e,"xn--h2breg3eve":e,भारतम्:e,"xn--h2brj9c8c":e,भारोत:e,"xn--mgbgu82a":e,ڀارت:e,"xn--rvc1e0am3e":e,ഭാരതം:e,"xn--h2brj9c":e,भारत:e,"xn--mgbbh1a":e,بارت:e,"xn--mgbbh1a71e":e,بھارت:e,"xn--fpcrj9c3d":e,భారత్:e,"xn--gecrj9c":e,ભારત:e,"xn--s9brj9c":e,ਭਾਰਤ:e,"xn--45brj9c":e,ভারত:e,"xn--xkc2dl3a5ee0h":e,இந்தியா:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,"xn--mgbtx2b":e,عراق:e,"xn--mgbayh7gpa":e,الاردن:e,"xn--3e0b707e":e,한국:e,"xn--80ao21a":e,қаз:e,"xn--q7ce6a":e,ລາວ:e,"xn--fzc2c9e2c":e,ලංකා:e,"xn--xkc2al3hye2a":e,இலங்கை:e,"xn--mgbc0a9azcg":e,المغرب:e,"xn--d1alf":e,мкд:e,"xn--l1acc":e,мон:e,"xn--mix891f":e,澳門:e,"xn--mix082f":e,澳门:e,"xn--mgbx4cd0ab":e,مليسيا:e,"xn--mgb9awbf":e,عمان:e,"xn--mgbai9azgqp6j":e,پاکستان:e,"xn--mgbai9a5eva00b":e,پاكستان:e,"xn--ygbi2ammx":e,فلسطين:e,"xn--90a3ac":[1,{"xn--80au":e,"xn--90azh":e,"xn--d1at":e,"xn--c1avg":e,"xn--o1ac":e,"xn--o1ach":e}],срб:[1,{ак:e,обр:e,од:e,орг:e,пр:e,упр:e}],"xn--p1ai":e,рф:e,"xn--wgbl6a":e,قطر:e,"xn--mgberp4a5d4ar":e,السعودية:e,"xn--mgberp4a5d4a87g":e,السعودیة:e,"xn--mgbqly7c0a67fbc":e,السعودیۃ:e,"xn--mgbqly7cvafr":e,السعوديه:e,"xn--mgbpl2fh":e,سودان:e,"xn--yfro4i67o":e,新加坡:e,"xn--clchc0ea0b2g2a9gcd":e,சிங்கப்பூர்:e,"xn--ogbpf8fl":e,سورية:e,"xn--mgbtf8fl":e,سوريا:e,"xn--o3cw4h":[1,{"xn--o3cyx2a":e,"xn--12co0c3b4eva":e,"xn--m3ch0j3a":e,"xn--h3cuzk1di":e,"xn--12c1fe0br":e,"xn--12cfi8ixb8l":e}],ไทย:[1,{ทหาร:e,ธุรกิจ:e,เน็ต:e,รัฐบาล:e,ศึกษา:e,องค์กร:e}],"xn--pgbs0dh":e,تونس:e,"xn--kpry57d":e,台灣:e,"xn--kprw13d":e,台湾:e,"xn--nnx388a":e,臺灣:e,"xn--j1amh":e,укр:e,"xn--mgb2ddes":e,اليمن:e,xxx:e,ye:o,za:[0,{ac:e,agric:e,alt:e,co:e,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:a}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:a,aiven:a,beget:n,brave:r,clerk:a,clerkstage:a,cloudflare:a,wnext:a,csb:[2,{preview:a}],convex:a,deta:a,ondigitalocean:a,easypanel:a,encr:[2,{frontend:a}],evervault:i,expo:[2,{staging:a}],edgecompute:a,"on-fleek":a,flutterflow:a,e2b:a,framer:a,github:a,hosted:n,run:[0,{"*":a,mtls:n}],web:a,hackclub:a,hasura:a,botdash:a,leapcell:a,loginline:a,lovable:a,luyani:a,medusajs:a,messerli:a,mocha:a,netlify:a,ngrok:a,"ngrok-free":a,developer:n,noop:a,northflank:n,upsun:n,railway:[0,{up:a}],replit:s,nyat:a,snowflake:[0,{"*":a,privatelink:n}],streamlit:a,storipress:a,telebit:a,typedream:a,vercel:a,wal:a,wasmer:a,bookonline:a,windsurf:a,zeabur:a,zerops:n}],apple:e,aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{on:[0,{"af-south-1":l,"ap-east-1":l,"ap-northeast-1":l,"ap-northeast-2":l,"ap-northeast-3":l,"ap-south-1":l,"ap-south-2":u,"ap-southeast-1":l,"ap-southeast-2":l,"ap-southeast-3":l,"ap-southeast-4":u,"ap-southeast-5":u,"ca-central-1":l,"ca-west-1":u,"eu-central-1":l,"eu-central-2":u,"eu-north-1":l,"eu-south-1":l,"eu-south-2":u,"eu-west-1":l,"eu-west-2":l,"eu-west-3":l,"il-central-1":u,"me-central-1":u,"me-south-1":l,"sa-east-1":l,"us-east-1":l,"us-east-2":l,"us-west-1":l,"us-west-2":l,"us-gov-east-1":d,"us-gov-west-1":d}],sagemaker:[0,{"ap-northeast-1":m,"ap-northeast-2":m,"ap-south-1":m,"ap-southeast-1":m,"ap-southeast-2":m,"ca-central-1":g,"eu-central-1":m,"eu-west-1":m,"eu-west-2":m,"us-east-1":g,"us-east-2":g,"us-west-2":g,"af-south-1":h,"ap-east-1":h,"ap-northeast-3":h,"ap-south-2":p,"ap-southeast-3":h,"ap-southeast-4":p,"ca-west-1":[0,{notebook:a,"notebook-fips":a}],"eu-central-2":h,"eu-north-1":h,"eu-south-1":h,"eu-south-2":h,"eu-west-3":h,"il-central-1":h,"me-central-1":h,"me-south-1":h,"sa-east-1":h,"us-gov-east-1":y,"us-gov-west-1":y,"us-west-1":[0,{notebook:a,"notebook-fips":a,studio:a}],experiments:n}],repost:[0,{private:n}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:a,nz:a}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{v0:a,windsurf:a}],builders:[1,{cloudsite:a}],business:k,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:a}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:a}]}],case:e,cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{convex:a,elementor:a,emergent:a,encoway:[0,{eu:a}],statics:n,ravendb:a,axarnet:[0,{"es-1":a}],diadem:a,jelastic:[0,{vip:a}],jele:a,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:a}]}],it1:a}],keliweb:[2,{cs:a}],oxa:[2,{tn:a,uk:a}],primetel:[2,{uk:a}],reclaim:[0,{ca:a,uk:a,us:a}],trendhosting:[0,{ch:a,de:a}],jote:a,jotelulu:a,kuleuven:a,laravel:a,linkyard:a,magentosite:n,matlab:a,observablehq:a,perspecta:a,vapor:a,"on-rancher":n,scw:[0,{baremetal:[0,{"fr-par-1":a,"fr-par-2":a,"nl-ams-1":a}],"fr-par":[0,{cockpit:a,ddl:a,dtwh:a,fnc:[2,{functions:a}],ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a,whm:a}],instances:[0,{priv:a,pub:a}],k8s:a,"nl-ams":[0,{cockpit:a,ddl:a,dtwh:a,ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a,whm:a}],"pl-waw":[0,{cockpit:a,ddl:a,dtwh:a,ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a}],scalebook:a,smartlabeling:a}],servebolt:a,onstackit:[0,{runs:a}],trafficplex:a,"unison-services":a,urown:a,voorloper:a,zap:a}],club:[1,{cloudns:a,jele:a,barsy:a}],clubmed:e,coach:e,codes:[1,{owo:n}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:a,ravendb:a,myforum:a}],company:e,compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:a,de:a}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:a,bss:a}],dev:[1,{"12chars":a,myaddr:a,panel:a,bearblog:a,lcl:n,lclstage:n,stg:n,stgstage:n,pages:a,r2:a,workers:a,deno:a,"deno-staging":a,deta:a,lp:[2,{api:a,objects:a}],evervault:i,fly:a,githubpreview:a,gateway:n,botdash:a,inbrowser:n,"is-a-good":a,iserv:a,leapcell:a,runcontainers:a,localcert:[0,{user:n}],loginline:a,barsy:a,mediatech:a,"mocha-sandbox":a,modx:a,ngrok:a,"ngrok-free":a,"is-a-fullstack":a,"is-cool":a,"is-not-a":a,localplayer:a,xmit:a,"platter-app":a,replit:[2,{archer:a,bones:a,canary:a,global:a,hacker:a,id:a,janeway:a,kim:a,kira:a,kirk:a,odo:a,paris:a,picard:a,pike:a,prerelease:a,reed:a,riker:a,sisko:a,spock:a,staging:a,sulu:a,tarpit:a,teams:a,tucker:a,wesley:a,worf:a}],crm:[0,{d:n,w:n,wa:n,wb:n,wc:n,wd:n,we:n,wf:n}],erp:F,vercel:a,webhare:n,hrsn:a,"is-a":a}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:a}]}],direct:[1,{libp2p:a}],directory:e,discount:e,discover:e,dish:e,diy:e,dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:k,email:[1,{crisp:[0,{on:a}],tawk:V,tawkto:V}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:n}],eurovision:e,eus:[1,{party:$}],events:[1,{koobin:a,co:a}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:a}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:k,fire:e,firestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:e,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:a,sheezy:a}],gap:e,garden:e,gay:[1,{pages:a}],gbiz:e,gdn:[1,{cnpy:a}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:[1,{appwrite:a}],globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goo:e,goodyear:e,goog:[1,{cloud:a,translate:a,usercontent:n}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:a}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:a}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:a,freesite:a,easypanel:a,emergent:a,fastvps:a,myfast:a,tempurl:a,wpmudev:a,iserv:a,jele:a,mircloud:a,bolt:a,wp2:a,half:a}],hosting:[1,{opencraft:a}],hot:e,hotel:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:a,edu:a}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:a,cyon:a,joinmc:a,dweb:n,inbrowser:n,nftstorage:oe,mypep:a,storacha:oe,w3s:oe}],live:[1,{aem:a,hlx:a,ewp:n}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:a}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:e,mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:ne,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:a,barsyonline:a}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:e,monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{aem:a,alces:n,co:a,arvo:a,azimuth:a,tlon:a}],neustar:e,new:e,news:[1,{noticeable:a}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:n,service:a,website:a}],ong:[1,{obl:a}],onl:e,online:[1,{eero:a,"eero-stage":a,websitebuilder:a,leapcell:a,barsy:a}],ooo:e,open:e,oracle:e,orange:[1,{tech:a}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:a}],page:[1,{aem:a,hlx:a,translated:a,codeberg:a,heyflow:a,prvcy:a,rocky:a,statichost:a,pdns:a,plesk:a}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:ne,physio:e,pics:e,pictet:e,pictures:[1,{1337:a}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:a}],place:k,play:e,playstation:e,plumbing:e,plus:[1,{playit:[2,{at:n,with:a}]}],pnc:e,pohl:e,poker:e,politie:e,porn:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:n,kin:n,barsy:a}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:[1,{aem:a}],rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:a}],rocks:[1,{myddns:a,stackit:a,"lima-city":a,webspace:a}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{appwrite:n,canva:a,development:a,ravendb:a,liara:[2,{iran:a}],lovable:a,needle:a,build:n,code:n,database:n,migration:n,onporter:a,repl:a,stackit:a,val:F,vercel:a,wix:a}],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{gov:[2,{service:a}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:a}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:a,hoplix:a,barsy:a,barsyonline:a,shopware:a}],shopping:e,shouji:e,show:e,silk:e,sina:e,singles:e,site:[1,{square:a,canva:x,cloudera:n,convex:a,cyon:a,caffeine:a,fastvps:a,figma:a,"figma-gov":a,preview:a,heyflow:a,jele:a,jouwweb:a,loginline:a,barsy:a,co:a,notion:a,omniwe:a,opensocial:a,madethis:a,support:a,platformsh:n,tst:n,byen:a,srht:a,novecore:a,cpanel:a,wpsquared:a,sourcecraft:a}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:e,song:e,sony:e,soy:e,spa:e,space:[1,{myfast:a,heiyu:a,hf:[2,{static:a}],"app-ionos":a,project:a,uber:a,xs4all:a}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:a,sellfy:a,shopware:a,storebase:a}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:a}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:a}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:a,jelastic:a}],tech:[1,{cleverapps:a}],technology:k,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:a}],tokyo:e,tools:[1,{addr:B,myaddr:a}],top:[1,{ntdll:a,wadl:n}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:[1,{hidns:a}],virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:e,volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:ne,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:ne,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,wolterskluwer:e,woodside:e,work:e,works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,कॉम:e,"xn--1ck2e1b":e,セール:e,"xn--1qqw23a":e,佛山:e,"xn--30rr7y":e,慈善:e,"xn--3bst00m":e,集团:e,"xn--3ds443g":e,在线:e,"xn--3pxu8k":e,点看:e,"xn--42c2d9a":e,คอม:e,"xn--45q11c":e,八卦:e,"xn--4gbrim":e,موقع:e,"xn--55qw42g":e,公益:e,"xn--55qx5d":e,公司:e,"xn--5su34j936bgsg":e,香格里拉:e,"xn--5tzm5g":e,网站:e,"xn--6frz82g":e,移动:e,"xn--6qq986b3xl":e,我爱你:e,"xn--80adxhks":e,москва:e,"xn--80aqecdr1a":e,католик:e,"xn--80asehdb":e,онлайн:e,"xn--80aswg":e,сайт:e,"xn--8y0a063a":e,联通:e,"xn--9dbq2a":e,קום:e,"xn--9et52u":e,时尚:e,"xn--9krt00a":e,微博:e,"xn--b4w605ferd":e,淡马锡:e,"xn--bck1b9a5dre4c":e,ファッション:e,"xn--c1avg":e,орг:e,"xn--c2br7g":e,नेट:e,"xn--cck2b3b":e,ストア:e,"xn--cckwcxetd":e,アマゾン:e,"xn--cg4bki":e,삼성:e,"xn--czr694b":e,商标:e,"xn--czrs0t":e,商店:e,"xn--czru2d":e,商城:e,"xn--d1acj3b":e,дети:e,"xn--eckvdtc9d":e,ポイント:e,"xn--efvy88h":e,新闻:e,"xn--fct429k":e,家電:e,"xn--fhbei":e,كوم:e,"xn--fiq228c5hs":e,中文网:e,"xn--fiq64b":e,中信:e,"xn--fjq720a":e,娱乐:e,"xn--flw351e":e,谷歌:e,"xn--fzys8d69uvgm":e,電訊盈科:e,"xn--g2xx48c":e,购物:e,"xn--gckr3f0f":e,クラウド:e,"xn--gk3at1e":e,通販:e,"xn--hxt814e":e,网店:e,"xn--i1b6b1a6a2e":e,संगठन:e,"xn--imr513n":e,餐厅:e,"xn--io0a7i":e,网络:e,"xn--j1aef":e,ком:e,"xn--jlq480n2rg":e,亚马逊:e,"xn--jvr189m":e,食品:e,"xn--kcrx77d1x4a":e,飞利浦:e,"xn--kput3i":e,手机:e,"xn--mgba3a3ejt":e,ارامكو:e,"xn--mgba7c0bbn0a":e,العليان:e,"xn--mgbab2bd":e,بازار:e,"xn--mgbca7dzdo":e,ابوظبي:e,"xn--mgbi4ecexp":e,كاثوليك:e,"xn--mgbt3dhd":e,همراه:e,"xn--mk1bu44c":e,닷컴:e,"xn--mxtq1m":e,政府:e,"xn--ngbc5azd":e,شبكة:e,"xn--ngbe9e0a":e,بيتك:e,"xn--ngbrx":e,عرب:e,"xn--nqv7f":e,机构:e,"xn--nqv7fs00ema":e,组织机构:e,"xn--nyqy26a":e,健康:e,"xn--otu796d":e,招聘:e,"xn--p1acf":[1,{"xn--90amc":a,"xn--j1aef":a,"xn--j1ael8b":a,"xn--h1ahn":a,"xn--j1adp":a,"xn--c1avg":a,"xn--80aaa0cvac":a,"xn--h1aliz":a,"xn--90a1af":a,"xn--41a":a}],рус:[1,{биз:a,ком:a,крым:a,мир:a,мск:a,орг:a,самара:a,сочи:a,спб:a,я:a}],"xn--pssy2u":e,大拿:e,"xn--q9jyb4c":e,みんな:e,"xn--qcka1pmc":e,グーグル:e,"xn--rhqv96g":e,世界:e,"xn--rovu88b":e,書籍:e,"xn--ses554g":e,网址:e,"xn--t60b56a":e,닷넷:e,"xn--tckwe":e,コム:e,"xn--tiq49xqyj":e,天主教:e,"xn--unup4y":e,游戏:e,"xn--vermgensberater-ctb":e,vermögensberater:e,"xn--vermgensberatung-pwb":e,vermögensberatung:e,"xn--vhquv":e,企业:e,"xn--vuq861b":e,信息:e,"xn--w4r85el8fhu5dnra":e,嘉里大酒店:e,"xn--w4rs40l":e,嘉里:e,"xn--xhq521b":e,广东:e,"xn--zfr164b":e,政务:e,xyz:[1,{caffeine:a,botdash:a,telebit:n}],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{triton:n,stackit:a,lima:a}],zuerich:e}]}();function u(e,a,t,o){let n=null,r=a;for(;void 0!==r&&(0!==(r[0]&o)&&(n={index:t+1,isIcann:1===r[0],isPrivate:2===r[0]}),-1!==t);){const a=r[1];r=Object.prototype.hasOwnProperty.call(a,e[t])?a[e[t]]:a["*"],t-=1}return n}function d(e,a,t){var o;if(function(e,a,t){if(!a.allowPrivateDomains&&e.length>3){const a=e.length-1,o=e.charCodeAt(a),n=e.charCodeAt(a-1),r=e.charCodeAt(a-2),i=e.charCodeAt(a-3);if(109===o&&111===n&&99===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="com",!0;if(103===o&&114===n&&111===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="org",!0;if(117===o&&100===n&&101===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="edu",!0;if(118===o&&111===n&&103===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="gov",!0;if(116===o&&101===n&&110===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="net",!0;if(101===o&&100===n&&46===r)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="de",!0}return!1}(e,a,t))return;const n=e.split("."),r=(a.allowPrivateDomains?2:0)|(a.allowIcannDomains?1:0),i=u(n,c,n.length-1,r);if(null!==i)return t.isIcann=i.isIcann,t.isPrivate=i.isPrivate,void(t.publicSuffix=n.slice(i.index+1).join("."));const s=u(n,l,n.length-1,r);if(null!==s)return t.isIcann=s.isIcann,t.isPrivate=s.isPrivate,void(t.publicSuffix=n.slice(s.index).join("."));t.isIcann=!1,t.isPrivate=!1,t.publicSuffix=null!==(o=n[n.length-1])&&void 0!==o?o:null}const h={domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null};function m(e,a={}){return s(e,5,d,a,{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null})}function p(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,0,d,a,h).hostname}function g(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,2,d,a,h).publicSuffix}function y(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,3,d,a,h).domain}function b(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,4,d,a,h).subdomain}function f(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,5,d,a,h).domainWithoutSuffix}},428:e=>{e.exports=window.jQuery},538:(e,a,t)=>{t.d(a,{ED:()=>s,Po:()=>r,ld:()=>i,rB:()=>c});var o=t(544),n=t(7723);const r=[{label:(0,n.__)("System (default)",o.TEXT_DOMAIN),value:"system"},{label:(0,n.__)("Arabic",o.TEXT_DOMAIN),value:"ar"},{label:(0,n.__)("Chinese",o.TEXT_DOMAIN),value:"zh"},{label:(0,n.__)("Dutch",o.TEXT_DOMAIN),value:"nl"},{label:(0,n.__)("English",o.TEXT_DOMAIN),value:"en"},{label:(0,n.__)("French",o.TEXT_DOMAIN),value:"fr"},{label:(0,n.__)("German",o.TEXT_DOMAIN),value:"de"},{label:(0,n.__)("Hebrew",o.TEXT_DOMAIN),value:"he"},{label:(0,n.__)("Hindi",o.TEXT_DOMAIN),value:"hi"},{label:(0,n.__)("Hungarian",o.TEXT_DOMAIN),value:"hu"},{label:(0,n.__)("Indonesian",o.TEXT_DOMAIN),value:"id"},{label:(0,n.__)("Italian",o.TEXT_DOMAIN),value:"it"},{label:(0,n.__)("Japanese",o.TEXT_DOMAIN),value:"ja"},{label:(0,n.__)("Korean",o.TEXT_DOMAIN),value:"ko"},{label:(0,n.__)("Norwegian",o.TEXT_DOMAIN),value:"nb"},{label:(0,n.__)("Polish",o.TEXT_DOMAIN),value:"pl"},{label:(0,n.__)("Portuguese",o.TEXT_DOMAIN),value:"pt"},{label:(0,n.__)("Russian",o.TEXT_DOMAIN),value:"ru"},{label:(0,n.__)("Spanish",o.TEXT_DOMAIN),value:"es"},{label:(0,n.__)("Swedish",o.TEXT_DOMAIN),value:"sv"},{label:(0,n.__)("Thai",o.TEXT_DOMAIN),value:"th"},{label:(0,n.__)("Turkish",o.TEXT_DOMAIN),value:"tr"},{label:(0,n.__)("Ukrainian",o.TEXT_DOMAIN),value:"ua"}],i=[{label:(0,n.__)("Light",o.TEXT_DOMAIN),value:"light"},{label:(0,n.__)("Dark",o.TEXT_DOMAIN),value:"dark"},{label:(0,n.__)("System",o.TEXT_DOMAIN),value:"system"}],s=[{label:(0,n.__)("Auto (by language)",o.TEXT_DOMAIN),value:"auto"},{label:(0,n.__)("Left to Right",o.TEXT_DOMAIN),value:"ltr"},{label:(0,n.__)("Right to Left",o.TEXT_DOMAIN),value:"rtl"}],c=[{label:(0,n.__)("Preferred Username",o.TEXT_DOMAIN),value:"preferred_username"},{label:(0,n.__)("Email",o.TEXT_DOMAIN),value:"email"},{label:(0,n.__)("Phone Number",o.TEXT_DOMAIN),value:"phone_number"},{label:(0,n.__)("Name",o.TEXT_DOMAIN),value:"name"},{label:(0,n.__)("Given Name",o.TEXT_DOMAIN),value:"given_name"},{label:(0,n.__)("Family Name",o.TEXT_DOMAIN),value:"family_name"},{label:(0,n.__)("Middle Name",o.TEXT_DOMAIN),value:"middle_name"},{label:(0,n.__)("Nickname",o.TEXT_DOMAIN),value:"nickname"},{label:(0,n.__)("Gender",o.TEXT_DOMAIN),value:"gender"},{label:(0,n.__)("Birthdate",o.TEXT_DOMAIN),value:"birthdate"},{label:(0,n.__)("Address",o.TEXT_DOMAIN),value:"address"},{label:(0,n.__)("Picture",o.TEXT_DOMAIN),value:"picture"},{label:(0,n.__)("Website",o.TEXT_DOMAIN),value:"website"},{label:(0,n.__)("Zoneinfo",o.TEXT_DOMAIN),value:"zoneinfo"},{label:(0,n.__)("Locale",o.TEXT_DOMAIN),value:"locale"},{label:(0,n.__)("Custom",o.TEXT_DOMAIN),value:"custom"}]},544:(e,a,t)=>{var o,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,c={};((e,a)=>{for(var t in a)n(e,t,{get:a[t],enumerable:!0})})(c,{TEXT_DOMAIN:()=>v,clearMfaPreferences:()=> H,configureAmplify:()=>P,getAmplifyConfig:()=>I,getGateyPlugin:()=>u,getGroups:()=>J,getMfaPreferences:()=>W,getPreferredRole:()=>X,getRoles:()=>L,getScopes:()=>q,getStore:()=>h,getStoreDispatch:()=>T,getStoreSelect:()=>_,getUserAttributes:()=>K,initializeGatey:()=>Y,isAuthenticated:()=>U,isInGroup:()=>R,loadAuthSession:()=>z,loadMFAPreferences:()=>D,loadUserAttributes:()=>M,login:()=>B,logout:()=>F,observeStore:()=>C,store:()=>Q,waitForGateyReady:()=>d}),e.exports=(o=c,((e,a,t,o)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of i(a))!s.call(e,t)&&undefined!==t&&n(e,t,{get:()=>a[t],enumerable:!(o=r(a,t))||o.enumerable});return e})(n({},"__esModule",{value:!0}),o));var l=t(3752);function u(){return globalThis.WpSuite?.plugins?.gatey}async function d(e=8e3){let a=u();if("available"!==a?.status){if("error"===a?.status)throw new Error("Gatey failed");await new Promise((a,t)=>{let o=()=>r(a),n=()=>r(()=>t(new Error("Gatey failed"))),r=e=>{window.removeEventListener("wpsuite:gatey:ready",o),window.removeEventListener("wpsuite:gatey:error",n),i&&clearTimeout(i),e()};window.addEventListener("wpsuite:gatey:ready",o,{once:!0}),window.addEventListener("wpsuite:gatey:error",n,{once:!0});let i=e?window.setTimeout(()=>r(()=>t(new Error("Gatey timeout"))),e):0})}}async function h(e=1e4){await d(e);let a=u()?.cognito?.store;if(!a)throw new Error("Gatey store is not available");return a}var m,p=t(3752),g=t(3752),y=t(3752),b=t(3752),f=t(7143),k=t(1953),w="gatey_account",v="gatey";m=typeof WpSuite<"u"?WpSuite.siteSettings:{};var x=e=>{e?.username?window.localStorage.setItem(w,JSON.stringify(e)):window.localStorage.removeItem(w)},A=async e=>{let a=JSON.parse(window.localStorage.getItem(w)??"{}"),t=!1;if(a?.username)try{let e=await(0,y.fetchAuthSession)();e?.tokens?.accessToken?.payload?.exp&&e.tokens.accessToken.payload.exp>(new Date).getTime()/1e3&&(t=!0)}catch(e){console.error(e)}else try{a=await O(!1),a?.username&&(x(a),a.loaded=!0,t=!0)}catch(e){console.error(e)}return!t&&a?.username&&(x({}),h().then(async a=>{await F(e?.signOutHook),T(a).clearAccount()})),a},E={setAmplifyConfig:e=>({type:"SET_AMPLIFY_CONFIG",amplifyConfig:e}),setAccount:e=>({type:"SET_ACCOUNT",account:e}),clearAccount:()=>({type:"CLEAR_ACCOUNT"}),setSignedIn:e=>({type:"SET_SIGNED_IN",signedIn:e}),setNextUrl:e=>({type:"SET_NEXT_URL",nextUrl:e}),setLanguage:e=>(e&&"system"!==e?b.I18n.setLanguage(e):b.I18n.setLanguage(""),{type:"SET_LANGUAGE",language:e}),setDirection:e=>({type:"SET_DIRECTION",direction:e}),reloadAuthSession:()=>({type:"RELOAD_AUTH_SESSION"}),reloadUserAttributes:()=>({type:"RELOAD_USER_ATTRIBUTES"}),reloadMFAPreferences:()=>({type:"RELOAD_MFA_PREFERENCE"})},S={getAmplifyConfig:e=>e.amplifyConfig,getAccount:e=>e.account,getNextUrl:e=>e.nextUrl,isSignedIn:e=>e.signedIn,getConfig:e=>e.config,getCustomTranslations:e=>e.customTranslations,getLanguage:e=>e.language,getDirection:e=>e.direction,getState:e=>e},j={},T=e=>(0,f.dispatch)(e),_=e=>(0,f.select)(e),C=(e,a,t)=>{let o;function n(){let n=_(e).getState(),r=a(n);if(r!==o){let e=o;o=r,t(o,e)}}let r=(0,f.subscribe)(n,e);return n(),r},I=()=>p.Amplify.getConfig(),P=(e,a)=>{p.Amplify.configure(e,a)},z=e=>(0,g.fetchAuthSession)(e),M=()=>(0,g.fetchUserAttributes)(),D=()=>(0,g.fetchMFAPreference)(),O=async(e=!0)=>{let a=e?await A():{};if(a?.username)return a;try{if((await(0,g.fetchAuthSession)()).tokens)return{username:(await(0,g.getCurrentUser)()).username,userAttributes:await M(),mfaPreferences:await D()}}catch(e){console.error(e);try{await(0,g.signOut)()}catch{}}return{}},H=async()=>{await(0,g.updateMFAPreference)({totp:"DISABLED"})},N=()=>A().then(e=>e?.username),K=()=>A().then(e=>e?.userAttributes),W=()=>A().then(e=>e?.mfaPreferences),U=()=>A().then(e=>!!e?.username),R=e=>J().then(a=>a?.includes(e)||!1),J=()=>z().then(e=>e.tokens?.idToken?.payload["cognito:groups"]instanceof Array?e.tokens.idToken.payload["cognito:groups"].map(e=>e):[]).catch(e=>{console.error(e)}),L=async()=>z().then(e=>e.tokens?.idToken?.payload["cognito:roles"]instanceof Array?e.tokens.idToken.payload["cognito:roles"].map(e=>e).map(e=>e.substring(e.indexOf("/")+1)):[]).catch(e=>{console.error(e)}),X=async()=>z().then(e=>{if(!e.tokens?.idToken?.payload["cognito:preferred_role"])return;let a=e.tokens.idToken.payload["cognito:preferred_role"];return a.substring(a.indexOf("/")+1)}).catch(e=>{console.error(e)}),q=()=>z().then(e=>e.tokens?.accessToken.payload.scope?.split(" ")??[]).catch(e=>{console.error(e)}),B=async e=>{let a,t=u();if(!t)throw new Error("Gatey plugin is not available");return t.settings.integrateWpLogin&&t.restUrl?.startsWith("http")&&(a=await t.cognito.post({apiName:"admin",path:"/login"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await t.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e)),t.settings.redirectSignIn??a},F=async e=>{let a,t=u();if(!t)throw new Error("Gatey plugin is not available");t.settings.integrateWpLogin&&(a=await t.cognito.get({apiName:"admin",path:"/logout"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await t.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e));try{await(0,g.signOut)()}catch{}return t.settings.redirectSignOut??a},G=t(1953),V=()=>{h().then(e=>{C(e,e=>e.nextUrl,async e=>{e&&window.location.assign(e)}),T(e).clearAccount()}).catch(e=>{console.error("Gatey signOut error:",e)})},$=e=>{h().then(a=>{T(a).setLanguage(e??"en")}).catch(e=>{console.error("Gatey setLanguage error:",e)})},Z=e=>{h().then(a=>{T(a).setDirection(e??"auto")}).catch(e=>{console.error("Gatey setDirection error:",e)})},Q=async()=>h(),Y=()=>{let e=globalThis.WpSuite,a=u();if(!a)throw new Error("Gatey plugin is not available");(0,G.attachDefaultPluginRuntime)(a),a.status=a.status??"initializing";let t=(async()=>{let e=await(async()=>{let e=await(0,k.getConfig)("gatey");(async e=>{let a=window.location.hostname.toLowerCase().split(":")[0],t=u();if(!t)throw new Error("Gatey plugin is not available");let o=t.settings?.secondaryUserPoolDomains&&a.toLowerCase().match(t.settings.secondaryUserPoolDomains.toLowerCase())&&t.settings?.userPoolConfigurations.secondary?.Auth?.Cognito?.userPoolId?t.settings?.userPoolConfigurations.secondary:t.settings?.userPoolConfigurations.default,n={Auth:{Cognito:{userPoolClientId:"",userPoolId:"",identityPoolId:"",...o.Auth?.Cognito,loginWith:{oauth:{domain:"",scopes:[],responseType:"code",...o.Auth?.Cognito?.loginWith?.oauth,redirectSignIn:[window.location.origin+t.settings?.signInPage],redirectSignOut:[window.location.origin+t.settings?.signInPage]}}}},API:{...o.API,REST:{...o.API?.REST,admin:{endpoint:t.restUrl}}}},r=e?.apiConfigurations?.secondary?.domains&&a.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default;r?.apis?.forEach(e=>{let a=n.API?.REST;a&&(a[e.name]={endpoint:e.endpoint,region:e.region})}),P(n,{API:{REST:{headers:async e=>{let a=r?.apis?.find(a=>a.name===e.apiName);if("admin"===e.apiName||"ID_TOKEN"===a?.authorization||"ACCESS_TOKEN"===a?.authorization)try{let t=await z();if(t?.tokens?.idToken&&t?.tokens?.accessToken)return{Authorization:`Bearer ${"admin"===e.apiName||"ID_TOKEN"===a?.authorization?t.tokens.idToken.toString():t.tokens.accessToken.toString()}`}}catch(e){console.error(e),h().then(e=>{T(e).clearAccount()})}return{}}}}})})(e);let a=window.location.hostname.toLowerCase().split(":")[0],t=e?.apiConfigurations?.secondary?.domains&&a.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default,o=await A(t),n=await(async()=>{let e=u();if(!e)throw new Error("Gatey plugin is not available");let a=null;return e.settings.customTranslationsUrl&&(a=await fetch(e.settings.customTranslationsUrl+(e.settings.customTranslationsUrl.includes("?")?"&":"?")+"t="+m.lastUpdate).then(e=>e.ok?e.text():null).then(e=>e?JSON.parse(e):null).catch(()=>null)),a??null})();return{config:e,amplifyConfig:{},account:o,signedIn:!!o?.username&&!o.loaded,nextUrl:void 0,language:void 0,direction:void 0,customTranslations:n,reloadAuthSession:0,reloadUserAttributes:0,reloadMFAPreferences:0}})(),a=(0,f.createReduxStore)("wpsuite/gatey",{reducer(a=e,t){switch(t.type){case"SET_AMPLIFY_CONFIG":return{...a,amplifyConfig:t.amplifyConfig};case"SET_ACCOUNT":return x(t.account),{...a,account:t.account};case"CLEAR_ACCOUNT":return x({}),{...a,account:{}};case"RELOAD_AUTH_SESSION":{let e=Math.random();return{...a,reloadAuthSession:a.reloadAuthSession!==e?e:e+1}}case"RELOAD_USER_ATTRIBUTES":{let e=Math.random();return{...a,reloadUserAttributes:a.reloadUserAttributes!==e?e:e+1}}case"RELOAD_MFA_PREFERENCE":{let e=Math.random();return{...a,reloadMFAPreferences:a.reloadMFAPreferences!==e?e:e+1}}case"SET_SIGNED_IN":return{...a,signedIn:t.signedIn};case"SET_NEXT_URL":return{...a,nextUrl:t.nextUrl};case"SET_LANGUAGE":return{...a,language:t.language};case"SET_DIRECTION":return{...a,direction:t.direction}}return a},actions:E,selectors:S,resolvers:j});return(0,f.register)(a),a})();return a.cognito={store:t,observeStore:C,setLanguage:$,setDirection:Z,getAmplifyConfig:I,isAuthenticated:U,isInGroup:R,getUsername:N,getUserAttributes:K,getMfaPreferences:W,clearMfaPreferences:H,getGroups:J,getRoles:L,getPreferredRole:X,getScopes:q,signOut:V,get:l.get,post:l.post,put:l.put,del:l.del,head:l.head,patch:l.patch},t.then(()=>{a.status="available",e?.events?.emit("wpsuite:gatey:ready",{key:a.key,version:a.version})}).catch(t=>{a.status="error",e?.events?.emit("wpsuite:gatey:error",{key:a.key,error:String(t)})}),a}},567:(e,a,t)=>{t.a(e,async(e,a)=>{try{var o=t(1609),n=t(5338),r=(t(428),t(544)),i=t(237),s=t(790),c=e([i]),l=c.then?(await c)():c;i=l[0];const u=new Map;try{const e=async e=>{const a=document.querySelector("#"+e);if(a){jQuery(a).data("rendered","true");const t=a.getAttribute("data-class"),c="true"===a.getAttribute("data-is-preview"),l=a.getAttribute("data-screen"),d=a.getAttribute("data-variation"),h=a.getAttribute("data-color-mode"),m=a.getAttribute("data-language"),p=a.getAttribute("data-direction"),g="true"===a.getAttribute("data-show-open-button"),y=a.getAttribute("data-open-button-title")||"",b=a.getAttribute("data-signing-in-message")||"",f=a.getAttribute("data-signing-out-message")||"",k=a.getAttribute("data-redirecting-message")||"",w=a.getAttribute("data-totp-issuer")||"",v=(0,n.H)(a),x=await(0,r.getStore)();u.has(e)?a.innerHTML=u.get(e)||"":u.set(e,a.innerHTML||""),v.render((0,s.jsx)(o.StrictMode,{children:(0,s.jsx)(i.B,{id:e,className:t,store:x,screen:l,variation:d,colorMode:h,language:m,direction:p,showOpenButton:g,openButtonTitle:y,signingInMessage:b,signingOutMessage:f,redirectingMessage:k,totpIssuer:w,isPreview:c,children:a.children?.length&&a.children[0].innerHTML})}))}};jQuery(document).on("gatey-authenticator-block",(a,t)=>e(t)),jQuery(window).on("elementor/frontend/init",function(){jQuery(document).on("gatey-authenticator-block",(a,t)=>e(t))})}catch(e){console.error(e)}a()}catch(e){a(e)}})},746:(e,a,t)=>{t.a(e,async(e,a)=>{try{var o=t(544),n=t(4997),r=t(8858),i=t(4756),s=t(1359),c=t(790),l=e([i]);i=(l.then?(await l)():l)[0];const u=(0,c.jsxs)("svg",{width:"800px",height:"800px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsx)("title",{children:"Authenticator"}),(0,c.jsxs)("g",{id:"Layer_2","data-name":"Layer 2",children:[(0,c.jsx)("g",{id:"invisible_box","data-name":"invisible box",children:(0,c.jsx)("rect",{width:"48",height:"48",fill:"none"})}),(0,c.jsxs)("g",{id:"authenticator","data-name":"icons Q2",children:[(0,c.jsx)("path",{d:"M24,2S6,7.1,6,8V26.2c0,9.2,13.3,17.3,17,19.5a1.8,1.8,0,0,0,2,0c3.8-2.1,17-10.3,17-19.5V8C42,7.1,24,2,24,2Zm0,39.6a54,54,0,0,1-8.4-6.1A25.3,25.3,0,0,1,24,34a24.8,24.8,0,0,1,8.4,1.5A44.7,44.7,0,0,1,24,41.6ZM38,26.2c0,1.6-.8,3.7-2.6,6.1A30.9,30.9,0,0,0,24,30a30,30,0,0,0-11.3,2.3c-1.9-2.4-2.7-4.5-2.7-6.1V10.5c2.9-1.1,8.7-2.8,14-4.3,5.3,1.5,11.1,3.3,14,4.3Z"}),(0,c.jsx)("path",{d:"M24,14a4,4,0,1,1-4,4,4,4,0,0,1,4-4m0-4a8,8,0,1,0,8,8,8,8,0,0,0-8-8Z"})]})]})]});(0,n.registerBlockType)(r.UU,{attributes:r.uK,title:r.DD,category:r.L1,description:r.h_,edit:i.f,save:s.e,icon:u,textdomain:o.TEXT_DOMAIN}),a()}catch(e){a(e)}})},790:e=>{e.exports=window.ReactJSXRuntime},1359:(e,a,t)=>{t.d(a,{e:()=>r});var o=t(4715),n=t(790);const r=()=>{const e=o.useBlockProps.save(),{children:a,...t}=o.useInnerBlocksProps.save(e);return(0,n.jsx)("div",{...t,children:a})}},1481:(e,a,t)=>{var o=t(544),n=t(4997);const r=JSON.parse('{"UU":"gatey/account-attribute","DD":"Account Attribute","L1":"wpsuite-gatey","h_":"Account Attribute for Gatey Authenticator - display an attribute of the current user","uK":{"component":{"type":"string"},"attribute":{"type":"string"},"custom":{"type":"string"},"colorMode":{"type":"string"},"language":{"type":"string"},"direction":{"type":"string"},"link":{"type":"object","default":{"url":"","opensInNewTab":false,"nofollow":false}},"prefix":{"type":"string"},"postfix":{"type":"string"}}}');var i=t(4715),s=t(6427),c=t(7723),l=t(5573),u=t(790),d=(0,u.jsx)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,u.jsx)(l.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})}),h=(0,u.jsx)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,u.jsx)(l.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})}),m=t(1609),p=t(3752),g=t(538),y=t(9684);const b={name:"gatey-theme",overrides:[p.defaultDarkModeOverride]},f=(0,u.jsxs)("svg",{width:"800px",height:"800px",viewBox:"0 0 48 48",id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("title",{children:"Account Attribute"}),(0,u.jsx)("path",{d:"M0 0h48v48H0z",fill:"none"}),(0,u.jsx)("g",{id:"account-attribute",children:(0,u.jsx)("path",{fill:"true",d:"M31.278,25.525C34.144,23.332,36,19.887,36,16c0-6.627-5.373-12-12-12c-6.627,0-12,5.373-12,12 c0,3.887,1.856,7.332,4.722,9.525C9.84,28.531,5,35.665,5,44h38C43,35.665,38.16,28.531,31.278,25.525z M16,16c0-4.411,3.589-8,8-8 s8,3.589,8,8c0,4.411-3.589,8-8,8S16,20.411,16,16z M24,28c6.977,0,12.856,5.107,14.525,12H9.475C11.144,33.107,17.023,28,24,28z"})})]});(0,n.registerBlockType)(r.UU,{attributes:r.uK,title:r.DD,category:r.L1,description:r.h_,textdomain:o.TEXT_DOMAIN,edit:e=>{const{attributes:a,setAttributes:t}=e,{component:n,attribute:r,custom:l,colorMode:f,language:k,direction:w,link:v={},prefix:x,postfix:A}=a,[E,S]=(0,m.useState)(!1),[j,T]=(0,m.useState)(),_=(0,m.createRef)(),C=(0,i.useBlockProps)(),{...I}=(0,i.useInnerBlocksProps)(C),P=(0,m.useMemo)(()=>{let e=w;return w&&"auto"!==w||(e="ar"===k||"he"===k?"rtl":"ltr"),e},[w,k]);return(0,m.useEffect)(()=>{(0,o.getStore)().then(e=>{T(e)})},[]),(0,u.jsx)("div",{...I,children:(0,u.jsxs)("div",{ref:_,children:[(0,u.jsx)(i.InspectorControls,{children:(0,u.jsxs)(s.PanelBody,{title:(0,c.__)("Settings",o.TEXT_DOMAIN),children:[(0,u.jsx)(s.SelectControl,{label:(0,c.__)("Component",o.TEXT_DOMAIN),value:n,options:[{label:"div",value:"div"},{label:"p",value:"p"},{label:"span",value:"span"},{label:"h1",value:"h1"},{label:"h2",value:"h2"},{label:"h3",value:"h3"},{label:"h4",value:"h4"},{label:"h5",value:"h5"},{label:"h6",value:"h6"}],onChange:e=>{t({component:e})},help:(0,c.__)("Specify the HTML element (e.g., <div>, <span>, <input>) that will render this account attribute.",o.TEXT_DOMAIN)}),(0,u.jsx)(s.ComboboxControl,{label:(0,c.__)("Attribute",o.TEXT_DOMAIN),value:r||"",options:[{label:(0,c.__)("Username",o.TEXT_DOMAIN),value:"sub"},...g.rB],onChange:e=>{t({attribute:e})},placeholder:(0,c.__)("Select an attribute",o.TEXT_DOMAIN),allowReset:!0,help:(0,c.__)("Select the account attribute to display—either a standard Cognito attribute (e.g., “email”, “given_name”) or a custom attribute.",o.TEXT_DOMAIN)}),"custom"===r&&(0,u.jsx)(s.TextControl,{label:(0,c.__)("Custom Attribute",o.TEXT_DOMAIN),value:null!=l?l:"",onChange:e=>{t({custom:e})},placeholder:(0,c.__)("Enter custom attribute",o.TEXT_DOMAIN),help:(0,c.__)("Enter the name of the custom attribute (e.g., “country”).",o.TEXT_DOMAIN)}),(0,u.jsx)(s.TextControl,{label:(0,c.__)("Prefix",o.TEXT_DOMAIN),value:null!=x?x:"",onChange:e=>{t({prefix:e})},placeholder:(0,c.__)("Enter prefix",o.TEXT_DOMAIN),help:(0,c.__)("Enter the prefix (e.g., “Hi, ”).",o.TEXT_DOMAIN)}),(0,u.jsx)(s.TextControl,{label:(0,c.__)("Postfix",o.TEXT_DOMAIN),value:null!=A?A:"",onChange:e=>{t({postfix:e})},placeholder:(0,c.__)("Enter postfix",o.TEXT_DOMAIN),help:(0,c.__)("Enter the postfix (e.g., “!”).",o.TEXT_DOMAIN)}),(0,u.jsx)(s.RadioControl,{label:(0,c.__)("Color Mode",o.TEXT_DOMAIN),selected:f||"system",options:g.ld,onChange:e=>{t({colorMode:e})},help:(0,c.__)("Choose the account attribute’s color scheme—Light, Dark, or System (follows the user’s system preference).",o.TEXT_DOMAIN)}),(0,u.jsx)(s.ComboboxControl,{label:(0,c.__)("Language",o.TEXT_DOMAIN),value:k||"system",options:g.Po,onChange:e=>{t({language:e})},help:(0,c.__)("Set the display language for this account attribute. The chosen language controls the built‑in country selector list and any custom select or radio fields that have translated option labels.",o.TEXT_DOMAIN)}),(0,u.jsx)(s.RadioControl,{label:(0,c.__)("Direction",o.TEXT_DOMAIN),selected:w||"auto",options:g.ED,onChange:e=>{t({direction:e})},help:(0,c.__)("Choose the layout direction for this account attribute—Auto (default; follows the selected language), Left‑to‑Right, or Right‑to‑Left for RTL languages.",o.TEXT_DOMAIN)})]})}),(0,u.jsx)(i.BlockControls,{children:(0,u.jsxs)(s.ToolbarGroup,{children:[v.url&&(0,u.jsx)(s.ToolbarButton,{icon:d,label:"Remove link",onClick:()=>t({link:{url:""}})}),(0,u.jsx)(s.ToolbarButton,{icon:h,label:v.url?"Edit link":"Add link",onClick:()=>S(!0),isPressed:E})]})}),E&&(0,u.jsx)(s.Popover,{onClose:()=>S(!1),focusOnMount:"firstElement",children:(0,u.jsx)(i.LinkControl,{label:(0,c.__)("Link",o.TEXT_DOMAIN),value:v,onChange:e=>{e&&t({link:e})},settings:[{id:"opensInNewTab",title:(0,c.__)("Open in new tab",o.TEXT_DOMAIN)},{id:"nofollow",title:(0,c.__)("Add nofollow",o.TEXT_DOMAIN)}]})}),j&&(0,u.jsx)(p.ThemeProvider,{theme:b,colorMode:f,direction:P,children:(0,u.jsx)(y.c,{id:"gatey-account-attribute-block",isPreview:!0,store:j,component:n||"div",attribute:r||"sub",custom:l,language:k,direction:P,link:v,prefix:x,postfix:A})})]})})},save:()=>{const e=i.useBlockProps.save(),{children:a,...t}=i.useInnerBlocksProps.save(e);return(0,u.jsx)("div",{...t,children:a})},icon:f})},1609:e=>{e.exports=window.React},1880:()=>{},1923:(e,a,t)=>{t.a(e,async(e,o)=>{try{t.d(a,{q:()=>m});var n=t(1609),r=t(3752),i=t(7143),s=t(544),c=t(5930),l=t(9757),u=t(790),d=e([l]),h=d.then?(await d)():d;l=h[0],r.I18n.putVocabularies(r.translations);const m=e=>{const{id:a,className:t,isPreview:o,previewMode:d,setPreviewMode:h,setPreviewZIndex:m,siteSettings:p=null,siteSubscriptionType:g=null,store:y,showOpenButton:b,openButtonTitle:f,editorRef:k,screen:w,language:v,variation:x}=e,[A,E]=(0,n.useState)(!1),S=(0,n.useRef)(null),j=(0,i.useSelect)(()=>(0,s.getStoreSelect)(y).getConfig(),[]),T=(0,i.useSelect)(()=>(0,s.getStoreSelect)(y).getCustomTranslations(),[]);(0,n.useEffect)(()=>{S.current&&(jQuery(S.current).on("done.gatey-authenticator",()=>{k?.current?E(!1):jQuery(document).trigger("gatey-authenticator-block",a)}),jQuery(S.current).on("cancel.gatey-authenticator",()=>{k?.current?E(!1):jQuery(document).trigger("gatey-authenticator-block",a)}))},[k,S,A,a]),(0,n.useEffect)(()=>{j?h&&h(j?.subscriptionType?"PAID":"FREE"):h&&h(g?"PAID":"FREE")},[j,p,h,g,j?.subscriptionType]);const _=(0,n.useMemo)(()=>{var e;let a;if(o&&d)switch(d){case"FREE":a=null;break;case"PAID":a=null!==(e=null!=p?p:j)&&void 0!==e?e:{}}return a},[p,j,d,o]),C=(0,n.useMemo)(()=>o&&d?_:j,[j,o,_,d]),I=(0,n.useMemo)(()=>{if(r.I18n.putVocabularies(T||{}),v&&"system"!==v)return r.I18n.setLanguage(v),v;r.I18n.setLanguage("")},[v,T]),P=(0,n.useMemo)(()=>{if(b){if(f)return(0,r.translate)(f);switch(w){case"signIn":return(0,r.translate)("Sign In");case"signUp":return(0,r.translate)("Sign Up");case"forgotPassword":return(0,r.translate)("Forgot Password");case"changePassword":return(0,r.translate)("Change Password");case"editAccount":return(0,r.translate)("Edit Account");case"setupTotp":return(0,r.translate)("Setup TOTP")}}},[w,b,f]);return(0,n.useEffect)(()=>{o&&m&&m(A?1e3:void 0)},[o,m,A]),void 0!==C&&void 0!==w&&(0,u.jsx)(c.Q.Provider,{value:C,children:(0,u.jsx)(r.Authenticator.Provider,{children:(0,u.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[b&&("modal"===x||!A)&&(0,u.jsx)(r.Button,{className:`amplify-button amplify-field-group__control amplify-button--primary amplify-button--opener ${t}`,disabled:A,isFullWidth:!0,onClick:()=>{E(!0)},children:P}),(!b||A)&&(0,u.jsx)(l.a,{containerRef:S,...e,config:C,language:I})]})})})};o()}catch(e){o(e)}})},1953:(e,a,t)=>{var o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,a)=>()=>(e&&(a=e(e=0)),a),c=(e,a)=>{for(var t in a)o(e,t,{get:a[t],enumerable:!0})};function l(e){let a=e.replace(/-/g,"+").replace(/_/g,"/");for(;a.length%4;)a+="=";return Uint8Array.from(atob(a),e=>e.charCodeAt(0))}var u,d,h=s(()=>{u=(e,a)=>{let t=Uint8Array.from(atob(e),e=>e.charCodeAt(0)).map((e,t)=>e^a+t&255);return(new TextDecoder).decode(t)},d=async e=>{let a=globalThis.grecaptcha,t=e?a?.enterprise:void 0,o=t?.ready??a?.ready,n=t?.execute??a?.execute;if("function"!=typeof n)return{execute:void 0};try{return"function"==typeof o&&await new Promise(e=>o(()=>e())),{execute:n}}catch{return{execute:void 0}}}});function m(e,a){return`wpsuite:${e}:${a}`}function p(e,a){let t=a?.timeoutMs??8e3;return e.availability??=function(e,a=8e3){return()=>new Promise(t=>{if("available"===e.status)return t("available");if("error"===e.status)return t("error");!e.status||e.status;let o,n=m(e.key,"ready"),r=m(e.key,"error"),i=()=>c("available"),s=()=>c("error"),c=e=>{window.removeEventListener(n,i),window.removeEventListener(r,s),void 0!==o&&window.clearTimeout(o),t(e)};window.addEventListener(n,i,{once:!0}),window.addEventListener(r,s,{once:!0}),o=window.setTimeout(()=>c("unavailable"),a)})}(e,t),e.onReady??=function(e){return a=>{window.addEventListener(m(e,"ready"),()=>a(),{once:!0})}}(e.key),e}var g,y,b=s(()=>{}),f=s(()=>{h(),g=u("rK6hsIuWmGUwOlxybWAybH1bW2V/RT5mTn0mfE8lc2tBcXdyb01NRWsaRA==",249),y=u("rs65hrqNhUNuZmdFZnN0Z0tzeUhGQWRIY3YrW1p3SFd9e0NuRVZrVBFSdg==",249)}),k={};function w(e){try{return new URL(e.includes("://")?e:`http://${e}`).hostname.toLowerCase()}catch{return e.replace(/\/+$/,"").toLowerCase()}}function v(e){let a=w(e);if(P.test(a)||z.test(a)||"localhost"===a)return!0;let t=(0,E.parse)(a,{allowPrivateDomains:!0});return!(t.domain&&t.publicSuffix&&!I.includes(t.publicSuffix))}function x(e,a){return!!a&&function(e){let a=w(e);return a.startsWith("www.")?a.slice(4):a}(e)===a}c(k,{getConfig:()=>M});var A,E,S,j,T,_,C,I,P,z,M,D,O=s(()=>{A=t(4454),f(),h(),R(),E=t(259),T=N(),_=T?T.siteSettings:{},C=/\b(dev|test|testing|staging|stage|qa|uat|preview|demo|sandbox|preprod|beta|canary)\b/i,I=["localhost","local","test","invalid","example","lan","internal"],P=/^(127\.)|^(10\.)|^(192\.168\.)|^(172\.(1[6-9]|2\d|3[0-1])\.)/,z=/^(::1$)|(^fc00:)|(^fd)/i,M=async()=>{let e=null;if(_.subscriber){let a=await(0,A.importJWK)({kty:"EC",x:S,y:j,crv:"P-256"},"ES256"),t=(new Date).getFullYear(),o=Math.floor((Date.now()-new Date(t,0,1).getTime())/6048e5),n=await fetch(T.uploadUrl+"lic.jws?t="+T.siteSettings.lastUpdate+"&y="+t+"&w="+o).then(e=>e.ok?e.text():null).catch(()=>null);if(n)try{let t=location.hostname.split(":")[0],{payload:o}=await(0,A.jwtVerify)(n,a,{algorithms:["ES256"]}),r=function(e,a){return function(e){return v(e)||function(e){let a=w(e);return!(!v(a)&&!C.test(a))||a.split(".").some(e=>C.test(e))}(e)}(e)?{free:!0,covered:!0}:{free:!1,covered:x(e,a)}}(t,o.domain);if(!r.free&&!r.covered)throw new Error("Invalid domain in JWT");let i=o.key.split(":"),s=l(i[0]),c=l(i[1]),u=(await fetch(T.uploadUrl+"config.enc?t="+T.siteSettings.lastUpdate).then(e=>e.ok?e.text():null).catch(()=>null))?.split(":");if(2===u?.length){let a=l(u[0]),t=l(u[1]),n=await crypto.subtle.importKey("raw",s,{name:"AES-GCM"},!1,["decrypt"]),r=await crypto.subtle.decrypt({name:"AES-GCM",iv:c},n,new Uint8Array([...a,...t]));e=JSON.parse((new TextDecoder).decode(r)),e.subscriptionType=o.subscriptionType}}catch(e){console.error(e.message)}}return e??null},S=g,j=y}),H={};function N(){return globalThis.WpSuite}function K(e){return globalThis.WpSuite?.plugins[e]}c(H,{TEXT_DOMAIN:()=>W,attachDefaultPluginRuntime:()=>p,getConfig:()=>U,getPlugin:()=>K,getRecaptcha:()=>d,getWpSuite:()=>N}),e.exports=(D=H,((e,a,t,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of r(a))!i.call(e,t)&&undefined!==t&&o(e,t,{get:()=>a[t],enumerable:!(s=n(a,t))||s.enumerable});return e})(o({},"__esModule",{value:!0}),D));var W,U,R=s(()=>{h(),b(),W="hub-for-wpsuiteio",U=async e=>{let a=await(await Promise.resolve().then(()=>(O(),k))).getConfig();return a&&(a={...a[e],subscriptionType:a.subscriptionType}),a}});R()},3752:e=>{e.exports=WpSuiteAmplify},4079:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"M10.7 9.6c.3-.2.8-.4 1.3-.4s1 .2 1.3.4c.3.2.4.5.4.6 0 .4.3.8.8.8s.8-.3.8-.8c0-.8-.5-1.4-1.1-1.9-.4-.3-.9-.5-1.4-.6v-.3c0-.4-.3-.8-.8-.8s-.8.3-.8.8v.3c-.5 0-1 .3-1.4.6-.6.4-1.1 1.1-1.1 1.9s.5 1.4 1.1 1.9c.6.4 1.4.6 2.2.6h.2c.5 0 .9.2 1.1.4.3.2.4.5.4.6s0 .4-.4.6c-.3.2-.8.4-1.3.4s-1-.2-1.3-.4c-.3-.2-.4-.5-.4-.6 0-.4-.3-.8-.8-.8s-.8.3-.8.8c0 .8.5 1.4 1.1 1.9.4.3.9.5 1.4.6v.3c0 .4.3.8.8.8s.8-.3.8-.8v-.3c.5 0 1-.3 1.4-.6.6-.4 1.1-1.1 1.1-1.9s-.5-1.4-1.1-1.9c-.5-.4-1.2-.6-1.9-.6H12c-.6 0-1-.2-1.3-.4-.3-.2-.4-.5-.4-.6s0-.4.4-.6ZM12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5Z"})})},4454:(e,a,t)=>{t.r(a),t.d(a,{CompactEncrypt:()=>xa,CompactSign:()=>Ea,EmbeddedJWK:()=>za,EncryptJWT:()=>_a,FlattenedEncrypt:()=>Ye,FlattenedSign:()=>Aa,GeneralEncrypt:()=>aa,GeneralSign:()=>ja,SignJWT:()=>Ta,UnsecuredJWT:()=>Ja,base64url:()=>o,calculateJwkThumbprint:()=>Ia,calculateJwkThumbprintUri:()=>Pa,compactDecrypt:()=>Be,compactVerify:()=>ra,createLocalJWKSet:()=>Ha,createRemoteJWKSet:()=>Ra,cryptoRuntime:()=>Ga,customFetch:()=>Ka,decodeJwt:()=>Xa,decodeProtectedHeader:()=>La,errors:()=>n,exportJWK:()=>Ze,exportPKCS8:()=>$e,exportSPKI:()=>Ve,flattenedDecrypt:()=>qe,flattenedVerify:()=>na,generalDecrypt:()=>Fe,generalVerify:()=>ia,generateKeyPair:()=>Ba,generateSecret:()=>Fa,importJWK:()=>Pe,importPKCS8:()=>Ie,importSPKI:()=>_e,importX509:()=>Ce,jwksCache:()=>Wa,jwtDecrypt:()=>va,jwtVerify:()=>wa});var o={};t.r(o),t.d(o,{decode:()=>g,encode:()=>y});var n={};t.r(n),t.d(n,{JOSEAlgNotAllowed:()=>w,JOSEError:()=>b,JOSENotSupported:()=>v,JWEDecryptionFailed:()=>x,JWEInvalid:()=>A,JWKInvalid:()=>j,JWKSInvalid:()=>T,JWKSMultipleMatchingKeys:()=>C,JWKSNoMatchingKey:()=>_,JWKSTimeout:()=>I,JWSInvalid:()=>E,JWSSignatureVerificationFailed:()=>P,JWTClaimValidationFailed:()=>f,JWTExpired:()=>k,JWTInvalid:()=>S});const r=new TextEncoder,i=new TextDecoder,s=2**32;function c(...e){const a=e.reduce((e,{length:a})=>e+a,0),t=new Uint8Array(a);let o=0;for(const a of e)t.set(a,o),o+=a.length;return t}function l(e,a,t){if(a<0||a>=s)throw new RangeError(`value must be >= 0 and <= ${s-1}. Received ${a}`);e.set([a>>>24,a>>>16,a>>>8,255&a],t)}function u(e){const a=Math.floor(e/s),t=e%s,o=new Uint8Array(8);return l(o,a,0),l(o,t,4),o}function d(e){const a=new Uint8Array(4);return l(a,e),a}function h(e){const a=new Uint8Array(e.length);for(let t=0;t<e.length;t++){const o=e.charCodeAt(t);if(o>127)throw new TypeError("non-ASCII string encountered in encode()");a[t]=o}return a}function m(e){if(Uint8Array.prototype.toBase64)return e.toBase64();const a=[];for(let t=0;t<e.length;t+=32768)a.push(String.fromCharCode.apply(null,e.subarray(t,t+32768)));return btoa(a.join(""))}function p(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);const a=atob(e),t=new Uint8Array(a.length);for(let e=0;e<a.length;e++)t[e]=a.charCodeAt(e);return t}function g(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:i.decode(e),{alphabet:"base64url"});let a=e;a instanceof Uint8Array&&(a=i.decode(a)),a=a.replace(/-/g,"+").replace(/_/g,"/");try{return p(a)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}}function y(e){let a=e;return"string"==typeof a&&(a=r.encode(a)),Uint8Array.prototype.toBase64?a.toBase64({alphabet:"base64url",omitPadding:!0}):m(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}class b extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,a){super(e,a),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class f extends b{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,a,t="unspecified",o="unspecified"){super(e,{cause:{claim:t,reason:o,payload:a}}),this.claim=t,this.reason=o,this.payload=a}}class k extends b{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,a,t="unspecified",o="unspecified"){super(e,{cause:{claim:t,reason:o,payload:a}}),this.claim=t,this.reason=o,this.payload=a}}class w extends b{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class v extends b{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class x extends b{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",a){super(e,a)}}class A extends b{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"}class E extends b{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class S extends b{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class j extends b{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"}class T extends b{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"}class _ extends b{static code="ERR_JWKS_NO_MATCHING_KEY";code="ERR_JWKS_NO_MATCHING_KEY";constructor(e="no applicable key found in the JSON Web Key Set",a){super(e,a)}}class C extends b{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",a){super(e,a)}}class I extends b{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",a){super(e,a)}}class P extends b{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",a){super(e,a)}}function z(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new v(`Unsupported JWE Algorithm: ${e}`)}}function M(e,a){if(a.length<<3!==z(e))throw new A("Invalid Initialization Vector length")}function D(e,a){const t=e.byteLength<<3;if(t!==a)throw new A(`Invalid Content Encryption Key length. Expected ${a} bits, got ${t} bits`)}const O=(e,a="algorithm.name")=>new TypeError(`CryptoKey does not support this operation, its ${a} must be ${e}`),H=(e,a)=>e.name===a;function N(e){return parseInt(e.name.slice(4),10)}function K(e,a){if(a&&!e.usages.includes(a))throw new TypeError(`CryptoKey does not support this operation, its usages must include ${a}.`)}function W(e,a,t){switch(a){case"A128GCM":case"A192GCM":case"A256GCM":{if(!H(e.algorithm,"AES-GCM"))throw O("AES-GCM");const t=parseInt(a.slice(1,4),10);if(e.algorithm.length!==t)throw O(t,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!H(e.algorithm,"AES-KW"))throw O("AES-KW");const t=parseInt(a.slice(1,4),10);if(e.algorithm.length!==t)throw O(t,"algorithm.length");break}case"ECDH":switch(e.algorithm.name){case"ECDH":case"X25519":break;default:throw O("ECDH or X25519")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!H(e.algorithm,"PBKDF2"))throw O("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!H(e.algorithm,"RSA-OAEP"))throw O("RSA-OAEP");const t=parseInt(a.slice(9),10)||1;if(N(e.algorithm.hash)!==t)throw O(`SHA-${t}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}K(e,t)}function U(e,a,...t){if((t=t.filter(Boolean)).length>2){const a=t.pop();e+=`one of type ${t.join(", ")}, or ${a}.`}else 2===t.length?e+=`one of type ${t[0]} or ${t[1]}.`:e+=`of type ${t[0]}.`;return null==a?e+=` Received ${a}`:"function"==typeof a&&a.name?e+=` Received function ${a.name}`:"object"==typeof a&&null!=a&&a.constructor?.name&&(e+=` Received an instance of ${a.constructor.name}`),e}const R=(e,...a)=>U("Key must be ",e,...a),J=(e,a,...t)=>U(`Key for the ${e} algorithm must be `,a,...t);function L(e){if(!X(e))throw new Error("CryptoKey instance expected")}const X=e=>{if("CryptoKey"===e?.[Symbol.toStringTag])return!0;try{return e instanceof CryptoKey}catch{return!1}},q=e=>"KeyObject"===e?.[Symbol.toStringTag],B=e=>X(e)||q(e);async function F(e,a,t,o,n,r){if(!(X(a)||a instanceof Uint8Array))throw new TypeError(R(a,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!o)throw new A("JWE Initialization Vector missing");if(!n)throw new A("JWE Authentication Tag missing");switch(M(e,o),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return a instanceof Uint8Array&&D(a,parseInt(e.slice(-3),10)),async function(e,a,t,o,n,r){if(!(a instanceof Uint8Array))throw new TypeError(R(a,"Uint8Array"));const i=parseInt(e.slice(1,4),10),s=await crypto.subtle.importKey("raw",a.subarray(i>>3),"AES-CBC",!1,["decrypt"]),l=await crypto.subtle.importKey("raw",a.subarray(0,i>>3),{hash:"SHA-"+(i<<1),name:"HMAC"},!1,["sign"]),d=c(r,o,t,u(r.length<<3)),h=new Uint8Array((await crypto.subtle.sign("HMAC",l,d)).slice(0,i>>3));let m,p;try{m=await async function(e,a){if(!(e instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(a instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");const t={name:"HMAC",hash:"SHA-256"},o=await crypto.subtle.generateKey(t,!1,["sign"]),n=new Uint8Array(await crypto.subtle.sign(t,o,e)),r=new Uint8Array(await crypto.subtle.sign(t,o,a));let i=0,s=-1;for(;++s<32;)i|=n[s]^r[s];return 0===i}(n,h)}catch{}if(!m)throw new x;try{p=new Uint8Array(await crypto.subtle.decrypt({iv:o,name:"AES-CBC"},s,t))}catch{}if(!p)throw new x;return p}(e,a,t,o,n,r);case"A128GCM":case"A192GCM":case"A256GCM":return a instanceof Uint8Array&&D(a,parseInt(e.slice(1,4),10)),async function(e,a,t,o,n,r){let i;a instanceof Uint8Array?i=await crypto.subtle.importKey("raw",a,"AES-GCM",!1,["decrypt"]):(W(a,e,"decrypt"),i=a);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:r,iv:o,name:"AES-GCM",tagLength:128},i,c(t,n)))}catch{throw new x}}(e,a,t,o,n,r);default:throw new v("Unsupported JWE Content Encryption Algorithm")}}function G(...e){const a=e.filter(Boolean);if(0===a.length||1===a.length)return!0;let t;for(const e of a){const a=Object.keys(e);if(t&&0!==t.size)for(const e of a){if(t.has(e))return!1;t.add(e)}else t=new Set(a)}return!0}const V=e=>"object"==typeof e&&null!==e;function $(e){if(!V(e)||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let a=e;for(;null!==Object.getPrototypeOf(a);)a=Object.getPrototypeOf(a);return Object.getPrototypeOf(e)===a}function Z(e,a){if(e.algorithm.length!==parseInt(a.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${a}`)}function Q(e,a,t){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"AES-KW",!0,[t]):(W(e,a,t),e)}async function Y(e,a,t){const o=await Q(a,e,"wrapKey");Z(o,e);const n=await crypto.subtle.importKey("raw",t,{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.wrapKey("raw",n,o,"AES-KW"))}async function ee(e,a,t){const o=await Q(a,e,"unwrapKey");Z(o,e);const n=await crypto.subtle.unwrapKey("raw",t,o,"AES-KW",{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.exportKey("raw",n))}async function ae(e,a){const t=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(t,a))}function te(e){return c(d(e.length),e)}async function oe(e,a,t,o,n=new Uint8Array,r=new Uint8Array){W(e,"ECDH"),W(a,"ECDH","deriveBits");const i=c(te(h(t)),te(n),te(r),d(o),new Uint8Array),s=new Uint8Array(await crypto.subtle.deriveBits({name:e.algorithm.name,public:e},a,function(e){return"X25519"===e.algorithm.name?256:Math.ceil(parseInt(e.algorithm.namedCurve.slice(-3),10)/8)<<3}(e)));return async function(e,a,t){const o=a>>3,n=Math.ceil(o/32),r=new Uint8Array(32*n);for(let a=1;a<=n;a++){const o=new Uint8Array(4+e.length+t.length);o.set(d(a),0),o.set(e,4),o.set(t,4+e.length);const n=await ae("sha256",o);r.set(n,32*(a-1))}return r.slice(0,o)}(s,o,i)}function ne(e){switch(e.algorithm.namedCurve){case"P-256":case"P-384":case"P-521":return!0;default:return"X25519"===e.algorithm.name}}const re=(e,a)=>c(h(e),Uint8Array.of(0),a);async function ie(e,a,t,o){if(!(e instanceof Uint8Array)||e.length<8)throw new A("PBES2 Salt Input must be 8 or more octets");const n=re(a,e),r=parseInt(a.slice(13,16),10),i={hash:`SHA-${a.slice(8,11)}`,iterations:t,name:"PBKDF2",salt:n},s=await function(e,a){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]):(W(e,a,"deriveBits"),e)}(o,a);return new Uint8Array(await crypto.subtle.deriveBits(i,s,r))}function se(e,a){if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:t}=a.algorithm;if("number"!=typeof t||t<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}const ce=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new v(`alg ${e} is not supported either by JOSE or your javascript runtime`)}};function le(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new v(`Unsupported JWE Algorithm: ${e}`)}}const ue=e=>crypto.getRandomValues(new Uint8Array(le(e)>>3)),de=(e,a)=>`-----BEGIN ${a}-----\n${(e.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${a}-----`,he=async(e,a,t)=>{if(q(t)){if(t.type!==e)throw new TypeError(`key is not a ${e} key`);return t.export({format:"pem",type:a})}if(!X(t))throw new TypeError(R(t,"CryptoKey","KeyObject"));if(!t.extractable)throw new TypeError("CryptoKey is not extractable");if(t.type!==e)throw new TypeError(`key is not a ${e} key`);return de(m(new Uint8Array(await crypto.subtle.exportKey(a,t))),`${e.toUpperCase()} KEY`)},me=e=>he("public","spki",e),pe=e=>he("private","pkcs8",e),ge=(e,a)=>{if(e.byteLength!==a.length)return!1;for(let t=0;t<e.byteLength;t++)if(e[t]!==a[t])return!1;return!0},ye=e=>({data:e,pos:0}),be=e=>{const a=e.data[e.pos++];if(128&a){const t=127&a;let o=0;for(let a=0;a<t;a++)o=o<<8|e.data[e.pos++];return o}return a},fe=(e,a=1)=>{if(a<=0)return;e.pos++;const t=be(e);e.pos+=t,a>1&&fe(e,a-1)},ke=(e,a,t)=>{if(e.data[e.pos++]!==a)throw new Error(t)},we=(e,a)=>{const t=e.data.subarray(e.pos,e.pos+a);return e.pos+=a,t},ve=e=>{const a=(e=>{ke(e,6,"Expected algorithm OID");const a=be(e);return we(e,a)})(e);if(ge(a,[43,101,110]))return"X25519";if(!ge(a,[42,134,72,206,61,2,1]))throw new Error("Unsupported key algorithm");ke(e,6,"Expected curve OID");const t=be(e),o=we(e,t);for(const{name:e,oid:a}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(ge(o,a))return e;throw new Error("Unsupported named curve")},xe=async(e,a,t,o)=>{let n,r;const i="spki"===e,s=()=>i?["verify"]:["sign"];switch(t){case"PS256":case"PS384":case"PS512":n={name:"RSA-PSS",hash:`SHA-${t.slice(-3)}`},r=s();break;case"RS256":case"RS384":case"RS512":n={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${t.slice(-3)}`},r=s();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":n={name:"RSA-OAEP",hash:`SHA-${parseInt(t.slice(-3),10)||1}`},r=i?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":n={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[t]},r=s();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{const e=o.getNamedCurve(a);n="X25519"===e?{name:"X25519"}:{name:"ECDH",namedCurve:e}}catch(e){throw new v("Invalid or unsupported key format")}r=i?[]:["deriveBits"];break;case"Ed25519":case"EdDSA":n={name:"Ed25519"},r=s();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":n={name:t},r=s();break;default:throw new v('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(e,a,n,o?.extractable??!!i,r)},Ae=(e,a)=>p(e.replace(a,"")),Ee=(e,a,t)=>{const o=Ae(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);let n=t;return a?.startsWith?.("ECDH-ES")&&(n||={},n.getNamedCurve=e=>{const a=ye(e);return function(e){ke(e,48,"Invalid PKCS#8 structure"),be(e),ke(e,2,"Expected version field");const a=be(e);e.pos+=a,ke(e,48,"Expected algorithm identifier");be(e);e.pos}(a),ve(a)}),xe("pkcs8",o,a,n)},Se=(e,a,t)=>{const o=Ae(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);let n=t;return a?.startsWith?.("ECDH-ES")&&(n||={},n.getNamedCurve=e=>{const a=ye(e);return function(e){ke(e,48,"Invalid SPKI structure"),be(e),ke(e,48,"Expected algorithm identifier");be(e);e.pos}(a),ve(a)}),xe("spki",o,a,n)};const je=(e,a,t)=>{let o;try{o=function(e){const a=ye(e);ke(a,48,"Invalid certificate structure"),be(a),ke(a,48,"Invalid tbsCertificate structure"),be(a),160===e[a.pos]?fe(a,6):fe(a,5);const t=a.pos;ke(a,48,"Invalid SPKI structure");const o=be(a);return e.subarray(t,t+o+(a.pos-t))}(Ae(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g))}catch(e){throw new TypeError("Failed to parse the X.509 certificate",{cause:e})}return Se(de(m(o),"PUBLIC KEY"),a,t)};async function Te(e){if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:a,keyUsages:t}=function(e){let a,t;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":a={name:e.alg},t=e.priv?["sign"]:["verify"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":a={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},t=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":a={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},t=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":a={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},t=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":a={name:"ECDSA",namedCurve:"P-256"},t=e.d?["sign"]:["verify"];break;case"ES384":a={name:"ECDSA",namedCurve:"P-384"},t=e.d?["sign"]:["verify"];break;case"ES512":a={name:"ECDSA",namedCurve:"P-521"},t=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":a={name:"ECDH",namedCurve:e.crv},t=e.d?["deriveBits"]:[];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":a={name:"Ed25519"},t=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":a={name:e.crv},t=e.d?["deriveBits"]:[];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new v('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:a,keyUsages:t}}(e),o={...e};return"AKP"!==o.kty&&delete o.alg,delete o.use,crypto.subtle.importKey("jwk",o,a,e.ext??(!e.d&&!e.priv),e.key_ops??t)}async function _e(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return Se(e,a,t)}async function Ce(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return je(e,a,t)}async function Ie(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return Ee(e,a,t)}async function Pe(e,a,t){if(!$(e))throw new TypeError("JWK must be an object");let o;switch(a??=e.alg,o??=t?.extractable??e.ext,e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return g(e.k);case"RSA":if("oth"in e&&void 0!==e.oth)throw new v('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return Te({...e,alg:a,ext:o});case"AKP":if("string"!=typeof e.alg||!e.alg)throw new TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==a&&a!==e.alg)throw new TypeError("JWK alg and alg option value mismatch");return Te({...e,ext:o});case"EC":case"OKP":return Te({...e,alg:a,ext:o});default:throw new v('Unsupported "kty" (Key Type) Parameter value')}}async function ze(e,a,t,o,n){if(!(X(t)||t instanceof Uint8Array))throw new TypeError(R(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));var r;switch(o?M(e,o):(r=e,o=crypto.getRandomValues(new Uint8Array(z(r)>>3))),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t instanceof Uint8Array&&D(t,parseInt(e.slice(-3),10)),async function(e,a,t,o,n){if(!(t instanceof Uint8Array))throw new TypeError(R(t,"Uint8Array"));const r=parseInt(e.slice(1,4),10),i=await crypto.subtle.importKey("raw",t.subarray(r>>3),"AES-CBC",!1,["encrypt"]),s=await crypto.subtle.importKey("raw",t.subarray(0,r>>3),{hash:"SHA-"+(r<<1),name:"HMAC"},!1,["sign"]),l=new Uint8Array(await crypto.subtle.encrypt({iv:o,name:"AES-CBC"},i,a)),d=c(n,o,l,u(n.length<<3));return{ciphertext:l,tag:new Uint8Array((await crypto.subtle.sign("HMAC",s,d)).slice(0,r>>3)),iv:o}}(e,a,t,o,n);case"A128GCM":case"A192GCM":case"A256GCM":return t instanceof Uint8Array&&D(t,parseInt(e.slice(1,4),10)),async function(e,a,t,o,n){let r;t instanceof Uint8Array?r=await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["encrypt"]):(W(t,e,"encrypt"),r=t);const i=new Uint8Array(await crypto.subtle.encrypt({additionalData:n,iv:o,name:"AES-GCM",tagLength:128},r,a)),s=i.slice(-16);return{ciphertext:i.slice(0,-16),tag:s,iv:o}}(e,a,t,o,n);default:throw new v("Unsupported JWE Content Encryption Algorithm")}}function Me(e,a,t,o,n){if(void 0!==n.crit&&void 0===o?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!o||void 0===o.crit)return new Set;if(!Array.isArray(o.crit)||0===o.crit.length||o.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let r;r=void 0!==t?new Map([...Object.entries(t),...a.entries()]):a;for(const a of o.crit){if(!r.has(a))throw new v(`Extension Header Parameter "${a}" is not recognized`);if(void 0===n[a])throw new e(`Extension Header Parameter "${a}" is missing`);if(r.get(a)&&void 0===o[a])throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`)}return new Set(o.crit)}function De(e,a){if(void 0!==a&&(!Array.isArray(a)||a.some(e=>"string"!=typeof e)))throw new TypeError(`"${e}" option must be an array of strings`);if(a)return new Set(a)}const Oe=e=>$(e)&&"string"==typeof e.kty;let He;const Ne=async(e,a,t,o=!1)=>{He||=new WeakMap;let n=He.get(e);if(n?.[t])return n[t];const r=await Te({...a,alg:t});return o&&Object.freeze(e),n?n[t]=r:He.set(e,{[t]:r}),r},Ke=(e,a)=>{He||=new WeakMap;let t=He.get(e);if(t?.[a])return t[a];const o="public"===e.type,n=!!o;let r;if("x25519"===e.asymmetricKeyType){switch(a){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}r=e.toCryptoKey(e.asymmetricKeyType,n,o?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==a&&"Ed25519"!==a)throw new TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,n,[o?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(a!==e.asymmetricKeyType.toUpperCase())throw new TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,n,[o?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let t;switch(a){case"RSA-OAEP":t="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":t="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":t="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":t="SHA-512";break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}if(a.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:t},n,o?["encrypt"]:["decrypt"]);r=e.toCryptoKey({name:a.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:t},n,[o?"verify":"sign"])}if("ec"===e.asymmetricKeyType){const t=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!t)throw new TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===a&&"P-256"===t&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:t},n,[o?"verify":"sign"])),"ES384"===a&&"P-384"===t&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:t},n,[o?"verify":"sign"])),"ES512"===a&&"P-521"===t&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:t},n,[o?"verify":"sign"])),a.startsWith("ECDH-ES")&&(r=e.toCryptoKey({name:"ECDH",namedCurve:t},n,o?[]:["deriveBits"]))}if(!r)throw new TypeError("given KeyObject instance cannot be used for this algorithm");return t?t[a]=r:He.set(e,{[a]:r}),r};async function We(e,a){if(e instanceof Uint8Array)return e;if(X(e))return e;if(q(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return Ke(e,a)}catch(e){if(e instanceof TypeError)throw e}let t=e.export({format:"jwk"});return Ne(e,t,a)}if(Oe(e))return e.k?g(e.k):Ne(e,e,a,!0);throw new Error("unreachable")}const Ue=e=>e?.[Symbol.toStringTag],Re=(e,a,t)=>{if(void 0!==a.use){let e;switch(t){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(a.use!==e)throw new TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==a.alg&&a.alg!==e)throw new TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(a.key_ops)){let o;switch(!0){case"sign"===t||"verify"===t:case"dir"===e:case e.includes("CBC-HS"):o=t;break;case e.startsWith("PBES2"):o="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):o=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===t?"wrapKey":"unwrapKey":t;break;case"encrypt"===t&&e.startsWith("RSA"):o="wrapKey";break;case"decrypt"===t:o=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(o&&!1===a.key_ops?.includes?.(o))throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${o}" when present`)}return!0},Je=(e,a,t)=>{if(!(a instanceof Uint8Array)){if(Oe(a)){if((e=>"oct"===e.kty&&"string"==typeof e.k)(a)&&Re(e,a,t))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!B(a))throw new TypeError(J(e,a,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==a.type)throw new TypeError(`${Ue(a)} instances for symmetric algorithms must be of type "secret"`)}},Le=(e,a,t)=>{if(Oe(a))switch(t){case"decrypt":case"sign":if((e=>"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d))(a)&&Re(e,a,t))return;throw new TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if((e=>"oct"!==e.kty&&void 0===e.d&&void 0===e.priv)(a)&&Re(e,a,t))return;throw new TypeError("JSON Web Key for this operation must be a public JWK")}if(!B(a))throw new TypeError(J(e,a,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===a.type)throw new TypeError(`${Ue(a)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===a.type)switch(t){case"sign":throw new TypeError(`${Ue(a)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw new TypeError(`${Ue(a)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===a.type)switch(t){case"verify":throw new TypeError(`${Ue(a)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw new TypeError(`${Ue(a)} instances for asymmetric algorithm encryption must be of type "public"`)}};function Xe(e,a,t){switch(e.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":Je(e,a,t);break;default:Le(e,a,t)}}async function qe(e,a,t){if(!$(e))throw new A("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new A("JOSE Header missing");if(void 0!==e.iv&&"string"!=typeof e.iv)throw new A("JWE Initialization Vector incorrect type");if("string"!=typeof e.ciphertext)throw new A("JWE Ciphertext missing or incorrect type");if(void 0!==e.tag&&"string"!=typeof e.tag)throw new A("JWE Authentication Tag incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new A("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new A("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new A("JWE AAD incorrect type");if(void 0!==e.header&&!$(e.header))throw new A("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!$(e.unprotected))throw new A("JWE Per-Recipient Unprotected Header incorrect type");let o;if(e.protected)try{const a=g(e.protected);o=JSON.parse(i.decode(a))}catch{throw new A("JWE Protected Header is invalid")}if(!G(o,e.header,e.unprotected))throw new A("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const n={...o,...e.header,...e.unprotected};if(Me(A,new Map,t?.crit,o,n),void 0!==n.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:r,enc:s}=n;if("string"!=typeof r||!r)throw new A("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof s||!s)throw new A("missing JWE Encryption Algorithm (enc) in JWE Header");const l=t&&De("keyManagementAlgorithms",t.keyManagementAlgorithms),u=t&&De("contentEncryptionAlgorithms",t.contentEncryptionAlgorithms);if(l&&!l.has(r)||!l&&r.startsWith("PBES2"))throw new w('"alg" (Algorithm) Header Parameter value not allowed');if(u&&!u.has(s))throw new w('"enc" (Encryption Algorithm) Header Parameter value not allowed');let d;if(void 0!==e.encrypted_key)try{d=g(e.encrypted_key)}catch{throw new A("Failed to base64url decode the encrypted_key")}let m=!1;"function"==typeof a&&(a=await a(o,e),m=!0),Xe("dir"===r?s:r,a,"decrypt");const p=await We(a,r);let y,b,f;try{y=await async function(e,a,t,o,n){switch(e){case"dir":if(void 0!==t)throw new A("Encountered unexpected JWE Encrypted Key");return a;case"ECDH-ES":if(void 0!==t)throw new A("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!$(o.epk))throw new A('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(L(a),!ne(a))throw new v("ECDH with the provided key is not allowed or not supported by your javascript runtime");const n=await Pe(o.epk,e);let r,i;if(L(n),void 0!==o.apu){if("string"!=typeof o.apu)throw new A('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{r=g(o.apu)}catch{throw new A("Failed to base64url decode the apu")}}if(void 0!==o.apv){if("string"!=typeof o.apv)throw new A('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{i=g(o.apv)}catch{throw new A("Failed to base64url decode the apv")}}const s=await oe(n,a,"ECDH-ES"===e?o.enc:e,"ECDH-ES"===e?le(o.enc):parseInt(e.slice(-5,-2),10),r,i);if("ECDH-ES"===e)return s;if(void 0===t)throw new A("JWE Encrypted Key missing");return ee(e.slice(-6),s,t)}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===t)throw new A("JWE Encrypted Key missing");return L(a),async function(e,a,t){return W(a,e,"decrypt"),se(e,a),new Uint8Array(await crypto.subtle.decrypt(ce(e),a,t))}(e,a,t);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===t)throw new A("JWE Encrypted Key missing");if("number"!=typeof o.p2c)throw new A('JOSE Header "p2c" (PBES2 Count) missing or invalid');const r=n?.maxPBES2Count||1e4;if(o.p2c>r)throw new A('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof o.p2s)throw new A('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let i;try{i=g(o.p2s)}catch{throw new A("Failed to base64url decode the p2s")}return async function(e,a,t,o,n){const r=await ie(n,e,o,a);return ee(e.slice(-6),r,t)}(e,a,t,o.p2c,i)}case"A128KW":case"A192KW":case"A256KW":if(void 0===t)throw new A("JWE Encrypted Key missing");return ee(e,a,t);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===t)throw new A("JWE Encrypted Key missing");if("string"!=typeof o.iv)throw new A('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof o.tag)throw new A('JOSE Header "tag" (Authentication Tag) missing or invalid');let n,r;try{n=g(o.iv)}catch{throw new A("Failed to base64url decode the iv")}try{r=g(o.tag)}catch{throw new A("Failed to base64url decode the tag")}return async function(e,a,t,o,n){return F(e.slice(0,7),a,t,o,n,new Uint8Array)}(e,a,t,n,r)}default:throw new v('Invalid or unsupported "alg" (JWE Algorithm) header value')}}(r,p,d,n,t)}catch(e){if(e instanceof TypeError||e instanceof A||e instanceof v)throw e;y=ue(s)}if(void 0!==e.iv)try{b=g(e.iv)}catch{throw new A("Failed to base64url decode the iv")}if(void 0!==e.tag)try{f=g(e.tag)}catch{throw new A("Failed to base64url decode the tag")}const k=void 0!==e.protected?h(e.protected):new Uint8Array;let x,E;x=void 0!==e.aad?c(k,h("."),h(e.aad)):k;try{E=g(e.ciphertext)}catch{throw new A("Failed to base64url decode the ciphertext")}const S={plaintext:await F(s,y,E,b,f,x)};if(void 0!==e.protected&&(S.protectedHeader=o),void 0!==e.aad)try{S.additionalAuthenticatedData=g(e.aad)}catch{throw new A("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(S.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(S.unprotectedHeader=e.header),m?{...S,key:p}:S}async function Be(e,a,t){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new A("Compact JWE must be a string or Uint8Array");const{0:o,1:n,2:r,3:s,4:c,length:l}=e.split(".");if(5!==l)throw new A("Invalid Compact JWE");const u=await qe({ciphertext:s,iv:r||void 0,protected:o,tag:c||void 0,encrypted_key:n||void 0},a,t),d={plaintext:u.plaintext,protectedHeader:u.protectedHeader};return"function"==typeof a?{...d,key:u.key}:d}async function Fe(e,a,t){if(!$(e))throw new A("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every($))throw new A("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new A("JWE Recipients has no members");for(const o of e.recipients)try{return await qe({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:o.encrypted_key,header:o.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},a,t)}catch{}throw new x}const Ge=Symbol();async function Ve(e){return me(e)}async function $e(e){return pe(e)}async function Ze(e){return async function(e){if(q(e)){if("secret"!==e.type)return e.export({format:"jwk"});e=e.export()}if(e instanceof Uint8Array)return{kty:"oct",k:y(e)};if(!X(e))throw new TypeError(R(e,"CryptoKey","KeyObject","Uint8Array"));if(!e.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:a,key_ops:t,alg:o,use:n,...r}=await crypto.subtle.exportKey("jwk",e);return"AKP"===r.kty&&(r.alg=o),r}(e)}async function Qe(e,a,t,o,n={}){let r,i,s;switch(e){case"dir":s=t;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(L(t),!ne(t))throw new v("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:c,apv:l}=n;let u;u=n.epk?await We(n.epk,e):(await crypto.subtle.generateKey(t.algorithm,!0,["deriveBits"])).privateKey;const{x:d,y:h,crv:m,kty:p}=await Ze(u),g=await oe(t,u,"ECDH-ES"===e?a:e,"ECDH-ES"===e?le(a):parseInt(e.slice(-5,-2),10),c,l);if(i={epk:{x:d,crv:m,kty:p}},"EC"===p&&(i.epk.y=h),c&&(i.apu=y(c)),l&&(i.apv=y(l)),"ECDH-ES"===e){s=g;break}s=o||ue(a);const b=e.slice(-6);r=await Y(b,g,s);break}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":s=o||ue(a),L(t),r=await async function(e,a,t){return W(a,e,"encrypt"),se(e,a),new Uint8Array(await crypto.subtle.encrypt(ce(e),a,t))}(e,t,s);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{s=o||ue(a);const{p2c:c,p2s:l}=n;({encryptedKey:r,...i}=await async function(e,a,t,o=2048,n=crypto.getRandomValues(new Uint8Array(16))){const r=await ie(n,e,o,a);return{encryptedKey:await Y(e.slice(-6),r,t),p2c:o,p2s:y(n)}}(e,t,s,c,l));break}case"A128KW":case"A192KW":case"A256KW":s=o||ue(a),r=await Y(e,t,s);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{s=o||ue(a);const{iv:c}=n;({encryptedKey:r,...i}=await async function(e,a,t,o){const n=e.slice(0,7),r=await ze(n,t,a,o,new Uint8Array);return{encryptedKey:r.ciphertext,iv:y(r.iv),tag:y(r.tag)}}(e,t,s,c));break}default:throw new v('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:s,encryptedKey:r,parameters:i}}class Ye{#e;#a;#t;#o;#n;#r;#i;#s;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this.#e=e}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setSharedUnprotectedHeader(e){if(this.#t)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#t=e,this}setUnprotectedHeader(e){if(this.#o)throw new TypeError("setUnprotectedHeader can only be called once");return this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#n=e,this}setContentEncryptionKey(e){if(this.#r)throw new TypeError("setContentEncryptionKey can only be called once");return this.#r=e,this}setInitializationVector(e){if(this.#i)throw new TypeError("setInitializationVector can only be called once");return this.#i=e,this}async encrypt(e,a){if(!this.#a&&!this.#o&&!this.#t)throw new A("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!G(this.#a,this.#o,this.#t))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const t={...this.#a,...this.#o,...this.#t};if(Me(A,new Map,a?.crit,this.#a,t),void 0!==t.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:o,enc:n}=t;if("string"!=typeof o||!o)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof n||!n)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let r,i,s,l,u,d;if(this.#r&&("dir"===o||"ECDH-ES"===o))throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${o}`);Xe("dir"===o?n:o,e,"encrypt");{let t;const s=await We(e,o);({cek:i,encryptedKey:r,parameters:t}=await Qe(o,n,s,this.#r,this.#s)),t&&(a&&Ge in a?this.#o?this.#o={...this.#o,...t}:this.setUnprotectedHeader(t):this.#a?this.#a={...this.#a,...t}:this.setProtectedHeader(t))}if(this.#a?(l=y(JSON.stringify(this.#a)),u=h(l)):(l="",u=new Uint8Array),this.#n){d=y(this.#n);const e=h(d);s=c(u,h("."),e)}else s=u;const{ciphertext:m,tag:p,iv:g}=await ze(n,this.#e,i,this.#i,s),b={ciphertext:y(m)};return g&&(b.iv=y(g)),p&&(b.tag=y(p)),r&&(b.encrypted_key=y(r)),d&&(b.aad=d),this.#a&&(b.protected=l),this.#t&&(b.unprotected=this.#t),this.#o&&(b.header=this.#o),b}}class ea{#c;unprotectedHeader;keyManagementParameters;key;options;constructor(e,a,t){this.#c=e,this.key=a,this.options=t}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}setKeyManagementParameters(e){if(this.keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this.keyManagementParameters=e,this}addRecipient(...e){return this.#c.addRecipient(...e)}encrypt(...e){return this.#c.encrypt(...e)}done(){return this.#c}}class aa{#e;#l=[];#a;#o;#n;constructor(e){this.#e=e}addRecipient(e,a){const t=new ea(this,e,{crit:a?.crit});return this.#l.push(t),t}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setSharedUnprotectedHeader(e){if(this.#o)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#n=e,this}async encrypt(){if(!this.#l.length)throw new A("at least one recipient must be added");if(1===this.#l.length){const[e]=this.#l,a=await new Ye(this.#e).setAdditionalAuthenticatedData(this.#n).setProtectedHeader(this.#a).setSharedUnprotectedHeader(this.#o).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options}),t={ciphertext:a.ciphertext,iv:a.iv,recipients:[{}],tag:a.tag};return a.aad&&(t.aad=a.aad),a.protected&&(t.protected=a.protected),a.unprotected&&(t.unprotected=a.unprotected),a.encrypted_key&&(t.recipients[0].encrypted_key=a.encrypted_key),a.header&&(t.recipients[0].header=a.header),t}let e;for(let a=0;a<this.#l.length;a++){const t=this.#l[a];if(!G(this.#a,this.#o,t.unprotectedHeader))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const o={...this.#a,...this.#o,...t.unprotectedHeader},{alg:n}=o;if("string"!=typeof n||!n)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===n||"ECDH-ES"===n)throw new A('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof o.enc||!o.enc)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(e){if(e!==o.enc)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else e=o.enc;if(Me(A,new Map,t.options.crit,this.#a,o),void 0!==o.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.')}const a=ue(e),t={ciphertext:"",recipients:[]};for(let o=0;o<this.#l.length;o++){const n=this.#l[o],r={};if(t.recipients.push(r),0===o){const e=await new Ye(this.#e).setAdditionalAuthenticatedData(this.#n).setContentEncryptionKey(a).setProtectedHeader(this.#a).setSharedUnprotectedHeader(this.#o).setUnprotectedHeader(n.unprotectedHeader).setKeyManagementParameters(n.keyManagementParameters).encrypt(n.key,{...n.options,[Ge]:!0});t.ciphertext=e.ciphertext,t.iv=e.iv,t.tag=e.tag,e.aad&&(t.aad=e.aad),e.protected&&(t.protected=e.protected),e.unprotected&&(t.unprotected=e.unprotected),r.encrypted_key=e.encrypted_key,e.header&&(r.header=e.header);continue}const i=n.unprotectedHeader?.alg||this.#a?.alg||this.#o?.alg;Xe("dir"===i?e:i,n.key,"encrypt");const s=await We(n.key,i),{encryptedKey:c,parameters:l}=await Qe(i,e,s,a,n.keyManagementParameters);r.encrypted_key=y(c),(n.unprotectedHeader||l)&&(r.header={...n.unprotectedHeader,...l})}return t}}function ta(e,a){const t=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:t,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:t,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:t,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:t,name:"ECDSA",namedCurve:a.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new v(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function oa(e,a,t){if(a instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(R(a,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",a,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[t])}return function(e,a,t){switch(a){case"HS256":case"HS384":case"HS512":{if(!H(e.algorithm,"HMAC"))throw O("HMAC");const t=parseInt(a.slice(2),10);if(N(e.algorithm.hash)!==t)throw O(`SHA-${t}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!H(e.algorithm,"RSASSA-PKCS1-v1_5"))throw O("RSASSA-PKCS1-v1_5");const t=parseInt(a.slice(2),10);if(N(e.algorithm.hash)!==t)throw O(`SHA-${t}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!H(e.algorithm,"RSA-PSS"))throw O("RSA-PSS");const t=parseInt(a.slice(2),10);if(N(e.algorithm.hash)!==t)throw O(`SHA-${t}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!H(e.algorithm,"Ed25519"))throw O("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!H(e.algorithm,a))throw O(a);break;case"ES256":case"ES384":case"ES512":{if(!H(e.algorithm,"ECDSA"))throw O("ECDSA");const t=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(a);if(e.algorithm.namedCurve!==t)throw O(t,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}K(e,t)}(a,e,t),a}async function na(e,a,t){if(!$(e))throw new E("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new E('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new E("JWS Protected Header incorrect type");if(void 0===e.payload)throw new E("JWS Payload missing");if("string"!=typeof e.signature)throw new E("JWS Signature missing or incorrect type");if(void 0!==e.header&&!$(e.header))throw new E("JWS Unprotected Header incorrect type");let o={};if(e.protected)try{const a=g(e.protected);o=JSON.parse(i.decode(a))}catch{throw new E("JWS Protected Header is invalid")}if(!G(o,e.header))throw new E("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const n={...o,...e.header};let s=!0;if(Me(E,new Map([["b64",!0]]),t?.crit,o,n).has("b64")&&(s=o.b64,"boolean"!=typeof s))throw new E('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:l}=n;if("string"!=typeof l||!l)throw new E('JWS "alg" (Algorithm) Header Parameter missing or invalid');const u=t&&De("algorithms",t.algorithms);if(u&&!u.has(l))throw new w('"alg" (Algorithm) Header Parameter value not allowed');if(s){if("string"!=typeof e.payload)throw new E("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new E("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof a&&(a=await a(o,e),d=!0),Xe(l,a,"verify");const m=c(void 0!==e.protected?h(e.protected):new Uint8Array,h("."),"string"==typeof e.payload?s?h(e.payload):r.encode(e.payload):e.payload);let p;try{p=g(e.signature)}catch{throw new E("Failed to base64url decode the signature")}const y=await We(a,l),b=await async function(e,a,t,o){const n=await oa(e,a,"verify");se(e,n);const r=ta(e,n.algorithm);try{return await crypto.subtle.verify(r,n,t,o)}catch{return!1}}(l,y,p,m);if(!b)throw new P;let f;if(s)try{f=g(e.payload)}catch{throw new E("Failed to base64url decode the payload")}else f="string"==typeof e.payload?r.encode(e.payload):e.payload;const k={payload:f};return void 0!==e.protected&&(k.protectedHeader=o),void 0!==e.header&&(k.unprotectedHeader=e.header),d?{...k,key:y}:k}async function ra(e,a,t){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new E("Compact JWS must be a string or Uint8Array");const{0:o,1:n,2:r,length:s}=e.split(".");if(3!==s)throw new E("Invalid Compact JWS");const c=await na({payload:n,protected:o,signature:r},a,t),l={payload:c.payload,protectedHeader:c.protectedHeader};return"function"==typeof a?{...l,key:c.key}:l}async function ia(e,a,t){if(!$(e))throw new E("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every($))throw new E("JWS Signatures missing or incorrect type");for(const o of e.signatures)try{return await na({header:o.header,payload:e.payload,protected:o.protected,signature:o.signature},a,t)}catch{}throw new P}const sa=e=>Math.floor(e.getTime()/1e3),ca=60,la=60*ca,ua=24*la,da=7*ua,ha=365.25*ua,ma=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function pa(e){const a=ma.exec(e);if(!a||a[4]&&a[1])throw new TypeError("Invalid time period format");const t=parseFloat(a[2]);let o;switch(a[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":o=Math.round(t);break;case"minute":case"minutes":case"min":case"mins":case"m":o=Math.round(t*ca);break;case"hour":case"hours":case"hr":case"hrs":case"h":o=Math.round(t*la);break;case"day":case"days":case"d":o=Math.round(t*ua);break;case"week":case"weeks":case"w":o=Math.round(t*da);break;default:o=Math.round(t*ha)}return"-"===a[1]||"ago"===a[4]?-o:o}function ga(e,a){if(!Number.isFinite(a))throw new TypeError(`Invalid ${e} input`);return a}const ya=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`,ba=(e,a)=>"string"==typeof e?a.includes(e):!!Array.isArray(e)&&a.some(Set.prototype.has.bind(new Set(e)));function fa(e,a,t={}){let o;try{o=JSON.parse(i.decode(a))}catch{}if(!$(o))throw new S("JWT Claims Set must be a top-level JSON object");const{typ:n}=t;if(n&&("string"!=typeof e.typ||ya(e.typ)!==ya(n)))throw new f('unexpected "typ" JWT header value',o,"typ","check_failed");const{requiredClaims:r=[],issuer:s,subject:c,audience:l,maxTokenAge:u}=t,d=[...r];void 0!==u&&d.push("iat"),void 0!==l&&d.push("aud"),void 0!==c&&d.push("sub"),void 0!==s&&d.push("iss");for(const e of new Set(d.reverse()))if(!(e in o))throw new f(`missing required "${e}" claim`,o,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(o.iss))throw new f('unexpected "iss" claim value',o,"iss","check_failed");if(c&&o.sub!==c)throw new f('unexpected "sub" claim value',o,"sub","check_failed");if(l&&!ba(o.aud,"string"==typeof l?[l]:l))throw new f('unexpected "aud" claim value',o,"aud","check_failed");let h;switch(typeof t.clockTolerance){case"string":h=pa(t.clockTolerance);break;case"number":h=t.clockTolerance;break;case"undefined":h=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:m}=t,p=sa(m||new Date);if((void 0!==o.iat||u)&&"number"!=typeof o.iat)throw new f('"iat" claim must be a number',o,"iat","invalid");if(void 0!==o.nbf){if("number"!=typeof o.nbf)throw new f('"nbf" claim must be a number',o,"nbf","invalid");if(o.nbf>p+h)throw new f('"nbf" claim timestamp check failed',o,"nbf","check_failed")}if(void 0!==o.exp){if("number"!=typeof o.exp)throw new f('"exp" claim must be a number',o,"exp","invalid");if(o.exp<=p-h)throw new k('"exp" claim timestamp check failed',o,"exp","check_failed")}if(u){const e=p-o.iat;if(e-h>("number"==typeof u?u:pa(u)))throw new k('"iat" claim timestamp check failed (too far in the past)',o,"iat","check_failed");if(e<0-h)throw new f('"iat" claim timestamp check failed (it should be in the past)',o,"iat","check_failed")}return o}class ka{#u;constructor(e){if(!$(e))throw new TypeError("JWT Claims Set MUST be an object");this.#u=structuredClone(e)}data(){return r.encode(JSON.stringify(this.#u))}get iss(){return this.#u.iss}set iss(e){this.#u.iss=e}get sub(){return this.#u.sub}set sub(e){this.#u.sub=e}get aud(){return this.#u.aud}set aud(e){this.#u.aud=e}set jti(e){this.#u.jti=e}set nbf(e){"number"==typeof e?this.#u.nbf=ga("setNotBefore",e):e instanceof Date?this.#u.nbf=ga("setNotBefore",sa(e)):this.#u.nbf=sa(new Date)+pa(e)}set exp(e){"number"==typeof e?this.#u.exp=ga("setExpirationTime",e):e instanceof Date?this.#u.exp=ga("setExpirationTime",sa(e)):this.#u.exp=sa(new Date)+pa(e)}set iat(e){void 0===e?this.#u.iat=sa(new Date):e instanceof Date?this.#u.iat=ga("setIssuedAt",sa(e)):this.#u.iat=ga("setIssuedAt","string"==typeof e?sa(new Date)+pa(e):e)}}async function wa(e,a,t){const o=await ra(e,a,t);if(o.protectedHeader.crit?.includes("b64")&&!1===o.protectedHeader.b64)throw new S("JWTs MUST NOT use unencoded payload");const n={payload:fa(o.protectedHeader,o.payload,t),protectedHeader:o.protectedHeader};return"function"==typeof a?{...n,key:o.key}:n}async function va(e,a,t){const o=await Be(e,a,t),n=fa(o.protectedHeader,o.plaintext,t),{protectedHeader:r}=o;if(void 0!==r.iss&&r.iss!==n.iss)throw new f('replicated "iss" claim header parameter mismatch',n,"iss","mismatch");if(void 0!==r.sub&&r.sub!==n.sub)throw new f('replicated "sub" claim header parameter mismatch',n,"sub","mismatch");if(void 0!==r.aud&&JSON.stringify(r.aud)!==JSON.stringify(n.aud))throw new f('replicated "aud" claim header parameter mismatch',n,"aud","mismatch");const i={payload:n,protectedHeader:r};return"function"==typeof a?{...i,key:o.key}:i}class xa{#d;constructor(e){this.#d=new Ye(e)}setContentEncryptionKey(e){return this.#d.setContentEncryptionKey(e),this}setInitializationVector(e){return this.#d.setInitializationVector(e),this}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}setKeyManagementParameters(e){return this.#d.setKeyManagementParameters(e),this}async encrypt(e,a){const t=await this.#d.encrypt(e,a);return[t.protected,t.encrypted_key,t.iv,t.ciphertext,t.tag].join(".")}}class Aa{#u;#a;#o;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this.#u=e}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setUnprotectedHeader(e){if(this.#o)throw new TypeError("setUnprotectedHeader can only be called once");return this.#o=e,this}async sign(e,a){if(!this.#a&&!this.#o)throw new E("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!G(this.#a,this.#o))throw new E("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const t={...this.#a,...this.#o};let o=!0;if(Me(E,new Map([["b64",!0]]),a?.crit,this.#a,t).has("b64")&&(o=this.#a.b64,"boolean"!=typeof o))throw new E('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:n}=t;if("string"!=typeof n||!n)throw new E('JWS "alg" (Algorithm) Header Parameter missing or invalid');let r,i,s,l;Xe(n,e,"sign"),o?(r=y(this.#u),i=h(r)):(i=this.#u,r=""),this.#a?(s=y(JSON.stringify(this.#a)),l=h(s)):(s="",l=new Uint8Array);const u=c(l,h("."),i),d=await We(e,n),m=await async function(e,a,t){const o=await oa(e,a,"sign");se(e,o);const n=await crypto.subtle.sign(ta(e,o.algorithm),o,t);return new Uint8Array(n)}(n,d,u),p={signature:y(m),payload:r};return this.#o&&(p.header=this.#o),this.#a&&(p.protected=s),p}}class Ea{#d;constructor(e){this.#d=new Aa(e)}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}async sign(e,a){const t=await this.#d.sign(e,a);if(void 0===t.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${t.protected}.${t.payload}.${t.signature}`}}class Sa{#c;protectedHeader;unprotectedHeader;options;key;constructor(e,a,t){this.#c=e,this.key=a,this.options=t}setProtectedHeader(e){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=e,this}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addSignature(...e){return this.#c.addSignature(...e)}sign(...e){return this.#c.sign(...e)}done(){return this.#c}}class ja{#u;#h=[];constructor(e){this.#u=e}addSignature(e,a){const t=new Sa(this,e,a);return this.#h.push(t),t}async sign(){if(!this.#h.length)throw new E("at least one signature must be added");const e={signatures:[],payload:""};for(let a=0;a<this.#h.length;a++){const t=this.#h[a],o=new Aa(this.#u);o.setProtectedHeader(t.protectedHeader),o.setUnprotectedHeader(t.unprotectedHeader);const{payload:n,...r}=await o.sign(t.key,t.options);if(0===a)e.payload=n;else if(e.payload!==n)throw new E("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(r)}return e}}class Ta{#a;#m;constructor(e={}){this.#m=new ka(e)}setIssuer(e){return this.#m.iss=e,this}setSubject(e){return this.#m.sub=e,this}setAudience(e){return this.#m.aud=e,this}setJti(e){return this.#m.jti=e,this}setNotBefore(e){return this.#m.nbf=e,this}setExpirationTime(e){return this.#m.exp=e,this}setIssuedAt(e){return this.#m.iat=e,this}setProtectedHeader(e){return this.#a=e,this}async sign(e,a){const t=new Ea(this.#m.data());if(t.setProtectedHeader(this.#a),Array.isArray(this.#a?.crit)&&this.#a.crit.includes("b64")&&!1===this.#a.b64)throw new S("JWTs MUST NOT use unencoded payload");return t.sign(e,a)}}class _a{#r;#i;#s;#a;#p;#g;#y;#m;constructor(e={}){this.#m=new ka(e)}setIssuer(e){return this.#m.iss=e,this}setSubject(e){return this.#m.sub=e,this}setAudience(e){return this.#m.aud=e,this}setJti(e){return this.#m.jti=e,this}setNotBefore(e){return this.#m.nbf=e,this}setExpirationTime(e){return this.#m.exp=e,this}setIssuedAt(e){return this.#m.iat=e,this}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setContentEncryptionKey(e){if(this.#r)throw new TypeError("setContentEncryptionKey can only be called once");return this.#r=e,this}setInitializationVector(e){if(this.#i)throw new TypeError("setInitializationVector can only be called once");return this.#i=e,this}replicateIssuerAsHeader(){return this.#p=!0,this}replicateSubjectAsHeader(){return this.#g=!0,this}replicateAudienceAsHeader(){return this.#y=!0,this}async encrypt(e,a){const t=new xa(this.#m.data());return this.#a&&(this.#p||this.#g||this.#y)&&(this.#a={...this.#a,iss:this.#p?this.#m.iss:void 0,sub:this.#g?this.#m.sub:void 0,aud:this.#y?this.#m.aud:void 0}),t.setProtectedHeader(this.#a),this.#i&&t.setInitializationVector(this.#i),this.#r&&t.setContentEncryptionKey(this.#r),this.#s&&t.setKeyManagementParameters(this.#s),t.encrypt(e,a)}}const Ca=(e,a)=>{if("string"!=typeof e||!e)throw new j(`${a} missing or invalid`)};async function Ia(e,a){let t,o;if(Oe(e))t=e;else{if(!B(e))throw new TypeError(R(e,"CryptoKey","KeyObject","JSON Web Key"));t=await Ze(e)}if(a??="sha256","sha256"!==a&&"sha384"!==a&&"sha512"!==a)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');switch(t.kty){case"AKP":Ca(t.alg,'"alg" (Algorithm) Parameter'),Ca(t.pub,'"pub" (Public key) Parameter'),o={alg:t.alg,kty:t.kty,pub:t.pub};break;case"EC":Ca(t.crv,'"crv" (Curve) Parameter'),Ca(t.x,'"x" (X Coordinate) Parameter'),Ca(t.y,'"y" (Y Coordinate) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":Ca(t.crv,'"crv" (Subtype of Key Pair) Parameter'),Ca(t.x,'"x" (Public Key) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x};break;case"RSA":Ca(t.e,'"e" (Exponent) Parameter'),Ca(t.n,'"n" (Modulus) Parameter'),o={e:t.e,kty:t.kty,n:t.n};break;case"oct":Ca(t.k,'"k" (Key Value) Parameter'),o={k:t.k,kty:t.kty};break;default:throw new v('"kty" (Key Type) Parameter missing or unsupported')}const n=h(JSON.stringify(o));return y(await ae(a,n))}async function Pa(e,a){a??="sha256";const t=await Ia(e,a);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${a.slice(-3)}:${t}`}async function za(e,a){const t={...e,...a?.header};if(!$(t.jwk))throw new E('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const o=await Pe({...t.jwk,ext:!0},t.alg);if(o instanceof Uint8Array||"public"!==o.type)throw new E('"jwk" (JSON Web Key) Header Parameter must be a public key');return o}function Ma(e){return $(e)}class Da{#b;#f=new WeakMap;constructor(e){if(!function(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(Ma)}(e))throw new T("JSON Web Key Set malformed");this.#b=structuredClone(e)}jwks(){return this.#b}async getKey(e,a){const{alg:t,kid:o}={...e,...a?.header},n=function(e){switch("string"==typeof e&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new v('Unsupported "alg" value for a JSON Web Key Set')}}(t),r=this.#b.keys.filter(e=>{let a=n===e.kty;if(a&&"string"==typeof o&&(a=o===e.kid),!a||"string"!=typeof e.alg&&"AKP"!==n||(a=t===e.alg),a&&"string"==typeof e.use&&(a="sig"===e.use),a&&Array.isArray(e.key_ops)&&(a=e.key_ops.includes("verify")),a)switch(t){case"ES256":a="P-256"===e.crv;break;case"ES384":a="P-384"===e.crv;break;case"ES512":a="P-521"===e.crv;break;case"Ed25519":case"EdDSA":a="Ed25519"===e.crv}return a}),{0:i,length:s}=r;if(0===s)throw new _;if(1!==s){const e=new C,a=this.#f;throw e[Symbol.asyncIterator]=async function*(){for(const e of r)try{yield await Oa(a,e,t)}catch{}},e}return Oa(this.#f,i,t)}}async function Oa(e,a,t){const o=e.get(a)||e.set(a,{}).get(a);if(void 0===o[t]){const e=await Pe({...a,ext:!0},t);if(e instanceof Uint8Array||"public"!==e.type)throw new T("JSON Web Key Set members must be public keys");o[t]=e}return o[t]}function Ha(e){const a=new Da(e),t=async(e,t)=>a.getKey(e,t);return Object.defineProperties(t,{jwks:{value:()=>structuredClone(a.jwks()),enumerable:!1,configurable:!1,writable:!1}}),t}let Na;"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(Na="jose/v6.1.3");const Ka=Symbol(),Wa=Symbol();class Ua{#k;#w;#v;#x;#A;#E;#S;#j;#T;#_;constructor(e,a){if(!(e instanceof URL))throw new TypeError("url must be an instance of URL");var t,o;this.#k=new URL(e.href),this.#w="number"==typeof a?.timeoutDuration?a?.timeoutDuration:5e3,this.#v="number"==typeof a?.cooldownDuration?a?.cooldownDuration:3e4,this.#x="number"==typeof a?.cacheMaxAge?a?.cacheMaxAge:6e5,this.#S=new Headers(a?.headers),Na&&!this.#S.has("User-Agent")&&this.#S.set("User-Agent",Na),this.#S.has("accept")||(this.#S.set("accept","application/json"),this.#S.append("accept","application/jwk-set+json")),this.#j=a?.[Ka],void 0!==a?.[Wa]&&(this.#_=a?.[Wa],t=a?.[Wa],o=this.#x,"object"==typeof t&&null!==t&&"uat"in t&&"number"==typeof t.uat&&!(Date.now()-t.uat>=o)&&"jwks"in t&&$(t.jwks)&&Array.isArray(t.jwks.keys)&&Array.prototype.every.call(t.jwks.keys,$)&&(this.#A=this.#_.uat,this.#T=Ha(this.#_.jwks)))}pendingFetch(){return!!this.#E}coolingDown(){return"number"==typeof this.#A&&Date.now()<this.#A+this.#v}fresh(){return"number"==typeof this.#A&&Date.now()<this.#A+this.#x}jwks(){return this.#T?.jwks()}async getKey(e,a){this.#T&&this.fresh()||await this.reload();try{return await this.#T(e,a)}catch(t){if(t instanceof _&&!1===this.coolingDown())return await this.reload(),this.#T(e,a);throw t}}async reload(){this.#E&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#E=void 0),this.#E||=async function(e,a,t,o=fetch){const n=await o(e,{method:"GET",signal:t,redirect:"manual",headers:a}).catch(e=>{if("TimeoutError"===e.name)throw new I;throw e});if(200!==n.status)throw new b("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await n.json()}catch{throw new b("Failed to parse the JSON Web Key Set HTTP response as JSON")}}(this.#k.href,this.#S,AbortSignal.timeout(this.#w),this.#j).then(e=>{this.#T=Ha(e),this.#_&&(this.#_.uat=Date.now(),this.#_.jwks=e),this.#A=Date.now(),this.#E=void 0}).catch(e=>{throw this.#E=void 0,e}),await this.#E}}function Ra(e,a){const t=new Ua(e,a),o=async(e,a)=>t.getKey(e,a);return Object.defineProperties(o,{coolingDown:{get:()=>t.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>t.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>t.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>t.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>t.jwks(),enumerable:!0,configurable:!1,writable:!1}}),o}class Ja{#m;constructor(e={}){this.#m=new ka(e)}encode(){return`${y(JSON.stringify({alg:"none"}))}.${y(this.#m.data())}.`}setIssuer(e){return this.#m.iss=e,this}setSubject(e){return this.#m.sub=e,this}setAudience(e){return this.#m.aud=e,this}setJti(e){return this.#m.jti=e,this}setNotBefore(e){return this.#m.nbf=e,this}setExpirationTime(e){return this.#m.exp=e,this}setIssuedAt(e){return this.#m.iat=e,this}static decode(e,a){if("string"!=typeof e)throw new S("Unsecured JWT must be a string");const{0:t,1:o,2:n,length:r}=e.split(".");if(3!==r||""!==n)throw new S("Invalid Unsecured JWT");let s;try{if(s=JSON.parse(i.decode(g(t))),"none"!==s.alg)throw new Error}catch{throw new S("Invalid Unsecured JWT")}return{payload:fa(s,g(o),a),header:s}}}function La(e){let a;if("string"==typeof e){const t=e.split(".");3!==t.length&&5!==t.length||([a]=t)}else if("object"==typeof e&&e){if(!("protected"in e))throw new TypeError("Token does not contain a Protected Header");a=e.protected}try{if("string"!=typeof a||!a)throw new Error;const e=JSON.parse(i.decode(g(a)));if(!$(e))throw new Error;return e}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}function Xa(e){if("string"!=typeof e)throw new S("JWTs must use Compact JWS serialization, JWT must be a string");const{1:a,length:t}=e.split(".");if(5===t)throw new S("Only JWTs using Compact JWS serialization can be decoded");if(3!==t)throw new S("Invalid JWT");if(!a)throw new S("JWTs must contain a payload");let o,n;try{o=g(a)}catch{throw new S("Failed to base64url decode the payload")}try{n=JSON.parse(i.decode(o))}catch{throw new S("Failed to parse the decoded payload as JSON")}if(!$(n))throw new S("Invalid JWT Claims Set");return n}function qa(e){const a=e?.modulusLength??2048;if("number"!=typeof a||a<2048)throw new v("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return a}async function Ba(e,a){let t,o;switch(e){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:qa(a)},o=["sign","verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:qa(a)},o=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:qa(a)},o=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":t={name:"ECDSA",namedCurve:"P-256"},o=["sign","verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},o=["sign","verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},o=["sign","verify"];break;case"Ed25519":case"EdDSA":o=["sign","verify"],t={name:"Ed25519"};break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":o=["sign","verify"],t={name:e};break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{o=["deriveBits"];const e=a?.crv??"P-256";switch(e){case"P-256":case"P-384":case"P-521":t={name:"ECDH",namedCurve:e};break;case"X25519":t={name:"X25519"};break;default:throw new v("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519")}break}default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(t,a?.extractable??!1,o)}async function Fa(e,a){let t,o,n;switch(e){case"HS256":case"HS384":case"HS512":t=parseInt(e.slice(-3),10),o={name:"HMAC",hash:`SHA-${t}`,length:t},n=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t=parseInt(e.slice(-3),10),crypto.getRandomValues(new Uint8Array(t>>3));case"A128KW":case"A192KW":case"A256KW":t=parseInt(e.slice(1,4),10),o={name:"AES-KW",length:t},n=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":t=parseInt(e.slice(1,4),10),o={name:"AES-GCM",length:t},n=["encrypt","decrypt"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(o,a?.extractable??!1,n)}const Ga="WebCryptoAPI"},4707:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})})},4715:e=>{e.exports=window.wp.blockEditor},4756:(e,a,t)=>{t.a(e,async(e,o)=>{try{t.d(a,{f:()=>_});var n=t(4715),r=t(6427),i=t(6087),s=t(7723),c=t(8351),l=t(4707),u=t(4079),d=t(8820),h=t(9214),m=t(1609),p=t(3752),g=t(544),y=t(1953),b=t(538),f=t(1923),k=t(790),w=e([f]),v=w.then?(await w)():w;f=v[0];const x={name:"gatey-theme",overrides:[p.defaultDarkModeOverride]},A=(0,s.__)(" (your current plan)",g.TEXT_DOMAIN),E=(e,a)=>{const t=(0,i.useRef)(a);(0,i.useLayoutEffect)(()=>{t.current=a},[a]),(0,i.useLayoutEffect)(()=>{const a=document.querySelector('iframe[name="editor-canvas"], iframe.block-editor-iframe'),o=a?.contentDocument;if(!o?.head)return;let n=o.getElementById(e);return n||(n=o.createElement("style"),n.id=e,o.head.appendChild(n)),n.textContent!==t.current&&(n.textContent=t.current),()=>n?.remove()},[e,a])},S=(0,y.getWpSuite)();let j;j=S?S.siteSettings:{};const T="dev.wpsuite.io"===window.location.host?"https://api.wpsuite.io/dev":"https://api.wpsuite.io",_=e=>{const{clientId:a,attributes:t,setAttributes:o}=e,{screen:i,variation:y,colorMode:w,language:v,direction:S,showOpenButton:_,openButtonTitle:C,signingInMessage:I,signingOutMessage:P,redirectingMessage:z,totpIssuer:M,uid:D,customCSS:O}=t,[H,N]=(0,m.useState)(!1),[K,W]=(0,m.useState)(),[U,R]=(0,m.useState)(),[J,L]=(0,m.useState)(),[X,q]=(0,m.useState)(),[B,F]=(0,m.useState)(i||"signIn"),[G,V]=(0,m.useState)(),[$,Z]=(0,m.useState)(),[Q,Y]=(0,m.useState)(),[ee,ae]=(0,m.useState)(),[te,oe]=(0,m.useState)(!1),[ne,re]=(0,m.useState)(),ie=(0,m.createRef)(),se=t.customCSS?.replace(/selector/g,`.wp-block-css-box-${D}`);E(`css-${D}`,se||"");const ce=(0,n.useBlockProps)({className:`wp-block-css-box-${D}`}),{children:le,...ue}=(0,n.useInnerBlocksProps)(ce);return(0,m.useEffect)(()=>{V(B)},[B]),(0,m.useEffect)(()=>{H||(N(!0),j.accountId&&j.siteId?fetch(T+"/account/"+j.accountId+"/site/"+j.siteId+(j.siteKey?"/settings":""),{headers:j.siteKey?{"X-Site-Key":j.siteKey}:{}}).then(e=>e.ok?e.json():Promise.reject(e)).then(e=>{var a,t;const o=e;W(null!==(a=o?.settings)&&void 0!==a?a:null),R(null!==(t=o?.subscriptionType)&&void 0!==t?t:null)}).catch(e=>{console.error("Error:",e.message),W(null),R(null)}):(W(null),R(null)))},[H]),(0,m.useEffect)(()=>{(0,g.getStore)().then(e=>{L(e)})},[]),(0,m.useEffect)(()=>{if(v&&ae(v),_){let e;switch(i){default:case"signIn":e=(0,p.translate)("Sign In");break;case"signUp":e=(0,p.translate)("Sign Up");break;case"forgotPassword":e=(0,p.translate)("Forgot Password");break;case"changePassword":e=(0,p.translate)("Change Password");break;case"editAccount":e=(0,p.translate)("Edit Account");break;case"setupTotp":e=(0,p.translate)("Setup TOTP")}Y(e)}},[i,v,_,o]),(0,m.useEffect)(()=>{let e=S;S&&"auto"!==S||(e="ar"===v||"he"===v?"rtl":"ltr"),Z(e)},[S,v]),(0,m.useEffect)(()=>{D||o({uid:a.slice(0,8)})},[a,o,D]),(0,k.jsx)("div",{...ue,children:(0,k.jsxs)("div",{ref:ie,children:[(0,k.jsxs)(n.InspectorControls,{children:[(0,k.jsxs)(r.PanelBody,{title:(0,s.__)("Settings",g.TEXT_DOMAIN),children:[(0,k.jsx)(r.ComboboxControl,{label:(0,s.__)("Initial Screen",g.TEXT_DOMAIN),value:i||"signIn",options:[{label:(0,s.__)("Sign In (default)",g.TEXT_DOMAIN),value:"signIn"},{label:(0,s.__)("Sign Up",g.TEXT_DOMAIN),value:"signUp"},{label:(0,s.__)("Forgot Password",g.TEXT_DOMAIN),value:"forgotPassword"},{label:(0,s.__)("Edit Account",g.TEXT_DOMAIN),value:"editAccount"},{label:(0,s.__)("Change Password",g.TEXT_DOMAIN),value:"changePassword"},{label:(0,s.__)("Setup TOTP",g.TEXT_DOMAIN),value:"setupTotp"}],onChange:e=>{o({screen:e}),F(e),V(void 0)},help:(0,s.__)("Choose the first screen that the authenticator shows.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.RadioControl,{label:(0,s.__)("Variation",g.TEXT_DOMAIN),selected:y||"default",options:[{label:(0,s.__)("Default",g.TEXT_DOMAIN),value:"default"},{label:(0,s.__)("Modal",g.TEXT_DOMAIN),value:"modal"}],onChange:e=>{o({variation:e||"default"})},help:(0,s.__)("Choose whether the authenticator appears as a full page (Default) or a modal dialog (Modal).",g.TEXT_DOMAIN)}),(0,k.jsx)(r.RadioControl,{label:(0,s.__)("Color Mode",g.TEXT_DOMAIN),selected:w||"system",options:b.ld,onChange:e=>{o({colorMode:e})},help:(0,s.__)("Select the authenticator’s color scheme—Light, Dark, or System (follows the user’s system preference).",g.TEXT_DOMAIN)}),(0,k.jsx)(r.ComboboxControl,{label:(0,s.__)("Language",g.TEXT_DOMAIN),value:v||"system",options:b.Po,onChange:e=>{o({language:e})},help:(0,s.__)("Set the authenticator’s display language.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.RadioControl,{label:(0,s.__)("Direction",g.TEXT_DOMAIN),selected:S||"auto",options:b.ED,onChange:e=>{o({direction:e})},help:(0,s.__)("Choose the authenticator’s layout direction—Auto (default; follows the selected language), Left‑to‑Right, or Right‑to‑Left.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("TOTP Issuer",g.TEXT_DOMAIN),value:M||"",placeholder:"AWSCognito",onChange:e=>{o({totpIssuer:e})},help:(0,s.__)("Enter the issuer name that will appear in the authenticator app (e.g., “My Company”).",g.TEXT_DOMAIN)}),(0,k.jsx)(r.CheckboxControl,{label:(0,s.__)("Show Open Button",g.TEXT_DOMAIN),checked:_||!1,onChange:e=>{o({showOpenButton:e})},help:(0,s.__)("Hide the authenticator behind a button. The button label defaults to the current screen title, or you can customise it in Open Button Title.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("Open Button Title",g.TEXT_DOMAIN),value:C||"",placeholder:Q||"",onChange:e=>{o({openButtonTitle:e})},help:(0,s.__)("Override the button label. Leave empty to use the current screen’s default title.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("Signing In Message",g.TEXT_DOMAIN),value:I||"",onChange:e=>{o({signingInMessage:e})},help:(0,s.__)("Specify the text that appears to the user while sign‑in is in progress.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("Signing Out Message",g.TEXT_DOMAIN),value:P||"",onChange:e=>{o({signingOutMessage:e})},help:(0,s.__)("Specify the text that appears to the user while sign‑out is in progress.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("Redirecting Message",g.TEXT_DOMAIN),value:z||"",onChange:e=>{o({redirectingMessage:e})},help:(0,s.__)("Specify the text that appears to the user while they are being redirected.",g.TEXT_DOMAIN)})]}),(0,k.jsx)(r.PanelBody,{title:(0,s.__)("Custom CSS",g.TEXT_DOMAIN),children:(0,k.jsx)(r.TextareaControl,{__nextHasNoMarginBottom:!0,value:O||"",onChange:e=>o({customCSS:e}),help:(0,s.__)("Add custom CSS styles for the authenticator. Use the `selector` keyword to target the authenticator block.",g.TEXT_DOMAIN)})})," "]}),(0,k.jsxs)(n.BlockControls,{children:[(0,k.jsx)(r.ToolbarGroup,{children:(0,k.jsx)(r.ToolbarDropdownMenu,{icon:u.A,label:"Preview Mode",controls:[{icon:"FREE"===X?c.A:null,title:(0,s.__)("Free",g.TEXT_DOMAIN)+(U?"":A),onClick:()=>q("FREE")},{icon:"PAID"===X?c.A:null,title:(0,s.__)("Paid",g.TEXT_DOMAIN)+("PROFESSIONAL"===U?A:""),onClick:()=>q("PAID")}]})}),(0,k.jsx)(r.ToolbarGroup,{children:(0,k.jsx)(r.ToolbarDropdownMenu,{icon:d.A,label:"Preview Screen",controls:[{icon:"signIn"===G?c.A:null,title:(0,s.__)("Sign In (default)",g.TEXT_DOMAIN),onClick:()=>{F("signIn"),V(void 0)}},{icon:"signUp"===G?c.A:null,title:(0,s.__)("Sign Up",g.TEXT_DOMAIN),onClick:()=>{F("signUp"),V(void 0)}},{icon:"forgotPassword"===G?c.A:null,title:(0,s.__)("Forgot Password",g.TEXT_DOMAIN),onClick:()=>{F("forgotPassword"),V(void 0)}},{icon:"editAccount"===G?c.A:null,title:(0,s.__)("Edit Account",g.TEXT_DOMAIN),onClick:()=>{F("editAccount"),V(void 0)}},{icon:"changePassword"===G?c.A:null,title:(0,s.__)("Change Password",g.TEXT_DOMAIN),onClick:()=>{F("changePassword"),V(void 0)}},{icon:"setupTotp"===G?c.A:null,title:(0,s.__)("Setup TOTP",g.TEXT_DOMAIN),onClick:()=>{F("setupTotp"),V(void 0)}}]})}),(0,k.jsx)(r.ToolbarGroup,{children:(0,k.jsx)(r.ToolbarButton,{icon:te?l.A:h.A,label:(0,s.__)(te?"Hide Customization":"Show Customization",g.TEXT_DOMAIN),onClick:()=>{oe(!te)}})})]}),(0,k.jsxs)("div",{style:{position:"relative",zIndex:ne},children:[J&&void 0!==K?(0,k.jsx)(p.ThemeProvider,{theme:x,colorMode:w,direction:$,children:(0,k.jsx)(f.q,{id:`gatey-authenticator-block-${D}`,className:`wp-block-css-box-${D}`,screen:G,variation:y,language:ee,direction:$,showOpenButton:_,openButtonTitle:C,signingInMessage:I,signingOutMessage:P,redirectingMessage:z,store:J,editorRef:ie,isPreview:!0,previewMode:X,setPreviewMode:q,setPreviewZIndex:re,siteSettings:K,siteSubscriptionType:U,children:le})}):(0,k.jsx)(k.Fragment,{children:(0,s.__)("Loading configuration...",g.TEXT_DOMAIN)}),(0,k.jsx)("div",{style:{display:te?"block":"none"},children:le})]})]})})};o()}catch(e){o(e)}})},4997:e=>{e.exports=window.wp.blocks},5052:(e,a,t)=>{t.d(a,{A:()=>n});var o=t(1609);const n=(e,a,t)=>{const[n,r]=(0,o.useState)(!1),[i,s]=(0,o.useState)(!1);if(null!=a&&a.threshold&&a.threshold>1)throw new Error("'threshold' must be between 0 and 1");return(0,o.useEffect)(()=>{const o=new IntersectionObserver(([a])=>{var o,n,c,l;const u=a.isIntersecting;r(u),u?(null==(o=null==t?void 0:t.onTriggerEnter)||o.call(t,e),i||(s(!0),null==(n=null==t?void 0:t.onFirstVisible)||n.call(t,e))):null==(c=null==t?void 0:t.onTriggerExit)||c.call(t,e),null==(l=null==t?void 0:t.onChangeVisibility)||l.call(t,u,e)},{threshold:(null==a?void 0:a.threshold)||0});return e.current&&o.observe(e.current),()=>{e.current&&o.unobserve(e.current)}},[e,i]),n}},5338:(e,a,t)=>{var o=t(5795);a.H=o.createRoot,o.hydrateRoot},5573:e=>{e.exports=window.wp.primitives},5795:e=>{e.exports=window.ReactDOM},5930:(e,a,t)=>{t.d(a,{Q:()=>o});const o=(0,t(6087).createContext)(null)},6087:e=>{e.exports=window.wp.element},6427:e=>{e.exports=window.wp.components},7143:e=>{e.exports=window.wp.data},7723:e=>{e.exports=window.wp.i18n},8184:(e,a,t)=>{var o=t(1609),n=t(5338),r=(t(428),t(544)),i=t(3752),s=t(7143),c=t(9684),l=t(790);const u=e=>{var a,t;const{id:n,isPreview:u,store:d,component:h,attribute:m,custom:p,colorMode:g,language:y,direction:b,link:f={},prefix:k,postfix:w}=e,v={name:"gatey-theme-"+n,overrides:[i.defaultDarkModeOverride]},x=(0,s.useSelect)(()=>(0,r.getStoreSelect)(d).getLanguage(),[]),A=(0,s.useSelect)(()=>(0,r.getStoreSelect)(d).getDirection(),[]),[E]=(0,o.useState)(null!==(a=new URLSearchParams(window.location.search).get("language"))&&void 0!==a?a:""),[S]=(0,o.useState)(null!==(t=new URLSearchParams(window.location.search).get("direction"))&&void 0!==t?t:""),j=(0,o.useMemo)(()=>{const e=x||E||y;return e&&"system"!==e?e:""},[y,E,x]),T=(0,o.useMemo)(()=>{const e=A||S||b;return e&&"auto"!==e?e:"ar"===j||"he"===j?"rtl":"ltr"},[j,b,A,S]);return(0,l.jsx)(i.ThemeProvider,{theme:v,colorMode:g,direction:T,children:(0,l.jsx)(c.c,{id:n,isPreview:u,store:d,component:h,attribute:m,custom:p,language:j,direction:T,link:f,prefix:k,postfix:w})})},d=new Map;try{const e=async e=>{const a=document.querySelector("#"+e);if(a){jQuery(a).data("rendered","true");const t="true"===a.getAttribute("data-is-preview"),i=a.getAttribute("data-component"),s=a.getAttribute("data-attribute"),c=a.getAttribute("data-custom"),h=a.getAttribute("data-color-mode"),m=a.getAttribute("data-language"),p=a.getAttribute("data-direction"),g=a.getAttribute("data-link")?JSON.parse(a.getAttribute("data-link")||"{}"):{},y=a.getAttribute("data-prefix")||"",b=a.getAttribute("data-postfix")||"",f=(0,n.H)(a),k=await(0,r.getStore)();d.has(e)?a.innerHTML=d.get(e)||"":d.set(e,a.innerHTML||""),f.render((0,l.jsx)(o.StrictMode,{children:(0,l.jsx)(u,{id:e,isPreview:t,store:k,component:i,attribute:s,custom:c,colorMode:h,language:m,direction:p,link:g,prefix:y,postfix:b})}))}};jQuery(document).on("gatey-account-attribute-block",(a,t)=>e(t)),jQuery(window).on("elementor/frontend/init",function(){jQuery(document).on("gatey-account-attribute-block",(a,t)=>e(t))})}catch(e){console.error(e)}},8351:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})})},8820:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(o.Path,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})})},8858:e=>{e.exports=JSON.parse('{"UU":"gatey/authenticator","DD":"Authenticator","L1":"wpsuite-gatey","h_":"Gatey Authenticator","uK":{"screen":{"type":"string"},"variation":{"type":"string"},"colorMode":{"type":"string"},"showOpenButton":{"type":"boolean"},"openButtonTitle":{"type":"string"},"signingInMessage":{"type":"string"},"signingOutMessage":{"type":"string"},"redirectingMessage":{"type":"string"},"language":{"type":"string"},"direction":{"type":"string"},"totpIssuer":{"type":"string"},"uid":{"type":"string"},"customCSS":{"type":"string","default":"selector {\\n\\t\\n}"}}}')},9214:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsxs)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,n.jsx)(o.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,n.jsx)(o.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]})},9599:(e,a,t)=>{var o=t(544),n=t(4997);const r=JSON.parse('{"UU":"gatey/form-field","DD":"Form Field","L1":"wpsuite-gatey","h_":"Form Field for Gatey Authenticator - display a form field on sign-up or edit-account page.","uK":{"attribute":{"type":"string"},"custom":{"type":"string"},"required":{"type":"boolean"},"hidden":{"type":"boolean"},"label":{"type":"string"},"labelHidden":{"type":"boolean"},"placeholder":{"type":"string"},"autocomplete":{"type":"string"},"defaultValue":{"type":"string"},"defaultChecked":{"type":"boolean"},"dialCode":{"type":"string"},"dialCodeList":{"type":"array"},"countryCode":{"type":"string"},"countryCodeList":{"type":"array"}}}');var i=t(3752),s=t(4715),c=t(6427),l=t(7143),u=t(6087),d=t(7723),h=t(1609),m=t(5930),p=t(538),g=t(790);const y=(0,g.jsxs)("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("path",{d:"M5.5 8.557A2.08 2.08 0 0 1 7 8v1c-.74 0-.948.417-1 .571v5.86c.048.143.251.569 1 .569v1a2.08 2.08 0 0 1-1.5-.557A2.08 2.08 0 0 1 4 17v-1c.74 0 .948-.417 1-.571v-5.86C4.952 9.426 4.749 9 4 9V8a2.08 2.08 0 0 1 1.5.557zM23 6.5v12a1.502 1.502 0 0 1-1.5 1.5h-19A1.502 1.502 0 0 1 1 18.5v-12A1.502 1.502 0 0 1 2.5 5h19A1.502 1.502 0 0 1 23 6.5zm-1 0a.5.5 0 0 0-.5-.5h-19a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h19a.5.5 0 0 0 .5-.5zM12 17h1v-1h-1zm-2 0h1v-1h-1zm-2 0h1v-1H8zm6 0h1v-1h-1zm4 0h1v-1h-1zm-2 0h1v-1h-1z"}),(0,g.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"})]});(0,n.registerBlockType)(r.UU,{attributes:r.uK,title:r.DD,category:r.L1,description:r.h_,textdomain:o.TEXT_DOMAIN,edit:e=>{const{context:a,attributes:t,setAttributes:n,clientId:r}=e,{attribute:y,custom:b,required:f,hidden:k,label:w,labelHidden:v,placeholder:x,autocomplete:A,defaultValue:E,defaultChecked:S,dialCode:j,dialCodeList:T,countryCodeList:_}=t,{"gatey/custom-block/component":C}=a,I=(0,l.select)("core/block-editor").getBlock(r),P=(0,u.useContext)(m.Q),{updateBlock:z}=(0,l.useDispatch)("core/block-editor"),M=(0,s.useBlockProps)(),{...D}=(0,s.useInnerBlocksProps)(M),O=(0,h.useCallback)(e=>{if(i.defaultFormFieldOptions[e]){var a,t,o;const n=i.defaultFormFieldOptions[e];return{attribute:e,custom:"",required:null!==(a=n?.isRequired)&&void 0!==a&&a,hidden:null!==(t=n?.hidden)&&void 0!==t&&t,label:n?.label||"",labelHidden:null!==(o=n?.labelHidden)&&void 0!==o&&o,placeholder:n?.placeholder||"",defaultValue:"",defaultChecked:!1,autocomplete:n?.autocomplete||"off",dialCode:n?.dialCode,dialCodeList:n?.dialCodeList,countryCodeList:n?.countryCodeList}}return{attribute:e,custom:"",required:!1,hidden:!1,label:"",labelHidden:!1,placeholder:"",autocomplete:"off",defaultValue:"",defaultChecked:!1}},[]);(0,h.useEffect)(()=>{let e="";e=y?i.authFieldsWithDefaults.includes(y)?y:"custom"===y?"custom:"+(b||""):b||"":b||"",I&&void 0!==e&&I.attributes.anchor!==e&&z(r,{attributes:{...t,anchor:e}})},[y,t,I,r,b,z]);const H=(0,h.useMemo)(()=>{let e="";return e=y?i.authFieldsWithDefaults.includes(y)?y:"custom"===y?"custom:"+(b||""):b||"":b||"",e},[y,b]),N=(0,h.useMemo)(()=>H in i.defaultFormFieldOptions?i.defaultFormFieldOptions[H].type||"text":P?.formFields?P?.formFields.find(e=>e.name===H)?.type||"text":void 0,[P,H]),K=[];return K.push({label:(0,d.__)("Username",o.TEXT_DOMAIN),value:"username"}),"SignUp"===C&&(K.push({label:(0,d.__)("Password",o.TEXT_DOMAIN),value:"password"}),K.push({label:(0,d.__)("Confirm Password",o.TEXT_DOMAIN),value:"confirm_password"})),p.rB.forEach(e=>K.push(e)),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.InspectorControls,{children:(0,g.jsxs)(c.PanelBody,{title:(0,d.__)("Settings",o.TEXT_DOMAIN),children:[(0,g.jsx)(c.ComboboxControl,{label:(0,d.__)("Attribute",o.TEXT_DOMAIN),value:y||"",options:K,onChange:e=>{n(O(e))},placeholder:(0,d.__)("Select an attribute",o.TEXT_DOMAIN),allowReset:!0}),"custom"===y&&(0,g.jsx)(c.TextControl,{label:(0,d.__)("Custom Attribute",o.TEXT_DOMAIN),value:null!=b?b:"",onChange:e=>{n({custom:e})},placeholder:(0,d.__)("Enter custom attribute",o.TEXT_DOMAIN)}),"checkbox"===N&&(0,g.jsx)(c.CheckboxControl,{label:(0,d.__)("Checked by default",o.TEXT_DOMAIN),checked:null!=S&&S,onChange:e=>{n({defaultChecked:e})},help:(0,d.__)("Make this field checked by default.",o.TEXT_DOMAIN)}),("radio"===N||"select"===N||"country"===N)&&(0,g.jsx)(c.TextControl,{label:(0,d.__)("Default Value",o.TEXT_DOMAIN),value:E||"",onChange:e=>{n({defaultValue:e})},placeholder:(0,d.__)("Enter default value",o.TEXT_DOMAIN)}),(0,g.jsx)(c.CheckboxControl,{label:(0,d.__)("Required",o.TEXT_DOMAIN),checked:null!=f&&f,onChange:e=>{n({required:e})},help:(0,d.__)("Make this field mandatory.",o.TEXT_DOMAIN)}),(0,g.jsx)(c.CheckboxControl,{label:(0,d.__)("Hidden",o.TEXT_DOMAIN),checked:null!=k&&k,onChange:e=>{n({hidden:e})},help:(0,d.__)("Hide this field from users.",o.TEXT_DOMAIN)}),(0,g.jsx)(c.TextControl,{label:(0,d.__)("Label",o.TEXT_DOMAIN),value:w||"",onChange:e=>{n({label:e})},placeholder:(0,d.__)("Enter label",o.TEXT_DOMAIN)}),(0,g.jsx)(c.CheckboxControl,{label:(0,d.__)("Label Hidden",o.TEXT_DOMAIN),checked:null!=v&&v,onChange:e=>{n({labelHidden:e})},help:(0,d.__)("Hide the label for this field.",o.TEXT_DOMAIN)}),(0,g.jsx)(c.TextControl,{label:(0,d.__)("Placeholder",o.TEXT_DOMAIN),value:x||"",onChange:e=>{n({placeholder:e})},placeholder:(0,d.__)("Enter placeholder",o.TEXT_DOMAIN)}),(0,g.jsx)(c.TextControl,{label:(0,d.__)("Auto Complete",o.TEXT_DOMAIN),value:A||"off",onChange:e=>{n({autocomplete:e})},help:(0,d.__)("Desired autocomplete HTML attribute.",o.TEXT_DOMAIN)}),"tel"===N&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.TextControl,{label:(0,d.__)("Dial Code",o.TEXT_DOMAIN),value:j||"",onChange:e=>{n({dialCode:e})},placeholder:(0,d.__)("Enter dial code",o.TEXT_DOMAIN),help:(0,d.__)("Enter a single dial code starting with “+” (e.g., “+1”).",o.TEXT_DOMAIN)}),(0,g.jsx)(c.TextControl,{label:(0,d.__)("Dial Code List",o.TEXT_DOMAIN),value:T?.join(", ")||"",onChange:e=>{n({dialCodeList:e.split(",").map(e=>e.trim().toUpperCase())})},placeholder:(0,d.__)("Enter dial codes separated by commas:",o.TEXT_DOMAIN),help:(0,d.__)("Enter one or more dial codes, each starting with “+” (example: +36, +44). Separate codes with commas. To remove a code, highlight it together with its comma and press Delete.",o.TEXT_DOMAIN)})]}),"country"===N&&(0,g.jsx)(c.TextControl,{label:(0,d.__)("Country Code List",o.TEXT_DOMAIN),value:_?.join(", ")||"",onChange:e=>{n({countryCodeList:e.split(",").map(e=>e.trim().toUpperCase())})},placeholder:(0,d.__)("Enter country codes separated by commas",o.TEXT_DOMAIN),help:(0,d.__)("Enter 3‑letter ISO 3166‑1 alpha‑3 country codes, separated by commas (example: USA, HUN). To remove a code, highlight it together with its comma and press Delete.",o.TEXT_DOMAIN)})]})}),(0,g.jsxs)("div",{...D,"data-attribute":y,"data-custom":b,"data-default-checked":S,"data-required":f,"data-hidden":k,"data-label":w,"data-label-hidden":v,"data-placeholder":x,"data-autocomplete":A||"off","data-dial-code":j||"","data-dial-code-list":T?.join(", ")||"","data-country-code-list":_?.join(", ")||"",children:[(0,g.jsx)(i.Text,{as:"p",children:H})," "]})]})},save:()=>{const e=s.useBlockProps.save(),{children:a,...t}=s.useInnerBlocksProps.save(e);return(0,g.jsx)("div",{...t,children:a})},icon:y})},9684:(e,a,t)=>{t.d(a,{c:()=>c});var o=t(1609),n=t(3752),r=t(7143),i=t(544),s=t(790);n.I18n.putVocabularies(n.translations);const c=e=>{const{isPreview:a,store:t,component:c,attribute:l,custom:u,language:d,link:h,prefix:m,postfix:p}=e,g=(0,r.useSelect)(()=>(0,i.getStoreSelect)(t).getConfig(),[]),y=(0,r.useSelect)(()=>(0,i.getStoreSelect)(t).getAccount(),[]),b=(0,r.useSelect)(()=>(0,i.getStoreSelect)(t).getCustomTranslations(),[]),f=(0,o.useMemo)(()=>{const e="custom"!==l?l:"custom:"+u;if(a)return e;if(y?.userAttributes){const a=g?.formFields&&g?.formFields.find(a=>a.name===e);let o=y.userAttributes[e];if(o)if("country"===a?.type){const e=n.countries.all.find(e=>e.alpha3?.toLocaleLowerCase()===o?.toLocaleLowerCase()||e.alpha2?.toLocaleLowerCase()===o?.toLocaleLowerCase());e&&(o=(0,n.translate)(e.name))}else if("select"===a?.type||"radio"===a?.type){var t;const e=(null!==(t=a?.values)&&void 0!==t?t:[]).find(e=>e.value===o);e&&(o=(0,n.translate)(e.label))}return null!=o?o:""}return""},[g,a,y,l,u]),k=(h?.nofollow?"nofollow ":"")+(h?.opensInNewTab?"noopener noreferrer":"");return(0,o.useEffect)(()=>{n.I18n.putVocabularies(b||{}),d&&"system"!==d?n.I18n.setLanguage(d):n.I18n.setLanguage("")},[d,b]),h?.url?(0,s.jsx)("a",{href:h.url,target:h.opensInNewTab?"_blank":void 0,rel:k,onClick:e=>{a&&e.preventDefault()},children:(0,s.jsxs)(n.View,{as:c,children:[m,f||(0,s.jsx)(s.Fragment,{children:" "}),p]})}):(0,s.jsxs)(n.View,{as:c,children:[m,f||(0,s.jsx)(s.Fragment,{children:" "}),p]})}},9731:(e,a,t)=>{var o=t(544),n=t(4997);const r=JSON.parse('{"UU":"gatey/custom-block","DD":"Custom Block","L1":"wpsuite-gatey","h_":"Custom Block for Gatey Authenticator","uK":{"anchor":{"type":"string"},"component":{"type":"string"},"part":{"type":"string"}}}');var i=t(4715),s=t(6427),c=t(7143),l=t(7723),u=t(1609),d=t(3752),h=t(790);const m=[{label:(0,l.__)("Header",o.TEXT_DOMAIN),value:"Header"},{label:(0,l.__)("Footer",o.TEXT_DOMAIN),value:"Footer"}],p=[{label:(0,l.__)("Header",o.TEXT_DOMAIN),value:"Header"},{label:(0,l.__)("Form Fields",o.TEXT_DOMAIN),value:"FormFields"},{label:(0,l.__)("Footer",o.TEXT_DOMAIN),value:"Footer"}],g=(0,h.jsxs)("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",children:[(0,h.jsx)("title",{children:"Custom Block"}),(0,h.jsx)("path",{stroke:"#000000","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9.5 5H9a2 2 0 0 0-2 2v2c0 1-.6 3-3 3 1 0 3 .6 3 3v2a2 2 0 0 0 2 2h.5m5-14h.5a2 2 0 0 1 2 2v2c0 1 .6 3 3 3-1 0-3 .6-3 3v2a2 2 0 0 1-2 2h-.5"})]});(0,n.registerBlockType)(r.UU,{attributes:r.uK,title:r.DD,category:r.L1,description:r.h_,textdomain:o.TEXT_DOMAIN,edit:e=>{const{clientId:a,attributes:t,setAttributes:r}=e,{component:g,part:y}=t,b=(0,i.useBlockProps)(),{children:f,...k}=(0,i.useInnerBlocksProps)(b),w=(0,c.select)("core/block-editor"),{insertBlocks:v,updateBlock:x}=(0,c.useDispatch)("core/block-editor"),A=(0,u.useCallback)(()=>{let e;switch(g){case"SignUp":e="signUp";break;case"EditAccount":e="editAccount"}if(!e)return;const t=(0,o.getGateyPlugin)(),r=w.getClientIdsOfDescendants([a]),i=(0,d.getSortedFormFields)(e,{context:{config:{loginMechanisms:t.settings.loginMechanisms,signUpAttributes:t.settings.signUpAttributes}}}).filter(([e])=>!r.find(a=>{const t=w.getBlock(a);return"gatey/form-field"===t.name&&t.attributes.attribute===e})).map(([e,a])=>(0,n.createBlock)("gatey/form-field",{...a,attribute:e,required:a.isRequired,type:a.type||"text"}));i.length>0&&v(i,void 0,a)},[g,w,a,v]);(0,u.useEffect)(()=>{let e;g&&"Global"!==g&&(e=g),y&&(e=e?e+"-"+y:y);const o=w.getBlock(a);o&&e&&o.attributes.anchor!==e&&x(a,{attributes:{...t,anchor:e}})},[t,a,g,y,x,w]);const E=(0,u.useMemo)(()=>{let e;return g&&"Global"!==g&&(e=g),y&&(e=e?e+"-"+y:y),e},[g,y]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i.InspectorControls,{children:(0,h.jsxs)(s.PanelBody,{title:(0,l.__)("Settings",o.TEXT_DOMAIN),children:[(0,h.jsx)(s.ComboboxControl,{label:(0,l.__)("Component",o.TEXT_DOMAIN),value:g||"Global",options:[{label:(0,l.__)("Global",o.TEXT_DOMAIN),value:"Global"},{label:(0,l.__)("Change Password",o.TEXT_DOMAIN),value:"ChangePassword"},{label:(0,l.__)("Confirm Sign In",o.TEXT_DOMAIN),value:"ConfirmSignIn"},{label:(0,l.__)("Confirm Sign Up",o.TEXT_DOMAIN),value:"ConfirmSignUp"},{label:(0,l.__)("Confirm Reset Password",o.TEXT_DOMAIN),value:"ConfirmResetPassword"},{label:(0,l.__)("Confirm Verify User",o.TEXT_DOMAIN),value:"ConfirmVerifyUser"},{label:(0,l.__)("Edit Account",o.TEXT_DOMAIN),value:"EditAccount"},{label:(0,l.__)("Force New Password",o.TEXT_DOMAIN),value:"ForceNewPassword"},{label:(0,l.__)("Forgot Password",o.TEXT_DOMAIN),value:"ForgotPassword"},{label:(0,l.__)("Setup TOTP",o.TEXT_DOMAIN),value:"SetupTotp"},{label:(0,l.__)("Sign In",o.TEXT_DOMAIN),value:"SignIn"},{label:(0,l.__)("Sign Up",o.TEXT_DOMAIN),value:"SignUp"},{label:(0,l.__)("Verify User",o.TEXT_DOMAIN),value:"VerifyUser"}],onChange:e=>{e&&r({component:e})},help:(0,l.__)("Select the authenticator screen you want to customise. The custom block’s content will be injected into the chosen screen.",o.TEXT_DOMAIN)}),(0,h.jsx)(s.RadioControl,{label:(0,l.__)("Part",o.TEXT_DOMAIN),selected:y||"",options:"SignUp"===g||"EditAccount"===g?p:m,onChange:e=>{e&&r({part:e})},help:(0,l.__)("Choose which part of that screen to override. The custom block’s children will be rendered in the selected section.",o.TEXT_DOMAIN)}),("SignUp"===g||"EditAccount"===g)&&"FormFields"===y&&(0,h.jsx)(s.Button,{variant:"primary",onClick:A,style:{width:"100%"},children:(0,l.__)("Add Missing Form Fields",o.TEXT_DOMAIN)})]})}),(0,h.jsx)("div",{...k,children:(0,h.jsxs)("details",{"custom-part":E,children:[(0,h.jsx)("summary",{children:E}),f]})})]})},save:()=>{const e=i.useBlockProps.save(),{children:a,...t}=i.useInnerBlocksProps.save(e);return(0,h.jsx)("div",{...t,children:a})},icon:g})},9757:(e,a,t)=>{t.a(e,async(e,o)=>{try{t.d(a,{a:()=>h});var n=t(1609),r=t(5052),i=t(3752),s=(t(1880),t(7143)),c=t(544),l=t(1953),u=t(790);const e=await Promise.all([t.e(594),t.e(858)]).then(t.bind(t,3858)),d=(0,c.getGateyPlugin)(),h=a=>{var t;const{id:o,className:h,store:m,screen:p,variation:g,language:y,direction:b,signingInMessage:f,signingOutMessage:k,redirectingMessage:w,totpIssuer:v,isPreview:x,children:A,editorRef:E,config:S,containerRef:j}=a,[T,_]=(0,n.useState)(!1),[C,I]=(0,n.useState)(!1),[P,z]=(0,n.useState)(!0),[M,D]=(0,n.useState)(),[O,H]=(0,n.useState)(!1),[N,K]=(0,n.useState)(),W=(0,s.useSelect)(()=>(0,c.getStoreSelect)(m).getAccount(),[]),U=(0,s.useSelect)(()=>(0,c.getStoreSelect)(m).getNextUrl(),[]),R=(0,s.useSelect)(()=>(0,c.getStoreSelect)(m).isSignedIn(),[]),{clearAccount:J,reloadUserAttributes:L,reloadMFAPreferences:X,setSignedIn:q}=(0,c.getStoreDispatch)(m),B=new URLSearchParams(window.location.search),[F]=(0,n.useState)("true"===B.get("loggedout")),[G]=(0,n.useState)(B.get("redirect_to")),[V]=(0,n.useState)(B.get("reauth")),{authStatus:$,route:Z,toSignIn:Q,toSignUp:Y,toForgotPassword:ee,toSetupTotp:ae,toEditAccount:te}=(0,i.useAuthenticator)(e=>[e.user,e.authStatus,e.route]),[oe]=(0,n.useState)(R&&!W?.loaded&&"1"!==V),ne=(0,r.A)(j,{threshold:0},{onTriggerExit:()=>z(jQuery("#"+o).length>0)}),re=(0,n.useCallback)(async()=>{if(!d.settings?.reCaptchaPublicKey)return;const{execute:e}=await(0,l.getRecaptcha)(d.settings?.useRecaptchaEnterprise||!1);return e?await e(d.settings?.reCaptchaPublicKey,{action:"signup"}):void 0},[]),ie=(0,n.useCallback)((e,a)=>{j.current&&jQuery(j.current).trigger(e+".gatey-authenticator",{screen:p,...a})},[j,p]),se=(0,n.useMemo)(()=>({async done(){"editAccount"===p&&L(),"setupTotp"===p&&X(),ie("done")},async handleCancel(){ie("cancel")},async handleSignUp(e){if(d.settings?.reCaptchaPublicKey){const a=await re();a&&(e.options=e.options||{userAttributes:{}},e.options.validationData={recaptchaToken:a})}return(0,i.signUp)(e).catch(e=>{throw e})}}),[p,ie,L,X,re]),ce=(0,n.useMemo)(()=>ne&&P,[ne,P]);(0,n.useEffect)(()=>{E?.current&&K(E.current.innerHTML)},[A,E]);const le=(0,n.useMemo)(()=>{if(void 0!==S)return A&&null!==S?e.default(S,x,W,A,N,b):{}},[S,A,x,W,N,b]);(0,n.useEffect)(()=>{if(p||"setup"===Z)switch("setup"===Z?p:Z){case"signUp":Y();break;case"forgotPassword":ee();break;case"setupTotp":ae();break;case"editAccount":te();break;case"signIn":Q()}},[p,Z,ee,Q,Y,ae,te]),(0,n.useEffect)(()=>{d.cognito.toSignIn=Q,d.cognito.toSignUp=Y,d.cognito.toForgotPassword=ee},[ee,Q,Y]),(0,n.useEffect)(()=>{"signIn"!==p||x||T||!F||queueMicrotask(()=>{if(oe)D(k),ie("signing-out"),J();else{ie("signed-out");const e=G||U||d.settings.redirectSignOut||d.settings.signInPage;e&&(H(!0),window.location.assign(e))}_(!0)})},[G,F,x,T,p,ie,m,oe,U,J,k]),(0,n.useEffect)(()=>{x||"signIn"!==p||F||"authenticated"!==$||C||queueMicrotask(()=>{if(oe){ie("signed-in");let e=G||U||d.settings.redirectSignIn||d.settings.signInPage;e?.endsWith("/")&&(e=e.substring(0,e.length-1));let a=location.pathname;a.endsWith("/")&&(a=a.substring(0,a.length-1)),e&&e!==a+location.search?(H(!0),window.location.assign(e)):I(!0)}else I(!0),q(!0),D(f),ie("signing-in")})},[$,G,x,F,ie,p,q,oe,C,U,f]),(0,n.useEffect)(()=>{"signIn"===p&&queueMicrotask(()=>{if(C)if("authenticated"===Z){if(ie("signed-in"),void 0!==U){const e=G||U||d.settings.redirectSignIn||d.settings.signInPage;e&&(H(!0),window.location.assign(e))}}else"transition"!==Z&&(D(void 0),ie("reset"))})},[G,Z,U,C,T,ie,p]),(0,n.useEffect)(()=>{ie("open")},[ie]);let ue=null!==(t=W?.userAttributes?.preferred_username)&&void 0!==t?t:W?.username;return d.settings?.loginMechanisms.includes("username")||(ue=d.settings?.loginMechanisms.includes("email")?W?.userAttributes?.email:W?.userAttributes?.phone_number),(0,u.jsx)(i.View,{ref:j,className:h,width:g&&"default"!==g?"0":"100%",children:ce&&(0,u.jsx)(i.Flex,{children:le&&void 0!==S&&("changePassword"===p?(0,u.jsx)(i.View,{"data-amplify-authenticator":!0,"data-variation":g,children:(0,u.jsx)(i.View,{"data-amplify-container":!0,children:(0,u.jsx)(i.View,{"data-amplify-router":!0,children:(0,u.jsx)(i.View,{"data-amplify-form":!0,"data-amplify-authenticator-changepassword":!0,children:(0,u.jsx)(i.AccountSettings.ChangePassword,{forceInitialState:x,header:le.ChangePassword?.Header,footer:le.ChangePassword?.Footer,onSuccess:()=>ie("done"),onCancel:se.handleCancel,variation:g})})})})}):(0,u.jsx)("div",{style:{display:"flex",flexDirection:"column",width:"100%"},children:O&&w?(0,u.jsx)(i.View,{"data-amplify-authenticator":!0,"data-variation":g,children:(0,u.jsx)(i.View,{"data-amplify-container":!0,children:(0,u.jsx)(i.View,{"data-amplify-router":!0,children:(0,u.jsx)(i.View,{"data-amplify-form":!0,"data-amplify-authenticator-message":!0,style:{textAlign:"center"},children:(0,u.jsx)(i.Heading,{level:4,children:(0,i.translate)(w)})})})})}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Authenticator,{loginMechanisms:d.settings?.loginMechanisms,language:y,textDirection:b,services:se,initialState:p,signUpAttributes:d.settings?.signUpAttributes,socialProviders:d.settings?.socialProviders,customProviders:S?.customProviders,components:le,forceInitialState:x,variation:g,totpIssuer:v,totpUsername:ue,children:!O&&M&&(0,u.jsx)(i.View,{"data-amplify-authenticator":!0,"data-variation":g,children:(0,u.jsx)(i.View,{"data-amplify-container":!0,children:(0,u.jsx)(i.View,{"data-amplify-router":!0,children:(0,u.jsx)(i.View,{"data-amplify-form":!0,"data-amplify-authenticator-message":!0,style:{textAlign:"center"},children:O?(0,u.jsx)(i.Heading,{level:4,children:(0,i.translate)(w)}):(0,u.jsx)(i.Heading,{level:4,children:(0,i.translate)(M)})})})})})}),("signIn"===Z||"signUp"===Z)&&(0,u.jsx)(i.View,{"data-amplify-authenticator":!0,hidden:!d.settings?.enablePoweredBy,className:d.settings?.enablePoweredBy?void 0:"sr-only",children:(0,u.jsx)(i.View,{"data-amplify-container":!0,children:(0,u.jsx)(i.View,{"data-amplify-router":Z,style:{border:0,boxShadow:"none"},children:(0,u.jsxs)(i.Text,{as:"p",variation:"tertiary",textAlign:"right",fontSize:"var(--amplify-components-textfield-font-size)",children:["Powered by"," ",(0,u.jsx)(i.Link,{as:"a",href:"https://wpsuite.io/gatey/",isExternal:!0,fontWeight:400,children:"WPSuite Gatey"})]})})})})]})}))})})};o()}catch(e){o(e)}},1)}},c={};function l(e){var a=c[e];if(void 0!==a)return a.exports;var t=c[e]={id:e,loaded:!1,exports:{}};return s[e].call(t.exports,t,t.exports,l),t.loaded=!0,t.exports}l.m=s,e="function"==typeof Symbol,a=e?Symbol("webpack queues"):"__webpack_queues__",t=e?Symbol("webpack exports"):"__webpack_exports__",o=e?Symbol("webpack error"):"__webpack_error__",n=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},l.a=(e,r,i)=>{var s;i&&((s=[]).d=-1);var c,l,u,d=new Set,h=e.exports,m=new Promise((e,a)=>{u=a,l=e});m[t]=h,m[a]=e=>(s&&e(s),d.forEach(e),m.catch(e=>{})),e.exports=m,r(e=>{var r;c=(e=>e.map(e=>{if(null!==e&&"object"==typeof e){if(e[a])return e;if(e.then){var r=[];r.d=0,e.then(e=>{i[t]=e,n(r)},e=>{i[o]=e,n(r)});var i={};return i[a]=e=>e(r),i}}var s={};return s[a]=e=>{},s[t]=e,s}))(e);var i=()=>c.map(e=>{if(e[o])throw e[o];return e[t]}),l=new Promise(e=>{(r=()=>e(i)).r=0;var t=e=>e!==s&&!d.has(e)&&(d.add(e),e&&!e.d&&(r.r++,e.push(r)));c.map(e=>e[a](t))});return r.r?l:i()},e=>(e?u(m[o]=e):l(h),n(s))),s&&s.d<0&&(s.d=0)},l.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return l.d(a,{a}),a},l.d=(e,a)=>{for(var t in a)l.o(a,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((a,t)=>(l.f[t](e,a),a),[])),l.u=e=>e+".js?ver="+{594:"c5ac6fc24b220e356445",858:"bdb33a496de5fc231535"}[e],l.miniCssF=e=>{},l.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},i="@smart-cloud/gatey-blocks:",l.l=(e,a,t,o)=>{if(r[e])r[e].push(a);else{var n,s;if(void 0!==t)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+t){n=d;break}}n||(s=!0,(n=document.createElement("script")).charset="utf-8",l.nc&&n.setAttribute("nonce",l.nc),n.setAttribute("data-webpack",i+t),n.src=e),r[e]=[a];var h=(a,t)=>{n.onerror=n.onload=null,clearTimeout(m);var o=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach(e=>e(t)),a)return a(t)},m=setTimeout(h.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=h.bind(null,n.onerror),n.onload=h.bind(null,n.onload),s&&document.head.appendChild(n)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var a=globalThis.document;if(!e&&a&&(a.currentScript&&"SCRIPT"===a.currentScript.tagName.toUpperCase()&&(e=a.currentScript.src),!e)){var t=a.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e})(),(()=>{var e={57:0};l.f.j=(a,t)=>{var o=l.o(e,a)?e[a]:void 0;if(0!==o)if(o)t.push(o[2]);else{var n=new Promise((t,n)=>o=e[a]=[t,n]);t.push(o[2]=n);var r=l.p+l.u(a),i=new Error;l.l(r,t=>{if(l.o(e,a)&&(0!==(o=e[a])&&(e[a]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;i.message="Loading chunk "+a+" failed.\n("+n+": "+r+")",i.name="ChunkLoadError",i.type=n,i.request=r,o[1](i)}},"chunk-"+a,a)}};var a=(a,t)=>{var o,n,[r,i,s]=t,c=0;if(r.some(a=>0!==e[a])){for(o in i)l.o(i,o)&&(l.m[o]=i[o]);s&&s(l)}for(a&&a(t);c<r.length;c++)n=r[c],l.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=globalThis.webpackChunk_smart_cloud_gatey_blocks=globalThis.webpackChunk_smart_cloud_gatey_blocks||[];t.forEach(a.bind(null,0)),t.push=a.bind(null,t.push.bind(t))})(),l(1481),l(8184),l(746),l(567),l(9731),l(9599),l(538)})();1 (()=>{"use strict";var e,a,t,o,n,r,i,s={237:(e,a,t)=>{t.a(e,async(e,o)=>{try{t.d(a,{B:()=>h});var n=t(1609),r=t(3752),i=t(7143),s=t(544),c=t(1923),l=t(790),u=e([c]),d=u.then?(await u)():u;c=d[0];const h=e=>{var a,t;const{id:o,className:u,isPreview:d,store:h,editorRef:m,children:p,showOpenButton:g,openButtonTitle:y,language:b,screen:f,variation:k,colorMode:w,direction:v,signingInMessage:x,signingOutMessage:A,redirectingMessage:E,totpIssuer:S}=e,j={name:"gatey-theme-"+o,overrides:[r.defaultDarkModeOverride]},[T,_]=(0,n.useState)(),[C,I]=(0,n.useState)(),P=(0,i.useSelect)(()=>(0,s.getStoreSelect)(h).getLanguage(),[]),z=(0,i.useSelect)(()=>(0,s.getStoreSelect)(h).getDirection(),[]),[M]=(0,n.useState)(null!==(a=new URLSearchParams(window.location.search).get("language"))&&void 0!==a?a:""),[D]=(0,n.useState)(null!==(t=new URLSearchParams(window.location.search).get("direction"))&&void 0!==t?t:"");return(0,n.useEffect)(()=>{queueMicrotask(()=>{const e=P||M||b;_(e&&"system"!==e?e:"")})},[b,M,P]),(0,n.useEffect)(()=>{queueMicrotask(()=>{const e=z||D||v;I(e&&"auto"!==e?e:"ar"===T||"he"===T?"rtl":"ltr")})},[T,v,z,D]),(0,l.jsx)(r.ThemeProvider,{theme:j,colorMode:w,direction:C,children:(0,l.jsx)(c.q,{id:o,className:u,store:h,editorRef:m,screen:f,variation:k,language:T,direction:C,showOpenButton:g,openButtonTitle:y,signingInMessage:x,signingOutMessage:A,redirectingMessage:E,totpIssuer:S,isPreview:d,children:p})})};o()}catch(e){o(e)}})},259:(e,a,t)=>{function o(e,a){let t=0,o=e.length,n=!1;if(!a){if(e.startsWith("data:"))return null;for(;t<e.length&&e.charCodeAt(t)<=32;)t+=1;for(;o>t+1&&e.charCodeAt(o-1)<=32;)o-=1;if(47===e.charCodeAt(t)&&47===e.charCodeAt(t+1))t+=2;else{const a=e.indexOf(":/",t);if(-1!==a){const o=a-t,n=e.charCodeAt(t),r=e.charCodeAt(t+1),i=e.charCodeAt(t+2),s=e.charCodeAt(t+3),c=e.charCodeAt(t+4);if(5===o&&104===n&&116===r&&116===i&&112===s&&115===c);else if(4===o&&104===n&&116===r&&116===i&&112===s);else if(3===o&&119===n&&115===r&&115===i);else if(2===o&&119===n&&115===r);else for(let o=t;o<a;o+=1){const a=32|e.charCodeAt(o);if(!(a>=97&&a<=122||a>=48&&a<=57||46===a||45===a||43===a))return null}for(t=a+2;47===e.charCodeAt(t);)t+=1}}let a=-1,r=-1,i=-1;for(let s=t;s<o;s+=1){const t=e.charCodeAt(s);if(35===t||47===t||63===t){o=s;break}64===t?a=s:93===t?r=s:58===t?i=s:t>=65&&t<=90&&(n=!0)}if(-1!==a&&a>t&&a<o&&(t=a+1),91===e.charCodeAt(t))return-1!==r?e.slice(t+1,r).toLowerCase():null;-1!==i&&i>t&&i<o&&(o=i)}for(;o>t+1&&46===e.charCodeAt(o-1);)o-=1;const r=0!==t||o!==e.length?e.slice(t,o):e;return n?r.toLowerCase():r}function n(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function r(e){if(e.length>255)return!1;if(0===e.length)return!1;if(!n(e.charCodeAt(0))&&46!==e.charCodeAt(0)&&95!==e.charCodeAt(0))return!1;let a=-1,t=-1;const o=e.length;for(let r=0;r<o;r+=1){const o=e.charCodeAt(r);if(46===o){if(r-a>64||46===t||45===t||95===t)return!1;a=r}else if(!n(o)&&45!==o&&95!==o)return!1;t=o}return o-a-1<=63&&45!==t}t.r(a),t.d(a,{getDomain:()=>y,getDomainWithoutSuffix:()=>f,getHostname:()=>p,getPublicSuffix:()=>g,getSubdomain:()=>b,parse:()=>m});const i=function({allowIcannDomains:e=!0,allowPrivateDomains:a=!1,detectIp:t=!0,extractHostname:o=!0,mixedInputs:n=!0,validHosts:r=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:a,detectIp:t,extractHostname:o,mixedInputs:n,validHosts:r,validateHostname:i}}({});function s(e,a,t,n,s){const c=function(e){return void 0===e?i:function({allowIcannDomains:e=!0,allowPrivateDomains:a=!1,detectIp:t=!0,extractHostname:o=!0,mixedInputs:n=!0,validHosts:r=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:a,detectIp:t,extractHostname:o,mixedInputs:n,validHosts:r,validateHostname:i}}(e)}(n);return"string"!=typeof e?s:(c.extractHostname?c.mixedInputs?s.hostname=o(e,r(e)):s.hostname=o(e,!1):s.hostname=e,c.detectIp&&null!==s.hostname&&(s.isIp=function(e){if(e.length<3)return!1;let a=e.startsWith("[")?1:0,t=e.length;if("]"===e[t-1]&&(t-=1),t-a>39)return!1;let o=!1;for(;a<t;a+=1){const t=e.charCodeAt(a);if(58===t)o=!0;else if(!(t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=90))return!1}return o}(l=s.hostname)||function(e){if(e.length<7)return!1;if(e.length>15)return!1;let a=0;for(let t=0;t<e.length;t+=1){const o=e.charCodeAt(t);if(46===o)a+=1;else if(o<48||o>57)return!1}return 3===a&&46!==e.charCodeAt(0)&&46!==e.charCodeAt(e.length-1)}(l),s.isIp)?s:c.validateHostname&&c.extractHostname&&null!==s.hostname&&!r(s.hostname)?(s.hostname=null,s):(0===a||null===s.hostname||(t(s.hostname,c,s),2===a||null===s.publicSuffix||(s.domain=function(e,a,t){if(null!==t.validHosts){const e=t.validHosts;for(const t of e)if(function(e,a){return!!e.endsWith(a)&&(e.length===a.length||"."===e[e.length-a.length-1])}(a,t))return t}let o=0;if(a.startsWith("."))for(;o<a.length&&"."===a[o];)o+=1;return e.length===a.length-o?null:function(e,a){const t=e.length-a.length-2,o=e.lastIndexOf(".",t);return-1===o?e:e.slice(o+1)}(a,e)}(s.publicSuffix,s.hostname,c),3===a||null===s.domain||(s.subdomain=function(e,a){return a.length===e.length?"":e.slice(0,-a.length-1)}(s.hostname,s.domain),4===a||(s.domainWithoutSuffix=(u=s.domain,d=s.publicSuffix,u.slice(0,-d.length-1)))))),s));var l,u,d}const c=function(){const e=[1,{}],a=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:a,kitakyushu:a,kobe:a,nagoya:a,sapporo:a,sendai:a,yokohama:a}]}]}(),l=function(){const e=[1,{}],a=[2,{}],t=[1,{com:e,edu:e,gov:e,net:e,org:e}],o=[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e}],n=[0,{"*":a}],r=[2,{s:n}],i=[0,{relay:a}],s=[2,{id:a}],c=[1,{gov:e}],l=[0,{airflow:n,"lambda-url":a,"transfer-webapp":a}],u=[0,{airflow:n,"transfer-webapp":a}],d=[0,{"transfer-webapp":a,"transfer-webapp-fips":a}],h=[0,{notebook:a,studio:a}],m=[0,{labeling:a,notebook:a,studio:a}],p=[0,{notebook:a}],g=[0,{labeling:a,notebook:a,"notebook-fips":a,studio:a}],y=[0,{notebook:a,"notebook-fips":a,studio:a,"studio-fips":a}],b=[0,{shop:a}],f=[0,{"*":e}],k=[1,{co:a}],w=[0,{objects:a}],v=[2,{nodes:a}],x=[0,{my:a}],A=[0,{s3:a,"s3-accesspoint":a,"s3-website":a}],E=[0,{s3:a,"s3-accesspoint":a}],S=[0,{direct:a}],j=[0,{"webview-assets":a}],T=[0,{vfs:a,"webview-assets":a}],_=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:T}],C=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:E,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:T}],I=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:T}],P=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a}],z=[0,{s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-website":a}],M=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:z,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:T}],D=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:z,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-deprecated":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:T}],O=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:[0,{s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a}],s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a}],H=[0,{auth:a}],N=[0,{auth:a,"auth-fips":a}],K=[0,{"auth-fips":a}],W=[0,{apps:a}],U=[0,{paas:a}],R=[2,{eu:a}],J=[0,{app:a}],L=[0,{site:a}],X=[1,{com:e,edu:e,net:e,org:e}],q=[0,{j:a}],B=[0,{dyn:a}],F=[2,{web:a}],G=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],V=[0,{p:a}],$=[0,{user:a}],Z=[0,{cdn:a}],Q=[2,{raw:n}],Y=[0,{cust:a,reservd:a}],ee=[0,{cust:a}],ae=[0,{s3:a}],te=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],oe=[0,{ipfs:a}],ne=[1,{framer:a}],re=[0,{forgot:a}],ie=[1,{gs:e}],se=[0,{nes:e}],ce=[1,{k12:e,cc:e,lib:e}],le=[1,{cc:e}],ue=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,drr:a,feedback:a,forms:a}],ad:e,ae:[1,{ac:e,co:e,gov:e,mil:e,net:e,org:e,sch:e}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:t,ag:[1,{co:e,com:e,net:e,nom:e,org:e,obj:a}],ai:[1,{com:e,net:e,off:e,org:e,uwu:a,framer:a}],al:o,am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:a}],ao:[1,{co:e,ed:e,edu:e,gov:e,gv:e,it:e,og:e,org:e,pb:e}],aq:e,ar:[1,{bet:e,com:e,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,seg:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:c,asia:[1,{cloudns:a,daemon:a,dix:a}],at:[1,{4:a,ac:[1,{sth:e}],co:e,gv:e,or:e,funkfeuer:[0,{wien:a}],futurecms:[0,{"*":a,ex:n,in:n}],futurehosting:a,futuremailing:a,ortsinfo:[0,{ex:n,kunden:n}],biz:a,info:a,"123webseite":a,priv:a,my:a,myspreadshop:a,"12hp":a,"2ix":a,"4lima":a,"lima-city":a}],au:[1,{asn:e,com:[1,{cloudlets:[0,{mel:a}],myspreadshop:a}],edu:[1,{act:e,catholic:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],id:e,net:e,org:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e,hrsn:[0,{vps:a}]}],aw:[1,{com:e}],ax:e,az:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,int:e,mil:e,name:e,net:e,org:e,pp:e,pro:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,brendly:b,rs:a}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:[1,{ac:e,ai:e,co:e,com:e,edu:e,gov:e,id:e,info:e,it:e,mil:e,net:e,org:e,sch:e,tv:e}],be:[1,{ac:e,cloudns:a,webhosting:a,interhostsolutions:[0,{cloud:a}],kuleuven:[0,{ezproxy:a}],"123website":a,myspreadshop:a,transurl:n}],bf:c,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,barsy:a}],bh:t,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:a,"cloud-ip":a,cloudns:a,jozi:a,dyndns:a,"for-better":a,"for-more":a,"for-some":a,"for-the":a,selfip:a,webhop:a,orx:a,mmafan:a,myftp:a,"no-ip":a,dscloud:a}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,restaurant:e,resto:e,tourism:e,univ:e}],bm:t,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:a}],bo:[1,{com:e,edu:e,gob:e,int:e,mil:e,net:e,org:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,plurinacional:e,politica:e,profesional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,api:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{simplesite:a}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,ia:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:a,al:a,am:a,ap:a,ba:a,ce:a,df:a,es:a,go:a,ma:a,mg:a,ms:a,mt:a,pa:a,pb:a,pe:a,pi:a,pr:a,rj:a,rn:a,ro:a,rr:a,rs:a,sc:a,se:a,sp:a,to:a}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:f,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,social:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,xyz:e,zlg:e,tche:a}],bs:[1,{com:e,edu:e,gov:e,net:e,org:e,we:a}],bt:t,bv:e,bw:[1,{ac:e,co:e,gov:e,net:e,org:e}],by:[1,{gov:e,mil:e,com:e,of:e,mediatech:a}],bz:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,za:a,mydns:a,gsj:a}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:a,awdev:n,co:a,"no-ip":a,onid:a,myspreadshop:a,box:a}],cat:e,cc:[1,{cleverapps:a,"cloud-ip":a,cloudns:a,ftpaccess:a,"game-server":a,myphotos:a,scrapping:a,twmail:a,csx:a,fantasyleague:a,spawn:[0,{instances:a}]}],cd:c,cf:e,cg:e,ch:[1,{square7:a,cloudns:a,cloudscale:[0,{cust:a,lpg:w,rma:w}],objectstorage:[0,{lpg:a,rma:a}],flow:[0,{ae:[0,{alp1:a}],appengine:a}],"linkyard-cloud":a,gotdns:a,dnsking:a,"123website":a,myspreadshop:a,firenet:[0,{"*":a,svc:n}],"12hp":a,"2ix":a,"4lima":a,"lima-city":a}],ci:[1,{ac:e,"xn--aroport-bya":e,aéroport:e,asso:e,co:e,com:e,ed:e,edu:e,go:e,gouv:e,int:e,net:e,or:e,org:e}],ck:f,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:a}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,rds:n,dualstack:A,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a}],"cn-northwest-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,rds:n,dualstack:E,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a}],compute:n,airflow:[0,{"cn-north-1":n,"cn-northwest-1":n}],eb:[0,{"cn-north-1":a,"cn-northwest-1":a}],elb:n}],amazonwebservices:[0,{on:[0,{"cn-north-1":u,"cn-northwest-1":u}]}],sagemaker:[0,{"cn-north-1":h,"cn-northwest-1":h}]}],edu:e,gov:e,mil:e,net:e,org:e,"xn--55qx5d":e,公司:e,"xn--od0alg":e,網絡:e,"xn--io0a7i":e,网络:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gx:e,gz:e,ha:e,hb:e,he:e,hi:e,hk:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,mo:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:a}],sn:e,sx:e,tj:e,tw:e,xj:e,xz:e,yn:e,zj:e,"canva-apps":a,canvasite:x,myqnapcloud:a,quickconnect:S}],co:[1,{com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,carrd:a,crd:a,otap:n,hidns:a,leadpages:a,lpages:a,mypi:a,xmit:n,firewalledreplit:s,repl:s,supabase:[2,{realtime:a,storage:a}],umso:a}],com:[1,{a2hosted:a,cpserver:a,adobeaemcloud:[2,{dev:n}],africa:a,aivencloud:a,alibabacloudcs:a,kasserver:a,amazonaws:[0,{"af-south-1":_,"ap-east-1":C,"ap-northeast-1":I,"ap-northeast-2":I,"ap-northeast-3":_,"ap-south-1":I,"ap-south-2":P,"ap-southeast-1":I,"ap-southeast-2":I,"ap-southeast-3":P,"ap-southeast-4":P,"ap-southeast-5":[0,{"execute-api":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a}],"ca-central-1":M,"ca-west-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:z,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a}],"eu-central-1":I,"eu-central-2":P,"eu-north-1":C,"eu-south-1":_,"eu-south-2":P,"eu-west-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:T}],"eu-west-2":C,"eu-west-3":_,"il-central-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:[0,{vfs:a}]}],"me-central-1":P,"me-south-1":C,"sa-east-1":_,"us-east-1":[2,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:z,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-deprecated":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:T}],"us-east-2":D,"us-gov-east-1":O,"us-gov-west-1":O,"us-west-1":M,"us-west-2":D,compute:n,"compute-1":n,airflow:[0,{"af-south-1":n,"ap-east-1":n,"ap-northeast-1":n,"ap-northeast-2":n,"ap-northeast-3":n,"ap-south-1":n,"ap-south-2":n,"ap-southeast-1":n,"ap-southeast-2":n,"ap-southeast-3":n,"ap-southeast-4":n,"ap-southeast-5":n,"ap-southeast-7":n,"ca-central-1":n,"ca-west-1":n,"eu-central-1":n,"eu-central-2":n,"eu-north-1":n,"eu-south-1":n,"eu-south-2":n,"eu-west-1":n,"eu-west-2":n,"eu-west-3":n,"il-central-1":n,"me-central-1":n,"me-south-1":n,"sa-east-1":n,"us-east-1":n,"us-east-2":n,"us-west-1":n,"us-west-2":n}],rds:[0,{"af-south-1":n,"ap-east-1":n,"ap-east-2":n,"ap-northeast-1":n,"ap-northeast-2":n,"ap-northeast-3":n,"ap-south-1":n,"ap-south-2":n,"ap-southeast-1":n,"ap-southeast-2":n,"ap-southeast-3":n,"ap-southeast-4":n,"ap-southeast-5":n,"ap-southeast-6":n,"ap-southeast-7":n,"ca-central-1":n,"ca-west-1":n,"eu-central-1":n,"eu-central-2":n,"eu-west-1":n,"eu-west-2":n,"eu-west-3":n,"il-central-1":n,"me-central-1":n,"me-south-1":n,"mx-central-1":n,"sa-east-1":n,"us-east-1":n,"us-east-2":n,"us-gov-east-1":n,"us-gov-west-1":n,"us-northeast-1":n,"us-west-1":n,"us-west-2":n}],s3:a,"s3-1":a,"s3-ap-east-1":a,"s3-ap-northeast-1":a,"s3-ap-northeast-2":a,"s3-ap-northeast-3":a,"s3-ap-south-1":a,"s3-ap-southeast-1":a,"s3-ap-southeast-2":a,"s3-ca-central-1":a,"s3-eu-central-1":a,"s3-eu-north-1":a,"s3-eu-west-1":a,"s3-eu-west-2":a,"s3-eu-west-3":a,"s3-external-1":a,"s3-fips-us-gov-east-1":a,"s3-fips-us-gov-west-1":a,"s3-global":[0,{accesspoint:[0,{mrap:a}]}],"s3-me-south-1":a,"s3-sa-east-1":a,"s3-us-east-2":a,"s3-us-gov-east-1":a,"s3-us-gov-west-1":a,"s3-us-west-1":a,"s3-us-west-2":a,"s3-website-ap-northeast-1":a,"s3-website-ap-southeast-1":a,"s3-website-ap-southeast-2":a,"s3-website-eu-west-1":a,"s3-website-sa-east-1":a,"s3-website-us-east-1":a,"s3-website-us-gov-west-1":a,"s3-website-us-west-1":a,"s3-website-us-west-2":a,elb:n}],amazoncognito:[0,{"af-south-1":H,"ap-east-1":H,"ap-northeast-1":H,"ap-northeast-2":H,"ap-northeast-3":H,"ap-south-1":H,"ap-south-2":H,"ap-southeast-1":H,"ap-southeast-2":H,"ap-southeast-3":H,"ap-southeast-4":H,"ap-southeast-5":H,"ap-southeast-7":H,"ca-central-1":H,"ca-west-1":H,"eu-central-1":H,"eu-central-2":H,"eu-north-1":H,"eu-south-1":H,"eu-south-2":H,"eu-west-1":H,"eu-west-2":H,"eu-west-3":H,"il-central-1":H,"me-central-1":H,"me-south-1":H,"mx-central-1":H,"sa-east-1":H,"us-east-1":N,"us-east-2":N,"us-gov-east-1":K,"us-gov-west-1":K,"us-west-1":N,"us-west-2":N}],amplifyapp:a,awsapprunner:n,awsapps:a,elasticbeanstalk:[2,{"af-south-1":a,"ap-east-1":a,"ap-northeast-1":a,"ap-northeast-2":a,"ap-northeast-3":a,"ap-south-1":a,"ap-southeast-1":a,"ap-southeast-2":a,"ap-southeast-3":a,"ap-southeast-5":a,"ap-southeast-7":a,"ca-central-1":a,"eu-central-1":a,"eu-north-1":a,"eu-south-1":a,"eu-south-2":a,"eu-west-1":a,"eu-west-2":a,"eu-west-3":a,"il-central-1":a,"me-central-1":a,"me-south-1":a,"sa-east-1":a,"us-east-1":a,"us-east-2":a,"us-gov-east-1":a,"us-gov-west-1":a,"us-west-1":a,"us-west-2":a}],awsglobalaccelerator:a,siiites:a,appspacehosted:a,appspaceusercontent:a,"on-aptible":a,myasustor:a,"balena-devices":a,boutir:a,bplaced:a,cafjs:a,"canva-apps":a,"canva-hosted-embed":a,canvacode:a,"rice-labs":a,"cdn77-storage":a,br:a,cn:a,de:a,eu:a,jpn:a,mex:a,ru:a,sa:a,uk:a,us:a,za:a,"clever-cloud":[0,{services:n}],abrdns:a,dnsabr:a,"ip-ddns":a,jdevcloud:a,wpdevcloud:a,"cf-ipfs":a,"cloudflare-ipfs":a,trycloudflare:a,co:a,devinapps:n,builtwithdark:a,datadetect:[0,{demo:a,instance:a}],dattolocal:a,dattorelay:a,dattoweb:a,mydatto:a,digitaloceanspaces:n,discordsays:a,discordsez:a,drayddns:a,dreamhosters:a,durumis:a,blogdns:a,cechire:a,dnsalias:a,dnsdojo:a,doesntexist:a,dontexist:a,doomdns:a,"dyn-o-saur":a,dynalias:a,"dyndns-at-home":a,"dyndns-at-work":a,"dyndns-blog":a,"dyndns-free":a,"dyndns-home":a,"dyndns-ip":a,"dyndns-mail":a,"dyndns-office":a,"dyndns-pics":a,"dyndns-remote":a,"dyndns-server":a,"dyndns-web":a,"dyndns-wiki":a,"dyndns-work":a,"est-a-la-maison":a,"est-a-la-masion":a,"est-le-patron":a,"est-mon-blogueur":a,"from-ak":a,"from-al":a,"from-ar":a,"from-ca":a,"from-ct":a,"from-dc":a,"from-de":a,"from-fl":a,"from-ga":a,"from-hi":a,"from-ia":a,"from-id":a,"from-il":a,"from-in":a,"from-ks":a,"from-ky":a,"from-ma":a,"from-md":a,"from-mi":a,"from-mn":a,"from-mo":a,"from-ms":a,"from-mt":a,"from-nc":a,"from-nd":a,"from-ne":a,"from-nh":a,"from-nj":a,"from-nm":a,"from-nv":a,"from-oh":a,"from-ok":a,"from-or":a,"from-pa":a,"from-pr":a,"from-ri":a,"from-sc":a,"from-sd":a,"from-tn":a,"from-tx":a,"from-ut":a,"from-va":a,"from-vt":a,"from-wa":a,"from-wi":a,"from-wv":a,"from-wy":a,getmyip:a,gotdns:a,"hobby-site":a,homelinux:a,homeunix:a,iamallama:a,"is-a-anarchist":a,"is-a-blogger":a,"is-a-bookkeeper":a,"is-a-bulls-fan":a,"is-a-caterer":a,"is-a-chef":a,"is-a-conservative":a,"is-a-cpa":a,"is-a-cubicle-slave":a,"is-a-democrat":a,"is-a-designer":a,"is-a-doctor":a,"is-a-financialadvisor":a,"is-a-geek":a,"is-a-green":a,"is-a-guru":a,"is-a-hard-worker":a,"is-a-hunter":a,"is-a-landscaper":a,"is-a-lawyer":a,"is-a-liberal":a,"is-a-libertarian":a,"is-a-llama":a,"is-a-musician":a,"is-a-nascarfan":a,"is-a-nurse":a,"is-a-painter":a,"is-a-personaltrainer":a,"is-a-photographer":a,"is-a-player":a,"is-a-republican":a,"is-a-rockstar":a,"is-a-socialist":a,"is-a-student":a,"is-a-teacher":a,"is-a-techie":a,"is-a-therapist":a,"is-an-accountant":a,"is-an-actor":a,"is-an-actress":a,"is-an-anarchist":a,"is-an-artist":a,"is-an-engineer":a,"is-an-entertainer":a,"is-certified":a,"is-gone":a,"is-into-anime":a,"is-into-cars":a,"is-into-cartoons":a,"is-into-games":a,"is-leet":a,"is-not-certified":a,"is-slick":a,"is-uberleet":a,"is-with-theband":a,"isa-geek":a,"isa-hockeynut":a,issmarterthanyou:a,"likes-pie":a,likescandy:a,"neat-url":a,"saves-the-whales":a,selfip:a,"sells-for-less":a,"sells-for-u":a,servebbs:a,"simple-url":a,"space-to-rent":a,"teaches-yoga":a,writesthisblog:a,ddnsfree:a,ddnsgeek:a,giize:a,gleeze:a,kozow:a,loseyourip:a,ooguy:a,theworkpc:a,mytuleap:a,"tuleap-partners":a,encoreapi:a,evennode:[0,{"eu-1":a,"eu-2":a,"eu-3":a,"eu-4":a,"us-1":a,"us-2":a,"us-3":a,"us-4":a}],onfabrica:a,"fastly-edge":a,"fastly-terrarium":a,"fastvps-server":a,mydobiss:a,firebaseapp:a,fldrv:a,forgeblocks:a,framercanvas:a,"freebox-os":a,freeboxos:a,freemyip:a,aliases121:a,gentapps:a,gentlentapis:a,githubusercontent:a,"0emm":n,appspot:[2,{r:n}],blogspot:a,codespot:a,googleapis:a,googlecode:a,pagespeedmobilizer:a,withgoogle:a,withyoutube:a,grayjayleagues:a,hatenablog:a,hatenadiary:a,herokuapp:a,gr:a,smushcdn:a,wphostedmail:a,wpmucdn:a,pixolino:a,"apps-1and1":a,"live-website":a,"webspace-host":a,dopaas:a,"hosted-by-previder":U,hosteur:[0,{"rag-cloud":a,"rag-cloud-ch":a}],"ik-server":[0,{jcloud:a,"jcloud-ver-jpc":a}],jelastic:[0,{demo:a}],massivegrid:U,wafaicloud:[0,{jed:a,ryd:a}],"eu1-plenit":a,"la1-plenit":a,"us1-plenit":a,webadorsite:a,joyent:[0,{cns:n}],"on-forge":a,"on-vapor":a,lpusercontent:a,linode:[0,{members:a,nodebalancer:n}],linodeobjects:n,linodeusercontent:[0,{ip:a}],localtonet:a,lovableproject:a,barsycenter:a,barsyonline:a,lutrausercontent:n,modelscape:a,mwcloudnonprod:a,polyspace:a,mazeplay:a,miniserver:a,atmeta:a,fbsbx:W,meteorapp:R,routingthecloud:a,"same-app":a,"same-preview":a,mydbserver:a,mochausercontent:a,hostedpi:a,"mythic-beasts":[0,{caracal:a,customer:a,fentiger:a,lynx:a,ocelot:a,oncilla:a,onza:a,sphinx:a,vs:a,x:a,yali:a}],nospamproxy:[0,{cloud:[2,{o365:a}]}],"4u":a,nfshost:a,"3utilities":a,blogsyte:a,ciscofreak:a,damnserver:a,ddnsking:a,ditchyourip:a,dnsiskinky:a,dynns:a,geekgalaxy:a,"health-carereform":a,homesecuritymac:a,homesecuritypc:a,myactivedirectory:a,mysecuritycamera:a,myvnc:a,"net-freaks":a,onthewifi:a,point2this:a,quicksytes:a,securitytactics:a,servebeer:a,servecounterstrike:a,serveexchange:a,serveftp:a,servegame:a,servehalflife:a,servehttp:a,servehumour:a,serveirc:a,servemp3:a,servep2p:a,servepics:a,servequake:a,servesarcasm:a,stufftoread:a,unusualperson:a,workisboring:a,myiphost:a,observableusercontent:[0,{static:a}],simplesite:a,oaiusercontent:n,orsites:a,operaunite:a,"customer-oci":[0,{"*":a,oci:n,ocp:n,ocs:n}],oraclecloudapps:n,oraclegovcloudapps:n,"authgear-staging":a,authgearapps:a,skygearapp:a,outsystemscloud:a,ownprovider:a,pgfog:a,pagexl:a,gotpantheon:a,paywhirl:n,upsunapp:a,"postman-echo":a,prgmr:[0,{xen:a}],"project-study":[0,{dev:a}],pythonanywhere:R,qa2:a,"alpha-myqnapcloud":a,"dev-myqnapcloud":a,mycloudnas:a,mynascloud:a,myqnapcloud:a,qualifioapp:a,ladesk:a,qualyhqpartner:n,qualyhqportal:n,qbuser:a,quipelements:n,rackmaze:a,"readthedocs-hosted":a,rhcloud:a,onrender:a,render:J,"subsc-pay":a,"180r":a,dojin:a,sakuratan:a,sakuraweb:a,x0:a,code:[0,{builder:n,"dev-builder":n,"stg-builder":n}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":n}]}]}]}],logoip:a,scrysec:a,"firewall-gateway":a,myshopblocks:a,myshopify:a,shopitsite:a,"1kapp":a,appchizi:a,applinzi:a,sinaapp:a,vipsinaapp:a,streamlitapp:a,"try-snowplow":a,"playstation-cloud":a,myspreadshop:a,"w-corp-staticblitz":a,"w-credentialless-staticblitz":a,"w-staticblitz":a,"stackhero-network":a,stdlib:[0,{api:a}],strapiapp:[2,{media:a}],"streak-link":a,streaklinks:a,streakusercontent:a,"temp-dns":a,dsmynas:a,familyds:a,mytabit:a,taveusercontent:a,"tb-hosting":L,reservd:a,thingdustdata:a,"townnews-staging":a,typeform:[0,{pro:a}],hk:a,it:a,"deus-canvas":a,vultrobjects:n,wafflecell:a,hotelwithflight:a,"reserve-online":a,cprapid:a,pleskns:a,remotewd:a,wiardweb:[0,{pages:a}],wixsite:a,wixstudio:a,messwithdns:a,"woltlab-demo":a,wpenginepowered:[2,{js:a}],xnbay:[2,{u2:a,"u2-local":a}],yolasite:a}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,id:e,int:e,net:e,nome:e,org:e,publ:e}],cw:X,cx:[1,{gov:e,cloudns:a,ath:a,info:a,assessments:a,calculators:a,funnels:a,paynow:a,quizzes:a,researched:a,tests:a}],cy:[1,{ac:e,biz:e,com:[1,{scaleforce:q}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{gov:e,contentproxy9:[0,{rsc:a}],realm:a,e4:a,co:a,metacentrum:[0,{cloud:n,custom:a}],muni:[0,{cloud:[0,{flt:a,usr:a}]}]}],de:[1,{bplaced:a,square7:a,com:a,cosidns:B,dnsupdater:a,"dynamisches-dns":a,"internet-dns":a,"l-o-g-i-n":a,ddnss:[2,{dyn:a,dyndns:a}],"dyn-ip24":a,dyndns1:a,"home-webserver":[2,{dyn:a}],"myhome-server":a,dnshome:a,fuettertdasnetz:a,isteingeek:a,istmein:a,lebtimnetz:a,leitungsen:a,traeumtgerade:a,frusky:n,goip:a,"xn--gnstigbestellen-zvb":a,günstigbestellen:a,"xn--gnstigliefern-wob":a,günstigliefern:a,"hs-heilbronn":[0,{it:[0,{pages:a,"pages-research":a}]}],"dyn-berlin":a,"in-berlin":a,"in-brb":a,"in-butter":a,"in-dsl":a,"in-vpn":a,iservschule:a,"mein-iserv":a,schuldock:a,schulplattform:a,schulserver:a,"test-iserv":a,keymachine:a,co:a,"git-repos":a,"lcube-server":a,"svn-repos":a,barsy:a,webspaceconfig:a,"123webseite":a,rub:a,"ruhr-uni-bochum":[2,{noc:[0,{io:a}]}],logoip:a,"firewall-gateway":a,"my-gateway":a,"my-router":a,spdns:a,my:a,speedpartner:[0,{customer:a}],myspreadshop:a,"taifun-dns":a,"12hp":a,"2ix":a,"4lima":a,"lima-city":a,"dd-dns":a,"dray-dns":a,draydns:a,"dyn-vpn":a,dynvpn:a,"mein-vigor":a,"my-vigor":a,"my-wan":a,"syno-ds":a,"synology-diskstation":a,"synology-ds":a,"virtual-user":a,virtualuser:a,"community-pro":a,diskussionsbereich:a,xenonconnect:n}],dj:e,dk:[1,{biz:a,co:a,firm:a,reg:a,store:a,"123hjemmeside":a,myspreadshop:a}],dm:G,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,net:e,org:e,pol:e,soc:e,tm:e}],ec:[1,{abg:e,adm:e,agron:e,arqt:e,art:e,bar:e,chef:e,com:e,cont:e,cpa:e,cue:e,dent:e,dgn:e,disco:e,doc:e,edu:e,eng:e,esm:e,fin:e,fot:e,gal:e,gob:e,gov:e,gye:e,ibr:e,info:e,k12:e,lat:e,loj:e,med:e,mil:e,mktg:e,mon:e,net:e,ntr:e,odont:e,org:e,pro:e,prof:e,psic:e,psiq:e,pub:e,rio:e,rrpp:e,sal:e,tech:e,tul:e,tur:e,uio:e,vet:e,xxx:e,base:a,official:a}],edu:[1,{rit:[0,{"git-pages":a}]}],ee:[1,{aip:e,com:e,edu:e,fie:e,gov:e,lib:e,med:e,org:e,pri:e,riik:e}],eg:[1,{ac:e,com:e,edu:e,eun:e,gov:e,info:e,me:e,mil:e,name:e,net:e,org:e,sci:e,sport:e,tv:e}],er:f,es:[1,{com:e,edu:e,gob:e,nom:e,org:e,"123miweb":a,myspreadshop:a}],et:[1,{biz:e,com:e,edu:e,gov:e,info:e,name:e,net:e,org:e}],eu:[1,{cloudns:a,prvw:a,dogado:[0,{jelastic:a}],barsy:a,spdns:a,nxa:n,directwp:a,transurl:n,diskstation:a}],fi:[1,{aland:e,dy:a,"xn--hkkinen-5wa":a,häkkinen:a,iki:a,cloudplatform:[0,{fi:a}],datacenter:[0,{demo:a,paas:a}],kapsi:a,"123kotisivu":a,myspreadshop:a}],fj:[1,{ac:e,biz:e,com:e,edu:e,gov:e,id:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:f,fm:[1,{com:e,edu:e,net:e,org:e,radio:a,user:n}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"en-root":a,"fbx-os":a,fbxos:a,"freebox-os":a,freeboxos:a,goupile:a,"123siteweb":a,"on-web":a,"chirurgiens-dentistes-en-france":a,dedibox:a,aeroport:a,avocat:a,chambagri:a,"chirurgiens-dentistes":a,"experts-comptables":a,medecin:a,notaires:a,pharmacien:a,port:a,veterinaire:a,myspreadshop:a,ynh:a}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,net:e,org:e,pvt:e,school:e}],gf:e,gg:[1,{co:e,net:e,org:e,ply:[0,{at:n,d6:a}],botdash:a,kaas:a,stackit:a,panel:[2,{daemon:a}]}],gh:[1,{biz:e,com:e,edu:e,gov:e,mil:e,net:e,org:e}],gi:[1,{com:e,edu:e,gov:e,ltd:e,mod:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,net:e,org:e}],gov:e,gp:[1,{asso:e,com:e,edu:e,mobi:e,net:e,org:e}],gq:e,gr:[1,{com:e,edu:e,gov:e,net:e,org:e,barsy:a,simplesite:a}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:[1,{nx:a}],gy:G,hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--ciqpn":e,个人:e,"xn--gmqw5a":e,個人:e,"xn--55qx5d":e,公司:e,"xn--mxtq1m":e,政府:e,"xn--lcvr32d":e,敎育:e,"xn--wcvs22d":e,教育:e,"xn--gmq050i":e,箇人:e,"xn--uc0atv":e,組織:e,"xn--uc0ay4a":e,組织:e,"xn--od0alg":e,網絡:e,"xn--zf0avx":e,網络:e,"xn--mk0axi":e,组織:e,"xn--tn0ag":e,组织:e,"xn--od0aq3b":e,网絡:e,"xn--io0a7i":e,网络:e,inc:a,ltd:a}],hm:e,hn:[1,{com:e,edu:e,gob:e,mil:e,net:e,org:e}],hr:[1,{com:e,from:e,iz:e,name:e,brendly:b}],ht:[1,{adult:e,art:e,asso:e,com:e,coop:e,edu:e,firm:e,gouv:e,info:e,med:e,net:e,org:e,perso:e,pol:e,pro:e,rel:e,shop:e,rt:a}],hu:[1,{2e3:e,agrar:e,bolt:e,casino:e,city:e,co:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,info:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,org:e,priv:e,reklam:e,sex:e,shop:e,sport:e,suli:e,szex:e,tm:e,tozsde:e,utazas:e,video:e}],id:[1,{ac:e,biz:e,co:e,desa:e,go:e,kop:e,mil:e,my:e,net:e,or:e,ponpes:e,sch:e,web:e,e:a,zone:a}],ie:[1,{gov:e,myspreadshop:a}],il:[1,{ac:e,co:[1,{ravpage:a,mytabit:a,tabitorder:a}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],ישראל:[1,{אקדמיה:e,ישוב:e,צהל:e,ממשל:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bank:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,fin:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:a,barsy:a,web:a,supabase:a}],info:[1,{cloudns:a,"dynamic-dns":a,"barrel-of-knowledge":a,"barrell-of-knowledge":a,dyndns:a,"for-our":a,"groks-the":a,"groks-this":a,"here-for-more":a,knowsitall:a,selfip:a,webhop:a,barsy:a,mayfirst:a,mittwald:a,mittwaldserver:a,typo3server:a,dvrcam:a,ilovecollege:a,"no-ip":a,forumz:a,nsupdate:a,dnsupdate:a,"v-info":a}],int:[1,{eu:e}],io:[1,{2038:a,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":n,myaddr:a,apigee:a,"b-data":a,beagleboard:a,bitbucket:a,bluebite:a,boxfuse:a,brave:r,browsersafetymark:a,bubble:Z,bubbleapps:a,bigv:[0,{uk0:a}],cleverapps:a,cloudbeesusercontent:a,dappnode:[0,{dyndns:a}],darklang:a,definima:a,dedyn:a,icp0:Q,icp1:Q,qzz:a,"fh-muenster":a,shw:a,forgerock:[0,{id:a}],gitbook:a,github:a,gitlab:a,lolipop:a,"hasura-app":a,hostyhosting:a,hypernode:a,moonscale:n,beebyte:U,beebyteapp:[0,{sekd1:a}],jele:a,webthings:a,loginline:a,barsy:a,azurecontainer:n,ngrok:[2,{ap:a,au:a,eu:a,in:a,jp:a,sa:a,us:a}],nodeart:[0,{stage:a}],pantheonsite:a,pstmn:[2,{mock:a}],protonet:a,qcx:[2,{sys:n}],qoto:a,vaporcloud:a,myrdbx:a,"rb-hosting":L,"on-k3s":n,"on-rio":n,readthedocs:a,resindevice:a,resinstaging:[0,{devices:a}],hzc:a,sandcats:a,scrypted:[0,{client:a}],"mo-siemens":a,lair:W,stolos:n,musician:a,utwente:a,edugit:a,telebit:a,thingdust:[0,{dev:Y,disrec:Y,prod:ee,testing:Y}],tickets:a,webflow:a,webflowtest:a,editorx:a,wixstudio:a,basicserver:a,virtualserver:a}],iq:o,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,arvanedge:a,vistablog:a}],is:e,it:[1,{edu:e,gov:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenezia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-süd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-südtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,trentino:e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-süd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-südtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinosüd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinosüdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentinsüd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentinsüdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vallée-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vallée-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,valléeaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,valléedaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,balsan:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-südtirol":e,"balsan-suedtirol":e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,bolzano:e,"bolzano-altoadige":e,bozen:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-südtirol":e,"bozen-suedtirol":e,br:e,brescia:e,brindisi:e,bs:e,bt:e,bulsan:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-südtirol":e,"bulsan-suedtirol":e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesena-forli":e,"xn--cesena-forl-mcb":e,"cesena-forlì":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforlì:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forlì-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forlìcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,monza:e,"monza-brianza":e,"monza-e-della-brianza":e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,sa:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,"xn--sdtirol-n2a":e,südtirol:e,suedtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,"12chars":a,ibxos:a,iliadboxos:a,neen:[0,{jc:a}],"123homepage":a,"16-b":a,"32-b":a,"64-b":a,myspreadshop:a,syncloud:a}],je:[1,{co:e,net:e,org:e,of:a}],jm:f,jo:[1,{agri:e,ai:e,com:e,edu:e,eng:e,fm:e,gov:e,mil:e,net:e,org:e,per:e,phd:e,sch:e,tv:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:$,gehirn:a,ivory:a,"mail-box":a,mints:a,mokuren:a,opal:a,sakura:a,sumomo:a,topaz:a}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,nagi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,wakayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--ehqz56n":e,三重:e,"xn--1lqs03n":e,京都:e,"xn--qqqt11m":e,佐賀:e,"xn--f6qx53a":e,兵庫:e,"xn--djrs72d6uy":e,北海道:e,"xn--mkru45i":e,千葉:e,"xn--0trq7p7nn":e,和歌山:e,"xn--5js045d":e,埼玉:e,"xn--kbrq7o":e,大分:e,"xn--pssu33l":e,大阪:e,"xn--ntsq17g":e,奈良:e,"xn--uisz3g":e,宮城:e,"xn--6btw5a":e,宮崎:e,"xn--1ctwo":e,富山:e,"xn--6orx2r":e,山口:e,"xn--rht61e":e,山形:e,"xn--rht27z":e,山梨:e,"xn--nit225k":e,岐阜:e,"xn--rht3d":e,岡山:e,"xn--djty4k":e,岩手:e,"xn--klty5x":e,島根:e,"xn--kltx9a":e,広島:e,"xn--kltp7d":e,徳島:e,"xn--c3s14m":e,愛媛:e,"xn--vgu402c":e,愛知:e,"xn--efvn9s":e,新潟:e,"xn--1lqs71d":e,東京:e,"xn--4pvxs":e,栃木:e,"xn--uuwu58a":e,沖縄:e,"xn--zbx025d":e,滋賀:e,"xn--8pvr4u":e,熊本:e,"xn--5rtp49c":e,石川:e,"xn--ntso0iqx3a":e,神奈川:e,"xn--elqq16h":e,福井:e,"xn--4it168d":e,福岡:e,"xn--klt787d":e,福島:e,"xn--rny31h":e,秋田:e,"xn--7t0a264c":e,群馬:e,"xn--uist22h":e,茨城:e,"xn--8ltr62k":e,長崎:e,"xn--2m4a15e":e,長野:e,"xn--32vp30h":e,青森:e,"xn--4it797k":e,静岡:e,"xn--5rtq34k":e,香川:e,"xn--k7yn95e":e,高知:e,"xn--tor131o":e,鳥取:e,"xn--d5qv7z876c":e,鹿児島:e,kawasaki:f,kitakyushu:f,kobe:f,nagoya:f,sapporo:f,sendai:f,yokohama:f,buyshop:a,fashionstore:a,handcrafted:a,kawaiishop:a,supersale:a,theshop:a,"0am":a,"0g0":a,"0j0":a,"0t0":a,mydns:a,pgw:a,wjg:a,usercontent:a,angry:a,babyblue:a,babymilk:a,backdrop:a,bambina:a,bitter:a,blush:a,boo:a,boy:a,boyfriend:a,but:a,candypop:a,capoo:a,catfood:a,cheap:a,chicappa:a,chillout:a,chips:a,chowder:a,chu:a,ciao:a,cocotte:a,coolblog:a,cranky:a,cutegirl:a,daa:a,deca:a,deci:a,digick:a,egoism:a,fakefur:a,fem:a,flier:a,floppy:a,fool:a,frenchkiss:a,girlfriend:a,girly:a,gloomy:a,gonna:a,greater:a,hacca:a,heavy:a,her:a,hiho:a,hippy:a,holy:a,hungry:a,icurus:a,itigo:a,jellybean:a,kikirara:a,kill:a,kilo:a,kuron:a,littlestar:a,lolipopmc:a,lolitapunk:a,lomo:a,lovepop:a,lovesick:a,main:a,mods:a,mond:a,mongolian:a,moo:a,namaste:a,nikita:a,nobushi:a,noor:a,oops:a,parallel:a,parasite:a,pecori:a,peewee:a,penne:a,pepper:a,perma:a,pigboat:a,pinoko:a,punyu:a,pupu:a,pussycat:a,pya:a,raindrop:a,readymade:a,sadist:a,schoolbus:a,secret:a,staba:a,stripper:a,sub:a,sunnyday:a,thick:a,tonkotsu:a,under:a,upper:a,velvet:a,verse:a,versus:a,vivian:a,watson:a,weblike:a,whitesnow:a,zombie:a,hateblo:a,hatenablog:a,hatenadiary:a,"2-d":a,bona:a,crap:a,daynight:a,eek:a,flop:a,halfmoon:a,jeez:a,matrix:a,mimoza:a,netgamers:a,nyanta:a,o0o0:a,rdy:a,rgr:a,rulez:a,sakurastorage:[0,{isk01:ae,isk02:ae}],saloon:a,sblo:a,skr:a,tank:a,"uh-oh":a,undo:a,webaccel:[0,{rs:a,user:a}],websozai:a,xii:a}],ke:[1,{ac:e,co:e,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,us:a,xx:a}],kh:f,ki:te,km:[1,{ass:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e,tm:e,asso:e,coop:e,gouv:e,medecin:e,notaires:e,pharmaciens:e,presse:e,veterinaire:e}],kn:[1,{edu:e,gov:e,net:e,org:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,ai:e,co:e,es:e,go:e,hs:e,io:e,it:e,kg:e,me:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,c01:a,"eliv-cdn":a,"eliv-dns":a,mmv:a,vki:a}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:X,kz:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,jcloud:a}],la:[1,{com:e,edu:e,gov:e,info:e,int:e,net:e,org:e,per:e,bnr:a}],lb:t,lc:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,oy:a}],li:e,lk:[1,{ac:e,assn:e,com:e,edu:e,gov:e,grp:e,hotel:e,int:e,ltd:e,net:e,ngo:e,org:e,sch:e,soc:e,web:e}],lr:t,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:c,lu:[1,{"123website":a}],lv:[1,{asn:e,com:e,conf:e,edu:e,gov:e,id:e,mil:e,net:e,org:e}],ly:[1,{com:e,edu:e,gov:e,id:e,med:e,net:e,org:e,plc:e,sch:e}],ma:[1,{ac:e,co:e,gov:e,net:e,org:e,press:e}],mc:[1,{asso:e,tm:e}],md:[1,{ir:a}],me:[1,{ac:e,co:e,edu:e,gov:e,its:e,net:e,org:e,priv:e,c66:a,craft:a,edgestack:a,filegear:a,"filegear-sg":a,lohmus:a,barsy:a,mcdir:a,brasilia:a,ddns:a,dnsfor:a,hopto:a,loginto:a,noip:a,webhop:a,soundcast:a,tcp4:a,vp4:a,diskstation:a,dscloud:a,i234:a,myds:a,synology:a,transip:L,nohost:a}],mg:[1,{co:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e}],mh:e,mil:e,mk:[1,{com:e,edu:e,gov:e,inf:e,name:e,net:e,org:e}],ml:[1,{ac:e,art:e,asso:e,com:e,edu:e,gouv:e,gov:e,info:e,inst:e,net:e,org:e,pr:e,presse:e}],mm:f,mn:[1,{edu:e,gov:e,org:e,nyc:a}],mo:t,mobi:[1,{barsy:a,dscloud:a}],mp:[1,{ju:a}],mq:e,mr:c,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:a}],mt:X,mu:[1,{ac:e,co:e,com:e,gov:e,net:e,or:e,org:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,edu:e,gob:e,net:e,org:e}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:re,his:re,ispmanager:a}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:a,"adobeio-static":a,adobeioruntime:a,akadns:a,akamai:a,"akamai-staging":a,akamaiedge:a,"akamaiedge-staging":a,akamaihd:a,"akamaihd-staging":a,akamaiorigin:a,"akamaiorigin-staging":a,akamaized:a,"akamaized-staging":a,edgekey:a,"edgekey-staging":a,edgesuite:a,"edgesuite-staging":a,alwaysdata:a,myamaze:a,cloudfront:a,appudo:a,"atlassian-dev":[0,{prod:Z}],myfritz:a,onavstack:a,shopselect:a,blackbaudcdn:a,boomla:a,bplaced:a,square7:a,cdn77:[0,{r:a}],"cdn77-ssl":a,gb:a,hu:a,jp:a,se:a,uk:a,clickrising:a,"ddns-ip":a,"dns-cloud":a,"dns-dynamic":a,cloudaccess:a,cloudflare:[2,{cdn:a}],cloudflareanycast:Z,cloudflarecn:Z,cloudflareglobal:Z,ctfcloud:a,"feste-ip":a,"knx-server":a,"static-access":a,cryptonomic:n,dattolocal:a,mydatto:a,debian:a,definima:a,deno:a,icp:n,de5:a,"at-band-camp":a,blogdns:a,"broke-it":a,buyshouses:a,dnsalias:a,dnsdojo:a,"does-it":a,dontexist:a,dynalias:a,dynathome:a,endofinternet:a,"from-az":a,"from-co":a,"from-la":a,"from-ny":a,"gets-it":a,"ham-radio-op":a,homeftp:a,homeip:a,homelinux:a,homeunix:a,"in-the-band":a,"is-a-chef":a,"is-a-geek":a,"isa-geek":a,"kicks-ass":a,"office-on-the":a,podzone:a,"scrapper-site":a,selfip:a,"sells-it":a,servebbs:a,serveftp:a,thruhere:a,webhop:a,casacam:a,dynu:a,dynv6:a,twmail:a,ru:a,channelsdvr:[2,{u:a}],fastly:[0,{freetls:a,map:a,prod:[0,{a,global:a}],ssl:[0,{a,b:a,global:a}]}],fastlylb:[2,{map:a}],edgeapp:a,"keyword-on":a,"live-on":a,"server-on":a,"cdn-edges":a,heteml:a,cloudfunctions:a,"grafana-dev":a,iobb:a,moonscale:a,"in-dsl":a,"in-vpn":a,oninferno:a,botdash:a,"apps-1and1":a,ipifony:a,cloudjiffy:[2,{"fra1-de":a,"west1-us":a}],elastx:[0,{"jls-sto1":a,"jls-sto2":a,"jls-sto3":a}],massivegrid:[0,{paas:[0,{"fr-1":a,"lon-1":a,"lon-2":a,"ny-1":a,"ny-2":a,"sg-1":a}]}],saveincloud:[0,{jelastic:a,"nordeste-idc":a}],scaleforce:q,kinghost:a,uni5:a,krellian:a,ggff:a,localto:n,barsy:a,luyani:a,memset:a,"azure-api":a,"azure-mobile":a,azureedge:a,azurefd:a,azurestaticapps:[2,{1:a,2:a,3:a,4:a,5:a,6:a,7:a,centralus:a,eastasia:a,eastus2:a,westeurope:a,westus2:a}],azurewebsites:a,cloudapp:a,trafficmanager:a,windows:[0,{core:[0,{blob:a}],servicebus:a}],mynetname:[0,{sn:a}],routingthecloud:a,bounceme:a,ddns:a,"eating-organic":a,mydissent:a,myeffect:a,mymediapc:a,mypsx:a,mysecuritycamera:a,nhlfan:a,"no-ip":a,pgafan:a,privatizehealthinsurance:a,redirectme:a,serveblog:a,serveminecraft:a,sytes:a,dnsup:a,hicam:a,"now-dns":a,ownip:a,vpndns:a,cloudycluster:a,ovh:[0,{hosting:n,webpaas:n}],rackmaze:a,myradweb:a,in:a,"subsc-pay":a,squares:a,schokokeks:a,"firewall-gateway":a,seidat:a,senseering:a,siteleaf:a,mafelo:a,myspreadshop:a,"vps-host":[2,{jelastic:[0,{atl:a,njs:a,ric:a}]}],srcf:[0,{soc:a,user:a}],supabase:a,dsmynas:a,familyds:a,ts:[2,{c:n}],torproject:[2,{pages:a}],tunnelmole:a,vusercontent:a,"reserve-online":a,localcert:a,"community-pro":a,meinforum:a,yandexcloud:[2,{storage:a,website:a}],za:a,zabc:a}],nf:[1,{arts:e,com:e,firm:e,info:e,net:e,other:e,per:e,rec:e,store:e,web:e}],ng:[1,{com:e,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:a,dl:a,go:a,lg:a,on:a}],col:a,firm:a,gen:a,ltd:a,ngo:a,plc:a}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:a,"hosting-cluster":a,gov:a,khplay:a,"123website":a,myspreadshop:a,transurl:n,cistron:a,demon:a}],no:[1,{fhs:e,folkebibl:e,fylkesbibl:e,idrett:e,museum:e,priv:e,vgs:e,dep:e,herad:e,kommune:e,mil:e,stat:e,aa:ie,ah:ie,bu:ie,fm:ie,hl:ie,hm:ie,"jan-mayen":ie,mr:ie,nl:ie,nt:ie,of:ie,ol:ie,oslo:ie,rl:ie,sf:ie,st:ie,svalbard:ie,tm:ie,tr:ie,va:ie,vf:ie,akrehamn:e,"xn--krehamn-dxa":e,åkrehamn:e,algard:e,"xn--lgrd-poac":e,ålgård:e,arna:e,bronnoysund:e,"xn--brnnysund-m8ac":e,brønnøysund:e,brumunddal:e,bryne:e,drobak:e,"xn--drbak-wua":e,drøbak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,florø:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,hønefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,jørpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langevåg:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mjøndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosjøen:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,osøyro:e,raholt:e,"xn--rholt-mra":e,råholt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessjøen:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stjørdalshalsen:e,tananger:e,tranby:e,vossevangen:e,aarborte:e,aejrie:e,afjord:e,"xn--fjord-lra":e,åfjord:e,agdenes:e,akershus:se,aknoluokta:e,"xn--koluokta-7ya57h":e,ákŋoluokta:e,al:e,"xn--l-1fa":e,ål:e,alaheadju:e,"xn--laheadju-7ya":e,álaheadju:e,alesund:e,"xn--lesund-hua":e,ålesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,áltá:e,alvdal:e,amli:e,"xn--mli-tla":e,åmli:e,amot:e,"xn--mot-tla":e,åmot:e,andasuolo:e,andebu:e,andoy:e,"xn--andy-ira":e,andøy:e,ardal:e,"xn--rdal-poa":e,årdal:e,aremark:e,arendal:e,"xn--s-1fa":e,ås:e,aseral:e,"xn--seral-lra":e,åseral:e,asker:e,askim:e,askoy:e,"xn--asky-ira":e,askøy:e,askvoll:e,asnes:e,"xn--snes-poa":e,åsnes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-høland":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,averøy:e,badaddja:e,"xn--bdddj-mrabd":e,bådåddjå:e,"xn--brum-voa":e,bærum:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,báhcavuotna:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,báhccavuotna:e,baidar:e,"xn--bidr-5nac":e,báidár:e,bajddar:e,"xn--bjddar-pta":e,bájddar:e,balat:e,"xn--blt-elab":e,bálát:e,balestrand:e,ballangen:e,balsfjord:e,bamble:e,bardu:e,barum:e,batsfjord:e,"xn--btsfjord-9za":e,båtsfjord:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalváhki:e,beardu:e,beiarn:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlevåg:e,bievat:e,"xn--bievt-0qa":e,bievát:e,bindal:e,birkenes:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bodø:e,bokn:e,bomlo:e,"xn--bmlo-gra":e,bømlo:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,brønnøy:e,budejju:e,buskerud:se,bygland:e,bykle:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,čáhcesuolo:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenjárga:e,davvesiida:e,deatnu:e,dielddanuorri:e,divtasvuodna:e,divttasvuotna:e,donna:e,"xn--dnna-gra":e,dønna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyrøy:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenassi:e,"xn--eveni-0qa01ga":e,evenášši:e,evenes:e,"evje-og-hornnes":e,farsund:e,fauske:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finnøy:e,fitjar:e,fjaler:e,fjell:e,fla:e,"xn--fl-zia":e,flå:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,folldal:e,forde:e,"xn--frde-gra":e,førde:e,forsand:e,fosnes:e,"xn--frna-woa":e,fræna:e,frana:e,frei:e,frogn:e,froland:e,frosta:e,froya:e,"xn--frya-hra":e,frøya:e,fuoisku:e,fuossko:e,fusa:e,fyresdal:e,gaivuotna:e,"xn--givuotna-8ya":e,gáivuotna:e,galsa:e,"xn--gls-elac":e,gálsá:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,gáŋgaviika:e,gaular:e,gausdal:e,giehtavuoatna:e,gildeskal:e,"xn--gildeskl-g0a":e,gildeskål:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gjøvik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,grue:e,gulen:e,guovdageaidnu:e,ha:e,"xn--h-2fa":e,hå:e,habmer:e,"xn--hbmer-xqa":e,hábmer:e,hadsel:e,"xn--hgebostad-g3a":e,hægebostad:e,hagebostad:e,halden:e,halsa:e,hamar:e,hamaroy:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,hámmárfeasta:e,hammerfest:e,hapmir:e,"xn--hpmir-xqa":e,hápmir:e,haram:e,hareid:e,harstad:e,hasvik:e,hattfjelldal:e,haugesund:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,våler:e}],hemne:e,hemnes:e,hemsedal:e,hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hobøl:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holtålen:e,hordaland:[0,{os:e}],hornindal:e,horten:e,hoyanger:e,"xn--hyanger-q1a":e,høyanger:e,hoylandet:e,"xn--hylandet-54a":e,høylandet:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inderøy:e,iveland:e,ivgu:e,jevnaker:e,jolster:e,"xn--jlster-bya":e,jølster:e,jondal:e,kafjord:e,"xn--kfjord-iua":e,kåfjord:e,karasjohka:e,"xn--krjohka-hwab49j":e,kárášjohka:e,karasjok:e,karlsoy:e,karmoy:e,"xn--karmy-yua":e,karmøy:e,kautokeino:e,klabu:e,"xn--klbu-woa":e,klæbu:e,klepp:e,kongsberg:e,kongsvinger:e,kraanghke:e,"xn--kranghke-b0a":e,kråanghke:e,kragero:e,"xn--krager-gya":e,kragerø:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,krødsherad:e,"xn--kvfjord-nxa":e,kvæfjord:e,"xn--kvnangen-k0a":e,kvænangen:e,kvafjord:e,kvalsund:e,kvam:e,kvanangen:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvitsøy:e,laakesvuemie:e,"xn--lrdal-sra":e,lærdal:e,lahppi:e,"xn--lhppi-xqa":e,láhppi:e,lardal:e,larvik:e,lavagis:e,lavangen:e,leangaviika:e,"xn--leagaviika-52b":e,leaŋgaviika:e,lebesby:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,lerdal:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindas:e,"xn--linds-pra":e,lindås:e,lindesnes:e,loabat:e,"xn--loabt-0qa":e,loabát:e,lodingen:e,"xn--ldingen-q1a":e,lødingen:e,lom:e,loppa:e,lorenskog:e,"xn--lrenskog-54a":e,lørenskog:e,loten:e,"xn--lten-gra":e,løten:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lurøy:e,luster:e,lyngdal:e,lyngen:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,málatvuopmi:e,malselv:e,"xn--mlselv-iua":e,målselv:e,malvik:e,mandal:e,marker:e,marnardal:e,masfjorden:e,masoy:e,"xn--msy-ula0h":e,måsøy:e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"mátta-várjjat":e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,meløy:e,meraker:e,"xn--merker-kua":e,meråker:e,midsund:e,"midtre-gauldal":e,moareke:e,"xn--moreke-jua":e,moåreke:e,modalen:e,modum:e,molde:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"møre-og-romsdal":[0,{herøy:e,sande:e}],moskenes:e,moss:e,muosat:e,"xn--muost-0qa":e,muosát:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,nååmesjevuemie:e,"xn--nry-yla5g":e,nærøy:e,namdalseid:e,namsos:e,namsskogan:e,nannestad:e,naroy:e,narviika:e,narvik:e,naustdal:e,navuotna:e,"xn--nvuotna-hwa":e,návuotna:e,"nedre-eiker":e,nesna:e,nesodden:e,nesseby:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,nordland:[0,{bo:e,"xn--b-5ga":e,bø:e,heroy:e,"xn--hery-ira":e,herøy:e}],"nordre-land":e,nordreisa:e,"nore-og-uvdal":e,notodden:e,notteroy:e,"xn--nttery-byae":e,nøtterøy:e,odda:e,oksnes:e,"xn--ksnes-uua":e,øksnes:e,omasvuotna:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppegård:e,orkdal:e,orland:e,"xn--rland-uua":e,ørland:e,orskog:e,"xn--rskog-uua":e,ørskog:e,orsta:e,"xn--rsta-fra":e,ørsta:e,osen:e,osteroy:e,"xn--ostery-fya":e,osterøy:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],østfold:[0,{våler:e}],"ostre-toten":e,"xn--stre-toten-zcb":e,"østre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"øvre-eiker":e,oyer:e,"xn--yer-zna":e,øyer:e,oygarden:e,"xn--ygarden-p1a":e,øygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"øystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,porsáŋgu:e,porsgrunn:e,rade:e,"xn--rde-ula":e,råde:e,radoy:e,"xn--rady-ira":e,radøy:e,"xn--rlingen-mxa":e,rælingen:e,rahkkeravju:e,"xn--rhkkervju-01af":e,ráhkkerávju:e,raisa:e,"xn--risa-5na":e,ráisa:e,rakkestad:e,ralingen:e,rana:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennesøy:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,risor:e,"xn--risr-ira":e,risør:e,rissa:e,roan:e,rodoy:e,"xn--rdy-0nab":e,rødøy:e,rollag:e,romsa:e,romskog:e,"xn--rmskog-bya":e,rømskog:e,roros:e,"xn--rros-gra":e,røros:e,rost:e,"xn--rst-0na":e,røst:e,royken:e,"xn--ryken-vua":e,røyken:e,royrvik:e,"xn--ryrvik-bya":e,røyrvik:e,ruovat:e,rygge:e,salangen:e,salat:e,"xn--slat-5na":e,sálat:e,"xn--slt-elab":e,sálát:e,saltdal:e,samnanger:e,sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sandøy:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,siellak:e,sigdal:e,siljan:e,sirdal:e,skanit:e,"xn--sknit-yqa":e,skánit:e,skanland:e,"xn--sknland-fxa":e,skånland:e,skaun:e,skedsmo:e,ski:e,skien:e,skierva:e,"xn--skierv-uta":e,skiervá:e,skiptvet:e,skjak:e,"xn--skjk-soa":e,skjåk:e,skjervoy:e,"xn--skjervy-v1a":e,skjervøy:e,skodje:e,smola:e,"xn--smla-hra":e,smøla:e,snaase:e,"xn--snase-nra":e,snåase:e,snasa:e,"xn--snsa-roa":e,snåsa:e,snillfjord:e,snoasa:e,sogndal:e,sogne:e,"xn--sgne-gra":e,søgne:e,sokndal:e,sola:e,solund:e,somna:e,"xn--smna-gra":e,sømna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"søndre-land":e,songdalen:e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"sør-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"sør-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"sør-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"sør-varanger":e,sorfold:e,"xn--srfold-bya":e,sørfold:e,sorreisa:e,"xn--srreisa-q1a":e,sørreisa:e,sortland:e,sorum:e,"xn--srum-gra":e,sørum:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stjørdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,tana:e,telemark:[0,{bo:e,"xn--b-5ga":e,bø:e}],time:e,tingvoll:e,tinn:e,tjeldsund:e,tjome:e,"xn--tjme-hra":e,tjøme:e,tokke:e,tolga:e,tonsberg:e,"xn--tnsberg-q1a":e,tønsberg:e,torsken:e,"xn--trna-woa":e,træna:e,trana:e,tranoy:e,"xn--trany-yua":e,tranøy:e,troandin:e,trogstad:e,"xn--trgstad-r1a":e,trøgstad:e,tromsa:e,tromso:e,"xn--troms-zua":e,tromsø:e,trondheim:e,trysil:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,tysnes:e,"xn--tysvr-vra":e,tysvær:e,tysvar:e,ullensaker:e,ullensvang:e,ulvik:e,unjarga:e,"xn--unjrga-rta":e,unjárga:e,utsira:e,vaapste:e,vadso:e,"xn--vads-jra":e,vadsø:e,"xn--vry-yla5g":e,værøy:e,vaga:e,"xn--vg-yiab":e,vågå:e,vagan:e,"xn--vgan-qoa":e,vågan:e,vagsoy:e,"xn--vgsy-qoa0j":e,vågsøy:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vardø:e,varggat:e,"xn--vrggt-xqad":e,várggát:e,varoy:e,vefsn:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,vegårshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestfold:[0,{sande:e}],vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestvågøy:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,voagat:e,volda:e,voss:e,co:a,"123hjemmeside":a,myspreadshop:a}],np:f,nr:te,nu:[1,{merseine:a,mine:a,shacknet:a,enterprisecloud:a}],nz:[1,{ac:e,co:e,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,"xn--mori-qsa":e,māori:e,mil:e,net:e,org:e,parliament:e,school:e,cloudns:a}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:a,pimienta:a,poivron:a,potager:a,sweetpepper:a,cdn77:[0,{c:a,rsc:a}],"cdn77-secure":[0,{origin:[0,{ssl:a}]}],ae:a,cloudns:a,"ip-dynamic":a,ddnss:a,dpdns:a,duckdns:a,tunk:a,blogdns:a,blogsite:a,boldlygoingnowhere:a,dnsalias:a,dnsdojo:a,doesntexist:a,dontexist:a,doomdns:a,dvrdns:a,dynalias:a,dyndns:[2,{go:a,home:a}],endofinternet:a,endoftheinternet:a,"from-me":a,"game-host":a,gotdns:a,"hobby-site":a,homedns:a,homeftp:a,homelinux:a,homeunix:a,"is-a-bruinsfan":a,"is-a-candidate":a,"is-a-celticsfan":a,"is-a-chef":a,"is-a-geek":a,"is-a-knight":a,"is-a-linux-user":a,"is-a-patsfan":a,"is-a-soxfan":a,"is-found":a,"is-lost":a,"is-saved":a,"is-very-bad":a,"is-very-evil":a,"is-very-good":a,"is-very-nice":a,"is-very-sweet":a,"isa-geek":a,"kicks-ass":a,misconfused:a,podzone:a,readmyblog:a,selfip:a,sellsyourhome:a,servebbs:a,serveftp:a,servegame:a,"stuff-4-sale":a,webhop:a,accesscam:a,camdvr:a,freeddns:a,mywire:a,webredirect:a,twmail:a,eu:[2,{al:a,asso:a,at:a,au:a,be:a,bg:a,ca:a,cd:a,ch:a,cn:a,cy:a,cz:a,de:a,dk:a,edu:a,ee:a,es:a,fi:a,fr:a,gr:a,hr:a,hu:a,ie:a,il:a,in:a,int:a,is:a,it:a,jp:a,kr:a,lt:a,lu:a,lv:a,me:a,mk:a,mt:a,my:a,net:a,ng:a,nl:a,no:a,nz:a,pl:a,pt:a,ro:a,ru:a,se:a,si:a,sk:a,tr:a,uk:a,us:a}],fedorainfracloud:a,fedorapeople:a,fedoraproject:[0,{cloud:a,os:J,stg:[0,{os:J}]}],freedesktop:a,hatenadiary:a,hepforge:a,"in-dsl":a,"in-vpn":a,js:a,barsy:a,mayfirst:a,routingthecloud:a,bmoattachments:a,"cable-modem":a,collegefan:a,couchpotatofries:a,hopto:a,mlbfan:a,myftp:a,mysecuritycamera:a,nflfan:a,"no-ip":a,"read-books":a,ufcfan:a,zapto:a,dynserv:a,"now-dns":a,"is-local":a,httpbin:a,pubtls:a,jpn:a,"my-firewall":a,myfirewall:a,spdns:a,"small-web":a,dsmynas:a,familyds:a,teckids:ae,tuxfamily:a,diskstation:a,hk:a,us:a,toolforge:a,wmcloud:[2,{beta:a}],wmflabs:a,za:a}],pa:[1,{abo:e,ac:e,com:e,edu:e,gob:e,ing:e,med:e,net:e,nom:e,org:e,sld:e}],pe:[1,{com:e,edu:e,gob:e,mil:e,net:e,nom:e,org:e}],pf:[1,{com:e,edu:e,org:e}],pg:f,ph:[1,{com:e,edu:e,gov:e,i:e,mil:e,net:e,ngo:e,org:e,cloudns:a}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,agro:e,aid:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,media:e,miasta:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,"kazimierz-dolny":e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorskie:e,pomorze:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,skoczow:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:a,gliwice:a,krakow:a,poznan:a,wroc:a,zakopane:a,beep:a,"ecommerce-shop":a,cfolks:a,dfirma:a,dkonto:a,you2:a,shoparena:a,homesklep:a,sdscloud:a,unicloud:a,lodz:a,pabianice:a,plock:a,sieradz:a,skierniewice:a,zgierz:a,krasnik:a,leczna:a,lubartow:a,lublin:a,poniatowa:a,swidnik:a,co:a,torun:a,simplesite:a,myspreadshop:a,gda:a,gdansk:a,gdynia:a,med:a,sopot:a,bielsko:a}],pm:[1,{own:a,name:a}],pn:[1,{co:e,edu:e,gov:e,net:e,org:e}],post:e,pr:[1,{biz:e,com:e,edu:e,gov:e,info:e,isla:e,name:e,net:e,org:e,pro:e,ac:e,est:e,prof:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,"12chars":a,cloudns:a,barsy:a,ngrok:a}],ps:[1,{com:e,edu:e,gov:e,net:e,org:e,plo:e,sec:e}],pt:[1,{com:e,edu:e,gov:e,int:e,net:e,nome:e,org:e,publ:e,"123paginaweb":a}],pw:[1,{gov:e,cloudns:a,x443:a}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e}],re:[1,{asso:e,com:e,netlib:a,can:a}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:a,shop:a,barsy:a}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:b,barsy:a,ox:a}],ru:[1,{ac:a,edu:a,gov:a,int:a,mil:a,eurodir:a,adygeya:a,bashkiria:a,bir:a,cbg:a,com:a,dagestan:a,grozny:a,kalmykia:a,kustanai:a,marine:a,mordovia:a,msk:a,mytis:a,nalchik:a,nov:a,pyatigorsk:a,spb:a,vladikavkaz:a,vladimir:a,na4u:a,mircloud:a,myjino:[2,{hosting:n,landing:n,spectrum:n,vps:n}],cldmail:[0,{hb:a}],mcdir:[2,{vps:a}],mcpre:a,net:a,org:a,pp:a,lk3:a,ras:a}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,edu:e,gov:e,med:e,net:e,org:e,pub:e,sch:e}],sb:t,sc:t,sd:[1,{com:e,edu:e,gov:e,info:e,med:e,net:e,org:e,tv:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:a,iopsys:a,"123minsida":a,itcouldbewor:a,myspreadshop:a}],sg:[1,{com:e,edu:e,gov:e,net:e,org:e,enscaled:a}],sh:[1,{com:e,gov:e,mil:e,net:e,org:e,hashbang:a,botda:a,lovable:a,platform:[0,{ent:a,eu:a,us:a}],teleport:a,now:a}],si:[1,{f5:a,gitapp:a,gitpage:a}],sj:e,sk:e,sl:t,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,perso:e,univ:e}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:a}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:a,kirara:a,noho:a}],su:[1,{abkhazia:a,adygeya:a,aktyubinsk:a,arkhangelsk:a,armenia:a,ashgabad:a,azerbaijan:a,balashov:a,bashkiria:a,bryansk:a,bukhara:a,chimkent:a,dagestan:a,"east-kazakhstan":a,exnet:a,georgia:a,grozny:a,ivanovo:a,jambyl:a,kalmykia:a,kaluga:a,karacol:a,karaganda:a,karelia:a,khakassia:a,krasnodar:a,kurgan:a,kustanai:a,lenug:a,mangyshlak:a,mordovia:a,msk:a,murmansk:a,nalchik:a,navoi:a,"north-kazakhstan":a,nov:a,obninsk:a,penza:a,pokrovsk:a,sochi:a,spb:a,tashkent:a,termez:a,togliatti:a,troitsk:a,tselinograd:a,tula:a,tuva:a,vladikavkaz:a,vladimir:a,vologda:a}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:c,sy:o,sz:[1,{ac:e,co:e,org:e}],tc:e,td:e,tel:e,tf:[1,{sch:a}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:a,shop:a}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:c,tm:[1,{co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:a}],to:[1,{611:a,com:e,edu:e,gov:e,mil:e,net:e,org:e,oya:a,x0:a,quickconnect:S,vpnplus:a}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:e,dr:e,edu:e,gen:e,gov:e,info:e,k12:e,kep:e,mil:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:c}],tt:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],tv:[1,{"better-than":a,dyndns:a,"on-the-web":a,"worse-than":a,from:a,sakura:a}],tw:[1,{club:e,com:[1,{mymailer:a}],ebiz:e,edu:e,game:e,gov:e,idv:e,mil:e,net:e,org:e,url:a,mydns:a}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:a,inf:a,ltd:a,cx:a,biz:a,co:a,pp:a,v:a}],ug:[1,{ac:e,co:e,com:e,edu:e,go:e,gov:e,mil:e,ne:e,or:e,org:e,sc:e,us:e}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:a,vm:a}],layershift:q,barsy:a,barsyonline:a,retrosnub:ee,"nh-serv":a,"no-ip":a,adimo:a,myspreadshop:a}],gov:[1,{api:a,campaign:a,service:a}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:a,lug:a,lugs:a,affinitylottery:a,raffleentry:a,weeklylottery:a}],plc:e,police:e,sch:f,conn:a,copro:a,hosp:a,"independent-commission":a,"independent-inquest":a,"independent-inquiry":a,"independent-panel":a,"independent-review":a,"public-inquiry":a,"royal-commission":a,pymnt:a,barsy:a,nimsite:a,oraclegovcloudapps:n}],us:[1,{dni:e,isa:e,nsn:e,ak:ce,al:ce,ar:ce,as:ce,az:ce,ca:ce,co:ce,ct:ce,dc:ce,de:le,fl:ce,ga:ce,gu:ce,hi:ue,ia:ce,id:ce,il:ce,in:ce,ks:ce,ky:ce,la:ce,ma:[1,{k12:[1,{chtr:e,paroch:e,pvt:e}],cc:e,lib:e}],md:ce,me:ce,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:ce,mo:ce,ms:[1,{k12:e,cc:e}],mt:ce,nc:ce,nd:ue,ne:ce,nh:ce,nj:ce,nm:ce,nv:ce,ny:ce,oh:ce,ok:ce,or:ce,pa:ce,pr:ce,ri:ue,sc:ce,sd:ue,tn:ce,tx:ce,ut:ce,va:ce,vi:ce,vt:ce,wa:ce,wi:ce,wv:le,wy:ce,cloudns:a,"is-by":a,"land-4-sale":a,"stuff-4-sale":a,heliohost:a,enscaled:[0,{phx:a}],mircloud:a,ngo:a,golffan:a,noip:a,pointto:a,freeddns:a,srv:[2,{gh:a,gl:a}],platterp:a,servername:a}],uy:[1,{com:e,edu:e,gub:e,mil:e,net:e,org:e}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,gv:[2,{d:a}],"0e":n,mydns:a}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,emprende:e,firm:e,gob:e,gov:e,ia:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:[1,{edu:e}],vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e}],vu:X,wf:[1,{biz:a,sch:a}],ws:[1,{com:e,edu:e,gov:e,net:e,org:e,advisor:n,cloud66:a,dyndns:a,mypets:a}],yt:[1,{org:a}],"xn--mgbaam7a8h":e,امارات:e,"xn--y9a3aq":e,հայ:e,"xn--54b7fta0cc":e,বাংলা:e,"xn--90ae":e,бг:e,"xn--mgbcpq6gpa1a":e,البحرين:e,"xn--90ais":e,бел:e,"xn--fiqs8s":e,中国:e,"xn--fiqz9s":e,中國:e,"xn--lgbbat1ad8j":e,الجزائر:e,"xn--wgbh1c":e,مصر:e,"xn--e1a4c":e,ею:e,"xn--qxa6a":e,ευ:e,"xn--mgbah1a3hjkrd":e,موريتانيا:e,"xn--node":e,გე:e,"xn--qxam":e,ελ:e,"xn--j6w193g":[1,{"xn--gmqw5a":e,"xn--55qx5d":e,"xn--mxtq1m":e,"xn--wcvs22d":e,"xn--uc0atv":e,"xn--od0alg":e}],香港:[1,{個人:e,公司:e,政府:e,教育:e,組織:e,網絡:e}],"xn--2scrj9c":e,ಭಾರತ:e,"xn--3hcrj9c":e,ଭାରତ:e,"xn--45br5cyl":e,ভাৰত:e,"xn--h2breg3eve":e,भारतम्:e,"xn--h2brj9c8c":e,भारोत:e,"xn--mgbgu82a":e,ڀارت:e,"xn--rvc1e0am3e":e,ഭാരതം:e,"xn--h2brj9c":e,भारत:e,"xn--mgbbh1a":e,بارت:e,"xn--mgbbh1a71e":e,بھارت:e,"xn--fpcrj9c3d":e,భారత్:e,"xn--gecrj9c":e,ભારત:e,"xn--s9brj9c":e,ਭਾਰਤ:e,"xn--45brj9c":e,ভারত:e,"xn--xkc2dl3a5ee0h":e,இந்தியா:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,"xn--mgbtx2b":e,عراق:e,"xn--mgbayh7gpa":e,الاردن:e,"xn--3e0b707e":e,한국:e,"xn--80ao21a":e,қаз:e,"xn--q7ce6a":e,ລາວ:e,"xn--fzc2c9e2c":e,ලංකා:e,"xn--xkc2al3hye2a":e,இலங்கை:e,"xn--mgbc0a9azcg":e,المغرب:e,"xn--d1alf":e,мкд:e,"xn--l1acc":e,мон:e,"xn--mix891f":e,澳門:e,"xn--mix082f":e,澳门:e,"xn--mgbx4cd0ab":e,مليسيا:e,"xn--mgb9awbf":e,عمان:e,"xn--mgbai9azgqp6j":e,پاکستان:e,"xn--mgbai9a5eva00b":e,پاكستان:e,"xn--ygbi2ammx":e,فلسطين:e,"xn--90a3ac":[1,{"xn--80au":e,"xn--90azh":e,"xn--d1at":e,"xn--c1avg":e,"xn--o1ac":e,"xn--o1ach":e}],срб:[1,{ак:e,обр:e,од:e,орг:e,пр:e,упр:e}],"xn--p1ai":e,рф:e,"xn--wgbl6a":e,قطر:e,"xn--mgberp4a5d4ar":e,السعودية:e,"xn--mgberp4a5d4a87g":e,السعودیة:e,"xn--mgbqly7c0a67fbc":e,السعودیۃ:e,"xn--mgbqly7cvafr":e,السعوديه:e,"xn--mgbpl2fh":e,سودان:e,"xn--yfro4i67o":e,新加坡:e,"xn--clchc0ea0b2g2a9gcd":e,சிங்கப்பூர்:e,"xn--ogbpf8fl":e,سورية:e,"xn--mgbtf8fl":e,سوريا:e,"xn--o3cw4h":[1,{"xn--o3cyx2a":e,"xn--12co0c3b4eva":e,"xn--m3ch0j3a":e,"xn--h3cuzk1di":e,"xn--12c1fe0br":e,"xn--12cfi8ixb8l":e}],ไทย:[1,{ทหาร:e,ธุรกิจ:e,เน็ต:e,รัฐบาล:e,ศึกษา:e,องค์กร:e}],"xn--pgbs0dh":e,تونس:e,"xn--kpry57d":e,台灣:e,"xn--kprw13d":e,台湾:e,"xn--nnx388a":e,臺灣:e,"xn--j1amh":e,укр:e,"xn--mgb2ddes":e,اليمن:e,xxx:e,ye:o,za:[0,{ac:e,agric:e,alt:e,co:e,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:a}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:a,aiven:a,beget:n,brave:r,clerk:a,clerkstage:a,cloudflare:a,wnext:a,csb:[2,{preview:a}],convex:a,deta:a,ondigitalocean:a,easypanel:a,encr:[2,{frontend:a}],evervault:i,expo:[2,{staging:a}],edgecompute:a,"on-fleek":a,flutterflow:a,e2b:a,framer:a,github:a,hosted:n,run:[0,{"*":a,mtls:n}],web:a,hackclub:a,hasura:a,botdash:a,leapcell:a,loginline:a,lovable:a,luyani:a,medusajs:a,messerli:a,mocha:a,netlify:a,ngrok:a,"ngrok-free":a,developer:n,noop:a,northflank:n,upsun:n,railway:[0,{up:a}],replit:s,nyat:a,snowflake:[0,{"*":a,privatelink:n}],streamlit:a,storipress:a,telebit:a,typedream:a,vercel:a,wal:a,wasmer:a,bookonline:a,windsurf:a,zeabur:a,zerops:n}],apple:e,aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{on:[0,{"af-south-1":l,"ap-east-1":l,"ap-northeast-1":l,"ap-northeast-2":l,"ap-northeast-3":l,"ap-south-1":l,"ap-south-2":u,"ap-southeast-1":l,"ap-southeast-2":l,"ap-southeast-3":l,"ap-southeast-4":u,"ap-southeast-5":u,"ca-central-1":l,"ca-west-1":u,"eu-central-1":l,"eu-central-2":u,"eu-north-1":l,"eu-south-1":l,"eu-south-2":u,"eu-west-1":l,"eu-west-2":l,"eu-west-3":l,"il-central-1":u,"me-central-1":u,"me-south-1":l,"sa-east-1":l,"us-east-1":l,"us-east-2":l,"us-west-1":l,"us-west-2":l,"us-gov-east-1":d,"us-gov-west-1":d}],sagemaker:[0,{"ap-northeast-1":m,"ap-northeast-2":m,"ap-south-1":m,"ap-southeast-1":m,"ap-southeast-2":m,"ca-central-1":g,"eu-central-1":m,"eu-west-1":m,"eu-west-2":m,"us-east-1":g,"us-east-2":g,"us-west-2":g,"af-south-1":h,"ap-east-1":h,"ap-northeast-3":h,"ap-south-2":p,"ap-southeast-3":h,"ap-southeast-4":p,"ca-west-1":[0,{notebook:a,"notebook-fips":a}],"eu-central-2":h,"eu-north-1":h,"eu-south-1":h,"eu-south-2":h,"eu-west-3":h,"il-central-1":h,"me-central-1":h,"me-south-1":h,"sa-east-1":h,"us-gov-east-1":y,"us-gov-west-1":y,"us-west-1":[0,{notebook:a,"notebook-fips":a,studio:a}],experiments:n}],repost:[0,{private:n}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:a,nz:a}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{v0:a,windsurf:a}],builders:[1,{cloudsite:a}],business:k,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:a}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:a}]}],case:e,cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{convex:a,elementor:a,emergent:a,encoway:[0,{eu:a}],statics:n,ravendb:a,axarnet:[0,{"es-1":a}],diadem:a,jelastic:[0,{vip:a}],jele:a,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:a}]}],it1:a}],keliweb:[2,{cs:a}],oxa:[2,{tn:a,uk:a}],primetel:[2,{uk:a}],reclaim:[0,{ca:a,uk:a,us:a}],trendhosting:[0,{ch:a,de:a}],jote:a,jotelulu:a,kuleuven:a,laravel:a,linkyard:a,magentosite:n,matlab:a,observablehq:a,perspecta:a,vapor:a,"on-rancher":n,scw:[0,{baremetal:[0,{"fr-par-1":a,"fr-par-2":a,"nl-ams-1":a}],"fr-par":[0,{cockpit:a,ddl:a,dtwh:a,fnc:[2,{functions:a}],ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a,whm:a}],instances:[0,{priv:a,pub:a}],k8s:a,"nl-ams":[0,{cockpit:a,ddl:a,dtwh:a,ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a,whm:a}],"pl-waw":[0,{cockpit:a,ddl:a,dtwh:a,ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a}],scalebook:a,smartlabeling:a}],servebolt:a,onstackit:[0,{runs:a}],trafficplex:a,"unison-services":a,urown:a,voorloper:a,zap:a}],club:[1,{cloudns:a,jele:a,barsy:a}],clubmed:e,coach:e,codes:[1,{owo:n}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:a,ravendb:a,myforum:a}],company:e,compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:a,de:a}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:a,bss:a}],dev:[1,{"12chars":a,myaddr:a,panel:a,bearblog:a,lcl:n,lclstage:n,stg:n,stgstage:n,pages:a,r2:a,workers:a,deno:a,"deno-staging":a,deta:a,lp:[2,{api:a,objects:a}],evervault:i,fly:a,githubpreview:a,gateway:n,botdash:a,inbrowser:n,"is-a-good":a,iserv:a,leapcell:a,runcontainers:a,localcert:[0,{user:n}],loginline:a,barsy:a,mediatech:a,"mocha-sandbox":a,modx:a,ngrok:a,"ngrok-free":a,"is-a-fullstack":a,"is-cool":a,"is-not-a":a,localplayer:a,xmit:a,"platter-app":a,replit:[2,{archer:a,bones:a,canary:a,global:a,hacker:a,id:a,janeway:a,kim:a,kira:a,kirk:a,odo:a,paris:a,picard:a,pike:a,prerelease:a,reed:a,riker:a,sisko:a,spock:a,staging:a,sulu:a,tarpit:a,teams:a,tucker:a,wesley:a,worf:a}],crm:[0,{d:n,w:n,wa:n,wb:n,wc:n,wd:n,we:n,wf:n}],erp:F,vercel:a,webhare:n,hrsn:a,"is-a":a}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:a}]}],direct:[1,{libp2p:a}],directory:e,discount:e,discover:e,dish:e,diy:e,dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:k,email:[1,{crisp:[0,{on:a}],tawk:V,tawkto:V}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:n}],eurovision:e,eus:[1,{party:$}],events:[1,{koobin:a,co:a}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:a}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:k,fire:e,firestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:e,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:a,sheezy:a}],gap:e,garden:e,gay:[1,{pages:a}],gbiz:e,gdn:[1,{cnpy:a}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:[1,{appwrite:a}],globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goo:e,goodyear:e,goog:[1,{cloud:a,translate:a,usercontent:n}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:a}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:a}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:a,freesite:a,easypanel:a,emergent:a,fastvps:a,myfast:a,tempurl:a,wpmudev:a,iserv:a,jele:a,mircloud:a,bolt:a,wp2:a,half:a}],hosting:[1,{opencraft:a}],hot:e,hotel:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:a,edu:a}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:a,cyon:a,joinmc:a,dweb:n,inbrowser:n,nftstorage:oe,mypep:a,storacha:oe,w3s:oe}],live:[1,{aem:a,hlx:a,ewp:n}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:a}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:e,mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:ne,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:a,barsyonline:a}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:e,monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{aem:a,alces:n,co:a,arvo:a,azimuth:a,tlon:a}],neustar:e,new:e,news:[1,{noticeable:a}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:n,service:a,website:a}],ong:[1,{obl:a}],onl:e,online:[1,{eero:a,"eero-stage":a,websitebuilder:a,leapcell:a,barsy:a}],ooo:e,open:e,oracle:e,orange:[1,{tech:a}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:a}],page:[1,{aem:a,hlx:a,translated:a,codeberg:a,heyflow:a,prvcy:a,rocky:a,statichost:a,pdns:a,plesk:a}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:ne,physio:e,pics:e,pictet:e,pictures:[1,{1337:a}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:a}],place:k,play:e,playstation:e,plumbing:e,plus:[1,{playit:[2,{at:n,with:a}]}],pnc:e,pohl:e,poker:e,politie:e,porn:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:n,kin:n,barsy:a}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:[1,{aem:a}],rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:a}],rocks:[1,{myddns:a,stackit:a,"lima-city":a,webspace:a}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{appwrite:n,canva:a,development:a,ravendb:a,liara:[2,{iran:a}],lovable:a,needle:a,build:n,code:n,database:n,migration:n,onporter:a,repl:a,stackit:a,val:F,vercel:a,wix:a}],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{gov:[2,{service:a}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:a}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:a,hoplix:a,barsy:a,barsyonline:a,shopware:a}],shopping:e,shouji:e,show:e,silk:e,sina:e,singles:e,site:[1,{square:a,canva:x,cloudera:n,convex:a,cyon:a,caffeine:a,fastvps:a,figma:a,"figma-gov":a,preview:a,heyflow:a,jele:a,jouwweb:a,loginline:a,barsy:a,co:a,notion:a,omniwe:a,opensocial:a,madethis:a,support:a,platformsh:n,tst:n,byen:a,srht:a,novecore:a,cpanel:a,wpsquared:a,sourcecraft:a}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:e,song:e,sony:e,soy:e,spa:e,space:[1,{myfast:a,heiyu:a,hf:[2,{static:a}],"app-ionos":a,project:a,uber:a,xs4all:a}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:a,sellfy:a,shopware:a,storebase:a}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:a}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:a}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:a,jelastic:a}],tech:[1,{cleverapps:a}],technology:k,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:a}],tokyo:e,tools:[1,{addr:B,myaddr:a}],top:[1,{ntdll:a,wadl:n}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:[1,{hidns:a}],virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:e,volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:ne,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:ne,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,wolterskluwer:e,woodside:e,work:e,works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,कॉम:e,"xn--1ck2e1b":e,セール:e,"xn--1qqw23a":e,佛山:e,"xn--30rr7y":e,慈善:e,"xn--3bst00m":e,集团:e,"xn--3ds443g":e,在线:e,"xn--3pxu8k":e,点看:e,"xn--42c2d9a":e,คอม:e,"xn--45q11c":e,八卦:e,"xn--4gbrim":e,موقع:e,"xn--55qw42g":e,公益:e,"xn--55qx5d":e,公司:e,"xn--5su34j936bgsg":e,香格里拉:e,"xn--5tzm5g":e,网站:e,"xn--6frz82g":e,移动:e,"xn--6qq986b3xl":e,我爱你:e,"xn--80adxhks":e,москва:e,"xn--80aqecdr1a":e,католик:e,"xn--80asehdb":e,онлайн:e,"xn--80aswg":e,сайт:e,"xn--8y0a063a":e,联通:e,"xn--9dbq2a":e,קום:e,"xn--9et52u":e,时尚:e,"xn--9krt00a":e,微博:e,"xn--b4w605ferd":e,淡马锡:e,"xn--bck1b9a5dre4c":e,ファッション:e,"xn--c1avg":e,орг:e,"xn--c2br7g":e,नेट:e,"xn--cck2b3b":e,ストア:e,"xn--cckwcxetd":e,アマゾン:e,"xn--cg4bki":e,삼성:e,"xn--czr694b":e,商标:e,"xn--czrs0t":e,商店:e,"xn--czru2d":e,商城:e,"xn--d1acj3b":e,дети:e,"xn--eckvdtc9d":e,ポイント:e,"xn--efvy88h":e,新闻:e,"xn--fct429k":e,家電:e,"xn--fhbei":e,كوم:e,"xn--fiq228c5hs":e,中文网:e,"xn--fiq64b":e,中信:e,"xn--fjq720a":e,娱乐:e,"xn--flw351e":e,谷歌:e,"xn--fzys8d69uvgm":e,電訊盈科:e,"xn--g2xx48c":e,购物:e,"xn--gckr3f0f":e,クラウド:e,"xn--gk3at1e":e,通販:e,"xn--hxt814e":e,网店:e,"xn--i1b6b1a6a2e":e,संगठन:e,"xn--imr513n":e,餐厅:e,"xn--io0a7i":e,网络:e,"xn--j1aef":e,ком:e,"xn--jlq480n2rg":e,亚马逊:e,"xn--jvr189m":e,食品:e,"xn--kcrx77d1x4a":e,飞利浦:e,"xn--kput3i":e,手机:e,"xn--mgba3a3ejt":e,ارامكو:e,"xn--mgba7c0bbn0a":e,العليان:e,"xn--mgbab2bd":e,بازار:e,"xn--mgbca7dzdo":e,ابوظبي:e,"xn--mgbi4ecexp":e,كاثوليك:e,"xn--mgbt3dhd":e,همراه:e,"xn--mk1bu44c":e,닷컴:e,"xn--mxtq1m":e,政府:e,"xn--ngbc5azd":e,شبكة:e,"xn--ngbe9e0a":e,بيتك:e,"xn--ngbrx":e,عرب:e,"xn--nqv7f":e,机构:e,"xn--nqv7fs00ema":e,组织机构:e,"xn--nyqy26a":e,健康:e,"xn--otu796d":e,招聘:e,"xn--p1acf":[1,{"xn--90amc":a,"xn--j1aef":a,"xn--j1ael8b":a,"xn--h1ahn":a,"xn--j1adp":a,"xn--c1avg":a,"xn--80aaa0cvac":a,"xn--h1aliz":a,"xn--90a1af":a,"xn--41a":a}],рус:[1,{биз:a,ком:a,крым:a,мир:a,мск:a,орг:a,самара:a,сочи:a,спб:a,я:a}],"xn--pssy2u":e,大拿:e,"xn--q9jyb4c":e,みんな:e,"xn--qcka1pmc":e,グーグル:e,"xn--rhqv96g":e,世界:e,"xn--rovu88b":e,書籍:e,"xn--ses554g":e,网址:e,"xn--t60b56a":e,닷넷:e,"xn--tckwe":e,コム:e,"xn--tiq49xqyj":e,天主教:e,"xn--unup4y":e,游戏:e,"xn--vermgensberater-ctb":e,vermögensberater:e,"xn--vermgensberatung-pwb":e,vermögensberatung:e,"xn--vhquv":e,企业:e,"xn--vuq861b":e,信息:e,"xn--w4r85el8fhu5dnra":e,嘉里大酒店:e,"xn--w4rs40l":e,嘉里:e,"xn--xhq521b":e,广东:e,"xn--zfr164b":e,政务:e,xyz:[1,{caffeine:a,botdash:a,telebit:n}],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{triton:n,stackit:a,lima:a}],zuerich:e}]}();function u(e,a,t,o){let n=null,r=a;for(;void 0!==r&&(0!==(r[0]&o)&&(n={index:t+1,isIcann:1===r[0],isPrivate:2===r[0]}),-1!==t);){const a=r[1];r=Object.prototype.hasOwnProperty.call(a,e[t])?a[e[t]]:a["*"],t-=1}return n}function d(e,a,t){var o;if(function(e,a,t){if(!a.allowPrivateDomains&&e.length>3){const a=e.length-1,o=e.charCodeAt(a),n=e.charCodeAt(a-1),r=e.charCodeAt(a-2),i=e.charCodeAt(a-3);if(109===o&&111===n&&99===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="com",!0;if(103===o&&114===n&&111===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="org",!0;if(117===o&&100===n&&101===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="edu",!0;if(118===o&&111===n&&103===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="gov",!0;if(116===o&&101===n&&110===r&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="net",!0;if(101===o&&100===n&&46===r)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="de",!0}return!1}(e,a,t))return;const n=e.split("."),r=(a.allowPrivateDomains?2:0)|(a.allowIcannDomains?1:0),i=u(n,c,n.length-1,r);if(null!==i)return t.isIcann=i.isIcann,t.isPrivate=i.isPrivate,void(t.publicSuffix=n.slice(i.index+1).join("."));const s=u(n,l,n.length-1,r);if(null!==s)return t.isIcann=s.isIcann,t.isPrivate=s.isPrivate,void(t.publicSuffix=n.slice(s.index).join("."));t.isIcann=!1,t.isPrivate=!1,t.publicSuffix=null!==(o=n[n.length-1])&&void 0!==o?o:null}const h={domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null};function m(e,a={}){return s(e,5,d,a,{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null})}function p(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,0,d,a,h).hostname}function g(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,2,d,a,h).publicSuffix}function y(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,3,d,a,h).domain}function b(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,4,d,a,h).subdomain}function f(e,a={}){var t;return(t=h).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,5,d,a,h).domainWithoutSuffix}},428:e=>{e.exports=window.jQuery},538:(e,a,t)=>{t.d(a,{ED:()=>s,Po:()=>r,ld:()=>i,rB:()=>c});var o=t(544),n=t(7723);const r=[{label:(0,n.__)("System (default)",o.TEXT_DOMAIN),value:"system"},{label:(0,n.__)("Arabic",o.TEXT_DOMAIN),value:"ar"},{label:(0,n.__)("Chinese",o.TEXT_DOMAIN),value:"zh"},{label:(0,n.__)("Dutch",o.TEXT_DOMAIN),value:"nl"},{label:(0,n.__)("English",o.TEXT_DOMAIN),value:"en"},{label:(0,n.__)("French",o.TEXT_DOMAIN),value:"fr"},{label:(0,n.__)("German",o.TEXT_DOMAIN),value:"de"},{label:(0,n.__)("Hebrew",o.TEXT_DOMAIN),value:"he"},{label:(0,n.__)("Hindi",o.TEXT_DOMAIN),value:"hi"},{label:(0,n.__)("Hungarian",o.TEXT_DOMAIN),value:"hu"},{label:(0,n.__)("Indonesian",o.TEXT_DOMAIN),value:"id"},{label:(0,n.__)("Italian",o.TEXT_DOMAIN),value:"it"},{label:(0,n.__)("Japanese",o.TEXT_DOMAIN),value:"ja"},{label:(0,n.__)("Korean",o.TEXT_DOMAIN),value:"ko"},{label:(0,n.__)("Norwegian",o.TEXT_DOMAIN),value:"nb"},{label:(0,n.__)("Polish",o.TEXT_DOMAIN),value:"pl"},{label:(0,n.__)("Portuguese",o.TEXT_DOMAIN),value:"pt"},{label:(0,n.__)("Russian",o.TEXT_DOMAIN),value:"ru"},{label:(0,n.__)("Spanish",o.TEXT_DOMAIN),value:"es"},{label:(0,n.__)("Swedish",o.TEXT_DOMAIN),value:"sv"},{label:(0,n.__)("Thai",o.TEXT_DOMAIN),value:"th"},{label:(0,n.__)("Turkish",o.TEXT_DOMAIN),value:"tr"},{label:(0,n.__)("Ukrainian",o.TEXT_DOMAIN),value:"ua"}],i=[{label:(0,n.__)("Light",o.TEXT_DOMAIN),value:"light"},{label:(0,n.__)("Dark",o.TEXT_DOMAIN),value:"dark"},{label:(0,n.__)("System",o.TEXT_DOMAIN),value:"system"}],s=[{label:(0,n.__)("Auto (by language)",o.TEXT_DOMAIN),value:"auto"},{label:(0,n.__)("Left to Right",o.TEXT_DOMAIN),value:"ltr"},{label:(0,n.__)("Right to Left",o.TEXT_DOMAIN),value:"rtl"}],c=[{label:(0,n.__)("Preferred Username",o.TEXT_DOMAIN),value:"preferred_username"},{label:(0,n.__)("Email",o.TEXT_DOMAIN),value:"email"},{label:(0,n.__)("Phone Number",o.TEXT_DOMAIN),value:"phone_number"},{label:(0,n.__)("Name",o.TEXT_DOMAIN),value:"name"},{label:(0,n.__)("Given Name",o.TEXT_DOMAIN),value:"given_name"},{label:(0,n.__)("Family Name",o.TEXT_DOMAIN),value:"family_name"},{label:(0,n.__)("Middle Name",o.TEXT_DOMAIN),value:"middle_name"},{label:(0,n.__)("Nickname",o.TEXT_DOMAIN),value:"nickname"},{label:(0,n.__)("Gender",o.TEXT_DOMAIN),value:"gender"},{label:(0,n.__)("Birthdate",o.TEXT_DOMAIN),value:"birthdate"},{label:(0,n.__)("Address",o.TEXT_DOMAIN),value:"address"},{label:(0,n.__)("Picture",o.TEXT_DOMAIN),value:"picture"},{label:(0,n.__)("Website",o.TEXT_DOMAIN),value:"website"},{label:(0,n.__)("Zoneinfo",o.TEXT_DOMAIN),value:"zoneinfo"},{label:(0,n.__)("Locale",o.TEXT_DOMAIN),value:"locale"},{label:(0,n.__)("Custom",o.TEXT_DOMAIN),value:"custom"}]},544:(e,a,t)=>{var o,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,c={};((e,a)=>{for(var t in a)n(e,t,{get:a[t],enumerable:!0})})(c,{TEXT_DOMAIN:()=>v,clearMfaPreferences:()=>N,configureAmplify:()=>z,getAmplifyConfig:()=>P,getGateyPlugin:()=>u,getGroups:()=>L,getMfaPreferences:()=>U,getPreferredRole:()=>q,getRoles:()=>X,getScopes:()=>B,getStore:()=>h,getStoreDispatch:()=>_,getStoreSelect:()=>C,getUserAttributes:()=>W,initializeGatey:()=>ee,isAuthenticated:()=>R,isInGroup:()=>J,loadAuthSession:()=>M,loadMFAPreferences:()=>O,loadUserAttributes:()=>D,login:()=>F,logout:()=>G,observeStore:()=>I,sanitizeAuthenticatorConfig:()=>E,store:()=>Y,waitForGateyReady:()=>d}),e.exports=(o=c,((e,a,t,o)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of i(a))!s.call(e,t)&&undefined!==t&&n(e,t,{get:()=>a[t],enumerable:!(o=r(a,t))||o.enumerable});return e})(n({},"__esModule",{value:!0}),o));var l=t(3752);function u(){return globalThis.WpSuite?.plugins?.gatey}async function d(e=8e3){let a=u();if("available"!==a?.status){if("error"===a?.status)throw new Error("Gatey failed");await new Promise((a,t)=>{let o=()=>r(a),n=()=>r(()=>t(new Error("Gatey failed"))),r=e=>{window.removeEventListener("wpsuite:gatey:ready",o),window.removeEventListener("wpsuite:gatey:error",n),i&&clearTimeout(i),e()};window.addEventListener("wpsuite:gatey:ready",o,{once:!0}),window.addEventListener("wpsuite:gatey:error",n,{once:!0});let i=e?window.setTimeout(()=>r(()=>t(new Error("Gatey timeout"))),e):0})}}async function h(e=1e4){await d(e);let a=u()?.cognito?.store;if(!a)throw new Error("Gatey store is not available");return a}var m,p=t(3752),g=t(3752),y=t(3752),b=t(3752),f=t(7143),k=t(1953),w="gatey_account",v="gatey";m=typeof WpSuite<"u"?WpSuite.siteSettings:{};var x=e=>{e?.username?window.localStorage.setItem(w,JSON.stringify(e)):window.localStorage.removeItem(w)},A=async e=>{let a=JSON.parse(window.localStorage.getItem(w)??"{}"),t=!1;if(a?.username)try{let e=await(0,y.fetchAuthSession)();e?.tokens?.accessToken?.payload?.exp&&e.tokens.accessToken.payload.exp>(new Date).getTime()/1e3&&(t=!0)}catch(e){console.error(e)}else try{a=await H(!1),a?.username&&(x(a),a.loaded=!0,t=!0)}catch(e){console.error(e)}return!t&&a?.username&&(x({}),h().then(async a=>{await G(e?.signOutHook),_(a).clearAccount()})),a},E=e=>{let a=e&&"object"==typeof e?e:{},t={customProviders:Array.isArray(a.customProviders)?a.customProviders:[],formFields:Array.isArray(a.formFields)?a.formFields:[],apiConfigurations:"object"==typeof a.apiConfigurations&&a.apiConfigurations?a.apiConfigurations:{default:{apis:[]}}};return"string"==typeof a.subscriptionType&&(t.subscriptionType=a.subscriptionType),t},S={setAmplifyConfig:e=>({type:"SET_AMPLIFY_CONFIG",amplifyConfig:e}),setAccount:e=>({type:"SET_ACCOUNT",account:e}),clearAccount:()=>({type:"CLEAR_ACCOUNT"}),setSignedIn:e=>({type:"SET_SIGNED_IN",signedIn:e}),setNextUrl:e=>({type:"SET_NEXT_URL",nextUrl:e}),setLanguage:e=>(e&&"system"!==e?b.I18n.setLanguage(e):b.I18n.setLanguage(""),{type:"SET_LANGUAGE",language:e}),setDirection:e=>({type:"SET_DIRECTION",direction:e}),reloadAuthSession:()=>({type:"RELOAD_AUTH_SESSION"}),reloadUserAttributes:()=>({type:"RELOAD_USER_ATTRIBUTES"}),reloadMFAPreferences:()=>({type:"RELOAD_MFA_PREFERENCE"})},j={getAmplifyConfig:e=>e.amplifyConfig,getAccount:e=>e.account,getNextUrl:e=>e.nextUrl,isSignedIn:e=>e.signedIn,getConfig:e=>e.config,getCustomTranslations:e=>e.customTranslations,getLanguage:e=>e.language,getDirection:e=>e.direction,getState:e=>e},T={},_=e=>(0,f.dispatch)(e),C=e=>(0,f.select)(e),I=(e,a,t)=>{let o;function n(){let n=C(e).getState(),r=a(n);if(r!==o){let e=o;o=r,t(o,e)}}let r=(0,f.subscribe)(n,e);return n(),r},P=()=>p.Amplify.getConfig(),z=(e,a)=>{p.Amplify.configure(e,a)},M=e=>(0,g.fetchAuthSession)(e),D=()=>(0,g.fetchUserAttributes)(),O=()=>(0,g.fetchMFAPreference)(),H=async(e=!0)=>{let a=e?await A():{};if(a?.username)return a;try{if((await(0,g.fetchAuthSession)()).tokens)return{username:(await(0,g.getCurrentUser)()).username,userAttributes:await D(),mfaPreferences:await O()}}catch(e){console.error(e);try{await(0,g.signOut)()}catch{}}return{}},N=async()=>{await(0,g.updateMFAPreference)({totp:"DISABLED"})},K=()=>A().then(e=>e?.username),W=()=>A().then(e=>e?.userAttributes),U=()=>A().then(e=>e?.mfaPreferences),R=()=>A().then(e=>!!e?.username),J=e=>L().then(a=>a?.includes(e)||!1),L=()=>M().then(e=>e.tokens?.idToken?.payload["cognito:groups"]instanceof Array?e.tokens.idToken.payload["cognito:groups"].map(e=>e):[]).catch(e=>{console.error(e)}),X=async()=>M().then(e=>e.tokens?.idToken?.payload["cognito:roles"]instanceof Array?e.tokens.idToken.payload["cognito:roles"].map(e=>e).map(e=>e.substring(e.indexOf("/")+1)):[]).catch(e=>{console.error(e)}),q=async()=>M().then(e=>{if(!e.tokens?.idToken?.payload["cognito:preferred_role"])return;let a=e.tokens.idToken.payload["cognito:preferred_role"];return a.substring(a.indexOf("/")+1)}).catch(e=>{console.error(e)}),B=()=>M().then(e=>e.tokens?.accessToken.payload.scope?.split(" ")??[]).catch(e=>{console.error(e)}),F=async e=>{let a,t=u();if(!t)throw new Error("Gatey plugin is not available");return t.settings.integrateWpLogin&&t.restUrl?.startsWith("http")&&(a=await t.cognito.post({apiName:"admin",path:"/login"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await t.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e)),t.settings.redirectSignIn??a},G=async e=>{let a,t=u();if(!t)throw new Error("Gatey plugin is not available");t.settings.integrateWpLogin&&(a=await t.cognito.get({apiName:"admin",path:"/logout"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await t.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e));try{await(0,g.signOut)()}catch{}return t.settings.redirectSignOut??a},V=t(1953),$=()=>{h().then(e=>{I(e,e=>e.nextUrl,async e=>{e&&window.location.assign(e)}),_(e).clearAccount()}).catch(e=>{console.error("Gatey signOut error:",e)})},Z=e=>{h().then(a=>{_(a).setLanguage(e??"en")}).catch(e=>{console.error("Gatey setLanguage error:",e)})},Q=e=>{h().then(a=>{_(a).setDirection(e??"auto")}).catch(e=>{console.error("Gatey setDirection error:",e)})},Y=async()=>h(),ee=()=>{let e=globalThis.WpSuite,a=u();if(!a)throw new Error("Gatey plugin is not available");(0,V.attachDefaultPluginRuntime)(a),a.status=a.status??"initializing";let t=(async()=>{let e=await(async()=>{let e=E(await(0,k.getConfig)("gatey"));(async e=>{let a=window.location.hostname.toLowerCase().split(":")[0],t=u();if(!t)throw new Error("Gatey plugin is not available");let o=t.settings?.secondaryUserPoolDomains&&a.toLowerCase().match(t.settings.secondaryUserPoolDomains.toLowerCase())&&t.settings?.userPoolConfigurations.secondary?.Auth?.Cognito?.userPoolId?t.settings?.userPoolConfigurations.secondary:t.settings?.userPoolConfigurations.default,n={Auth:{Cognito:{userPoolClientId:"",userPoolId:"",identityPoolId:"",...o.Auth?.Cognito,loginWith:{oauth:{domain:"",scopes:[],responseType:"code",...o.Auth?.Cognito?.loginWith?.oauth,redirectSignIn:[window.location.origin+t.settings?.signInPage],redirectSignOut:[window.location.origin+t.settings?.signInPage]}}}},API:{...o.API,REST:{...o.API?.REST,admin:{endpoint:t.restUrl}}}},r=e?.apiConfigurations?.secondary?.domains&&a.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default;r?.apis?.forEach(e=>{let a=n.API?.REST;a&&(a[e.name]={endpoint:e.endpoint,region:e.region})}),z(n,{API:{REST:{headers:async e=>{let a=r?.apis?.find(a=>a.name===e.apiName);if("admin"===e.apiName||"ID_TOKEN"===a?.authorization||"ACCESS_TOKEN"===a?.authorization)try{let t=await M();if(t?.tokens?.idToken&&t?.tokens?.accessToken)return{Authorization:`Bearer ${"admin"===e.apiName||"ID_TOKEN"===a?.authorization?t.tokens.idToken.toString():t.tokens.accessToken.toString()}`}}catch(e){console.error(e),h().then(e=>{_(e).clearAccount()})}return{}}}}})})(e);let a=window.location.hostname.toLowerCase().split(":")[0],t=e?.apiConfigurations?.secondary?.domains&&a.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default,o=await A(t),n=await(async()=>{let e=u();if(!e)throw new Error("Gatey plugin is not available");let a=null;return e.settings.customTranslationsUrl&&(a=await fetch(e.settings.customTranslationsUrl+(e.settings.customTranslationsUrl.includes("?")?"&":"?")+"t="+m.lastUpdate).then(e=>e.ok?e.text():null).then(e=>e?JSON.parse(e):null).catch(()=>null)),a??null})();return{config:e,amplifyConfig:{},account:o,signedIn:!!o?.username&&!o.loaded,nextUrl:void 0,language:void 0,direction:void 0,customTranslations:n,reloadAuthSession:0,reloadUserAttributes:0,reloadMFAPreferences:0}})(),a=(0,f.createReduxStore)("wpsuite/gatey",{reducer(a=e,t){switch(t.type){case"SET_AMPLIFY_CONFIG":return{...a,amplifyConfig:t.amplifyConfig};case"SET_ACCOUNT":return x(t.account),{...a,account:t.account};case"CLEAR_ACCOUNT":return x({}),{...a,account:{}};case"RELOAD_AUTH_SESSION":{let e=Math.random();return{...a,reloadAuthSession:a.reloadAuthSession!==e?e:e+1}}case"RELOAD_USER_ATTRIBUTES":{let e=Math.random();return{...a,reloadUserAttributes:a.reloadUserAttributes!==e?e:e+1}}case"RELOAD_MFA_PREFERENCE":{let e=Math.random();return{...a,reloadMFAPreferences:a.reloadMFAPreferences!==e?e:e+1}}case"SET_SIGNED_IN":return{...a,signedIn:t.signedIn};case"SET_NEXT_URL":return{...a,nextUrl:t.nextUrl};case"SET_LANGUAGE":return{...a,language:t.language};case"SET_DIRECTION":return{...a,direction:t.direction}}return a},actions:S,selectors:j,resolvers:T});return(0,f.register)(a),a})();return a.cognito={store:t,observeStore:I,setLanguage:Z,setDirection:Q,getAmplifyConfig:P,isAuthenticated:R,isInGroup:J,getUsername:K,getUserAttributes:W,getMfaPreferences:U,clearMfaPreferences:N,getGroups:L,getRoles:X,getPreferredRole:q,getScopes:B,signOut:$,get:l.get,post:l.post,put:l.put,del:l.del,head:l.head,patch:l.patch},t.then(()=>{a.status="available",e?.events?.emit("wpsuite:gatey:ready",{key:a.key,version:a.version})}).catch(t=>{a.status="error",e?.events?.emit("wpsuite:gatey:error",{key:a.key,error:String(t)})}),a}},567:(e,a,t)=>{t.a(e,async(e,a)=>{try{var o=t(1609),n=t(5338),r=(t(428),t(544)),i=t(237),s=t(790),c=e([i]),l=c.then?(await c)():c;i=l[0];const u=new Map;try{const e=async e=>{const a=document.querySelector("#"+e);if(a){jQuery(a).data("rendered","true");const t=a.getAttribute("data-class"),c="true"===a.getAttribute("data-is-preview"),l=a.getAttribute("data-screen"),d=a.getAttribute("data-variation"),h=a.getAttribute("data-color-mode"),m=a.getAttribute("data-language"),p=a.getAttribute("data-direction"),g="true"===a.getAttribute("data-show-open-button"),y=a.getAttribute("data-open-button-title")||"",b=a.getAttribute("data-signing-in-message")||"",f=a.getAttribute("data-signing-out-message")||"",k=a.getAttribute("data-redirecting-message")||"",w=a.getAttribute("data-totp-issuer")||"",v=(0,n.H)(a),x=await(0,r.getStore)();u.has(e)?a.innerHTML=u.get(e)||"":u.set(e,a.innerHTML||""),v.render((0,s.jsx)(o.StrictMode,{children:(0,s.jsx)(i.B,{id:e,className:t,store:x,screen:l,variation:d,colorMode:h,language:m,direction:p,showOpenButton:g,openButtonTitle:y,signingInMessage:b,signingOutMessage:f,redirectingMessage:k,totpIssuer:w,isPreview:c,children:a.children?.length&&a.children[0].innerHTML})}))}};jQuery(document).on("gatey-authenticator-block",(a,t)=>e(t)),jQuery(window).on("elementor/frontend/init",function(){jQuery(document).on("gatey-authenticator-block",(a,t)=>e(t))})}catch(e){console.error(e)}a()}catch(e){a(e)}})},746:(e,a,t)=>{t.a(e,async(e,a)=>{try{var o=t(544),n=t(4997),r=t(8858),i=t(4756),s=t(1359),c=t(790),l=e([i]);i=(l.then?(await l)():l)[0];const u=(0,c.jsxs)("svg",{width:"800px",height:"800px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsx)("title",{children:"Authenticator"}),(0,c.jsxs)("g",{id:"Layer_2","data-name":"Layer 2",children:[(0,c.jsx)("g",{id:"invisible_box","data-name":"invisible box",children:(0,c.jsx)("rect",{width:"48",height:"48",fill:"none"})}),(0,c.jsxs)("g",{id:"authenticator","data-name":"icons Q2",children:[(0,c.jsx)("path",{d:"M24,2S6,7.1,6,8V26.2c0,9.2,13.3,17.3,17,19.5a1.8,1.8,0,0,0,2,0c3.8-2.1,17-10.3,17-19.5V8C42,7.1,24,2,24,2Zm0,39.6a54,54,0,0,1-8.4-6.1A25.3,25.3,0,0,1,24,34a24.8,24.8,0,0,1,8.4,1.5A44.7,44.7,0,0,1,24,41.6ZM38,26.2c0,1.6-.8,3.7-2.6,6.1A30.9,30.9,0,0,0,24,30a30,30,0,0,0-11.3,2.3c-1.9-2.4-2.7-4.5-2.7-6.1V10.5c2.9-1.1,8.7-2.8,14-4.3,5.3,1.5,11.1,3.3,14,4.3Z"}),(0,c.jsx)("path",{d:"M24,14a4,4,0,1,1-4,4,4,4,0,0,1,4-4m0-4a8,8,0,1,0,8,8,8,8,0,0,0-8-8Z"})]})]})]});(0,n.registerBlockType)(r.UU,{attributes:r.uK,title:r.DD,category:r.L1,description:r.h_,edit:i.f,save:s.e,icon:u,textdomain:o.TEXT_DOMAIN}),a()}catch(e){a(e)}})},790:e=>{e.exports=window.ReactJSXRuntime},1359:(e,a,t)=>{t.d(a,{e:()=>r});var o=t(4715),n=t(790);const r=()=>{const e=o.useBlockProps.save(),{children:a,...t}=o.useInnerBlocksProps.save(e);return(0,n.jsx)("div",{...t,children:a})}},1481:(e,a,t)=>{var o=t(544),n=t(4997);const r=JSON.parse('{"UU":"gatey/account-attribute","DD":"Account Attribute","L1":"wpsuite-gatey","h_":"Account Attribute for Gatey Authenticator - display an attribute of the current user","uK":{"component":{"type":"string"},"attribute":{"type":"string"},"custom":{"type":"string"},"colorMode":{"type":"string"},"language":{"type":"string"},"direction":{"type":"string"},"link":{"type":"object","default":{"url":"","opensInNewTab":false,"nofollow":false}},"prefix":{"type":"string"},"postfix":{"type":"string"}}}');var i=t(4715),s=t(6427),c=t(7723),l=t(5573),u=t(790),d=(0,u.jsx)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,u.jsx)(l.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})}),h=(0,u.jsx)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,u.jsx)(l.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})}),m=t(1609),p=t(3752),g=t(538),y=t(9684);const b={name:"gatey-theme",overrides:[p.defaultDarkModeOverride]},f=(0,u.jsxs)("svg",{width:"800px",height:"800px",viewBox:"0 0 48 48",id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("title",{children:"Account Attribute"}),(0,u.jsx)("path",{d:"M0 0h48v48H0z",fill:"none"}),(0,u.jsx)("g",{id:"account-attribute",children:(0,u.jsx)("path",{fill:"true",d:"M31.278,25.525C34.144,23.332,36,19.887,36,16c0-6.627-5.373-12-12-12c-6.627,0-12,5.373-12,12 c0,3.887,1.856,7.332,4.722,9.525C9.84,28.531,5,35.665,5,44h38C43,35.665,38.16,28.531,31.278,25.525z M16,16c0-4.411,3.589-8,8-8 s8,3.589,8,8c0,4.411-3.589,8-8,8S16,20.411,16,16z M24,28c6.977,0,12.856,5.107,14.525,12H9.475C11.144,33.107,17.023,28,24,28z"})})]});(0,n.registerBlockType)(r.UU,{attributes:r.uK,title:r.DD,category:r.L1,description:r.h_,textdomain:o.TEXT_DOMAIN,edit:e=>{const{attributes:a,setAttributes:t}=e,{component:n,attribute:r,custom:l,colorMode:f,language:k,direction:w,link:v={},prefix:x,postfix:A}=a,[E,S]=(0,m.useState)(!1),[j,T]=(0,m.useState)(),_=(0,m.createRef)(),C=(0,i.useBlockProps)(),{...I}=(0,i.useInnerBlocksProps)(C),P=(0,m.useMemo)(()=>{let e=w;return w&&"auto"!==w||(e="ar"===k||"he"===k?"rtl":"ltr"),e},[w,k]);return(0,m.useEffect)(()=>{(0,o.getStore)().then(e=>{T(e)})},[]),(0,u.jsx)("div",{...I,children:(0,u.jsxs)("div",{ref:_,children:[(0,u.jsx)(i.InspectorControls,{children:(0,u.jsxs)(s.PanelBody,{title:(0,c.__)("Settings",o.TEXT_DOMAIN),children:[(0,u.jsx)(s.SelectControl,{label:(0,c.__)("Component",o.TEXT_DOMAIN),value:n,options:[{label:"div",value:"div"},{label:"p",value:"p"},{label:"span",value:"span"},{label:"h1",value:"h1"},{label:"h2",value:"h2"},{label:"h3",value:"h3"},{label:"h4",value:"h4"},{label:"h5",value:"h5"},{label:"h6",value:"h6"}],onChange:e=>{t({component:e})},help:(0,c.__)("Specify the HTML element (e.g., <div>, <span>, <input>) that will render this account attribute.",o.TEXT_DOMAIN)}),(0,u.jsx)(s.ComboboxControl,{label:(0,c.__)("Attribute",o.TEXT_DOMAIN),value:r||"",options:[{label:(0,c.__)("Username",o.TEXT_DOMAIN),value:"sub"},...g.rB],onChange:e=>{t({attribute:e})},placeholder:(0,c.__)("Select an attribute",o.TEXT_DOMAIN),allowReset:!0,help:(0,c.__)("Select the account attribute to display—either a standard Cognito attribute (e.g., “email”, “given_name”) or a custom attribute.",o.TEXT_DOMAIN)}),"custom"===r&&(0,u.jsx)(s.TextControl,{label:(0,c.__)("Custom Attribute",o.TEXT_DOMAIN),value:null!=l?l:"",onChange:e=>{t({custom:e})},placeholder:(0,c.__)("Enter custom attribute",o.TEXT_DOMAIN),help:(0,c.__)("Enter the name of the custom attribute (e.g., “country”).",o.TEXT_DOMAIN)}),(0,u.jsx)(s.TextControl,{label:(0,c.__)("Prefix",o.TEXT_DOMAIN),value:null!=x?x:"",onChange:e=>{t({prefix:e})},placeholder:(0,c.__)("Enter prefix",o.TEXT_DOMAIN),help:(0,c.__)("Enter the prefix (e.g., “Hi, ”).",o.TEXT_DOMAIN)}),(0,u.jsx)(s.TextControl,{label:(0,c.__)("Postfix",o.TEXT_DOMAIN),value:null!=A?A:"",onChange:e=>{t({postfix:e})},placeholder:(0,c.__)("Enter postfix",o.TEXT_DOMAIN),help:(0,c.__)("Enter the postfix (e.g., “!”).",o.TEXT_DOMAIN)}),(0,u.jsx)(s.RadioControl,{label:(0,c.__)("Color Mode",o.TEXT_DOMAIN),selected:f||"system",options:g.ld,onChange:e=>{t({colorMode:e})},help:(0,c.__)("Choose the account attribute’s color scheme—Light, Dark, or System (follows the user’s system preference).",o.TEXT_DOMAIN)}),(0,u.jsx)(s.ComboboxControl,{label:(0,c.__)("Language",o.TEXT_DOMAIN),value:k||"system",options:g.Po,onChange:e=>{t({language:e})},help:(0,c.__)("Set the display language for this account attribute. The chosen language controls the built‑in country selector list and any custom select or radio fields that have translated option labels.",o.TEXT_DOMAIN)}),(0,u.jsx)(s.RadioControl,{label:(0,c.__)("Direction",o.TEXT_DOMAIN),selected:w||"auto",options:g.ED,onChange:e=>{t({direction:e})},help:(0,c.__)("Choose the layout direction for this account attribute—Auto (default; follows the selected language), Left‑to‑Right, or Right‑to‑Left for RTL languages.",o.TEXT_DOMAIN)})]})}),(0,u.jsx)(i.BlockControls,{children:(0,u.jsxs)(s.ToolbarGroup,{children:[v.url&&(0,u.jsx)(s.ToolbarButton,{icon:d,label:"Remove link",onClick:()=>t({link:{url:""}})}),(0,u.jsx)(s.ToolbarButton,{icon:h,label:v.url?"Edit link":"Add link",onClick:()=>S(!0),isPressed:E})]})}),E&&(0,u.jsx)(s.Popover,{onClose:()=>S(!1),focusOnMount:"firstElement",children:(0,u.jsx)(i.LinkControl,{label:(0,c.__)("Link",o.TEXT_DOMAIN),value:v,onChange:e=>{e&&t({link:e})},settings:[{id:"opensInNewTab",title:(0,c.__)("Open in new tab",o.TEXT_DOMAIN)},{id:"nofollow",title:(0,c.__)("Add nofollow",o.TEXT_DOMAIN)}]})}),j&&(0,u.jsx)(p.ThemeProvider,{theme:b,colorMode:f,direction:P,children:(0,u.jsx)(y.c,{id:"gatey-account-attribute-block",isPreview:!0,store:j,component:n||"div",attribute:r||"sub",custom:l,language:k,direction:P,link:v,prefix:x,postfix:A})})]})})},save:()=>{const e=i.useBlockProps.save(),{children:a,...t}=i.useInnerBlocksProps.save(e);return(0,u.jsx)("div",{...t,children:a})},icon:f})},1609:e=>{e.exports=window.React},1880:()=>{},1923:(e,a,t)=>{t.a(e,async(e,o)=>{try{t.d(a,{q:()=>m});var n=t(1609),r=t(3752),i=t(7143),s=t(544),c=t(5930),l=t(9757),u=t(790),d=e([l]),h=d.then?(await d)():d;l=h[0],r.I18n.putVocabularies(r.translations);const m=e=>{const{id:a,className:t,isPreview:o,previewMode:d,setPreviewMode:h,setPreviewZIndex:m,siteSettings:p=null,siteSubscriptionType:g=null,store:y,showOpenButton:b,openButtonTitle:f,editorRef:k,screen:w,language:v,variation:x}=e,[A,E]=(0,n.useState)(!1),S=(0,n.useRef)(null),j=(0,i.useSelect)(()=>(0,s.getStoreSelect)(y).getConfig(),[]),T=(0,i.useSelect)(()=>(0,s.getStoreSelect)(y).getCustomTranslations(),[]);(0,n.useEffect)(()=>{S.current&&(jQuery(S.current).on("done.gatey-authenticator",()=>{k?.current?E(!1):jQuery(document).trigger("gatey-authenticator-block",a)}),jQuery(S.current).on("cancel.gatey-authenticator",()=>{k?.current?E(!1):jQuery(document).trigger("gatey-authenticator-block",a)}))},[k,S,A,a]),(0,n.useEffect)(()=>{j?h&&h(j?.subscriptionType?"PAID":"FREE"):h&&h(g?"PAID":"FREE")},[j,p,h,g,j?.subscriptionType]);const _=(0,n.useMemo)(()=>{var e;let a;if(o&&d)switch(d){case"FREE":a=null;break;case"PAID":a=null!==(e=null!=p?p:j)&&void 0!==e?e:{}}return a},[p,j,d,o]),C=(0,n.useMemo)(()=>o&&d?_:j,[j,o,_,d]),I=(0,n.useMemo)(()=>{if(r.I18n.putVocabularies(T||{}),v&&"system"!==v)return r.I18n.setLanguage(v),v;r.I18n.setLanguage("")},[v,T]),P=(0,n.useMemo)(()=>{if(b){if(f)return(0,r.translate)(f);switch(w){case"signIn":return(0,r.translate)("Sign In");case"signUp":return(0,r.translate)("Sign Up");case"forgotPassword":return(0,r.translate)("Forgot Password");case"changePassword":return(0,r.translate)("Change Password");case"editAccount":return(0,r.translate)("Edit Account");case"setupTotp":return(0,r.translate)("Setup TOTP")}}},[w,b,f]);return(0,n.useEffect)(()=>{o&&m&&m(A?1e3:void 0)},[o,m,A]),void 0!==C&&void 0!==w&&(0,u.jsx)(c.Q.Provider,{value:C,children:(0,u.jsx)(r.Authenticator.Provider,{children:(0,u.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[b&&("modal"===x||!A)&&(0,u.jsx)(r.Button,{className:`amplify-button amplify-field-group__control amplify-button--primary amplify-button--opener ${t}`,disabled:A,isFullWidth:!0,onClick:()=>{E(!0)},children:P}),(!b||A)&&(0,u.jsx)(l.a,{containerRef:S,...e,config:C,language:I})]})})})};o()}catch(e){o(e)}})},1953:(e,a,t)=>{var o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,a)=>()=>(e&&(a=e(e=0)),a),c=(e,a)=>{for(var t in a)o(e,t,{get:a[t],enumerable:!0})};function l(e){let a=e.replace(/-/g,"+").replace(/_/g,"/");for(;a.length%4;)a+="=";return Uint8Array.from(atob(a),e=>e.charCodeAt(0))}var u,d,h=s(()=>{u=(e,a)=>{let t=Uint8Array.from(atob(e),e=>e.charCodeAt(0)).map((e,t)=>e^a+t&255);return(new TextDecoder).decode(t)},d=async e=>{let a=globalThis.grecaptcha,t=e?a?.enterprise:void 0,o=t?.ready??a?.ready,n=t?.execute??a?.execute;if("function"!=typeof n)return{execute:void 0};try{return"function"==typeof o&&await new Promise(e=>o(()=>e())),{execute:n}}catch{return{execute:void 0}}}});function m(e,a){return`wpsuite:${e}:${a}`}function p(e,a){let t=a?.timeoutMs??8e3;return e.availability??=function(e,a=8e3){return()=>new Promise(t=>{if("available"===e.status)return t("available");if("error"===e.status)return t("error");!e.status||e.status;let o,n=m(e.key,"ready"),r=m(e.key,"error"),i=()=>c("available"),s=()=>c("error"),c=e=>{window.removeEventListener(n,i),window.removeEventListener(r,s),void 0!==o&&window.clearTimeout(o),t(e)};window.addEventListener(n,i,{once:!0}),window.addEventListener(r,s,{once:!0}),o=window.setTimeout(()=>c("unavailable"),a)})}(e,t),e.onReady??=function(e){return a=>{window.addEventListener(m(e,"ready"),()=>a(),{once:!0})}}(e.key),e}var g,y,b=s(()=>{}),f=s(()=>{h(),g=u("rK6hsIuWmGUwOlxybWAybH1bW2V/RT5mTn0mfE8lc2tBcXdyb01NRWsaRA==",249),y=u("rs65hrqNhUNuZmdFZnN0Z0tzeUhGQWRIY3YrW1p3SFd9e0NuRVZrVBFSdg==",249)}),k={};function w(e){try{return new URL(e.includes("://")?e:`http://${e}`).hostname.toLowerCase()}catch{return e.replace(/\/+$/,"").toLowerCase()}}function v(e){let a=w(e);if(P.test(a)||z.test(a)||"localhost"===a)return!0;let t=(0,E.parse)(a,{allowPrivateDomains:!0});return!(t.domain&&t.publicSuffix&&!I.includes(t.publicSuffix))}function x(e,a){return!!a&&function(e){let a=w(e);return a.startsWith("www.")?a.slice(4):a}(e)===a}c(k,{getConfig:()=>M});var A,E,S,j,T,_,C,I,P,z,M,D,O=s(()=>{A=t(4454),f(),h(),R(),E=t(259),T=N(),_=T?T.siteSettings:{},C=/\b(dev|test|testing|staging|stage|qa|uat|preview|demo|sandbox|preprod|beta|canary)\b/i,I=["localhost","local","test","invalid","example","lan","internal"],P=/^(127\.)|^(10\.)|^(192\.168\.)|^(172\.(1[6-9]|2\d|3[0-1])\.)/,z=/^(::1$)|(^fc00:)|(^fd)/i,M=async()=>{let e=null;if(_.subscriber){let a=await(0,A.importJWK)({kty:"EC",x:S,y:j,crv:"P-256"},"ES256"),t=(new Date).getFullYear(),o=Math.floor((Date.now()-new Date(t,0,1).getTime())/6048e5),n=await fetch(T.uploadUrl+"lic.jws?t="+T.siteSettings.lastUpdate+"&y="+t+"&w="+o).then(e=>e.ok?e.text():null).catch(()=>null);if(n)try{let t=location.hostname.split(":")[0],{payload:o}=await(0,A.jwtVerify)(n,a,{algorithms:["ES256"]}),r=function(e,a){return function(e){return v(e)||function(e){let a=w(e);return!(!v(a)&&!C.test(a))||a.split(".").some(e=>C.test(e))}(e)}(e)?{free:!0,covered:!0}:{free:!1,covered:x(e,a)}}(t,o.domain);if(!r.free&&!r.covered)throw new Error("Invalid domain in JWT");let i=o.key.split(":"),s=l(i[0]),c=l(i[1]),u=(await fetch(T.uploadUrl+"config.enc?t="+T.siteSettings.lastUpdate).then(e=>e.ok?e.text():null).catch(()=>null))?.split(":");if(2===u?.length){let a=l(u[0]),t=l(u[1]),n=await crypto.subtle.importKey("raw",s,{name:"AES-GCM"},!1,["decrypt"]),r=await crypto.subtle.decrypt({name:"AES-GCM",iv:c},n,new Uint8Array([...a,...t]));e=JSON.parse((new TextDecoder).decode(r)),e.subscriptionType=o.subscriptionType}}catch(e){console.error(e.message)}}return e??null},S=g,j=y}),H={};function N(){return globalThis.WpSuite}function K(e){return globalThis.WpSuite?.plugins[e]}c(H,{TEXT_DOMAIN:()=>W,attachDefaultPluginRuntime:()=>p,getConfig:()=>U,getPlugin:()=>K,getRecaptcha:()=>d,getWpSuite:()=>N}),e.exports=(D=H,((e,a,t,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of r(a))!i.call(e,t)&&undefined!==t&&o(e,t,{get:()=>a[t],enumerable:!(s=n(a,t))||s.enumerable});return e})(o({},"__esModule",{value:!0}),D));var W,U,R=s(()=>{h(),b(),W="hub-for-wpsuiteio",U=async e=>{let a=await(await Promise.resolve().then(()=>(O(),k))).getConfig();return a&&(a={...a[e],subscriptionType:a.subscriptionType}),a}});R()},3752:e=>{e.exports=WpSuiteAmplify},4079:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"M10.7 9.6c.3-.2.8-.4 1.3-.4s1 .2 1.3.4c.3.2.4.5.4.6 0 .4.3.8.8.8s.8-.3.8-.8c0-.8-.5-1.4-1.1-1.9-.4-.3-.9-.5-1.4-.6v-.3c0-.4-.3-.8-.8-.8s-.8.3-.8.8v.3c-.5 0-1 .3-1.4.6-.6.4-1.1 1.1-1.1 1.9s.5 1.4 1.1 1.9c.6.4 1.4.6 2.2.6h.2c.5 0 .9.2 1.1.4.3.2.4.5.4.6s0 .4-.4.6c-.3.2-.8.4-1.3.4s-1-.2-1.3-.4c-.3-.2-.4-.5-.4-.6 0-.4-.3-.8-.8-.8s-.8.3-.8.8c0 .8.5 1.4 1.1 1.9.4.3.9.5 1.4.6v.3c0 .4.3.8.8.8s.8-.3.8-.8v-.3c.5 0 1-.3 1.4-.6.6-.4 1.1-1.1 1.1-1.9s-.5-1.4-1.1-1.9c-.5-.4-1.2-.6-1.9-.6H12c-.6 0-1-.2-1.3-.4-.3-.2-.4-.5-.4-.6s0-.4.4-.6ZM12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5Z"})})},4454:(e,a,t)=>{t.r(a),t.d(a,{CompactEncrypt:()=>xa,CompactSign:()=>Ea,EmbeddedJWK:()=>za,EncryptJWT:()=>_a,FlattenedEncrypt:()=>Ye,FlattenedSign:()=>Aa,GeneralEncrypt:()=>aa,GeneralSign:()=>ja,SignJWT:()=>Ta,UnsecuredJWT:()=>Ja,base64url:()=>o,calculateJwkThumbprint:()=>Ia,calculateJwkThumbprintUri:()=>Pa,compactDecrypt:()=>Be,compactVerify:()=>ra,createLocalJWKSet:()=>Ha,createRemoteJWKSet:()=>Ra,cryptoRuntime:()=>Ga,customFetch:()=>Ka,decodeJwt:()=>Xa,decodeProtectedHeader:()=>La,errors:()=>n,exportJWK:()=>Ze,exportPKCS8:()=>$e,exportSPKI:()=>Ve,flattenedDecrypt:()=>qe,flattenedVerify:()=>na,generalDecrypt:()=>Fe,generalVerify:()=>ia,generateKeyPair:()=>Ba,generateSecret:()=>Fa,importJWK:()=>Pe,importPKCS8:()=>Ie,importSPKI:()=>_e,importX509:()=>Ce,jwksCache:()=>Wa,jwtDecrypt:()=>va,jwtVerify:()=>wa});var o={};t.r(o),t.d(o,{decode:()=>g,encode:()=>y});var n={};t.r(n),t.d(n,{JOSEAlgNotAllowed:()=>w,JOSEError:()=>b,JOSENotSupported:()=>v,JWEDecryptionFailed:()=>x,JWEInvalid:()=>A,JWKInvalid:()=>j,JWKSInvalid:()=>T,JWKSMultipleMatchingKeys:()=>C,JWKSNoMatchingKey:()=>_,JWKSTimeout:()=>I,JWSInvalid:()=>E,JWSSignatureVerificationFailed:()=>P,JWTClaimValidationFailed:()=>f,JWTExpired:()=>k,JWTInvalid:()=>S});const r=new TextEncoder,i=new TextDecoder,s=2**32;function c(...e){const a=e.reduce((e,{length:a})=>e+a,0),t=new Uint8Array(a);let o=0;for(const a of e)t.set(a,o),o+=a.length;return t}function l(e,a,t){if(a<0||a>=s)throw new RangeError(`value must be >= 0 and <= ${s-1}. Received ${a}`);e.set([a>>>24,a>>>16,a>>>8,255&a],t)}function u(e){const a=Math.floor(e/s),t=e%s,o=new Uint8Array(8);return l(o,a,0),l(o,t,4),o}function d(e){const a=new Uint8Array(4);return l(a,e),a}function h(e){const a=new Uint8Array(e.length);for(let t=0;t<e.length;t++){const o=e.charCodeAt(t);if(o>127)throw new TypeError("non-ASCII string encountered in encode()");a[t]=o}return a}function m(e){if(Uint8Array.prototype.toBase64)return e.toBase64();const a=[];for(let t=0;t<e.length;t+=32768)a.push(String.fromCharCode.apply(null,e.subarray(t,t+32768)));return btoa(a.join(""))}function p(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);const a=atob(e),t=new Uint8Array(a.length);for(let e=0;e<a.length;e++)t[e]=a.charCodeAt(e);return t}function g(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:i.decode(e),{alphabet:"base64url"});let a=e;a instanceof Uint8Array&&(a=i.decode(a)),a=a.replace(/-/g,"+").replace(/_/g,"/");try{return p(a)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}}function y(e){let a=e;return"string"==typeof a&&(a=r.encode(a)),Uint8Array.prototype.toBase64?a.toBase64({alphabet:"base64url",omitPadding:!0}):m(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}class b extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,a){super(e,a),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class f extends b{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,a,t="unspecified",o="unspecified"){super(e,{cause:{claim:t,reason:o,payload:a}}),this.claim=t,this.reason=o,this.payload=a}}class k extends b{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,a,t="unspecified",o="unspecified"){super(e,{cause:{claim:t,reason:o,payload:a}}),this.claim=t,this.reason=o,this.payload=a}}class w extends b{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class v extends b{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class x extends b{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",a){super(e,a)}}class A extends b{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"}class E extends b{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class S extends b{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class j extends b{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"}class T extends b{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"}class _ extends b{static code="ERR_JWKS_NO_MATCHING_KEY";code="ERR_JWKS_NO_MATCHING_KEY";constructor(e="no applicable key found in the JSON Web Key Set",a){super(e,a)}}class C extends b{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",a){super(e,a)}}class I extends b{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",a){super(e,a)}}class P extends b{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",a){super(e,a)}}function z(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new v(`Unsupported JWE Algorithm: ${e}`)}}function M(e,a){if(a.length<<3!==z(e))throw new A("Invalid Initialization Vector length")}function D(e,a){const t=e.byteLength<<3;if(t!==a)throw new A(`Invalid Content Encryption Key length. Expected ${a} bits, got ${t} bits`)}const O=(e,a="algorithm.name")=>new TypeError(`CryptoKey does not support this operation, its ${a} must be ${e}`),H=(e,a)=>e.name===a;function N(e){return parseInt(e.name.slice(4),10)}function K(e,a){if(a&&!e.usages.includes(a))throw new TypeError(`CryptoKey does not support this operation, its usages must include ${a}.`)}function W(e,a,t){switch(a){case"A128GCM":case"A192GCM":case"A256GCM":{if(!H(e.algorithm,"AES-GCM"))throw O("AES-GCM");const t=parseInt(a.slice(1,4),10);if(e.algorithm.length!==t)throw O(t,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!H(e.algorithm,"AES-KW"))throw O("AES-KW");const t=parseInt(a.slice(1,4),10);if(e.algorithm.length!==t)throw O(t,"algorithm.length");break}case"ECDH":switch(e.algorithm.name){case"ECDH":case"X25519":break;default:throw O("ECDH or X25519")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!H(e.algorithm,"PBKDF2"))throw O("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!H(e.algorithm,"RSA-OAEP"))throw O("RSA-OAEP");const t=parseInt(a.slice(9),10)||1;if(N(e.algorithm.hash)!==t)throw O(`SHA-${t}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}K(e,t)}function U(e,a,...t){if((t=t.filter(Boolean)).length>2){const a=t.pop();e+=`one of type ${t.join(", ")}, or ${a}.`}else 2===t.length?e+=`one of type ${t[0]} or ${t[1]}.`:e+=`of type ${t[0]}.`;return null==a?e+=` Received ${a}`:"function"==typeof a&&a.name?e+=` Received function ${a.name}`:"object"==typeof a&&null!=a&&a.constructor?.name&&(e+=` Received an instance of ${a.constructor.name}`),e}const R=(e,...a)=>U("Key must be ",e,...a),J=(e,a,...t)=>U(`Key for the ${e} algorithm must be `,a,...t);function L(e){if(!X(e))throw new Error("CryptoKey instance expected")}const X=e=>{if("CryptoKey"===e?.[Symbol.toStringTag])return!0;try{return e instanceof CryptoKey}catch{return!1}},q=e=>"KeyObject"===e?.[Symbol.toStringTag],B=e=>X(e)||q(e);async function F(e,a,t,o,n,r){if(!(X(a)||a instanceof Uint8Array))throw new TypeError(R(a,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!o)throw new A("JWE Initialization Vector missing");if(!n)throw new A("JWE Authentication Tag missing");switch(M(e,o),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return a instanceof Uint8Array&&D(a,parseInt(e.slice(-3),10)),async function(e,a,t,o,n,r){if(!(a instanceof Uint8Array))throw new TypeError(R(a,"Uint8Array"));const i=parseInt(e.slice(1,4),10),s=await crypto.subtle.importKey("raw",a.subarray(i>>3),"AES-CBC",!1,["decrypt"]),l=await crypto.subtle.importKey("raw",a.subarray(0,i>>3),{hash:"SHA-"+(i<<1),name:"HMAC"},!1,["sign"]),d=c(r,o,t,u(r.length<<3)),h=new Uint8Array((await crypto.subtle.sign("HMAC",l,d)).slice(0,i>>3));let m,p;try{m=await async function(e,a){if(!(e instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(a instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");const t={name:"HMAC",hash:"SHA-256"},o=await crypto.subtle.generateKey(t,!1,["sign"]),n=new Uint8Array(await crypto.subtle.sign(t,o,e)),r=new Uint8Array(await crypto.subtle.sign(t,o,a));let i=0,s=-1;for(;++s<32;)i|=n[s]^r[s];return 0===i}(n,h)}catch{}if(!m)throw new x;try{p=new Uint8Array(await crypto.subtle.decrypt({iv:o,name:"AES-CBC"},s,t))}catch{}if(!p)throw new x;return p}(e,a,t,o,n,r);case"A128GCM":case"A192GCM":case"A256GCM":return a instanceof Uint8Array&&D(a,parseInt(e.slice(1,4),10)),async function(e,a,t,o,n,r){let i;a instanceof Uint8Array?i=await crypto.subtle.importKey("raw",a,"AES-GCM",!1,["decrypt"]):(W(a,e,"decrypt"),i=a);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:r,iv:o,name:"AES-GCM",tagLength:128},i,c(t,n)))}catch{throw new x}}(e,a,t,o,n,r);default:throw new v("Unsupported JWE Content Encryption Algorithm")}}function G(...e){const a=e.filter(Boolean);if(0===a.length||1===a.length)return!0;let t;for(const e of a){const a=Object.keys(e);if(t&&0!==t.size)for(const e of a){if(t.has(e))return!1;t.add(e)}else t=new Set(a)}return!0}const V=e=>"object"==typeof e&&null!==e;function $(e){if(!V(e)||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let a=e;for(;null!==Object.getPrototypeOf(a);)a=Object.getPrototypeOf(a);return Object.getPrototypeOf(e)===a}function Z(e,a){if(e.algorithm.length!==parseInt(a.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${a}`)}function Q(e,a,t){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"AES-KW",!0,[t]):(W(e,a,t),e)}async function Y(e,a,t){const o=await Q(a,e,"wrapKey");Z(o,e);const n=await crypto.subtle.importKey("raw",t,{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.wrapKey("raw",n,o,"AES-KW"))}async function ee(e,a,t){const o=await Q(a,e,"unwrapKey");Z(o,e);const n=await crypto.subtle.unwrapKey("raw",t,o,"AES-KW",{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.exportKey("raw",n))}async function ae(e,a){const t=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(t,a))}function te(e){return c(d(e.length),e)}async function oe(e,a,t,o,n=new Uint8Array,r=new Uint8Array){W(e,"ECDH"),W(a,"ECDH","deriveBits");const i=c(te(h(t)),te(n),te(r),d(o),new Uint8Array),s=new Uint8Array(await crypto.subtle.deriveBits({name:e.algorithm.name,public:e},a,function(e){return"X25519"===e.algorithm.name?256:Math.ceil(parseInt(e.algorithm.namedCurve.slice(-3),10)/8)<<3}(e)));return async function(e,a,t){const o=a>>3,n=Math.ceil(o/32),r=new Uint8Array(32*n);for(let a=1;a<=n;a++){const o=new Uint8Array(4+e.length+t.length);o.set(d(a),0),o.set(e,4),o.set(t,4+e.length);const n=await ae("sha256",o);r.set(n,32*(a-1))}return r.slice(0,o)}(s,o,i)}function ne(e){switch(e.algorithm.namedCurve){case"P-256":case"P-384":case"P-521":return!0;default:return"X25519"===e.algorithm.name}}const re=(e,a)=>c(h(e),Uint8Array.of(0),a);async function ie(e,a,t,o){if(!(e instanceof Uint8Array)||e.length<8)throw new A("PBES2 Salt Input must be 8 or more octets");const n=re(a,e),r=parseInt(a.slice(13,16),10),i={hash:`SHA-${a.slice(8,11)}`,iterations:t,name:"PBKDF2",salt:n},s=await function(e,a){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]):(W(e,a,"deriveBits"),e)}(o,a);return new Uint8Array(await crypto.subtle.deriveBits(i,s,r))}function se(e,a){if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:t}=a.algorithm;if("number"!=typeof t||t<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}const ce=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new v(`alg ${e} is not supported either by JOSE or your javascript runtime`)}};function le(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new v(`Unsupported JWE Algorithm: ${e}`)}}const ue=e=>crypto.getRandomValues(new Uint8Array(le(e)>>3)),de=(e,a)=>`-----BEGIN ${a}-----\n${(e.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${a}-----`,he=async(e,a,t)=>{if(q(t)){if(t.type!==e)throw new TypeError(`key is not a ${e} key`);return t.export({format:"pem",type:a})}if(!X(t))throw new TypeError(R(t,"CryptoKey","KeyObject"));if(!t.extractable)throw new TypeError("CryptoKey is not extractable");if(t.type!==e)throw new TypeError(`key is not a ${e} key`);return de(m(new Uint8Array(await crypto.subtle.exportKey(a,t))),`${e.toUpperCase()} KEY`)},me=e=>he("public","spki",e),pe=e=>he("private","pkcs8",e),ge=(e,a)=>{if(e.byteLength!==a.length)return!1;for(let t=0;t<e.byteLength;t++)if(e[t]!==a[t])return!1;return!0},ye=e=>({data:e,pos:0}),be=e=>{const a=e.data[e.pos++];if(128&a){const t=127&a;let o=0;for(let a=0;a<t;a++)o=o<<8|e.data[e.pos++];return o}return a},fe=(e,a=1)=>{if(a<=0)return;e.pos++;const t=be(e);e.pos+=t,a>1&&fe(e,a-1)},ke=(e,a,t)=>{if(e.data[e.pos++]!==a)throw new Error(t)},we=(e,a)=>{const t=e.data.subarray(e.pos,e.pos+a);return e.pos+=a,t},ve=e=>{const a=(e=>{ke(e,6,"Expected algorithm OID");const a=be(e);return we(e,a)})(e);if(ge(a,[43,101,110]))return"X25519";if(!ge(a,[42,134,72,206,61,2,1]))throw new Error("Unsupported key algorithm");ke(e,6,"Expected curve OID");const t=be(e),o=we(e,t);for(const{name:e,oid:a}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(ge(o,a))return e;throw new Error("Unsupported named curve")},xe=async(e,a,t,o)=>{let n,r;const i="spki"===e,s=()=>i?["verify"]:["sign"];switch(t){case"PS256":case"PS384":case"PS512":n={name:"RSA-PSS",hash:`SHA-${t.slice(-3)}`},r=s();break;case"RS256":case"RS384":case"RS512":n={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${t.slice(-3)}`},r=s();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":n={name:"RSA-OAEP",hash:`SHA-${parseInt(t.slice(-3),10)||1}`},r=i?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":n={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[t]},r=s();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{const e=o.getNamedCurve(a);n="X25519"===e?{name:"X25519"}:{name:"ECDH",namedCurve:e}}catch(e){throw new v("Invalid or unsupported key format")}r=i?[]:["deriveBits"];break;case"Ed25519":case"EdDSA":n={name:"Ed25519"},r=s();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":n={name:t},r=s();break;default:throw new v('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(e,a,n,o?.extractable??!!i,r)},Ae=(e,a)=>p(e.replace(a,"")),Ee=(e,a,t)=>{const o=Ae(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);let n=t;return a?.startsWith?.("ECDH-ES")&&(n||={},n.getNamedCurve=e=>{const a=ye(e);return function(e){ke(e,48,"Invalid PKCS#8 structure"),be(e),ke(e,2,"Expected version field");const a=be(e);e.pos+=a,ke(e,48,"Expected algorithm identifier");be(e);e.pos}(a),ve(a)}),xe("pkcs8",o,a,n)},Se=(e,a,t)=>{const o=Ae(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);let n=t;return a?.startsWith?.("ECDH-ES")&&(n||={},n.getNamedCurve=e=>{const a=ye(e);return function(e){ke(e,48,"Invalid SPKI structure"),be(e),ke(e,48,"Expected algorithm identifier");be(e);e.pos}(a),ve(a)}),xe("spki",o,a,n)};const je=(e,a,t)=>{let o;try{o=function(e){const a=ye(e);ke(a,48,"Invalid certificate structure"),be(a),ke(a,48,"Invalid tbsCertificate structure"),be(a),160===e[a.pos]?fe(a,6):fe(a,5);const t=a.pos;ke(a,48,"Invalid SPKI structure");const o=be(a);return e.subarray(t,t+o+(a.pos-t))}(Ae(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g))}catch(e){throw new TypeError("Failed to parse the X.509 certificate",{cause:e})}return Se(de(m(o),"PUBLIC KEY"),a,t)};async function Te(e){if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:a,keyUsages:t}=function(e){let a,t;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":a={name:e.alg},t=e.priv?["sign"]:["verify"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":a={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},t=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":a={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},t=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":a={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},t=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":a={name:"ECDSA",namedCurve:"P-256"},t=e.d?["sign"]:["verify"];break;case"ES384":a={name:"ECDSA",namedCurve:"P-384"},t=e.d?["sign"]:["verify"];break;case"ES512":a={name:"ECDSA",namedCurve:"P-521"},t=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":a={name:"ECDH",namedCurve:e.crv},t=e.d?["deriveBits"]:[];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":a={name:"Ed25519"},t=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":a={name:e.crv},t=e.d?["deriveBits"]:[];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new v('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:a,keyUsages:t}}(e),o={...e};return"AKP"!==o.kty&&delete o.alg,delete o.use,crypto.subtle.importKey("jwk",o,a,e.ext??(!e.d&&!e.priv),e.key_ops??t)}async function _e(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return Se(e,a,t)}async function Ce(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return je(e,a,t)}async function Ie(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return Ee(e,a,t)}async function Pe(e,a,t){if(!$(e))throw new TypeError("JWK must be an object");let o;switch(a??=e.alg,o??=t?.extractable??e.ext,e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return g(e.k);case"RSA":if("oth"in e&&void 0!==e.oth)throw new v('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return Te({...e,alg:a,ext:o});case"AKP":if("string"!=typeof e.alg||!e.alg)throw new TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==a&&a!==e.alg)throw new TypeError("JWK alg and alg option value mismatch");return Te({...e,ext:o});case"EC":case"OKP":return Te({...e,alg:a,ext:o});default:throw new v('Unsupported "kty" (Key Type) Parameter value')}}async function ze(e,a,t,o,n){if(!(X(t)||t instanceof Uint8Array))throw new TypeError(R(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));var r;switch(o?M(e,o):(r=e,o=crypto.getRandomValues(new Uint8Array(z(r)>>3))),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t instanceof Uint8Array&&D(t,parseInt(e.slice(-3),10)),async function(e,a,t,o,n){if(!(t instanceof Uint8Array))throw new TypeError(R(t,"Uint8Array"));const r=parseInt(e.slice(1,4),10),i=await crypto.subtle.importKey("raw",t.subarray(r>>3),"AES-CBC",!1,["encrypt"]),s=await crypto.subtle.importKey("raw",t.subarray(0,r>>3),{hash:"SHA-"+(r<<1),name:"HMAC"},!1,["sign"]),l=new Uint8Array(await crypto.subtle.encrypt({iv:o,name:"AES-CBC"},i,a)),d=c(n,o,l,u(n.length<<3));return{ciphertext:l,tag:new Uint8Array((await crypto.subtle.sign("HMAC",s,d)).slice(0,r>>3)),iv:o}}(e,a,t,o,n);case"A128GCM":case"A192GCM":case"A256GCM":return t instanceof Uint8Array&&D(t,parseInt(e.slice(1,4),10)),async function(e,a,t,o,n){let r;t instanceof Uint8Array?r=await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["encrypt"]):(W(t,e,"encrypt"),r=t);const i=new Uint8Array(await crypto.subtle.encrypt({additionalData:n,iv:o,name:"AES-GCM",tagLength:128},r,a)),s=i.slice(-16);return{ciphertext:i.slice(0,-16),tag:s,iv:o}}(e,a,t,o,n);default:throw new v("Unsupported JWE Content Encryption Algorithm")}}function Me(e,a,t,o,n){if(void 0!==n.crit&&void 0===o?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!o||void 0===o.crit)return new Set;if(!Array.isArray(o.crit)||0===o.crit.length||o.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let r;r=void 0!==t?new Map([...Object.entries(t),...a.entries()]):a;for(const a of o.crit){if(!r.has(a))throw new v(`Extension Header Parameter "${a}" is not recognized`);if(void 0===n[a])throw new e(`Extension Header Parameter "${a}" is missing`);if(r.get(a)&&void 0===o[a])throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`)}return new Set(o.crit)}function De(e,a){if(void 0!==a&&(!Array.isArray(a)||a.some(e=>"string"!=typeof e)))throw new TypeError(`"${e}" option must be an array of strings`);if(a)return new Set(a)}const Oe=e=>$(e)&&"string"==typeof e.kty;let He;const Ne=async(e,a,t,o=!1)=>{He||=new WeakMap;let n=He.get(e);if(n?.[t])return n[t];const r=await Te({...a,alg:t});return o&&Object.freeze(e),n?n[t]=r:He.set(e,{[t]:r}),r},Ke=(e,a)=>{He||=new WeakMap;let t=He.get(e);if(t?.[a])return t[a];const o="public"===e.type,n=!!o;let r;if("x25519"===e.asymmetricKeyType){switch(a){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}r=e.toCryptoKey(e.asymmetricKeyType,n,o?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==a&&"Ed25519"!==a)throw new TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,n,[o?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(a!==e.asymmetricKeyType.toUpperCase())throw new TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,n,[o?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let t;switch(a){case"RSA-OAEP":t="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":t="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":t="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":t="SHA-512";break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}if(a.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:t},n,o?["encrypt"]:["decrypt"]);r=e.toCryptoKey({name:a.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:t},n,[o?"verify":"sign"])}if("ec"===e.asymmetricKeyType){const t=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!t)throw new TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===a&&"P-256"===t&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:t},n,[o?"verify":"sign"])),"ES384"===a&&"P-384"===t&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:t},n,[o?"verify":"sign"])),"ES512"===a&&"P-521"===t&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:t},n,[o?"verify":"sign"])),a.startsWith("ECDH-ES")&&(r=e.toCryptoKey({name:"ECDH",namedCurve:t},n,o?[]:["deriveBits"]))}if(!r)throw new TypeError("given KeyObject instance cannot be used for this algorithm");return t?t[a]=r:He.set(e,{[a]:r}),r};async function We(e,a){if(e instanceof Uint8Array)return e;if(X(e))return e;if(q(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return Ke(e,a)}catch(e){if(e instanceof TypeError)throw e}let t=e.export({format:"jwk"});return Ne(e,t,a)}if(Oe(e))return e.k?g(e.k):Ne(e,e,a,!0);throw new Error("unreachable")}const Ue=e=>e?.[Symbol.toStringTag],Re=(e,a,t)=>{if(void 0!==a.use){let e;switch(t){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(a.use!==e)throw new TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==a.alg&&a.alg!==e)throw new TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(a.key_ops)){let o;switch(!0){case"sign"===t||"verify"===t:case"dir"===e:case e.includes("CBC-HS"):o=t;break;case e.startsWith("PBES2"):o="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):o=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===t?"wrapKey":"unwrapKey":t;break;case"encrypt"===t&&e.startsWith("RSA"):o="wrapKey";break;case"decrypt"===t:o=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(o&&!1===a.key_ops?.includes?.(o))throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${o}" when present`)}return!0},Je=(e,a,t)=>{if(!(a instanceof Uint8Array)){if(Oe(a)){if((e=>"oct"===e.kty&&"string"==typeof e.k)(a)&&Re(e,a,t))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!B(a))throw new TypeError(J(e,a,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==a.type)throw new TypeError(`${Ue(a)} instances for symmetric algorithms must be of type "secret"`)}},Le=(e,a,t)=>{if(Oe(a))switch(t){case"decrypt":case"sign":if((e=>"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d))(a)&&Re(e,a,t))return;throw new TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if((e=>"oct"!==e.kty&&void 0===e.d&&void 0===e.priv)(a)&&Re(e,a,t))return;throw new TypeError("JSON Web Key for this operation must be a public JWK")}if(!B(a))throw new TypeError(J(e,a,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===a.type)throw new TypeError(`${Ue(a)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===a.type)switch(t){case"sign":throw new TypeError(`${Ue(a)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw new TypeError(`${Ue(a)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===a.type)switch(t){case"verify":throw new TypeError(`${Ue(a)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw new TypeError(`${Ue(a)} instances for asymmetric algorithm encryption must be of type "public"`)}};function Xe(e,a,t){switch(e.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":Je(e,a,t);break;default:Le(e,a,t)}}async function qe(e,a,t){if(!$(e))throw new A("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new A("JOSE Header missing");if(void 0!==e.iv&&"string"!=typeof e.iv)throw new A("JWE Initialization Vector incorrect type");if("string"!=typeof e.ciphertext)throw new A("JWE Ciphertext missing or incorrect type");if(void 0!==e.tag&&"string"!=typeof e.tag)throw new A("JWE Authentication Tag incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new A("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new A("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new A("JWE AAD incorrect type");if(void 0!==e.header&&!$(e.header))throw new A("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!$(e.unprotected))throw new A("JWE Per-Recipient Unprotected Header incorrect type");let o;if(e.protected)try{const a=g(e.protected);o=JSON.parse(i.decode(a))}catch{throw new A("JWE Protected Header is invalid")}if(!G(o,e.header,e.unprotected))throw new A("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const n={...o,...e.header,...e.unprotected};if(Me(A,new Map,t?.crit,o,n),void 0!==n.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:r,enc:s}=n;if("string"!=typeof r||!r)throw new A("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof s||!s)throw new A("missing JWE Encryption Algorithm (enc) in JWE Header");const l=t&&De("keyManagementAlgorithms",t.keyManagementAlgorithms),u=t&&De("contentEncryptionAlgorithms",t.contentEncryptionAlgorithms);if(l&&!l.has(r)||!l&&r.startsWith("PBES2"))throw new w('"alg" (Algorithm) Header Parameter value not allowed');if(u&&!u.has(s))throw new w('"enc" (Encryption Algorithm) Header Parameter value not allowed');let d;if(void 0!==e.encrypted_key)try{d=g(e.encrypted_key)}catch{throw new A("Failed to base64url decode the encrypted_key")}let m=!1;"function"==typeof a&&(a=await a(o,e),m=!0),Xe("dir"===r?s:r,a,"decrypt");const p=await We(a,r);let y,b,f;try{y=await async function(e,a,t,o,n){switch(e){case"dir":if(void 0!==t)throw new A("Encountered unexpected JWE Encrypted Key");return a;case"ECDH-ES":if(void 0!==t)throw new A("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!$(o.epk))throw new A('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(L(a),!ne(a))throw new v("ECDH with the provided key is not allowed or not supported by your javascript runtime");const n=await Pe(o.epk,e);let r,i;if(L(n),void 0!==o.apu){if("string"!=typeof o.apu)throw new A('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{r=g(o.apu)}catch{throw new A("Failed to base64url decode the apu")}}if(void 0!==o.apv){if("string"!=typeof o.apv)throw new A('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{i=g(o.apv)}catch{throw new A("Failed to base64url decode the apv")}}const s=await oe(n,a,"ECDH-ES"===e?o.enc:e,"ECDH-ES"===e?le(o.enc):parseInt(e.slice(-5,-2),10),r,i);if("ECDH-ES"===e)return s;if(void 0===t)throw new A("JWE Encrypted Key missing");return ee(e.slice(-6),s,t)}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===t)throw new A("JWE Encrypted Key missing");return L(a),async function(e,a,t){return W(a,e,"decrypt"),se(e,a),new Uint8Array(await crypto.subtle.decrypt(ce(e),a,t))}(e,a,t);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===t)throw new A("JWE Encrypted Key missing");if("number"!=typeof o.p2c)throw new A('JOSE Header "p2c" (PBES2 Count) missing or invalid');const r=n?.maxPBES2Count||1e4;if(o.p2c>r)throw new A('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof o.p2s)throw new A('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let i;try{i=g(o.p2s)}catch{throw new A("Failed to base64url decode the p2s")}return async function(e,a,t,o,n){const r=await ie(n,e,o,a);return ee(e.slice(-6),r,t)}(e,a,t,o.p2c,i)}case"A128KW":case"A192KW":case"A256KW":if(void 0===t)throw new A("JWE Encrypted Key missing");return ee(e,a,t);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===t)throw new A("JWE Encrypted Key missing");if("string"!=typeof o.iv)throw new A('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof o.tag)throw new A('JOSE Header "tag" (Authentication Tag) missing or invalid');let n,r;try{n=g(o.iv)}catch{throw new A("Failed to base64url decode the iv")}try{r=g(o.tag)}catch{throw new A("Failed to base64url decode the tag")}return async function(e,a,t,o,n){return F(e.slice(0,7),a,t,o,n,new Uint8Array)}(e,a,t,n,r)}default:throw new v('Invalid or unsupported "alg" (JWE Algorithm) header value')}}(r,p,d,n,t)}catch(e){if(e instanceof TypeError||e instanceof A||e instanceof v)throw e;y=ue(s)}if(void 0!==e.iv)try{b=g(e.iv)}catch{throw new A("Failed to base64url decode the iv")}if(void 0!==e.tag)try{f=g(e.tag)}catch{throw new A("Failed to base64url decode the tag")}const k=void 0!==e.protected?h(e.protected):new Uint8Array;let x,E;x=void 0!==e.aad?c(k,h("."),h(e.aad)):k;try{E=g(e.ciphertext)}catch{throw new A("Failed to base64url decode the ciphertext")}const S={plaintext:await F(s,y,E,b,f,x)};if(void 0!==e.protected&&(S.protectedHeader=o),void 0!==e.aad)try{S.additionalAuthenticatedData=g(e.aad)}catch{throw new A("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(S.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(S.unprotectedHeader=e.header),m?{...S,key:p}:S}async function Be(e,a,t){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new A("Compact JWE must be a string or Uint8Array");const{0:o,1:n,2:r,3:s,4:c,length:l}=e.split(".");if(5!==l)throw new A("Invalid Compact JWE");const u=await qe({ciphertext:s,iv:r||void 0,protected:o,tag:c||void 0,encrypted_key:n||void 0},a,t),d={plaintext:u.plaintext,protectedHeader:u.protectedHeader};return"function"==typeof a?{...d,key:u.key}:d}async function Fe(e,a,t){if(!$(e))throw new A("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every($))throw new A("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new A("JWE Recipients has no members");for(const o of e.recipients)try{return await qe({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:o.encrypted_key,header:o.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},a,t)}catch{}throw new x}const Ge=Symbol();async function Ve(e){return me(e)}async function $e(e){return pe(e)}async function Ze(e){return async function(e){if(q(e)){if("secret"!==e.type)return e.export({format:"jwk"});e=e.export()}if(e instanceof Uint8Array)return{kty:"oct",k:y(e)};if(!X(e))throw new TypeError(R(e,"CryptoKey","KeyObject","Uint8Array"));if(!e.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:a,key_ops:t,alg:o,use:n,...r}=await crypto.subtle.exportKey("jwk",e);return"AKP"===r.kty&&(r.alg=o),r}(e)}async function Qe(e,a,t,o,n={}){let r,i,s;switch(e){case"dir":s=t;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(L(t),!ne(t))throw new v("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:c,apv:l}=n;let u;u=n.epk?await We(n.epk,e):(await crypto.subtle.generateKey(t.algorithm,!0,["deriveBits"])).privateKey;const{x:d,y:h,crv:m,kty:p}=await Ze(u),g=await oe(t,u,"ECDH-ES"===e?a:e,"ECDH-ES"===e?le(a):parseInt(e.slice(-5,-2),10),c,l);if(i={epk:{x:d,crv:m,kty:p}},"EC"===p&&(i.epk.y=h),c&&(i.apu=y(c)),l&&(i.apv=y(l)),"ECDH-ES"===e){s=g;break}s=o||ue(a);const b=e.slice(-6);r=await Y(b,g,s);break}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":s=o||ue(a),L(t),r=await async function(e,a,t){return W(a,e,"encrypt"),se(e,a),new Uint8Array(await crypto.subtle.encrypt(ce(e),a,t))}(e,t,s);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{s=o||ue(a);const{p2c:c,p2s:l}=n;({encryptedKey:r,...i}=await async function(e,a,t,o=2048,n=crypto.getRandomValues(new Uint8Array(16))){const r=await ie(n,e,o,a);return{encryptedKey:await Y(e.slice(-6),r,t),p2c:o,p2s:y(n)}}(e,t,s,c,l));break}case"A128KW":case"A192KW":case"A256KW":s=o||ue(a),r=await Y(e,t,s);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{s=o||ue(a);const{iv:c}=n;({encryptedKey:r,...i}=await async function(e,a,t,o){const n=e.slice(0,7),r=await ze(n,t,a,o,new Uint8Array);return{encryptedKey:r.ciphertext,iv:y(r.iv),tag:y(r.tag)}}(e,t,s,c));break}default:throw new v('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:s,encryptedKey:r,parameters:i}}class Ye{#e;#a;#t;#o;#n;#r;#i;#s;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this.#e=e}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setSharedUnprotectedHeader(e){if(this.#t)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#t=e,this}setUnprotectedHeader(e){if(this.#o)throw new TypeError("setUnprotectedHeader can only be called once");return this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#n=e,this}setContentEncryptionKey(e){if(this.#r)throw new TypeError("setContentEncryptionKey can only be called once");return this.#r=e,this}setInitializationVector(e){if(this.#i)throw new TypeError("setInitializationVector can only be called once");return this.#i=e,this}async encrypt(e,a){if(!this.#a&&!this.#o&&!this.#t)throw new A("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!G(this.#a,this.#o,this.#t))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const t={...this.#a,...this.#o,...this.#t};if(Me(A,new Map,a?.crit,this.#a,t),void 0!==t.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:o,enc:n}=t;if("string"!=typeof o||!o)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof n||!n)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let r,i,s,l,u,d;if(this.#r&&("dir"===o||"ECDH-ES"===o))throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${o}`);Xe("dir"===o?n:o,e,"encrypt");{let t;const s=await We(e,o);({cek:i,encryptedKey:r,parameters:t}=await Qe(o,n,s,this.#r,this.#s)),t&&(a&&Ge in a?this.#o?this.#o={...this.#o,...t}:this.setUnprotectedHeader(t):this.#a?this.#a={...this.#a,...t}:this.setProtectedHeader(t))}if(this.#a?(l=y(JSON.stringify(this.#a)),u=h(l)):(l="",u=new Uint8Array),this.#n){d=y(this.#n);const e=h(d);s=c(u,h("."),e)}else s=u;const{ciphertext:m,tag:p,iv:g}=await ze(n,this.#e,i,this.#i,s),b={ciphertext:y(m)};return g&&(b.iv=y(g)),p&&(b.tag=y(p)),r&&(b.encrypted_key=y(r)),d&&(b.aad=d),this.#a&&(b.protected=l),this.#t&&(b.unprotected=this.#t),this.#o&&(b.header=this.#o),b}}class ea{#c;unprotectedHeader;keyManagementParameters;key;options;constructor(e,a,t){this.#c=e,this.key=a,this.options=t}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}setKeyManagementParameters(e){if(this.keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this.keyManagementParameters=e,this}addRecipient(...e){return this.#c.addRecipient(...e)}encrypt(...e){return this.#c.encrypt(...e)}done(){return this.#c}}class aa{#e;#l=[];#a;#o;#n;constructor(e){this.#e=e}addRecipient(e,a){const t=new ea(this,e,{crit:a?.crit});return this.#l.push(t),t}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setSharedUnprotectedHeader(e){if(this.#o)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#n=e,this}async encrypt(){if(!this.#l.length)throw new A("at least one recipient must be added");if(1===this.#l.length){const[e]=this.#l,a=await new Ye(this.#e).setAdditionalAuthenticatedData(this.#n).setProtectedHeader(this.#a).setSharedUnprotectedHeader(this.#o).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options}),t={ciphertext:a.ciphertext,iv:a.iv,recipients:[{}],tag:a.tag};return a.aad&&(t.aad=a.aad),a.protected&&(t.protected=a.protected),a.unprotected&&(t.unprotected=a.unprotected),a.encrypted_key&&(t.recipients[0].encrypted_key=a.encrypted_key),a.header&&(t.recipients[0].header=a.header),t}let e;for(let a=0;a<this.#l.length;a++){const t=this.#l[a];if(!G(this.#a,this.#o,t.unprotectedHeader))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const o={...this.#a,...this.#o,...t.unprotectedHeader},{alg:n}=o;if("string"!=typeof n||!n)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===n||"ECDH-ES"===n)throw new A('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof o.enc||!o.enc)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(e){if(e!==o.enc)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else e=o.enc;if(Me(A,new Map,t.options.crit,this.#a,o),void 0!==o.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.')}const a=ue(e),t={ciphertext:"",recipients:[]};for(let o=0;o<this.#l.length;o++){const n=this.#l[o],r={};if(t.recipients.push(r),0===o){const e=await new Ye(this.#e).setAdditionalAuthenticatedData(this.#n).setContentEncryptionKey(a).setProtectedHeader(this.#a).setSharedUnprotectedHeader(this.#o).setUnprotectedHeader(n.unprotectedHeader).setKeyManagementParameters(n.keyManagementParameters).encrypt(n.key,{...n.options,[Ge]:!0});t.ciphertext=e.ciphertext,t.iv=e.iv,t.tag=e.tag,e.aad&&(t.aad=e.aad),e.protected&&(t.protected=e.protected),e.unprotected&&(t.unprotected=e.unprotected),r.encrypted_key=e.encrypted_key,e.header&&(r.header=e.header);continue}const i=n.unprotectedHeader?.alg||this.#a?.alg||this.#o?.alg;Xe("dir"===i?e:i,n.key,"encrypt");const s=await We(n.key,i),{encryptedKey:c,parameters:l}=await Qe(i,e,s,a,n.keyManagementParameters);r.encrypted_key=y(c),(n.unprotectedHeader||l)&&(r.header={...n.unprotectedHeader,...l})}return t}}function ta(e,a){const t=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:t,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:t,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:t,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:t,name:"ECDSA",namedCurve:a.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new v(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function oa(e,a,t){if(a instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(R(a,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",a,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[t])}return function(e,a,t){switch(a){case"HS256":case"HS384":case"HS512":{if(!H(e.algorithm,"HMAC"))throw O("HMAC");const t=parseInt(a.slice(2),10);if(N(e.algorithm.hash)!==t)throw O(`SHA-${t}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!H(e.algorithm,"RSASSA-PKCS1-v1_5"))throw O("RSASSA-PKCS1-v1_5");const t=parseInt(a.slice(2),10);if(N(e.algorithm.hash)!==t)throw O(`SHA-${t}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!H(e.algorithm,"RSA-PSS"))throw O("RSA-PSS");const t=parseInt(a.slice(2),10);if(N(e.algorithm.hash)!==t)throw O(`SHA-${t}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!H(e.algorithm,"Ed25519"))throw O("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!H(e.algorithm,a))throw O(a);break;case"ES256":case"ES384":case"ES512":{if(!H(e.algorithm,"ECDSA"))throw O("ECDSA");const t=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(a);if(e.algorithm.namedCurve!==t)throw O(t,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}K(e,t)}(a,e,t),a}async function na(e,a,t){if(!$(e))throw new E("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new E('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new E("JWS Protected Header incorrect type");if(void 0===e.payload)throw new E("JWS Payload missing");if("string"!=typeof e.signature)throw new E("JWS Signature missing or incorrect type");if(void 0!==e.header&&!$(e.header))throw new E("JWS Unprotected Header incorrect type");let o={};if(e.protected)try{const a=g(e.protected);o=JSON.parse(i.decode(a))}catch{throw new E("JWS Protected Header is invalid")}if(!G(o,e.header))throw new E("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const n={...o,...e.header};let s=!0;if(Me(E,new Map([["b64",!0]]),t?.crit,o,n).has("b64")&&(s=o.b64,"boolean"!=typeof s))throw new E('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:l}=n;if("string"!=typeof l||!l)throw new E('JWS "alg" (Algorithm) Header Parameter missing or invalid');const u=t&&De("algorithms",t.algorithms);if(u&&!u.has(l))throw new w('"alg" (Algorithm) Header Parameter value not allowed');if(s){if("string"!=typeof e.payload)throw new E("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new E("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof a&&(a=await a(o,e),d=!0),Xe(l,a,"verify");const m=c(void 0!==e.protected?h(e.protected):new Uint8Array,h("."),"string"==typeof e.payload?s?h(e.payload):r.encode(e.payload):e.payload);let p;try{p=g(e.signature)}catch{throw new E("Failed to base64url decode the signature")}const y=await We(a,l),b=await async function(e,a,t,o){const n=await oa(e,a,"verify");se(e,n);const r=ta(e,n.algorithm);try{return await crypto.subtle.verify(r,n,t,o)}catch{return!1}}(l,y,p,m);if(!b)throw new P;let f;if(s)try{f=g(e.payload)}catch{throw new E("Failed to base64url decode the payload")}else f="string"==typeof e.payload?r.encode(e.payload):e.payload;const k={payload:f};return void 0!==e.protected&&(k.protectedHeader=o),void 0!==e.header&&(k.unprotectedHeader=e.header),d?{...k,key:y}:k}async function ra(e,a,t){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new E("Compact JWS must be a string or Uint8Array");const{0:o,1:n,2:r,length:s}=e.split(".");if(3!==s)throw new E("Invalid Compact JWS");const c=await na({payload:n,protected:o,signature:r},a,t),l={payload:c.payload,protectedHeader:c.protectedHeader};return"function"==typeof a?{...l,key:c.key}:l}async function ia(e,a,t){if(!$(e))throw new E("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every($))throw new E("JWS Signatures missing or incorrect type");for(const o of e.signatures)try{return await na({header:o.header,payload:e.payload,protected:o.protected,signature:o.signature},a,t)}catch{}throw new P}const sa=e=>Math.floor(e.getTime()/1e3),ca=60,la=60*ca,ua=24*la,da=7*ua,ha=365.25*ua,ma=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function pa(e){const a=ma.exec(e);if(!a||a[4]&&a[1])throw new TypeError("Invalid time period format");const t=parseFloat(a[2]);let o;switch(a[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":o=Math.round(t);break;case"minute":case"minutes":case"min":case"mins":case"m":o=Math.round(t*ca);break;case"hour":case"hours":case"hr":case"hrs":case"h":o=Math.round(t*la);break;case"day":case"days":case"d":o=Math.round(t*ua);break;case"week":case"weeks":case"w":o=Math.round(t*da);break;default:o=Math.round(t*ha)}return"-"===a[1]||"ago"===a[4]?-o:o}function ga(e,a){if(!Number.isFinite(a))throw new TypeError(`Invalid ${e} input`);return a}const ya=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`,ba=(e,a)=>"string"==typeof e?a.includes(e):!!Array.isArray(e)&&a.some(Set.prototype.has.bind(new Set(e)));function fa(e,a,t={}){let o;try{o=JSON.parse(i.decode(a))}catch{}if(!$(o))throw new S("JWT Claims Set must be a top-level JSON object");const{typ:n}=t;if(n&&("string"!=typeof e.typ||ya(e.typ)!==ya(n)))throw new f('unexpected "typ" JWT header value',o,"typ","check_failed");const{requiredClaims:r=[],issuer:s,subject:c,audience:l,maxTokenAge:u}=t,d=[...r];void 0!==u&&d.push("iat"),void 0!==l&&d.push("aud"),void 0!==c&&d.push("sub"),void 0!==s&&d.push("iss");for(const e of new Set(d.reverse()))if(!(e in o))throw new f(`missing required "${e}" claim`,o,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(o.iss))throw new f('unexpected "iss" claim value',o,"iss","check_failed");if(c&&o.sub!==c)throw new f('unexpected "sub" claim value',o,"sub","check_failed");if(l&&!ba(o.aud,"string"==typeof l?[l]:l))throw new f('unexpected "aud" claim value',o,"aud","check_failed");let h;switch(typeof t.clockTolerance){case"string":h=pa(t.clockTolerance);break;case"number":h=t.clockTolerance;break;case"undefined":h=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:m}=t,p=sa(m||new Date);if((void 0!==o.iat||u)&&"number"!=typeof o.iat)throw new f('"iat" claim must be a number',o,"iat","invalid");if(void 0!==o.nbf){if("number"!=typeof o.nbf)throw new f('"nbf" claim must be a number',o,"nbf","invalid");if(o.nbf>p+h)throw new f('"nbf" claim timestamp check failed',o,"nbf","check_failed")}if(void 0!==o.exp){if("number"!=typeof o.exp)throw new f('"exp" claim must be a number',o,"exp","invalid");if(o.exp<=p-h)throw new k('"exp" claim timestamp check failed',o,"exp","check_failed")}if(u){const e=p-o.iat;if(e-h>("number"==typeof u?u:pa(u)))throw new k('"iat" claim timestamp check failed (too far in the past)',o,"iat","check_failed");if(e<0-h)throw new f('"iat" claim timestamp check failed (it should be in the past)',o,"iat","check_failed")}return o}class ka{#u;constructor(e){if(!$(e))throw new TypeError("JWT Claims Set MUST be an object");this.#u=structuredClone(e)}data(){return r.encode(JSON.stringify(this.#u))}get iss(){return this.#u.iss}set iss(e){this.#u.iss=e}get sub(){return this.#u.sub}set sub(e){this.#u.sub=e}get aud(){return this.#u.aud}set aud(e){this.#u.aud=e}set jti(e){this.#u.jti=e}set nbf(e){"number"==typeof e?this.#u.nbf=ga("setNotBefore",e):e instanceof Date?this.#u.nbf=ga("setNotBefore",sa(e)):this.#u.nbf=sa(new Date)+pa(e)}set exp(e){"number"==typeof e?this.#u.exp=ga("setExpirationTime",e):e instanceof Date?this.#u.exp=ga("setExpirationTime",sa(e)):this.#u.exp=sa(new Date)+pa(e)}set iat(e){void 0===e?this.#u.iat=sa(new Date):e instanceof Date?this.#u.iat=ga("setIssuedAt",sa(e)):this.#u.iat=ga("setIssuedAt","string"==typeof e?sa(new Date)+pa(e):e)}}async function wa(e,a,t){const o=await ra(e,a,t);if(o.protectedHeader.crit?.includes("b64")&&!1===o.protectedHeader.b64)throw new S("JWTs MUST NOT use unencoded payload");const n={payload:fa(o.protectedHeader,o.payload,t),protectedHeader:o.protectedHeader};return"function"==typeof a?{...n,key:o.key}:n}async function va(e,a,t){const o=await Be(e,a,t),n=fa(o.protectedHeader,o.plaintext,t),{protectedHeader:r}=o;if(void 0!==r.iss&&r.iss!==n.iss)throw new f('replicated "iss" claim header parameter mismatch',n,"iss","mismatch");if(void 0!==r.sub&&r.sub!==n.sub)throw new f('replicated "sub" claim header parameter mismatch',n,"sub","mismatch");if(void 0!==r.aud&&JSON.stringify(r.aud)!==JSON.stringify(n.aud))throw new f('replicated "aud" claim header parameter mismatch',n,"aud","mismatch");const i={payload:n,protectedHeader:r};return"function"==typeof a?{...i,key:o.key}:i}class xa{#d;constructor(e){this.#d=new Ye(e)}setContentEncryptionKey(e){return this.#d.setContentEncryptionKey(e),this}setInitializationVector(e){return this.#d.setInitializationVector(e),this}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}setKeyManagementParameters(e){return this.#d.setKeyManagementParameters(e),this}async encrypt(e,a){const t=await this.#d.encrypt(e,a);return[t.protected,t.encrypted_key,t.iv,t.ciphertext,t.tag].join(".")}}class Aa{#u;#a;#o;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this.#u=e}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setUnprotectedHeader(e){if(this.#o)throw new TypeError("setUnprotectedHeader can only be called once");return this.#o=e,this}async sign(e,a){if(!this.#a&&!this.#o)throw new E("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!G(this.#a,this.#o))throw new E("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const t={...this.#a,...this.#o};let o=!0;if(Me(E,new Map([["b64",!0]]),a?.crit,this.#a,t).has("b64")&&(o=this.#a.b64,"boolean"!=typeof o))throw new E('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:n}=t;if("string"!=typeof n||!n)throw new E('JWS "alg" (Algorithm) Header Parameter missing or invalid');let r,i,s,l;Xe(n,e,"sign"),o?(r=y(this.#u),i=h(r)):(i=this.#u,r=""),this.#a?(s=y(JSON.stringify(this.#a)),l=h(s)):(s="",l=new Uint8Array);const u=c(l,h("."),i),d=await We(e,n),m=await async function(e,a,t){const o=await oa(e,a,"sign");se(e,o);const n=await crypto.subtle.sign(ta(e,o.algorithm),o,t);return new Uint8Array(n)}(n,d,u),p={signature:y(m),payload:r};return this.#o&&(p.header=this.#o),this.#a&&(p.protected=s),p}}class Ea{#d;constructor(e){this.#d=new Aa(e)}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}async sign(e,a){const t=await this.#d.sign(e,a);if(void 0===t.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${t.protected}.${t.payload}.${t.signature}`}}class Sa{#c;protectedHeader;unprotectedHeader;options;key;constructor(e,a,t){this.#c=e,this.key=a,this.options=t}setProtectedHeader(e){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=e,this}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addSignature(...e){return this.#c.addSignature(...e)}sign(...e){return this.#c.sign(...e)}done(){return this.#c}}class ja{#u;#h=[];constructor(e){this.#u=e}addSignature(e,a){const t=new Sa(this,e,a);return this.#h.push(t),t}async sign(){if(!this.#h.length)throw new E("at least one signature must be added");const e={signatures:[],payload:""};for(let a=0;a<this.#h.length;a++){const t=this.#h[a],o=new Aa(this.#u);o.setProtectedHeader(t.protectedHeader),o.setUnprotectedHeader(t.unprotectedHeader);const{payload:n,...r}=await o.sign(t.key,t.options);if(0===a)e.payload=n;else if(e.payload!==n)throw new E("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(r)}return e}}class Ta{#a;#m;constructor(e={}){this.#m=new ka(e)}setIssuer(e){return this.#m.iss=e,this}setSubject(e){return this.#m.sub=e,this}setAudience(e){return this.#m.aud=e,this}setJti(e){return this.#m.jti=e,this}setNotBefore(e){return this.#m.nbf=e,this}setExpirationTime(e){return this.#m.exp=e,this}setIssuedAt(e){return this.#m.iat=e,this}setProtectedHeader(e){return this.#a=e,this}async sign(e,a){const t=new Ea(this.#m.data());if(t.setProtectedHeader(this.#a),Array.isArray(this.#a?.crit)&&this.#a.crit.includes("b64")&&!1===this.#a.b64)throw new S("JWTs MUST NOT use unencoded payload");return t.sign(e,a)}}class _a{#r;#i;#s;#a;#p;#g;#y;#m;constructor(e={}){this.#m=new ka(e)}setIssuer(e){return this.#m.iss=e,this}setSubject(e){return this.#m.sub=e,this}setAudience(e){return this.#m.aud=e,this}setJti(e){return this.#m.jti=e,this}setNotBefore(e){return this.#m.nbf=e,this}setExpirationTime(e){return this.#m.exp=e,this}setIssuedAt(e){return this.#m.iat=e,this}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setContentEncryptionKey(e){if(this.#r)throw new TypeError("setContentEncryptionKey can only be called once");return this.#r=e,this}setInitializationVector(e){if(this.#i)throw new TypeError("setInitializationVector can only be called once");return this.#i=e,this}replicateIssuerAsHeader(){return this.#p=!0,this}replicateSubjectAsHeader(){return this.#g=!0,this}replicateAudienceAsHeader(){return this.#y=!0,this}async encrypt(e,a){const t=new xa(this.#m.data());return this.#a&&(this.#p||this.#g||this.#y)&&(this.#a={...this.#a,iss:this.#p?this.#m.iss:void 0,sub:this.#g?this.#m.sub:void 0,aud:this.#y?this.#m.aud:void 0}),t.setProtectedHeader(this.#a),this.#i&&t.setInitializationVector(this.#i),this.#r&&t.setContentEncryptionKey(this.#r),this.#s&&t.setKeyManagementParameters(this.#s),t.encrypt(e,a)}}const Ca=(e,a)=>{if("string"!=typeof e||!e)throw new j(`${a} missing or invalid`)};async function Ia(e,a){let t,o;if(Oe(e))t=e;else{if(!B(e))throw new TypeError(R(e,"CryptoKey","KeyObject","JSON Web Key"));t=await Ze(e)}if(a??="sha256","sha256"!==a&&"sha384"!==a&&"sha512"!==a)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');switch(t.kty){case"AKP":Ca(t.alg,'"alg" (Algorithm) Parameter'),Ca(t.pub,'"pub" (Public key) Parameter'),o={alg:t.alg,kty:t.kty,pub:t.pub};break;case"EC":Ca(t.crv,'"crv" (Curve) Parameter'),Ca(t.x,'"x" (X Coordinate) Parameter'),Ca(t.y,'"y" (Y Coordinate) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":Ca(t.crv,'"crv" (Subtype of Key Pair) Parameter'),Ca(t.x,'"x" (Public Key) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x};break;case"RSA":Ca(t.e,'"e" (Exponent) Parameter'),Ca(t.n,'"n" (Modulus) Parameter'),o={e:t.e,kty:t.kty,n:t.n};break;case"oct":Ca(t.k,'"k" (Key Value) Parameter'),o={k:t.k,kty:t.kty};break;default:throw new v('"kty" (Key Type) Parameter missing or unsupported')}const n=h(JSON.stringify(o));return y(await ae(a,n))}async function Pa(e,a){a??="sha256";const t=await Ia(e,a);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${a.slice(-3)}:${t}`}async function za(e,a){const t={...e,...a?.header};if(!$(t.jwk))throw new E('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const o=await Pe({...t.jwk,ext:!0},t.alg);if(o instanceof Uint8Array||"public"!==o.type)throw new E('"jwk" (JSON Web Key) Header Parameter must be a public key');return o}function Ma(e){return $(e)}class Da{#b;#f=new WeakMap;constructor(e){if(!function(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(Ma)}(e))throw new T("JSON Web Key Set malformed");this.#b=structuredClone(e)}jwks(){return this.#b}async getKey(e,a){const{alg:t,kid:o}={...e,...a?.header},n=function(e){switch("string"==typeof e&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new v('Unsupported "alg" value for a JSON Web Key Set')}}(t),r=this.#b.keys.filter(e=>{let a=n===e.kty;if(a&&"string"==typeof o&&(a=o===e.kid),!a||"string"!=typeof e.alg&&"AKP"!==n||(a=t===e.alg),a&&"string"==typeof e.use&&(a="sig"===e.use),a&&Array.isArray(e.key_ops)&&(a=e.key_ops.includes("verify")),a)switch(t){case"ES256":a="P-256"===e.crv;break;case"ES384":a="P-384"===e.crv;break;case"ES512":a="P-521"===e.crv;break;case"Ed25519":case"EdDSA":a="Ed25519"===e.crv}return a}),{0:i,length:s}=r;if(0===s)throw new _;if(1!==s){const e=new C,a=this.#f;throw e[Symbol.asyncIterator]=async function*(){for(const e of r)try{yield await Oa(a,e,t)}catch{}},e}return Oa(this.#f,i,t)}}async function Oa(e,a,t){const o=e.get(a)||e.set(a,{}).get(a);if(void 0===o[t]){const e=await Pe({...a,ext:!0},t);if(e instanceof Uint8Array||"public"!==e.type)throw new T("JSON Web Key Set members must be public keys");o[t]=e}return o[t]}function Ha(e){const a=new Da(e),t=async(e,t)=>a.getKey(e,t);return Object.defineProperties(t,{jwks:{value:()=>structuredClone(a.jwks()),enumerable:!1,configurable:!1,writable:!1}}),t}let Na;"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(Na="jose/v6.1.3");const Ka=Symbol(),Wa=Symbol();class Ua{#k;#w;#v;#x;#A;#E;#S;#j;#T;#_;constructor(e,a){if(!(e instanceof URL))throw new TypeError("url must be an instance of URL");var t,o;this.#k=new URL(e.href),this.#w="number"==typeof a?.timeoutDuration?a?.timeoutDuration:5e3,this.#v="number"==typeof a?.cooldownDuration?a?.cooldownDuration:3e4,this.#x="number"==typeof a?.cacheMaxAge?a?.cacheMaxAge:6e5,this.#S=new Headers(a?.headers),Na&&!this.#S.has("User-Agent")&&this.#S.set("User-Agent",Na),this.#S.has("accept")||(this.#S.set("accept","application/json"),this.#S.append("accept","application/jwk-set+json")),this.#j=a?.[Ka],void 0!==a?.[Wa]&&(this.#_=a?.[Wa],t=a?.[Wa],o=this.#x,"object"==typeof t&&null!==t&&"uat"in t&&"number"==typeof t.uat&&!(Date.now()-t.uat>=o)&&"jwks"in t&&$(t.jwks)&&Array.isArray(t.jwks.keys)&&Array.prototype.every.call(t.jwks.keys,$)&&(this.#A=this.#_.uat,this.#T=Ha(this.#_.jwks)))}pendingFetch(){return!!this.#E}coolingDown(){return"number"==typeof this.#A&&Date.now()<this.#A+this.#v}fresh(){return"number"==typeof this.#A&&Date.now()<this.#A+this.#x}jwks(){return this.#T?.jwks()}async getKey(e,a){this.#T&&this.fresh()||await this.reload();try{return await this.#T(e,a)}catch(t){if(t instanceof _&&!1===this.coolingDown())return await this.reload(),this.#T(e,a);throw t}}async reload(){this.#E&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#E=void 0),this.#E||=async function(e,a,t,o=fetch){const n=await o(e,{method:"GET",signal:t,redirect:"manual",headers:a}).catch(e=>{if("TimeoutError"===e.name)throw new I;throw e});if(200!==n.status)throw new b("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await n.json()}catch{throw new b("Failed to parse the JSON Web Key Set HTTP response as JSON")}}(this.#k.href,this.#S,AbortSignal.timeout(this.#w),this.#j).then(e=>{this.#T=Ha(e),this.#_&&(this.#_.uat=Date.now(),this.#_.jwks=e),this.#A=Date.now(),this.#E=void 0}).catch(e=>{throw this.#E=void 0,e}),await this.#E}}function Ra(e,a){const t=new Ua(e,a),o=async(e,a)=>t.getKey(e,a);return Object.defineProperties(o,{coolingDown:{get:()=>t.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>t.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>t.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>t.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>t.jwks(),enumerable:!0,configurable:!1,writable:!1}}),o}class Ja{#m;constructor(e={}){this.#m=new ka(e)}encode(){return`${y(JSON.stringify({alg:"none"}))}.${y(this.#m.data())}.`}setIssuer(e){return this.#m.iss=e,this}setSubject(e){return this.#m.sub=e,this}setAudience(e){return this.#m.aud=e,this}setJti(e){return this.#m.jti=e,this}setNotBefore(e){return this.#m.nbf=e,this}setExpirationTime(e){return this.#m.exp=e,this}setIssuedAt(e){return this.#m.iat=e,this}static decode(e,a){if("string"!=typeof e)throw new S("Unsecured JWT must be a string");const{0:t,1:o,2:n,length:r}=e.split(".");if(3!==r||""!==n)throw new S("Invalid Unsecured JWT");let s;try{if(s=JSON.parse(i.decode(g(t))),"none"!==s.alg)throw new Error}catch{throw new S("Invalid Unsecured JWT")}return{payload:fa(s,g(o),a),header:s}}}function La(e){let a;if("string"==typeof e){const t=e.split(".");3!==t.length&&5!==t.length||([a]=t)}else if("object"==typeof e&&e){if(!("protected"in e))throw new TypeError("Token does not contain a Protected Header");a=e.protected}try{if("string"!=typeof a||!a)throw new Error;const e=JSON.parse(i.decode(g(a)));if(!$(e))throw new Error;return e}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}function Xa(e){if("string"!=typeof e)throw new S("JWTs must use Compact JWS serialization, JWT must be a string");const{1:a,length:t}=e.split(".");if(5===t)throw new S("Only JWTs using Compact JWS serialization can be decoded");if(3!==t)throw new S("Invalid JWT");if(!a)throw new S("JWTs must contain a payload");let o,n;try{o=g(a)}catch{throw new S("Failed to base64url decode the payload")}try{n=JSON.parse(i.decode(o))}catch{throw new S("Failed to parse the decoded payload as JSON")}if(!$(n))throw new S("Invalid JWT Claims Set");return n}function qa(e){const a=e?.modulusLength??2048;if("number"!=typeof a||a<2048)throw new v("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return a}async function Ba(e,a){let t,o;switch(e){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:qa(a)},o=["sign","verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:qa(a)},o=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:qa(a)},o=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":t={name:"ECDSA",namedCurve:"P-256"},o=["sign","verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},o=["sign","verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},o=["sign","verify"];break;case"Ed25519":case"EdDSA":o=["sign","verify"],t={name:"Ed25519"};break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":o=["sign","verify"],t={name:e};break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{o=["deriveBits"];const e=a?.crv??"P-256";switch(e){case"P-256":case"P-384":case"P-521":t={name:"ECDH",namedCurve:e};break;case"X25519":t={name:"X25519"};break;default:throw new v("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519")}break}default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(t,a?.extractable??!1,o)}async function Fa(e,a){let t,o,n;switch(e){case"HS256":case"HS384":case"HS512":t=parseInt(e.slice(-3),10),o={name:"HMAC",hash:`SHA-${t}`,length:t},n=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t=parseInt(e.slice(-3),10),crypto.getRandomValues(new Uint8Array(t>>3));case"A128KW":case"A192KW":case"A256KW":t=parseInt(e.slice(1,4),10),o={name:"AES-KW",length:t},n=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":t=parseInt(e.slice(1,4),10),o={name:"AES-GCM",length:t},n=["encrypt","decrypt"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(o,a?.extractable??!1,n)}const Ga="WebCryptoAPI"},4707:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})})},4715:e=>{e.exports=window.wp.blockEditor},4756:(e,a,t)=>{t.a(e,async(e,o)=>{try{t.d(a,{f:()=>_});var n=t(4715),r=t(6427),i=t(6087),s=t(7723),c=t(8351),l=t(4707),u=t(4079),d=t(8820),h=t(9214),m=t(1609),p=t(3752),g=t(544),y=t(1953),b=t(538),f=t(1923),k=t(790),w=e([f]),v=w.then?(await w)():w;f=v[0];const x={name:"gatey-theme",overrides:[p.defaultDarkModeOverride]},A=(0,s.__)(" (your current plan)",g.TEXT_DOMAIN),E=(e,a)=>{const t=(0,i.useRef)(a);(0,i.useLayoutEffect)(()=>{t.current=a},[a]),(0,i.useLayoutEffect)(()=>{const a=document.querySelector('iframe[name="editor-canvas"], iframe.block-editor-iframe'),o=a?.contentDocument;if(!o?.head)return;let n=o.getElementById(e);return n||(n=o.createElement("style"),n.id=e,o.head.appendChild(n)),n.textContent!==t.current&&(n.textContent=t.current),()=>n?.remove()},[e,a])},S=(0,y.getWpSuite)();let j;j=S?S.siteSettings:{};const T="dev.wpsuite.io"===window.location.host?"https://api.wpsuite.io/dev":"https://api.wpsuite.io",_=e=>{const{clientId:a,attributes:t,setAttributes:o}=e,{screen:i,variation:y,colorMode:w,language:v,direction:S,showOpenButton:_,openButtonTitle:C,signingInMessage:I,signingOutMessage:P,redirectingMessage:z,totpIssuer:M,uid:D,customCSS:O}=t,[H,N]=(0,m.useState)(!1),[K,W]=(0,m.useState)(),[U,R]=(0,m.useState)(),[J,L]=(0,m.useState)(),[X,q]=(0,m.useState)(),[B,F]=(0,m.useState)(i||"signIn"),[G,V]=(0,m.useState)(),[$,Z]=(0,m.useState)(),[Q,Y]=(0,m.useState)(),[ee,ae]=(0,m.useState)(),[te,oe]=(0,m.useState)(!1),[ne,re]=(0,m.useState)(),ie=(0,m.createRef)(),se=t.customCSS?.replace(/selector/g,`.wp-block-css-box-${D}`);E(`css-${D}`,se||"");const ce=(0,n.useBlockProps)({className:`wp-block-css-box-${D}`}),{children:le,...ue}=(0,n.useInnerBlocksProps)(ce);return(0,m.useEffect)(()=>{V(B)},[B]),(0,m.useEffect)(()=>{H||(N(!0),j.accountId&&j.siteId?fetch(T+"/account/"+j.accountId+"/site/"+j.siteId+(j.siteKey?"/settings":""),{headers:j.siteKey?{"X-Site-Key":j.siteKey}:{}}).then(e=>e.ok?e.json():Promise.reject(e)).then(e=>{var a,t;const o=e;W(null!==(a=o?.settings)&&void 0!==a?a:null),R(null!==(t=o?.subscriptionType)&&void 0!==t?t:null)}).catch(e=>{console.error("Error:",e.message),W(null),R(null)}):(W(null),R(null)))},[H]),(0,m.useEffect)(()=>{(0,g.getStore)().then(e=>{L(e)})},[]),(0,m.useEffect)(()=>{if(v&&ae(v),_){let e;switch(i){default:case"signIn":e=(0,p.translate)("Sign In");break;case"signUp":e=(0,p.translate)("Sign Up");break;case"forgotPassword":e=(0,p.translate)("Forgot Password");break;case"changePassword":e=(0,p.translate)("Change Password");break;case"editAccount":e=(0,p.translate)("Edit Account");break;case"setupTotp":e=(0,p.translate)("Setup TOTP")}Y(e)}},[i,v,_,o]),(0,m.useEffect)(()=>{let e=S;S&&"auto"!==S||(e="ar"===v||"he"===v?"rtl":"ltr"),Z(e)},[S,v]),(0,m.useEffect)(()=>{D||o({uid:a.slice(0,8)})},[a,o,D]),(0,k.jsx)("div",{...ue,children:(0,k.jsxs)("div",{ref:ie,children:[(0,k.jsxs)(n.InspectorControls,{children:[(0,k.jsxs)(r.PanelBody,{title:(0,s.__)("Settings",g.TEXT_DOMAIN),children:[(0,k.jsx)(r.ComboboxControl,{label:(0,s.__)("Initial Screen",g.TEXT_DOMAIN),value:i||"signIn",options:[{label:(0,s.__)("Sign In (default)",g.TEXT_DOMAIN),value:"signIn"},{label:(0,s.__)("Sign Up",g.TEXT_DOMAIN),value:"signUp"},{label:(0,s.__)("Forgot Password",g.TEXT_DOMAIN),value:"forgotPassword"},{label:(0,s.__)("Edit Account",g.TEXT_DOMAIN),value:"editAccount"},{label:(0,s.__)("Change Password",g.TEXT_DOMAIN),value:"changePassword"},{label:(0,s.__)("Setup TOTP",g.TEXT_DOMAIN),value:"setupTotp"}],onChange:e=>{o({screen:e}),F(e),V(void 0)},help:(0,s.__)("Choose the first screen that the authenticator shows.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.RadioControl,{label:(0,s.__)("Variation",g.TEXT_DOMAIN),selected:y||"default",options:[{label:(0,s.__)("Default",g.TEXT_DOMAIN),value:"default"},{label:(0,s.__)("Modal",g.TEXT_DOMAIN),value:"modal"}],onChange:e=>{o({variation:e||"default"})},help:(0,s.__)("Choose whether the authenticator appears as a full page (Default) or a modal dialog (Modal).",g.TEXT_DOMAIN)}),(0,k.jsx)(r.RadioControl,{label:(0,s.__)("Color Mode",g.TEXT_DOMAIN),selected:w||"system",options:b.ld,onChange:e=>{o({colorMode:e})},help:(0,s.__)("Select the authenticator’s color scheme—Light, Dark, or System (follows the user’s system preference).",g.TEXT_DOMAIN)}),(0,k.jsx)(r.ComboboxControl,{label:(0,s.__)("Language",g.TEXT_DOMAIN),value:v||"system",options:b.Po,onChange:e=>{o({language:e})},help:(0,s.__)("Set the authenticator’s display language.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.RadioControl,{label:(0,s.__)("Direction",g.TEXT_DOMAIN),selected:S||"auto",options:b.ED,onChange:e=>{o({direction:e})},help:(0,s.__)("Choose the authenticator’s layout direction—Auto (default; follows the selected language), Left‑to‑Right, or Right‑to‑Left.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("TOTP Issuer",g.TEXT_DOMAIN),value:M||"",placeholder:"AWSCognito",onChange:e=>{o({totpIssuer:e})},help:(0,s.__)("Enter the issuer name that will appear in the authenticator app (e.g., “My Company”).",g.TEXT_DOMAIN)}),(0,k.jsx)(r.CheckboxControl,{label:(0,s.__)("Show Open Button",g.TEXT_DOMAIN),checked:_||!1,onChange:e=>{o({showOpenButton:e})},help:(0,s.__)("Hide the authenticator behind a button. The button label defaults to the current screen title, or you can customise it in Open Button Title.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("Open Button Title",g.TEXT_DOMAIN),value:C||"",placeholder:Q||"",onChange:e=>{o({openButtonTitle:e})},help:(0,s.__)("Override the button label. Leave empty to use the current screen’s default title.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("Signing In Message",g.TEXT_DOMAIN),value:I||"",onChange:e=>{o({signingInMessage:e})},help:(0,s.__)("Specify the text that appears to the user while sign‑in is in progress.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("Signing Out Message",g.TEXT_DOMAIN),value:P||"",onChange:e=>{o({signingOutMessage:e})},help:(0,s.__)("Specify the text that appears to the user while sign‑out is in progress.",g.TEXT_DOMAIN)}),(0,k.jsx)(r.TextControl,{label:(0,s.__)("Redirecting Message",g.TEXT_DOMAIN),value:z||"",onChange:e=>{o({redirectingMessage:e})},help:(0,s.__)("Specify the text that appears to the user while they are being redirected.",g.TEXT_DOMAIN)})]}),(0,k.jsx)(r.PanelBody,{title:(0,s.__)("Custom CSS",g.TEXT_DOMAIN),children:(0,k.jsx)(r.TextareaControl,{__nextHasNoMarginBottom:!0,value:O||"",onChange:e=>o({customCSS:e}),help:(0,s.__)("Add custom CSS styles for the authenticator. Use the `selector` keyword to target the authenticator block.",g.TEXT_DOMAIN)})})," "]}),(0,k.jsxs)(n.BlockControls,{children:[(0,k.jsx)(r.ToolbarGroup,{children:(0,k.jsx)(r.ToolbarDropdownMenu,{icon:u.A,label:"Preview Mode",controls:[{icon:"FREE"===X?c.A:null,title:(0,s.__)("Free",g.TEXT_DOMAIN)+(U?"":A),onClick:()=>q("FREE")},{icon:"PAID"===X?c.A:null,title:(0,s.__)("Paid",g.TEXT_DOMAIN)+("PROFESSIONAL"===U?A:""),onClick:()=>q("PAID")}]})}),(0,k.jsx)(r.ToolbarGroup,{children:(0,k.jsx)(r.ToolbarDropdownMenu,{icon:d.A,label:"Preview Screen",controls:[{icon:"signIn"===G?c.A:null,title:(0,s.__)("Sign In (default)",g.TEXT_DOMAIN),onClick:()=>{F("signIn"),V(void 0)}},{icon:"signUp"===G?c.A:null,title:(0,s.__)("Sign Up",g.TEXT_DOMAIN),onClick:()=>{F("signUp"),V(void 0)}},{icon:"forgotPassword"===G?c.A:null,title:(0,s.__)("Forgot Password",g.TEXT_DOMAIN),onClick:()=>{F("forgotPassword"),V(void 0)}},{icon:"editAccount"===G?c.A:null,title:(0,s.__)("Edit Account",g.TEXT_DOMAIN),onClick:()=>{F("editAccount"),V(void 0)}},{icon:"changePassword"===G?c.A:null,title:(0,s.__)("Change Password",g.TEXT_DOMAIN),onClick:()=>{F("changePassword"),V(void 0)}},{icon:"setupTotp"===G?c.A:null,title:(0,s.__)("Setup TOTP",g.TEXT_DOMAIN),onClick:()=>{F("setupTotp"),V(void 0)}}]})}),(0,k.jsx)(r.ToolbarGroup,{children:(0,k.jsx)(r.ToolbarButton,{icon:te?l.A:h.A,label:(0,s.__)(te?"Hide Customization":"Show Customization",g.TEXT_DOMAIN),onClick:()=>{oe(!te)}})})]}),(0,k.jsxs)("div",{style:{position:"relative",zIndex:ne},children:[J&&void 0!==K?(0,k.jsx)(p.ThemeProvider,{theme:x,colorMode:w,direction:$,children:(0,k.jsx)(f.q,{id:`gatey-authenticator-block-${D}`,className:`wp-block-css-box-${D}`,screen:G,variation:y,language:ee,direction:$,showOpenButton:_,openButtonTitle:C,signingInMessage:I,signingOutMessage:P,redirectingMessage:z,store:J,editorRef:ie,isPreview:!0,previewMode:X,setPreviewMode:q,setPreviewZIndex:re,siteSettings:K,siteSubscriptionType:U,children:le})}):(0,k.jsx)(k.Fragment,{children:(0,s.__)("Loading configuration...",g.TEXT_DOMAIN)}),(0,k.jsx)("div",{style:{display:te?"block":"none"},children:le})]})]})})};o()}catch(e){o(e)}})},4997:e=>{e.exports=window.wp.blocks},5052:(e,a,t)=>{t.d(a,{A:()=>n});var o=t(1609);const n=(e,a,t)=>{const[n,r]=(0,o.useState)(!1),[i,s]=(0,o.useState)(!1);if(null!=a&&a.threshold&&a.threshold>1)throw new Error("'threshold' must be between 0 and 1");return(0,o.useEffect)(()=>{const o=new IntersectionObserver(([a])=>{var o,n,c,l;const u=a.isIntersecting;r(u),u?(null==(o=null==t?void 0:t.onTriggerEnter)||o.call(t,e),i||(s(!0),null==(n=null==t?void 0:t.onFirstVisible)||n.call(t,e))):null==(c=null==t?void 0:t.onTriggerExit)||c.call(t,e),null==(l=null==t?void 0:t.onChangeVisibility)||l.call(t,u,e)},{threshold:(null==a?void 0:a.threshold)||0});return e.current&&o.observe(e.current),()=>{e.current&&o.unobserve(e.current)}},[e,i]),n}},5338:(e,a,t)=>{var o=t(5795);a.H=o.createRoot,o.hydrateRoot},5573:e=>{e.exports=window.wp.primitives},5795:e=>{e.exports=window.ReactDOM},5930:(e,a,t)=>{t.d(a,{Q:()=>o});const o=(0,t(6087).createContext)(null)},6087:e=>{e.exports=window.wp.element},6427:e=>{e.exports=window.wp.components},7143:e=>{e.exports=window.wp.data},7723:e=>{e.exports=window.wp.i18n},8184:(e,a,t)=>{var o=t(1609),n=t(5338),r=(t(428),t(544)),i=t(3752),s=t(7143),c=t(9684),l=t(790);const u=e=>{var a,t;const{id:n,isPreview:u,store:d,component:h,attribute:m,custom:p,colorMode:g,language:y,direction:b,link:f={},prefix:k,postfix:w}=e,v={name:"gatey-theme-"+n,overrides:[i.defaultDarkModeOverride]},x=(0,s.useSelect)(()=>(0,r.getStoreSelect)(d).getLanguage(),[]),A=(0,s.useSelect)(()=>(0,r.getStoreSelect)(d).getDirection(),[]),[E]=(0,o.useState)(null!==(a=new URLSearchParams(window.location.search).get("language"))&&void 0!==a?a:""),[S]=(0,o.useState)(null!==(t=new URLSearchParams(window.location.search).get("direction"))&&void 0!==t?t:""),j=(0,o.useMemo)(()=>{const e=x||E||y;return e&&"system"!==e?e:""},[y,E,x]),T=(0,o.useMemo)(()=>{const e=A||S||b;return e&&"auto"!==e?e:"ar"===j||"he"===j?"rtl":"ltr"},[j,b,A,S]);return(0,l.jsx)(i.ThemeProvider,{theme:v,colorMode:g,direction:T,children:(0,l.jsx)(c.c,{id:n,isPreview:u,store:d,component:h,attribute:m,custom:p,language:j,direction:T,link:f,prefix:k,postfix:w})})},d=new Map;try{const e=async e=>{const a=document.querySelector("#"+e);if(a){jQuery(a).data("rendered","true");const t="true"===a.getAttribute("data-is-preview"),i=a.getAttribute("data-component"),s=a.getAttribute("data-attribute"),c=a.getAttribute("data-custom"),h=a.getAttribute("data-color-mode"),m=a.getAttribute("data-language"),p=a.getAttribute("data-direction"),g=a.getAttribute("data-link")?JSON.parse(a.getAttribute("data-link")||"{}"):{},y=a.getAttribute("data-prefix")||"",b=a.getAttribute("data-postfix")||"",f=(0,n.H)(a),k=await(0,r.getStore)();d.has(e)?a.innerHTML=d.get(e)||"":d.set(e,a.innerHTML||""),f.render((0,l.jsx)(o.StrictMode,{children:(0,l.jsx)(u,{id:e,isPreview:t,store:k,component:i,attribute:s,custom:c,colorMode:h,language:m,direction:p,link:g,prefix:y,postfix:b})}))}};jQuery(document).on("gatey-account-attribute-block",(a,t)=>e(t)),jQuery(window).on("elementor/frontend/init",function(){jQuery(document).on("gatey-account-attribute-block",(a,t)=>e(t))})}catch(e){console.error(e)}},8351:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})})},8820:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(o.Path,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})})},8858:e=>{e.exports=JSON.parse('{"UU":"gatey/authenticator","DD":"Authenticator","L1":"wpsuite-gatey","h_":"Gatey Authenticator","uK":{"screen":{"type":"string"},"variation":{"type":"string"},"colorMode":{"type":"string"},"showOpenButton":{"type":"boolean"},"openButtonTitle":{"type":"string"},"signingInMessage":{"type":"string"},"signingOutMessage":{"type":"string"},"redirectingMessage":{"type":"string"},"language":{"type":"string"},"direction":{"type":"string"},"totpIssuer":{"type":"string"},"uid":{"type":"string"},"customCSS":{"type":"string","default":"selector {\\n\\t\\n}"}}}')},9214:(e,a,t)=>{t.d(a,{A:()=>r});var o=t(5573),n=t(790),r=(0,n.jsxs)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,n.jsx)(o.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,n.jsx)(o.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]})},9599:(e,a,t)=>{var o=t(544),n=t(4997);const r=JSON.parse('{"UU":"gatey/form-field","DD":"Form Field","L1":"wpsuite-gatey","h_":"Form Field for Gatey Authenticator - display a form field on sign-up or edit-account page.","uK":{"attribute":{"type":"string"},"custom":{"type":"string"},"required":{"type":"boolean"},"hidden":{"type":"boolean"},"label":{"type":"string"},"labelHidden":{"type":"boolean"},"placeholder":{"type":"string"},"autocomplete":{"type":"string"},"defaultValue":{"type":"string"},"defaultChecked":{"type":"boolean"},"dialCode":{"type":"string"},"dialCodeList":{"type":"array"},"countryCode":{"type":"string"},"countryCodeList":{"type":"array"}}}');var i=t(3752),s=t(4715),c=t(6427),l=t(7143),u=t(6087),d=t(7723),h=t(1609),m=t(5930),p=t(538),g=t(790);const y=(0,g.jsxs)("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("path",{d:"M5.5 8.557A2.08 2.08 0 0 1 7 8v1c-.74 0-.948.417-1 .571v5.86c.048.143.251.569 1 .569v1a2.08 2.08 0 0 1-1.5-.557A2.08 2.08 0 0 1 4 17v-1c.74 0 .948-.417 1-.571v-5.86C4.952 9.426 4.749 9 4 9V8a2.08 2.08 0 0 1 1.5.557zM23 6.5v12a1.502 1.502 0 0 1-1.5 1.5h-19A1.502 1.502 0 0 1 1 18.5v-12A1.502 1.502 0 0 1 2.5 5h19A1.502 1.502 0 0 1 23 6.5zm-1 0a.5.5 0 0 0-.5-.5h-19a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h19a.5.5 0 0 0 .5-.5zM12 17h1v-1h-1zm-2 0h1v-1h-1zm-2 0h1v-1H8zm6 0h1v-1h-1zm4 0h1v-1h-1zm-2 0h1v-1h-1z"}),(0,g.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"})]});(0,n.registerBlockType)(r.UU,{attributes:r.uK,title:r.DD,category:r.L1,description:r.h_,textdomain:o.TEXT_DOMAIN,edit:e=>{const{context:a,attributes:t,setAttributes:n,clientId:r}=e,{attribute:y,custom:b,required:f,hidden:k,label:w,labelHidden:v,placeholder:x,autocomplete:A,defaultValue:E,defaultChecked:S,dialCode:j,dialCodeList:T,countryCodeList:_}=t,{"gatey/custom-block/component":C}=a,I=(0,l.select)("core/block-editor").getBlock(r),P=(0,u.useContext)(m.Q),{updateBlock:z}=(0,l.useDispatch)("core/block-editor"),M=(0,s.useBlockProps)(),{...D}=(0,s.useInnerBlocksProps)(M),O=(0,h.useCallback)(e=>{if(i.defaultFormFieldOptions[e]){var a,t,o;const n=i.defaultFormFieldOptions[e];return{attribute:e,custom:"",required:null!==(a=n?.isRequired)&&void 0!==a&&a,hidden:null!==(t=n?.hidden)&&void 0!==t&&t,label:n?.label||"",labelHidden:null!==(o=n?.labelHidden)&&void 0!==o&&o,placeholder:n?.placeholder||"",defaultValue:"",defaultChecked:!1,autocomplete:n?.autocomplete||"off",dialCode:n?.dialCode,dialCodeList:n?.dialCodeList,countryCodeList:n?.countryCodeList}}return{attribute:e,custom:"",required:!1,hidden:!1,label:"",labelHidden:!1,placeholder:"",autocomplete:"off",defaultValue:"",defaultChecked:!1}},[]);(0,h.useEffect)(()=>{let e="";e=y?i.authFieldsWithDefaults.includes(y)?y:"custom"===y?"custom:"+(b||""):b||"":b||"",I&&void 0!==e&&I.attributes.anchor!==e&&z(r,{attributes:{...t,anchor:e}})},[y,t,I,r,b,z]);const H=(0,h.useMemo)(()=>{let e="";return e=y?i.authFieldsWithDefaults.includes(y)?y:"custom"===y?"custom:"+(b||""):b||"":b||"",e},[y,b]),N=(0,h.useMemo)(()=>H in i.defaultFormFieldOptions?i.defaultFormFieldOptions[H].type||"text":P?.formFields?P?.formFields.find(e=>e.name===H)?.type||"text":void 0,[P,H]),K=[];return K.push({label:(0,d.__)("Username",o.TEXT_DOMAIN),value:"username"}),"SignUp"===C&&(K.push({label:(0,d.__)("Password",o.TEXT_DOMAIN),value:"password"}),K.push({label:(0,d.__)("Confirm Password",o.TEXT_DOMAIN),value:"confirm_password"})),p.rB.forEach(e=>K.push(e)),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.InspectorControls,{children:(0,g.jsxs)(c.PanelBody,{title:(0,d.__)("Settings",o.TEXT_DOMAIN),children:[(0,g.jsx)(c.ComboboxControl,{label:(0,d.__)("Attribute",o.TEXT_DOMAIN),value:y||"",options:K,onChange:e=>{n(O(e))},placeholder:(0,d.__)("Select an attribute",o.TEXT_DOMAIN),allowReset:!0}),"custom"===y&&(0,g.jsx)(c.TextControl,{label:(0,d.__)("Custom Attribute",o.TEXT_DOMAIN),value:null!=b?b:"",onChange:e=>{n({custom:e})},placeholder:(0,d.__)("Enter custom attribute",o.TEXT_DOMAIN)}),"checkbox"===N&&(0,g.jsx)(c.CheckboxControl,{label:(0,d.__)("Checked by default",o.TEXT_DOMAIN),checked:null!=S&&S,onChange:e=>{n({defaultChecked:e})},help:(0,d.__)("Make this field checked by default.",o.TEXT_DOMAIN)}),("radio"===N||"select"===N||"country"===N)&&(0,g.jsx)(c.TextControl,{label:(0,d.__)("Default Value",o.TEXT_DOMAIN),value:E||"",onChange:e=>{n({defaultValue:e})},placeholder:(0,d.__)("Enter default value",o.TEXT_DOMAIN)}),(0,g.jsx)(c.CheckboxControl,{label:(0,d.__)("Required",o.TEXT_DOMAIN),checked:null!=f&&f,onChange:e=>{n({required:e})},help:(0,d.__)("Make this field mandatory.",o.TEXT_DOMAIN)}),(0,g.jsx)(c.CheckboxControl,{label:(0,d.__)("Hidden",o.TEXT_DOMAIN),checked:null!=k&&k,onChange:e=>{n({hidden:e})},help:(0,d.__)("Hide this field from users.",o.TEXT_DOMAIN)}),(0,g.jsx)(c.TextControl,{label:(0,d.__)("Label",o.TEXT_DOMAIN),value:w||"",onChange:e=>{n({label:e})},placeholder:(0,d.__)("Enter label",o.TEXT_DOMAIN)}),(0,g.jsx)(c.CheckboxControl,{label:(0,d.__)("Label Hidden",o.TEXT_DOMAIN),checked:null!=v&&v,onChange:e=>{n({labelHidden:e})},help:(0,d.__)("Hide the label for this field.",o.TEXT_DOMAIN)}),(0,g.jsx)(c.TextControl,{label:(0,d.__)("Placeholder",o.TEXT_DOMAIN),value:x||"",onChange:e=>{n({placeholder:e})},placeholder:(0,d.__)("Enter placeholder",o.TEXT_DOMAIN)}),(0,g.jsx)(c.TextControl,{label:(0,d.__)("Auto Complete",o.TEXT_DOMAIN),value:A||"off",onChange:e=>{n({autocomplete:e})},help:(0,d.__)("Desired autocomplete HTML attribute.",o.TEXT_DOMAIN)}),"tel"===N&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.TextControl,{label:(0,d.__)("Dial Code",o.TEXT_DOMAIN),value:j||"",onChange:e=>{n({dialCode:e})},placeholder:(0,d.__)("Enter dial code",o.TEXT_DOMAIN),help:(0,d.__)("Enter a single dial code starting with “+” (e.g., “+1”).",o.TEXT_DOMAIN)}),(0,g.jsx)(c.TextControl,{label:(0,d.__)("Dial Code List",o.TEXT_DOMAIN),value:T?.join(", ")||"",onChange:e=>{n({dialCodeList:e.split(",").map(e=>e.trim().toUpperCase())})},placeholder:(0,d.__)("Enter dial codes separated by commas:",o.TEXT_DOMAIN),help:(0,d.__)("Enter one or more dial codes, each starting with “+” (example: +36, +44). Separate codes with commas. To remove a code, highlight it together with its comma and press Delete.",o.TEXT_DOMAIN)})]}),"country"===N&&(0,g.jsx)(c.TextControl,{label:(0,d.__)("Country Code List",o.TEXT_DOMAIN),value:_?.join(", ")||"",onChange:e=>{n({countryCodeList:e.split(",").map(e=>e.trim().toUpperCase())})},placeholder:(0,d.__)("Enter country codes separated by commas",o.TEXT_DOMAIN),help:(0,d.__)("Enter 3‑letter ISO 3166‑1 alpha‑3 country codes, separated by commas (example: USA, HUN). To remove a code, highlight it together with its comma and press Delete.",o.TEXT_DOMAIN)})]})}),(0,g.jsxs)("div",{...D,"data-attribute":y,"data-custom":b,"data-default-checked":S,"data-required":f,"data-hidden":k,"data-label":w,"data-label-hidden":v,"data-placeholder":x,"data-autocomplete":A||"off","data-dial-code":j||"","data-dial-code-list":T?.join(", ")||"","data-country-code-list":_?.join(", ")||"",children:[(0,g.jsx)(i.Text,{as:"p",children:H})," "]})]})},save:()=>{const e=s.useBlockProps.save(),{children:a,...t}=s.useInnerBlocksProps.save(e);return(0,g.jsx)("div",{...t,children:a})},icon:y})},9684:(e,a,t)=>{t.d(a,{c:()=>c});var o=t(1609),n=t(3752),r=t(7143),i=t(544),s=t(790);n.I18n.putVocabularies(n.translations);const c=e=>{const{isPreview:a,store:t,component:c,attribute:l,custom:u,language:d,link:h,prefix:m,postfix:p}=e,g=(0,r.useSelect)(()=>(0,i.getStoreSelect)(t).getConfig(),[]),y=(0,r.useSelect)(()=>(0,i.getStoreSelect)(t).getAccount(),[]),b=(0,r.useSelect)(()=>(0,i.getStoreSelect)(t).getCustomTranslations(),[]),f=(0,o.useMemo)(()=>{const e="custom"!==l?l:"custom:"+u;if(a)return e;if(y?.userAttributes){const a=g?.formFields&&g?.formFields.find(a=>a.name===e);let o=y.userAttributes[e];if(o)if("country"===a?.type){const e=n.countries.all.find(e=>e.alpha3?.toLocaleLowerCase()===o?.toLocaleLowerCase()||e.alpha2?.toLocaleLowerCase()===o?.toLocaleLowerCase());e&&(o=(0,n.translate)(e.name))}else if("select"===a?.type||"radio"===a?.type){var t;const e=(null!==(t=a?.values)&&void 0!==t?t:[]).find(e=>e.value===o);e&&(o=(0,n.translate)(e.label))}return null!=o?o:""}return""},[g,a,y,l,u]),k=(h?.nofollow?"nofollow ":"")+(h?.opensInNewTab?"noopener noreferrer":"");return(0,o.useEffect)(()=>{n.I18n.putVocabularies(b||{}),d&&"system"!==d?n.I18n.setLanguage(d):n.I18n.setLanguage("")},[d,b]),h?.url?(0,s.jsx)("a",{href:h.url,target:h.opensInNewTab?"_blank":void 0,rel:k,onClick:e=>{a&&e.preventDefault()},children:(0,s.jsxs)(n.View,{as:c,children:[m,f||(0,s.jsx)(s.Fragment,{children:" "}),p]})}):(0,s.jsxs)(n.View,{as:c,children:[m,f||(0,s.jsx)(s.Fragment,{children:" "}),p]})}},9731:(e,a,t)=>{var o=t(544),n=t(4997);const r=JSON.parse('{"UU":"gatey/custom-block","DD":"Custom Block","L1":"wpsuite-gatey","h_":"Custom Block for Gatey Authenticator","uK":{"anchor":{"type":"string"},"component":{"type":"string"},"part":{"type":"string"}}}');var i=t(4715),s=t(6427),c=t(7143),l=t(7723),u=t(1609),d=t(3752),h=t(790);const m=[{label:(0,l.__)("Header",o.TEXT_DOMAIN),value:"Header"},{label:(0,l.__)("Footer",o.TEXT_DOMAIN),value:"Footer"}],p=[{label:(0,l.__)("Header",o.TEXT_DOMAIN),value:"Header"},{label:(0,l.__)("Form Fields",o.TEXT_DOMAIN),value:"FormFields"},{label:(0,l.__)("Footer",o.TEXT_DOMAIN),value:"Footer"}],g=(0,h.jsxs)("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",children:[(0,h.jsx)("title",{children:"Custom Block"}),(0,h.jsx)("path",{stroke:"#000000","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9.5 5H9a2 2 0 0 0-2 2v2c0 1-.6 3-3 3 1 0 3 .6 3 3v2a2 2 0 0 0 2 2h.5m5-14h.5a2 2 0 0 1 2 2v2c0 1 .6 3 3 3-1 0-3 .6-3 3v2a2 2 0 0 1-2 2h-.5"})]});(0,n.registerBlockType)(r.UU,{attributes:r.uK,title:r.DD,category:r.L1,description:r.h_,textdomain:o.TEXT_DOMAIN,edit:e=>{const{clientId:a,attributes:t,setAttributes:r}=e,{component:g,part:y}=t,b=(0,i.useBlockProps)(),{children:f,...k}=(0,i.useInnerBlocksProps)(b),w=(0,c.select)("core/block-editor"),{insertBlocks:v,updateBlock:x}=(0,c.useDispatch)("core/block-editor"),A=(0,u.useCallback)(()=>{let e;switch(g){case"SignUp":e="signUp";break;case"EditAccount":e="editAccount"}if(!e)return;const t=(0,o.getGateyPlugin)(),r=w.getClientIdsOfDescendants([a]),i=(0,d.getSortedFormFields)(e,{context:{config:{loginMechanisms:t.settings.loginMechanisms,signUpAttributes:t.settings.signUpAttributes}}}).filter(([e])=>!r.find(a=>{const t=w.getBlock(a);return"gatey/form-field"===t.name&&t.attributes.attribute===e})).map(([e,a])=>(0,n.createBlock)("gatey/form-field",{...a,attribute:e,required:a.isRequired,type:a.type||"text"}));i.length>0&&v(i,void 0,a)},[g,w,a,v]);(0,u.useEffect)(()=>{let e;g&&"Global"!==g&&(e=g),y&&(e=e?e+"-"+y:y);const o=w.getBlock(a);o&&e&&o.attributes.anchor!==e&&x(a,{attributes:{...t,anchor:e}})},[t,a,g,y,x,w]);const E=(0,u.useMemo)(()=>{let e;return g&&"Global"!==g&&(e=g),y&&(e=e?e+"-"+y:y),e},[g,y]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i.InspectorControls,{children:(0,h.jsxs)(s.PanelBody,{title:(0,l.__)("Settings",o.TEXT_DOMAIN),children:[(0,h.jsx)(s.ComboboxControl,{label:(0,l.__)("Component",o.TEXT_DOMAIN),value:g||"Global",options:[{label:(0,l.__)("Global",o.TEXT_DOMAIN),value:"Global"},{label:(0,l.__)("Change Password",o.TEXT_DOMAIN),value:"ChangePassword"},{label:(0,l.__)("Confirm Sign In",o.TEXT_DOMAIN),value:"ConfirmSignIn"},{label:(0,l.__)("Confirm Sign Up",o.TEXT_DOMAIN),value:"ConfirmSignUp"},{label:(0,l.__)("Confirm Reset Password",o.TEXT_DOMAIN),value:"ConfirmResetPassword"},{label:(0,l.__)("Confirm Verify User",o.TEXT_DOMAIN),value:"ConfirmVerifyUser"},{label:(0,l.__)("Edit Account",o.TEXT_DOMAIN),value:"EditAccount"},{label:(0,l.__)("Force New Password",o.TEXT_DOMAIN),value:"ForceNewPassword"},{label:(0,l.__)("Forgot Password",o.TEXT_DOMAIN),value:"ForgotPassword"},{label:(0,l.__)("Setup TOTP",o.TEXT_DOMAIN),value:"SetupTotp"},{label:(0,l.__)("Sign In",o.TEXT_DOMAIN),value:"SignIn"},{label:(0,l.__)("Sign Up",o.TEXT_DOMAIN),value:"SignUp"},{label:(0,l.__)("Verify User",o.TEXT_DOMAIN),value:"VerifyUser"}],onChange:e=>{e&&r({component:e})},help:(0,l.__)("Select the authenticator screen you want to customise. The custom block’s content will be injected into the chosen screen.",o.TEXT_DOMAIN)}),(0,h.jsx)(s.RadioControl,{label:(0,l.__)("Part",o.TEXT_DOMAIN),selected:y||"",options:"SignUp"===g||"EditAccount"===g?p:m,onChange:e=>{e&&r({part:e})},help:(0,l.__)("Choose which part of that screen to override. The custom block’s children will be rendered in the selected section.",o.TEXT_DOMAIN)}),("SignUp"===g||"EditAccount"===g)&&"FormFields"===y&&(0,h.jsx)(s.Button,{variant:"primary",onClick:A,style:{width:"100%"},children:(0,l.__)("Add Missing Form Fields",o.TEXT_DOMAIN)})]})}),(0,h.jsx)("div",{...k,children:(0,h.jsxs)("details",{"custom-part":E,children:[(0,h.jsx)("summary",{children:E}),f]})})]})},save:()=>{const e=i.useBlockProps.save(),{children:a,...t}=i.useInnerBlocksProps.save(e);return(0,h.jsx)("div",{...t,children:a})},icon:g})},9757:(e,a,t)=>{t.a(e,async(e,o)=>{try{t.d(a,{a:()=>h});var n=t(1609),r=t(5052),i=t(3752),s=(t(1880),t(7143)),c=t(544),l=t(1953),u=t(790);const e=await Promise.all([t.e(594),t.e(858)]).then(t.bind(t,3858)),d=(0,c.getGateyPlugin)(),h=a=>{var t;const{id:o,className:h,store:m,screen:p,variation:g,language:y,direction:b,signingInMessage:f,signingOutMessage:k,redirectingMessage:w,totpIssuer:v,isPreview:x,children:A,editorRef:E,config:S,containerRef:j}=a,[T,_]=(0,n.useState)(!1),[C,I]=(0,n.useState)(!1),[P,z]=(0,n.useState)(!0),[M,D]=(0,n.useState)(),[O,H]=(0,n.useState)(!1),[N,K]=(0,n.useState)(),W=(0,s.useSelect)(()=>(0,c.getStoreSelect)(m).getAccount(),[]),U=(0,s.useSelect)(()=>(0,c.getStoreSelect)(m).getNextUrl(),[]),R=(0,s.useSelect)(()=>(0,c.getStoreSelect)(m).isSignedIn(),[]),{clearAccount:J,reloadUserAttributes:L,reloadMFAPreferences:X,setSignedIn:q}=(0,c.getStoreDispatch)(m),B=new URLSearchParams(window.location.search),[F]=(0,n.useState)("true"===B.get("loggedout")),[G]=(0,n.useState)(B.get("redirect_to")),[V]=(0,n.useState)(B.get("reauth")),{authStatus:$,route:Z,toSignIn:Q,toSignUp:Y,toForgotPassword:ee,toSetupTotp:ae,toEditAccount:te}=(0,i.useAuthenticator)(e=>[e.user,e.authStatus,e.route]),[oe]=(0,n.useState)(R&&!W?.loaded&&"1"!==V),ne=(0,r.A)(j,{threshold:0},{onTriggerExit:()=>z(jQuery("#"+o).length>0)}),re=(0,n.useCallback)(async()=>{if(!d.settings?.reCaptchaPublicKey)return;const{execute:e}=await(0,l.getRecaptcha)(d.settings?.useRecaptchaEnterprise||!1);return e?await e(d.settings?.reCaptchaPublicKey,{action:"signup"}):void 0},[]),ie=(0,n.useCallback)((e,a)=>{j.current&&jQuery(j.current).trigger(e+".gatey-authenticator",{screen:p,...a})},[j,p]),se=(0,n.useMemo)(()=>({async done(){"editAccount"===p&&L(),"setupTotp"===p&&X(),ie("done")},async handleCancel(){ie("cancel")},async handleSignUp(e){if(d.settings?.reCaptchaPublicKey){const a=await re();a&&(e.options=e.options||{userAttributes:{}},e.options.validationData={recaptchaToken:a})}return(0,i.signUp)(e).catch(e=>{throw e})}}),[p,ie,L,X,re]),ce=(0,n.useMemo)(()=>ne&&P,[ne,P]);(0,n.useEffect)(()=>{E?.current&&K(E.current.innerHTML)},[A,E]);const le=(0,n.useMemo)(()=>{if(void 0!==S)return A&&null!==S?e.default(S,x,W,A,N,b):{}},[S,A,x,W,N,b]);(0,n.useEffect)(()=>{if(p||"setup"===Z)switch("setup"===Z?p:Z){case"signUp":Y();break;case"forgotPassword":ee();break;case"setupTotp":ae();break;case"editAccount":te();break;case"signIn":Q()}},[p,Z,ee,Q,Y,ae,te]),(0,n.useEffect)(()=>{d.cognito.toSignIn=Q,d.cognito.toSignUp=Y,d.cognito.toForgotPassword=ee},[ee,Q,Y]),(0,n.useEffect)(()=>{"signIn"!==p||x||T||!F||queueMicrotask(()=>{if(oe)D(k),ie("signing-out"),J();else{ie("signed-out");const e=G||U||d.settings.redirectSignOut||d.settings.signInPage;e&&(H(!0),window.location.assign(e))}_(!0)})},[G,F,x,T,p,ie,m,oe,U,J,k]),(0,n.useEffect)(()=>{x||"signIn"!==p||F||"authenticated"!==$||C||queueMicrotask(()=>{if(oe){ie("signed-in");let e=G||U||d.settings.redirectSignIn||d.settings.signInPage;e?.endsWith("/")&&(e=e.substring(0,e.length-1));let a=location.pathname;a.endsWith("/")&&(a=a.substring(0,a.length-1)),e&&e!==a+location.search?(H(!0),window.location.assign(e)):I(!0)}else I(!0),q(!0),D(f),ie("signing-in")})},[$,G,x,F,ie,p,q,oe,C,U,f]),(0,n.useEffect)(()=>{"signIn"===p&&queueMicrotask(()=>{if(C)if("authenticated"===Z){if(ie("signed-in"),void 0!==U){const e=G||U||d.settings.redirectSignIn||d.settings.signInPage;e&&(H(!0),window.location.assign(e))}}else"transition"!==Z&&(D(void 0),ie("reset"))})},[G,Z,U,C,T,ie,p]),(0,n.useEffect)(()=>{ie("open")},[ie]);let ue=null!==(t=W?.userAttributes?.preferred_username)&&void 0!==t?t:W?.username;return d.settings?.loginMechanisms.includes("username")||(ue=d.settings?.loginMechanisms.includes("email")?W?.userAttributes?.email:W?.userAttributes?.phone_number),(0,u.jsx)(i.View,{ref:j,className:h,width:g&&"default"!==g?"0":"100%",children:ce&&(0,u.jsx)(i.Flex,{children:le&&void 0!==S&&("changePassword"===p?(0,u.jsx)(i.View,{"data-amplify-authenticator":!0,"data-variation":g,children:(0,u.jsx)(i.View,{"data-amplify-container":!0,children:(0,u.jsx)(i.View,{"data-amplify-router":!0,children:(0,u.jsx)(i.View,{"data-amplify-form":!0,"data-amplify-authenticator-changepassword":!0,children:(0,u.jsx)(i.AccountSettings.ChangePassword,{forceInitialState:x,header:le.ChangePassword?.Header,footer:le.ChangePassword?.Footer,onSuccess:()=>ie("done"),onCancel:se.handleCancel,variation:g})})})})}):(0,u.jsx)("div",{style:{display:"flex",flexDirection:"column",width:"100%"},children:O&&w?(0,u.jsx)(i.View,{"data-amplify-authenticator":!0,"data-variation":g,children:(0,u.jsx)(i.View,{"data-amplify-container":!0,children:(0,u.jsx)(i.View,{"data-amplify-router":!0,children:(0,u.jsx)(i.View,{"data-amplify-form":!0,"data-amplify-authenticator-message":!0,style:{textAlign:"center"},children:(0,u.jsx)(i.Heading,{level:4,children:(0,i.translate)(w)})})})})}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Authenticator,{loginMechanisms:d.settings?.loginMechanisms,language:y,textDirection:b,services:se,initialState:p,signUpAttributes:d.settings?.signUpAttributes,socialProviders:d.settings?.socialProviders,customProviders:S?.customProviders,components:le,forceInitialState:x,variation:g,totpIssuer:v,totpUsername:ue,children:!O&&M&&(0,u.jsx)(i.View,{"data-amplify-authenticator":!0,"data-variation":g,children:(0,u.jsx)(i.View,{"data-amplify-container":!0,children:(0,u.jsx)(i.View,{"data-amplify-router":!0,children:(0,u.jsx)(i.View,{"data-amplify-form":!0,"data-amplify-authenticator-message":!0,style:{textAlign:"center"},children:O?(0,u.jsx)(i.Heading,{level:4,children:(0,i.translate)(w)}):(0,u.jsx)(i.Heading,{level:4,children:(0,i.translate)(M)})})})})})}),("signIn"===Z||"signUp"===Z)&&(0,u.jsx)(i.View,{"data-amplify-authenticator":!0,hidden:!d.settings?.enablePoweredBy,className:d.settings?.enablePoweredBy?void 0:"sr-only",children:(0,u.jsx)(i.View,{"data-amplify-container":!0,children:(0,u.jsx)(i.View,{"data-amplify-router":Z,style:{border:0,boxShadow:"none"},children:(0,u.jsxs)(i.Text,{as:"p",variation:"tertiary",textAlign:"right",fontSize:"var(--amplify-components-textfield-font-size)",children:["Powered by"," ",(0,u.jsx)(i.Link,{as:"a",href:"https://wpsuite.io/gatey/",isExternal:!0,fontWeight:400,children:"WPSuite Gatey"})]})})})})]})}))})})};o()}catch(e){o(e)}},1)}},c={};function l(e){var a=c[e];if(void 0!==a)return a.exports;var t=c[e]={id:e,loaded:!1,exports:{}};return s[e].call(t.exports,t,t.exports,l),t.loaded=!0,t.exports}l.m=s,e="function"==typeof Symbol,a=e?Symbol("webpack queues"):"__webpack_queues__",t=e?Symbol("webpack exports"):"__webpack_exports__",o=e?Symbol("webpack error"):"__webpack_error__",n=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},l.a=(e,r,i)=>{var s;i&&((s=[]).d=-1);var c,l,u,d=new Set,h=e.exports,m=new Promise((e,a)=>{u=a,l=e});m[t]=h,m[a]=e=>(s&&e(s),d.forEach(e),m.catch(e=>{})),e.exports=m,r(e=>{var r;c=(e=>e.map(e=>{if(null!==e&&"object"==typeof e){if(e[a])return e;if(e.then){var r=[];r.d=0,e.then(e=>{i[t]=e,n(r)},e=>{i[o]=e,n(r)});var i={};return i[a]=e=>e(r),i}}var s={};return s[a]=e=>{},s[t]=e,s}))(e);var i=()=>c.map(e=>{if(e[o])throw e[o];return e[t]}),l=new Promise(e=>{(r=()=>e(i)).r=0;var t=e=>e!==s&&!d.has(e)&&(d.add(e),e&&!e.d&&(r.r++,e.push(r)));c.map(e=>e[a](t))});return r.r?l:i()},e=>(e?u(m[o]=e):l(h),n(s))),s&&s.d<0&&(s.d=0)},l.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return l.d(a,{a}),a},l.d=(e,a)=>{for(var t in a)l.o(a,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((a,t)=>(l.f[t](e,a),a),[])),l.u=e=>e+".js?ver="+{594:"c5ac6fc24b220e356445",858:"bdb33a496de5fc231535"}[e],l.miniCssF=e=>{},l.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},i="@smart-cloud/gatey-blocks:",l.l=(e,a,t,o)=>{if(r[e])r[e].push(a);else{var n,s;if(void 0!==t)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+t){n=d;break}}n||(s=!0,(n=document.createElement("script")).charset="utf-8",l.nc&&n.setAttribute("nonce",l.nc),n.setAttribute("data-webpack",i+t),n.src=e),r[e]=[a];var h=(a,t)=>{n.onerror=n.onload=null,clearTimeout(m);var o=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach(e=>e(t)),a)return a(t)},m=setTimeout(h.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=h.bind(null,n.onerror),n.onload=h.bind(null,n.onload),s&&document.head.appendChild(n)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var a=globalThis.document;if(!e&&a&&(a.currentScript&&"SCRIPT"===a.currentScript.tagName.toUpperCase()&&(e=a.currentScript.src),!e)){var t=a.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e})(),(()=>{var e={57:0};l.f.j=(a,t)=>{var o=l.o(e,a)?e[a]:void 0;if(0!==o)if(o)t.push(o[2]);else{var n=new Promise((t,n)=>o=e[a]=[t,n]);t.push(o[2]=n);var r=l.p+l.u(a),i=new Error;l.l(r,t=>{if(l.o(e,a)&&(0!==(o=e[a])&&(e[a]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;i.message="Loading chunk "+a+" failed.\n("+n+": "+r+")",i.name="ChunkLoadError",i.type=n,i.request=r,o[1](i)}},"chunk-"+a,a)}};var a=(a,t)=>{var o,n,[r,i,s]=t,c=0;if(r.some(a=>0!==e[a])){for(o in i)l.o(i,o)&&(l.m[o]=i[o]);s&&s(l)}for(a&&a(t);c<r.length;c++)n=r[c],l.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=globalThis.webpackChunk_smart_cloud_gatey_blocks=globalThis.webpackChunk_smart_cloud_gatey_blocks||[];t.forEach(a.bind(null,0)),t.push=a.bind(null,t.push.bind(t))})(),l(1481),l(8184),l(746),l(567),l(9731),l(9599),l(538)})(); -
gatey/trunk/gatey-main/dist/index.asset.php
r3433304 r3434727 1 <?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-data'), 'version' => ' b2aa3c7b508cc8852cae');1 <?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-data'), 'version' => 'f71d44bd1010fc01a6d8'); -
gatey/trunk/gatey-main/dist/index.js
r3433304 r3434727 1 (()=>{"use strict";var e={143(e){e.exports=window.wp.data},217(e,a,t){t.r(a),t.d(a,{CompactEncrypt:()=>sa,CompactSign:()=>ua,EmbeddedJWK:()=>fa,EncryptJWT:()=>ha,FlattenedEncrypt:()=>Le,FlattenedSign:()=>ca,GeneralEncrypt:()=>Ge,GeneralSign:()=>da,SignJWT:()=>ma,UnsecuredJWT:()=>za,base64url:()=>o,calculateJwkThumbprint:()=>ga,calculateJwkThumbprintUri:()=>ya,compactDecrypt:()=>Je,compactVerify:()=>Xe,createLocalJWKSet:()=>va,createRemoteJWKSet:()=>ja,cryptoRuntime:()=>Wa,customFetch:()=>Sa,decodeJwt:()=>Pa,decodeProtectedHeader:()=>Ca,errors:()=>r,exportJWK:()=>qe,exportPKCS8:()=>_e,exportSPKI:()=>Me,flattenedDecrypt:()=>Oe,flattenedVerify:()=>Ve,generalDecrypt:()=>Ue,generalVerify:()=>Ye,generateKeyPair:()=>Ka,generateSecret:()=>Ta,importJWK:()=>Ee,importPKCS8:()=>Ae,importSPKI:()=>xe,importX509:()=>Se,jwksCache:()=>Aa,jwtDecrypt:()=>ia,jwtVerify:()=>na});var o={};t.r(o),t.d(o,{decode:()=>g,encode:()=>y});var r={};t.r(r),t.d(r,{JOSEAlgNotAllowed:()=>w,JOSEError:()=>f,JOSENotSupported:()=>v,JWEDecryptionFailed:()=>x,JWEInvalid:()=>S,JWKInvalid:()=>j,JWKSInvalid:()=>z,JWKSMultipleMatchingKeys:()=>P,JWKSNoMatchingKey:()=>C,JWKSTimeout:()=>H,JWSInvalid:()=>A,JWSSignatureVerificationFailed:()=>K,JWTClaimValidationFailed:()=>k,JWTExpired:()=>b,JWTInvalid:()=>E});const n=new TextEncoder,i=new TextDecoder,s=2**32;function c(...e){const a=e.reduce((e,{length:a})=>e+a,0),t=new Uint8Array(a);let o=0;for(const a of e)t.set(a,o),o+=a.length;return t}function u(e,a,t){if(a<0||a>=s)throw new RangeError(`value must be >= 0 and <= 4294967295. Received ${a}`);e.set([a>>>24,a>>>16,a>>>8,255&a],t)}function l(e){const a=Math.floor(e/s),t=e%s,o=new Uint8Array(8);return u(o,a,0),u(o,t,4),o}function d(e){const a=new Uint8Array(4);return u(a,e),a}function m(e){const a=new Uint8Array(e.length);for(let t=0;t<e.length;t++){const o=e.charCodeAt(t);if(o>127)throw new TypeError("non-ASCII string encountered in encode()");a[t]=o}return a}function h(e){if(Uint8Array.prototype.toBase64)return e.toBase64();const a=[];for(let t=0;t<e.length;t+=32768)a.push(String.fromCharCode.apply(null,e.subarray(t,t+32768)));return btoa(a.join(""))}function p(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);const a=atob(e),t=new Uint8Array(a.length);for(let e=0;e<a.length;e++)t[e]=a.charCodeAt(e);return t}function g(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:i.decode(e),{alphabet:"base64url"});let a=e;a instanceof Uint8Array&&(a=i.decode(a)),a=a.replace(/-/g,"+").replace(/_/g,"/");try{return p(a)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}}function y(e){let a=e;return"string"==typeof a&&(a=n.encode(a)),Uint8Array.prototype.toBase64?a.toBase64({alphabet:"base64url",omitPadding:!0}):h(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}class f extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,a){super(e,a),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class k extends f{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,a,t="unspecified",o="unspecified"){super(e,{cause:{claim:t,reason:o,payload:a}}),this.claim=t,this.reason=o,this.payload=a}}class b extends f{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,a,t="unspecified",o="unspecified"){super(e,{cause:{claim:t,reason:o,payload:a}}),this.claim=t,this.reason=o,this.payload=a}}class w extends f{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class v extends f{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class x extends f{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",a){super(e,a)}}class S extends f{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"}class A extends f{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class E extends f{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class j extends f{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"}class z extends f{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"}class C extends f{static code="ERR_JWKS_NO_MATCHING_KEY";code="ERR_JWKS_NO_MATCHING_KEY";constructor(e="no applicable key found in the JSON Web Key Set",a){super(e,a)}}class P extends f{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",a){super(e,a)}}class H extends f{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",a){super(e,a)}}class K extends f{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",a){super(e,a)}}function T(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new v(`Unsupported JWE Algorithm: ${e}`)}}function W(e,a){if(a.length<<3!==T(e))throw new S("Invalid Initialization Vector length")}function I(e,a){const t=e.byteLength<<3;if(t!==a)throw new S(`Invalid Content Encryption Key length. Expected ${a} bits, got ${t} bits`)}const R=(e,a="algorithm.name")=>new TypeError(`CryptoKey does not support this operation, its ${a} must be ${e}`),O=(e,a)=>e.name===a;function J(e){return parseInt(e.name.slice(4),10)}function U(e,a){if(a&&!e.usages.includes(a))throw new TypeError(`CryptoKey does not support this operation, its usages must include ${a}.`)}function D(e,a,t){switch(a){case"A128GCM":case"A192GCM":case"A256GCM":{if(!O(e.algorithm,"AES-GCM"))throw R("AES-GCM");const t=parseInt(a.slice(1,4),10);if(e.algorithm.length!==t)throw R(t,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!O(e.algorithm,"AES-KW"))throw R("AES-KW");const t=parseInt(a.slice(1,4),10);if(e.algorithm.length!==t)throw R(t,"algorithm.length");break}case"ECDH":switch(e.algorithm.name){case"ECDH":case"X25519":break;default:throw R("ECDH or X25519")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!O(e.algorithm,"PBKDF2"))throw R("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!O(e.algorithm,"RSA-OAEP"))throw R("RSA-OAEP");const t=parseInt(a.slice(9),10)||1;if(J(e.algorithm.hash)!==t)throw R(`SHA-${t}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}U(e,t)}function M(e,a,...t){if((t=t.filter(Boolean)).length>2){const a=t.pop();e+=`one of type ${t.join(", ")}, or ${a}.`}else 2===t.length?e+=`one of type ${t[0]} or ${t[1]}.`:e+=`of type ${t[0]}.`;return null==a?e+=` Received ${a}`:"function"==typeof a&&a.name?e+=` Received function ${a.name}`:"object"==typeof a&&null!=a&&a.constructor?.name&&(e+=` Received an instance of ${a.constructor.name}`),e}const _=(e,...a)=>M("Key must be ",e,...a),q=(e,a,...t)=>M(`Key for the ${e} algorithm must be `,a,...t);function N(e){if(!L(e))throw new Error("CryptoKey instance expected")}const L=e=>{if("CryptoKey"===e?.[Symbol.toStringTag])return!0;try{return e instanceof CryptoKey}catch{return!1}},$=e=>"KeyObject"===e?.[Symbol.toStringTag],G=e=>L(e)||$(e);async function F(e,a,t,o,r,n){if(!(L(a)||a instanceof Uint8Array))throw new TypeError(_(a,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!o)throw new S("JWE Initialization Vector missing");if(!r)throw new S("JWE Authentication Tag missing");switch(W(e,o),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return a instanceof Uint8Array&&I(a,parseInt(e.slice(-3),10)),async function(e,a,t,o,r,n){if(!(a instanceof Uint8Array))throw new TypeError(_(a,"Uint8Array"));const i=parseInt(e.slice(1,4),10),s=await crypto.subtle.importKey("raw",a.subarray(i>>3),"AES-CBC",!1,["decrypt"]),u=await crypto.subtle.importKey("raw",a.subarray(0,i>>3),{hash:"SHA-"+(i<<1),name:"HMAC"},!1,["sign"]),d=c(n,o,t,l(n.length<<3)),m=new Uint8Array((await crypto.subtle.sign("HMAC",u,d)).slice(0,i>>3));let h,p;try{h=await async function(e,a){if(!(e instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(a instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");const t={name:"HMAC",hash:"SHA-256"},o=await crypto.subtle.generateKey(t,!1,["sign"]),r=new Uint8Array(await crypto.subtle.sign(t,o,e)),n=new Uint8Array(await crypto.subtle.sign(t,o,a));let i=0,s=-1;for(;++s<32;)i|=r[s]^n[s];return 0===i}(r,m)}catch{}if(!h)throw new x;try{p=new Uint8Array(await crypto.subtle.decrypt({iv:o,name:"AES-CBC"},s,t))}catch{}if(!p)throw new x;return p}(e,a,t,o,r,n);case"A128GCM":case"A192GCM":case"A256GCM":return a instanceof Uint8Array&&I(a,parseInt(e.slice(1,4),10)),async function(e,a,t,o,r,n){let i;a instanceof Uint8Array?i=await crypto.subtle.importKey("raw",a,"AES-GCM",!1,["decrypt"]):(D(a,e,"decrypt"),i=a);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:n,iv:o,name:"AES-GCM",tagLength:128},i,c(t,r)))}catch{throw new x}}(e,a,t,o,r,n);default:throw new v("Unsupported JWE Content Encryption Algorithm")}}function B(...e){const a=e.filter(Boolean);if(0===a.length||1===a.length)return!0;let t;for(const e of a){const a=Object.keys(e);if(t&&0!==t.size)for(const e of a){if(t.has(e))return!1;t.add(e)}else t=new Set(a)}return!0}function V(e){if("object"!=typeof(a=e)||null===a||"[object Object]"!==Object.prototype.toString.call(e))return!1;var a;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function X(e,a){if(e.algorithm.length!==parseInt(a.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${a}`)}function Y(e,a,t){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"AES-KW",!0,[t]):(D(e,a,t),e)}async function Q(e,a,t){const o=await Y(a,e,"wrapKey");X(o,e);const r=await crypto.subtle.importKey("raw",t,{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.wrapKey("raw",r,o,"AES-KW"))}async function Z(e,a,t){const o=await Y(a,e,"unwrapKey");X(o,e);const r=await crypto.subtle.unwrapKey("raw",t,o,"AES-KW",{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.exportKey("raw",r))}async function ee(e,a){const t=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(t,a))}function ae(e){return c(d(e.length),e)}async function te(e,a,t,o,r=new Uint8Array,n=new Uint8Array){D(e,"ECDH"),D(a,"ECDH","deriveBits");const i=c(ae(m(t)),ae(r),ae(n),d(o),new Uint8Array),s=new Uint8Array(await crypto.subtle.deriveBits({name:e.algorithm.name,public:e},a,function(e){return"X25519"===e.algorithm.name?256:Math.ceil(parseInt(e.algorithm.namedCurve.slice(-3),10)/8)<<3}(e)));return async function(e,a,t){const o=a>>3,r=Math.ceil(o/32),n=new Uint8Array(32*r);for(let a=1;a<=r;a++){const o=new Uint8Array(4+e.length+t.length);o.set(d(a),0),o.set(e,4),o.set(t,4+e.length);const r=await ee("sha256",o);n.set(r,32*(a-1))}return n.slice(0,o)}(s,o,i)}function oe(e){switch(e.algorithm.namedCurve){case"P-256":case"P-384":case"P-521":return!0;default:return"X25519"===e.algorithm.name}}async function re(e,a,t,o){if(!(e instanceof Uint8Array)||e.length<8)throw new S("PBES2 Salt Input must be 8 or more octets");const r=((e,a)=>c(m(e),Uint8Array.of(0),a))(a,e),n=parseInt(a.slice(13,16),10),i={hash:`SHA-${a.slice(8,11)}`,iterations:t,name:"PBKDF2",salt:r},s=await function(e,a){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]):(D(e,a,"deriveBits"),e)}(o,a);return new Uint8Array(await crypto.subtle.deriveBits(i,s,n))}function ne(e,a){if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:t}=a.algorithm;if("number"!=typeof t||t<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}const ie=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new v(`alg ${e} is not supported either by JOSE or your javascript runtime`)}};function se(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new v(`Unsupported JWE Algorithm: ${e}`)}}const ce=e=>crypto.getRandomValues(new Uint8Array(se(e)>>3)),ue=(e,a)=>`-----BEGIN ${a}-----\n${(e.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${a}-----`,le=async(e,a,t)=>{if($(t)){if(t.type!==e)throw new TypeError(`key is not a ${e} key`);return t.export({format:"pem",type:a})}if(!L(t))throw new TypeError(_(t,"CryptoKey","KeyObject"));if(!t.extractable)throw new TypeError("CryptoKey is not extractable");if(t.type!==e)throw new TypeError(`key is not a ${e} key`);return ue(h(new Uint8Array(await crypto.subtle.exportKey(a,t))),`${e.toUpperCase()} KEY`)},de=(e,a)=>{if(e.byteLength!==a.length)return!1;for(let t=0;t<e.byteLength;t++)if(e[t]!==a[t])return!1;return!0},me=e=>({data:e,pos:0}),he=e=>{const a=e.data[e.pos++];if(128&a){const t=127&a;let o=0;for(let a=0;a<t;a++)o=o<<8|e.data[e.pos++];return o}return a},pe=(e,a=1)=>{if(a<=0)return;e.pos++;const t=he(e);e.pos+=t,a>1&&pe(e,a-1)},ge=(e,a,t)=>{if(e.data[e.pos++]!==a)throw new Error(t)},ye=(e,a)=>{const t=e.data.subarray(e.pos,e.pos+a);return e.pos+=a,t},fe=e=>{const a=(e=>{ge(e,6,"Expected algorithm OID");const a=he(e);return ye(e,a)})(e);if(de(a,[43,101,110]))return"X25519";if(!de(a,[42,134,72,206,61,2,1]))throw new Error("Unsupported key algorithm");ge(e,6,"Expected curve OID");const t=he(e),o=ye(e,t);for(const{name:e,oid:a}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(de(o,a))return e;throw new Error("Unsupported named curve")},ke=async(e,a,t,o)=>{let r,n;const i="spki"===e,s=()=>i?["verify"]:["sign"];switch(t){case"PS256":case"PS384":case"PS512":r={name:"RSA-PSS",hash:`SHA-${t.slice(-3)}`},n=s();break;case"RS256":case"RS384":case"RS512":r={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${t.slice(-3)}`},n=s();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":r={name:"RSA-OAEP",hash:`SHA-${parseInt(t.slice(-3),10)||1}`},n=i?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":r={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[t]},n=s();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{const e=o.getNamedCurve(a);r="X25519"===e?{name:"X25519"}:{name:"ECDH",namedCurve:e}}catch(e){throw new v("Invalid or unsupported key format")}n=i?[]:["deriveBits"];break;case"Ed25519":case"EdDSA":r={name:"Ed25519"},n=s();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":r={name:t},n=s();break;default:throw new v('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(e,a,r,o?.extractable??!!i,n)},be=(e,a)=>p(e.replace(a,"")),we=(e,a,t)=>{const o=be(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);let r=t;return a?.startsWith?.("ECDH-ES")&&(r||={},r.getNamedCurve=e=>{const a=me(e);return function(e){ge(e,48,"Invalid SPKI structure"),he(e),ge(e,48,"Expected algorithm identifier");he(e);e.pos}(a),fe(a)}),ke("spki",o,a,r)};async function ve(e){if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:a,keyUsages:t}=function(e){let a,t;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":a={name:e.alg},t=e.priv?["sign"]:["verify"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":a={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},t=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":a={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},t=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":a={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},t=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":a={name:"ECDSA",namedCurve:"P-256"},t=e.d?["sign"]:["verify"];break;case"ES384":a={name:"ECDSA",namedCurve:"P-384"},t=e.d?["sign"]:["verify"];break;case"ES512":a={name:"ECDSA",namedCurve:"P-521"},t=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":a={name:"ECDH",namedCurve:e.crv},t=e.d?["deriveBits"]:[];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":a={name:"Ed25519"},t=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":a={name:e.crv},t=e.d?["deriveBits"]:[];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new v('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:a,keyUsages:t}}(e),o={...e};return"AKP"!==o.kty&&delete o.alg,delete o.use,crypto.subtle.importKey("jwk",o,a,e.ext??(!e.d&&!e.priv),e.key_ops??t)}async function xe(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return we(e,a,t)}async function Se(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return((e,a,t)=>{let o;try{o=function(e){return function(e){const a=me(e);ge(a,48,"Invalid certificate structure"),he(a),ge(a,48,"Invalid tbsCertificate structure"),he(a),160===e[a.pos]?pe(a,6):pe(a,5);const t=a.pos;ge(a,48,"Invalid SPKI structure");const o=he(a);return e.subarray(t,t+o+(a.pos-t))}(be(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g))}(e)}catch(e){throw new TypeError("Failed to parse the X.509 certificate",{cause:e})}return we(ue(h(o),"PUBLIC KEY"),a,t)})(e,a,t)}async function Ae(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return((e,a,t)=>{const o=be(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);let r=t;return a?.startsWith?.("ECDH-ES")&&(r||={},r.getNamedCurve=e=>{const a=me(e);return function(e){ge(e,48,"Invalid PKCS#8 structure"),he(e),ge(e,2,"Expected version field");const a=he(e);e.pos+=a,ge(e,48,"Expected algorithm identifier"),he(e),e.pos}(a),fe(a)}),ke("pkcs8",o,a,r)})(e,a,t)}async function Ee(e,a,t){if(!V(e))throw new TypeError("JWK must be an object");let o;switch(a??=e.alg,o??=t?.extractable??e.ext,e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return g(e.k);case"RSA":if("oth"in e&&void 0!==e.oth)throw new v('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return ve({...e,alg:a,ext:o});case"AKP":if("string"!=typeof e.alg||!e.alg)throw new TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==a&&a!==e.alg)throw new TypeError("JWK alg and alg option value mismatch");return ve({...e,ext:o});case"EC":case"OKP":return ve({...e,alg:a,ext:o});default:throw new v('Unsupported "kty" (Key Type) Parameter value')}}async function je(e,a,t,o,r){if(!(L(t)||t instanceof Uint8Array))throw new TypeError(_(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));var n;switch(o?W(e,o):(n=e,o=crypto.getRandomValues(new Uint8Array(T(n)>>3))),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t instanceof Uint8Array&&I(t,parseInt(e.slice(-3),10)),async function(e,a,t,o,r){if(!(t instanceof Uint8Array))throw new TypeError(_(t,"Uint8Array"));const n=parseInt(e.slice(1,4),10),i=await crypto.subtle.importKey("raw",t.subarray(n>>3),"AES-CBC",!1,["encrypt"]),s=await crypto.subtle.importKey("raw",t.subarray(0,n>>3),{hash:"SHA-"+(n<<1),name:"HMAC"},!1,["sign"]),u=new Uint8Array(await crypto.subtle.encrypt({iv:o,name:"AES-CBC"},i,a)),d=c(r,o,u,l(r.length<<3));return{ciphertext:u,tag:new Uint8Array((await crypto.subtle.sign("HMAC",s,d)).slice(0,n>>3)),iv:o}}(e,a,t,o,r);case"A128GCM":case"A192GCM":case"A256GCM":return t instanceof Uint8Array&&I(t,parseInt(e.slice(1,4),10)),async function(e,a,t,o,r){let n;t instanceof Uint8Array?n=await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["encrypt"]):(D(t,e,"encrypt"),n=t);const i=new Uint8Array(await crypto.subtle.encrypt({additionalData:r,iv:o,name:"AES-GCM",tagLength:128},n,a)),s=i.slice(-16);return{ciphertext:i.slice(0,-16),tag:s,iv:o}}(e,a,t,o,r);default:throw new v("Unsupported JWE Content Encryption Algorithm")}}function ze(e,a,t,o,r){if(void 0!==r.crit&&void 0===o?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!o||void 0===o.crit)return new Set;if(!Array.isArray(o.crit)||0===o.crit.length||o.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let n;n=void 0!==t?new Map([...Object.entries(t),...a.entries()]):a;for(const a of o.crit){if(!n.has(a))throw new v(`Extension Header Parameter "${a}" is not recognized`);if(void 0===r[a])throw new e(`Extension Header Parameter "${a}" is missing`);if(n.get(a)&&void 0===o[a])throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`)}return new Set(o.crit)}function Ce(e,a){if(void 0!==a&&(!Array.isArray(a)||a.some(e=>"string"!=typeof e)))throw new TypeError(`"${e}" option must be an array of strings`);if(a)return new Set(a)}const Pe=e=>V(e)&&"string"==typeof e.kty;let He;const Ke=async(e,a,t,o=!1)=>{He||=new WeakMap;let r=He.get(e);if(r?.[t])return r[t];const n=await ve({...a,alg:t});return o&&Object.freeze(e),r?r[t]=n:He.set(e,{[t]:n}),n};async function Te(e,a){if(e instanceof Uint8Array)return e;if(L(e))return e;if($(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return((e,a)=>{He||=new WeakMap;let t=He.get(e);if(t?.[a])return t[a];const o="public"===e.type,r=!!o;let n;if("x25519"===e.asymmetricKeyType){switch(a){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}n=e.toCryptoKey(e.asymmetricKeyType,r,o?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==a&&"Ed25519"!==a)throw new TypeError("given KeyObject instance cannot be used for this algorithm");n=e.toCryptoKey(e.asymmetricKeyType,r,[o?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(a!==e.asymmetricKeyType.toUpperCase())throw new TypeError("given KeyObject instance cannot be used for this algorithm");n=e.toCryptoKey(e.asymmetricKeyType,r,[o?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let t;switch(a){case"RSA-OAEP":t="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":t="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":t="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":t="SHA-512";break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}if(a.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:t},r,o?["encrypt"]:["decrypt"]);n=e.toCryptoKey({name:a.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:t},r,[o?"verify":"sign"])}if("ec"===e.asymmetricKeyType){const t=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!t)throw new TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===a&&"P-256"===t&&(n=e.toCryptoKey({name:"ECDSA",namedCurve:t},r,[o?"verify":"sign"])),"ES384"===a&&"P-384"===t&&(n=e.toCryptoKey({name:"ECDSA",namedCurve:t},r,[o?"verify":"sign"])),"ES512"===a&&"P-521"===t&&(n=e.toCryptoKey({name:"ECDSA",namedCurve:t},r,[o?"verify":"sign"])),a.startsWith("ECDH-ES")&&(n=e.toCryptoKey({name:"ECDH",namedCurve:t},r,o?[]:["deriveBits"]))}if(!n)throw new TypeError("given KeyObject instance cannot be used for this algorithm");return t?t[a]=n:He.set(e,{[a]:n}),n})(e,a)}catch(e){if(e instanceof TypeError)throw e}let t=e.export({format:"jwk"});return Ke(e,t,a)}if(Pe(e))return e.k?g(e.k):Ke(e,e,a,!0);throw new Error("unreachable")}const We=e=>e?.[Symbol.toStringTag],Ie=(e,a,t)=>{if(void 0!==a.use){let e;switch(t){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(a.use!==e)throw new TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==a.alg&&a.alg!==e)throw new TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(a.key_ops)){let o;switch(!0){case"sign"===t||"verify"===t:case"dir"===e:case e.includes("CBC-HS"):o=t;break;case e.startsWith("PBES2"):o="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):o=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===t?"wrapKey":"unwrapKey":t;break;case"encrypt"===t&&e.startsWith("RSA"):o="wrapKey";break;case"decrypt"===t:o=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(o&&!1===a.key_ops?.includes?.(o))throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${o}" when present`)}return!0};function Re(e,a,t){switch(e.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":((e,a,t)=>{if(!(a instanceof Uint8Array)){if(Pe(a)){if((e=>"oct"===e.kty&&"string"==typeof e.k)(a)&&Ie(e,a,t))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!G(a))throw new TypeError(q(e,a,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==a.type)throw new TypeError(`${We(a)} instances for symmetric algorithms must be of type "secret"`)}})(e,a,t);break;default:((e,a,t)=>{if(Pe(a))switch(t){case"decrypt":case"sign":if((e=>"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d))(a)&&Ie(e,a,t))return;throw new TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if((e=>"oct"!==e.kty&&void 0===e.d&&void 0===e.priv)(a)&&Ie(e,a,t))return;throw new TypeError("JSON Web Key for this operation must be a public JWK")}if(!G(a))throw new TypeError(q(e,a,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===a.type)throw new TypeError(`${We(a)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===a.type)switch(t){case"sign":throw new TypeError(`${We(a)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw new TypeError(`${We(a)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===a.type)switch(t){case"verify":throw new TypeError(`${We(a)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw new TypeError(`${We(a)} instances for asymmetric algorithm encryption must be of type "public"`)}})(e,a,t)}}async function Oe(e,a,t){if(!V(e))throw new S("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new S("JOSE Header missing");if(void 0!==e.iv&&"string"!=typeof e.iv)throw new S("JWE Initialization Vector incorrect type");if("string"!=typeof e.ciphertext)throw new S("JWE Ciphertext missing or incorrect type");if(void 0!==e.tag&&"string"!=typeof e.tag)throw new S("JWE Authentication Tag incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new S("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new S("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new S("JWE AAD incorrect type");if(void 0!==e.header&&!V(e.header))throw new S("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!V(e.unprotected))throw new S("JWE Per-Recipient Unprotected Header incorrect type");let o;if(e.protected)try{const a=g(e.protected);o=JSON.parse(i.decode(a))}catch{throw new S("JWE Protected Header is invalid")}if(!B(o,e.header,e.unprotected))throw new S("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const r={...o,...e.header,...e.unprotected};if(ze(S,new Map,t?.crit,o,r),void 0!==r.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:n,enc:s}=r;if("string"!=typeof n||!n)throw new S("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof s||!s)throw new S("missing JWE Encryption Algorithm (enc) in JWE Header");const u=t&&Ce("keyManagementAlgorithms",t.keyManagementAlgorithms),l=t&&Ce("contentEncryptionAlgorithms",t.contentEncryptionAlgorithms);if(u&&!u.has(n)||!u&&n.startsWith("PBES2"))throw new w('"alg" (Algorithm) Header Parameter value not allowed');if(l&&!l.has(s))throw new w('"enc" (Encryption Algorithm) Header Parameter value not allowed');let d;if(void 0!==e.encrypted_key)try{d=g(e.encrypted_key)}catch{throw new S("Failed to base64url decode the encrypted_key")}let h=!1;"function"==typeof a&&(a=await a(o,e),h=!0),Re("dir"===n?s:n,a,"decrypt");const p=await Te(a,n);let y,f,k;try{y=await async function(e,a,t,o,r){switch(e){case"dir":if(void 0!==t)throw new S("Encountered unexpected JWE Encrypted Key");return a;case"ECDH-ES":if(void 0!==t)throw new S("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!V(o.epk))throw new S('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(N(a),!oe(a))throw new v("ECDH with the provided key is not allowed or not supported by your javascript runtime");const r=await Ee(o.epk,e);let n,i;if(N(r),void 0!==o.apu){if("string"!=typeof o.apu)throw new S('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{n=g(o.apu)}catch{throw new S("Failed to base64url decode the apu")}}if(void 0!==o.apv){if("string"!=typeof o.apv)throw new S('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{i=g(o.apv)}catch{throw new S("Failed to base64url decode the apv")}}const s=await te(r,a,"ECDH-ES"===e?o.enc:e,"ECDH-ES"===e?se(o.enc):parseInt(e.slice(-5,-2),10),n,i);if("ECDH-ES"===e)return s;if(void 0===t)throw new S("JWE Encrypted Key missing");return Z(e.slice(-6),s,t)}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===t)throw new S("JWE Encrypted Key missing");return N(a),async function(e,a,t){return D(a,e,"decrypt"),ne(e,a),new Uint8Array(await crypto.subtle.decrypt(ie(e),a,t))}(e,a,t);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===t)throw new S("JWE Encrypted Key missing");if("number"!=typeof o.p2c)throw new S('JOSE Header "p2c" (PBES2 Count) missing or invalid');const n=r?.maxPBES2Count||1e4;if(o.p2c>n)throw new S('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof o.p2s)throw new S('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let i;try{i=g(o.p2s)}catch{throw new S("Failed to base64url decode the p2s")}return async function(e,a,t,o,r){const n=await re(r,e,o,a);return Z(e.slice(-6),n,t)}(e,a,t,o.p2c,i)}case"A128KW":case"A192KW":case"A256KW":if(void 0===t)throw new S("JWE Encrypted Key missing");return Z(e,a,t);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===t)throw new S("JWE Encrypted Key missing");if("string"!=typeof o.iv)throw new S('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof o.tag)throw new S('JOSE Header "tag" (Authentication Tag) missing or invalid');let r,n;try{r=g(o.iv)}catch{throw new S("Failed to base64url decode the iv")}try{n=g(o.tag)}catch{throw new S("Failed to base64url decode the tag")}return async function(e,a,t,o,r){return F(e.slice(0,7),a,t,o,r,new Uint8Array)}(e,a,t,r,n)}default:throw new v('Invalid or unsupported "alg" (JWE Algorithm) header value')}}(n,p,d,r,t)}catch(e){if(e instanceof TypeError||e instanceof S||e instanceof v)throw e;y=ce(s)}if(void 0!==e.iv)try{f=g(e.iv)}catch{throw new S("Failed to base64url decode the iv")}if(void 0!==e.tag)try{k=g(e.tag)}catch{throw new S("Failed to base64url decode the tag")}const b=void 0!==e.protected?m(e.protected):new Uint8Array;let x,A;x=void 0!==e.aad?c(b,m("."),m(e.aad)):b;try{A=g(e.ciphertext)}catch{throw new S("Failed to base64url decode the ciphertext")}const E={plaintext:await F(s,y,A,f,k,x)};if(void 0!==e.protected&&(E.protectedHeader=o),void 0!==e.aad)try{E.additionalAuthenticatedData=g(e.aad)}catch{throw new S("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(E.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(E.unprotectedHeader=e.header),h?{...E,key:p}:E}async function Je(e,a,t){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new S("Compact JWE must be a string or Uint8Array");const{0:o,1:r,2:n,3:s,4:c,length:u}=e.split(".");if(5!==u)throw new S("Invalid Compact JWE");const l=await Oe({ciphertext:s,iv:n||void 0,protected:o,tag:c||void 0,encrypted_key:r||void 0},a,t),d={plaintext:l.plaintext,protectedHeader:l.protectedHeader};return"function"==typeof a?{...d,key:l.key}:d}async function Ue(e,a,t){if(!V(e))throw new S("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(V))throw new S("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new S("JWE Recipients has no members");for(const o of e.recipients)try{return await Oe({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:o.encrypted_key,header:o.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},a,t)}catch{}throw new x}const De=Symbol();async function Me(e){return(e=>le("public","spki",e))(e)}async function _e(e){return(e=>le("private","pkcs8",e))(e)}async function qe(e){return async function(e){if($(e)){if("secret"!==e.type)return e.export({format:"jwk"});e=e.export()}if(e instanceof Uint8Array)return{kty:"oct",k:y(e)};if(!L(e))throw new TypeError(_(e,"CryptoKey","KeyObject","Uint8Array"));if(!e.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:a,key_ops:t,alg:o,use:r,...n}=await crypto.subtle.exportKey("jwk",e);return"AKP"===n.kty&&(n.alg=o),n}(e)}async function Ne(e,a,t,o,r={}){let n,i,s;switch(e){case"dir":s=t;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(N(t),!oe(t))throw new v("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:c,apv:u}=r;let l;l=r.epk?await Te(r.epk,e):(await crypto.subtle.generateKey(t.algorithm,!0,["deriveBits"])).privateKey;const{x:d,y:m,crv:h,kty:p}=await qe(l),g=await te(t,l,"ECDH-ES"===e?a:e,"ECDH-ES"===e?se(a):parseInt(e.slice(-5,-2),10),c,u);if(i={epk:{x:d,crv:h,kty:p}},"EC"===p&&(i.epk.y=m),c&&(i.apu=y(c)),u&&(i.apv=y(u)),"ECDH-ES"===e){s=g;break}s=o||ce(a);const f=e.slice(-6);n=await Q(f,g,s);break}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":s=o||ce(a),N(t),n=await async function(e,a,t){return D(a,e,"encrypt"),ne(e,a),new Uint8Array(await crypto.subtle.encrypt(ie(e),a,t))}(e,t,s);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{s=o||ce(a);const{p2c:c,p2s:u}=r;({encryptedKey:n,...i}=await async function(e,a,t,o=2048,r=crypto.getRandomValues(new Uint8Array(16))){const n=await re(r,e,o,a);return{encryptedKey:await Q(e.slice(-6),n,t),p2c:o,p2s:y(r)}}(e,t,s,c,u));break}case"A128KW":case"A192KW":case"A256KW":s=o||ce(a),n=await Q(e,t,s);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{s=o||ce(a);const{iv:c}=r;({encryptedKey:n,...i}=await async function(e,a,t,o){const r=e.slice(0,7),n=await je(r,t,a,o,new Uint8Array);return{encryptedKey:n.ciphertext,iv:y(n.iv),tag:y(n.tag)}}(e,t,s,c));break}default:throw new v('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:s,encryptedKey:n,parameters:i}}class Le{#e;#a;#t;#o;#r;#n;#i;#s;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this.#e=e}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setSharedUnprotectedHeader(e){if(this.#t)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#t=e,this}setUnprotectedHeader(e){if(this.#o)throw new TypeError("setUnprotectedHeader can only be called once");return this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#r=e,this}setContentEncryptionKey(e){if(this.#n)throw new TypeError("setContentEncryptionKey can only be called once");return this.#n=e,this}setInitializationVector(e){if(this.#i)throw new TypeError("setInitializationVector can only be called once");return this.#i=e,this}async encrypt(e,a){if(!this.#a&&!this.#o&&!this.#t)throw new S("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!B(this.#a,this.#o,this.#t))throw new S("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const t={...this.#a,...this.#o,...this.#t};if(ze(S,new Map,a?.crit,this.#a,t),void 0!==t.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:o,enc:r}=t;if("string"!=typeof o||!o)throw new S('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof r||!r)throw new S('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let n,i,s,u,l,d;if(this.#n&&("dir"===o||"ECDH-ES"===o))throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${o}`);Re("dir"===o?r:o,e,"encrypt");{let t;const s=await Te(e,o);({cek:i,encryptedKey:n,parameters:t}=await Ne(o,r,s,this.#n,this.#s)),t&&(a&&De in a?this.#o?this.#o={...this.#o,...t}:this.setUnprotectedHeader(t):this.#a?this.#a={...this.#a,...t}:this.setProtectedHeader(t))}if(this.#a?(u=y(JSON.stringify(this.#a)),l=m(u)):(u="",l=new Uint8Array),this.#r){d=y(this.#r);const e=m(d);s=c(l,m("."),e)}else s=l;const{ciphertext:h,tag:p,iv:g}=await je(r,this.#e,i,this.#i,s),f={ciphertext:y(h)};return g&&(f.iv=y(g)),p&&(f.tag=y(p)),n&&(f.encrypted_key=y(n)),d&&(f.aad=d),this.#a&&(f.protected=u),this.#t&&(f.unprotected=this.#t),this.#o&&(f.header=this.#o),f}}class $e{#c;unprotectedHeader;keyManagementParameters;key;options;constructor(e,a,t){this.#c=e,this.key=a,this.options=t}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}setKeyManagementParameters(e){if(this.keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this.keyManagementParameters=e,this}addRecipient(...e){return this.#c.addRecipient(...e)}encrypt(...e){return this.#c.encrypt(...e)}done(){return this.#c}}class Ge{#e;#u=[];#a;#o;#r;constructor(e){this.#e=e}addRecipient(e,a){const t=new $e(this,e,{crit:a?.crit});return this.#u.push(t),t}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setSharedUnprotectedHeader(e){if(this.#o)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#r=e,this}async encrypt(){if(!this.#u.length)throw new S("at least one recipient must be added");if(1===this.#u.length){const[e]=this.#u,a=await new Le(this.#e).setAdditionalAuthenticatedData(this.#r).setProtectedHeader(this.#a).setSharedUnprotectedHeader(this.#o).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options}),t={ciphertext:a.ciphertext,iv:a.iv,recipients:[{}],tag:a.tag};return a.aad&&(t.aad=a.aad),a.protected&&(t.protected=a.protected),a.unprotected&&(t.unprotected=a.unprotected),a.encrypted_key&&(t.recipients[0].encrypted_key=a.encrypted_key),a.header&&(t.recipients[0].header=a.header),t}let e;for(let a=0;a<this.#u.length;a++){const t=this.#u[a];if(!B(this.#a,this.#o,t.unprotectedHeader))throw new S("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const o={...this.#a,...this.#o,...t.unprotectedHeader},{alg:r}=o;if("string"!=typeof r||!r)throw new S('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===r||"ECDH-ES"===r)throw new S('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof o.enc||!o.enc)throw new S('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(e){if(e!==o.enc)throw new S('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else e=o.enc;if(ze(S,new Map,t.options.crit,this.#a,o),void 0!==o.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.')}const a=ce(e),t={ciphertext:"",recipients:[]};for(let o=0;o<this.#u.length;o++){const r=this.#u[o],n={};if(t.recipients.push(n),0===o){const e=await new Le(this.#e).setAdditionalAuthenticatedData(this.#r).setContentEncryptionKey(a).setProtectedHeader(this.#a).setSharedUnprotectedHeader(this.#o).setUnprotectedHeader(r.unprotectedHeader).setKeyManagementParameters(r.keyManagementParameters).encrypt(r.key,{...r.options,[De]:!0});t.ciphertext=e.ciphertext,t.iv=e.iv,t.tag=e.tag,e.aad&&(t.aad=e.aad),e.protected&&(t.protected=e.protected),e.unprotected&&(t.unprotected=e.unprotected),n.encrypted_key=e.encrypted_key,e.header&&(n.header=e.header);continue}const i=r.unprotectedHeader?.alg||this.#a?.alg||this.#o?.alg;Re("dir"===i?e:i,r.key,"encrypt");const s=await Te(r.key,i),{encryptedKey:c,parameters:u}=await Ne(i,e,s,a,r.keyManagementParameters);n.encrypted_key=y(c),(r.unprotectedHeader||u)&&(n.header={...r.unprotectedHeader,...u})}return t}}function Fe(e,a){const t=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:t,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:t,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:t,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:t,name:"ECDSA",namedCurve:a.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new v(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function Be(e,a,t){if(a instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(_(a,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",a,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[t])}return function(e,a,t){switch(a){case"HS256":case"HS384":case"HS512":{if(!O(e.algorithm,"HMAC"))throw R("HMAC");const t=parseInt(a.slice(2),10);if(J(e.algorithm.hash)!==t)throw R(`SHA-${t}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!O(e.algorithm,"RSASSA-PKCS1-v1_5"))throw R("RSASSA-PKCS1-v1_5");const t=parseInt(a.slice(2),10);if(J(e.algorithm.hash)!==t)throw R(`SHA-${t}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!O(e.algorithm,"RSA-PSS"))throw R("RSA-PSS");const t=parseInt(a.slice(2),10);if(J(e.algorithm.hash)!==t)throw R(`SHA-${t}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!O(e.algorithm,"Ed25519"))throw R("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!O(e.algorithm,a))throw R(a);break;case"ES256":case"ES384":case"ES512":{if(!O(e.algorithm,"ECDSA"))throw R("ECDSA");const t=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(a);if(e.algorithm.namedCurve!==t)throw R(t,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}U(e,t)}(a,e,t),a}async function Ve(e,a,t){if(!V(e))throw new A("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new A('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new A("JWS Protected Header incorrect type");if(void 0===e.payload)throw new A("JWS Payload missing");if("string"!=typeof e.signature)throw new A("JWS Signature missing or incorrect type");if(void 0!==e.header&&!V(e.header))throw new A("JWS Unprotected Header incorrect type");let o={};if(e.protected)try{const a=g(e.protected);o=JSON.parse(i.decode(a))}catch{throw new A("JWS Protected Header is invalid")}if(!B(o,e.header))throw new A("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const r={...o,...e.header};let s=!0;if(ze(A,new Map([["b64",!0]]),t?.crit,o,r).has("b64")&&(s=o.b64,"boolean"!=typeof s))throw new A('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:u}=r;if("string"!=typeof u||!u)throw new A('JWS "alg" (Algorithm) Header Parameter missing or invalid');const l=t&&Ce("algorithms",t.algorithms);if(l&&!l.has(u))throw new w('"alg" (Algorithm) Header Parameter value not allowed');if(s){if("string"!=typeof e.payload)throw new A("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new A("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof a&&(a=await a(o,e),d=!0),Re(u,a,"verify");const h=c(void 0!==e.protected?m(e.protected):new Uint8Array,m("."),"string"==typeof e.payload?s?m(e.payload):n.encode(e.payload):e.payload);let p;try{p=g(e.signature)}catch{throw new A("Failed to base64url decode the signature")}const y=await Te(a,u),f=await async function(e,a,t,o){const r=await Be(e,a,"verify");ne(e,r);const n=Fe(e,r.algorithm);try{return await crypto.subtle.verify(n,r,t,o)}catch{return!1}}(u,y,p,h);if(!f)throw new K;let k;if(s)try{k=g(e.payload)}catch{throw new A("Failed to base64url decode the payload")}else k="string"==typeof e.payload?n.encode(e.payload):e.payload;const b={payload:k};return void 0!==e.protected&&(b.protectedHeader=o),void 0!==e.header&&(b.unprotectedHeader=e.header),d?{...b,key:y}:b}async function Xe(e,a,t){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new A("Compact JWS must be a string or Uint8Array");const{0:o,1:r,2:n,length:s}=e.split(".");if(3!==s)throw new A("Invalid Compact JWS");const c=await Ve({payload:r,protected:o,signature:n},a,t),u={payload:c.payload,protectedHeader:c.protectedHeader};return"function"==typeof a?{...u,key:c.key}:u}async function Ye(e,a,t){if(!V(e))throw new A("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(V))throw new A("JWS Signatures missing or incorrect type");for(const o of e.signatures)try{return await Ve({header:o.header,payload:e.payload,protected:o.protected,signature:o.signature},a,t)}catch{}throw new K}const Qe=e=>Math.floor(e.getTime()/1e3),Ze=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function ea(e){const a=Ze.exec(e);if(!a||a[4]&&a[1])throw new TypeError("Invalid time period format");const t=parseFloat(a[2]);let o;switch(a[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":o=Math.round(t);break;case"minute":case"minutes":case"min":case"mins":case"m":o=Math.round(60*t);break;case"hour":case"hours":case"hr":case"hrs":case"h":o=Math.round(3600*t);break;case"day":case"days":case"d":o=Math.round(86400*t);break;case"week":case"weeks":case"w":o=Math.round(604800*t);break;default:o=Math.round(31557600*t)}return"-"===a[1]||"ago"===a[4]?-o:o}function aa(e,a){if(!Number.isFinite(a))throw new TypeError(`Invalid ${e} input`);return a}const ta=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`;function oa(e,a,t={}){let o;try{o=JSON.parse(i.decode(a))}catch{}if(!V(o))throw new E("JWT Claims Set must be a top-level JSON object");const{typ:r}=t;if(r&&("string"!=typeof e.typ||ta(e.typ)!==ta(r)))throw new k('unexpected "typ" JWT header value',o,"typ","check_failed");const{requiredClaims:n=[],issuer:s,subject:c,audience:u,maxTokenAge:l}=t,d=[...n];void 0!==l&&d.push("iat"),void 0!==u&&d.push("aud"),void 0!==c&&d.push("sub"),void 0!==s&&d.push("iss");for(const e of new Set(d.reverse()))if(!(e in o))throw new k(`missing required "${e}" claim`,o,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(o.iss))throw new k('unexpected "iss" claim value',o,"iss","check_failed");if(c&&o.sub!==c)throw new k('unexpected "sub" claim value',o,"sub","check_failed");if(u&&(h="string"==typeof u?[u]:u,!("string"==typeof(m=o.aud)?h.includes(m):Array.isArray(m)&&h.some(Set.prototype.has.bind(new Set(m))))))throw new k('unexpected "aud" claim value',o,"aud","check_failed");var m,h;let p;switch(typeof t.clockTolerance){case"string":p=ea(t.clockTolerance);break;case"number":p=t.clockTolerance;break;case"undefined":p=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:g}=t,y=Qe(g||new Date);if((void 0!==o.iat||l)&&"number"!=typeof o.iat)throw new k('"iat" claim must be a number',o,"iat","invalid");if(void 0!==o.nbf){if("number"!=typeof o.nbf)throw new k('"nbf" claim must be a number',o,"nbf","invalid");if(o.nbf>y+p)throw new k('"nbf" claim timestamp check failed',o,"nbf","check_failed")}if(void 0!==o.exp){if("number"!=typeof o.exp)throw new k('"exp" claim must be a number',o,"exp","invalid");if(o.exp<=y-p)throw new b('"exp" claim timestamp check failed',o,"exp","check_failed")}if(l){const e=y-o.iat;if(e-p>("number"==typeof l?l:ea(l)))throw new b('"iat" claim timestamp check failed (too far in the past)',o,"iat","check_failed");if(e<0-p)throw new k('"iat" claim timestamp check failed (it should be in the past)',o,"iat","check_failed")}return o}class ra{#l;constructor(e){if(!V(e))throw new TypeError("JWT Claims Set MUST be an object");this.#l=structuredClone(e)}data(){return n.encode(JSON.stringify(this.#l))}get iss(){return this.#l.iss}set iss(e){this.#l.iss=e}get sub(){return this.#l.sub}set sub(e){this.#l.sub=e}get aud(){return this.#l.aud}set aud(e){this.#l.aud=e}set jti(e){this.#l.jti=e}set nbf(e){"number"==typeof e?this.#l.nbf=aa("setNotBefore",e):e instanceof Date?this.#l.nbf=aa("setNotBefore",Qe(e)):this.#l.nbf=Qe(new Date)+ea(e)}set exp(e){"number"==typeof e?this.#l.exp=aa("setExpirationTime",e):e instanceof Date?this.#l.exp=aa("setExpirationTime",Qe(e)):this.#l.exp=Qe(new Date)+ea(e)}set iat(e){void 0===e?this.#l.iat=Qe(new Date):e instanceof Date?this.#l.iat=aa("setIssuedAt",Qe(e)):this.#l.iat=aa("setIssuedAt","string"==typeof e?Qe(new Date)+ea(e):e)}}async function na(e,a,t){const o=await Xe(e,a,t);if(o.protectedHeader.crit?.includes("b64")&&!1===o.protectedHeader.b64)throw new E("JWTs MUST NOT use unencoded payload");const r={payload:oa(o.protectedHeader,o.payload,t),protectedHeader:o.protectedHeader};return"function"==typeof a?{...r,key:o.key}:r}async function ia(e,a,t){const o=await Je(e,a,t),r=oa(o.protectedHeader,o.plaintext,t),{protectedHeader:n}=o;if(void 0!==n.iss&&n.iss!==r.iss)throw new k('replicated "iss" claim header parameter mismatch',r,"iss","mismatch");if(void 0!==n.sub&&n.sub!==r.sub)throw new k('replicated "sub" claim header parameter mismatch',r,"sub","mismatch");if(void 0!==n.aud&&JSON.stringify(n.aud)!==JSON.stringify(r.aud))throw new k('replicated "aud" claim header parameter mismatch',r,"aud","mismatch");const i={payload:r,protectedHeader:n};return"function"==typeof a?{...i,key:o.key}:i}class sa{#d;constructor(e){this.#d=new Le(e)}setContentEncryptionKey(e){return this.#d.setContentEncryptionKey(e),this}setInitializationVector(e){return this.#d.setInitializationVector(e),this}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}setKeyManagementParameters(e){return this.#d.setKeyManagementParameters(e),this}async encrypt(e,a){const t=await this.#d.encrypt(e,a);return[t.protected,t.encrypted_key,t.iv,t.ciphertext,t.tag].join(".")}}class ca{#l;#a;#o;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this.#l=e}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setUnprotectedHeader(e){if(this.#o)throw new TypeError("setUnprotectedHeader can only be called once");return this.#o=e,this}async sign(e,a){if(!this.#a&&!this.#o)throw new A("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!B(this.#a,this.#o))throw new A("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const t={...this.#a,...this.#o};let o=!0;if(ze(A,new Map([["b64",!0]]),a?.crit,this.#a,t).has("b64")&&(o=this.#a.b64,"boolean"!=typeof o))throw new A('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:r}=t;if("string"!=typeof r||!r)throw new A('JWS "alg" (Algorithm) Header Parameter missing or invalid');let n,i,s,u;Re(r,e,"sign"),o?(n=y(this.#l),i=m(n)):(i=this.#l,n=""),this.#a?(s=y(JSON.stringify(this.#a)),u=m(s)):(s="",u=new Uint8Array);const l=c(u,m("."),i),d=await Te(e,r),h=await async function(e,a,t){const o=await Be(e,a,"sign");ne(e,o);const r=await crypto.subtle.sign(Fe(e,o.algorithm),o,t);return new Uint8Array(r)}(r,d,l),p={signature:y(h),payload:n};return this.#o&&(p.header=this.#o),this.#a&&(p.protected=s),p}}class ua{#d;constructor(e){this.#d=new ca(e)}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}async sign(e,a){const t=await this.#d.sign(e,a);if(void 0===t.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${t.protected}.${t.payload}.${t.signature}`}}class la{#c;protectedHeader;unprotectedHeader;options;key;constructor(e,a,t){this.#c=e,this.key=a,this.options=t}setProtectedHeader(e){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=e,this}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addSignature(...e){return this.#c.addSignature(...e)}sign(...e){return this.#c.sign(...e)}done(){return this.#c}}class da{#l;#m=[];constructor(e){this.#l=e}addSignature(e,a){const t=new la(this,e,a);return this.#m.push(t),t}async sign(){if(!this.#m.length)throw new A("at least one signature must be added");const e={signatures:[],payload:""};for(let a=0;a<this.#m.length;a++){const t=this.#m[a],o=new ca(this.#l);o.setProtectedHeader(t.protectedHeader),o.setUnprotectedHeader(t.unprotectedHeader);const{payload:r,...n}=await o.sign(t.key,t.options);if(0===a)e.payload=r;else if(e.payload!==r)throw new A("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(n)}return e}}class ma{#a;#h;constructor(e={}){this.#h=new ra(e)}setIssuer(e){return this.#h.iss=e,this}setSubject(e){return this.#h.sub=e,this}setAudience(e){return this.#h.aud=e,this}setJti(e){return this.#h.jti=e,this}setNotBefore(e){return this.#h.nbf=e,this}setExpirationTime(e){return this.#h.exp=e,this}setIssuedAt(e){return this.#h.iat=e,this}setProtectedHeader(e){return this.#a=e,this}async sign(e,a){const t=new ua(this.#h.data());if(t.setProtectedHeader(this.#a),Array.isArray(this.#a?.crit)&&this.#a.crit.includes("b64")&&!1===this.#a.b64)throw new E("JWTs MUST NOT use unencoded payload");return t.sign(e,a)}}class ha{#n;#i;#s;#a;#p;#g;#y;#h;constructor(e={}){this.#h=new ra(e)}setIssuer(e){return this.#h.iss=e,this}setSubject(e){return this.#h.sub=e,this}setAudience(e){return this.#h.aud=e,this}setJti(e){return this.#h.jti=e,this}setNotBefore(e){return this.#h.nbf=e,this}setExpirationTime(e){return this.#h.exp=e,this}setIssuedAt(e){return this.#h.iat=e,this}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setContentEncryptionKey(e){if(this.#n)throw new TypeError("setContentEncryptionKey can only be called once");return this.#n=e,this}setInitializationVector(e){if(this.#i)throw new TypeError("setInitializationVector can only be called once");return this.#i=e,this}replicateIssuerAsHeader(){return this.#p=!0,this}replicateSubjectAsHeader(){return this.#g=!0,this}replicateAudienceAsHeader(){return this.#y=!0,this}async encrypt(e,a){const t=new sa(this.#h.data());return this.#a&&(this.#p||this.#g||this.#y)&&(this.#a={...this.#a,iss:this.#p?this.#h.iss:void 0,sub:this.#g?this.#h.sub:void 0,aud:this.#y?this.#h.aud:void 0}),t.setProtectedHeader(this.#a),this.#i&&t.setInitializationVector(this.#i),this.#n&&t.setContentEncryptionKey(this.#n),this.#s&&t.setKeyManagementParameters(this.#s),t.encrypt(e,a)}}const pa=(e,a)=>{if("string"!=typeof e||!e)throw new j(`${a} missing or invalid`)};async function ga(e,a){let t,o;if(Pe(e))t=e;else{if(!G(e))throw new TypeError(_(e,"CryptoKey","KeyObject","JSON Web Key"));t=await qe(e)}if(a??="sha256","sha256"!==a&&"sha384"!==a&&"sha512"!==a)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');switch(t.kty){case"AKP":pa(t.alg,'"alg" (Algorithm) Parameter'),pa(t.pub,'"pub" (Public key) Parameter'),o={alg:t.alg,kty:t.kty,pub:t.pub};break;case"EC":pa(t.crv,'"crv" (Curve) Parameter'),pa(t.x,'"x" (X Coordinate) Parameter'),pa(t.y,'"y" (Y Coordinate) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":pa(t.crv,'"crv" (Subtype of Key Pair) Parameter'),pa(t.x,'"x" (Public Key) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x};break;case"RSA":pa(t.e,'"e" (Exponent) Parameter'),pa(t.n,'"n" (Modulus) Parameter'),o={e:t.e,kty:t.kty,n:t.n};break;case"oct":pa(t.k,'"k" (Key Value) Parameter'),o={k:t.k,kty:t.kty};break;default:throw new v('"kty" (Key Type) Parameter missing or unsupported')}const r=m(JSON.stringify(o));return y(await ee(a,r))}async function ya(e,a){a??="sha256";const t=await ga(e,a);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${a.slice(-3)}:${t}`}async function fa(e,a){const t={...e,...a?.header};if(!V(t.jwk))throw new A('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const o=await Ee({...t.jwk,ext:!0},t.alg);if(o instanceof Uint8Array||"public"!==o.type)throw new A('"jwk" (JSON Web Key) Header Parameter must be a public key');return o}function ka(e){return V(e)}class ba{#f;#k=new WeakMap;constructor(e){if(!function(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(ka)}(e))throw new z("JSON Web Key Set malformed");this.#f=structuredClone(e)}jwks(){return this.#f}async getKey(e,a){const{alg:t,kid:o}={...e,...a?.header},r=function(e){switch("string"==typeof e&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new v('Unsupported "alg" value for a JSON Web Key Set')}}(t),n=this.#f.keys.filter(e=>{let a=r===e.kty;if(a&&"string"==typeof o&&(a=o===e.kid),!a||"string"!=typeof e.alg&&"AKP"!==r||(a=t===e.alg),a&&"string"==typeof e.use&&(a="sig"===e.use),a&&Array.isArray(e.key_ops)&&(a=e.key_ops.includes("verify")),a)switch(t){case"ES256":a="P-256"===e.crv;break;case"ES384":a="P-384"===e.crv;break;case"ES512":a="P-521"===e.crv;break;case"Ed25519":case"EdDSA":a="Ed25519"===e.crv}return a}),{0:i,length:s}=n;if(0===s)throw new C;if(1!==s){const e=new P,a=this.#k;throw e[Symbol.asyncIterator]=async function*(){for(const e of n)try{yield await wa(a,e,t)}catch{}},e}return wa(this.#k,i,t)}}async function wa(e,a,t){const o=e.get(a)||e.set(a,{}).get(a);if(void 0===o[t]){const e=await Ee({...a,ext:!0},t);if(e instanceof Uint8Array||"public"!==e.type)throw new z("JSON Web Key Set members must be public keys");o[t]=e}return o[t]}function va(e){const a=new ba(e),t=async(e,t)=>a.getKey(e,t);return Object.defineProperties(t,{jwks:{value:()=>structuredClone(a.jwks()),enumerable:!1,configurable:!1,writable:!1}}),t}let xa;"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(xa="jose/v6.1.3");const Sa=Symbol(),Aa=Symbol();class Ea{#b;#w;#v;#x;#S;#A;#E;#j;#z;#C;constructor(e,a){if(!(e instanceof URL))throw new TypeError("url must be an instance of URL");var t,o;this.#b=new URL(e.href),this.#w="number"==typeof a?.timeoutDuration?a?.timeoutDuration:5e3,this.#v="number"==typeof a?.cooldownDuration?a?.cooldownDuration:3e4,this.#x="number"==typeof a?.cacheMaxAge?a?.cacheMaxAge:6e5,this.#E=new Headers(a?.headers),xa&&!this.#E.has("User-Agent")&&this.#E.set("User-Agent",xa),this.#E.has("accept")||(this.#E.set("accept","application/json"),this.#E.append("accept","application/jwk-set+json")),this.#j=a?.[Sa],void 0!==a?.[Aa]&&(this.#C=a?.[Aa],t=a?.[Aa],o=this.#x,"object"==typeof t&&null!==t&&"uat"in t&&"number"==typeof t.uat&&!(Date.now()-t.uat>=o)&&"jwks"in t&&V(t.jwks)&&Array.isArray(t.jwks.keys)&&Array.prototype.every.call(t.jwks.keys,V)&&(this.#S=this.#C.uat,this.#z=va(this.#C.jwks)))}pendingFetch(){return!!this.#A}coolingDown(){return"number"==typeof this.#S&&Date.now()<this.#S+this.#v}fresh(){return"number"==typeof this.#S&&Date.now()<this.#S+this.#x}jwks(){return this.#z?.jwks()}async getKey(e,a){this.#z&&this.fresh()||await this.reload();try{return await this.#z(e,a)}catch(t){if(t instanceof C&&!1===this.coolingDown())return await this.reload(),this.#z(e,a);throw t}}async reload(){this.#A&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#A=void 0),this.#A||=async function(e,a,t,o=fetch){const r=await o(e,{method:"GET",signal:t,redirect:"manual",headers:a}).catch(e=>{if("TimeoutError"===e.name)throw new H;throw e});if(200!==r.status)throw new f("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await r.json()}catch{throw new f("Failed to parse the JSON Web Key Set HTTP response as JSON")}}(this.#b.href,this.#E,AbortSignal.timeout(this.#w),this.#j).then(e=>{this.#z=va(e),this.#C&&(this.#C.uat=Date.now(),this.#C.jwks=e),this.#S=Date.now(),this.#A=void 0}).catch(e=>{throw this.#A=void 0,e}),await this.#A}}function ja(e,a){const t=new Ea(e,a),o=async(e,a)=>t.getKey(e,a);return Object.defineProperties(o,{coolingDown:{get:()=>t.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>t.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>t.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>t.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>t.jwks(),enumerable:!0,configurable:!1,writable:!1}}),o}class za{#h;constructor(e={}){this.#h=new ra(e)}encode(){return`${y(JSON.stringify({alg:"none"}))}.${y(this.#h.data())}.`}setIssuer(e){return this.#h.iss=e,this}setSubject(e){return this.#h.sub=e,this}setAudience(e){return this.#h.aud=e,this}setJti(e){return this.#h.jti=e,this}setNotBefore(e){return this.#h.nbf=e,this}setExpirationTime(e){return this.#h.exp=e,this}setIssuedAt(e){return this.#h.iat=e,this}static decode(e,a){if("string"!=typeof e)throw new E("Unsecured JWT must be a string");const{0:t,1:o,2:r,length:n}=e.split(".");if(3!==n||""!==r)throw new E("Invalid Unsecured JWT");let s;try{if(s=JSON.parse(i.decode(g(t))),"none"!==s.alg)throw new Error}catch{throw new E("Invalid Unsecured JWT")}return{payload:oa(s,g(o),a),header:s}}}function Ca(e){let a;if("string"==typeof e){const t=e.split(".");3!==t.length&&5!==t.length||([a]=t)}else if("object"==typeof e&&e){if(!("protected"in e))throw new TypeError("Token does not contain a Protected Header");a=e.protected}try{if("string"!=typeof a||!a)throw new Error;const e=JSON.parse(i.decode(g(a)));if(!V(e))throw new Error;return e}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}function Pa(e){if("string"!=typeof e)throw new E("JWTs must use Compact JWS serialization, JWT must be a string");const{1:a,length:t}=e.split(".");if(5===t)throw new E("Only JWTs using Compact JWS serialization can be decoded");if(3!==t)throw new E("Invalid JWT");if(!a)throw new E("JWTs must contain a payload");let o,r;try{o=g(a)}catch{throw new E("Failed to base64url decode the payload")}try{r=JSON.parse(i.decode(o))}catch{throw new E("Failed to parse the decoded payload as JSON")}if(!V(r))throw new E("Invalid JWT Claims Set");return r}function Ha(e){const a=e?.modulusLength??2048;if("number"!=typeof a||a<2048)throw new v("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return a}async function Ka(e,a){let t,o;switch(e){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:Ha(a)},o=["sign","verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:Ha(a)},o=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:Ha(a)},o=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":t={name:"ECDSA",namedCurve:"P-256"},o=["sign","verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},o=["sign","verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},o=["sign","verify"];break;case"Ed25519":case"EdDSA":o=["sign","verify"],t={name:"Ed25519"};break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":o=["sign","verify"],t={name:e};break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{o=["deriveBits"];const e=a?.crv??"P-256";switch(e){case"P-256":case"P-384":case"P-521":t={name:"ECDH",namedCurve:e};break;case"X25519":t={name:"X25519"};break;default:throw new v("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519")}break}default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(t,a?.extractable??!1,o)}async function Ta(e,a){let t,o,r;switch(e){case"HS256":case"HS384":case"HS512":t=parseInt(e.slice(-3),10),o={name:"HMAC",hash:`SHA-${t}`,length:t},r=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t=parseInt(e.slice(-3),10),crypto.getRandomValues(new Uint8Array(t>>3));case"A128KW":case"A192KW":case"A256KW":t=parseInt(e.slice(1,4),10),o={name:"AES-KW",length:t},r=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":t=parseInt(e.slice(1,4),10),o={name:"AES-GCM",length:t},r=["encrypt","decrypt"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(o,a?.extractable??!1,r)}const Wa="WebCryptoAPI"},338(e,a,t){var o=t(795);a.H=o.createRoot,o.hydrateRoot},544(e,a,t){var o,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,c={};((e,a)=>{for(var t in a)r(e,t,{get:a[t],enumerable:!0})})(c,{TEXT_DOMAIN:()=>v,clearMfaPreferences:()=> O,configureAmplify:()=>K,getAmplifyConfig:()=>H,getGateyPlugin:()=>l,getGroups:()=>q,getMfaPreferences:()=>D,getPreferredRole:()=>L,getRoles:()=>N,getScopes:()=>$,getStore:()=>m,getStoreDispatch:()=>z,getStoreSelect:()=>C,getUserAttributes:()=>U,initializeGatey:()=>Z,isAuthenticated:()=>M,isInGroup:()=>_,loadAuthSession:()=>T,loadMFAPreferences:()=>I,loadUserAttributes:()=>W,login:()=>G,logout:()=>F,observeStore:()=>P,store:()=>Q,waitForGateyReady:()=>d}),e.exports=(o=c,((e,a,t,o)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of i(a))!s.call(e,t)&&void 0!==t&&r(e,t,{get:()=>a[t],enumerable:!(o=n(a,t))||o.enumerable});return e})(r({},"__esModule",{value:!0}),o));var u=t(752);function l(){return globalThis.WpSuite?.plugins?.gatey}async function d(e=8e3){let a=l();if("available"!==a?.status){if("error"===a?.status)throw new Error("Gatey failed");await new Promise((a,t)=>{let o=()=>n(a),r=()=>n(()=>t(new Error("Gatey failed"))),n=e=>{window.removeEventListener("wpsuite:gatey:ready",o),window.removeEventListener("wpsuite:gatey:error",r),i&&clearTimeout(i),e()};window.addEventListener("wpsuite:gatey:ready",o,{once:!0}),window.addEventListener("wpsuite:gatey:error",r,{once:!0});let i=e?window.setTimeout(()=>n(()=>t(new Error("Gatey timeout"))),e):0})}}async function m(e=1e4){await d(e);let a=l()?.cognito?.store;if(!a)throw new Error("Gatey store is not available");return a}var h,p=t(752),g=t(752),y=t(752),f=t(752),k=t(143),b=t(661),w="gatey_account",v="gatey";h=typeof WpSuite<"u"?WpSuite.siteSettings:{};var x=e=>{e?.username?window.localStorage.setItem(w,JSON.stringify(e)):window.localStorage.removeItem(w)},S=async e=>{let a=JSON.parse(window.localStorage.getItem(w)??"{}"),t=!1;if(a?.username)try{let e=await(0,y.fetchAuthSession)();e?.tokens?.accessToken?.payload?.exp&&e.tokens.accessToken.payload.exp>(new Date).getTime()/1e3&&(t=!0)}catch(e){console.error(e)}else try{a=await R(!1),a?.username&&(x(a),a.loaded=!0,t=!0)}catch(e){console.error(e)}return!t&&a?.username&&(x({}),m().then(async a=>{await F(e?.signOutHook),z(a).clearAccount()})),a},A={setAmplifyConfig:e=>({type:"SET_AMPLIFY_CONFIG",amplifyConfig:e}),setAccount:e=>({type:"SET_ACCOUNT",account:e}),clearAccount:()=>({type:"CLEAR_ACCOUNT"}),setSignedIn:e=>({type:"SET_SIGNED_IN",signedIn:e}),setNextUrl:e=>({type:"SET_NEXT_URL",nextUrl:e}),setLanguage:e=>(e&&"system"!==e?f.I18n.setLanguage(e):f.I18n.setLanguage(""),{type:"SET_LANGUAGE",language:e}),setDirection:e=>({type:"SET_DIRECTION",direction:e}),reloadAuthSession:()=>({type:"RELOAD_AUTH_SESSION"}),reloadUserAttributes:()=>({type:"RELOAD_USER_ATTRIBUTES"}),reloadMFAPreferences:()=>({type:"RELOAD_MFA_PREFERENCE"})},E={getAmplifyConfig:e=>e.amplifyConfig,getAccount:e=>e.account,getNextUrl:e=>e.nextUrl,isSignedIn:e=>e.signedIn,getConfig:e=>e.config,getCustomTranslations:e=>e.customTranslations,getLanguage:e=>e.language,getDirection:e=>e.direction,getState:e=>e},j={},z=e=>(0,k.dispatch)(e),C=e=>(0,k.select)(e),P=(e,a,t)=>{let o;function r(){let r=C(e).getState(),n=a(r);if(n!==o){let e=o;o=n,t(o,e)}}let n=(0,k.subscribe)(r,e);return r(),n},H=()=>p.Amplify.getConfig(),K=(e,a)=>{p.Amplify.configure(e,a)},T=e=>(0,g.fetchAuthSession)(e),W=()=>(0,g.fetchUserAttributes)(),I=()=>(0,g.fetchMFAPreference)(),R=async(e=!0)=>{let a=e?await S():{};if(a?.username)return a;try{if((await(0,g.fetchAuthSession)()).tokens)return{username:(await(0,g.getCurrentUser)()).username,userAttributes:await W(),mfaPreferences:await I()}}catch(e){console.error(e);try{await(0,g.signOut)()}catch{}}return{}},O=async()=>{await(0,g.updateMFAPreference)({totp:"DISABLED"})},J=()=>S().then(e=>e?.username),U=()=>S().then(e=>e?.userAttributes),D=()=>S().then(e=>e?.mfaPreferences),M=()=>S().then(e=>!!e?.username),_=e=>q().then(a=>a?.includes(e)||!1),q=()=>T().then(e=>e.tokens?.idToken?.payload["cognito:groups"]instanceof Array?e.tokens.idToken.payload["cognito:groups"].map(e=>e):[]).catch(e=>{console.error(e)}),N=async()=>T().then(e=>e.tokens?.idToken?.payload["cognito:roles"]instanceof Array?e.tokens.idToken.payload["cognito:roles"].map(e=>e).map(e=>e.substring(e.indexOf("/")+1)):[]).catch(e=>{console.error(e)}),L=async()=>T().then(e=>{if(!e.tokens?.idToken?.payload["cognito:preferred_role"])return;let a=e.tokens.idToken.payload["cognito:preferred_role"];return a.substring(a.indexOf("/")+1)}).catch(e=>{console.error(e)}),$=()=>T().then(e=>e.tokens?.accessToken.payload.scope?.split(" ")??[]).catch(e=>{console.error(e)}),G=async e=>{let a,t=l();if(!t)throw new Error("Gatey plugin is not available");return t.settings.integrateWpLogin&&t.restUrl?.startsWith("http")&&(a=await t.cognito.post({apiName:"admin",path:"/login"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await t.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e)),t.settings.redirectSignIn??a},F=async e=>{let a,t=l();if(!t)throw new Error("Gatey plugin is not available");t.settings.integrateWpLogin&&(a=await t.cognito.get({apiName:"admin",path:"/logout"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await t.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e));try{await(0,g.signOut)()}catch{}return t.settings.redirectSignOut??a},B=t(661),V=()=>{m().then(e=>{P(e,e=>e.nextUrl,async e=>{e&&window.location.assign(e)}),z(e).clearAccount()}).catch(e=>{console.error("Gatey signOut error:",e)})},X=e=>{m().then(a=>{z(a).setLanguage(e??"en")}).catch(e=>{console.error("Gatey setLanguage error:",e)})},Y=e=>{m().then(a=>{z(a).setDirection(e??"auto")}).catch(e=>{console.error("Gatey setDirection error:",e)})},Q=async()=>m(),Z=()=>{let e=globalThis.WpSuite,a=l();if(!a)throw new Error("Gatey plugin is not available");(0,B.attachDefaultPluginRuntime)(a),a.status=a.status??"initializing";let t=(async()=>{let e=await(async()=>{let e=await(0,b.getConfig)("gatey");(async e=>{let a=window.location.hostname.toLowerCase().split(":")[0],t=l();if(!t)throw new Error("Gatey plugin is not available");let o=t.settings?.secondaryUserPoolDomains&&a.toLowerCase().match(t.settings.secondaryUserPoolDomains.toLowerCase())&&t.settings?.userPoolConfigurations.secondary?.Auth?.Cognito?.userPoolId?t.settings?.userPoolConfigurations.secondary:t.settings?.userPoolConfigurations.default,r={Auth:{Cognito:{userPoolClientId:"",userPoolId:"",identityPoolId:"",...o.Auth?.Cognito,loginWith:{oauth:{domain:"",scopes:[],responseType:"code",...o.Auth?.Cognito?.loginWith?.oauth,redirectSignIn:[window.location.origin+t.settings?.signInPage],redirectSignOut:[window.location.origin+t.settings?.signInPage]}}}},API:{...o.API,REST:{...o.API?.REST,admin:{endpoint:t.restUrl}}}},n=e?.apiConfigurations?.secondary?.domains&&a.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default;n?.apis?.forEach(e=>{let a=r.API?.REST;a&&(a[e.name]={endpoint:e.endpoint,region:e.region})}),K(r,{API:{REST:{headers:async e=>{let a=n?.apis?.find(a=>a.name===e.apiName);if("admin"===e.apiName||"ID_TOKEN"===a?.authorization||"ACCESS_TOKEN"===a?.authorization)try{let t=await T();if(t?.tokens?.idToken&&t?.tokens?.accessToken)return{Authorization:`Bearer ${"admin"===e.apiName||"ID_TOKEN"===a?.authorization?t.tokens.idToken.toString():t.tokens.accessToken.toString()}`}}catch(e){console.error(e),m().then(e=>{z(e).clearAccount()})}return{}}}}})})(e);let a=window.location.hostname.toLowerCase().split(":")[0],t=e?.apiConfigurations?.secondary?.domains&&a.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default,o=await S(t),r=await(async()=>{let e=l();if(!e)throw new Error("Gatey plugin is not available");let a=null;return e.settings.customTranslationsUrl&&(a=await fetch(e.settings.customTranslationsUrl+(e.settings.customTranslationsUrl.includes("?")?"&":"?")+"t="+h.lastUpdate).then(e=>e.ok?e.text():null).then(e=>e?JSON.parse(e):null).catch(()=>null)),a??null})();return{config:e,amplifyConfig:{},account:o,signedIn:!!o?.username&&!o.loaded,nextUrl:void 0,language:void 0,direction:void 0,customTranslations:r,reloadAuthSession:0,reloadUserAttributes:0,reloadMFAPreferences:0}})(),a=(0,k.createReduxStore)("wpsuite/gatey",{reducer(a=e,t){switch(t.type){case"SET_AMPLIFY_CONFIG":return{...a,amplifyConfig:t.amplifyConfig};case"SET_ACCOUNT":return x(t.account),{...a,account:t.account};case"CLEAR_ACCOUNT":return x({}),{...a,account:{}};case"RELOAD_AUTH_SESSION":{let e=Math.random();return{...a,reloadAuthSession:a.reloadAuthSession!==e?e:e+1}}case"RELOAD_USER_ATTRIBUTES":{let e=Math.random();return{...a,reloadUserAttributes:a.reloadUserAttributes!==e?e:e+1}}case"RELOAD_MFA_PREFERENCE":{let e=Math.random();return{...a,reloadMFAPreferences:a.reloadMFAPreferences!==e?e:e+1}}case"SET_SIGNED_IN":return{...a,signedIn:t.signedIn};case"SET_NEXT_URL":return{...a,nextUrl:t.nextUrl};case"SET_LANGUAGE":return{...a,language:t.language};case"SET_DIRECTION":return{...a,direction:t.direction}}return a},actions:A,selectors:E,resolvers:j});return(0,k.register)(a),a})();return a.cognito={store:t,observeStore:P,setLanguage:X,setDirection:Y,getAmplifyConfig:H,isAuthenticated:M,isInGroup:_,getUsername:J,getUserAttributes:U,getMfaPreferences:D,clearMfaPreferences:O,getGroups:q,getRoles:N,getPreferredRole:L,getScopes:$,signOut:V,get:u.get,post:u.post,put:u.put,del:u.del,head:u.head,patch:u.patch},t.then(()=>{a.status="available",e?.events?.emit("wpsuite:gatey:ready",{key:a.key,version:a.version})}).catch(t=>{a.status="error",e?.events?.emit("wpsuite:gatey:error",{key:a.key,error:String(t)})}),a}},596(e,a,t){function o(e,a){let t=0,o=e.length,r=!1;if(!a){if(e.startsWith("data:"))return null;for(;t<e.length&&e.charCodeAt(t)<=32;)t+=1;for(;o>t+1&&e.charCodeAt(o-1)<=32;)o-=1;if(47===e.charCodeAt(t)&&47===e.charCodeAt(t+1))t+=2;else{const a=e.indexOf(":/",t);if(-1!==a){const o=a-t,r=e.charCodeAt(t),n=e.charCodeAt(t+1),i=e.charCodeAt(t+2),s=e.charCodeAt(t+3),c=e.charCodeAt(t+4);if(5===o&&104===r&&116===n&&116===i&&112===s&&115===c);else if(4===o&&104===r&&116===n&&116===i&&112===s);else if(3===o&&119===r&&115===n&&115===i);else if(2===o&&119===r&&115===n);else for(let o=t;o<a;o+=1){const a=32|e.charCodeAt(o);if(!(a>=97&&a<=122||a>=48&&a<=57||46===a||45===a||43===a))return null}for(t=a+2;47===e.charCodeAt(t);)t+=1}}let a=-1,n=-1,i=-1;for(let s=t;s<o;s+=1){const t=e.charCodeAt(s);if(35===t||47===t||63===t){o=s;break}64===t?a=s:93===t?n=s:58===t?i=s:t>=65&&t<=90&&(r=!0)}if(-1!==a&&a>t&&a<o&&(t=a+1),91===e.charCodeAt(t))return-1!==n?e.slice(t+1,n).toLowerCase():null;-1!==i&&i>t&&i<o&&(o=i)}for(;o>t+1&&46===e.charCodeAt(o-1);)o-=1;const n=0!==t||o!==e.length?e.slice(t,o):e;return r?n.toLowerCase():n}function r(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function n(e){if(e.length>255)return!1;if(0===e.length)return!1;if(!r(e.charCodeAt(0))&&46!==e.charCodeAt(0)&&95!==e.charCodeAt(0))return!1;let a=-1,t=-1;const o=e.length;for(let n=0;n<o;n+=1){const o=e.charCodeAt(n);if(46===o){if(n-a>64||46===t||45===t||95===t)return!1;a=n}else if(!r(o)&&45!==o&&95!==o)return!1;t=o}return o-a-1<=63&&45!==t}t.r(a),t.d(a,{getDomain:()=>y,getDomainWithoutSuffix:()=>k,getHostname:()=>p,getPublicSuffix:()=>g,getSubdomain:()=>f,parse:()=>h});const i=function({allowIcannDomains:e=!0,allowPrivateDomains:a=!1,detectIp:t=!0,extractHostname:o=!0,mixedInputs:r=!0,validHosts:n=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:a,detectIp:t,extractHostname:o,mixedInputs:r,validHosts:n,validateHostname:i}}({});function s(e,a,t,r,s){const c=function(e){return void 0===e?i:function({allowIcannDomains:e=!0,allowPrivateDomains:a=!1,detectIp:t=!0,extractHostname:o=!0,mixedInputs:r=!0,validHosts:n=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:a,detectIp:t,extractHostname:o,mixedInputs:r,validHosts:n,validateHostname:i}}(e)}(r);return"string"!=typeof e?s:(c.extractHostname?c.mixedInputs?s.hostname=o(e,n(e)):s.hostname=o(e,!1):s.hostname=e,c.detectIp&&null!==s.hostname&&(s.isIp=function(e){if(e.length<3)return!1;let a=e.startsWith("[")?1:0,t=e.length;if("]"===e[t-1]&&(t-=1),t-a>39)return!1;let o=!1;for(;a<t;a+=1){const t=e.charCodeAt(a);if(58===t)o=!0;else if(!(t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=90))return!1}return o}(u=s.hostname)||function(e){if(e.length<7)return!1;if(e.length>15)return!1;let a=0;for(let t=0;t<e.length;t+=1){const o=e.charCodeAt(t);if(46===o)a+=1;else if(o<48||o>57)return!1}return 3===a&&46!==e.charCodeAt(0)&&46!==e.charCodeAt(e.length-1)}(u),s.isIp)?s:c.validateHostname&&c.extractHostname&&null!==s.hostname&&!n(s.hostname)?(s.hostname=null,s):(0===a||null===s.hostname||(t(s.hostname,c,s),2===a||null===s.publicSuffix||(s.domain=function(e,a,t){if(null!==t.validHosts){const e=t.validHosts;for(const t of e)if(function(e,a){return!!e.endsWith(a)&&(e.length===a.length||"."===e[e.length-a.length-1])}(a,t))return t}let o=0;if(a.startsWith("."))for(;o<a.length&&"."===a[o];)o+=1;return e.length===a.length-o?null:function(e,a){const t=e.length-a.length-2,o=e.lastIndexOf(".",t);return-1===o?e:e.slice(o+1)}(a,e)}(s.publicSuffix,s.hostname,c),3===a||null===s.domain||(s.subdomain=function(e,a){return a.length===e.length?"":e.slice(0,-a.length-1)}(s.hostname,s.domain),4===a||(s.domainWithoutSuffix=(l=s.domain,d=s.publicSuffix,l.slice(0,-d.length-1)))))),s));var u,l,d}const c=function(){const e=[1,{}],a=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:a,kitakyushu:a,kobe:a,nagoya:a,sapporo:a,sendai:a,yokohama:a}]}]}(),u=function(){const e=[1,{}],a=[2,{}],t=[1,{com:e,edu:e,gov:e,net:e,org:e}],o=[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e}],r=[0,{"*":a}],n=[2,{s:r}],i=[0,{relay:a}],s=[2,{id:a}],c=[1,{gov:e}],u=[0,{airflow:r,"lambda-url":a,"transfer-webapp":a}],l=[0,{airflow:r,"transfer-webapp":a}],d=[0,{"transfer-webapp":a,"transfer-webapp-fips":a}],m=[0,{notebook:a,studio:a}],h=[0,{labeling:a,notebook:a,studio:a}],p=[0,{notebook:a}],g=[0,{labeling:a,notebook:a,"notebook-fips":a,studio:a}],y=[0,{notebook:a,"notebook-fips":a,studio:a,"studio-fips":a}],f=[0,{shop:a}],k=[0,{"*":e}],b=[1,{co:a}],w=[0,{objects:a}],v=[2,{nodes:a}],x=[0,{my:a}],S=[0,{s3:a,"s3-accesspoint":a,"s3-website":a}],A=[0,{s3:a,"s3-accesspoint":a}],E=[0,{direct:a}],j=[0,{"webview-assets":a}],z=[0,{vfs:a,"webview-assets":a}],C=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:z}],P=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:z}],H=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:z}],K=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a}],T=[0,{s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-website":a}],W=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:T,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:z}],I=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:T,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-deprecated":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:z}],R=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:[0,{s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a}],s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a}],O=[0,{auth:a}],J=[0,{auth:a,"auth-fips":a}],U=[0,{"auth-fips":a}],D=[0,{apps:a}],M=[0,{paas:a}],_=[2,{eu:a}],q=[0,{app:a}],N=[0,{site:a}],L=[1,{com:e,edu:e,net:e,org:e}],$=[0,{j:a}],G=[0,{dyn:a}],F=[2,{web:a}],B=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],V=[0,{p:a}],X=[0,{user:a}],Y=[0,{cdn:a}],Q=[2,{raw:r}],Z=[0,{cust:a,reservd:a}],ee=[0,{cust:a}],ae=[0,{s3:a}],te=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],oe=[0,{ipfs:a}],re=[1,{framer:a}],ne=[0,{forgot:a}],ie=[1,{gs:e}],se=[0,{nes:e}],ce=[1,{k12:e,cc:e,lib:e}],ue=[1,{cc:e}],le=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,drr:a,feedback:a,forms:a}],ad:e,ae:[1,{ac:e,co:e,gov:e,mil:e,net:e,org:e,sch:e}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:t,ag:[1,{co:e,com:e,net:e,nom:e,org:e,obj:a}],ai:[1,{com:e,net:e,off:e,org:e,uwu:a,framer:a}],al:o,am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:a}],ao:[1,{co:e,ed:e,edu:e,gov:e,gv:e,it:e,og:e,org:e,pb:e}],aq:e,ar:[1,{bet:e,com:e,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,seg:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:c,asia:[1,{cloudns:a,daemon:a,dix:a}],at:[1,{4:a,ac:[1,{sth:e}],co:e,gv:e,or:e,funkfeuer:[0,{wien:a}],futurecms:[0,{"*":a,ex:r,in:r}],futurehosting:a,futuremailing:a,ortsinfo:[0,{ex:r,kunden:r}],biz:a,info:a,"123webseite":a,priv:a,my:a,myspreadshop:a,"12hp":a,"2ix":a,"4lima":a,"lima-city":a}],au:[1,{asn:e,com:[1,{cloudlets:[0,{mel:a}],myspreadshop:a}],edu:[1,{act:e,catholic:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],id:e,net:e,org:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e,hrsn:[0,{vps:a}]}],aw:[1,{com:e}],ax:e,az:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,int:e,mil:e,name:e,net:e,org:e,pp:e,pro:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,brendly:f,rs:a}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:[1,{ac:e,ai:e,co:e,com:e,edu:e,gov:e,id:e,info:e,it:e,mil:e,net:e,org:e,sch:e,tv:e}],be:[1,{ac:e,cloudns:a,webhosting:a,interhostsolutions:[0,{cloud:a}],kuleuven:[0,{ezproxy:a}],"123website":a,myspreadshop:a,transurl:r}],bf:c,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,barsy:a}],bh:t,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:a,"cloud-ip":a,cloudns:a,jozi:a,dyndns:a,"for-better":a,"for-more":a,"for-some":a,"for-the":a,selfip:a,webhop:a,orx:a,mmafan:a,myftp:a,"no-ip":a,dscloud:a}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,restaurant:e,resto:e,tourism:e,univ:e}],bm:t,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:a}],bo:[1,{com:e,edu:e,gob:e,int:e,mil:e,net:e,org:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,plurinacional:e,politica:e,profesional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,api:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{simplesite:a}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,ia:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:a,al:a,am:a,ap:a,ba:a,ce:a,df:a,es:a,go:a,ma:a,mg:a,ms:a,mt:a,pa:a,pb:a,pe:a,pi:a,pr:a,rj:a,rn:a,ro:a,rr:a,rs:a,sc:a,se:a,sp:a,to:a}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:k,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,social:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,xyz:e,zlg:e,tche:a}],bs:[1,{com:e,edu:e,gov:e,net:e,org:e,we:a}],bt:t,bv:e,bw:[1,{ac:e,co:e,gov:e,net:e,org:e}],by:[1,{gov:e,mil:e,com:e,of:e,mediatech:a}],bz:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,za:a,mydns:a,gsj:a}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:a,awdev:r,co:a,"no-ip":a,onid:a,myspreadshop:a,box:a}],cat:e,cc:[1,{cleverapps:a,"cloud-ip":a,cloudns:a,ftpaccess:a,"game-server":a,myphotos:a,scrapping:a,twmail:a,csx:a,fantasyleague:a,spawn:[0,{instances:a}]}],cd:c,cf:e,cg:e,ch:[1,{square7:a,cloudns:a,cloudscale:[0,{cust:a,lpg:w,rma:w}],objectstorage:[0,{lpg:a,rma:a}],flow:[0,{ae:[0,{alp1:a}],appengine:a}],"linkyard-cloud":a,gotdns:a,dnsking:a,"123website":a,myspreadshop:a,firenet:[0,{"*":a,svc:r}],"12hp":a,"2ix":a,"4lima":a,"lima-city":a}],ci:[1,{ac:e,"xn--aroport-bya":e,aéroport:e,asso:e,co:e,com:e,ed:e,edu:e,go:e,gouv:e,int:e,net:e,or:e,org:e}],ck:k,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:a}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,rds:r,dualstack:S,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a}],"cn-northwest-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,rds:r,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a}],compute:r,airflow:[0,{"cn-north-1":r,"cn-northwest-1":r}],eb:[0,{"cn-north-1":a,"cn-northwest-1":a}],elb:r}],amazonwebservices:[0,{on:[0,{"cn-north-1":l,"cn-northwest-1":l}]}],sagemaker:[0,{"cn-north-1":m,"cn-northwest-1":m}]}],edu:e,gov:e,mil:e,net:e,org:e,"xn--55qx5d":e,公司:e,"xn--od0alg":e,網絡:e,"xn--io0a7i":e,网络:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gx:e,gz:e,ha:e,hb:e,he:e,hi:e,hk:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,mo:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:a}],sn:e,sx:e,tj:e,tw:e,xj:e,xz:e,yn:e,zj:e,"canva-apps":a,canvasite:x,myqnapcloud:a,quickconnect:E}],co:[1,{com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,carrd:a,crd:a,otap:r,hidns:a,leadpages:a,lpages:a,mypi:a,xmit:r,firewalledreplit:s,repl:s,supabase:[2,{realtime:a,storage:a}],umso:a}],com:[1,{a2hosted:a,cpserver:a,adobeaemcloud:[2,{dev:r}],africa:a,aivencloud:a,alibabacloudcs:a,kasserver:a,amazonaws:[0,{"af-south-1":C,"ap-east-1":P,"ap-northeast-1":H,"ap-northeast-2":H,"ap-northeast-3":C,"ap-south-1":H,"ap-south-2":K,"ap-southeast-1":H,"ap-southeast-2":H,"ap-southeast-3":K,"ap-southeast-4":K,"ap-southeast-5":[0,{"execute-api":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a}],"ca-central-1":W,"ca-west-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:T,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a}],"eu-central-1":H,"eu-central-2":K,"eu-north-1":P,"eu-south-1":C,"eu-south-2":K,"eu-west-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:z}],"eu-west-2":P,"eu-west-3":C,"il-central-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:[0,{vfs:a}]}],"me-central-1":K,"me-south-1":P,"sa-east-1":C,"us-east-1":[2,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:T,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-deprecated":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:z}],"us-east-2":I,"us-gov-east-1":R,"us-gov-west-1":R,"us-west-1":W,"us-west-2":I,compute:r,"compute-1":r,airflow:[0,{"af-south-1":r,"ap-east-1":r,"ap-northeast-1":r,"ap-northeast-2":r,"ap-northeast-3":r,"ap-south-1":r,"ap-south-2":r,"ap-southeast-1":r,"ap-southeast-2":r,"ap-southeast-3":r,"ap-southeast-4":r,"ap-southeast-5":r,"ap-southeast-7":r,"ca-central-1":r,"ca-west-1":r,"eu-central-1":r,"eu-central-2":r,"eu-north-1":r,"eu-south-1":r,"eu-south-2":r,"eu-west-1":r,"eu-west-2":r,"eu-west-3":r,"il-central-1":r,"me-central-1":r,"me-south-1":r,"sa-east-1":r,"us-east-1":r,"us-east-2":r,"us-west-1":r,"us-west-2":r}],rds:[0,{"af-south-1":r,"ap-east-1":r,"ap-east-2":r,"ap-northeast-1":r,"ap-northeast-2":r,"ap-northeast-3":r,"ap-south-1":r,"ap-south-2":r,"ap-southeast-1":r,"ap-southeast-2":r,"ap-southeast-3":r,"ap-southeast-4":r,"ap-southeast-5":r,"ap-southeast-6":r,"ap-southeast-7":r,"ca-central-1":r,"ca-west-1":r,"eu-central-1":r,"eu-central-2":r,"eu-west-1":r,"eu-west-2":r,"eu-west-3":r,"il-central-1":r,"me-central-1":r,"me-south-1":r,"mx-central-1":r,"sa-east-1":r,"us-east-1":r,"us-east-2":r,"us-gov-east-1":r,"us-gov-west-1":r,"us-northeast-1":r,"us-west-1":r,"us-west-2":r}],s3:a,"s3-1":a,"s3-ap-east-1":a,"s3-ap-northeast-1":a,"s3-ap-northeast-2":a,"s3-ap-northeast-3":a,"s3-ap-south-1":a,"s3-ap-southeast-1":a,"s3-ap-southeast-2":a,"s3-ca-central-1":a,"s3-eu-central-1":a,"s3-eu-north-1":a,"s3-eu-west-1":a,"s3-eu-west-2":a,"s3-eu-west-3":a,"s3-external-1":a,"s3-fips-us-gov-east-1":a,"s3-fips-us-gov-west-1":a,"s3-global":[0,{accesspoint:[0,{mrap:a}]}],"s3-me-south-1":a,"s3-sa-east-1":a,"s3-us-east-2":a,"s3-us-gov-east-1":a,"s3-us-gov-west-1":a,"s3-us-west-1":a,"s3-us-west-2":a,"s3-website-ap-northeast-1":a,"s3-website-ap-southeast-1":a,"s3-website-ap-southeast-2":a,"s3-website-eu-west-1":a,"s3-website-sa-east-1":a,"s3-website-us-east-1":a,"s3-website-us-gov-west-1":a,"s3-website-us-west-1":a,"s3-website-us-west-2":a,elb:r}],amazoncognito:[0,{"af-south-1":O,"ap-east-1":O,"ap-northeast-1":O,"ap-northeast-2":O,"ap-northeast-3":O,"ap-south-1":O,"ap-south-2":O,"ap-southeast-1":O,"ap-southeast-2":O,"ap-southeast-3":O,"ap-southeast-4":O,"ap-southeast-5":O,"ap-southeast-7":O,"ca-central-1":O,"ca-west-1":O,"eu-central-1":O,"eu-central-2":O,"eu-north-1":O,"eu-south-1":O,"eu-south-2":O,"eu-west-1":O,"eu-west-2":O,"eu-west-3":O,"il-central-1":O,"me-central-1":O,"me-south-1":O,"mx-central-1":O,"sa-east-1":O,"us-east-1":J,"us-east-2":J,"us-gov-east-1":U,"us-gov-west-1":U,"us-west-1":J,"us-west-2":J}],amplifyapp:a,awsapprunner:r,awsapps:a,elasticbeanstalk:[2,{"af-south-1":a,"ap-east-1":a,"ap-northeast-1":a,"ap-northeast-2":a,"ap-northeast-3":a,"ap-south-1":a,"ap-southeast-1":a,"ap-southeast-2":a,"ap-southeast-3":a,"ap-southeast-5":a,"ap-southeast-7":a,"ca-central-1":a,"eu-central-1":a,"eu-north-1":a,"eu-south-1":a,"eu-south-2":a,"eu-west-1":a,"eu-west-2":a,"eu-west-3":a,"il-central-1":a,"me-central-1":a,"me-south-1":a,"sa-east-1":a,"us-east-1":a,"us-east-2":a,"us-gov-east-1":a,"us-gov-west-1":a,"us-west-1":a,"us-west-2":a}],awsglobalaccelerator:a,siiites:a,appspacehosted:a,appspaceusercontent:a,"on-aptible":a,myasustor:a,"balena-devices":a,boutir:a,bplaced:a,cafjs:a,"canva-apps":a,"canva-hosted-embed":a,canvacode:a,"rice-labs":a,"cdn77-storage":a,br:a,cn:a,de:a,eu:a,jpn:a,mex:a,ru:a,sa:a,uk:a,us:a,za:a,"clever-cloud":[0,{services:r}],abrdns:a,dnsabr:a,"ip-ddns":a,jdevcloud:a,wpdevcloud:a,"cf-ipfs":a,"cloudflare-ipfs":a,trycloudflare:a,co:a,devinapps:r,builtwithdark:a,datadetect:[0,{demo:a,instance:a}],dattolocal:a,dattorelay:a,dattoweb:a,mydatto:a,digitaloceanspaces:r,discordsays:a,discordsez:a,drayddns:a,dreamhosters:a,durumis:a,blogdns:a,cechire:a,dnsalias:a,dnsdojo:a,doesntexist:a,dontexist:a,doomdns:a,"dyn-o-saur":a,dynalias:a,"dyndns-at-home":a,"dyndns-at-work":a,"dyndns-blog":a,"dyndns-free":a,"dyndns-home":a,"dyndns-ip":a,"dyndns-mail":a,"dyndns-office":a,"dyndns-pics":a,"dyndns-remote":a,"dyndns-server":a,"dyndns-web":a,"dyndns-wiki":a,"dyndns-work":a,"est-a-la-maison":a,"est-a-la-masion":a,"est-le-patron":a,"est-mon-blogueur":a,"from-ak":a,"from-al":a,"from-ar":a,"from-ca":a,"from-ct":a,"from-dc":a,"from-de":a,"from-fl":a,"from-ga":a,"from-hi":a,"from-ia":a,"from-id":a,"from-il":a,"from-in":a,"from-ks":a,"from-ky":a,"from-ma":a,"from-md":a,"from-mi":a,"from-mn":a,"from-mo":a,"from-ms":a,"from-mt":a,"from-nc":a,"from-nd":a,"from-ne":a,"from-nh":a,"from-nj":a,"from-nm":a,"from-nv":a,"from-oh":a,"from-ok":a,"from-or":a,"from-pa":a,"from-pr":a,"from-ri":a,"from-sc":a,"from-sd":a,"from-tn":a,"from-tx":a,"from-ut":a,"from-va":a,"from-vt":a,"from-wa":a,"from-wi":a,"from-wv":a,"from-wy":a,getmyip:a,gotdns:a,"hobby-site":a,homelinux:a,homeunix:a,iamallama:a,"is-a-anarchist":a,"is-a-blogger":a,"is-a-bookkeeper":a,"is-a-bulls-fan":a,"is-a-caterer":a,"is-a-chef":a,"is-a-conservative":a,"is-a-cpa":a,"is-a-cubicle-slave":a,"is-a-democrat":a,"is-a-designer":a,"is-a-doctor":a,"is-a-financialadvisor":a,"is-a-geek":a,"is-a-green":a,"is-a-guru":a,"is-a-hard-worker":a,"is-a-hunter":a,"is-a-landscaper":a,"is-a-lawyer":a,"is-a-liberal":a,"is-a-libertarian":a,"is-a-llama":a,"is-a-musician":a,"is-a-nascarfan":a,"is-a-nurse":a,"is-a-painter":a,"is-a-personaltrainer":a,"is-a-photographer":a,"is-a-player":a,"is-a-republican":a,"is-a-rockstar":a,"is-a-socialist":a,"is-a-student":a,"is-a-teacher":a,"is-a-techie":a,"is-a-therapist":a,"is-an-accountant":a,"is-an-actor":a,"is-an-actress":a,"is-an-anarchist":a,"is-an-artist":a,"is-an-engineer":a,"is-an-entertainer":a,"is-certified":a,"is-gone":a,"is-into-anime":a,"is-into-cars":a,"is-into-cartoons":a,"is-into-games":a,"is-leet":a,"is-not-certified":a,"is-slick":a,"is-uberleet":a,"is-with-theband":a,"isa-geek":a,"isa-hockeynut":a,issmarterthanyou:a,"likes-pie":a,likescandy:a,"neat-url":a,"saves-the-whales":a,selfip:a,"sells-for-less":a,"sells-for-u":a,servebbs:a,"simple-url":a,"space-to-rent":a,"teaches-yoga":a,writesthisblog:a,ddnsfree:a,ddnsgeek:a,giize:a,gleeze:a,kozow:a,loseyourip:a,ooguy:a,theworkpc:a,mytuleap:a,"tuleap-partners":a,encoreapi:a,evennode:[0,{"eu-1":a,"eu-2":a,"eu-3":a,"eu-4":a,"us-1":a,"us-2":a,"us-3":a,"us-4":a}],onfabrica:a,"fastly-edge":a,"fastly-terrarium":a,"fastvps-server":a,mydobiss:a,firebaseapp:a,fldrv:a,forgeblocks:a,framercanvas:a,"freebox-os":a,freeboxos:a,freemyip:a,aliases121:a,gentapps:a,gentlentapis:a,githubusercontent:a,"0emm":r,appspot:[2,{r}],blogspot:a,codespot:a,googleapis:a,googlecode:a,pagespeedmobilizer:a,withgoogle:a,withyoutube:a,grayjayleagues:a,hatenablog:a,hatenadiary:a,herokuapp:a,gr:a,smushcdn:a,wphostedmail:a,wpmucdn:a,pixolino:a,"apps-1and1":a,"live-website":a,"webspace-host":a,dopaas:a,"hosted-by-previder":M,hosteur:[0,{"rag-cloud":a,"rag-cloud-ch":a}],"ik-server":[0,{jcloud:a,"jcloud-ver-jpc":a}],jelastic:[0,{demo:a}],massivegrid:M,wafaicloud:[0,{jed:a,ryd:a}],"eu1-plenit":a,"la1-plenit":a,"us1-plenit":a,webadorsite:a,joyent:[0,{cns:r}],"on-forge":a,"on-vapor":a,lpusercontent:a,linode:[0,{members:a,nodebalancer:r}],linodeobjects:r,linodeusercontent:[0,{ip:a}],localtonet:a,lovableproject:a,barsycenter:a,barsyonline:a,lutrausercontent:r,modelscape:a,mwcloudnonprod:a,polyspace:a,mazeplay:a,miniserver:a,atmeta:a,fbsbx:D,meteorapp:_,routingthecloud:a,"same-app":a,"same-preview":a,mydbserver:a,mochausercontent:a,hostedpi:a,"mythic-beasts":[0,{caracal:a,customer:a,fentiger:a,lynx:a,ocelot:a,oncilla:a,onza:a,sphinx:a,vs:a,x:a,yali:a}],nospamproxy:[0,{cloud:[2,{o365:a}]}],"4u":a,nfshost:a,"3utilities":a,blogsyte:a,ciscofreak:a,damnserver:a,ddnsking:a,ditchyourip:a,dnsiskinky:a,dynns:a,geekgalaxy:a,"health-carereform":a,homesecuritymac:a,homesecuritypc:a,myactivedirectory:a,mysecuritycamera:a,myvnc:a,"net-freaks":a,onthewifi:a,point2this:a,quicksytes:a,securitytactics:a,servebeer:a,servecounterstrike:a,serveexchange:a,serveftp:a,servegame:a,servehalflife:a,servehttp:a,servehumour:a,serveirc:a,servemp3:a,servep2p:a,servepics:a,servequake:a,servesarcasm:a,stufftoread:a,unusualperson:a,workisboring:a,myiphost:a,observableusercontent:[0,{static:a}],simplesite:a,oaiusercontent:r,orsites:a,operaunite:a,"customer-oci":[0,{"*":a,oci:r,ocp:r,ocs:r}],oraclecloudapps:r,oraclegovcloudapps:r,"authgear-staging":a,authgearapps:a,skygearapp:a,outsystemscloud:a,ownprovider:a,pgfog:a,pagexl:a,gotpantheon:a,paywhirl:r,upsunapp:a,"postman-echo":a,prgmr:[0,{xen:a}],"project-study":[0,{dev:a}],pythonanywhere:_,qa2:a,"alpha-myqnapcloud":a,"dev-myqnapcloud":a,mycloudnas:a,mynascloud:a,myqnapcloud:a,qualifioapp:a,ladesk:a,qualyhqpartner:r,qualyhqportal:r,qbuser:a,quipelements:r,rackmaze:a,"readthedocs-hosted":a,rhcloud:a,onrender:a,render:q,"subsc-pay":a,"180r":a,dojin:a,sakuratan:a,sakuraweb:a,x0:a,code:[0,{builder:r,"dev-builder":r,"stg-builder":r}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":r}]}]}]}],logoip:a,scrysec:a,"firewall-gateway":a,myshopblocks:a,myshopify:a,shopitsite:a,"1kapp":a,appchizi:a,applinzi:a,sinaapp:a,vipsinaapp:a,streamlitapp:a,"try-snowplow":a,"playstation-cloud":a,myspreadshop:a,"w-corp-staticblitz":a,"w-credentialless-staticblitz":a,"w-staticblitz":a,"stackhero-network":a,stdlib:[0,{api:a}],strapiapp:[2,{media:a}],"streak-link":a,streaklinks:a,streakusercontent:a,"temp-dns":a,dsmynas:a,familyds:a,mytabit:a,taveusercontent:a,"tb-hosting":N,reservd:a,thingdustdata:a,"townnews-staging":a,typeform:[0,{pro:a}],hk:a,it:a,"deus-canvas":a,vultrobjects:r,wafflecell:a,hotelwithflight:a,"reserve-online":a,cprapid:a,pleskns:a,remotewd:a,wiardweb:[0,{pages:a}],wixsite:a,wixstudio:a,messwithdns:a,"woltlab-demo":a,wpenginepowered:[2,{js:a}],xnbay:[2,{u2:a,"u2-local":a}],yolasite:a}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,id:e,int:e,net:e,nome:e,org:e,publ:e}],cw:L,cx:[1,{gov:e,cloudns:a,ath:a,info:a,assessments:a,calculators:a,funnels:a,paynow:a,quizzes:a,researched:a,tests:a}],cy:[1,{ac:e,biz:e,com:[1,{scaleforce:$}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{gov:e,contentproxy9:[0,{rsc:a}],realm:a,e4:a,co:a,metacentrum:[0,{cloud:r,custom:a}],muni:[0,{cloud:[0,{flt:a,usr:a}]}]}],de:[1,{bplaced:a,square7:a,com:a,cosidns:G,dnsupdater:a,"dynamisches-dns":a,"internet-dns":a,"l-o-g-i-n":a,ddnss:[2,{dyn:a,dyndns:a}],"dyn-ip24":a,dyndns1:a,"home-webserver":[2,{dyn:a}],"myhome-server":a,dnshome:a,fuettertdasnetz:a,isteingeek:a,istmein:a,lebtimnetz:a,leitungsen:a,traeumtgerade:a,frusky:r,goip:a,"xn--gnstigbestellen-zvb":a,günstigbestellen:a,"xn--gnstigliefern-wob":a,günstigliefern:a,"hs-heilbronn":[0,{it:[0,{pages:a,"pages-research":a}]}],"dyn-berlin":a,"in-berlin":a,"in-brb":a,"in-butter":a,"in-dsl":a,"in-vpn":a,iservschule:a,"mein-iserv":a,schuldock:a,schulplattform:a,schulserver:a,"test-iserv":a,keymachine:a,co:a,"git-repos":a,"lcube-server":a,"svn-repos":a,barsy:a,webspaceconfig:a,"123webseite":a,rub:a,"ruhr-uni-bochum":[2,{noc:[0,{io:a}]}],logoip:a,"firewall-gateway":a,"my-gateway":a,"my-router":a,spdns:a,my:a,speedpartner:[0,{customer:a}],myspreadshop:a,"taifun-dns":a,"12hp":a,"2ix":a,"4lima":a,"lima-city":a,"dd-dns":a,"dray-dns":a,draydns:a,"dyn-vpn":a,dynvpn:a,"mein-vigor":a,"my-vigor":a,"my-wan":a,"syno-ds":a,"synology-diskstation":a,"synology-ds":a,"virtual-user":a,virtualuser:a,"community-pro":a,diskussionsbereich:a,xenonconnect:r}],dj:e,dk:[1,{biz:a,co:a,firm:a,reg:a,store:a,"123hjemmeside":a,myspreadshop:a}],dm:B,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,net:e,org:e,pol:e,soc:e,tm:e}],ec:[1,{abg:e,adm:e,agron:e,arqt:e,art:e,bar:e,chef:e,com:e,cont:e,cpa:e,cue:e,dent:e,dgn:e,disco:e,doc:e,edu:e,eng:e,esm:e,fin:e,fot:e,gal:e,gob:e,gov:e,gye:e,ibr:e,info:e,k12:e,lat:e,loj:e,med:e,mil:e,mktg:e,mon:e,net:e,ntr:e,odont:e,org:e,pro:e,prof:e,psic:e,psiq:e,pub:e,rio:e,rrpp:e,sal:e,tech:e,tul:e,tur:e,uio:e,vet:e,xxx:e,base:a,official:a}],edu:[1,{rit:[0,{"git-pages":a}]}],ee:[1,{aip:e,com:e,edu:e,fie:e,gov:e,lib:e,med:e,org:e,pri:e,riik:e}],eg:[1,{ac:e,com:e,edu:e,eun:e,gov:e,info:e,me:e,mil:e,name:e,net:e,org:e,sci:e,sport:e,tv:e}],er:k,es:[1,{com:e,edu:e,gob:e,nom:e,org:e,"123miweb":a,myspreadshop:a}],et:[1,{biz:e,com:e,edu:e,gov:e,info:e,name:e,net:e,org:e}],eu:[1,{cloudns:a,prvw:a,dogado:[0,{jelastic:a}],barsy:a,spdns:a,nxa:r,directwp:a,transurl:r,diskstation:a}],fi:[1,{aland:e,dy:a,"xn--hkkinen-5wa":a,häkkinen:a,iki:a,cloudplatform:[0,{fi:a}],datacenter:[0,{demo:a,paas:a}],kapsi:a,"123kotisivu":a,myspreadshop:a}],fj:[1,{ac:e,biz:e,com:e,edu:e,gov:e,id:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:k,fm:[1,{com:e,edu:e,net:e,org:e,radio:a,user:r}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"en-root":a,"fbx-os":a,fbxos:a,"freebox-os":a,freeboxos:a,goupile:a,"123siteweb":a,"on-web":a,"chirurgiens-dentistes-en-france":a,dedibox:a,aeroport:a,avocat:a,chambagri:a,"chirurgiens-dentistes":a,"experts-comptables":a,medecin:a,notaires:a,pharmacien:a,port:a,veterinaire:a,myspreadshop:a,ynh:a}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,net:e,org:e,pvt:e,school:e}],gf:e,gg:[1,{co:e,net:e,org:e,ply:[0,{at:r,d6:a}],botdash:a,kaas:a,stackit:a,panel:[2,{daemon:a}]}],gh:[1,{biz:e,com:e,edu:e,gov:e,mil:e,net:e,org:e}],gi:[1,{com:e,edu:e,gov:e,ltd:e,mod:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,net:e,org:e}],gov:e,gp:[1,{asso:e,com:e,edu:e,mobi:e,net:e,org:e}],gq:e,gr:[1,{com:e,edu:e,gov:e,net:e,org:e,barsy:a,simplesite:a}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:[1,{nx:a}],gy:B,hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--ciqpn":e,个人:e,"xn--gmqw5a":e,個人:e,"xn--55qx5d":e,公司:e,"xn--mxtq1m":e,政府:e,"xn--lcvr32d":e,敎育:e,"xn--wcvs22d":e,教育:e,"xn--gmq050i":e,箇人:e,"xn--uc0atv":e,組織:e,"xn--uc0ay4a":e,組织:e,"xn--od0alg":e,網絡:e,"xn--zf0avx":e,網络:e,"xn--mk0axi":e,组織:e,"xn--tn0ag":e,组织:e,"xn--od0aq3b":e,网絡:e,"xn--io0a7i":e,网络:e,inc:a,ltd:a}],hm:e,hn:[1,{com:e,edu:e,gob:e,mil:e,net:e,org:e}],hr:[1,{com:e,from:e,iz:e,name:e,brendly:f}],ht:[1,{adult:e,art:e,asso:e,com:e,coop:e,edu:e,firm:e,gouv:e,info:e,med:e,net:e,org:e,perso:e,pol:e,pro:e,rel:e,shop:e,rt:a}],hu:[1,{2e3:e,agrar:e,bolt:e,casino:e,city:e,co:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,info:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,org:e,priv:e,reklam:e,sex:e,shop:e,sport:e,suli:e,szex:e,tm:e,tozsde:e,utazas:e,video:e}],id:[1,{ac:e,biz:e,co:e,desa:e,go:e,kop:e,mil:e,my:e,net:e,or:e,ponpes:e,sch:e,web:e,e:a,zone:a}],ie:[1,{gov:e,myspreadshop:a}],il:[1,{ac:e,co:[1,{ravpage:a,mytabit:a,tabitorder:a}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],ישראל:[1,{אקדמיה:e,ישוב:e,צהל:e,ממשל:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bank:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,fin:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:a,barsy:a,web:a,supabase:a}],info:[1,{cloudns:a,"dynamic-dns":a,"barrel-of-knowledge":a,"barrell-of-knowledge":a,dyndns:a,"for-our":a,"groks-the":a,"groks-this":a,"here-for-more":a,knowsitall:a,selfip:a,webhop:a,barsy:a,mayfirst:a,mittwald:a,mittwaldserver:a,typo3server:a,dvrcam:a,ilovecollege:a,"no-ip":a,forumz:a,nsupdate:a,dnsupdate:a,"v-info":a}],int:[1,{eu:e}],io:[1,{2038:a,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":r,myaddr:a,apigee:a,"b-data":a,beagleboard:a,bitbucket:a,bluebite:a,boxfuse:a,brave:n,browsersafetymark:a,bubble:Y,bubbleapps:a,bigv:[0,{uk0:a}],cleverapps:a,cloudbeesusercontent:a,dappnode:[0,{dyndns:a}],darklang:a,definima:a,dedyn:a,icp0:Q,icp1:Q,qzz:a,"fh-muenster":a,shw:a,forgerock:[0,{id:a}],gitbook:a,github:a,gitlab:a,lolipop:a,"hasura-app":a,hostyhosting:a,hypernode:a,moonscale:r,beebyte:M,beebyteapp:[0,{sekd1:a}],jele:a,webthings:a,loginline:a,barsy:a,azurecontainer:r,ngrok:[2,{ap:a,au:a,eu:a,in:a,jp:a,sa:a,us:a}],nodeart:[0,{stage:a}],pantheonsite:a,pstmn:[2,{mock:a}],protonet:a,qcx:[2,{sys:r}],qoto:a,vaporcloud:a,myrdbx:a,"rb-hosting":N,"on-k3s":r,"on-rio":r,readthedocs:a,resindevice:a,resinstaging:[0,{devices:a}],hzc:a,sandcats:a,scrypted:[0,{client:a}],"mo-siemens":a,lair:D,stolos:r,musician:a,utwente:a,edugit:a,telebit:a,thingdust:[0,{dev:Z,disrec:Z,prod:ee,testing:Z}],tickets:a,webflow:a,webflowtest:a,editorx:a,wixstudio:a,basicserver:a,virtualserver:a}],iq:o,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,arvanedge:a,vistablog:a}],is:e,it:[1,{edu:e,gov:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenezia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-süd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-südtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,trentino:e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-süd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-südtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinosüd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinosüdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentinsüd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentinsüdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vallée-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vallée-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,valléeaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,valléedaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,balsan:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-südtirol":e,"balsan-suedtirol":e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,bolzano:e,"bolzano-altoadige":e,bozen:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-südtirol":e,"bozen-suedtirol":e,br:e,brescia:e,brindisi:e,bs:e,bt:e,bulsan:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-südtirol":e,"bulsan-suedtirol":e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesena-forli":e,"xn--cesena-forl-mcb":e,"cesena-forlì":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforlì:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forlì-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forlìcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,monza:e,"monza-brianza":e,"monza-e-della-brianza":e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,sa:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,"xn--sdtirol-n2a":e,südtirol:e,suedtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,"12chars":a,ibxos:a,iliadboxos:a,neen:[0,{jc:a}],"123homepage":a,"16-b":a,"32-b":a,"64-b":a,myspreadshop:a,syncloud:a}],je:[1,{co:e,net:e,org:e,of:a}],jm:k,jo:[1,{agri:e,ai:e,com:e,edu:e,eng:e,fm:e,gov:e,mil:e,net:e,org:e,per:e,phd:e,sch:e,tv:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:X,gehirn:a,ivory:a,"mail-box":a,mints:a,mokuren:a,opal:a,sakura:a,sumomo:a,topaz:a}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,nagi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,wakayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--ehqz56n":e,三重:e,"xn--1lqs03n":e,京都:e,"xn--qqqt11m":e,佐賀:e,"xn--f6qx53a":e,兵庫:e,"xn--djrs72d6uy":e,北海道:e,"xn--mkru45i":e,千葉:e,"xn--0trq7p7nn":e,和歌山:e,"xn--5js045d":e,埼玉:e,"xn--kbrq7o":e,大分:e,"xn--pssu33l":e,大阪:e,"xn--ntsq17g":e,奈良:e,"xn--uisz3g":e,宮城:e,"xn--6btw5a":e,宮崎:e,"xn--1ctwo":e,富山:e,"xn--6orx2r":e,山口:e,"xn--rht61e":e,山形:e,"xn--rht27z":e,山梨:e,"xn--nit225k":e,岐阜:e,"xn--rht3d":e,岡山:e,"xn--djty4k":e,岩手:e,"xn--klty5x":e,島根:e,"xn--kltx9a":e,広島:e,"xn--kltp7d":e,徳島:e,"xn--c3s14m":e,愛媛:e,"xn--vgu402c":e,愛知:e,"xn--efvn9s":e,新潟:e,"xn--1lqs71d":e,東京:e,"xn--4pvxs":e,栃木:e,"xn--uuwu58a":e,沖縄:e,"xn--zbx025d":e,滋賀:e,"xn--8pvr4u":e,熊本:e,"xn--5rtp49c":e,石川:e,"xn--ntso0iqx3a":e,神奈川:e,"xn--elqq16h":e,福井:e,"xn--4it168d":e,福岡:e,"xn--klt787d":e,福島:e,"xn--rny31h":e,秋田:e,"xn--7t0a264c":e,群馬:e,"xn--uist22h":e,茨城:e,"xn--8ltr62k":e,長崎:e,"xn--2m4a15e":e,長野:e,"xn--32vp30h":e,青森:e,"xn--4it797k":e,静岡:e,"xn--5rtq34k":e,香川:e,"xn--k7yn95e":e,高知:e,"xn--tor131o":e,鳥取:e,"xn--d5qv7z876c":e,鹿児島:e,kawasaki:k,kitakyushu:k,kobe:k,nagoya:k,sapporo:k,sendai:k,yokohama:k,buyshop:a,fashionstore:a,handcrafted:a,kawaiishop:a,supersale:a,theshop:a,"0am":a,"0g0":a,"0j0":a,"0t0":a,mydns:a,pgw:a,wjg:a,usercontent:a,angry:a,babyblue:a,babymilk:a,backdrop:a,bambina:a,bitter:a,blush:a,boo:a,boy:a,boyfriend:a,but:a,candypop:a,capoo:a,catfood:a,cheap:a,chicappa:a,chillout:a,chips:a,chowder:a,chu:a,ciao:a,cocotte:a,coolblog:a,cranky:a,cutegirl:a,daa:a,deca:a,deci:a,digick:a,egoism:a,fakefur:a,fem:a,flier:a,floppy:a,fool:a,frenchkiss:a,girlfriend:a,girly:a,gloomy:a,gonna:a,greater:a,hacca:a,heavy:a,her:a,hiho:a,hippy:a,holy:a,hungry:a,icurus:a,itigo:a,jellybean:a,kikirara:a,kill:a,kilo:a,kuron:a,littlestar:a,lolipopmc:a,lolitapunk:a,lomo:a,lovepop:a,lovesick:a,main:a,mods:a,mond:a,mongolian:a,moo:a,namaste:a,nikita:a,nobushi:a,noor:a,oops:a,parallel:a,parasite:a,pecori:a,peewee:a,penne:a,pepper:a,perma:a,pigboat:a,pinoko:a,punyu:a,pupu:a,pussycat:a,pya:a,raindrop:a,readymade:a,sadist:a,schoolbus:a,secret:a,staba:a,stripper:a,sub:a,sunnyday:a,thick:a,tonkotsu:a,under:a,upper:a,velvet:a,verse:a,versus:a,vivian:a,watson:a,weblike:a,whitesnow:a,zombie:a,hateblo:a,hatenablog:a,hatenadiary:a,"2-d":a,bona:a,crap:a,daynight:a,eek:a,flop:a,halfmoon:a,jeez:a,matrix:a,mimoza:a,netgamers:a,nyanta:a,o0o0:a,rdy:a,rgr:a,rulez:a,sakurastorage:[0,{isk01:ae,isk02:ae}],saloon:a,sblo:a,skr:a,tank:a,"uh-oh":a,undo:a,webaccel:[0,{rs:a,user:a}],websozai:a,xii:a}],ke:[1,{ac:e,co:e,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,us:a,xx:a}],kh:k,ki:te,km:[1,{ass:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e,tm:e,asso:e,coop:e,gouv:e,medecin:e,notaires:e,pharmaciens:e,presse:e,veterinaire:e}],kn:[1,{edu:e,gov:e,net:e,org:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,ai:e,co:e,es:e,go:e,hs:e,io:e,it:e,kg:e,me:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,c01:a,"eliv-cdn":a,"eliv-dns":a,mmv:a,vki:a}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:L,kz:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,jcloud:a}],la:[1,{com:e,edu:e,gov:e,info:e,int:e,net:e,org:e,per:e,bnr:a}],lb:t,lc:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,oy:a}],li:e,lk:[1,{ac:e,assn:e,com:e,edu:e,gov:e,grp:e,hotel:e,int:e,ltd:e,net:e,ngo:e,org:e,sch:e,soc:e,web:e}],lr:t,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:c,lu:[1,{"123website":a}],lv:[1,{asn:e,com:e,conf:e,edu:e,gov:e,id:e,mil:e,net:e,org:e}],ly:[1,{com:e,edu:e,gov:e,id:e,med:e,net:e,org:e,plc:e,sch:e}],ma:[1,{ac:e,co:e,gov:e,net:e,org:e,press:e}],mc:[1,{asso:e,tm:e}],md:[1,{ir:a}],me:[1,{ac:e,co:e,edu:e,gov:e,its:e,net:e,org:e,priv:e,c66:a,craft:a,edgestack:a,filegear:a,"filegear-sg":a,lohmus:a,barsy:a,mcdir:a,brasilia:a,ddns:a,dnsfor:a,hopto:a,loginto:a,noip:a,webhop:a,soundcast:a,tcp4:a,vp4:a,diskstation:a,dscloud:a,i234:a,myds:a,synology:a,transip:N,nohost:a}],mg:[1,{co:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e}],mh:e,mil:e,mk:[1,{com:e,edu:e,gov:e,inf:e,name:e,net:e,org:e}],ml:[1,{ac:e,art:e,asso:e,com:e,edu:e,gouv:e,gov:e,info:e,inst:e,net:e,org:e,pr:e,presse:e}],mm:k,mn:[1,{edu:e,gov:e,org:e,nyc:a}],mo:t,mobi:[1,{barsy:a,dscloud:a}],mp:[1,{ju:a}],mq:e,mr:c,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:a}],mt:L,mu:[1,{ac:e,co:e,com:e,gov:e,net:e,or:e,org:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,edu:e,gob:e,net:e,org:e}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:ne,his:ne,ispmanager:a}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:a,"adobeio-static":a,adobeioruntime:a,akadns:a,akamai:a,"akamai-staging":a,akamaiedge:a,"akamaiedge-staging":a,akamaihd:a,"akamaihd-staging":a,akamaiorigin:a,"akamaiorigin-staging":a,akamaized:a,"akamaized-staging":a,edgekey:a,"edgekey-staging":a,edgesuite:a,"edgesuite-staging":a,alwaysdata:a,myamaze:a,cloudfront:a,appudo:a,"atlassian-dev":[0,{prod:Y}],myfritz:a,onavstack:a,shopselect:a,blackbaudcdn:a,boomla:a,bplaced:a,square7:a,cdn77:[0,{r:a}],"cdn77-ssl":a,gb:a,hu:a,jp:a,se:a,uk:a,clickrising:a,"ddns-ip":a,"dns-cloud":a,"dns-dynamic":a,cloudaccess:a,cloudflare:[2,{cdn:a}],cloudflareanycast:Y,cloudflarecn:Y,cloudflareglobal:Y,ctfcloud:a,"feste-ip":a,"knx-server":a,"static-access":a,cryptonomic:r,dattolocal:a,mydatto:a,debian:a,definima:a,deno:a,icp:r,de5:a,"at-band-camp":a,blogdns:a,"broke-it":a,buyshouses:a,dnsalias:a,dnsdojo:a,"does-it":a,dontexist:a,dynalias:a,dynathome:a,endofinternet:a,"from-az":a,"from-co":a,"from-la":a,"from-ny":a,"gets-it":a,"ham-radio-op":a,homeftp:a,homeip:a,homelinux:a,homeunix:a,"in-the-band":a,"is-a-chef":a,"is-a-geek":a,"isa-geek":a,"kicks-ass":a,"office-on-the":a,podzone:a,"scrapper-site":a,selfip:a,"sells-it":a,servebbs:a,serveftp:a,thruhere:a,webhop:a,casacam:a,dynu:a,dynv6:a,twmail:a,ru:a,channelsdvr:[2,{u:a}],fastly:[0,{freetls:a,map:a,prod:[0,{a,global:a}],ssl:[0,{a,b:a,global:a}]}],fastlylb:[2,{map:a}],edgeapp:a,"keyword-on":a,"live-on":a,"server-on":a,"cdn-edges":a,heteml:a,cloudfunctions:a,"grafana-dev":a,iobb:a,moonscale:a,"in-dsl":a,"in-vpn":a,oninferno:a,botdash:a,"apps-1and1":a,ipifony:a,cloudjiffy:[2,{"fra1-de":a,"west1-us":a}],elastx:[0,{"jls-sto1":a,"jls-sto2":a,"jls-sto3":a}],massivegrid:[0,{paas:[0,{"fr-1":a,"lon-1":a,"lon-2":a,"ny-1":a,"ny-2":a,"sg-1":a}]}],saveincloud:[0,{jelastic:a,"nordeste-idc":a}],scaleforce:$,kinghost:a,uni5:a,krellian:a,ggff:a,localto:r,barsy:a,luyani:a,memset:a,"azure-api":a,"azure-mobile":a,azureedge:a,azurefd:a,azurestaticapps:[2,{1:a,2:a,3:a,4:a,5:a,6:a,7:a,centralus:a,eastasia:a,eastus2:a,westeurope:a,westus2:a}],azurewebsites:a,cloudapp:a,trafficmanager:a,windows:[0,{core:[0,{blob:a}],servicebus:a}],mynetname:[0,{sn:a}],routingthecloud:a,bounceme:a,ddns:a,"eating-organic":a,mydissent:a,myeffect:a,mymediapc:a,mypsx:a,mysecuritycamera:a,nhlfan:a,"no-ip":a,pgafan:a,privatizehealthinsurance:a,redirectme:a,serveblog:a,serveminecraft:a,sytes:a,dnsup:a,hicam:a,"now-dns":a,ownip:a,vpndns:a,cloudycluster:a,ovh:[0,{hosting:r,webpaas:r}],rackmaze:a,myradweb:a,in:a,"subsc-pay":a,squares:a,schokokeks:a,"firewall-gateway":a,seidat:a,senseering:a,siteleaf:a,mafelo:a,myspreadshop:a,"vps-host":[2,{jelastic:[0,{atl:a,njs:a,ric:a}]}],srcf:[0,{soc:a,user:a}],supabase:a,dsmynas:a,familyds:a,ts:[2,{c:r}],torproject:[2,{pages:a}],tunnelmole:a,vusercontent:a,"reserve-online":a,localcert:a,"community-pro":a,meinforum:a,yandexcloud:[2,{storage:a,website:a}],za:a,zabc:a}],nf:[1,{arts:e,com:e,firm:e,info:e,net:e,other:e,per:e,rec:e,store:e,web:e}],ng:[1,{com:e,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:a,dl:a,go:a,lg:a,on:a}],col:a,firm:a,gen:a,ltd:a,ngo:a,plc:a}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:a,"hosting-cluster":a,gov:a,khplay:a,"123website":a,myspreadshop:a,transurl:r,cistron:a,demon:a}],no:[1,{fhs:e,folkebibl:e,fylkesbibl:e,idrett:e,museum:e,priv:e,vgs:e,dep:e,herad:e,kommune:e,mil:e,stat:e,aa:ie,ah:ie,bu:ie,fm:ie,hl:ie,hm:ie,"jan-mayen":ie,mr:ie,nl:ie,nt:ie,of:ie,ol:ie,oslo:ie,rl:ie,sf:ie,st:ie,svalbard:ie,tm:ie,tr:ie,va:ie,vf:ie,akrehamn:e,"xn--krehamn-dxa":e,åkrehamn:e,algard:e,"xn--lgrd-poac":e,ålgård:e,arna:e,bronnoysund:e,"xn--brnnysund-m8ac":e,brønnøysund:e,brumunddal:e,bryne:e,drobak:e,"xn--drbak-wua":e,drøbak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,florø:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,hønefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,jørpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langevåg:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mjøndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosjøen:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,osøyro:e,raholt:e,"xn--rholt-mra":e,råholt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessjøen:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stjørdalshalsen:e,tananger:e,tranby:e,vossevangen:e,aarborte:e,aejrie:e,afjord:e,"xn--fjord-lra":e,åfjord:e,agdenes:e,akershus:se,aknoluokta:e,"xn--koluokta-7ya57h":e,ákŋoluokta:e,al:e,"xn--l-1fa":e,ål:e,alaheadju:e,"xn--laheadju-7ya":e,álaheadju:e,alesund:e,"xn--lesund-hua":e,ålesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,áltá:e,alvdal:e,amli:e,"xn--mli-tla":e,åmli:e,amot:e,"xn--mot-tla":e,åmot:e,andasuolo:e,andebu:e,andoy:e,"xn--andy-ira":e,andøy:e,ardal:e,"xn--rdal-poa":e,årdal:e,aremark:e,arendal:e,"xn--s-1fa":e,ås:e,aseral:e,"xn--seral-lra":e,åseral:e,asker:e,askim:e,askoy:e,"xn--asky-ira":e,askøy:e,askvoll:e,asnes:e,"xn--snes-poa":e,åsnes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-høland":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,averøy:e,badaddja:e,"xn--bdddj-mrabd":e,bådåddjå:e,"xn--brum-voa":e,bærum:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,báhcavuotna:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,báhccavuotna:e,baidar:e,"xn--bidr-5nac":e,báidár:e,bajddar:e,"xn--bjddar-pta":e,bájddar:e,balat:e,"xn--blt-elab":e,bálát:e,balestrand:e,ballangen:e,balsfjord:e,bamble:e,bardu:e,barum:e,batsfjord:e,"xn--btsfjord-9za":e,båtsfjord:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalváhki:e,beardu:e,beiarn:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlevåg:e,bievat:e,"xn--bievt-0qa":e,bievát:e,bindal:e,birkenes:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bodø:e,bokn:e,bomlo:e,"xn--bmlo-gra":e,bømlo:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,brønnøy:e,budejju:e,buskerud:se,bygland:e,bykle:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,čáhcesuolo:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenjárga:e,davvesiida:e,deatnu:e,dielddanuorri:e,divtasvuodna:e,divttasvuotna:e,donna:e,"xn--dnna-gra":e,dønna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyrøy:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenassi:e,"xn--eveni-0qa01ga":e,evenášši:e,evenes:e,"evje-og-hornnes":e,farsund:e,fauske:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finnøy:e,fitjar:e,fjaler:e,fjell:e,fla:e,"xn--fl-zia":e,flå:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,folldal:e,forde:e,"xn--frde-gra":e,førde:e,forsand:e,fosnes:e,"xn--frna-woa":e,fræna:e,frana:e,frei:e,frogn:e,froland:e,frosta:e,froya:e,"xn--frya-hra":e,frøya:e,fuoisku:e,fuossko:e,fusa:e,fyresdal:e,gaivuotna:e,"xn--givuotna-8ya":e,gáivuotna:e,galsa:e,"xn--gls-elac":e,gálsá:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,gáŋgaviika:e,gaular:e,gausdal:e,giehtavuoatna:e,gildeskal:e,"xn--gildeskl-g0a":e,gildeskål:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gjøvik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,grue:e,gulen:e,guovdageaidnu:e,ha:e,"xn--h-2fa":e,hå:e,habmer:e,"xn--hbmer-xqa":e,hábmer:e,hadsel:e,"xn--hgebostad-g3a":e,hægebostad:e,hagebostad:e,halden:e,halsa:e,hamar:e,hamaroy:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,hámmárfeasta:e,hammerfest:e,hapmir:e,"xn--hpmir-xqa":e,hápmir:e,haram:e,hareid:e,harstad:e,hasvik:e,hattfjelldal:e,haugesund:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,våler:e}],hemne:e,hemnes:e,hemsedal:e,hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hobøl:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holtålen:e,hordaland:[0,{os:e}],hornindal:e,horten:e,hoyanger:e,"xn--hyanger-q1a":e,høyanger:e,hoylandet:e,"xn--hylandet-54a":e,høylandet:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inderøy:e,iveland:e,ivgu:e,jevnaker:e,jolster:e,"xn--jlster-bya":e,jølster:e,jondal:e,kafjord:e,"xn--kfjord-iua":e,kåfjord:e,karasjohka:e,"xn--krjohka-hwab49j":e,kárášjohka:e,karasjok:e,karlsoy:e,karmoy:e,"xn--karmy-yua":e,karmøy:e,kautokeino:e,klabu:e,"xn--klbu-woa":e,klæbu:e,klepp:e,kongsberg:e,kongsvinger:e,kraanghke:e,"xn--kranghke-b0a":e,kråanghke:e,kragero:e,"xn--krager-gya":e,kragerø:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,krødsherad:e,"xn--kvfjord-nxa":e,kvæfjord:e,"xn--kvnangen-k0a":e,kvænangen:e,kvafjord:e,kvalsund:e,kvam:e,kvanangen:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvitsøy:e,laakesvuemie:e,"xn--lrdal-sra":e,lærdal:e,lahppi:e,"xn--lhppi-xqa":e,láhppi:e,lardal:e,larvik:e,lavagis:e,lavangen:e,leangaviika:e,"xn--leagaviika-52b":e,leaŋgaviika:e,lebesby:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,lerdal:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindas:e,"xn--linds-pra":e,lindås:e,lindesnes:e,loabat:e,"xn--loabt-0qa":e,loabát:e,lodingen:e,"xn--ldingen-q1a":e,lødingen:e,lom:e,loppa:e,lorenskog:e,"xn--lrenskog-54a":e,lørenskog:e,loten:e,"xn--lten-gra":e,løten:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lurøy:e,luster:e,lyngdal:e,lyngen:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,málatvuopmi:e,malselv:e,"xn--mlselv-iua":e,målselv:e,malvik:e,mandal:e,marker:e,marnardal:e,masfjorden:e,masoy:e,"xn--msy-ula0h":e,måsøy:e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"mátta-várjjat":e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,meløy:e,meraker:e,"xn--merker-kua":e,meråker:e,midsund:e,"midtre-gauldal":e,moareke:e,"xn--moreke-jua":e,moåreke:e,modalen:e,modum:e,molde:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"møre-og-romsdal":[0,{herøy:e,sande:e}],moskenes:e,moss:e,muosat:e,"xn--muost-0qa":e,muosát:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,nååmesjevuemie:e,"xn--nry-yla5g":e,nærøy:e,namdalseid:e,namsos:e,namsskogan:e,nannestad:e,naroy:e,narviika:e,narvik:e,naustdal:e,navuotna:e,"xn--nvuotna-hwa":e,návuotna:e,"nedre-eiker":e,nesna:e,nesodden:e,nesseby:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,nordland:[0,{bo:e,"xn--b-5ga":e,bø:e,heroy:e,"xn--hery-ira":e,herøy:e}],"nordre-land":e,nordreisa:e,"nore-og-uvdal":e,notodden:e,notteroy:e,"xn--nttery-byae":e,nøtterøy:e,odda:e,oksnes:e,"xn--ksnes-uua":e,øksnes:e,omasvuotna:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppegård:e,orkdal:e,orland:e,"xn--rland-uua":e,ørland:e,orskog:e,"xn--rskog-uua":e,ørskog:e,orsta:e,"xn--rsta-fra":e,ørsta:e,osen:e,osteroy:e,"xn--ostery-fya":e,osterøy:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],østfold:[0,{våler:e}],"ostre-toten":e,"xn--stre-toten-zcb":e,"østre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"øvre-eiker":e,oyer:e,"xn--yer-zna":e,øyer:e,oygarden:e,"xn--ygarden-p1a":e,øygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"øystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,porsáŋgu:e,porsgrunn:e,rade:e,"xn--rde-ula":e,råde:e,radoy:e,"xn--rady-ira":e,radøy:e,"xn--rlingen-mxa":e,rælingen:e,rahkkeravju:e,"xn--rhkkervju-01af":e,ráhkkerávju:e,raisa:e,"xn--risa-5na":e,ráisa:e,rakkestad:e,ralingen:e,rana:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennesøy:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,risor:e,"xn--risr-ira":e,risør:e,rissa:e,roan:e,rodoy:e,"xn--rdy-0nab":e,rødøy:e,rollag:e,romsa:e,romskog:e,"xn--rmskog-bya":e,rømskog:e,roros:e,"xn--rros-gra":e,røros:e,rost:e,"xn--rst-0na":e,røst:e,royken:e,"xn--ryken-vua":e,røyken:e,royrvik:e,"xn--ryrvik-bya":e,røyrvik:e,ruovat:e,rygge:e,salangen:e,salat:e,"xn--slat-5na":e,sálat:e,"xn--slt-elab":e,sálát:e,saltdal:e,samnanger:e,sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sandøy:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,siellak:e,sigdal:e,siljan:e,sirdal:e,skanit:e,"xn--sknit-yqa":e,skánit:e,skanland:e,"xn--sknland-fxa":e,skånland:e,skaun:e,skedsmo:e,ski:e,skien:e,skierva:e,"xn--skierv-uta":e,skiervá:e,skiptvet:e,skjak:e,"xn--skjk-soa":e,skjåk:e,skjervoy:e,"xn--skjervy-v1a":e,skjervøy:e,skodje:e,smola:e,"xn--smla-hra":e,smøla:e,snaase:e,"xn--snase-nra":e,snåase:e,snasa:e,"xn--snsa-roa":e,snåsa:e,snillfjord:e,snoasa:e,sogndal:e,sogne:e,"xn--sgne-gra":e,søgne:e,sokndal:e,sola:e,solund:e,somna:e,"xn--smna-gra":e,sømna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"søndre-land":e,songdalen:e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"sør-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"sør-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"sør-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"sør-varanger":e,sorfold:e,"xn--srfold-bya":e,sørfold:e,sorreisa:e,"xn--srreisa-q1a":e,sørreisa:e,sortland:e,sorum:e,"xn--srum-gra":e,sørum:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stjørdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,tana:e,telemark:[0,{bo:e,"xn--b-5ga":e,bø:e}],time:e,tingvoll:e,tinn:e,tjeldsund:e,tjome:e,"xn--tjme-hra":e,tjøme:e,tokke:e,tolga:e,tonsberg:e,"xn--tnsberg-q1a":e,tønsberg:e,torsken:e,"xn--trna-woa":e,træna:e,trana:e,tranoy:e,"xn--trany-yua":e,tranøy:e,troandin:e,trogstad:e,"xn--trgstad-r1a":e,trøgstad:e,tromsa:e,tromso:e,"xn--troms-zua":e,tromsø:e,trondheim:e,trysil:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,tysnes:e,"xn--tysvr-vra":e,tysvær:e,tysvar:e,ullensaker:e,ullensvang:e,ulvik:e,unjarga:e,"xn--unjrga-rta":e,unjárga:e,utsira:e,vaapste:e,vadso:e,"xn--vads-jra":e,vadsø:e,"xn--vry-yla5g":e,værøy:e,vaga:e,"xn--vg-yiab":e,vågå:e,vagan:e,"xn--vgan-qoa":e,vågan:e,vagsoy:e,"xn--vgsy-qoa0j":e,vågsøy:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vardø:e,varggat:e,"xn--vrggt-xqad":e,várggát:e,varoy:e,vefsn:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,vegårshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestfold:[0,{sande:e}],vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestvågøy:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,voagat:e,volda:e,voss:e,co:a,"123hjemmeside":a,myspreadshop:a}],np:k,nr:te,nu:[1,{merseine:a,mine:a,shacknet:a,enterprisecloud:a}],nz:[1,{ac:e,co:e,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,"xn--mori-qsa":e,māori:e,mil:e,net:e,org:e,parliament:e,school:e,cloudns:a}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:a,pimienta:a,poivron:a,potager:a,sweetpepper:a,cdn77:[0,{c:a,rsc:a}],"cdn77-secure":[0,{origin:[0,{ssl:a}]}],ae:a,cloudns:a,"ip-dynamic":a,ddnss:a,dpdns:a,duckdns:a,tunk:a,blogdns:a,blogsite:a,boldlygoingnowhere:a,dnsalias:a,dnsdojo:a,doesntexist:a,dontexist:a,doomdns:a,dvrdns:a,dynalias:a,dyndns:[2,{go:a,home:a}],endofinternet:a,endoftheinternet:a,"from-me":a,"game-host":a,gotdns:a,"hobby-site":a,homedns:a,homeftp:a,homelinux:a,homeunix:a,"is-a-bruinsfan":a,"is-a-candidate":a,"is-a-celticsfan":a,"is-a-chef":a,"is-a-geek":a,"is-a-knight":a,"is-a-linux-user":a,"is-a-patsfan":a,"is-a-soxfan":a,"is-found":a,"is-lost":a,"is-saved":a,"is-very-bad":a,"is-very-evil":a,"is-very-good":a,"is-very-nice":a,"is-very-sweet":a,"isa-geek":a,"kicks-ass":a,misconfused:a,podzone:a,readmyblog:a,selfip:a,sellsyourhome:a,servebbs:a,serveftp:a,servegame:a,"stuff-4-sale":a,webhop:a,accesscam:a,camdvr:a,freeddns:a,mywire:a,webredirect:a,twmail:a,eu:[2,{al:a,asso:a,at:a,au:a,be:a,bg:a,ca:a,cd:a,ch:a,cn:a,cy:a,cz:a,de:a,dk:a,edu:a,ee:a,es:a,fi:a,fr:a,gr:a,hr:a,hu:a,ie:a,il:a,in:a,int:a,is:a,it:a,jp:a,kr:a,lt:a,lu:a,lv:a,me:a,mk:a,mt:a,my:a,net:a,ng:a,nl:a,no:a,nz:a,pl:a,pt:a,ro:a,ru:a,se:a,si:a,sk:a,tr:a,uk:a,us:a}],fedorainfracloud:a,fedorapeople:a,fedoraproject:[0,{cloud:a,os:q,stg:[0,{os:q}]}],freedesktop:a,hatenadiary:a,hepforge:a,"in-dsl":a,"in-vpn":a,js:a,barsy:a,mayfirst:a,routingthecloud:a,bmoattachments:a,"cable-modem":a,collegefan:a,couchpotatofries:a,hopto:a,mlbfan:a,myftp:a,mysecuritycamera:a,nflfan:a,"no-ip":a,"read-books":a,ufcfan:a,zapto:a,dynserv:a,"now-dns":a,"is-local":a,httpbin:a,pubtls:a,jpn:a,"my-firewall":a,myfirewall:a,spdns:a,"small-web":a,dsmynas:a,familyds:a,teckids:ae,tuxfamily:a,diskstation:a,hk:a,us:a,toolforge:a,wmcloud:[2,{beta:a}],wmflabs:a,za:a}],pa:[1,{abo:e,ac:e,com:e,edu:e,gob:e,ing:e,med:e,net:e,nom:e,org:e,sld:e}],pe:[1,{com:e,edu:e,gob:e,mil:e,net:e,nom:e,org:e}],pf:[1,{com:e,edu:e,org:e}],pg:k,ph:[1,{com:e,edu:e,gov:e,i:e,mil:e,net:e,ngo:e,org:e,cloudns:a}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,agro:e,aid:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,media:e,miasta:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,"kazimierz-dolny":e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorskie:e,pomorze:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,skoczow:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:a,gliwice:a,krakow:a,poznan:a,wroc:a,zakopane:a,beep:a,"ecommerce-shop":a,cfolks:a,dfirma:a,dkonto:a,you2:a,shoparena:a,homesklep:a,sdscloud:a,unicloud:a,lodz:a,pabianice:a,plock:a,sieradz:a,skierniewice:a,zgierz:a,krasnik:a,leczna:a,lubartow:a,lublin:a,poniatowa:a,swidnik:a,co:a,torun:a,simplesite:a,myspreadshop:a,gda:a,gdansk:a,gdynia:a,med:a,sopot:a,bielsko:a}],pm:[1,{own:a,name:a}],pn:[1,{co:e,edu:e,gov:e,net:e,org:e}],post:e,pr:[1,{biz:e,com:e,edu:e,gov:e,info:e,isla:e,name:e,net:e,org:e,pro:e,ac:e,est:e,prof:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,"12chars":a,cloudns:a,barsy:a,ngrok:a}],ps:[1,{com:e,edu:e,gov:e,net:e,org:e,plo:e,sec:e}],pt:[1,{com:e,edu:e,gov:e,int:e,net:e,nome:e,org:e,publ:e,"123paginaweb":a}],pw:[1,{gov:e,cloudns:a,x443:a}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e}],re:[1,{asso:e,com:e,netlib:a,can:a}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:a,shop:a,barsy:a}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:f,barsy:a,ox:a}],ru:[1,{ac:a,edu:a,gov:a,int:a,mil:a,eurodir:a,adygeya:a,bashkiria:a,bir:a,cbg:a,com:a,dagestan:a,grozny:a,kalmykia:a,kustanai:a,marine:a,mordovia:a,msk:a,mytis:a,nalchik:a,nov:a,pyatigorsk:a,spb:a,vladikavkaz:a,vladimir:a,na4u:a,mircloud:a,myjino:[2,{hosting:r,landing:r,spectrum:r,vps:r}],cldmail:[0,{hb:a}],mcdir:[2,{vps:a}],mcpre:a,net:a,org:a,pp:a,lk3:a,ras:a}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,edu:e,gov:e,med:e,net:e,org:e,pub:e,sch:e}],sb:t,sc:t,sd:[1,{com:e,edu:e,gov:e,info:e,med:e,net:e,org:e,tv:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:a,iopsys:a,"123minsida":a,itcouldbewor:a,myspreadshop:a}],sg:[1,{com:e,edu:e,gov:e,net:e,org:e,enscaled:a}],sh:[1,{com:e,gov:e,mil:e,net:e,org:e,hashbang:a,botda:a,lovable:a,platform:[0,{ent:a,eu:a,us:a}],teleport:a,now:a}],si:[1,{f5:a,gitapp:a,gitpage:a}],sj:e,sk:e,sl:t,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,perso:e,univ:e}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:a}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:a,kirara:a,noho:a}],su:[1,{abkhazia:a,adygeya:a,aktyubinsk:a,arkhangelsk:a,armenia:a,ashgabad:a,azerbaijan:a,balashov:a,bashkiria:a,bryansk:a,bukhara:a,chimkent:a,dagestan:a,"east-kazakhstan":a,exnet:a,georgia:a,grozny:a,ivanovo:a,jambyl:a,kalmykia:a,kaluga:a,karacol:a,karaganda:a,karelia:a,khakassia:a,krasnodar:a,kurgan:a,kustanai:a,lenug:a,mangyshlak:a,mordovia:a,msk:a,murmansk:a,nalchik:a,navoi:a,"north-kazakhstan":a,nov:a,obninsk:a,penza:a,pokrovsk:a,sochi:a,spb:a,tashkent:a,termez:a,togliatti:a,troitsk:a,tselinograd:a,tula:a,tuva:a,vladikavkaz:a,vladimir:a,vologda:a}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:c,sy:o,sz:[1,{ac:e,co:e,org:e}],tc:e,td:e,tel:e,tf:[1,{sch:a}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:a,shop:a}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:c,tm:[1,{co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:a}],to:[1,{611:a,com:e,edu:e,gov:e,mil:e,net:e,org:e,oya:a,x0:a,quickconnect:E,vpnplus:a}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:e,dr:e,edu:e,gen:e,gov:e,info:e,k12:e,kep:e,mil:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:c}],tt:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],tv:[1,{"better-than":a,dyndns:a,"on-the-web":a,"worse-than":a,from:a,sakura:a}],tw:[1,{club:e,com:[1,{mymailer:a}],ebiz:e,edu:e,game:e,gov:e,idv:e,mil:e,net:e,org:e,url:a,mydns:a}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:a,inf:a,ltd:a,cx:a,biz:a,co:a,pp:a,v:a}],ug:[1,{ac:e,co:e,com:e,edu:e,go:e,gov:e,mil:e,ne:e,or:e,org:e,sc:e,us:e}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:a,vm:a}],layershift:$,barsy:a,barsyonline:a,retrosnub:ee,"nh-serv":a,"no-ip":a,adimo:a,myspreadshop:a}],gov:[1,{api:a,campaign:a,service:a}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:a,lug:a,lugs:a,affinitylottery:a,raffleentry:a,weeklylottery:a}],plc:e,police:e,sch:k,conn:a,copro:a,hosp:a,"independent-commission":a,"independent-inquest":a,"independent-inquiry":a,"independent-panel":a,"independent-review":a,"public-inquiry":a,"royal-commission":a,pymnt:a,barsy:a,nimsite:a,oraclegovcloudapps:r}],us:[1,{dni:e,isa:e,nsn:e,ak:ce,al:ce,ar:ce,as:ce,az:ce,ca:ce,co:ce,ct:ce,dc:ce,de:ue,fl:ce,ga:ce,gu:ce,hi:le,ia:ce,id:ce,il:ce,in:ce,ks:ce,ky:ce,la:ce,ma:[1,{k12:[1,{chtr:e,paroch:e,pvt:e}],cc:e,lib:e}],md:ce,me:ce,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:ce,mo:ce,ms:[1,{k12:e,cc:e}],mt:ce,nc:ce,nd:le,ne:ce,nh:ce,nj:ce,nm:ce,nv:ce,ny:ce,oh:ce,ok:ce,or:ce,pa:ce,pr:ce,ri:le,sc:ce,sd:le,tn:ce,tx:ce,ut:ce,va:ce,vi:ce,vt:ce,wa:ce,wi:ce,wv:ue,wy:ce,cloudns:a,"is-by":a,"land-4-sale":a,"stuff-4-sale":a,heliohost:a,enscaled:[0,{phx:a}],mircloud:a,ngo:a,golffan:a,noip:a,pointto:a,freeddns:a,srv:[2,{gh:a,gl:a}],platterp:a,servername:a}],uy:[1,{com:e,edu:e,gub:e,mil:e,net:e,org:e}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,gv:[2,{d:a}],"0e":r,mydns:a}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,emprende:e,firm:e,gob:e,gov:e,ia:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:[1,{edu:e}],vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e}],vu:L,wf:[1,{biz:a,sch:a}],ws:[1,{com:e,edu:e,gov:e,net:e,org:e,advisor:r,cloud66:a,dyndns:a,mypets:a}],yt:[1,{org:a}],"xn--mgbaam7a8h":e,امارات:e,"xn--y9a3aq":e,հայ:e,"xn--54b7fta0cc":e,বাংলা:e,"xn--90ae":e,бг:e,"xn--mgbcpq6gpa1a":e,البحرين:e,"xn--90ais":e,бел:e,"xn--fiqs8s":e,中国:e,"xn--fiqz9s":e,中國:e,"xn--lgbbat1ad8j":e,الجزائر:e,"xn--wgbh1c":e,مصر:e,"xn--e1a4c":e,ею:e,"xn--qxa6a":e,ευ:e,"xn--mgbah1a3hjkrd":e,موريتانيا:e,"xn--node":e,გე:e,"xn--qxam":e,ελ:e,"xn--j6w193g":[1,{"xn--gmqw5a":e,"xn--55qx5d":e,"xn--mxtq1m":e,"xn--wcvs22d":e,"xn--uc0atv":e,"xn--od0alg":e}],香港:[1,{個人:e,公司:e,政府:e,教育:e,組織:e,網絡:e}],"xn--2scrj9c":e,ಭಾರತ:e,"xn--3hcrj9c":e,ଭାରତ:e,"xn--45br5cyl":e,ভাৰত:e,"xn--h2breg3eve":e,भारतम्:e,"xn--h2brj9c8c":e,भारोत:e,"xn--mgbgu82a":e,ڀارت:e,"xn--rvc1e0am3e":e,ഭാരതം:e,"xn--h2brj9c":e,भारत:e,"xn--mgbbh1a":e,بارت:e,"xn--mgbbh1a71e":e,بھارت:e,"xn--fpcrj9c3d":e,భారత్:e,"xn--gecrj9c":e,ભારત:e,"xn--s9brj9c":e,ਭਾਰਤ:e,"xn--45brj9c":e,ভারত:e,"xn--xkc2dl3a5ee0h":e,இந்தியா:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,"xn--mgbtx2b":e,عراق:e,"xn--mgbayh7gpa":e,الاردن:e,"xn--3e0b707e":e,한국:e,"xn--80ao21a":e,қаз:e,"xn--q7ce6a":e,ລາວ:e,"xn--fzc2c9e2c":e,ලංකා:e,"xn--xkc2al3hye2a":e,இலங்கை:e,"xn--mgbc0a9azcg":e,المغرب:e,"xn--d1alf":e,мкд:e,"xn--l1acc":e,мон:e,"xn--mix891f":e,澳門:e,"xn--mix082f":e,澳门:e,"xn--mgbx4cd0ab":e,مليسيا:e,"xn--mgb9awbf":e,عمان:e,"xn--mgbai9azgqp6j":e,پاکستان:e,"xn--mgbai9a5eva00b":e,پاكستان:e,"xn--ygbi2ammx":e,فلسطين:e,"xn--90a3ac":[1,{"xn--80au":e,"xn--90azh":e,"xn--d1at":e,"xn--c1avg":e,"xn--o1ac":e,"xn--o1ach":e}],срб:[1,{ак:e,обр:e,од:e,орг:e,пр:e,упр:e}],"xn--p1ai":e,рф:e,"xn--wgbl6a":e,قطر:e,"xn--mgberp4a5d4ar":e,السعودية:e,"xn--mgberp4a5d4a87g":e,السعودیة:e,"xn--mgbqly7c0a67fbc":e,السعودیۃ:e,"xn--mgbqly7cvafr":e,السعوديه:e,"xn--mgbpl2fh":e,سودان:e,"xn--yfro4i67o":e,新加坡:e,"xn--clchc0ea0b2g2a9gcd":e,சிங்கப்பூர்:e,"xn--ogbpf8fl":e,سورية:e,"xn--mgbtf8fl":e,سوريا:e,"xn--o3cw4h":[1,{"xn--o3cyx2a":e,"xn--12co0c3b4eva":e,"xn--m3ch0j3a":e,"xn--h3cuzk1di":e,"xn--12c1fe0br":e,"xn--12cfi8ixb8l":e}],ไทย:[1,{ทหาร:e,ธุรกิจ:e,เน็ต:e,รัฐบาล:e,ศึกษา:e,องค์กร:e}],"xn--pgbs0dh":e,تونس:e,"xn--kpry57d":e,台灣:e,"xn--kprw13d":e,台湾:e,"xn--nnx388a":e,臺灣:e,"xn--j1amh":e,укр:e,"xn--mgb2ddes":e,اليمن:e,xxx:e,ye:o,za:[0,{ac:e,agric:e,alt:e,co:e,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:a}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:a,aiven:a,beget:r,brave:n,clerk:a,clerkstage:a,cloudflare:a,wnext:a,csb:[2,{preview:a}],convex:a,deta:a,ondigitalocean:a,easypanel:a,encr:[2,{frontend:a}],evervault:i,expo:[2,{staging:a}],edgecompute:a,"on-fleek":a,flutterflow:a,e2b:a,framer:a,github:a,hosted:r,run:[0,{"*":a,mtls:r}],web:a,hackclub:a,hasura:a,botdash:a,leapcell:a,loginline:a,lovable:a,luyani:a,medusajs:a,messerli:a,mocha:a,netlify:a,ngrok:a,"ngrok-free":a,developer:r,noop:a,northflank:r,upsun:r,railway:[0,{up:a}],replit:s,nyat:a,snowflake:[0,{"*":a,privatelink:r}],streamlit:a,storipress:a,telebit:a,typedream:a,vercel:a,wal:a,wasmer:a,bookonline:a,windsurf:a,zeabur:a,zerops:r}],apple:e,aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{on:[0,{"af-south-1":u,"ap-east-1":u,"ap-northeast-1":u,"ap-northeast-2":u,"ap-northeast-3":u,"ap-south-1":u,"ap-south-2":l,"ap-southeast-1":u,"ap-southeast-2":u,"ap-southeast-3":u,"ap-southeast-4":l,"ap-southeast-5":l,"ca-central-1":u,"ca-west-1":l,"eu-central-1":u,"eu-central-2":l,"eu-north-1":u,"eu-south-1":u,"eu-south-2":l,"eu-west-1":u,"eu-west-2":u,"eu-west-3":u,"il-central-1":l,"me-central-1":l,"me-south-1":u,"sa-east-1":u,"us-east-1":u,"us-east-2":u,"us-west-1":u,"us-west-2":u,"us-gov-east-1":d,"us-gov-west-1":d}],sagemaker:[0,{"ap-northeast-1":h,"ap-northeast-2":h,"ap-south-1":h,"ap-southeast-1":h,"ap-southeast-2":h,"ca-central-1":g,"eu-central-1":h,"eu-west-1":h,"eu-west-2":h,"us-east-1":g,"us-east-2":g,"us-west-2":g,"af-south-1":m,"ap-east-1":m,"ap-northeast-3":m,"ap-south-2":p,"ap-southeast-3":m,"ap-southeast-4":p,"ca-west-1":[0,{notebook:a,"notebook-fips":a}],"eu-central-2":m,"eu-north-1":m,"eu-south-1":m,"eu-south-2":m,"eu-west-3":m,"il-central-1":m,"me-central-1":m,"me-south-1":m,"sa-east-1":m,"us-gov-east-1":y,"us-gov-west-1":y,"us-west-1":[0,{notebook:a,"notebook-fips":a,studio:a}],experiments:r}],repost:[0,{private:r}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:a,nz:a}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{v0:a,windsurf:a}],builders:[1,{cloudsite:a}],business:b,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:a}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:a}]}],case:e,cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{convex:a,elementor:a,emergent:a,encoway:[0,{eu:a}],statics:r,ravendb:a,axarnet:[0,{"es-1":a}],diadem:a,jelastic:[0,{vip:a}],jele:a,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:a}]}],it1:a}],keliweb:[2,{cs:a}],oxa:[2,{tn:a,uk:a}],primetel:[2,{uk:a}],reclaim:[0,{ca:a,uk:a,us:a}],trendhosting:[0,{ch:a,de:a}],jote:a,jotelulu:a,kuleuven:a,laravel:a,linkyard:a,magentosite:r,matlab:a,observablehq:a,perspecta:a,vapor:a,"on-rancher":r,scw:[0,{baremetal:[0,{"fr-par-1":a,"fr-par-2":a,"nl-ams-1":a}],"fr-par":[0,{cockpit:a,ddl:a,dtwh:a,fnc:[2,{functions:a}],ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a,whm:a}],instances:[0,{priv:a,pub:a}],k8s:a,"nl-ams":[0,{cockpit:a,ddl:a,dtwh:a,ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a,whm:a}],"pl-waw":[0,{cockpit:a,ddl:a,dtwh:a,ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a}],scalebook:a,smartlabeling:a}],servebolt:a,onstackit:[0,{runs:a}],trafficplex:a,"unison-services":a,urown:a,voorloper:a,zap:a}],club:[1,{cloudns:a,jele:a,barsy:a}],clubmed:e,coach:e,codes:[1,{owo:r}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:a,ravendb:a,myforum:a}],company:e,compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:a,de:a}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:a,bss:a}],dev:[1,{"12chars":a,myaddr:a,panel:a,bearblog:a,lcl:r,lclstage:r,stg:r,stgstage:r,pages:a,r2:a,workers:a,deno:a,"deno-staging":a,deta:a,lp:[2,{api:a,objects:a}],evervault:i,fly:a,githubpreview:a,gateway:r,botdash:a,inbrowser:r,"is-a-good":a,iserv:a,leapcell:a,runcontainers:a,localcert:[0,{user:r}],loginline:a,barsy:a,mediatech:a,"mocha-sandbox":a,modx:a,ngrok:a,"ngrok-free":a,"is-a-fullstack":a,"is-cool":a,"is-not-a":a,localplayer:a,xmit:a,"platter-app":a,replit:[2,{archer:a,bones:a,canary:a,global:a,hacker:a,id:a,janeway:a,kim:a,kira:a,kirk:a,odo:a,paris:a,picard:a,pike:a,prerelease:a,reed:a,riker:a,sisko:a,spock:a,staging:a,sulu:a,tarpit:a,teams:a,tucker:a,wesley:a,worf:a}],crm:[0,{d:r,w:r,wa:r,wb:r,wc:r,wd:r,we:r,wf:r}],erp:F,vercel:a,webhare:r,hrsn:a,"is-a":a}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:a}]}],direct:[1,{libp2p:a}],directory:e,discount:e,discover:e,dish:e,diy:e,dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:b,email:[1,{crisp:[0,{on:a}],tawk:V,tawkto:V}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:r}],eurovision:e,eus:[1,{party:X}],events:[1,{koobin:a,co:a}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:a}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:b,fire:e,firestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:e,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:a,sheezy:a}],gap:e,garden:e,gay:[1,{pages:a}],gbiz:e,gdn:[1,{cnpy:a}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:[1,{appwrite:a}],globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goo:e,goodyear:e,goog:[1,{cloud:a,translate:a,usercontent:r}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:a}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:a}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:a,freesite:a,easypanel:a,emergent:a,fastvps:a,myfast:a,tempurl:a,wpmudev:a,iserv:a,jele:a,mircloud:a,bolt:a,wp2:a,half:a}],hosting:[1,{opencraft:a}],hot:e,hotel:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:a,edu:a}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:a,cyon:a,joinmc:a,dweb:r,inbrowser:r,nftstorage:oe,mypep:a,storacha:oe,w3s:oe}],live:[1,{aem:a,hlx:a,ewp:r}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:a}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:e,mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:re,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:a,barsyonline:a}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:e,monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{aem:a,alces:r,co:a,arvo:a,azimuth:a,tlon:a}],neustar:e,new:e,news:[1,{noticeable:a}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:r,service:a,website:a}],ong:[1,{obl:a}],onl:e,online:[1,{eero:a,"eero-stage":a,websitebuilder:a,leapcell:a,barsy:a}],ooo:e,open:e,oracle:e,orange:[1,{tech:a}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:a}],page:[1,{aem:a,hlx:a,translated:a,codeberg:a,heyflow:a,prvcy:a,rocky:a,statichost:a,pdns:a,plesk:a}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:re,physio:e,pics:e,pictet:e,pictures:[1,{1337:a}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:a}],place:b,play:e,playstation:e,plumbing:e,plus:[1,{playit:[2,{at:r,with:a}]}],pnc:e,pohl:e,poker:e,politie:e,porn:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:r,kin:r,barsy:a}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:[1,{aem:a}],rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:a}],rocks:[1,{myddns:a,stackit:a,"lima-city":a,webspace:a}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{appwrite:r,canva:a,development:a,ravendb:a,liara:[2,{iran:a}],lovable:a,needle:a,build:r,code:r,database:r,migration:r,onporter:a,repl:a,stackit:a,val:F,vercel:a,wix:a}],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{gov:[2,{service:a}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:a}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:a,hoplix:a,barsy:a,barsyonline:a,shopware:a}],shopping:e,shouji:e,show:e,silk:e,sina:e,singles:e,site:[1,{square:a,canva:x,cloudera:r,convex:a,cyon:a,caffeine:a,fastvps:a,figma:a,"figma-gov":a,preview:a,heyflow:a,jele:a,jouwweb:a,loginline:a,barsy:a,co:a,notion:a,omniwe:a,opensocial:a,madethis:a,support:a,platformsh:r,tst:r,byen:a,srht:a,novecore:a,cpanel:a,wpsquared:a,sourcecraft:a}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:e,song:e,sony:e,soy:e,spa:e,space:[1,{myfast:a,heiyu:a,hf:[2,{static:a}],"app-ionos":a,project:a,uber:a,xs4all:a}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:a,sellfy:a,shopware:a,storebase:a}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:a}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:a}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:a,jelastic:a}],tech:[1,{cleverapps:a}],technology:b,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:a}],tokyo:e,tools:[1,{addr:G,myaddr:a}],top:[1,{ntdll:a,wadl:r}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:[1,{hidns:a}],virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:e,volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:re,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:re,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,wolterskluwer:e,woodside:e,work:e,works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,कॉम:e,"xn--1ck2e1b":e,セール:e,"xn--1qqw23a":e,佛山:e,"xn--30rr7y":e,慈善:e,"xn--3bst00m":e,集团:e,"xn--3ds443g":e,在线:e,"xn--3pxu8k":e,点看:e,"xn--42c2d9a":e,คอม:e,"xn--45q11c":e,八卦:e,"xn--4gbrim":e,موقع:e,"xn--55qw42g":e,公益:e,"xn--55qx5d":e,公司:e,"xn--5su34j936bgsg":e,香格里拉:e,"xn--5tzm5g":e,网站:e,"xn--6frz82g":e,移动:e,"xn--6qq986b3xl":e,我爱你:e,"xn--80adxhks":e,москва:e,"xn--80aqecdr1a":e,католик:e,"xn--80asehdb":e,онлайн:e,"xn--80aswg":e,сайт:e,"xn--8y0a063a":e,联通:e,"xn--9dbq2a":e,קום:e,"xn--9et52u":e,时尚:e,"xn--9krt00a":e,微博:e,"xn--b4w605ferd":e,淡马锡:e,"xn--bck1b9a5dre4c":e,ファッション:e,"xn--c1avg":e,орг:e,"xn--c2br7g":e,नेट:e,"xn--cck2b3b":e,ストア:e,"xn--cckwcxetd":e,アマゾン:e,"xn--cg4bki":e,삼성:e,"xn--czr694b":e,商标:e,"xn--czrs0t":e,商店:e,"xn--czru2d":e,商城:e,"xn--d1acj3b":e,дети:e,"xn--eckvdtc9d":e,ポイント:e,"xn--efvy88h":e,新闻:e,"xn--fct429k":e,家電:e,"xn--fhbei":e,كوم:e,"xn--fiq228c5hs":e,中文网:e,"xn--fiq64b":e,中信:e,"xn--fjq720a":e,娱乐:e,"xn--flw351e":e,谷歌:e,"xn--fzys8d69uvgm":e,電訊盈科:e,"xn--g2xx48c":e,购物:e,"xn--gckr3f0f":e,クラウド:e,"xn--gk3at1e":e,通販:e,"xn--hxt814e":e,网店:e,"xn--i1b6b1a6a2e":e,संगठन:e,"xn--imr513n":e,餐厅:e,"xn--io0a7i":e,网络:e,"xn--j1aef":e,ком:e,"xn--jlq480n2rg":e,亚马逊:e,"xn--jvr189m":e,食品:e,"xn--kcrx77d1x4a":e,飞利浦:e,"xn--kput3i":e,手机:e,"xn--mgba3a3ejt":e,ارامكو:e,"xn--mgba7c0bbn0a":e,العليان:e,"xn--mgbab2bd":e,بازار:e,"xn--mgbca7dzdo":e,ابوظبي:e,"xn--mgbi4ecexp":e,كاثوليك:e,"xn--mgbt3dhd":e,همراه:e,"xn--mk1bu44c":e,닷컴:e,"xn--mxtq1m":e,政府:e,"xn--ngbc5azd":e,شبكة:e,"xn--ngbe9e0a":e,بيتك:e,"xn--ngbrx":e,عرب:e,"xn--nqv7f":e,机构:e,"xn--nqv7fs00ema":e,组织机构:e,"xn--nyqy26a":e,健康:e,"xn--otu796d":e,招聘:e,"xn--p1acf":[1,{"xn--90amc":a,"xn--j1aef":a,"xn--j1ael8b":a,"xn--h1ahn":a,"xn--j1adp":a,"xn--c1avg":a,"xn--80aaa0cvac":a,"xn--h1aliz":a,"xn--90a1af":a,"xn--41a":a}],рус:[1,{биз:a,ком:a,крым:a,мир:a,мск:a,орг:a,самара:a,сочи:a,спб:a,я:a}],"xn--pssy2u":e,大拿:e,"xn--q9jyb4c":e,みんな:e,"xn--qcka1pmc":e,グーグル:e,"xn--rhqv96g":e,世界:e,"xn--rovu88b":e,書籍:e,"xn--ses554g":e,网址:e,"xn--t60b56a":e,닷넷:e,"xn--tckwe":e,コム:e,"xn--tiq49xqyj":e,天主教:e,"xn--unup4y":e,游戏:e,"xn--vermgensberater-ctb":e,vermögensberater:e,"xn--vermgensberatung-pwb":e,vermögensberatung:e,"xn--vhquv":e,企业:e,"xn--vuq861b":e,信息:e,"xn--w4r85el8fhu5dnra":e,嘉里大酒店:e,"xn--w4rs40l":e,嘉里:e,"xn--xhq521b":e,广东:e,"xn--zfr164b":e,政务:e,xyz:[1,{caffeine:a,botdash:a,telebit:r}],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{triton:r,stackit:a,lima:a}],zuerich:e}]}();function l(e,a,t,o){let r=null,n=a;for(;void 0!==n&&(0!==(n[0]&o)&&(r={index:t+1,isIcann:1===n[0],isPrivate:2===n[0]}),-1!==t);){const a=n[1];n=Object.prototype.hasOwnProperty.call(a,e[t])?a[e[t]]:a["*"],t-=1}return r}function d(e,a,t){var o;if(function(e,a,t){if(!a.allowPrivateDomains&&e.length>3){const a=e.length-1,o=e.charCodeAt(a),r=e.charCodeAt(a-1),n=e.charCodeAt(a-2),i=e.charCodeAt(a-3);if(109===o&&111===r&&99===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="com",!0;if(103===o&&114===r&&111===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="org",!0;if(117===o&&100===r&&101===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="edu",!0;if(118===o&&111===r&&103===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="gov",!0;if(116===o&&101===r&&110===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="net",!0;if(101===o&&100===r&&46===n)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="de",!0}return!1}(e,a,t))return;const r=e.split("."),n=(a.allowPrivateDomains?2:0)|(a.allowIcannDomains?1:0),i=l(r,c,r.length-1,n);if(null!==i)return t.isIcann=i.isIcann,t.isPrivate=i.isPrivate,void(t.publicSuffix=r.slice(i.index+1).join("."));const s=l(r,u,r.length-1,n);if(null!==s)return t.isIcann=s.isIcann,t.isPrivate=s.isPrivate,void(t.publicSuffix=r.slice(s.index).join("."));t.isIcann=!1,t.isPrivate=!1,t.publicSuffix=null!==(o=r[r.length-1])&&void 0!==o?o:null}const m={domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null};function h(e,a={}){return s(e,5,d,a,{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null})}function p(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,0,d,a,m).hostname}function g(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,2,d,a,m).publicSuffix}function y(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,3,d,a,m).domain}function f(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,4,d,a,m).subdomain}function k(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,5,d,a,m).domainWithoutSuffix}},661(e,a,t){var o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,a)=>()=>(e&&(a=e(e=0)),a),c=(e,a)=>{for(var t in a)o(e,t,{get:a[t],enumerable:!0})};function u(e){let a=e.replace(/-/g,"+").replace(/_/g,"/");for(;a.length%4;)a+="=";return Uint8Array.from(atob(a),e=>e.charCodeAt(0))}var l,d,m=s(()=>{l=(e,a)=>{let t=Uint8Array.from(atob(e),e=>e.charCodeAt(0)).map((e,t)=>e^a+t&255);return(new TextDecoder).decode(t)},d=async e=>{let a=globalThis.grecaptcha,t=e?a?.enterprise:void 0,o=t?.ready??a?.ready,r=t?.execute??a?.execute;if("function"!=typeof r)return{execute:void 0};try{return"function"==typeof o&&await new Promise(e=>o(()=>e())),{execute:r}}catch{return{execute:void 0}}}});function h(e,a){return`wpsuite:${e}:${a}`}function p(e,a){let t=a?.timeoutMs??8e3;return e.availability??=function(e,a=8e3){return()=>new Promise(t=>{if("available"===e.status)return t("available");if("error"===e.status)return t("error");!e.status||e.status;let o,r=h(e.key,"ready"),n=h(e.key,"error"),i=()=>c("available"),s=()=>c("error"),c=e=>{window.removeEventListener(r,i),window.removeEventListener(n,s),void 0!==o&&window.clearTimeout(o),t(e)};window.addEventListener(r,i,{once:!0}),window.addEventListener(n,s,{once:!0}),o=window.setTimeout(()=>c("unavailable"),a)})}(e,t),e.onReady??=function(e){return a=>{window.addEventListener(h(e,"ready"),()=>a(),{once:!0})}}(e.key),e}var g,y,f=s(()=>{}),k=s(()=>{m(),g=l("///24djH19SDi+vD3tGN3c7q7NTM9PG3nazxrZz0rLqSoKCjvJyCtJjrsw==",170),y=l("/Z/u1+ncyvLd19D01cLL1vjCzvn18KuZsKf8iomml4auqpS/loekpeKjgQ==",170)}),b={};function w(e){try{return new URL(e.includes("://")?e:`http://${e}`).hostname.toLowerCase()}catch{return e.replace(/\/+$/,"").toLowerCase()}}function v(e){let a=w(e);if(K.test(a)||T.test(a)||"localhost"===a)return!0;let t=(0,A.parse)(a,{allowPrivateDomains:!0});return!(t.domain&&t.publicSuffix&&!H.includes(t.publicSuffix))}function x(e,a){return!!a&&function(e){let a=w(e);return a.startsWith("www.")?a.slice(4):a}(e)===a}c(b,{getConfig:()=>W});var S,A,E,j,z,C,P,H,K,T,W,I,R=s(()=>{S=t(217),k(),m(),_(),A=t(596),z=J(),C=z?z.siteSettings:{},P=/\b(dev|test|testing|staging|stage|qa|uat|preview|demo|sandbox|preprod|beta|canary)\b/i,H=["localhost","local","test","invalid","example","lan","internal"],K=/^(127\.)|^(10\.)|^(192\.168\.)|^(172\.(1[6-9]|2\d|3[0-1])\.)/,T=/^(::1$)|(^fc00:)|(^fd)/i,W=async()=>{let e=null;if(C.subscriber){let a=await(0,S.importJWK)({kty:"EC",x:E,y:j,crv:"P-256"},"ES256"),t=(new Date).getFullYear(),o=Math.floor((Date.now()-new Date(t,0,1).getTime())/6048e5),r=await fetch(z.uploadUrl+"lic.jws?t="+z.siteSettings.lastUpdate+"&y="+t+"&w="+o).then(e=>e.ok?e.text():null).catch(()=>null);if(r)try{let t=location.hostname.split(":")[0],{payload:o}=await(0,S.jwtVerify)(r,a,{algorithms:["ES256"]}),n=function(e,a){return function(e){return v(e)||function(e){let a=w(e);return!(!v(a)&&!P.test(a))||a.split(".").some(e=>P.test(e))}(e)}(e)?{free:!0,covered:!0}:{free:!1,covered:x(e,a)}}(t,o.domain);if(!n.free&&!n.covered)throw new Error("Invalid domain in JWT");let i=o.key.split(":"),s=u(i[0]),c=u(i[1]),l=(await fetch(z.uploadUrl+"config.enc?t="+z.siteSettings.lastUpdate).then(e=>e.ok?e.text():null).catch(()=>null))?.split(":");if(2===l?.length){let a=u(l[0]),t=u(l[1]),r=await crypto.subtle.importKey("raw",s,{name:"AES-GCM"},!1,["decrypt"]),n=await crypto.subtle.decrypt({name:"AES-GCM",iv:c},r,new Uint8Array([...a,...t]));e=JSON.parse((new TextDecoder).decode(n)),e.subscriptionType=o.subscriptionType}}catch(e){console.error(e.message)}}return e??null},E=g,j=y}),O={};function J(){return globalThis.WpSuite}function U(e){return globalThis.WpSuite?.plugins[e]}c(O,{TEXT_DOMAIN:()=>D,attachDefaultPluginRuntime:()=>p,getConfig:()=>M,getPlugin:()=>U,getRecaptcha:()=>d,getWpSuite:()=>J}),e.exports=(I=O,((e,a,t,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of n(a))!i.call(e,t)&&void 0!==t&&o(e,t,{get:()=>a[t],enumerable:!(s=r(a,t))||s.enumerable});return e})(o({},"__esModule",{value:!0}),I));var D,M,_=s(()=>{m(),f(),D="hub-for-wpsuiteio",M=async e=>{let a=await(await Promise.resolve().then(()=>(R(),b))).getConfig();return a&&(a={...a[e],subscriptionType:a.subscriptionType}),a}});_()},752(e){e.exports=WpSuiteAmplify},795(e){e.exports=window.ReactDOM}},a={};function t(o){var r=a[o];if(void 0!==r)return r.exports;var n=a[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a}),a},t.d=(e,a)=>{for(var o in a)t.o(a,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:a[o]})},t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};const o=window.React;var r,n=t.n(o),i=t(338),s=function(){return s=Object.assign||function(e){for(var a,t=1,o=arguments.length;t<o;t++)for(var r in a=arguments[t])Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);return e},s.apply(this,arguments)},c=function(e){"undefined"!=typeof process&&process.env,console.warn(e)};(r||(r={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var u=(0,o.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function l(e){var a=e.reCaptchaKey,t=e.useEnterprise,i=void 0!==t&&t,l=e.useRecaptchaNet,d=void 0!==l&&l,m=e.scriptProps,h=e.language,p=e.container,g=e.children,y=(0,o.useState)(null),f=y[0],k=y[1],b=(0,o.useRef)(a),w=JSON.stringify(m),v=JSON.stringify(null==p?void 0:p.parameters);(0,o.useEffect)(function(){if(a){var e=(null==m?void 0:m.id)||"google-recaptcha-v3",t=(null==m?void 0:m.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[t]=function(){var e=i?window.grecaptcha.enterprise:window.grecaptcha,t=s({badge:"inline",size:"invisible",sitekey:a},(null==p?void 0:p.parameters)||{});b.current=e.render(null==p?void 0:p.element,t)},function(e){var a=e.render,t=e.onLoadCallbackName,o=e.language,r=e.onLoad,n=e.useRecaptchaNet,i=e.useEnterprise,s=e.scriptProps,c=void 0===s?{}:s,u=c.nonce,l=void 0===u?"":u,d=c.defer,m=void 0!==d&&d,h=c.async,p=void 0!==h&&h,g=c.id,y=void 0===g?"":g,f=c.appendTo,k=y||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(k))r();else{var b=function(e){return"https://www."+(e.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(e.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:i,useRecaptchaNet:n}),w=document.createElement("script");w.id=k,w.src=b+"?render="+a+("explicit"===a?"&onload="+t:"")+(o?"&hl="+o:""),l&&(w.nonce=l),w.defer=!!m,w.async=!!p,w.onload=r,("body"===f?document.body:document.getElementsByTagName("head")[0]).appendChild(w)}}({render:(null==p?void 0:p.element)?"explicit":a,onLoadCallbackName:t,useEnterprise:i,useRecaptchaNet:d,scriptProps:m,language:h,onLoad:function(){if(window&&window.grecaptcha){var e=i?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){k(e)})}else c("<GoogleRecaptchaProvider /> "+r.SCRIPT_NOT_AVAILABLE)},onError:function(){c("Error loading google recaptcha script")}}),function(){!function(e,a){(function(e){var a;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(a=document.querySelector(".grecaptcha-badge"))&&a.parentNode&&document.body.removeChild(a.parentNode)})(a),window.___grecaptcha_cfg=void 0;var t=document.querySelector("#"+e);t&&t.remove(),function(){var e=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');e&&e.remove()}()}(e,null==p?void 0:p.element)}}c("<GoogleReCaptchaProvider /> recaptcha key not provided")},[i,d,w,v,h,a,null==p?void 0:p.element]);var x=(0,o.useCallback)(function(e){if(!f||!f.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return f.execute(b.current,{action:e})},[f,b]),S=(0,o.useMemo)(function(){return{executeRecaptcha:f?x:void 0,container:null==p?void 0:p.element}},[x,f,null==p?void 0:p.element]);return n().createElement(u.Provider,{value:S},g)}function d(e,a){return e(a={exports:{}},a.exports),a.exports}u.Consumer;var m="function"==typeof Symbol&&Symbol.for,h=m?Symbol.for("react.element"):60103,p=m?Symbol.for("react.portal"):60106,g=m?Symbol.for("react.fragment"):60107,y=m?Symbol.for("react.strict_mode"):60108,f=m?Symbol.for("react.profiler"):60114,k=m?Symbol.for("react.provider"):60109,b=m?Symbol.for("react.context"):60110,w=m?Symbol.for("react.async_mode"):60111,v=m?Symbol.for("react.concurrent_mode"):60111,x=m?Symbol.for("react.forward_ref"):60112,S=m?Symbol.for("react.suspense"):60113,A=m?Symbol.for("react.suspense_list"):60120,E=m?Symbol.for("react.memo"):60115,j=m?Symbol.for("react.lazy"):60116,z=m?Symbol.for("react.block"):60121,C=m?Symbol.for("react.fundamental"):60117,P=m?Symbol.for("react.responder"):60118,H=m?Symbol.for("react.scope"):60119;function K(e){if("object"==typeof e&&null!==e){var a=e.$$typeof;switch(a){case h:switch(e=e.type){case w:case v:case g:case f:case y:case S:return e;default:switch(e=e&&e.$$typeof){case b:case x:case j:case E:case k:return e;default:return a}}case p:return a}}}function T(e){return K(e)===v}var W={AsyncMode:w,ConcurrentMode:v,ContextConsumer:b,ContextProvider:k,Element:h,ForwardRef:x,Fragment:g,Lazy:j,Memo:E,Portal:p,Profiler:f,StrictMode:y,Suspense:S,isAsyncMode:function(e){return T(e)||K(e)===w},isConcurrentMode:T,isContextConsumer:function(e){return K(e)===b},isContextProvider:function(e){return K(e)===k},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===h},isForwardRef:function(e){return K(e)===x},isFragment:function(e){return K(e)===g},isLazy:function(e){return K(e)===j},isMemo:function(e){return K(e)===E},isPortal:function(e){return K(e)===p},isProfiler:function(e){return K(e)===f},isStrictMode:function(e){return K(e)===y},isSuspense:function(e){return K(e)===S},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===g||e===v||e===f||e===y||e===S||e===A||"object"==typeof e&&null!==e&&(e.$$typeof===j||e.$$typeof===E||e.$$typeof===k||e.$$typeof===b||e.$$typeof===x||e.$$typeof===C||e.$$typeof===P||e.$$typeof===H||e.$$typeof===z)},typeOf:K},I=d(function(e,a){}),R=(I.AsyncMode,I.ConcurrentMode,I.ContextConsumer,I.ContextProvider,I.Element,I.ForwardRef,I.Fragment,I.Lazy,I.Memo,I.Portal,I.Profiler,I.StrictMode,I.Suspense,I.isAsyncMode,I.isConcurrentMode,I.isContextConsumer,I.isContextProvider,I.isElement,I.isForwardRef,I.isFragment,I.isLazy,I.isMemo,I.isPortal,I.isProfiler,I.isStrictMode,I.isSuspense,I.isValidElementType,I.typeOf,d(function(e){e.exports=W})),O={};O[R.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},O[R.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var J=t(752),U=t(544),D=t(143);window.jQuery;const M=window.ReactJSXRuntime,_=document.documentElement;_.style.setProperty("--gatey-initialized","none"),_.style.setProperty("--gatey-not-initialized","flex"),jQuery(()=>{const e=(0,U.initializeGatey)();if(e.settings?.reCaptchaPublicKey&&!document.querySelector(`[wpsuite-recaptcha-provider='${e.settings.reCaptchaPublicKey}']`)){const a=document.createElement("div");a.setAttribute("wpsuite-recaptcha-provider",e.settings.reCaptchaPublicKey),document.body.appendChild(a),(0,i.H)(a).render((0,M.jsx)(o.StrictMode,{children:(0,M.jsx)(l,{reCaptchaKey:e.settings.reCaptchaPublicKey,useEnterprise:e.settings.useRecaptchaEnterprise,useRecaptchaNet:e.settings.useRecaptchaNet,children:(0,M.jsx)(M.Fragment,{})})}))}const a=e.cognito.store;let t,r;const n=Array.from(document.styleSheets).filter(e=>null===e.href||e.href.startsWith(window.location.origin)).reduce((e,a)=>[...e,...Array.from(a.cssRules).reduce((e,a)=>":root"===a.selectorText?[...e,...Array.from(a.style).filter(e=>e.startsWith("--gatey"))]:e,[])],[]),s=(e,a,t,o)=>{let r="[gatey-account-attribute][data-attribute='"+a+"']";"custom"===a&&(r+="[data-custom='"+t+"']");let n=o||"";jQuery(r).each((e,a)=>{const t=jQuery(a).attr("data-prefix"),o=jQuery(a).attr("data-postfix");t&&(n=t+n),o&&(n+=o),jQuery(a).children(":not(:has(*))").html(n),jQuery(a).children(" *:not(:has(*))").html(n)}),jQuery("."+e+":not(:has(*))").html(n),jQuery("."+e+" *:not(:has(*))").html(n)},c=async a=>{if(a){if(e.cognito.getUserAttributes){const a=await e.cognito.getUserAttributes(),o=[];a&&Object.keys(a).forEach(e=>{var r;const n=null!==(r=e&&J.defaultFormFieldOptions[e])&&void 0!==r?r:t?.formFields&&t?.formFields?.find(a=>a.name===e);let i=a[e];if(i)if("country"===n?.type){const e=J.countries.all.find(e=>e.alpha3?.toLocaleLowerCase()===i.toLocaleLowerCase()||e.alpha2?.toLocaleLowerCase()===i.toLocaleLowerCase());e&&(i=(0,J.translate)(e.name))}else if("select"===n?.type||"radio"===n?.type){var c;const e=(null!==(c=n?.values)&&void 0!==c?c:[]).find(e=>e.value===i);e&&(i=(0,J.translate)(e.label))}s("gatey-account-attribute-"+e.replaceAll(":","-"),e.startsWith("custom:")?"custom":e,e.startsWith("custom:")?e.substring(7):"",null!=i?i:" "),_.style.setProperty("--gatey-account-attribute-"+e.replaceAll(":","-"),"'"+(null!=i?i:"")+"'"),o.push(e)}),r?.forEach(e=>{o.includes(e)||(s("gatey-account-attribute-"+e.replaceAll(":","-"),e.startsWith("custom:")?"custom":e,e.startsWith("custom:")?e.substring(7):""," "),_.style.setProperty("--gatey-account-attribute-"+e.replaceAll(":","-"),"''"))})}if(e.cognito.getMfaPreferences){const a=await e.cognito.getMfaPreferences();_.style.setProperty("--gatey-account-mfa-enabled",a?.enabled?.includes("TOTP")?"flex":"none"),_.style.setProperty("--gatey-account-mfa-not-enabled",a?.enabled?.includes("TOTP")?"none":"flex")}}const o=!(!a||!e.cognito.isAuthenticated)&&await e.cognito.isAuthenticated();if(_.style.setProperty("--gatey-account-authenticated",o?"flex":"none"),_.style.setProperty("--gatey-account-not-authenticated",o?"none":"flex"),e.cognito.getGroups){const t=a&&await e.cognito.getGroups();n.forEach(e=>{e.startsWith("--gatey-account-group")&&_.style.setProperty(e,!e.includes("-not-")||t&&t.includes(e.substring(26))?"none":"flex")}),t&&t.forEach(e=>{_.style.setProperty("--gatey-account-group-"+e.toLocaleLowerCase(),"flex"),_.style.setProperty("--gatey-account-group-not-"+e.toLocaleLowerCase(),"none")})}_.style.setProperty("--gatey-not-initialized","none"),_.style.setProperty("--gatey-initialized","flex")};a.then(async a=>{t=(0,U.getStoreSelect)(a).getConfig();const o=t?.apiConfigurations?.secondary?.domains&&window.location.hostname.toLowerCase().match(t.apiConfigurations.secondary?.domains.toLowerCase())&&t.apiConfigurations?.secondary?.apis?.length?t.apiConfigurations.secondary:t?.apiConfigurations?.default,n=[];t?.formFields&&n.push(...Object.keys(t.formFields)),r=Array.from(new Set(n)),e.settings.signUpAttributes.forEach(e=>{r.includes(e)||r.push(e)}),(0,D.dispatch)(a).setAmplifyConfig((0,U.getAmplifyConfig)()),(0,U.observeStore)(a,e=>e.signedIn,async(e,t)=>{if(void 0!==t)try{e&&await(0,U.isAuthenticated)()?(0,U.login)(o?.signInHook).then(e=>{(0,D.dispatch)(a).setNextUrl(null!=e?e:null)}):(0,U.logout)(o?.signOutHook).then(e=>{(0,D.dispatch)(a).setNextUrl(null!=e?e:null)})}catch(e){console.error(e)}}),(0,U.observeStore)(a,e=>e.reloadAuthSession,e=>{e&&(0,U.loadAuthSession)({forceRefresh:!0}).catch(e=>{console.error(e),(0,D.dispatch)(a).clearAccount()})}),(0,U.observeStore)(a,e=>e.reloadUserAttributes,e=>{e&&(0,U.loadUserAttributes)().then(e=>(0,D.dispatch)(a).setAccount({...(0,U.getStoreSelect)(a).getAccount(),userAttributes:e})).catch(e=>{console.error(e),(0,D.dispatch)(a).clearAccount()})}),(0,U.observeStore)(a,e=>e.reloadMFAPreferences,e=>{e&&(0,U.loadMFAPreferences)().then(e=>(0,D.dispatch)(a).setAccount({...(0,U.getStoreSelect)(a).getAccount(),mfaPreferences:e})).catch(e=>{console.error(e),(0,D.dispatch)(a).clearAccount()})}),(0,U.observeStore)(a,e=>e.account,e=>{const t=!!e?.username;(0,D.dispatch)(a).setSignedIn(t),c(t)}),(0,U.observeStore)(a,e=>e.language,()=>{J.I18n.putVocabularies(J.translations),J.I18n.putVocabularies((0,U.getStoreSelect)(a).getCustomTranslations()||{}),e.cognito.isAuthenticated().then(e=>c(e))}),(0,U.observeStore)(a,e=>e.direction,()=>{e.cognito.isAuthenticated().then(e=>c(e))})})})})();1 (()=>{"use strict";var e={143(e){e.exports=window.wp.data},217(e,a,t){t.r(a),t.d(a,{CompactEncrypt:()=>sa,CompactSign:()=>ua,EmbeddedJWK:()=>fa,EncryptJWT:()=>ha,FlattenedEncrypt:()=>Le,FlattenedSign:()=>ca,GeneralEncrypt:()=>Ge,GeneralSign:()=>da,SignJWT:()=>ma,UnsecuredJWT:()=>za,base64url:()=>o,calculateJwkThumbprint:()=>ga,calculateJwkThumbprintUri:()=>ya,compactDecrypt:()=>Je,compactVerify:()=>Xe,createLocalJWKSet:()=>va,createRemoteJWKSet:()=>ja,cryptoRuntime:()=>Wa,customFetch:()=>Sa,decodeJwt:()=>Pa,decodeProtectedHeader:()=>Ca,errors:()=>r,exportJWK:()=>qe,exportPKCS8:()=>_e,exportSPKI:()=>Me,flattenedDecrypt:()=>Oe,flattenedVerify:()=>Ve,generalDecrypt:()=>Ue,generalVerify:()=>Ye,generateKeyPair:()=>Ka,generateSecret:()=>Ta,importJWK:()=>Ee,importPKCS8:()=>Ae,importSPKI:()=>xe,importX509:()=>Se,jwksCache:()=>Aa,jwtDecrypt:()=>ia,jwtVerify:()=>na});var o={};t.r(o),t.d(o,{decode:()=>g,encode:()=>y});var r={};t.r(r),t.d(r,{JOSEAlgNotAllowed:()=>w,JOSEError:()=>f,JOSENotSupported:()=>v,JWEDecryptionFailed:()=>x,JWEInvalid:()=>S,JWKInvalid:()=>j,JWKSInvalid:()=>z,JWKSMultipleMatchingKeys:()=>P,JWKSNoMatchingKey:()=>C,JWKSTimeout:()=>H,JWSInvalid:()=>A,JWSSignatureVerificationFailed:()=>K,JWTClaimValidationFailed:()=>k,JWTExpired:()=>b,JWTInvalid:()=>E});const n=new TextEncoder,i=new TextDecoder,s=2**32;function c(...e){const a=e.reduce((e,{length:a})=>e+a,0),t=new Uint8Array(a);let o=0;for(const a of e)t.set(a,o),o+=a.length;return t}function u(e,a,t){if(a<0||a>=s)throw new RangeError(`value must be >= 0 and <= 4294967295. Received ${a}`);e.set([a>>>24,a>>>16,a>>>8,255&a],t)}function l(e){const a=Math.floor(e/s),t=e%s,o=new Uint8Array(8);return u(o,a,0),u(o,t,4),o}function d(e){const a=new Uint8Array(4);return u(a,e),a}function m(e){const a=new Uint8Array(e.length);for(let t=0;t<e.length;t++){const o=e.charCodeAt(t);if(o>127)throw new TypeError("non-ASCII string encountered in encode()");a[t]=o}return a}function h(e){if(Uint8Array.prototype.toBase64)return e.toBase64();const a=[];for(let t=0;t<e.length;t+=32768)a.push(String.fromCharCode.apply(null,e.subarray(t,t+32768)));return btoa(a.join(""))}function p(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);const a=atob(e),t=new Uint8Array(a.length);for(let e=0;e<a.length;e++)t[e]=a.charCodeAt(e);return t}function g(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:i.decode(e),{alphabet:"base64url"});let a=e;a instanceof Uint8Array&&(a=i.decode(a)),a=a.replace(/-/g,"+").replace(/_/g,"/");try{return p(a)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}}function y(e){let a=e;return"string"==typeof a&&(a=n.encode(a)),Uint8Array.prototype.toBase64?a.toBase64({alphabet:"base64url",omitPadding:!0}):h(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}class f extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,a){super(e,a),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class k extends f{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,a,t="unspecified",o="unspecified"){super(e,{cause:{claim:t,reason:o,payload:a}}),this.claim=t,this.reason=o,this.payload=a}}class b extends f{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,a,t="unspecified",o="unspecified"){super(e,{cause:{claim:t,reason:o,payload:a}}),this.claim=t,this.reason=o,this.payload=a}}class w extends f{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class v extends f{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class x extends f{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",a){super(e,a)}}class S extends f{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"}class A extends f{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class E extends f{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class j extends f{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"}class z extends f{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"}class C extends f{static code="ERR_JWKS_NO_MATCHING_KEY";code="ERR_JWKS_NO_MATCHING_KEY";constructor(e="no applicable key found in the JSON Web Key Set",a){super(e,a)}}class P extends f{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",a){super(e,a)}}class H extends f{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",a){super(e,a)}}class K extends f{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",a){super(e,a)}}function T(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new v(`Unsupported JWE Algorithm: ${e}`)}}function W(e,a){if(a.length<<3!==T(e))throw new S("Invalid Initialization Vector length")}function I(e,a){const t=e.byteLength<<3;if(t!==a)throw new S(`Invalid Content Encryption Key length. Expected ${a} bits, got ${t} bits`)}const R=(e,a="algorithm.name")=>new TypeError(`CryptoKey does not support this operation, its ${a} must be ${e}`),O=(e,a)=>e.name===a;function J(e){return parseInt(e.name.slice(4),10)}function U(e,a){if(a&&!e.usages.includes(a))throw new TypeError(`CryptoKey does not support this operation, its usages must include ${a}.`)}function D(e,a,t){switch(a){case"A128GCM":case"A192GCM":case"A256GCM":{if(!O(e.algorithm,"AES-GCM"))throw R("AES-GCM");const t=parseInt(a.slice(1,4),10);if(e.algorithm.length!==t)throw R(t,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!O(e.algorithm,"AES-KW"))throw R("AES-KW");const t=parseInt(a.slice(1,4),10);if(e.algorithm.length!==t)throw R(t,"algorithm.length");break}case"ECDH":switch(e.algorithm.name){case"ECDH":case"X25519":break;default:throw R("ECDH or X25519")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!O(e.algorithm,"PBKDF2"))throw R("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!O(e.algorithm,"RSA-OAEP"))throw R("RSA-OAEP");const t=parseInt(a.slice(9),10)||1;if(J(e.algorithm.hash)!==t)throw R(`SHA-${t}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}U(e,t)}function M(e,a,...t){if((t=t.filter(Boolean)).length>2){const a=t.pop();e+=`one of type ${t.join(", ")}, or ${a}.`}else 2===t.length?e+=`one of type ${t[0]} or ${t[1]}.`:e+=`of type ${t[0]}.`;return null==a?e+=` Received ${a}`:"function"==typeof a&&a.name?e+=` Received function ${a.name}`:"object"==typeof a&&null!=a&&a.constructor?.name&&(e+=` Received an instance of ${a.constructor.name}`),e}const _=(e,...a)=>M("Key must be ",e,...a),q=(e,a,...t)=>M(`Key for the ${e} algorithm must be `,a,...t);function N(e){if(!L(e))throw new Error("CryptoKey instance expected")}const L=e=>{if("CryptoKey"===e?.[Symbol.toStringTag])return!0;try{return e instanceof CryptoKey}catch{return!1}},$=e=>"KeyObject"===e?.[Symbol.toStringTag],G=e=>L(e)||$(e);async function F(e,a,t,o,r,n){if(!(L(a)||a instanceof Uint8Array))throw new TypeError(_(a,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!o)throw new S("JWE Initialization Vector missing");if(!r)throw new S("JWE Authentication Tag missing");switch(W(e,o),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return a instanceof Uint8Array&&I(a,parseInt(e.slice(-3),10)),async function(e,a,t,o,r,n){if(!(a instanceof Uint8Array))throw new TypeError(_(a,"Uint8Array"));const i=parseInt(e.slice(1,4),10),s=await crypto.subtle.importKey("raw",a.subarray(i>>3),"AES-CBC",!1,["decrypt"]),u=await crypto.subtle.importKey("raw",a.subarray(0,i>>3),{hash:"SHA-"+(i<<1),name:"HMAC"},!1,["sign"]),d=c(n,o,t,l(n.length<<3)),m=new Uint8Array((await crypto.subtle.sign("HMAC",u,d)).slice(0,i>>3));let h,p;try{h=await async function(e,a){if(!(e instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(a instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");const t={name:"HMAC",hash:"SHA-256"},o=await crypto.subtle.generateKey(t,!1,["sign"]),r=new Uint8Array(await crypto.subtle.sign(t,o,e)),n=new Uint8Array(await crypto.subtle.sign(t,o,a));let i=0,s=-1;for(;++s<32;)i|=r[s]^n[s];return 0===i}(r,m)}catch{}if(!h)throw new x;try{p=new Uint8Array(await crypto.subtle.decrypt({iv:o,name:"AES-CBC"},s,t))}catch{}if(!p)throw new x;return p}(e,a,t,o,r,n);case"A128GCM":case"A192GCM":case"A256GCM":return a instanceof Uint8Array&&I(a,parseInt(e.slice(1,4),10)),async function(e,a,t,o,r,n){let i;a instanceof Uint8Array?i=await crypto.subtle.importKey("raw",a,"AES-GCM",!1,["decrypt"]):(D(a,e,"decrypt"),i=a);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:n,iv:o,name:"AES-GCM",tagLength:128},i,c(t,r)))}catch{throw new x}}(e,a,t,o,r,n);default:throw new v("Unsupported JWE Content Encryption Algorithm")}}function B(...e){const a=e.filter(Boolean);if(0===a.length||1===a.length)return!0;let t;for(const e of a){const a=Object.keys(e);if(t&&0!==t.size)for(const e of a){if(t.has(e))return!1;t.add(e)}else t=new Set(a)}return!0}function V(e){if("object"!=typeof(a=e)||null===a||"[object Object]"!==Object.prototype.toString.call(e))return!1;var a;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function X(e,a){if(e.algorithm.length!==parseInt(a.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${a}`)}function Y(e,a,t){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"AES-KW",!0,[t]):(D(e,a,t),e)}async function Q(e,a,t){const o=await Y(a,e,"wrapKey");X(o,e);const r=await crypto.subtle.importKey("raw",t,{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.wrapKey("raw",r,o,"AES-KW"))}async function Z(e,a,t){const o=await Y(a,e,"unwrapKey");X(o,e);const r=await crypto.subtle.unwrapKey("raw",t,o,"AES-KW",{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.exportKey("raw",r))}async function ee(e,a){const t=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(t,a))}function ae(e){return c(d(e.length),e)}async function te(e,a,t,o,r=new Uint8Array,n=new Uint8Array){D(e,"ECDH"),D(a,"ECDH","deriveBits");const i=c(ae(m(t)),ae(r),ae(n),d(o),new Uint8Array),s=new Uint8Array(await crypto.subtle.deriveBits({name:e.algorithm.name,public:e},a,function(e){return"X25519"===e.algorithm.name?256:Math.ceil(parseInt(e.algorithm.namedCurve.slice(-3),10)/8)<<3}(e)));return async function(e,a,t){const o=a>>3,r=Math.ceil(o/32),n=new Uint8Array(32*r);for(let a=1;a<=r;a++){const o=new Uint8Array(4+e.length+t.length);o.set(d(a),0),o.set(e,4),o.set(t,4+e.length);const r=await ee("sha256",o);n.set(r,32*(a-1))}return n.slice(0,o)}(s,o,i)}function oe(e){switch(e.algorithm.namedCurve){case"P-256":case"P-384":case"P-521":return!0;default:return"X25519"===e.algorithm.name}}async function re(e,a,t,o){if(!(e instanceof Uint8Array)||e.length<8)throw new S("PBES2 Salt Input must be 8 or more octets");const r=((e,a)=>c(m(e),Uint8Array.of(0),a))(a,e),n=parseInt(a.slice(13,16),10),i={hash:`SHA-${a.slice(8,11)}`,iterations:t,name:"PBKDF2",salt:r},s=await function(e,a){return e instanceof Uint8Array?crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]):(D(e,a,"deriveBits"),e)}(o,a);return new Uint8Array(await crypto.subtle.deriveBits(i,s,n))}function ne(e,a){if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:t}=a.algorithm;if("number"!=typeof t||t<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}const ie=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new v(`alg ${e} is not supported either by JOSE or your javascript runtime`)}};function se(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new v(`Unsupported JWE Algorithm: ${e}`)}}const ce=e=>crypto.getRandomValues(new Uint8Array(se(e)>>3)),ue=(e,a)=>`-----BEGIN ${a}-----\n${(e.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${a}-----`,le=async(e,a,t)=>{if($(t)){if(t.type!==e)throw new TypeError(`key is not a ${e} key`);return t.export({format:"pem",type:a})}if(!L(t))throw new TypeError(_(t,"CryptoKey","KeyObject"));if(!t.extractable)throw new TypeError("CryptoKey is not extractable");if(t.type!==e)throw new TypeError(`key is not a ${e} key`);return ue(h(new Uint8Array(await crypto.subtle.exportKey(a,t))),`${e.toUpperCase()} KEY`)},de=(e,a)=>{if(e.byteLength!==a.length)return!1;for(let t=0;t<e.byteLength;t++)if(e[t]!==a[t])return!1;return!0},me=e=>({data:e,pos:0}),he=e=>{const a=e.data[e.pos++];if(128&a){const t=127&a;let o=0;for(let a=0;a<t;a++)o=o<<8|e.data[e.pos++];return o}return a},pe=(e,a=1)=>{if(a<=0)return;e.pos++;const t=he(e);e.pos+=t,a>1&&pe(e,a-1)},ge=(e,a,t)=>{if(e.data[e.pos++]!==a)throw new Error(t)},ye=(e,a)=>{const t=e.data.subarray(e.pos,e.pos+a);return e.pos+=a,t},fe=e=>{const a=(e=>{ge(e,6,"Expected algorithm OID");const a=he(e);return ye(e,a)})(e);if(de(a,[43,101,110]))return"X25519";if(!de(a,[42,134,72,206,61,2,1]))throw new Error("Unsupported key algorithm");ge(e,6,"Expected curve OID");const t=he(e),o=ye(e,t);for(const{name:e,oid:a}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(de(o,a))return e;throw new Error("Unsupported named curve")},ke=async(e,a,t,o)=>{let r,n;const i="spki"===e,s=()=>i?["verify"]:["sign"];switch(t){case"PS256":case"PS384":case"PS512":r={name:"RSA-PSS",hash:`SHA-${t.slice(-3)}`},n=s();break;case"RS256":case"RS384":case"RS512":r={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${t.slice(-3)}`},n=s();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":r={name:"RSA-OAEP",hash:`SHA-${parseInt(t.slice(-3),10)||1}`},n=i?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":r={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[t]},n=s();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{const e=o.getNamedCurve(a);r="X25519"===e?{name:"X25519"}:{name:"ECDH",namedCurve:e}}catch(e){throw new v("Invalid or unsupported key format")}n=i?[]:["deriveBits"];break;case"Ed25519":case"EdDSA":r={name:"Ed25519"},n=s();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":r={name:t},n=s();break;default:throw new v('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(e,a,r,o?.extractable??!!i,n)},be=(e,a)=>p(e.replace(a,"")),we=(e,a,t)=>{const o=be(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);let r=t;return a?.startsWith?.("ECDH-ES")&&(r||={},r.getNamedCurve=e=>{const a=me(e);return function(e){ge(e,48,"Invalid SPKI structure"),he(e),ge(e,48,"Expected algorithm identifier");he(e);e.pos}(a),fe(a)}),ke("spki",o,a,r)};async function ve(e){if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:a,keyUsages:t}=function(e){let a,t;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":a={name:e.alg},t=e.priv?["sign"]:["verify"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":a={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},t=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":a={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},t=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":a={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},t=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":a={name:"ECDSA",namedCurve:"P-256"},t=e.d?["sign"]:["verify"];break;case"ES384":a={name:"ECDSA",namedCurve:"P-384"},t=e.d?["sign"]:["verify"];break;case"ES512":a={name:"ECDSA",namedCurve:"P-521"},t=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":a={name:"ECDH",namedCurve:e.crv},t=e.d?["deriveBits"]:[];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":a={name:"Ed25519"},t=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":a={name:e.crv},t=e.d?["deriveBits"]:[];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new v('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:a,keyUsages:t}}(e),o={...e};return"AKP"!==o.kty&&delete o.alg,delete o.use,crypto.subtle.importKey("jwk",o,a,e.ext??(!e.d&&!e.priv),e.key_ops??t)}async function xe(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return we(e,a,t)}async function Se(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return((e,a,t)=>{let o;try{o=function(e){return function(e){const a=me(e);ge(a,48,"Invalid certificate structure"),he(a),ge(a,48,"Invalid tbsCertificate structure"),he(a),160===e[a.pos]?pe(a,6):pe(a,5);const t=a.pos;ge(a,48,"Invalid SPKI structure");const o=he(a);return e.subarray(t,t+o+(a.pos-t))}(be(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g))}(e)}catch(e){throw new TypeError("Failed to parse the X.509 certificate",{cause:e})}return we(ue(h(o),"PUBLIC KEY"),a,t)})(e,a,t)}async function Ae(e,a,t){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return((e,a,t)=>{const o=be(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);let r=t;return a?.startsWith?.("ECDH-ES")&&(r||={},r.getNamedCurve=e=>{const a=me(e);return function(e){ge(e,48,"Invalid PKCS#8 structure"),he(e),ge(e,2,"Expected version field");const a=he(e);e.pos+=a,ge(e,48,"Expected algorithm identifier"),he(e),e.pos}(a),fe(a)}),ke("pkcs8",o,a,r)})(e,a,t)}async function Ee(e,a,t){if(!V(e))throw new TypeError("JWK must be an object");let o;switch(a??=e.alg,o??=t?.extractable??e.ext,e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return g(e.k);case"RSA":if("oth"in e&&void 0!==e.oth)throw new v('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return ve({...e,alg:a,ext:o});case"AKP":if("string"!=typeof e.alg||!e.alg)throw new TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==a&&a!==e.alg)throw new TypeError("JWK alg and alg option value mismatch");return ve({...e,ext:o});case"EC":case"OKP":return ve({...e,alg:a,ext:o});default:throw new v('Unsupported "kty" (Key Type) Parameter value')}}async function je(e,a,t,o,r){if(!(L(t)||t instanceof Uint8Array))throw new TypeError(_(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));var n;switch(o?W(e,o):(n=e,o=crypto.getRandomValues(new Uint8Array(T(n)>>3))),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t instanceof Uint8Array&&I(t,parseInt(e.slice(-3),10)),async function(e,a,t,o,r){if(!(t instanceof Uint8Array))throw new TypeError(_(t,"Uint8Array"));const n=parseInt(e.slice(1,4),10),i=await crypto.subtle.importKey("raw",t.subarray(n>>3),"AES-CBC",!1,["encrypt"]),s=await crypto.subtle.importKey("raw",t.subarray(0,n>>3),{hash:"SHA-"+(n<<1),name:"HMAC"},!1,["sign"]),u=new Uint8Array(await crypto.subtle.encrypt({iv:o,name:"AES-CBC"},i,a)),d=c(r,o,u,l(r.length<<3));return{ciphertext:u,tag:new Uint8Array((await crypto.subtle.sign("HMAC",s,d)).slice(0,n>>3)),iv:o}}(e,a,t,o,r);case"A128GCM":case"A192GCM":case"A256GCM":return t instanceof Uint8Array&&I(t,parseInt(e.slice(1,4),10)),async function(e,a,t,o,r){let n;t instanceof Uint8Array?n=await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["encrypt"]):(D(t,e,"encrypt"),n=t);const i=new Uint8Array(await crypto.subtle.encrypt({additionalData:r,iv:o,name:"AES-GCM",tagLength:128},n,a)),s=i.slice(-16);return{ciphertext:i.slice(0,-16),tag:s,iv:o}}(e,a,t,o,r);default:throw new v("Unsupported JWE Content Encryption Algorithm")}}function ze(e,a,t,o,r){if(void 0!==r.crit&&void 0===o?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!o||void 0===o.crit)return new Set;if(!Array.isArray(o.crit)||0===o.crit.length||o.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let n;n=void 0!==t?new Map([...Object.entries(t),...a.entries()]):a;for(const a of o.crit){if(!n.has(a))throw new v(`Extension Header Parameter "${a}" is not recognized`);if(void 0===r[a])throw new e(`Extension Header Parameter "${a}" is missing`);if(n.get(a)&&void 0===o[a])throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`)}return new Set(o.crit)}function Ce(e,a){if(void 0!==a&&(!Array.isArray(a)||a.some(e=>"string"!=typeof e)))throw new TypeError(`"${e}" option must be an array of strings`);if(a)return new Set(a)}const Pe=e=>V(e)&&"string"==typeof e.kty;let He;const Ke=async(e,a,t,o=!1)=>{He||=new WeakMap;let r=He.get(e);if(r?.[t])return r[t];const n=await ve({...a,alg:t});return o&&Object.freeze(e),r?r[t]=n:He.set(e,{[t]:n}),n};async function Te(e,a){if(e instanceof Uint8Array)return e;if(L(e))return e;if($(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return((e,a)=>{He||=new WeakMap;let t=He.get(e);if(t?.[a])return t[a];const o="public"===e.type,r=!!o;let n;if("x25519"===e.asymmetricKeyType){switch(a){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}n=e.toCryptoKey(e.asymmetricKeyType,r,o?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==a&&"Ed25519"!==a)throw new TypeError("given KeyObject instance cannot be used for this algorithm");n=e.toCryptoKey(e.asymmetricKeyType,r,[o?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(a!==e.asymmetricKeyType.toUpperCase())throw new TypeError("given KeyObject instance cannot be used for this algorithm");n=e.toCryptoKey(e.asymmetricKeyType,r,[o?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let t;switch(a){case"RSA-OAEP":t="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":t="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":t="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":t="SHA-512";break;default:throw new TypeError("given KeyObject instance cannot be used for this algorithm")}if(a.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:t},r,o?["encrypt"]:["decrypt"]);n=e.toCryptoKey({name:a.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:t},r,[o?"verify":"sign"])}if("ec"===e.asymmetricKeyType){const t=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!t)throw new TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===a&&"P-256"===t&&(n=e.toCryptoKey({name:"ECDSA",namedCurve:t},r,[o?"verify":"sign"])),"ES384"===a&&"P-384"===t&&(n=e.toCryptoKey({name:"ECDSA",namedCurve:t},r,[o?"verify":"sign"])),"ES512"===a&&"P-521"===t&&(n=e.toCryptoKey({name:"ECDSA",namedCurve:t},r,[o?"verify":"sign"])),a.startsWith("ECDH-ES")&&(n=e.toCryptoKey({name:"ECDH",namedCurve:t},r,o?[]:["deriveBits"]))}if(!n)throw new TypeError("given KeyObject instance cannot be used for this algorithm");return t?t[a]=n:He.set(e,{[a]:n}),n})(e,a)}catch(e){if(e instanceof TypeError)throw e}let t=e.export({format:"jwk"});return Ke(e,t,a)}if(Pe(e))return e.k?g(e.k):Ke(e,e,a,!0);throw new Error("unreachable")}const We=e=>e?.[Symbol.toStringTag],Ie=(e,a,t)=>{if(void 0!==a.use){let e;switch(t){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(a.use!==e)throw new TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==a.alg&&a.alg!==e)throw new TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(a.key_ops)){let o;switch(!0){case"sign"===t||"verify"===t:case"dir"===e:case e.includes("CBC-HS"):o=t;break;case e.startsWith("PBES2"):o="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):o=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===t?"wrapKey":"unwrapKey":t;break;case"encrypt"===t&&e.startsWith("RSA"):o="wrapKey";break;case"decrypt"===t:o=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(o&&!1===a.key_ops?.includes?.(o))throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${o}" when present`)}return!0};function Re(e,a,t){switch(e.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":((e,a,t)=>{if(!(a instanceof Uint8Array)){if(Pe(a)){if((e=>"oct"===e.kty&&"string"==typeof e.k)(a)&&Ie(e,a,t))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!G(a))throw new TypeError(q(e,a,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==a.type)throw new TypeError(`${We(a)} instances for symmetric algorithms must be of type "secret"`)}})(e,a,t);break;default:((e,a,t)=>{if(Pe(a))switch(t){case"decrypt":case"sign":if((e=>"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d))(a)&&Ie(e,a,t))return;throw new TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if((e=>"oct"!==e.kty&&void 0===e.d&&void 0===e.priv)(a)&&Ie(e,a,t))return;throw new TypeError("JSON Web Key for this operation must be a public JWK")}if(!G(a))throw new TypeError(q(e,a,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===a.type)throw new TypeError(`${We(a)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===a.type)switch(t){case"sign":throw new TypeError(`${We(a)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw new TypeError(`${We(a)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===a.type)switch(t){case"verify":throw new TypeError(`${We(a)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw new TypeError(`${We(a)} instances for asymmetric algorithm encryption must be of type "public"`)}})(e,a,t)}}async function Oe(e,a,t){if(!V(e))throw new S("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new S("JOSE Header missing");if(void 0!==e.iv&&"string"!=typeof e.iv)throw new S("JWE Initialization Vector incorrect type");if("string"!=typeof e.ciphertext)throw new S("JWE Ciphertext missing or incorrect type");if(void 0!==e.tag&&"string"!=typeof e.tag)throw new S("JWE Authentication Tag incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new S("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new S("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new S("JWE AAD incorrect type");if(void 0!==e.header&&!V(e.header))throw new S("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!V(e.unprotected))throw new S("JWE Per-Recipient Unprotected Header incorrect type");let o;if(e.protected)try{const a=g(e.protected);o=JSON.parse(i.decode(a))}catch{throw new S("JWE Protected Header is invalid")}if(!B(o,e.header,e.unprotected))throw new S("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const r={...o,...e.header,...e.unprotected};if(ze(S,new Map,t?.crit,o,r),void 0!==r.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:n,enc:s}=r;if("string"!=typeof n||!n)throw new S("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof s||!s)throw new S("missing JWE Encryption Algorithm (enc) in JWE Header");const u=t&&Ce("keyManagementAlgorithms",t.keyManagementAlgorithms),l=t&&Ce("contentEncryptionAlgorithms",t.contentEncryptionAlgorithms);if(u&&!u.has(n)||!u&&n.startsWith("PBES2"))throw new w('"alg" (Algorithm) Header Parameter value not allowed');if(l&&!l.has(s))throw new w('"enc" (Encryption Algorithm) Header Parameter value not allowed');let d;if(void 0!==e.encrypted_key)try{d=g(e.encrypted_key)}catch{throw new S("Failed to base64url decode the encrypted_key")}let h=!1;"function"==typeof a&&(a=await a(o,e),h=!0),Re("dir"===n?s:n,a,"decrypt");const p=await Te(a,n);let y,f,k;try{y=await async function(e,a,t,o,r){switch(e){case"dir":if(void 0!==t)throw new S("Encountered unexpected JWE Encrypted Key");return a;case"ECDH-ES":if(void 0!==t)throw new S("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!V(o.epk))throw new S('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(N(a),!oe(a))throw new v("ECDH with the provided key is not allowed or not supported by your javascript runtime");const r=await Ee(o.epk,e);let n,i;if(N(r),void 0!==o.apu){if("string"!=typeof o.apu)throw new S('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{n=g(o.apu)}catch{throw new S("Failed to base64url decode the apu")}}if(void 0!==o.apv){if("string"!=typeof o.apv)throw new S('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{i=g(o.apv)}catch{throw new S("Failed to base64url decode the apv")}}const s=await te(r,a,"ECDH-ES"===e?o.enc:e,"ECDH-ES"===e?se(o.enc):parseInt(e.slice(-5,-2),10),n,i);if("ECDH-ES"===e)return s;if(void 0===t)throw new S("JWE Encrypted Key missing");return Z(e.slice(-6),s,t)}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===t)throw new S("JWE Encrypted Key missing");return N(a),async function(e,a,t){return D(a,e,"decrypt"),ne(e,a),new Uint8Array(await crypto.subtle.decrypt(ie(e),a,t))}(e,a,t);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===t)throw new S("JWE Encrypted Key missing");if("number"!=typeof o.p2c)throw new S('JOSE Header "p2c" (PBES2 Count) missing or invalid');const n=r?.maxPBES2Count||1e4;if(o.p2c>n)throw new S('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof o.p2s)throw new S('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let i;try{i=g(o.p2s)}catch{throw new S("Failed to base64url decode the p2s")}return async function(e,a,t,o,r){const n=await re(r,e,o,a);return Z(e.slice(-6),n,t)}(e,a,t,o.p2c,i)}case"A128KW":case"A192KW":case"A256KW":if(void 0===t)throw new S("JWE Encrypted Key missing");return Z(e,a,t);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===t)throw new S("JWE Encrypted Key missing");if("string"!=typeof o.iv)throw new S('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof o.tag)throw new S('JOSE Header "tag" (Authentication Tag) missing or invalid');let r,n;try{r=g(o.iv)}catch{throw new S("Failed to base64url decode the iv")}try{n=g(o.tag)}catch{throw new S("Failed to base64url decode the tag")}return async function(e,a,t,o,r){return F(e.slice(0,7),a,t,o,r,new Uint8Array)}(e,a,t,r,n)}default:throw new v('Invalid or unsupported "alg" (JWE Algorithm) header value')}}(n,p,d,r,t)}catch(e){if(e instanceof TypeError||e instanceof S||e instanceof v)throw e;y=ce(s)}if(void 0!==e.iv)try{f=g(e.iv)}catch{throw new S("Failed to base64url decode the iv")}if(void 0!==e.tag)try{k=g(e.tag)}catch{throw new S("Failed to base64url decode the tag")}const b=void 0!==e.protected?m(e.protected):new Uint8Array;let x,A;x=void 0!==e.aad?c(b,m("."),m(e.aad)):b;try{A=g(e.ciphertext)}catch{throw new S("Failed to base64url decode the ciphertext")}const E={plaintext:await F(s,y,A,f,k,x)};if(void 0!==e.protected&&(E.protectedHeader=o),void 0!==e.aad)try{E.additionalAuthenticatedData=g(e.aad)}catch{throw new S("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(E.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(E.unprotectedHeader=e.header),h?{...E,key:p}:E}async function Je(e,a,t){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new S("Compact JWE must be a string or Uint8Array");const{0:o,1:r,2:n,3:s,4:c,length:u}=e.split(".");if(5!==u)throw new S("Invalid Compact JWE");const l=await Oe({ciphertext:s,iv:n||void 0,protected:o,tag:c||void 0,encrypted_key:r||void 0},a,t),d={plaintext:l.plaintext,protectedHeader:l.protectedHeader};return"function"==typeof a?{...d,key:l.key}:d}async function Ue(e,a,t){if(!V(e))throw new S("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(V))throw new S("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new S("JWE Recipients has no members");for(const o of e.recipients)try{return await Oe({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:o.encrypted_key,header:o.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},a,t)}catch{}throw new x}const De=Symbol();async function Me(e){return(e=>le("public","spki",e))(e)}async function _e(e){return(e=>le("private","pkcs8",e))(e)}async function qe(e){return async function(e){if($(e)){if("secret"!==e.type)return e.export({format:"jwk"});e=e.export()}if(e instanceof Uint8Array)return{kty:"oct",k:y(e)};if(!L(e))throw new TypeError(_(e,"CryptoKey","KeyObject","Uint8Array"));if(!e.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:a,key_ops:t,alg:o,use:r,...n}=await crypto.subtle.exportKey("jwk",e);return"AKP"===n.kty&&(n.alg=o),n}(e)}async function Ne(e,a,t,o,r={}){let n,i,s;switch(e){case"dir":s=t;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(N(t),!oe(t))throw new v("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:c,apv:u}=r;let l;l=r.epk?await Te(r.epk,e):(await crypto.subtle.generateKey(t.algorithm,!0,["deriveBits"])).privateKey;const{x:d,y:m,crv:h,kty:p}=await qe(l),g=await te(t,l,"ECDH-ES"===e?a:e,"ECDH-ES"===e?se(a):parseInt(e.slice(-5,-2),10),c,u);if(i={epk:{x:d,crv:h,kty:p}},"EC"===p&&(i.epk.y=m),c&&(i.apu=y(c)),u&&(i.apv=y(u)),"ECDH-ES"===e){s=g;break}s=o||ce(a);const f=e.slice(-6);n=await Q(f,g,s);break}case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":s=o||ce(a),N(t),n=await async function(e,a,t){return D(a,e,"encrypt"),ne(e,a),new Uint8Array(await crypto.subtle.encrypt(ie(e),a,t))}(e,t,s);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{s=o||ce(a);const{p2c:c,p2s:u}=r;({encryptedKey:n,...i}=await async function(e,a,t,o=2048,r=crypto.getRandomValues(new Uint8Array(16))){const n=await re(r,e,o,a);return{encryptedKey:await Q(e.slice(-6),n,t),p2c:o,p2s:y(r)}}(e,t,s,c,u));break}case"A128KW":case"A192KW":case"A256KW":s=o||ce(a),n=await Q(e,t,s);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{s=o||ce(a);const{iv:c}=r;({encryptedKey:n,...i}=await async function(e,a,t,o){const r=e.slice(0,7),n=await je(r,t,a,o,new Uint8Array);return{encryptedKey:n.ciphertext,iv:y(n.iv),tag:y(n.tag)}}(e,t,s,c));break}default:throw new v('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:s,encryptedKey:n,parameters:i}}class Le{#e;#a;#t;#o;#r;#n;#i;#s;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this.#e=e}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setSharedUnprotectedHeader(e){if(this.#t)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#t=e,this}setUnprotectedHeader(e){if(this.#o)throw new TypeError("setUnprotectedHeader can only be called once");return this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#r=e,this}setContentEncryptionKey(e){if(this.#n)throw new TypeError("setContentEncryptionKey can only be called once");return this.#n=e,this}setInitializationVector(e){if(this.#i)throw new TypeError("setInitializationVector can only be called once");return this.#i=e,this}async encrypt(e,a){if(!this.#a&&!this.#o&&!this.#t)throw new S("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!B(this.#a,this.#o,this.#t))throw new S("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const t={...this.#a,...this.#o,...this.#t};if(ze(S,new Map,a?.crit,this.#a,t),void 0!==t.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:o,enc:r}=t;if("string"!=typeof o||!o)throw new S('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof r||!r)throw new S('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let n,i,s,u,l,d;if(this.#n&&("dir"===o||"ECDH-ES"===o))throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${o}`);Re("dir"===o?r:o,e,"encrypt");{let t;const s=await Te(e,o);({cek:i,encryptedKey:n,parameters:t}=await Ne(o,r,s,this.#n,this.#s)),t&&(a&&De in a?this.#o?this.#o={...this.#o,...t}:this.setUnprotectedHeader(t):this.#a?this.#a={...this.#a,...t}:this.setProtectedHeader(t))}if(this.#a?(u=y(JSON.stringify(this.#a)),l=m(u)):(u="",l=new Uint8Array),this.#r){d=y(this.#r);const e=m(d);s=c(l,m("."),e)}else s=l;const{ciphertext:h,tag:p,iv:g}=await je(r,this.#e,i,this.#i,s),f={ciphertext:y(h)};return g&&(f.iv=y(g)),p&&(f.tag=y(p)),n&&(f.encrypted_key=y(n)),d&&(f.aad=d),this.#a&&(f.protected=u),this.#t&&(f.unprotected=this.#t),this.#o&&(f.header=this.#o),f}}class $e{#c;unprotectedHeader;keyManagementParameters;key;options;constructor(e,a,t){this.#c=e,this.key=a,this.options=t}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}setKeyManagementParameters(e){if(this.keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this.keyManagementParameters=e,this}addRecipient(...e){return this.#c.addRecipient(...e)}encrypt(...e){return this.#c.encrypt(...e)}done(){return this.#c}}class Ge{#e;#u=[];#a;#o;#r;constructor(e){this.#e=e}addRecipient(e,a){const t=new $e(this,e,{crit:a?.crit});return this.#u.push(t),t}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setSharedUnprotectedHeader(e){if(this.#o)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#r=e,this}async encrypt(){if(!this.#u.length)throw new S("at least one recipient must be added");if(1===this.#u.length){const[e]=this.#u,a=await new Le(this.#e).setAdditionalAuthenticatedData(this.#r).setProtectedHeader(this.#a).setSharedUnprotectedHeader(this.#o).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options}),t={ciphertext:a.ciphertext,iv:a.iv,recipients:[{}],tag:a.tag};return a.aad&&(t.aad=a.aad),a.protected&&(t.protected=a.protected),a.unprotected&&(t.unprotected=a.unprotected),a.encrypted_key&&(t.recipients[0].encrypted_key=a.encrypted_key),a.header&&(t.recipients[0].header=a.header),t}let e;for(let a=0;a<this.#u.length;a++){const t=this.#u[a];if(!B(this.#a,this.#o,t.unprotectedHeader))throw new S("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const o={...this.#a,...this.#o,...t.unprotectedHeader},{alg:r}=o;if("string"!=typeof r||!r)throw new S('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===r||"ECDH-ES"===r)throw new S('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof o.enc||!o.enc)throw new S('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(e){if(e!==o.enc)throw new S('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else e=o.enc;if(ze(S,new Map,t.options.crit,this.#a,o),void 0!==o.zip)throw new v('JWE "zip" (Compression Algorithm) Header Parameter is not supported.')}const a=ce(e),t={ciphertext:"",recipients:[]};for(let o=0;o<this.#u.length;o++){const r=this.#u[o],n={};if(t.recipients.push(n),0===o){const e=await new Le(this.#e).setAdditionalAuthenticatedData(this.#r).setContentEncryptionKey(a).setProtectedHeader(this.#a).setSharedUnprotectedHeader(this.#o).setUnprotectedHeader(r.unprotectedHeader).setKeyManagementParameters(r.keyManagementParameters).encrypt(r.key,{...r.options,[De]:!0});t.ciphertext=e.ciphertext,t.iv=e.iv,t.tag=e.tag,e.aad&&(t.aad=e.aad),e.protected&&(t.protected=e.protected),e.unprotected&&(t.unprotected=e.unprotected),n.encrypted_key=e.encrypted_key,e.header&&(n.header=e.header);continue}const i=r.unprotectedHeader?.alg||this.#a?.alg||this.#o?.alg;Re("dir"===i?e:i,r.key,"encrypt");const s=await Te(r.key,i),{encryptedKey:c,parameters:u}=await Ne(i,e,s,a,r.keyManagementParameters);n.encrypted_key=y(c),(r.unprotectedHeader||u)&&(n.header={...r.unprotectedHeader,...u})}return t}}function Fe(e,a){const t=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:t,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:t,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:t,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:t,name:"ECDSA",namedCurve:a.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new v(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function Be(e,a,t){if(a instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(_(a,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",a,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[t])}return function(e,a,t){switch(a){case"HS256":case"HS384":case"HS512":{if(!O(e.algorithm,"HMAC"))throw R("HMAC");const t=parseInt(a.slice(2),10);if(J(e.algorithm.hash)!==t)throw R(`SHA-${t}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!O(e.algorithm,"RSASSA-PKCS1-v1_5"))throw R("RSASSA-PKCS1-v1_5");const t=parseInt(a.slice(2),10);if(J(e.algorithm.hash)!==t)throw R(`SHA-${t}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!O(e.algorithm,"RSA-PSS"))throw R("RSA-PSS");const t=parseInt(a.slice(2),10);if(J(e.algorithm.hash)!==t)throw R(`SHA-${t}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!O(e.algorithm,"Ed25519"))throw R("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!O(e.algorithm,a))throw R(a);break;case"ES256":case"ES384":case"ES512":{if(!O(e.algorithm,"ECDSA"))throw R("ECDSA");const t=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(a);if(e.algorithm.namedCurve!==t)throw R(t,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}U(e,t)}(a,e,t),a}async function Ve(e,a,t){if(!V(e))throw new A("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new A('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new A("JWS Protected Header incorrect type");if(void 0===e.payload)throw new A("JWS Payload missing");if("string"!=typeof e.signature)throw new A("JWS Signature missing or incorrect type");if(void 0!==e.header&&!V(e.header))throw new A("JWS Unprotected Header incorrect type");let o={};if(e.protected)try{const a=g(e.protected);o=JSON.parse(i.decode(a))}catch{throw new A("JWS Protected Header is invalid")}if(!B(o,e.header))throw new A("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const r={...o,...e.header};let s=!0;if(ze(A,new Map([["b64",!0]]),t?.crit,o,r).has("b64")&&(s=o.b64,"boolean"!=typeof s))throw new A('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:u}=r;if("string"!=typeof u||!u)throw new A('JWS "alg" (Algorithm) Header Parameter missing or invalid');const l=t&&Ce("algorithms",t.algorithms);if(l&&!l.has(u))throw new w('"alg" (Algorithm) Header Parameter value not allowed');if(s){if("string"!=typeof e.payload)throw new A("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new A("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof a&&(a=await a(o,e),d=!0),Re(u,a,"verify");const h=c(void 0!==e.protected?m(e.protected):new Uint8Array,m("."),"string"==typeof e.payload?s?m(e.payload):n.encode(e.payload):e.payload);let p;try{p=g(e.signature)}catch{throw new A("Failed to base64url decode the signature")}const y=await Te(a,u),f=await async function(e,a,t,o){const r=await Be(e,a,"verify");ne(e,r);const n=Fe(e,r.algorithm);try{return await crypto.subtle.verify(n,r,t,o)}catch{return!1}}(u,y,p,h);if(!f)throw new K;let k;if(s)try{k=g(e.payload)}catch{throw new A("Failed to base64url decode the payload")}else k="string"==typeof e.payload?n.encode(e.payload):e.payload;const b={payload:k};return void 0!==e.protected&&(b.protectedHeader=o),void 0!==e.header&&(b.unprotectedHeader=e.header),d?{...b,key:y}:b}async function Xe(e,a,t){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new A("Compact JWS must be a string or Uint8Array");const{0:o,1:r,2:n,length:s}=e.split(".");if(3!==s)throw new A("Invalid Compact JWS");const c=await Ve({payload:r,protected:o,signature:n},a,t),u={payload:c.payload,protectedHeader:c.protectedHeader};return"function"==typeof a?{...u,key:c.key}:u}async function Ye(e,a,t){if(!V(e))throw new A("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(V))throw new A("JWS Signatures missing or incorrect type");for(const o of e.signatures)try{return await Ve({header:o.header,payload:e.payload,protected:o.protected,signature:o.signature},a,t)}catch{}throw new K}const Qe=e=>Math.floor(e.getTime()/1e3),Ze=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function ea(e){const a=Ze.exec(e);if(!a||a[4]&&a[1])throw new TypeError("Invalid time period format");const t=parseFloat(a[2]);let o;switch(a[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":o=Math.round(t);break;case"minute":case"minutes":case"min":case"mins":case"m":o=Math.round(60*t);break;case"hour":case"hours":case"hr":case"hrs":case"h":o=Math.round(3600*t);break;case"day":case"days":case"d":o=Math.round(86400*t);break;case"week":case"weeks":case"w":o=Math.round(604800*t);break;default:o=Math.round(31557600*t)}return"-"===a[1]||"ago"===a[4]?-o:o}function aa(e,a){if(!Number.isFinite(a))throw new TypeError(`Invalid ${e} input`);return a}const ta=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`;function oa(e,a,t={}){let o;try{o=JSON.parse(i.decode(a))}catch{}if(!V(o))throw new E("JWT Claims Set must be a top-level JSON object");const{typ:r}=t;if(r&&("string"!=typeof e.typ||ta(e.typ)!==ta(r)))throw new k('unexpected "typ" JWT header value',o,"typ","check_failed");const{requiredClaims:n=[],issuer:s,subject:c,audience:u,maxTokenAge:l}=t,d=[...n];void 0!==l&&d.push("iat"),void 0!==u&&d.push("aud"),void 0!==c&&d.push("sub"),void 0!==s&&d.push("iss");for(const e of new Set(d.reverse()))if(!(e in o))throw new k(`missing required "${e}" claim`,o,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(o.iss))throw new k('unexpected "iss" claim value',o,"iss","check_failed");if(c&&o.sub!==c)throw new k('unexpected "sub" claim value',o,"sub","check_failed");if(u&&(h="string"==typeof u?[u]:u,!("string"==typeof(m=o.aud)?h.includes(m):Array.isArray(m)&&h.some(Set.prototype.has.bind(new Set(m))))))throw new k('unexpected "aud" claim value',o,"aud","check_failed");var m,h;let p;switch(typeof t.clockTolerance){case"string":p=ea(t.clockTolerance);break;case"number":p=t.clockTolerance;break;case"undefined":p=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:g}=t,y=Qe(g||new Date);if((void 0!==o.iat||l)&&"number"!=typeof o.iat)throw new k('"iat" claim must be a number',o,"iat","invalid");if(void 0!==o.nbf){if("number"!=typeof o.nbf)throw new k('"nbf" claim must be a number',o,"nbf","invalid");if(o.nbf>y+p)throw new k('"nbf" claim timestamp check failed',o,"nbf","check_failed")}if(void 0!==o.exp){if("number"!=typeof o.exp)throw new k('"exp" claim must be a number',o,"exp","invalid");if(o.exp<=y-p)throw new b('"exp" claim timestamp check failed',o,"exp","check_failed")}if(l){const e=y-o.iat;if(e-p>("number"==typeof l?l:ea(l)))throw new b('"iat" claim timestamp check failed (too far in the past)',o,"iat","check_failed");if(e<0-p)throw new k('"iat" claim timestamp check failed (it should be in the past)',o,"iat","check_failed")}return o}class ra{#l;constructor(e){if(!V(e))throw new TypeError("JWT Claims Set MUST be an object");this.#l=structuredClone(e)}data(){return n.encode(JSON.stringify(this.#l))}get iss(){return this.#l.iss}set iss(e){this.#l.iss=e}get sub(){return this.#l.sub}set sub(e){this.#l.sub=e}get aud(){return this.#l.aud}set aud(e){this.#l.aud=e}set jti(e){this.#l.jti=e}set nbf(e){"number"==typeof e?this.#l.nbf=aa("setNotBefore",e):e instanceof Date?this.#l.nbf=aa("setNotBefore",Qe(e)):this.#l.nbf=Qe(new Date)+ea(e)}set exp(e){"number"==typeof e?this.#l.exp=aa("setExpirationTime",e):e instanceof Date?this.#l.exp=aa("setExpirationTime",Qe(e)):this.#l.exp=Qe(new Date)+ea(e)}set iat(e){void 0===e?this.#l.iat=Qe(new Date):e instanceof Date?this.#l.iat=aa("setIssuedAt",Qe(e)):this.#l.iat=aa("setIssuedAt","string"==typeof e?Qe(new Date)+ea(e):e)}}async function na(e,a,t){const o=await Xe(e,a,t);if(o.protectedHeader.crit?.includes("b64")&&!1===o.protectedHeader.b64)throw new E("JWTs MUST NOT use unencoded payload");const r={payload:oa(o.protectedHeader,o.payload,t),protectedHeader:o.protectedHeader};return"function"==typeof a?{...r,key:o.key}:r}async function ia(e,a,t){const o=await Je(e,a,t),r=oa(o.protectedHeader,o.plaintext,t),{protectedHeader:n}=o;if(void 0!==n.iss&&n.iss!==r.iss)throw new k('replicated "iss" claim header parameter mismatch',r,"iss","mismatch");if(void 0!==n.sub&&n.sub!==r.sub)throw new k('replicated "sub" claim header parameter mismatch',r,"sub","mismatch");if(void 0!==n.aud&&JSON.stringify(n.aud)!==JSON.stringify(r.aud))throw new k('replicated "aud" claim header parameter mismatch',r,"aud","mismatch");const i={payload:r,protectedHeader:n};return"function"==typeof a?{...i,key:o.key}:i}class sa{#d;constructor(e){this.#d=new Le(e)}setContentEncryptionKey(e){return this.#d.setContentEncryptionKey(e),this}setInitializationVector(e){return this.#d.setInitializationVector(e),this}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}setKeyManagementParameters(e){return this.#d.setKeyManagementParameters(e),this}async encrypt(e,a){const t=await this.#d.encrypt(e,a);return[t.protected,t.encrypted_key,t.iv,t.ciphertext,t.tag].join(".")}}class ca{#l;#a;#o;constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this.#l=e}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setUnprotectedHeader(e){if(this.#o)throw new TypeError("setUnprotectedHeader can only be called once");return this.#o=e,this}async sign(e,a){if(!this.#a&&!this.#o)throw new A("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!B(this.#a,this.#o))throw new A("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const t={...this.#a,...this.#o};let o=!0;if(ze(A,new Map([["b64",!0]]),a?.crit,this.#a,t).has("b64")&&(o=this.#a.b64,"boolean"!=typeof o))throw new A('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:r}=t;if("string"!=typeof r||!r)throw new A('JWS "alg" (Algorithm) Header Parameter missing or invalid');let n,i,s,u;Re(r,e,"sign"),o?(n=y(this.#l),i=m(n)):(i=this.#l,n=""),this.#a?(s=y(JSON.stringify(this.#a)),u=m(s)):(s="",u=new Uint8Array);const l=c(u,m("."),i),d=await Te(e,r),h=await async function(e,a,t){const o=await Be(e,a,"sign");ne(e,o);const r=await crypto.subtle.sign(Fe(e,o.algorithm),o,t);return new Uint8Array(r)}(r,d,l),p={signature:y(h),payload:n};return this.#o&&(p.header=this.#o),this.#a&&(p.protected=s),p}}class ua{#d;constructor(e){this.#d=new ca(e)}setProtectedHeader(e){return this.#d.setProtectedHeader(e),this}async sign(e,a){const t=await this.#d.sign(e,a);if(void 0===t.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${t.protected}.${t.payload}.${t.signature}`}}class la{#c;protectedHeader;unprotectedHeader;options;key;constructor(e,a,t){this.#c=e,this.key=a,this.options=t}setProtectedHeader(e){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=e,this}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addSignature(...e){return this.#c.addSignature(...e)}sign(...e){return this.#c.sign(...e)}done(){return this.#c}}class da{#l;#m=[];constructor(e){this.#l=e}addSignature(e,a){const t=new la(this,e,a);return this.#m.push(t),t}async sign(){if(!this.#m.length)throw new A("at least one signature must be added");const e={signatures:[],payload:""};for(let a=0;a<this.#m.length;a++){const t=this.#m[a],o=new ca(this.#l);o.setProtectedHeader(t.protectedHeader),o.setUnprotectedHeader(t.unprotectedHeader);const{payload:r,...n}=await o.sign(t.key,t.options);if(0===a)e.payload=r;else if(e.payload!==r)throw new A("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(n)}return e}}class ma{#a;#h;constructor(e={}){this.#h=new ra(e)}setIssuer(e){return this.#h.iss=e,this}setSubject(e){return this.#h.sub=e,this}setAudience(e){return this.#h.aud=e,this}setJti(e){return this.#h.jti=e,this}setNotBefore(e){return this.#h.nbf=e,this}setExpirationTime(e){return this.#h.exp=e,this}setIssuedAt(e){return this.#h.iat=e,this}setProtectedHeader(e){return this.#a=e,this}async sign(e,a){const t=new ua(this.#h.data());if(t.setProtectedHeader(this.#a),Array.isArray(this.#a?.crit)&&this.#a.crit.includes("b64")&&!1===this.#a.b64)throw new E("JWTs MUST NOT use unencoded payload");return t.sign(e,a)}}class ha{#n;#i;#s;#a;#p;#g;#y;#h;constructor(e={}){this.#h=new ra(e)}setIssuer(e){return this.#h.iss=e,this}setSubject(e){return this.#h.sub=e,this}setAudience(e){return this.#h.aud=e,this}setJti(e){return this.#h.jti=e,this}setNotBefore(e){return this.#h.nbf=e,this}setExpirationTime(e){return this.#h.exp=e,this}setIssuedAt(e){return this.#h.iat=e,this}setProtectedHeader(e){if(this.#a)throw new TypeError("setProtectedHeader can only be called once");return this.#a=e,this}setKeyManagementParameters(e){if(this.#s)throw new TypeError("setKeyManagementParameters can only be called once");return this.#s=e,this}setContentEncryptionKey(e){if(this.#n)throw new TypeError("setContentEncryptionKey can only be called once");return this.#n=e,this}setInitializationVector(e){if(this.#i)throw new TypeError("setInitializationVector can only be called once");return this.#i=e,this}replicateIssuerAsHeader(){return this.#p=!0,this}replicateSubjectAsHeader(){return this.#g=!0,this}replicateAudienceAsHeader(){return this.#y=!0,this}async encrypt(e,a){const t=new sa(this.#h.data());return this.#a&&(this.#p||this.#g||this.#y)&&(this.#a={...this.#a,iss:this.#p?this.#h.iss:void 0,sub:this.#g?this.#h.sub:void 0,aud:this.#y?this.#h.aud:void 0}),t.setProtectedHeader(this.#a),this.#i&&t.setInitializationVector(this.#i),this.#n&&t.setContentEncryptionKey(this.#n),this.#s&&t.setKeyManagementParameters(this.#s),t.encrypt(e,a)}}const pa=(e,a)=>{if("string"!=typeof e||!e)throw new j(`${a} missing or invalid`)};async function ga(e,a){let t,o;if(Pe(e))t=e;else{if(!G(e))throw new TypeError(_(e,"CryptoKey","KeyObject","JSON Web Key"));t=await qe(e)}if(a??="sha256","sha256"!==a&&"sha384"!==a&&"sha512"!==a)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');switch(t.kty){case"AKP":pa(t.alg,'"alg" (Algorithm) Parameter'),pa(t.pub,'"pub" (Public key) Parameter'),o={alg:t.alg,kty:t.kty,pub:t.pub};break;case"EC":pa(t.crv,'"crv" (Curve) Parameter'),pa(t.x,'"x" (X Coordinate) Parameter'),pa(t.y,'"y" (Y Coordinate) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":pa(t.crv,'"crv" (Subtype of Key Pair) Parameter'),pa(t.x,'"x" (Public Key) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x};break;case"RSA":pa(t.e,'"e" (Exponent) Parameter'),pa(t.n,'"n" (Modulus) Parameter'),o={e:t.e,kty:t.kty,n:t.n};break;case"oct":pa(t.k,'"k" (Key Value) Parameter'),o={k:t.k,kty:t.kty};break;default:throw new v('"kty" (Key Type) Parameter missing or unsupported')}const r=m(JSON.stringify(o));return y(await ee(a,r))}async function ya(e,a){a??="sha256";const t=await ga(e,a);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${a.slice(-3)}:${t}`}async function fa(e,a){const t={...e,...a?.header};if(!V(t.jwk))throw new A('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const o=await Ee({...t.jwk,ext:!0},t.alg);if(o instanceof Uint8Array||"public"!==o.type)throw new A('"jwk" (JSON Web Key) Header Parameter must be a public key');return o}function ka(e){return V(e)}class ba{#f;#k=new WeakMap;constructor(e){if(!function(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(ka)}(e))throw new z("JSON Web Key Set malformed");this.#f=structuredClone(e)}jwks(){return this.#f}async getKey(e,a){const{alg:t,kid:o}={...e,...a?.header},r=function(e){switch("string"==typeof e&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new v('Unsupported "alg" value for a JSON Web Key Set')}}(t),n=this.#f.keys.filter(e=>{let a=r===e.kty;if(a&&"string"==typeof o&&(a=o===e.kid),!a||"string"!=typeof e.alg&&"AKP"!==r||(a=t===e.alg),a&&"string"==typeof e.use&&(a="sig"===e.use),a&&Array.isArray(e.key_ops)&&(a=e.key_ops.includes("verify")),a)switch(t){case"ES256":a="P-256"===e.crv;break;case"ES384":a="P-384"===e.crv;break;case"ES512":a="P-521"===e.crv;break;case"Ed25519":case"EdDSA":a="Ed25519"===e.crv}return a}),{0:i,length:s}=n;if(0===s)throw new C;if(1!==s){const e=new P,a=this.#k;throw e[Symbol.asyncIterator]=async function*(){for(const e of n)try{yield await wa(a,e,t)}catch{}},e}return wa(this.#k,i,t)}}async function wa(e,a,t){const o=e.get(a)||e.set(a,{}).get(a);if(void 0===o[t]){const e=await Ee({...a,ext:!0},t);if(e instanceof Uint8Array||"public"!==e.type)throw new z("JSON Web Key Set members must be public keys");o[t]=e}return o[t]}function va(e){const a=new ba(e),t=async(e,t)=>a.getKey(e,t);return Object.defineProperties(t,{jwks:{value:()=>structuredClone(a.jwks()),enumerable:!1,configurable:!1,writable:!1}}),t}let xa;"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(xa="jose/v6.1.3");const Sa=Symbol(),Aa=Symbol();class Ea{#b;#w;#v;#x;#S;#A;#E;#j;#z;#C;constructor(e,a){if(!(e instanceof URL))throw new TypeError("url must be an instance of URL");var t,o;this.#b=new URL(e.href),this.#w="number"==typeof a?.timeoutDuration?a?.timeoutDuration:5e3,this.#v="number"==typeof a?.cooldownDuration?a?.cooldownDuration:3e4,this.#x="number"==typeof a?.cacheMaxAge?a?.cacheMaxAge:6e5,this.#E=new Headers(a?.headers),xa&&!this.#E.has("User-Agent")&&this.#E.set("User-Agent",xa),this.#E.has("accept")||(this.#E.set("accept","application/json"),this.#E.append("accept","application/jwk-set+json")),this.#j=a?.[Sa],void 0!==a?.[Aa]&&(this.#C=a?.[Aa],t=a?.[Aa],o=this.#x,"object"==typeof t&&null!==t&&"uat"in t&&"number"==typeof t.uat&&!(Date.now()-t.uat>=o)&&"jwks"in t&&V(t.jwks)&&Array.isArray(t.jwks.keys)&&Array.prototype.every.call(t.jwks.keys,V)&&(this.#S=this.#C.uat,this.#z=va(this.#C.jwks)))}pendingFetch(){return!!this.#A}coolingDown(){return"number"==typeof this.#S&&Date.now()<this.#S+this.#v}fresh(){return"number"==typeof this.#S&&Date.now()<this.#S+this.#x}jwks(){return this.#z?.jwks()}async getKey(e,a){this.#z&&this.fresh()||await this.reload();try{return await this.#z(e,a)}catch(t){if(t instanceof C&&!1===this.coolingDown())return await this.reload(),this.#z(e,a);throw t}}async reload(){this.#A&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#A=void 0),this.#A||=async function(e,a,t,o=fetch){const r=await o(e,{method:"GET",signal:t,redirect:"manual",headers:a}).catch(e=>{if("TimeoutError"===e.name)throw new H;throw e});if(200!==r.status)throw new f("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await r.json()}catch{throw new f("Failed to parse the JSON Web Key Set HTTP response as JSON")}}(this.#b.href,this.#E,AbortSignal.timeout(this.#w),this.#j).then(e=>{this.#z=va(e),this.#C&&(this.#C.uat=Date.now(),this.#C.jwks=e),this.#S=Date.now(),this.#A=void 0}).catch(e=>{throw this.#A=void 0,e}),await this.#A}}function ja(e,a){const t=new Ea(e,a),o=async(e,a)=>t.getKey(e,a);return Object.defineProperties(o,{coolingDown:{get:()=>t.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>t.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>t.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>t.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>t.jwks(),enumerable:!0,configurable:!1,writable:!1}}),o}class za{#h;constructor(e={}){this.#h=new ra(e)}encode(){return`${y(JSON.stringify({alg:"none"}))}.${y(this.#h.data())}.`}setIssuer(e){return this.#h.iss=e,this}setSubject(e){return this.#h.sub=e,this}setAudience(e){return this.#h.aud=e,this}setJti(e){return this.#h.jti=e,this}setNotBefore(e){return this.#h.nbf=e,this}setExpirationTime(e){return this.#h.exp=e,this}setIssuedAt(e){return this.#h.iat=e,this}static decode(e,a){if("string"!=typeof e)throw new E("Unsecured JWT must be a string");const{0:t,1:o,2:r,length:n}=e.split(".");if(3!==n||""!==r)throw new E("Invalid Unsecured JWT");let s;try{if(s=JSON.parse(i.decode(g(t))),"none"!==s.alg)throw new Error}catch{throw new E("Invalid Unsecured JWT")}return{payload:oa(s,g(o),a),header:s}}}function Ca(e){let a;if("string"==typeof e){const t=e.split(".");3!==t.length&&5!==t.length||([a]=t)}else if("object"==typeof e&&e){if(!("protected"in e))throw new TypeError("Token does not contain a Protected Header");a=e.protected}try{if("string"!=typeof a||!a)throw new Error;const e=JSON.parse(i.decode(g(a)));if(!V(e))throw new Error;return e}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}function Pa(e){if("string"!=typeof e)throw new E("JWTs must use Compact JWS serialization, JWT must be a string");const{1:a,length:t}=e.split(".");if(5===t)throw new E("Only JWTs using Compact JWS serialization can be decoded");if(3!==t)throw new E("Invalid JWT");if(!a)throw new E("JWTs must contain a payload");let o,r;try{o=g(a)}catch{throw new E("Failed to base64url decode the payload")}try{r=JSON.parse(i.decode(o))}catch{throw new E("Failed to parse the decoded payload as JSON")}if(!V(r))throw new E("Invalid JWT Claims Set");return r}function Ha(e){const a=e?.modulusLength??2048;if("number"!=typeof a||a<2048)throw new v("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return a}async function Ka(e,a){let t,o;switch(e){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:Ha(a)},o=["sign","verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:Ha(a)},o=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:Uint8Array.of(1,0,1),modulusLength:Ha(a)},o=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":t={name:"ECDSA",namedCurve:"P-256"},o=["sign","verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},o=["sign","verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},o=["sign","verify"];break;case"Ed25519":case"EdDSA":o=["sign","verify"],t={name:"Ed25519"};break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":o=["sign","verify"],t={name:e};break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{o=["deriveBits"];const e=a?.crv??"P-256";switch(e){case"P-256":case"P-384":case"P-521":t={name:"ECDH",namedCurve:e};break;case"X25519":t={name:"X25519"};break;default:throw new v("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519")}break}default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(t,a?.extractable??!1,o)}async function Ta(e,a){let t,o,r;switch(e){case"HS256":case"HS384":case"HS512":t=parseInt(e.slice(-3),10),o={name:"HMAC",hash:`SHA-${t}`,length:t},r=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t=parseInt(e.slice(-3),10),crypto.getRandomValues(new Uint8Array(t>>3));case"A128KW":case"A192KW":case"A256KW":t=parseInt(e.slice(1,4),10),o={name:"AES-KW",length:t},r=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":t=parseInt(e.slice(1,4),10),o={name:"AES-GCM",length:t},r=["encrypt","decrypt"];break;default:throw new v('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return crypto.subtle.generateKey(o,a?.extractable??!1,r)}const Wa="WebCryptoAPI"},338(e,a,t){var o=t(795);a.H=o.createRoot,o.hydrateRoot},544(e,a,t){var o,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,c={};((e,a)=>{for(var t in a)r(e,t,{get:a[t],enumerable:!0})})(c,{TEXT_DOMAIN:()=>v,clearMfaPreferences:()=>J,configureAmplify:()=>T,getAmplifyConfig:()=>K,getGateyPlugin:()=>l,getGroups:()=>N,getMfaPreferences:()=>M,getPreferredRole:()=>$,getRoles:()=>L,getScopes:()=>G,getStore:()=>m,getStoreDispatch:()=>C,getStoreSelect:()=>P,getUserAttributes:()=>D,initializeGatey:()=>ee,isAuthenticated:()=>_,isInGroup:()=>q,loadAuthSession:()=>W,loadMFAPreferences:()=>R,loadUserAttributes:()=>I,login:()=>F,logout:()=>B,observeStore:()=>H,sanitizeAuthenticatorConfig:()=>A,store:()=>Z,waitForGateyReady:()=>d}),e.exports=(o=c,((e,a,t,o)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of i(a))!s.call(e,t)&&void 0!==t&&r(e,t,{get:()=>a[t],enumerable:!(o=n(a,t))||o.enumerable});return e})(r({},"__esModule",{value:!0}),o));var u=t(752);function l(){return globalThis.WpSuite?.plugins?.gatey}async function d(e=8e3){let a=l();if("available"!==a?.status){if("error"===a?.status)throw new Error("Gatey failed");await new Promise((a,t)=>{let o=()=>n(a),r=()=>n(()=>t(new Error("Gatey failed"))),n=e=>{window.removeEventListener("wpsuite:gatey:ready",o),window.removeEventListener("wpsuite:gatey:error",r),i&&clearTimeout(i),e()};window.addEventListener("wpsuite:gatey:ready",o,{once:!0}),window.addEventListener("wpsuite:gatey:error",r,{once:!0});let i=e?window.setTimeout(()=>n(()=>t(new Error("Gatey timeout"))),e):0})}}async function m(e=1e4){await d(e);let a=l()?.cognito?.store;if(!a)throw new Error("Gatey store is not available");return a}var h,p=t(752),g=t(752),y=t(752),f=t(752),k=t(143),b=t(661),w="gatey_account",v="gatey";h=typeof WpSuite<"u"?WpSuite.siteSettings:{};var x=e=>{e?.username?window.localStorage.setItem(w,JSON.stringify(e)):window.localStorage.removeItem(w)},S=async e=>{let a=JSON.parse(window.localStorage.getItem(w)??"{}"),t=!1;if(a?.username)try{let e=await(0,y.fetchAuthSession)();e?.tokens?.accessToken?.payload?.exp&&e.tokens.accessToken.payload.exp>(new Date).getTime()/1e3&&(t=!0)}catch(e){console.error(e)}else try{a=await O(!1),a?.username&&(x(a),a.loaded=!0,t=!0)}catch(e){console.error(e)}return!t&&a?.username&&(x({}),m().then(async a=>{await B(e?.signOutHook),C(a).clearAccount()})),a},A=e=>{let a=e&&"object"==typeof e?e:{},t={customProviders:Array.isArray(a.customProviders)?a.customProviders:[],formFields:Array.isArray(a.formFields)?a.formFields:[],apiConfigurations:"object"==typeof a.apiConfigurations&&a.apiConfigurations?a.apiConfigurations:{default:{apis:[]}}};return"string"==typeof a.subscriptionType&&(t.subscriptionType=a.subscriptionType),t},E={setAmplifyConfig:e=>({type:"SET_AMPLIFY_CONFIG",amplifyConfig:e}),setAccount:e=>({type:"SET_ACCOUNT",account:e}),clearAccount:()=>({type:"CLEAR_ACCOUNT"}),setSignedIn:e=>({type:"SET_SIGNED_IN",signedIn:e}),setNextUrl:e=>({type:"SET_NEXT_URL",nextUrl:e}),setLanguage:e=>(e&&"system"!==e?f.I18n.setLanguage(e):f.I18n.setLanguage(""),{type:"SET_LANGUAGE",language:e}),setDirection:e=>({type:"SET_DIRECTION",direction:e}),reloadAuthSession:()=>({type:"RELOAD_AUTH_SESSION"}),reloadUserAttributes:()=>({type:"RELOAD_USER_ATTRIBUTES"}),reloadMFAPreferences:()=>({type:"RELOAD_MFA_PREFERENCE"})},j={getAmplifyConfig:e=>e.amplifyConfig,getAccount:e=>e.account,getNextUrl:e=>e.nextUrl,isSignedIn:e=>e.signedIn,getConfig:e=>e.config,getCustomTranslations:e=>e.customTranslations,getLanguage:e=>e.language,getDirection:e=>e.direction,getState:e=>e},z={},C=e=>(0,k.dispatch)(e),P=e=>(0,k.select)(e),H=(e,a,t)=>{let o;function r(){let r=P(e).getState(),n=a(r);if(n!==o){let e=o;o=n,t(o,e)}}let n=(0,k.subscribe)(r,e);return r(),n},K=()=>p.Amplify.getConfig(),T=(e,a)=>{p.Amplify.configure(e,a)},W=e=>(0,g.fetchAuthSession)(e),I=()=>(0,g.fetchUserAttributes)(),R=()=>(0,g.fetchMFAPreference)(),O=async(e=!0)=>{let a=e?await S():{};if(a?.username)return a;try{if((await(0,g.fetchAuthSession)()).tokens)return{username:(await(0,g.getCurrentUser)()).username,userAttributes:await I(),mfaPreferences:await R()}}catch(e){console.error(e);try{await(0,g.signOut)()}catch{}}return{}},J=async()=>{await(0,g.updateMFAPreference)({totp:"DISABLED"})},U=()=>S().then(e=>e?.username),D=()=>S().then(e=>e?.userAttributes),M=()=>S().then(e=>e?.mfaPreferences),_=()=>S().then(e=>!!e?.username),q=e=>N().then(a=>a?.includes(e)||!1),N=()=>W().then(e=>e.tokens?.idToken?.payload["cognito:groups"]instanceof Array?e.tokens.idToken.payload["cognito:groups"].map(e=>e):[]).catch(e=>{console.error(e)}),L=async()=>W().then(e=>e.tokens?.idToken?.payload["cognito:roles"]instanceof Array?e.tokens.idToken.payload["cognito:roles"].map(e=>e).map(e=>e.substring(e.indexOf("/")+1)):[]).catch(e=>{console.error(e)}),$=async()=>W().then(e=>{if(!e.tokens?.idToken?.payload["cognito:preferred_role"])return;let a=e.tokens.idToken.payload["cognito:preferred_role"];return a.substring(a.indexOf("/")+1)}).catch(e=>{console.error(e)}),G=()=>W().then(e=>e.tokens?.accessToken.payload.scope?.split(" ")??[]).catch(e=>{console.error(e)}),F=async e=>{let a,t=l();if(!t)throw new Error("Gatey plugin is not available");return t.settings.integrateWpLogin&&t.restUrl?.startsWith("http")&&(a=await t.cognito.post({apiName:"admin",path:"/login"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await t.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e)),t.settings.redirectSignIn??a},B=async e=>{let a,t=l();if(!t)throw new Error("Gatey plugin is not available");t.settings.integrateWpLogin&&(a=await t.cognito.get({apiName:"admin",path:"/logout"}).response.then(e=>e.body.json()).then(e=>{if(e instanceof Object&&"redirect"in e)return e?.redirect}).catch(e=>{console.error(e)})),e&&await t.cognito.get({apiName:e.apiName,path:e.path,options:e.options}).response.catch(e=>console.error(e));try{await(0,g.signOut)()}catch{}return t.settings.redirectSignOut??a},V=t(661),X=()=>{m().then(e=>{H(e,e=>e.nextUrl,async e=>{e&&window.location.assign(e)}),C(e).clearAccount()}).catch(e=>{console.error("Gatey signOut error:",e)})},Y=e=>{m().then(a=>{C(a).setLanguage(e??"en")}).catch(e=>{console.error("Gatey setLanguage error:",e)})},Q=e=>{m().then(a=>{C(a).setDirection(e??"auto")}).catch(e=>{console.error("Gatey setDirection error:",e)})},Z=async()=>m(),ee=()=>{let e=globalThis.WpSuite,a=l();if(!a)throw new Error("Gatey plugin is not available");(0,V.attachDefaultPluginRuntime)(a),a.status=a.status??"initializing";let t=(async()=>{let e=await(async()=>{let e=A(await(0,b.getConfig)("gatey"));(async e=>{let a=window.location.hostname.toLowerCase().split(":")[0],t=l();if(!t)throw new Error("Gatey plugin is not available");let o=t.settings?.secondaryUserPoolDomains&&a.toLowerCase().match(t.settings.secondaryUserPoolDomains.toLowerCase())&&t.settings?.userPoolConfigurations.secondary?.Auth?.Cognito?.userPoolId?t.settings?.userPoolConfigurations.secondary:t.settings?.userPoolConfigurations.default,r={Auth:{Cognito:{userPoolClientId:"",userPoolId:"",identityPoolId:"",...o.Auth?.Cognito,loginWith:{oauth:{domain:"",scopes:[],responseType:"code",...o.Auth?.Cognito?.loginWith?.oauth,redirectSignIn:[window.location.origin+t.settings?.signInPage],redirectSignOut:[window.location.origin+t.settings?.signInPage]}}}},API:{...o.API,REST:{...o.API?.REST,admin:{endpoint:t.restUrl}}}},n=e?.apiConfigurations?.secondary?.domains&&a.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default;n?.apis?.forEach(e=>{let a=r.API?.REST;a&&(a[e.name]={endpoint:e.endpoint,region:e.region})}),T(r,{API:{REST:{headers:async e=>{let a=n?.apis?.find(a=>a.name===e.apiName);if("admin"===e.apiName||"ID_TOKEN"===a?.authorization||"ACCESS_TOKEN"===a?.authorization)try{let t=await W();if(t?.tokens?.idToken&&t?.tokens?.accessToken)return{Authorization:`Bearer ${"admin"===e.apiName||"ID_TOKEN"===a?.authorization?t.tokens.idToken.toString():t.tokens.accessToken.toString()}`}}catch(e){console.error(e),m().then(e=>{C(e).clearAccount()})}return{}}}}})})(e);let a=window.location.hostname.toLowerCase().split(":")[0],t=e?.apiConfigurations?.secondary?.domains&&a.toLowerCase().match(e.apiConfigurations.secondary?.domains.toLowerCase())&&e.apiConfigurations?.secondary?.apis?.length?e.apiConfigurations.secondary:e?.apiConfigurations?.default,o=await S(t),r=await(async()=>{let e=l();if(!e)throw new Error("Gatey plugin is not available");let a=null;return e.settings.customTranslationsUrl&&(a=await fetch(e.settings.customTranslationsUrl+(e.settings.customTranslationsUrl.includes("?")?"&":"?")+"t="+h.lastUpdate).then(e=>e.ok?e.text():null).then(e=>e?JSON.parse(e):null).catch(()=>null)),a??null})();return{config:e,amplifyConfig:{},account:o,signedIn:!!o?.username&&!o.loaded,nextUrl:void 0,language:void 0,direction:void 0,customTranslations:r,reloadAuthSession:0,reloadUserAttributes:0,reloadMFAPreferences:0}})(),a=(0,k.createReduxStore)("wpsuite/gatey",{reducer(a=e,t){switch(t.type){case"SET_AMPLIFY_CONFIG":return{...a,amplifyConfig:t.amplifyConfig};case"SET_ACCOUNT":return x(t.account),{...a,account:t.account};case"CLEAR_ACCOUNT":return x({}),{...a,account:{}};case"RELOAD_AUTH_SESSION":{let e=Math.random();return{...a,reloadAuthSession:a.reloadAuthSession!==e?e:e+1}}case"RELOAD_USER_ATTRIBUTES":{let e=Math.random();return{...a,reloadUserAttributes:a.reloadUserAttributes!==e?e:e+1}}case"RELOAD_MFA_PREFERENCE":{let e=Math.random();return{...a,reloadMFAPreferences:a.reloadMFAPreferences!==e?e:e+1}}case"SET_SIGNED_IN":return{...a,signedIn:t.signedIn};case"SET_NEXT_URL":return{...a,nextUrl:t.nextUrl};case"SET_LANGUAGE":return{...a,language:t.language};case"SET_DIRECTION":return{...a,direction:t.direction}}return a},actions:E,selectors:j,resolvers:z});return(0,k.register)(a),a})();return a.cognito={store:t,observeStore:H,setLanguage:Y,setDirection:Q,getAmplifyConfig:K,isAuthenticated:_,isInGroup:q,getUsername:U,getUserAttributes:D,getMfaPreferences:M,clearMfaPreferences:J,getGroups:N,getRoles:L,getPreferredRole:$,getScopes:G,signOut:X,get:u.get,post:u.post,put:u.put,del:u.del,head:u.head,patch:u.patch},t.then(()=>{a.status="available",e?.events?.emit("wpsuite:gatey:ready",{key:a.key,version:a.version})}).catch(t=>{a.status="error",e?.events?.emit("wpsuite:gatey:error",{key:a.key,error:String(t)})}),a}},596(e,a,t){function o(e,a){let t=0,o=e.length,r=!1;if(!a){if(e.startsWith("data:"))return null;for(;t<e.length&&e.charCodeAt(t)<=32;)t+=1;for(;o>t+1&&e.charCodeAt(o-1)<=32;)o-=1;if(47===e.charCodeAt(t)&&47===e.charCodeAt(t+1))t+=2;else{const a=e.indexOf(":/",t);if(-1!==a){const o=a-t,r=e.charCodeAt(t),n=e.charCodeAt(t+1),i=e.charCodeAt(t+2),s=e.charCodeAt(t+3),c=e.charCodeAt(t+4);if(5===o&&104===r&&116===n&&116===i&&112===s&&115===c);else if(4===o&&104===r&&116===n&&116===i&&112===s);else if(3===o&&119===r&&115===n&&115===i);else if(2===o&&119===r&&115===n);else for(let o=t;o<a;o+=1){const a=32|e.charCodeAt(o);if(!(a>=97&&a<=122||a>=48&&a<=57||46===a||45===a||43===a))return null}for(t=a+2;47===e.charCodeAt(t);)t+=1}}let a=-1,n=-1,i=-1;for(let s=t;s<o;s+=1){const t=e.charCodeAt(s);if(35===t||47===t||63===t){o=s;break}64===t?a=s:93===t?n=s:58===t?i=s:t>=65&&t<=90&&(r=!0)}if(-1!==a&&a>t&&a<o&&(t=a+1),91===e.charCodeAt(t))return-1!==n?e.slice(t+1,n).toLowerCase():null;-1!==i&&i>t&&i<o&&(o=i)}for(;o>t+1&&46===e.charCodeAt(o-1);)o-=1;const n=0!==t||o!==e.length?e.slice(t,o):e;return r?n.toLowerCase():n}function r(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function n(e){if(e.length>255)return!1;if(0===e.length)return!1;if(!r(e.charCodeAt(0))&&46!==e.charCodeAt(0)&&95!==e.charCodeAt(0))return!1;let a=-1,t=-1;const o=e.length;for(let n=0;n<o;n+=1){const o=e.charCodeAt(n);if(46===o){if(n-a>64||46===t||45===t||95===t)return!1;a=n}else if(!r(o)&&45!==o&&95!==o)return!1;t=o}return o-a-1<=63&&45!==t}t.r(a),t.d(a,{getDomain:()=>y,getDomainWithoutSuffix:()=>k,getHostname:()=>p,getPublicSuffix:()=>g,getSubdomain:()=>f,parse:()=>h});const i=function({allowIcannDomains:e=!0,allowPrivateDomains:a=!1,detectIp:t=!0,extractHostname:o=!0,mixedInputs:r=!0,validHosts:n=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:a,detectIp:t,extractHostname:o,mixedInputs:r,validHosts:n,validateHostname:i}}({});function s(e,a,t,r,s){const c=function(e){return void 0===e?i:function({allowIcannDomains:e=!0,allowPrivateDomains:a=!1,detectIp:t=!0,extractHostname:o=!0,mixedInputs:r=!0,validHosts:n=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:a,detectIp:t,extractHostname:o,mixedInputs:r,validHosts:n,validateHostname:i}}(e)}(r);return"string"!=typeof e?s:(c.extractHostname?c.mixedInputs?s.hostname=o(e,n(e)):s.hostname=o(e,!1):s.hostname=e,c.detectIp&&null!==s.hostname&&(s.isIp=function(e){if(e.length<3)return!1;let a=e.startsWith("[")?1:0,t=e.length;if("]"===e[t-1]&&(t-=1),t-a>39)return!1;let o=!1;for(;a<t;a+=1){const t=e.charCodeAt(a);if(58===t)o=!0;else if(!(t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=90))return!1}return o}(u=s.hostname)||function(e){if(e.length<7)return!1;if(e.length>15)return!1;let a=0;for(let t=0;t<e.length;t+=1){const o=e.charCodeAt(t);if(46===o)a+=1;else if(o<48||o>57)return!1}return 3===a&&46!==e.charCodeAt(0)&&46!==e.charCodeAt(e.length-1)}(u),s.isIp)?s:c.validateHostname&&c.extractHostname&&null!==s.hostname&&!n(s.hostname)?(s.hostname=null,s):(0===a||null===s.hostname||(t(s.hostname,c,s),2===a||null===s.publicSuffix||(s.domain=function(e,a,t){if(null!==t.validHosts){const e=t.validHosts;for(const t of e)if(function(e,a){return!!e.endsWith(a)&&(e.length===a.length||"."===e[e.length-a.length-1])}(a,t))return t}let o=0;if(a.startsWith("."))for(;o<a.length&&"."===a[o];)o+=1;return e.length===a.length-o?null:function(e,a){const t=e.length-a.length-2,o=e.lastIndexOf(".",t);return-1===o?e:e.slice(o+1)}(a,e)}(s.publicSuffix,s.hostname,c),3===a||null===s.domain||(s.subdomain=function(e,a){return a.length===e.length?"":e.slice(0,-a.length-1)}(s.hostname,s.domain),4===a||(s.domainWithoutSuffix=(l=s.domain,d=s.publicSuffix,l.slice(0,-d.length-1)))))),s));var u,l,d}const c=function(){const e=[1,{}],a=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:a,kitakyushu:a,kobe:a,nagoya:a,sapporo:a,sendai:a,yokohama:a}]}]}(),u=function(){const e=[1,{}],a=[2,{}],t=[1,{com:e,edu:e,gov:e,net:e,org:e}],o=[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e}],r=[0,{"*":a}],n=[2,{s:r}],i=[0,{relay:a}],s=[2,{id:a}],c=[1,{gov:e}],u=[0,{airflow:r,"lambda-url":a,"transfer-webapp":a}],l=[0,{airflow:r,"transfer-webapp":a}],d=[0,{"transfer-webapp":a,"transfer-webapp-fips":a}],m=[0,{notebook:a,studio:a}],h=[0,{labeling:a,notebook:a,studio:a}],p=[0,{notebook:a}],g=[0,{labeling:a,notebook:a,"notebook-fips":a,studio:a}],y=[0,{notebook:a,"notebook-fips":a,studio:a,"studio-fips":a}],f=[0,{shop:a}],k=[0,{"*":e}],b=[1,{co:a}],w=[0,{objects:a}],v=[2,{nodes:a}],x=[0,{my:a}],S=[0,{s3:a,"s3-accesspoint":a,"s3-website":a}],A=[0,{s3:a,"s3-accesspoint":a}],E=[0,{direct:a}],j=[0,{"webview-assets":a}],z=[0,{vfs:a,"webview-assets":a}],C=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:z}],P=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:z}],H=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:z}],K=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a}],T=[0,{s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-website":a}],W=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:T,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:z}],I=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:T,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-deprecated":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:z}],R=[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:[0,{s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a}],s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a}],O=[0,{auth:a}],J=[0,{auth:a,"auth-fips":a}],U=[0,{"auth-fips":a}],D=[0,{apps:a}],M=[0,{paas:a}],_=[2,{eu:a}],q=[0,{app:a}],N=[0,{site:a}],L=[1,{com:e,edu:e,net:e,org:e}],$=[0,{j:a}],G=[0,{dyn:a}],F=[2,{web:a}],B=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],V=[0,{p:a}],X=[0,{user:a}],Y=[0,{cdn:a}],Q=[2,{raw:r}],Z=[0,{cust:a,reservd:a}],ee=[0,{cust:a}],ae=[0,{s3:a}],te=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],oe=[0,{ipfs:a}],re=[1,{framer:a}],ne=[0,{forgot:a}],ie=[1,{gs:e}],se=[0,{nes:e}],ce=[1,{k12:e,cc:e,lib:e}],ue=[1,{cc:e}],le=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,drr:a,feedback:a,forms:a}],ad:e,ae:[1,{ac:e,co:e,gov:e,mil:e,net:e,org:e,sch:e}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:t,ag:[1,{co:e,com:e,net:e,nom:e,org:e,obj:a}],ai:[1,{com:e,net:e,off:e,org:e,uwu:a,framer:a}],al:o,am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:a}],ao:[1,{co:e,ed:e,edu:e,gov:e,gv:e,it:e,og:e,org:e,pb:e}],aq:e,ar:[1,{bet:e,com:e,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,seg:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:c,asia:[1,{cloudns:a,daemon:a,dix:a}],at:[1,{4:a,ac:[1,{sth:e}],co:e,gv:e,or:e,funkfeuer:[0,{wien:a}],futurecms:[0,{"*":a,ex:r,in:r}],futurehosting:a,futuremailing:a,ortsinfo:[0,{ex:r,kunden:r}],biz:a,info:a,"123webseite":a,priv:a,my:a,myspreadshop:a,"12hp":a,"2ix":a,"4lima":a,"lima-city":a}],au:[1,{asn:e,com:[1,{cloudlets:[0,{mel:a}],myspreadshop:a}],edu:[1,{act:e,catholic:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],id:e,net:e,org:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e,hrsn:[0,{vps:a}]}],aw:[1,{com:e}],ax:e,az:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,int:e,mil:e,name:e,net:e,org:e,pp:e,pro:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,brendly:f,rs:a}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:[1,{ac:e,ai:e,co:e,com:e,edu:e,gov:e,id:e,info:e,it:e,mil:e,net:e,org:e,sch:e,tv:e}],be:[1,{ac:e,cloudns:a,webhosting:a,interhostsolutions:[0,{cloud:a}],kuleuven:[0,{ezproxy:a}],"123website":a,myspreadshop:a,transurl:r}],bf:c,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,barsy:a}],bh:t,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:a,"cloud-ip":a,cloudns:a,jozi:a,dyndns:a,"for-better":a,"for-more":a,"for-some":a,"for-the":a,selfip:a,webhop:a,orx:a,mmafan:a,myftp:a,"no-ip":a,dscloud:a}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,restaurant:e,resto:e,tourism:e,univ:e}],bm:t,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:a}],bo:[1,{com:e,edu:e,gob:e,int:e,mil:e,net:e,org:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,plurinacional:e,politica:e,profesional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,api:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{simplesite:a}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,ia:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:a,al:a,am:a,ap:a,ba:a,ce:a,df:a,es:a,go:a,ma:a,mg:a,ms:a,mt:a,pa:a,pb:a,pe:a,pi:a,pr:a,rj:a,rn:a,ro:a,rr:a,rs:a,sc:a,se:a,sp:a,to:a}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:k,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,social:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,xyz:e,zlg:e,tche:a}],bs:[1,{com:e,edu:e,gov:e,net:e,org:e,we:a}],bt:t,bv:e,bw:[1,{ac:e,co:e,gov:e,net:e,org:e}],by:[1,{gov:e,mil:e,com:e,of:e,mediatech:a}],bz:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,za:a,mydns:a,gsj:a}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:a,awdev:r,co:a,"no-ip":a,onid:a,myspreadshop:a,box:a}],cat:e,cc:[1,{cleverapps:a,"cloud-ip":a,cloudns:a,ftpaccess:a,"game-server":a,myphotos:a,scrapping:a,twmail:a,csx:a,fantasyleague:a,spawn:[0,{instances:a}]}],cd:c,cf:e,cg:e,ch:[1,{square7:a,cloudns:a,cloudscale:[0,{cust:a,lpg:w,rma:w}],objectstorage:[0,{lpg:a,rma:a}],flow:[0,{ae:[0,{alp1:a}],appengine:a}],"linkyard-cloud":a,gotdns:a,dnsking:a,"123website":a,myspreadshop:a,firenet:[0,{"*":a,svc:r}],"12hp":a,"2ix":a,"4lima":a,"lima-city":a}],ci:[1,{ac:e,"xn--aroport-bya":e,aéroport:e,asso:e,co:e,com:e,ed:e,edu:e,go:e,gouv:e,int:e,net:e,or:e,org:e}],ck:k,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:a}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,rds:r,dualstack:S,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a}],"cn-northwest-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,rds:r,dualstack:A,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a}],compute:r,airflow:[0,{"cn-north-1":r,"cn-northwest-1":r}],eb:[0,{"cn-north-1":a,"cn-northwest-1":a}],elb:r}],amazonwebservices:[0,{on:[0,{"cn-north-1":l,"cn-northwest-1":l}]}],sagemaker:[0,{"cn-north-1":m,"cn-northwest-1":m}]}],edu:e,gov:e,mil:e,net:e,org:e,"xn--55qx5d":e,公司:e,"xn--od0alg":e,網絡:e,"xn--io0a7i":e,网络:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gx:e,gz:e,ha:e,hb:e,he:e,hi:e,hk:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,mo:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:a}],sn:e,sx:e,tj:e,tw:e,xj:e,xz:e,yn:e,zj:e,"canva-apps":a,canvasite:x,myqnapcloud:a,quickconnect:E}],co:[1,{com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,carrd:a,crd:a,otap:r,hidns:a,leadpages:a,lpages:a,mypi:a,xmit:r,firewalledreplit:s,repl:s,supabase:[2,{realtime:a,storage:a}],umso:a}],com:[1,{a2hosted:a,cpserver:a,adobeaemcloud:[2,{dev:r}],africa:a,aivencloud:a,alibabacloudcs:a,kasserver:a,amazonaws:[0,{"af-south-1":C,"ap-east-1":P,"ap-northeast-1":H,"ap-northeast-2":H,"ap-northeast-3":C,"ap-south-1":H,"ap-south-2":K,"ap-southeast-1":H,"ap-southeast-2":H,"ap-southeast-3":K,"ap-southeast-4":K,"ap-southeast-5":[0,{"execute-api":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a}],"ca-central-1":W,"ca-west-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:T,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a}],"eu-central-1":H,"eu-central-2":K,"eu-north-1":P,"eu-south-1":C,"eu-south-2":K,"eu-west-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-deprecated":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:z}],"eu-west-2":P,"eu-west-3":C,"il-central-1":[0,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:S,s3:a,"s3-accesspoint":a,"s3-object-lambda":a,"s3-website":a,"aws-cloud9":j,cloud9:[0,{vfs:a}]}],"me-central-1":K,"me-south-1":P,"sa-east-1":C,"us-east-1":[2,{"execute-api":a,"emrappui-prod":a,"emrnotebooks-prod":a,"emrstudio-prod":a,dualstack:T,s3:a,"s3-accesspoint":a,"s3-accesspoint-fips":a,"s3-deprecated":a,"s3-fips":a,"s3-object-lambda":a,"s3-website":a,"analytics-gateway":a,"aws-cloud9":j,cloud9:z}],"us-east-2":I,"us-gov-east-1":R,"us-gov-west-1":R,"us-west-1":W,"us-west-2":I,compute:r,"compute-1":r,airflow:[0,{"af-south-1":r,"ap-east-1":r,"ap-northeast-1":r,"ap-northeast-2":r,"ap-northeast-3":r,"ap-south-1":r,"ap-south-2":r,"ap-southeast-1":r,"ap-southeast-2":r,"ap-southeast-3":r,"ap-southeast-4":r,"ap-southeast-5":r,"ap-southeast-7":r,"ca-central-1":r,"ca-west-1":r,"eu-central-1":r,"eu-central-2":r,"eu-north-1":r,"eu-south-1":r,"eu-south-2":r,"eu-west-1":r,"eu-west-2":r,"eu-west-3":r,"il-central-1":r,"me-central-1":r,"me-south-1":r,"sa-east-1":r,"us-east-1":r,"us-east-2":r,"us-west-1":r,"us-west-2":r}],rds:[0,{"af-south-1":r,"ap-east-1":r,"ap-east-2":r,"ap-northeast-1":r,"ap-northeast-2":r,"ap-northeast-3":r,"ap-south-1":r,"ap-south-2":r,"ap-southeast-1":r,"ap-southeast-2":r,"ap-southeast-3":r,"ap-southeast-4":r,"ap-southeast-5":r,"ap-southeast-6":r,"ap-southeast-7":r,"ca-central-1":r,"ca-west-1":r,"eu-central-1":r,"eu-central-2":r,"eu-west-1":r,"eu-west-2":r,"eu-west-3":r,"il-central-1":r,"me-central-1":r,"me-south-1":r,"mx-central-1":r,"sa-east-1":r,"us-east-1":r,"us-east-2":r,"us-gov-east-1":r,"us-gov-west-1":r,"us-northeast-1":r,"us-west-1":r,"us-west-2":r}],s3:a,"s3-1":a,"s3-ap-east-1":a,"s3-ap-northeast-1":a,"s3-ap-northeast-2":a,"s3-ap-northeast-3":a,"s3-ap-south-1":a,"s3-ap-southeast-1":a,"s3-ap-southeast-2":a,"s3-ca-central-1":a,"s3-eu-central-1":a,"s3-eu-north-1":a,"s3-eu-west-1":a,"s3-eu-west-2":a,"s3-eu-west-3":a,"s3-external-1":a,"s3-fips-us-gov-east-1":a,"s3-fips-us-gov-west-1":a,"s3-global":[0,{accesspoint:[0,{mrap:a}]}],"s3-me-south-1":a,"s3-sa-east-1":a,"s3-us-east-2":a,"s3-us-gov-east-1":a,"s3-us-gov-west-1":a,"s3-us-west-1":a,"s3-us-west-2":a,"s3-website-ap-northeast-1":a,"s3-website-ap-southeast-1":a,"s3-website-ap-southeast-2":a,"s3-website-eu-west-1":a,"s3-website-sa-east-1":a,"s3-website-us-east-1":a,"s3-website-us-gov-west-1":a,"s3-website-us-west-1":a,"s3-website-us-west-2":a,elb:r}],amazoncognito:[0,{"af-south-1":O,"ap-east-1":O,"ap-northeast-1":O,"ap-northeast-2":O,"ap-northeast-3":O,"ap-south-1":O,"ap-south-2":O,"ap-southeast-1":O,"ap-southeast-2":O,"ap-southeast-3":O,"ap-southeast-4":O,"ap-southeast-5":O,"ap-southeast-7":O,"ca-central-1":O,"ca-west-1":O,"eu-central-1":O,"eu-central-2":O,"eu-north-1":O,"eu-south-1":O,"eu-south-2":O,"eu-west-1":O,"eu-west-2":O,"eu-west-3":O,"il-central-1":O,"me-central-1":O,"me-south-1":O,"mx-central-1":O,"sa-east-1":O,"us-east-1":J,"us-east-2":J,"us-gov-east-1":U,"us-gov-west-1":U,"us-west-1":J,"us-west-2":J}],amplifyapp:a,awsapprunner:r,awsapps:a,elasticbeanstalk:[2,{"af-south-1":a,"ap-east-1":a,"ap-northeast-1":a,"ap-northeast-2":a,"ap-northeast-3":a,"ap-south-1":a,"ap-southeast-1":a,"ap-southeast-2":a,"ap-southeast-3":a,"ap-southeast-5":a,"ap-southeast-7":a,"ca-central-1":a,"eu-central-1":a,"eu-north-1":a,"eu-south-1":a,"eu-south-2":a,"eu-west-1":a,"eu-west-2":a,"eu-west-3":a,"il-central-1":a,"me-central-1":a,"me-south-1":a,"sa-east-1":a,"us-east-1":a,"us-east-2":a,"us-gov-east-1":a,"us-gov-west-1":a,"us-west-1":a,"us-west-2":a}],awsglobalaccelerator:a,siiites:a,appspacehosted:a,appspaceusercontent:a,"on-aptible":a,myasustor:a,"balena-devices":a,boutir:a,bplaced:a,cafjs:a,"canva-apps":a,"canva-hosted-embed":a,canvacode:a,"rice-labs":a,"cdn77-storage":a,br:a,cn:a,de:a,eu:a,jpn:a,mex:a,ru:a,sa:a,uk:a,us:a,za:a,"clever-cloud":[0,{services:r}],abrdns:a,dnsabr:a,"ip-ddns":a,jdevcloud:a,wpdevcloud:a,"cf-ipfs":a,"cloudflare-ipfs":a,trycloudflare:a,co:a,devinapps:r,builtwithdark:a,datadetect:[0,{demo:a,instance:a}],dattolocal:a,dattorelay:a,dattoweb:a,mydatto:a,digitaloceanspaces:r,discordsays:a,discordsez:a,drayddns:a,dreamhosters:a,durumis:a,blogdns:a,cechire:a,dnsalias:a,dnsdojo:a,doesntexist:a,dontexist:a,doomdns:a,"dyn-o-saur":a,dynalias:a,"dyndns-at-home":a,"dyndns-at-work":a,"dyndns-blog":a,"dyndns-free":a,"dyndns-home":a,"dyndns-ip":a,"dyndns-mail":a,"dyndns-office":a,"dyndns-pics":a,"dyndns-remote":a,"dyndns-server":a,"dyndns-web":a,"dyndns-wiki":a,"dyndns-work":a,"est-a-la-maison":a,"est-a-la-masion":a,"est-le-patron":a,"est-mon-blogueur":a,"from-ak":a,"from-al":a,"from-ar":a,"from-ca":a,"from-ct":a,"from-dc":a,"from-de":a,"from-fl":a,"from-ga":a,"from-hi":a,"from-ia":a,"from-id":a,"from-il":a,"from-in":a,"from-ks":a,"from-ky":a,"from-ma":a,"from-md":a,"from-mi":a,"from-mn":a,"from-mo":a,"from-ms":a,"from-mt":a,"from-nc":a,"from-nd":a,"from-ne":a,"from-nh":a,"from-nj":a,"from-nm":a,"from-nv":a,"from-oh":a,"from-ok":a,"from-or":a,"from-pa":a,"from-pr":a,"from-ri":a,"from-sc":a,"from-sd":a,"from-tn":a,"from-tx":a,"from-ut":a,"from-va":a,"from-vt":a,"from-wa":a,"from-wi":a,"from-wv":a,"from-wy":a,getmyip:a,gotdns:a,"hobby-site":a,homelinux:a,homeunix:a,iamallama:a,"is-a-anarchist":a,"is-a-blogger":a,"is-a-bookkeeper":a,"is-a-bulls-fan":a,"is-a-caterer":a,"is-a-chef":a,"is-a-conservative":a,"is-a-cpa":a,"is-a-cubicle-slave":a,"is-a-democrat":a,"is-a-designer":a,"is-a-doctor":a,"is-a-financialadvisor":a,"is-a-geek":a,"is-a-green":a,"is-a-guru":a,"is-a-hard-worker":a,"is-a-hunter":a,"is-a-landscaper":a,"is-a-lawyer":a,"is-a-liberal":a,"is-a-libertarian":a,"is-a-llama":a,"is-a-musician":a,"is-a-nascarfan":a,"is-a-nurse":a,"is-a-painter":a,"is-a-personaltrainer":a,"is-a-photographer":a,"is-a-player":a,"is-a-republican":a,"is-a-rockstar":a,"is-a-socialist":a,"is-a-student":a,"is-a-teacher":a,"is-a-techie":a,"is-a-therapist":a,"is-an-accountant":a,"is-an-actor":a,"is-an-actress":a,"is-an-anarchist":a,"is-an-artist":a,"is-an-engineer":a,"is-an-entertainer":a,"is-certified":a,"is-gone":a,"is-into-anime":a,"is-into-cars":a,"is-into-cartoons":a,"is-into-games":a,"is-leet":a,"is-not-certified":a,"is-slick":a,"is-uberleet":a,"is-with-theband":a,"isa-geek":a,"isa-hockeynut":a,issmarterthanyou:a,"likes-pie":a,likescandy:a,"neat-url":a,"saves-the-whales":a,selfip:a,"sells-for-less":a,"sells-for-u":a,servebbs:a,"simple-url":a,"space-to-rent":a,"teaches-yoga":a,writesthisblog:a,ddnsfree:a,ddnsgeek:a,giize:a,gleeze:a,kozow:a,loseyourip:a,ooguy:a,theworkpc:a,mytuleap:a,"tuleap-partners":a,encoreapi:a,evennode:[0,{"eu-1":a,"eu-2":a,"eu-3":a,"eu-4":a,"us-1":a,"us-2":a,"us-3":a,"us-4":a}],onfabrica:a,"fastly-edge":a,"fastly-terrarium":a,"fastvps-server":a,mydobiss:a,firebaseapp:a,fldrv:a,forgeblocks:a,framercanvas:a,"freebox-os":a,freeboxos:a,freemyip:a,aliases121:a,gentapps:a,gentlentapis:a,githubusercontent:a,"0emm":r,appspot:[2,{r}],blogspot:a,codespot:a,googleapis:a,googlecode:a,pagespeedmobilizer:a,withgoogle:a,withyoutube:a,grayjayleagues:a,hatenablog:a,hatenadiary:a,herokuapp:a,gr:a,smushcdn:a,wphostedmail:a,wpmucdn:a,pixolino:a,"apps-1and1":a,"live-website":a,"webspace-host":a,dopaas:a,"hosted-by-previder":M,hosteur:[0,{"rag-cloud":a,"rag-cloud-ch":a}],"ik-server":[0,{jcloud:a,"jcloud-ver-jpc":a}],jelastic:[0,{demo:a}],massivegrid:M,wafaicloud:[0,{jed:a,ryd:a}],"eu1-plenit":a,"la1-plenit":a,"us1-plenit":a,webadorsite:a,joyent:[0,{cns:r}],"on-forge":a,"on-vapor":a,lpusercontent:a,linode:[0,{members:a,nodebalancer:r}],linodeobjects:r,linodeusercontent:[0,{ip:a}],localtonet:a,lovableproject:a,barsycenter:a,barsyonline:a,lutrausercontent:r,modelscape:a,mwcloudnonprod:a,polyspace:a,mazeplay:a,miniserver:a,atmeta:a,fbsbx:D,meteorapp:_,routingthecloud:a,"same-app":a,"same-preview":a,mydbserver:a,mochausercontent:a,hostedpi:a,"mythic-beasts":[0,{caracal:a,customer:a,fentiger:a,lynx:a,ocelot:a,oncilla:a,onza:a,sphinx:a,vs:a,x:a,yali:a}],nospamproxy:[0,{cloud:[2,{o365:a}]}],"4u":a,nfshost:a,"3utilities":a,blogsyte:a,ciscofreak:a,damnserver:a,ddnsking:a,ditchyourip:a,dnsiskinky:a,dynns:a,geekgalaxy:a,"health-carereform":a,homesecuritymac:a,homesecuritypc:a,myactivedirectory:a,mysecuritycamera:a,myvnc:a,"net-freaks":a,onthewifi:a,point2this:a,quicksytes:a,securitytactics:a,servebeer:a,servecounterstrike:a,serveexchange:a,serveftp:a,servegame:a,servehalflife:a,servehttp:a,servehumour:a,serveirc:a,servemp3:a,servep2p:a,servepics:a,servequake:a,servesarcasm:a,stufftoread:a,unusualperson:a,workisboring:a,myiphost:a,observableusercontent:[0,{static:a}],simplesite:a,oaiusercontent:r,orsites:a,operaunite:a,"customer-oci":[0,{"*":a,oci:r,ocp:r,ocs:r}],oraclecloudapps:r,oraclegovcloudapps:r,"authgear-staging":a,authgearapps:a,skygearapp:a,outsystemscloud:a,ownprovider:a,pgfog:a,pagexl:a,gotpantheon:a,paywhirl:r,upsunapp:a,"postman-echo":a,prgmr:[0,{xen:a}],"project-study":[0,{dev:a}],pythonanywhere:_,qa2:a,"alpha-myqnapcloud":a,"dev-myqnapcloud":a,mycloudnas:a,mynascloud:a,myqnapcloud:a,qualifioapp:a,ladesk:a,qualyhqpartner:r,qualyhqportal:r,qbuser:a,quipelements:r,rackmaze:a,"readthedocs-hosted":a,rhcloud:a,onrender:a,render:q,"subsc-pay":a,"180r":a,dojin:a,sakuratan:a,sakuraweb:a,x0:a,code:[0,{builder:r,"dev-builder":r,"stg-builder":r}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":r}]}]}]}],logoip:a,scrysec:a,"firewall-gateway":a,myshopblocks:a,myshopify:a,shopitsite:a,"1kapp":a,appchizi:a,applinzi:a,sinaapp:a,vipsinaapp:a,streamlitapp:a,"try-snowplow":a,"playstation-cloud":a,myspreadshop:a,"w-corp-staticblitz":a,"w-credentialless-staticblitz":a,"w-staticblitz":a,"stackhero-network":a,stdlib:[0,{api:a}],strapiapp:[2,{media:a}],"streak-link":a,streaklinks:a,streakusercontent:a,"temp-dns":a,dsmynas:a,familyds:a,mytabit:a,taveusercontent:a,"tb-hosting":N,reservd:a,thingdustdata:a,"townnews-staging":a,typeform:[0,{pro:a}],hk:a,it:a,"deus-canvas":a,vultrobjects:r,wafflecell:a,hotelwithflight:a,"reserve-online":a,cprapid:a,pleskns:a,remotewd:a,wiardweb:[0,{pages:a}],wixsite:a,wixstudio:a,messwithdns:a,"woltlab-demo":a,wpenginepowered:[2,{js:a}],xnbay:[2,{u2:a,"u2-local":a}],yolasite:a}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,id:e,int:e,net:e,nome:e,org:e,publ:e}],cw:L,cx:[1,{gov:e,cloudns:a,ath:a,info:a,assessments:a,calculators:a,funnels:a,paynow:a,quizzes:a,researched:a,tests:a}],cy:[1,{ac:e,biz:e,com:[1,{scaleforce:$}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{gov:e,contentproxy9:[0,{rsc:a}],realm:a,e4:a,co:a,metacentrum:[0,{cloud:r,custom:a}],muni:[0,{cloud:[0,{flt:a,usr:a}]}]}],de:[1,{bplaced:a,square7:a,com:a,cosidns:G,dnsupdater:a,"dynamisches-dns":a,"internet-dns":a,"l-o-g-i-n":a,ddnss:[2,{dyn:a,dyndns:a}],"dyn-ip24":a,dyndns1:a,"home-webserver":[2,{dyn:a}],"myhome-server":a,dnshome:a,fuettertdasnetz:a,isteingeek:a,istmein:a,lebtimnetz:a,leitungsen:a,traeumtgerade:a,frusky:r,goip:a,"xn--gnstigbestellen-zvb":a,günstigbestellen:a,"xn--gnstigliefern-wob":a,günstigliefern:a,"hs-heilbronn":[0,{it:[0,{pages:a,"pages-research":a}]}],"dyn-berlin":a,"in-berlin":a,"in-brb":a,"in-butter":a,"in-dsl":a,"in-vpn":a,iservschule:a,"mein-iserv":a,schuldock:a,schulplattform:a,schulserver:a,"test-iserv":a,keymachine:a,co:a,"git-repos":a,"lcube-server":a,"svn-repos":a,barsy:a,webspaceconfig:a,"123webseite":a,rub:a,"ruhr-uni-bochum":[2,{noc:[0,{io:a}]}],logoip:a,"firewall-gateway":a,"my-gateway":a,"my-router":a,spdns:a,my:a,speedpartner:[0,{customer:a}],myspreadshop:a,"taifun-dns":a,"12hp":a,"2ix":a,"4lima":a,"lima-city":a,"dd-dns":a,"dray-dns":a,draydns:a,"dyn-vpn":a,dynvpn:a,"mein-vigor":a,"my-vigor":a,"my-wan":a,"syno-ds":a,"synology-diskstation":a,"synology-ds":a,"virtual-user":a,virtualuser:a,"community-pro":a,diskussionsbereich:a,xenonconnect:r}],dj:e,dk:[1,{biz:a,co:a,firm:a,reg:a,store:a,"123hjemmeside":a,myspreadshop:a}],dm:B,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,net:e,org:e,pol:e,soc:e,tm:e}],ec:[1,{abg:e,adm:e,agron:e,arqt:e,art:e,bar:e,chef:e,com:e,cont:e,cpa:e,cue:e,dent:e,dgn:e,disco:e,doc:e,edu:e,eng:e,esm:e,fin:e,fot:e,gal:e,gob:e,gov:e,gye:e,ibr:e,info:e,k12:e,lat:e,loj:e,med:e,mil:e,mktg:e,mon:e,net:e,ntr:e,odont:e,org:e,pro:e,prof:e,psic:e,psiq:e,pub:e,rio:e,rrpp:e,sal:e,tech:e,tul:e,tur:e,uio:e,vet:e,xxx:e,base:a,official:a}],edu:[1,{rit:[0,{"git-pages":a}]}],ee:[1,{aip:e,com:e,edu:e,fie:e,gov:e,lib:e,med:e,org:e,pri:e,riik:e}],eg:[1,{ac:e,com:e,edu:e,eun:e,gov:e,info:e,me:e,mil:e,name:e,net:e,org:e,sci:e,sport:e,tv:e}],er:k,es:[1,{com:e,edu:e,gob:e,nom:e,org:e,"123miweb":a,myspreadshop:a}],et:[1,{biz:e,com:e,edu:e,gov:e,info:e,name:e,net:e,org:e}],eu:[1,{cloudns:a,prvw:a,dogado:[0,{jelastic:a}],barsy:a,spdns:a,nxa:r,directwp:a,transurl:r,diskstation:a}],fi:[1,{aland:e,dy:a,"xn--hkkinen-5wa":a,häkkinen:a,iki:a,cloudplatform:[0,{fi:a}],datacenter:[0,{demo:a,paas:a}],kapsi:a,"123kotisivu":a,myspreadshop:a}],fj:[1,{ac:e,biz:e,com:e,edu:e,gov:e,id:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:k,fm:[1,{com:e,edu:e,net:e,org:e,radio:a,user:r}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"en-root":a,"fbx-os":a,fbxos:a,"freebox-os":a,freeboxos:a,goupile:a,"123siteweb":a,"on-web":a,"chirurgiens-dentistes-en-france":a,dedibox:a,aeroport:a,avocat:a,chambagri:a,"chirurgiens-dentistes":a,"experts-comptables":a,medecin:a,notaires:a,pharmacien:a,port:a,veterinaire:a,myspreadshop:a,ynh:a}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,net:e,org:e,pvt:e,school:e}],gf:e,gg:[1,{co:e,net:e,org:e,ply:[0,{at:r,d6:a}],botdash:a,kaas:a,stackit:a,panel:[2,{daemon:a}]}],gh:[1,{biz:e,com:e,edu:e,gov:e,mil:e,net:e,org:e}],gi:[1,{com:e,edu:e,gov:e,ltd:e,mod:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,net:e,org:e}],gov:e,gp:[1,{asso:e,com:e,edu:e,mobi:e,net:e,org:e}],gq:e,gr:[1,{com:e,edu:e,gov:e,net:e,org:e,barsy:a,simplesite:a}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:[1,{nx:a}],gy:B,hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--ciqpn":e,个人:e,"xn--gmqw5a":e,個人:e,"xn--55qx5d":e,公司:e,"xn--mxtq1m":e,政府:e,"xn--lcvr32d":e,敎育:e,"xn--wcvs22d":e,教育:e,"xn--gmq050i":e,箇人:e,"xn--uc0atv":e,組織:e,"xn--uc0ay4a":e,組织:e,"xn--od0alg":e,網絡:e,"xn--zf0avx":e,網络:e,"xn--mk0axi":e,组織:e,"xn--tn0ag":e,组织:e,"xn--od0aq3b":e,网絡:e,"xn--io0a7i":e,网络:e,inc:a,ltd:a}],hm:e,hn:[1,{com:e,edu:e,gob:e,mil:e,net:e,org:e}],hr:[1,{com:e,from:e,iz:e,name:e,brendly:f}],ht:[1,{adult:e,art:e,asso:e,com:e,coop:e,edu:e,firm:e,gouv:e,info:e,med:e,net:e,org:e,perso:e,pol:e,pro:e,rel:e,shop:e,rt:a}],hu:[1,{2e3:e,agrar:e,bolt:e,casino:e,city:e,co:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,info:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,org:e,priv:e,reklam:e,sex:e,shop:e,sport:e,suli:e,szex:e,tm:e,tozsde:e,utazas:e,video:e}],id:[1,{ac:e,biz:e,co:e,desa:e,go:e,kop:e,mil:e,my:e,net:e,or:e,ponpes:e,sch:e,web:e,e:a,zone:a}],ie:[1,{gov:e,myspreadshop:a}],il:[1,{ac:e,co:[1,{ravpage:a,mytabit:a,tabitorder:a}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],ישראל:[1,{אקדמיה:e,ישוב:e,צהל:e,ממשל:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bank:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,fin:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:a,barsy:a,web:a,supabase:a}],info:[1,{cloudns:a,"dynamic-dns":a,"barrel-of-knowledge":a,"barrell-of-knowledge":a,dyndns:a,"for-our":a,"groks-the":a,"groks-this":a,"here-for-more":a,knowsitall:a,selfip:a,webhop:a,barsy:a,mayfirst:a,mittwald:a,mittwaldserver:a,typo3server:a,dvrcam:a,ilovecollege:a,"no-ip":a,forumz:a,nsupdate:a,dnsupdate:a,"v-info":a}],int:[1,{eu:e}],io:[1,{2038:a,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":r,myaddr:a,apigee:a,"b-data":a,beagleboard:a,bitbucket:a,bluebite:a,boxfuse:a,brave:n,browsersafetymark:a,bubble:Y,bubbleapps:a,bigv:[0,{uk0:a}],cleverapps:a,cloudbeesusercontent:a,dappnode:[0,{dyndns:a}],darklang:a,definima:a,dedyn:a,icp0:Q,icp1:Q,qzz:a,"fh-muenster":a,shw:a,forgerock:[0,{id:a}],gitbook:a,github:a,gitlab:a,lolipop:a,"hasura-app":a,hostyhosting:a,hypernode:a,moonscale:r,beebyte:M,beebyteapp:[0,{sekd1:a}],jele:a,webthings:a,loginline:a,barsy:a,azurecontainer:r,ngrok:[2,{ap:a,au:a,eu:a,in:a,jp:a,sa:a,us:a}],nodeart:[0,{stage:a}],pantheonsite:a,pstmn:[2,{mock:a}],protonet:a,qcx:[2,{sys:r}],qoto:a,vaporcloud:a,myrdbx:a,"rb-hosting":N,"on-k3s":r,"on-rio":r,readthedocs:a,resindevice:a,resinstaging:[0,{devices:a}],hzc:a,sandcats:a,scrypted:[0,{client:a}],"mo-siemens":a,lair:D,stolos:r,musician:a,utwente:a,edugit:a,telebit:a,thingdust:[0,{dev:Z,disrec:Z,prod:ee,testing:Z}],tickets:a,webflow:a,webflowtest:a,editorx:a,wixstudio:a,basicserver:a,virtualserver:a}],iq:o,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,arvanedge:a,vistablog:a}],is:e,it:[1,{edu:e,gov:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenezia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-süd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-südtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,trentino:e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-süd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-südtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinosüd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinosüdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentinsüd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentinsüdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vallée-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vallée-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,valléeaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,valléedaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,balsan:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-südtirol":e,"balsan-suedtirol":e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,bolzano:e,"bolzano-altoadige":e,bozen:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-südtirol":e,"bozen-suedtirol":e,br:e,brescia:e,brindisi:e,bs:e,bt:e,bulsan:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-südtirol":e,"bulsan-suedtirol":e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesena-forli":e,"xn--cesena-forl-mcb":e,"cesena-forlì":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforlì:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forlì-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forlìcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,monza:e,"monza-brianza":e,"monza-e-della-brianza":e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,sa:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,"xn--sdtirol-n2a":e,südtirol:e,suedtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,"12chars":a,ibxos:a,iliadboxos:a,neen:[0,{jc:a}],"123homepage":a,"16-b":a,"32-b":a,"64-b":a,myspreadshop:a,syncloud:a}],je:[1,{co:e,net:e,org:e,of:a}],jm:k,jo:[1,{agri:e,ai:e,com:e,edu:e,eng:e,fm:e,gov:e,mil:e,net:e,org:e,per:e,phd:e,sch:e,tv:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:X,gehirn:a,ivory:a,"mail-box":a,mints:a,mokuren:a,opal:a,sakura:a,sumomo:a,topaz:a}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,nagi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,wakayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--ehqz56n":e,三重:e,"xn--1lqs03n":e,京都:e,"xn--qqqt11m":e,佐賀:e,"xn--f6qx53a":e,兵庫:e,"xn--djrs72d6uy":e,北海道:e,"xn--mkru45i":e,千葉:e,"xn--0trq7p7nn":e,和歌山:e,"xn--5js045d":e,埼玉:e,"xn--kbrq7o":e,大分:e,"xn--pssu33l":e,大阪:e,"xn--ntsq17g":e,奈良:e,"xn--uisz3g":e,宮城:e,"xn--6btw5a":e,宮崎:e,"xn--1ctwo":e,富山:e,"xn--6orx2r":e,山口:e,"xn--rht61e":e,山形:e,"xn--rht27z":e,山梨:e,"xn--nit225k":e,岐阜:e,"xn--rht3d":e,岡山:e,"xn--djty4k":e,岩手:e,"xn--klty5x":e,島根:e,"xn--kltx9a":e,広島:e,"xn--kltp7d":e,徳島:e,"xn--c3s14m":e,愛媛:e,"xn--vgu402c":e,愛知:e,"xn--efvn9s":e,新潟:e,"xn--1lqs71d":e,東京:e,"xn--4pvxs":e,栃木:e,"xn--uuwu58a":e,沖縄:e,"xn--zbx025d":e,滋賀:e,"xn--8pvr4u":e,熊本:e,"xn--5rtp49c":e,石川:e,"xn--ntso0iqx3a":e,神奈川:e,"xn--elqq16h":e,福井:e,"xn--4it168d":e,福岡:e,"xn--klt787d":e,福島:e,"xn--rny31h":e,秋田:e,"xn--7t0a264c":e,群馬:e,"xn--uist22h":e,茨城:e,"xn--8ltr62k":e,長崎:e,"xn--2m4a15e":e,長野:e,"xn--32vp30h":e,青森:e,"xn--4it797k":e,静岡:e,"xn--5rtq34k":e,香川:e,"xn--k7yn95e":e,高知:e,"xn--tor131o":e,鳥取:e,"xn--d5qv7z876c":e,鹿児島:e,kawasaki:k,kitakyushu:k,kobe:k,nagoya:k,sapporo:k,sendai:k,yokohama:k,buyshop:a,fashionstore:a,handcrafted:a,kawaiishop:a,supersale:a,theshop:a,"0am":a,"0g0":a,"0j0":a,"0t0":a,mydns:a,pgw:a,wjg:a,usercontent:a,angry:a,babyblue:a,babymilk:a,backdrop:a,bambina:a,bitter:a,blush:a,boo:a,boy:a,boyfriend:a,but:a,candypop:a,capoo:a,catfood:a,cheap:a,chicappa:a,chillout:a,chips:a,chowder:a,chu:a,ciao:a,cocotte:a,coolblog:a,cranky:a,cutegirl:a,daa:a,deca:a,deci:a,digick:a,egoism:a,fakefur:a,fem:a,flier:a,floppy:a,fool:a,frenchkiss:a,girlfriend:a,girly:a,gloomy:a,gonna:a,greater:a,hacca:a,heavy:a,her:a,hiho:a,hippy:a,holy:a,hungry:a,icurus:a,itigo:a,jellybean:a,kikirara:a,kill:a,kilo:a,kuron:a,littlestar:a,lolipopmc:a,lolitapunk:a,lomo:a,lovepop:a,lovesick:a,main:a,mods:a,mond:a,mongolian:a,moo:a,namaste:a,nikita:a,nobushi:a,noor:a,oops:a,parallel:a,parasite:a,pecori:a,peewee:a,penne:a,pepper:a,perma:a,pigboat:a,pinoko:a,punyu:a,pupu:a,pussycat:a,pya:a,raindrop:a,readymade:a,sadist:a,schoolbus:a,secret:a,staba:a,stripper:a,sub:a,sunnyday:a,thick:a,tonkotsu:a,under:a,upper:a,velvet:a,verse:a,versus:a,vivian:a,watson:a,weblike:a,whitesnow:a,zombie:a,hateblo:a,hatenablog:a,hatenadiary:a,"2-d":a,bona:a,crap:a,daynight:a,eek:a,flop:a,halfmoon:a,jeez:a,matrix:a,mimoza:a,netgamers:a,nyanta:a,o0o0:a,rdy:a,rgr:a,rulez:a,sakurastorage:[0,{isk01:ae,isk02:ae}],saloon:a,sblo:a,skr:a,tank:a,"uh-oh":a,undo:a,webaccel:[0,{rs:a,user:a}],websozai:a,xii:a}],ke:[1,{ac:e,co:e,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,us:a,xx:a}],kh:k,ki:te,km:[1,{ass:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e,tm:e,asso:e,coop:e,gouv:e,medecin:e,notaires:e,pharmaciens:e,presse:e,veterinaire:e}],kn:[1,{edu:e,gov:e,net:e,org:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,ai:e,co:e,es:e,go:e,hs:e,io:e,it:e,kg:e,me:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,c01:a,"eliv-cdn":a,"eliv-dns":a,mmv:a,vki:a}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:L,kz:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,jcloud:a}],la:[1,{com:e,edu:e,gov:e,info:e,int:e,net:e,org:e,per:e,bnr:a}],lb:t,lc:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,oy:a}],li:e,lk:[1,{ac:e,assn:e,com:e,edu:e,gov:e,grp:e,hotel:e,int:e,ltd:e,net:e,ngo:e,org:e,sch:e,soc:e,web:e}],lr:t,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:c,lu:[1,{"123website":a}],lv:[1,{asn:e,com:e,conf:e,edu:e,gov:e,id:e,mil:e,net:e,org:e}],ly:[1,{com:e,edu:e,gov:e,id:e,med:e,net:e,org:e,plc:e,sch:e}],ma:[1,{ac:e,co:e,gov:e,net:e,org:e,press:e}],mc:[1,{asso:e,tm:e}],md:[1,{ir:a}],me:[1,{ac:e,co:e,edu:e,gov:e,its:e,net:e,org:e,priv:e,c66:a,craft:a,edgestack:a,filegear:a,"filegear-sg":a,lohmus:a,barsy:a,mcdir:a,brasilia:a,ddns:a,dnsfor:a,hopto:a,loginto:a,noip:a,webhop:a,soundcast:a,tcp4:a,vp4:a,diskstation:a,dscloud:a,i234:a,myds:a,synology:a,transip:N,nohost:a}],mg:[1,{co:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e}],mh:e,mil:e,mk:[1,{com:e,edu:e,gov:e,inf:e,name:e,net:e,org:e}],ml:[1,{ac:e,art:e,asso:e,com:e,edu:e,gouv:e,gov:e,info:e,inst:e,net:e,org:e,pr:e,presse:e}],mm:k,mn:[1,{edu:e,gov:e,org:e,nyc:a}],mo:t,mobi:[1,{barsy:a,dscloud:a}],mp:[1,{ju:a}],mq:e,mr:c,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:a}],mt:L,mu:[1,{ac:e,co:e,com:e,gov:e,net:e,or:e,org:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,edu:e,gob:e,net:e,org:e}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:ne,his:ne,ispmanager:a}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:a,"adobeio-static":a,adobeioruntime:a,akadns:a,akamai:a,"akamai-staging":a,akamaiedge:a,"akamaiedge-staging":a,akamaihd:a,"akamaihd-staging":a,akamaiorigin:a,"akamaiorigin-staging":a,akamaized:a,"akamaized-staging":a,edgekey:a,"edgekey-staging":a,edgesuite:a,"edgesuite-staging":a,alwaysdata:a,myamaze:a,cloudfront:a,appudo:a,"atlassian-dev":[0,{prod:Y}],myfritz:a,onavstack:a,shopselect:a,blackbaudcdn:a,boomla:a,bplaced:a,square7:a,cdn77:[0,{r:a}],"cdn77-ssl":a,gb:a,hu:a,jp:a,se:a,uk:a,clickrising:a,"ddns-ip":a,"dns-cloud":a,"dns-dynamic":a,cloudaccess:a,cloudflare:[2,{cdn:a}],cloudflareanycast:Y,cloudflarecn:Y,cloudflareglobal:Y,ctfcloud:a,"feste-ip":a,"knx-server":a,"static-access":a,cryptonomic:r,dattolocal:a,mydatto:a,debian:a,definima:a,deno:a,icp:r,de5:a,"at-band-camp":a,blogdns:a,"broke-it":a,buyshouses:a,dnsalias:a,dnsdojo:a,"does-it":a,dontexist:a,dynalias:a,dynathome:a,endofinternet:a,"from-az":a,"from-co":a,"from-la":a,"from-ny":a,"gets-it":a,"ham-radio-op":a,homeftp:a,homeip:a,homelinux:a,homeunix:a,"in-the-band":a,"is-a-chef":a,"is-a-geek":a,"isa-geek":a,"kicks-ass":a,"office-on-the":a,podzone:a,"scrapper-site":a,selfip:a,"sells-it":a,servebbs:a,serveftp:a,thruhere:a,webhop:a,casacam:a,dynu:a,dynv6:a,twmail:a,ru:a,channelsdvr:[2,{u:a}],fastly:[0,{freetls:a,map:a,prod:[0,{a,global:a}],ssl:[0,{a,b:a,global:a}]}],fastlylb:[2,{map:a}],edgeapp:a,"keyword-on":a,"live-on":a,"server-on":a,"cdn-edges":a,heteml:a,cloudfunctions:a,"grafana-dev":a,iobb:a,moonscale:a,"in-dsl":a,"in-vpn":a,oninferno:a,botdash:a,"apps-1and1":a,ipifony:a,cloudjiffy:[2,{"fra1-de":a,"west1-us":a}],elastx:[0,{"jls-sto1":a,"jls-sto2":a,"jls-sto3":a}],massivegrid:[0,{paas:[0,{"fr-1":a,"lon-1":a,"lon-2":a,"ny-1":a,"ny-2":a,"sg-1":a}]}],saveincloud:[0,{jelastic:a,"nordeste-idc":a}],scaleforce:$,kinghost:a,uni5:a,krellian:a,ggff:a,localto:r,barsy:a,luyani:a,memset:a,"azure-api":a,"azure-mobile":a,azureedge:a,azurefd:a,azurestaticapps:[2,{1:a,2:a,3:a,4:a,5:a,6:a,7:a,centralus:a,eastasia:a,eastus2:a,westeurope:a,westus2:a}],azurewebsites:a,cloudapp:a,trafficmanager:a,windows:[0,{core:[0,{blob:a}],servicebus:a}],mynetname:[0,{sn:a}],routingthecloud:a,bounceme:a,ddns:a,"eating-organic":a,mydissent:a,myeffect:a,mymediapc:a,mypsx:a,mysecuritycamera:a,nhlfan:a,"no-ip":a,pgafan:a,privatizehealthinsurance:a,redirectme:a,serveblog:a,serveminecraft:a,sytes:a,dnsup:a,hicam:a,"now-dns":a,ownip:a,vpndns:a,cloudycluster:a,ovh:[0,{hosting:r,webpaas:r}],rackmaze:a,myradweb:a,in:a,"subsc-pay":a,squares:a,schokokeks:a,"firewall-gateway":a,seidat:a,senseering:a,siteleaf:a,mafelo:a,myspreadshop:a,"vps-host":[2,{jelastic:[0,{atl:a,njs:a,ric:a}]}],srcf:[0,{soc:a,user:a}],supabase:a,dsmynas:a,familyds:a,ts:[2,{c:r}],torproject:[2,{pages:a}],tunnelmole:a,vusercontent:a,"reserve-online":a,localcert:a,"community-pro":a,meinforum:a,yandexcloud:[2,{storage:a,website:a}],za:a,zabc:a}],nf:[1,{arts:e,com:e,firm:e,info:e,net:e,other:e,per:e,rec:e,store:e,web:e}],ng:[1,{com:e,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:a,dl:a,go:a,lg:a,on:a}],col:a,firm:a,gen:a,ltd:a,ngo:a,plc:a}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:a,"hosting-cluster":a,gov:a,khplay:a,"123website":a,myspreadshop:a,transurl:r,cistron:a,demon:a}],no:[1,{fhs:e,folkebibl:e,fylkesbibl:e,idrett:e,museum:e,priv:e,vgs:e,dep:e,herad:e,kommune:e,mil:e,stat:e,aa:ie,ah:ie,bu:ie,fm:ie,hl:ie,hm:ie,"jan-mayen":ie,mr:ie,nl:ie,nt:ie,of:ie,ol:ie,oslo:ie,rl:ie,sf:ie,st:ie,svalbard:ie,tm:ie,tr:ie,va:ie,vf:ie,akrehamn:e,"xn--krehamn-dxa":e,åkrehamn:e,algard:e,"xn--lgrd-poac":e,ålgård:e,arna:e,bronnoysund:e,"xn--brnnysund-m8ac":e,brønnøysund:e,brumunddal:e,bryne:e,drobak:e,"xn--drbak-wua":e,drøbak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,florø:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,hønefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,jørpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langevåg:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mjøndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosjøen:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,osøyro:e,raholt:e,"xn--rholt-mra":e,råholt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessjøen:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stjørdalshalsen:e,tananger:e,tranby:e,vossevangen:e,aarborte:e,aejrie:e,afjord:e,"xn--fjord-lra":e,åfjord:e,agdenes:e,akershus:se,aknoluokta:e,"xn--koluokta-7ya57h":e,ákŋoluokta:e,al:e,"xn--l-1fa":e,ål:e,alaheadju:e,"xn--laheadju-7ya":e,álaheadju:e,alesund:e,"xn--lesund-hua":e,ålesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,áltá:e,alvdal:e,amli:e,"xn--mli-tla":e,åmli:e,amot:e,"xn--mot-tla":e,åmot:e,andasuolo:e,andebu:e,andoy:e,"xn--andy-ira":e,andøy:e,ardal:e,"xn--rdal-poa":e,årdal:e,aremark:e,arendal:e,"xn--s-1fa":e,ås:e,aseral:e,"xn--seral-lra":e,åseral:e,asker:e,askim:e,askoy:e,"xn--asky-ira":e,askøy:e,askvoll:e,asnes:e,"xn--snes-poa":e,åsnes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-høland":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,averøy:e,badaddja:e,"xn--bdddj-mrabd":e,bådåddjå:e,"xn--brum-voa":e,bærum:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,báhcavuotna:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,báhccavuotna:e,baidar:e,"xn--bidr-5nac":e,báidár:e,bajddar:e,"xn--bjddar-pta":e,bájddar:e,balat:e,"xn--blt-elab":e,bálát:e,balestrand:e,ballangen:e,balsfjord:e,bamble:e,bardu:e,barum:e,batsfjord:e,"xn--btsfjord-9za":e,båtsfjord:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalváhki:e,beardu:e,beiarn:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlevåg:e,bievat:e,"xn--bievt-0qa":e,bievát:e,bindal:e,birkenes:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bodø:e,bokn:e,bomlo:e,"xn--bmlo-gra":e,bømlo:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,brønnøy:e,budejju:e,buskerud:se,bygland:e,bykle:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,čáhcesuolo:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenjárga:e,davvesiida:e,deatnu:e,dielddanuorri:e,divtasvuodna:e,divttasvuotna:e,donna:e,"xn--dnna-gra":e,dønna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyrøy:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenassi:e,"xn--eveni-0qa01ga":e,evenášši:e,evenes:e,"evje-og-hornnes":e,farsund:e,fauske:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finnøy:e,fitjar:e,fjaler:e,fjell:e,fla:e,"xn--fl-zia":e,flå:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,folldal:e,forde:e,"xn--frde-gra":e,førde:e,forsand:e,fosnes:e,"xn--frna-woa":e,fræna:e,frana:e,frei:e,frogn:e,froland:e,frosta:e,froya:e,"xn--frya-hra":e,frøya:e,fuoisku:e,fuossko:e,fusa:e,fyresdal:e,gaivuotna:e,"xn--givuotna-8ya":e,gáivuotna:e,galsa:e,"xn--gls-elac":e,gálsá:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,gáŋgaviika:e,gaular:e,gausdal:e,giehtavuoatna:e,gildeskal:e,"xn--gildeskl-g0a":e,gildeskål:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gjøvik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,grue:e,gulen:e,guovdageaidnu:e,ha:e,"xn--h-2fa":e,hå:e,habmer:e,"xn--hbmer-xqa":e,hábmer:e,hadsel:e,"xn--hgebostad-g3a":e,hægebostad:e,hagebostad:e,halden:e,halsa:e,hamar:e,hamaroy:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,hámmárfeasta:e,hammerfest:e,hapmir:e,"xn--hpmir-xqa":e,hápmir:e,haram:e,hareid:e,harstad:e,hasvik:e,hattfjelldal:e,haugesund:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,våler:e}],hemne:e,hemnes:e,hemsedal:e,hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hobøl:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holtålen:e,hordaland:[0,{os:e}],hornindal:e,horten:e,hoyanger:e,"xn--hyanger-q1a":e,høyanger:e,hoylandet:e,"xn--hylandet-54a":e,høylandet:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inderøy:e,iveland:e,ivgu:e,jevnaker:e,jolster:e,"xn--jlster-bya":e,jølster:e,jondal:e,kafjord:e,"xn--kfjord-iua":e,kåfjord:e,karasjohka:e,"xn--krjohka-hwab49j":e,kárášjohka:e,karasjok:e,karlsoy:e,karmoy:e,"xn--karmy-yua":e,karmøy:e,kautokeino:e,klabu:e,"xn--klbu-woa":e,klæbu:e,klepp:e,kongsberg:e,kongsvinger:e,kraanghke:e,"xn--kranghke-b0a":e,kråanghke:e,kragero:e,"xn--krager-gya":e,kragerø:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,krødsherad:e,"xn--kvfjord-nxa":e,kvæfjord:e,"xn--kvnangen-k0a":e,kvænangen:e,kvafjord:e,kvalsund:e,kvam:e,kvanangen:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvitsøy:e,laakesvuemie:e,"xn--lrdal-sra":e,lærdal:e,lahppi:e,"xn--lhppi-xqa":e,láhppi:e,lardal:e,larvik:e,lavagis:e,lavangen:e,leangaviika:e,"xn--leagaviika-52b":e,leaŋgaviika:e,lebesby:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,lerdal:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindas:e,"xn--linds-pra":e,lindås:e,lindesnes:e,loabat:e,"xn--loabt-0qa":e,loabát:e,lodingen:e,"xn--ldingen-q1a":e,lødingen:e,lom:e,loppa:e,lorenskog:e,"xn--lrenskog-54a":e,lørenskog:e,loten:e,"xn--lten-gra":e,løten:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lurøy:e,luster:e,lyngdal:e,lyngen:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,málatvuopmi:e,malselv:e,"xn--mlselv-iua":e,målselv:e,malvik:e,mandal:e,marker:e,marnardal:e,masfjorden:e,masoy:e,"xn--msy-ula0h":e,måsøy:e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"mátta-várjjat":e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,meløy:e,meraker:e,"xn--merker-kua":e,meråker:e,midsund:e,"midtre-gauldal":e,moareke:e,"xn--moreke-jua":e,moåreke:e,modalen:e,modum:e,molde:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"møre-og-romsdal":[0,{herøy:e,sande:e}],moskenes:e,moss:e,muosat:e,"xn--muost-0qa":e,muosát:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,nååmesjevuemie:e,"xn--nry-yla5g":e,nærøy:e,namdalseid:e,namsos:e,namsskogan:e,nannestad:e,naroy:e,narviika:e,narvik:e,naustdal:e,navuotna:e,"xn--nvuotna-hwa":e,návuotna:e,"nedre-eiker":e,nesna:e,nesodden:e,nesseby:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,nordland:[0,{bo:e,"xn--b-5ga":e,bø:e,heroy:e,"xn--hery-ira":e,herøy:e}],"nordre-land":e,nordreisa:e,"nore-og-uvdal":e,notodden:e,notteroy:e,"xn--nttery-byae":e,nøtterøy:e,odda:e,oksnes:e,"xn--ksnes-uua":e,øksnes:e,omasvuotna:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppegård:e,orkdal:e,orland:e,"xn--rland-uua":e,ørland:e,orskog:e,"xn--rskog-uua":e,ørskog:e,orsta:e,"xn--rsta-fra":e,ørsta:e,osen:e,osteroy:e,"xn--ostery-fya":e,osterøy:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],østfold:[0,{våler:e}],"ostre-toten":e,"xn--stre-toten-zcb":e,"østre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"øvre-eiker":e,oyer:e,"xn--yer-zna":e,øyer:e,oygarden:e,"xn--ygarden-p1a":e,øygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"øystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,porsáŋgu:e,porsgrunn:e,rade:e,"xn--rde-ula":e,råde:e,radoy:e,"xn--rady-ira":e,radøy:e,"xn--rlingen-mxa":e,rælingen:e,rahkkeravju:e,"xn--rhkkervju-01af":e,ráhkkerávju:e,raisa:e,"xn--risa-5na":e,ráisa:e,rakkestad:e,ralingen:e,rana:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennesøy:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,risor:e,"xn--risr-ira":e,risør:e,rissa:e,roan:e,rodoy:e,"xn--rdy-0nab":e,rødøy:e,rollag:e,romsa:e,romskog:e,"xn--rmskog-bya":e,rømskog:e,roros:e,"xn--rros-gra":e,røros:e,rost:e,"xn--rst-0na":e,røst:e,royken:e,"xn--ryken-vua":e,røyken:e,royrvik:e,"xn--ryrvik-bya":e,røyrvik:e,ruovat:e,rygge:e,salangen:e,salat:e,"xn--slat-5na":e,sálat:e,"xn--slt-elab":e,sálát:e,saltdal:e,samnanger:e,sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sandøy:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,siellak:e,sigdal:e,siljan:e,sirdal:e,skanit:e,"xn--sknit-yqa":e,skánit:e,skanland:e,"xn--sknland-fxa":e,skånland:e,skaun:e,skedsmo:e,ski:e,skien:e,skierva:e,"xn--skierv-uta":e,skiervá:e,skiptvet:e,skjak:e,"xn--skjk-soa":e,skjåk:e,skjervoy:e,"xn--skjervy-v1a":e,skjervøy:e,skodje:e,smola:e,"xn--smla-hra":e,smøla:e,snaase:e,"xn--snase-nra":e,snåase:e,snasa:e,"xn--snsa-roa":e,snåsa:e,snillfjord:e,snoasa:e,sogndal:e,sogne:e,"xn--sgne-gra":e,søgne:e,sokndal:e,sola:e,solund:e,somna:e,"xn--smna-gra":e,sømna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"søndre-land":e,songdalen:e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"sør-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"sør-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"sør-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"sør-varanger":e,sorfold:e,"xn--srfold-bya":e,sørfold:e,sorreisa:e,"xn--srreisa-q1a":e,sørreisa:e,sortland:e,sorum:e,"xn--srum-gra":e,sørum:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stjørdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,tana:e,telemark:[0,{bo:e,"xn--b-5ga":e,bø:e}],time:e,tingvoll:e,tinn:e,tjeldsund:e,tjome:e,"xn--tjme-hra":e,tjøme:e,tokke:e,tolga:e,tonsberg:e,"xn--tnsberg-q1a":e,tønsberg:e,torsken:e,"xn--trna-woa":e,træna:e,trana:e,tranoy:e,"xn--trany-yua":e,tranøy:e,troandin:e,trogstad:e,"xn--trgstad-r1a":e,trøgstad:e,tromsa:e,tromso:e,"xn--troms-zua":e,tromsø:e,trondheim:e,trysil:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,tysnes:e,"xn--tysvr-vra":e,tysvær:e,tysvar:e,ullensaker:e,ullensvang:e,ulvik:e,unjarga:e,"xn--unjrga-rta":e,unjárga:e,utsira:e,vaapste:e,vadso:e,"xn--vads-jra":e,vadsø:e,"xn--vry-yla5g":e,værøy:e,vaga:e,"xn--vg-yiab":e,vågå:e,vagan:e,"xn--vgan-qoa":e,vågan:e,vagsoy:e,"xn--vgsy-qoa0j":e,vågsøy:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vardø:e,varggat:e,"xn--vrggt-xqad":e,várggát:e,varoy:e,vefsn:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,vegårshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestfold:[0,{sande:e}],vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestvågøy:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,voagat:e,volda:e,voss:e,co:a,"123hjemmeside":a,myspreadshop:a}],np:k,nr:te,nu:[1,{merseine:a,mine:a,shacknet:a,enterprisecloud:a}],nz:[1,{ac:e,co:e,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,"xn--mori-qsa":e,māori:e,mil:e,net:e,org:e,parliament:e,school:e,cloudns:a}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:a,pimienta:a,poivron:a,potager:a,sweetpepper:a,cdn77:[0,{c:a,rsc:a}],"cdn77-secure":[0,{origin:[0,{ssl:a}]}],ae:a,cloudns:a,"ip-dynamic":a,ddnss:a,dpdns:a,duckdns:a,tunk:a,blogdns:a,blogsite:a,boldlygoingnowhere:a,dnsalias:a,dnsdojo:a,doesntexist:a,dontexist:a,doomdns:a,dvrdns:a,dynalias:a,dyndns:[2,{go:a,home:a}],endofinternet:a,endoftheinternet:a,"from-me":a,"game-host":a,gotdns:a,"hobby-site":a,homedns:a,homeftp:a,homelinux:a,homeunix:a,"is-a-bruinsfan":a,"is-a-candidate":a,"is-a-celticsfan":a,"is-a-chef":a,"is-a-geek":a,"is-a-knight":a,"is-a-linux-user":a,"is-a-patsfan":a,"is-a-soxfan":a,"is-found":a,"is-lost":a,"is-saved":a,"is-very-bad":a,"is-very-evil":a,"is-very-good":a,"is-very-nice":a,"is-very-sweet":a,"isa-geek":a,"kicks-ass":a,misconfused:a,podzone:a,readmyblog:a,selfip:a,sellsyourhome:a,servebbs:a,serveftp:a,servegame:a,"stuff-4-sale":a,webhop:a,accesscam:a,camdvr:a,freeddns:a,mywire:a,webredirect:a,twmail:a,eu:[2,{al:a,asso:a,at:a,au:a,be:a,bg:a,ca:a,cd:a,ch:a,cn:a,cy:a,cz:a,de:a,dk:a,edu:a,ee:a,es:a,fi:a,fr:a,gr:a,hr:a,hu:a,ie:a,il:a,in:a,int:a,is:a,it:a,jp:a,kr:a,lt:a,lu:a,lv:a,me:a,mk:a,mt:a,my:a,net:a,ng:a,nl:a,no:a,nz:a,pl:a,pt:a,ro:a,ru:a,se:a,si:a,sk:a,tr:a,uk:a,us:a}],fedorainfracloud:a,fedorapeople:a,fedoraproject:[0,{cloud:a,os:q,stg:[0,{os:q}]}],freedesktop:a,hatenadiary:a,hepforge:a,"in-dsl":a,"in-vpn":a,js:a,barsy:a,mayfirst:a,routingthecloud:a,bmoattachments:a,"cable-modem":a,collegefan:a,couchpotatofries:a,hopto:a,mlbfan:a,myftp:a,mysecuritycamera:a,nflfan:a,"no-ip":a,"read-books":a,ufcfan:a,zapto:a,dynserv:a,"now-dns":a,"is-local":a,httpbin:a,pubtls:a,jpn:a,"my-firewall":a,myfirewall:a,spdns:a,"small-web":a,dsmynas:a,familyds:a,teckids:ae,tuxfamily:a,diskstation:a,hk:a,us:a,toolforge:a,wmcloud:[2,{beta:a}],wmflabs:a,za:a}],pa:[1,{abo:e,ac:e,com:e,edu:e,gob:e,ing:e,med:e,net:e,nom:e,org:e,sld:e}],pe:[1,{com:e,edu:e,gob:e,mil:e,net:e,nom:e,org:e}],pf:[1,{com:e,edu:e,org:e}],pg:k,ph:[1,{com:e,edu:e,gov:e,i:e,mil:e,net:e,ngo:e,org:e,cloudns:a}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,agro:e,aid:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,media:e,miasta:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,"kazimierz-dolny":e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorskie:e,pomorze:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,skoczow:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:a,gliwice:a,krakow:a,poznan:a,wroc:a,zakopane:a,beep:a,"ecommerce-shop":a,cfolks:a,dfirma:a,dkonto:a,you2:a,shoparena:a,homesklep:a,sdscloud:a,unicloud:a,lodz:a,pabianice:a,plock:a,sieradz:a,skierniewice:a,zgierz:a,krasnik:a,leczna:a,lubartow:a,lublin:a,poniatowa:a,swidnik:a,co:a,torun:a,simplesite:a,myspreadshop:a,gda:a,gdansk:a,gdynia:a,med:a,sopot:a,bielsko:a}],pm:[1,{own:a,name:a}],pn:[1,{co:e,edu:e,gov:e,net:e,org:e}],post:e,pr:[1,{biz:e,com:e,edu:e,gov:e,info:e,isla:e,name:e,net:e,org:e,pro:e,ac:e,est:e,prof:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,"12chars":a,cloudns:a,barsy:a,ngrok:a}],ps:[1,{com:e,edu:e,gov:e,net:e,org:e,plo:e,sec:e}],pt:[1,{com:e,edu:e,gov:e,int:e,net:e,nome:e,org:e,publ:e,"123paginaweb":a}],pw:[1,{gov:e,cloudns:a,x443:a}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e}],re:[1,{asso:e,com:e,netlib:a,can:a}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:a,shop:a,barsy:a}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:f,barsy:a,ox:a}],ru:[1,{ac:a,edu:a,gov:a,int:a,mil:a,eurodir:a,adygeya:a,bashkiria:a,bir:a,cbg:a,com:a,dagestan:a,grozny:a,kalmykia:a,kustanai:a,marine:a,mordovia:a,msk:a,mytis:a,nalchik:a,nov:a,pyatigorsk:a,spb:a,vladikavkaz:a,vladimir:a,na4u:a,mircloud:a,myjino:[2,{hosting:r,landing:r,spectrum:r,vps:r}],cldmail:[0,{hb:a}],mcdir:[2,{vps:a}],mcpre:a,net:a,org:a,pp:a,lk3:a,ras:a}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,edu:e,gov:e,med:e,net:e,org:e,pub:e,sch:e}],sb:t,sc:t,sd:[1,{com:e,edu:e,gov:e,info:e,med:e,net:e,org:e,tv:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:a,iopsys:a,"123minsida":a,itcouldbewor:a,myspreadshop:a}],sg:[1,{com:e,edu:e,gov:e,net:e,org:e,enscaled:a}],sh:[1,{com:e,gov:e,mil:e,net:e,org:e,hashbang:a,botda:a,lovable:a,platform:[0,{ent:a,eu:a,us:a}],teleport:a,now:a}],si:[1,{f5:a,gitapp:a,gitpage:a}],sj:e,sk:e,sl:t,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,perso:e,univ:e}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:a}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:a,kirara:a,noho:a}],su:[1,{abkhazia:a,adygeya:a,aktyubinsk:a,arkhangelsk:a,armenia:a,ashgabad:a,azerbaijan:a,balashov:a,bashkiria:a,bryansk:a,bukhara:a,chimkent:a,dagestan:a,"east-kazakhstan":a,exnet:a,georgia:a,grozny:a,ivanovo:a,jambyl:a,kalmykia:a,kaluga:a,karacol:a,karaganda:a,karelia:a,khakassia:a,krasnodar:a,kurgan:a,kustanai:a,lenug:a,mangyshlak:a,mordovia:a,msk:a,murmansk:a,nalchik:a,navoi:a,"north-kazakhstan":a,nov:a,obninsk:a,penza:a,pokrovsk:a,sochi:a,spb:a,tashkent:a,termez:a,togliatti:a,troitsk:a,tselinograd:a,tula:a,tuva:a,vladikavkaz:a,vladimir:a,vologda:a}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:c,sy:o,sz:[1,{ac:e,co:e,org:e}],tc:e,td:e,tel:e,tf:[1,{sch:a}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:a,shop:a}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:c,tm:[1,{co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:a}],to:[1,{611:a,com:e,edu:e,gov:e,mil:e,net:e,org:e,oya:a,x0:a,quickconnect:E,vpnplus:a}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:e,dr:e,edu:e,gen:e,gov:e,info:e,k12:e,kep:e,mil:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:c}],tt:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],tv:[1,{"better-than":a,dyndns:a,"on-the-web":a,"worse-than":a,from:a,sakura:a}],tw:[1,{club:e,com:[1,{mymailer:a}],ebiz:e,edu:e,game:e,gov:e,idv:e,mil:e,net:e,org:e,url:a,mydns:a}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:a,inf:a,ltd:a,cx:a,biz:a,co:a,pp:a,v:a}],ug:[1,{ac:e,co:e,com:e,edu:e,go:e,gov:e,mil:e,ne:e,or:e,org:e,sc:e,us:e}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:a,vm:a}],layershift:$,barsy:a,barsyonline:a,retrosnub:ee,"nh-serv":a,"no-ip":a,adimo:a,myspreadshop:a}],gov:[1,{api:a,campaign:a,service:a}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:a,lug:a,lugs:a,affinitylottery:a,raffleentry:a,weeklylottery:a}],plc:e,police:e,sch:k,conn:a,copro:a,hosp:a,"independent-commission":a,"independent-inquest":a,"independent-inquiry":a,"independent-panel":a,"independent-review":a,"public-inquiry":a,"royal-commission":a,pymnt:a,barsy:a,nimsite:a,oraclegovcloudapps:r}],us:[1,{dni:e,isa:e,nsn:e,ak:ce,al:ce,ar:ce,as:ce,az:ce,ca:ce,co:ce,ct:ce,dc:ce,de:ue,fl:ce,ga:ce,gu:ce,hi:le,ia:ce,id:ce,il:ce,in:ce,ks:ce,ky:ce,la:ce,ma:[1,{k12:[1,{chtr:e,paroch:e,pvt:e}],cc:e,lib:e}],md:ce,me:ce,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:ce,mo:ce,ms:[1,{k12:e,cc:e}],mt:ce,nc:ce,nd:le,ne:ce,nh:ce,nj:ce,nm:ce,nv:ce,ny:ce,oh:ce,ok:ce,or:ce,pa:ce,pr:ce,ri:le,sc:ce,sd:le,tn:ce,tx:ce,ut:ce,va:ce,vi:ce,vt:ce,wa:ce,wi:ce,wv:ue,wy:ce,cloudns:a,"is-by":a,"land-4-sale":a,"stuff-4-sale":a,heliohost:a,enscaled:[0,{phx:a}],mircloud:a,ngo:a,golffan:a,noip:a,pointto:a,freeddns:a,srv:[2,{gh:a,gl:a}],platterp:a,servername:a}],uy:[1,{com:e,edu:e,gub:e,mil:e,net:e,org:e}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,gv:[2,{d:a}],"0e":r,mydns:a}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,emprende:e,firm:e,gob:e,gov:e,ia:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:[1,{edu:e}],vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e}],vu:L,wf:[1,{biz:a,sch:a}],ws:[1,{com:e,edu:e,gov:e,net:e,org:e,advisor:r,cloud66:a,dyndns:a,mypets:a}],yt:[1,{org:a}],"xn--mgbaam7a8h":e,امارات:e,"xn--y9a3aq":e,հայ:e,"xn--54b7fta0cc":e,বাংলা:e,"xn--90ae":e,бг:e,"xn--mgbcpq6gpa1a":e,البحرين:e,"xn--90ais":e,бел:e,"xn--fiqs8s":e,中国:e,"xn--fiqz9s":e,中國:e,"xn--lgbbat1ad8j":e,الجزائر:e,"xn--wgbh1c":e,مصر:e,"xn--e1a4c":e,ею:e,"xn--qxa6a":e,ευ:e,"xn--mgbah1a3hjkrd":e,موريتانيا:e,"xn--node":e,გე:e,"xn--qxam":e,ελ:e,"xn--j6w193g":[1,{"xn--gmqw5a":e,"xn--55qx5d":e,"xn--mxtq1m":e,"xn--wcvs22d":e,"xn--uc0atv":e,"xn--od0alg":e}],香港:[1,{個人:e,公司:e,政府:e,教育:e,組織:e,網絡:e}],"xn--2scrj9c":e,ಭಾರತ:e,"xn--3hcrj9c":e,ଭାରତ:e,"xn--45br5cyl":e,ভাৰত:e,"xn--h2breg3eve":e,भारतम्:e,"xn--h2brj9c8c":e,भारोत:e,"xn--mgbgu82a":e,ڀارت:e,"xn--rvc1e0am3e":e,ഭാരതം:e,"xn--h2brj9c":e,भारत:e,"xn--mgbbh1a":e,بارت:e,"xn--mgbbh1a71e":e,بھارت:e,"xn--fpcrj9c3d":e,భారత్:e,"xn--gecrj9c":e,ભારત:e,"xn--s9brj9c":e,ਭਾਰਤ:e,"xn--45brj9c":e,ভারত:e,"xn--xkc2dl3a5ee0h":e,இந்தியா:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,"xn--mgbtx2b":e,عراق:e,"xn--mgbayh7gpa":e,الاردن:e,"xn--3e0b707e":e,한국:e,"xn--80ao21a":e,қаз:e,"xn--q7ce6a":e,ລາວ:e,"xn--fzc2c9e2c":e,ලංකා:e,"xn--xkc2al3hye2a":e,இலங்கை:e,"xn--mgbc0a9azcg":e,المغرب:e,"xn--d1alf":e,мкд:e,"xn--l1acc":e,мон:e,"xn--mix891f":e,澳門:e,"xn--mix082f":e,澳门:e,"xn--mgbx4cd0ab":e,مليسيا:e,"xn--mgb9awbf":e,عمان:e,"xn--mgbai9azgqp6j":e,پاکستان:e,"xn--mgbai9a5eva00b":e,پاكستان:e,"xn--ygbi2ammx":e,فلسطين:e,"xn--90a3ac":[1,{"xn--80au":e,"xn--90azh":e,"xn--d1at":e,"xn--c1avg":e,"xn--o1ac":e,"xn--o1ach":e}],срб:[1,{ак:e,обр:e,од:e,орг:e,пр:e,упр:e}],"xn--p1ai":e,рф:e,"xn--wgbl6a":e,قطر:e,"xn--mgberp4a5d4ar":e,السعودية:e,"xn--mgberp4a5d4a87g":e,السعودیة:e,"xn--mgbqly7c0a67fbc":e,السعودیۃ:e,"xn--mgbqly7cvafr":e,السعوديه:e,"xn--mgbpl2fh":e,سودان:e,"xn--yfro4i67o":e,新加坡:e,"xn--clchc0ea0b2g2a9gcd":e,சிங்கப்பூர்:e,"xn--ogbpf8fl":e,سورية:e,"xn--mgbtf8fl":e,سوريا:e,"xn--o3cw4h":[1,{"xn--o3cyx2a":e,"xn--12co0c3b4eva":e,"xn--m3ch0j3a":e,"xn--h3cuzk1di":e,"xn--12c1fe0br":e,"xn--12cfi8ixb8l":e}],ไทย:[1,{ทหาร:e,ธุรกิจ:e,เน็ต:e,รัฐบาล:e,ศึกษา:e,องค์กร:e}],"xn--pgbs0dh":e,تونس:e,"xn--kpry57d":e,台灣:e,"xn--kprw13d":e,台湾:e,"xn--nnx388a":e,臺灣:e,"xn--j1amh":e,укр:e,"xn--mgb2ddes":e,اليمن:e,xxx:e,ye:o,za:[0,{ac:e,agric:e,alt:e,co:e,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:a}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:a,aiven:a,beget:r,brave:n,clerk:a,clerkstage:a,cloudflare:a,wnext:a,csb:[2,{preview:a}],convex:a,deta:a,ondigitalocean:a,easypanel:a,encr:[2,{frontend:a}],evervault:i,expo:[2,{staging:a}],edgecompute:a,"on-fleek":a,flutterflow:a,e2b:a,framer:a,github:a,hosted:r,run:[0,{"*":a,mtls:r}],web:a,hackclub:a,hasura:a,botdash:a,leapcell:a,loginline:a,lovable:a,luyani:a,medusajs:a,messerli:a,mocha:a,netlify:a,ngrok:a,"ngrok-free":a,developer:r,noop:a,northflank:r,upsun:r,railway:[0,{up:a}],replit:s,nyat:a,snowflake:[0,{"*":a,privatelink:r}],streamlit:a,storipress:a,telebit:a,typedream:a,vercel:a,wal:a,wasmer:a,bookonline:a,windsurf:a,zeabur:a,zerops:r}],apple:e,aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{on:[0,{"af-south-1":u,"ap-east-1":u,"ap-northeast-1":u,"ap-northeast-2":u,"ap-northeast-3":u,"ap-south-1":u,"ap-south-2":l,"ap-southeast-1":u,"ap-southeast-2":u,"ap-southeast-3":u,"ap-southeast-4":l,"ap-southeast-5":l,"ca-central-1":u,"ca-west-1":l,"eu-central-1":u,"eu-central-2":l,"eu-north-1":u,"eu-south-1":u,"eu-south-2":l,"eu-west-1":u,"eu-west-2":u,"eu-west-3":u,"il-central-1":l,"me-central-1":l,"me-south-1":u,"sa-east-1":u,"us-east-1":u,"us-east-2":u,"us-west-1":u,"us-west-2":u,"us-gov-east-1":d,"us-gov-west-1":d}],sagemaker:[0,{"ap-northeast-1":h,"ap-northeast-2":h,"ap-south-1":h,"ap-southeast-1":h,"ap-southeast-2":h,"ca-central-1":g,"eu-central-1":h,"eu-west-1":h,"eu-west-2":h,"us-east-1":g,"us-east-2":g,"us-west-2":g,"af-south-1":m,"ap-east-1":m,"ap-northeast-3":m,"ap-south-2":p,"ap-southeast-3":m,"ap-southeast-4":p,"ca-west-1":[0,{notebook:a,"notebook-fips":a}],"eu-central-2":m,"eu-north-1":m,"eu-south-1":m,"eu-south-2":m,"eu-west-3":m,"il-central-1":m,"me-central-1":m,"me-south-1":m,"sa-east-1":m,"us-gov-east-1":y,"us-gov-west-1":y,"us-west-1":[0,{notebook:a,"notebook-fips":a,studio:a}],experiments:r}],repost:[0,{private:r}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:a,nz:a}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{v0:a,windsurf:a}],builders:[1,{cloudsite:a}],business:b,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:a}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:a}]}],case:e,cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{convex:a,elementor:a,emergent:a,encoway:[0,{eu:a}],statics:r,ravendb:a,axarnet:[0,{"es-1":a}],diadem:a,jelastic:[0,{vip:a}],jele:a,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:a}]}],it1:a}],keliweb:[2,{cs:a}],oxa:[2,{tn:a,uk:a}],primetel:[2,{uk:a}],reclaim:[0,{ca:a,uk:a,us:a}],trendhosting:[0,{ch:a,de:a}],jote:a,jotelulu:a,kuleuven:a,laravel:a,linkyard:a,magentosite:r,matlab:a,observablehq:a,perspecta:a,vapor:a,"on-rancher":r,scw:[0,{baremetal:[0,{"fr-par-1":a,"fr-par-2":a,"nl-ams-1":a}],"fr-par":[0,{cockpit:a,ddl:a,dtwh:a,fnc:[2,{functions:a}],ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a,whm:a}],instances:[0,{priv:a,pub:a}],k8s:a,"nl-ams":[0,{cockpit:a,ddl:a,dtwh:a,ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a,whm:a}],"pl-waw":[0,{cockpit:a,ddl:a,dtwh:a,ifr:a,k8s:v,kafk:a,mgdb:a,rdb:a,s3:a,"s3-website":a,scbl:a}],scalebook:a,smartlabeling:a}],servebolt:a,onstackit:[0,{runs:a}],trafficplex:a,"unison-services":a,urown:a,voorloper:a,zap:a}],club:[1,{cloudns:a,jele:a,barsy:a}],clubmed:e,coach:e,codes:[1,{owo:r}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:a,ravendb:a,myforum:a}],company:e,compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:a,de:a}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:a,bss:a}],dev:[1,{"12chars":a,myaddr:a,panel:a,bearblog:a,lcl:r,lclstage:r,stg:r,stgstage:r,pages:a,r2:a,workers:a,deno:a,"deno-staging":a,deta:a,lp:[2,{api:a,objects:a}],evervault:i,fly:a,githubpreview:a,gateway:r,botdash:a,inbrowser:r,"is-a-good":a,iserv:a,leapcell:a,runcontainers:a,localcert:[0,{user:r}],loginline:a,barsy:a,mediatech:a,"mocha-sandbox":a,modx:a,ngrok:a,"ngrok-free":a,"is-a-fullstack":a,"is-cool":a,"is-not-a":a,localplayer:a,xmit:a,"platter-app":a,replit:[2,{archer:a,bones:a,canary:a,global:a,hacker:a,id:a,janeway:a,kim:a,kira:a,kirk:a,odo:a,paris:a,picard:a,pike:a,prerelease:a,reed:a,riker:a,sisko:a,spock:a,staging:a,sulu:a,tarpit:a,teams:a,tucker:a,wesley:a,worf:a}],crm:[0,{d:r,w:r,wa:r,wb:r,wc:r,wd:r,we:r,wf:r}],erp:F,vercel:a,webhare:r,hrsn:a,"is-a":a}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:a}]}],direct:[1,{libp2p:a}],directory:e,discount:e,discover:e,dish:e,diy:e,dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:b,email:[1,{crisp:[0,{on:a}],tawk:V,tawkto:V}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:r}],eurovision:e,eus:[1,{party:X}],events:[1,{koobin:a,co:a}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:a}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:b,fire:e,firestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:e,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:a,sheezy:a}],gap:e,garden:e,gay:[1,{pages:a}],gbiz:e,gdn:[1,{cnpy:a}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:[1,{appwrite:a}],globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goo:e,goodyear:e,goog:[1,{cloud:a,translate:a,usercontent:r}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:a}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:a}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:a,freesite:a,easypanel:a,emergent:a,fastvps:a,myfast:a,tempurl:a,wpmudev:a,iserv:a,jele:a,mircloud:a,bolt:a,wp2:a,half:a}],hosting:[1,{opencraft:a}],hot:e,hotel:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:a,edu:a}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:a,cyon:a,joinmc:a,dweb:r,inbrowser:r,nftstorage:oe,mypep:a,storacha:oe,w3s:oe}],live:[1,{aem:a,hlx:a,ewp:r}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:a}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:e,mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:re,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:a,barsyonline:a}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:e,monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{aem:a,alces:r,co:a,arvo:a,azimuth:a,tlon:a}],neustar:e,new:e,news:[1,{noticeable:a}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:r,service:a,website:a}],ong:[1,{obl:a}],onl:e,online:[1,{eero:a,"eero-stage":a,websitebuilder:a,leapcell:a,barsy:a}],ooo:e,open:e,oracle:e,orange:[1,{tech:a}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:a}],page:[1,{aem:a,hlx:a,translated:a,codeberg:a,heyflow:a,prvcy:a,rocky:a,statichost:a,pdns:a,plesk:a}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:re,physio:e,pics:e,pictet:e,pictures:[1,{1337:a}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:a}],place:b,play:e,playstation:e,plumbing:e,plus:[1,{playit:[2,{at:r,with:a}]}],pnc:e,pohl:e,poker:e,politie:e,porn:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:r,kin:r,barsy:a}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:[1,{aem:a}],rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:a}],rocks:[1,{myddns:a,stackit:a,"lima-city":a,webspace:a}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{appwrite:r,canva:a,development:a,ravendb:a,liara:[2,{iran:a}],lovable:a,needle:a,build:r,code:r,database:r,migration:r,onporter:a,repl:a,stackit:a,val:F,vercel:a,wix:a}],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{gov:[2,{service:a}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:a}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:a,hoplix:a,barsy:a,barsyonline:a,shopware:a}],shopping:e,shouji:e,show:e,silk:e,sina:e,singles:e,site:[1,{square:a,canva:x,cloudera:r,convex:a,cyon:a,caffeine:a,fastvps:a,figma:a,"figma-gov":a,preview:a,heyflow:a,jele:a,jouwweb:a,loginline:a,barsy:a,co:a,notion:a,omniwe:a,opensocial:a,madethis:a,support:a,platformsh:r,tst:r,byen:a,srht:a,novecore:a,cpanel:a,wpsquared:a,sourcecraft:a}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:e,song:e,sony:e,soy:e,spa:e,space:[1,{myfast:a,heiyu:a,hf:[2,{static:a}],"app-ionos":a,project:a,uber:a,xs4all:a}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:a,sellfy:a,shopware:a,storebase:a}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:a}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:a}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:a,jelastic:a}],tech:[1,{cleverapps:a}],technology:b,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:a}],tokyo:e,tools:[1,{addr:G,myaddr:a}],top:[1,{ntdll:a,wadl:r}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:[1,{hidns:a}],virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:e,volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:re,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:re,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,wolterskluwer:e,woodside:e,work:e,works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,कॉम:e,"xn--1ck2e1b":e,セール:e,"xn--1qqw23a":e,佛山:e,"xn--30rr7y":e,慈善:e,"xn--3bst00m":e,集团:e,"xn--3ds443g":e,在线:e,"xn--3pxu8k":e,点看:e,"xn--42c2d9a":e,คอม:e,"xn--45q11c":e,八卦:e,"xn--4gbrim":e,موقع:e,"xn--55qw42g":e,公益:e,"xn--55qx5d":e,公司:e,"xn--5su34j936bgsg":e,香格里拉:e,"xn--5tzm5g":e,网站:e,"xn--6frz82g":e,移动:e,"xn--6qq986b3xl":e,我爱你:e,"xn--80adxhks":e,москва:e,"xn--80aqecdr1a":e,католик:e,"xn--80asehdb":e,онлайн:e,"xn--80aswg":e,сайт:e,"xn--8y0a063a":e,联通:e,"xn--9dbq2a":e,קום:e,"xn--9et52u":e,时尚:e,"xn--9krt00a":e,微博:e,"xn--b4w605ferd":e,淡马锡:e,"xn--bck1b9a5dre4c":e,ファッション:e,"xn--c1avg":e,орг:e,"xn--c2br7g":e,नेट:e,"xn--cck2b3b":e,ストア:e,"xn--cckwcxetd":e,アマゾン:e,"xn--cg4bki":e,삼성:e,"xn--czr694b":e,商标:e,"xn--czrs0t":e,商店:e,"xn--czru2d":e,商城:e,"xn--d1acj3b":e,дети:e,"xn--eckvdtc9d":e,ポイント:e,"xn--efvy88h":e,新闻:e,"xn--fct429k":e,家電:e,"xn--fhbei":e,كوم:e,"xn--fiq228c5hs":e,中文网:e,"xn--fiq64b":e,中信:e,"xn--fjq720a":e,娱乐:e,"xn--flw351e":e,谷歌:e,"xn--fzys8d69uvgm":e,電訊盈科:e,"xn--g2xx48c":e,购物:e,"xn--gckr3f0f":e,クラウド:e,"xn--gk3at1e":e,通販:e,"xn--hxt814e":e,网店:e,"xn--i1b6b1a6a2e":e,संगठन:e,"xn--imr513n":e,餐厅:e,"xn--io0a7i":e,网络:e,"xn--j1aef":e,ком:e,"xn--jlq480n2rg":e,亚马逊:e,"xn--jvr189m":e,食品:e,"xn--kcrx77d1x4a":e,飞利浦:e,"xn--kput3i":e,手机:e,"xn--mgba3a3ejt":e,ارامكو:e,"xn--mgba7c0bbn0a":e,العليان:e,"xn--mgbab2bd":e,بازار:e,"xn--mgbca7dzdo":e,ابوظبي:e,"xn--mgbi4ecexp":e,كاثوليك:e,"xn--mgbt3dhd":e,همراه:e,"xn--mk1bu44c":e,닷컴:e,"xn--mxtq1m":e,政府:e,"xn--ngbc5azd":e,شبكة:e,"xn--ngbe9e0a":e,بيتك:e,"xn--ngbrx":e,عرب:e,"xn--nqv7f":e,机构:e,"xn--nqv7fs00ema":e,组织机构:e,"xn--nyqy26a":e,健康:e,"xn--otu796d":e,招聘:e,"xn--p1acf":[1,{"xn--90amc":a,"xn--j1aef":a,"xn--j1ael8b":a,"xn--h1ahn":a,"xn--j1adp":a,"xn--c1avg":a,"xn--80aaa0cvac":a,"xn--h1aliz":a,"xn--90a1af":a,"xn--41a":a}],рус:[1,{биз:a,ком:a,крым:a,мир:a,мск:a,орг:a,самара:a,сочи:a,спб:a,я:a}],"xn--pssy2u":e,大拿:e,"xn--q9jyb4c":e,みんな:e,"xn--qcka1pmc":e,グーグル:e,"xn--rhqv96g":e,世界:e,"xn--rovu88b":e,書籍:e,"xn--ses554g":e,网址:e,"xn--t60b56a":e,닷넷:e,"xn--tckwe":e,コム:e,"xn--tiq49xqyj":e,天主教:e,"xn--unup4y":e,游戏:e,"xn--vermgensberater-ctb":e,vermögensberater:e,"xn--vermgensberatung-pwb":e,vermögensberatung:e,"xn--vhquv":e,企业:e,"xn--vuq861b":e,信息:e,"xn--w4r85el8fhu5dnra":e,嘉里大酒店:e,"xn--w4rs40l":e,嘉里:e,"xn--xhq521b":e,广东:e,"xn--zfr164b":e,政务:e,xyz:[1,{caffeine:a,botdash:a,telebit:r}],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{triton:r,stackit:a,lima:a}],zuerich:e}]}();function l(e,a,t,o){let r=null,n=a;for(;void 0!==n&&(0!==(n[0]&o)&&(r={index:t+1,isIcann:1===n[0],isPrivate:2===n[0]}),-1!==t);){const a=n[1];n=Object.prototype.hasOwnProperty.call(a,e[t])?a[e[t]]:a["*"],t-=1}return r}function d(e,a,t){var o;if(function(e,a,t){if(!a.allowPrivateDomains&&e.length>3){const a=e.length-1,o=e.charCodeAt(a),r=e.charCodeAt(a-1),n=e.charCodeAt(a-2),i=e.charCodeAt(a-3);if(109===o&&111===r&&99===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="com",!0;if(103===o&&114===r&&111===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="org",!0;if(117===o&&100===r&&101===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="edu",!0;if(118===o&&111===r&&103===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="gov",!0;if(116===o&&101===r&&110===n&&46===i)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="net",!0;if(101===o&&100===r&&46===n)return t.isIcann=!0,t.isPrivate=!1,t.publicSuffix="de",!0}return!1}(e,a,t))return;const r=e.split("."),n=(a.allowPrivateDomains?2:0)|(a.allowIcannDomains?1:0),i=l(r,c,r.length-1,n);if(null!==i)return t.isIcann=i.isIcann,t.isPrivate=i.isPrivate,void(t.publicSuffix=r.slice(i.index+1).join("."));const s=l(r,u,r.length-1,n);if(null!==s)return t.isIcann=s.isIcann,t.isPrivate=s.isPrivate,void(t.publicSuffix=r.slice(s.index).join("."));t.isIcann=!1,t.isPrivate=!1,t.publicSuffix=null!==(o=r[r.length-1])&&void 0!==o?o:null}const m={domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null};function h(e,a={}){return s(e,5,d,a,{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null})}function p(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,0,d,a,m).hostname}function g(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,2,d,a,m).publicSuffix}function y(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,3,d,a,m).domain}function f(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,4,d,a,m).subdomain}function k(e,a={}){var t;return(t=m).domain=null,t.domainWithoutSuffix=null,t.hostname=null,t.isIcann=null,t.isIp=null,t.isPrivate=null,t.publicSuffix=null,t.subdomain=null,s(e,5,d,a,m).domainWithoutSuffix}},661(e,a,t){var o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,a)=>()=>(e&&(a=e(e=0)),a),c=(e,a)=>{for(var t in a)o(e,t,{get:a[t],enumerable:!0})};function u(e){let a=e.replace(/-/g,"+").replace(/_/g,"/");for(;a.length%4;)a+="=";return Uint8Array.from(atob(a),e=>e.charCodeAt(0))}var l,d,m=s(()=>{l=(e,a)=>{let t=Uint8Array.from(atob(e),e=>e.charCodeAt(0)).map((e,t)=>e^a+t&255);return(new TextDecoder).decode(t)},d=async e=>{let a=globalThis.grecaptcha,t=e?a?.enterprise:void 0,o=t?.ready??a?.ready,r=t?.execute??a?.execute;if("function"!=typeof r)return{execute:void 0};try{return"function"==typeof o&&await new Promise(e=>o(()=>e())),{execute:r}}catch{return{execute:void 0}}}});function h(e,a){return`wpsuite:${e}:${a}`}function p(e,a){let t=a?.timeoutMs??8e3;return e.availability??=function(e,a=8e3){return()=>new Promise(t=>{if("available"===e.status)return t("available");if("error"===e.status)return t("error");!e.status||e.status;let o,r=h(e.key,"ready"),n=h(e.key,"error"),i=()=>c("available"),s=()=>c("error"),c=e=>{window.removeEventListener(r,i),window.removeEventListener(n,s),void 0!==o&&window.clearTimeout(o),t(e)};window.addEventListener(r,i,{once:!0}),window.addEventListener(n,s,{once:!0}),o=window.setTimeout(()=>c("unavailable"),a)})}(e,t),e.onReady??=function(e){return a=>{window.addEventListener(h(e,"ready"),()=>a(),{once:!0})}}(e.key),e}var g,y,f=s(()=>{}),k=s(()=>{m(),g=l("///24djH19SDi+vD3tGN3c7q7NTM9PG3nazxrZz0rLqSoKCjvJyCtJjrsw==",170),y=l("/Z/u1+ncyvLd19D01cLL1vjCzvn18KuZsKf8iomml4auqpS/loekpeKjgQ==",170)}),b={};function w(e){try{return new URL(e.includes("://")?e:`http://${e}`).hostname.toLowerCase()}catch{return e.replace(/\/+$/,"").toLowerCase()}}function v(e){let a=w(e);if(K.test(a)||T.test(a)||"localhost"===a)return!0;let t=(0,A.parse)(a,{allowPrivateDomains:!0});return!(t.domain&&t.publicSuffix&&!H.includes(t.publicSuffix))}function x(e,a){return!!a&&function(e){let a=w(e);return a.startsWith("www.")?a.slice(4):a}(e)===a}c(b,{getConfig:()=>W});var S,A,E,j,z,C,P,H,K,T,W,I,R=s(()=>{S=t(217),k(),m(),_(),A=t(596),z=J(),C=z?z.siteSettings:{},P=/\b(dev|test|testing|staging|stage|qa|uat|preview|demo|sandbox|preprod|beta|canary)\b/i,H=["localhost","local","test","invalid","example","lan","internal"],K=/^(127\.)|^(10\.)|^(192\.168\.)|^(172\.(1[6-9]|2\d|3[0-1])\.)/,T=/^(::1$)|(^fc00:)|(^fd)/i,W=async()=>{let e=null;if(C.subscriber){let a=await(0,S.importJWK)({kty:"EC",x:E,y:j,crv:"P-256"},"ES256"),t=(new Date).getFullYear(),o=Math.floor((Date.now()-new Date(t,0,1).getTime())/6048e5),r=await fetch(z.uploadUrl+"lic.jws?t="+z.siteSettings.lastUpdate+"&y="+t+"&w="+o).then(e=>e.ok?e.text():null).catch(()=>null);if(r)try{let t=location.hostname.split(":")[0],{payload:o}=await(0,S.jwtVerify)(r,a,{algorithms:["ES256"]}),n=function(e,a){return function(e){return v(e)||function(e){let a=w(e);return!(!v(a)&&!P.test(a))||a.split(".").some(e=>P.test(e))}(e)}(e)?{free:!0,covered:!0}:{free:!1,covered:x(e,a)}}(t,o.domain);if(!n.free&&!n.covered)throw new Error("Invalid domain in JWT");let i=o.key.split(":"),s=u(i[0]),c=u(i[1]),l=(await fetch(z.uploadUrl+"config.enc?t="+z.siteSettings.lastUpdate).then(e=>e.ok?e.text():null).catch(()=>null))?.split(":");if(2===l?.length){let a=u(l[0]),t=u(l[1]),r=await crypto.subtle.importKey("raw",s,{name:"AES-GCM"},!1,["decrypt"]),n=await crypto.subtle.decrypt({name:"AES-GCM",iv:c},r,new Uint8Array([...a,...t]));e=JSON.parse((new TextDecoder).decode(n)),e.subscriptionType=o.subscriptionType}}catch(e){console.error(e.message)}}return e??null},E=g,j=y}),O={};function J(){return globalThis.WpSuite}function U(e){return globalThis.WpSuite?.plugins[e]}c(O,{TEXT_DOMAIN:()=>D,attachDefaultPluginRuntime:()=>p,getConfig:()=>M,getPlugin:()=>U,getRecaptcha:()=>d,getWpSuite:()=>J}),e.exports=(I=O,((e,a,t,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of n(a))!i.call(e,t)&&void 0!==t&&o(e,t,{get:()=>a[t],enumerable:!(s=r(a,t))||s.enumerable});return e})(o({},"__esModule",{value:!0}),I));var D,M,_=s(()=>{m(),f(),D="hub-for-wpsuiteio",M=async e=>{let a=await(await Promise.resolve().then(()=>(R(),b))).getConfig();return a&&(a={...a[e],subscriptionType:a.subscriptionType}),a}});_()},752(e){e.exports=WpSuiteAmplify},795(e){e.exports=window.ReactDOM}},a={};function t(o){var r=a[o];if(void 0!==r)return r.exports;var n=a[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a}),a},t.d=(e,a)=>{for(var o in a)t.o(a,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:a[o]})},t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};const o=window.React;var r,n=t.n(o),i=t(338),s=function(){return s=Object.assign||function(e){for(var a,t=1,o=arguments.length;t<o;t++)for(var r in a=arguments[t])Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);return e},s.apply(this,arguments)},c=function(e){"undefined"!=typeof process&&process.env,console.warn(e)};(r||(r={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var u=(0,o.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function l(e){var a=e.reCaptchaKey,t=e.useEnterprise,i=void 0!==t&&t,l=e.useRecaptchaNet,d=void 0!==l&&l,m=e.scriptProps,h=e.language,p=e.container,g=e.children,y=(0,o.useState)(null),f=y[0],k=y[1],b=(0,o.useRef)(a),w=JSON.stringify(m),v=JSON.stringify(null==p?void 0:p.parameters);(0,o.useEffect)(function(){if(a){var e=(null==m?void 0:m.id)||"google-recaptcha-v3",t=(null==m?void 0:m.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[t]=function(){var e=i?window.grecaptcha.enterprise:window.grecaptcha,t=s({badge:"inline",size:"invisible",sitekey:a},(null==p?void 0:p.parameters)||{});b.current=e.render(null==p?void 0:p.element,t)},function(e){var a=e.render,t=e.onLoadCallbackName,o=e.language,r=e.onLoad,n=e.useRecaptchaNet,i=e.useEnterprise,s=e.scriptProps,c=void 0===s?{}:s,u=c.nonce,l=void 0===u?"":u,d=c.defer,m=void 0!==d&&d,h=c.async,p=void 0!==h&&h,g=c.id,y=void 0===g?"":g,f=c.appendTo,k=y||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(k))r();else{var b=function(e){return"https://www."+(e.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(e.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:i,useRecaptchaNet:n}),w=document.createElement("script");w.id=k,w.src=b+"?render="+a+("explicit"===a?"&onload="+t:"")+(o?"&hl="+o:""),l&&(w.nonce=l),w.defer=!!m,w.async=!!p,w.onload=r,("body"===f?document.body:document.getElementsByTagName("head")[0]).appendChild(w)}}({render:(null==p?void 0:p.element)?"explicit":a,onLoadCallbackName:t,useEnterprise:i,useRecaptchaNet:d,scriptProps:m,language:h,onLoad:function(){if(window&&window.grecaptcha){var e=i?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){k(e)})}else c("<GoogleRecaptchaProvider /> "+r.SCRIPT_NOT_AVAILABLE)},onError:function(){c("Error loading google recaptcha script")}}),function(){!function(e,a){(function(e){var a;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(a=document.querySelector(".grecaptcha-badge"))&&a.parentNode&&document.body.removeChild(a.parentNode)})(a),window.___grecaptcha_cfg=void 0;var t=document.querySelector("#"+e);t&&t.remove(),function(){var e=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');e&&e.remove()}()}(e,null==p?void 0:p.element)}}c("<GoogleReCaptchaProvider /> recaptcha key not provided")},[i,d,w,v,h,a,null==p?void 0:p.element]);var x=(0,o.useCallback)(function(e){if(!f||!f.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return f.execute(b.current,{action:e})},[f,b]),S=(0,o.useMemo)(function(){return{executeRecaptcha:f?x:void 0,container:null==p?void 0:p.element}},[x,f,null==p?void 0:p.element]);return n().createElement(u.Provider,{value:S},g)}function d(e,a){return e(a={exports:{}},a.exports),a.exports}u.Consumer;var m="function"==typeof Symbol&&Symbol.for,h=m?Symbol.for("react.element"):60103,p=m?Symbol.for("react.portal"):60106,g=m?Symbol.for("react.fragment"):60107,y=m?Symbol.for("react.strict_mode"):60108,f=m?Symbol.for("react.profiler"):60114,k=m?Symbol.for("react.provider"):60109,b=m?Symbol.for("react.context"):60110,w=m?Symbol.for("react.async_mode"):60111,v=m?Symbol.for("react.concurrent_mode"):60111,x=m?Symbol.for("react.forward_ref"):60112,S=m?Symbol.for("react.suspense"):60113,A=m?Symbol.for("react.suspense_list"):60120,E=m?Symbol.for("react.memo"):60115,j=m?Symbol.for("react.lazy"):60116,z=m?Symbol.for("react.block"):60121,C=m?Symbol.for("react.fundamental"):60117,P=m?Symbol.for("react.responder"):60118,H=m?Symbol.for("react.scope"):60119;function K(e){if("object"==typeof e&&null!==e){var a=e.$$typeof;switch(a){case h:switch(e=e.type){case w:case v:case g:case f:case y:case S:return e;default:switch(e=e&&e.$$typeof){case b:case x:case j:case E:case k:return e;default:return a}}case p:return a}}}function T(e){return K(e)===v}var W={AsyncMode:w,ConcurrentMode:v,ContextConsumer:b,ContextProvider:k,Element:h,ForwardRef:x,Fragment:g,Lazy:j,Memo:E,Portal:p,Profiler:f,StrictMode:y,Suspense:S,isAsyncMode:function(e){return T(e)||K(e)===w},isConcurrentMode:T,isContextConsumer:function(e){return K(e)===b},isContextProvider:function(e){return K(e)===k},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===h},isForwardRef:function(e){return K(e)===x},isFragment:function(e){return K(e)===g},isLazy:function(e){return K(e)===j},isMemo:function(e){return K(e)===E},isPortal:function(e){return K(e)===p},isProfiler:function(e){return K(e)===f},isStrictMode:function(e){return K(e)===y},isSuspense:function(e){return K(e)===S},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===g||e===v||e===f||e===y||e===S||e===A||"object"==typeof e&&null!==e&&(e.$$typeof===j||e.$$typeof===E||e.$$typeof===k||e.$$typeof===b||e.$$typeof===x||e.$$typeof===C||e.$$typeof===P||e.$$typeof===H||e.$$typeof===z)},typeOf:K},I=d(function(e,a){}),R=(I.AsyncMode,I.ConcurrentMode,I.ContextConsumer,I.ContextProvider,I.Element,I.ForwardRef,I.Fragment,I.Lazy,I.Memo,I.Portal,I.Profiler,I.StrictMode,I.Suspense,I.isAsyncMode,I.isConcurrentMode,I.isContextConsumer,I.isContextProvider,I.isElement,I.isForwardRef,I.isFragment,I.isLazy,I.isMemo,I.isPortal,I.isProfiler,I.isStrictMode,I.isSuspense,I.isValidElementType,I.typeOf,d(function(e){e.exports=W})),O={};O[R.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},O[R.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var J=t(752),U=t(544),D=t(143);window.jQuery;const M=window.ReactJSXRuntime,_=document.documentElement;_.style.setProperty("--gatey-initialized","none"),_.style.setProperty("--gatey-not-initialized","flex"),jQuery(()=>{const e=(0,U.initializeGatey)();if(e.settings?.reCaptchaPublicKey&&!document.querySelector(`[wpsuite-recaptcha-provider='${e.settings.reCaptchaPublicKey}']`)){const a=document.createElement("div");a.setAttribute("wpsuite-recaptcha-provider",e.settings.reCaptchaPublicKey),document.body.appendChild(a),(0,i.H)(a).render((0,M.jsx)(o.StrictMode,{children:(0,M.jsx)(l,{reCaptchaKey:e.settings.reCaptchaPublicKey,useEnterprise:e.settings.useRecaptchaEnterprise,useRecaptchaNet:e.settings.useRecaptchaNet,children:(0,M.jsx)(M.Fragment,{})})}))}const a=e.cognito.store;let t,r;const n=Array.from(document.styleSheets).filter(e=>null===e.href||e.href.startsWith(window.location.origin)).reduce((e,a)=>[...e,...Array.from(a.cssRules).reduce((e,a)=>":root"===a.selectorText?[...e,...Array.from(a.style).filter(e=>e.startsWith("--gatey"))]:e,[])],[]),s=(e,a,t,o)=>{let r="[gatey-account-attribute][data-attribute='"+a+"']";"custom"===a&&(r+="[data-custom='"+t+"']");let n=o||"";jQuery(r).each((e,a)=>{const t=jQuery(a).attr("data-prefix"),o=jQuery(a).attr("data-postfix");t&&(n=t+n),o&&(n+=o),jQuery(a).children(":not(:has(*))").html(n),jQuery(a).children(" *:not(:has(*))").html(n)}),jQuery("."+e+":not(:has(*))").html(n),jQuery("."+e+" *:not(:has(*))").html(n)},c=async a=>{if(a){if(e.cognito.getUserAttributes){const a=await e.cognito.getUserAttributes(),o=[];a&&Object.keys(a).forEach(e=>{var r;const n=null!==(r=e&&J.defaultFormFieldOptions[e])&&void 0!==r?r:t?.formFields&&t?.formFields?.find(a=>a.name===e);let i=a[e];if(i)if("country"===n?.type){const e=J.countries.all.find(e=>e.alpha3?.toLocaleLowerCase()===i.toLocaleLowerCase()||e.alpha2?.toLocaleLowerCase()===i.toLocaleLowerCase());e&&(i=(0,J.translate)(e.name))}else if("select"===n?.type||"radio"===n?.type){var c;const e=(null!==(c=n?.values)&&void 0!==c?c:[]).find(e=>e.value===i);e&&(i=(0,J.translate)(e.label))}s("gatey-account-attribute-"+e.replaceAll(":","-"),e.startsWith("custom:")?"custom":e,e.startsWith("custom:")?e.substring(7):"",null!=i?i:" "),_.style.setProperty("--gatey-account-attribute-"+e.replaceAll(":","-"),"'"+(null!=i?i:"")+"'"),o.push(e)}),r?.forEach(e=>{o.includes(e)||(s("gatey-account-attribute-"+e.replaceAll(":","-"),e.startsWith("custom:")?"custom":e,e.startsWith("custom:")?e.substring(7):""," "),_.style.setProperty("--gatey-account-attribute-"+e.replaceAll(":","-"),"''"))})}if(e.cognito.getMfaPreferences){const a=await e.cognito.getMfaPreferences();_.style.setProperty("--gatey-account-mfa-enabled",a?.enabled?.includes("TOTP")?"flex":"none"),_.style.setProperty("--gatey-account-mfa-not-enabled",a?.enabled?.includes("TOTP")?"none":"flex")}}const o=!(!a||!e.cognito.isAuthenticated)&&await e.cognito.isAuthenticated();if(_.style.setProperty("--gatey-account-authenticated",o?"flex":"none"),_.style.setProperty("--gatey-account-not-authenticated",o?"none":"flex"),e.cognito.getGroups){const t=a&&await e.cognito.getGroups();n.forEach(e=>{e.startsWith("--gatey-account-group")&&_.style.setProperty(e,!e.includes("-not-")||t&&t.includes(e.substring(26))?"none":"flex")}),t&&t.forEach(e=>{_.style.setProperty("--gatey-account-group-"+e.toLocaleLowerCase(),"flex"),_.style.setProperty("--gatey-account-group-not-"+e.toLocaleLowerCase(),"none")})}_.style.setProperty("--gatey-not-initialized","none"),_.style.setProperty("--gatey-initialized","flex")};a.then(async a=>{t=(0,U.getStoreSelect)(a).getConfig();const o=t?.apiConfigurations?.secondary?.domains&&window.location.hostname.toLowerCase().match(t.apiConfigurations.secondary?.domains.toLowerCase())&&t.apiConfigurations?.secondary?.apis?.length?t.apiConfigurations.secondary:t?.apiConfigurations?.default,n=[];t?.formFields&&n.push(...Object.keys(t.formFields)),r=Array.from(new Set(n)),e.settings.signUpAttributes.forEach(e=>{r.includes(e)||r.push(e)}),(0,D.dispatch)(a).setAmplifyConfig((0,U.getAmplifyConfig)()),(0,U.observeStore)(a,e=>e.signedIn,async(e,t)=>{if(void 0!==t)try{e&&await(0,U.isAuthenticated)()?(0,U.login)(o?.signInHook).then(e=>{(0,D.dispatch)(a).setNextUrl(null!=e?e:null)}):(0,U.logout)(o?.signOutHook).then(e=>{(0,D.dispatch)(a).setNextUrl(null!=e?e:null)})}catch(e){console.error(e)}}),(0,U.observeStore)(a,e=>e.reloadAuthSession,e=>{e&&(0,U.loadAuthSession)({forceRefresh:!0}).catch(e=>{console.error(e),(0,D.dispatch)(a).clearAccount()})}),(0,U.observeStore)(a,e=>e.reloadUserAttributes,e=>{e&&(0,U.loadUserAttributes)().then(e=>(0,D.dispatch)(a).setAccount({...(0,U.getStoreSelect)(a).getAccount(),userAttributes:e})).catch(e=>{console.error(e),(0,D.dispatch)(a).clearAccount()})}),(0,U.observeStore)(a,e=>e.reloadMFAPreferences,e=>{e&&(0,U.loadMFAPreferences)().then(e=>(0,D.dispatch)(a).setAccount({...(0,U.getStoreSelect)(a).getAccount(),mfaPreferences:e})).catch(e=>{console.error(e),(0,D.dispatch)(a).clearAccount()})}),(0,U.observeStore)(a,e=>e.account,e=>{const t=!!e?.username;(0,D.dispatch)(a).setSignedIn(t),c(t)}),(0,U.observeStore)(a,e=>e.language,()=>{J.I18n.putVocabularies(J.translations),J.I18n.putVocabularies((0,U.getStoreSelect)(a).getCustomTranslations()||{}),e.cognito.isAuthenticated().then(e=>c(e))}),(0,U.observeStore)(a,e=>e.direction,()=>{e.cognito.isAuthenticated().then(e=>c(e))})})})})(); -
gatey/trunk/gatey.php
r3434314 r3434727 7 7 * Tested up to: 6.9 8 8 * Requires PHP: 8.1 9 * Version: 2.0. 49 * Version: 2.0.5 10 10 * Author: Smart Cloud Solutions Inc. 11 11 * Author URI: https://smart-cloud-solutions.com … … 19 19 namespace SmartCloud\WPSuite\Gatey; 20 20 21 const VERSION = '2.0. 4';21 const VERSION = '2.0.5'; 22 22 23 23 if (!defined('ABSPATH')) { -
gatey/trunk/readme.txt
r3434314 r3434727 5 5 Tested up to: 6.9 6 6 Requires PHP: 8.1 7 Stable tag: 2.0. 47 Stable tag: 2.0.5 8 8 License: MIT 9 9 License URI: https://mit-license.org/ … … 184 184 == Changelog == 185 185 186 = 2.0.5 = 187 Fix: sanitize resolved configuration to AuthenticatorConfig keys only (prevents unknown keys leaking from getConfig() or site settings). 188 186 189 = 2.0.4 = 187 190 Authenticator: simplified backend config loading by replacing `gatey.cognito.get` with a plain site-key based `fetch` (used by the Gutenberg editor). The Cognito wrapper was unnecessary for this request. … … 398 401 == Upgrade Notice == 399 402 403 = 2.0.5 = 404 Configuration hardening update: the plugin now keeps only AuthenticatorConfig keys when resolving settings, avoiding issues caused by extra/unexpected config fields. 405 400 406 = 2.0.4 = 401 407 Authenticator now fetches backend config via a simple site-key based request instead of `gatey.cognito.get`. No action required.
Note: See TracChangeset
for help on using the changeset viewer.