PageSourceSearch

https://addressfinder.com/au/docs/assets/js/main.72478b12.js

js addressfinder.com collected 2026-10-09 22:40:06 UTC 1,057,006 bytes, 2 lines download raw bytes

1/*! For license information please see main.72478b12.js.LICENSE.txt */
2(self.webpackChunkaddressfinder_docs=self.webpackChunkaddressfinder_docs||[]).push([[8792],{8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});n(6540);var r=n(3259),a=n.n(r),o=n(4054);const i={"018f2844":[()=>n.e(5454).then(n.bind(n,6640)),"@site/docs/location-widgets/international-address-autocomplete/javascript-reference.md",6640],"08601da4":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(7201)]).then(n.bind(n,3406)),"@site/docs/api/au/au-location-metadata-api.mdx",3406],"08b5bdf1":[()=>n.e(3257).then(n.bind(n,9450)),"@site/docs/integrations/spiffy-stores.md",9450],"10b5aab9":[()=>n.e(9142).then(n.bind(n,7442)),"@site/docs/integrations/salesforce.md",7442],"148e5a40":[()=>n.e(7923).then(n.bind(n,3470)),"@site/docs/integrations/vue.md",3470],"15f3469a":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(6328)]).then(n.bind(n,4833)),"@site/docs/api/nz/nz-poi-autocomplete-api.mdx",4833],17896441:[()=>Promise.all([n.e(1869),n.e(2449),n.e(1601),n.e(8401)]).then(n.bind(n,8649)),"@theme/DocItem",8649],"1ab7b523":[()=>n.e(1546).then(n.bind(n,8416)),"@site/docs/integrations/drupal.md",8416],"1b412ed3":[()=>n.e(1227).then(n.bind(n,6224)),"@site/docs/email-verification/javascript-reference.md",6224],"1d8d7b8d":[()=>Promise.all([n.e(1869),n.e(2383),n.e(6975)]).then(n.bind(n,3979)),"@site/docs/search.mdx",3979],"2568f174":[()=>n.e(1488).then(n.bind(n,2929)),"@site/docs/portal-and-account/portal-sign-in.md",2929],"2764ca60":[()=>n.e(4070).then(n.bind(n,3593)),"@site/docs/integrations/hubspot2.md",3593],"2df9876c":[()=>n.e(7748).then(n.bind(n,9096)),"@site/docs/email-verification/metadata.md",9096],"2f2a3455":[()=>n.e(5883).then(n.bind(n,5318)),"@site/docs/phone-verification/javascript-reference.md",5318],"3282e528":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(4850)]).then(n.bind(n,1377)),"@site/docs/api/nz/nz-address-autocomplete-api.mdx",1377],"336bd038":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(9008)]).then(n.bind(n,5902)),"@site/docs/api/nz/nz-location-autocomplete-api.mdx",5902],"33dcc2a4":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(7458)]).then(n.bind(n,7783)),"@site/docs/api/nz/nz-address-reverse-geocode-api.mdx",7783],"33f358af":[()=>n.e(246).then(n.t.bind(n,406,19)),"@generated/docusaurus-plugin-content-docs/default/p/au-docs-455.json",406],"36eae857":[()=>n.e(5205).then(n.bind(n,644)),"@site/docs/address-widget/javascript-reference.md",644],"3e746c0c":[()=>n.e(1624).then(n.bind(n,4903)),"@site/docs/integrations/magento.md",4903],"401f0b95":[()=>n.e(4050).then(n.bind(n,6316)),"@site/docs/integrations/bigcommerce.md",6316],"42e12a54":[()=>n.e(3827).then(n.bind(n,4263)),"@site/docs/portal-and-account/organisations-and-projects.md",4263],"495f7eb7":[()=>n.e(9510).then(n.bind(n,4511)),"@site/docs/portal-and-account/billing.md",4511],"514c493f":[()=>n.e(6e3).then(n.bind(n,2333)),"@site/docs/portal-and-account/user-roles.md",2333],"59b11e03":[()=>n.e(3443).then(n.bind(n,1959)),"@site/docs/integrations/ruby.md",1959],"59f1c016":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(5390)]).then(n.bind(n,9173)),"@site/docs/api/au/au-location-autocomplete-api.mdx",9173],"5a32fcdd":[()=>n.e(1243).then(n.bind(n,7)),"@site/docs/integrations/zapier.md",7],"5b0c5851":[()=>n.e(6256).then(n.bind(n,6152)),"@site/docs/phone-verification/metadata.md",6152],"5b8dc148":[()=>n.e(7158).then(n.bind(n,8893)),"@site/docs/integrations/shopify.md",8893],"5e354c05":[()=>n.e(9611).then(n.bind(n,8276)),"@site/docs/location-widgets/location-autocomplete.md",8276],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"62ad5d90":[()=>n.e(2460).then(n.bind(n,2853)),"@site/docs/integrations/microsoft-dynamics-365.md",2853],"6534d8a1":[()=>n.e(6059).then(n.bind(n,2503)),"@site/docs/integrations/gravity-forms.md",2503],"65718fec":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(6342)]).then(n.bind(n,4676)),"@site/docs/api/phone-verification-api.mdx",4676],"65df3d35":[()=>n.e(8559).then(n.bind(n,1596)),"@site/docs/api/overview.md",1596],"6b97c64b":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(8834)]).then(n.bind(n,7340)),"@site/docs/api/nz/nz-location-metadata-api.mdx",7340],"6bdbcf0f":[()=>n.e(3996).then(n.bind(n,181)),"@site/docs/location-widgets/address-reverse-geocoding.md",181],"88e08049":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(7837)]).then(n.bind(n,9331)),"@site/docs/api/nz/nz-poi-metadata-api.mdx",9331],"8ca8b9c7":[()=>n.e(3642).then(n.bind(n,7407)),"@site/docs/integrations/storeconnect.md",7407],"91897ade":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(4809)]).then(n.bind(n,5905)),"@site/docs/api/au/au-address-autocomplete-api.mdx",5905],"923a889d":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(3153)]).then(n.bind(n,9781)),"@site/docs/api/nz/nz-address-ver
2ification-api.mdx",9781],"963c935b":[()=>n.e(129).then(n.bind(n,4646)),"@site/docs/address-widget/data-sources.md",4646],"9fdba668":[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(2687)]).then(n.bind(n,7840)),"@site/docs/api/email-verification-api.mdx",7840],a0072a8d:[()=>n.e(2276).then(n.bind(n,1556)),"@site/docs/email-verification/code-examples.md",1556],a332b307:[()=>n.e(5650).then(n.bind(n,7866)),"@site/docs/integrations/hubspot.md",7866],a60946ff:[()=>Promise.all([n.e(1869),n.e(2449),n.e(6001)]).then(n.bind(n,2063)),"@site/docs/address-widget/best-practices.md",2063],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,1723)),"@theme/DocVersionRoot",1723],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,1248)),"@theme/DocRoot",1248],aaff6b3f:[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(8126)]).then(n.bind(n,6849)),"@site/docs/api/au/au-address-verification-api.mdx",6849],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],acaff4cb:[()=>n.e(3703).then(n.bind(n,9112)),"@site/docs/phone-verification/code-examples.md",9112],adea16f2:[()=>n.e(6283).then(n.bind(n,276)),"@site/docs/phone-verification/integration.md",276],b49277b6:[()=>n.e(2878).then(n.bind(n,8316)),"@site/docs/email-verification/integration.md",8316],b82941ba:[()=>n.e(8560).then(n.bind(n,8257)),"@site/docs/integrations/react.md",8257],bcc464af:[()=>n.e(9412).then(n.bind(n,926)),"@site/docs/location-widgets/international-address-autocomplete/integration-guide.md",926],bd598580:[()=>n.e(4694).then(n.bind(n,5398)),"@site/docs/address-widget/code-examples.md",5398],bfc0aa82:[()=>n.e(3578).then(n.bind(n,7711)),"@site/docs/location-widgets/international-address-autocomplete/international-metadata.md",7711],c31e23b0:[()=>n.e(9372).then(n.bind(n,1611)),"@site/docs/address-widget/advanced-options.md",1611],c7f8fca6:[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(5215)]).then(n.bind(n,4626)),"@site/docs/api/au/au-address-metadata-api.mdx",4626],d0cf1c80:[()=>Promise.all([n.e(1869),n.e(2449),n.e(8352)]).then(n.bind(n,9738)),"@site/docs/address-widget/code-generator.mdx",9738],d589d3a7:[()=>n.e(7924).then(n.bind(n,6475)),"@site/docs/getting-started.md",6475],d75a8edd:[()=>n.e(751).then(n.bind(n,1741)),"@site/docs/portal-and-account/domains.md",1741],de96bf61:[()=>n.e(5292).then(n.bind(n,5836)),"@site/docs/integrations/woocommerce.md",5836],e2091f6b:[()=>n.e(8062).then(n.bind(n,6506)),"@site/docs/api/authentication/overview.md",6506],e687f2b9:[()=>n.e(1710).then(n.bind(n,4516)),"@site/docs/api/error-codes.md",4516],e6b363d6:[()=>n.e(3772).then(n.bind(n,5284)),"@site/docs/location-widgets/international-address-autocomplete/widget-options.md",5284],e9a19cf3:[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(6098)]).then(n.bind(n,9499)),"@site/docs/api/nz/nz-address-metadata-api.mdx",9499],ea313555:[()=>n.e(1011).then(n.bind(n,6280)),"@site/docs/faq.mdx",6280],ea577a34:[()=>n.e(60).then(n.bind(n,8188)),"@site/docs/portal-and-account/sso-and-saml.md",8188],ecdef33e:[()=>n.e(803).then(n.bind(n,8992)),"@site/docs/location-widgets/points-of-interest.md",8992],ef6c3898:[()=>n.e(1197).then(n.bind(n,7025)),"@site/docs/api/authentication/oauth2-client-credentials.md",7025],f22b33b9:[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(2814)]).then(n.bind(n,2595)),"@site/docs/api/international/int-address-metadata-api.mdx",2595],f4c8b390:[()=>n.e(5206).then(n.bind(n,7883)),"@site/docs/address-widget/integration-guide.md",7883],f4ca300a:[()=>n.e(69).then(n.bind(n,6671)),"@site/docs/email-verification/widget-options.md",6671],f6a0906e:[()=>n.e(7332).then(n.bind(n,8133)),"@site/docs/phone-verification/widget-options.md",8133],f7946140:[()=>n.e(3206).then(n.bind(n,8663)),"@site/docs/bulk-verification.md",8663],fbb106eb:[()=>n.e(279).then(n.bind(n,2776)),"@site/docs/integrations/overview.md",2776],fd1caa35:[()=>Promise.all([n.e(1869),n.e(2449),n.e(4655),n.e(6431)]).then(n.bind(n,3488)),"@site/docs/api/international/int-address-autocomplete-api.mdx",3488]};var s=n(4848);function u({error:e,retry:t,pastDelay:n}){return e?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(e)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):n?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;
222",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var l=n(6921),c=n(3102);function d(e,t){if("*"===e)return a()({loading:u,loader:()=>n.e(5317).then(n.bind(n,5317)),modules:["@theme/NotFound"],webpack:()=>[5317],render(e,t){const n=e.default;return(0,s.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],h=(0,l.A)(r);return Object.entries(h).forEach((([e,t])=>{const n=i[t];n&&(d[e]=n[0],p.push(n[1]),f.push(n[2]))})),a().Map({loading:u,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((([t,n])=>{const r=n.default;if(!r)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof r&&"function"!=typeof r||Object.keys(n).filter((e=>"default"!==e)).forEach((e=>{r[e]=n[e]}));let o=a;const i=t.split(".");i.slice(0,-1).forEach((e=>{o=o[e]})),o[i[i.length-1]]=r}));const o=a.__comp;delete a.__comp;const i=a.__context;delete a.__context;const u=a.__props;return delete a.__props,(0,s.jsx)(c.W,{value:i,children:(0,s.jsx)(o,{...a,...u,...n})})}})}const p=[{path:"/au/docs/",component:d("/au/docs/","d28"),routes:[{path:"/au/docs/",component:d("/au/docs/","089"),routes:[{path:"/au/docs/",component:d("/au/docs/","626"),routes:[{path:"/au/docs/address-widget/advanced-options",component:d("/au/docs/address-widget/advanced-options","8a6"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/address-widget/best-practices",component:d("/au/docs/address-widget/best-practices","cac"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/address-widget/code-examples",component:d("/au/docs/address-widget/code-examples","917"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/address-widget/code-generator",component:d("/au/docs/address-widget/code-generator","eed"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/address-widget/data-sources",component:d("/au/docs/address-widget/data-sources","fa3"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/address-widget/integration-guide",component:d("/au/docs/address-widget/integration-guide","4d8"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/address-widget/javascript-reference",component:d("/au/docs/address-widget/javascript-reference","fd7"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/au/au-address-autocomplete-api",component:d("/au/docs/api/au/au-address-autocomplete-api","692"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/au/au-address-metadata-api",component:d("/au/docs/api/au/au-address-metadata-api","917"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/au/au-address-verification-api",component:d("/au/docs/api/au/au-address-verification-api","3c2"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/au/au-location-autocomplete-api",component:d("/au/docs/api/au/au-location-autocomplete-api","a8a"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/au/au-location-metadata-api",component:d("/au/docs/api/au/au-location-metadata-api","c75"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/authentication/oauth2-client-credentials",component:d("/au/docs/api/authentication/oauth2-client-credentials","fbe"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/authentication/overview",component:d("/au/docs/api/authentication/overview","a78"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/email-verification-api",component:d("/au/docs/api/email-verification-api","569"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/error-codes",component:d("/au/docs/api/error-codes","9b8"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/international/int-address-autocomplete-api",component:d("/au/docs/api/international/int-address-autocomplete-api","c31"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/international/int-address-metadata-api",component:d("/au/docs/api/international/int-address-metadata-api","bff"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/nz/nz-address-autocomplete-api",component:d("/au/docs/api/nz/nz-address-autocomplete-api","516"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/nz/nz-address-metadata-api",component:d("/au/docs/api/nz/nz-address-metadata-api","0d8"),exact:!0,sidebar:"docsSidebar"}
2,{path:"/au/docs/api/nz/nz-address-reverse-geocode-api",component:d("/au/docs/api/nz/nz-address-reverse-geocode-api","bb8"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/nz/nz-address-verification-api",component:d("/au/docs/api/nz/nz-address-verification-api","e1c"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/nz/nz-location-autocomplete-api",component:d("/au/docs/api/nz/nz-location-autocomplete-api","48e"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/nz/nz-location-metadata-api",component:d("/au/docs/api/nz/nz-location-metadata-api","e8b"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/nz/nz-poi-autocomplete-api",component:d("/au/docs/api/nz/nz-poi-autocomplete-api","a09"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/nz/nz-poi-metadata-api",component:d("/au/docs/api/nz/nz-poi-metadata-api","5c5"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/overview",component:d("/au/docs/api/overview","5a4"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/api/phone-verification-api",component:d("/au/docs/api/phone-verification-api","677"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/bulk-verification",component:d("/au/docs/bulk-verification","6ba"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/email-verification/code-examples",component:d("/au/docs/email-verification/code-examples","b39"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/email-verification/integration",component:d("/au/docs/email-verification/integration","144"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/email-verification/javascript-reference",component:d("/au/docs/email-verification/javascript-reference","a22"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/email-verification/metadata",component:d("/au/docs/email-verification/metadata","fe7"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/email-verification/widget-options",component:d("/au/docs/email-verification/widget-options","fa7"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/faq",component:d("/au/docs/faq","d43"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/bigcommerce",component:d("/au/docs/integrations/bigcommerce","055"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/drupal",component:d("/au/docs/integrations/drupal","909"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/gravity-forms",component:d("/au/docs/integrations/gravity-forms","c76"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/hubspot",component:d("/au/docs/integrations/hubspot","c9a"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/hubspot2",component:d("/au/docs/integrations/hubspot2","b32"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/magento",component:d("/au/docs/integrations/magento","ad8"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/microsoft-dynamics-365",component:d("/au/docs/integrations/microsoft-dynamics-365","fef"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/overview",component:d("/au/docs/integrations/overview","54f"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/react",component:d("/au/docs/integrations/react","c2e"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/ruby",component:d("/au/docs/integrations/ruby","8f7"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/salesforce",component:d("/au/docs/integrations/salesforce","cae"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/shopify",component:d("/au/docs/integrations/shopify","6a1"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/spiffy-stores",component:d("/au/docs/integrations/spiffy-stores","dfd"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/storeconnect",component:d("/au/docs/integrations/storeconnect","44a"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/vue",component:d("/au/docs/integrations/vue","c83"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/woocommerce",component:d("/au/docs/integrations/woocommerce","df4"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/integrations/zapier",component:d("/au/docs/integrations/zapier","134"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/location-widgets/address-reverse-geocoding",component:d("/au/docs/location-widgets/address-reverse-geocoding","c54"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/location-widgets/international-address-autocomplete/integration-guide",component:d("/au/docs/location-widgets/international-address-autocomplete/integration-guide","164"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/location-widgets/international-address-autocomplete/international-metadata",component:d("/au/docs/location-widgets/international-address-autocomplete/international-metadata","a6f"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/location-widgets/international-address-autocomplete/javascript-reference",component:d("/au/docs/location-widgets/international-address-autocomplete/javascript-reference","ece"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/location-widgets/international-address-autocomplete/widget-options",component:d("/au/docs/location-widgets/international-address-autocomplete/widget-options","d6e"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/location-widgets/location-autocomplete",component:d("/au/docs/location-widgets/location-autocomplete","677"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/location-widgets/points-of-interest",component:d("/au/docs/location-widgets/points-of-interest","09b"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/phone-verification/code-examples",component:d("/au/docs/phone-verification/code-examples","345"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/phone-verification/integration",component:d("/au/docs/phone-verification/integration","ec7"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/phone-verification/javascript-reference",component:d("/au/docs/phone-verification/javascript-reference","ddd"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/phone-verification/metadata",component:d("/au/docs/phone-verification/metadata","7bf"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/phone-verification/widget-options",component:d("/au/docs/phone-verification/widget-options","428"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/portal-and-account/billing",component:d("/au/docs/portal-and-account/billing","b48"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/portal-and-account/domains",component:d("/au/docs/portal-and-account/domains","a4b"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/portal-and-account/organisations-and-projects",component:d("/au/docs/portal-and-account/organisations-and-projects","654"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/portal-and-account/portal-sign-in",component:d("/au/docs/portal-and-account/portal-sign-in","3a2"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/portal-and-account/sso-and-saml",component:d("/au/docs/portal-and-account/sso-and-saml","ada"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/portal-and-account/user-roles",component:d("/au/docs/portal-and-account/user-roles","8e9"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/search",component:d("/au/docs/search","e90"),exact:!0,sidebar:"docsSidebar"},{path:"/au/docs/",component:d("/au/docs/","9f9"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6540),a=n(4848);const o=r.createContext(!1);function i({children:e}){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{n(!0)}),[]),(0,a.jsx)(o.Provider,{value:t,children:e})}}
2,5172:(e,t,n)=>{"use strict";var r=n(6540),a=n(5338),o=n(545),i=n(4625),s=n(4784),u=n(8193);const l=[n(119),n(6134),n(6294),n(1043)];var c=n(8328),d=n(6347),p=n(2831),f=n(2693),h=n(5531),m=n(4586),g=n(4848);function v({children:e}){const{siteConfig:{customFields:t}}=(0,m.A)(),{pathname:n}=(0,d.zy)();return(0,r.useEffect)((()=>{if("production"===t.nodeEnvironment.toString()){const e=setTimeout((()=>{h.Ay.track_pageview()}),50);return()=>clearTimeout(e)}}),[n]),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(f.E3,{children:(0,g.jsx)("div",{className:"flex flex-col min-h-screen !min-w-full",children:e})})})}var y=n(4563);const b=({title:e,siteTitle:t,titleDelimiter:n})=>`${e} ${n} ${t}`;function D({children:e}){return(0,g.jsx)(y.AL,{formatter:b,children:e})}function k({children:e}){return(0,g.jsx)(D,{children:e})}var w=n(9924);const _=new Map;var E=n(6125),C=n(6988),S=n(205);function F(e,...t){const n=l.map((n=>{const r=n.default?.[e]??n[e];return r?.(...t)}));return()=>n.forEach((e=>e?.()))}const x=function({children:e,location:t,previousLocation:n}){return(0,S.A)((()=>{n!==t&&(!function({location:e,previousLocation:t}){if(!t)return;const n=e.pathname===t.pathname,r=e.hash===t.hash,a=e.search===t.search;if(n&&r&&!a)return;const{hash:o}=e;if(o){const e=decodeURIComponent(o.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:t,previousLocation:n}),F("onRouteDidUpdate",{previousLocation:n,location:t}))}),[n,t]),e};function A(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.A.canUseDOM?F("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=F("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),A(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,g.jsx)(x,{previousLocation:this.previousLocation,location:t,children:(0,g.jsx)(d.qh,{location:t,render:()=>e})})}}const T=I;var O=n(5260);const j="__docusaurus-base-url-issue-banner-suggestion-container";function P(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n  var shouldInsert = typeof window['docusaurus'] === 'undefined';\n  shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n  var bannerContainer = document.createElement('div');\n  bannerContainer.id = '__docusaurus-base-url-issue-banner-container';\n  var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n   <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n   <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n   <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n   <p>We suggest trying baseUrl = <span id="${j}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n  bannerContainer.innerHTML = bannerHtml;\n  document.body.prepend(bannerContainer);\n  var suggestionContainer = document.getElementById('${j}');\n  var actualHomePagePath = window.location.pathname;\n  var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n        ? actualHomePagePath\n        : actualHomePagePath + '/';\n  suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function N(){const{siteConfig:{baseUrl:e}}=(0,m.A)();return(0,g.jsx)(g.Fragment,{children:!u.A.canUseDOM&&(0,g.jsx)(O.A,{children:(0,g.jsx)("script",{children:P(e)}
2)})})}function R(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.A)(),{pathname:n}=(0,d.zy)();return t&&n===e?(0,g.jsx)(N,{}):null}var B=n(6025);function M(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,m.A)(),o=(0,B.Ay)(e),{htmlLang:i,direction:s}=a[r];return(0,g.jsxs)(O.A,{children:[(0,g.jsx)("html",{lang:i,dir:s}),(0,g.jsx)("title",{children:t}),(0,g.jsx)("meta",{property:"og:title",content:t}),(0,g.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,g.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,g.jsx)("link",{rel:"icon",href:o})]})}var L=n(7489),z=n(2303);function $(){const e=(0,z.A)();return(0,g.jsx)(O.A,{children:(0,g.jsx)("html",{"data-has-hydrated":e})})}const q=(0,p.v)(c.A);function U(){const e=function(e){if(_.has(e.pathname))return{...e,pathname:_.get(e.pathname)};if((0,p.u)(c.A,e.pathname).some((({route:e})=>!0===e.exact)))return _.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return _.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,g.jsx)(T,{location:e,children:q})}function Z(){return(0,g.jsx)(L.A,{children:(0,g.jsx)(C.l,{children:(0,g.jsxs)(E.x,{children:[(0,g.jsx)(v,{children:(0,g.jsxs)(k,{children:[(0,g.jsx)(M,{}),(0,g.jsx)(w.A,{}),(0,g.jsx)(R,{}),(0,g.jsx)(U,{})]})}),(0,g.jsx)($,{})]})})})}var H=n(4054);const V=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var W=n(6921);const G=new Set,K=new Set,Q=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,J={prefetch:e=>{if(!(e=>!Q()&&!K.has(e)&&!G.has(e))(e))return!1;G.add(e);const t=(0,p.u)(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(H).filter((([e])=>e.replace(/-[^-]+$/,"")===t)).flatMap((([,e])=>Object.values((0,W.A)(e))));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?V(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Q()&&!K.has(e))(e)&&(K.add(e),A(e))},Y=Object.freeze(J);function X({children:e}){return"hash"===s.A.future.experimental_router?(0,g.jsx)(i.I9,{children:e}):(0,g.jsx)(i.Kd,{children:e})}const ee=Boolean(!0);if(u.A.canUseDOM){window.docusaurus=Y;const e=document.getElementById("__docusaurus"),t=(0,g.jsx)(o.vd,{children:(0,g.jsx)(X,{children:(0,g.jsx)(Z,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>
2{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ee)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};A(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(6540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/au/docs/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/au/docs/","mainDocId":"getting-started","docs":[{"id":"address-widget/advanced-options","path":"/au/docs/address-widget/advanced-options","sidebar":"docsSidebar"},{"id":"address-widget/best-practices","path":"/au/docs/address-widget/best-practices","sidebar":"docsSidebar"},{"id":"address-widget/code-examples","path":"/au/docs/address-widget/code-examples","sidebar":"docsSidebar"},{"id":"address-widget/code-generator","path":"/au/docs/address-widget/code-generator","sidebar":"docsSidebar"},{"id":"address-widget/data-sources","path":"/au/docs/address-widget/data-sources","sidebar":"docsSidebar"},{"id":"address-widget/integration-guide","path":"/au/docs/address-widget/integration-guide","sidebar":"docsSidebar"},{"id":"address-widget/javascript-reference","path":"/au/docs/address-widget/javascript-reference","sidebar":"docsSidebar"},{"id":"api/au/au-address-autocomplete-api","path":"/au/docs/api/au/au-address-autocomplete-api","sidebar":"docsSidebar"},{"id":"api/au/au-address-metadata-api","path":"/au/docs/api/au/au-address-metadata-api","sidebar":"docsSidebar"},{"id":"api/au/au-address-verification-api","path":"/au/docs/api/au/au-address-verification-api","sidebar":"docsSidebar"},{"id":"api/au/au-location-autocomplete-api","path":"/au/docs/api/au/au-location-autocomplete-api","sidebar":"docsSidebar"},{"id":"api/au/au-location-metadata-api","path":"/au/docs/api/au/au-location-metadata-api","sidebar":"docsSidebar"},{"id":"api/authentication/oauth2-client-credentials","path":"/au/docs/api/authentication/oauth2-client-credentials","sidebar":"docsSidebar"},{"id":"api/authentication/overview","path":"/au/docs/api/authentication/overview","sidebar":"docsSidebar"},{"id":"api/email-verification-api","path":"/au/docs/api/email-verification-api","sidebar":"docsSidebar"},{"id":"api/error-codes","path":"/au/docs/api/error-codes","sidebar":"docsSidebar"},{"id":"api/international/int-address-autocomplete-api","path":"/au/docs/api/international/int-address-autocomplete-api","sidebar":"docsSidebar"},{"id":"api/international/int-address-metadata-api","path":"/au/docs/api/international/int-address-metadata-api","sidebar":"docsSidebar"},{"id":"api/nz/nz-address-autocomplete-api","path":"/au/docs/api/nz/nz-address-autocomplete-api","sidebar":"docsSidebar"},{"id":"api/nz/nz-address-metadata-api","path":"/au/docs/api/nz/nz-address-metadata-api","sidebar":"docsSidebar"},{"id":"api/nz/nz-address-reverse-geocode-api","path":"/au/docs/api/nz/nz-address-reverse-geocode-api","sidebar":"docsSidebar"},{"id":"api/nz/nz-address-verification-api","path":"/au/docs/api/nz/nz-address-verification-api","sidebar":"docsSidebar"},{"id":"api/nz/nz-location-autocomplete-api","path":"/au/docs/api/nz/nz-location-autocomplete-api","sidebar":"docsSidebar"},{"id":"api/nz/nz-location-metadata-api","path":"/au/docs/api/nz/nz-location-metadata-api","sidebar":"docsSidebar"},{"id":"api/nz/nz-poi-autocomplete-api","path":"/au/docs/api/nz/nz-poi-autocomplete-api","sidebar":"docsSidebar"},{"id":"api/nz/nz-poi-metadata-api","path":"/au/docs/api/nz/nz-poi-metadata-api","sidebar":"docsSidebar"},{"id":"api/overview","path":"/au/docs/api/overview","sidebar":"docsSidebar"},{"id":"api/phone-verification-api","path":"/au/docs/api/phone-verification-api","sidebar":"docsSidebar"},{"id":"bulk-verification","path":"/au/docs/bulk-verification","sidebar":"docsSidebar"},{"id":"email-verification/code-examples","path":"/au/docs/email-verification/code-examples","sidebar":"docsSidebar"},{"id":"email-verification/integration","path":"/au/docs/email-verification/integration","sidebar":"docsSidebar"},{"id":"email-verification/javascript-reference","path":"/au/docs/email-verification/javascript-reference","sidebar":"docsSidebar"},{"id":"email-verification/metadata","path":"/au/docs/email-verification/metadata","
2sidebar":"docsSidebar"},{"id":"email-verification/widget-options","path":"/au/docs/email-verification/widget-options","sidebar":"docsSidebar"},{"id":"faq","path":"/au/docs/faq","sidebar":"docsSidebar"},{"id":"getting-started","path":"/au/docs/","sidebar":"docsSidebar"},{"id":"integrations/bigcommerce","path":"/au/docs/integrations/bigcommerce","sidebar":"docsSidebar"},{"id":"integrations/drupal","path":"/au/docs/integrations/drupal","sidebar":"docsSidebar"},{"id":"integrations/gravity-forms","path":"/au/docs/integrations/gravity-forms","sidebar":"docsSidebar"},{"id":"integrations/hubspot","path":"/au/docs/integrations/hubspot","sidebar":"docsSidebar"},{"id":"integrations/hubspot2","path":"/au/docs/integrations/hubspot2","sidebar":"docsSidebar"},{"id":"integrations/magento","path":"/au/docs/integrations/magento","sidebar":"docsSidebar"},{"id":"integrations/microsoft-dynamics-365","path":"/au/docs/integrations/microsoft-dynamics-365","sidebar":"docsSidebar"},{"id":"integrations/overview","path":"/au/docs/integrations/overview","sidebar":"docsSidebar"},{"id":"integrations/react","path":"/au/docs/integrations/react","sidebar":"docsSidebar"},{"id":"integrations/ruby","path":"/au/docs/integrations/ruby","sidebar":"docsSidebar"},{"id":"integrations/salesforce","path":"/au/docs/integrations/salesforce","sidebar":"docsSidebar"},{"id":"integrations/shopify","path":"/au/docs/integrations/shopify","sidebar":"docsSidebar"},{"id":"integrations/spiffy-stores","path":"/au/docs/integrations/spiffy-stores","sidebar":"docsSidebar"},{"id":"integrations/storeconnect","path":"/au/docs/integrations/storeconnect","sidebar":"docsSidebar"},{"id":"integrations/vue","path":"/au/docs/integrations/vue","sidebar":"docsSidebar"},{"id":"integrations/woocommerce","path":"/au/docs/integrations/woocommerce","sidebar":"docsSidebar"},{"id":"integrations/zapier","path":"/au/docs/integrations/zapier","sidebar":"docsSidebar"},{"id":"location-widgets/address-reverse-geocoding","path":"/au/docs/location-widgets/address-reverse-geocoding","sidebar":"docsSidebar"},{"id":"location-widgets/international-address-autocomplete/integration-guide","path":"/au/docs/location-widgets/international-address-autocomplete/integration-guide","sidebar":"docsSidebar"},{"id":"location-widgets/international-address-autocomplete/international-metadata","path":"/au/docs/location-widgets/international-address-autocomplete/international-metadata","sidebar":"docsSidebar"},{"id":"location-widgets/international-address-autocomplete/javascript-reference","path":"/au/docs/location-widgets/international-address-autocomplete/javascript-reference","sidebar":"docsSidebar"},{"id":"location-widgets/international-address-autocomplete/widget-options","path":"/au/docs/location-widgets/international-address-autocomplete/widget-options","sidebar":"docsSidebar"},{"id":"location-widgets/location-autocomplete","path":"/au/docs/location-widgets/location-autocomplete","sidebar":"docsSidebar"},{"id":"location-widgets/points-of-interest","path":"/au/docs/location-widgets/points-of-interest","sidebar":"docsSidebar"},{"id":"phone-verification/code-examples","path":"/au/docs/phone-verification/code-examples","sidebar":"docsSidebar"},{"id":"phone-verification/integration","path":"/au/docs/phone-verification/integration","sidebar":"docsSidebar"},{"id":"phone-verification/javascript-reference","path":"/au/docs/phone-verification/javascript-reference","sidebar":"docsSidebar"},{"id":"phone-verification/metadata","path":"/au/docs/phone-verification/metadata","sidebar":"docsSidebar"},{"id":"phone-verification/widget-options","path":"/au/docs/phone-verification/widget-options","sidebar":"docsSidebar"},{"id":"portal-and-account/billing","path":"/au/docs/portal-and-account/billing","sidebar":"docsSidebar"},{"id":"portal-and-account/domains","path":"/au/docs/portal-and-account/domains","sidebar":"docsSidebar"},{"id":"portal-and-account/organisations-and-projects","path":"/au/docs/portal-and-account/organisations-and-projects","sidebar":"docsSidebar"},{"id":"portal-and-account/portal-sign-in","path":"/au/docs/portal-and-account/portal-sign-in","sidebar":"docsSidebar"},{"id":"portal-and-account/sso-and-saml","path":"/au/docs/portal-and-account/sso-and-saml","sidebar":"docsSidebar"},{"id":"portal-and-account/user-roles","path":"/au/docs/portal-and-account/user-roles","sidebar":"docsSidebar"},{"id":"search","path":"/au/docs/search","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/au/docs/","label":"Getting started"}}}}],"breadcrumbs":true}}
2,"docusaurus-plugin-google-tag-manager":{"default":{"containerId":"GTM-54VFWT6","id":"default"}}}'),i=JSON.parse('{"defaultLocale":"au","locales":["au","nz"],"path":"i18n","currentLocale":"au","localeConfigs":{"au":{"label":"Australia","direction":"ltr","htmlLang":"en-au","calendar":"gregory","path":"au","translate":false,"url":"https://addressfinder.com","baseUrl":"/au/docs/"},"nz":{"label":"New Zealand","direction":"ltr","htmlLang":"en-nz","calendar":"gregory","path":"nz","translate":true,"url":"https://addressfinder.com","baseUrl":"/au/docs/"}}}');var s=n(2654);const u=JSON.parse('{"docusaurusVersion":"3.9.2","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.9.2"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.9.2"},"docusaurus-plugin-google-tag-manager":{"type":"package","name":"@docusaurus/plugin-google-tag-manager","version":"3.9.2"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.9.2"},"docusaurus-plugin-svgr":{"type":"package","name":"@docusaurus/plugin-svgr","version":"3.9.2"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.9.2"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"3.9.2"},"docusaurus-tailwindcss":{"type":"local"}}}');var l=n(4848);const c={siteConfig:a.A,siteMetadata:u,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(c);function p({children:e}){return(0,l.jsx)(d.Provider,{value:c,children:e})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(6540),a=n(8193),o=n(5260),i=n(440),s=n(5615),u=n(3102),l=n(4848);function c({error:e,tryAgain:t}){return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(d,{error:e})]})}function d({error:e}){const t=(0,i.rA)(e).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function p({children:e}){return(0,l.jsx)(u.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:e})}function f({error:e,tryAgain:t}){return(0,l.jsx)(p,{children:(0,l.jsxs)(m,{fallback:()=>(0,l.jsx)(c,{error:e,tryAgain:t}),children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.A,{children:(0,l.jsx)(c,{error:e,tryAgain:t})})]})})}const h=e=>(0,l.jsx)(f,{...e});class m extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??h)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(545),a=n(4848);function o(e){return(0,a.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(6540),a=n(4625),o=n(440),i=n(4586),s=n(6654),u=n(8193),l=n(3427),c=n(6025),d=n(4848);function p({isNavLink:e,to:t,href:n,activeClassName:p,isActive:f,"data-noBrokenLinkCheck":h,autoAddBaseUrl:m=!0,...g},v){const{siteConfig:y}=(0,i.A)(),{trailingSlash:b,baseUrl:D}=y,k=y.future.experimental_router,{withBaseUrl:w}=(0,c.hH)(),_=(0,l.A)(),E=(0,r.useRef)(null);(0,r.useImperativeHandle)(v,(()=>E.current));const C=t||n;const S=(0,s.A)(C),F=C?.replace("pathname://","");let x=void 0!==F?(A=F,m&&(e=>e.startsWith("/"))(A)?w(A):A):void 0;var A;"hash"===k&&x?.startsWith("./")&&(x=x?.slice(1)),x&&S&&(x=(0,o.Ks)(x,{trailingSlash:b,baseUrl:D}
2));const I=(0,r.useRef)(!1),T=e?a.k2:a.N_,O=u.A.canUseIntersectionObserver,j=(0,r.useRef)(),P=()=>{I.current||null==x||(window.docusaurus.preload(x),I.current=!0)};(0,r.useEffect)((()=>(!O&&S&&u.A.canUseDOM&&null!=x&&window.docusaurus.prefetch(x),()=>{O&&j.current&&j.current.disconnect()})),[j,x,O,S]);const N=x?.startsWith("#")??!1,R=!g.target||"_self"===g.target,B=!x||!S||!R||N&&"hash"!==k;h||!N&&B||_.collectLink(x),g.id&&_.collectAnchor(g.id);const M={};return B?(0,d.jsx)("a",{ref:E,href:x,...C&&!S&&{target:"_blank",rel:"noopener noreferrer"},...g,...M}):(0,d.jsx)(T,{...g,onMouseEnter:P,onTouchStart:P,innerRef:e=>{E.current=e,O&&e&&S&&(j.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(j.current.unobserve(e),j.current.disconnect(),null!=x&&window.docusaurus.prefetch(x))}))})),j.current.observe(e))},to:x,...e&&{isActive:f,activeClassName:p},...M})}const f=r.forwardRef(p)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,T:()=>u});var r=n(6540),a=n(4848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function s({id:e,message:t}){if(void 0===e&&void 0===t)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[e??t]??t??e}function u({message:e,id:t},n){return o(s({message:e,id:t}),n)}function l({children:e,id:t,values:n}){if(e&&"string"!=typeof e)throw console.warn("Illegal <Translate> children",e),new Error("The Docusaurus <Translate> component only accept simple string values");const r=s({message:e,id:t});return(0,a.jsx)(a.Fragment,{children:o(r,n)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,hH:()=>i});var r=n(6540),a=n(4586),o=n(6654);function i(){const{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function({siteUrl:e,baseUrl:t,url:n,options:{forcePrependBaseUrl:r=!1,absolute:a=!1}={},router:i}){if(!n||n.startsWith("#")||(0,o.z)(n))return n;if("hash"===i)return n.startsWith("/")?`.${n}`:`./${n}`;if(r)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return a?e+s:s}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:s}}function s(e,t={}){const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6540);n(4848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6988);function o(){return(0,r.useContext)(a.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540);const a=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6803:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(3102);function o(){const e=r.useContext(a.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((([n,o])=>{const i=a?`${a}.${n}`:n;r(o)?e(o,i):t[i]=o}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(6540),a=n(4848);const o=r.createContext(null);function i({children:e,value:t}){const n=r.useContext(o),i=(0,r.useMemo)((()=>function({parent:e,value:t}){if(!e){if(!t)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in t))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return t}const n={...e.data,...t?.data};return{plugin:e.plugin,data:n}}({parent:n,value:t})),[n,t]);return(0,a.jsx)(o.Provider,{value:i,children:e})}},3886:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>g,g1:()=>y});var r=n(6540),a=n(4070),o=n(7065),i=n(6342),s=n(679),u=n(9532),l=n(4848);const c=e=>`docs-preferred-version-${e}
2`,d={save:(e,t,n)=>{(0,s.Wf)(c(e),{persistence:t}).set(n)},read:(e,t)=>(0,s.Wf)(c(e),{persistence:t}).get(),clear:(e,t)=>{(0,s.Wf)(c(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const f=r.createContext(null);function h(){const e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function({pluginIds:e,versionPersistence:t,allDocsData:n}){function r(e){const r=d.read(e,t);return n[e].versions.some((e=>e.name===r))?{preferredVersionName:r}:(d.clear(e,t),{preferredVersionName:null})}return Object.fromEntries(e.map((e=>[e,r(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function m({children:e}){const t=h();return(0,l.jsx)(f.Provider,{value:t,children:e})}function g({children:e}){return(0,l.jsx)(m,{children:e})}function v(){const e=(0,r.useContext)(f);if(!e)throw new u.dV("DocsPreferredVersionContextProvider");return e}function y(e=o.W){const t=(0,a.ht)(e),[n,i]=v(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},609:(e,t,n)=>{"use strict";n.d(t,{V:()=>u,t:()=>l});var r=n(6540),a=n(9532),o=n(4848);const i=Symbol("EmptyContext"),s=r.createContext(i);function u({children:e,name:t,items:n}){const a=(0,r.useMemo)((()=>t&&n?{name:t,items:n}:null),[t,n]);return(0,o.jsx)(s.Provider,{value:a,children:e})}function l(){const e=(0,r.useContext)(s);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},4718:(e,t,n)=>{"use strict";n.d(t,{Nr:()=>p,w8:()=>m,B5:()=>_,Vd:()=>D,QB:()=>w,fW:()=>k,OF:()=>b,Y:()=>v});var r=n(6540),a=n(6347),o=n(2831),i=n(4070),s=n(9169);function u(e){return Array.from(new Set(e))}var l=n(3886),c=n(3025),d=n(609);function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=p(t);if(e)return e}}(e):void 0:e.href}const f=(e,t)=>void 0!==e&&(0,s.ys)(e,t),h=(e,t)=>e.some((e=>m(e,t)));function m(e,t){return"link"===e.type?f(e.href,t):"category"===e.type&&(f(e.href,t)||h(e.items,t))}function g(e,t){switch(e.type){case"category":return m(e,t)||void 0!==e.href&&!e.linkUnlisted||e.items.some((e=>g(e,t)));case"link":return!e.unlisted||m(e,t);default:return!0}}function v(e,t){return(0,r.useMemo)((()=>e.filter((e=>g(e,t)))),[e,t])}function y({sidebarItems:e,pathname:t,onlyCategories:n=!1}){const r=[];return function e(a){for(const o of a)if("category"===o.type&&((0,s.ys)(o.href,t)||e(o.items))||"link"===o.type&&(0,s.ys)(o.href,t)){return n&&"category"!==o.type||r.unshift(o),!0}return!1}(e),r}function b(){const e=(0,d.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?y({sidebarItems:e.items,pathname:t}):null}function D(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>u([t,n,a].filter(Boolean))),[t,n,a])}function k(e,t){const n=D(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function w(e,t){const n=D(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${u(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function _({route:e}){const t=(0,a.zy)(),n=(0,c.r)(),r=e.routes,i=r.find((e=>(0,a.B6)(t.pathname,e)));if(!i)return null;const s=i.sidebar,u=s?n.docsSidebars[s]:void 0;return{docElement:(0,o.v)(r),sidebarName:s,sidebarItems:u}}},3025:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>u});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function s({children:e,version:t}){return(0,o.jsx)(i.Provider,{value:t,children:e})}function u(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},4070:(e,t,n)=>{"use strict";n.d(t,{zK:()=>m,vT:()=>p,Gy:()=>c,HW:()=>g,ht:()=>d,r7:()=>h,jh:()=>f});var r=n(6347),a=n(4586),o=n(7065);function i(e,t={}){const n=function(){const{globalData:e}=(0,a.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const s=e=>e.versions.find((e=>e.isLast));function u(e,t){const n=function(e,t){return[...e.versions].sort(((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0)).find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))}
2)),n}(a.id):{}}}const l={},c=()=>i("docusaurus-plugin-content-docs")??l,d=e=>{try{return function(e,t=o.W,n={}){const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function p(e={}){const t=c(),{pathname:n}=(0,r.zy)();return function(e,t,n={}){const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((([,e])=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1}))),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function f(e){return d(e).versions}function h(e){const t=d(e);return s(t)}function m(e){const t=d(e),{pathname:n}=(0,r.zy)();return u(t,n)}function g(e){const t=d(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=s(e);return{latestDocSuggestion:u(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}
2(t,n)}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate({location:e,previousLocation:t}){if(t&&e.pathname!==t.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},6134:(e,t,n)=>{"use strict";var r=n(1765),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.A,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(8692)(`./prism-${e}`)})),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.My)},5615:(e,t,n)=>{"use strict";n.d(t,{A:()=>Ft});var r=n(6540),a=n(4164),o=n(7489),i=n(5500),s=n(6347),u=n(1312),l=n(5062),c=n(4848);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,l.$)((({location:n})=>{e.current&&!n.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const h=(0,u.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??h,{containerRef:n,onClick:r}=f();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":h,children:(0,c.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(7559),v=n(4090);const y={skipToContent:"skipToContent_fXgn"};function b(){return(0,c.jsx)(m,{className:y.skipToContent})}var D=n(6342),k=n(5041);function w({width:e=21,height:t=21,color:n="currentColor",strokeWidth:r=1.2,className:a,...o}){return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:e,height:t,...o,children:(0,c.jsx)("g",{stroke:n,strokeWidth:r,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const _={closeButton:"closeButton_CVFx"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,u.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",_.closeButton,e.className),children:(0,c.jsx)(w,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_knG7"};function S(e){const{announcementBar:t}=(0,D.p)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,a.A)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const F={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function x(){const{announcementBar:e}=(0,D.p)(),{isActive:t,close:n}=(0,k.M)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:i}=e;return(0,c.jsxs)("div",{className:(0,a.A)(g.G.announcementBar.container,F.announcementBar),style:{backgroundColor:r,color:o},role:"banner",children:[i&&(0,c.jsx)("div",{className:F.announcementBarPlaceholder}),(0,c.jsx)(S,{className:F.announcementBarContent}),i&&(0,c.jsx)(E,{onClick:n,className:F.announcementBarClose})]})}var A=n(2069),I=n(3104);var T=n(9532),O=n(5600);const j=r.createContext(null);function P({children:e}){const t=function(){const e=(0,A.M)(),t=(0,O.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,T.ZC)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,c.jsx)(j.Provider,{value:t,children:e})}function N(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function R(){const e=(0,r.useContext)(j);if(!e)throw new T.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,O.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:N(o)})),[a,o,t])}function B({header:e,primaryMenu:t,secondaryMenu:n}){const{shown:r}=R();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[e,(0,c.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":r}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:t}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n})]})]})}var M=n(5293),L=n(2303);function z(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,
21S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function $(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}function q(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"})})}const U="toggle_vylO",Z="toggleButton_gllP",H="toggleIcon_g3eP",V="systemToggleIcon_QzmC",W="lightToggleIcon_pyhR",G="darkToggleIcon_wfgR",K="toggleButtonDisabled_aARS";function Q(e){switch(e){case null:return(0,u.T)({message:"system mode",id:"theme.colorToggle.ariaLabel.mode.system",description:"The name for the system color mode"});case"light":return(0,u.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"});case"dark":return(0,u.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"});default:throw new Error(`unexpected color mode ${e}`)}}function J(){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(z,{"aria-hidden":!0,className:(0,a.A)(H,W)}),(0,c.jsx)($,{"aria-hidden":!0,className:(0,a.A)(H,G)}),(0,c.jsx)(q,{"aria-hidden":!0,className:(0,a.A)(H,V)})]})}function Y({className:e,buttonClassName:t,respectPrefersColorScheme:n,value:r,onChange:o}){const i=(0,L.A)();return(0,c.jsx)("div",{className:(0,a.A)(U,e),children:(0,c.jsx)("button",{className:(0,a.A)("clean-btn",Z,!i&&K,t),type:"button",onClick:()=>o(function(e,t){if(!t)return"dark"===e?"light":"dark";switch(e){case null:return"light";case"light":return"dark";case"dark":return null;default:throw new Error(`unexpected color mode ${e}`)}}(r,n)),disabled:!i,title:Q(r),"aria-label":(s=r,(0,u.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the color mode toggle"},{mode:Q(s)})),children:(0,c.jsx)(J,{})})});var s}const X=r.memo(Y),ee={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_Q0Zn"};function te({className:e}){const t=(0,D.p)().navbar.style,{disableSwitch:n,respectPrefersColorScheme:r}=(0,D.p)().colorMode,{colorMode:a,setColorMode:o}=(0,M.G)();return n?null:(0,c.jsx)(X,{className:e,buttonClassName:"dark"===t?ee.darkNavbarColorModeToggle:void 0,respectPrefersColorScheme:r,value:a,onChange:o})}var ne=n(9529);function re(){return(0,c.jsx)(ne.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function ae(){const e=(0,A.M)();return(0,c.jsx)("button",{type:"button","aria-label":(0,u.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(w,{color:"var(--ifm-color-emphasis-600)"})})}function oe(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(re,{}),(0,c.jsx)(te,{className:"margin-right--md"}),(0,c.jsx)(ae,{})]})}const ie=(0,n(4722).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var se=n(440);const ue={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function le(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(u.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function ce({error:e}){const t=(0,se.rA)(e).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:ue.errorBoundaryError,children:t})}class de extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const pe="right";var fe=n(8774),he=n(6025);function me(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}function ge({activeBasePath:e,activeBaseRegex:t,to:n,href:r,label:a,html:o,isDropdownLink:i,prependBaseUrlToHref:s,...u}){const l=(0,he.Ay)(n),d=(0,he.Ay)(e),p=(0,he.Ay)(r,{forcePrependBaseUrl:!0}),f=o?{dangerouslySetInnerHTML:{__html:o}}:{children:a};return r?(0,c.jsx)(fe.A,{href:s?p:r,...u,...f}):(0,c.jsx)(fe.A,{to:l,...(e||t)&&{isActive:(e,n)=>t?me(t,n.pathname):n.pathname.startsWith(d)},...u,...f})}function ve({className:e,isDropdownItem:t,...n}){return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ge,{className:(0,a.A)("menu__link",e),...n})})}function ye({className:e,isDropdownItem:t=!1,...n}){const r=(0,c.jsx)(ge,{className:(0,a.A)(t?"dropdown__link":"navbar__item navbar__link",e),isDropdownLink:t,...n});return t?(0,c.jsx)("li",{children:r}):r}function be({mobile:e=!1,position:t,...n}){const r=e?ve:ye;return(0,c.jsx)(r,{...n,activeClassName:n.activeClassName??(e?"menu__link--active":"navbar__link--active")})}var De=n(1422),ke=n(9169),we=n(4586);const _e="dropdownNavbarItemMobile_J0Sd";function Ee(e,t){return e.some((e=>function(e,t){return!!(0,ke.ys)(e.to,t)||!!me(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function Ce({collapsed:e,onClick:t}){return(0,c.jsx)("button",{"aria-label":e?(0,u.T)({id:"theme.navbar.mobileDropdown.collapseButton.expandAriaLabel",message:"Expand the dropdown",description:"The ARIA label of the button to expand the mobile dropdown navbar item"}):(0,u.T)({id:"theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel",message:"Collapse the dropdown",description:"The ARIA label of the button to collapse the mobile dropdown navbar item"}),"aria-expanded":!e,type:"button",className:"clean-btn menu__caret",onClick:t})}function Se({items:e,className:t,position:n,onClick:o,...i}){const u=function(){const{siteConfig:{baseUrl:e}}=(0,we.A)(),{pathname:t}=(0,s.zy)();return t.replace(e,"/")}(),l=(0,ke.ys)(i.to,u),d=Ee(e,u),{collapsed:p,toggleCollapsed:f}=function({active:e}){const{collapsed:t,toggleCollapsed:n,setCollapsed:a}=(0,De.u)({initialState:()=>!e});return(0,r.useEffect)((()=>{e&&a(!1)}),[e,a]),{collapsed:t,toggleCollapsed:n}}({active:l||d}),h=i.to?void 0:"#";return(0,c.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsxs)("div",{className:(0,a.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":l}),children:[(0,c.jsx)(ge,{role:"button",className:(0,a.A)(_e,"menu__link menu__link--sublist",t),href:h,...i,onClick:e=>{"#"===h&&e.preventDefault(),f()},children:i.children??i.label}),(0,c.jsx)(Ce,{collapsed:p,onClick:e=>{e.preventDefault(),f()}})]}),(0,c.jsx)(De.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:e.map(((e,t)=>(0,r.createElement)(qe,{mobile:!0,isDropdownItem:!0,onClick:o,activeClassName:"menu__link--active",...e,key:t}
2)))})]})}function Fe({items:e,position:t,className:n,onClick:o,...i}){const s=(0,r.useRef)(null),[u,l]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===t,"dropdown--show":u}),children:[(0,c.jsx)(ge,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:i.to?void 0:"#",className:(0,a.A)("navbar__link",n),...i,onClick:i.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),l(!u))},children:i.children??i.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:e.map(((e,t)=>(0,r.createElement)(qe,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function xe({mobile:e=!1,...t}){const n=e?Se:Fe;return(0,c.jsx)(n,{...t})}function Ae(){const{siteConfig:{baseUrl:e,trailingSlash:t},i18n:{localeConfigs:n}}=(0,we.A)(),{pathname:r}=(0,s.zy)(),a=(0,se.Ks)(r,{trailingSlash:t,baseUrl:e}).replace(e,"");return{createUrl:function({locale:e,fullyQualified:t}){const r=function(e){const t=n[e];if(!t)throw new Error(`Unexpected Docusaurus bug, no locale config found for locale=${e}`);return t}(e);return`${`${t?r.url:""}`}${r.baseUrl}${a}`}}}var Ie=n(7485);function Te({width:e=20,height:t=20,...n}){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:e,height:t,"aria-hidden":!0,...n,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const Oe="iconLanguage_nlXk";function je(){const{siteConfig:e,i18n:{localeConfigs:t}}=(0,we.A)(),n=Ae(),r=(0,Ie.Hl)((e=>e.location.search)),a=(0,Ie.Hl)((e=>e.location.hash)),o=e=>{const n=t[e];if(!n)throw new Error(`Docusaurus bug, no locale config found for locale=${e}`);return n};return{getURL:(t,i)=>{const s=(0,Ie.jy)([r,i.queryString],"append");return`${(t=>o(t).url===e.url?`pathname://${n.createUrl({locale:t,fullyQualified:!1})}`:n.createUrl({locale:t,fullyQualified:!0}))(t)}${s}${a}`},getLabel:e=>o(e).label,getLang:e=>o(e).htmlLang}}var Pe=n(6955),Ne=n(2599);var Re=n(4070),Be=n(4718);var Me=n(3886);function Le({docsPluginId:e,configs:t}){return function(e,t){if(t){const n=new Map(e.map((e=>[e.name,e]))),r=(t,r)=>{const a=n.get(t);if(!a)throw new Error(`No docs version exist for name '${t}', please verify your 'docsVersionDropdown' navbar item versions config.\nAvailable version names:\n- ${e.map((e=>`${e.name}`)).join("\n- ")}`);return{version:a,label:r?.label??a.label}};return Array.isArray(t)?t.map((e=>r(e,void 0))):Object.entries(t).map((([e,t])=>r(e,t)))}return e.map((e=>({version:e,label:e.label})))}((0,Re.jh)(e),t)}function ze(e,t){return t.alternateDocVersions[e.name]??function(e){return e.docs.find((t=>t.id===e.mainDocId))}(e)}const $e={default:be,localeDropdown:function({mobile:e,dropdownItemsBefore:t,dropdownItemsAfter:n,queryString:r,...a}){const o=je(),{i18n:{currentLocale:i,locales:s}}=(0,we.A)(),l=[...t,...s.map((t=>({label:o.getLabel(t),lang:o.getLang(t),to:o.getURL(t,{queryString:r}),target:"_self",autoAddBaseUrl:!1,className:t===i?e?"menu__link--active":"dropdown__link--active":""}))),...n],d=e?(0,u.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):o.getLabel(i);return(0,c.jsx)(xe,{...a,mobile:e,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Te,{className:Oe}),d]}),items:l})},search:function({mobile:e,className:t}){return e?null:(0,c.jsx)(Ne.A,{className:t,children:(0,c.jsx)(Pe.A,{})})},dropdown:xe,html:function({value:e,className:t,mobile:n=!1,isDropdownItem:r=!1}){const o=r?"li":"div";return(0,c.jsx)(o,{className:(0,a.A)({navbar__item:!n&&!r,"menu__list-item":n},t),dangerouslySetInnerHTML:{__html:e}})},doc:function({docId:e,label:t,docsPluginId:n,...r}){const{activeDoc:a}=(0,Re.zK)(n),o=(0,Be.QB)(e,n),i=a?.path===o?.path;return null===o||o.unlisted&&!i?null:(0,c.jsx)(be,{exact:!0,...r,isActive:()=>i||!!a?.sidebar&&a.sidebar===o.sidebar,label:t??o.id,to:o.path})},docSidebar:function({sidebarId:e,label:t,docsPluginId:n,...r}){const{activeDoc:a}=(0,Re.zK)(n),o=(0,Be.fW)(e,n).link;if(!o)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${e}" doesn't have anything to be linked to.`);return(0,c.jsx)(be,{exact:!0,...r,isActive:()=>a?.sidebar===e,label:t??o.label,to:o.path})},docsVersion:function({label:e,to:t,docsPluginId:n,...r}){const a=(0,Be.Vd)(n)[0],o=e??a.label,i=t??(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,c.jsx)(be,{...r,label:o,to:i})},docsVersionDropdown:function({mobile:e,docsPluginId:t,dropdownActiveClassDisabled:n,dropdownItemsBefore:r,dropdownItemsAfter:a,versions:o,...i}){const s=(0,Ie.Hl)((e=>e.location.search)),l=(0,Ie.Hl)((e=>e.location.hash)),d=(0,Re.zK)(t),{savePreferredVersionName:p}=(0,Me.g1)(t),f=Le({docsPluginId:t,configs:o}),h=function({docsPluginId:e,versionItems:t}){return(0,Be.Vd)(e).map((e=>t.find((t=>t.version===e)))).filter((e=>void 0!==e))[0]??t[0]}({docsPluginId:t,versionItems:f}),m=[...r,...f.map((function({version:e,label:t}){return{label:t,to:`${ze(e,d).path}${s}${l}`,isActive:()=>e===d.activeVersion,onClick:()=>p(e.name)}})),...a],g=e&&m.length>1?(0,u.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",de
2scription:"The label for the navbar versions dropdown on mobile view"}):h.label,v=e&&m.length>1?void 0:ze(h.version,d).path;return m.length<=1?(0,c.jsx)(be,{...i,mobile:e,label:g,to:v,isActive:n?()=>!1:void 0}):(0,c.jsx)(xe,{...i,mobile:e,label:g,to:v,items:m,isActive:n?()=>!1:void 0})}};function qe({type:e,...t}){const n=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(e,t),r=$e[n];if(!r)throw new Error(`No NavbarItem component found for type "${e}".`);return(0,c.jsx)(r,{...t})}function Ue({width:e=30,height:t=30,className:n,...r}){return(0,c.jsx)("svg",{className:n,width:e,height:t,viewBox:"0 0 30 30","aria-hidden":"true",...r,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ze(){const{toggle:e,shown:t}=(0,A.M)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,u.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(Ue,{})})}const He={colorModeToggle:"colorModeToggle_x44X",searchBarBtn:"searchBarBtn_vEQg"};var Ve=n(5531),We=n(2693),Ge=n(6203);function Ke({items:e}){return(0,c.jsx)(c.Fragment,{children:e.map(((e,t)=>(0,c.jsx)(de,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(qe,{...e})},t)))})}n(6955).A;function Qe({left:e,right:t}){return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:e}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:t})]})}function Je(){const e=(0,A.M)(),t=(0,D.p)().navbar.items,[n,a]=function(e){function t(e){return"left"===(e.position??pe)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=(0,We.o$)(),i=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{i.current&&i.current()}),[]),u=(0,r.useCallback)((e=>{i.current=e}),[]),{siteConfig:l}=(0,we.A)(),d=l?.themeConfig?.algolia??{};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{style:{display:"none"},children:(0,c.jsx)(Ge.A,{appId:d.appId,apiKey:d.apiKey,indexName:d.indexName,defaultLang:"au",onReady:u,askAIAssistantId:d.askAIAssistantId,askAIIndexName:d.askAIIndexName})}),(0,c.jsx)(Qe,{left:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(re,{}),(0,c.jsx)(Ke,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Ke,{items:a}),(0,c.jsx)("button",{type:"button",className:`${He.searchBarBtn} p-2 rounded flex items-center justify-center gap-2`,"aria-label":"Search",style:{marginRight:8},onClick:s,children:(0,c.jsx)(ie,{className:"h-5 w-5"})}),!e.shouldRender&&(0,c.jsx)(Ye,{to:"signin",mps:o,type:"link"}),!e.shouldRender&&(0,c.jsx)(Ye,{to:"signup",mps:o,type:"button"}),(0,c.jsx)(te,{className:He.colorModeToggle}),(0,c.jsx)(Ze,{})]})})]})}function Ye({to:e,mps:t,type:n="link",className:r}){const{siteConfig:{customFields:o}}=(0,we.A)(),i=function(e,t,n,r){return"signin"===e?`${t}/sessions/login?mps=${r}`:`${t}/signup/${n}/${n}_business_trial?mps=${r}`}(e,o.basePortalUrl.toString(),o.currentLocale.toString(),t),s="signin"==e?"Sign In":"Start free trial",u=(0,a.A)("navbar__item navbar__link portal__link",{"bg-primary text-primary-foreground hover:text-primary-foreground hover:no-underline rounded-xl font-semibold py-2 px-4 mx-2 text-center":"button"===n});return(0,c.jsx)("a",{href:i,className:u+" "+r,onClick:t=>Xe(e),target:"_blank",children:s})}const Xe=e=>{const t="signup"===e?Ve.Ml:Ve.yw;Ve.Ay.track(t)};function et(){const e=R(),t=(0,We.o$)();return(0,c.jsxs)("div",{className:"h-full flex flex-col relative",children:[(0,c.jsx)(Ne.A,{className:"my-3",children:(0,c.jsx)(Pe.A,{})}),e.content,(0,c.jsxs)("div",{className:"mt-4 flex",children:[(0,c.jsx)(Ye,{to:"signin",mps:t,type:"button",className:"block flex-1 text-zinc-950 hover:text-zinc-950 bg-zinc-100 hover:bg-zinc-100/90 border border-zinc-950/10"}),(0,c.jsx)(Ye,{to:"signup",mps:t,type:"button",className:"block flex-1"})]})]})}function tt(){const e=(0,A.M)();return function(e=!0){(0,r.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}(e.shown),e.shouldRender?(0,c.jsx)(B,{header:(0,c.jsx)(oe,{}),primaryMenu:void 0,secondaryMenu:(0,c.jsx)(et,{})}):null}const nt={navbarHideable:"navbarHideable_jvwV",navbarHidden:"navbarHidden_nLSi"};function rt(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function at({children:e}){const{navbar:{hideOnScroll:t,style:n}}=(0,D.p)(),o=(0,A.M)(),{navbarRef:i,isNavbarVisible:s}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,I.Mq)((({scrollY:t},r)=>{if(!e)return;if(t<o.current)return void n(!0);if(a.current)return void(a.current=!1);const i=r?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;i&&t>=i?n(!1):t+u<s&&n(!0)})),(0,l.$)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(t);return(0,c.jsxs)("nav",{ref:i,"aria-label":(0,u.T)({id:"theme.NavBar.navAriaLabel",message:"Main",de
2scription:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",t&&[nt.navbarHideable,!s&&nt.navbarHidden],{"navbar--dark":"dark"===n,"navbar--primary":"primary"===n,"navbar-sidebar--show":o.shown}),children:[e,(0,c.jsx)(rt,{onClick:o.toggle}),(0,c.jsx)(tt,{})]})}function ot(){return(0,c.jsx)(at,{children:(0,c.jsx)(Je,{})})}function it({item:e}){const{to:t,href:n,label:r,prependBaseUrlToHref:o,className:i,...s}=e,u=(0,he.Ay)(t),l=(0,he.Ay)(n,{forcePrependBaseUrl:!0});return(0,c.jsx)(fe.A,{className:(0,a.A)("leading-[2]",i),...n?{href:o?l:n}:{to:u},...s,children:r})}function st({item:e}){return e.html?(0,c.jsx)("li",{className:(0,a.A)("footer__item",e.className),dangerouslySetInnerHTML:{__html:e.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(it,{item:e})},e.href??e.to)}function ut({column:e}){return(0,c.jsxs)("div",{className:(0,a.A)(g.G.layout.footer.column,"footer__col flex flex-col px-12 m-4 [&>*]:!p-0 sm:text-start sm:items-start text-center items-center",e.className),children:[(0,c.jsx)("div",{className:"footer__title",children:e.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:e.items.map(((e,t)=>(0,c.jsx)(st,{item:e},t)))})]})}function lt({columns:e}){return(0,c.jsx)("div",{className:"row footer__links w-full flex justify-center",children:e.map(((e,t)=>(0,c.jsx)(ut,{column:e},t)))})}function ct(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function dt({item:e}){return e.html?(0,c.jsx)("span",{className:(0,a.A)("footer__link-item",e.className),dangerouslySetInnerHTML:{__html:e.html}}):(0,c.jsx)(it,{item:e})}function pt({links:e}){return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:e.map(((t,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(dt,{item:t}),e.length!==n+1&&(0,c.jsx)(ct,{})]},n)))})})}function ft({links:e}){return function(e){return"title"in e[0]}(e)?(0,c.jsx)(lt,{columns:e}):(0,c.jsx)(pt,{links:e})}function ht(){return(0,c.jsx)(ne.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function mt({copyright:e}){return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:e}})}var gt=n(9924);function vt({mobile:e,queryString:t="",...n}){const{i18n:{currentLocale:r,locales:a,localeConfigs:o}}=(0,we.A)(),i=(0,gt.o)(),{search:l,hash:d}=(0,s.zy)(),p=a.map((n=>{const a=`${`pathname://${i.createUrl({locale:n,fullyQualified:!1})}`}${l}${d}${t}`;return{label:o[n].label,lang:o[n].htmlLang,to:a,target:"_self",autoAddBaseUrl:!1,className:n===r?e?"menu__link--active":"dropdown__link--active":""}})),f=e?(0,u.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):o[r].label;return(0,c.jsx)(xe,{...n,mobile:e,label:f,items:p})}function yt(){const{siteConfig:{customFields:e}}=(0,we.A)(),{apiStatusCheckUrl:t,apiStatusPageUrl:n}=e,[a,o]=r.useState("OK");r.useEffect((()=>{(async function(e){if(!e)return"NOT_OK";try{const t=await fetch(e,{cache:"no-store"}),n=(await t.text()).trim();return t.ok&&"OK"===n?"OK":"NOT_OK"}catch{return"NOT_OK"}})(t).then(o).catch((()=>o("NOT_OK")))}),[t]);const i="OK"===a,s=i?"Operational":"Unavailable",u=n??"#",l=(0,he.Ay)(i?"/img/addressfinder-api-status-icon-ok.svg":"/img/addressfinder-api-status-icon-not-ok.svg");return(0,c.jsxs)("a",{href:u,target:"_blank",rel:"noreferrer",className:"flex items-center gap-2 text-sm",children:["API Status:",(0,c.jsx)("img",{src:l,alt:s,title:s})]})}function bt({style:e,links:t,logo:n,copyright:r}){const{siteConfig:{customFields:o}}=(0,we.A)();return(0,c.jsx)("footer",{className:(0,a.A)(g.G.layout.footer.container,"footer",{"footer--dark":"dark"===e}),children:(0,c.jsxs)("div",{className:"flex flex-col gap-4 items-center w-full",children:[(0,c.jsx)("div",{className:"flex justify-center w-full [&_a]:text-primary",children:t}),(0,c.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center w-full gap-4 sm:gap-0",children:[(0,c.jsx)("div",{className:"pb-[6px]",children:n}),(0,c.jsxs)("div",{className:"flex items-center justify-center !h-6",children:[(0,c.jsx)("p",{className:"!h-6",children:"Country:"}),(0,c.jsx)("div",{className:"[&>*]:!px-0 [&>*]:!inline-block",children:(0,c.jsx)(vt,{items:[],dropdownItemsBefore:[],dropdownItemsAfter:[]})})]})]}),(0,c.jsx)("div",{className:"flex text-sm justify-center",children:r}),(0,c.jsxs)("div",{className:"flex text-sm",children:[(0,c.jsx)("a",{className:"underline",href:`${o.baseWebsiteUrl}/${o.currentLocale}/terms`,children:"Terms"}),(0,c.jsx)("p",{className:"whitespace-pre-wrap",children:" and "}),(0,c.jsx)("a",{className:"underline",href:`${o.baseWebsiteUrl}/${o.currentLocale}/privacy`,children:"Privacy"})]}),(0,c.jsx)("div",{className:"flex text-sm justify-center",children:(0,c.jsx)(yt,{})})]})})}function Dt(){const{footer:e}=(0,D.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,c.jsx)(bt,{style:a,links:n&&n.length>0&&(0,c.jsx)(ft,{links:n}),logo:r&&(0,c.jsx)(ht,{logo:r}),copyright:t&&(0,c.jsx)(mt,{copyright:t})})}const kt=r.memo(Dt),wt=(0,T.fM)([M.a,k.o,I.Tv,Me.VQ,i.Jx,function({children:e}){return(0,c.jsx)(O.y_,{children:(0,c.jsx)(A.e,{children:(0,c.jsx)(P,{children:e})})})}]);function _t({children:e}){return(0,c.jsx)(wt,{children:e})}var Et=n(2204);function Ct({error:e,tryAgain:t}){return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(Et.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(u.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(le,{onClick:t,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(ce,{error:e})})]})})})}const St={mainWrapper:"mainWrapper_z2l0"};function Ft(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:u}=e;return(0,v.J)(),(0,c.jsxs)(_t,{children:[(0,c.jsx)(i.be,{title:s,description:u}),(0,c.jsx)(b,{}),(0,c.jsx)(x,{}),(0,c.jsx)(ot,{}),(0,c.jsx)("div",{id:d,className:(0,a.A)(g.G.layout.main.container,g.G.wrapper.main,St.mainWrapper,r),children:(0,c.jsx)(o.A,{fallback:e=>(0,c.jsx)(Ct,{...e}),children:t})}),!n&&(0,c.jsx)(kt,{})]})}}
2,9529:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(6540),a=n(8774),o=n(6025),i=n(4586),s=n(6342),u=n(4164),l=n(2303),c=n(5293);const d={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var p=n(4848);function f({className:e,children:t}){const n=(0,l.A)(),{colorMode:a}=(0,c.G)();return(0,p.jsx)(p.Fragment,{children:(n?"dark"===a?["dark"]:["light"]:["light","dark"]).map((n=>{const a=t({theme:n,className:(0,u.A)(e,d.themedComponent,d[`themedComponent--${n}`])});return(0,p.jsx)(r.Fragment,{children:a},n)}))})}function h(e){const{sources:t,className:n,alt:r,...a}=e;return(0,p.jsx)(f,{className:n,children:({theme:e,className:n})=>(0,p.jsx)("img",{src:t[e],alt:r,className:n,...a})})}function m({logo:e,alt:t,imageClassName:n}){const r={light:(0,o.Ay)(e.src),dark:(0,o.Ay)(e.srcDark||e.src)},a=(0,p.jsx)(h,{className:e.className,sources:r,height:e.height,width:e.width,alt:t,style:e.style});return n?(0,p.jsx)("div",{className:n,children:a}):a}function g(e){const{siteConfig:{title:t}}=(0,i.A)(),{navbar:{title:n,logo:r}}=(0,s.p)(),{imageClassName:u,titleClassName:l,...c}=e,d=(0,o.Ay)(r?.href||"/"),f=n?"":t,h=r?.alt??f;return(0,p.jsxs)(a.A,{to:d,...c,...r?.target&&{target:r.target},children:[r&&(0,p.jsx)(m,{logo:r,alt:h,imageClassName:u}),null!=n&&(0,p.jsx)("b",{className:l,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(5260),a=n(4848);function o({locale:e,version:t,tag:n}){const o=e;return(0,a.jsxs)(r.A,{children:[e&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:e}),t&&(0,a.jsx)("meta",{name:"docusaurus_version",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:language",content:o}),t&&(0,a.jsx)("meta",{name:"docsearch:version",content:t}),n&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:n})]})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>m,u:()=>u});var r=n(6540),a=n(205),o=n(3109),i=n(4848);const s="ease-in-out";function u({initialState:e}){const[t,n]=(0,r.useState)(e??!1),a=(0,r.useCallback)((()=>{n((e=>!e))}),[]);return{collapsed:t,setCollapsed:n,toggleCollapsed:a}}const l={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function d(e,t){const n=t?l:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p({collapsibleRef:e,collapsed:t,animation:n}){const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const r=e.current;function i(){const e=r.scrollHeight,t=n?.duration??function(e){if((0,o.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(e);return{transition:`height ${t}ms ${n?.easing??s}`,height:`${e}px`}}function u(){const e=i();r.style.transition=e.transition,r.style.height=e.height}if(!a.current)return d(r,t),void(a.current=!0);return r.style.willChange="height",function(){const e=requestAnimationFrame((()=>{t?(u(),requestAnimationFrame((()=>{r.style.height=l.height,r.style.overflow=l.overflow}))):(r.style.display="block",requestAnimationFrame((()=>{u()})))}));return()=>cancelAnimationFrame(e)}()}),[e,t,n])}function f({as:e="div",collapsed:t,children:n,animation:a,onCollapseTransitionEnd:o,className:s}){const u=(0,r.useRef)(null);return p({collapsibleRef:u,collapsed:t,animation:a}),(0,i.jsx)(e,{ref:u,onTransitionEnd:e=>{"height"===e.propertyName&&(d(u.current,t),o?.(t))},className:s,children:n})}function h({collapsed:e,...t}){const[n,o]=(0,r.useState)(!e),[s,u]=(0,r.useState)(e);return(0,a.A)((()=>{e||o(!0)}),[e]),(0,a.A)((()=>{n&&u(e)}
2),[n,e]),n?(0,i.jsx)(f,{...t,collapsed:s}):null}function m({lazy:e,...t}){const n=e?h:f;return(0,i.jsx)(n,{...t})}},5041:(e,t,n)=>{"use strict";n.d(t,{M:()=>m,o:()=>h});var r=n(6540),a=n(2303),o=n(679),i=n(9532),s=n(6342),u=n(4848);const l=(0,o.Wf)("docusaurus.announcement.dismiss"),c=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===l.get(),p=e=>l.set(String(e)),f=r.createContext(null);function h({children:e}){const t=function(){const{announcementBar:e}=(0,s.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,u.jsx)(f.Provider,{value:t,children:e})}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>k,a:()=>D});var r=n(6540),a=n(2303),o=n(9532),i=n(679),s=n(6342),u=n(4848);function l(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function c(e){return function(e,t){const n=window.matchMedia(e);return n.addEventListener("change",t),()=>n.removeEventListener("change",t)}("(prefers-color-scheme: dark)",(()=>e(l())))}const d=r.createContext(void 0),p=(0,i.Wf)("theme"),f="system",h=e=>"dark"===e?"dark":"light",m=e=>null===e||e===f?null:h(e),g={get:()=>h(document.documentElement.getAttribute("data-theme")),set:e=>{document.documentElement.setAttribute("data-theme",h(e))}},v={get:()=>m(document.documentElement.getAttribute("data-theme-choice")),set:e=>{document.documentElement.setAttribute("data-theme-choice",m(e)??f)}},y=e=>{null===e?p.del():p.set(h(e))};function b(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),{colorMode:o,setColorModeState:i,colorModeChoice:u,setColorModeChoiceState:d}=function(){const{colorMode:{defaultMode:e}}=(0,s.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)(t?g.get():e),[i,u]=(0,r.useState)(t?v.get():null);return(0,r.useEffect)((()=>{o(g.get()),u(v.get())}),[]),{colorMode:n,setColorModeState:o,colorModeChoice:i,setColorModeChoiceState:u}}();(0,r.useEffect)((()=>{t&&p.del()}),[t]);const f=(0,r.useCallback)(((t,r={})=>{const{persist:a=!0}=r;if(null===t){const t=n?l():e;g.set(t),i(t),v.set(null),d(null)}else g.set(t),v.set(t),i(t),d(t);a&&y(t)}),[i,d,n,e]);return(0,r.useEffect)((()=>p.listen((e=>{f(m(e.newValue))}))),[f]),(0,r.useEffect)((()=>{if(null===u&&n)return c((e=>{i(e),g.set(e)}))}),[n,u,i]),(0,r.useMemo)((()=>({colorMode:o,colorModeChoice:u,setColorMode:f,get isDarkTheme(){return"dark"===o},setLightTheme(){f("light")},setDarkTheme(){f("dark")}})),[o,u,f])}function D({children:e}){const t=b();return(0,u.jsx)(d.Provider,{value:t,children:e})}function k(){const e=(0,r.useContext)(d);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},2069:(e,t,n)=>{"use strict";n.d(t,{M:()=>h,e:()=>f});var r=n(6540),a=n(5600),o=n(4581),i=n(7485),s=n(6342),u=n(9532),l=n(4848);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[i,u]=(0,r.useState)(!1),l=(0,r.useCallback)((()=>{u((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&u(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:l,shown:i})),[e,n,l,i])}function p({handler:e}){return(0,i.$Z)(e),null}function f({children:e}){const t=d();return(0,l.jsxs)(l.Fragment,{children:[t.shown&&(0,l.jsx)(p,{handler:()=>(t.toggle(),!1)}),(0,l.jsx)(c.Provider,{value:t,children:e})]})}function h(){const e=r.useContext(c);if(void 0===e)throw new u.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>l,YL:()=>u,y_:()=>s});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function s({children:e}){const t=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:t,children:e})}function u(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function l({component:e,props:t}){const n=(0,r.useContext)(i);if(!n)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,o]=n,s=(0,a.Be)(t);return(0,r.useEffect)((()=>{o({component:e,props:s})}
2),[o,e,s]),(0,r.useEffect)((()=>()=>o({component:null,props:null})),[o]),null}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(6540),a=n(8193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s({desktopBreakpoint:e=i}={}){const[t,n]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function t(){n(function(e){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(e))}return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[e]),t}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",admonitionType:e=>`theme-admonition-${e}`},announcementBar:{container:"theme-announcement-bar"},tabs:{container:"theme-tabs-container"},layout:{navbar:{container:"theme-layout-navbar",containerLeft:"theme-layout-navbar-left",containerRight:"theme-layout-navbar-right",mobileSidebar:{container:"theme-layout-navbar-sidebar",panel:"theme-layout-navbar-sidebar-panel"}},main:{container:"theme-layout-main"},footer:{container:"theme-layout-footer",column:"theme-layout-footer-column"}},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},7485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,Hl:()=>s,jy:()=>u});var r=n(6540),a=n(6347),o=n(9532);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e({...t,location:{...t.location,search:"",hash:"",state:void 0}})))}function u(e,t){const n=function(e,t){const n=new URLSearchParams;for(const r of e)for(const[e,a]of r.entries())"append"===t?n.append(e,a):n.set(e,a);return n}(e.map((e=>new URLSearchParams(e??""))),t),r=n.toString();return r?`?${r}`:r}},5500:(e,t,n)=>{"use strict";n.d(t,{Jx:()=>v,be:()=>h,e3:()=>g});var r=n(6540),a=n(4164),o=n(5260),i=n(6803),s=n(6025),u=n(4563),l=n(4848);function c({title:e}){const t=(0,u.s$)().format(e);return(0,l.jsxs)(o.A,{children:[(0,l.jsx)("title",{children:t}),(0,l.jsx)("meta",{property:"og:title",content:t})]})}function d({description:e}){return(0,l.jsxs)(o.A,{children:[(0,l.jsx)("meta",{name:"description",content:e}),(0,l.jsx)("meta",{property:"og:description",content:e})]})}function p({image:e}){const{withBaseUrl:t}=(0,s.hH)(),n=t(e,{absolute:!0});return(0,l.jsxs)(o.A,{children:[(0,l.jsx)("meta",{property:"og:image",content:n}),(0,l.jsx)("meta",{name:"twitter:image",content:n})]})}function f({keywords:e}){return(0,l.jsx)(o.A,{children:(0,l.jsx)("meta",{name:"keywords",content:Array.isArray(e)?e.join(","):e})})}function h({title:e,description:t,keywords:n,image:r,children:a}){return(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(c,{title:e}),t&&(0,l.jsx)(d,{description:t}),n&&(0,l.jsx)(f,{keywords:n}),r&&(0,l.jsx)(p,{image:r}),a&&(0,l.jsx)(o.A,{children:a})]})}const m=r.createContext(void 0);function g({className:e,children:t}){const n=r.useContext(m),i=(0,a.A)(n,e);return(0,l.jsxs)(m.Provider,{value:i,children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("html",{className:i})}),t]})}function v({children:e}){const t=(0,i.A)(),n=`plugin-${t.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const r=`plugin-id-${t.plugin.id}`;return(0,l.jsx)(g,{className:(0,a.A)(n,r),children:e})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>l,ZC:()=>s,_q:()=>i,dV:()=>u,fM:()=>c});var r=n(6540),a=n(205),o=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)(((...e)=>t.current(...e)),[])}function s(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}
2class u extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function l(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return({children:t})=>(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),t)})}},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(6540),a=n(8328),o=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)((()=>function({baseUrl:e,routes:t}){function n(t){return t.path===e&&!0===t.exact}function r(t){return t.path===e&&!t.exact}return function e(t){if(0===t.length)return;return t.find(n)||e(t.filter(r).flatMap((e=>e.routes??[])))}(t)}({routes:a.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>p,Tv:()=>l,gk:()=>f});var r=n(6540),a=n(8193),o=n(2303),i=(n(205),n(9532)),s=n(4848);const u=r.createContext(void 0);function l({children:e}){const t=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(u.Provider,{value:t,children:e})}function c(){const e=(0,r.useContext)(u);if(null==e)throw new i.dV("ScrollControllerProvider");return e}const d=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t=[]){const{scrollEventsEnabledRef:n}=c(),a=(0,r.useRef)(d()),o=(0,i._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},679:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>l});n(6540);const r=JSON.parse('{"N":"localStorage","M":""}'),a=r.N;function o({key:e,oldValue:t,newValue:n,storage:r}){if(t===n)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,e,t,n,window.location.href,r),window.dispatchEvent(a)}function i(e=a){if("undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}let s=!1;const u={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){const n=`${e}${r.M}`;if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(n);const a=i(t?.persistence);return null===a?u:{get:()=>{try{return a.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=a.getItem(n);a.setItem(n,e),o({key:n,oldValue:t,newValue:e,storage:a})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=a.getItem(n);a.removeItem(n),o({key:n,oldValue:e,newValue:null,storage:a})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===a&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}},4563:(e,t,n)=>{"use strict";n.d(t,{AL:()=>c,s$:()=>d});var r=n(6540),a=n(4586),o=n(6803),i=n(9532),s=n(4848);const u=({title:e,siteTitle:t,titleDelimiter:n})=>{const r=e?.trim();return r&&r!==t?`${r} ${n} ${t}`:t},l=(0,r.createContext)(null);function c({formatter:e,children:t}){return(0,s.jsx)(l.Provider,{value:e,children:t})}function d(){const e=function(){const e=(0,r.useContext)(l);if(null===e)throw new i.dV("TitleFormatterProvider");return e}(),{siteConfig:t}=(0,a.A)(),{title:n,titleDelimiter:s}=t,{plugin:c}=(0,o.A)();return{format:t=>e({title:t,siteTitle:n,titleDelimiter:s,plugin:c,defaultFormatter:u})}}}
2,5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(9532);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4586);function a(){return(0,r.A)().siteConfig.themeConfig}},2983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(u=i,l=n,l?a(u):o(u));var u,l;return e.replace(i,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;const r=n(2566);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){if(t.cause)return[t,...e(t.cause)];return[t]}},440:(e,t,n)=>{"use strict";t.rA=t.Ks=void 0;const r=n(1635);var a=n(2983);Object.defineProperty(t,"Ks",{enumerable:!0,get:function(){return r.__importDefault(a).default}});var o=n(2566);var i=n(253);Object.defineProperty(t,"rA",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},2566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){if(""===t)return e;return e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},6203:(e,t,n)=>{"use strict";n.d(t,{A:()=>sm});var r=n(6540);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,a=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l={"Ctrl/Cmd+K":!0,"/":!0};function c(e){return s(s({},l),e)}
2function d(e){var t=e.isOpen,n=e.isAskAiActive,a=e.onAskAiToggle,o=e.onClose,i=e.onOpen,s=e.onInput,u=e.searchButtonRef,c=e.keyboardShortcuts,d=void 0===c?l:c;r.useEffect((function(){function e(e){var r;if(t&&"Escape"===e.code&&n)a(!1);else{var l=d["Ctrl/Cmd+K"]&&"k"===(null===(r=e.key)||void 0===r?void 0:r.toLowerCase())&&(e.metaKey||e.ctrlKey),c=d["/"]&&"/"===e.key;if("Escape"===e.code&&t||l||!function(e){var t=e.composedPath()[0],n=t.tagName;return t.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n}(e)&&c&&!t)return e.preventDefault(),void(t?o():document.body.classList.contains("DocSearch--active")||i());u&&u.current===document.activeElement&&s&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&s(e)}}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,u,d,i,o,s,a])}var p=function(e){var t=e.theme;(0,r.useEffect)((function(){if(t){var e=document.documentElement.dataset.theme;if(t!==e)return document.documentElement.dataset.theme=t,function(){void 0===e?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=e}}}),[t])},f=["children","theme"],h=r.createContext(void 0);function m(e){var t=e.children,n=e.theme,a=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,f),o=u(r.useState("ready"),2),i=o[0],s=o[1],l=u(r.useState(a.initialQuery||""),2),m=l[0],g=l[1],v=r.useRef(null),y=c(a.keyboardShortcuts),b=["modal-search","modal-askai"].includes(i),D="modal-askai"===i,k=r.useCallback((function(){s("modal-search")}),[]),w=r.useCallback((function(){var e,t;s("ready"),null===(e=v.current)||void 0===e||e.focus(),g(null!==(t=a.initialQuery)&&void 0!==t?t:"")}),[s,a.initialQuery]),_=r.useCallback((function(e){s(e?"modal-askai":"modal-search")}),[s]),E=r.useCallback((function(e){s("modal-search"),g(e.key)}),[s,g]);p({theme:n}),d({isOpen:b,onOpen:k,onClose:w,onAskAiToggle:_,onInput:E,isAskAiActive:D,searchButtonRef:v,keyboardShortcuts:y});var C=r.useMemo((function(){return{docsearchState:i,setDocsearchState:s,searchButtonRef:v,initialQuery:m,keyboardShortcuts:y,openModal:k,closeModal:w,isAskAiActive:D,isModalActive:b,onAskAiToggle:_}}),[i,v,m,y,k,w,D,b,_]);return r.createElement(h.Provider,{value:C},t)}function g(){var e=r.useContext(h);if(void 0===e)throw new Error("`useDocSearch` must be used within the `DocSearch` provider");return e}h.displayName="DocSearchContext",m.displayName="DocSearch";var v=n(961);function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t,n,r,a,o,i){try{var s=e[o](i),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,a)}function D(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){b(o,r,a,i,s,"next",e)}function s(e){b(o,r,a,i,s,"throw",e)}i(void 0)}))}}function k(e,t,n){return t=A(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,T()?Reflect.construct(t,n||[],A(e).constructor):t.apply(e,n))}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t,n){if(T())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&B(a,n.prototype),a}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,z(r.key),r)}}function C(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function S(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
2if(!n){if(Array.isArray(e)||(n=q(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function F(e,t,n){return(t=z(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(null,arguments)}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function I(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(T=function(){return!!e})()}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function N(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var u=r&&r.prototype instanceof s?r:s,l=Object.create(u.prototype);return R(l,"_invoke",function(n,r,a){var o,s,u,l=0,c=a||[],d=!1,p={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return o=t,s=0,u=e,p.n=n,i}};function f(n,r){for(s=n,u=r,t=0;!d&&l&&!a&&t<c.length;t++){var a,o=c[t],f=p.p,h=o[2];n>3?(a=h===r)&&(u=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=f&&((a=n<2&&f<o[1])?(s=0,p.v=r,p.n=o[1]):f<h&&(a=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,p.n=h,s=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,h){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&f(c,h),s=c,u=h;(t=s<2?e:u)||!d;){o||(s?s<3?(s>1&&(p.n=-1),f(s,u)):p.n=u:p.v=u);try{if(l=2,o){if(s||(a="next"),t=o[a]){if(!(t=t.call(o,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(u=TypeError("The iterator does not provide a '"+a+"' method"),s=1);o=e}else if((t=(d=p.n<0)?u:n.call(r,p))!==i)break}catch(t){o=e,s=1,u=t}finally{l=1}}return{value:t,done:d}}}(n,a,o),!0),l}var i={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(R(t={},r,(function(){return this})),t),d=l.prototype=s.prototype=Object.create(c);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,R(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return u.prototype=l,R(d,"constructor",l),R(l,"constructor",u),u.displayName="GeneratorFunction",R(l,a,"GeneratorFunction"),R(d),R(d,a,"Generator"),R(d,r,(function(){return this})),R(d,"toString",(function(){return"[object Generator]"})),(N=function(){return{w:o,m:p}})()}function R(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}R=function(e,t,n,r){function o(t,n){R(e,t,(function(e){return this._invoke(t,n,e)}))}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},R(e,t,n,r)}
2function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,a=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(e,t)||q(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||q(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function $(e){return $="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},$(e)}function q(e,t){if(e){if("string"==typeof e)return y(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function U(e){var t="function"==typeof Map?new Map:void 0;return U=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;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 _(e,arguments,A(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),B(n,e)},U(e)}var Z=function(e){var t=e.theme;(0,r.useEffect)((function(){if(t){var e=document.documentElement.dataset.theme;if(t!==e)return document.documentElement.dataset.theme=t,function(){void 0===e?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=e}}}),[t])},H={"Ctrl/Cmd+K":!0,"/":!0};function V(e){return j(j({},H),e)}function W(){return r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M8.19531 8.76758H7.33398C7.02539 8.76758 6.74414 8.69531 6.49023 8.55078C6.23633 8.40234 6.0332 8.20312 5.88086 7.95312C5.73242 7.70312 5.6582 7.42188 5.6582 7.10938C5.6582 6.80078 5.73242 6.51953 5.88086 6.26562C6.0332 6.01172 6.23633 5.80859 6.49023 5.65625C6.74414 5.50391 7.02539 5.42773 7.33398 5.42773C7.64258 5.42773 7.92383 5.50391 8.17773 5.65625C8.43164 5.80859 8.63281 6.01172 8.78125 6.26562C8.93359 6.51953 9.00977 6.80078 9.00977 7.10938V7.96484H10.9902V7.10938C10.9902 6.80078 11.0664 6.51953 11.2188 6.26562C11.3711 6.01172 11.5723 5.80859 11.8223 5.65625C12.0762 5.50391 12.3574 5.42773 12.666 5.42773C12.9746 5.42773 13.2559 5.50391 13.5098 5.65625C13.7637 5.80859 13.9648 6.01172 14.1133 6.26562C14.2656 6.51953 14.3418 6.80078 14.3418 7.10938C14.3418 7.42188 14.2656 7.70312 14.1133 7.95312C13.9648 8.20312 13.7637 8.40234 13.5098 8.55078C13.2559 8.69531 12.9746 8.76758 12.666 8.76758H11.8105V10.7773H12.666C12.9746 10.7773 13.2559 10.8516 13.5098 11C13.7637 11.1445 13.9648 11.3418 14.1133 11.5918C14.2656 11.8418 14.3418 12.123 14.3418 12.4355C14.3418 12.7441 14.2656 13.0254 14.1133 13.2793C13.9648 13.5332 13.7637 13.7363 13.5098 13.8887C13.2559 14.041 12.9746 14.1172 12.666 14.1172C12.3574 14.1172 12.0762 14.041 11.8223 13.8887C11.5723 13.7363 11.3711 13.5332 11.2188 13.2793C11.0664 13.0254 10.9902 12.7441 10.9902 12.4355V11.5801H9.00977V12.4355C9.00977 12.7441 8.93359 13.0254 8.78125 13.2793C8.63281 13.5332 8.43164 13.7363 8.17773 13.8887C7.92383 14.041 7.64258 14.1172 7.33398 14.1172C7.02539 14.1172 6.74414 14.041 6.49023 13.8887C6.23633 13.7363 6.0332 13.5332 5.88086 13.2793C5.73242 13.0254 5.6582 12.7441 5.6582 12.4355C5.6582 12.123 5.73242 11.8418 5.88086 11.5918C6.0332 11.3418 6.23633 11.1445 6.49023 11C6.74414 10.8516 7.02539 10.7773 7.33398 10.7773H8.19531V8.76758ZM7.33398 7.97656H8.19531V7.10938C8.19531 6.875 8.10938 6.67383 7.9375 6.50586C7.76953 6.33398 7.56836 6.24805 7.33398 6.24805C7.09961 6.24805 6.89648 6.33398 6.72461 6.50586C6.55664 6.67383 6.47266 6.875 6.47266 7.10938C6.47266 7.34766 6.55664 7.55273 6.72461 7.72461C6.89648 7.89258 7.09961 7.97656 7.33398 7.97656ZM12.666 7.97656C12.9004 7.97656 13.1016 7.89258 13.2695 7.72461C13.4414 7.55273 13.5273 7.34766 13.5273 7.10938C13.5273 6.875 13.4414 6.67383 13.2695 6.50586C13.1016 6.33398 12.9004 6.24805 12.666 6.24805C12.4316 6.24805 12.2305 6.33398 12.0625 6.50586C11.8945 6.67383 11.8105 6.875 11.8105 7.10938V7.97656H12.666ZM9.00977 10.7773H10.99
202V8.76758H9.00977V10.7773ZM7.33398 11.5625C7.09961 11.5625 6.89648 11.6484 6.72461 11.8203C6.55664 11.9883 6.47266 12.1914 6.47266 12.4297C6.47266 12.6641 6.55664 12.8672 6.72461 13.0391C6.89648 13.207 7.09961 13.291 7.33398 13.291C7.56836 13.291 7.76953 13.207 7.9375 13.0391C8.10938 12.8672 8.19531 12.6641 8.19531 12.4297V11.5625H7.33398ZM12.666 11.5625H11.8105V12.4297C11.8105 12.6641 11.8945 12.8672 12.0625 13.0391C12.2305 13.207 12.4316 13.291 12.666 13.291C12.9004 13.291 13.1016 13.207 13.2695 13.0391C13.4414 12.8672 13.5273 12.6641 13.5273 12.4297C13.5273 12.1914 13.4414 11.9883 13.2695 11.8203C13.1016 11.6484 12.9004 11.5625 12.666 11.5625Z",fill:"currentColor"}))}function G(){return r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M8.01562 11.1758L7.95703 9.65234H8.22656L11.9297 5.54492H13.2539L9.75586 9.32422L9.26367 9.79883L8.01562 11.1758ZM7.07812 14V5.54492H8.13281V14H7.07812ZM12.1992 14L9.04102 9.78711L9.76758 9.05469L13.5645 14H12.1992Z",fill:"currentColor"}))}function K(){return r.createElement("svg",{width:"33",height:"20",viewBox:"0 0 33 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M10.4824 14.1992C9.7168 14.1992 9.05469 14.0195 8.49609 13.6602C7.9375 13.3008 7.50586 12.791 7.20117 12.1309C6.90039 11.4707 6.75 10.6875 6.75 9.78125V9.76953C6.75 8.85938 6.90039 8.07422 7.20117 7.41406C7.50586 6.75391 7.93555 6.24414 8.49023 5.88477C9.04883 5.52539 9.71094 5.3457 10.4766 5.3457C11.0703 5.3457 11.6094 5.46289 12.0938 5.69727C12.582 5.92773 12.9844 6.25 13.3008 6.66406C13.6172 7.07422 13.8164 7.54883 13.8984 8.08789L13.8926 8.09961H12.832L12.8262 8.08789C12.7324 7.72461 12.5742 7.41211 12.3516 7.15039C12.1289 6.88477 11.8574 6.67969 11.5371 6.53516C11.2207 6.39062 10.8672 6.31836 10.4766 6.31836C9.9375 6.31836 9.46875 6.45898 9.07031 6.74023C8.67578 7.02148 8.37109 7.41992 8.15625 7.93555C7.94141 8.45117 7.83398 9.0625 7.83398 9.76953V9.78125C7.83398 10.4844 7.94141 11.0938 8.15625 11.6094C8.37109 12.125 8.67578 12.5234 9.07031 12.8047C9.46875 13.0859 9.93945 13.2266 10.4824 13.2266C10.877 13.2266 11.2344 13.1641 11.5547 13.0391C11.875 12.9102 12.1445 12.7285 12.3633 12.4941C12.582 12.2559 12.7344 11.9746 12.8203 11.6504L12.832 11.6387H13.8984V11.6504C13.8047 12.166 13.6016 12.6152 13.2891 12.998C12.9766 13.377 12.5801 13.6719 12.0996 13.8828C11.623 14.0938 11.084 14.1992 10.4824 14.1992ZM17.7832 14.0469C17.1348 14.0469 16.6641 13.916 16.3711 13.6543C16.082 13.3926 15.9375 12.9609 15.9375 12.3594V8.52734H14.9414V7.68359H15.9375V6.04883H16.9922V7.68359H18.375V8.52734H16.9922V12.1016C16.9922 12.4727 17.0625 12.7402 17.2031 12.9043C17.3438 13.0645 17.5781 13.1445 17.9062 13.1445C17.9961 13.1445 18.0723 13.1426 18.1348 13.1387C18.2012 13.1348 18.2812 13.1289 18.375 13.1211V13.9883C18.2773 14.0039 18.1797 14.0176 18.082 14.0293C17.9844 14.041 17.8848 14.0469 17.7832 14.0469ZM19.8984 14V7.68359H20.918V8.62109H21.0117C21.1328 8.28906 21.3379 8.03125 21.627 7.84766C21.916 7.66406 22.2734 7.57227 22.6992 7.57227C22.7969 7.57227 22.8926 7.57812 22.9863 7.58984C23.084 7.59766 23.1582 7.60547 23.209 7.61328V8.60352C23.1035 8.58398 23 8.57031 22.8984 8.5625C22.8008 8.55078 22.6953 8.54492 22.582 8.54492C22.2578 8.54492 21.9707 8.60938 21.7207 8.73828C21.4707 8.86719 21.2734 9.04688 21.1289 9.27734C20.9883 9.50781 20.918 9.77734 20.918 10.0859V14H19.8984ZM24.5273 14V5.17578H25.5469V14H24.5273Z",fill:"currentColor"}))}function Q(e){var t=e.size,n=void 0===t?20:t,a=e.color,o=void 0===a?"currentColor":a;return r.createElement("svg",{width:n,height:n,className:"DocSearch-Search-Icon",viewBox:"0 0 24 24","aria-hidden":"true"},r.createElement("circle",{cx:"11",cy:"11",r:"8",stroke:o,fill:"none",strokeWidth:"1.4"}),r.createElement("path",{d:"m21 21-4.3-4.3",stroke:o,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}))}var J=["translations","keyboardShortcuts"],Y="Ctrl",X=r.forwardRef((function(e,t){var n=e.translations,a=void 0===n?{}:n,o=e.keyboardShortcuts,i=P(e,J),s=a.buttonText,u=void 0===s?"Search":s,l=a.buttonAriaLabel,c=void 0===l?"Search":l,d=V(o),p=M((0,r.useState)(null),2),f=p[0],h=p[1];Z({theme:i.theme}),(0,r.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?h("\u2318"):h(Y))}),[]);var m=M(f===Y?[Y,"Control",r.createElement(K,null)]:["Meta","Meta",r.createElement(W,null)],3),g=m[0],v=m[1],y=m[2],b=d["Ctrl/Cmd+K"],D="".concat(v,"+k");return r.createElement("button",x({type:"button",className:"DocSearch DocSearch-Button","aria-label":b?"".concat(c," (").concat(D,")"):c,"aria-keyshortcuts":b?D:void 0},i,{ref:t}),r.createElement("span",{className:"DocSearch-Button-Container"},r.createElement(Q,null),r.createElement("span",{className:"DocSearch-Button-Placeholder"},u)),r.createElement("span",{className:"DocSearch-Button-Keys"},null!==f&&b&&r.createElement(r.Fragment,null,r.createElement(ee,{reactsToKey:g},y),r.createElement(ee,{reactsToKey:"k"},r.createElement(G,null)))))}));function ee(e){var t=e.reactsToKey,n=e.children,a=M((0,r.useState)(!1),2),o=a[0],i=a[1];return(0,r.useEffect)((function(){if(t)return window.addEventListener("keydown",e),window.addEventListener("keyup",n),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n)};function e(e){e.key===t&&i(!0)}function n(e){e.key!==t&&"Meta"!==e.key||i(!1)}}),[t]),r.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"+("Ctrl"===t?" DocSearch-Button-Key--ctrl":"")},n)}var te,ne="vercel.ai.error",re=Symbol.for(ne),ae=class e extends 
2Error{constructor({name:e,message:t,cause:n}){super(t),this[te]=!0,this.name=e,this.cause=n}static isInstance(t){return e.hasMarker(t,ne)}static hasMarker(e,t){const n=Symbol.for(t);return null!=e&&"object"==typeof e&&n in e&&"boolean"==typeof e[n]&&!0===e[n]}};te=re;var oe=ae;function ie(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}var se,ue="AI_InvalidArgumentError",le=`vercel.ai.error.${ue}`,ce=Symbol.for(le),de=class extends oe{constructor({message:e,cause:t,argument:n}){super({name:ue,message:e,cause:t}),this[se]=!0,this.argument=n}static isInstance(e){return oe.hasMarker(e,le)}};se=ce;var pe,fe="AI_JSONParseError",he=`vercel.ai.error.${fe}`,me=Symbol.for(he),ge=class extends oe{constructor({text:e,cause:t}){super({name:fe,message:`JSON parsing failed: Text: ${e}.\nError message: ${ie(t)}`,cause:t}),this[pe]=!0,this.text=e}static isInstance(e){return oe.hasMarker(e,he)}};pe=me;var ve,ye="AI_TypeValidationError",be=`vercel.ai.error.${ye}`,De=Symbol.for(be);ve=De;var ke=class e extends oe{constructor({value:e,cause:t}){super({name:ye,message:`Type validation failed: Value: ${JSON.stringify(e)}.\nError message: ${ie(t)}`,cause:t}),this[ve]=!0,this.value=e}static isInstance(e){return oe.hasMarker(e,be)}static wrap({value:t,cause:n}){return e.isInstance(n)&&n.value===t?n:new e({value:t,cause:n})}},we=function(){function e(t,n){var r;return w(this,e),(r=k(this,e,[t])).name="ParseError",r.type=n.type,r.field=n.field,r.value=n.value,r.line=n.line,r}return I(e,U(Error)),C(e)}();function _e(e){}var Ee=function(){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.onError,a=n.onRetry,o=n.onComment;return w(this,e),k(this,e,[{start:function(e){t=function(e){if("function"==typeof e)throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");var t,n=e.onEvent,r=void 0===n?_e:n,a=e.onError,o=void 0===a?_e:a,i=e.onRetry,s=void 0===i?_e:i,u=e.onComment,l="",c=!0,d="",p="";function f(e){if(""===e)return d.length>0&&r({id:t,event:p||void 0,data:d.endsWith("\n")?d.slice(0,-1):d}),t=void 0,d="",void(p="");if(e.startsWith(":"))u&&u(e.slice(e.startsWith(": ")?2:1));else{var n=e.indexOf(":");if(-1===n)h(e,"",e);else{var a=e.slice(0,n),o=" "===e[n+1]?2:1;h(a,e.slice(n+o),e)}}}function h(e,n,r){switch(e){case"event":p=n;break;case"data":d="".concat(d).concat(n,"\n");break;case"id":t=n.includes("\0")?void 0:n;break;case"retry":/^\d+$/.test(n)?s(parseInt(n,10)):o(new we('Invalid `retry` value: "'.concat(n,'"'),{type:"invalid-retry",value:n,line:r}));break;default:o(new we('Unknown field "'.concat(e.length>20?"".concat(e.slice(0,20),"\u2026"):e,'"'),{type:"unknown-field",field:e,value:n,line:r}))}}return{feed:function(e){var t,n=c?e.replace(/^\xEF\xBB\xBF/,""):e,r=function(e){for(var t=[],n="",r=0;r<e.length;){var a=e.indexOf("\r",r),o=e.indexOf("\n",r),i=-1;if(-1!==a&&-1!==o?i=Math.min(a,o):-1!==a?i=a===e.length-1?-1:a:-1!==o&&(i=o),-1===i){n=e.slice(r);break}var s=e.slice(r,i);t.push(s),"\r"===e[(r=i+1)-1]&&"\n"===e[r]&&r++}return[t,n]}("".concat(l).concat(n)),a=M(r,2),o=a[0],i=a[1],s=S(o);try{for(s.s();!(t=s.n()).done;)f(t.value)}catch(e){s.e(e)}finally{s.f()}l=i,c=!1},reset:function(){l&&(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).consume&&f(l),c=!0,t=void 0,d="",p="",l=""}}}({onEvent:function(t){e.enqueue(t)},onError:function(t){"terminate"===r?e.error(t):"function"==typeof r&&r(t)},onRetry:a,onComment:o})},transform:function(e){t.feed(e)}}])}return I(e,U(TransformStream)),C(e)}();function Ce(e,t,n){var r;function a(n,r){var a,o,s;for(var u in Object.defineProperty(n,"_zod",{value:null!==(a=n._zod)&&void 0!==a?a:{},enumerable:!1}),null!==(o=(s=n._zod).traits)&&void 0!==o||(s.traits=new Set),n._zod.traits.add(e),t(n,r),i.prototype)u in n||Object.defineProperty(n,u,{value:i.prototype[u].bind(n)});n._zod.constr=i,n._zod.def=r}var o=function(e){function t(){return w(this,t),k(this,t,arguments)}return I(t,e),C(t)}(null!==(r=null==n?void 0:n.Parent)&&void 0!==r?r:Object);function i(e){var t,r,i=null!=n&&n.Parent?new o:this;a(i,e),null!==(t=(r=i._zod).deferred)&&void 0!==t||(r.deferred=[]);var s,u=S(i._zod.deferred);try{for(u.s();!(s=u.n()).done;)(0,s.value)()}catch(e){u.e(e)}finally{u.f()}return i}return Object.defineProperty(o,"name",{value:e}),Object.defineProperty(i,"init",{value:a}),Object.defineProperty(i,Symbol.hasInstance,{value:function(t){var r;return!!(null!=n&&n.Parent&&t instanceof n.Parent)||(null==t||null===(r=t._zod)||void 0===r||null===(r=r.traits)||void 0===r?void 0:r.has(e))}}),Object.defineProperty(i,"name",{value:e}),i}var Se=function(){function e(){return w(this,e),k(this,e,["Encountered Promise during synchronous parse. Use .parseAsync() instead."])}return I(e,U(Error)),C(e)}(),Fe=function(){function e(t){var n;return w(this,e),(n=k(this,e,["Encountered unidirectional transform during encode: ".concat(t)])).name="ZodEncodeError",n}return I(e,U(Error)),C(e)}(),xe={};function Ae(e){return xe}function Ie(e){var t=Object.values(e).filter((function(e){return"number"==typeof e}));return Object.entries(e).filter((function(e){var n=M(e,2),r=n[0];return n[1],-1===t.indexOf(+r)})).map((function(e){var t=M(e,2);return t[0],t[1]}))}function Te(e,t){return"bigint"==typeof t?t.toString():t}function Oe(e){return{get value(){var t=e();return Object.defineProperty(this,"value",{value:t}),t}}}function je(e){return null==e}function Pe(e){var t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}var Ne=Symbol("evaluating");function Re(e,t,n){var r=void 0;Object.defineProperty(e,t,{get:function(){if(r!==Ne)return void 0===r&&(r=Ne,r=n()),r},set:function(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Be(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Me(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var a=0,o=n;a<o.length;a++){var i=o[a],s=Object.getOwnPropertyDescriptors(i);Object.assign(e,s)}return Object.defineProperties({},e)}function Le(e){return JSON.stringify(e)}var ze="captureStackTrace"in Error?Error.captureStackTrace:function(){};function $e(e){return"object"===$(e)&&null!==e&&!Array.isArray(e)}var qe=Oe((function(){var e;if("undefined"!=typeof navigator&&null!==(e=navigator)&&void 0!==e&&null!==(e=e.userAgent)&&void 0!==e&&e.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}}
2));function Ue(e){if(!1===$e(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!1!==$e(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function Ze(e){return Ue(e)?j({},e):Array.isArray(e)?L(e):e}var He=new Set(["string","number","symbol"]);function Ve(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function We(e,t,n){var r=new e._zod.constr(null!=t?t:e._zod.def);return(!t||null!=n&&n.parent)&&(r._zod.parent=e),r}function Ge(e){var t=e;if(!t)return{};if("string"==typeof t)return{error:function(){return t}};if(void 0!==(null==t?void 0:t.message)){if(void 0!==(null==t?void 0:t.error))throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?j(j({},t),{},{error:function(){return t.error}}):t}var Ke={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!0===e.aborted)return!0;for(var n=t;n<e.issues.length;n++){var r;if(!0!==(null===(r=e.issues[n])||void 0===r?void 0:r.continue))return!0}return!1}function Je(e,t){return t.map((function(t){var n,r;return null!==(n=(r=t).path)&&void 0!==n||(r.path=[]),t.path.unshift(e),t}))}function Ye(e){return"string"==typeof e?e:null==e?void 0:e.message}function Xe(e,t,n){var r,a=j(j({},e),{},{path:null!==(r=e.path)&&void 0!==r?r:[]});if(!e.message){var o,i,s,u,l,c,d,p,f,h=null!==(o=null!==(i=null!==(s=null!==(u=Ye(null===(l=e.inst)||void 0===l||null===(l=l._zod.def)||void 0===l||null===(c=l.error)||void 0===c?void 0:c.call(l,e)))&&void 0!==u?u:Ye(null==t||null===(d=t.error)||void 0===d?void 0:d.call(t,e)))&&void 0!==s?s:Ye(null===(p=n.customError)||void 0===p?void 0:p.call(n,e)))&&void 0!==i?i:Ye(null===(f=n.localeError)||void 0===f?void 0:f.call(n,e)))&&void 0!==o?o:"Invalid input";a.message=h}return delete a.inst,delete a.continue,null!=t&&t.reportInput||delete a.input,a}function et(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function tt(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function nt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],a=t[1],o=t[2];return"string"==typeof r?{message:r,code:"custom",input:a,inst:o}:j({},r)}var rt=function(e,t){e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Te,2),Object.defineProperty(e,"toString",{value:function(){return e.message},enumerable:!1})},at=Ce("$ZodError",rt),ot=Ce("$ZodError",rt,{Parent:Error}),it=function(e){return function(t,n,r,a){var o=r?Object.assign(r,{async:!1}):{async:!1},i=t._zod.run({value:n,issues:[]},o);if(i instanceof Promise)throw new Se;if(i.issues.length){var s,u=new(null!==(s=null==a?void 0:a.Err)&&void 0!==s?s:e)(i.issues.map((function(e){return Xe(e,o,Ae())})));throw ze(u,null==a?void 0:a.callee),u}return i.value}},st=function(e){return t=D(N().m((function t(n,r,a,o){var i,s,u,l;return N().w((function(t){for(;;)switch(t.n){case 0:if(i=a?Object.assign(a,{async:!0}):{async:!0},!((s=n._zod.run({value:r,issues:[]},i))instanceof Promise)){t.n=2;break}return t.n=1,s;case 1:s=t.v;case 2:if(!s.issues.length){t.n=3;break}throw l=new(null!==(u=null==o?void 0:o.Err)&&void 0!==u?u:e)(s.issues.map((function(e){return Xe(e,i,Ae())}))),ze(l,null==o?void 0:o.callee),l;case 3:return t.a(2,s.value)}}),t)}))),function(e,n,r,a){return t.apply(this,arguments)};var t},ut=function(e){return function(t,n,r){var a=r?j(j({},r),{},{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new Se;return o.issues.length?{success:!1,error:new(null!=e?e:at)(o.issues.map((function(e){return Xe(e,a,Ae())})))}:{success:!0,data:o.value}}},lt=ut(ot),ct=function(e){return t=D(N().m((function t(n,r,a){var o,i;return N().w((function(t){for(;;)switch(t.n){case 0:if(o=a?Object.assign(a,{async:!0}):{async:!0},!((i=n._zod.run({value:r,issues:[]},o))instanceof Promise)){t.n=2;break}return t.n=1,i;case 1:i=t.v;case 2:return t.a(2,i.issues.length?{success:!1,error:new e(i.issues.map((function(e){return Xe(e,o,Ae())})))}:{success:!0,data:i.value})}}),t)}))),function(e,n,r){return t.apply(this,arguments)};var t},dt=ct(ot),pt=/^[cC][^\s-]{8,}
2$/,ft=/^[0-9a-z]+$/,ht=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,mt=/^[0-9a-vA-V]{20}$/,gt=/^[A-Za-z0-9]{27}$/,vt=/^[a-zA-Z0-9_-]{21}$/,yt=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,bt=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Dt=function(e){return e?new RegExp("^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-".concat(e,"[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$")):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/},kt=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,wt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,_t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Et=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Ct=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,St=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Ft=/^[A-Za-z0-9_-]*$/,xt=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,At=/^\+(?:[0-9]){6,14}[0-9]$/,It="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Tt=new RegExp("^".concat(It,"$"));function Ot(e){var t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?"".concat(t):0===e.precision?"".concat(t,":[0-5]\\d"):"".concat(t,":[0-5]\\d\\.\\d{").concat(e.precision,"}"):"".concat(t,"(?::[0-5]\\d(?:\\.\\d+)?)?")}var jt=/^-?\d+$/,Pt=/^-?\d+(?:\.\d+)?/,Nt=/^(?:true|false)$/i,Rt=/^null$/i,Bt=/^[^A-Z]*$/,Mt=/^[^a-z]*$/,Lt=Ce("$ZodCheck",(function(e,t){var n,r,a;null!==(n=e._zod)&&void 0!==n||(e._zod={}),e._zod.def=t,null!==(r=(a=e._zod).onattach)&&void 0!==r||(a.onattach=[])})),zt={number:"number",bigint:"bigint",object:"date"},$t=Ce("$ZodCheckLessThan",(function(e,t){Lt.init(e,t);var n=zt[$(t.value)];e._zod.onattach.push((function(e){var n,r=e._zod.bag,a=null!==(n=t.inclusive?r.maximum:r.exclusiveMaximum)&&void 0!==n?n:Number.POSITIVE_INFINITY;t.value<a&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)})),e._zod.check=function(r){(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}})),qt=Ce("$ZodCheckGreaterThan",(function(e,t){Lt.init(e,t);var n=zt[$(t.value)];e._zod.onattach.push((function(e){var n,r=e._zod.bag,a=null!==(n=t.inclusive?r.minimum:r.exclusiveMinimum)&&void 0!==n?n:Number.NEGATIVE_INFINITY;t.value>a&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)})),e._zod.check=function(r){(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}})),Ut=Ce("$ZodCheckMultipleOf",(function(e,t){Lt.init(e,t),e._zod.onattach.push((function(e){var n,r;null!==(n=(r=e._zod.bag).multipleOf)&&void 0!==n||(r.multipleOf=t.value)})),e._zod.check=function(n){if($(n.value)!==$(t.value))throw new Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof n.value?n.value%t.value===BigInt(0):0===function(e,t){var n=(e.toString().split(".")[1]||"").length,r=t.toString(),a=(r.split(".")[1]||"").length;if(0===a&&/\d?e-\d?/.test(r)){var o=r.match(/\d?e-(\d?)/);null!=o&&o[1]&&(a=Number.parseInt(o[1]))}var i=n>a?n:a;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}
2(n.value,t.value))||n.issues.push({origin:$(n.value),code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}})),Zt=Ce("$ZodCheckNumberFormat",(function(e,t){var n;Lt.init(e,t),t.format=t.format||"float64";var r=null===(n=t.format)||void 0===n?void 0:n.includes("int"),a=r?"int":"number",o=M(Ke[t.format],2),i=o[0],s=o[1];e._zod.onattach.push((function(e){var n=e._zod.bag;n.format=t.format,n.minimum=i,n.maximum=s,r&&(n.pattern=jt)})),e._zod.check=function(n){var o=n.value;if(r){if(!Number.isInteger(o))return void n.issues.push({expected:a,format:t.format,code:"invalid_type",continue:!1,input:o,inst:e});if(!Number.isSafeInteger(o))return void(o>0?n.issues.push({input:o,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:a,continue:!t.abort}):n.issues.push({input:o,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:a,continue:!t.abort}))}o<i&&n.issues.push({origin:"number",input:o,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),o>s&&n.issues.push({origin:"number",input:o,code:"too_big",maximum:s,inst:e})}})),Ht=Ce("$ZodCheckMaxSize",(function(e,t){var n,r;Lt.init(e,t),null!==(n=(r=e._zod.def).when)&&void 0!==n||(r.when=function(e){var t=e.value;return!je(t)&&void 0!==t.size}),e._zod.onattach.push((function(e){var n,r=null!==(n=e._zod.bag.maximum)&&void 0!==n?n:Number.POSITIVE_INFINITY;t.maximum<r&&(e._zod.bag.maximum=t.maximum)})),e._zod.check=function(n){var r=n.value;r.size<=t.maximum||n.issues.push({origin:et(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}})),Vt=Ce("$ZodCheckMinSize",(function(e,t){var n,r;Lt.init(e,t),null!==(n=(r=e._zod.def).when)&&void 0!==n||(r.when=function(e){var t=e.value;return!je(t)&&void 0!==t.size}),e._zod.onattach.push((function(e){var n,r=null!==(n=e._zod.bag.minimum)&&void 0!==n?n:Number.NEGATIVE_INFINITY;t.minimum>r&&(e._zod.bag.minimum=t.minimum)})),e._zod.check=function(n){var r=n.value;r.size>=t.minimum||n.issues.push({origin:et(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}})),Wt=Ce("$ZodCheckSizeEquals",(function(e,t){var n,r;Lt.init(e,t),null!==(n=(r=e._zod.def).when)&&void 0!==n||(r.when=function(e){var t=e.value;return!je(t)&&void 0!==t.size}),e._zod.onattach.push((function(e){var n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size})),e._zod.check=function(n){var r=n.value,a=r.size;if(a!==t.size){var o=a>t.size;n.issues.push(j(j({origin:et(r)},o?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size}),{},{inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort}))}}})),Gt=Ce("$ZodCheckMaxLength",(function(e,t){var n,r;Lt.init(e,t),null!==(n=(r=e._zod.def).when)&&void 0!==n||(r.when=function(e){var t=e.value;return!je(t)&&void 0!==t.length}),e._zod.onattach.push((function(e){var n,r=null!==(n=e._zod.bag.maximum)&&void 0!==n?n:Number.POSITIVE_INFINITY;t.maximum<r&&(e._zod.bag.maximum=t.maximum)})),e._zod.check=function(n){var r=n.value;if(!(r.length<=t.maximum)){var a=tt(r);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}})),Kt=Ce("$ZodCheckMinLength",(function(e,t){var n,r;Lt.init(e,t),null!==(n=(r=e._zod.def).when)&&void 0!==n||(r.when=function(e){var t=e.value;return!je(t)&&void 0!==t.length}),e._zod.onattach.push((function(e){var n,r=null!==(n=e._zod.bag.minimum)&&void 0!==n?n:Number.NEGATIVE_INFINITY;t.minimum>r&&(e._zod.bag.minimum=t.minimum)})),e._zod.check=function(n){var r=n.value;if(!(r.length>=t.minimum)){var a=tt(r);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}})),Qt=Ce("$ZodCheckLengthEquals",(function(e,t){var n,r;Lt.init(e,t),null!==(n=(r=e._zod.def).when)&&void 0!==n||(r.when=function(e){var t=e.value;return!je(t)&&void 0!==t.length}),e._zod.onattach.push((function(e){var n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length})),e._zod.check=function(n){var r=n.value,a=r.length;if(a!==t.length){var o=tt(r),i=a>t.length;n.issues.push(j(j({origin:o},i?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length}),{},{inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort}))}}})),Jt=Ce("$ZodCheckStringFormat",(function(e,t){var n,r,a,o;Lt.init(e,t),e._zod.onattach.push((function(e){var n,r=e._zod.bag;r.format=t.format,t.pattern&&(null!==(n=r.patterns)&&void 0!==n||(r.patterns=new Set),r.patterns.add(t.pattern))})),t.pattern?null!==(n=(a=e._zod).check)&&void 0!==n||(a.check=function(n){t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push(j(j({origin:"string",code:"invalid_format",format:t.format,input:n.value},t.pattern?{pattern:t.pattern.toString()}:{}),{},{inst:e,continue:!t.abort}))}):null!==(r=(o=e._zod).check)&&void 0!==r||(o.check=function(){})})),Yt=Ce("$ZodCheckRegex",(function(e,t){Jt.init(e,t),e._zod.check=function(n){t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}})),Xt=Ce("$ZodCheckLowerCase",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=Bt),Jt.init(e,t)})),en=Ce("$ZodCheckUpperCase",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=Mt),Jt.init(e,t)})),tn=Ce("$ZodCheckIncludes",(function(e,t){Lt.init(e,t);var n=Ve(t.includes),r=new RegExp("number"==typeof t.position?"^.{".concat(t.position,"}").concat(n):n);t.pattern=r,e._zod.onattach.push((function(e){var t,n=e._zod.bag;null!==(t=n.patterns)&&void 0!==t||(n.patterns=new Set),n.patterns.add(r)})),e._zod.check=function(n){n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input
2:n.value,inst:e,continue:!t.abort})}})),nn=Ce("$ZodCheckStartsWith",(function(e,t){var n;Lt.init(e,t);var r=new RegExp("^".concat(Ve(t.prefix),".*"));null!==(n=t.pattern)&&void 0!==n||(t.pattern=r),e._zod.onattach.push((function(e){var t,n=e._zod.bag;null!==(t=n.patterns)&&void 0!==t||(n.patterns=new Set),n.patterns.add(r)})),e._zod.check=function(n){n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}})),rn=Ce("$ZodCheckEndsWith",(function(e,t){var n;Lt.init(e,t);var r=new RegExp(".*".concat(Ve(t.suffix),"$"));null!==(n=t.pattern)&&void 0!==n||(t.pattern=r),e._zod.onattach.push((function(e){var t,n=e._zod.bag;null!==(t=n.patterns)&&void 0!==t||(n.patterns=new Set),n.patterns.add(r)})),e._zod.check=function(n){n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}));function an(e,t,n){var r;e.issues.length&&(r=t.issues).push.apply(r,L(Je(n,e.issues)))}var on=Ce("$ZodCheckProperty",(function(e,t){Lt.init(e,t),e._zod.check=function(e){var n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then((function(n){return an(n,e,t.property)}));an(n,e,t.property)}})),sn=Ce("$ZodCheckMimeType",(function(e,t){Lt.init(e,t);var n=new Set(t.mime);e._zod.onattach.push((function(e){e._zod.bag.mime=t.mime})),e._zod.check=function(r){n.has(r.value.type)||r.issues.push({code:"invalid_value",values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}})),un=Ce("$ZodCheckOverwrite",(function(e,t){Lt.init(e,t),e._zod.check=function(e){e.value=t.tx(e.value)}})),ln=C((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];w(this,e),this.content=[],this.indent=0,this&&(this.args=t)}),[{key:"indented",value:function(e){this.indent+=1,e(this),this.indent-=1}},{key:"write",value:function(e){var t=this;if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});var n,r=e.split("\n").filter((function(e){return e})),a=Math.min.apply(Math,L(r.map((function(e){return e.length-e.trimStart().length})))),o=S(r.map((function(e){return e.slice(a)})).map((function(e){return" ".repeat(2*t.indent)+e})));try{for(o.s();!(n=o.n()).done;){var i=n.value;this.content.push(i)}}catch(e){o.e(e)}finally{o.f()}}},{key:"compile",value:function(){var e,t=Function,n=null==this?void 0:this.args,r=L((null!==(e=null==this?void 0:this.content)&&void 0!==e?e:[""]).map((function(e){return"  ".concat(e)})));return _(t,L(n).concat([r.join("\n")]))}}]),cn={major:4,minor:1,patch:11},dn=Ce("$ZodType",(function(e,t){var n,r;null!=e||(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=cn;var a=L(null!==(n=e._zod.def.checks)&&void 0!==n?n:[]);e._zod.traits.has("$ZodCheck")&&a.unshift(e);var o,i=S(a);try{for(i.s();!(o=i.n()).done;){var s,u=S(o.value._zod.onattach);try{for(u.s();!(s=u.n()).done;)(0,s.value)(e)}catch(e){u.e(e)}finally{u.f()}}}catch(e){i.e(e)}finally{i.f()}if(0===a.length){var l,c;null!==(l=(r=e._zod).deferred)&&void 0!==l||(r.deferred=[]),null===(c=e._zod.deferred)||void 0===c||c.push((function(){e._zod.run=e._zod.parse}))}else{var d=function(e,t,n){var r,a,o=Qe(e),i=S(t);try{var s=function(){var t=a.value;if(t._zod.def.when){if(!t._zod.def.when(e))return 0}else if(o)return 0;var i=e.issues.length,s=t._zod.check(e);if(s instanceof Promise&&!1===(null==n?void 0:n.async))throw new Se;if(r||s instanceof Promise)r=(null!=r?r:Promise.resolve()).then(D(N().m((function t(){return N().w((function(t){for(;;)switch(t.n){case 0:return t.n=1,s;case 1:if(e.issues.length!==i){t.n=2;break}return t.a(2);case 2:o||(o=Qe(e,i));case 3:return t.a(2)}}),t)}))));else{if(e.issues.length===i)return 0;o||(o=Qe(e,i))}};for(i.s();!(a=i.n()).done;)s()}catch(e){i.e(e)}finally{i.f()}return r?r.then((function(){return e})):e},p=function(t,n,r){if(Qe(t))return t.aborted=!0,t;var o=d(n,a,r);if(o instanceof Promise){if(!1===r.async)throw new Se;return o.then((function(t){return e._zod.parse(t,r)}))}return e._zod.parse(o,r)};e._zod.run=function(t,n){if(n.skipChecks)return e._zod.parse(t,n);if("backward"===n.direction){var r=e._zod.parse({value:t.value,issues:[]},j(j({},n),{},{skipChecks:!0}));return r instanceof Promise?r.then((function(e){return p(e,t,n)})):p(r,t,n)}var o=e._zod.parse(t,n);if(o instanceof Promise){if(!1===n.async)throw new Se;return o.then((function(e){return d(e,a,n)}))}return d(o,a,n)}}e["~standard"]={validate:function(t){try{var n,r=lt(e,t);return r.success?{value:r.data}:{issues:null===(n=r.error)||void 0===n?void 0:n.issues}}catch(n){return dt(e,t).then((function(e){var t;return e.success?{value:e.data}:{issues:null===(t=e.error)||void 0===t?void 0:t.issues}}))}},vendor:"zod",version:1}})),pn=Ce("$ZodString",(function(e,t){var n,r,a;dn.init(e,t),e._zod.pattern=null!==(n=L(null!==(r=null==e||null===(a=e._zod.bag)||void 0===a?void 0:a.patterns)&&void 0!==r?r:[]).pop())&&void 0!==n?n:function(e){var t,n,r=e?"[\\s\\S]{".concat(null!==(t=null==e?void 0:e.minimum)&&void 0!==t?t:0,",").concat(null!==(n=null==e?void 0:e.maximum)&&void 0!==n?n:"","}"):"[\\s\\S]*";return new RegExp("^".concat(r,"$"))}(e._zod.bag),e._zod.parse=function(n,r){if(t.coerce)try{n.value=String(n.value)}catch(r){}return"string"==typeof n.value||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}})),fn=Ce("$ZodStringFormat",(function(e,t){Jt.init(e,t),pn.init(e,t)})),hn=Ce("$ZodGUID",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=bt),fn.init(e,t)})),mn=Ce("$ZodUUID",(function(e,t){var n;if(t.version){var r,a={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===a)throw new Error('Invalid UUID version: "'.concat(t.version,'"'));
2null!==(r=t.pattern)&&void 0!==r||(t.pattern=Dt(a))}else null!==(n=t.pattern)&&void 0!==n||(t.pattern=Dt());fn.init(e,t)})),gn=Ce("$ZodEmail",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=kt),fn.init(e,t)})),vn=Ce("$ZodURL",(function(e,t){fn.init(e,t),e._zod.check=function(n){try{var r=n.value.trim(),a=new URL(r);return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:xt.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),void(t.normalize?n.value=a.href:n.value=r)}catch(r){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}})),yn=Ce("$ZodEmoji",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),fn.init(e,t)})),bn=Ce("$ZodNanoID",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=vt),fn.init(e,t)})),Dn=Ce("$ZodCUID",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=pt),fn.init(e,t)})),kn=Ce("$ZodCUID2",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=ft),fn.init(e,t)})),wn=Ce("$ZodULID",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=ht),fn.init(e,t)})),_n=Ce("$ZodXID",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=mt),fn.init(e,t)})),En=Ce("$ZodKSUID",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=gt),fn.init(e,t)})),Cn=Ce("$ZodISODateTime",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=function(e){var t=Ot({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");var r="".concat(t,"(?:").concat(n.join("|"),")");return new RegExp("^".concat(It,"T(?:").concat(r,")$"))}(t)),fn.init(e,t)})),Sn=Ce("$ZodISODate",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=Tt),fn.init(e,t)})),Fn=Ce("$ZodISOTime",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=new RegExp("^".concat(Ot(t),"$"))),fn.init(e,t)})),xn=Ce("$ZodISODuration",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=yt),fn.init(e,t)})),An=Ce("$ZodIPv4",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=wt),fn.init(e,t),e._zod.onattach.push((function(e){e._zod.bag.format="ipv4"}))})),In=Ce("$ZodIPv6",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=_t),fn.init(e,t),e._zod.onattach.push((function(e){e._zod.bag.format="ipv6"})),e._zod.check=function(n){try{new URL("http://[".concat(n.value,"]"))}catch(a){n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}})),Tn=Ce("$ZodCIDRv4",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=Et),fn.init(e,t)})),On=Ce("$ZodCIDRv6",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=Ct),fn.init(e,t),e._zod.check=function(n){var r=n.value.split("/");try{if(2!==r.length)throw new Error;var a=M(r,2),o=a[0],i=a[1];if(!i)throw new Error;var s=Number(i);if("".concat(s)!==i)throw new Error;if(s<0||s>128)throw new Error;new URL("http://[".concat(o,"]"))}catch(r){n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}}));function jn(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch(e){return!1}}var Pn=Ce("$ZodBase64",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=St),fn.init(e,t),e._zod.onattach.push((function(e){e._zod.bag.contentEncoding="base64"})),e._zod.check=function(n){jn(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}})),Nn=Ce("$ZodBase64URL",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=Ft),fn.init(e,t),e._zod.onattach.push((function(e){e._zod.bag.contentEncoding="base64url"})),e._zod.check=function(n){(function(e){if(!Ft.test(e))return!1;var t=e.replace(/[-_]/g,(function(e){return"-"===e?"+":"/"}));return jn(t.padEnd(4*Math.ceil(t.length/4),"="))})(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}})),Rn=Ce("$ZodE164",(function(e,t){var n;null!==(n=t.pattern)&&void 0!==n||(t.pattern=At),fn.init(e,t)})),Bn=Ce("$ZodJWT",(function(e,t){fn.init(e,t),e._zod.check=function(n){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var n=e.split(".");if(3!==n.length)return!1;var r=M(n,1)[0];if(!r)return!1;var a=JSON.parse(atob(r));return!("typ"in a&&"JWT"!==(null==a?void 0:a.typ)||!a.alg||t&&(!("alg"in a)||a.alg!==t))}catch(e){return!1}})(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}})),Mn=Ce("$ZodNumber",(function(e,t){var n;dn.init(e,t),e._zod.pattern=null!==(n=e._zod.bag.pattern)&&void 0!==n?n:Pt,e._zod.parse=function(n,r){if(t.coerce)try{n.value=Number(n.value)}catch(e){}var a=n.value;if("number"==typeof a&&!Number.isNaN(a)&&Number.isFinite(a))return n;var o="number"==typeof a?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return n.issues.push(j({expected:"number",code:"invalid_type",input:a,inst:e},o?{received:o}:{})),n}})),Ln=Ce("$ZodNumber",(function(e,t){Zt.init(e,t),Mn.init(e,t)})),zn=Ce("$ZodBoolean",(function(e,t){dn.init(e,t),e._zod.pattern=Nt,e._zod.parse=function(n,r){if(t.coerce)try{n.value=
2Boolean(n.value)}catch(e){}var a=n.value;return"boolean"==typeof a||n.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:e}),n}})),$n=Ce("$ZodNull",(function(e,t){dn.init(e,t),e._zod.pattern=Rt,e._zod.values=new Set([null]),e._zod.parse=function(t,n){var r=t.value;return null===r||t.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),t}})),qn=Ce("$ZodUnknown",(function(e,t){dn.init(e,t),e._zod.parse=function(e){return e}})),Un=Ce("$ZodNever",(function(e,t){dn.init(e,t),e._zod.parse=function(t,n){return t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t}}));function Zn(e,t,n){var r;e.issues.length&&(r=t.issues).push.apply(r,L(Je(n,e.issues))),t.value[n]=e.value}var Hn=Ce("$ZodArray",(function(e,t){dn.init(e,t),e._zod.parse=function(n,r){var a=n.value;if(!Array.isArray(a))return n.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),n;n.value=Array(a.length);for(var o=[],i=function(e){var i=a[e],s=t.element._zod.run({value:i,issues:[]},r);s instanceof Promise?o.push(s.then((function(t){return Zn(t,n,e)}))):Zn(s,n,e)},s=0;s<a.length;s++)i(s);return o.length?Promise.all(o).then((function(){return n})):n}}));function Vn(e,t,n,r){var a;e.issues.length&&(a=t.issues).push.apply(a,L(Je(n,e.issues))),void 0===e.value?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function Wn(e){for(var t=Object.keys(e.shape),n=0,r=t;n<r.length;n++){var a,o=r[n];if(null===(a=e.shape)||void 0===a||null===(a=a[o])||void 0===a||null===(a=a._zod)||void 0===a||null===(a=a.traits)||void 0===a||!a.has("$ZodType"))throw new Error('Invalid element at key "'.concat(o,'": expected a Zod schema'))}var i,s=(i=e.shape,Object.keys(i).filter((function(e){return"optional"===i[e]._zod.optin&&"optional"===i[e]._zod.optout})));return j(j({},e),{},{keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(s)})}function Gn(e,t,n,r,a,o){for(var i=[],s=a.keySet,u=a.catchall._zod,l=u.def.type,c=function(){var a=p[d];if(s.has(a))return 0;if("never"===l)return i.push(a),0;var o=u.run({value:t[a],issues:[]},r);o instanceof Promise?e.push(o.then((function(e){return Vn(e,n,a,t)}))):Vn(o,n,a,t)},d=0,p=Object.keys(t);d<p.length;d++)c();return i.length&&n.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:o}),e.length?Promise.all(e).then((function(){return n})):n}var Kn=Ce("$ZodObject",(function(e,t){dn.init(e,t);var n=Object.getOwnPropertyDescriptor(t,"shape");if(null==n||!n.get){var r=t.shape;Object.defineProperty(t,"shape",{get:function(){var e=j({},r);return Object.defineProperty(t,"shape",{value:e}),e}})}var a=Oe((function(){return Wn(t)}));Re(e._zod,"propValues",(function(){var e=t.shape,n={};for(var r in e){var a=e[r]._zod;if(a.values){var o;null!==(o=n[r])&&void 0!==o||(n[r]=new Set);var i,s=S(a.values);try{for(s.s();!(i=s.n()).done;){var u=i.value;n[r].add(u)}}catch(e){s.e(e)}finally{s.f()}}}return n}));var o,i=$e,s=t.catchall;e._zod.parse=function(t,n){null!=o||(o=a.value);var r=t.value;if(!i(r))return t.issues.push({expected:"object",code:"invalid_type",input:r,inst:e}),t;t.value={};var u,l=[],c=o.shape,d=S(o.keys);try{var p=function(){var e=u.value,a=c[e]._zod.run({value:r[e],issues:[]},n);a instanceof Promise?l.push(a.then((function(n){return Vn(n,t,e,r)}))):Vn(a,t,e,r)};for(d.s();!(u=d.n()).done;)p()}catch(e){d.e(e)}finally{d.f()}return s?Gn(l,r,t,n,a.value,e):l.length?Promise.all(l).then((function(){return t})):t}})),Qn=Ce("$ZodObjectJIT",(function(e,t){Kn.init(e,t);var n,r,a=e._zod.parse,o=Oe((function(){return Wn(t)})),i=$e,s=!xe.jitless,u=s&&qe.value,l=t.catchall;e._zod.parse=function(c,d){null!=r||(r=o.value);var p=c.value;return i(p)?s&&u&&!1===(null==d?void 0:d.async)&&!0!==d.jitless?(n||(n=function(e){var t=new ln(["shape","payload","ctx"]),n=o.value,r=function(e){var t=Le(e);return"shape[".concat(t,"]._zod.run({ value: input[").concat(t,"], issues: [] }, ctx)")};t.write("const input = payload.value;");var a,i=Object.create(null),s=0,u=S(n.keys);try{for(u.s();!(a=u.n()).done;)i[a.value]="key_".concat(s++)}catch(e){u.e(e)}finally{u.f()}t.write("const newResult = {};");var l,c=S(n.keys);try{for(c.s();!(l=c.n()).done;){var d=l.value,p=i[d],f=Le(d);t.write("const ".concat(p," = ").concat(r(d),";")),t.write("\n        if (".concat(p,".issues.length) {\n          payload.issues = payload.issues.concat(").concat(p,".issues.map(iss => ({\n            ...iss,\n            path: iss.path ? [").concat(f,", ...iss.path] : [").concat(f,"]\n          })));\n        }\n        \n        \n        if (").concat(p,".value === undefined) {\n          if (").concat(f," in input) {\n            newResult[").concat(f,"] = undefined;\n          }\n        } else {\n          newResult[").concat(f,"] = ").concat(p,".value;\n        }\n        \n      "))}}catch(e){c.e(e)}finally{c.f()}t.write("payload.value = newResult;"),t.write("return payload;");var h=t.compile();return function(t,n){return h(e,t,n)}}(t.shape)),c=n(c,d),l?Gn([],p,c,d,r,e):c):a(c,d):(c.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}
2),c)}}));function Jn(e,t,n,r){var a,o=S(e);try{for(o.s();!(a=o.n()).done;){var i=a.value;if(0===i.issues.length)return t.value=i.value,t}}catch(e){o.e(e)}finally{o.f()}var s=e.filter((function(e){return!Qe(e)}));return 1===s.length?(t.value=s[0].value,s[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map((function(e){return e.issues.map((function(e){return Xe(e,r,Ae())}))}))}),t)}var Yn=Ce("$ZodUnion",(function(e,t){dn.init(e,t),Re(e._zod,"optin",(function(){return t.options.some((function(e){return"optional"===e._zod.optin}))?"optional":void 0})),Re(e._zod,"optout",(function(){return t.options.some((function(e){return"optional"===e._zod.optout}))?"optional":void 0})),Re(e._zod,"values",(function(){if(t.options.every((function(e){return e._zod.values})))return new Set(t.options.flatMap((function(e){return Array.from(e._zod.values)})))})),Re(e._zod,"pattern",(function(){if(t.options.every((function(e){return e._zod.pattern}))){var e=t.options.map((function(e){return e._zod.pattern}));return new RegExp("^(".concat(e.map((function(e){return Pe(e.source)})).join("|"),")$"))}}));var n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=function(a,o){if(n)return r(a,o);var i,s=!1,u=[],l=S(t.options);try{for(l.s();!(i=l.n()).done;){var c=i.value._zod.run({value:a.value,issues:[]},o);if(c instanceof Promise)u.push(c),s=!0;else{if(0===c.issues.length)return c;u.push(c)}}}catch(e){l.e(e)}finally{l.f()}return s?Promise.all(u).then((function(t){return Jn(t,a,e,o)})):Jn(u,a,e,o)}})),Xn=Ce("$ZodDiscriminatedUnion",(function(e,t){Yn.init(e,t);var n=e._zod.parse;Re(e._zod,"propValues",(function(){var e,n={},r=S(t.options);try{for(r.s();!(e=r.n()).done;){var a=e.value,o=a._zod.propValues;if(!o||0===Object.keys(o).length)throw new Error('Invalid discriminated union option at index "'.concat(t.options.indexOf(a),'"'));for(var i=0,s=Object.entries(o);i<s.length;i++){var u=M(s[i],2),l=u[0],c=u[1];n[l]||(n[l]=new Set);var d,p=S(c);try{for(p.s();!(d=p.n()).done;){var f=d.value;n[l].add(f)}}catch(e){p.e(e)}finally{p.f()}}}}catch(e){r.e(e)}finally{r.f()}return n}));var r=Oe((function(){var e,n=t.options,r=new Map,a=S(n);try{for(a.s();!(e=a.n()).done;){var o,i=e.value,s=null===(o=i._zod.propValues)||void 0===o?void 0:o[t.discriminator];if(!s||0===s.size)throw new Error('Invalid discriminated union option at index "'.concat(t.options.indexOf(i),'"'));var u,l=S(s);try{for(l.s();!(u=l.n()).done;){var c=u.value;if(r.has(c))throw new Error('Duplicate discriminator value "'.concat(String(c),'"'));r.set(c,i)}}catch(e){l.e(e)}finally{l.f()}}}catch(e){a.e(e)}finally{a.f()}return r}));e._zod.parse=function(a,o){var i=a.value;if(!$e(i))return a.issues.push({code:"invalid_type",expected:"object",input:i,inst:e}),a;var s=r.value.get(null==i?void 0:i[t.discriminator]);return s?s._zod.run(a,o):t.unionFallback?n(a,o):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:i,path:[t.discriminator],inst:e}),a)}})),er=Ce("$ZodIntersection",(function(e,t){dn.init(e,t),e._zod.parse=function(e,n){var r=e.value,a=t.left._zod.run({value:r,issues:[]},n),o=t.right._zod.run({value:r,issues:[]},n);return a instanceof Promise||o instanceof Promise?Promise.all([a,o]).then((function(t){var n=M(t,2),r=n[0],a=n[1];return nr(e,r,a)})):nr(e,a,o)}}));function tr(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Ue(e)&&Ue(t)){var n,r=Object.keys(t),a=Object.keys(e).filter((function(e){return-1!==r.indexOf(e)})),o=j(j({},e),t),i=S(a);try{for(i.s();!(n=i.n()).done;){var s=n.value,u=tr(e[s],t[s]);if(!u.valid)return{valid:!1,mergeErrorPath:[s].concat(L(u.mergeErrorPath))};o[s]=u.data}}catch(e){i.e(e)}finally{i.f()}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};for(var l=[],c=0;c<e.length;c++){var d=tr(e[c],t[c]);if(!d.valid)return{valid:!1,mergeErrorPath:[c].concat(L(d.mergeErrorPath))};l.push(d.data)}return{valid:!0,data:l}}return{valid:!1,mergeErrorPath:[]}}function nr(e,t,n){var r,a;if(t.issues.length&&(r=e.issues).push.apply(r,L(t.issues)),n.issues.length&&(a=e.issues).push.apply(a,L(n.issues)),Qe(e))return e;var o=tr(t.value,n.value);
2if(!o.valid)throw new Error("Unmergable intersection. Error path: "+"".concat(JSON.stringify(o.mergeErrorPath)));return e.value=o.data,e}var rr=Ce("$ZodRecord",(function(e,t){dn.init(e,t),e._zod.parse=function(n,r){var a=n.value;if(!Ue(a))return n.issues.push({expected:"record",code:"invalid_type",input:a,inst:e}),n;var o=[];if(t.keyType._zod.values){var i=t.keyType._zod.values;n.value={};var s,u,l=S(i);try{var c=function(){var e=s.value;if("string"==typeof e||"number"==typeof e||"symbol"===$(e)){var i,u=t.valueType._zod.run({value:a[e],issues:[]},r);if(u instanceof Promise)o.push(u.then((function(t){var r;t.issues.length&&(r=n.issues).push.apply(r,L(Je(e,t.issues))),n.value[e]=t.value})));else u.issues.length&&(i=n.issues).push.apply(i,L(Je(e,u.issues))),n.value[e]=u.value}};for(l.s();!(s=l.n()).done;)c()}catch(e){l.e(e)}finally{l.f()}for(var d in a)i.has(d)||(u=null!=u?u:[]).push(d);u&&u.length>0&&n.issues.push({code:"unrecognized_keys",input:a,inst:e,keys:u})}else{n.value={};var p,f=S(Reflect.ownKeys(a));try{var h=function(){var i=p.value;if("__proto__"===i)return 0;var s=t.keyType._zod.run({value:i,issues:[]},r);if(s instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(s.issues.length)return n.issues.push({code:"invalid_key",origin:"record",issues:s.issues.map((function(e){return Xe(e,r,Ae())})),input:i,path:[i],inst:e}),n.value[s.value]=s.value,0;var u,l=t.valueType._zod.run({value:a[i],issues:[]},r);l instanceof Promise?o.push(l.then((function(e){var t;e.issues.length&&(t=n.issues).push.apply(t,L(Je(i,e.issues))),n.value[s.value]=e.value}))):(l.issues.length&&(u=n.issues).push.apply(u,L(Je(i,l.issues))),n.value[s.value]=l.value)};for(f.s();!(p=f.n()).done;)h()}catch(e){f.e(e)}finally{f.f()}}return o.length?Promise.all(o).then((function(){return n})):n}})),ar=Ce("$ZodEnum",(function(e,t){dn.init(e,t);var n=Ie(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp("^(".concat(n.filter((function(e){return He.has($(e))})).map((function(e){return"string"==typeof e?Ve(e):e.toString()})).join("|"),")$")),e._zod.parse=function(t,a){var o=t.value;return r.has(o)||t.issues.push({code:"invalid_value",values:n,input:o,inst:e}),t}})),or=Ce("$ZodLiteral",(function(e,t){if(dn.init(e,t),0===t.values.length)throw new Error("Cannot create literal schema with no valid values");e._zod.values=new Set(t.values),e._zod.pattern=new RegExp("^(".concat(t.values.map((function(e){return"string"==typeof e?Ve(e):e?Ve(e.toString()):String(e)})).join("|"),")$")),e._zod.parse=function(n,r){var a=n.value;return e._zod.values.has(a)||n.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),n}})),ir=Ce("$ZodTransform",(function(e,t){dn.init(e,t),e._zod.parse=function(n,r){if("backward"===r.direction)throw new Fe(e.constructor.name);var a=t.transform(n.value,n);if(r.async)return(a instanceof Promise?a:Promise.resolve(a)).then((function(e){return n.value=e,n}));if(a instanceof Promise)throw new Se;return n.value=a,n}}));function sr(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}var ur=Ce("$ZodOptional",(function(e,t){dn.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Re(e._zod,"values",(function(){return t.innerType._zod.values?new Set([].concat(L(t.innerType._zod.values),[void 0])):void 0})),Re(e._zod,"pattern",(function(){var e=t.innerType._zod.pattern;return e?new RegExp("^(".concat(Pe(e.source),")?$")):void 0})),e._zod.parse=function(e,n){if("optional"===t.innerType._zod.optin){var r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then((function(t){return sr(t,e.value)})):sr(r,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,n)}})),lr=Ce("$ZodNullable",(function(e,t){dn.init(e,t),Re(e._zod,"optin",(function(){return t.innerType._zod.optin})),Re(e._zod,"optout",(function(){return t.innerType._zod.optout})),Re(e._zod,"pattern",(function(){var e=t.innerType._zod.pattern;return e?new RegExp("^(".concat(Pe(e.source),"|null)$")):void 0})),Re(e._zod,"values",(function(){return t.innerType._zod.values?new Set([].concat(L(t.innerType._zod.values),[null])):void 0})),e._zod.parse=function(e,n){return null===e.value?e:t.innerType._zod.run(e,n)}})),cr=Ce("$ZodDefault",(function(e,t){dn.init(e,t),e._zod.optin="optional",Re(e._zod,"values",(function(){return t.innerType._zod.values})),e._zod.parse=function(e,n){if("backward"===n.direction)return t.innerType._zod.run(e,n);if(void 0===e.value)return e.value=t.defaultValue,e;var r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then((function(e){return dr(e,t)})):dr(r,t)}}));function dr(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}var pr=Ce("$ZodPrefault",(function(e,t){dn.init(e,t),e._zod.optin="optional",Re(e._zod,"values",(function(){return t.innerType._zod.values})),e._zod.parse=function(e,n){return"backward"===n.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,n)}})),fr=Ce("$ZodNonOptional",(function(e,t){dn.init(e,t),Re(e._zod,"values",(function(){var e=t.innerType._zod.values;return e?new Set(L(e).filter((function(e){return void 0!==e}))):void 0})),e._zod.parse=function(n,r){var a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then((function(t){return hr(t,e)})):hr(a,e)}}));function hr(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}
2var mr=Ce("$ZodCatch",(function(e,t){dn.init(e,t),Re(e._zod,"optin",(function(){return t.innerType._zod.optin})),Re(e._zod,"optout",(function(){return t.innerType._zod.optout})),Re(e._zod,"values",(function(){return t.innerType._zod.values})),e._zod.parse=function(e,n){if("backward"===n.direction)return t.innerType._zod.run(e,n);var r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then((function(r){return e.value=r.value,r.issues.length&&(e.value=t.catchValue(j(j({},e),{},{error:{issues:r.issues.map((function(e){return Xe(e,n,Ae())}))},input:e.value})),e.issues=[]),e})):(e.value=r.value,r.issues.length&&(e.value=t.catchValue(j(j({},e),{},{error:{issues:r.issues.map((function(e){return Xe(e,n,Ae())}))},input:e.value})),e.issues=[]),e)}})),gr=Ce("$ZodPipe",(function(e,t){dn.init(e,t),Re(e._zod,"values",(function(){return t.in._zod.values})),Re(e._zod,"optin",(function(){return t.in._zod.optin})),Re(e._zod,"optout",(function(){return t.out._zod.optout})),Re(e._zod,"propValues",(function(){return t.in._zod.propValues})),e._zod.parse=function(e,n){if("backward"===n.direction){var r=t.out._zod.run(e,n);return r instanceof Promise?r.then((function(e){return vr(e,t.in,n)})):vr(r,t.in,n)}var a=t.in._zod.run(e,n);return a instanceof Promise?a.then((function(e){return vr(e,t.out,n)})):vr(a,t.out,n)}}));function vr(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var yr=Ce("$ZodReadonly",(function(e,t){dn.init(e,t),Re(e._zod,"propValues",(function(){return t.innerType._zod.propValues})),Re(e._zod,"values",(function(){return t.innerType._zod.values})),Re(e._zod,"optin",(function(){return t.innerType._zod.optin})),Re(e._zod,"optout",(function(){return t.innerType._zod.optout})),e._zod.parse=function(e,n){if("backward"===n.direction)return t.innerType._zod.run(e,n);var r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(br):br(r)}}));function br(e){return e.value=Object.freeze(e.value),e}var Dr=Ce("$ZodLazy",(function(e,t){dn.init(e,t),Re(e._zod,"innerType",(function(){return t.getter()})),Re(e._zod,"pattern",(function(){return e._zod.innerType._zod.pattern})),Re(e._zod,"propValues",(function(){return e._zod.innerType._zod.propValues})),Re(e._zod,"optin",(function(){var t;return null!==(t=e._zod.innerType._zod.optin)&&void 0!==t?t:void 0})),Re(e._zod,"optout",(function(){var t;return null!==(t=e._zod.innerType._zod.optout)&&void 0!==t?t:void 0})),e._zod.parse=function(t,n){return e._zod.innerType._zod.run(t,n)}})),kr=Ce("$ZodCustom",(function(e,t){Lt.init(e,t),dn.init(e,t),e._zod.parse=function(e,t){return e},e._zod.check=function(n){var r=n.value,a=t.fn(r);if(a instanceof Promise)return a.then((function(t){return wr(t,n,r,e)}));wr(a,n,r,e)}}));function wr(e,t,n,r){if(!e){var a,o={code:"custom",input:n,inst:r,path:L(null!==(a=r._zod.def.path)&&void 0!==a?a:[]),continue:!r._zod.def.abort};r._zod.def.params&&(o.params=r._zod.def.params),t.issues.push(nt(o))}}var _r=C((function e(){w(this,e),this._map=new WeakMap,this._idmap=new Map}),[{key:"add",value:function(e){var t=arguments.length<=1?void 0:arguments[1];if(this._map.set(e,t),t&&"object"===$(t)&&"id"in t){if(this._idmap.has(t.id))throw new Error("ID ".concat(t.id," already exists in the registry"));this._idmap.set(t.id,e)}return this}},{key:"clear",value:function(){return this._map=new WeakMap,this._idmap=new Map,this}},{key:"remove",value:function(e){var t=this._map.get(e);return t&&"object"===$(t)&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}},{key:"get",value:function(e){var t=e._zod.parent;if(t){var n,r=j({},null!==(n=this.get(t))&&void 0!==n?n:{});delete r.id;var a=j(j({},r),this._map.get(e));return Object.keys(a).length?a:void 0}return this._map.get(e)}},{key:"has",value:function(e){return this._map.has(e)}}]);var Er=new _r;function Cr(e,t){return new e(j({type:"string",format:"guid",check:"string_format",abort:!1},Ge(t)))}function Sr(e,t){return new e(j({type:"string",format:"base64",check:"string_format",abort:!1},Ge(t)))}function Fr(e,t){return new $t(j(j({check:"less_than"},Ge(t)),{},{value:e,inclusive:!1}))}function xr(e,t){return new $t(j(j({check:"less_than"},Ge(t)),{},{value:e,inclusive:!0}))}function Ar(e,t){return new qt(j(j({check:"greater_than"},Ge(t)),{},{value:e,inclusive:!1}))}function Ir(e,t){return new qt(j(j({check:"greater_than"},Ge(t)),{},{value:e,inclusive:!0}))}function Tr(e,t){return new Ut(j(j({check:"multiple_of"},Ge(t)),{},{value:e}))}function Or(e,t){return new Gt(j(j({check:"max_length"},Ge(t)),{},{maximum:e}))}function jr(e,t){return new Kt(j(j({check:"min_length"},Ge(t)),{},{minimum:e}))}function Pr(e,t){return new Qt(j(j({check:"length_equals"},Ge(t)),{},{length:e}))}function Nr(e,t){return new Yt(j(j({check:"string_format",format:"regex"},Ge(t)),{},{pattern:e}))}function Rr(e){return new Xt(j({check:"string_format",format:"lowercase"},Ge(e)))}function Br(e){return new en(j({check:"string_format",format:"up
2percase"},Ge(e)))}function Mr(e,t){return new tn(j(j({check:"string_format",format:"includes"},Ge(t)),{},{includes:e}))}function Lr(e,t){return new nn(j(j({check:"string_format",format:"starts_with"},Ge(t)),{},{prefix:e}))}function zr(e,t){return new rn(j(j({check:"string_format",format:"ends_with"},Ge(t)),{},{suffix:e}))}function $r(e){return new un({check:"overwrite",tx:e})}function qr(e){return $r((function(t){return t.normalize(e)}))}function Ur(){return $r((function(e){return e.trim()}))}function Zr(){return $r((function(e){return e.toLowerCase()}))}function Hr(){return $r((function(e){return e.toUpperCase()}))}var Vr=C((function e(t){var n,r,a,o,i;w(this,e),this.counter=0,this.metadataRegistry=null!==(n=null==t?void 0:t.metadata)&&void 0!==n?n:Er,this.target=null!==(r=null==t?void 0:t.target)&&void 0!==r?r:"draft-2020-12",this.unrepresentable=null!==(a=null==t?void 0:t.unrepresentable)&&void 0!==a?a:"throw",this.override=null!==(o=null==t?void 0:t.override)&&void 0!==o?o:function(){},this.io=null!==(i=null==t?void 0:t.io)&&void 0!==i?i:"output",this.seen=new Map}),[{key:"process",value:function(e){var t,n,r,a,o=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:[],schemaPath:[]},s=e._zod.def,u=this.seen.get(e);if(u)return u.count++,i.schemaPath.includes(e)&&(u.cycle=i.path),u.schema;var l={schema:{},count:1,cycle:void 0,path:i.path};this.seen.set(e,l);var c=null===(t=(n=e._zod).toJSONSchema)||void 0===t?void 0:t.call(n);if(c)l.schema=c;else{var d=j(j({},i),{},{schemaPath:[].concat(L(i.schemaPath),[e]),path:i.path}),p=e._zod.parent;if(p)l.ref=p,this.process(p,d),this.seen.get(p).isParent=!0;else{var f=l.schema;switch(s.type){case"string":var h=f;h.type="string";var m,g=e._zod.bag,v=g.minimum,y=g.maximum,b=g.format,D=g.patterns,k=g.contentEncoding;if("number"==typeof v&&(h.minLength=v),"number"==typeof y&&(h.maxLength=y),b&&(h.format=null!==(m={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""}[b])&&void 0!==m?m:b,""===h.format&&delete h.format),k&&(h.contentEncoding=k),D&&D.size>0){var w=L(D);1===w.length?h.pattern=w[0].source:w.length>1&&(l.schema.allOf=L(w.map((function(e){return j(j({},"draft-7"===o.target||"draft-4"===o.target||"openapi-3.0"===o.target?{type:"string"}:{}),{},{pattern:e.source})}))))}break;case"number":var _=f,E=e._zod.bag,C=E.minimum,F=E.maximum,x=E.format,A=E.multipleOf,I=E.exclusiveMaximum,T=E.exclusiveMinimum;"string"==typeof x&&x.includes("int")?_.type="integer":_.type="number","number"==typeof T&&("draft-4"===this.target||"openapi-3.0"===this.target?(_.minimum=T,_.exclusiveMinimum=!0):_.exclusiveMinimum=T),"number"==typeof C&&(_.minimum=C,"number"==typeof T&&"draft-4"!==this.target&&(T>=C?delete _.minimum:delete _.exclusiveMinimum)),"number"==typeof I&&("draft-4"===this.target||"openapi-3.0"===this.target?(_.maximum=I,_.exclusiveMaximum=!0):_.exclusiveMaximum=I),"number"==typeof F&&(_.maximum=F,"number"==typeof I&&"draft-4"!==this.target&&(I<=F?delete _.maximum:delete _.exclusiveMaximum)),"number"==typeof A&&(_.multipleOf=A);break;case"boolean":case"success":f.type="boolean";break;case"bigint":if("throw"===this.unrepresentable)throw new Error("BigInt cannot be represented in JSON Schema");break;case"symbol":if("throw"===this.unrepresentable)throw new Error("Symbols cannot be represented in JSON Schema");break;case"null":"openapi-3.0"===this.target?(f.type="string",f.nullable=!0,f.enum=[null]):f.type="null";break;case"any":case"unknown":break;case"undefined":if("throw"===this.unrepresentable)throw new Error("Undefined cannot be represented in JSON Schema");break;case"void":if("throw"===this.unrepresentable)throw new Error("Void cannot be represented in JSON Schema");break;case"never":f.not={};break;case"date":if("throw"===this.unrepresentable)throw new Error("Date cannot be represented in JSON Schema");break;case"array":var O=f,P=e._zod.bag,N=P.minimum,R=P.maximum;"number"==typeof N&&(O.minItems=N),"number"==typeof R&&(O.maxItems=R),O.type="array",O.items=this.process(s.element,j(j({},d),{},{path:[].concat(L(d.path),["items"])}));break;case"object":var B,M=f;M.type="object",M.properties={};var z=s.shape;for(var q in z)M.properties[q]=this.process(z[q],j(j({},d),{},{path:[].concat(L(d.path),["properties",q])}));var U=new Set(Object.keys(z)),Z=new Set(L(U).filter((function(e){var t=s.shape[e]._zod;return"input"===o.io?void 0===t.optin:void 0===t.optout})));Z.size>
20&&(M.required=Array.from(Z)),"never"===(null===(B=s.catchall)||void 0===B?void 0:B._zod.def.type)?M.additionalProperties=!1:s.catchall?s.catchall&&(M.additionalProperties=this.process(s.catchall,j(j({},d),{},{path:[].concat(L(d.path),["additionalProperties"])}))):"output"===this.io&&(M.additionalProperties=!1);break;case"union":var H=f,V=s.options.map((function(e,t){return o.process(e,j(j({},d),{},{path:[].concat(L(d.path),["anyOf",t])}))}));H.anyOf=V;break;case"intersection":var W=f,G=this.process(s.left,j(j({},d),{},{path:[].concat(L(d.path),["allOf",0])})),K=this.process(s.right,j(j({},d),{},{path:[].concat(L(d.path),["allOf",1])})),Q=function(e){return"allOf"in e&&1===Object.keys(e).length},J=[].concat(L(Q(G)?G.allOf:[G]),L(Q(K)?K.allOf:[K]));W.allOf=J;break;case"tuple":var Y=f;Y.type="array";var X="draft-2020-12"===this.target?"prefixItems":"items",ee="draft-2020-12"===this.target||"openapi-3.0"===this.target?"items":"additionalItems",te=s.items.map((function(e,t){return o.process(e,j(j({},d),{},{path:[].concat(L(d.path),[X,t])}))})),ne=s.rest?this.process(s.rest,j(j({},d),{},{path:[].concat(L(d.path),[ee],L("openapi-3.0"===this.target?[s.items.length]:[]))})):null;"draft-2020-12"===this.target?(Y.prefixItems=te,ne&&(Y.items=ne)):"openapi-3.0"===this.target?(Y.items={anyOf:te},ne&&Y.items.anyOf.push(ne),Y.minItems=te.length,ne||(Y.maxItems=te.length)):(Y.items=te,ne&&(Y.additionalItems=ne));var re=e._zod.bag,ae=re.minimum,oe=re.maximum;"number"==typeof ae&&(Y.minItems=ae),"number"==typeof oe&&(Y.maxItems=oe);break;case"record":var ie=f;ie.type="object","draft-7"!==this.target&&"draft-2020-12"!==this.target||(ie.propertyNames=this.process(s.keyType,j(j({},d),{},{path:[].concat(L(d.path),["propertyNames"])}))),ie.additionalProperties=this.process(s.valueType,j(j({},d),{},{path:[].concat(L(d.path),["additionalProperties"])}));break;case"map":if("throw"===this.unrepresentable)throw new Error("Map cannot be represented in JSON Schema");break;case"set":if("throw"===this.unrepresentable)throw new Error("Set cannot be represented in JSON Schema");break;case"enum":var se=f,ue=Ie(s.entries);ue.every((function(e){return"number"==typeof e}))&&(se.type="number"),ue.every((function(e){return"string"==typeof e}))&&(se.type="string"),se.enum=ue;break;case"literal":var le,ce=f,de=[],pe=S(s.values);try{for(pe.s();!(le=pe.n()).done;){var fe=le.value;if(void 0===fe){if("throw"===this.unrepresentable)throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof fe){if("throw"===this.unrepresentable)throw new Error("BigInt literals cannot be represented in JSON Schema");de.push(Number(fe))}else de.push(fe)}}catch(e){pe.e(e)}finally{pe.f()}if(0===de.length);else if(1===de.length){var he=de[0];ce.type=null===he?"null":$(he),"draft-4"===this.target||"openapi-3.0"===this.target?ce.enum=[he]:ce.const=he}else de.every((function(e){return"number"==typeof e}))&&(ce.type="number"),de.every((function(e){return"string"==typeof e}))&&(ce.type="string"),de.every((function(e){return"boolean"==typeof e}))&&(ce.type="string"),de.every((function(e){return null===e}))&&(ce.type="null"),ce.enum=de;break;case"file":var me=f,ge={type:"string",format:"binary",contentEncoding:"binary"},ve=e._zod.bag,ye=ve.minimum,be=ve.maximum,De=ve.mime;void 0!==ye&&(ge.minLength=ye),void 0!==be&&(ge.maxLength=be),De?1===De.length?(ge.contentMediaType=De[0],Ob
2ject.assign(me,ge)):me.anyOf=De.map((function(e){return j(j({},ge),{},{contentMediaType:e})})):Object.assign(me,ge);break;case"transform":if("throw"===this.unrepresentable)throw new Error("Transforms cannot be represented in JSON Schema");break;case"nullable":var ke=this.process(s.innerType,d);"openapi-3.0"===this.target?(l.ref=s.innerType,f.nullable=!0):f.anyOf=[ke,{type:"null"}];break;case"nonoptional":case"promise":case"optional":this.process(s.innerType,d),l.ref=s.innerType;break;case"default":this.process(s.innerType,d),l.ref=s.innerType,f.default=JSON.parse(JSON.stringify(s.defaultValue));break;case"prefault":this.process(s.innerType,d),l.ref=s.innerType,"input"===this.io&&(f._prefault=JSON.parse(JSON.stringify(s.defaultValue)));break;case"catch":var we;this.process(s.innerType,d),l.ref=s.innerType;try{we=s.catchValue(void 0)}catch(e){throw new Error("Dynamic catch values are not supported in JSON Schema")}f.default=we;break;case"nan":if("throw"===this.unrepresentable)throw new Error("NaN cannot be represented in JSON Schema");break;case"template_literal":var _e=f,Ee=e._zod.pattern;if(!Ee)throw new Error("Pattern not found in template literal");_e.type="string",_e.pattern=Ee.source;break;case"pipe":var Ce="input"===this.io?"transform"===s.in._zod.def.type?s.out:s.in:s.out;this.process(Ce,d),l.ref=Ce;break;case"readonly":this.process(s.innerType,d),l.ref=s.innerType,f.readOnly=!0;break;case"lazy":var Se=e._zod.innerType;this.process(Se,d),l.ref=Se;break;case"custom":if("throw"===this.unrepresentable)throw new Error("Custom types cannot be represented in JSON Schema");break;case"function":if("throw"===this.unrepresentable)throw new Error("Function types cannot be represented in JSON Schema")}}}var Fe=this.metadataRegistry.get(e);return Fe&&Object.assign(l.schema,Fe),"input"===this.io&&Wr(e)&&(delete l.schema.examples,delete l.schema.default),"input"===this.io&&l.schema._prefault&&(null!==(r=(a=l.schema).default)&&void 0!==r||(a.default=l.schema._prefault)),delete l.schema._prefault,this.seen.get(e).schema}},{key:"emit",value:function(e,t){var n,r,a,o,i,s,u=this,l={cycles:null!==(n=null==t?void 0:t.cycles)&&void 0!==n?n:"ref",reused:null!==(r=null==t?void 0:t.reused)&&void 0!==r?r:"inline",external:null!==(a=null==t?void 0:t.external)&&void 0!==a?a:void 0},c=this.seen.get(e);if(!c)throw new Error("Unprocessed schema. This is a bug in Zod.");var d=function(e){if(!e[1].schema.$ref){var t=e[1],n=function(e){var t,n="draft-2020-12"===u.target?"$defs":"definitions";if(l.external){var r,a,o,i,s=null===(r=l.external.registry.get(e[0]))||void 0===r?void 0:r.id,d=null!==(a=l.external.uri)&&void 0!==a?a:function(e){return e};if(s)return{ref:d(s)};var p=null!==(o=null!==(i=e[1].defId)&&void 0!==i?i:e[1].schema.id)&&void 0!==o?o:"schema".concat(u.counter++);return e[1].defId=p,{defId:p,ref:"".concat(d("__shared"),"#/").concat(n,"/").concat(p)}}if(e[1]===c)return{ref:"#"};var f="".concat("#","/").concat(n,"/"),h=null!==(t=e[1].schema.id)&&void 0!==t?t:"__schema".concat(u.counter++);return{defId:h,ref:f+h}}(e),r=n.ref,a=n.defId;t.def=j({},t.schema),a&&(t.defId=a);var o=t.schema;for(var i in o)delete o[i];o.$ref=r}};if("throw"===l.cycles){var p,f=S(this.seen.entries());try{for(f.s();!(p=f.n()).done;){var h,m=p.value[1];if(m.cycle)throw new Error("Cycle detected: "+"#/".concat(null===(h=m.cycle)||void 0===h?void 0:h.join("/"),"/<root>")+'\n\nSet the `cycles` parameter to `"ref"` to resolve cyclical schemas with defs.')}}catch(e){f.e(e)}finally{f.f()}}var g,v=S(this.seen.entries());try{for(v.s();!(g=v.n()).done;){var y,b=g.value,D=b[1];if(e!==b[0]){if(l.external){var k,w=null===(k=l.external.registry.get(b[0]))||void 0===k?void 0:k.id;if(e!==b[0]&&w){d(b);continue}}((null===(y=this.metadataRegistry.get(b[0]))||void 0===y?void 0:y.id)||D.cycle||D.count>1&&"ref"===l.reused)&&d(b)}else d(b)}}catch(e){v.e(e)}finally{v.f()}var _,E=function(e,t){var n,r,a=u.seen.get(e),o=null!==(n=a.def)&&void 0!==n?n:a.schema,i=j({},o);if(null!==a.ref){var s=a.ref;if(a.ref=null,s){E(s,t);var l,c=u.seen.get(s).schema;!c.$ref||"draft-7"!==t.target&&"draft-4"!==t.target&&"openapi-3.0"!==t.target?(Object.assign(o,c),Object.assign(o,i)):(o.allOf=null!==(l=o.allOf)&&void 0!==l?l:[],o.allOf.push(c))}a.isParent||u.override({zodSchema:e,jsonSchema:o,path:null!==(r=a.path)&&void 0!==r?r:[]})}},C=S(L(this.seen.entries()).reverse());try{for(C.s();!(_=C.n()).done;){var F=_.value;E(F[0],{target:this.target})}}catch(e){C.e(e)}finally{C.f()}var x={};
2if("draft-2020-12"===this.target?x.$schema="https://json-schema.org/draft/2020-12/schema":"draft-7"===this.target?x.$schema="http://json-schema.org/draft-07/schema#":"draft-4"===this.target?x.$schema="http://json-schema.org/draft-04/schema#":"openapi-3.0"===this.target||console.warn("Invalid target: ".concat(this.target)),null!==(o=l.external)&&void 0!==o&&o.uri){var A,I=null===(A=l.external.registry.get(e))||void 0===A?void 0:A.id;if(!I)throw new Error("Schema is missing an `id` property");x.$id=l.external.uri(I)}Object.assign(x,c.def);var T,O=null!==(i=null===(s=l.external)||void 0===s?void 0:s.defs)&&void 0!==i?i:{},P=S(this.seen.entries());try{for(P.s();!(T=P.n()).done;){var N=T.value[1];N.def&&N.defId&&(O[N.defId]=N.def)}}catch(e){P.e(e)}finally{P.f()}l.external||Object.keys(O).length>0&&("draft-2020-12"===this.target?x.$defs=O:x.definitions=O);try{return JSON.parse(JSON.stringify(x))}catch(e){throw new Error("Error converting schema to JSON.")}}}]);function Wr(e,t){var n=null!=t?t:{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);var r=e._zod.def;switch(r.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":case"custom":case"success":case"catch":case"function":return!1;case"array":return Wr(r.element,n);case"object":for(var a in r.shape)if(Wr(r.shape[a],n))return!0;return!1;case"union":var o,i=S(r.options);try{for(i.s();!(o=i.n()).done;)if(Wr(o.value,n))return!0}catch(e){i.e(e)}finally{i.f()}return!1;case"intersection":return Wr(r.left,n)||Wr(r.right,n);case"tuple":var s,u=S(r.items);try{for(u.s();!(s=u.n()).done;)if(Wr(s.value,n))return!0}catch(e){u.e(e)}finally{u.f()}return!(!r.rest||!Wr(r.rest,n));case"record":case"map":return Wr(r.keyType,n)||Wr(r.valueType,n);case"set":return Wr(r.valueType,n);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":case"default":case"prefault":return Wr(r.innerType,n);case"lazy":return Wr(r.getter(),n);case"transform":return!0;case"pipe":return Wr(r.in,n)||Wr(r.out,n)}throw new Error("Unknown schema type: ".concat(r.type))}var Gr=Object.freeze({__proto__:null,endsWith:zr,gt:Ar,gte:Ir,includes:Mr,length:Pr,lowercase:Rr,lt:Fr,lte:xr,maxLength:Or,maxSize:function(e,t){return new Ht(j(j({check:"max_size"},Ge(t)),{},{maximum:e}))},mime:function(e,t){return new sn(j({check:"mime_type",mime:e},Ge(t)))},minLength:jr,minSize:function(e,t){return new Vt(j(j({check:"min_size"},Ge(t)),{},{minimum:e}))},multipleOf:Tr,negative:function(e){return Fr(0,e)},nonnegative:function(e){return Ir(0,e)},nonpositive:function(e){return xr(0,e)},normalize:qr,overwrite:$r,positive:function(e){return Ar(0,e)},property:function(e,t,n){return new on(j({check:"property",property:e,schema:t},Ge(n)))},regex:Nr,size:function(e,t){return new Wt(j(j({check:"size_equals"},Ge(t)),{},{size:e}))},startsWith:Lr,toLowerCase:Zr,toUpperCase:Hr,trim:Ur,uppercase:Br}),Kr=Ce("ZodISODateTime",(function(e,t){Cn.init(e,t),va.init(e,t)}));var Qr=Ce("ZodISODate",(function(e,t){Sn.init(e,t),va.init(e,t)}));var Jr=Ce("ZodISOTime",(function(e,t){Fn.init(e,t),va.init(e,t)}));var Yr=Ce("ZodISODuration",(function(e,t){xn.init(e,t),va.init(e,t)}));var Xr,ea=Ce("ZodError",(function(e,t){at.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:function(t){return function(e,t){var n=t||function(e){return e.message},r={_errors:[]},a=function(e){var t,o=S(e.issues);try{for(o.s();!(t=o.n()).done;){var i=t.value;if("invalid_union"===i.code&&i.errors.length)i.errors.map((function(e){return a({issues:e})}));else if("invalid_key"===i.code)a({issues:i.issues});else if("invalid_element"===i.code)a({issues:i.issues});else if(0===i.path.length)r._errors.push(n(i));else for(var s=r,u=0;u<i.path.length;){var l=i.path[u];u===i.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(n(i))):s[l]=s[l]||{_errors:[]},s=s[l],u++}}}catch(e){o.e(e)}finally{o.f()}};return a(e),r}(e,t)}},flatten:{value:function(t){return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e.message},r={},a=[],o=S(e.issues);try{for(o.s();!(t=o.n()).done;){var i=t.value;i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(n(i))):a.push(n(i))}}catch(e){o.e(e)}finally{o.f()}return{formErrors:a,fieldErrors:r}}(e,t)}},addIssue:{value:function(t){e.issues.push(t),e.message=JSON.stringify(e.issues,Te,2)}},addIssues:{value:function(t){var n;(n=e.issues).push.apply(n,L(t)),e.message=JSON.stringify(e.issues,Te,2)}},isEmpty:{get:function(){return 0===e.issues.length}}})}),{Parent:Error}),ta=it(ea),na=st(ea),ra=ut(ea),aa=ct(ea),oa=(Xr=ea,function(e,t,n){var r=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return it(Xr)(e,t,r)}),ia=function(e){return function(t,n,r){return it(e)(t,n,r)}}(ea),sa=function(e){return t=D(N().m((function t(n,r,a){var o;return N().w((function(t){for(;;)if(0===t.n)return o=a?Object.assign(a,{direction:"backward"}):{direction:"backward"},t.a(2,st(e)(n,r,o))}),t)}))),function(e,n,r){return t.apply(this,arguments)};var t}(ea),ua=function(e){return t=D(N().m((function t(n,r,a){return N().w((function(t){for(;;)if(0===t.n)return t.a(2,st(e)(n,r,a))}),t)}))),function(e,n,r){return t.apply(this,arguments)};var t}(ea),la=function(e){return function(t,n,r){var a=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return ut(e)(t,n,a)}}(ea),ca=function(e){return function(t,n,r){return ut(e)(t,n,r)}}(ea),da=function(e){return t=D(N().m((function t(n,r,a){var o;return N().w((function(t){for(;;)if(0===t.n)return o=a?Object.assign(a,{direction:"backward"}):{direction:"backward"},t.a(2,ct(e)(n,r,o))}),t)}))),function(e,n,r){return t.apply(this,arguments)};var t}(ea),pa=function(e){return t=D(N().m((function t(n,r,a){return N().w((function(t){for(;;)if(0===t.n)return t.a(2,ct(e)(n,r,a))}),t)}))),function(e,n,r){return t.apply(this,arguments)};var t}(ea),fa=Ce("ZodType",(function(e,t){return dn.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=function(){for(var n,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return e.clone(Me(t,{checks:[].concat(L(null!==(n=t.checks)&&void 0!==n?n:[]),L(a.map((function(e){return"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e}))))}))},e.clone=function(t,n){return We(e,t,n)},e.brand=function(){return e},e.register=function(t,n){return t.add(e,n),e},e.parse=function(t,n){return ta(e,t,n,{callee:e.parse})},e.safeParse=function(t,n){return ra(e,t,n)},e.parseAsync=function(){var t=D(N().m((function t(n,r){return N().w((function(t){for(;;)if(0===t.n)return t.a(2,na(e,n,r,{callee:e.parseAsync}))}),t)})));return function(e,n){return t.apply(this,arguments)}}(),e.safeParseAsync=function(){var t=D(N().m((function t(n,r){return N().w((function(t){for(;;)if(0===t.n)return t.a(2,aa(e,n,r))}),t)})));return function(e,n){return t.apply(this,arguments)}}(),e.spa=e.safeParseAsync,e.encode=function(t,n){return oa(e,t,n
2)},e.decode=function(t,n){return ia(e,t,n)},e.encodeAsync=function(){var t=D(N().m((function t(n,r){return N().w((function(t){for(;;)if(0===t.n)return t.a(2,sa(e,n,r))}),t)})));return function(e,n){return t.apply(this,arguments)}}(),e.decodeAsync=function(){var t=D(N().m((function t(n,r){return N().w((function(t){for(;;)if(0===t.n)return t.a(2,ua(e,n,r))}),t)})));return function(e,n){return t.apply(this,arguments)}}(),e.safeEncode=function(t,n){return la(e,t,n)},e.safeDecode=function(t,n){return ca(e,t,n)},e.safeEncodeAsync=function(){var t=D(N().m((function t(n,r){return N().w((function(t){for(;;)if(0===t.n)return t.a(2,da(e,n,r))}),t)})));return function(e,n){return t.apply(this,arguments)}}(),e.safeDecodeAsync=function(){var t=D(N().m((function t(n,r){return N().w((function(t){for(;;)if(0===t.n)return t.a(2,pa(e,n,r))}),t)})));return function(e,n){return t.apply(this,arguments)}}(),e.refine=function(t,n){return e.check(function(e){return function(e,t,n){return new e(j({type:"custom",check:"custom",fn:t},Ge(n)))}(xo,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}(t,n))},e.superRefine=function(t){return e.check(function(e){var t=function(e){var t=new Lt(j({check:"custom"},Ge(void 0)));return t._zod.check=e,t}((function(n){return n.addIssue=function(e){if("string"==typeof e)n.issues.push(nt(e,n.value,t._zod.def));else{var r,a,o,i,s=e;s.fatal&&(s.continue=!1),null!==(r=s.code)&&void 0!==r||(s.code="custom"),null!==(a=s.input)&&void 0!==a||(s.input=n.value),null!==(o=s.inst)&&void 0!==o||(s.inst=t),null!==(i=s.continue)&&void 0!==i||(s.continue=!t._zod.def.abort),n.issues.push(nt(s))}},e(n.value,n)}));return t}(t))},e.overwrite=function(t){return e.check($r(t))},e.optional=function(){return mo(e)},e.nullable=function(){return vo(e)},e.nullish=function(){return mo(vo(e))},e.nonoptional=function(t){return function(e,t){return new Do(j({type:"nonoptional",innerType:e},Ge(t)))}(e,t)},e.array=function(){return Ja(e)},e.or=function(t){return ro([e,t])},e.and=function(t){return new oo({type:"intersection",left:e,right:t})},e.transform=function(t){return _o(e,new fo({type:"transform",transform:t}))},e.default=function(t){return n=t,new yo({type:"default",innerType:e,get defaultValue(){return"function"==typeof n?n():Ze(n)}});var n},e.prefault=function(t){return n=t,new bo({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof n?n():Ze(n)}});var n},e.catch=function(t){return new ko({type:"catch",innerType:e,catchValue:"function"==typeof(n=t)?n:function(){return n}});var n},e.pipe=function(t){return _o(e,t)},e.readonly=function(){return new So({type:"readonly",innerType:e})},e.describe=function(t){var n=e.clone();return Er.add(n,{description:t}),n},Object.defineProperty(e,"description",{get:function(){var t;return null===(t=Er.get(e))||void 0===t?void 0:t.description},configurable:!0}),e.meta=function(){if(0===arguments.length)return Er.get(e);var t=e.clone();return Er.add(t,arguments.length<=0?void 0:arguments[0]),t},e.isOptional=function(){return e.safeParse(void 0).success},e.isNullable=function(){return e.safeParse(null).success},e})),ha=Ce("_ZodString",(function(e,t){var n,r,a;pn.init(e,t),fa.init(e,t);var o=e._zod.bag;e.format=null!==(n=o.format)&&void 0!==n?n:null,e.minLength=null!==(r=o.minimum)&&void 0!==r?r:null,e.maxLength=null!==(a=o.maximum)&&void 0!==a?a:null,e.regex=function(){return e.check(Nr.apply(Gr,arguments))},e.includes=function(){return e.check(Mr.apply(Gr,arguments))},e.startsWith=function(){return e.check(Lr.apply(Gr,arguments))},e.endsWith=function(){return e.check(zr.apply(Gr,arguments))},e.min=function(){return e.check(jr.apply(Gr,arguments))},e.max=function(){return e.check(Or.apply(Gr,arguments))},e.length=function(){return e.check(Pr.apply(Gr,arguments))},e.nonempty=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.check(jr.apply(Gr,[1].concat(n)))},e.lowercase=function(t){return e.check(Rr(t))},e.uppercase=function(t){return e.check(Br(t))},e.trim=function(){return e.check(Ur())},e.normalize=function(){return e.check(qr.apply(Gr,arguments))},e.toLowerCase=function(){return e.check(Zr())},e.toUpperCase=function(){return e.check(Hr())}})),ma=Ce("ZodString",(function(e,t){pn.init(e,t),ha.init(e,t),e.email=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"email",check:"string_format",abort:!1},Ge(t)))}(ya,t))},e.url=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"url",check:"string_format",abort:!1},Ge(t)))}(ka,t))},e.jwt=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"jwt",check:"string_format",abort:!1},Ge(t)))}(Ba,t))},e.emoji=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"emoji",check:"string_format",abort:!1},Ge(t)))}(wa,t))},e.guid=function(t){return e.check(Cr(ba,t))},e.uuid=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"uuid",check:"string_format",abort:!1},Ge(t)))}(Da,t))},e.uuidv4=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4"},Ge(t)))}(Da,t))},e.uuidv6=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6"},Ge(t)))}(Da,t))},e.uuidv7=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7"},Ge(t)))}(Da,t))},e.nanoid=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"nanoid",check:"string_format",abort:!1},Ge(t)))}(_a,t))},e.guid=function(t){return e.check(Cr(ba,t))},e.cuid=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"cuid",check:"string_format",abort:!1},Ge(t)))}(Ea,t))},e.cuid2=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"cuid2",check:"string_format",abort:!1},Ge(t)))}(Ca,t))},e.ulid=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"ulid",check:"string_format",abort:!1},Ge(t)))}(Sa,t))},e.base64=function(t){return e.check(Sr(ja,t))},e.base64url=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"base64url",check:"string_format",abort:!1},Ge(t)))}(Na,t))},e.xid=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"xid",check:"string_format",abort:!1},Ge(t)))}(Fa,t))},e.ksuid=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"ksuid",check:"string_format",abort:!1},Ge(t)))}(xa,t))},e.ipv4=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"ipv4",check:"string_format",abort:!1},Ge(t)))}(Aa,t))},e.ipv6=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"ipv6",check:"string_format",abort:!1},Ge(t)))}(Ia,t))},e.cidrv4=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"cidrv4",check:"string_format",abort:!1},Ge(t)))}(Ta,t))},e.cidrv6=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"cidrv6",check:"string_format",abort:!1},Ge(t)))}(Oa,t))},e.e164=function(t){return e.check(function(e,t){return new e(j({type:"string",format:"e164",check:"string_format",abort:!1},Ge(t)))}(Ra,t))},e.datetime=function(t){return e.check(function(e){return function(e,t){return new e(j({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null},Ge(t)))}(Kr,e)}(t))},e.date=function(t){return e.check(function(e){return function(e,t){return new e(j({type:"string",format:"date",check:"string_format"},Ge(t)))}(Qr,e)}(t))},e.time=function(t){return e.check(function(e){return function(e,t){return new e(j({type:"string",format:"time",check:"string_format",precision:null},Ge(t)))}(Jr,e)}(t))},e.duration=function(t){return e.check(function(e){return function(e,t){return new e(j({type:"string",format:"duration",check:"string_format"},Ge(t)))}(Yr,e)}(t))}}));function ga(e){return function(e,t){return new e(j({type:"string"},Ge(t)))}(ma,e)}var va=Ce("ZodStringFormat",(function(e,t){fn.init(e,t),ha.init(e,t)})),ya=Ce("ZodEmail",(function(e,t){gn.init(e,t),va.init(e,t)})),ba=Ce("ZodGUID",(function(e,t){hn.init(e,t),va.init(e,t)})),Da=Ce("ZodUUID",(function(e,t){mn.init(e,t),va.init(e,t)})),ka=Ce("ZodURL",(function(e,t){vn.init(e,t),va.init(e,t)})),wa=Ce("ZodEmoji",(function(e,t){yn.init(e,t),va.init(e,t)})),_a=Ce("ZodNanoID",(function(e,t){bn.init(e,t),va.init(e,t)})),Ea=Ce("ZodCUID",(function(e,t){Dn.init(e,t),va.init(e,t)})),Ca=Ce("ZodCUID2",(function(e,t){kn.init(e,t),va.init(e,t)}
2)),Sa=Ce("ZodULID",(function(e,t){wn.init(e,t),va.init(e,t)})),Fa=Ce("ZodXID",(function(e,t){_n.init(e,t),va.init(e,t)})),xa=Ce("ZodKSUID",(function(e,t){En.init(e,t),va.init(e,t)})),Aa=Ce("ZodIPv4",(function(e,t){An.init(e,t),va.init(e,t)})),Ia=Ce("ZodIPv6",(function(e,t){In.init(e,t),va.init(e,t)})),Ta=Ce("ZodCIDRv4",(function(e,t){Tn.init(e,t),va.init(e,t)})),Oa=Ce("ZodCIDRv6",(function(e,t){On.init(e,t),va.init(e,t)})),ja=Ce("ZodBase64",(function(e,t){Pn.init(e,t),va.init(e,t)}));function Pa(e){return Sr(ja,e)}var Na=Ce("ZodBase64URL",(function(e,t){Nn.init(e,t),va.init(e,t)})),Ra=Ce("ZodE164",(function(e,t){Rn.init(e,t),va.init(e,t)})),Ba=Ce("ZodJWT",(function(e,t){Bn.init(e,t),va.init(e,t)})),Ma=Ce("ZodNumber",(function(e,t){var n,r,a,o,i,s,u,l,c;Mn.init(e,t),fa.init(e,t),e.gt=function(t,n){return e.check(Ar(t,n))},e.gte=function(t,n){return e.check(Ir(t,n))},e.min=function(t,n){return e.check(Ir(t,n))},e.lt=function(t,n){return e.check(Fr(t,n))},e.lte=function(t,n){return e.check(xr(t,n))},e.max=function(t,n){return e.check(xr(t,n))},e.int=function(t){return e.check($a(t))},e.safe=function(t){return e.check($a(t))},e.positive=function(t){return e.check(Ar(0,t))},e.nonnegative=function(t){return e.check(Ir(0,t))},e.negative=function(t){return e.check(Fr(0,t))},e.nonpositive=function(t){return e.check(xr(0,t))},e.multipleOf=function(t,n){return e.check(Tr(t,n))},e.step=function(t,n){return e.check(Tr(t,n))},e.finite=function(){return e};var d=e._zod.bag;e.minValue=null!==(n=Math.max(null!==(r=d.minimum)&&void 0!==r?r:Number.NEGATIVE_INFINITY,null!==(a=d.exclusiveMinimum)&&void 0!==a?a:Number.NEGATIVE_INFINITY))&&void 0!==n?n:null,e.maxValue=null!==(o=Math.min(null!==(i=d.maximum)&&void 0!==i?i:Number.POSITIVE_INFINITY,null!==(s=d.exclusiveMaximum)&&void 0!==s?s:Number.POSITIVE_INFINITY))&&void 0!==o?o:null,e.isInt=(null!==(u=d.format)&&void 0!==u?u:"").includes("int")||Number.isSafeInteger(null!==(l=d.multipleOf)&&void 0!==l?l:.5),e.isFinite=!0,e.format=null!==(c=d.format)&&void 0!==c?c:null}));function La(e){return function(e,t){return new e(j({type:"number",checks:[]},Ge(t)))}(Ma,e)}var za=Ce("ZodNumberFormat",(function(e,t){Ln.init(e,t),Ma.init(e,t)}));function $a(e){return function(e,t){return new e(j({type:"number",check:"number_format",abort:!1,format:"safeint"},Ge(t)))}(za,e)}var qa=Ce("ZodBoolean",(function(e,t){zn.init(e,t),fa.init(e,t)}));function Ua(e){return function(e,t){return new e(j({type:"boolean"},Ge(t)))}(qa,e)}var Za=Ce("ZodNull",(function(e,t){$n.init(e,t),fa.init(e,t)}));function Ha(e){return function(e,t){return new e(j({type:"null"},Ge(t)))}(Za,e)}var Va=Ce("ZodUnknown",(function(e,t){qn.init(e,t),fa.init(e,t)}));function Wa(){return new Va({type:"unknown"})}var Ga=Ce("ZodNever",(function(e,t){Un.init(e,t),fa.init(e,t)}));function Ka(e){return function(e,t){return new e(j({type:"never"},Ge(t)))}(Ga,e)}var Qa=Ce("ZodArray",(function(e,t){Hn.init(e,t),fa.init(e,t),e.element=t.element,e.min=function(t,n){return e.check(jr(t,n))},e.nonempty=function(t){return e.check(jr(1,t))},e.max=function(t,n){return e.check(Or(t,n))},e.length=function(t,n){return e.check(Pr(t,n))},e.unwrap=function(){return e.element}}));function Ja(e,t){return function(e,t,n){return new e(j({type:"array",element:t},Ge(n)))}(Qa,e,t)}var Ya=Ce("ZodObject",(function(e,t){Qn.init(e,t),fa.init(e,t),Re(e,"shape",(function(){return t.shape})),e.keyof=function(){return lo(Object.keys(e._zod.def.shape))},e.catchall=function(t){return e.clone(j(j({},e._zod.def),{},{catchall:t}))},e.passthrough=function(){return e.clone(j(j({},e._zod.def),{},{catchall:Wa()}))},e.loose=function(){return e.clone(j(j({},e._zod.def),{},{catchall:Wa()}))},e.strict=function(){return e.clone(j(j({},e._zod.def),{},{catchall:Ka()}))},e.strip=function(){return e.clone(j(j({},e._zod.def),{},{catchall:void 0}))},e.extend=function(t){return function(e,t){if(!Ue(t))throw new Error("Invalid input to extend: expected a plain object");var n=e._zod.def.checks;if(n&&n.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");var r=Me(e._zod.def,{get shape(){var n=j(j({},e._zod.def.shape),t);return Be(this,"shape",n),n},checks:[]});return We(e,r)}(e,t)},e.safeExtend=function(t){return function(e,t){if(!Ue(t))throw new Error("Invalid input to safeExtend: expected a plain object");var n=j(j({},e._zod.def),{},{get shape(){var n=j(j({},e._zod.def.shape),t);return Be(this,"shape",n),n},checks:e._zod.def.checks});return We(e,n)}(e,t)},e.merge=function(t){return function(e,t){var n=Me(e._zod.def,{get shape(){var n=j(j({},e._zod.def.shape),t._zod.def.shape);return Be(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return We(e,n)}(e,t)},e.pick=function(t){return function(e,t){var n=e._zod.def;return We(e,Me(e._zod.def,{get shape(){var e={};for(var r in t){if(!(r in n.shape))throw new Error('Unrecognized key: "'.concat(r,'"'));t[r]&&(e[r]=n.shape[r])}return Be(this,"shape",e),e},checks:[]}))}(e,t)},e.omit=function(t){return function(e,t){var n=e._zod.def,r=Me(e._zod.def,{get shape(){var r=j({},e._zod.def.shape);for(var a in t){if(!(a in n.shape))throw new Error('Unrecognized key: "'.concat(a,'"'));t[a]&&delete r[a]}return Be(this,"shape",r),r},checks:[]});return We(e,r)}(e,t)},e.partial=function(){return function(e,t,n){var r=Me(t._zod.def,{get shape(){var r=t._zod.def.shape,a=j({},r);if(n)for(var o in n){if(!(o in r))throw new Error('Unrecognized key: "'.concat(o,'"'));n[o]&&(a[o]=new e({type:"optional",innerType:r[o]}))}else for(var i in r)a[i]=new e({type:"optional",innerType:r[i]});return Be(this,"shape",a),a},checks:[]});return We(t,r)}(ho,e,arguments.length<=0?void 0:arguments[0])},e.required=function(){return function(e,t,n){var r=Me(t._zod.def,{get shape(){var r=t._zod.def.shape,a=j({},r);if(n)for(var o in n){if(!(o in a))throw new Error('Unrecognized key: "'.concat(o,'"'));n[o]&&(a[o]=new e({type:"nonoptional",innerType:r[o]}))}else for(var i in r)a[i]=new e({type:"nonoptional",innerType:r[i]});return Be(this,"shape",a),a},checks:[]});return We(t,r)}(Do,e,arguments.length<=0?void 0:arguments[0])}}));function Xa(e,t){var n=j({type:"object",shape:null!=e?e:{}},Ge(t));return new Ya(n)}function eo(e,t){return new Ya(j({type:"object",shape:e,catchall:Ka()},Ge(t)))}function to(e,t){return new Ya(j({type:"object",shape:e,catchall:Wa()},Ge(t)))}var no=Ce("ZodUnion",(function(e,t){Yn.init(e,t),fa.init(e,t),e.options=t.options}));function ro(e,t){return new no(j({type:"union",options:e},Ge(t)))}var ao=Ce("ZodDiscriminatedUnion",(function(e,t){no.init(e,t),Xn.init(e,t)})),oo=Ce("ZodIntersection",(function(e,t){er.init(e,t),fa.init(e,t)})),io=Ce("ZodRecord",(function(e,t){rr.init(e,t),fa.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType}));function so(e,t,n){return new io(j({type:"record",keyType:e,valueType:t},Ge(n)))}var uo=Ce("ZodEnum",(function(e,t){ar.init(e,t),fa.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);var n=new Set(Object.keys(t.entries));e.extract=function(e,r){var a,o={},i=S(e);try{for(i.s();!(a=i.n()).done;){var s=a.value;
2if(!n.has(s))throw new Error("Key ".concat(s," not found in enum"));o[s]=t.entries[s]}}catch(e){i.e(e)}finally{i.f()}return new uo(j(j(j({},t),{},{checks:[]},Ge(r)),{},{entries:o}))},e.exclude=function(e,r){var a,o=j({},t.entries),i=S(e);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(!n.has(s))throw new Error("Key ".concat(s," not found in enum"));delete o[s]}}catch(e){i.e(e)}finally{i.f()}return new uo(j(j(j({},t),{},{checks:[]},Ge(r)),{},{entries:o}))}}));function lo(e,t){var n=Array.isArray(e)?Object.fromEntries(e.map((function(e){return[e,e]}))):e;return new uo(j({type:"enum",entries:n},Ge(t)))}var co=Ce("ZodLiteral",(function(e,t){or.init(e,t),fa.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get:function(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})}));function po(e,t){return new co(j({type:"literal",values:Array.isArray(e)?e:[e]},Ge(t)))}var fo=Ce("ZodTransform",(function(e,t){ir.init(e,t),fa.init(e,t),e._zod.parse=function(n,r){if("backward"===r.direction)throw new Fe(e.constructor.name);n.addIssue=function(r){if("string"==typeof r)n.issues.push(nt(r,n.value,t));else{var a,o,i,s=r;s.fatal&&(s.continue=!1),null!==(a=s.code)&&void 0!==a||(s.code="custom"),null!==(o=s.input)&&void 0!==o||(s.input=n.value),null!==(i=s.inst)&&void 0!==i||(s.inst=e),n.issues.push(nt(s))}};var a=t.transform(n.value,n);return a instanceof Promise?a.then((function(e){return n.value=e,n})):(n.value=a,n)}})),ho=Ce("ZodOptional",(function(e,t){ur.init(e,t),fa.init(e,t),e.unwrap=function(){return e._zod.def.innerType}}));function mo(e){return new ho({type:"optional",innerType:e})}var go=Ce("ZodNullable",(function(e,t){lr.init(e,t),fa.init(e,t),e.unwrap=function(){return e._zod.def.innerType}}));function vo(e){return new go({type:"nullable",innerType:e})}var yo=Ce("ZodDefault",(function(e,t){cr.init(e,t),fa.init(e,t),e.unwrap=function(){return e._zod.def.innerType},e.removeDefault=e.unwrap})),bo=Ce("ZodPrefault",(function(e,t){pr.init(e,t),fa.init(e,t),e.unwrap=function(){return e._zod.def.innerType}})),Do=Ce("ZodNonOptional",(function(e,t){fr.init(e,t),fa.init(e,t),e.unwrap=function(){return e._zod.def.innerType}})),ko=Ce("ZodCatch",(function(e,t){mr.init(e,t),fa.init(e,t),e.unwrap=function(){return e._zod.def.innerType},e.removeCatch=e.unwrap})),wo=Ce("ZodPipe",(function(e,t){gr.init(e,t),fa.init(e,t),e.in=t.in,e.out=t.out}));function _o(e,t){return new wo({type:"pipe",in:e,out:t})}var Eo,Co,So=Ce("ZodReadonly",(function(e,t){yr.init(e,t),fa.init(e,t),e.unwrap=function(){return e._zod.def.innerType}})),Fo=Ce("ZodLazy",(function(e,t){Dr.init(e,t),fa.init(e,t),e.unwrap=function(){return e._zod.def.getter()}})),xo=Ce("ZodCustom",(function(e,t){kr.init(e,t),fa.init(e,t)}));function Ao(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{error:"Input not instance of ".concat(e.name)},n=new xo(j({type:"custom",check:"custom",fn:function(t){return t instanceof e},abort:!0},Ge(t)));return n._zod.bag.Class=e,n}!function(e){e.assertEqual=function(e){},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=function(e){var t,n={},r=S(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;n[a]=a}}catch(e){r.e(e)}finally{r.f()}return n},e.getValidEnumValues=function(t){var n,r={},a=S(e.objectKeys(t).filter((function(e){return"number"!=typeof t[t[e]]})));try{for(a.s();!(n=a.n()).done;){var o=n.value;r[o]=t[o]}}catch(e){a.e(e)}finally{a.f()}return e.objectValues(r)},e.objectValues=function(t){return e.objectKeys(t).map((function(e){return t[e]}))},e.objectKeys="function"==typeof Object.keys?function(e){return Object.keys(e)}:function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=function(e,t){var n,r=S(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(t(a))return a}}catch(e){r.e(e)}finally{r.f()}},e.isInteger="function"==typeof Number.isInteger?function(e){return Number.isInteger(e)}:function(e){return"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e},e.joinValues=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" | ";return e.map((function(e){return"string"==typeof e?"'".concat(e,"'"):e})).join(t)},e.jsonStringifyReplacer=function(e,t){return"bigint"==typeof t?t.toString():t}}(Eo||(Eo={})),function(e){e.mergeShapes=function(e,t){return j(j({},e),t)}}(Co||(Co={}));var Io=Eo.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),To=function(e){switch($(e)){case"undefined":return Io.undefined;case"string":return Io.string;case"number":return Number.isNaN(e)?Io.nan:Io.number;case"boolean":return Io.boolean;case"function":return Io.function;case"bigint":return Io.bigint;case"symbol":return Io.symbol;case"object":return Array.isArray(e)?Io.array:null===e?Io.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?Io.promise:"undefined"!=typeof Map&&e instanceof Map?Io.map:"undefined"!=typeof Set&&e instanceof Set?Io.set:"undefined"!=typeof Date&&e instanceof Date?Io.date:Io.object;default:return Io.unknown}}
2,Oo=Eo.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),jo=function(){function e(t){var n;w(this,e),(n=k(this,e)).issues=[],n.addIssue=function(e){n.issues=[].concat(L(n.issues),[e])},n.addIssues=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.issues=[].concat(L(n.issues),L(e))};var r=(this instanceof e?this.constructor:void 0).prototype;return Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r,n.name="ZodError",n.issues=t,n}return I(e,U(Error)),C(e,[{key:"errors",get:function(){return this.issues}},{key:"format",value:function(e){var t=e||function(e){return e.message},n={_errors:[]},r=function(e){var a,o=S(e.issues);try{for(o.s();!(a=o.n()).done;){var i=a.value;if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else for(var s=n,u=0;u<i.path.length;){var l=i.path[u];u===i.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(t(i))):s[l]=s[l]||{_errors:[]},s=s[l],u++}}}catch(e){o.e(e)}finally{o.f()}};return r(this),n}},{key:"toString",value:function(){return this.message}},{key:"message",get:function(){return JSON.stringify(this.issues,Eo.jsonStringifyReplacer,2)}},{key:"isEmpty",get:function(){return 0===this.issues.length}},{key:"flatten",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e.message},n={},r=[],a=S(this.issues);try{for(a.s();!(e=a.n()).done;){var o=e.value;if(o.path.length>0){var i=o.path[0];n[i]=n[i]||[],n[i].push(t(o))}else r.push(t(o))}}catch(e){a.e(e)}finally{a.f()}return{formErrors:r,fieldErrors:n}}},{key:"formErrors",get:function(){return this.flatten()}}],[{key:"assert",value:function(t){if(!(t instanceof e))throw new Error("Not a ZodError: ".concat(t))}}])}();jo.create=function(e){return new jo(e)};var Po=function(e,t){var n;switch(e.code){case Oo.invalid_type:n=e.received===Io.undefined?"Required":"Expected ".concat(e.expected,", received ").concat(e.received);break;case Oo.invalid_literal:n="Invalid literal value, expected ".concat(JSON.stringify(e.expected,Eo.jsonStringifyReplacer));break;case Oo.unrecognized_keys:n="Unrecognized key(s) in object: ".concat(Eo.joinValues(e.keys,", "));break;case Oo.invalid_union:n="Invalid input";break;case Oo.invalid_union_discriminator:n="Invalid discriminator value. Expected ".concat(Eo.joinValues(e.options));break;case Oo.invalid_enum_value:n="Invalid enum value. Expected ".concat(Eo.joinValues(e.options),", received '").concat(e.received,"'");break;case Oo.invalid_arguments:n="Invalid function arguments";break;case Oo.invalid_return_type:n="Invalid function return type";break;case Oo.invalid_date:n="Invalid date";break;case Oo.invalid_string:"object"===$(e.validation)?"includes"in e.validation?(n='Invalid input: must include "'.concat(e.validation.includes,'"'),"number"==typeof e.validation.position&&(n="".concat(n," at one or more positions greater than or equal to ").concat(e.validation.position))):"startsWith"in e.validation?n='Invalid input: must start with "'.concat(e.validation.startsWith,'"'):"endsWith"in e.validation?n='Invalid input: must end with "'.concat(e.validation.endsWith,'"'):Eo.assertNever(e.validation):n="regex"!==e.validation?"Invalid ".concat(e.validation):"Invalid";break;case Oo.too_small:n="array"===e.type?"Array must contain ".concat(e.exact?"exactly":e.inclusive?"at least":"more than"," ").concat(e.minimum," element(s)"):"string"===e.type?"String must contain ".concat(e.exact?"exactly":e.inclusive?"at least":"over"," ").concat(e.minimum," character(s)"):"number"===e.type||"bigint"===e.type?"Number must be ".concat(e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than ").concat(e.minimum):"date"===e.type?"Date must be ".concat(e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than ").concat(new Date(Number(e.minimum))):"Invalid input";break;case Oo.too_big:n="array"===e.type?"Array must contain ".concat(e.exact?"exactly":e.inclusive?"at most":"less than"," ").concat(e.maximum," element
2(s)"):"string"===e.type?"String must contain ".concat(e.exact?"exactly":e.inclusive?"at most":"under"," ").concat(e.maximum," character(s)"):"number"===e.type?"Number must be ".concat(e.exact?"exactly":e.inclusive?"less than or equal to":"less than"," ").concat(e.maximum):"bigint"===e.type?"BigInt must be ".concat(e.exact?"exactly":e.inclusive?"less than or equal to":"less than"," ").concat(e.maximum):"date"===e.type?"Date must be ".concat(e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"," ").concat(new Date(Number(e.maximum))):"Invalid input";break;case Oo.custom:n="Invalid input";break;case Oo.invalid_intersection_types:n="Intersection results could not be merged";break;case Oo.not_multiple_of:n="Number must be a multiple of ".concat(e.multipleOf);break;case Oo.not_finite:n="Number must be finite";break;default:n=t.defaultError,Eo.assertNever(e)}return{message:n}},No=Po;function Ro(){return No}var Bo=function(e){var t=e.data,n=e.path,r=e.errorMaps,a=e.issueData,o=[].concat(L(n),L(a.path||[])),i=j(j({},a),{},{path:o});if(void 0!==a.message)return j(j({},a),{},{path:o,message:a.message});var s,u="",l=r.filter((function(e){return!!e})).slice().reverse(),c=S(l);try{for(c.s();!(s=c.n()).done;)u=(0,s.value)(i,{data:t,defaultError:u}).message}catch(e){c.e(e)}finally{c.f()}return j(j({},a),{},{path:o,message:u})};function Mo(e,t){var n=Ro(),r=Bo({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Po?void 0:Po].filter((function(e){return!!e}))});e.common.issues.push(r)}var Lo,zo=function(){function e(){w(this,e),this.value="valid"}return C(e,[{key:"dirty",value:function(){"valid"===this.value&&(this.value="dirty")}},{key:"abort",value:function(){"aborted"!==this.value&&(this.value="aborted")}}],[{key:"mergeArray",value:function(e,t){var n,r=[],a=S(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;if("aborted"===o.status)return $o;"dirty"===o.status&&e.dirty(),r.push(o.value)}}catch(e){a.e(e)}finally{a.f()}return{status:e.value,value:r}}},{key:"mergeObjectAsync",value:(t=D(N().m((function t(n,r){var a,o,i,s,u,l,c;return N().w((function(t){for(;;)switch(t.p=t.n){case 0:a=[],o=S(r),t.p=1,o.s();case 2:if((i=o.n()).done){t.n=6;break}return s=i.value,t.n=3,s.key;case 3:return u=t.v,t.n=4,s.value;case 4:l=t.v,a.push({key:u,value:l});case 5:t.n=2;break;case 6:t.n=8;break;case 7:t.p=7,c=t.v,o.e(c);case 8:return t.p=8,o.f(),t.f(8);case 9:return t.a(2,e.mergeObjectSync(n,a))}}),t,null,[[1,7,8,9]])}))),function(e,n){return t.apply(this,arguments)})},{key:"mergeObjectSync",value:function(e,t){var n,r={},a=S(t);try{for(a.s();!(n=a.n()).done;){var o=n.value,i=o.key,s=o.value;if("aborted"===i.status)return $o;if("aborted"===s.status)return $o;"dirty"===i.status&&e.dirty(),"dirty"===s.status&&e.dirty(),"__proto__"===i.value||void 0===s.value&&!o.alwaysSet||(r[i.value]=s.value)}}catch(e){a.e(e)}finally{a.f()}return{status:e.value,value:r}}}]);var t}(),$o=Object.freeze({status:"aborted"}),qo=function(e){return{status:"dirty",value:e}},Uo=function(e){return{status:"valid",value:e}},Zo=function(e){return"aborted"===e.status},Ho=function(e){return"dirty"===e.status},Vo=function(e){return"valid"===e.status},Wo=function(e){return"undefined"!=typeof Promise&&e instanceof Promise};!function(e){e.errToObj=function(e){return"string"==typeof e?{message:e}:e||{}},e.toString=function(e){return"string"==typeof e?e:null==e?void 0:e.message}}(Lo||(Lo={}));
2var Go=C((function e(t,n,r,a){w(this,e),this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}),[{key:"path",get:function(){var e,t;return this._cachedPath.length||(Array.isArray(this._key)?(e=this._cachedPath).push.apply(e,L(this._path).concat(L(this._key))):(t=this._cachedPath).push.apply(t,L(this._path).concat([this._key]))),this._cachedPath}}]),Ko=function(e,t){if(Vo(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;var t=new jo(e.common.issues);return this._error=t,this._error}}};function Qo(e){if(!e)return{};var t=e.errorMap,n=e.invalid_type_error,r=e.required_error,a=e.description;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:a}:{errorMap:function(t,a){var o,i,s=e.message;return"invalid_enum_value"===t.code?{message:null!=s?s:a.defaultError}:void 0===a.data?{message:null!==(i=null!=s?s:r)&&void 0!==i?i:a.defaultError}:"invalid_type"!==t.code?{message:a.defaultError}:{message:null!==(o=null!=s?s:n)&&void 0!==o?o:a.defaultError}},description:a}}var Jo,Yo=function(){return C((function e(t){var n=this;w(this,e),this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:function(e){return n["~validate"](e)}}}),[{key:"description",get:function(){return this._def.description}},{key:"_getType",value:function(e){return To(e.data)}},{key:"_getOrReturnCtx",value:function(e,t){return t||{common:e.parent.common,data:e.data,parsedType:To(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}},{key:"_processInputParams",value:function(e){return{status:new zo,ctx:{common:e.parent.common,data:e.data,parsedType:To(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}},{key:"_parseSync",value:function(e){var t=this._parse(e);if(Wo(t))throw new Error("Synchronous parse encountered promise.");return t}},{key:"_parseAsync",value:function(e){var t=this._parse(e);return Promise.resolve(t)}},{key:"parse",value:function(e,t){var n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}},{key:"safeParse",value:function(e,t){var n,r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:To(e)},a=this._parseSync({data:e,path:r.path,parent:r});return Ko(r,a)}},{key:"~validate",value:function(e){var t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:To(e)};if(!this["~standard"].async)try{var n=this._parseSync({data:e,path:[],parent:t});return Vo(n)?{value:n.value}:{issues:t.common.issues}}catch(e){var r;null!=e&&null!==(r=e.message)&&void 0!==r&&null!==(r=r.toLowerCase())&&void 0!==r&&r.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then((function(e){return Vo(e)?{value:e.value}:{issues:t.common.issues}}))}},{key:"parseAsync",value:(e=D(N().m((function e(t,n){var r;return N().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,this.safeParseAsync(t,n);case 1:if(!(r=e.v).success){e.n=2;break}return e.a(2,r.data);case 2:throw r.error;case 3:return e.a(2)}}),e,this)}))),function(t,n){return e.apply(this,arguments)})},{key:"safeParseAsync",value:function(){var e=D(N().m((function e(t,n){var r,a,o;return N().w((function(e){for(;;)switch(e.n){case 0:return r={common:{issues:[],contextualErrorMap:null==n?void 0:n.errorMap,async:!0},path:(null==n?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:To(t)},a=this._parse({data:t,path:r.path,parent:r}),e.n=1,Wo(a)?a:Promise.resolve(a);
2case 1:return o=e.v,e.a(2,Ko(r,o))}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"refine",value:function(e,t){return this._refinement((function(n,r){var a=e(n),o=function(){return r.addIssue(j({code:Oo.custom},function(e){return"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t}(n)))};return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return!!e||(o(),!1)})):!!a||(o(),!1)}))}},{key:"refinement",value:function(e,t){return this._refinement((function(n,r){return!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1)}))}},{key:"_refinement",value:function(e){return new Xi({schema:this,typeName:os.ZodEffects,effect:{type:"refinement",refinement:e}})}},{key:"superRefine",value:function(e){return this._refinement(e)}},{key:"optional",value:function(){return es.create(this,this._def)}},{key:"nullable",value:function(){return ts.create(this,this._def)}},{key:"nullish",value:function(){return this.nullable().optional()}},{key:"array",value:function(){return Pi.create(this)}},{key:"promise",value:function(){return Yi.create(this,this._def)}},{key:"or",value:function(e){return Bi.create([this,e],this._def)}},{key:"and",value:function(e){return $i.create(this,e,this._def)}},{key:"transform",value:function(e){return new Xi(j(j({},Qo(this._def)),{},{schema:this,typeName:os.ZodEffects,effect:{type:"transform",transform:e}}))}},{key:"default",value:function(e){var t="function"==typeof e?e:function(){return e};return new ns(j(j({},Qo(this._def)),{},{innerType:this,defaultValue:t,typeName:os.ZodDefault}))}},{key:"brand",value:function(){return new is(j({typeName:os.ZodBranded,type:this},Qo(this._def)))}},{key:"catch",value:function(e){var t="function"==typeof e?e:function(){return e};return new rs(j(j({},Qo(this._def)),{},{innerType:this,catchValue:t,typeName:os.ZodCatch}))}},{key:"describe",value:function(e){return new(0,this.constructor)(j(j({},this._def),{},{description:e}))}},{key:"pipe",value:function(e){return ss.create(this,e)}},{key:"readonly",value:function(){return us.create(this)}},{key:"isOptional",value:function(){return this.safeParse(void 0).success}},{key:"isNullable",value:function(){return this.safeParse(null).success}}]);var e}(),Xo=/^c[^\s-]{8,}$/i,ei=/^[0-9a-z]+$/,ti=/^[0-9A-HJKMNP-TV-Z]{26}$/i,ni=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,ri=/^[a-z0-9_-]{21}$/i,ai=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,oi=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,ii=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,si=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ui=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,li=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,ci=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,di=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,pi=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,fi="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",hi=new RegExp("^".concat(fi,"$"));function mi(e){var t="[0-5]\\d";e.precision?t="".concat(t,"\\.\\d{").concat(e.precision,"}"):null==e.precision&&(t="".concat(t,"(\\.\\d+)?"));var n=e.precision?"+":"?";return"([01]\\d|2[0-3]):[0-5]\\d(:".concat(t,")").concat(n)}function gi(e){return new RegExp("^".concat(mi(e),"$"))}function vi(e){var t="".concat(fi,"T").concat(mi(e)),n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t="".concat(t,"(").concat(n.join("|"),")"),new RegExp("^".concat(t,"$"))}function yi(e,t){return!("v4"!==t&&t||!si.test(e))||!("v6"!==t&&t||!li.test(e))}function bi(e,t){if(!ai.test(e))return!1;try{var n=M(e.split("."),1)[0];if(!n)return!1;var r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!("object"!==$(a)||null===a||"typ"in a&&"JWT"!==(null==a?void 0:a.typ)||!a.alg||t&&a.alg!==t)}catch(e){return!1}}function Di(e,t){return!("v4"!==t&&t||!ui.test(e))||!("v6"!==t&&t||!ci.test(e))}var ki=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Io.string){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.string,received:t.parsedType}),$o}var n,r=new zo,a=void 0,o=S(this._def.checks);try{for(o.s();!(n=o.n()).done;){var i=n.value;if("min"===i.kind)e.data.length<i.value&&(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if("max"===i.kind)e.data.length>i.value&&(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if("length"===i.kind){var s=e.data.length>i.value,u=e.data.length<i.value;(s||u)&&(a=this._getOrReturnCtx(e,a),s?Mo(a,{code:Oo.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):u&&Mo(a,{code:Oo.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if("email"===i.kind)ii.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"email",code:Oo.invalid_string,message:i.message}),r.dirty());else if("emoji"===i.kind)Jo||(Jo=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Jo.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"emoji",code:Oo.invalid_string,message:i.message}),r.dirty());else if("uuid"===i.kind)ni.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"uuid",code:Oo.invalid_string,message:i.message}),r.dirty());else if("nanoid"===i.kind)ri.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"nanoid",code:Oo.invalid_string,message:i.message}),r.dirty());else if("cuid"===i.kind)Xo.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"cuid",code:Oo.invalid_string,message:i.message}),r.dirty());else if("cuid2"===i.kind)ei.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"cuid2",code:Oo.invalid_string,message:i.message}),r.dirty());else if("ulid"===i.kind)ti.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"ulid",code:Oo.invalid_string,message:i.message}),r.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(t){Mo(a=this._getOrReturnCtx(e,a),{validation:"url",code:Oo.invalid_string,message:i.message}),r.dirty()}else"regex"===i.kind?(i.regex.lastIndex=0,i.regex.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"regex",code:Oo.invalid_string,message:i.message}),r.dirty())):"trim"===i.kind?e.data=e.data.trim():"includes"===i.kind?e.data.includes(i.value,i.position)||(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):"toLowerCase"===i.kind?e.data=e.data.toLowerCase():"toUpperCase"===i.kind?e.data=e.data.toUpperCase():"startsWith"===i.kind?e.data.startsWith(i.value)||(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):"endsWith"===i.kind?e.data.endsWith(i.value)||(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):"datetime"===i.kind?vi(i).test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.invalid_string,validation:"datetime",message:i.message}),r.dirty()):"date"===i.kind?hi.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.invalid_string,validation:"date",message:i.message}),r.dirty()):"time"===i.kind?gi(i).test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.invalid_string,validation:"time",message:i.message}),r.dirty()):"duration"===i.kind?oi.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"duration",code:Oo.invalid_string,message:i.message}),r.dirty()):"ip"===i.kind?yi(e.data,i.version)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"ip",code:Oo.invalid_string,message:i.message}),r.dirty()):"jwt"===i.kind?bi(e.data,i.alg)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"jwt",code:Oo.invalid_string,message:i.message}),r.dirty()):"cidr"===i.kind?Di(e.data,i.version)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"cidr",code:Oo.invalid_string,message:i.message}),r.dirty()):"base64"===i.kind?di.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"base64",code:Oo.invalid_string,message:i.message}),r.dirty()):"base64url"===i.kind?pi.test(e.data)||(Mo(a=this._getOrReturnCtx(e,a),{validation:"base64url",code:Oo.invalid_string,message:i.message}),r.dirty()):Eo.assertNever(i)}}catch(e){o.e(e)}finally{o.f()}return{status:r.value,value:e.data}}},{key:"_regex",value:function(e,t,n){return this.refinement((function(t){return e.test(t)}),j({validation:t,code:Oo.invalid_string},Lo.errToObj(n)))}},{key:"_addCheck",value:function(t){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[t])}))}},{key:"email",value:function(e){return this._addCheck(j({kind:"email"},Lo.errToObj(e)))}},{key:"url",value:function(e){return this._addCheck(j({kind:"url"},Lo.errToObj(e)))}},{key:"emoji",value:function(e){return this._addCheck(j({kind:"emoji"},Lo.errToObj(e)))}},{key:"uuid",value:function(e){return this._addCheck(j({kind:"uuid"},Lo.errToObj(e)))}},{key:"nanoid",value:function(e){return this._addCheck(j({kind:"nanoid"},Lo.errToObj(e)))}},{key:"cuid",value:function(e){return this._addCheck(j({kind:"cuid"},Lo.errToObj(e)))}},{key:"cuid2",value:function(e){return this._addCheck(j({kind:"cuid2"},Lo.errToObj(e)))}},{key:"ulid",value:function(e){return this._addCheck(j({kind:"ulid"},Lo.errToObj(e)))}},{key:"base64",value:function(e){return this._addCheck(j({kind:"base64"},Lo.errToObj(e)))}},{key:"base64url",value:function(e){return this._addCheck(j({kind:"base64url"},Lo.errToObj(e)))}},{key:"jwt",value:function(e){return this._addCheck(j({kind:"jwt"},Lo.errToObj(e)))}},{key:"ip",value:function(e){return this._addCheck(j({kind:"ip"},Lo.errToObj(e)))}},{key:"cidr",value:function(e){return this._addCheck(j({kind:"cidr"},Lo.errToObj(e)))}},{key:"datetime",value:function(e){var t,n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck(j({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(n=null==e?void 0:e.local)&&void 0!==n&&n},Lo.errToObj(null==e?void 0:e.message)))}},{key:"date",value:function(e){return this._addCheck({kind:"date",message:e})}},{key:"time",value:function(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck(j({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision},Lo.errToObj(null==e?void 0:e.message)))}},{key:"duration",value:function(e){return this._addCheck(j({kind:"duration"},Lo.errToObj(e)))}},{key:"regex",value:function(e,t){return this._addCheck(j({kind:"regex",regex:e},Lo.errToObj(t)))}},{key:"includes",value:function(e,t){return this._addCheck(j({kind:"includes",value:e,position:null==t?void 0:t.position},Lo.errToObj(null==t?void 0:t.message)))}},{key:"startsWith",value:function(e,t){return this._addCheck(j({kind:"startsWith",value:e},Lo.errToObj(t)))}},{key:"endsWith",value:function(e,t){return this._addCheck(j({kind:"endsWith",value:e},Lo.errToObj(t)))}},{key:"min",value:function(e,t){return this._addCheck(j({kind:"min",value:e},Lo.errToObj(t)))}},{key:"max",value:function(e,t){return this._addCheck(j({kind:"max",value:e},Lo.errToObj(t)))}},{key:"length",value:function(e,t){return this._addCheck(j({kind:"length",value:e},Lo.errToObj(t)))}},{key:"nonempty",value:function(e){return this.min(1,Lo.errToObj(e))}},{key:"trim",value:function(){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[{kind:"trim"}])}))}},{key:"toLowerCase",value:function(){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[{kind:"toLowerCase"}])}))}},{key:"toUpperCase",value:function(){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[{kind:"toUpperCase"}])}))}},{key:"isDatetime",get:function(){return!!this._def.checks.find((function(e){return"datetime"===e.kind}))}},{key:"isDate",get:function(){return!!this._def.checks.find((function(e){return"date"===e.kind}))}},{key:"isTime",get:function(){return!!this._def.checks.find((function(e){return"time"===e.kind}))}},{key:"isDuration",get:function(){return!!this._def.checks.find((function(e){return"duration"===e.kind}))}},{key:"isEmail",get:function(){return!!this._def.checks.find((function(e){return"email"===e.kind}))}},{key:"isURL",get:function(){return!!this._def.checks.find((function(e){return"url"===e.kind}))}},{key:"isEmoji",get:function(){return!!this._def.checks.find((function(e){return"emoji"===e.kind}))}},{key:"isUUID",get:function(){return!!this._def.checks.find((function(e){return"uuid"===e.kind}))}},{key:"isNANOID",get:function(){return!!this._def.checks.find((function(e){return"nanoid"===e.kind}))}},{key:"isCUID",get:function(){return!!this._def.checks.find((function(e){return"cuid"===e.kind}))}},{key:"isCUID2",get:function(){return!!this._def.checks.find((function(e){return"cuid2"===e.kind}))}},{key:"isULID",get:function(){return!!this._def.checks.find((function(e){return"ulid"===e.kind}))}},{key:"isIP",get:function(){return!!this._def.checks.find((function(e){return"ip"===e.kind}))}},{key:"isCIDR",get:function(){return!!this._def.checks.find((function(e){return"cidr"===e.kind}))}},{key:"isBase64",get:function(){return!!this._def.checks.find((function(e){return"base64"===e.kind}))}},{key:"isBase64url",get:function(){return!!this._def.checks.find((function(e){return"base64url"===e.kind}))}},{key:"minLength",get:function(){var e,t=null,n=S(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"min"===r.kind&&(null===t||r.value>t)&&(t=r.value)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"maxLength",get:function(){var e,t=null,n=S(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"max"===r.kind&&(null===t||r.value<t)&&(t=r.value)}}catch(e){n.e(e)}finally{n.f()}return t}}])}();function wi(e,t){var n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r;return Number.parseInt(e.toFixed(a).replace(".",""))%Number.parseInt(t.toFixed(a).replace(".",""))/Math.pow(10,a)}ki.create=function(e){var t;return new ki(j({checks:[],typeName:os.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t},Qo(e)))};var _i=function(){function e(){var t;return w(this,e),(t=k(this,e,arguments)).min=t.gte,t.max=t.
2lte,t.step=t.multipleOf,t}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Io.number){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.number,received:t.parsedType}),$o}var n,r=void 0,a=new zo,o=S(this._def.checks);try{for(o.s();!(n=o.n()).done;){var i=n.value;"int"===i.kind?Eo.isInteger(e.data)||(Mo(r=this._getOrReturnCtx(e,r),{code:Oo.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):"min"===i.kind?(i.inclusive?e.data<i.value:e.data<=i.value)&&(Mo(r=this._getOrReturnCtx(e,r),{code:Oo.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):"max"===i.kind?(i.inclusive?e.data>i.value:e.data>=i.value)&&(Mo(r=this._getOrReturnCtx(e,r),{code:Oo.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):"multipleOf"===i.kind?0!==wi(e.data,i.value)&&(Mo(r=this._getOrReturnCtx(e,r),{code:Oo.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):"finite"===i.kind?Number.isFinite(e.data)||(Mo(r=this._getOrReturnCtx(e,r),{code:Oo.not_finite,message:i.message}),a.dirty()):Eo.assertNever(i)}}catch(e){o.e(e)}finally{o.f()}return{status:a.value,value:e.data}}},{key:"gte",value:function(e,t){return this.setLimit("min",e,!0,Lo.toString(t))}},{key:"gt",value:function(e,t){return this.setLimit("min",e,!1,Lo.toString(t))}},{key:"lte",value:function(e,t){return this.setLimit("max",e,!0,Lo.toString(t))}},{key:"lt",value:function(e,t){return this.setLimit("max",e,!1,Lo.toString(t))}},{key:"setLimit",value:function(t,n,r,a){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[{kind:t,value:n,inclusive:r,message:Lo.toString(a)}])}))}},{key:"_addCheck",value:function(t){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[t])}))}},{key:"int",value:function(e){return this._addCheck({kind:"int",message:Lo.toString(e)})}},{key:"positive",value:function(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Lo.toString(e)})}},{key:"negative",value:function(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Lo.toString(e)})}},{key:"nonpositive",value:function(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Lo.toString(e)})}},{key:"nonnegative",value:function(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Lo.toString(e)})}},{key:"multipleOf",value:function(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Lo.toString(t)})}},{key:"finite",value:function(e){return this._addCheck({kind:"finite",message:Lo.toString(e)})}},{key:"safe",value:function(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Lo.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Lo.toString(e)})}},{key:"minValue",get:function(){var e,t=null,n=S(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"min"===r.kind&&(null===t||r.value>t)&&(t=r.value)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"maxValue",get:function(){var e,t=null,n=S(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"max"===r.kind&&(null===t||r.value<t)&&(t=r.value)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"isInt",get:function(){return!!this._def.checks.find((function(e){return"int"===e.kind||"multipleOf"===e.kind&&Eo.isInteger(e.value)}))}},{key:"isFinite",get:function(){var e,t=null,n=null,r=S(this._def.checks);try{for(r.s();!(e=r.n()).done;){var a=e.value;if("finite"===a.kind||"int"===a.kind||"multipleOf"===a.kind)return!0;"min"===a.kind?(null===n||a.value>n)&&(n=a.value):"max"===a.kind&&(null===t||a.value<t)&&(t=a.value)}}catch(e){r.e(e)}finally{r.f()}return Number.isFinite(n)&&Number.isFinite(t)}}])}();_i.create=function(e){return new _i(j({checks:[],typeName:os.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1},Qo(e)))};var Ei=function(){function e(){var t;return w(this,e),(t=k(this,e,arguments)).min=t.gte,t.max=t.lte,t}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}if(this._getType(e)!==Io.bigint)return this._getInvalidInput(e);var t,n=void 0,r=new zo,a=S(this._def.checks);try{for(a.s();!(t=a.n()).done;){var o=t.value;"min"===o.kind?(o.inclusive?e.data<o.value:e.data<=o.value)&&(Mo(n=this._getOrReturnCtx(e,n),{code:Oo.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),r.dirty()):"max"===o.kind?(o.inclusive?e.data>o.value:e.data>=o.value)&&(Mo(n=this._getOrReturnCtx(e,n),{code:Oo.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),r.dirty()):"multipleOf"===o.kind?e.data%o.value!==BigInt(0)&&(Mo(n=this._getOrReturnCtx(e,n),{code:Oo.not_multiple_of,multipleOf:o.value,message:o.message}),r.dirty()):Eo.assertNever(o)}}catch(e){a.e(e)}finally{a.f()}return{status:r.value,value:e.data}}},{key:"_getInvalidInput",value:function(e){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.bigint,received:t.parsedType}),$o}},{key:"gte",value:function(e,t){return this.setLimit("min",e,!0,Lo.toString(t))}},{key:"gt",value:function(e,t){return this.setLimit("min",e,!1,Lo.toString(t))}},{key:"lte",value:function(e,t){return this.setLimit("max",e,!0,Lo.toString(t))}},{key:"lt",value:function(e,t){return this.setLimit("max",e,!1,Lo.toString(t))}},{key:"setLimit",value:function(t,n,r,a){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[{kind:t,value:n,inclusive:r,message:Lo.toString(a)}])}))}},{key:"_addCheck",value:function(t){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[t])}))}},{key:"positive",value:function(e){return this._addCheck({kind:"min",value:
2BigInt(0),inclusive:!1,message:Lo.toString(e)})}},{key:"negative",value:function(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Lo.toString(e)})}},{key:"nonpositive",value:function(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Lo.toString(e)})}},{key:"nonnegative",value:function(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Lo.toString(e)})}},{key:"multipleOf",value:function(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Lo.toString(t)})}},{key:"minValue",get:function(){var e,t=null,n=S(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"min"===r.kind&&(null===t||r.value>t)&&(t=r.value)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"maxValue",get:function(){var e,t=null,n=S(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"max"===r.kind&&(null===t||r.value<t)&&(t=r.value)}}catch(e){n.e(e)}finally{n.f()}return t}}])}();Ei.create=function(e){var t;return new Ei(j({checks:[],typeName:os.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t},Qo(e)))};var Ci=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._def.coerce&&(e.data=Boolean(e.data)),this._getType(e)!==Io.boolean){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.boolean,received:t.parsedType}),$o}return Uo(e.data)}}])}();Ci.create=function(e){return new Ci(j({typeName:os.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1},Qo(e)))};var Si=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Io.date){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.date,received:t.parsedType}),$o}if(Number.isNaN(e.data.getTime()))return Mo(this._getOrReturnCtx(e),{code:Oo.invalid_date}),$o;var n,r=new zo,a=void 0,o=S(this._def.checks);try{for(o.s();!(n=o.n()).done;){var i=n.value;"min"===i.kind?e.data.getTime()<i.value&&(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):"max"===i.kind?e.data.getTime()>i.value&&(Mo(a=this._getOrReturnCtx(e,a),{code:Oo.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Eo.assertNever(i)}}catch(e){o.e(e)}finally{o.f()}return{status:r.value,value:new Date(e.data.getTime())}}},{key:"_addCheck",value:function(t){return new e(j(j({},this._def),{},{checks:[].concat(L(this._def.checks),[t])}))}},{key:"min",value:function(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:Lo.toString(t)})}},{key:"max",value:function(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:Lo.toString(t)})}},{key:"minDate",get:function(){var e,t=null,n=S(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"min"===r.kind&&(null===t||r.value>t)&&(t=r.value)}}catch(e){n.e(e)}finally{n.f()}return null!=t?new Date(t):null}},{key:"maxDate",get:function(){var e,t=null,n=S(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"max"===r.kind&&(null===t||r.value<t)&&(t=r.value)}}catch(e){n.e(e)}finally{n.f()}return null!=t?new Date(t):null}}])}();Si.create=function(e){return new Si(j({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:os.ZodDate},Qo(e)))};var Fi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._getType(e)!==Io.symbol){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.symbol,received:t.parsedType}),$o}return Uo(e.data)}}])}();Fi.create=function(e){return new Fi(j({typeName:os.ZodSymbol},Qo(e)))};var xi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._getType(e)!==Io.undefined){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.undefined,received:t.parsedType}),$o}return Uo(e.data)}}])}();xi.create=function(e){return new xi(j({typeName:os.ZodUndefined},Qo(e)))};var Ai=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._getType(e)!==Io.null){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.null,received:t.parsedType}),$o}return Uo(e.data)}}])}();Ai.create=function(e){return new Ai(j({typeName:os.ZodNull},Qo(e)))};var Ii=function(){function e(){var t;return w(this,e),(t=k(this,e,arguments))._any=!0,t}return I(e,Yo),C(e,[{key:"_parse",value:function(e){return Uo(e.data)}}])}();Ii.create=function(e){return new Ii(j({typeName:os.ZodAny},Qo(e)))};var Ti=function(){function e(){var t;return w(this,e),(t=k(this,e,arguments))._unknown=!0,t}return I(e,Yo),C(e,[{key:"_parse",value:function(e){return Uo(e.data)}}])}();Ti.create=function(e){return new Ti(j({typeName:os.ZodUnknown},Qo(e)))};var Oi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.never,received:t.parsedType}),$o}}])}();Oi.create=function(e){return new Oi(j({typeName:os.ZodNever},Qo(e)))};var ji=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._getType(e)!==Io.undefined){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.void,received:t.parsedType}),$o}return Uo(e.data)}}])}();ji.create=function(e){return new ji(j({typeName:os.ZodVoid},Qo(e)))};var Pi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.ctx,r=t.status,a=this._def;if(n.parsedType!==Io.array)return Mo(n,{code:Oo.invalid_type,expected:Io.array,received:n.parsedType}),$o;if(null!==a.exactLength){var o=n.data.length>a.exactLength.value,i=n.data.length<a.exactLength.value;(o||i)&&(Mo(n,{code:o?Oo.too_big:Oo.too_small,minimum:i?a.exactLength.value:void 0,maximum:o?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(null!==a.minLength&&n.data.length<a.minLength.value&&(Mo(n,{code:Oo.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),null!==a.maxLength&&n.data.length>a.maxLength.value&&(Mo(n,{code:Oo.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all(L(n.data).map((function(e,t){return a.type._parseAsync(new Go(n,e,n.path,t))}))).then((function(e){return zo.mergeArray(r,e)}));var s=L(n.data).map((function(e,t){return a.type._parseSync(new Go(n,e,n.path,t))}));return zo.mergeArray(r,s)}},{key:"element",get:function(){return this._def.type}},{key:"min",value:function(t,n){return new e(j(j({},this._def),{},{minLength:{value:t,message:Lo.toString(n)}}))}},{key:"max",value:function(t,n){return new e(j(j({},this._def),{},{maxLength:{value:t,message:Lo.toString(n)}}))}},{key:"length",value:function(t,n){return new e(j(j({},this._def),{},{exactLength:{value:t,message:Lo.toString(n)}}))}},{key:"nonempty",value:function(e){return this.min(1,e)}}])}();function Ni(e){if(e instanceof Ri){var t={};for(var n in e.shape){var r=e.shape[n];t[n]=es.create(Ni(r))}return new Ri(j(j({},e._def),{},{shape:function(){return t}}))}return e instanceof Pi?new Pi(j(j({},e._def),{},{type:Ni(e.element)})):e instanceof es?es.create(Ni(e.unwrap())):e instanceof ts?ts.create(Ni(e.unwrap())):e instanceof qi?qi.create(e.items.map((function(e){return Ni(e)}))):e}Pi.create=function(e,t){return new Pi(j({type:e,minLength:null,maxLength:null,exactLength:null,typeName:os.ZodArray},Qo(t)))};var Ri=function(){function e(){var t;return w(this,e),(t=k(this,e,arguments))._cached=null,t.nonstrict=t.passthrough,t.augment=t.extend,t}return I(e,Yo),C(e,[{key:"_getCached",value:function(){if(null!==this._cached)return this._cached;var e=this._def.shape(),t=Eo.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}},{key:"_parse",value:function(e){if(this._getType(e)!==Io.object){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.object,received:t.parsedType}),$o}var n=this._processInputParams(e),r=n.status,a=n.ctx,o=this._getCached(),i=o.shape,s=o.keys,u=[];
2if(!(this._def.catchall instanceof Oi&&"strip"===this._def.unknownKeys))for(var l in a.data)s.includes(l)||u.push(l);var c,d=[],p=S(s);try{for(p.s();!(c=p.n()).done;){var f=c.value,h=i[f],m=a.data[f];d.push({key:{status:"valid",value:f},value:h._parse(new Go(a,m,a.path,f)),alwaysSet:f in a.data})}}catch(e){p.e(e)}finally{p.f()}if(this._def.catchall instanceof Oi){var g=this._def.unknownKeys;if("passthrough"===g){var v,y=S(u);try{for(y.s();!(v=y.n()).done;){var b=v.value;d.push({key:{status:"valid",value:b},value:{status:"valid",value:a.data[b]}})}}catch(e){y.e(e)}finally{y.f()}}else if("strict"===g)u.length>0&&(Mo(a,{code:Oo.unrecognized_keys,keys:u}),r.dirty());else if("strip"!==g)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{var k,w=this._def.catchall,_=S(u);try{for(_.s();!(k=_.n()).done;){var E=k.value,C=a.data[E];d.push({key:{status:"valid",value:E},value:w._parse(new Go(a,C,a.path,E)),alwaysSet:E in a.data})}}catch(e){_.e(e)}finally{_.f()}}return a.common.async?Promise.resolve().then(D(N().m((function e(){var t,n,r,a,o,i,s;return N().w((function(e){for(;;)switch(e.p=e.n){case 0:t=[],n=S(d),e.p=1,n.s();case 2:if((r=n.n()).done){e.n=6;break}return a=r.value,e.n=3,a.key;case 3:return o=e.v,e.n=4,a.value;case 4:i=e.v,t.push({key:o,value:i,alwaysSet:a.alwaysSet});case 5:e.n=2;break;case 6:e.n=8;break;case 7:e.p=7,s=e.v,n.e(s);case 8:return e.p=8,n.f(),e.f(8);case 9:return e.a(2,t)}}),e,null,[[1,7,8,9]])})))).then((function(e){return zo.mergeObjectSync(r,e)})):zo.mergeObjectSync(r,d)}},{key:"shape",get:function(){return this._def.shape()}},{key:"strict",value:function(t){var n=this;return Lo.errToObj,new e(j(j({},this._def),{},{unknownKeys:"strict"},void 0!==t?{errorMap:function(e,r){var a,o,i,s,u=null!==(a=null===(o=(i=n._def).errorMap)||void 0===o?void 0:o.call(i,e,r).message)&&void 0!==a?a:r.defaultError;return"unrecognized_keys"===e.code?{message:null!==(s=Lo.errToObj(t).message)&&void 0!==s?s:u}:{message:u}}}:{}))}},{key:"strip",value:function(){return new e(j(j({},this._def),{},{unknownKeys:"strip"}))}},{key:"passthrough",value:function(){return new e(j(j({},this._def),{},{unknownKeys:"passthrough"}))}},{key:"extend",value:function(t){var n=this;return new e(j(j({},this._def),{},{shape:function(){return j(j({},n._def.shape()),t)}}))}},{key:"merge",value:function(t){var n=this;return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:function(){return j(j({},n._def.shape()),t._def.shape())},typeName:os.ZodObject})}},{key:"setKey",value:function(e,t){return this.augment(F({},e,t))}},{key:"catchall",value:function(t){return new e(j(j({},this._def),{},{catchall:t}))}},{key:"pick",value:function(t){var n,r={},a=S(Eo.objectKeys(t));try{for(a.s();!(n=a.n()).done;){var o=n.value;t[o]&&this.shape[o]&&(r[o]=this.shape[o])}}catch(e){a.e(e)}finally{a.f()}return new e(j(j({},this._def),{},{shape:function(){return r}}))}},{key:"omit",value:function(t){var n,r={},a=S(Eo.objectKeys(this.shape));try{for(a.s();!(n=a.n()).done;){var o=n.value;t[o]||(r[o]=this.shape[o])}}catch(e){a.e(e)}finally{a.f()}return new e(j(j({},this._def),{},{shape:function(){return r}}))}},{key:"deepPartial",value:function(){return Ni(this)}},{key:"partial",value:function(t){var n,r={},a=S(Eo.objectKeys(this.shape));try{for(a.s();!(n=a.n()).done;){var o=n.value,i=this.shape[o];t&&!t[o]?r[o]=i:r[o]=i.optional()}}catch(e){a.e(e)}finally{a.f()}return new e(j(j({},this._def),{},{shape:function(){return r}}))}},{key:"required",value:function(t){var n,r={},a=S(Eo.objectKeys(this.shape));try{for(a.s();!(n=a.n()).done;){var o=n.value;if(t&&!t[o])r[o]=this.shape[o];else{for(var i=this.shape[o];i instanceof es;)i=i._def.innerType;r[o]=i}}}catch(e){a.e(e)}finally{a.f()}return new e(j(j({},this._def),{},{shape:function(){return r}}))}},{key:"keyof",value:function(){return Ki(Eo.objectKeys(this.shape))}}])}();Ri.create=function(e,t){return new Ri(j({shape:function(){return e},unknownKeys:"strip",catchall:Oi.create(),typeName:os.ZodObject},Qo(t)))},Ri.strictCreate=function(e,t){return new Ri(j({shape:function(){return e},unknownKeys:"strict",catchall:Oi.create(),typeName:os.ZodObject},Qo(t)))},Ri.lazycreate=function(e,t){return new Ri(j({shape:e,unknownKeys:"strip",catchall:Oi.create(),typeName:os.ZodObject},Qo(t)))};var Bi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx,n=this._def.options;if(t.common.async)return Promise.all(n.map(function(){var e=D(N().m((function e(n){var r,a,o;return N().w((function(e){for(;;)switch(e.n){case 0:return r=j(j({},t),{},{common:j(j({},t.common),{},{issues:[]}),parent:null}),e.n=1,n._parseAsync({data:t.data,path:t.path,parent:r});case 1:return a=e.v,o=r,e.a(2,{result:a,ctx:o})}}),e)})));return function(t){return e.apply(this,arguments)}}())).then((function(e){var n,r=S(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if("valid"===a.result.status)return a.result}}catch(e){r.e(e)}finally{r.f()}var o,i=S(e);try{for(i.s();!(o=i.n()).done;){var s,u=o.value;if("dirty"===u.result.status)return(s=t.common.issues).push.apply(s,L(u.ctx.common.issues)),u.result}}catch(e){i.e(e)}finally{i.f()}var l=e.map((function(e){return new jo(e.ctx.common.issues)}));return Mo(t,{code:Oo.invalid_union,unionErrors:l}),$o}
2));var r,a,o=void 0,i=[],s=S(n);try{for(s.s();!(r=s.n()).done;){var u=r.value,l=j(j({},t),{},{common:j(j({},t.common),{},{issues:[]}),parent:null}),c=u._parseSync({data:t.data,path:t.path,parent:l});if("valid"===c.status)return c;"dirty"!==c.status||o||(o={result:c,ctx:l}),l.common.issues.length&&i.push(l.common.issues)}}catch(e){s.e(e)}finally{s.f()}if(o)return(a=t.common.issues).push.apply(a,L(o.ctx.common.issues)),o.result;var d=i.map((function(e){return new jo(e)}));return Mo(t,{code:Oo.invalid_union,unionErrors:d}),$o}},{key:"options",get:function(){return this._def.options}}])}();Bi.create=function(e,t){return new Bi(j({options:e,typeName:os.ZodUnion},Qo(t)))};var Mi=function(e){return e instanceof Wi?Mi(e.schema):e instanceof Xi?Mi(e.innerType()):e instanceof Gi?[e.value]:e instanceof Qi?e.options:e instanceof Ji?Eo.objectValues(e.enum):e instanceof ns?Mi(e._def.innerType):e instanceof xi?[void 0]:e instanceof Ai?[null]:e instanceof es?[void 0].concat(L(Mi(e.unwrap()))):e instanceof ts?[null].concat(L(Mi(e.unwrap()))):e instanceof is||e instanceof us?Mi(e.unwrap()):e instanceof rs?Mi(e._def.innerType):[]},Li=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx;if(t.parsedType!==Io.object)return Mo(t,{code:Oo.invalid_type,expected:Io.object,received:t.parsedType}),$o;var n=this.discriminator,r=t.data[n],a=this.optionsMap.get(r);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(Mo(t,{code:Oo.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),$o)}},{key:"discriminator",get:function(){return this._def.discriminator}},{key:"options",get:function(){return this._def.options}},{key:"optionsMap",get:function(){return this._def.optionsMap}}],[{key:"create",value:function(t,n,r){var a,o=new Map,i=S(n);try{for(i.s();!(a=i.n()).done;){var s=a.value,u=Mi(s.shape[t]);if(!u.length)throw new Error("A discriminator value for key `".concat(t,"` could not be extracted from all schema options"));var l,c=S(u);try{for(c.s();!(l=c.n()).done;){var d=l.value;if(o.has(d))throw new Error("Discriminator property ".concat(String(t)," has duplicate value ").concat(String(d)));o.set(d,s)}}catch(e){c.e(e)}finally{c.f()}}}catch(e){i.e(e)}finally{i.f()}return new e(j({typeName:os.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o},Qo(r)))}}])}();function zi(e,t){var n=To(e),r=To(t);if(e===t)return{valid:!0,data:e};if(n===Io.object&&r===Io.object){var a,o=Eo.objectKeys(t),i=Eo.objectKeys(e).filter((function(e){return-1!==o.indexOf(e)})),s=j(j({},e),t),u=S(i);try{for(u.s();!(a=u.n()).done;){var l=a.value,c=zi(e[l],t[l]);if(!c.valid)return{valid:!1};s[l]=c.data}}catch(e){u.e(e)}finally{u.f()}return{valid:!0,data:s}}if(n===Io.array&&r===Io.array){if(e.length!==t.length)return{valid:!1};for(var d=[],p=0;p<e.length;p++){var f=zi(e[p],t[p]);if(!f.valid)return{valid:!1};d.push(f.data)}return{valid:!0,data:d}}return n===Io.date&&r===Io.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var $i=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,r=t.ctx,a=function(e,t){if(Zo(e)||Zo(t))return $o;var a=zi(e.value,t.value);return a.valid?((Ho(e)||Ho(t))&&n.dirty(),{status:n.value,value:a.data}):(Mo(r,{code:Oo.invalid_intersection_types}),$o)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then((function(e){var t=M(e,2),n=t[0],r=t[1];return a(n,r)})):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}])}();$i.create=function(e,t,n){return new $i(j({left:e,right:t,typeName:os.ZodIntersection},Qo(n)))};var qi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e),r=n.status,a=n.ctx;if(a.parsedType!==Io.array)return Mo(a,{code:Oo.invalid_type,expected:Io.array,received:a.parsedType}),$o;if(a.data.length<this._def.items.length)return Mo(a,{code:Oo.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),$o;!this._def.rest&&a.data.length>
2this._def.items.length&&(Mo(a,{code:Oo.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());var o=L(a.data).map((function(e,n){var r=t._def.items[n]||t._def.rest;return r?r._parse(new Go(a,e,a.path,n)):null})).filter((function(e){return!!e}));return a.common.async?Promise.all(o).then((function(e){return zo.mergeArray(r,e)})):zo.mergeArray(r,o)}},{key:"items",get:function(){return this._def.items}},{key:"rest",value:function(t){return new e(j(j({},this._def),{},{rest:t}))}}])}();qi.create=function(e,t){if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new qi(j({items:e,typeName:os.ZodTuple,rest:null},Qo(t)))};var Ui=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,r=t.ctx;if(r.parsedType!==Io.object)return Mo(r,{code:Oo.invalid_type,expected:Io.object,received:r.parsedType}),$o;var a=[],o=this._def.keyType,i=this._def.valueType;for(var s in r.data)a.push({key:o._parse(new Go(r,s,r.path,s)),value:i._parse(new Go(r,r.data[s],r.path,s)),alwaysSet:s in r.data});return r.common.async?zo.mergeObjectAsync(n,a):zo.mergeObjectSync(n,a)}},{key:"element",get:function(){return this._def.valueType}}],[{key:"create",value:function(t,n,r){return new e(n instanceof Yo?j({keyType:t,valueType:n,typeName:os.ZodRecord},Qo(r)):j({keyType:ki.create(),valueType:t,typeName:os.ZodRecord},Qo(n)))}}])}(),Zi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,r=t.ctx;if(r.parsedType!==Io.map)return Mo(r,{code:Oo.invalid_type,expected:Io.map,received:r.parsedType}),$o;var a=this._def.keyType,o=this._def.valueType,i=L(r.data.entries()).map((function(e,t){var n=M(e,2),i=n[0],s=n[1];return{key:a._parse(new Go(r,i,r.path,[t,"key"])),value:o._parse(new Go(r,s,r.path,[t,"value"]))}}));if(r.common.async){var s=new Map;return Promise.resolve().then(D(N().m((function e(){var t,r,a,o,u,l;return N().w((function(e){for(;;)switch(e.p=e.n){case 0:t=S(i),e.p=1,t.s();case 2:if((r=t.n()).done){e.n=7;break}return a=r.value,e.n=3,a.key;case 3:return o=e.v,e.n=4,a.value;case 4:if(u=e.v,"aborted"!==o.status&&"aborted"!==u.status){e.n=5;break}return e.a(2,$o);case 5:"dirty"!==o.status&&"dirty"!==u.status||n.dirty(),s.set(o.value,u.value);case 6:e.n=2;break;case 7:e.n=9;break;case 8:e.p=8,l=e.v,t.e(l);case 9:return e.p=9,t.f(),e.f(9);case 10:return e.a(2,{status:n.value,value:s})}}),e,null,[[1,8,9,10]])}))))}var u,l=new Map,c=S(i);try{for(c.s();!(u=c.n()).done;){var d=u.value,p=d.key,f=d.value;if("aborted"===p.status||"aborted"===f.status)return $o;"dirty"!==p.status&&"dirty"!==f.status||n.dirty(),l.set(p.value,f.value)}}catch(e){c.e(e)}finally{c.f()}return{status:n.value,value:l}}}])}();Zi.create=function(e,t,n){return new Zi(j({valueType:t,keyType:e,typeName:os.ZodMap},Qo(n)))};var Hi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,r=t.ctx;if(r.parsedType!==Io.set)return Mo(r,{code:Oo.invalid_type,expected:Io.set,received:r.parsedType}),$o;var a=this._def;null!==a.minSize&&r.data.size<a.minSize.value&&(Mo(r,{code:Oo.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),null!==a.maxSize&&r.data.size>a.maxSize.value&&(Mo(r,{code:Oo.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());var o=this._def.valueType;function i(e){var t,r=new Set,a=S(e);try{for(a.s();!(t=a.n()).done;){var o=t.value;if("aborted"===o.status)return $o;"dirty"===o.status&&n.dirty(),r.add(o.value)}}catch(e){a.e(e)}finally{a.f()}return{status:n.value,value:r}}var s=L(r.data.values()).map((function(e,t){return o._parse(new Go(r,e,r.path,t))}));return r.common.async?Promise.all(s).then((function(e){return i(e)})):i(s)}},{key:"min",value:function(t,n){return new e(j(j({},this._def),{},{minSize:{value:t,message:Lo.toString(n)}}))}},{key:"max",value:function(t,n){return new e(j(j({},this._def),{},{maxSize:{value:t,message:Lo.toString(n)}}))}},{key:"size",value:function(e,t){return this.min(e,t).max(e,t)}},{key:"nonempty",value:function(e){return this.min(1,e)}}])}();Hi.create=function(e,t){return new Hi(j({valueType:e,minSize:null,maxSize:null,typeName:os.ZodSet},Qo(t)))};var Vi=function(){function e(){var t;return w(this,e),(t=k(this,e,arguments)).validate=t.implement,t}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx;if(t.parsedType!==Io.function)return Mo(t,{code:Oo.invalid_type,expected:Io.function,received:t.parsedType}),$o;function n(e,n){return Bo({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Ro(),Po].filter((function(e){return!!e})),issueData:{code:Oo.invalid_arguments,argumentsError:n}})}function r(e,n){return Bo({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Ro(),Po].filter((function(e){return!!e})),issueData:{code:Oo.invalid_return_type,returnTypeError:n}})}var a={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof Yi){var i=this;return Uo(D(N().m((function e(){var t,s,u,l,c,d,p,f=arguments;return N().w((function(e){for(;;)switch(e.n){case 0:for(t=f.length,s=new Array(t),u=0;u<t;u++)s[u]=f[u];return l=new jo([]),e.n=1,i._def.args.parseAsync(s,a).catch((function(e){throw l.addIssue(n(s,e)),l}));case 1:return c=e.v,e.n=2,Reflect.apply(o,this,c);case 2:return d=e.v,e.n=3,i._def.returns._def.type.parseAsync(d,a).catch((function(e){throw l.addIssue(r(d,e)),l}));case 3:return p=e.v,e.a(2,p)}}),e,this)}))))}var s=this;return Uo((function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var u=s._def.args.safeParse(t,a);if(!u.success)throw new jo([n(t,u.error)]);var l=Reflect.apply(o,this,u.data),c=s._def.returns.safeParse(l,a);if(!c.success)throw new jo([r(l,c.error)]);return c.data}))}},{key:"parameters",value:function(){return this._def.args}},{key:"returnType",value:function(){return this._def.returns}},{key:"args",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new e(j(j({},this._def),{},{args:qi.create(n).rest(Ti.create())}))}},{key:"returns",value:function(t){return new e(j(j({},this._def),{},{returns:t}))}},{key:"implement",value:function(e){return this.parse(e)}},{key:"strictImplement",value:function(e){return this.parse(e)}}],[{key:"create",value:function(t,n,r){return new e(j({args:t||qi.create([]).rest(Ti.create()),returns:n||Ti.create(),typeName:os.ZodFunction},Qo(r)))}}])}(),Wi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"schema",get:function(){return this._def.getter()}},{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx;return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}])}();Wi.create=function(e,t){return new Wi(j({getter:e,typeName:os.ZodLazy},Qo(t)))};var Gi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(e.data!==this._def.value){var t=this._getOrReturnCtx(e);return Mo(t,{received:t.data,code:Oo.invalid_literal,expected:this._def.value}),$o}
2return{status:"valid",value:e.data}}},{key:"value",get:function(){return this._def.value}}])}();function Ki(e,t){return new Qi(j({values:e,typeName:os.ZodEnum},Qo(t)))}Gi.create=function(e,t){return new Gi(j({value:e,typeName:os.ZodLiteral},Qo(t)))};var Qi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if("string"!=typeof e.data){var t=this._getOrReturnCtx(e),n=this._def.values;return Mo(t,{expected:Eo.joinValues(n),received:t.parsedType,code:Oo.invalid_type}),$o}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){var r=this._getOrReturnCtx(e),a=this._def.values;return Mo(r,{received:r.data,code:Oo.invalid_enum_value,options:a}),$o}return Uo(e.data)}},{key:"options",get:function(){return this._def.values}},{key:"enum",get:function(){var e,t={},n=S(this._def.values);try{for(n.s();!(e=n.n()).done;){var r=e.value;t[r]=r}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"Values",get:function(){var e,t={},n=S(this._def.values);try{for(n.s();!(e=n.n()).done;){var r=e.value;t[r]=r}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"Enum",get:function(){var e,t={},n=S(this._def.values);try{for(n.s();!(e=n.n()).done;){var r=e.value;t[r]=r}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"extract",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._def;return e.create(t,j(j({},this._def),n))}},{key:"exclude",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._def;return e.create(this.options.filter((function(e){return!t.includes(e)})),j(j({},this._def),n))}}])}();Qi.create=Ki;var Ji=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=Eo.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==Io.string&&n.parsedType!==Io.number){var r=Eo.objectValues(t);return Mo(n,{expected:Eo.joinValues(r),received:n.parsedType,code:Oo.invalid_type}),$o}if(this._cache||(this._cache=new Set(Eo.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){var a=Eo.objectValues(t);return Mo(n,{received:n.data,code:Oo.invalid_enum_value,options:a}),$o}return Uo(e.data)}},{key:"enum",get:function(){return this._def.values}}])}();Ji.create=function(e,t){return new Ji(j({values:e,typeName:os.ZodNativeEnum},Qo(t)))};var Yi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"unwrap",value:function(){return this._def.type}},{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e).ctx;if(n.parsedType!==Io.promise&&!1===n.common.async)return Mo(n,{code:Oo.invalid_type,expected:Io.promise,received:n.parsedType}),$o;var r=n.parsedType===Io.promise?n.data:Promise.resolve(n.data);return Uo(r.then((function(e){return t._def.type.parseAsync(e,{path:n.path,errorMap:n.common.contextualErrorMap})})))}}])}();Yi.create=function(e,t){return new Yi(j({type:e,typeName:os.ZodPromise},Qo(t)))};var Xi=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"innerType",value:function(){return this._def.schema}},{key:"sourceType",value:function(){return this._def.schema._def.typeName===os.ZodEffects?this._def.schema.sourceType():this._def.schema}},{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e),r=n.status,a=n.ctx,o=this._def.effect||null,i={addIssue:function(e){Mo(a,e),e.fatal?r.abort():r.dirty()},get path(){return a.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===o.type){var s=o.transform(a.data,i);if(a.common.async)return Promise.resolve(s).then(function(){var e=D(N().m((function e(n){var o;return N().w((function(e){for(;;)switch(e.n){case 0:if("aborted"!==r.value){e.n=1;break}return e.a(2,$o);case 1:return e.n=2,t._def.schema._parseAsync({data:n,path:a.path,parent:a});case 2:if("aborted"!==(o=e.v).status){e.n=3;break}return e.a(2,$o);case 3:if("dirty"!==o.status){e.n=4;break}return e.a(2,qo(o.value));case 4:if("dirty"!==r.value){e.n=5;break}return e.a(2,qo(o.value));case 5:return e.a(2,o)}}),e)})));return function(t){return e.apply(this,arguments)}}());if("aborted"===r.value)return $o;var u=this._def.schema._parseSync({data:s,path:a.path,parent:a});return"aborted"===u.status?$o:"dirty"===u.status||"dirty"===r.value?qo(u.value):u}if("refinement"===o.type){var l=function(e){var t=o.refinement(e,i);if(a.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===a.common.async){var c=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return"aborted"===c.status?$o:("dirty"===c.status&&r.dirty(),l(c.value),{status:r.value,value:c.value})}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then((function(e){return"aborted"===e.status?$o:("dirty"===e.status&&r.dirty(),l(e.value).then((function(){return{status:r.value,value:e.value}})))}
2))}if("transform"===o.type){if(!1===a.common.async){var d=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!Vo(d))return $o;var p=o.transform(d.value,i);if(p instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:p}}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then((function(e){return Vo(e)?Promise.resolve(o.transform(e.value,i)).then((function(e){return{status:r.value,value:e}})):$o}))}Eo.assertNever(o)}}])}();Xi.create=function(e,t,n){return new Xi(j({schema:e,typeName:os.ZodEffects,effect:t},Qo(n)))},Xi.createWithPreprocess=function(e,t,n){return new Xi(j({schema:t,effect:{type:"preprocess",transform:e},typeName:os.ZodEffects},Qo(n)))};var es=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){return this._getType(e)===Io.undefined?Uo(void 0):this._def.innerType._parse(e)}},{key:"unwrap",value:function(){return this._def.innerType}}])}();es.create=function(e,t){return new es(j({innerType:e,typeName:os.ZodOptional},Qo(t)))};var ts=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){return this._getType(e)===Io.null?Uo(null):this._def.innerType._parse(e)}},{key:"unwrap",value:function(){return this._def.innerType}}])}();ts.create=function(e,t){return new ts(j({innerType:e,typeName:os.ZodNullable},Qo(t)))};var ns=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx,n=t.data;return t.parsedType===Io.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}},{key:"removeDefault",value:function(){return this._def.innerType}}])}();ns.create=function(e,t){return new ns(j({innerType:e,typeName:os.ZodDefault,defaultValue:"function"==typeof t.default?t.default:function(){return t.default}},Qo(t)))};var rs=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e).ctx,r=j(j({},n),{},{common:j(j({},n.common),{},{issues:[]})}),a=this._def.innerType._parse({data:r.data,path:r.path,parent:j({},r)});return Wo(a)?a.then((function(e){return{status:"valid",value:"valid"===e.status?e.value:t._def.catchValue({get error(){return new jo(r.common.issues)},input:r.data})}})):{status:"valid",value:"valid"===a.status?a.value:this._def.catchValue({get error(){return new jo(r.common.issues)},input:r.data})}}},{key:"removeCatch",value:function(){return this._def.innerType}}])}();rs.create=function(e,t){return new rs(j({innerType:e,typeName:os.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:function(){return t.catch}},Qo(t)))};var as=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){if(this._getType(e)!==Io.nan){var t=this._getOrReturnCtx(e);return Mo(t,{code:Oo.invalid_type,expected:Io.nan,received:t.parsedType}),$o}return{status:"valid",value:e.data}}}])}();as.create=function(e){return new as(j({typeName:os.ZodNaN},Qo(e)))};var os,is=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx,n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}},{key:"unwrap",value:function(){return this._def.type}}])}(),ss=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e),r=n.status,a=n.ctx;if(a.common.async){var o=function(){var e=D(N().m((function e(){var n;return N().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,t._def.in._parseAsync({data:a.data,path:a.path,parent:a});case 1:if("aborted"!==(n=e.v).status){e.n=2;break}return e.a(2,$o);case 2:if("dirty"!==n.status){e.n=3;break}return r.dirty(),e.a(2,qo(n.value));case 3:return e.a(2,t._def.out._parseAsync({data:n.value,path:a.path,parent:a}));case 4:return e.a(2)}}),e)})));return function(){return e.apply(this,arguments)}}();return o()}var i=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return"aborted"===i.status?$o:"dirty"===i.status?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:a.path,parent:a})}}],[{key:"create",value:function(t,n){return new e({in:t,out:n,typeName:os.ZodPipeline})}}])}(),us=function(){function e(){return w(this,e),k(this,e,arguments)}return I(e,Yo),C(e,[{key:"_parse",value:function(e){var t=this._def.innerType._parse(e),n=function(e){return Vo(e)&&(e.value=Object.freeze(e.value)),e};return Wo(t)?t.then((function(e){return n(e)})):n(t)}},{key:"unwrap",value:function(){return this._def.innerType}}])}();function ls(e=globalThis){var t,n,r;return e.window?"runtime/browser":(null==(t=e.navigator)?void 0:t.userAgent)?`runtime/${e.navigator.userAgent.toLowerCase()}
2`:(null==(r=null==(n=e.process)?void 0:n.versions)?void 0:r.node)?`runtime/node.js/${e.process.version.substring(0)}`:e.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function cs(e,...t){const n=function(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=>null!=t)))}(null!=e?e:{}),r=new Headers(n),a=r.get("user-agent")||"";return r.set("user-agent",[a,...t].filter(Boolean).join(" ")),Object.fromEntries(r)}us.create=function(e,t){return new us(j({innerType:e,typeName:os.ZodReadonly},Qo(t)))},Ri.lazycreate,function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(os||(os={})),ki.create,_i.create,as.create,Ei.create,Ci.create,Si.create,Fi.create,xi.create,Ai.create,Ii.create,Ti.create,Oi.create,ji.create,Pi.create,Ri.create,Ri.strictCreate,Bi.create,Li.create,$i.create,qi.create,Ui.create,Zi.create,Hi.create,Vi.create,Wi.create,Gi.create,Qi.create,Ji.create,Yi.create,Xi.create,es.create,ts.create,Xi.createWithPreprocess,ss.create;var ds=({prefix:e,size:t=16,alphabet:n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:r="-"}={})=>{const a=()=>{const e=n.length,r=new Array(t);for(let a=0;a<t;a++)r[a]=n[Math.random()*e|0];return r.join("")};if(null==e)return a;
2if(n.includes(r))throw new de({argument:"separator",message:`The separator "${r}" must not be part of the alphabet "${n}".`});return()=>`${e}${r}${a()}`},ps=ds(),fs=/"__proto__"\s*:/,hs=/"constructor"\s*:/;var ms=Symbol.for("vercel.ai.validator");async function gs({value:e,schema:t}){const n=await vs({value:e,schema:t});if(!n.success)throw ke.wrap({value:e,cause:n.error});return n.value}async function vs({value:e,schema:t}){const n=function(e){return function(e){return"object"==typeof e&&null!==e&&ms in e&&!0===e[ms]&&"validate"in e}(e)?e:(t=e,n=async e=>{const n=await t["~standard"].validate(e);return null==n.issues?{success:!0,value:n.value}:{success:!1,error:new ke({value:e,cause:n.issues})}},{[ms]:!0,validate:n});var t,n}(t);try{if(null==n.validate)return{success:!0,value:e,rawValue:e};const t=await n.validate(e);return t.success?{success:!0,value:t.value,rawValue:e}:{success:!1,error:ke.wrap({value:e,cause:t.error}),rawValue:e}}catch(t){return{success:!1,error:ke.wrap({value:e,cause:t}),rawValue:e}}}async function ys({text:e,schema:t}){try{const n=function(e){const{stackTraceLimit:t}=Error;Error.stackTraceLimit=0;try{return function(e){const t=JSON.parse(e);return null===t||"object"!=typeof t||!1===fs.test(e)&&!1===hs.test(e)?t:function(e){let t=[e];for(;t.length;){const e=t;t=[];for(const n of e){if(Object.prototype.hasOwnProperty.call(n,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(n,"constructor")&&Object.prototype.hasOwnProperty.call(n.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property");for(const e in n){const r=n[e];r&&"object"==typeof r&&t.push(r)}}}return e}(t)}(e)}finally{Error.stackTraceLimit=t}}(e);return null==t?{success:!0,value:n,rawValue:n}:await vs({value:n,schema:t})}catch(t){return{success:!1,error:ge.isInstance(t)?t:new ge({text:e,cause:t}),rawValue:void 0}}}async function bs(e){return"function"==typeof e&&(e=e()),Promise.resolve(e)}var Ds=(e,t)=>{let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];n++);return[(e.length-n).toString(),...t.slice(n)].join("/")},ks=Symbol("Let zodToJsonSchema decide on which parser to use"),ws={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"};function _s(e,t){return Ws(e.type._def,t)}function Es(e,t,n){const r=null!=n?n:t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map(((n,r)=>Es(e,t,n)))};switch(r){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return Cs(e)}}var Cs=e=>{const t={type:"integer",format:"unix-time"};for(const n of e.checks)switch(n.kind){case"min":t.minimum=n.value;break;case"max":t.maximum=n.value}return t},Ss=void 0,Fs=/^[cC][^\s-]{8,}$/,xs=/^[0-9a-z]+$/,As=/^[0-9A-HJKMNP-TV-Z]{26}$/,Is=/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,Ts=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Os=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,js=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Ps=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Ns=/^[a-zA-Z0-9_-]{21}$/,Rs=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;function Bs(e,t){const n={type:"string"};if(e.checks)for(const r of e.checks)switch(r.kind){case"min":n.minLength="number"==typeof n.minLength?Math.max(n.minLength,r.value):r.value;break;case"max":n.maxLength="number"==typeof n.maxLength?Math.min(n.maxLength,r.value):r.value;break;case"email":switch(t.emailStrategy){case"format:email":zs(n,"email",r.message,t);break;case"format:idn-email":zs(n,"idn-email",r.message,t);break;case"pattern:zod":$s(n,Is,r.message,t)}break;case"url":zs(n,"uri",r.message,t);break;case"uuid":zs(n,"uuid",r.message,t);break;case"regex":$s(n,r.regex,r.message,t);break;case"cuid":$s(n,Fs,r.message,t);break;case"cuid2":$s(n,xs,r.message,t);break;case"startsWith":$s(n,RegExp(`^${Ms(r.value,t)}`),r.message,t);break;case"endsWith":$s(n,RegExp(`${Ms(r.value,t)}$`),r.message,t);break;case"datetime":zs(n,"date-time",r.message,t);break;case"date":zs(n,"date",r.message,t);break;case"time":zs(n,"time",r.message,t);break;case"duration":zs(n,"duration",r.message,t);break;case"length":n.minLength="number"==typeof n.minLength?Math.max(n.minLength,r.value):r.value,n.maxLength="number"==typeof n.maxLength?Math.min(n.maxLength,r.value):r.value;break;case"includes":$s(n,RegExp(Ms(r.value,t)),r.message,t);break;case"ip":"v6"!==r.version&&zs(n,"ipv4",r.message,t),"v4"!==r.version&&zs(n,"ipv6",r.message,t);break;case"base64url":$s(n,Ps,r.message,t);break;case"jwt":$s(n,Rs,r.message,t);break;case"cidr":"v6"!==r.version&&$s(n,Ts,r.message,t),"v4"!==r.version&&$s(n,Os,r.message,t);break;case"emoji":$s(n,(void 0===Ss&&(Ss=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Ss),r.message,t);break;case"ulid":$s(n,As,r.message,t);break;case"base64":switch(t.base64Strategy){case"format:binary":zs(n,"binary",r.message,t);break;case"contentEncoding:base64":n.contentEncoding="base64";break;case"pattern:zod":$s(n,js,r.message,t)}break;case"nanoid":$s(n,Ns,r.message,t)}return n}function Ms(e,t){return"escape"===t.patternStrategy?function(e){let t="";for(let n=0;n<e.length;
vendor: 11,757 bytes, line 2
2n++)Ls.has(e[n])||(t+="\\"),t+=e[n];return t}(e):e}var Ls=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function zs(e,t,n,r){var a;e.format||(null==(a=e.anyOf)?void 0:a.some((e=>e.format)))?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format}),delete e.format),e.anyOf.push({format:t,...n&&r.errorMessages&&{errorMessage:{format:n}}})):e.format=t}function $s(e,t,n,r){var a;e.pattern||(null==(a=e.allOf)?void 0:a.some((e=>e.pattern)))?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern}),delete e.pattern),e.allOf.push({pattern:qs(t,r),...n&&r.errorMessages&&{errorMessage:{pattern:n}}})):e.pattern=qs(t,r)}function qs(e,t){var n;if(!t.applyRegexFlags||!e.flags)return e.source;const r=e.flags.includes("i"),a=e.flags.includes("m"),o=e.flags.includes("s"),i=r?e.source.toLowerCase():e.source;let s="",u=!1,l=!1,c=!1;for(let d=0;d<i.length;d++)if(u)s+=i[d],u=!1;else{if(r)if(l){if(i[d].match(/[a-z]/)){c?(s+=i[d],s+=`${i[d-2]}-${i[d]}`.toUpperCase(),c=!1):"-"===i[d+1]&&(null==(n=i[d+2])?void 0:n.match(/[a-z]/))?(s+=i[d],c=!0):s+=`${i[d]}${i[d].toUpperCase()}`;continue}}else if(i[d].match(/[a-z]/)){s+=`[${i[d]}${i[d].toUpperCase()}]`;continue}if(a){if("^"===i[d]){s+="(^|(?<=[\r\n]))";continue}if("$"===i[d]){s+="($|(?=[\r\n]))";continue}}o&&"."===i[d]?s+=l?`${i[d]}\r\n`:`[${i[d]}\r\n]`:(s+=i[d],"\\"===i[d]?u=!0:l&&"]"===i[d]?l=!1:l||"["!==i[d]||(l=!0))}try{new RegExp(s)}catch(n){return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return s}function Us(e,t){var n,r,a,o,i,s;const u={type:"object",additionalProperties:null!=(n=Ws(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]}))?n:t.allowedAdditionalProperties};if((null==(r=e.keyType)?void 0:r._def.typeName)===os.ZodString&&(null==(a=e.keyType._def.checks)?void 0:a.length)){const{type:n,...r}=Bs(e.keyType._def,t);return{...u,propertyNames:r}}if((null==(o=e.keyType)?void 0:o._def.typeName)===os.ZodEnum)return{...u,propertyNames:{enum:e.keyType._def.values}};if((null==(i=e.keyType)?void 0:i._def.typeName)===os.ZodBranded&&e.keyType._def.type._def.typeName===os.ZodString&&(null==(s=e.keyType._def.type._def.checks)?void 0:s.length)){const{type:n,...r}=_s(e.keyType._def,t);return{...u,propertyNames:r}}return u}var Zs={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function Hs(e){try{return e.isOptional()}catch(e){return!0}}var Vs=(e,t,n)=>{switch(t){case os.ZodString:return Bs(e,n);case os.ZodNumber:return function(e){const t={type:"number"};if(!e.checks)return t;for(const n of e.checks)switch(n.kind){case"int":t.type="integer";break;case"min":n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value;break;case"max":n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value;break;case"multipleOf":t.multipleOf=n.value}return t}(e);case os.ZodObject:return function(e,t){const n={type:"object",properties:{}},r=[],a=e.shape();for(const i in a){let e=a[i];if(void 0===e||void 0===e._def)continue;const o=Hs(e),s=Ws(e._def,{...t,currentPath:[...t.currentPath,"properties",i],propertyPath:[...t.currentPath,"properties",i]});void 0!==s&&(n.properties[i]=s,o||r.push(i))}r.length&&(n.required=r);const o=function(e,t){if("ZodNever"!==e.catchall._def.typeName)return Ws(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]});switch(e.unknownKeys){case"passthrough":return t.allowedAdditionalProperties;case"strict":return t.rejectedAdditionalProperties;case"strip":return"strict"===t.removeAdditionalStrategy?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}(e,t);return void 0!==o&&(n.additionalProperties=o),n}(e,n);case os.ZodBigInt:return function(e){const t={type:"integer",format:"int64"};if(!e.checks)return t;for(const n of e.checks)switch(n.kind){case"min":n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value;break;case"max":n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value;break;case"multipleOf":t.multipleOf=n.value}return t}(e);case os.ZodBoolean:return{type:"boolean"};case os.ZodDate:return Es(e,n);case os.ZodUndefined:return{not:{}};case os.ZodNull:return{type:"null"};case os.ZodArray:return function(e,t){var n,r,a;const o={type:"array"};return(null==(n=e.type)?void 0:n._def)&&(null==(a=null==(r=e.type)?void 0:r._def)?void 0:a.typeName)!==os.ZodAny&&(o.items=Ws(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&(o.minItems=e.minLength.value),e.maxLength&&(o.maxItems=e.maxLength.value),e.exactLength&&(o.minItems=e.exactLength.value,o.maxItems=e.exactLength.value),o}(e,n);case os.ZodUnion:case os.ZodDiscriminatedUnion:return function(e,t){const n=e.options instanceof Map?Array.from(e.options.values()):e.options;if(n.every((e=>e._def.typeName in Zs&&(!e._def.checks||!e._def.checks.length)))){const e=n.reduce(((e,t)=>{const n=Zs[t._def.typeName];return n&&!e.includes(n)?[...e,n]:e}),[]);return{type:e.length>1?e:e[0]}}if(n.every((e=>"ZodLiteral"===e._def.typeName&&!e.description))){const e=n.reduce(((e,t)=>{const n=typeof t._def.value;switch(n){case"string":case"number":case"boolean":return[...e,n];case"bigint":return[...e,"integer"];case"object":if(null===t._def.value)return[...e,"null"];default:return e}}),[]);if(e.length===n.length){const t=e.filter(((e,t,n)=>n.indexOf(e)===t));return{type:t.length>1?t:t[0],enum:n.reduce(((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value]),[])}}}else if(n.every((e=>"ZodEnum"===e._def.typeName)))return{type:"string",enum:n.reduce(((e,t)=>[...e,...t._def.values.filter((t=>!e.includes(t)))]),[])};return((e,t)=>{const n=(e.options instanceof Map?Array.from(e.options.values()):e.options).map(((e,n)=>Ws(e._def,{...t,currentPath:[...t.currentPath,"anyOf",`${n}`]}))).filter((e=>!!e&&(!t.strictUnions||"object"==typeof e&&Object.keys(e).length>0)));return n.length?{anyOf:n}:void 0})(e,t)}(e,n);case os.ZodIntersection:return function(e,t){const n=[Ws(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),Ws(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter((e=>!!e)),r=[];return n.forEach((e=>{if("type"in(t=e)&&"string"===t.type||!("allOf"in t)){let t=e;if("additionalProperties"in e&&!1===e.additionalProperties){const{additionalProperties:n,...r}=e;t=r}r.push(t)}else r.push(...e.allOf);var t})),r.length?{allOf:r}:void 0}(e,n);case os.ZodTuple:return function(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map(((e,n)=>Ws(e._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]}))).reduce(((e,t)=>void 0===t?e:[...e,t]),[]),additionalItems:Ws(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map(((e,n)=>Ws(e._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]}))).reduce(((e,t)=>void 0===t?e:[...e,t]),[])}}(e,n);case os.ZodRecord:return Us(e,n);case os.ZodLiteral:return function(e){const t=typeof e.value;return"bigint"!==t&&"number"!==t&&"boolean"!==t&&"string"!==t?{type:Array.isArray(e.value)?"array":"object"}:{type:"bigint"===t?"integer":t,const:e.value}}(e);case os.ZodEnum:return function(e){return{type:"string",enum:Array.from(e.values)}}(e);case os.ZodNativeEnum:return function(e){const t=e.values,n=Object.keys(e.values).filter((e=>"number"!=typeof t[t[e]])).map((e=>t[e])),r=Array.from(new Set(n.map((e=>typeof e))));return{type:1===r.length?"string"===r[0]?"string":"number":["string","number"],enum:n}}(e);case os.ZodNullable:return function(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return{type:[Zs[e.innerType._def.typeName],"null"]};const n=Ws(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{type:"null"}]}}(e,n);case os.ZodOptional:return((e,t)=>{var n;if(t.currentPath.toString()===(null==(n=t.propertyPath)?void 0:n.toString()))return Ws(e.innerType._def,t);const r=Ws(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return r?{anyOf:[{not:{}},r]}:{}})(e,n);case os.ZodMap:return function(e,t){return"record"===t.mapStrategy?Us(e,t):{type:"array",maxItems:125,items:{type:"array",items:[Ws(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||{},Ws(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||{}],minItems:2,maxItems:2}}}(e,n);case os.ZodSet:return function(e,t){const n={type:"array",uniqueItems:!0,items:Ws(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]})};return e.minSize&&(n.minItems=e.minSize.value),e.maxSize&&(n.maxItems=e.maxSize.value),n}(e,n);case os.ZodLazy:return()=>e.getter()._def;case os.ZodPromise:return function(e,t){return Ws(e.type._def,t)}(e,n);case os.ZodNaN:case os.ZodNever:return{not:{}};case os.ZodEffects:return function(e,t){return"input"===t.effectStrategy?Ws(e.schema._def,t):{}}(e,n);case os.ZodAny:case os.ZodUnknown:return{};case os.ZodDefault:return function(e,t){return{...Ws(e.innerType._def,t),default:e.defaultValue()}}(e,n);case os.ZodBranded:return _s(e,n);case os.ZodReadonly:case os.ZodCatch:return((e,t)=>Ws(e.innerType._def,t))(e,n);case os.ZodPipeline:return((e,t)=>{if("input"===t.pipeStrategy)return Ws(e.in._def,t);if("output"===t.pipeStrategy)return Ws(e.out._def,t);const n=Ws(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]});return{allOf:[n,Ws(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",n?"1":"0"]})].filter((e=>void 0!==e))}})(e,n);case os.ZodFunction:case os.ZodVoid:case os.ZodSymbol:default:return}};function Ws(e,t,n=!1){var r;const a=t.seen.get(e);if(t.override){const o=null==(r=t.override)?void 0:r.call(t,e,t,a,n);if(o!==ks)return o}if(a&&!n){const e=Gs(a,t);if(void 0!==e)return e}const o={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,o);const i=Vs(e,e.typeName,t),s="function"==typeof i?Ws(i(),t):i;if(s&&Ks(e,t,s),t.postProcess){const n=t.postProcess(s,e,t);return o.jsonSchema=s,n}return o.jsonSchema=s,s}var Gs=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:Ds(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every(((e,n)=>t.currentPath[n]===e))?(console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),{}):"seen"===t.$refStrategy?{}:void 0}},Ks=(e,t,n)=>(e.description&&(n.description=e.description),n),Qs=(e,t)=>{var n;const r=(e=>{const t=(e=>"string"==typeof e?{...ws,name:e}:{...ws,...e})(e),n=void 0!==t.name?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,currentPath:n,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map((([e,n])=>[n._def,{def:n._def,path:[...t.basePath,t.definitionPath,e],jsonSchema:void 0}])))}})(t);let a="object"==typeof t&&t.definitions?Object.entries(t.definitions).reduce(((e,[t,n])=>{var a;return{...e,[t]:null!=(a=Ws(n._def,{...r,currentPath:[...r.basePath,r.definitionPath,t]},!0))?a:{}}}),{}):void 0;const o="string"==typeof t?t:"title"===(null==t?void 0:t.nameStrategy)||null==t?void 0:t.name,i=null!=(n=Ws(e._def,void 0===o?r:{...r,currentPath:[...r.basePath,r.definitionPath,o]},!1))?n:{},s="object"==typeof t&&void 0!==t.name&&"title"===t.nameStrategy?t.name:void 0;void 0!==s&&(i.title=s);const u=void 0===o?a?{...i,[r.definitionPath]:a}:i:{$ref:[..."relative"===r.$refStrategy?[]:r.basePath,r.definitionPath,o].join("/"),[r.definitionPath]:{...a,[o]:i}};return u.$schema="http://json-schema.org/draft-07/schema#",u};function Js(e,t){return function(e){return"_zod"in e}(e)?function(e){return Xs(function(e,t){if(e instanceof _r){var n,r=new Vr(t),a={}
2,o=S(e._idmap.entries());try{for(o.s();!(n=o.n()).done;){var i=M(n.value,2),s=(i[0],i[1]);r.process(s)}}catch(e){o.e(e)}finally{o.f()}var u,l={},c={registry:e,uri:null==t?void 0:t.uri,defs:a},d=S(e._idmap.entries());try{for(d.s();!(u=d.n()).done;){var p=M(u.value,2),f=p[0],h=p[1];l[f]=r.emit(h,j(j({},t),{},{external:c}))}}catch(e){d.e(e)}finally{d.f()}if(Object.keys(a).length>0){var m="draft-2020-12"===r.target?"$defs":"definitions";l.__shared=F({},m,a)}return{schemas:l}}var g=new Vr(t);return g.process(e),g.emit(e,t)}(e,{target:"draft-7",io:"output",reused:"inline"}),{validate:async t=>{const n=await aa(e,t);return n.success?{success:!0,value:n.data}:{success:!1,error:n.error}}})}(e):function(e){return Xs(Qs(e,{$refStrategy:"none"}),{validate:async t=>{const n=await e.safeParseAsync(t);return n.success?{success:!0,value:n.data}:{success:!1,error:n.error}}})}(e)}var Ys=Symbol.for("vercel.ai.schema");function Xs(e,{validate:t}={}){return{[Ys]:!0,_type:void 0,[ms]:!0,jsonSchema:e,validate:t}}var eu,tu=Object.defineProperty,nu="AI_NoObjectGeneratedError",ru=`vercel.ai.error.${nu}`,au=Symbol.for(ru),ou=class extends oe{constructor({message:e="No object generated.",cause:t,text:n,response:r,usage:a,finishReason:o}){super({name:nu,message:e,cause:t}),this[eu]=!0,this.text=n,this.response=r,this.usage=a,this.finishReason=o}static isInstance(e){return oe.hasMarker(e,ru)}};eu=au;var iu,su,uu="5.0.48",lu=ro([ga(),Ao(Uint8Array),Ao(ArrayBuffer),(iu=e=>{var t,n;return null!=(n=null==(t=globalThis.Buffer)?void 0:t.isBuffer(e))&&n},su={message:"Must be a Buffer"},function(e,t,n){var r,a=Ge(n);return null!==(r=a.abort)&&void 0!==r||(a.abort=!0),new e(j({type:"custom",check:"custom",fn:t},a))}(xo,null!=iu?iu:function(){return!0},su))]),cu=new Fo({type:"lazy",getter:()=>ro([Ha(),ga(),La(),Ua(),so(ga(),cu),Ja(cu)])}),du=so(ga(),so(ga(),cu)),pu=Xa({type:po("text"),text:ga(),providerOptions:du.optional()}),fu=Xa({type:po("image"),image:ro([lu,Ao(URL)]),mediaType:ga().optional(),providerOptions:du.optional()}),hu=Xa({type:po("file"),data:ro([lu,Ao(URL)]),filename:ga().optional(),mediaType:ga(),providerOptions:du.optional()}),mu=Xa({type:po("reasoning"),text:ga(),providerOptions:du.optional()}),gu=Xa({type:po("tool-call"),toolCallId:ga(),toolName:ga(),input:Wa(),providerOptions:du.optional(),providerExecuted:Ua().optional()}),vu=new ao(j({type:"union",options:[Xa({type:po("text"),value:ga()}),Xa({type:po("json"),value:cu}),Xa({type:po("error-text"),value:ga()}),Xa({type:po("error-json"),value:cu}),Xa({type:po("content"),value:Ja(ro([Xa({type:po("text"),text:ga()}),Xa({type:po("media"),data:ga(),mediaType:ga()})]))})],discriminator:"type"},Ge(undefined))),yu=Xa({type:po("tool-result"),toolCallId:ga(),toolName:ga(),output:vu,providerOptions:du.optional()}),bu=Xa({role:po("system"),content:ga(),providerOptions:du.optional()}),Du=Xa({role:po("user"),content:ro([ga(),Ja(ro([pu,fu,hu]))]),providerOptions:du.optional()}),ku=Xa({role:po("assistant"),content:ro([ga(),Ja(ro([pu,hu,mu,gu,yu]))]),providerOptions:du.optional()});ro([bu,Du,ku,Xa({role:po("tool"),content:Ja(yu),providerOptions:du.optional()})]),ds({prefix:"aitxt",size:24}),TransformStream;var wu=ro([eo({type:po("text-start"),id:ga(),providerMetadata:du.optional()}),eo({type:po("text-delta"),id:ga(),delta:ga(),providerMetadata:du.optional()}),eo({type:po("text-end"),id:ga(),providerMetadata:du.optional()}),eo({type:po("error"),errorText:ga()}),eo({type:po("tool-input-start"),toolCallId:ga(),toolName:ga(),providerExecuted:Ua().optional(),dynamic:Ua().optional()}),eo({type:po("tool-input-delta"),toolCallId:ga(),inputTextDelta:ga()}),eo({type:po("tool-input-available"),toolCallId:ga(),toolName:ga(),input:Wa(),providerExecuted:Ua().optional(),providerMetadata:du.optional(),dynamic:Ua().optional()}),eo({type:po("tool-input-error"),toolCallId:ga(),toolName:ga(),input:Wa(),providerExecuted:Ua().optional(),providerMetadata:du.optional(),dynamic:Ua().optional(),errorText:ga()}),eo({type:po("tool-output-available"),toolCallId:ga(),output:Wa(),providerExecuted:Ua().optional(),dynamic:Ua().optional(),preliminary:Ua().optional()}),eo({type:po("tool-output-error"),toolCallId:ga(),errorText:ga(),providerExecuted:Ua().optional(),dynamic:Ua().optional()}),eo({type:po("reasoning"),text:ga(),providerMetadata:du.optional()}),eo({type:po("reasoning-start"),id:ga(),providerMetadata:du.optional()}),eo({type:po("reasoning-delta"),id:ga(),delta:ga(),providerMetadata:du.optional()}),eo({type:po("reasoning-end"),id:ga(),providerMetadata:du.optional()}),eo({type:po("reasoning-part-finish")}),eo({type:po("source-url"),sourceId:ga(),url:ga(),title:ga().optional(),providerMetadata:du.optional()}),eo({type:po("source-document"),sourceId:ga(),mediaType:ga(),title:ga(),filename:ga().optional(),providerMetadata:du.optional()}),eo({type:po("file"),url:ga(),mediaType:ga(),providerMetadata:du.optional()}),eo({type:ga().startsWith("data-"),id:ga().optional(),data:Wa(),transient:Ua().optional()}),eo({type:po("start-step")}),eo({type:po("finish-step")}),eo({type:po("start"),messageId:ga().optional(),messageMetadata:Wa().optional()}),eo({type:po("finish"),messageMetadata:Wa().optional()}),eo({type:po("abort")}),eo({type:po("message-metadata"),messageMetadata:Wa()})]);function _u(e,t){if(void 0===e&&void 0===t)return;if(void 0===e)return t;if(void 0===t)return e;const n={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const a=t[r];if(void 0===a)continue;const o=r in e?e[r]:void 0,i=!(null===a||"object"!=typeof a||Array.isArray(a)||a instanceof Date||a instanceof RegExp),s=!(null==o||"object"!=typeof o||Array.isArray(o)||o instanceof Date||o instanceof RegExp);n[r]=i&&s?_u(o,a):a}return n}function Eu(e){const t=["ROOT"];let n=-1,r=null;function a(e,a,o){switch(e){case'"':n=a,t.pop(),t.push(o),t.push("INSIDE_STRING");break;case"f":case"t":case"n":n=a,r=a,t.pop(),t.push(o),t.push("INSIDE_LITERAL");break;case"-":t.pop(),t.push(o),t.push("INSIDE_NUMBER");break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n=a,t.pop(),t.push(o),t.push("INSIDE_NUMBER");break;case"{":n=a,t.pop(),t.push(o),t.push("INSIDE_OBJECT_START");break;case"[":n=a,t.pop(),t.push(o),t.push("INSIDE_ARRAY_START")}}function o(e,r){switch(e){case",":t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break;case"}":n=r,t.pop()}}function i(e,r){switch(e){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":n=r,t.pop()}}for(let u=0;u<e.length;u++){const s=e[u];switch(t[t.length-1]){case"ROOT":a(s,u,"FINISH");break;case"INSIDE_OBJECT_START":switch(s){case'"':t.pop(),t.push("INSIDE_OBJECT_KEY");break;case"}":n=u,t.pop()}break;case"INSIDE_OBJECT_AFTER_COMMA":'"'===s&&(t.pop(),t.push("INSIDE_OBJECT_KEY"));break;case"INSIDE_OBJECT_KEY":'"'===s&&(t.pop(),t.push("INSIDE_OBJECT_AFTER_KEY"));break;case"INSIDE_OBJECT_AFTER_KEY":":"===s&&(t.pop(),t.push("INSIDE_OBJECT_BEFORE_VALUE"));break;case"INSIDE_OBJECT_BEFORE_VALUE":a(s,u,"INSIDE_OBJECT_AFTER_VALUE");break;case"INSIDE_OBJECT_AFTER_VALUE":o(s,u);break;case"INSIDE_STRING":switch(s){case'"':t.pop(),n=u;break;case"\\":t.push("INSIDE_STRING_ESCAPE");break;default:n=u}break;case"INSIDE_ARRAY_START":"]"===s?(n=u,t.pop()):(n=u,a(s,u,"INSIDE_ARRAY_AFTER_VALUE"));break;case"INSIDE_ARRAY_AFTER_VALUE":switch(s){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":n=u,t.pop();break;default:n=u}break;case"INSIDE_ARRAY_AFTER_COMMA":a(s,u,"INSIDE_ARRAY_AFTER_VALUE");break;case"INSIDE_STRING_ESCAPE":t.pop(),n=u;break;case"INSIDE_NUMBER":switch(s){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n=u;break;case"e":case"E":case"-":case".":break;case",":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(s,u),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&o(s,u);break;case"}":t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&o(s,u);break;case"]":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(s,u);break;default:t.pop()}break;case"INSIDE_LITERAL":{const a=e.substring(r,u+1);"false".startsWith(a)||"true".startsWith(a)||"null".startsWith(a)?n=u:(t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]?o(s,u):"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(s,u));break}}}let s=e.slice(0,n+1);for(let u=t.length-1;u>=0;u--)switch(t[u]){case"INSIDE_STRING":s+='"';break;case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":s+="}";break;case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":s+="]";break;case"INSIDE_LITERAL":{const t=e.substring(r,e.length);"true".startsWith(t)?s+="true".slice(t.length):"false".startsWith(t)?s+="false".slice(t.length):"null".startsWith(t)&&(s+="null".slice(t.length))}}return s}async function Cu(e){if(void 0===e)return{value:void 0,state:"undefined-input"};let t=await ys({text:e});return t.success?{value:t.value,state:"successful-parse"}:(t=await ys({text:Eu(e)}),t.success?{value:t.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}function Su(e){return e.type.startsWith("tool-")}function Fu(e){return Su(e)||function(e){return"dynamic-tool"===e.type}(e)}function xu(e){return e.type.split("-").slice(1).join("-")}function Au({lastMessage:e,messageId:t}){return{message:"assistant"===(null==e?void 0:e.role)?e:{id:t,metadata:void 0,role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}
2function Iu({stream:e,messageMetadataSchema:t,dataPartSchemas:n,runUpdateMessageJob:r,onError:a,onToolCall:o,onData:i}){return e.pipeThrough(new TransformStream({async transform(e,s){await r((async({state:r,write:u})=>{var l,c,d,p;function f(e){const t=r.message.parts.filter(Su).find((t=>t.toolCallId===e));if(null==t)throw new Error("tool-output-error must be preceded by a tool-input-available");return t}function h(e){const t=r.message.parts.filter((e=>"dynamic-tool"===e.type)).find((t=>t.toolCallId===e));if(null==t)throw new Error("tool-output-error must be preceded by a tool-input-available");return t}function m(e){var t;const n=r.message.parts.find((t=>Su(t)&&t.toolCallId===e.toolCallId)),a=e,o=n;null!=n?(n.state=e.state,o.input=a.input,o.output=a.output,o.errorText=a.errorText,o.rawInput=a.rawInput,o.preliminary=a.preliminary,o.providerExecuted=null!=(t=a.providerExecuted)?t:n.providerExecuted,null!=a.providerMetadata&&"input-available"===n.state&&(n.callProviderMetadata=a.providerMetadata)):r.message.parts.push({type:`tool-${e.toolName}`,toolCallId:e.toolCallId,state:e.state,input:a.input,output:a.output,rawInput:a.rawInput,errorText:a.errorText,providerExecuted:a.providerExecuted,preliminary:a.preliminary,...null!=a.providerMetadata?{callProviderMetadata:a.providerMetadata}:{}})}function g(e){var t;const n=r.message.parts.find((t=>"dynamic-tool"===t.type&&t.toolCallId===e.toolCallId)),a=e,o=n;null!=n?(n.state=e.state,o.toolName=e.toolName,o.input=a.input,o.output=a.output,o.errorText=a.errorText,o.rawInput=null!=(t=a.rawInput)?t:o.rawInput,o.preliminary=a.preliminary,null!=a.providerMetadata&&"input-available"===n.state&&(n.callProviderMetadata=a.providerMetadata)):r.message.parts.push({type:"dynamic-tool",toolName:e.toolName,toolCallId:e.toolCallId,state:e.state,input:a.input,output:a.output,errorText:a.errorText,preliminary:a.preliminary,...null!=a.providerMetadata?{callProviderMetadata:a.providerMetadata}:{}})}async function v(e){if(null!=e){const n=null!=r.message.metadata?_u(r.message.metadata,e):e;null!=t&&await gs({value:n,schema:t}),r.message.metadata=n}}switch(e.type){case"text-start":{const t={type:"text",text:"",providerMetadata:e.providerMetadata,state:"streaming"};r.activeTextParts[e.id]=t,r.message.parts.push(t),u();break}case"text-delta":{const t=r.activeTextParts[e.id];t.text+=e.delta,t.providerMetadata=null!=(l=e.providerMetadata)?l:t.providerMetadata,u();break}case"text-end":{const t=r.activeTextParts[e.id];t.state="done",t.providerMetadata=null!=(c=e.providerMetadata)?c:t.providerMetadata,delete r.activeTextParts[e.id],u();break}case"reasoning-start":{const t={type:"reasoning",text:"",providerMetadata:e.providerMetadata,state:"streaming"};r.activeReasoningParts[e.id]=t,r.message.parts.push(t),u();break}case"reasoning-delta":{const t=r.activeReasoningParts[e.id];t.text+=e.delta,t.providerMetadata=null!=(d=e.providerMetadata)?d:t.providerMetadata,u();break}case"reasoning-end":{const t=r.activeReasoningParts[e.id];t.providerMetadata=null!=(p=e.providerMetadata)?p:t.providerMetadata,t.state="done",delete r.activeReasoningParts[e.id],u();break}case"file":r.message.parts.push({type:"file",mediaType:e.mediaType,url:e.url}),u();break;case"source-url":r.message.parts.push({type:"source-url",sourceId:e.sourceId,url:e.url,title:e.title,providerMetadata:e.providerMetadata}),u();break;case"source-document":r.message.parts.push({type:"source-document",sourceId:e.sourceId,mediaType:e.mediaType,title:e.title,filename:e.filename,providerMetadata:e.providerMetadata}),u();break;case"tool-input-start":{const t=r.message.parts.filter(Su);r.partialToolCalls[e.toolCallId]={text:"",toolName:e.toolName,index:t.length,dynamic:e.dynamic},e.dynamic?g({toolCallId:e.toolCallId,toolName:e.toolName,state:"input-streaming",input:void 0}):m({toolCallId:e.toolCallId,toolName:e.toolName,state:"input-streaming",input:void 0,providerExecuted:e.providerExecuted}),u();break}case"tool-input-delta":{const t=r.partialToolCalls[e.toolCallId];t.text+=e.inputTextDelta;const{value:n}=await Cu(t.text);t.dynamic?g({toolCallId:e.toolCallId,toolName:t.toolName,state:"input-streaming",input:n}):m({toolCallId:e.toolCallId,toolName:t.toolName,state:"input-streaming",input:n}),u();break}case"tool-input-available":e.dynamic?g({toolCallId:e.toolCallId,toolName:e.toolName,state:"input-available",input:e.input,providerMetadata:e.providerMetadata}):m({toolCallId:e.toolCallId,toolName:e.toolName,state:"input-available",input:e.input,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata}),u(),o&&!e.providerExecuted&&await o({toolCall:e});break;case"tool-input-error":e.dynamic?g({toolCallId:e.toolCallId,toolName:e.toolName,state:"output-error",input:e.input,errorText:e.errorText,providerMetadata:e.providerMetadata}):m({toolCallId:e.toolCallId,toolName:e.toolName,state:"output-error",input:void 0,rawInput:e.input,errorText:e.errorText,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata}),u();break;case"tool-output-available":if(e.dynamic){const t=h(e.toolCallId);g({toolCallId:e.toolCallId,toolName:t.toolName,state:"output-available",input:t.input,output:e.output,preliminary:e.preliminary})}else{const t=f(e.toolCallId);m({toolCallId:e.toolCallId,toolName:xu(t),state:"output-available",input:t.input,output:e.output,providerExecuted:e.providerExecuted,preliminary:e.preliminary})}u();break;case"tool-output-error":if(e.dynamic){const t=h(e.toolCallId);g({toolCallId:e.toolCallId,toolName:t.toolName,state:"output-error",input:t.input,errorText:e.errorText})}else{const t=f(e.toolCallId);m({toolCallId:e.toolCallId,toolName:xu(t),state:"output-error",input:t.input,rawInput:t.rawInput,errorText:e.errorText})}u();break;case"start-step":r.message.parts.push({type:"step-start"});break;case"finish-step":r.activeTextParts={},r.activeReasoningParts={};break;case"start":null!=e.messageId&&(r.message.id=e.messageId),await v(e.messageMetadata),null==e.messageId&&null==e.messageMetadata||u();break;case"finish":case"message-metadata":await v(e.messageMetadata),null!=e.messageMetadata&&u();break;case"error":null==a||a(new Error(e.errorText));break;default:if(function(e){return e.type.startsWith("data-")}(e)){null!=(null==n?void 0:n[e.type])&&await gs({value:e.data,schema:n[e.type]});const t=e;if(t.transient){null==i||i(t);break}const a=null!=t.id?r.message.parts.find((e=>t.type===e.type&&t.id===e.id)):void 0;null!=a?a.data=t.data:r.message.parts.push(t),null==i||i(t),u()}}s.enqueue(e)}
2))}}))}ds({prefix:"aitxt",size:24}),ds({prefix:"aiobj",size:24});var Tu=class{constructor(){this.queue=[],this.isProcessing=!1}async processQueue(){if(!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;)await this.queue[0](),this.queue.shift();this.isProcessing=!1}}async run(e){return new Promise(((t,n)=>{this.queue.push((async()=>{try{await e(),t()}catch(e){n(e)}})),this.processQueue()}))}};ds({prefix:"aiobj",size:24}),((e,t)=>{for(var n in t)tu(e,n,{get:t[n],enumerable:!0})})({},{object:()=>ju,text:()=>Ou});var Ou=()=>({type:"text",responseFormat:{type:"text"},parsePartial:async({text:e})=>({partial:e}),parseOutput:async({text:e})=>e}),ju=({schema:e})=>{const t=function(e){return null==e?Xs({properties:{},additionalProperties:!1}):"object"==typeof(t=e)&&null!==t&&Ys in t&&!0===t[Ys]&&"jsonSchema"in t&&"validate"in t?e:Js(e);var t}(e);return{type:"object",responseFormat:{type:"json",schema:t.jsonSchema},async parsePartial({text:e}){const t=await Cu(e);switch(t.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:t.value};default:{const e=t.state;throw new Error(`Unsupported parse state: ${e}`)}}},async parseOutput({text:e},n){const r=await ys({text:e});if(!r.success)throw new ou({message:"No object generated: could not parse the response.",cause:r.error,text:e,response:n.response,usage:n.usage,finishReason:n.finishReason});const a=await vs({value:r.value,schema:t});if(!a.success)throw new ou({message:"No object generated: response did not match schema.",cause:a.error,text:e,response:n.response,usage:n.usage,finishReason:n.finishReason});return a.value}}},Pu=to({name:ga(),version:ga()}),Nu=to({_meta:mo(Xa({}).loose())}),Ru=Nu,Bu=Xa({method:ga(),params:mo(Nu)}),Mu=to({experimental:mo(Xa({}).loose()),logging:mo(Xa({}).loose()),prompts:mo(to({listChanged:mo(Ua())})),resources:mo(to({subscribe:mo(Ua()),listChanged:mo(Ua())})),tools:mo(to({listChanged:mo(Ua())}))});Ru.extend({protocolVersion:ga(),capabilities:Mu,serverInfo:Pu,instructions:mo(ga())});var Lu=Ru.extend({nextCursor:mo(ga())}),zu=Xa({name:ga(),description:mo(ga()),inputSchema:Xa({type:po("object"),properties:mo(Xa({}).loose())}).loose()}).loose();Lu.extend({tools:Ja(zu)});var $u=Xa({type:po("text"),text:ga()}).loose(),qu=Xa({type:po("image"),data:Pa(),mimeType:ga()}).loose(),Uu=Xa({uri:ga(),mimeType:mo(ga())}).loose(),Zu=Uu.extend({text:ga()}),Hu=Uu.extend({blob:Pa()}),Vu=Xa({type:po("resource"),resource:ro([Zu,Hu])}).loose();Ru.extend({content:Ja(ro([$u,qu,Vu])),isError:Ua().default(!1).optional()}).or(Ru.extend({toolResult:Wa()}));var Wu="2.0",Gu=Xa({jsonrpc:po(Wu),id:ro([ga(),La().int()])}).merge(Bu).strict(),Ku=Xa({jsonrpc:po(Wu),id:ro([ga(),La().int()]),result:Ru}).strict(),Qu=Xa({jsonrpc:po(Wu),id:ro([ga(),La().int()]),error:Xa({code:La().int(),message:ga(),data:mo(Wa())})}).strict();ro([Gu,Xa({jsonrpc:po(Wu)}).merge(Xa({method:ga(),params:mo(Nu)})).strict(),Ku,Qu]);var Ju=class{constructor({api:e="/api/chat",credentials:t,headers:n,body:r,fetch:a,prepareSendMessagesRequest:o,prepareReconnectToStreamRequest:i}){this.api=e,this.credentials=t,this.headers=n,this.body=r,this.fetch=a,this.prepareSendMessagesRequest=o,this.prepareReconnectToStreamRequest=i}async sendMessages({abortSignal:e,...t}){var n,r,a,o,i;const s=await bs(this.body),u=await bs(this.headers),l=await bs(this.credentials),c=await(null==(n=this.prepareSendMessagesRequest)?void 0:n.call(this,{api:this.api,id:t.chatId,messages:t.messages,body:{...s,...t.body},headers:{...u,...t.headers},credentials:l,requestMetadata:t.metadata,trigger:t.trigger,messageId:t.messageId})),d=null!=(r=null==c?void 0:c.api)?r:this.api,p=void 0!==(null==c?void 0:c.headers)?c.headers:{...u,...t.headers},f=void 0!==(null==c?void 0:c.body)?c.body:{...s,...t.body,id:t.chatId,messages:t.messages,trigger:t.trigger,messageId:t.messageId},h=null!=(a=null==c?void 0:c.credentials)?a:l,m=null!=(o=this.fetch)?o:globalThis.fetch,g=await m(d,{method:"POST",headers:cs({"Content-Type":"application/json",...p},`ai-sdk/${uu}`,ls()),body:JSON.stringify(f),credentials:h,signal:e});if(!g.ok)throw new Error(null!=(i=await g.text())?i:"Failed to fetch the chat response.");if(!g.body)throw new Error("The response body is empty.");return this.processResponseStream(g.body)}async reconnectToStream(e){var t,n,r,a,o;const i=await bs(this.body),s=await bs(this.headers),u=await bs(this.credentials),l=await(null==(t=this.prepareReconnectToStreamRequest)?void 0:t.call(this,{api:this.api,id:e.chatId,body:{...i,...e.body},headers:{...s,...e.headers},credentials:u,requestMetadata:e.metadata})),c=null!=(n=null==l?void 0:l.api)?n:`${this.api}/${e.chatId}/stream`,d=void 0!==(null==l?void 0:l.headers)?l.headers:{...s,...e.headers},p=null!=(r=null==l?void 0:l.credentials)?r:u,f=null!=(a=this.fetch)?a:globalThis.fetch,h=await f(c,{method:"GET",headers:cs(d,`ai-sdk/${uu}`,ls()),credentials:p});if(204===h.status)return null;if(!h.ok)throw new Error(null!=(o=await h.text())?o:"Failed to fetch the chat response.");if(!h.body)throw new Error("The response body is empty.");return this.processResponseStream(h.body)}},Yu=class extends Ju{constructor(e={}){super(e)}processResponseStream(e){return function({stream:e,schema:t}){return e.pipeThrough(new TextDecoderStream).pipeThrough(new Ee).pi
vendor: 4,226 bytes, line 2
2peThrough(new TransformStream({async transform({data:e},n){"[DONE]"!==e&&n.enqueue(await ys({text:e,schema:t}))}}))}({stream:e,schema:wu}).pipeThrough(new TransformStream({async transform(e,t){if(!e.success)throw e.error;t.enqueue(e.value)}}))}},Xu=class{constructor({generateId:e=ps,id:t=e(),transport:n=new Yu,messageMetadataSchema:r,dataPartSchemas:a,state:o,onError:i,onToolCall:s,onFinish:u,onData:l,sendAutomaticallyWhen:c}){this.activeResponse=void 0,this.jobExecutor=new Tu,this.sendMessage=async(e,t)=>{var n,r,a,o;if(null==e)return void await this.makeRequest({trigger:"submit-message",messageId:null==(n=this.lastMessage)?void 0:n.id,...t});let i;if("text"in e||"files"in e){const t=Array.isArray(e.files)?e.files:await async function(e){if(null==e)return[];if(!(globalThis.FileList&&e instanceof globalThis.FileList))throw new Error("FileList is not supported in the current environment");return Promise.all(Array.from(e).map((async e=>{const{name:t,type:n}=e;return{type:"file",mediaType:n,filename:t,url:await new Promise(((t,n)=>{const r=new FileReader;r.onload=e=>{var n;t(null==(n=e.target)?void 0:n.result)},r.onerror=e=>n(e),r.readAsDataURL(e)}))}})))}(e.files);i={parts:[...t,..."text"in e&&null!=e.text?[{type:"text",text:e.text}]:[]]}}else i=e;if(null!=e.messageId){const t=this.state.messages.findIndex((t=>t.id===e.messageId));if(-1===t)throw new Error(`message with id ${e.messageId} not found`);if("user"!==this.state.messages[t].role)throw new Error(`message with id ${e.messageId} is not a user message`);this.state.messages=this.state.messages.slice(0,t+1),this.state.replaceMessage(t,{...i,id:e.messageId,role:null!=(r=i.role)?r:"user",metadata:e.metadata})}else this.state.pushMessage({...i,id:null!=(a=i.id)?a:this.generateId(),role:null!=(o=i.role)?o:"user",metadata:e.metadata});await this.makeRequest({trigger:"submit-message",messageId:e.messageId,...t})},this.regenerate=async({messageId:e,...t}={})=>{const n=null==e?this.state.messages.length-1:this.state.messages.findIndex((t=>t.id===e));if(-1===n)throw new Error(`message ${e} not found`);this.state.messages=this.state.messages.slice(0,"assistant"===this.messages[n].role?n:n+1),await this.makeRequest({trigger:"regenerate-message",messageId:e,...t})},this.resumeStream=async(e={})=>{await this.makeRequest({trigger:"resume-stream",...e})},this.clearError=()=>{"error"===this.status&&(this.state.error=void 0,this.setStatus({status:"ready"}))},this.addToolResult=async({tool:e,toolCallId:t,output:n})=>this.jobExecutor.run((async()=>{var e,r;const a=this.state.messages,o=a[a.length-1];this.state.replaceMessage(a.length-1,{...o,parts:o.parts.map((e=>Fu(e)&&e.toolCallId===t?{...e,state:"output-available",output:n}:e))}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map((e=>Fu(e)&&e.toolCallId===t?{...e,state:"output-available",output:n,errorText:void 0}:e))),"streaming"!==this.status&&"submitted"!==this.status&&(null==(e=this.sendAutomaticallyWhen)?void 0:e.call(this,{messages:this.state.messages}))&&this.makeRequest({trigger:"submit-message",messageId:null==(r=this.lastMessage)?void 0:r.id})})),this.stop=async()=>{var e;"streaming"!==this.status&&"submitted"!==this.status||(null==(e=this.activeResponse)?void 0:e.abortController)&&this.activeResponse.abortController.abort()},this.id=t,this.transport=n,this.generateId=e,this.messageMetadataSchema=r,this.dataPartSchemas=a,this.state=o,this.onError=i,this.onToolCall=s,this.onFinish=u,this.onData=l,this.sendAutomaticallyWhen=c}get status(){return this.state.status}setStatus({status:e,error:t}){this.status!==e&&(this.state.status=e,this.state.error=t)}get error(){return this.state.error}get messages(){return this.state.messages}get lastMessage(){return this.state.messages[this.state.messages.length-1]}set messages(e){this.state.messages=e}async makeRequest({trigger:e,metadata:t,headers:n,body:r,messageId:a}){var o,i,s;this.setStatus({status:"submitted",error:void 0});const u=this.lastMessage;let l=!1,c=!1,d=!1;try{const o={state:Au({lastMessage:this.state.snapshot(u),messageId:this.generateId()}),abortController:new AbortController};let i;if(o.abortController.signal.addEventListener("abort",(()=>{l=!0}
2)),this.activeResponse=o,"resume-stream"===e){const e=await this.transport.reconnectToStream({chatId:this.id,metadata:t,headers:n,body:r});if(null==e)return void this.setStatus({status:"ready"});i=e}else i=await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:o.abortController.signal,metadata:t,headers:n,body:r,trigger:e,messageId:a});const s=e=>this.jobExecutor.run((()=>e({state:o.state,write:()=>{var e;this.setStatus({status:"streaming"}),o.state.message.id===(null==(e=this.lastMessage)?void 0:e.id)?this.state.replaceMessage(this.state.messages.length-1,o.state.message):this.state.pushMessage(o.state.message)}})));await async function({stream:e,onError:t}){const n=e.getReader();try{for(;;){const{done:e}=await n.read();if(e)break}}catch(e){null==t||t(e)}finally{n.releaseLock()}}({stream:Iu({stream:i,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:s,onError:e=>{throw e}}),onError:e=>{throw e}}),this.setStatus({status:"ready"})}catch(e){if(l||"AbortError"===e.name)return l=!0,this.setStatus({status:"ready"}),null;d=!0,e instanceof TypeError&&(e.message.toLowerCase().includes("fetch")||e.message.toLowerCase().includes("network"))&&(c=!0),this.onError&&e instanceof Error&&this.onError(e),this.setStatus({status:"error",error:e})}finally{try{null==(o=this.onFinish)||o.call(this,{message:this.activeResponse.state.message,messages:this.state.messages,isAbort:l,isDisconnect:c,isError:d})}catch(e){console.error(e)}this.activeResponse=void 0}(null==(i=this.sendAutomaticallyWhen)?void 0:i.call(this,{messages:this.state.messages}))&&await this.makeRequest({trigger:"submit-message",messageId:null==(s=this.lastMessage)?void 0:s.id,metadata:t,headers:n,body:r})}};function el({messages:e}){const t=e[e.length-1];if(!t)return!1;if("assistant"!==t.role)return!1;const n=t.parts.reduce(((e,t,n)=>"step-start"===t.type?n:e),-1),r=t.parts.slice(n+1).filter(Fu);return r.length>0&&r.every((e=>"output-available"===e.state))}var tl,nl,rl=Xa({type:po("text"),text:ga(),state:lo(["streaming","done"]).optional(),providerMetadata:du.optional()}),al=Xa({type:po("reasoning"),text:ga(),state:lo(["streaming","done"]).optional(),providerMetadata:du.optional()}),ol=Xa({type:po("source-url"),sourceId:ga(),url:ga(),title:ga().optional(),providerMetadata:du.optional()}),il=Xa({type:po("source-document"),sourceId:ga(),mediaType:ga(),title:ga(),filename:ga().optional(),providerMetadata:du.optional()}),sl=Xa({type:po("file"),mediaType:ga(),filename:ga().optional(),url:ga(),providerMetadata:du.optional()}),ul=Xa({type:po("step-start")}),ll=Xa({type:ga().startsWith("data-"),id:ga().optional(),data:Wa()}),cl=[Xa({type:po("dynamic-tool"),toolName:ga(),toolCallId:ga(),state:po("input-streaming"),input:Wa().optional(),output:Ka().optional(),errorText:Ka().optional()}),Xa({type:po("dynamic-tool"),toolName:ga(),toolCallId:ga(),state:po("input-available"),input:Wa(),output:Ka().optional(),errorText:Ka().optional(),callProviderMetadata:du.optional()}),Xa({type:po("dynamic-tool"),toolName:ga(),toolCallId:ga(),state:po("output-available"),input:Wa(),output:Wa(),errorText:Ka().optional(),callProviderMetadata:du.optional(),preliminary:Ua().optional()}),Xa({type:po("dynamic-tool"),toolName:ga(),toolCallId:ga(),state:po("output-error"),input:Wa(),output:Ka().optional(),errorText:ga(),callProviderMetadata:du.optional()})],dl=[Xa({type:ga().startsWith("tool-"),toolCallId:ga(),state:po("input-streaming"),providerExecuted:Ua().optional(),input:Wa().optional(),output:Ka().optional(),errorText:Ka().optional()}),Xa({type:ga().startsWith("tool-"),toolCallId:ga(),state:po("input-available"),providerExecuted:Ua().optional(),input:Wa(),output:Ka().optional(),errorText:Ka().optional(),callProviderMetadata:du.optional()}),Xa({type:ga().startsWith("tool-"),toolCallId:ga(),state:po("output-available"),providerExecuted:Ua().optional(),input:Wa(),output:Wa(),errorText:Ka().optional(),callProviderMetadata:du.optional(),preliminary:Ua().optional()}),Xa({type:ga().startsWith("tool-"),toolCallId:ga(),state:po("output-error"),providerExecuted:Ua().optional(),input
2:Wa(),output:Ka().optional(),errorText:ga(),callProviderMetadata:du.optional()})];Xa({id:ga(),role:lo(["system","user","assistant"]),metadata:Wa().optional(),parts:Ja(ro([rl,al,ol,il,sl,ul,ll,...cl,...dl]))});var pl,fl,hl,ml,gl,vl,yl,bl,Dl,kl,wl=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}((nl||(nl=1,tl=function(e,t){if("function"!=typeof e)throw new TypeError("Expected the first argument to be a `function`, got `".concat($(e),"`."));var n,r=0;return function(){for(var a=this,o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];clearTimeout(n);var u=Date.now(),l=t-(u-r);l<=0?(r=u,e.apply(this,i)):n=setTimeout((function(){r=Date.now(),e.apply(a,i)}),l)}}),tl)),_l=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},El=(e,t,n)=>(_l(e,t,"read from private field"),n?n.call(e):t.get(e)),Cl=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Sl=(e,t,n,r)=>(_l(e,t,"write to private field"),t.set(e,n),n),Fl=class{constructor(e=[]){Cl(this,pl,void 0),Cl(this,fl,"ready"),Cl(this,hl,void 0),Cl(this,ml,new Set),Cl(this,gl,new Set),Cl(this,vl,new Set),this.pushMessage=e=>{Sl(this,pl,El(this,pl).concat(e)),El(this,yl).call(this)},this.popMessage=()=>{Sl(this,pl,El(this,pl).slice(0,-1)),El(this,yl).call(this)},this.replaceMessage=(e,t)=>{Sl(this,pl,[...El(this,pl).slice(0,e),this.snapshot(t),...El(this,pl).slice(e+1)]),El(this,yl).call(this)},this.snapshot=e=>structuredClone(e),this["~registerMessagesCallback"]=(e,t)=>{const n=t?function(e,t){return null!=t?wl(e,t):e}(e,t):e;return El(this,ml).add(n),()=>{El(this,ml).delete(n)}},this["~registerStatusCallback"]=e=>(El(this,gl).add(e),()=>{El(this,gl).delete(e)}),this["~registerErrorCallback"]=e=>(El(this,vl).add(e),()=>{El(this,vl).delete(e)}),Cl(this,yl,(()=>{El(this,ml).forEach((e=>e()))})),Cl(this,bl,(()=>{El(this,gl).forEach((e=>e()))})),Cl(this,Dl,(()=>{El(this,vl).forEach((e=>e()))})),Sl(this,pl,e)}get status(){return El(this,fl)}set status(e){Sl(this,fl,e),El(this,bl).call(this)}get error(){return El(this,hl)}set error(e){Sl(this,hl,e),El(this,Dl).call(this)}get messages(){return El(this,pl)}set messages(e){Sl(this,pl,[...e]),El(this,yl).call(this)}};pl=new WeakMap,fl=new WeakMap,hl=new WeakMap,ml=new WeakMap,gl=new WeakMap,vl=new WeakMap,yl=new WeakMap,bl=new WeakMap,Dl=new WeakMap;var xl=class extends Xu{constructor({messages:e,...t}){const n=new Fl(e);super({...t,state:n}),Cl(this,kl,void 0),this["~registerMessagesCallback"]=(e,t)=>El(this,kl)["~registerMessagesCallback"](e,t),this["~registerStatusCallback"]=e=>El(this,kl)["~registerStatusCallback"](e),this["~registerErrorCallback"]=e=>El(this,kl)["~registerErrorCallback"](e),Sl(this,kl,n)}};function Al(e,t){var n=void 0;return function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];n&&clearTimeout(n),n=setTimeout((function(){return e.apply(void 0,a)}),t)}}function Il(e){return e.reduce((function(e,t){return e.concat(t)}),[])}kl=new WeakMap;var Tl=0;function Ol(e){return 0===e.collections.length?0:e.collections.reduce((function(e,t){return e+t.items.length}),0)}function jl(e){return e!==Object(e)}function Pl(e,t){if(e===t)return!0;if(jl(e)||jl(t)||"function"==typeof e||"function"==typeof t)return e===t;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n=0,r=Object.keys(e);n<r.length;n++){var a=r[n];if(!(a in t))return!1;if(!Pl(e[a],t[a]))return!1}return!0}var Nl=function(){},Rl=[{segment:"autocomplete-core",version:"1.19.2"}];function Bl(e){var t=e.item,n=e.items,r=void 0===n?[]:n;return{index:t.__autocomplete_indexName,items:[t],positions:[1+r.findIndex((function(e){return e.objectID===t.objectID}))],queryID:t.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function Ml(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ll=["items"],zl=["items"];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 ql(e){return function(e){if(Array.isArray(e))return Ul(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ul(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ul(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ul(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zl(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Hl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Hl(Object(n),!0).forEach((function(t){Wl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wl(e,t,n){return(t=function(e){var t=function(e){if("object"!==$l(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==$l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===$l(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e){return e.map((function(e){var t=e.items,n=Zl(e,Ll);return Vl(Vl({},n),{},{objectIDs:(null==t?void 0:t.map((function(e){return e.objectID})))||n.objectIDs})}))}function Kl(e){var t,n,r,a=(t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,a=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ml(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ml(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((e.version||"").split(".").map(Number),2),n=t[0],r=t[1],n>=3||2===n&&r>=4||1===n&&r>=10);function o(t,n,r){if(a&&void 0!==r){var o=r[0].__autocomplete_algoliaCredentials,i={"X-Algolia-Application-Id":o.appId,"X-Algolia-API-Key":o.apiKey};e.apply(void 0,[t].concat(ql(n),[{headers:i}]))}else e.apply(void 0,[t].concat(ql(n)))}return{init:function(t,n){e("init",{appId:t,apiKey:n})},setAuthenticatedUserToken:function(t){e("setAuthenticatedUserToken",t)},setUserToken:function(t){e("setUserToken",t)},clickedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&o("clickedObjectIDsAfterSearch",Gl(t),t[0].items)},clickedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&o("clickedObjectIDs",Gl(t),t[0].items)},clickedFilters:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n.length>0&&e.apply(void 0,["clickedFilters"].concat(n))},convertedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&o("convertedObjectIDsAfterSearch",Gl(t),t[0].items)},convertedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&o("convertedObjectIDs",Gl(t),t[0].items)},convertedFilters:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n.length>0&&e.apply(void 0,["convertedFilters"].concat(n))},viewedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&t.reduce((function(e,t){var n=t.items,r=Zl(t,zl);return[].concat(ql(e),ql(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,n=[],r=0;r<e.objectIDs.length;r+=t)n.push(Vl(Vl({},e),{},{objectIDs:e.objectIDs.slice(r,r+t)}));return n}(Vl(Vl({},r),{},{objectIDs:(null==n?void 0:n.map((function(e){return e.objectID})))||r.objectIDs})).map((function(e){return{items:n,payload:e}}))))}),[]).forEach((function(e){var t=e.items;return o("viewedObjectIDs",[e.payload],t)}))},viewedFilters:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n.length>0&&e.apply(void 0,["viewedFilters"].concat(n))}}}function Ql(e){var t=e.items.reduce((function(e,t){var n;return e[t.__autocomplete_indexName]=(null!==(n=e[t.__autocomplete_indexName])&&void 0!==n?n:[]).concat(t),e}),{});return Object.keys(t).map((function(e){return{index:e,items:t[e],algoliaSource:["autocomplete"]}}))}function Jl(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function Yl(e){return Yl="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},Yl(e)}function Xl(e){return function(e){if(Array.isArray(e))return ec(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ec(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ec(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ec(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?tc(Object(n),!0).forEach((function(t){rc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rc(e,t,n){return(t=function(e){var t=function(e){if("object"!==Yl(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Yl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Yl(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ac="2.15.0",oc="https://cdn.jsdelivr.net/npm/search-insights@".concat(ac,"/dist/search-insights.min.js"),ic=Al((function(e){var t=e.onItemsChange,n=e.items,r=e.insights,a=e.state;t({insights:r,insightsEvents:Ql({items:n}).map((function(e){return nc({eventName:"Items Viewed"},e)})),state:a})}),400);function sc(e){var t=function(e){return nc({onItemsChange:function(e){var t=e.insights,n=e.insightsEvents,r=e.state;t.viewedObjectIDs.apply(t,Xl(n.map((function(e){return nc(nc({},e),{},{algoliaSource:uc(e.algoliaSource,r.context)})}))))},onSelect:function(e){var t=e.insights,n=e.insightsEvents,r=e.state;t.clickedObjectIDsAfterSearch.apply(t,Xl(n.map((function(e){return nc(nc({},e),{},{algoliaSource:uc(e.algoliaSource,r.context)})}))))},onActive:Nl,__autocomplete_clickAnalytics:!0},e)}(e),n=t.insightsClient,r=t.insightsInitParams,a=t.onItemsChange,o=t.onSelect,i=t.onActive,s=t.__autocomplete_clickAnalytics,u=n;if(n||"undefined"!=typeof window&&function(e){var t=e.window,n=t.AlgoliaAnalyticsObject||"aa";"string"==typeof n&&(u=t[n]),u||(t.AlgoliaAnalyticsObject=n,t[n]||(t[n]=function(){t[n].queue||(t[n].queue=[]);for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];t[n].queue.push(r)}),t[n].version=ac,u=t[n],function(e){var t="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var n=e.document.createElement("script");n.async=!0,n.src=oc,n.onerror=function(){console.error(t)},document.body.appendChild(n)}catch(e){console.error(t)}}(t))}({window:window}),!u)return{};r&&u("init",nc({partial:!0},r));var l=Kl(u),c={current:[]},d=Al((function(e){var t=e.state;if(t.isOpen){var n=t.collections.reduce((function(e,t){return[].concat(Xl(e),Xl(t.items))}),[]).filter(Jl);Pl(c.current.map((function(e){return e.objectID})),n.map((function(e){return e.objectID})))||(c.current=n,n.length>0&&ic({onItemsChange:a,items:n,insights:l,state:t}))}}),0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(e){var t=e.setContext,n=e.onSelect,r=e.onActive;function a(e){t({algoliaInsightsPlugin:{__algoliaSearchParameters:nc(nc({},s?{clickAnalytics:!0}:{}),e?{userToken:lc(e)}:{}),insights:l}})}u("addAlgoliaAgent","insights-plugin"),a(),u("onUserTokenChange",(function(e){a(e)})),u("getUserToken",null,(function(e,t){a(t)})),n((function(e){var t=e.item,n=e.state,r=e.event,a=e.source;Jl(t)&&o({state:n,event:r,insights:l,item:t,insightsEvents:[nc({eventName:"Item Selected"},Bl({item:t,items:a.getItems().filter(Jl)}))]})})),r((function(e){var t=e.item,n=e.source,r=e.state,a=e.event;Jl(t)&&i({state:r,event:a,insights:l,item:t,insightsEvents:[nc({eventName:"Item Active"},Bl({item:t,items:n.getItems().filter(Jl)}))]})}))},onStateChange:function(e){var t=e.state;d({state:t})},__autocomplete_pluginOptions:e}}function uc(){var e,t=arguments.length>1?arguments[1]:void 0;return[].concat(Xl(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]),["autocomplete-internal"],Xl(null!==(e=t.algoliaInsightsPlugin)&&void 0!==e&&e.__automaticInsights?["autocomplete-automatic"]:[]))}function lc(e){return"number"==typeof e?e.toString():e}function cc(e,t){var n=t;return{then:function(t,r){return cc(e.then(pc(t,n,e),pc(r,n,e)),n)},catch:function(t){return cc(e.catch(pc(t,n,e)),n)},finally:function(t){return t&&n.onCancelList.push(t),cc(e.finally(pc(t&&function(){return n.onCancelList=[],t()},n,e)),n)},cancel:function(){n.isCanceled=!0;var e=n.onCancelList;n.onCancelList=[],e.forEach((function(e){e()}
2))},isCanceled:function(){return!0===n.isCanceled}}}function dc(e){return cc(e,{isCanceled:!1,onCancelList:[]})}function pc(e,t,n){return e?function(n){return t.isCanceled?n:e(n)}:n}var fc,hc=!0;function mc(e,t,n,r){if(!n)return null;if(e<0&&(null===t||null!==r&&0===t))return n+e;var a=(null===t?-1:t)+e;return a<=-1||a>=n?null===r?null:0:a}function gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gc(Object(n),!0).forEach((function(t){yc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yc(e,t,n){return(t=function(e){var t=function(e){if("object"!==bc(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==bc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===bc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc="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},bc(e)}function Dc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kc=function(e,t){var n,r=!1,a=[],o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Dc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dc(e,t):void 0}}(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(o.s();!(n=o.n()).done;){var i,s,u,l=null===(i=n.value.__autocomplete_pluginOptions)||void 0===i||null===(s=(u=i).awaitSubmit)||void 0===s?void 0:s.call(u);if("number"==typeof l)a.push(l);else if(!0===l){r=!0;break}}}catch(e){o.e(e)}finally{o.f()}return r?t.wait():a.length>0?t.wait(Math.max.apply(Math,a)):void 0};function wc(e){var t=function(e){var t=e.collections.map((function(e){return e.items.length})).reduce((function(e,t,n){var r=(e[n-1]||0)+t;return e.push(r),e}),[]).reduce((function(t,n){return n<=e.activeItemId?t+1:t}),0);return e.collections[t]}(e);if(!t)return null;var n=t.items[function(e){for(var t=e.state,n=e.collection,r=!1,a=0,o=0;!1===r;){var i=t.collections[a];if(i===n){r=!0;break}o+=i.items.length,a++}return t.activeItemId-o}({state:e,collection:t})],r=t.source;return{item:n,itemInputValue:r.getItemInputValue({item:n,state:e}),itemUrl:r.getItemUrl({item:n,state:e}),source:r}}function _c(e,t,n){return[e,null==n?void 0:n.sourceId,t].filter(Boolean).join("-").replace(/\s/g,"")}var Ec=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function Cc(e){return e.nativeEvent||e}function Sc(e){return Sc="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},Sc(e)}function Fc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xc(e,t,n){return(t=function(e){var t=function(e){if("object"!==Sc(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Sc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Sc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ac(e){return Ac="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},Ac(e)}function Ic(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Ic(Object(n),!0).forEach((function(t){Oc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ic(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Oc(e,t,n){return(t=function(e){var t=function(e){if("object"!==Ac(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Ac(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ac(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(e){return jc="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},jc(e)}function Pc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nc(Object(n),!0).forEach((function(t){Bc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bc(e,t,n){return(t=function(e){var t=function(e){if("object"!==jc(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==jc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===jc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mc(e,t){var n,r="undefined"!=typeof window?window:{},a=e.plugins||[];return Rc(Rc({debug:!1,openOnFocus:!1,enterKeyHint:void 0,ignoreCompositionEvents:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:void 0,environment:r,shouldPanelOpen:function(e){return Ol(e.state)>0},reshape:function(e){return e.sources}},e),{},{id:null!==(n=e.id)&&void 0!==n?n:"autocomplete-".concat(Tl++),plugins:a,initialState:Rc({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var n;null===(n=e.onStateChange)||void 0===n||n.call(e,t),a.forEach((function(e){var n;return null===(n=e.onStateChange)||void 0===n?void 0:n.call(e,t)}))},onSubmit:function(t){var n;null===(n=e.onSubmit)||void 0===n||n.call(e,t),a.forEach((function(e){var n;return null===(n=e.onSubmit)||void 0===n?void 0:n.call(e,t)}))},onReset:function(t){var n;null===(n=e.onReset)||void 0===n||n.call(e,t),a.forEach((function(e){var n;return null===(n=e.onReset)||void 0===n?void 0:n.call(e,t)}))},getSources:function(n){return Promise.all([].concat(function(e){return function(e){if(Array.isArray(e))return Pc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Pc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(a.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return function(e,t){var n=[];return Promise.resolve(e(t)).then((function(e){return Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){if(e.sourceId,n.includes(e.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));n.push(e.sourceId);var t={getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:Nl,onResolve:Nl};Object.keys(t).forEach((function(e){t[e].__default=!0}));var r=vc(vc({},t),e);return Promise.resolve(r)})))}))}(e,n)}))).then((function(e){return Il(e)})).then((function(e){return e.map((function(e){return Rc(Rc({},e),{},{onSelect:function(n){e.onSelect(n),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,n)}))},onActive:function(n){e.onActive(n),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,n)}))},onResolve:function(n){e.onResolve(n),t.forEach((function(e){var t;return null===(t=e.onResolve)||void 0===t?void 0:t.call(e,n)}))}})}))}))},navigator:Rc({navigate:function(e){var t=e.itemUrl;r.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,n=r.open(t,"_blank","noopener");null==n||n.focus()},navigateNewWindow:function(e){var t=e.itemUrl;r.open(t,"_blank","noopener")}},e.navigator)})}function Lc(e){return Lc="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},Lc(e)}function zc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?zc(Object(n),!0).forEach((function(t){qc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qc(e,t,n){return(t=function(e){var t=function(e){if("object"!==Lc(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Lc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Lc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc="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},Uc(e)}function Zc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zc(Object(n),!0).forEach((function(t){Vc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vc(e,t,n){return(t=function(e){var t=function(e){if("object"!==Uc(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Uc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Uc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wc(e){return function(e){if(Array.isArray(e))return Gc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Gc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Kc(e){return Boolean(e.execute)}function Qc(e){var t=e.reduce((function(e,t){if(!Kc(t))return e.push(t),e;var n=t.searchClient,r=t.execute,a=t.requesterId,o=t.requests,i=e.find((function(e){return Kc(t)&&Kc(e)&&e.searchClient===n&&Boolean(a)&&e.requesterId===a}));if(i){var s;(s=i.items).push.apply(s,Wc(o))}else{var u={execute:r,requesterId:a,items:o,searchClient:n};e.push(u)}return e}),[]).map((function(e){if(!Kc(e))return Promise.resolve(e);var t=e,n=t.execute,r=t.items;return n({searchClient:t.searchClient,requests:r})}));return Promise.all(t).then((function(e){return Il(e)}))}function Jc(e){return Jc="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},Jc(e)}var Yc=["event","nextState","props","query","refresh","store"];function Xc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ed(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xc(Object(n),!0).forEach((function(t){td(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function td(e,t,n){return(t=function(e){var t=function(e){if("object"!==Jc(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Jc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Jc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nd,rd,ad,od=null,id=(nd=-1,rd=-1,ad=void 0,function(e){var t=++nd;return Promise.resolve(e).then((function(e){return ad&&t<rd?ad:(rd=t,ad=e,e)}))});function sd(e){var t=e.event,n=e.nextState,r=void 0===n?{}:n,a=e.props,o=e.query,i=e.refresh,s=e.store,u=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,Yc);od&&a.environment.clearTimeout(od);var l=u.setCollections,c=u.setIsOpen,d=u.setQuery,p=u.setActiveItemId,f=u.setStatus,h=u.setContext;if(d(o),p(a.defaultActiveItemId),!o&&!1===a.openOnFocus){var m,g=s.getState().collections.map((function(e){return ed(ed({},e),{},{items:[]})}));f("idle"),l(g),c(null!==(m=r.isOpen)&&void 0!==m?m:a.shouldPanelOpen({state:s.getState()}));var v=dc(id(g).then((function(){return Promise.resolve()})));return s.pendingRequests.add(v)}f("loading"),od=a.environment.setTimeout((function(){f("stalled")}),a.stallThreshold);var y=dc(id(a.getSources(ed({query:o,refresh:i,state:s.getState()},u)).then((function(e){return Promise.all(e.map((function(e){return Promise.resolve(e.getItems(ed({query:o,refresh:i,state:s.getState()},u))).then((function(t){return function(e,t,n){if(a=e,Boolean(null==a?void 0:a.execute)){var r="algolia"===e.requesterId?Object.assign.apply(Object,[{}].concat(Wc(Object.keys(n.context).map((function(e){var t;return null===(t=n.context[e])||void 0===t?void 0:t.__algoliaSearchParameters}))))):{};return Hc(Hc({},e),{},{requests:e.queries.map((function(n){return{query:"algolia"===e.requesterId?Hc(Hc({},n),{},{params:Hc(Hc({},r),n.params)}):n,sourceId:t,transformResponse:e.transformResponse}}))})}var a;return{items:e,sourceId:t}}(t,e.sourceId,s.getState())}))}))).then(Qc).then((function(t){var n,r=t.some((function(e){return function(e){return!Array.isArray(e)&&Boolean(null==e?void 0:e._automaticInsights)}(e.items)}));return r&&h({algoliaInsightsPlugin:ed(ed({},(null===(n=s.getState().context)||void 0===n?void 0:n.algoliaInsightsPlugin)||{}),{},{__automaticInsights:r})}),function(e,t,n){return t.map((function(t){var r,a=e.filter((function(e){return e.sourceId===t.sourceId})),o=a.map((function(e){return e.items})),i=a[0].transformResponse,s=i?i({results:r=o,hits:r.map((function(e){return e.hits}
2)).filter(Boolean),facetHits:r.map((function(e){var t;return null===(t=e.facetHits)||void 0===t?void 0:t.map((function(e){return{label:e.value,count:e.count,_highlightResult:{label:{value:e.highlighted}}}}))})).filter(Boolean)}):o;return t.onResolve({source:t,results:o,items:s,state:n.getState()}),s.every(Boolean),'The `getItems` function from source "'.concat(t.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),".\n\nDid you forget to return items?\n\nSee: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems"),{source:t,items:s}}))}(t,e,s)})).then((function(e){return function(e){var t=e.props,n=e.state,r=e.collections.reduce((function(e,t){return $c($c({},e),{},qc({},t.source.sourceId,$c($c({},t.source),{},{getItems:function(){return Il(t.items)}})))}),{}),a=t.plugins.reduce((function(e,t){return t.reshape?t.reshape(e):e}),{sourcesBySourceId:r,state:n}).sourcesBySourceId;return Il(t.reshape({sourcesBySourceId:a,sources:Object.values(a),state:n})).filter(Boolean).map((function(e){return{source:e,items:e.getItems()}}))}({collections:e,props:a,state:s.getState()})}))})))).then((function(e){var n;f("idle"),l(e);var d=a.shouldPanelOpen({state:s.getState()});c(null!==(n=r.isOpen)&&void 0!==n?n:a.openOnFocus&&!o&&d||d);var p=wc(s.getState());if(null!==s.getState().activeItemId&&p){var h=p.item,m=p.itemInputValue,g=p.itemUrl,v=p.source;v.onActive(ed({event:t,item:h,itemInputValue:m,itemUrl:g,refresh:i,source:v,state:s.getState()},u))}})).finally((function(){f("idle"),od&&a.environment.clearTimeout(od)}));return s.pendingRequests.add(y)}function ud(e){return ud="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},ud(e)}var ld=["event","props","refresh","store"];function cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cd(Object(n),!0).forEach((function(t){pd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pd(e,t,n){return(t=function(e){var t=function(e){if("object"!==ud(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==ud(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ud(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fd(e){return fd="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},fd(e)}var hd=["props","refresh","store"],md=["inputElement","formElement","panelElement"],gd=["inputElement"],vd=["inputElement","maxLength"],yd=["source"],bd=["item","source"];function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dd(Object(n),!0).forEach((function(t){wd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wd(e,t,n){return(t=function(e){var t=function(e){if("object"!==fd(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==fd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===fd(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _d(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ed(e){var t=e.props,n=e.refresh,r=e.store,a=_d(e,hd);return{getEnvironmentProps:function(e){var n=e.inputElement,a=e.formElement,o=e.panelElement;function i(e){!r.getState().isOpen&&r.pendingRequests.isEmpty()||e.target===n||!1===[a,o].some((function(t){return(n=t)===(r=e.target)||n.contains(r);var n,r}))&&(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())}return kd({onTouchStart:i,onMouseDown:i,onTouchMove:function(e){!1!==r.getState().isOpen&&n===t.environment.document.activeElement&&e.target!==n&&n.blur()}},_d(e,md))},getRootProps:function(e){return kd({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-controls":r.getState().isOpen?r.getState().collections.map((function(e){var n=e.source;return _c(t.id,"list",n)})).join(" "):void 0,"aria-labelledby":_c(t.id,"label")},e)},getFormProps:function(e){e.inputElement;var o=_d(e,gd),i=function(o){var i;t.onSubmit(kd({event:o,refresh:n,state:r.getState()},a)),r.dispatch("submit",null),null===(i=e.inputElement)||void 0===i||i.blur()};return kd({action:"",noValidate:!0,role:"search",onSubmit:function(e){e.preventDefault();var n=kc(t.plugins,r.pendingRequests);void 0!==n?n.then((function(){return i(e)})):i(e)},onReset:function(o){var i;o.preventDefault(),t.onReset(kd({event:o,refresh:n,state:r.getState()},a)),r.dispatch("reset",null),null===(i=e.inputElement)||void 0===i||i.focus()}},o)},getLabelProps:function(e){return kd({htmlFor:_c(t.id,"input"),id:_c(t.id,"label")},e)},getInputProps:function(e){var o;
vendor: 4,767 bytes, line 2
2function i(e){(t.openOnFocus||Boolean(r.getState().query))&&sd(kd({event:e,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},a)),r.dispatch("focus",null)}var s=e||{};s.inputElement;var u=s.maxLength,l=void 0===u?512:u,c=_d(s,vd),d=wc(r.getState()),p=function(e){return Boolean(e&&e.match(Ec))}((null===(o=t.environment.navigator)||void 0===o?void 0:o.userAgent)||""),f=t.enterKeyHint||(null!=d&&d.itemUrl&&!p?"go":"search");return kd({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&null!==r.getState().activeItemId?_c(t.id,"item-".concat(r.getState().activeItemId),null==d?void 0:d.source):void 0,"aria-controls":r.getState().isOpen?r.getState().collections.filter((function(e){return e.items.length>0})).map((function(e){var n=e.source;return _c(t.id,"list",n)})).join(" "):void 0,"aria-labelledby":_c(t.id,"label"),value:r.getState().completion||r.getState().query,id:_c(t.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:f,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:l,type:"search",onChange:function(e){var o=e.currentTarget.value;t.ignoreCompositionEvents&&Cc(e).isComposing?a.setQuery(o):sd(kd({event:e,props:t,query:o.slice(0,l),refresh:n,store:r},a))},onCompositionEnd:function(e){sd(kd({event:e,props:t,query:e.currentTarget.value.slice(0,l),refresh:n,store:r},a))},onKeyDown:function(e){Cc(e).isComposing||function(e){var t=e.event,n=e.props,r=e.refresh,a=e.store,o=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,ld);if("ArrowUp"===t.key||"ArrowDown"===t.key){var i=function(){var e=wc(a.getState()),t=n.environment.document.getElementById(_c(n.id,"item-".concat(a.getState().activeItemId),null==e?void 0:e.source));t&&(t.scrollIntoViewIfNeeded?t.scrollIntoViewIfNeeded(!1):t.scrollIntoView(!1))},s=function(){var e=wc(a.getState());if(null!==a.getState().activeItemId&&e){var n=e.item,i=e.itemInputValue,s=e.itemUrl,u=e.source;u.onActive(dd({event:t,item:n,itemInputValue:i,itemUrl:s,refresh:r,source:u,state:a.getState()},o))}};t.preventDefault(),!1===a.getState().isOpen&&(n.openOnFocus||Boolean(a.getState().query))?sd(dd({event:t,props:n,query:a.getState().query,refresh:r,store:a},o)).then((function(){a.dispatch(t.key,{nextActiveItemId:n.defaultActiveItemId}),s(),setTimeout(i,0)})):(a.dispatch(t.key,{}),s(),i())}else if("Escape"===t.key)t.preventDefault(),a.dispatch(t.key,null),a.pendingRequests.cancelAll();else if("Tab"===t.key)a.dispatch("blur",null),a.pendingRequests.cancelAll();else if("Enter"===t.key){if(null===a.getState().activeItemId||a.getState().collections.every((function(e){return 0===e.items.length}))){var u=kc(n.plugins,a.pendingRequests);return void(void 0!==u?u.then(a.pendingRequests.cancelAll):n.debug||a.pendingRequests.cancelAll())}t.preventDefault();var l=wc(a.getState()),c=l.item,d=l.itemInputValue,p=l.itemUrl,f=l.source;if(t.metaKey||t.ctrlKey)void 0!==p&&(f.onSelect(dd({event:t,item:c,itemInputValue:d,itemUrl:p,refresh:r,source:f,state:a.getState()},o)),n.navigator.navigateNewTab({itemUrl:p,item:c,state:a.getState()}));else if(t.shiftKey)void 0!==p&&(f.onSelect(dd({event:t,item:c,itemInputValue:d,itemUrl:p,refresh:r,source:f,state:a.getState()},o)),n.navigator.navigateNewWindow({itemUrl:p,item:c,state:a.getState()}));else if(t.altKey);else{if(void 0!==p)return f.onSelect(dd({event:t,item:c,itemInputValue:d,itemUrl:p,refresh:r,source:f,state:a.getState()},o)),void n.navigator.navigate({itemUrl:p,item:c,state:a.getState()});sd(dd({event:t,nextState:{isOpen:!1},props:n,query:d,refresh:r,store:a},o)).then((function(){f.onSelect(dd({event:t,item:c,itemInputValue:d,itemUrl:p,refresh:r,source:f,state:a.getState()},o))}))}}}(kd({event:e,props:t,refresh:n,store:r},a))},onFocus:i,onBlur:Nl,onClick:function(n){e.inputElement!==t.environment.document.activeElement||r.getState().isOpen||i(n)}},c)},getPanelProps:function(e){return kd({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},e)},getListProps:function(e){var n=e||{},r=n.source,a=_d(n,yd);return kd({role:"listbox","aria-labelledby":_c(t.id,"label"),id:_c(t.id,"list",r)},a)},getItemProps:function(e){var o=e.item,i=e.source,s=_d(e,bd);return kd({id:_c(t.id,"item-".concat(o.__autocomplete_id),i),role:"option","aria-selected":r.getState().activeItemId===o.__autocomplete_id,onMouseMove:function(e){if(o.__autocomplete_id!==r.getState().activeItemId){r.dis
2patch("mousemove",o.__autocomplete_id);var t=wc(r.getState());if(null!==r.getState().activeItemId&&t){var i=t.item,s=t.itemInputValue,u=t.itemUrl,l=t.source;l.onActive(kd({event:e,item:i,itemInputValue:s,itemUrl:u,refresh:n,source:l,state:r.getState()},a))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var s=i.getItemInputValue({item:o,state:r.getState()}),u=i.getItemUrl({item:o,state:r.getState()});(u?Promise.resolve():sd(kd({event:e,nextState:{isOpen:!1},props:t,query:s,refresh:n,store:r},a))).then((function(){i.onSelect(kd({event:e,item:o,itemInputValue:s,itemUrl:u,refresh:n,source:i,state:r.getState()},a))}))}},s)}}}function Cd(e){return Cd="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},Cd(e)}function Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sd(Object(n),!0).forEach((function(t){xd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xd(e,t,n){return(t=function(e){var t=function(e){if("object"!==Cd(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Cd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Cd(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ad(e){var t,n,r,a,o=e.plugins,i=e.options,s=null===(t=((null===(n=i.__autocomplete_metadata)||void 0===n?void 0:n.userAgents)||[])[0])||void 0===t?void 0:t.segment,u=s?xd({},s,Object.keys((null===(r=i.__autocomplete_metadata)||void 0===r?void 0:r.options)||{})):{};return{plugins:o.map((function(e){return{name:e.name,options:Object.keys(e.__autocomplete_pluginOptions||[])}})),options:Fd({"autocomplete-core":Object.keys(i)},u),ua:Rl.concat((null===(a=i.__autocomplete_metadata)||void 0===a?void 0:a.userAgents)||[])}}function Id(e){var t,n=e.state;return!1===n.isOpen||null===n.activeItemId?null:(null===(t=wc(n))||void 0===t?void 0:t.itemInputValue)||null}function Td(e){return Td="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},Td(e)}function Od(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Od(Object(n),!0).forEach((function(t){Pd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Od(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pd(e,t,n){return(t=function(e){var t=function(e){if("object"!==Td(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Td(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Td(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nd=function(e,t){switch(t.type){case"setActiveItemId":case"mousemove":return jd(jd({},e),{},{activeItemId:t.payload});case"setQuery":return jd(jd({},e),{},{query:t.payload,completion:null});case"setCollections":return jd(jd({},e),{},{collections:t.payload});case"setIsOpen":return jd(jd({},e),{},{isOpen:t.payload});case"setStatus":return jd(jd({},e),{},{status:t.payload});case"setContext":return jd(jd({},e),{},{context:jd(jd({},e.context),t.payload)});case"ArrowDown":var n=jd(jd({},e),{},{activeItemId:t.payload.hasOwnProperty("nextActiveItemId")?t.payload.nextActiveItemId:mc(1,e.activeItemId,Ol(e),t.props.defaultActiveItemId)});return jd(jd({},n),{},{completion:Id({state:n})});
2case"ArrowUp":var r=jd(jd({},e),{},{activeItemId:mc(-1,e.activeItemId,Ol(e),t.props.defaultActiveItemId)});return jd(jd({},r),{},{completion:Id({state:r})});case"Escape":return e.isOpen?jd(jd({},e),{},{activeItemId:null,isOpen:!1,completion:null}):jd(jd({},e),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return jd(jd({},e),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return jd(jd({},e),{},{activeItemId:!0===t.props.openOnFocus?t.props.defaultActiveItemId:null,status:"idle",completion:null,query:""});case"focus":return jd(jd({},e),{},{activeItemId:t.props.defaultActiveItemId,isOpen:(t.props.openOnFocus||Boolean(e.query))&&t.props.shouldPanelOpen({state:e})});case"blur":return t.props.debug?e:jd(jd({},e),{},{isOpen:!1,activeItemId:null});case"mouseleave":return jd(jd({},e),{},{activeItemId:t.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(t.type)," is not supported."),e}};function Rd(e){return Rd="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},Rd(e)}function Bd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Md(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bd(Object(n),!0).forEach((function(t){Ld(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ld(e,t,n){return(t=function(e){var t=function(e){if("object"!==Rd(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Rd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Rd(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zd(e){var t=[],n=Mc(e,t),r=function(e,t,n){var r,a=t.initialState;return{getState:function(){return a},dispatch:function(r,o){var i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fc(Object(n),!0).forEach((function(t){xc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a);a=e(a,{type:r,props:t,payload:o}),n({state:a,prevState:i})},pendingRequests:(r=[],{add:function(e){return r.push(e),e.finally((function(){r=r.filter((function(t){return t!==e}))}))},cancelAll:function(){r.forEach((function(e){return e.cancel()}))},isEmpty:function(){return 0===r.length},wait:function(e){return hc?(hc=!1,fc=e?Promise.race([Promise.all(r),new Promise((function(t){return setTimeout(t,e)}))]):Promise.all(r),fc.then((function(){hc=!0}))):fc}})}}(Nd,n,(function(e){var t,r,o=e.prevState,l=e.state;if(n.onStateChange(Md({prevState:o,state:l,refresh:i,navigator:n.navigator},a)),!u()&&null!==(t=l.context)&&void 0!==t&&null!==(r=t.algoliaInsightsPlugin)&&void 0!==r&&r.__automaticInsights&&!1!==n.insights){var c=sc({__autocomplete_clickAnalytics:!1});n.plugins.push(c),s([c])}})),a=function(e){var t=e.store;return{setActiveItemId:function(e){t.dispatch("setActiveItemId",e)},setQuery:function(e){t.dispatch("setQuery",e)},setCollections:function(e){var n=0,r=e.map((function(e){return Tc(Tc({},e),{},{items:Il(e.items).map((function(e){return Tc(Tc({},e),{},{__autocomplete_id:n++})}))})}));t.dispatch("setCollections",r)},setIsOpen:function(e){t.dispatch("setIsOpen",e)},setStatus:function(e){t.dispatch("setStatus",e)},setContext:function(e){t.dispatch("setContext",e)}}}({store:r}),o=Ed(Md({props:n,refresh:i,store:r,navigator:n.navigator},a));function i(){return sd(Md({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,navigator:n.navigator,query:r.getState().query,refresh:i,store:r},a))}function s(e){e.forEach((function(e){var r;return null===(r=e.subscribe)||void 0===r?void 0:r.call(e,Md(Md({},a),{},{navigator:n.navigator,refresh:i,onSelect:function(e){t.push({onSelect:e})},onActive:function(e){t.push({onActive:e})},onResolve:function(e){t.push({onResolve:e})}}))}))}function u(){return n.plugins.some((function(e){return"aa.algoliaInsightsPlugin"===e.name}))}if(n.insights&&!u()){var l="boolean"==typeof n.insights?{}:n.insights;n.plugins.push(sc(l))}return s(n.plugins),function(e){var t,n,r=e.metadata,a=e.environment;if(null===(t=a.navigator)||void 0===t||null===(n=t.userAgent)||void 0===n?void 0:n.includes("Algolia Crawler")){var o=a.document.createElement("meta"),i=a.document.querySelector("head");o.name="algolia:metadata",setTimeout((function(){o.content=JSON.stringify(r),i.appendChild(o)}),0)}}({metadata:Ad({plugins:n.plugins,options:e}),environment:n.environment}),Md(Md({refresh:i,navigator:n.navigator},o),a)}var $d="https://askai.algolia.com/chat",qd="askai_token",Ud=function(e){if(!e)return!0;try{var t=function(e){var t=M(e.split("."),1)[0];return JSON.parse(atob(t))}(e),n=t.exp;return Date.now()/1e3>n-30}catch(e){return!0}},Zd=null,Hd=function(){var e=D(N().m((function e(t){var n,r;return N().w((function(e){for(;;)switch(e.n){case 0:if(n=t.assistantId,r=sessionStorage.getItem(qd),Ud(r)){e.n=1;break}return e.a(2,r);case 1:return Zd||(Zd=fetch("".concat($d,"/token"),{method:"POST",headers:{"x-algolia-assistant-id":n,"content-type":"application/json"}}).then((function(e){return e.json()})).then((function(e){var t=e.token;return sessionStorage.setItem(qd,t),t})).finally((function(){return Zd=null}))),e.a(2,Zd)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Vd=function(){var e=D(N().m((function e(t){var n,r,a,o,i,s;return N().w((function(e){for(;;)switch(e.n){case 0:return n=t.assistantId,r=t.thumbs,a=t.messageId,o=t.appId,(i=new Headers).set("x-algolia-assistant-id",n),i.set("content-type","application/json"),e.n=1,Hd({assistantId:n});case 1:s=e.v,i.set("authorization","TOKEN ".concat(s));case 2:return e.a(2,fetch("".concat($d,"/feedback"),{method:"POST",body:JSON.stringify({appId:o,messageId:a,thumbs:r}),headers:i}))}}),e)})));return function(t){return e.apply(this,arguments)}}();function Wd(e){var t=e.translations,n=(void 0===t?{}:t).poweredByText,a=void 0===n?"Powered by":n;return r.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},r.createElement("span",{className:"DocSearch-Label"},a),r.createElement("svg",{width:"80",height:"24","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},r.createElement("defs",null,r.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),r.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),r.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),r.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92
2-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),r.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),r.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),r.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),r.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),r.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),r.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function Gd(e){return r.createElement("svg",{width:"20",height:"20","aria-label":e.ariaLabel,viewBox:"0 0 24 24",role:"img"},r.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4"},e.children))}function Kd(e){var t=e.translations,n=void 0===t?{}:t,a=e.isAskAiActive,o=void 0!==a&&a,i=n.selectText,s=void 0===i?"Select":i,u=n.selectKeyAriaLabel,l=void 0===u?"Enter key":u,c=n.submitQuestionText,d=void 0===c?"Submit question":c,p=n.navigateText,f=void 0===p?"Navigate":p,h=n.navigateUpKeyAriaLabel,m=void 0===h?"Arrow up":h,g=n.navigateDownKeyAriaLabel,v=void 0===g?"Arrow down":g,y=n.closeText,b=void 0===y?"Close":y,D=n.backToSearchText,k=void 0===D?"Back to search":D,w=n.closeKeyAri
2aLabel,_=void 0===w?"Escape key":w,E=n.poweredByText,C=void 0===E?"Powered by":E;return r.createElement(r.Fragment,null,r.createElement("div",{className:"DocSearch-Logo"},r.createElement(Wd,{translations:{poweredByText:C}})),r.createElement("ul",{className:"DocSearch-Commands"},r.createElement("li",null,r.createElement("kbd",{className:"DocSearch-Commands-Key"},r.createElement(Gd,{ariaLabel:v},r.createElement("path",{d:"M12 5v14"}),r.createElement("path",{d:"m19 12-7 7-7-7"}))),r.createElement("kbd",{className:"DocSearch-Commands-Key"},r.createElement(Gd,{ariaLabel:m},r.createElement("path",{d:"m5 12 7-7 7 7"}),r.createElement("path",{d:"M12 19V5"}))),r.createElement("span",{className:"DocSearch-Label"},f)),r.createElement("li",null,r.createElement("kbd",{className:"DocSearch-Commands-Key"},r.createElement(Gd,{ariaLabel:l},r.createElement("polyline",{points:"9 10 4 15 9 20"}),r.createElement("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"}))),r.createElement("span",{className:"DocSearch-Label"},o?d:s)),r.createElement("li",null,r.createElement("kbd",{className:"DocSearch-Commands-Key"},r.createElement("span",{className:"DocSearch-Escape-Key"},"ESC")),r.createElement("span",{className:"DocSearch-Label","aria-label":_},o?k:b))))}function Qd(e){var t=e.hit,n=e.children;return r.createElement("a",{href:t.url},n)}function Jd(e){var t=e.className;return r.createElement("svg",{viewBox:"0 0 38 38",className:t,stroke:"currentColor",strokeOpacity:".5"},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),r.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},r.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function Yd(){return r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round",className:"DocSearch-Hit-icon-sparkles"},r.createElement("path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"}),r.createElement("path",{d:"M20 3v4"}),r.createElement("path",{d:"M22 5h-4"}),r.createElement("path",{d:"M4 17v2"}),r.createElement("path",{d:"M5 18H3"}))}function Xd(){return r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},r.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),r.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function ep(){return r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},r.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function tp(){return r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-triangle-alert-icon lucide-triangle-alert"},r.createElement("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}),r.createElement("path",{d:"M12 9v4"}),r.createElement("path",{d:"M12 17h.01"}))}function np(){return r.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},r.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),r.createElement("path",{d:"M8 17l-6-6 6-6"})))}var rp=function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),r.createElement("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"}),r.createElement("path",{d:"M10 9H8"}),r.createElement("path",{d:"M16 13H8"}),r.createElement("path",{d:"M16 17H8"}))};function ap(e){switch(e.type){case"lvl1":return r.createElement(rp,null);case"content":return r.createElement(ip,null);default:return r.createElement(op,null)}}function op(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("line",{x1:"4",x2:"20",y1:"9",y2:"9"}),r.createElement("line",{x1:"4",x2:"20",y1:"15",y2:"15"}),r.createElement("line",{x1:"10",x2:"8",y1:"3",y2:"21"}),r.createElement("line",{x1:"16",x2:"14",y1:"3",y2:"21"}))}function ip(){return r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},r.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function sp(){return r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},r.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function up(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99984 1.29102C4.74264 1.29102 1.2915 4.74215 1.2915 8.99935C1.2915 13.2565 4.74264 16.7077 8.99984 16.7077C13.257 16.7077 16.7082 13.2565 16.7082 8.99935C16.7082 4.74215 13.257 1.29102 8.99984 1.29102ZM0.0415039 8.99935C0.0415039 4.0518 4.05229 0.0410156 8.99984 0.0410156C13.9474 0.0410156 17.9582 4.0518 17.9582 8.99935C17.9582 13.9469 13.9474 17.9577 8.99984 17.9577C4.05229 17.9577 0.0415039 13.9469 0.0415039 8.99935ZM5.87484 6.49935C5.87484 6.15417 6.15466 5.87435 6.49984 5.87435H11.4998C11.845 5.87435 12.1248 6.15417 12.1248 6.49935V11.4993C12.1248 11.8445 11.845 12.1243 11.4998 12.1243H6.49984C6.15466 12.1243 5.87484 11.8445 5.87484 11.4993V6.49935ZM7.12484 7.12435V10.8743H10.8748V7.12435H7.12484Z",fill:"currentcolor"}))}function lp(){return r.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function cp(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",stroke:"#5a5e9a",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("path",{d:"m13.5 8.5-5 5"}),r.createElement("path",{d:"m8.5 8.5 5 5"}),r.createElement("circle",{cx:"11",cy:"11",r:"8"}),r.createElement("path",{d:"m21 21-4.3-4.3"}))}function dp(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:4,height:16,viewBox:"0 0 4 16",fill:"none"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.99984 1.95898C1.88478 1.95898 1.7915 2.05226 1.7915 2.16732C1.7915 2.28238 1.88478 2.37565 1.99984 2.37565C2.1149 2.37565 2.20817 2.28238 2.20817 2.16732C2.20817 2.05226 2.1149 1.95898 1.99984 1.95898ZM0.541504 2.16732C0.541504 1.3619 1.19442 0.708984 1.99984 0.708984C2.80525 0.708984 3.45817 1.3619 3.45817 2.16732C3.45817 2.97273 2.80525 3.62565 1.99984 3.62565C1.19442 3.62565 0.541504 2.97273 0.541504 2.16732ZM1.99984 7.79232C1.88478 7.79232 1.7915 7.88559 1.7915 8.00065C1.7915 8.11571 1.88478 8.20898 1.99984 8.20898C2.1149 8.20898 2.20817 8.11571 2.20817 8.00065C2.20817 7.88559 2.1149 7.79232 1.99984 7.79232ZM0.541504 8.00065C0.541504 7.19524 1.19442 6.54232 1.99984 6.54232C2.80525 6.54232 3.45817 7.19524 3.45817 8.00065C3.45817 8.80607 2.80525 9.45898 1.99984 9.45898C1.19442 9.45898 0.541504 8.80607 0.541504 8.00065ZM1.99984 13.6257C1.88478 13.6257 1.7915 13.7189 1.7915 13.834C1.7915 13.949 1.88478 14.0423 1.99984 14.0423C2.1149 14.0423 2.20817 13.949 2.20817 13.834C2.20817 13.7189 2.1149 13.6257 1.99984 13.6257ZM0.541504 13.834C0.541504 13.0286 1.19442 12.3757 1.99984 12.3757C2.80525 12.3757 3.45817 13.0286 3.45817 13.834C3.45817 14.6394 2.80525 15.2923 1.99984 15.2923C1.19442 15.2923 0.541504 14.6394 0.541504 13.834Z",fill:"currentcolor"}))}function pp(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},r.createElement("path",{d:"M9 0.875C10.6068 0.875 12.1776 1.35149 13.5137 2.24414
2C14.8498 3.13693 15.8919 4.40598 16.5068 5.89062C17.1218 7.37522 17.2822 9.00892 16.9688 10.585C16.6552 12.1611 15.8814 13.6088 14.7451 14.7451C13.6088 15.8814 12.1611 16.6552 10.585 16.9688C9.00892 17.2822 7.37523 17.1218 5.89062 16.5068C4.40598 15.8919 3.13693 14.8498 2.24414 13.5137C1.35149 12.1776 0.875 10.6068 0.875 9C0.875 8.65482 1.15482 8.375 1.5 8.375C1.84518 8.375 2.125 8.65482 2.125 9C2.125 10.3596 2.52792 11.6888 3.2832 12.8193C4.03864 13.9499 5.1129 14.8312 6.36914 15.3516C7.62523 15.8718 9.00736 16.0083 10.3408 15.7432C11.6744 15.4779 12.8998 14.8228 13.8613 13.8613C14.8228 12.8998 15.4779 11.6744 15.7432 10.3408C16.0083 9.00736 15.8718 7.62523 15.3516 6.36914C14.8312 5.1129 13.9499 4.03864 12.8193 3.2832C11.6888 2.52792 10.3596 2.125 9 2.125C7.06829 2.125 5.21604 2.89096 3.82129 4.22949L3.00879 5.04199H5.66699C6.01202 5.04217 6.29199 5.32192 6.29199 5.66699C6.29182 6.01191 6.01191 6.29182 5.66699 6.29199H1.5C1.45939 6.29199 1.41889 6.28716 1.37891 6.2793C1.36148 6.27587 1.345 6.26949 1.32812 6.26465C1.267 6.24714 1.20782 6.22205 1.15332 6.18555C1.08536 6.14005 1.02604 6.08256 0.980469 6.01465C0.970244 5.99942 0.962841 5.98268 0.954102 5.9668C0.904937 5.87756 0.875056 5.77606 0.875 5.66699V1.5C0.875 1.15482 1.15482 0.875002 1.5 0.875C1.84518 0.875 2.125 1.15482 2.125 1.5V4.15723L2.94141 3.3418L2.9502 3.33301C4.57158 1.77433 6.73388 0.875 9 0.875ZM9.33301 4.20801C9.67808 4.20801 9.95783 4.48798 9.95801 4.83301V9.44727L12.9463 10.9414C13.2548 11.0958 13.3798 11.4707 13.2256 11.7793C13.0712 12.088 12.6955 12.213 12.3867 12.0586L9.05371 10.3926C8.84198 10.2867 8.70801 10.0697 8.70801 9.83301V4.83301C8.70818 4.48809 8.98809 4.20819 9.33301 4.20801Z",fill:"currentcolor"}))}function fp(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 19 19",fill:"none"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.712717 3.38039C1.14249 2.95062 1.72538 2.70917 2.33317 2.70917H8.1665C8.51168 2.70917 8.7915 2.989 8.7915 3.33417C8.7915 3.67935 8.51168 3.95917 8.1665 3.95917H2.33317C2.0569 3.95917 1.79195 4.06892 1.5966 4.26427C1.40125 4.45962 1.2915 4.72457 1.2915 5.00084V16.6675C1.2915 16.9438 1.40125 17.2087 1.5966 17.4041C1.79195 17.5994 2.0569 17.7092 2.33317 17.7092H13.9998C14.2761 17.7092 14.5411 17.5994 14.7364 17.4041C14.9318 17.2087 15.0415 16.9438 15.0415 16.6675V10.8342C15.0415 10.489 15.3213 10.2092 15.6665 10.2092C16.0117 10.2092 16.2915 10.489 16.2915 10.8342V16.6675C16.2915 17.2753 16.0501 17.8582 15.6203 18.288C15.1905 18.7177 14.6076 18.9592 13.9998 18.9592H2.33317C1.72538 18.9592 1.14249 18.7177 0.712717 18.288C0.282947 17.8582 0.0415039 17.2753 0.0415039 16.6675V5.00084C0.0415039 4.39305 0.282947 3.81016 0.712717 3.38039Z",fill:"currentcolor"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6665 2.19141C15.3634 2.19141 15.0728 2.3118 14.8584 2.52611L7.06419 10.3204L6.52548 12.4752L8.68031 11.9365L16.4746 4.14223C16.6889 3.92792 16.8093 3.63725 16.8093 3.33417C16.8093 3.03109 16.6889 2.74043 16.4746 2.52611C16.2603 2.3118 15.9696 2.19141 15.6665 2.19141ZM13.9746 1.64223C14.4233 1.1935 15.0319 0.941406 15.6665 0.941406C16.3011 0.941406 16.9097 1.1935 17.3584 1.64223C17.8072 2.09096 18.0593 2.69957 18.0593 3.33417C18.0593 3.96877 17.8072 4.57738 17.3584 5.02611L9.44178 12.9428C9.36168 13.0229 9.26132 13.0797 9.15142 13.1072L5.81809 13.9405C5.6051 13.9938 5.3798 13.9314 5.22456 13.7761C5.06932 13.6209 5.00692 13.3956 5.06016 13.1826L5.8935 9.84925C5.92097 9.73936 5.9778 9.639 6.0579 9.5589L13.9746 1.64223Z",fill:"currentcolor"}))}var hp,mp={before:"Searched for ",separator:", ",lastSeparator:" and ",after:""};function gp(e){var t=e.queries,n=e.translations,a=e.onSearchQueryClick;if(0===t.length)return null;if("function"==typeof n.aggregatedToolCallNode)return r.createElement(r.Fragment,null,n.aggregatedToolCallNode(t,a));var o=(n.aggregatedToolCallText?n.aggregatedToolCallText(t):mp)||{},i=o.before,s=void 0===i?"":i,u=o.separator,l=void 0===u?", ":u,c=o.lastSeparator,d=void 0===c?" and ":c,p=o.after,f=void 0===p?"":p;return r.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent-Tool Tool--AggregatedResult"},r.createElement(Q,{size:18}),r.createElement("span",null,s&&r.createElement("span",null,s),t.map((function(e,n){return r.createElement(r.Fragment,{key:e+n},r.createElement("span",{role:"button",tabIndex:0,className:"DocSearch-AskAiScreen-MessageContent-Tool-Query",onKeyDown:function(t){"enter"!==t.key&&" "!==t.key||(t.preventDefault(),a(e))},onClick:function(){return a(e)}},'"',e,'"'),n<t.length-2&&l,n===t.length-2&&d)})),f&&r.createElement("span",null,f)))}var vp={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function yp(e){vp=e}var bp={exec:function(){return null}};function Dp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="string"==typeof e?e:e.source,r={replace:function(e,t){var a="string"==typeof t?t:t.source;return a=a.replace(kp.caret,"$1"),n=n.replace(e,a),r},getRegex:function(){return new RegExp(n,t)}};return r}var kp={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
2:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD40-\uDD59\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDD40-\uDD65\uDD6F-\uDD85\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC7\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDDB0-\uDDDB\uDDE0-\uDDE9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE96\uDEA0-\uDEB8\uDEBB-\uDED3\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3\uDFF2-\uDFF6]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDDD0-\uDDED\uDDF0-\uDDFA\uDEC0-\uDEDE\uDEE0-\uDEE2\uDEE4\uDEE5\uDEE7-\uDEED\uDEF0-\uDEF4\uDEFE\uDEFF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79])/,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:function(e){return new RegExp("^( {0,3}".concat(e,")((?:[\t ][^\\n]*)?(?:\\n|$))"))},nextBulletRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))"))},hrRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"))},fencesBeginRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}(?:```|~~~)"))},headingBeginRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}#"))},htmlBeginRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}<(?:[a-z].*>|!--)"),"i")}},wp=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,_p=/(?:[*+-]|\d{1,9}[.)])/,Ep=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Cp=Dp(Ep).replace(/bull/g,_p).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Sp=Dp(Ep).replace(/bull/g,_p).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Fp=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,xp=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Ap=Dp(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",xp).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ip=Dp(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,_p).getRegex(),Tp="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Op=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,jp=Dp("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
2)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",Op).replace("tag",Tp).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Pp=Dp(Fp).replace("hr",wp).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Tp).getRegex(),Np={blockquote:Dp(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Pp).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:Ap,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:wp,html:jp,lheading:Cp,list:Ip,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:Pp,table:bp,text:/^[^\n]+/},Rp=Dp("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",wp).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Tp).getRegex(),Bp=j(j({},Np),{},{lheading:Sp,table:Rp,paragraph:Dp(Fp).replace("hr",wp).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Rp).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Tp).getRegex()}),Mp=j(j({},Np),{},{html:Dp("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Op).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:bp,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Dp(Fp).replace("hr",wp).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Cp).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),Lp=/^( {2,}|\\)\n(?!\s*$)/,zp=/(?:[!-\/:-@\[-`\{-~\xA1-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2010-\u2027\u2030-\u205E\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8
2E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,$p=/(?:[\t-\r -\/:-@\[-`\{-~\xA0-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2000-\u200A\u2010-\u2029\u202F-\u205F\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,qp=/(?:[\0-\x08\x0E-\x1F0-9A-Za-z\x7F-\x9F\xAA\xAD\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376-\u037D\u037F-\u0383\u0386\u0388-\u03F5\u03F7-\u0481\u0483-\u0559\u0560-\u0588\u058B\u058C\u0590-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05F2\u05F5-\u0605\u0610-\u061A\u061C\u0620-\u0669\u066E-\u06D3\u06D5-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF\u070E-\u07F5\u07FA-\u07FD\u0800-\u082F\u083F-\u085D\u085F-\u0887\u0889-\u0963\u0966-\u096F\u0971-\u09F1\u09F4-\u09F9\u09FC\u09FE-\u0A75\u0A77-\u0AEF\u0AF2-\u0B6F\u0B71-\u0BF2\u
20BFB-\u0C76\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0D4E\u0D50-\u0D78\u0D7A-\u0DF3\u0DF5-\u0E3E\u0E40-\u0E4E\u0E50-\u0E59\u0E5C-\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F84\u0F86-\u0FBD\u0FC6\u0FCD\u0FDB-\u1049\u1050-\u109D\u10A0-\u10FA\u10FC-\u135F\u1369-\u138F\u139A-\u13FF\u1401-\u166C\u166F-\u167F\u1681-\u169A\u169D-\u16EA\u16EE-\u1734\u1737-\u17D3\u17D7\u17DC-\u17FF\u180B-\u193F\u1941-\u1943\u1946-\u19DD\u1A00-\u1A1D\u1A20-\u1A9F\u1AA7\u1AAE-\u1B4D\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BFB\u1C00-\u1C3A\u1C40-\u1C7D\u1C80-\u1CBF\u1CC8-\u1CD2\u1CD4-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u2079\u207F-\u2089\u208F-\u209F\u20C2-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u218C-\u218F\u242A-\u243F\u244B-\u249B\u24EA-\u24FF\u2776-\u2793\u2B74\u2B75\u2C00-\u2CE4\u2CEB-\u2CF8\u2CFD\u2D00-\u2D6F\u2D71-\u2DFF\u2E2F\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3040-\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u318F\u3192-\u3195\u31A0-\u31BF\u31E6-\u31EE\u31F0-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA4FD\uA500-\uA60C\uA610-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA6F8-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uA873\uA878-\uA8CD\uA8D0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA95E\uA960-\uA9C0\uA9CE-\uA9DD\uA9E0-\uAA5B\uAA60-\uAA76\uAA7A-\uAADD\uAAE0-\uAAEF\uAAF2-\uAB5A\uAB5C-\uAB69\uAB6C-\uABEA\uABEC-\uD7FF\uE000-\uFB28\uFB2A-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDD0-\uFDFB\uFE00-\uFE0F\uFE1A-\uFE2F\uFE53\uFE67\uFE6C-\uFEFE\uFF00\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDCFF\uDD03-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDF9E\uDFA0-\uDFCF\uDFD1-\uDFFF]|\uD801[\uDC00-\uDD6E\uDD70-\uDFFF]|\uD802[\uDC00-\uDC56\uDC58-\uDC76\uDC79-\uDD1E\uDD20-\uDD3E\uDD40-\uDE4F\uDE59-\uDE7E\uDE80-\uDEC7\uDEC9-\uDEEF\uDEF7-\uDF38\uDF40-\uDF98\uDF9D-\uDFFF]|\uD803[\uDC00-\uDD6D\uDD6F-\uDD8D\uDD90-\uDEAC\uDEAE-\uDECF\uDED9-\uDF54\uDF5A-\uDF85\uDF8A-\uDFFF]|\uD804[\uDC00-\uDC46\uDC4E-\uDCBA\uDCBD\uDCC2-\uDD3F\uDD44-\uDD73\uDD76-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDDE0-\uDE37\uDE3E-\uDEA8\uDEAA-\uDFD3\uDFD6\uDFD9-\uDFFF]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5C\uDC5E-\uDCC5\uDCC7-\uDDC0\uDDD8-\uDE40\uDE44-\uDE5F\uDE6D-\uDEB8\uDEBA-\uDF3B\uDF40-\uDFFF]|\uD806[\uDC00-\uDC3A\uDC3C-\uDD43\uDD47-\uDDE1\uDDE3-\uDE3E\uDE47-\uDE99\uDE9D\uDEA3-\uDEFF\uDF0A-\uDFE0\uDFE2-\uDFFF]|\uD807[\uDC00-\uDC40\uDC46-\uDC6F\uDC72-\uDEF6\uDEF9-\uDF42\uDF50-\uDFD4\uDFF2-\uDFFE]|[\uD808\uD80A\uD80C-\uD819\uD81C-\uD82E\uD830-\uD832\uD837\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD809[\uDC00-\uDC6F\uDC75-\uDFFF]|\uD80B[\uDC00-\uDFF0\uDFF3-\uDFFF]|\uD81A[\uDC00-\uDE6D\uDE70-\uDEF4\uDEF6-\uDF36\uDF40-\uDF43\uDF46-\uDFFF]|\uD81B[\uDC00-\uDD6C\uDD70-\uDE96\uDE9B-\uDFE1\uDFE3-\uDFFF]|\uD82F[\uDC00-\uDC9B\uDC9D\uDC9E\uDCA0-\uDFFF]|\uD833[\uDCF0-\uDCF9\uDCFD-\uDCFF\uDEB4-\uDEB9\uDED1-\uDEDF\uDEF1-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD65-\uDD69\uDD6D-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDDEB-\uDDFF\uDE42-\uDE44\uDE46-\uDEFF\uDF57-\uDFFF]|\uD835[\uDC00-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE8C-\uDFFF]|\uD838[\uDC00-\uDD4E\uDD50-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDDFE\uDE00-\uDFFF]|\uD83A[\uDC00-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDD2D\uDD2F-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDD0C\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED9-\uDEDB\uDEED-\uDEEF\uDEFD-\uDEFF\uDFDA-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCBC-\uDCBF\uDCC2-\uDCCF\uDCD9-\uDCFF\uDE58-\uDE5F\uDE6E\uDE6F\uDE7D-\uDE7F\uDE8B-\uDE8D\uDEC7\uDEC9-\uDECC\uDEDD\uDEDE\uDEEB-\uDEEE\uDEF9-\uDEFF\uDF93\uDFF0-\uDFF9\uDFFB-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Up=Dp(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,$p).getRegex(),Zp=/(?!~)(?:[!-\/:-@\[-`\{-~\xA1-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u
20F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2010-\u2027\u2030-\u205E\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,Hp=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Vp=Dp(Hp,"u").replace(/punct/g,zp).getRegex(),Wp=Dp(Hp,"u").replace(/punct/g,Zp).getRegex(),Gp="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Kp=Dp(Gp,"gu").replace(/notPunctSpace/g,qp).replace(/punctSpace/g,$p).replace(/punct/g,zp).getRegex(),Qp=Dp(Gp,"gu").replace(/notPunctSpace/g,/(?:(?:[\0-\x08\x0E-\x1F0-9A-Za-z\x7F-\x9F\xAA\xAD\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376-\u037D\u037F-\u0383\u0386\u0388-\u03F5\u03F7-\u0481\u0483-\u0559\u0560-\u0588\u058B\u058C\u0590-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05F2\u05F5-\u0605\u0610-\u061A\u061C\u0620-\u0669\u066E-\u06D3\u06D5-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF\u070E-\u07F5\u07FA-\u07FD\u0800-\u082F\u083F-\u085D\u085F-\u0887\u0889-\u0963\u0966-\u096F\u0971-\u09F1\u09F4-\u09F9\u09FC\u09FE-\u0A75\u0A77-\u0AEF\u0AF2-\u0B6F\u0B71-\u0BF2\u
20BFB-\u0C76\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0D4E\u0D50-\u0D78\u0D7A-\u0DF3\u0DF5-\u0E3E\u0E40-\u0E4E\u0E50-\u0E59\u0E5C-\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F84\u0F86-\u0FBD\u0FC6\u0FCD\u0FDB-\u1049\u1050-\u109D\u10A0-\u10FA\u10FC-\u135F\u1369-\u138F\u139A-\u13FF\u1401-\u166C\u166F-\u167F\u1681-\u169A\u169D-\u16EA\u16EE-\u1734\u1737-\u17D3\u17D7\u17DC-\u17FF\u180B-\u193F\u1941-\u1943\u1946-\u19DD\u1A00-\u1A1D\u1A20-\u1A9F\u1AA7\u1AAE-\u1B4D\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BFB\u1C00-\u1C3A\u1C40-\u1C7D\u1C80-\u1CBF\u1CC8-\u1CD2\u1CD4-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u2079\u207F-\u2089\u208F-\u209F\u20C2-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u218C-\u218F\u242A-\u243F\u244B-\u249B\u24EA-\u24FF\u2776-\u2793\u2B74\u2B75\u2C00-\u2CE4\u2CEB-\u2CF8\u2CFD\u2D00-\u2D6F\u2D71-\u2DFF\u2E2F\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3040-\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u318F\u3192-\u3195\u31A0-\u31BF\u31E6-\u31EE\u31F0-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA4FD\uA500-\uA60C\uA610-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA6F8-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uA873\uA878-\uA8CD\uA8D0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA95E\uA960-\uA9C0\uA9CE-\uA9DD\uA9E0-\uAA5B\uAA60-\uAA76\uAA7A-\uAADD\uAAE0-\uAAEF\uAAF2-\uAB5A\uAB5C-\uAB69\uAB6C-\uABEA\uABEC-\uD7FF\uE000-\uFB28\uFB2A-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDD0-\uFDFB\uFE00-\uFE0F\uFE1A-\uFE2F\uFE53\uFE67\uFE6C-\uFEFE\uFF00\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDCFF\uDD03-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDF9E\uDFA0-\uDFCF\uDFD1-\uDFFF]|\uD801[\uDC00-\uDD6E\uDD70-\uDFFF]|\uD802[\uDC00-\uDC56\uDC58-\uDC76\uDC79-\uDD1E\uDD20-\uDD3E\uDD40-\uDE4F\uDE59-\uDE7E\uDE80-\uDEC7\uDEC9-\uDEEF\uDEF7-\uDF38\uDF40-\uDF98\uDF9D-\uDFFF]|\uD803[\uDC00-\uDD6D\uDD6F-\uDD8D\uDD90-\uDEAC\uDEAE-\uDECF\uDED9-\uDF54\uDF5A-\uDF85\uDF8A-\uDFFF]|\uD804[\uDC00-\uDC46\uDC4E-\uDCBA\uDCBD\uDCC2-\uDD3F\uDD44-\uDD73\uDD76-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDDE0-\uDE37\uDE3E-\uDEA8\uDEAA-\uDFD3\uDFD6\uDFD9-\uDFFF]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5C\uDC5E-\uDCC5\uDCC7-\uDDC0\uDDD8-\uDE40\uDE44-\uDE5F\uDE6D-\uDEB8\uDEBA-\uDF3B\uDF40-\uDFFF]|\uD806[\uDC00-\uDC3A\uDC3C-\uDD43\uDD47-\uDDE1\uDDE3-\uDE3E\uDE47-\uDE99\uDE9D\uDEA3-\uDEFF\uDF0A-\uDFE0\uDFE2-\uDFFF]|\uD807[\uDC00-\uDC40\uDC46-\uDC6F\uDC72-\uDEF6\uDEF9-\uDF42\uDF50-\uDFD4\uDFF2-\uDFFE]|[\uD808\uD80A\uD80C-\uD819\uD81C-\uD82E\uD830-\uD832\uD837\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD809[\uDC00-\uDC6F\uDC75-\uDFFF]|\uD80B[\uDC00-\uDFF0\uDFF3-\uDFFF]|\uD81A[\uDC00-\uDE6D\uDE70-\uDEF4\uDEF6-\uDF36\uDF40-\uDF43\uDF46-\uDFFF]|\uD81B[\uDC00-\uDD6C\uDD70-\uDE96\uDE9B-\uDFE1\uDFE3-\uDFFF]|\uD82F[\uDC00-\uDC9B\uDC9D\uDC9E\uDCA0-\uDFFF]|\uD833[\uDCF0-\uDCF9\uDCFD-\uDCFF\uDEB4-\uDEB9\uDED1-\uDEDF\uDEF1-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD65-\uDD69\uDD6D-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDDEB-\uDDFF\uDE42-\uDE44\uDE46-\uDEFF\uDF57-\uDFFF]|\uD835[\uDC00-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE8C-\uDFFF]|\uD838[\uDC00-\uDD4E\uDD50-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDDFE\uDE00-\uDFFF]|\uD83A[\uDC00-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDD2D\uDD2F-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDD0C\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED9-\uDEDB\uDEED-\uDEEF\uDEFD-\uDEFF\uDFDA-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCBC-\uDCBF\uDCC2-\uDCCF\uDCD9-\uDCFF\uDE58-\uDE5F\uDE6E\uDE6F\uDE7D-\uDE7F\uDE8B-\uDE8D\uDEC7\uDEC9-\uDECC\uDEDD\uDEDE\uDEEB-\uDEEE\uDEF9-\uDEFF\uDF93\uDFF0-\uDFF9\uDFFB-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])|~)/).replace(/punctSpace/g,/(?!~)(?:[\t-\r -\/:-@\[-`\{-~\xA0-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u
20F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2000-\u200A\u2010-\u2029\u202F-\u205F\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/).replace(/punct/g,Zp).getRegex(),Jp=Dp("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,qp).replace(/punctSpace/g,$p).replace(/punct/g,zp).getRegex(),Yp=Dp(/\\(punct)/,"gu").replace(/punct/g,zp).getRegex(),Xp=Dp(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ef=Dp(Op).replace("(?:--\x3e|$)","--\x3e").getRegex(),tf=Dp("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ef).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),nf=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,rf=Dp(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",nf).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),af=Dp(/^!?\[(label)\]\[(ref)\]/).replace("label",nf).replace("ref",xp).getRegex(),of=Dp(/^!?\[(ref)\](?:\[\])?/).replace("ref",xp).getRegex(),sf={_backpedal:bp,anyPunctuation:Yp,autolink:Xp,blockSkip:/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,br:Lp,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:bp,emStrongLDelim:Vp,emStrongRDelimAst:Kp,emStrongRDelimUnd:Jp,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:rf,nolink:of,punctuation:Up,reflink:af,reflinkSearch:Dp("reflink|nolink(?!\\()","g").replace("reflink",af).replace("nolink",of).getRegex(),tag:tf,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:bp},uf=j(j({},sf),{},{link:Dp(/^!?\[(label)\]\((.*?)\)/).replace("label",nf).getRegex(),reflink:Dp(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",nf).getRegex()}),lf=j(j({},sf),{},{emStrongRDelimAst:Qp,emStrongLDelim:Wp,url:Dp(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),cf=j(j({},lf),{},{br:Dp(Lp).replace("{2,}","*").getRegex(),text:Dp(lf.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),df={normal:Np,gfm:Bp,pedantic:Mp},pf={normal:sf,gfm:lf,breaks:cf,pedantic:uf},ff={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},hf=function(e){return ff[e]};function mf(e,t){if(t){if(kp.escapeTest.test(e))return e.replace(kp.escapeReplace,hf)}else if(kp.escapeTestNoEncode.test(e))return e.replace(kp.escapeReplaceNoEncode,hf);return e}function gf(e){try{e=encodeURI(e).replace(kp.percentDecode,"%")}catch(e){return null}return e}function vf(e,t){var n,r=e.replace(kp.findPipe,(function(e,t,n){for(var r=!1,a=t;--a>=0&&"\\"===n[a];)r=!r;return r?"|":" |"})).split(kp.splitPipe),a=0;if(r[0].trim()||r.shift(),r.length>0&&!(null!==(n=r.at(-1))&&void 0!==n&&n.trim())&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;a<r.length;a++)r[a]=r[a].trim().replace(kp.slashPipe,"|");return r}function yf(e,t,n){var r=e.length;if(0===r)return"";for(var a=0;a<r&&e.charAt(r-a-1)===t;)a++;return e.slice(0,r-a)}function bf(e,t,n,r,a){var o=t.href,i=t.title||null,s=e[1].replace(a.other.outputLinkReplace,"$1");r.state.inLink=!0;var u={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:o,title:i,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,u}var Df=C((function e(t){w(this,e),F(this,"options",void 0),F(this,"rules",void 0),F(this,"lexer",void 0),this.options=t||vp}),[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:yf(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t,n){var r=e.match(n.other.indentCodeCompensation);if(null===r)return t;var a=r[1];return t.split("\n").map((function(e){var t=e.match(n.other.beginningSpace);return null===t?e:M(t,1)[0].length>=a.length?e.slice(a.length):e})).join("\n")}(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(this.rules.other.endingHash.test(n)){var r=yf(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:yf(t[0],"\n")}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){for(var n=yf(t[0],"\n").split("\n"),r="",a="",o=[];n.length>0;){var i=!1,s=[],u=void 0;for(u=0;
2u<n.length;u++)if(this.rules.other.blockquoteStart.test(n[u]))s.push(n[u]),i=!0;else{if(i)break;s.push(n[u])}n=n.slice(u);var l=s.join("\n"),c=l.replace(this.rules.other.blockquoteSetextReplace,"\n    $1").replace(this.rules.other.blockquoteSetextReplace2,"");r=r?"".concat(r,"\n").concat(l):l,a=a?"".concat(a,"\n").concat(c):c;var d=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,o,!0),this.lexer.state.top=d,0===n.length)break;var p=o.at(-1);if("code"===(null==p?void 0:p.type))break;if("blockquote"===(null==p?void 0:p.type)){var f=p,h=f.raw+"\n"+n.join("\n"),m=this.blockquote(h);o[o.length-1]=m,r=r.substring(0,r.length-f.raw.length)+m.raw,a=a.substring(0,a.length-f.text.length)+m.text;break}if("list"!==(null==p?void 0:p.type));else{var g=p,v=g.raw+"\n"+n.join("\n"),y=this.list(v);o[o.length-1]=y,r=r.substring(0,r.length-p.raw.length)+y.raw,a=a.substring(0,a.length-g.raw.length)+y.raw,n=v.substring(o.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:r,tokens:o,text:a}}}},{key:"list",value:function(e){var t=this,n=this.rules.block.list.exec(e);if(n){var r=n[1].trim(),a=r.length>1,o={type:"list",raw:"",ordered:a,start:a?+r.slice(0,-1):"",loose:!1,items:[]};r=a?"\\d{1,9}\\".concat(r.slice(-1)):"\\".concat(r),this.options.pedantic&&(r=a?r:"[*+-]");for(var i=this.rules.other.listItemRegex(r),s=!1;e;){var u=!1,l="",c="";if(!(n=i.exec(e))||this.rules.block.hr.test(e))break;l=n[0],e=e.substring(l.length);var d=n[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(function(e){return" ".repeat(3*e.length)})),p=e.split("\n",1)[0],f=!d.trim(),h=0;if(this.options.pedantic?(h=2,c=d.trimStart()):f?h=n[1].length+1:(h=(h=n[2].search(this.rules.other.nonSpaceChar))>4?1:h,c=d.slice(h),h+=n[1].length),f&&this.rules.other.blankLine.test(p)&&(l+=p+"\n",e=e.substring(p.length+1),u=!0),!u)for(var m=this.rules.other.nextBulletRegex(h),g=this.rules.other.hrRegex(h),v=this.rules.other.fencesBeginRegex(h),y=this.rules.other.headingBeginRegex(h),b=this.rules.other.htmlBeginRegex(h);e;){var D=e.split("\n",1)[0],k=void 0;if(p=D,k=this.options.pedantic?p=p.replace(this.rules.other.listReplaceNesting,"  "):p.replace(this.rules.other.tabCharGlobal,"    "),v.test(p)||y.test(p)||b.test(p)||m.test(p)||g.test(p))break;if(k.search(this.rules.other.nonSpaceChar)>=h||!p.trim())c+="\n"+k.slice(h);else{if(f||d.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||v.test(d)||y.test(d)||g.test(d))break;c+="\n"+p}!f&&!p.trim()&&(f=!0),l+=D+"\n",e=e.substring(D.length+1),d=k.slice(h)}o.loose||(s?o.loose=!0:this.rules.other.doubleBlankLine.test(l)&&(s=!0));var w=null,_=void 0;this.options.gfm&&(w=this.rules.other.listIsTask.exec(c))&&(_="[ ] "!==w[0],c=c.replace(this.rules.other.listReplaceTask,"")),o.items.push({type:"list_item",raw:l,task:!!w,checked:_,loose:!1,text:c,tokens:[]}),o.raw+=l}var E=o.items.at(-1);if(!E)return;E.raw=E.raw.trimEnd(),E.text=E.text.trimEnd(),o.raw=o.raw.trimEnd();for(var C=0;C<o.items.length;C++)if(this.lexer.state.top=!1,o.items[C].tokens=this.lexer.blockTokens(o.items[C].text,[]),!o.loose){var S=o.items[C].tokens.filter((function(e){return"space"===e.type})),F=S.length>0&&S.some((function(e){return t.rules.other.anyLine.test(e.raw)}));o.loose=F}if(o.loose)for(var x=0;x<o.items.length;x++)o.items[x].loose=!0;return o}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t){var n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:a}}}},{key:"table",value:function(e){var t,n=this,r=this.rules.block.table.exec(e);if(r&&this.rules.other.tableDelimiter.test(r[2])){var a=vf(r[1]),o=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=null!==(t=r[3])&&void 0!==t&&t.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],s={type:"table",raw:r[0],header:[],align:[],rows:[]};if(a.length===o.length){var u,l=S(o);try{for(l.s();!(u=l.n()).done;){var c=u.value;
2this.rules.other.tableAlignRight.test(c)?s.align.push("right"):this.rules.other.tableAlignCenter.test(c)?s.align.push("center"):this.rules.other.tableAlignLeft.test(c)?s.align.push("left"):s.align.push(null)}}catch(e){l.e(e)}finally{l.f()}for(var d=0;d<a.length;d++)s.header.push({text:a[d],tokens:this.lexer.inline(a[d]),header:!0,align:s.align[d]});var p,f=S(i);try{for(f.s();!(p=f.n()).done;){var h=p.value;s.rows.push(vf(h,s.header.length).map((function(e,t){return{text:e,tokens:n.lexer.inline(e),header:!1,align:s.align[t]}})))}}catch(e){f.e(e)}finally{f.f()}return s}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;var r=yf(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var a=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&--n<0)return r;return n>0?-2:-1}(t[2],"()");if(-2===a)return;if(a>-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var i=t[2],s="";if(this.options.pedantic){var u=this.rules.other.pedanticHrefTitle.exec(i);u&&(i=u[1],s=u[3])}else s=t[3]?t[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(i=this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?i.slice(1):i.slice(1,-1)),bf(t,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!r){var a=n[0].charAt(0);return{type:"text",raw:a,text:a}}return bf(n,r,n[0],this.lexer,this.rules)}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[2]||!n||this.rules.inline.punctuation.exec(n))){var a,o,i=L(r[0]).length-1,s=i,u=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+i);null!=(r=l.exec(t));)if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(o=L(a).length,r[3]||r[4])s+=o;else if(!((r[5]||r[6])&&i%3)||(i+o)%3){if(!((s-=o)>0)){o=Math.min(o,o+s+u);var c=L(r[0])[0].length,d=e.slice(0,i+r.index+c+o);if(Math.min(i,o)%2){var p=d.slice(1,-1);return{type:"em",raw:d,text:p,tokens:this.lexer.inlineTokens(p)}}var f=d.slice(2,-2);return{type:"strong",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}}else u+=o}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e){var t,n,r=this.rules.inline.autolink.exec(e);if(r)return n="@"===r[2]?"mailto:"+(t=r[1]):t=r[1],{type:"link",raw:r[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}},{key:"url",value:function(e){var t;if(t=this.rules.inline.url.exec(e)){var n,r;if("@"===t[2])r="mailto:"+(n=t[0]);else{var a;do{var o,i;a=t[0],t[0]=null!==(o=null===(i=this.rules.inline._backpedal.exec(t[0]))||void 0===i?void 0:i[0])&&void 0!==o?o:""}while(a!==t[0]);n=t[0],r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}},{key:"inlineText",value:function(e){var t=this.rules.inline.text.exec(e);if(t){var n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}}]),kf=function(){function e(t){w(this,e),F(this,"tokens",void 0),F(this,"options",void 0),F(this,"state",void 0),F(this,"tokenizer",void 0),F(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||vp,this.options.tokenizer=this.options.tokenizer||new Df,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var n={other:kp,block:df.normal,inline:pf.normal};this.options.pedantic?(n.block=df.pedantic,n.inline=pf.pedantic):this.options.gfm&&(n.block=df.gfm,this.options.breaks?n.inline=pf.breaks:n.inl
2ine=pf.gfm),this.tokenizer.rules=n}return C(e,[{key:"lex",value:function(e){e=e.replace(kp.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(var t=0;t<this.inlineQueue.length;t++){var n=this.inlineQueue[t];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}},{key:"blockTokens",value:function(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=function(){var t,o,i;if(null!==(t=n.options.extensions)&&void 0!==t&&null!==(t=t.block)&&void 0!==t&&t.some((function(t){return!!(i=t.call({lexer:n},e,r))&&(e=e.substring(i.raw.length),r.push(i),!0)})))return 0;if(i=n.tokenizer.space(e)){e=e.substring(i.raw.length);var s=r.at(-1);return 1===i.raw.length&&void 0!==s?s.raw+="\n":r.push(i),0}if(i=n.tokenizer.code(e)){e=e.substring(i.raw.length);var u=r.at(-1);return"paragraph"===(null==u?void 0:u.type)||"text"===(null==u?void 0:u.type)?(u.raw+=(u.raw.endsWith("\n")?"":"\n")+i.raw,u.text+="\n"+i.text,n.inlineQueue.at(-1).src=u.text):r.push(i),0}if(i=n.tokenizer.fences(e))return e=e.substring(i.raw.length),r.push(i),0;if(i=n.tokenizer.heading(e))return e=e.substring(i.raw.length),r.push(i),0;if(i=n.tokenizer.hr(e))return e=e.substring(i.raw.length),r.push(i),0;if(i=n.tokenizer.blockquote(e))return e=e.substring(i.raw.length),r.push(i),0;if(i=n.tokenizer.list(e))return e=e.substring(i.raw.length),r.push(i),0;if(i=n.tokenizer.html(e))return e=e.substring(i.raw.length),r.push(i),0;if(i=n.tokenizer.def(e)){e=e.substring(i.raw.length);var l=r.at(-1);return"paragraph"===(null==l?void 0:l.type)||"text"===(null==l?void 0:l.type)?(l.raw+=(l.raw.endsWith("\n")?"":"\n")+i.raw,l.text+="\n"+i.raw,n.inlineQueue.at(-1).src=l.text):n.tokens.links[i.tag]||(n.tokens.links[i.tag]={href:i.href,title:i.title},r.push(i)),0}if(i=n.tokenizer.table(e))return e=e.substring(i.raw.length),r.push(i),0;if(i=n.tokenizer.lheading(e))return e=e.substring(i.raw.length),r.push(i),0;var c=e;if(null!==(o=n.options.extensions)&&void 0!==o&&o.startBlock){var d,p=1/0,f=e.slice(1);n.options.extensions.startBlock.forEach((function(e){"number"==typeof(d=e.call({lexer:n},f))&&d>=0&&(p=Math.min(p,d))})),p<1/0&&p>=0&&(c=e.substring(0,p+1))}if(n.state.top&&(i=n.tokenizer.paragraph(c))){var h=r.at(-1);return a&&"paragraph"===(null==h?void 0:h.type)?(h.raw+=(h.raw.endsWith("\n")?"":"\n")+i.raw,h.text+="\n"+i.text,n.inlineQueue.pop(),n.inlineQueue.at(-1).src=h.text):r.push(i),a=c.length!==e.length,e=e.substring(i.raw.length),0}if(i=n.tokenizer.text(e)){e=e.substring(i.raw.length);var m=r.at(-1);return"text"===(null==m?void 0:m.type)?(m.raw+=(m.raw.endsWith("\n")?"":"\n")+i.raw,m.text+="\n"+i.text,n.inlineQueue.pop(),n.inlineQueue.at(-1).src=m.text):r.push(i),0}if(e){var g="Infinite loop on byte: "+e.charCodeAt(0);if(n.options.silent)return console.error(g),1;throw new Error(g)}};for(this.options.pedantic&&(e=e.replace(kp.tabCharGlobal,"    ").replace(kp.spaceLine,""));e&&(0===(t=o())||1!==t););return this.state.top=!0,r}},{key:"inline",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}},{key:"inlineTokens",value:function(e){var t,n,r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=e,i=null;if(this.tokens.links){var s=Object.keys(this.tokens.links);if(s.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(o));)s.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(o));)o=o.slice(0,i.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(o));)o=o.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);o=null!==(t=null===(n=this.options.hooks)||void 0===n||null===(n=n.emStrongMask)||void 0===n?void 0:n.call({lexer:this},o))&&void 0!==t?t:o;for(var u,l=!1,c="",d=function(){var t,n,i;if(l||(c=""),l=!1,null!==(t=r.options.extensions)&&void 0!==t&&null!==(t=t.inline)&&void 0!==t&&t.some((function(t){return!!(i=t.call({lexer:r},e,a))&&(e=e.substring(i.raw.length),a.push(i),!0)})))return 0;if(i=r.tokenizer.escape(e))return e=e.substring(i.raw.length),a.push(i),0;if(i=r.tokenizer.tag(e))return e=e.substring(i.raw.length),a.push(i),0;if(i=r.tokenizer.link(e))return e=e.substring(i.raw.length),a.push(i),0;if(i=r.tokenizer.reflink(e,r.tokens.links)){e=e.substring(i.raw.length);var s=a.at(-1);return"text"===i.type&&"text"===(null==s?void 0:s.type)?(s.raw+=i.raw,s.text+=i.text):a.push(i),0}if(i=r.tokenizer.emStrong(e,o,c))return e=e.substring(i.raw.length),a.push(i),0;if(i=r.tokenizer.codespan(e))return e=e.substring(i.raw.length),a.push(i),0;if(i=r.tokenizer.br(e))return e=e.substring(i.raw.length),a.push(i),0;if(i=r.tokenizer.del(e))return e=e.substring(i.raw.length),a.push(i),0;if(i=r.tokenizer.autolink(e))return e=e.substring(i.raw.length),a.push(i),0;if(!r.state.inLink&&(i=r.tokenizer.url(e)))return e=e.substring(i.raw.length),a.push(i),0;var u=e;if(null!==(n=r.options.extensions)&&void 0!==n&&n.startInline){var d,p=1/0,f=e.slice(1);r.options.extensions.startInline.forEach((function(e){"number"==typeof(d=e.call({lexer:r},f))&&d>=0&&(p=Math.min(p,d))})),p<1/0&&p>=0&&(u=e.substring(0,p+1))}if(i=r.tokenizer.inlineText(u)){e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(c=i.raw.slice(-1)),l=!0;var h=a.at(-1);return"text"===(null==h?void 0:h.type)?(h.raw+=i.raw,h.text+=i.text):a.push(i),0}if(e){var m="Infinite loop on byte: "+e.charCodeAt(0);if(r.options.silent)return console.error(m),1;throw new Error(m)}};e&&(0===(u=d())||1!==u););return a}}],[{key:"rules",get:function(){return{block:df,inline:pf}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}])}(),wf=C((function e(t){w(this,e),F(this,"options",void 0),F(this,"parser",void 0),this.options=t||vp}),[{key:"space",value:function(e){return""}},{key:"code",value:function(e){var t,n=e.text,r=e.lang,a=e.escaped,o=null===(t=(r||"").match(kp.notSpaceStart))||void 0===t?void 0:t[0],i=n.replace(kp.endingNewline,"")+"\n";return o?'<pre><code class="language-'+mf(o)+'">'+(a?i:mf(i,!0))+"</code></pre>\n":"<pre><code>"+(a?i:mf(i,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){var t=e.tokens;return"<blockquote>\n".concat(this.parser.parse(t),"</blockquote>\n")}},{key:"html",value:function(e){return e.text}},{key:"def",value:function(e){return""}},{key:"heading",value:function(e){var t=e.tokens,n=e.depth;return"<h".concat(n,">").concat(this.parser.parseInline(t),"</h").concat(n,">\n")}},{key:"hr",value:function(e){return"<hr>\n"}},{key:"list",value:function(e){for(var t=e.ordered,n=e.start,r="",a=0;a<e.items.length;a++){var o=e.items[a];r+=this.listitem(o)}var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+i+">\n"}},{key:"listitem",value:function(e){var t="";if(e.task){var n,r=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===(null===(n=e.tokens[0])||void 0===n?void 0:n.type)?(e.tokens[0].text=r+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=r+" "+mf(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):t+=r+" "}return t+=this.parser.parse(e.tokens,!!e.loose),"<li>".concat(t,"</li>\n")}},{key:"checkbox",value:function(e){return"<input "+(e.checked?'checked="" ':"")+'disabled="" type="checkbox">'}},{key:"paragraph",value:function(e){var t=e.tokens;return"<p>".concat(this.parser.parseInline(t),"</p>\n")}},{key:"table",value:function(e){for(var t="",n="",r=0;r<e.header.length;r++)n+=this.tablecell(e.header[r]);t+=this.tablerow({text:n});for(var a="",o=0;o<e.rows.length;o++){var i=e.rows[o];n="";for(var s=0;s<i.length;s++)n+=this.tablecell(i[s]);a+=this.tablerow({text:n})}return a&&(a="<tbody>".concat(a,"</tbody>")),"<table>\n<thead>\n"+t+"</thead>\n"+a+"</table>\n"}},{key:"tablerow",value:function(e){var t=e.text;return"<tr>\n".concat(t,"</tr>\n")}},{key:"tablecell",value:function(e){var t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?"<".concat(n,' align="').concat(e.align,'">'):"<".concat(n,">"))+t+"</".concat(n,">\n")}},{key:"strong",value:function(e){var t=e.tokens;return"<strong>".concat(this.parser.parseInline(t),"</strong>")}},{key:"em",value:function(e){var t=e.tokens;return"<em>".concat(this.parser.parseInline(t),"</em>")}},{key:"codespan",value:function(e){var t=e.text;return"<code>".concat(mf(t,!0),"</code>")}},{key:"br",value:function(e){return"<br>"}},{key:"del",value:function(e){var t=e.tokens;return"<del>".concat(this.parser.parseInline(t),"</del>")}},{key:"link",value:function(e){var t=e.href,n=e.title,r=e.tokens,a=this.parser.parseInline(r),o=gf(t);if(null===o)return a;var i='<a href="'+(t=o)+'"';return n&&(i+=' title="'+mf(n)+'"'),i+">"+a+"</a>"}},{key:"image",value:function(e){var t=e.href,n=e.title,r=e.text,a=e.tokens;a&&(r=this.parser.parseInline(a,this.parser.textRenderer));var o=gf(t);if(null===o)return mf(r);var i='<img src="'.concat(t=o,'" alt="').concat(r,'"');return n&&(i+=' title="'.concat(mf(n),'"')),i+">"}},{key:"text",value:function(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:mf(e.text)}}]),_f=C((function e(){w(this,e)}),[{key:"strong",value:function(e){return e.text}},{key:"em",value:function(e){return e.text}},{key:"codespan",value:function(e){return e.text}},{key:"del",value:function(e){return e.text}},{key:"html",value:function(e){return e.text}},{key:"text",value:function(e){return e.text}},{key:"link",value:function(e){return""+e.text}},{key:"image",value:function(e){return""+e.text}},{key:"br",value:function(){return""}}]),Ef=function(){function e(t){w(this,e),F(this,"options",void 0),F(this,"renderer",void 0),F(this,"textRenderer",void 0),this.options=t||vp,this.options.renderer=this.options.renderer||new wf,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _f}return C(e,[{key:"parse",value:function(e){for(var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="",r=0;r<e.length;r++){var a,o=e[r];if(null!==(a=this.options.extensions)&&void 0!==a&&null!==(a=a.renderers)&&void 0!==a&&a[o.type]){var i=o,s=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==s||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(i.type)){n+=s||"";continue}}var u=o;switch(u.type){case"space":n+=this.renderer.space(u);continue;case"hr":n+=this.renderer.hr(u);continue;case"heading":n+=this.renderer.heading(u);continue;case"code":n+=this.renderer.code(u);continue;case"table":n+=this.renderer.table(u);continue;case"blockquote":n+=this.renderer.blockquote(u);continue;case"list":n+=this.renderer.list(u);continue;case"html":n+=this.renderer.html(u);continue;case"def":n+=this.renderer.def(u);continue;case"paragraph":n+=this.renderer.paragraph(u);continue;case"text":for(var l=u,c=this.renderer.text(l);r+1<e.length&&"text"===e[r+1].type;)l=e[++r],c+="\n"+this.renderer.text(l);n+=t?this.renderer.paragraph({type:"paragraph",raw:c,text:c,tokens:[{type:"text",raw:c,text:c,escaped:!0}]}):c;continue;default:var d='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(d),"";throw new Error(d)}}return n}},{key:"parseInline",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.renderer,n="",r=0;r<e.length;r++){var a,o=e[r];if(null!==(a=this.options.extensions)&&void 0!==a&&null!==(a=a.renderers)&&void 0!==a&&a[o.type]){var i=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==i||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){n+=i||"";continue}}var s=o;switch(s.type){case"escape":case"text":n+=t.text(s);break;case"html":n+=t.html(s);break;case"link":n+=t.link(s);break;case"image":n+=t.image(s);break;case"strong":n+=t.strong(s);break;case"em":n+=t.em(s);break;case"codespan":n+=t.codespan(s);break;case"br":n+=t.br(s);break;case"del":n+=t.del(s);break;default:var u='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}return n}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}])}(),Cf=(hp=C((function e(t){w(this,e),F(this,"options",void 0),F(this,"block",void 0),this.options=t||vp}),[{key:"preprocess",value:function(e){return e}},{key:"postprocess",value:function(e){return e}},{key:"processAllTokens",value:function(e){return e}},{key:"emStrongMask",value:function(e){return e}},{key:"provideLexer",value:function(){return this.block?kf.lex:kf.lexInline}},{key:"provideParser",value:function(){return this.block?Ef.parse:Ef.parseInline}}]),F(hp,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),F(hp,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),hp),Sf=C((function e(){w(this,e),F(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),F(this,"options",this.setOptions),F(this,"parse",this.parseMarkdown(!0)),F(this,"parseInline",this.parseMarkdown(!1)),F(this,"Parser",Ef),F(this,"Renderer",wf),F(this,"TextRenderer",_f),F(this,"Lexer",kf),F(this,"Tokenizer",Df),F(this,"Hooks",Cf),this.use.apply(this,arguments)}),[{key:"walkTokens",value:function(e,t){var n,r=this,a=[],o=S(e);try{var i=function(){var e=n.value;switch(a=a.concat(t.call(r,e)),e.type){case"table":var o,i=e,s=S(i.header);try{for(s.s();!(o=s.n()).done;){var u=o.value;a=a.concat(r.walkTokens(u.tokens,t))}}catch(e){s.e(e)}finally{s.f()}var l,c=S(i.rows);try{for(c.s();!(l=c.n()).done;){var d,p=S(l.value);try{for(p.s();!(d=p.n()).done;){var f=d.value;a=a.concat(r.walkTokens(f.tokens,t))}}catch(e){p.e(e)}finally{p.f()}}}catch(e){c.e(e)}finally{c.f()}break;case"list":var h=e;a=a.concat(r.walkTokens(h.items,t));break;default:var m,g=e;null!==(m=r.defaults.extensions)&&void 0!==m&&null!==(m=m.childTokens)&&void 0!==m&&m[g.type]?r.defaults.extensions.childTokens[g.type].forEach((function(e){var n=g[e].flat(1/0);a=a.concat(r.walkTokens(n,t))})):g.tokens&&(a=a.concat(r.walkTokens(g.tokens,t)))}};for(o.s();!(n=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return a}},{key:"use",value:function(){for(var e=this,t=this.defaults.extensions||{renderers:{},childTokens:{}},n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return r.forEach((function(n){var r=j({},n);if(r.async=e.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if("renderer"in e){var n=t.renderers[e.name];t.renderers[e.name]=n?function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var o=e.renderer.apply(this,r);return!1===o&&(o=n.apply(this,r)),o}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");var r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),r.extensions=t),n.renderer){var a=e.defaults.renderer||new wf(e.defaults),o=function(){if(!(i in a))throw new Error("renderer '".concat(i,"' does not exist"));if(["options","parser"].includes(i))return 1;var e=i,t=n.renderer[e],r=a[e];a[e]=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var i=t.apply(a,n);
2return!1===i&&(i=r.apply(a,n)),i||""}};for(var i in n.renderer)o();r.renderer=a}if(n.tokenizer){var s=e.defaults.tokenizer||new Df(e.defaults),u=function(){if(!(l in s))throw new Error("tokenizer '".concat(l,"' does not exist"));if(["options","rules","lexer"].includes(l))return 1;var e=l,t=n.tokenizer[e],r=s[e];s[e]=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var o=t.apply(s,n);return!1===o&&(o=r.apply(s,n)),o}};for(var l in n.tokenizer)u();r.tokenizer=s}if(n.hooks){var c=e.defaults.hooks||new Cf,d=function(t){if(!(t in c))throw new Error("hook '".concat(t,"' does not exist"));if(["options","block"].includes(t))return 1;var r=t,a=n.hooks[r],o=c[r];Cf.passThroughHooks.has(t)?c[r]=function(n){if(e.defaults.async&&Cf.passThroughHooksRespectAsync.has(t))return Promise.resolve(a.call(c,n)).then((function(e){return o.call(c,e)}));var r=a.call(c,n);return o.call(c,r)}:c[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=a.apply(c,t);return!1===r&&(r=o.apply(c,t)),r}};for(var p in n.hooks)d(p);r.hooks=c}if(n.walkTokens){var f=e.defaults.walkTokens,h=n.walkTokens;r.walkTokens=function(e){var t=[];return t.push(h.call(this,e)),f&&(t=t.concat(f.call(this,e))),t}}e.defaults=j(j({},e.defaults),r)})),this}},{key:"setOptions",value:function(e){return this.defaults=j(j({},this.defaults),e),this}},{key:"lexer",value:function(e,t){return kf.lex(e,null!=t?t:this.defaults)}},{key:"parser",value:function(e,t){return Ef.parse(e,null!=t?t:this.defaults)}},{key:"parseMarkdown",value:function(e){var t=this;return function(n,r){var a=j({},r),o=j(j({},t.defaults),a),i=t.onError(!!o.silent,!!o.async);if(!0===t.defaults.async&&!1===a.async)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if($(n)>"u"||null===n)return i(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=e);var s=o.hooks?o.hooks.provideLexer():e?kf.lex:kf.lexInline,u=o.hooks?o.hooks.provideParser():e?Ef.parse:Ef.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then((function(e){return s(e,o)})).then((function(e){return o.hooks?o.hooks.processAllTokens(e):e})).then((function(e){return o.walkTokens?Promise.all(t.walkTokens(e,o.walkTokens)).then((function(){return e})):e})).then((function(e){return u(e,o)})).then((function(e){return o.hooks?o.hooks.postprocess(e):e})).catch(i);try{o.hooks&&(n=o.hooks.preprocess(n));var l=s(n,o);o.hooks&&(l=o.hooks.processAllTokens(l)),o.walkTokens&&t.walkTokens(l,o.walkTokens);var c=u(l,o);return o.hooks&&(c=o.hooks.postprocess(c)),c}catch(l){return i(l)}}}},{key:"onError",value:function(e,t){return function(n){if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){var r="<p>An error occurred:</p><pre>"+mf(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}}]),Ff=new Sf;function xf(e,t){return Ff.parse(e,t)}function Af(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}xf.options=xf.setOptions=function(e){return Ff.setOptions(e),xf.defaults=Ff.defaults,yp(xf.defaults),xf},xf.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},xf.defaults=vp,xf.use=function(){return Ff.use.apply(Ff,arguments),xf.defaults=Ff.defaults,yp(xf.defaults),xf},xf.walkTokens=function(e,t){return Ff.walkTokens(e,t)},xf.parseInline=Ff.parseInline,xf.Parser=Ef,xf.parser=Ef.parse,xf.Renderer=wf,xf.TextRenderer=_f,xf.Lexer=kf,xf.lexer=kf.lex,xf.Tokenizer=Df,xf.Hooks=Cf,xf.parse=xf,xf.options,xf.setOptions,xf.use,xf.walkTokens,xf.parseInline,Ef.parse,kf.lex;var If=new xf.Renderer;If.code=function(e){var t=e.text,n=e.lang,r=void 0===n?"":n,a=e.escaped,o=r?"language-".concat(r):"",i=a?t:Af(t),s=encodeURIComponent(t);return'\n    <div class="DocSearch-CodeSnippet">\n      <button class="DocSearch-CodeSnippet-CopyButton" data-code="'.concat(s,'" aria-label="copy code">').concat('<svg class="DocSearch-CodeSnippet-CopyIcon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewB
2ox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg>').concat('<svg class="DocSearch-CodeSnippet-CheckIcon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5" /></svg>','<span class="DocSearch-CodeSnippet-CopyButton-Label"></span></button>\n      <pre><code class="').concat(o,'">').concat(i,"</code></pre>\n    </div>\n  ")},If.link=function(e){var t=e.href,n=e.title,r=e.text,a=n?' title="'.concat(Af(n),'"'):"",o=t?Af(t):"",i=Af(r);return'<a href="'.concat(o,'"').concat(a,' target="_blank" rel="noopener noreferrer">').concat(i,"</a>")};var Tf=(0,r.memo)((function(e){var t=e.content,n=e.copyButtonText,a=e.copyButtonCopiedText,o=e.isStreaming,i=(0,r.useMemo)((function(){return xf.parse(t,{gfm:!0,breaks:!0,renderer:If})}),[t]),s=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=s.current;if(e)return Array.from(e.querySelectorAll(".DocSearch-CodeSnippet-CopyButton")).forEach((function(e){var t=e.querySelector(".DocSearch-CodeSnippet-CopyButton-Label");t&&(t.textContent=n),e.classList.remove("DocSearch-CodeSnippet-CopyButton--copied")})),e.addEventListener("click",t),function(){e.removeEventListener("click",t)};function t(e){var t,r=e.target.closest(".DocSearch-CodeSnippet-CopyButton");if(r){var o=null!==(t=r.getAttribute("data-code"))&&void 0!==t?t:"";navigator.clipboard.writeText(decodeURIComponent(o)).catch((function(){}));var i=r.querySelector(".DocSearch-CodeSnippet-CopyButton-Label");if(i){r.classList.add("DocSearch-CodeSnippet-CopyButton--copied");var s=n;i.textContent=a,setTimeout((function(){r.classList.remove("DocSearch-CodeSnippet-CopyButton--copied"),i.textContent=s}),1500)}}}}),[i,n,a]),r.createElement("div",{ref:s,className:"DocSearch-Markdown-Content ".concat(o?"DocSearch-Markdown-Content--streaming":""),dangerouslySetInnerHTML:{__html:i}})}));Tf.displayName="MemoizedMarkdown";var Of=function(e,t){var n,r,a=t[0].parts.find((function(e){return"text"===e.type}));return{query:e,objectID:null!==(n=null==a?void 0:a.text)&&void 0!==n?n:"",messages:t,type:"askAI",anchor:"stored",content:null,hierarchy:{lvl0:"askAI",lvl1:null!==(r=null==a?void 0:a.text)&&void 0!==r?r:"",lvl2:null,lvl3:null,lvl4:null,lvl5:null,lvl6:null},url:"",url_without_anchor:""}},jf=function(e){return null==e?void 0:e.parts.find((function(e){return"text"===e.type}))},Pf=["translations"];function Nf(e){var t=e.disclaimerText;return r.createElement("p",{className:"DocSearch-AskAiScreen-Disclaimer"},t)}function Rf(e){var t,n,a,o=e.exchange,i=e.askAiStreamError,s=e.isLastExchange,u=e.loadingStatus,l=e.onSearchQueryClick,c=e.translations,d=e.conversations,p=e.onFeedback,f=o.userMessage,h=o.assistantMessage,m=c.stoppedStreamingText,g=void 0===m?"You stopped this response":m,v=(0,r.useMemo)((function(){return jf(h)}),[h]),y=(0,r.useMemo)((function(){return jf(f)}),[f]),b=r.useMemo((function(){return e=h,t=[],n=new Set,e?(e.parts.forEach((function(e){if("text"===e.type&&0!==e.text.length){var r,a=e.text.replace(/```[\s\S]*?```/g,"").replace(/`[^`]*`/g,""),o=S(a.matchAll(/\[([^\]]*)\]\(([^)]+)\)/g));try{for(o.s();!(r=o.n()).done;){var i=r.value,s=i[1].trim(),u=i[2];n.has(u)||(n.add(u),t.push({url:u,title:s||void 0}))}}catch(e){o.e(e)}finally{o.f()}var l,c=S(a.matchAll(/(?<!\]\()https?:\/\/[^\s<>"{}|\\^`[\]]+/g));try{for(c.s();!(l=c.n()).done;){var d=l.value[0].replace(/[.,;:!?]+$/,"");n.has(d)||(n.add(d),t.push({url:d}))}}catch(e){c.e(e)}finally{c.f()}}})),t):[];var e,t,n}),[h]),D=r.useMemo((function(){return function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];
2if("tool-searchIndex"===r.type&&"output-available"===r.state){for(var a=[],o=n;o<e.length;){var i=e[o];if("tool-searchIndex"!==i.type||"output-available"!==i.state)break;var s,u,l=(null!==(s=null===(u=i.output)||void 0===u?void 0:u.query)&&void 0!==s?s:"").trim();l&&l.length>0&&a.push(l),o++}a.length>1?t.push({type:"aggregated-tool-call",queries:a}):1===a.length&&t.push(r),n=o-1}else t.push(r)}return t}((null==h?void 0:h.parts)||[])}),[h]),k=(null===(t=f.metadata)||void 0===t?void 0:t.stopped)||(null==h||null===(n=h.metadata)||void 0===n?void 0:n.stopped),w=!k&&(!s||s&&"ready"===u&&Boolean(h)),_=["submitted","streaming"].includes(u)&&s&&!D.some((function(e){return"step-start"!==e.type}));return r.createElement("div",{className:"DocSearch-AskAiScreen-Response-Container"},r.createElement("div",{className:"DocSearch-AskAiScreen-Response"},r.createElement("div",{className:"DocSearch-AskAiScreen-Message DocSearch-AskAiScreen-Message--user"},r.createElement("p",{className:"DocSearch-AskAiScreen-Query"},null!==(a=null==y?void 0:y.text)&&void 0!==a?a:"")),r.createElement("div",{className:"DocSearch-AskAiScreen-Message DocSearch-AskAiScreen-Message--assistant"},r.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent"},"error"===u&&i&&s&&r.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent DocSearch-AskAiScreen-Error"},r.createElement(tp,null),r.createElement(Tf,{content:i.message,copyButtonText:"",copyButtonCopiedText:"",isStreaming:!1})),_&&r.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent-Reasoning"},r.createElement("span",{className:"shimmer"},c.thinkingText||"Thinking...")),D.map((function(e,t){var n,a=t;if("string"==typeof e)return r.createElement(Tf,{key:a,content:e,copyButtonText:c.copyButtonText||"Copy",copyButtonCopiedText:c.copyButtonCopiedText||"Copied!",isStreaming:"streaming"===u});if("aggregated-tool-call"===e.type)return r.createElement(gp,{key:a,queries:e.queries,translations:c,onSearchQueryClick:l});if("reasoning"===e.type&&"streaming"===e.state)return r.createElement("div",{key:a,className:"DocSearch-AskAiScreen-MessageContent-Reasoning shimmer"},r.createElement(Jd,{className:"DocSearch-AskAiScreen-SmallerLoadingIcon"}),r.createElement("span",{className:"shimmer"},"Reasoning..."));if("text"===e.type)return r.createElement(Tf,{key:a,content:e.text,copyButtonText:c.copyButtonText||"Copy",copyButtonCopiedText:c.copyButtonCopiedText||"Copied!",isStreaming:"streaming"===e.state});if("tool-searchIndex"===e.type)switch(e.state){case"input-streaming":return r.createElement("div",{key:a,className:"DocSearch-AskAiScreen-MessageContent-Tool Tool--PartialCall shimmer"},r.createElement(Jd,{className:"DocSearch-AskAiScreen-SmallerLoadingIcon"}),r.createElement("span",null,c.preToolCallText||"Searching..."));case"input-available":return r.createElement("div",{key:a,className:"DocSearch-AskAiScreen-MessageContent-Tool Tool--Call shimmer"},r.createElement(Jd,{className:"DocSearch-AskAiScreen-SmallerLoadingIcon"}),r.createElement("span",null,"".concat(c.duringToolCallText||"Searching for ",' "').concat(e.input.query||"",'" ...')));case"output-available":return r.createElement("div",{key:a,className:"DocSearch-AskAiScreen-MessageContent-Tool Tool--Result"},r.createElement(Q,null),r.createElement("span",null,"".concat(c.afterToolCallText||"Searched for")," ",r.createElement("span",{role:"button",tabIndex:0,className:"DocSearch-AskAiScreen-MessageContent-Tool-Query",onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),l(e.output.query||""))},onClick:function(){return l(e.output.query||"")}}," ",'"',e.output.query||"",'"')," ","found ",(null===(n=e.output.hits)||void 0===n?void 0:n.length)||0," results"))}return null}))),k&&r.createElement("p",{className:"DocSearck-AskAiScreen-MessageContent-Stopped"},g)),r.createElement("div",{className:"DocSearch-AskAiScreen-Answer
2-Footer"},r.createElement(Bf,{id:(null==f?void 0:f.id)||o.id,showActions:w,latestAssistantMessageContent:(null==v?void 0:v.text)||null,translations:c,conversations:d,onFeedback:p}))),b.length>0?r.createElement(Mf,{urlsToDisplay:b,relatedSourcesText:c.relatedSourcesText}):null)}function Bf(e){var t=e.id,n=e.showActions,a=e.latestAssistantMessageContent,o=e.translations,i=e.conversations,s=e.onFeedback,u=r.useMemo((function(){var e,n,r=null===(e=i.getOne)||void 0===e?void 0:e.call(i,t);return null!==(n=null==r?void 0:r.feedback)&&void 0!==n?n:null}),[i,t]),l=M(r.useState(u),2),c=l[0],d=l[1],p=M(r.useState(!1),2),f=p[0],h=p[1],m=M(r.useState(null),2),g=m[0],v=m[1],y=function(){var e=D(N().m((function e(n){var r;return N().w((function(e){for(;;)switch(e.p=e.n){case 0:if(!f){e.n=1;break}return e.a(2);case 1:return v(null),h(!0),e.p=2,e.n=3,null==s?void 0:s(t,"like"===n?1:0);case 3:d(n),e.n=5;break;case 4:e.p=4,r=e.v,v(r);case 5:return e.p=5,h(!1),e.f(5);case 6:return e.a(2)}}),e,null,[[2,4,5,6]])})));return function(t){return e.apply(this,arguments)}}(),b=o.likeButtonTitle,k=void 0===b?"Like":b,w=o.dislikeButtonTitle,_=void 0===w?"Dislike":w,E=o.thanksForFeedbackText,C=void 0===E?"Thanks for your feedback!":E;return n&&a?r.createElement("div",{className:"DocSearch-AskAiScreen-Actions"},null===c?r.createElement(r.Fragment,null,f?r.createElement(Jd,{className:"DocSearch-AskAiScreen-SmallerLoadingIcon"}):r.createElement(r.Fragment,null,r.createElement(qf,{title:k,onClick:function(){return y("like")}}),r.createElement(Uf,{title:_,onClick:function(){return y("dislike")}})),g&&r.createElement("p",{className:"DocSearch-AskAiScreen-FeedbackText"},g.message||"An error occured")):r.createElement("p",{className:"DocSearch-AskAiScreen-FeedbackText DocSearch-AskAiScreen-FeedbackText--visible"},C),r.createElement($f,{translations:o,onClick:function(){return navigator.clipboard.writeText(a)}})):null}function Mf(e){var t=e.urlsToDisplay,n=e.relatedSourcesText;return r.createElement("div",{className:"DocSearch-AskAiScreen-RelatedSources"},r.createElement("p",{className:"DocSearch-AskAiScreen-RelatedSources-Title"},n||"Related sources"),r.createElement("div",{className:"DocSearch-AskAiScreen-RelatedSources-List"},t.length>0&&t.map((function(e){return r.createElement("a",{key:e.url,href:e.url,className:"DocSearch-AskAiScreen-RelatedSources-Item-Link",target:"_blank",rel:"noopener noreferrer"},r.createElement(zf,null),r.createElement("span",null,e.title||e.url))}))))}function Lf(e){var t=e.translations,n=void 0===t?{}:t,a=P(e,Pf),o=n.disclaimerText,i=void 0===o?"Answers are generated with AI which can make mistakes. Verify responses.":o,s=a.messages,u=(0,r.useMemo)((function(){for(var e=[],t=0;t<s.length;t++)if("user"===s[t].role){var n,r=s[t],a="assistant"===(null===(n=s[t+1])||void 0===n?void 0:n.role)?s[t+1]:null;e.push({id:r.id,userMessage:r,assistantMessage:a}),a&&t++}return e}),[s]),l=function(e){a.onAskAiToggle(!1),a.setQuery(e)};return r.createElement("div",{className:"DocSearch-AskAiScreen DocSearch-AskAiScreen-Container"},r.createElement(Nf,{disclaimerText:i}),r.createElement("div",{className:"DocSearch-AskAiScreen-Body"},r.createElement("div",{className:"DocSearch-AskAiScreen-ExchangesList"},u.slice().reverse().map((function(e,t){return r.createElement(Rf,{
2key:e.id,exchange:e,askAiStreamError:a.askAiStreamError,isLastExchange:0===t,loadingStatus:a.status,translations:n,conversations:a.conversations,onSearchQueryClick:l,onFeedback:a.onFeedback})})))))}function zf(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("line",{x1:"4",x2:"20",y1:"9",y2:"9"}),r.createElement("line",{x1:"4",x2:"20",y1:"15",y2:"15"}),r.createElement("line",{x1:"10",x2:"8",y1:"3",y2:"21"}),r.createElement("line",{x1:"16",x2:"14",y1:"3",y2:"21"}))}function $f(e){var t=e.onClick,n=e.translations,a=n.copyButtonTitle,o=void 0===a?"Copy":a,i=n.copyButtonCopiedText,s=void 0===i?"Copied!":i,u=M((0,r.useState)(!1),2),l=u[0],c=u[1];return(0,r.useEffect)((function(){if(l){var e=setTimeout((function(){c(!1)}),1500);return function(){return clearTimeout(e)}}}),[l]),r.createElement("button",{type:"button",className:"DocSearch-AskAiScreen-ActionButton DocSearch-AskAiScreen-CopyButton ".concat(l?"DocSearch-AskAiScreen-CopyButton--copied":""),disabled:l,title:l?s:o,onClick:function(){t(),c(!0)}},l?r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-check-icon lucide-check"},r.createElement("path",{d:"M20 6 9 17l-5-5"})):r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-copy-icon lucide-copy"},r.createElement("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),r.createElement("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})))}function qf(e){var t=e.title,n=e.onClick;return r.createElement("button",{type:"button",className:"DocSearch-AskAiScreen-ActionButton DocSearch-AskAiScreen-LikeButton",title:t,onClick:n},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-thumbs-up-icon lucide-thumbs-up"},r.createElement("path",{d:"M7 10v12"}),r.createElement("path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"})))}function Uf(e){var t=e.title,n=e.onClick;return r.createElement("button",{type:"button",className:"DocSearch-AskAiScreen-ActionButton DocSearch-AskAiScreen-DislikeButton",title:t,onClick:n},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-thumbs-down-icon lucide-thumbs-down"},r.createElement("path",{d:"M17 14V2"}),r.createElement("path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"})))}var Zf=["hit","attribute","tagName"];function Hf(e,t){return t.split(".").reduce((function(e,t){return null!=e&&e[t]?e[t]:null}),e)}function Vf(e){var t=e.hit,n=e.attribute,a=e.tagName,o=void 0===a?"span":a,i=P(e,Zf);return(0,r.createElement)(o,j(j({},i),{},{dangerouslySetInnerHTML:{__html:Hf(t,"_snippetResult.".concat(n,".value"))||Hf(t,n)}}))}var Wf=["item","getItemProps","onItemClick","translations","collection"];function Gf(e){var t=r.useMemo((function(){return e.title.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#039;/g,"'")}),[e.title]);return e.collection&&0!==e.collection.items.length?"askAI"===e.collection.source.sourceId?r.createElement("section",{className:"DocSearch-AskAi-Section"},r.createElement("ul",e.getListProps({source:e.collection.source}),r.createElement(Qf,x({item:e.collection.items[0],translations:e.translations},e)))):(e.collection.source.sourceId,r.createElement("section",{className:"DocSearch-Hits"},r.createElement("div",{className:"DocSearch-Hit-source"},t),r.createElement("ul",e.getListProps({source:e.collection.source}),e.collection.items.map((function(t,n){return r.createElement(Kf,x({key:[e.title,t.objectID].join(":"),item:t,index:n},e))}))))):null}function Kf(e){var t=e.item,n=e.index,a=e.renderIcon,o=e.renderAction,i=e.getItemProps,s=e.onItemClick,u=e.collection,l=e.hitComponent;return r.createElement("li",x({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child"].filter(
2Boolean).join(" ")},i({item:t,source:u.source,onClick:function(e){s(t,e)}})),r.createElement(l,{hit:t},r.createElement("div",{className:"DocSearch-Hit-Container"},a({item:t,index:n}),t.hierarchy[t.type]&&"lvl1"===t.type&&r.createElement("div",{className:"DocSearch-Hit-content-wrapper"},r.createElement(Vf,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&r.createElement(Vf,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),"askAI"===t.type&&r.createElement("div",{className:"DocSearch-Hit-content-wrapper"},r.createElement(Vf,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"})),t.hierarchy[t.type]&&("lvl2"===t.type||"lvl3"===t.type||"lvl4"===t.type||"lvl5"===t.type||"lvl6"===t.type)&&r.createElement("div",{className:"DocSearch-Hit-content-wrapper"},r.createElement(Vf,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),r.createElement(Vf,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),"content"===t.type&&r.createElement("div",{className:"DocSearch-Hit-content-wrapper"},r.createElement(Vf,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),r.createElement(Vf,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),o({item:t}))))}function Qf(e){var t=e.item,n=e.getItemProps,a=e.onItemClick,o=e.translations,i=e.collection,s=P(e,Wf),u=o||{},l=u.askAiPlaceholder,c=void 0===l?"Ask AI: ":l,d=u.noResultsAskAiPlaceholder,p=void 0===d?"Didn't find it in the docs? Ask AI to help: ":d,f=1===s.state.collections.length?p:c;return r.createElement("li",x({className:"DocSearch-Hit"},n({item:t,source:i.source,onClick:function(e){a(t,e)}})),r.createElement("div",{className:"DocSearch-Hit--AskAI"},r.createElement("div",{className:"DocSearch-Hit-AskAIButton DocSearch-Hit-Container"},r.createElement("div",{className:" DocSearch-Hit-AskAIButton-icon DocSearch-Hit-icon"},r.createElement(Yd,null)),r.createElement("div",{className:"DocSearch-Hit-AskAIButton-title"},r.createElement("span",{className:"DocSearch-Hit-AskAIButton-title-highlight"},f),r.createElement("mark",{className:"DocSearch-Hit-AskAIButton-title-query"},t.query||"")))))}var Jf=["onAskAiToggle"];function Yf(e){var t=e.onAskAiToggle,n=P(e,Jf),a=r.useMemo((function(){return n.state.collections[2]}),[n.state]);return r.useEffect((function(){a&&0!==a.items.length||t(!0)}),[a,t]),r.createElement("div",{className:"DocSearch-Dropdown-Container DocSearch-Conversation-History"},r.createElement(Gf,x({},n,{key:a.source.sourceId,title:"",translations:n.translations,collection:a,renderIcon:function(){return r.createElement("div",{className:"DocSearch-Hit-icon"},r.createElement(Yd,null))},renderAction:function(e){var t=e.item;return r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement("button",{type:"button",className:"DocSearch-Hit-action-button",onClick:function(e){e.preventDefault(),e.stopPropagation(),n.conversations.remove(t),n.refresh()}},r.createElement(ep,null)))}})))}function Xf(e){var t=e.translations,n=void 0===t?{}:t,a=n.titleText,o=void 0===a?"Unable to fetch results":a,i=n.helpText,s=void 0===i?"You might want to check your network connection.":i;return r.createElement("div",{className:"DocSearch-ErrorScreen"},r.createElement("div",{className:"DocSearch-Screen-Icon"},r.createElement(lp,null)),r.createElement("p",{className:"DocSearch-Title"},o),r.createElement("p",{className:"DocSearch-Help"},s))}function eh(e){var t=e.translations,n=void 0===t?{}:t,a=e.suggestedQuestions,o=void 0===a?[]:a,i=e.selectSuggestedQuestion,s=n.newConversationTitle,u=void 0===s?"How can I help you today?":s,l=n.newConversationDescription,c=void 0===l?"I search through your documentation to help you find setup guides, feature details and troubleshooting tips, fast.":l;return r.createElement("div",{className:"DocSearch-NewConversationScreen"},r.createElement("h3",{className:"DocSearch-NewConversationScreen-Title"},u),r.createElement("p",{className:"DocSearch-NewConversationScreen-Description"},c),r.createElement("div",{className:"DocSearch-NewConversationScreen-SuggestedQuestions"},o.map((function(e){return r.createElement("button",{key:e.objectID,type:"button",className:"DocSearch-NewConversationScreen-SuggestedQuestion",onClick:function(){return i(e)}},e.question)}))))}var th=["translations"];function nh(e){var t=e.translations,n=void 0===t?{}:t,a=P(e,th),o=n.noResultsText,i=void 0===o?"No results found for":o,s=n.suggestedQueryText,u=void 0===s?"Try searching for":s,l=n.reportMissingResultsText,c=void 0===l?"Believe this query should return results?":l,d=n.reportMissingResultsLinkText,p=void 0===d?"Let us know.":d,f=a.state.context.searchSuggestions;return r.createElement("div",{className:"DocSearch-NoResults ".concat(a.canHandleAskAi?"DocSearch-NoResults--withAskA
2i":"")},r.createElement("div",{className:"DocSearch-Screen-Icon"},r.createElement(cp,null)),r.createElement("p",{className:"DocSearch-Title"},i,' "',r.createElement("strong",null,a.state.query),'"'),f&&f.length>0&&r.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},r.createElement("p",{className:"DocSearch-Help"},u,":"),r.createElement("div",{className:"DocSearch-NoResults-Prefill-List-Items"},f.slice(0,3).reduce((function(e,t){return[].concat(L(e),[r.createElement("p",{key:t},r.createElement(Q,{size:16}),r.createElement("button",{className:"DocSearch-Prefill",key:t,type:"button",onClick:function(){a.setQuery(t.toLowerCase()+" "),a.refresh(),a.inputRef.current.focus()}},t))])}),[]))),a.getMissingResultsUrl&&r.createElement("p",{className:"DocSearch-Help"},"".concat(c," "),r.createElement("a",{href:a.getMissingResultsUrl({query:a.state.query}),target:"_blank",rel:"noopener noreferrer"},p)))}function rh(e,t,n){return e.reduce((function(e,r){var a=t(r);return e.hasOwnProperty(a)||(e[a]=[]),e[a].length<(n||5)&&e[a].push(r),e}),{})}function ah(e){return e}function oh(e){return 1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function ih(){}var sh=/(<mark>|<\/mark>)/g,uh=RegExp(sh.source);function lh(e){var t,n,r=e;if(!r.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var a=r.__docsearch_parent?null===(t=r.__docsearch_parent)||void 0===t||null===(t=t._highlightResult)||void 0===t||null===(t=t.hierarchy)||void 0===t?void 0:t.lvl0:null===(n=e._highlightResult)||void 0===n||null===(n=n.hierarchy)||void 0===n?void 0:n.lvl0;return a?a.value&&uh.test(a.value)?a.value.replace(sh,""):a.value:e.hierarchy.lvl0}var ch=["translations"];function dh(e){var t=e.translations,n=void 0===t?{}:t,a=P(e,ch);return r.createElement("div",{className:"DocSearch-Dropdown-Container"},a.state.collections.map((function(e){if(0===e.items.length)return null;var t=lh(e.items[0]);return r.createElement(Gf,x({},a,{key:e.source.sourceId,translations:n,title:t,collection:e,renderIcon:function(t){var n,a=t.item,o=t.index;return r.createElement(r.Fragment,null,a.__docsearch_parent&&r.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},r.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},a.__docsearch_parent!==(null===(n=e.items[o+1])||void 0===n?void 0:n.__docsearch_parent)?r.createElement("path",{d:"M8 6v21M20 27H8.3"}):r.createElement("path",{d:"M8 6v42M20 27H8.3"}))),r.createElement("div",{className:"DocSearch-Hit-icon"},r.createElement(ap,{type:a.type})))},renderAction:function(){return r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement(np,null))}}))})),a.resultsFooterComponent&&r.createElement("section",{className:"DocSearch-HitsFooter"},r.createElement(a.resultsFooterComponent,{state:a.state})))}var ph=["translations"];function fh(e){var t=e.translations,n=void 0===t?{}:t,a=P(e,ph),o=n.recentSearchesTitle,i=void 0===o?"Recent":o,s=n.saveRecentSearchButtonTitle,u=void 0===s?"Save this search":s,l=n.removeRecentSearchButtonTitle,c=void 0===l?"Remove this search from history":l,d=n.favoriteSearchesTitle,p=void 0===d?"Favorite":d,f=n.removeFavoriteSearchButtonTitle,h=void 0===f?"Remove this search from favorites":f,m=n.recentConversationsTitle,g=void 0===m?"Recent conversations":m,v=n.removeRecentConversationButtonTitle,y=void 0===v?"Remove this conversation from history":v;return r.createElement("div",{className:"DocSearch-Dropdown-Container"},r.createElement(Gf,x({},a,{title:i,collection:a.state.collections[0],renderIcon:function(){return r.createElement("div",{className:"DocSearch-Hit-icon"},r.createElement(Xd,null))},renderAction:function(e){var t=e.item;return r.createElement(r.Fragment,null,r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement("button",{className:"DocSearch-Hit-action-button",title:u,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),a.favoriteSearches.add(t),a.recentSearches.remove(t),a.refresh()}},r.createElement(sp,null))),r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement("button",{className:"DocSearch-Hit-action-button",title:c,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),a.recentSearches.remove(t),a.refresh()}},r.createElement(ep,null))))}})),r.createElement(Gf,x({},a,{title:p,collection:a.state.collections[1],renderIcon:function(){return r.createElement("div",{className:"DocSearch-Hit-icon"},r.createElement(sp,null))},renderAction:function(e){var t=e.item;return r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement("button",{className:"DocSearch-Hit-action-button",title:h,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),a.favoriteSearches.remove(t),a.refresh()}},r.createElement(ep,null)))}})),r.createElement(Gf,x({},a,{title:g,collection:a.state.collections[2],renderIcon:function(){return r.createElement("div",{className:"DocSearch-Hit-icon"},r.createElement(Yd,null))},renderAction:function(e){var t=e.item;return r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement("button",{className:"DocSearch-Hit-action-button",title:y,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),a.conversations.remove(t),a.refresh()}},r.createElement(ep,null)))}})))}var hh=["translations"],mh=r.memo((function(e){var t,n=e.translations,a=void 0===n?{}:n,o=P(e,hh);return o.canHandleAskAi&&o.isAskAiActive&&"conversation-history"===o.askAiState?r.createElement(Yf,o):o.canHandleAskAi&&o.isAskAiActive&&"new-conversation"===o.askAiState?r.createElement(eh,{translations:null==a?void 0:a.newConversation,selectSuggestedQuestion:o.selectSuggestedQuestion,suggestedQuestions:o.suggestedQuestions}):o.isAskAiActive&&o.canHandleAskAi?r.createElement(Lf,x({},o,{messages:o.messages,status:o.status,askAiStreamError:o.askAiStreamError,askAiFetchError:o.askAiFetchError,translations:null==a?void 0:a.askAiScreen})):"error"===(null===(t=o.state)||void 0===t?void 0:t.status)?r.createElement(Xf,{translations:null==a?void 0:a.errorScreen}):o.state.query?o.hasCollections||o.canHandleAskAi?r.createElement(r.Fragment,null,r.createElement(dh,x({},o,{translations:null==a?void 0:a.resultsScreen})),o.canHandleAskAi&&1===o.state.collections.length&&r.createElement(nh,x({},o,{translations:null==a?void 0:a.noResultsScreen}))):r.createElement(nh,x({},o,{translations:null==a?void 0:a.noResultsScreen})):r.createElement(fh,x({},o,{hasCollections:o.hasCollections,translations:null==a?void 0:a.startScreen}))}),(function(e,t){return"loading"===t.state.status||"stalled"===t.state.status}));function gh(e){var t=e.size,n=void 0===t?20:t,a=e.color,o=void 0===a?"currentColor":a;
2return r.createElement("svg",{width:n,height:n,className:"DocSearch-Back-Icon",viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},r.createElement("path",{d:"m12 19-7-7 7-7"}),r.createElement("path",{d:"M19 12H5"}))}var vh=["children","className","onClick"],yh=r.createContext({open:!1,setOpen:function(e){}});function bh(e){var t=e.children,n=M(r.useState(!1),2),a=n[0],o=n[1],i=r.useRef(null);return r.useEffect((function(){function e(e){var t;null!==(t=i.current)&&void 0!==t&&t.contains(e.target)||o(!1)}return a&&window.addEventListener("click",e),function(){window.removeEventListener("click",e)}}),[a]),r.createElement(yh.Provider,{value:{open:a,setOpen:o}},r.createElement("div",{ref:i,className:"DocSearch-Menu"},t))}function Dh(e){var t=e.heading,n=e.shimmer,a=void 0!==n&&n;return r.createElement("span",{className:"DocSearch-Modal-heading".concat(a?" shimmer":"")},t)}bh.Trigger=function(e){var t=e.children,n=e.className,a=void 0===n?"":n,o=r.useContext(yh),i=o.open,s=o.setOpen;return r.createElement("button",{type:"button",className:"DocSearch-Menu-trigger ".concat(a),onClick:function(){s(!i)}},t)},bh.Content=function(e){var t=e.children,n=r.useContext(yh).open;return r.createElement("div",{className:"DocSearch-Menu-content".concat(n?" open":"")},t)},bh.Item=function(e){var t=e.children,n=e.className,a=void 0===n?"":n,o=e.onClick,i=P(e,vh),s=r.useContext(yh).setOpen;return r.createElement("button",x({type:"button",className:"DocSearch-Menu-item ".concat(a),onClick:function(e){o&&(o(e),s(!1))}},i),t)};var kh=["translations","askAiState","onAskAiToggle","setAskAiState"];function wh(e){var t=e.translations,n=void 0===t?{}
2:t,a=e.askAiState,o=e.onAskAiToggle,i=e.setAskAiState,s=P(e,kh),u=n.clearButtonTitle,l=void 0===u?"Clear":u,c=n.clearButtonAriaLabel,d=void 0===c?"Clear the query":c,p=n.closeButtonText,f=void 0===p?"Close":p,h=n.closeButtonAriaLabel,m=void 0===h?"Close":h,g=n.searchInputLabel,v=void 0===g?"Search":g,y=n.backToKeywordSearchButtonText,b=void 0===y?"Back to keyword search":y,D=n.backToKeywordSearchButtonAriaLabel,k=void 0===D?"Back to keyword search":D,w=n.placeholderTextAskAiStreaming,_=void 0===w?"Answering...":w,E=n.newConversationPlaceholder,C=void 0===E?"Ask a question":E,S=n.conversationHistoryTitle,F=void 0===S?"My conversation history":S,A=n.startNewConversationText,I=void 0===A?"Start a new conversation":A,T=n.viewConversationHistoryText,O=void 0===T?"Conversation history":T,N=s.getFormProps({inputElement:s.inputRef.current}).onReset;r.useEffect((function(){s.autoFocus&&s.inputRef.current&&s.inputRef.current.focus()}),[s.autoFocus,s.inputRef]),r.useEffect((function(){s.isFromSelection&&s.inputRef.current&&s.inputRef.current.select()}),[s.isFromSelection,s.inputRef]);var R=r.useMemo((function(){var e=s.state.collections[2];return!!e&&e.items.length>0}),[s.state.collections]),B=s.getInputProps({inputElement:s.inputRef.current,autoFocus:s.autoFocus,maxLength:512}),M=new Set(["ArrowUp","ArrowDown","Enter"]),L=B.onKeyDown,z=B.onChange,$="streaming"===s.askAiStatus||"submitted"===s.askAiStatus,q="stalled"===s.state.status,U=s.isAskAiActive&&"conversation-history"!==a,Z=s.placeholder;"new-conversation"===a&&(Z=C);var H=null;$&&(H=_),"conversation-history"===a&&(H=F),r.useEffect((function(){"streaming"!==s.askAiStatus&&"submitted"!==s.askAiStatus&&s.inputRef.current&&s.inputRef.current.focus()}),[s.askAiStatus,s.inputRef]);var V=j(j({},B),{},{enterKeyHint:s.isAskAiActive?"enter":"search",onKeyDown:function(e){if(s.isAskAiActive&&M.has(e.key))return"Enter"===e.key&&!$&&s.state.query&&s.onAskAgain(s.state.query),e.preventDefault(),void e.stopPropagation();null==L||L(e)},onChange:function(e){if(s.isAskAiActive)return s.setQuery(e.currentTarget.value),e.preventDefault(),void e.stopPropagation();null==z||z(e)},disabled:$}),W=r.useCallback((function(){if("conversation-history"===a)return o(!0),void i("initial");o(!1)}),[a,o,i]);return r.createElement(r.Fragment,null,r.createElement("form",{className:"DocSearch-Form",onSubmit:function(e){e.preventDefault()},onReset:N},s.isAskAiActive?r.createElement(r.Fragment,null,r.createElement("button",{type:"button",tabIndex:0,className:"DocSearch-Action DocSearch-AskAi-Return",title:b,"aria-label":k,onClick:W},r.createElement(gh,null))):r.createElement(r.Fragment,null,q&&r.createElement("div",{className:"DocSearch-LoadingIndicator"},r.createElement(Jd,null)),!q&&r.createElement("label",x({className:"DocSearch-MagnifierLabel"},s.getLabelProps()),r.createElement(Q,null),r.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},v))),H&&r.createElement(Dh,{heading:H,shimmer:$}),r.createElement("input",x({className:"DocSearch-Input",ref:s.inputRef},V,{placeholder:Z,hidden:Boolean(H)})),r.createElement("div",{className:"DocSearch-Actions"},r.createElement("button",{className:"DocSearch-Clear",type:"reset","aria-label":d,hidden:!s.state.query,tabIndex:s.state.query?0:-1,"aria-hidden":s.state.query?"false":"true"},l),s.state.query&&r.createElement("div",{className:"DocSearch-Divider"}),$&&r.createElement(r.Fragment,null,r.createElement("button",{type:"button",className:"DocSearch-Action DocSearch-StopStreaming",onClick:s.onStopAskAiStreaming},r.createElement(up,null)),r.createElement("div",{className:"DocSearch-Divider"})),U&&r.createElement(r.Fragment,null,r.createElement(bh,null,r.createElement(bh.Trigger,{className:"DocSearch-Action"},r.createElement(dp,null)),r.createElement(bh.Content,null,r.createElement(bh.Item,{onClick:s.onNewConversation},r.createElement(fp,null),I),R&&r.createElement(bh.Item,{onClick:s.onViewConversationHistory},r.createElement(pp,null),O))),r.createElement("div",{className:"DocSearch-Divider"})),r.createElement("button",{type:"button",title:f,className:"DocSearch-Action DocSearch-Close","aria-label":m,onClick:s.onClose},r.createElement(ep,null)))))}function _h(){if("undefined"!=typeof window&&window.localStorage){var e=[];for(var t in window.localStorage)if(t.includes("__DOCSEARCH_")){var n=window.localStorage[t];e.push({key:t,size:n.length+t.length})}e.sort((function(e,t){return t.size-e.size}));for(var r=Math.ceil(e.length/2),a=0;a<r&&a<e.length;a++)try{window.localStorage.removeItem(e[a].key)}catch(e){}}}function Eh(e){return!1===function(){if("undefined"==typeof window||!("localStorage"in window))return!1;var e="__TEST_KEY__";try{return window.localStorage.setItem(e,""),window.localStorage.removeItem(e),!0}catch(e){return!1}}()?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){!function(e,t){try{window.localStorage.setItem(e,JSON.stringify(t))}catch(n){if(n instanceof DOMException&&"QuotaExceededError"===n.name)try{_h(),window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}}}(e,t)},getItem:function(){var t=window.localStorage.getItem(e);if(null===t)return[];try{var n=JSON.parse(t);return Array.isArray(n)?n:[]}catch(t){return window.localStorage.removeItem(e),[]}}}}var Ch=["_highlightResult","_snippetResult"];function Sh(e){var t=e.key,n=e.limit,r=void 0===n?5:n,a=Eh(t),o=a.getItem().slice(0,r);return{add:function(e){var t=e;t._highlightResult,t._snippetResult;var n=P(t,Ch),i=o.findIndex((function(e){return e.objectID===n.objectID}));i>-1&&o.splice(i,1),o.unshift(n),o=o.slice(0,r),a.setItem(o)},remove:function(e){o=o.filter((function(t){return t.objectID!==e.objectID})),a.setItem(o)},getAll:function(){return o}}}function Fh(e){var t,n="algolia-client-js-".concat(e.key);function r(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function a(){return JSON.parse(r().getItem(n)||"{}")}function o(e){r().setItem(n,JSON.stringify(e))}return{get:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var n,r,i;return n=e.timeToLive?1e3*e.timeToLive:null,r=a(),o(i=Object.fromEntries(Object.entries(r).filter((function(e){return void 0!==M(e,2)[1].timestamp})))),n&&o(Object.fromEntries(Object.entries(i).filter((function(e){var t=M(e,2)[1],r=(new Date).getTime();return!(t.timestamp+n<r)})))),a()[JSON.stringify(t)]})).then((function(e){return Promise.all([e?e.value:n(),void 0!==e])})).then((function(e){var t=M(e,2),n=t[0],a=t[1];return Promise.all([n,a||r.miss(n)])})).then((function(e){return M(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var o=a();return o[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},r().setItem(n,JSON.stringify(o)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=a();delete t[JSON.stringify(e)],r().setItem(n,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){r().removeItem(n)}))}}}function xh(e){var t=L(e.caches),n=t.shift();return void 0===n?{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,n.miss(e)])})).then((function(e){return M(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(e,r,a).catch((function(){return xh({caches:t}).get(e,r,a)}))},set:function(e,r){return n.set(e,r).catch((function(){return xh({caches:t}).set(e,r)}))},delete:function(e){return n.delete(e).catch((function(){return xh({caches:t}).delete(e)}))}
2,clear:function(){return n.clear().catch((function(){return xh({caches:t}).clear()}))}}}function Ah(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},o=JSON.stringify(n);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);var i=r();return i.then((function(e){return a.miss(e)})).then((function(){return i}))},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Ih(e){var t=e.algoliaAgents,n=e.client,r=e.version,a=function(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var n="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(n)&&(t.value="".concat(t.value).concat(n)),t}};return t}(r).add({segment:n,version:r});return t.forEach((function(e){return a.add(e)})),a}var Th=12e4;function Oh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"up",n=Date.now();return j(j({},e),{},{status:t,lastUpdate:n,isUp:function(){return"up"===t||Date.now()-n>Th},isTimedOut:function(){return"timed out"===t&&Date.now()-n<=Th}})}var jh=function(){function e(t,n){var r;return w(this,e),F(r=k(this,e,[t]),"name","AlgoliaError"),n&&(r.name=n),r}return I(e,U(Error)),C(e)}(),Ph=function(){function e(t,n,r){var a;return w(this,e),F(a=k(this,e,[t,r]),"stackTrace",void 0),a.stackTrace=n,a}return I(e,jh),C(e)}(),Nh=function(){function e(t){return w(this,e),k(this,e,["Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support",t,"RetryError"])}return I(e,Ph),C(e)}(),Rh=function(){function e(t,n,r){var a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ApiError";return w(this,e),F(a=k(this,e,[t,r,o]),"status",void 0),a.status=n,a}return I(e,Ph),C(e)}(),Bh=function(){function e(t,n){var r;return w(this,e),F(r=k(this,e,[t,"DeserializationError"]),"response",void 0),r.response=n,r}return I(e,jh),C(e)}(),Mh=function(){function e(t,n,r,a){var o;return w(this,e),F(o=k(this,e,[t,n,a,"DetailedApiError"]),"error",void 0),o.error=r,o}return I(e,Rh),C(e)}();function Lh(e,t,n){var r,a=(r=n,Object.keys(r).filter((function(e){return void 0!==r[e]})).sort().map((function(e){return"".concat(e,"=").concat(encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20"))})).join("&")),o="".concat(e.protocol,"://").concat(e.url).concat(e.port?":".concat(e.port):"","/").concat("/"===t.charAt(0)?t.substring(1):t);return a.length&&(o+="?".concat(a)),o}function zh(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:j(j({},e.data),t.data);return JSON.stringify(n)}}function $h(e,t,n){var r=j(j(j({Accept:"application/json"},e),t),n),a={};return Object.keys(r).forEach((function(e){var t=r[e];a[e.toLowerCase()]=t})),a}function qh(e){try{return JSON.parse(e.content)}catch(t){throw new Bh(t.message,e)}}function Uh(e,t){var n=e.content,r=e.status;try{var a=JSON.parse(n);return"error"in a?new Mh(a.message,r,a.error,t):new Rh(a.message,r,t)}catch(e){}return new Rh(n,r,t)}function Zh(e){var t=e.isTimedOut,n=e.status;return t||function(e){return!e.isTimedOut&&!~~e.status}({isTimedOut:t,status:n})||2!=~~(n/100)&&4!=~~(n/100)}function Hh(e){return 2==~~(e.status/100)}function Vh(e){return e.map((function(e){return Wh(e)}))}function Wh(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return j(j({},e),{},{request:j(j({},e.request),{},{headers:j(j({},e.request.headers),t)})})}var Gh=["appId","apiKey","authMode","algoliaAgents"],Kh=["params"],Qh="5.37.0";function Jh(e){return[{url:"".concat(e,"-dsn.algolia.net"),accept:"read",protocol:"https"},{url:"".concat(e,".algolia.net"),accept:"write",protocol:"https"}].concat(function(e){for(var t=e,n=e.length-1;n>0;n--){var r=Math.floor(Math.random()*(n+1)),a=e[n];t[n]=e[r],t[r]=a}return t}([{url:"".concat(e,"-1.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-2.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-3.algolianet.com"),accept:"readWrite",protocol:"https"}]))}var Yh="4.3.1";
2function Xh(e,t,n){var a=r.useMemo((function(){var r=function(e,t){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");return function(e){var t=e.appId,n=e.apiKey,r=e.authMode,a=e.algoliaAgents,o=P(e,Gh),i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"WithinHeaders",r={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:function(){return"WithinHeaders"===n?r:{}},queryParameters:function(){return"WithinQueryParameters"===n?r:{}}}}(t,n,r),s=function(e){var t=e.hosts,n=e.hostsCache,r=e.baseHeaders,a=e.logger,o=e.baseQueryParameters,i=e.algoliaAgent,s=e.timeouts,u=e.requester,l=e.requestsCache,c=e.responsesCache;function d(e){return p.apply(this,arguments)}function p(){return(p=D(N().m((function e(t){var r,a,o,i,s;return N().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,Promise.all(t.map((function(e){return n.get(e,(function(){return Promise.resolve(Oh(e))}))})));case 1:return r=e.v,a=r.filter((function(e){return e.isUp()})),o=r.filter((function(e){return e.isTimedOut()})),i=[].concat(L(a),L(o)),s=i.length>0?i:t,e.a(2,{hosts:s,getTimeout:function(e,t){return(0===o.length&&0===e?1:o.length+3+e)*t}})}}),e)})))).apply(this,arguments)}function f(e,t){return h.apply(this,arguments)}function h(){return h=D(N().m((function e(l,c){var p,f,h,m,g,v,y,b,k,w,_,E,C,S=arguments;return N().w((function(e){for(;;)switch(e.n){case 0:if(p=!(S.length>2&&void 0!==S[2])||S[2],f=[],h=zh(l,c),m=$h(r,l.headers,c.headers),g="GET"===l.method?j(j({},l.data),c.data):{},v=j(j(j({},o),l.queryParameters),g),i.value&&(v["x-algolia-agent"]=i.value),c&&c.queryParameters)for(y=0,b=Object.keys(c.queryParameters);y<b.length;y++)k=b[y],c.queryParameters[k]&&"[object Object]"!==Object.prototype.toString.call(c.queryParameters[k])?v[k]=c.queryParameters[k].toString():v[k]=c.queryParameters[k];return w=0,_=function(){var e=D(N().m((function e(t,r){var o,i,d,g,y,b;return N().w((function(e){for(;;)switch(e.n){case 0:if(void 0!==(o=t.pop())){e.n=1;break}throw new Nh(Vh(f));case 1:return i=j(j({},s),c.timeouts),d={data:h,headers:m,method:l.method,url:Lh(o,l.path,v),connectTimeout:r(w,i.connect),responseTimeout:r(w,p?i.read:i.write)},g=function(e){var n={request:d,response:e,host:o,triesLeft:t.length};return f.push(n),n},e.n=2,u.send(d);case 2:if(!Zh(y=e.v)){e.n=4;break}return b=g(y),y.isTimedOut&&w++,a.info("Retryable failure",Wh(b)),e.n=3,n.set(o,Oh(o,y.isTimedOut?"timed out":"down"));case 3:return e.a(2,_(t,r));case 4:if(!Hh(y)){e.n=5;break}return e.a(2,qh(y));case 5:throw g(y),Uh(y,f);case 6:return e.a(2)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),E=t.filter((function(e){return"readWrite"===e.accept||(p?"read"===e.accept:"write"===e.accept)})),e.n=1,d(E);case 1:return C=e.v,e.a(2,_(L(C.hosts).reverse(),C.getTimeout))}}),e)}))),h.apply(this,arguments)}return{hostsCache:n,requester:u,timeouts:s,logger:a,algoliaAgent:i,baseHeaders:r,baseQueryParameters:o,hosts:t,request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.useReadTransporter||"GET"===e.method;if(!n)return f(e,t,n);var a=function(){return f(e,t)};if(!0!==(t.cacheable||e.cacheable))return a();var i={request:e,requestOptions:t,transporter:{queryParameters:o,headers:r}};return c.get(i,(function(){return l.get(i,(function(){return l.set(i,a()).then((function(e){return Promise.all([l.delete(i),e])}),(function(e){return Promise.all([l.delete(i),Promise.reject(e)])})).then((function(e){var t=M(e,2);return t[0],t[1]}))}))}),{miss:function(e){return c.set(i,e)}})},requestsCache:l,responsesCache:c}}(j(j({hosts:Jh(t)},o),{},{algoliaAgent:Ih({algoliaAgents:a,client:"Lite",version:Qh}),baseHeaders:j(j({"content-type":"text/plain"},i.headers()),o.baseHeaders),baseQueryParameters:j(j({},i.queryParameters()),o.baseQueryParameters)}));return{transporter:s,appId:t,apiKey:n,clearCache:function(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then((function(){}))},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent:function(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey:function(e){var t=e.apiKey;r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=t:s.baseHeaders["x-algolia-api-key"]=t},searchForHits:function(e,t){return this.search(e,t)},searchForFacets:function(e,t){return this.search(e,t)},customPost:function(e,t){var n=e.path,r=e.parameters,a=e.body;if(!n)throw new Error("Parameter `path` is required when calling `customPost`.");var o={method:"POST",path:"/{path}".replace("{path}",n),queryParameters:r||{},headers:{},data:a||{}};return s.request(o,t)},getRecommendations:function(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var n={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return s.request(n,t)},search:function(e,t){if(e&&Array.isArray(e)){var n={requests:e.map((function(e){var t=e.params,n=P(e,Kh);return"facet"===n.type?j(j(j({},n),t),{},{type:"facet"}):j(j(j({},n),t),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}))};e=n}if(!e)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return s.request(r,t)}}}(j({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return Promise.resolve()}},requester:{send:function(e){return new Promise((function(t){var n=new XMLHttpRequest;
2n.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return n.setRequestHeader(t,e.headers[t])}));var r,a=function(e,r){return setTimeout((function(){n.abort(),t({status:0,content:r,isTimedOut:!0})}),e)},o=a(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(o),r=a(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(o),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(o),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:Ah(),requestsCache:Ah({serializable:!1}),hostsCache:xh({caches:[Fh({key:"".concat(Qh,"-").concat(e)}),Ah()]})},void 0))}(e,t);return r.addAlgoliaAgent("docsearch",Yh),!1===/docsearch.js \(.*\)/.test(r.transporter.algoliaAgent.value)&&r.addAlgoliaAgent("docsearch-react",Yh),n(r)}),[e,t,n]);return a}var em=["appId","apiKey","askAi","maxResultsPerGroup","theme","onClose","transformItems","hitComponent","resultsFooterComponent","navigator","initialScrollY","transformSearchClient","disableUserPersonalization","initialQuery","translations","getMissingResultsUrl","insights","onAskAiToggle","isAskAiActive","recentSearchesLimit","recentSearchesWithFavoritesLimit","indices","indexName","searchParameters"],tm=["footer","searchBox"],nm=function(){var e=D(N().m((function e(t){var n,r,a,o,i,s,u,l,c,d,p,f,h,m,g,v,y,b,D;return N().w((function(e){for(;;)switch(e.p=e.n){case 0:return n=t.query,r=t.state,a=t.setContext,o=t.setStatus,i=t.searchClient,s=t.indexes,u=t.snippetLength,l=t.insights,c=t.appId,d=t.apiKey,p=t.maxResultsPerGroup,f=t.transformItems,h=void 0===f?ah:f,m=t.saveRecentSearch,g=t.onClose,v=l,e.p=1,e.n=2,i.search({requests:s.map((function(e){var t,r,a,o,i,s,l,c="string"==typeof e?e:e.name,d="string"==typeof e?{}:e.searchParameters;return j({query:n,indexName:c,attributesToRetrieve:null!==(t=null==d?void 0:d.attributesToRetrieve)&&void 0!==t?t:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:null!==(r=null==d?void 0:d.attributesToSnippet)&&void 0!==r?r:["hierarchy.lvl1:".concat(u.current),"hierarchy.lvl2:".concat(u.current),"hierarchy.lvl3:".concat(u.current),"hierarchy.lvl4:".concat(u.current),"hierarchy.lvl5:".concat(u.current),"hierarchy.lvl6:".concat(u.current),"content:".concat(u.current)],snippetEllipsisText:null!==(a=null==d?void 0:d.snippetEllipsisText)&&void 0!==a?a:"\u2026",highlightPreTag:null!==(o=null==d?void 0:d.highlightPreTag)&&void 0!==o?o:"<mark>",highlightPostTag:null!==(i=null==d?void 0:d.highlightPostTag)&&void 0!==i?i:"</mark>",hitsPerPage:null!==(s=null==d?void 0:d.hitsPerPage)&&void 0!==s?s:20,clickAnalytics:null!==(l=null==d?void 0:d.clickAnalytics)&&void 0!==l?l:v},null!=d?d:{})}))});case 2:return y=e.v,b=y.results,e.a(2,b.flatMap((function(e){var t,n=e,o=n.hits,i=n.nbHits,s=rh(h(o),(function(e){return lh(e)}),p);if(r.context.searchSuggestions.length<Object.keys(s).length&&a({searchSuggestions:j(j({},null!==(t=r.context.searchSuggestions)&&void 0!==t?t:[]),Object.keys(s))}),i){var u=r.context.nbHits;a({nbHits:(null!=u?u:0)+i})}var l={};return v&&(l={__autocomplete_indexName:n.index,__autocomplete_queryID:n.queryID,__autocomplete_algoliaCredentials:{appId:c,apiKey:d}}),Object.values(s).map((function(e,t){return{sourceId:"hits_".concat(n.index,"_").concat(t),onSelect:function(e){var t=e.item,n=e.event;m(t),oh(n)||g()},getItemUrl:function(e){return e.item.url},getItems:function(){return Object.values(rh(e,(function(e){return e.hierarchy.lvl1}),p)).map((function(e){return e.map((function(t){var n=null,r=e.find((function(e){return"lvl1"===e.type&&e.hierarchy.lvl1===t.hierarchy.lvl1}));return"lvl1"!==t.type&&r&&(n=r),j(j({},t),{},{__docsearch_parent:n},l)}))})).flat()}}}))})));case 3:throw e.p=3,"RetryError"===(D=e.v).name&&o("error"),D;case 4:return e.a(2)}}),e,null,[[1,3]])}
2)));return function(t){return e.apply(this,arguments)}}();function rm(e){var t,n,a,o=e.appId,i=e.apiKey,s=e.askAi,u=e.maxResultsPerGroup,l=e.theme,c=e.onClose,d=void 0===c?ih:c,p=e.transformItems,f=void 0===p?ah:p,h=e.hitComponent,m=void 0===h?Qd:h,g=e.resultsFooterComponent,v=void 0===g?function(){return null}:g,y=e.navigator,b=e.initialScrollY,k=void 0===b?0:b,w=e.transformSearchClient,_=void 0===w?ah:w,E=e.disableUserPersonalization,C=void 0!==E&&E,F=e.initialQuery,A=void 0===F?"":F,I=e.translations,T=void 0===I?{}:I,O=e.getMissingResultsUrl,R=e.insights,B=void 0!==R&&R,z=e.onAskAiToggle,q=e.isAskAiActive,U=void 0!==q&&q,H=e.recentSearchesLimit,V=void 0===H?7:H,W=e.recentSearchesWithFavoritesLimit,G=void 0===W?4:W,K=e.indices,Q=void 0===K?[]:K,J=e.indexName,Y=e.searchParameters,X=P(e,em),ee=T.footer,te=T.searchBox,ne=P(T,tm),re=M(r.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),ae=re[0],oe=re[1],ie=Boolean(s),se=(null==T||null===(t=T.searchBox)||void 0===t?void 0:t.placeholderText)||X.placeholder||"Search docs";ie&&(se=(null==T||null===(n=T.searchBox)||void 0===n?void 0:n.placeholderText)||"Search docs or ask AI a question"),U&&(se=(null==T||null===(a=T.searchBox)||void 0===a?void 0:a.placeholderTextAskAi)||"Ask another question...");var ue=r.useRef(null),le=r.useRef(null),ce=r.useRef(null),de=r.useRef(null),pe=r.useRef(null),fe=r.useRef(15),he=r.useRef("undefined"!=typeof window?window.getSelection().toString().slice(0,512):"").current,me=r.useRef(A||he).current,ge=Xh(o,i,_),ve="object"===$(s)?s:null,ye="string"==typeof s?s:(null==ve?void 0:ve.assistantId)||null,be=null==ve?void 0:ve.searchParameters,De=M(r.useState("initial"),2),ke=De[0],we=De[1],_e=function(e){var t=e.assistantId,n=e.searchClient,a=e.suggestedQuestionsEnabled,o=void 0!==a&&a,i=M((0,r.useState)([]),2),s=i[0],u=i[1];return(0,r.useEffect)((function(){var e=function(){var e=D(N().m((function e(){var r,a,o;return N().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,n.search({requests:[{indexName:"algolia_ask_ai_suggested_questions",filters:"state:published AND assistantId:".concat(t),hitsPerPage:3}]});case 1:r=e.v,a=r.results,o=a[0],u(o.hits);case 2:return e.a(2)}}),e)})));return function(){return e.apply(this,arguments)}}();o&&t&&""!==t&&e()}),[o,t,n]),s}({assistantId:ye,searchClient:ge,suggestedQuestionsEnabled:null==ve?void 0:ve.suggestedQuestions}),Ee=[];if(J&&""!==J&&Ee.push({name:J,searchParameters:Y}),Q.length>0&&Q.forEach((function(e){Ee.push("string"==typeof e?{name:e}:e)}
2)),Ee.length<1)throw new Error("Must supply either `indexName` or `indices` for DocSearch to work");var Ce,Se,Fe,xe,Ae,Ie,Te,Oe=Ee[0].name,je=r.useRef((Ce={key:"__DOCSEARCH_ASKAI_CONVERSATIONS__".concat((null==ve?void 0:ve.indexName)||Oe),limit:10},Se=Ce.key,Fe=Ce.limit,xe=void 0===Fe?5:Fe,Ae=Eh(Se),Ie=Ae.getItem().slice(0,xe),{add:function(e){var t=e.objectID,n=e.query,r=Ie.findIndex((function(e){return e.objectID===t||e.query===n}));r>-1?Ie[r]=e:(Ie.unshift(e),Ie=Ie.slice(0,xe)),Ae.setItem(Ie)},addFeedback:function(e,t){var n=Ie.find((function(t){var n;return null===(n=t.messages)||void 0===n?void 0:n.some((function(t){return t.id===e}))}));if(n&&n.messages){var r=n.messages.find((function(t){return t.id===e}));r&&(r.feedback=t,Ae.setItem(Ie))}},getOne:function(e){var t,n=Ie.find((function(t){var n;return null===(n=t.messages)||void 0===n?void 0:n.some((function(t){return t.id===e}))}));return null==n||null===(t=n.messages)||void 0===t?void 0:t.find((function(t){return t.id===e}))},getAll:function(){return Ie},remove:function(e){Ie=Ie.filter((function(t){return t.objectID!==e.objectID})),Ae.setItem(Ie)},getConversation:function(e){var t=Ie.find((function(t){var n;return null===(n=t.messages)||void 0===n?void 0:n.some((function(t){return t.id===e}))}));if(t&&t.messages)return t}})).current,Pe=r.useRef(Sh({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(Oe),limit:10})).current,Ne=r.useRef(Sh({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(Oe),limit:0===Pe.getAll().length?V:G})).current,Re=M(r.useState(null),2),Be=Re[0],Me=Re[1],Le=M(r.useState(!1),2),ze=Le[0],$e=Le[1],qe=function({experimental_throttle:e,resume:t=!1,...n}={}){const a=(0,r.useRef)("chat"in n?n.chat:new xl(n));("chat"in n&&n.chat!==a.current||"id"in n&&a.current.id!==n.id)&&(a.current="chat"in n?n.chat:new xl(n));const o="id"in n?n.id:null,i=(0,r.useCallback)((t=>a.current["~registerMessagesCallback"](t,e)),[e,o]),s=(0,r.useSyncExternalStore)(i,(()=>a.current.messages),(()=>a.current.messages)),u=(0,r.useSyncExternalStore)(a.current["~registerStatusCallback"],(()=>a.current.status),(()=>a.current.status)),l=(0,r.useSyncExternalStore)(a.current["~registerErrorCallback"],(()=>a.current.error),(()=>a.current.error)),c=(0,r.useCallback)((e=>{"function"==typeof e&&(e=e(a.current.messages)),a.current.messages=e}),[a]);return(0,r.useEffect)((()=>{t&&a.current.resumeStream()}),[t,a]),{id:a.current.id,messages:s,setMessages:c,sendMessage:a.current.sendMessage,regenerate:a.current.regenerate,clearError:a.current.clearError,stop:a.current.stop,error:l,resumeStream:a.current.resumeStream,status:u,addToolResult:a.current.addToolResult}}({sendAutomaticallyWhen:el,transport:new Yu({api:$d,headers:(Te=D(N().m((function e(){var t;return N().w((function(e){for(;;)switch(e.n){case 0:if(ye){e.n=1;break}throw new Error("Ask AI assistant ID is required");case 1:return t=null,e.n=2,Hd({assistantId:ye});case 2:t=e.v;case 3:return e.a(2,j(j({},t?{authorization:"TOKEN ".concat(t)}:{}),{},{"X-Algolia-API-Key":(null==ve?void 0:ve.apiKey)||i,"X-Algolia-Application-Id":(null==ve?void 0:ve.appId)||o,"X-Algolia-Index-Name":(null==ve?void 0:ve.indexName)||Oe,"X-Algolia-Assistant-Id":ye||"","X-AI-SDK-Version":"v5"}))}}),e)}))),function(){return Te.apply(this,arguments)}),body:be?{searchParameters:be}:{}}),onError:function(e){Me(e)}}),Ue=qe.messages,Ze=qe.sendMessage,He=qe.status,Ve=qe.setMessages,We=qe.error,Ge=qe.stop,Ke=r.useRef(He);r.useEffect((function(){if(!C){if("streaming"===Ke.current&&"ready"===He){ze&&Ue.at(-1)&&(Ue.at(-1).metadata={stopped:!0});var e,t=S(Ue[0].parts);try{for(t.s();!(e=t.n()).done;){var n=e.value;"text"===n.type&&je.add(Of(n.text,Ue))}}catch(e){t.e(e)}finally{t.f()}}Ke.current=He}}),[He,Ue,je,C,ze]);var Qe=r.useCallback((function(e){var t=e.hierarchy,n=["lvl6","lvl5","lvl4","lvl3","lvl2","lvl1","lvl0"].find((function(e){return t[e]}));return j(j({},e),{},{type:n||"lvl0",content:null})}),[]),Je=r.useCallback((function(e){if(!C){var t="content"===e.type?e.__docsearch_parent||Qe(e):e;t&&-1===Pe.getAll().findIndex((function(e){return e.objectID===t.objectID}))&&Ne.add(t)}}),[Pe,Ne,C,Qe]),Ye=r.useCallback((function(e){if(ae.context.algoliaInsightsPlugin&&e.__autocomplete_id){var t=e,n={eventName:"Item Selected",index:t.__autocomplete_indexName,items:[t],positions:[e.__autocomplete_id],queryID:t.__autocomplete_queryID};ae.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(n)}}),[ae.context.algoliaInsightsPlugin]),Xe=r.useRef(void 0),et=r.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;e&&"new-conversation"===ke&&(Ve([]),we("initial"));var r={};if(n&&(r.body={suggestedQuestionId:n.objectID}),z(e),$e(!1),Ze({role:"user",parts:[{type:"text",text:t}]},r),de.current){var a=de.current;"function"==typeof a.scrollTo?a.scrollTo({top:0,behavior:"smooth"}):a.scrollTop=0}Xe.current&&Xe.current.setQuery("")}),[z,Ze,ke,we,Ve]),tt=r.useCallback(function(){var e=D(N().m((function e(t,n){var r;return N().w((function(e){for(;;)switch(e.n){case 0:if(ye&&o){e.n=1;break}return e.a(2);case 1:return e.n=2,Vd({assistantId:ye,thumbs:n,messageId:t,appId:o});case 2:if(!(e.v.status>=300)){e.n=3;break}throw new Error("Failed, try again later");case 3:null===(r=je.addFeedback)||void 0===r||r.call(je,t,1===n?"like"
2:"dislike");case 4:return e.a(2)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[ye,o,je]);Xe.current||(Xe.current=zd({id:"docsearch",defaultActiveItemId:0,openOnFocus:!0,initialState:{query:me,context:{searchSuggestions:[]}},insights:Boolean(B),navigator:y,onStateChange:function(e){oe(e.state)},getSources:function(e){var t=e.query,n=e.state,r=e.setContext,a=e.setStatus;if(!t){var s=function(e){var t=e.recentSearches,n=e.favoriteSearches,r=e.saveRecentSearch,a=e.onClose;return e.disableUserPersonalization?[]:[{sourceId:"recentSearches",onSelect:function(e){var t=e.item,n=e.event;r(t),oh(n)||a()},getItemUrl:function(e){return e.item.url},getItems:function(){return t.getAll()}},{sourceId:"favoriteSearches",onSelect:function(e){var t=e.item,n=e.event;r(t),oh(n)||a()},getItemUrl:function(e){return e.item.url},getItems:function(){return n.getAll()}}]}({recentSearches:Ne,favoriteSearches:Pe,saveRecentSearch:Je,onClose:d,disableUserPersonalization:C,canHandleAskAi:ie}),l=ie?[{sourceId:"recentConversations",getItems:function(){return C?[]:je.getAll()},onSelect:function(e){var t=e.item;t.messages&&(Ve(t.messages),z(!0))}}]:[];return[].concat(L(s),l)}var c={context:n.context},p=nm({query:t,state:c,setContext:r,setStatus:a,searchClient:ge,indexes:Ee,snippetLength:fe,insights:Boolean(B),appId:o,apiKey:i,maxResultsPerGroup:u,transformItems:f,saveRecentSearch:Je,onClose:d}),h=ie?[{sourceId:"askAI",getItems:function(){return[{type:"askAI",query:t,url_without_anchor:"",objectID:"ask-ai-button",content:null,url:"",anchor:null,hierarchy:{lvl0:"Ask AI",lvl1:t,lvl2:null,lvl3:null,lvl4:null,lvl5:null,lvl6:null},_highlightResult:{},_snippetResult:{},__docsearch_parent:null}]},onSelect:function(e){var t=e.item;"askAI"===t.type&&t.query&&et(!0,t.query)}}]:[];return p.then((function(e){return[].concat(h,L(e))}))}}));var nt,rt,at=Xe.current,ot=at.getEnvironmentProps,it=at.getRootProps,st=at.refresh;!function(e){var t=e.getEnvironmentProps,n=e.panelElement,a=e.formElement,o=e.inputElement;r.useEffect((function(){if(n&&a&&o){var e=t({panelElement:n,formElement:a,inputElement:o}),r=e.onTouchStart,i=e.onTouchMove;return window.addEventListener("touchstart",r),window.addEventListener("touchmove",i),function(){window.removeEventListener("touchstart",r),window.removeEventListener("touchmove",i)}}}),[t,n,a,o])}({getEnvironmentProps:ot,panelElement:de.current,formElement:ce.current,inputElement:pe.current}),nt={container:ue.current},rt=nt.container,r.useEffect((function(){if(rt){var e=rt.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),t=e[0],n=e[e.length-1];return rt.addEventListener("keydown",r),function(){rt.removeEventListener("keydown",r)}}function r(e){"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(e.preventDefault(),n.focus()):document.activeElement===n&&(e.preventDefault(),t.focus()))}}),[rt]),Z({theme:l}),r.useEffect((function(){return document.body.classList.add("DocSearch--active"),function(){var e,t;document.body.classList.remove("DocSearch--active"),null===(e=(t=window).scrollTo)||void 0===e||e.call(t,0,k)}}),[]),r.useEffect((function(){"undefined"!=typeof window&&window.localStorage&&function(){if("undefined"==typeof window||!window.localStorage)return 0;var e=0;for(var t in window.localStorage)window.localStorage.hasOwnProperty(t)&&(e+=window.localStorage[t].length+t.length);return e}()>4194304&&_h()}),[]),r.useLayoutEffect((function(){var e=window.innerWidth-document.body.clientWidth;return document.body.style.marginRight="".concat(e,"px"),function(){document.body.style.marginRight="0px"}}),[]),r.useEffect((function(){window.matchMedia("(max-width: 768px)").matches&&(fe.current=5)}),[]),r.useEffect((function(){var e;de.current&&!U&&("function"==typeof(e=de.current).scrollTo?e.scrollTo({top:0,behavior:"smooth"}):e.scrollTop=0)}),[ae.query,U]),r.useEffect((function(){me.length>0&&(st(),pe.current&&pe.current.focus())}),[me,st]),r.useEffect((function(){function e(){if(le.current){var e=.01*window.innerHeight;le.current.style.setProperty("--docsearch-vh","".concat(e,"px"))}}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),r.useEffect((function(){U||(at.refresh(),Ve([]))}),[U,at,Ve]),r.useEffect((function(){we("initial")}),[U,we]);var ut=function(){var e=D(N().m((function e(){return N().w((function(e){for(;;)switch(e.n){case 0:return $e(!0),e.n=1,Ge();case 1:return e.a(2)}}),e)})));return function(){return e.apply(this,arguments)}}(),lt=!0,ct=ae.collections.some((function(e){return e.items.length>0}));return"idle"!==ae.status||!1!==ct||0!==ae.query.length||U||(lt=!1),r.createElement("div",x({ref:ue},it({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container","stalled"===ae.status&&"DocSearch-Container--Stalled","error"===ae.status&&"DocSearch-Container--Errored"].filter(
2Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(e){e.target===e.currentTarget&&d()}}),r.createElement("div",{className:"DocSearch-Modal",ref:le},r.createElement("header",{className:"DocSearch-SearchBar",ref:ce},r.createElement(wh,x({},at,{state:ae,placeholder:se||"Search docs",autoFocus:0===me.length,inputRef:pe,isFromSelection:Boolean(me)&&me===he,translations:te,isAskAiActive:U,askAiStatus:He,askAiState:ke,setAskAiState:we,onClose:d,onAskAiToggle:z,onAskAgain:function(e){et(!0,e)},onStopAskAiStreaming:ut,onNewConversation:function(){we("new-conversation")},onViewConversationHistory:function(){we("conversation-history")}}))),lt&&r.createElement("div",{className:"DocSearch-Dropdown",ref:de},r.createElement(mh,x({},at,{indexName:Oe,state:ae,hitComponent:m,resultsFooterComponent:v,disableUserPersonalization:C,recentSearches:Ne,favoriteSearches:Pe,conversations:je,inputRef:pe,translations:ne,getMissingResultsUrl:O,isAskAiActive:U,canHandleAskAi:ie,messages:Ue,askAiStreamError:Be,askAiFetchError:We,status:He,hasCollections:ct,askAiState:ke,selectAskAiQuestion:et,suggestedQuestions:_e,selectSuggestedQuestion:function(e){et(!0,e.question,e)},onAskAiToggle:z,onItemClick:function(e,t){if("askAI"===e.type&&e.query)return"stored"===e.anchor&&"messages"in e?(Ve(e.messages),z(!0)):et(!0,e.query),we("initial"),void t.preventDefault();Ye(e),Je(e),oh(t)||d()},onFeedback:tt}))),r.createElement("footer",{className:"DocSearch-Footer"},r.createElement(Kd,{translations:ee,isAskAiActive:U}))))}function am(e){return r.createElement(m,e,r.createElement(om,e))}function om(e){var t,n,a,o=g(),i=o.searchButtonRef,s=o.keyboardShortcuts,u=o.isModalActive,l=o.isAskAiActive,c=o.initialQuery,d=o.onAskAiToggle,p=o.openModal,f=o.closeModal;return r.createElement(r.Fragment,null,r.createElement(X,{keyboardShortcuts:s,ref:i,translations:null===(t=e.translations)||void 0===t?void 0:t.button,onClick:p}),u&&(0,v.createPortal)(r.createElement(rm,x({},e,{initialScrollY:window.scrollY,initialQuery:c,translations:null==e||null===(n=e.translations)||void 0===n?void 0:n.modal,isAskAiActive:l,onAskAiToggle:d,onClose:f})),null!==(a=e.portalContainer)&&void 0!==a?a:document.body))}var im=n(4848);function sm({appId:e,apiKey:t,indexName:n,defaultLang:a="en-au",extraFacetFilters:o=[],onReady:i,askAIAssistantId:s,askAIIndexName:u}){const l="undefined"!=typeof window?function(e,t="en-au"){const n=e.match(/^\/([a-z]{2}(?:-[a-z]{2})?)(?:\/|$)/i);return(n?.[1]||t).toLowerCase()}(window.location.pathname,a):a,c=[`language:${l}`,...o];return r.useEffect((()=>{if(i){i((()=>{const e=new KeyboardEvent("keydown",{key:"k",code:"KeyK",metaKey:!0,ctrlKey:!0,bubbles:!0});document.dispatchEvent(e)}))}}),[i]),(0,im.jsx)(am,{appId:e,apiKey:t,indexName:n,searchParameters:{facetFilters:c},resultsFooterComponent:({state:e})=>{const t=e.context.nbHits||0,n=e.query||"",r=`/${l}/docs/search${n?`?q=${encodeURIComponent(n)}`:""}`;return(0,im.jsx)("div",{className:"DocSearch-HitsFooter",children:(0,im.jsxs)("a",{href:r,children:["See all ",t," ",1===t?"result":"results"]})})},...s&&u?{askAi:{assistantId:s,indexName:u,searchParameters:{facetFilters:[`language:${l}`]}}}:{},navigator:{navigate({itemUrl:e}){window.location.href=e}},placeholder:"Search"})}},2204:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});n(6540);var r=n(4164),a=n(1312),o=n(6342),i=n(8774),s=n(3427);const u=(0,n(4722).A)("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]),l={anchorWithStickyNavbar:"anchorWithStickyNavbar_loeA",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_emO8"};var c=n(4848);function d({as:e,id:t,...n}){const d=(0,s.A)(),{navbar:{hideOnScroll:p}}=(0,o.p)();if("h1"===e||!t)return(0,c.jsx)(e,{...n,id:void 0});d.collectAnchor(t);const f=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof n.children?n.children:t});return(0,c.jsxs)(e,{...n,className:(0,r.A)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,n.className,"relative group"),id:t,children:[(0,c.jsx)(i.A,{className:"absolute left-0 -translate-x-full top-1/2 -translate-y-1/2 mt-1",to:`#${t}`,"aria-label":f,title:f,children:(0,c.jsx)("div",{className:"opacity-0 focus:opacity-100 group-hover:opacity-100 border border-border rounded-md p-1 mr-2",children:(0,c.jsx)(u,{className:"size-3.5 stroke-[1.5px]"})})}),n.children]})}}
2,2599:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(6540);var r=n(4164);const a={navbarSearchContainer:"navbarSearchContainer_dCNk"};var o=n(4848);function i({children:e,className:t}){return(0,o.jsx)("div",{className:(0,r.A)(t,a.navbarSearchContainer),children:e})}},6955:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(6540);var r=n(4586),a=n(6203),o=n(4848);function i(){const{siteConfig:e}=(0,r.A)(),t=e?.themeConfig?.algolia??{};return(0,o.jsx)(a.A,{appId:t.appId,apiKey:t.apiKey,indexName:t.indexName,defaultLang:"au",askAIAssistantId:t.askAIAssistantId,askAIIndexName:t.askAIIndexName})}},9924:(e,t,n)=>{"use strict";n.d(t,{A:()=>v,o:()=>h});n(6540);var r=n(5260),a=n(4586),o=n(6025),i=n(6342),s=n(5500),u=n(4090);const l="default";var c=n(6347),d=n(440),p=n(1463),f=n(4848);function h(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:r,currentLocale:o}}=(0,a.A)(),{pathname:i}=(0,c.zy)();let s=e.toString().replace(/\/$/,""),u=i.toString().replace(/\/$/,"");const l=(0,d.Ks)(u,{trailingSlash:n,baseUrl:e}).replace(s,"");return{createUrl:function({locale:e,fullyQualified:n}){return`${n?t:""}${function(e){return s.replace(r,e)}(e)}${l}`}}}function m(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,a.A)(),o=h(),i=n[e].htmlLang,s=e=>e.replace("-","_");return(0,f.jsxs)(r.A,{children:[Object.entries(n).map((([e,{htmlLang:t}])=>(0,f.jsx)("link",{rel:"alternate",href:o.createUrl({locale:e,fullyQualified:!0}),hrefLang:t},e))),(0,f.jsx)("meta",{property:"og:locale",content:s(i)}),Object.values(n).filter((e=>i!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:s(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function g({permalink:e}){const{siteConfig:{url:t}}=(0,a.A)(),n=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,a.A)(),{pathname:r}=(0,c.zy)();return e+(0,d.Ks)((0,o.Ay)(r),{trailingSlash:n,baseUrl:t}).replace(/\/$/,"")}(),i=e?`${t}${e}`:n;return(0,f.jsxs)(r.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:i}),(0,f.jsx)("link",{rel:"canonical",href:i})]})}function v(){const{i18n:{currentLocale:e}}=(0,a.A)(),{metadata:t,image:n}=(0,i.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(r.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:u.w})]}),n&&(0,f.jsx)(s.be,{image:n}),(0,f.jsx)(g,{}),(0,f.jsx)(m,{}),(0,f.jsx)(p.A,{tag:l,locale:e}),(0,f.jsx)(r.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}},2693:(e,t,n)=>{"use strict";n.d(t,{E3:()=>c,o$:()=>d});var r=n(6751),a=n(4586),o=n(6540);function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var s=function e(t,n){function r(e,r,a){if("undefined"!=typeof document){"number"==typeof(a=i({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var s in a)a[s]&&(o+="; "+s,!0!==a[s]&&(o+="="+a[s].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},a=0;a<n.length;a++){var o=n[a].split("="),i=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(i,s),e===s)break}catch(u){}}return e?r[e]:r}},remove:function(e,t){r(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},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:"/"}),u=n(4848);const l=(0,o.createContext)(null);function c({children:e}){const[t,n]=(0,o.useState)(null),{siteConfig:{customFields:i}}=(0,a.A)();return(0,o.useEffect)((()=>
vendor: 9,536 bytes, line 2
2{if("undefined"!=typeof window&&i.mixpanelApiToken&&!r.A.__loaded){r.A.init(i.mixpanelApiToken,{debug:!1,track_pageview:!1,persistence:"localStorage"});const e=r.A.get_distinct_id().replaceAll("$device:","");s.set("mps",e,{expires:7300}),n(e)}}),[]),(0,u.jsx)(l.Provider,{value:t,children:e})}function d(){return(0,o.useContext)(l)}},5531:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i,Ml:()=>a,yw:()=>o});var r=n(6751);const a="signup_flow_started",o="login_started";const i={track:function(e,t,n,a){try{r.A.track(e,t,n,a)}catch{}},track_pageview:function(){try{r.A.track_pageview()}catch{}}}},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>D,TM:()=>S,yJ:()=>f,sC:()=>x,AO:()=>p});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&a(e),u=t&&a(t),l=s||u;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,p=i.length;p>=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!l)for(;d--;d)i.unshift("..");!l||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var s=n(1561);function u(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var v="popstate",y="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function D(e){void 0===e&&(e={}),m||(0,s.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,l=i.forceRefresh,D=void 0!==l&&l,k=i.getUserConfirmation,w=void 0===k?g:k,_=i.keyLength,E=void 0===_?6:_,C=e.basename?d(u(e.basename)):"";function S(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return C&&(o=c(o,C)),f(o,r,n)}function F(){return Math.random().toString(36).substr(2,E)}var x=h();function A(e){(0,r.A)($,e),$.length=n.length,x.notifyListeners($.location,$.action)}function I(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(S(e.state))}function T(){j(S(b()))}var O=!1;function j(e){if(O)O=!1,A();else{x.confirmTransitionTo(e,"POP",w,(function(t){t?A({action:"POP",location:e}):function(e){var t=$.location,n=N.indexOf(t.key);-1===n&&(n=0);var r=N.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(O=!0,B(a))}(e)}))}}var P=S(b()),N=[P.key];function R(e){return C+p(e)}function B(e){n.go(e)}var M=0;function L(e){1===(M+=e)&&1===e?(window.addEventListener(v,I),o&&window.addEventListener(y,T)):0===M&&(window.removeEventListener(v,I),o&&window.removeEventListener(y,T))}var z=!1;var $={length:n.length,action:"POP",location:P,createHref:R,push:function(e,t){var r="PUSH",o=f(e,t,F(),$.location);x.confirmTransitionTo(o,r,w,(function(e){if(e){var t=R(o),i=o.key,s=o.state;if(a)if(n.pushState({key:i,state:s},null,t),D)window.location.href=t;else{var u=N.indexOf($.location.key),l=N.slice(0,u+1);l.push(o.key),N=l,A({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,F(),$.location);x.confirmTransitionTo(o,r,w,(function(e){if(e){var t=R(o),i=o.key,s=o.state;if(a)if(n.replaceState({key:i,state:s},null,t),D)window.location.replace(t);else{var u=N.indexOf($.location.key);-1!==u&&(N[u]=o.key),A({action:r,location:o})}else window.location.replace(t)}}))},go:B,goBack:function(){B(-1)},goForward:function(){B(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return z||(L(1),z=!0),function(){return z&&(z=!1,L(-1)),t()}},listen:function(e){var t=x.appendListener(e);return L(1),function(){L(-1),t()}}};return $}var k="hashchange",w={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+l(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:l,decodePath:u},slash:{encodePath:u,decodePath:u}};function _(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(_(window.location.href)+"#"+e)}function S(e){void 0===e&&(e={}),m||(0,s.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,l=void 0===i?"slash":i,v=e.basename?d(u(e.basename)):"",y=w[l],b=y.encodePath,D=y.decodePath;function S(){var e=D(E());return v&&(e=c(e,v)),f(e)}var F=h();function x(e){(0,r.A)(z,e),z.length=t.length,F.notifyListeners(z.location,z.action)}var A=!1,I=null;function T(){var e,t,n=E(),r=b(n);if(n!==r)C(r);else{var a=S(),i=z.location;if(!A&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(I===p(a))return;I=null,function(e){if(A)A=!1,x();else{var t="POP";F.confirmTransitionTo(e,t,o,(function(n){n?x({action:t,location:e}):function(e){var t=z.location,n=N.lastIndexOf(p(t));-1===n&&(n=0);var r=N.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(A=!0,R(a))}(e)}))}}(a)}}var O=E(),j=b(O);O!==j&&C(j);var P=S(),N=[p(P)];function R(e){t.go(e)}var B=0;function M(e){1===(B+=e)&&1===e?window.addEventListener(k,T):0===B&&window.removeEventListener(k,T)}var L=!1;var z={length:t.length,action:"POP",location:P,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=_(window.location.href)),n+"#"+b(v+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,z.location);F.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=b(v+t);if(E()!==a){I=t,function(e){window.location.hash=e}(a);var o=N.lastIndexOf(p(z.location)),i=N.slice(0,o+1);i.push(t),N=i,x({action:n,location:r})}else x()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,z.location);F.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=b(v+t);E()!==a&&(I=t,C(a));var o=N.indexOf(p(z.location));-1!==o&&(N[o]=t),x({action:n,location:r})}}))},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=F.setPrompt(e);return L||(M(1),L=!0),function(){return L&&(L=!1,M(-1)),t()}},listen:function(e){var t=F.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function F(e,t,n){return Math.min(Math.max(e,t),n)}function x(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,s=void 0===i?0:i,u=t.keyLength,l=void 0===u?6:u,c=h();function d(e){(0,r.A)(D,e),D.length=D.entries.length,c.notifyListeners(D.location,D.action)}function m(){return Math.random().toString(36).substr(2,l)}var g=F(s,0,o.length-1),v=o.map((function(e){return f(e,void 0,"string"==typeof e?m():e.key||m())})),y=p;function b(e){var t=F(D.index+e,0,D.entries.length-1),r=D.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var D={length:v.length,action:"POP",location:v[g],index:g,entries:v,createHref:y,push:function(e,t){var r="PUSH",a=f(e,t,m(),D.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=D.index+1,n=D.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,m(),D.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(D.entries[D.index]=a,d({action:r,location:a}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=D.index+e;return t>
2=0&&t<D.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return D}},4146:(e,t,n)=>{"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=f(n);a&&a!==h&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=u(t),m=u(n),g=0;g<i.length;++g){var v=i[g];if(!(o[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{l(t,v,y)}catch(b){}}}}return t}},311:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,i,s],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},4722:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6540);const a=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&n.indexOf(e)===t)).join(" ");var o={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"};const i=(0,r.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:s="",children:u,iconNode:l,...c},d)=>(0,r.createElement)("svg",{ref:d,...o,width:t,height:t,stroke:e,strokeWidth:i?24*Number(n)/Number(t):n,className:a("lucide",s),...c},[...l.map((([e,t])=>(0,r.createElement)(e,t))),...Array.isArray(u)?u:[u]]))),s=(e,t)=>{const n=(0,r.forwardRef)((({className:n,...o},s)=>{return(0,r.createElement)(i,{ref:s,iconNode:t,className:a(`lucide-${u=e,u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,n),...o});var u}));return n.displayName=`${e}`,n}},119:(e,t,n)=>{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},6751:(e,t,n)=>{"use strict";var r;function a(e){const t=null==e?void 0:e.host;return Boolean((null==t?void 0:t.shadowRoot)===e)}function o(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function i(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,s).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t):null}catch(Bt){return null}var t}function s(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=i(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(Bt){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(e.cssText);return t||e.cssText}n.d(t,{A:()=>xa}),function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(r||(r={}));class u{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){var t;if(!e)return-1;const n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);
2this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function l({element:e,maskInputOptions:t,tagName:n,type:r,value:a,maskInputFn:o}){let i=a||"";const s=r&&c(r);return(t[n.toLowerCase()]||s&&t[s])&&(i=o?o(i,e):"*".repeat(i.length)),i}function c(e){return e.toLowerCase()}const d="__rrweb_original__";function p(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?c(t):null}function f(e,t){var n;let r;try{r=new URL(e,null!=t?t:window.location.href)}catch(o){return null}const a=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!==(n=null==a?void 0:a[1])&&void 0!==n?n:null}let h=1;const m=new RegExp("[^a-z0-9-_:]");function g(){return h++}let v,y;const b=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,D=/^(?:[a-z+]+:)?\/\//i,k=/^www\..*/i,w=/^(data:)([^,]*),(.*)/i;function _(e,t){return(e||"").replace(b,((e,n,r,a,o,i)=>{const s=r||o||i,u=n||a||"";if(!s)return e;if(D.test(s)||k.test(s))return`url(${u}${s}${u})`;if(w.test(s))return`url(${u}${s}${u})`;if("/"===s[0])return`url(${u}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+s}${u})`;const l=t.split("/"),c=s.split("/");l.pop();for(const t of c)"."!==t&&(".."===t?l.pop():l.push(t));return`url(${u}${l.join("/")}${u})`}))}const E=/^[^ \t\n\r\u000c]+/,C=/^[, \t\n\r\u000c]+/;function S(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function F(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function x(){const e=document.createElement("a");return e.href="",e.href}function A(e,t,n,r){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?S(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const a=e.exec(t.substring(n));return a?(r=a[0],n+=r.length,r):""}const a=[];for(;r(C),!(n>=t.length);){let o=r(E);if(","===o.slice(-1))o=S(e,o.substring(0,o.length-1)),a.push(o);else{let r="";o=S(e,o);let i=!1;for(;;){const e=t.charAt(n);if(""===e){a.push((o+r).trim());break}if(i)")"===e&&(i=!1);else{if(","===e){n+=1,a.push((o+r).trim());break}"("===e&&(i=!0)}r+=e,n+=1}}}return a.join(", ")}(e,r):"style"===n?_(r,x()):"object"===t&&"data"===n?S(e,r):r:S(e,r):r}function I(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function T(e,t,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!n&&T(e.parentNode,t,n);for(let r=e.classList.length;r--;){const n=e.classList[r];if(t.test(n))return!0}return!!n&&T(e.parentNode,t,n)}function O(e,t,n,r){try{const a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("string"==typeof t){if(r){if(a.closest(`.${t}`))return!0}else if(a.classList.contains(t))return!0}else if(T(a,t,r))return!0;if(n)if(r){if(a.closest(n))return!0}else if(a.matches(n))return!0}catch(a){}return!1}function j(e,t){const{doc:n,mirror:a,blockClass:o,blockSelector:s,needsMask:u,inlineStylesheet:f,maskInputOptions:h={},maskTextFn:g,maskInputFn:b,dataURLOptions:D={},inlineImages:k,recordCanvas:w,keepIframeSrcFn:E,newlyAddedElement:C=!1}=t,S=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,a);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:r.Document,childNodes:[],compatMode:e.compatMode}:{type:r.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:r.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:a,blockSelector:o,inlineStylesheet:s,maskInputOptions:u={},maskInputFn:f,dataURLOptions:h={},inlineImages:g,recordCanvas:b,keepIframeSrcFn:D,newlyAddedElement:k=!1,rootId:w}=t,E=function(e,t,n){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(r){}return!1}(e,a,o),C=function(e){if(e instanceof HTMLFormElement)return"form";const t=c(e.tagName);return m.test(t)?"div":t}(e);let S={};const T=e.attributes.length;for(let r=0;r<T;r++){const t=e.attributes[r];I(C,t.name,t.value)||(S[t.name]=A(n,C,c(t.name),t.value))}if("link"===C&&s){const t=Array.from(n.styleSheets).find((t=>t.href===e.href));let r=null;t&&(r=i(t)),r&&(delete S.rel,delete S.href,S._cssText=_(r,t.href))}if("style"===C&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=i(e.sheet);t&&(S._cssText=_(t,x()))}if("input"===C||"textarea"===C||"select"===C){const t=e.value,n=e.checked;"radio"!==S.type&&"checkbox"!==S.type&&"submit"!==S.type&&"button"!==S.type&&t?S.value=l({element:e,type:p(e),tagName:C,value:t,maskInputOptions:u,maskInputFn:f}):n&&(S.checked=n)}"option"===C&&(e.selected&&!u.select?S.selected=!0:delete S.selected);if("canvas"===C&&b)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const a=t.getImageData,o=d in a?a[d]:a;
2if(new Uint32Array(o.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(S.rr_dataURL=e.toDataURL(h.type,h.quality));else if(!("__context"in e)){const t=e.toDataURL(h.type,h.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height;t!==n.toDataURL(h.type,h.quality)&&(S.rr_dataURL=t)}if("img"===C&&g){v||(v=n.createElement("canvas"),y=v.getContext("2d"));const t=e,r=t.crossOrigin;t.crossOrigin="anonymous";const a=()=>{t.removeEventListener("load",a);try{v.width=t.naturalWidth,v.height=t.naturalHeight,y.drawImage(t,0,0),S.rr_dataURL=v.toDataURL(h.type,h.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}r?S.crossOrigin=r:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?a():t.addEventListener("load",a)}if("audio"===C||"video"===C){const t=S;t.rr_mediaState=e.paused?"paused":"played",t.rr_mediaCurrentTime=e.currentTime,t.rr_mediaPlaybackRate=e.playbackRate,t.rr_mediaMuted=e.muted,t.rr_mediaLoop=e.loop,t.rr_mediaVolume=e.volume}k||(e.scrollLeft&&(S.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(S.rr_scrollTop=e.scrollTop));if(E){const{width:t,height:n}=e.getBoundingClientRect();S={class:S.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==C||D(S.src)||(e.contentDocument||(S.rr_src=S.src),delete S.src);let O;try{customElements.get(C)&&(O=!0)}catch(j){}return{type:r.Element,tagName:C,attributes:S,childNodes:[],isSVG:F(e)||void 0,needBlock:E,rootId:w,isCustom:O}}(e,{doc:n,blockClass:o,blockSelector:s,inlineStylesheet:f,maskInputOptions:h,maskInputFn:b,dataURLOptions:D,inlineImages:k,recordCanvas:w,keepIframeSrcFn:E,newlyAddedElement:C,rootId:S});case e.TEXT_NODE:return function(e,t){var n;const{needsMask:a,maskTextFn:o,rootId:s}=t,u=e.parentNode&&e.parentNode.tagName;let l=e.textContent;const c="STYLE"===u||void 0,d="SCRIPT"===u||void 0;if(c&&l){try{e.nextSibling||e.previousSibling||(null===(n=e.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(l=i(e.parentNode.sheet))}catch(p){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${p}`,e)}l=_(l,x())}d&&(l="SCRIPT_PLACEHOLDER");!c&&!d&&l&&a&&(l=o?o(l,e.parentElement):l.replace(/[\S]/g,"*"));return{type:r.Text,textContent:l||"",isStyle:c,rootId:s}}(e,{needsMask:u,maskTextFn:g,rootId:S});case e.CDATA_SECTION_NODE:return{type:r.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:r.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}function P(e){return null==e?"":e.toLowerCase()}function N(e,t){const{doc:n,mirror:i,blockClass:s,blockSelector:u,maskTextClass:l,maskTextSelector:c,skipChild:d=!1,inlineStylesheet:p=!0,maskInputOptions:h={},maskTextFn:m,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b={},inlineImages:D=!1,recordCanvas:k=!1,onSerialize:w,onIframeLoad:_,iframeLoadTimeout:E=5e3,onStylesheetLoad:C,stylesheetLoadTimeout:S=5e3,keepIframeSrcFn:F=()=>!1,newlyAddedElement:x=!1}=t;let{needsMask:A}=t,{preserveWhiteSpace:I=!0}=t;if(!A&&e.childNodes){A=O(e,l,c,void 0===A)}const T=j(e,{doc:n,mirror:i,blockClass:s,blockSelector:u,needsMask:A,inlineStylesheet:p,maskInputOptions:h,maskTextFn:m,maskInputFn:v,dataURLOptions:b,inlineImages:D,recordCanvas:k,keepIframeSrcFn:F,newlyAddedElement:x});if(!T)return console.warn(e,"not serialized"),null;let R;R=i.hasNode(e)?i.getId(e):!function(e,t){if(t.comment&&e.type===r.Comment)return!0;if(e.type===r.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===f(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(P(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===P(e.attributes.name)||"icon"===P(e.attributes.rel)||"apple-touch-icon"===P(e.attributes.rel)||"shortcut icon"===P(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&P(e.attributes.name).match(/^description|keywords$/))return!0;
2if(t.headMetaSocial&&(P(e.attributes.property).match(/^(og|twitter|fb):/)||P(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===P(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===P(e.attributes.name)||"googlebot"===P(e.attributes.name)||"bingbot"===P(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===P(e.attributes.name)||"generator"===P(e.attributes.name)||"framework"===P(e.attributes.name)||"publisher"===P(e.attributes.name)||"progid"===P(e.attributes.name)||P(e.attributes.property).match(/^article:/)||P(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===P(e.attributes.name)||"yandex-verification"===P(e.attributes.name)||"csrf-token"===P(e.attributes.name)||"p:domain_verify"===P(e.attributes.name)||"verify-v1"===P(e.attributes.name)||"verification"===P(e.attributes.name)||"shopify-checkout-api-token"===P(e.attributes.name)))return!0}}return!1}(T,y)&&(I||T.type!==r.Text||T.isStyle||T.textContent.replace(/^\s+|\s+$/gm,"").length)?g():-2;const B=Object.assign(T,{id:R});if(i.add(e,B),-2===R)return null;w&&w(e);let M=!d;if(B.type===r.Element){M=M&&!B.needBlock,delete B.needBlock;const t=e.shadowRoot;t&&o(t)&&(B.isShadowHost=!0)}if((B.type===r.Document||B.type===r.Element)&&M){y.headWhitespace&&B.type===r.Element&&"head"===B.tagName&&(I=!1);const t={doc:n,mirror:i,blockClass:s,blockSelector:u,needsMask:A,maskTextClass:l,maskTextSelector:c,skipChild:d,inlineStylesheet:p,maskInputOptions:h,maskTextFn:m,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:D,recordCanvas:k,preserveWhiteSpace:I,onSerialize:w,onIframeLoad:_,iframeLoadTimeout:E,onStylesheetLoad:C,stylesheetLoadTimeout:S,keepIframeSrcFn:F};if(B.type===r.Element&&"textarea"===B.tagName&&void 0!==B.attributes.value);else for(const n of Array.from(e.childNodes)){const e=N(n,t);e&&B.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=N(n,t);r&&(o(e.shadowRoot)&&(r.isShadow=!0),B.childNodes.push(r))}}return e.parentNode&&a(e.parentNode)&&o(e.parentNode)&&(B.isShadow=!0),B.type===r.Element&&"iframe"===B.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let a,o=!1;try{a=r.document.readyState}catch(Bt){return}if("complete"!==a){const r=setTimeout((()=>{o||(t(),o=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),o=!0,t()}))}const i="about:blank";if(r.location.href!==i||e.src===i||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&_){const n=N(t,{doc:t,mirror:i,blockClass:s,blockSelector:u,needsMask:A,maskTextClass:l,maskTextSelector:c,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskTextFn:m,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:D,recordCanvas:k,preserveWhiteSpace:I,onSerialize:w,onIframeLoad:_,iframeLoadTimeout:E,onStylesheetLoad:C,stylesheetLoadTimeout:S,keepIframeSrcFn:F});n&&_(e,n)}}),E),B.type===r.Element&&"link"===B.tagName&&"string"==typeof B.attributes.rel&&("stylesheet"===B.attributes.rel||"preload"===B.attributes.rel&&"string"==typeof B.attributes.href&&"css"===f(B.attributes.href))&&function(e,t,n){let r,a=!1;try{r=e.sheet}catch(Bt){return}if(r)return;const o=setTimeout((()=>{a||(t(),a=!0)}),n);e.addEventListener("load",(()=>{clearTimeout(o),a=!0,t()}))}(e,(()=>{if(C){const t=N(e,{doc:n,mirror:i,blockClass:s,blockSelector:u,needsMask:A,maskTextClass:l,maskTextSelector:c,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskTextFn:m,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:D,recordCanvas:k,preserveWhiteSpace:I,onSerialize:w,onIframeLoad:_,iframeLoadTimeout:E,onStylesheetLoad:C,stylesheetLoadTimeout:S,keepIframeSrcFn:F});t&&C(e,t)}}),S),B}function R(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const B="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let M={map:{},getId:()=>(console.error(B),-1),getNode:()=>(console.error(B),null),removeNodeFromMap(){console.error(B)},has:()=>(console.error(B),!1),reset(){console.error(B)}};function L(e,t,n={}){let r=null,a=0;return function(...o){const i=Date.now();a||!1!==n.leading||(a=i);const s=t-(i-a),u=this;s<=0||s>t?(r&&(clearTimeout(r),r=null),a=i,e.apply(u,o)):r||!1===n.trailing||(r=setTimeout((()=>{a=!1===n.leading?0:Date.now(),r=null,e.apply(u,o)}),s))}}function z(e,t,n,r,a=window){const o=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>z(e,t,o||{},!0)}function $(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch(r){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(M=new Proxy(M,{get:(e,t,n)=>("map"===t&&console.error(B),Reflect.get(e,t,n))}));let q=Date.now;function U(e){var t,n,r,a,o,i;const s=e.document;return{left:s.scrollingElement?s.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:(null==s?void 0:s.documentElement.scrollLeft)||(null===(n=null===(t=null==s?void 0:s.body)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===(r=null==s?void 0:s.body)||void 0===r?void 0:r.scrollLeft)||0,top:s.scrollingElement?s.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==s?void 0:s.documentElement.scrollTop)||(null===(o=null===(a=null==s?void 0:s.body)||void 0===a?void 0:a.parentElement)||void 0===o?void 0:o.scrollTop)||(null===(i=null==s?void 0:s.body)||void 0===i?void 0:i.scrollTop)||0}}function Z(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function H(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function V(e){if(!e)return null;
2return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}function W(e,t,n,r){if(!e)return!1;const a=V(e);if(!a)return!1;try{if("string"==typeof t){if(a.classList.contains(t))return!0;if(r&&null!==a.closest("."+t))return!0}else if(T(a,t,r))return!0}catch(o){}if(n){if(a.matches(n))return!0;if(r&&null!==a.closest(n))return!0}return!1}function G(e,t){return-2===t.getId(e)}function K(e,t){if(a(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||K(e.parentNode,t))}function Q(e){return Boolean(e.changedTouches)}function J(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Y(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function X(e){return Boolean(null==e?void 0:e.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(q=()=>(new Date).getTime());class ee{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){var t;return null!==(t=this.styleIDMap.get(e))&&void 0!==t?t:-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function te(e){var t,n;let r=null;return(null===(n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e))||void 0===n?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(r=e.getRootNode().host),r}function ne(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=te(n);)n=t;return n}(e);return t.contains(n)}function re(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||ne(e))}var ae=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(ae||{}),oe=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(oe||{}),ie=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(ie||{}),se=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(se||{}),ue=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(ue||{});function le(e){return"__ln"in e}class ce{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=(null==t?void 0:t.next)||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&le(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&le(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const de=(e,t)=>`${e}@${t}`;class pe{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>
2{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new ce,r=e=>{let t=e,n=-2;for(;-2===n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},o=o=>{if(!o.parentNode||!re(o)||"TEXTAREA"===o.parentNode.tagName)return;const i=a(o.parentNode)?this.mirror.getId(te(o)):this.mirror.getId(o.parentNode),s=r(o);if(-1===i||-1===s)return n.addNode(o);const u=N(o,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{J(e,this.mirror)&&this.iframeManager.addIframe(e),Y(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),X(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});u&&(e.push({parentId:i,nextId:s,node:u}),t.add(u.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const a of this.movedSet)he(this.removes,a,this.mirror)&&!this.movedSet.has(a.parentNode)||o(a);for(const a of this.addedSet)ge(this.droppedSet,a)||he(this.removes,a,this.mirror)?ge(this.movedSet,a)?o(a):this.droppedSet.add(a):o(a);let i=null;for(;n.length;){let e=null;if(i){const t=this.mirror.getId(i.value.parentNode),n=r(i.value);-1!==t&&-1!==n&&(e=i)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}i=e.previous,n.removeNode(e.value),o(e.value)}const s={texts:this.texts.map((e=>{const t=e.node;return t.parentNode&&"TEXTAREA"===t.parentNode.tagName&&this.genTextAreaValueMutation(t.parentNode),{id:this.mirror.getId(t),value:e.value}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(s.texts.length||s.attributes.length||s.removes.length||s.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.genTextAreaValueMutation=e=>{let t=this.attributeMap.get(e);t||(t={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(t),this.attributeMap.set(e,t)),t.attributes.value=Array.from(e.childNodes,(e=>e.textContent||"")).join("")},this.processMutation=e=>{if(!G(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;W(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:O(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,V(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const n=e.target;let r=e.attributeName,a=e.target.getAttribute(r);if("value"===r){const e=p(n);a=l({element:n,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:e,value:a,maskInputFn:this.maskInputFn})}if(W(e.target,this.blockClass,this.blockSelector,!1)||a===e.oldValue)return;let o=this.attributeMap.get(e.target);if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(a)){if(n.contentDocument)return;r="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===r&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!I(n.tagName,r)&&(o.attributes[r]=A(this.doc,c(n.tagName),c(r),a),"style"===r)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){this.unattachedDoc=this.doc}const r=this.unattachedDoc.createElement("span");e.oldValue&&r.setAttribute("style",e.oldValue);for(const e of Array.from(n.style)){const t=n.style.getPropertyValue(e),a=n.style.getPropertyPriority(e);t!==r.style.getPropertyValue(e)||a!==r.style.getPropertyPriority(e)?o.styleDiff[e]=""===a?t:[t,a]:o._unchangedStyles[e]=[t,a]}for(const e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(W(e.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===e.target.tagName)return void this.genTextAreaValueMutation(e.target);
2e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=a(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);W(e.target,this.blockClass,this.blockSelector,!1)||G(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(fe(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||K(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[de(n,r)]?fe(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!a(e.target)||!o(e.target))||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(G(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[de(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);W(e,this.blockClass,this.blockSelector,!1)||(e.childNodes.forEach((e=>this.genAdds(e))),X(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}init(e){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function fe(e,t){e.delete(t),t.childNodes.forEach((t=>fe(e,t)))}function he(e,t,n){return 0!==e.length&&me(e,t,n)}function me(e,t,n){const{parentNode:r}=t;if(!r)return!1;const a=n.getId(r);return!!e.some((e=>e.id===a))||me(e,r,n)}function ge(e,t){return 0!==e.size&&ve(e,t)}function ve(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||ve(e,n))}let ye;function be(e){ye=e}function De(){ye=void 0}const ke=e=>{if(!ye)return e;return(...t)=>{try{return e(...t)}catch(Bt){if(ye&&!0===ye(Bt))return;throw Bt}}},we=[];function _e(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(t){}return e&&e.target}function Ee(e,t){var n,r;const a=new pe;we.push(a),a.init(e);let o=window.MutationObserver||window.__rrMutationObserver;const i=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");i&&window[i]&&(o=window[i]);const s=new o(ke(a.processMutations.bind(a)));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function Ce({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:o}){if(!1===o.mouseInteraction)return()=>{};const i=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,s=[];let u=null;return Object.keys(ie).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==i[e])).forEach((o=>{let i=c(o);const l=(t=>o=>{const i=_e(o);if(W(i,r,a,!0))return;let s=null,l=t;if("pointerType"in o){switch(o.pointerType){case"mouse":s=se.Mouse;break;case"touch":s=se.Touch;break;case"pen":s=se.Pen}s===se.Touch?ie[t]===ie.MouseDown?l="TouchStart":ie[t]===ie.MouseUp&&(l="TouchEnd"):se.Pen}else Q(o)&&(s=se.Touch);null!==s?(u=s,(l.startsWith("Touch")&&s===se.Touch||l.startsWith("Mouse")&&s===se.Mouse)&&(s=null)):ie[t]===ie.Click&&(s=u,u=null);const c=Q(o)?o.changedTouches[0]:o;if(!c)return;const d=n.getId(i),{clientX:p,clientY:f}=c;ke(e)(Object.assign({type:ie[l],id:d,x:p,y:f},null!==s&&{pointerType:s}))})(o);if(window.PointerEvent)switch(ie[o]){case ie.MouseDown:case ie.MouseUp:i=i.replace("mouse","pointer");break;case ie.TouchStart:case ie.TouchEnd:return}s.push(R(i,l,t))})),ke((()=>
2{s.forEach((e=>e()))}))}function Se({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:o}){return R("scroll",ke(L(ke((o=>{const i=_e(o);if(!i||W(i,r,a,!0))return;const s=n.getId(i);if(i===t&&t.defaultView){const n=U(t.defaultView);e({id:s,x:n.left,y:n.top})}else e({id:s,x:i.scrollLeft,y:i.scrollTop})})),o.scroll||100)),t)}const Fe=["INPUT","TEXTAREA","SELECT"],xe=new WeakMap;function Ae(e){return function(e,t){if(je("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||je("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||je("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||je("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function Ie(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function Te({mirror:e,stylesheetManager:t},n){var r,a,o;let i=null;i="#document"===n.nodeName?e.getId(n):e.getId(n.host);const s="#document"===n.nodeName?null===(r=n.defaultView)||void 0===r?void 0:r.Document:null===(o=null===(a=n.ownerDocument)||void 0===a?void 0:a.defaultView)||void 0===o?void 0:o.ShadowRoot,u=(null==s?void 0:s.prototype)?Object.getOwnPropertyDescriptor(null==s?void 0:s.prototype,"adoptedStyleSheets"):void 0;return null!==i&&-1!==i&&s&&u?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get(){var e;return null===(e=u.get)||void 0===e?void 0:e.call(this)},set(e){var n;const r=null===(n=u.set)||void 0===n?void 0:n.call(this,e);if(null!==i&&-1!==i)try{t.adoptStyleSheets(e,i)}catch(a){}return r}}),ke((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})}))):()=>{}}function Oe(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;!function(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:a,scrollCb:o,viewportResizeCb:i,inputCb:s,mediaInteractionCb:u,styleSheetRuleCb:l,styleDeclarationCb:c,canvasMutationCb:d,fontCb:p,selectionCb:f,customElementCb:h}=e;e.mutationCb=(...e)=>{t.mutation&&t.mutation(...e),n(...e)},e.mousemoveCb=(...e)=>{t.mousemove&&t.mousemove(...e),r(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),a(...e)},e.scrollCb=(...e)=>{t.scroll&&t.scroll(...e),o(...e)},e.viewportResizeCb=(...e)=>{t.viewportResize&&t.viewportResize(...e),i(...e)},e.inputCb=(...e)=>{t.input&&t.input(...e),s(...e)},e.mediaInteractionCb=(...e)=>{t.mediaInteaction&&t.mediaInteaction(...e),u(...e)},e.styleSheetRuleCb=(...e)=>{t.styleSheetRule&&t.styleSheetRule(...e),l(...e)},e.styleDeclarationCb=(...e)=>{t.styleDeclaration&&t.styleDeclaration(...e),c(...e)},e.canvasMutationCb=(...e)=>{t.canvasMutation&&t.canvasMutation(...e),d(...e)},e.fontCb=(...e)=>{t.font&&t.font(...e),p(...e)}
vendor: 8,119 bytes, line 2
2,e.selectionCb=(...e)=>{t.selection&&t.selection(...e),f(...e)},e.customElementCb=(...e)=>{t.customElement&&t.customElement(...e),h(...e)}}(e,t),e.recordDOM&&(r=Ee(e,e.doc));const a=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const a="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let i,s=[];const u=L(ke((t=>{const n=Date.now()-i;e(s.map((e=>(e.timeOffset-=n,e))),t),s=[],i=null})),o),l=ke(L(ke((e=>{const t=_e(e),{clientX:n,clientY:a}=Q(e)?e.changedTouches[0]:e;i||(i=q()),s.push({x:n,y:a,id:r.getId(t),timeOffset:q()-i}),u("undefined"!=typeof DragEvent&&e instanceof DragEvent?oe.Drag:e instanceof MouseEvent?oe.MouseMove:oe.TouchMove)})),a,{trailing:!1})),c=[R("mousemove",l,n),R("touchmove",l,n),R("drag",l,n)];return ke((()=>{c.forEach((e=>e()))}))}(e),o=Ce(e),i=Se(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return R("resize",ke(L(ke((()=>{const t=Z(),a=H();n===t&&r===a||(e({width:Number(a),height:Number(t)}),n=t,r=a)})),200)),t)}(e,{win:n}),u=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,ignoreClass:o,ignoreSelector:i,maskInputOptions:s,maskInputFn:u,sampling:c,userTriggeredOnInput:d}){function f(e){let n=_e(e);const c=e.isTrusted,f=n&&n.tagName;if(n&&"OPTION"===f&&(n=n.parentElement),!n||!f||Fe.indexOf(f)<0||W(n,r,a,!0))return;if(n.classList.contains(o)||i&&n.matches(i))return;let m=n.value,g=!1;const v=p(n)||"";"radio"===v||"checkbox"===v?g=n.checked:(s[f.toLowerCase()]||s[v])&&(m=l({element:n,maskInputOptions:s,tagName:f,type:v,value:m,maskInputFn:u})),h(n,d?{text:m,isChecked:g,userTriggered:c}:{text:m,isChecked:g});const y=n.name;"radio"===v&&y&&g&&t.querySelectorAll(`input[type="radio"][name="${y}"]`).forEach((e=>{if(e!==n){const t=e.value;h(e,d?{text:t,isChecked:!g,userTriggered:!1}:{text:t,isChecked:!g})}}))}function h(t,r){const a=xe.get(t);if(!a||a.text!==r.text||a.isChecked!==r.isChecked){xe.set(t,r);const a=n.getId(t);ke(e)(Object.assign(Object.assign({},r),{id:a}))}}const m=("last"===c.input?["change"]:["input","change"]).map((e=>R(e,ke(f),t))),g=t.defaultView;if(!g)return()=>{m.forEach((e=>e()))};const v=g.Object.getOwnPropertyDescriptor(g.HTMLInputElement.prototype,"value"),y=[[g.HTMLInputElement.prototype,"value"],[g.HTMLInputElement.prototype,"checked"],[g.HTMLSelectElement.prototype,"value"],[g.HTMLTextAreaElement.prototype,"value"],[g.HTMLSelectElement.prototype,"selectedIndex"],[g.HTMLOptionElement.prototype,"selected"]];return v&&v.set&&m.push(...y.map((e=>z(e[0],e[1],{set(){ke(f)({target:this,isTrusted:!1})}},!1,g)))),ke((()=>{m.forEach((e=>e()))}))}(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,mirror:r,sampling:a,doc:o}){const i=ke((o=>L(ke((a=>{const i=_e(a);if(!i||W(i,t,n,!0))return;const{currentTime:s,volume:u,muted:l,playbackRate:c,loop:d}=i;e({type:o,id:r.getId(i),currentTime:s,volume:u,muted:l,playbackRate:c,loop:d})})),a.media||500))),s=[R("play",i(0),o),R("pause",i(1),o),R("seeked",i(2),o),R("volumechange",i(3),o),R("ratechange",i(4),o)];return ke((()=>{s.forEach((e=>e()))}))}(e);let d=()=>{},f=()=>{},h=()=>{},m=()=>{};e.recordDOM&&(d=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:ke(((r,a,o)=>{const[i,s]=o,{id:u,styleId:l}=Ie(a,t,n.styleMirror);return(u&&-1!==u||l&&-1!==l)&&e({id:u,styleId:l,adds:[{rule:i,index:s}]}),r.apply(a,o)}))});const o=r.CSSStyleSheet.prototype.deleteRule;let i,s;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:ke(((r,a,o)=>{const[i]=o,{id:s,styleId:u}=Ie(a,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,removes:[{index:i}]}),r.apply(a,o)}))}),r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:ke(((r,a,o)=>{const[i]=o,{id:s,styleId:u}=Ie(a,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,replace:i}),r.apply(a,o)}))})),r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:ke(((r,a,o)=>{const[i]=o,{id:s,styleId:u}=Ie(a,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,replaceSync:i}),r.apply(a,o)}))}));const u={};Pe("CSSGroupingRule")?u.CSSGroupingRule=r.CSSGroupingRule:(Pe("CSSMediaRule")&&(u.CSSMediaRule=r.CSSMediaRule),Pe("CSSConditionRule")&&(u.CSSConditionRule=r.CSSConditionRule),Pe("CSSSupportsRule")&&(u.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(u).forEach((([r,a])=>{l[r]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(l[r].insertRule,{apply:ke(((r,a,o)=>{const[i,s]=o,{id:u,styleId:l}=Ie(a.parentStyleSheet,t,n.styleMirror);return(u&&-1!==u||l&&-1!==l)&&e({id:u,styleId:l,adds:[{rule:i,index:[...Ae(a),s||0]}]}),r.apply(a,o)}))}),a.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:ke(((r,a,o)=>{const[i]=o,{id:s,styleId:u}=Ie(a.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,removes:[{index:[...Ae(a),i]}]}),r.apply(a,o)}))})})),ke((()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=o,i&&(r.CSSStyleSheet.prototype.replace=i),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(u).forEach((([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule}))}))}(e,{win:n}),f=Te(e,e.doc),h=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){const o=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:ke(((a,i,s)=>{var u;const[l,c,d]=s;if(n.has(l))return o.apply(i,[l,c,d]);const{id:p,styleId:f}=Ie(null===(u=i.parentRule)||void 0===u?void 0:u.parentStyleSheet,t,r.styleMirror);return(p&&-1!==p||f&&-1!==f)&&e({id:p,styleId:f,set:{property:l,value:c,priority:d},index:Ae(i.parentRule)}),a.apply(i,s)}))});const i=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:ke(((a,o,s)=>{var u;const[l]=s;if(n.has(l))return i.apply(o,[l]);const{id:c,styleId:d}=Ie(null===(u=o.parentRule)||void 0===u?void 0:u.parentStyleSheet,t,r.styleMirror);return(c&&-1!==c||d&&-1!==d)&&e({id:c,styleId:d,remove:{property:l},index:Ae(o.parentRule)}),a.apply(o,s)}))}),ke((()=>{a.CSSStyleDeclaration.prototype.setProperty=o,a.CSSStyleDeclaration.prototype.removeProperty=i}))}(e,{win:n}),e.collectFonts&&(m=function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],a=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return a.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const i=$(t.fonts,"add",(function(t){return function(n){return setTimeout(ke((()=>{const t=a.get(n);t&&(e(t),a.delete(n))})),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(i),ke((()=>{r.forEach((e=>e()))}))}(e)));const g=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:a,selectionCb:o}=e;let i=!0;const s=ke((()=>{const e=t.getSelection();if(!e||i&&(null==e?void 0:e.isCollapsed))return;i=e.isCollapsed||!1;const s=[],u=e.rangeCount||0;for(let t=0;t<u;t++){const o=e.getRangeAt(t),{startContainer:i,startOffset:u,endContainer:l,endOffset:c}=o;W(i,r,a,!0)||W(l,r,a,!0)||s.push({start:n.getId(i),startOffset:u,end:n.getId(l),endOffset:c})}o({ranges:s})}));return s(),R("selectionchange",s)}(e),v=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?$(n.customElements,"define",(function(e){return function(n,r,a){try{t({define:{name:n}})}catch(o){console.warn(`Custom element callback failed for ${n}`)}return e.apply(this,[n,r,a])}})):()=>{}}(e),y=[];for(const l of e.plugins)y.push(l.observer(l.callback,n,l.options));return ke((()=>{we.forEach((e=>e.reset())),null==r||r.disconnect(),a(),o(),i(),s(),u(),c(),d(),f(),h(),m(),g(),v(),y.forEac
vendor: 4,234 bytes, line 2
2h((e=>e()))}))}function je(e){return void 0!==window[e]}function Pe(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Ne{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const a=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e);let i=a.get(t);return i||(i=this.generateIdFn(),a.set(t,i),o.set(i,t)),i}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,r)))}getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;const a=r.get(t);return a||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class Re{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Ne(g),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Ne(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){var n;switch(t.type){case ae.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:ae.IncrementalSnapshot,data:{source:oe.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case ae.Meta:case ae.Load:case ae.DomContentLoaded:return!1;case ae.Plugin:return t;case ae.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case ae.IncrementalSnapshot:switch(t.data.source){case oe.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case oe.Drag:case oe.TouchMove:case oe.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case oe.ViewportResize:return!1;case oe.MediaInteraction:case oe.MouseInteraction:case oe.Scroll:case oe.CanvasMutation:case oe.Input:return this.replaceIds(t.data,e,["id"]),t;case oe.StyleSheetRule:case oe.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case oe.Font:return t;
2case oe.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case oe.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null===(n=t.data.styles)||void 0===n||n.forEach((t=>{this.replaceStyleIds(t,e,["styleId"])})),t}}return!1}replace(e,t,n,r){for(const a of r)(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(n,t[a]):t[a]=e.getId(n,t[a]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===r.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class Be{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!o(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=Ee(Object.assign(Object.assign({},this.bypassOptions),{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(Se(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(Te({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push($(e.prototype,"attachShadow",(function(e){return function(r){const a=e.call(this,r);return this.shadowRoot&&re(this)&&n.addShadowRoot(this.shadowRoot,t),a}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(t){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}function Me(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}u((r=r.apply(e,t||[])).next())}))}for(var Le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze="undefined"==typeof Uint8Array?[]:new Uint8Array(256),$e=0;$e<64;$e++)ze[Le.charCodeAt($e)]=$e;const qe=new Map;const Ue=(e,t,n)=>{if(!e||!Ve(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=qe.get(e);return n||(n=new Map,qe.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let a=r.indexOf(e);return-1===a&&(a=r.length,r.push(e)),a};function Ze(e,t,n){if(e instanceof Array)return e.map((e=>Ze(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray){return{rr_type:e.constructor.name,args:[Object.values(e)]}}if(e instanceof ArrayBuffer){const t=e.constructor.name,n=function(e){var t,n=new Uint8Array(e),r=n.length,a="";for(t=0;t<r;t+=3)a+=Le[n[t]>>2],a+=Le[(3&n[t])<<4|n[t+1]>>4],a+=Le[(15&n[t+1])<<2|n[t+2]>>6],a+=Le[63&n[t+2]];return r%3==2?a=a.substring(0,a.length-1)+"=":r%3==1&&(a=a.substring(0,a.length-2)+"=="),a}(e);return{rr_type:t,base64:n}}if(e instanceof DataView){return{rr_type:e.constructor.name,args:[Ze(e.buffer,t,n),e.byteOffset,e.byteLength]}}if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}if(e instanceof HTMLCanvasElement){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}if(e instanceof ImageData){return{rr_type:e.constructor.name,args:[Ze(e.data,t,n),e.width,e.height]}}if(Ve(e,t)||"object"==typeof e){return{rr_type:e.constructor.name,index:Ue(e,t,n)}}return e}const He=(e,t,n)=>e.map((e=>Ze(e,t,n))),Ve=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function We(e,t,n,r){const a=[];try{const o=$(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(a,...o){if(!W(this,t,n,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(a);if("__context"in this||(this.__context=e),r&&["webgl","webgl2"].includes(e))if(o[0]&&"object"==typeof o[0]){const e=o[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else o.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[a,...o])}}));a.push(o)}catch(o){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach((e=>e()))}}function Ge(e,t,n,r,a,o,i){const s=[],u=Object.getOwnPropertyNames(e);for(const c of u)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(c))try{if
2("function"!=typeof e[c])continue;const o=$(e,c,(function(e){return function(...o){const s=e.apply(this,o);if(Ue(s,i,this),"tagName"in this.canvas&&!W(this.canvas,r,a,!0)){const e=He(o,i,this),r={type:t,property:c,args:e};n(this.canvas,r)}return s}}));s.push(o)}catch(l){const r=z(e,c,{set(e){n(this.canvas,{type:t,property:c,args:[e],setter:!0})}});s.push(r)}return s}var Ke,Qe,Je,Ye=(Ke=function(){!function(){function e(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}u((r=r.apply(e,t||[])).next())}))}for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="undefined"==typeof Uint8Array?[]:new Uint8Array(256),r=0;r<64;r++)n[t.charCodeAt(r)]=r;var a=function(e){var n,r=new Uint8Array(e),a=r.length,o="";for(n=0;n<a;n+=3)o+=t[r[n]>>2],o+=t[(3&r[n])<<4|r[n+1]>>4],o+=t[(15&r[n+1])<<2|r[n+2]>>6],o+=t[63&r[n+2]];return a%3==2?o=o.substring(0,o.length-1)+"=":a%3==1&&(o=o.substring(0,o.length-2)+"=="),o};const o=new Map,i=new Map,s=self;s.onmessage=function(t){return e(this,void 0,void 0,(function*(){if(!("OffscreenCanvas"in globalThis))return s.postMessage({id:t.data.id});{const{id:n,bitmap:r,width:u,height:l,dataURLOptions:c}=t.data,d=function(t,n,r){return e(this,void 0,void 0,(function*(){const e=`${t}-${n}`;if("OffscreenCanvas"in globalThis){if(i.has(e))return i.get(e);const o=new OffscreenCanvas(t,n);o.getContext("2d");const s=yield o.convertToBlob(r),u=yield s.arrayBuffer(),l=a(u);return i.set(e,l),l}return""}))}(u,l,c),p=new OffscreenCanvas(u,l);p.getContext("2d").drawImage(r,0,0),r.close();const f=yield p.convertToBlob(c),h=f.type,m=yield f.arrayBuffer(),g=a(m);if(!o.has(n)&&(yield d)===g)return o.set(n,g),s.postMessage({id:n});if(o.get(n)===g)return s.postMessage({id:n});s.postMessage({id:n,type:h,base64:g,width:u,height:l}),o.set(n,g)}}))}}()},Qe=null,function(e){return Je=Je||function(e,t){var n=function(e,t){var n=void 0===t?null:t,r=e.toString().split("\n");r.pop(),r.shift();for(var a=r[0].search(/\S/),o=/(['"])__worker_loader_strict__(['"])/g,i=0,s=r.length;i<s;++i)r[i]=r[i].substring(a).replace(o,"$1use strict$2")+"\n";return n&&r.push("//# sourceMappingURL="+n+"\n"),r}(e,t),r=new Blob(n,{type:"application/javascript"});return URL.createObjectURL(r)}(Ke,Qe),new Worker(Je,e)});class Xe{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};const{sampling:t="all",win:n,blockClass:r,blockSelector:a,recordCanvas:o,dataURLOptions:i}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,o&&"all"===t&&this.initCanvasMutationObserver(n,r,a),o&&"number"==typeof t&&this.initCanvasFPSObserver(t,n,r,a,{dataURLOptions:i})}initCanvasFPSObserver(e,t,n,r,a){const o=We(t,n,r,!0),i=new Map,s=new Ye;s.onmessage=e=>{const{id:t}=e.data;if(i.set(t,!1),!("base64"in e.data))return;const{base64:n,type:r,width:a,height:o}=e.data;this.mutationCb({id:t,type:ue["2D"],commands:[{property:"clearRect",args:[0,0,a,o]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:r}]},0,0]}]})};const u=1e3/e;let l,c=0;const d=e=>{c&&e-c<u||(c=e,(()=>{const e=[];return t.document.querySelectorAll("canvas").forEach((t=>{W(t,n,r,!0)||e.push(t)})),e}
2)().forEach((e=>Me(this,void 0,void 0,(function*(){var t;const n=this.mirror.getId(e);if(i.get(n))return;if(0===e.width||0===e.height)return;if(i.set(n,!0),["webgl","webgl2"].includes(e.__context)){const n=e.getContext(e.__context);!1===(null===(t=null==n?void 0:n.getContextAttributes())||void 0===t?void 0:t.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)}const r=yield createImageBitmap(e);s.postMessage({id:n,bitmap:r,width:e.width,height:e.height,dataURLOptions:a.dataURLOptions},[r])}))))),l=requestAnimationFrame(d)};l=requestAnimationFrame(d),this.resetObservers=()=>{o(),cancelAnimationFrame(l)}}initCanvasMutationObserver(e,t,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const r=We(e,t,n,!1),a=function(e,t,n,r){const a=[],o=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const s of o)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[s])continue;const o=$(t.CanvasRenderingContext2D.prototype,s,(function(a){return function(...o){return W(this.canvas,n,r,!0)||setTimeout((()=>{const n=He(o,t,this);e(this.canvas,{type:ue["2D"],property:s,args:n})}),0),a.apply(this,o)}}));a.push(o)}catch(i){const n=z(t.CanvasRenderingContext2D.prototype,s,{set(t){e(this.canvas,{type:ue["2D"],property:s,args:[t],setter:!0})}});a.push(n)}return()=>{a.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n),o=function(e,t,n,r){const a=[];return a.push(...Ge(t.WebGLRenderingContext.prototype,ue.WebGL,e,n,r,0,t)),void 0!==t.WebGL2RenderingContext&&a.push(...Ge(t.WebGL2RenderingContext.prototype,ue.WebGL2,e,n,r,0,t)),()=>{a.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,this.mirror);this.resetObservers=()=>{r(),a(),o()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["type"]);return t})),{type:a}=n[0];this.mutationCb({id:t,type:a,commands:r}),this.pendingCanvasMutations.delete(e)}}class et{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new ee,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const a of e){let e;this.styleMirror.has(a)?e=this.styleMirror.getId(a):(e=this.styleMirror.add(a),r.push({styleId:e,rules:Array.from(a.rules||CSSRule,((e,t)=>({rule:s(e),index:t})))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class tt{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){requestAnimationFrame((()=>{this.clear(),this.loop&&this.periodicallyClear()}))}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function nt(e){return Object.assign(Object.assign({},e),{timestamp:q()})}let rt,at,ot,it=!1;const st=new u;function ut(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:a="rr-block",blockSelector:o=null,ignoreClass:i="rr-ignore",ignoreSelector:s=null,maskTextClass:l="rr-mask",maskTextSelector:c=null,inlineStylesheet:d=!0,maskAllInputs:p,maskInputOptions:f,slimDOMOptions:h,maskInputFn:m,maskTextFn:g,hooks:v,packFn:y,sampling:b={},dataURLOptions:D={},mousemoveWait:k,recordDOM:w=!0,recordCanvas:_=!1,recordCrossOriginIframes:E=!1,recordAfter:C=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:S=!1,collectFonts:F=!1,inl
2ineImages:x=!1,plugins:A,keepIframeSrcFn:I=()=>!1,ignoreCSSAttributes:T=new Set([]),errorHandler:O}=e;be(O);const j=!E||window.parent===window;let P=!1;if(!j)try{window.parent.document&&(P=!1)}catch(te){P=!0}if(j&&!t)throw new Error("emit function is required");void 0!==k&&void 0===b.mousemove&&(b.mousemove=k),st.reset();const B=!0===p?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==f?f:{password:!0},M=!0===h||"all"===h?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===h,headMetaDescKeywords:"all"===h}:h||{};let L;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let z=0;const $=e=>{for(const t of A||[])t.eventProcessor&&(e=t.eventProcessor(e));return y&&!P&&(e=y(e)),e};rt=(e,a)=>{var o;if(!(null===(o=we[0])||void 0===o?void 0:o.isFrozen())||e.type===ae.FullSnapshot||e.type===ae.IncrementalSnapshot&&e.data.source===oe.Mutation||we.forEach((e=>e.unfreeze())),j)null==t||t($(e),a);else if(P){const t={type:"rrweb",event:$(e),origin:window.location.origin,isCheckout:a};window.parent.postMessage(t,"*")}if(e.type===ae.FullSnapshot)L=e,z=0;else if(e.type===ae.IncrementalSnapshot){if(e.data.source===oe.Mutation&&e.data.isAttachIframe)return;z++;const t=r&&z>=r,a=n&&e.timestamp-L.timestamp>n;(t||a)&&at(!0)}};const q=e=>{rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.Mutation},e)}))},V=e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.Scroll},e)})),W=e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.CanvasMutation},e)})),G=new et({mutationCb:q,adoptedStyleSheetCb:e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.AdoptedStyleSheet},e)}))}),K=new Re({mirror:st,mutationCb:q,stylesheetManager:G,recordCrossOriginIframes:E,wrappedEmit:rt});for(const u of A||[])u.getMirror&&u.getMirror({nodeMirror:st,crossOriginIframeMirror:K.crossOriginIframeMirror,crossOriginIframeStyleMirror:K.crossOriginIframeStyleMirror});const Q=new tt;ot=new Xe({recordCanvas:_,mutationCb:W,win:window,blockClass:a,blockSelector:o,mirror:st,sampling:b.canvas,dataURLOptions:D});const ee=new Be({mutationCb:q,scrollCb:V,bypassOptions:{blockClass:a,blockSelector:o,maskTextClass:l,maskTextSelector:c,inlineStylesheet:d,maskInputOptions:B,dataURLOptions:D,maskTextFn:g,maskInputFn:m,recordCanvas:_,inlineImages:x,sampling:b,slimDOMOptions:M,iframeManager:K,stylesheetManager:G,canvasManager:ot,keepIframeSrcFn:I,processedNodeManager:Q},mirror:st});at=(e=!1)=>{if(!w)return;rt(nt({type:ae.Meta,data:{href:window.location.href,width:H(),height:Z()}}),e),G.reset(),ee.init(),we.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new u,blockClass:r="rr-block",blockSelector:a=null,maskTextClass:o="rr-mask",maskTextSelector:i=null,inlineStylesheet:s=!0,inlineImages:l=!1,recordCanvas:c=!1,maskAllInputs:d=!1,maskTextFn:p,maskInputFn:f,slimDOM:h=!1,dataURLOptions:m,preserveWhiteSpace:g,onSerialize:v,onIframeLoad:y,iframeLoadTimeout:b,onStylesheetLoad:D,stylesheetLoadTimeout:k,keepIframeSrcFn:w=()=>!1}=t||{};return N(e,{doc:e,mirror:n,blockClass:r,blockSelector:a,maskTextClass:o,maskTextSelector:i,skipChild:!1,inlineStylesheet:s,maskInputOptions:!0===d?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===d?{password:!0}:d,maskTextFn:p,maskInputFn:f,slimDOMOptions:!0===h||"all"===h?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===h,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
2:!1===h?{}:h,dataURLOptions:m,inlineImages:l,recordCanvas:c,preserveWhiteSpace:g,onSerialize:v,onIframeLoad:y,iframeLoadTimeout:b,onStylesheetLoad:D,stylesheetLoadTimeout:k,keepIframeSrcFn:w,newlyAddedElement:!1})}(document,{mirror:st,blockClass:a,blockSelector:o,maskTextClass:l,maskTextSelector:c,inlineStylesheet:d,maskAllInputs:B,maskTextFn:g,slimDOM:M,dataURLOptions:D,recordCanvas:_,inlineImages:x,onSerialize:e=>{J(e,st)&&K.addIframe(e),Y(e,st)&&G.trackLinkElement(e),X(e)&&ee.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{K.attachIframe(e,t),ee.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{G.attachLinkElement(e,t)},keepIframeSrcFn:I});if(!t)return console.warn("Failed to snapshot the document");rt(nt({type:ae.FullSnapshot,data:{node:t,initialOffset:U(window)}}),e),we.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&G.adoptStyleSheets(document.adoptedStyleSheets,st.getId(document))};try{const e=[],t=e=>{var t;return ke(Oe)({mutationCb:q,mousemoveCb:(e,t)=>rt(nt({type:ae.IncrementalSnapshot,data:{source:t,positions:e}})),mouseInteractionCb:e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.MouseInteraction},e)})),scrollCb:V,viewportResizeCb:e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.ViewportResize},e)})),inputCb:e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.Input},e)})),mediaInteractionCb:e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.MediaInteraction},e)})),styleSheetRuleCb:e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.StyleSheetRule},e)})),styleDeclarationCb:e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.StyleDeclaration},e)})),canvasMutationCb:W,fontCb:e=>rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.Font},e)})),selectionCb:e=>{rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.Selection},e)}))},customElementCb:e=>{rt(nt({type:ae.IncrementalSnapshot,data:Object.assign({source:oe.CustomElement},e)}))},blockClass:a,ignoreClass:i,ignoreSelector:s,maskTextClass:l,maskTextSelector:c,maskInputOptions:B,inlineStylesheet:d,sampling:b,recordDOM:w,recordCanvas:_,inlineImages:x,userTriggeredOnInput:S,collectFonts:F,doc:e,maskInputFn:m,maskTextFn:g,keepIframeSrcFn:I,blockSelector:o,slimDOMOptions:M,dataURLOptions:D,mirror:st,iframeManager:K,stylesheetManager:G,shadowDomManager:ee,processedNodeManager:Q,canvasManager:ot,ignoreCSSAttributes:T,plugins:(null===(t=null==A?void 0:A.filter((e=>e.observer)))||void 0===t?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>rt(nt({type:ae.Plugin,data:{plugin:e.name,payload:t}}))}))))||[]},v)};K.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(Bt){console.warn(Bt)}}));const n=()=>{at(),e.push(t(document)),it=!0};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(R("DOMContentLoaded",(()=>{rt(nt({type:ae.DomContentLoaded,data:{}})),"DOMContentLoaded"===C&&n()}))),e.push(R("load",(()=>{rt(nt({type:ae.Load,data:{}})),"load"===C&&n()}),window))),()=>{e.forEach((e=>e())),Q.destroy(),it=!1,De()}}catch(Bt){console.warn(Bt)}}ut.addCustomEvent=(e,t)=>{if(!it)throw new Error("please add custom event after start recording");rt(nt({type:ae.Custom,data:{tag:e,payload:t}}))},ut.freezePage=()=>{we.forEach((e=>e.freeze()))},ut.takeFullSnapshot=e=>{if(!it)throw new Error("please take full snapshot after start recording");at(e)},ut.mirror=st;var lt,ct=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(ct||{}),dt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(dt||{}),pt={DEBUG:!1,LIB_VERSION:"2.59.0"};if("undefined"==typeof window){var ft={hostname:""};lt={navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:ft,referrer:""},screen:{width:0,height:0},location:ft,addEventListener:function(){},removeEventListener:function(){}}}else lt=window;var ht,mt,gt,vt=lt.setImmediate,yt=Object.prototype.toString,bt=void 0!==vt?function(e){return vt(e)}:setTimeout;try{Object.defineProperty({},"x",{}),ht=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(Aa){ht=function(e,t,n){return e[t]=n,e}}function Dt(e,t){gt.add(e,t),mt||(mt=bt(gt.drain))}function kt(e){var t,n=typeof e;return null===e||"object"!==n&&"function"!==n||(t=e.then),"function"==typeof t&&t}function wt(){for(var e=0;e<this.chain.length;e++)_t(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function _t(e,t,n){var r,a;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(a=kt(r))?a.call(r,n.resolve,n.reject):n.resolve(r)}catch(Aa){n.reject(Aa)}}function Et(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=kt(e))?Dt((function(){var r=new Ft(n);try{t.call(e,(function(){Et.apply(r,arguments)}),(function(){Ct.apply(r,arguments)}))}catch(Aa){Ct.call(r,Aa)}})):(n.msg=e,n.state=1,n.chain.length>0&&Dt(wt,n))}catch(Aa){Ct.call(new Ft(n),Aa)}}}function Ct(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&Dt(wt,t))}function St(e,t,n,r){for(var a=0;a<t.length;a++)!function(a){e.resolve(t[a]).then((function(e){n(a,e)}),r)}(a)}function Ft(e){this.def=e,this.triggered=!1}function xt(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function At(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new xt(this);this.then=function(e,n){var r={success:"function"!=typeof e||e,failure:"function"==typeof n&&n};return r.promise=new this.constructor((function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");r.resolve=e,r.reject=t}
2)),t.chain.push(r),0!==t.state&&Dt(wt,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,(function(e){Et.call(t,e)}),(function(e){Ct.call(t,e)}))}catch(Aa){Ct.call(t,Aa)}}gt=function(){var e,t,n;function r(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(a,o){n=new r(a,o),t?t.next=n:e=n,t=n,n=void 0},drain:function(){var n=e;for(e=t=mt=void 0;n;)n.fn.call(n.self),n=n.next}}}();var It,Tt=ht({},"constructor",At,!1);At.prototype=Tt,ht(Tt,"__NPO__",0,!1),ht(At,"resolve",(function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this((function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)}))})),ht(At,"reject",(function(e){return new this((function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)}))})),ht(At,"all",(function(e){var t=this;return"[object Array]"!==yt.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t((function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var a=e.length,o=Array(a),i=0;St(t,e,(function(e,t){o[e]=t,++i===a&&n(o)}),r)}))})),ht(At,"race",(function(e){var t=this;return"[object Array]"!==yt.call(e)?t.reject(TypeError("Not an array")):new t((function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");St(t,e,(function(e,t){n(t)}),r)}))})),It="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:At;var Ot,jt,Pt,Nt,Rt,Bt,Mt,Lt,zt,$t,qt,Ut=864e5,Zt=8e3,Ht=Array.prototype,Vt=Function.prototype,Wt=Object.prototype,Gt=Ht.slice,Kt=Wt.toString,Qt=Wt.hasOwnProperty,Jt=lt.console,Yt=lt.navigator,Xt=lt.document,en=lt.opera,tn=lt.screen,nn=Yt.userAgent,rn=Vt.bind,an=Ht.forEach,on=Ht.indexOf,sn=Ht.map,un=Array.isArray,ln={},cn={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},dn={log:function(){if(pt.DEBUG&&!cn.isUndefined(Jt)&&Jt)try{Jt.log.apply(Jt,arguments)}catch(Aa){cn.each(arguments,(function(e){Jt.log(e)}))}},warn:function(){if(pt.DEBUG&&!cn.isUndefined(Jt)&&Jt){var e=["Mixpanel warning:"].concat(cn.toArray(arguments));try{Jt.warn.apply(Jt,e)}catch(Aa){cn.each(e,(function(e){Jt.warn(e)}))}}},error:function(){if(pt.DEBUG&&!cn.isUndefined(Jt)&&Jt){var e=["Mixpanel error:"].concat(cn.toArray(arguments));try{Jt.error.apply(Jt,e)}catch(Aa){cn.each(e,(function(e){Jt.error(e)}))}}},critical:function(){if(!cn.isUndefined(Jt)&&Jt){var e=["Mixpanel error:"].concat(cn.toArray(arguments));try{Jt.error.apply(Jt,e)}catch(Aa){cn.each(e,(function(e){Jt.error(e)}))}}}},pn=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(dn,arguments)}},fn=function(e){return{log:pn(dn.log,e),error:pn(dn.error,e),critical:pn(dn.critical,e)}},hn=function(e){return function(){try{return e.apply(this,arguments)}catch(t){dn.critical("Implementation error. Please turn on debug and contact [email protected]."),pt.DEBUG&&dn.critical(t)}}};cn.bind=function(e,t){var n,r;if(rn&&e.bind===rn)return rn.apply(e,Gt.call(arguments,1));if(!cn.isFunction(e))throw new TypeError;return n=Gt.call(arguments,2),r=function(){if(!(this instanceof r))return e.apply(t,n.concat(Gt.call(arguments)));var a={};a.prototype=e.prototype;var o=new a;a.prototype=null;var i=e.apply(o,n.concat(Gt.call(arguments)));return Object(i)===i?i:o},r},cn.each=function(e,t,n){if(null!=e)if(an&&e.forEach===an)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,a=e.length;r<a;r++)if(r in e&&t.call(n,e[r],r,e)===ln)return}else for(var o in e)if(Qt.call(e,o)&&t.call(n,e[o],o,e)===ln)return},cn.extend=function(e){return cn.each(Gt.call(arguments,1),(function(t){for(var n in t)void 0!==t[n]&&(e[n]=t[n])})),e},cn.isArray=un||function(e){return"[object Array]"===Kt.call(e)},cn.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch(t){return!1}},cn.isArguments=function(e){return!(!e||!Qt.call(e,"callee"))},cn.toArray=function(e){return e?e.toArray?e.toArray():cn.isArray(e)||cn.isArguments(e)?Gt.call(e):cn.values(e):[]},cn.map=function(e,t,n){if(sn&&e.map===sn)return e.map(t,n);var r=[];return cn.each(e,(function(e){r.push(t.call(n,e))})),r},cn.keys=function(e){var t=[];return null===e||cn.each(e,(function(e,n){t[t.length]=n})),t},cn.values=function(e){var t=[];return null===e||cn.each(e,(function(e){t[t.length]=e})),t},cn.include=function(e,t){var n=!1;return null===e?n:on&&e.indexOf===on?-1!=e.indexOf(t):(cn.each(e,(function(e){if(n||(n=e===t))return ln})),n)},cn.includes=function(e,t){return-1!==e.indexOf(t)},cn.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},cn.isObject=function(e){return e===Object(e)&&!cn.isArray(e)},cn.isEmptyObject=function(e){if(cn.isObject(e)){for(var t in e)if(Qt.call(e,t))return!1;return!0}return!1},cn.isUndefined=function(e){return void 0===e},cn.isString=function(e){return"[object String]"==Kt.call(e)},cn.isDate=function(e){return"[object Date]"==Kt.call(e)},cn.isNumber=function(e){return"[object Number]"==Kt.call(e)},cn.isElement=function(e){return!(!e||1!==e.nodeType)},cn.encodeDates=function(e){return cn.each(e,(function(t,n){cn.isDate(t)?e[n]=cn.formatDate(t):cn.isObject(t)&&(e[n]=cn.encodeDates(t))})),e},cn.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},cn.formatDate=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())},cn.strip_empty_properties=function(e){var t={};return cn.each(e,(function(e,n){cn.isString(e)&&e.length>0&&(t[n]=e)})),t},cn.truncate=function(e,t){var n;return"string"==typeof e?n=e.slice(0,t):cn.isArray(e)?(n=[],cn.each(e,(function(e){n.push(cn.truncate(e,t))}))):cn.isObject(e)?(n={},cn.each(e,(function(e,r){n[r]=cn.truncate(e,t)}))):n=e,n},cn.JSONEncode=function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,(function(e){var t=n[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'},n=function(e,r){var a="",o=0,i="",s="",u=0,l=a,c=[],d=r[e];switch(d&&"object"==typeof d&&"function"==typeof d.toJSON&&(d=d.toJSON(e)),typeof d){case"string":return t(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";
vendor: 12,207 bytes, line 2
2if(a+="    ",c=[],"[object Array]"===Kt.apply(d)){for(u=d.length,o=0;o<u;o+=1)c[o]=n(o,d)||"null";return s=0===c.length?"[]":a?"[\n"+a+c.join(",\n"+a)+"\n"+l+"]":"["+c.join(",")+"]",a=l,s}for(i in d)Qt.call(d,i)&&(s=n(i,d))&&c.push(t(i)+(a?": ":":")+s);return s=0===c.length?"{}":a?"{"+c.join(",")+l+"}":"{"+c.join(",")+"}",a=l,s}};return n("",{"":e})},cn.JSONDecode=(Rt={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},Bt=function(e){var t=new SyntaxError(e);throw t.at=Ot,t.text=Pt,t},Mt=function(e){return e&&e!==jt&&Bt("Expected '"+e+"' instead of '"+jt+"'"),jt=Pt.charAt(Ot),Ot+=1,jt},Lt=function(){var e,t="";for("-"===jt&&(t="-",Mt("-"));jt>="0"&&jt<="9";)t+=jt,Mt();if("."===jt)for(t+=".";Mt()&&jt>="0"&&jt<="9";)t+=jt;if("e"===jt||"E"===jt)for(t+=jt,Mt(),"-"!==jt&&"+"!==jt||(t+=jt,Mt());jt>="0"&&jt<="9";)t+=jt,Mt();if(e=+t,isFinite(e))return e;Bt("Bad number")},zt=function(){var e,t,n,r="";if('"'===jt)for(;Mt();){if('"'===jt)return Mt(),r;if("\\"===jt)if(Mt(),"u"===jt){for(n=0,t=0;t<4&&(e=parseInt(Mt(),16),isFinite(e));t+=1)n=16*n+e;r+=String.fromCharCode(n)}else{if("string"!=typeof Rt[jt])break;r+=Rt[jt]}else r+=jt}Bt("Bad string")},$t=function(){for(;jt&&jt<=" ";)Mt()},Nt=function(){switch($t(),jt){case"{":return function(){var e,t={};if("{"===jt){if(Mt("{"),$t(),"}"===jt)return Mt("}"),t;for(;jt;){if(e=zt(),$t(),Mt(":"),Object.hasOwnProperty.call(t,e)&&Bt('Duplicate key "'+e+'"'),t[e]=Nt(),$t(),"}"===jt)return Mt("}"),t;Mt(","),$t()}}Bt("Bad object")}();case"[":return function(){var e=[];if("["===jt){if(Mt("["),$t(),"]"===jt)return Mt("]"),e;for(;jt;){if(e.push(Nt()),$t(),"]"===jt)return Mt("]"),e;Mt(","),$t()}}Bt("Bad array")}();case'"':return zt();case"-":return Lt();default:return jt>="0"&&jt<="9"?Lt():function(){switch(jt){case"t":return Mt("t"),Mt("r"),Mt("u"),Mt("e"),!0;case"f":return Mt("f"),Mt("a"),Mt("l"),Mt("s"),Mt("e"),!1;case"n":return Mt("n"),Mt("u"),Mt("l"),Mt("l"),null}Bt('Unexpected "'+jt+'"')}()}},function(e){var t;return Pt=e,Ot=0,jt=" ",t=Nt(),$t(),jt&&Bt("Syntax error"),t}),cn.base64Encode=function(e){var t,n,r,a,o,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,u=0,l="",c=[];if(!e)return e;e=cn.utf8Encode(e);do{t=(o=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=o>>12&63,r=o>>6&63,a=63&o,c[u++]=i.charAt(t)+i.charAt(n)+i.charAt(r)+i.charAt(a)}while(s<e.length);switch(l=c.join(""),e.length%3){case 1:l=l.slice(0,-2)+"==";break;case 2:l=l.slice(0,-1)+"="}return l},cn.utf8Encode=function(e){var t,n,r,a,o="";for(t=n=0,r=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,a=0;a<r;a++){var i=e.charCodeAt(a),s=null;i<128?n++:s=i>127&&i<2048?String.fromCharCode(i>>6|192,63&i|128):String.fromCharCode(i>>12|224,i>>6&63|128,63&i|128),null!==s&&(n>t&&(o+=e.substring(t,n)),o+=s,t=n=a+1)}return n>t&&(o+=e.substring(t,e.length)),o},cn.UUID=(qt=function(){var e,t=1*new Date;if(lt.performance&&lt.performance.now)e=lt.performance.now();else for(e=0;t==1*new Date;)e++;return t.toString(16)+Math.floor(e).toString(16)},function(){var e=(tn.height*tn.width).toString(16);return qt()+"-"+Math.random().toString(16).replace(".","")+"-"+function(){var e,t,n=nn,r=[],a=0;function o(e,t){var n,a=0;for(n=0;n<t.length;n++)a|=r[n]<<8*n;return e^a}for(e=0;e<n.length;e++)t=n.charCodeAt(e),r.unshift(255&t),r.length>=4&&(a=o(a,r),r=[]);return r.length>0&&(a=o(a,r)),a.toString(16)}()+"-"+e+"-"+qt()});var mn=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];cn.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<mn.length;t++)if(-1!==e.indexOf(mn[t]))return!0;return!1},cn.HTTPBuildQuery=function(e,t){var n,r,a=[];return cn.isUndefined(t)&&(t="&"),cn.each(e,(function(e,t){n=encodeURIComponent(e.toString()),r=encodeURIComponent(t),a[a.length]=r+"="+n})),a.join(t)},cn.getQueryParam=function(e,t){t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===n||n&&"string"!=typeof n[1]&&n[1].length)return"";var r=n[1];try{r=decodeURIComponent(r)}catch(Aa){dn.error("Skipping decoding for malformed query param: "+r)}return r.replace(/\+/g," ")},cn.cookie={get:function(e){for(var t=e+"=",n=Xt.cookie.split(";"),r=0;r<n.length;r++){for(var a=n[r];" "==a.charAt(0);)a=a.substring(1,a.length);if(0===a.indexOf(t))return decodeURIComponent(a.substring(t.length,a.length))}return null},parse:function(e){var t;try{t=cn.JSONDecode(cn.cookie.get(e))||{}}catch(Aa){}return t},set_seconds:function(e,t,n,r,a,o,i){var s="",u="",l="";if(i)s="; domain="+i;else if(r){var c=En(Xt.location.hostname);s=c?"; domain=."+c:""}if(n){var d=new Date;d.setTime(d.getTime()+1e3*n),u="; expires="+d.toGMTString()}o&&(a=!0,l="; SameSite=None"),a&&(l+="; secure"),Xt.cookie=e+"="+encodeURIComponent(t)+u+"; path=/"+s+l},set:function(e,t,n,r,a,o,i){var s="",u="",l="";if(i)s="; domain="+i;else if(r){var c=En(Xt.location.hostname);s=c?"; domain=."+c:""}if(n){var d=new Date;d.setTime(d.getTime()+24*n*60*60*1e3),u="; expires="+d.toGMTString()}o&&(a=!0,l="; SameSite=None"),a&&(l+="; secure");var p=e+"="+encodeURIComponent(t)+u+"; path=/"+s+l;return Xt.cookie=p,p},remove:function(e,t,n){cn.cookie.set(e,"",-1,t,!1,!1,n)}};var gn=null,vn=function(e,t){if(null!==gn&&!t)return gn;var n=!0;try{e=e||lt.localStorage;var r="__mplss_"+kn(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(n=!1),e.removeItem(r)}catch(Aa){n=!1}return gn=n,n};cn.localStorage={is_supported:function(e){var t=vn(null,e);return t||dn.error("localStorage unsupported; falling back to cookie store"),t},error:function(e){dn.error("localStorage error: "+e)},get:function(e){try{return lt.localStorage.getItem(e)}catch(Aa){cn.localStorage.error(Aa)}return null},parse:function(e){try{return cn.JSONDecode(cn.localStorage.get(e))||{}}catch(Aa){}return null},set:function(e,t){try{lt.localStorage.setItem(e,t)}catch(Aa){cn.localStorage.error(Aa)}},remove:function(e){try{lt.localStorage.removeItem(e)}catch(Aa){cn.localStorage.error(Aa)}}},cn.register_event=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,n,r,a,o){if(t)if(t.addEventListener&&!a)t.addEventListener(n,r,!!o);else{var i="on"+n,s=t[i];t[i]=function(t,n,r){var a=function(a){if(a=a||e(lt.event)){var o,i,s=!0;return cn.isFunction(r)&&(o=r(a)),i=n.call(t,a),!1!==o&&!1!==i||(s=!1),s}};return a}(t,r,s)}else dn.error("No valid element provided to register_event")}}();var yn=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');cn.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function n(e,n){var r=" "+n+" ";return(" "+e.className+" ").replace(t," ").indexOf(r)>=0}function r(t){if(!Xt.getElementsByTagName)return[];var r,a,o,i,s,u,l,c,d,p,f=t.split(" "),h=[Xt];for(u=0;u<f.length;u++)if((r=f[u].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){o=(a=r.split("#"))[0];var m=a[1],g=Xt.getElementById(m);if(!g||o&&g.nodeName.toLowerCase()!=o)return[];h=[g]}else if(r.indexOf(".")>-1){o=(a=r.split("."))[0];var v=a[1];for(o||(o="*"),i=[],s=0,l=0;l<h.length;l++)for(d="*"==o?e(h[l]):h[l].getElementsByTagName(o),c=0;c<d.length;c++)i[s++]=d[c];for(h=[],p=0,l=0;l<i.length;l++)i[l].className&&cn.isString(i[l].className)&&n(i[l],v)&&(h[p++]=i[l])}else{var y=r.match(yn);if(y){o=y[1];var b,D=y[2],k=y[3],w=y[4];for(o||(o="*"),i=[],s=0,l=0;l<h.length;l++)for(d="*"==o?e(h[l]):h[l].getElementsByTagName(o),c=0;c<d.length;c++)i[s++]=d[c];switch(h=[],p=0,k){case"=":b=function(e){return e.getAttribute(D)==w};break;case"~":b=function(e){return e.getAttribute(D).match(new RegExp("\\b"+w+"\\b"))};break;case"|":b=function(e){return e.getAttribute(D).match(new RegExp("^"+w+"-?"))};break;case"^":b=function(e){return 0===e.getAttribute(D).indexOf(w)};break;case"$":b=function(e){return e.getAttribute(D).lastIndexOf(w)==e.getAttribute(D).length-w.length};break;case"*":b=function(e){return e.getAttribute(D).indexOf(w)>-1};break;default:b=function(e){return e.getAttribute(D)}}for(h=[],p=0,l=0;l<i.length;l++)b(i[l])&&(h[p++]=i[l])}else{for(o=r,i=[],s=0,l=0;l<h.length;l++)for(d=h[l].getElementsByTagName(o),c=0;c<d.length;c++)i[s++]=d[c];h=i}}return h}return function(e){return cn.isElement(e)?[e]:cn.isObject(e)&&!cn.isUndefined(e.length)?e:r.call(this,e)}}();var bn=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],Dn=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];cn.info={campaignParams:function(e){var t="",n={};return cn.each(bn,(function(r){(t=cn.getQueryParam(Xt.URL,r)).length?n[r]=t:void 0!==e&&(n[r]=e)})),n},clickParams:function(){var e="",t={};return cn.each(Dn,(function(n){(e=cn.getQueryParam(Xt.URL,n)).length&&(t[n]=e)})),t},marketingParams:function(){return cn.extend(cn.info.campaignParams(),cn.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(e){var t=cn.info.searchEngine(e),n="yahoo"!=t?"q":"p",r={};if(null!==t){r.$search_engine=t;var a=cn.getQueryParam(e,n);a.length&&(r.mp_keyword=a)}return r},browser:function(e,t,n){return t=t||"",n||cn.includes(e," OPR/")?cn.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":cn.includes(e,"IEMobile")||cn.includes(e,"WPDesktop")?"Internet Explorer Mobile":cn.includes(e,"SamsungBrowser/")?"Samsung Internet":cn.includes(e,"Edge")||cn.includes(e,"Edg/")?"Microsoft Edge":cn.includes(e,"FBIOS")?"Facebook Mobile":cn.includes(e,"Chrome")?"Chrome":cn.includes(e,"CriOS")?"Chrome iOS":cn.includes(e,"UCWEB")||cn.includes(e,"UCBrowser")?"UC Browser":cn.includes(e,"FxiOS")?"Firefox iOS":cn.includes(t,"Apple")?cn.includes(e,"Mobile")?"Mobile Safari":"Safari":cn.includes(e,"Android")?"Android Mobile":cn.includes(e,"Konqueror")?"Konqueror":cn.includes(e,"Firefox")?"Firefox":cn.includes(e,"MSIE")||cn.includes(e,"Trident/")?"Internet Explorer":cn.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,n){var r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[cn.info.browser(e,t,n)];if(void 0===r)return null;var a=e.match(r);return a?parseFloat(a[a.length-2]):null},os:function(){var e=nn;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},currentUrl:function(){return lt.location.href},properties:function(e){return"object"!=typeof e&&(e={}),cn.extend(cn.strip_empty_properties({$os:cn.info.os(),$browser:cn.info.browser(nn,Yt.vend
2or,en),$referrer:Xt.referrer,$referring_domain:cn.info.referringDomain(Xt.referrer),$device:cn.info.device(nn)}),{$current_url:cn.info.currentUrl(),$browser_version:cn.info.browserVersion(nn,Yt.vendor,en),$screen_height:tn.height,$screen_width:tn.width,mp_lib:"web",$lib_version:pt.LIB_VERSION,$insert_id:kn(),time:cn.timestamp()/1e3},cn.strip_empty_properties(e))},people_properties:function(){return cn.extend(cn.strip_empty_properties({$os:cn.info.os(),$browser:cn.info.browser(nn,Yt.vendor,en)}),{$browser_version:cn.info.browserVersion(nn,Yt.vendor,en)})},mpPageViewProperties:function(){return cn.strip_empty_properties({current_page_title:Xt.title,current_domain:lt.location.hostname,current_url_path:lt.location.pathname,current_url_protocol:lt.location.protocol,current_url_search:lt.location.search})}};var kn=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},wn=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,_n=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,En=function(e){var t=_n,n=e.split("."),r=n[n.length-1];(r.length>4||"com"===r||"org"===r)&&(t=wn);var a=e.match(t);return a?a[0]:""},Cn=null,Sn=null;"undefined"!=typeof JSON&&(Cn=JSON.stringify,Sn=JSON.parse),Cn=Cn||cn.JSONEncode,Sn=Sn||cn.JSONDecode,cn.toArray=cn.toArray,cn.isObject=cn.isObject,cn.JSONEncode=cn.JSONEncode,cn.JSONDecode=cn.JSONDecode,cn.isBlockedUA=cn.isBlockedUA,cn.isEmptyObject=cn.isEmptyObject,cn.info=cn.info,cn.info.device=cn.info.device,cn.info.browser=cn.info.browser,cn.info.browserVersion=cn.info.browserVersion,cn.info.properties=cn.info.properties,cn.NPO=At;function Fn(e,t){Mn(!0,e,t)}function xn(e,t){Mn(!1,e,t)}function An(e,t){return"1"===Bn(e,t)}function In(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||lt,n=t.navigator||{},r=!1;return cn.each([n.doNotTrack,n.msDoNotTrack,t.doNotTrack],(function(e){cn.includes([!0,1,"1","yes"],e)&&(r=!0)})),r}(t))return dn.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var n="0"===Bn(e,t);return n&&dn.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),n}function Tn(e){return Ln(e,(function(e){return this.get_config(e)}))}function On(e){return Ln(e,(function(e){return this._get_config(e)}))}function jn(e){return Ln(e,(function(e){return this._get_config(e)}))}function Pn(e,t){Nn(t=t||{}).remove(Rn(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function Nn(e){return"localStorage"===(e=e||{}).persistenceType?cn.localStorage:cn.cookie}function Rn(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function Bn(e,t){return Nn(t).get(Rn(e,t))}function Mn(e,t,n){cn.isString(t)&&t.length?(Nn(n=n||{}).set(Rn(t,n),e?1:0,cn.isNumber(n.cookieExpiration)?n.cookieExpiration:null,!!n.crossSubdomainCookie,!!n.secureCookie,!!n.crossSiteCookie,n.cookieDomain),n.track&&e&&n.track(n.trackEventName||"$opt_in",n.trackProperties,{send_immediately:!0})):dn.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function Ln(e,t){return function(){var n=!1;try{var r=t.call(this,"token"),a=t.call(this,"ignore_dnt"),o=t.call(this,"opt_out_tracking_persistence_type"),i=t.call(this,"opt_out_tracking_cookie_prefix"),s=t.call(this,"window");r&&(n=In(r,{ignoreDnt:a,persistenceType:o,persistencePrefix:i,window:s}))}catch(Aa){dn.error("Unexpected error when checking tracking opt-out status: "+Aa)}if(!n)return e.apply(this,arguments);var u=arguments[arguments.length-1];"function"==typeof u&&u(0)}}var zn=fn("lock"),$n=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||window.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||It};$n.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(cn.bind((function(n,r){var a=t||(new Date).getTime()+"|"+Math.random(),o=(new Date).getTime(),i=this.storageKey,s=this.pollIntervalMS,u=this.timeoutMS,l=this.storage,c=i+":X",d=i+":Y",p=i+":Z",f=function(e){if((new Date).getTime()-o>u)return zn.error("Timeout waiting for mutex on "+i+"; clearing lock. ["+a+"]"),l.removeItem(p),l.removeItem(d),void g();setTimeout((function(){try{e()}catch(Aa){r(Aa)}}),s*(Math.random()+.1))},h=function(e,t){e()?t():f((function(){h(e,t)}))},m=function(){var e=l.getItem(d);return(!e||e===a)&&(l.setItem(d,a),l.getItem(d)===a||(vn(l,!0)||r(new Error("localStorage support dropped while acquiring lock")),!1))}
2,g=function(){l.setItem(c,a),h(m,(function(){l.getItem(c)!==a?f((function(){l.getItem(d)===a?h((function(){return!l.getItem(p)}),v):g()})):v()}))},v=function(){l.setItem(p,"1");var t=function(){l.removeItem(p),l.getItem(d)===a&&l.removeItem(d),l.getItem(c)===a&&l.removeItem(c)};e().then((function(e){t(),n(e)})).catch((function(e){t(),r(e)}))};try{if(!vn(l,!0))throw new Error("localStorage support check failed");g()}catch(Aa){r(Aa)}}),this))};var qn=function(e){this.storage=e||localStorage};qn.prototype.init=function(){return It.resolve()},qn.prototype.setItem=function(e,t){return new It(cn.bind((function(n,r){try{this.storage.setItem(e,t)}catch(a){r(a)}n()}),this))},qn.prototype.getItem=function(e){return new It(cn.bind((function(t,n){var r;try{r=this.storage.getItem(e)}catch(a){n(a)}t(r)}),this))},qn.prototype.removeItem=function(e){return new It(cn.bind((function(t,n){try{this.storage.removeItem(e)}catch(r){n(r)}t()}),this))};var Un=fn("batch"),Zn=function(e,t){t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new qn,this.lock=new $n(e,{storage:t.sharedLockStorage||window.localStorage}),this.queueStorage.init()),this.reportError=t.errorReporter||cn.bind(Un.error,Un),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1};Zn.prototype.ensureInit=function(){return this.initialized?It.resolve():this.queueStorage.init().then(cn.bind((function(){this.initialized=!0}),this)).catch(cn.bind((function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1}),this))},Zn.prototype.enqueue=function(e,t){var n={id:kn(),flushAfter:(new Date).getTime()+2*t,payload:e};if(this.usePersistence){var r=cn.bind((function(){return this.ensureInit().then(cn.bind((function(){return this.readFromStorage()}),this)).then(cn.bind((function(e){return e.push(n),this.saveToStorage(e)}),this)).then(cn.bind((function(e){return e&&this.memQueue.push(n),e}),this)).catch(cn.bind((function(t){return this.reportError("Error enqueueing item",t,e),!1}),this))}),this);return this.lock.withLock(r,this.pid).catch(cn.bind((function(e){return this.reportError("Error acquiring storage lock",e),!1}),this))}return this.memQueue.push(n),It.resolve(!0)},Zn.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(cn.bind((function(){return this.readFromStorage()}),this)).then(cn.bind((function(n){if(n.length){var r={};cn.each(t,(function(e){r[e.id]=!0}));for(var a=0;a<n.length;a++){var o=n[a];if((new Date).getTime()>o.flushAfter&&!r[o.id]&&(o.orphaned=!0,t.push(o),t.length>=e))break}}return t}),this)):It.resolve(t)};var Hn=function(e,t){var n=[];return cn.each(e,(function(e){e.id&&!t[e.id]&&n.push(e)})),n};Zn.prototype.removeItemsByID=function(e){var t={};if(cn.each(e,(function(e){t[e]=!0})),this.memQueue=Hn(this.memQueue,t),this.usePersistence){var n=cn.bind((function(){return this.ensureInit().then(cn.bind((function(){return this.readFromStorage()}),this)).then(cn.bind((function(e){return e=Hn(e,t),this.saveToStorage(e)}),this)).then(cn.bind((function(){return this.readFromStorage()}),this)).then(cn.bind((function(e){for(var n=0;n<e.length;n++){var r=e[n];if(r.id&&t[r.id])throw new Error("Item not removed from storage")}return!0}),this)).catch(cn.bind((function(t){return this.reportError("Error removing items",t,e),!1}),this))}),this);return this.lock.withLock(n,this.pid).catch(cn.bind((function(e){return this.reportError("Error acquiring storage lock",e),!vn(this.queueStorage.storage,!0)&&n().then(cn.bind((function(e){return e||this.queueStorage.removeItem(this.storageKey).then((function(){return e}))}),this)).catch(cn.bind((function(e){return this.reportError("Error clearing queue",e),!1}),this))}),this))}return It.resolve(!0)};var Vn=function(e,t){var n=[];return cn.each(e,(function(e){var r=e.id;if(r in t){var a=t[r];null!==a&&(e.payload=a,n.push(e))}else n.push(e)})),n};Zn.prototype.updatePayloads=function(e){return this.memQueue=Vn(this.memQueue,e),this.usePersistence?this.lock.withLock(cn.bind((function(){return this.ensureInit().then(cn.bind((function(){return this.readFromStorage()}),this)).then(cn.bind((function(t){return t=Vn(t,e),this.saveToStorage(t)}
2),this)).catch(cn.bind((function(t){return this.reportError("Error updating items",e,t),!1}),this))}),this),this.pid).catch(cn.bind((function(e){return this.reportError("Error acquiring storage lock",e),!1}),this)):It.resolve(!0)},Zn.prototype.readFromStorage=function(){return this.ensureInit().then(cn.bind((function(){return this.queueStorage.getItem(this.storageKey)}),this)).then(cn.bind((function(e){return e&&(e=Sn(e),cn.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]}),this)).catch(cn.bind((function(e){return this.reportError("Error retrieving queue",e),[]}),this))},Zn.prototype.saveToStorage=function(e){try{var t=Cn(e)}catch(Aa){return this.reportError("Error serializing queue",Aa),It.resolve(!1)}return this.ensureInit().then(cn.bind((function(){return this.queueStorage.setItem(this.storageKey,t)}),this)).then((function(){return!0})).catch(cn.bind((function(e){return this.reportError("Error saving queue",e),!1}),this))},Zn.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(cn.bind((function(){return this.queueStorage.removeItem(this.storageKey)}),this)):It.resolve()};var Wn=fn("batch"),Gn=function(e,t){this.errorReporter=t.errorReporter,this.queue=new Zn(e,{errorReporter:cn.bind(this.reportError,this),queueStorage:t.queueStorage,sharedLockStorage:t.sharedLockStorage,usePersistence:t.usePersistence}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=t.flushOnlyOnInterval||!1};Gn.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},Gn.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Gn.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Gn.prototype.clear=function(){return this.queue.clear()},Gn.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Gn.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Gn.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(cn.bind((function(){this.stopped||this.flush()}),this),this.flushInterval))},Gn.prototype.sendRequestPromise=function(e,t){return new It(cn.bind((function(n){this.sendRequest(e,t,n)}),this))},Gn.prototype.flush=function(e){if(this.requestInProgress)return Wn.log("Flush: Request already in progress"),It.resolve();this.requestInProgress=!0,e=e||{};var t=this.libConfig.batch_request_timeout_ms,n=(new Date).getTime(),r=this.batchSize;return this.queue.fillBatch(r).then(cn.bind((function(a){var o=a.length===r,i=[],s={};if(cn.each(a,(function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=cn.extend({},t.properties,{mp_sent_by_lib_version:pt.LIB_VERSION}));var n=!0,r=e.id;r?(this.itemIdsSentSuccessfully[r]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:a.length,timesSent:this.itemIdsSentSuccessfully[r]}),n=!1):this.reportError("[dupe] found item with no ID",{item:e}),n&&i.push(t)}s[e.id]=t}),this),i.length<1)return this.requestInProgress=!1,this.resetFlush(),It.resolve();var u=cn.bind((function(){return this.queue.removeItemsByID(cn.map(a,(function(e){return e.id}))).then(cn.bind((function(e){return cn.each(a,cn.bind((function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError("[dupe] item ID sent too many times",{item:e,batchSize:a.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError("[dupe] found item with no ID while removing",{item:e})}),this)),e?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!o?(this.resetFlush(),It.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),It.resolve())}),this))}),this),l=cn.bind((function(o){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(s);if(cn.isObject(o)&&"timeout"===o.error&&(new Date).getTime()-n>=t)return this.reportError("Network timeout; retrying"),this.flush();if(cn.isObject(o)&&(o.httpStatusCode>=500||429===o.httpStatusCode||o.httpStatusCode<=0&&(c=lt.navigator.onLine,!cn.isUndefined(c)&&
2!c)||"timeout"===o.error)){var i=2*this.flushInterval;return o.retryAfter&&(i=1e3*parseInt(o.retryAfter,10)||i),i=Math.min(6e5,i),this.reportError("Error; retry in "+i+" ms"),this.scheduleFlush(i),It.resolve()}if(cn.isObject(o)&&413===o.httpStatusCode){if(a.length>1){var l=Math.max(1,Math.floor(r/2));return this.batchSize=Math.min(this.batchSize,l,a.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),It.resolve()}return this.reportError("Single-event request too large; dropping",a),this.resetBatchSize(),u()}return u()}catch(Aa){this.reportError("Error handling API response",Aa),this.resetFlush()}var c}),this),c={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(c.transport="sendBeacon"),Wn.log("MIXPANEL REQUEST:",i),this.sendRequestPromise(i,c).then(l)}),this)).catch(cn.bind((function(e){this.reportError("Error flushing request queue",e),this.resetFlush()}),this))},Gn.prototype.reportError=function(e,t){if(Wn.error.apply(Wn.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){Wn.error(t)}};var Kn=fn("recorder"),Qn=lt.CompressionStream,Jn={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},Yn=new Set([dt.MouseMove,dt.MouseInteraction,dt.Scroll,dt.ViewportResize,dt.Input,dt.TouchMove,dt.MediaInteraction,dt.Drag,dt.Selection]);var Xn=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout,this._onMaxLengthReached=e.onMaxLengthReached,this._rrwebRecord=e.rrwebRecord,this.replayId=e.replayId,this._stopRecording=null,this.seqNo=0,this.replayStartTime=null,this.replayStartUrl=null,this.batchStartUrl=null,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Ut,this.recordMinMs=0;var t="__mprec_"+this.getConfig("token")+"_"+this.replayId;this.batcher=new Gn(t,{errorReporter:cn.bind(this.reportError,this),flushOnlyOnInterval:!0,libConfig:Jn,sendRequestFunc:cn.bind(this.flushEventsWithOptOut,this),usePersistence:!1})};Xn.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},Xn.prototype.get_config=function(e){return this.getConfig(e)},Xn.prototype.startRecording=function(e){if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Ut&&(this.recordMaxMs=Ut,Kn.critical("record_max_ms cannot be greater than "+Ut+"ms. Capping value.")),this.recordMinMs=this.getConfig("record_min_ms"),this.recordMinMs>Zt&&(this.recordMinMs=Zt,Kn.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.replayStartTime=(new Date).getTime(),this.batchStartUrl=cn.info.currentUrl(),this.replayStartUrl=cn.info.currentUrl(),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var t=cn.bind((function(){clearTimeout(this.idleTimeoutId),this.idleTimeoutId=setTimeout(this._onIdleTimeout,this.getConfig("record_idle_timeout_ms"))}),this),n=this.getConfig("record_block_selector");if(""!==n&&null!==n||(n=void 0),this._stopRecording=this._rrwebRecord({emit:cn.bind((function(e){this.batcher.enqueue(e),function(e){return e.type===ct.IncrementalSnapshot&&Yn.has(e.data.source)}(e)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),t())}),this),blockClass:this.getConfig("record_block_class"),blockSelector:n,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig("record_mask_text_class"),maskTextSelector:this.getConfig("record_mask_text_selector"),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15}}),"function"!=typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();t(),this.maxTimeoutId=setTimeout(cn.bind(this._onMaxLengthReached,this),this.recordMaxMs)}else Kn.log("Recording already in progress, skipping startRecording.")},Xn.prototype.stopRecording=function(){if(!this.isRrwebStopped()){try{this._stopRecording()}catch(Aa){this.reportError("Error with rrweb stopRecording",Aa)}this._stopRecording=null}this.batcher.stopped?this.batcher.clear():(this.batcher.flush(),this.batcher.stop()),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId)},Xn.prototype.isRrwebStopped=function(){return null===this._stopRecording},Xn.prototype.flushEventsWithOptOut=function(e,t,n){this._flushEvents(e,t,n,cn.bind(this._onOptOut,this))},Xn.prototype._onOptOut=function(e){0===e&&this.stopRecording()},Xn.prototype._sendRequest=function(e,t,n,r){var a=cn.bind((function(t,n){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=cn.info.currentUrl()),r({status:0,httpStatusCode:t.status,responseBody:n,retryAfter:t.headers.get("Retry-After")})}),this);lt.fetch(this.getConfig("api_host")+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(t),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:n}).then((function(e){e.json().then((function(t){a(e,t)})).catch((function(e){r({error:e})}))})).catch((function(e){r({error:e,httpStatusCode:0})}))},Xn.prototype._flushEvents=Tn((function(e,t,n){const r=e.length;if(r>0){var a=this.replayId,o=e[0].timestamp;0!==this.seqNo&&this.replayStartTime||(0!==this.seqNo&&this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=o);var i=e[r-1].timestamp-this.replayStartTime,s={$current_url:this.batchStartUrl,$lib_version:pt.LIB_VERSION,batch_start_time:o/1e3,distinct_id:String(this._mixpanel.get_distinct_id()),mp_lib:"web",replay_id:a,replay_length_ms:i,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},u=cn.JSONEncode(e),l=this._mixpanel.get_property("$device_id");l&&(s.$device_id=l);var c=this._mixpanel.get_property("$user_id");if(c&&(s.$user_id=c),Qn){var d=new Blob([u],{type:"application/json"}
2).stream().pipeThrough(new Qn("gzip"));new Response(d).blob().then(cn.bind((function(e){s.format="gzip",this._sendRequest(a,s,e,n)}),this))}else s.format="body",this._sendRequest(a,s,u,n)}})),Xn.prototype.reportError=function(e,t){Kn.error.apply(Kn.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){Kn.error(t)}};var er=fn("recorder"),tr=function(e){this._mixpanel=e,this.activeRecording=null};tr.prototype.startRecording=function(e){if(!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=cn.bind((function(){er.log("Idle timeout reached, restarting recording."),this.resetRecording()}),this),n=cn.bind((function(){er.log("Max recording length reached, stopping recording."),this.resetRecording()}),this);this.activeRecording=new Xn({mixpanelInstance:this._mixpanel,onIdleTimeout:t,onMaxLengthReached:n,replayId:cn.UUID(),rrwebRecord:ut}),this.activeRecording.startRecording(e)}else er.log("Recording already in progress, skipping startRecording.")},tr.prototype.stopRecording=function(){this.activeRecording&&(this.activeRecording.stopRecording(),this.activeRecording=null)},tr.prototype.resetRecording=function(){this.stopRecording(),this.startRecording(!0)},tr.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null},Object.defineProperty(tr.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),lt.__mp_recorder=tr;var nr="change",rr="click",ar="hashchange",or="mp_locationchange",ir="popstate",sr="scrollend",ur="submit",lr=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],cr=["mp-include"],dr=["mp-no-track"],pr=dr.concat(["mp-sensitive"]),fr=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],hr=fn("autocapture");function mr(e){for(var t={},n=gr(e).split(" "),r=0;r<n.length;r++){var a=n[r];a&&(t[a]=!0)}return t}function gr(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function vr(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!kr(e));return e}function yr(e){var t={$classes:gr(e).split(" "),$tag_name:e.tagName.toLowerCase()},n=e.id;n&&(t.$id=n),Er(e)&&cn.each(fr,(function(n){if(e.hasAttribute(n)){var r=e.getAttribute(n);Cr(r)&&(t["$attr-"+n]=r)}}));for(var r=1,a=1,o=e;o=vr(o);)r++,o.tagName===e.tagName&&a++;return t.$nth_child=r,t.$nth_of_type=a,t}function br(e,t,n){t=t||[];var r=null,a=void 0===e.target?e.srcElement:e.target;if(_r(a)&&(a=a.parentNode),function(e,t){if(!e||wr(e,"html")||!kr(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===ur;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===nr:t.type===rr;case"select":case"textarea":return t.type===nr;default:return t.type===rr}}(a,e)){for(var o=[a],i=a;i.parentNode&&!wr(i,"body");)o.push(i.parentNode),i=i.parentNode;var s,u=[],l=!1;if(cn.each(o,(function(e){var n=Er(e);"a"===e.tagName.toLowerCase()&&(s=e.getAttribute("href"),s=n&&Cr(s)&&s);var r=mr(e);cn.each(dr,(function(e){r[e]&&(l=!0)})),l||cn.each(t,(function(t){try{e.matches(t)&&(l=!0)}catch(Aa){hr.critical("Error while checking selector: "+t,Aa)}})),u.push(yr(e))}),this),!l){var c=Xt.documentElement;if(r={$event_type:e.type,$host:lt.location.host,$pathname:lt.location.pathname,$elements:u,$el_attr__href:s,$viewportHeight:Math.max(c.clientHeight,lt.innerHeight||0),$viewportWidth:Math.max(c.clientWidth,lt.innerWidth||0)},n&&(d=Dr(a))&&d.length&&(r.$el_text=d),e.type===rr&&(cn.each(lr,(function(t){t in e&&(r["$"+t]=e[t])})),a=function(e){for(var t=e.target,n=e.composedPath(),r=0;r<n.length;r++){var a=n[r];if(wr(a,"a")||wr(a,"button")||wr(a,"input")||wr(a,"select")||a.getAttribute&&"button"===a.getAttribute("role")){t=a;break}if(a===t)break}return t}(e)),n){var d=Dr(a);d&&d.length&&(r.$el_text=d)}if(a){var p=yr(a);r.$target=p,r.$el_classes=p.$classes,cn.extend(r,cn.strip_empty_properties({$el_id:p.$id,$el_tag_name:p.$tag_name}))}}}return r}function Dr(e){var t="";return Er(e)&&e.childNodes&&e.childNodes.length&&cn.each(e.childNodes,(function(e){_r(e)&&e.textContent&&(t+=cn.trim(e.textContent).split(/(\s+)/).filter(Cr).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))})),cn.trim(t)}function kr(e){return e&&1===e.nodeType}function wr(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}
2function _r(e){return e&&3===e.nodeType}function Er(e){for(var t,n=e;n.parentNode&&!wr(n,"body");n=n.parentNode){var r=mr(n);for(t=0;t<pr.length;t++)if(r[pr[t]])return!1}var a=mr(e);for(t=0;t<cr.length;t++)if(a[cr[t]])return!0;if(wr(e,"input")||wr(e,"select")||wr(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var o=e.type||"";if("string"==typeof o)switch(o.toLowerCase()){case"hidden":case"password":return!1}var i=e.name||e.id||"";if("string"==typeof i){if(/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,"")))return!1}return!0}function Cr(e){if(null===e||cn.isUndefined(e))return!1;if("string"==typeof e){e=cn.trim(e);if(/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0}var Sr="autocapture",Fr="full-url",xr="capture_text_content",Ar="click",Ir="input",Tr="pageview",Or="scroll",jr="submit",Pr={};Pr[xr]=!1,Pr[Ar]=!0,Pr[Ir]=!0,Pr[Tr]=Fr,Pr[Or]=!0,Pr[jr]=!0;var Nr={$mp_autocapture:!0},Rr=function(e){this.mp=e};Rr.prototype.init=function(){!function(){try{return!!Xt.createElement("div").matches}catch(Aa){return!1}}()?hr.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageviewTracking(),this.initClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking())},Rr.prototype.getFullConfig=function(){var e=this.mp.get_config(Sr);return e?cn.isObject(e)?cn.extend({},Pr,e):Pr:{}},Rr.prototype.getConfig=function(e){return this.getFullConfig()[e]},Rr.prototype.currentUrlBlocked=function(){var e=this.getConfig("block_url_regexes")||[];if(!e||!e.length)return!1;for(var t=cn.info.currentUrl(),n=0;n<e.length;n++)try{if(t.match(e[n]))return!0}catch(Aa){return hr.critical("Error while checking block URL regex: "+e[n],Aa),!0}return!1},Rr.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Sr)?this.getConfig(Tr):this.mp.get_config("track_pageview")},Rr.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var n=br(e,this.getConfig("block_selectors"),this.getConfig(xr));n&&(cn.extend(n,Nr),this.mp.track(t,n))}},Rr.prototype.initClickTracking=function(){lt.removeEventListener(rr,this.listenerClick),this.getConfig(Ar)&&(hr.log("Initializing click tracking"),this.listenerClick=lt.addEventListener(rr,function(e){this.getConfig(Ar)&&this.trackDomEvent(e,"$mp_click")}.bind(this)))},Rr.prototype.initInputTracking=function(){lt.removeEventListener(nr,this.listenerChange),this.getConfig(Ir)&&(hr.log("Initializing input tracking"),this.listenerChange=lt.addEventListener(nr,function(e){this.getConfig(Ir)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this)))},Rr.prototype.initPageviewTracking=function(){if(lt.removeEventListener(ir,this.listenerPopstate),lt.removeEventListener(ar,this.listenerHashchange),lt.removeEventListener(or,this.listenerLocationchange),this.pageviewTrackingConfig()){hr.log("Initializing pageview tracking");var e="",t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(Nr)),t&&(e=cn.info.currentUrl()),this.listenerPopstate=lt.addEventListener(ir,(function(){lt.dispatchEvent(new Event(or))})),this.listenerHashchange=lt.addEventListener(ar,(function(){lt.dispatchEvent(new Event(or))}));var n=lt.history.pushState;"function"==typeof n&&(lt.history.pushState=function(e,t,r){n.call(lt.history,e,t,r),lt.dispatchEvent(new Event(or))});var r=lt.history.replaceState;"function"==typeof r&&(lt.history.replaceState=function(e,t,n){r.call(lt.history,e,t,n),lt.dispatchEvent(new Event(or))}),this.listenerLocationchange=lt.addEventListener(or,hn(function(){if(!this.currentUrlBlocked()){var t=cn.info.currentUrl(),n=!1,r=this.pageviewTrackingConfig();if(r===Fr?n=t!==e:"url-with-path-and-query-string"===r?n=t.split("#")[0]!==e.split("#")[0]:"url-with-path"===r&&(n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0]),n)this.mp.track_pageview(Nr)&&(e=t)}}.bind(this)))}},Rr.prototype.initScrollTracking=function(){lt.removeEventListener(sr,this.listenerScroll),this.getConfig(Or)&&(hr.log("Initializing scroll tracking"),this.listenerScroll=lt.addEventListener(sr,hn(function(){if(this.getConfig(Or)&&!this.currentUrlBlocked()){var e=lt.scrollY,t=cn.extend({$
2scroll_top:e},Nr);try{var n=Xt.body.scrollHeight,r=Math.round(e/(n-lt.innerHeight)*100);t.$scroll_height=n,t.$scroll_percentage=r}catch(Aa){hr.critical("Error while calculating scroll percentage",Aa)}this.mp.track("$mp_scroll",t)}}.bind(this))))},Rr.prototype.initSubmitTracking=function(){lt.removeEventListener(ur,this.listenerSubmit),this.getConfig(jr)&&(hr.log("Initializing submit tracking"),this.listenerSubmit=lt.addEventListener(ur,function(e){this.getConfig(jr)&&this.trackDomEvent(e,"$mp_submit")}.bind(this)))},function(e){var t=e.prototype;for(var n in t)"function"==typeof t[n]&&(t[n]=hn(t[n]))}(Rr);var Br=function(){};Br.prototype.create_properties=function(){},Br.prototype.event_handler=function(){},Br.prototype.after_track_handler=function(){},Br.prototype.init=function(e){return this.mp=e,this},Br.prototype.track=function(e,t,n,r){var a=this,o=cn.dom_query(e);if(0!==o.length)return cn.each(o,(function(e){cn.register_event(e,this.override_event,(function(e){var o={},i=a.create_properties(n,this),s=a.mp.get_config("track_links_timeout");a.event_handler(e,this,o),window.setTimeout(a.track_callback(r,i,o,!0),s),a.mp.track(t,i,a.track_callback(r,i,o))}))}),this),!0;dn.error("The DOM query ("+e+") returned 0 elements")},Br.prototype.track_callback=function(e,t,n,r){r=r||!1;var a=this;return function(){n.callback_fired||(n.callback_fired=!0,e&&!1===e(r,t)||a.after_track_handler(t,n,r))}},Br.prototype.create_properties=function(e,t){return"function"==typeof e?e(t):cn.extend({},e)};var Mr=function(){this.override_event="click"};cn.inherit(Mr,Br),Mr.prototype.create_properties=function(e,t){var n=Mr.superclass.create_properties.apply(this,arguments);return t.href&&(n.url=t.href),n},Mr.prototype.event_handler=function(e,t,n){n.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,n.href=t.href,n.new_tab||e.preventDefault()},Mr.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout((function(){window.location=t.href}),0)};var Lr=function(){this.override_event="submit"};cn.inherit(Lr,Br),Lr.prototype.event_handler=function(e,t,n){n.element=t,e.preventDefault()},Lr.prototype.after_track_handler=function(e,t){setTimeout((function(){t.element.submit()}),0)};var zr="$set",$r="$set_once",qr="$unset",Ur="$add",Zr="$append",Hr="$union",Vr="$remove",Wr={set_action:function(e,t){var n={},r={};return cn.isObject(e)?cn.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=e)}),this):r[e]=t,n[zr]=r,n},unset_action:function(e){var t={},n=[];return cn.isArray(e)||(e=[e]),cn.each(e,(function(e){this._is_reserved_property(e)||n.push(e)}),this),t[qr]=n,t},set_once_action:function(e,t){var n={},r={};return cn.isObject(e)?cn.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=e)}),this):r[e]=t,n[$r]=r,n},union_action:function(e,t){var n={},r={};return cn.isObject(e)?cn.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=cn.isArray(e)?e:[e])}),this):r[e]=cn.isArray(t)?t:[t],n[Hr]=r,n},append_action:function(e,t){var n={},r={};return cn.isObject(e)?cn.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=e)}),this):r[e]=t,n[Zr]=r,n},remove_action:function(e,t){var n={},r={};return cn.isObject(e)?cn.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=e)}),this):r[e]=t,n[Vr]=r,n},delete_action:function(){var e={$delete:""};return e}},Gr=function(){};cn.extend(Gr.prototype,Wr),Gr.prototype._init=function(e,t,n){this._mixpanel=e,this._group_key=t,this._group_id=n},Gr.prototype.set=jn((function(e,t,n){var r=this.set_action(e,t);return cn.isObject(e)&&(n=t),this._send_request(r,n)})),Gr.prototype.set_once=jn((function(e,t,n){var r=this.set_once_action(e,t);return cn.isObject(e)&&(n=t),this._send_request(r,n)})),Gr.prototype.unset=jn((function(e,t){var n=this.unset_action(e);return this._send_request(n,t)})),Gr.prototype.union=jn((function(e,t,n){cn.isObject(e)&&(n=t);var r=this.union_action(e,t);return this._send_request(r,n)})),Gr.prototype.delete=jn((function(e){var t=this.delete_action();return this._send_request(t,e)})),Gr.prototype.remove=jn((function(e,t,n){var r=this.remove_action(e,t);
vendor: 10,652 bytes, line 2
2return this._send_request(r,n)})),Gr.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var n=cn.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:n,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},Gr.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},Gr.prototype._get_config=function(e){return this._mixpanel.get_config(e)},Gr.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},Gr.prototype.remove=Gr.prototype.remove,Gr.prototype.set=Gr.prototype.set,Gr.prototype.set_once=Gr.prototype.set_once,Gr.prototype.union=Gr.prototype.union,Gr.prototype.unset=Gr.prototype.unset,Gr.prototype.toString=Gr.prototype.toString;var Kr=function(){};cn.extend(Kr.prototype,Wr),Kr.prototype._init=function(e){this._mixpanel=e},Kr.prototype.set=On((function(e,t,n){var r=this.set_action(e,t);return cn.isObject(e)&&(n=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),r[zr]=cn.extend({},cn.info.people_properties(),r[zr]),this._send_request(r,n)})),Kr.prototype.set_once=On((function(e,t,n){var r=this.set_once_action(e,t);return cn.isObject(e)&&(n=t),this._send_request(r,n)})),Kr.prototype.unset=On((function(e,t){var n=this.unset_action(e);return this._send_request(n,t)})),Kr.prototype.increment=On((function(e,t,n){var r={},a={};return cn.isObject(e)?(cn.each(e,(function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void dn.error("Invalid increment value passed to mixpanel.people.increment - must be a number");a[t]=e}}),this),n=t):(cn.isUndefined(t)&&(t=1),a[e]=t),r[Ur]=a,this._send_request(r,n)})),Kr.prototype.append=On((function(e,t,n){cn.isObject(e)&&(n=t);var r=this.append_action(e,t);return this._send_request(r,n)})),Kr.prototype.remove=On((function(e,t,n){cn.isObject(e)&&(n=t);var r=this.remove_action(e,t);return this._send_request(r,n)})),Kr.prototype.union=On((function(e,t,n){cn.isObject(e)&&(n=t);var r=this.union_action(e,t);return this._send_request(r,n)})),Kr.prototype.track_charge=On((function(e,t,n){if(cn.isNumber(e)||(e=parseFloat(e),!isNaN(e)))return this.append("$transactions",cn.extend({$amount:e},t),n);dn.error("Invalid value passed to mixpanel.people.track_charge - must be a number")})),Kr.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},Kr.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}dn.error("mixpanel.people.delete_user() requires you to call identify() first")},Kr.prototype.toString=function(){return this._mixpanel.toString()+".people"},Kr.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var n=this._mixpanel.get_property("$device_id"),r=this._mixpanel.get_property("$user_id"),a=this._mixpanel.get_property("$had_persisted_distinct_id");n&&(e.$device_id=n),r&&(e.$user_id=r),a&&(e.$had_persisted_distinct_id=a);var o=cn.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),cn.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),cn.truncate(o,255))},Kr.prototype._get_config=function(e){return this._mixpanel.get_config(e)},Kr.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},Kr.prototype._enqueue=function(e){zr in e?this._mixpanel.persistence._add_to_people_queue(zr,e):$r in e?this._mixpanel.persistence._add_to_people_queue($r,e):qr in e?this._mixpanel.persistence._add_to_people_queue(qr,e):Ur in e?this._mixpanel.persistence._add_to_people_queue(Ur,e):Zr in e?this._mixpanel.persistence._add_to_people_queue(Zr,e):Vr in e?this._mixpanel.persistence._add_to_people_queue(Vr,e):Hr in e?this._mixpanel.persistence._add_to_people_queue(Hr,e):dn.error("Invalid call to _enqueue():",e)},Kr.prototype._flush_one_queue=function(e,t,n,r){var a=this,o=cn.extend({},this._mixpanel.persistence.load_queue(e)),i=o;cn.isUndefined(o)||!cn.isObject(o)||cn.isEmptyObject(o)||(a._mixpanel.persistence._pop_from_people_queue(e,o),a._mixpanel.persistence.save(),r&&(i=r(o)),t.call(a,i,(function(t,r){0===t&&a._mixpanel.persistence._add_to_people_queue(e,o),cn.isUndefined(n)||n(t,r)})))},Kr.prototype._flush=function(e,t,n,r,a,o,i){var s=this;this._flush_one_queue(zr,this.set,e),this._flush_one_queue($r,this.set_once,r),this._flush_one_queue(qr,this.unset,o,(function(e){return cn.keys(e)})),this._flush_one_queue(Ur,this.increment,t),this._flush_one_queue(Hr,this.union,a);var u=this._mixpanel.persistence.load_queue(Zr);if(!cn.isUndefined(u)&&cn.isArray(u)&&u.length)for(var l,c=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(Zr,l),cn.isUndefined(n)||n(e,t)},d=u.length-1;d>=0;d--)u=this._mixpanel.persistence.load_queue(Zr),l=u.pop(),s._mixpanel.persistence.save(),cn.isEmptyObject(l)||s.append(l,c);var p=this._mixpanel.persistence.load_queue(Vr);if(!cn.isUndefined(p)&&cn.isArray(p)&&p.length)for(var f,h=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(Vr,f),cn.isUndefined(i)||i(e,t)},m=p.length-1;m>=0;m--)p=this._mixpanel.persistence.load_queue(Vr),f=p.pop(),s._mixpanel.persistence.save(),cn.isEmptyObject(f)||s.remove(f,h)},Kr.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},Kr.prototype.set=Kr.prototype.set,Kr.prototype.set_once=Kr.prototype.set_once,Kr.prototype.unset=Kr.prototype.unset,Kr.prototype.increment=Kr.prototype.increment,Kr.prototype.append=Kr.prototype.append,Kr.prototype.remove=Kr.prototype.remove,Kr.prototype.union=Kr.prototype.union,Kr.prototype.track_charge=Kr.prototype.track_charge,Kr.prototype.clear_charges=Kr.prototype.clear_charges,Kr.prototype.delete_user=Kr.prototype.delete_user,Kr.prototype.toString=Kr.prototype.toString;var Qr,Jr="__mps",Yr="__mpso",Xr="__mpus",ea="__mpa",ta="__mpap",na="__mpr",ra="__mpu",aa="$people_distinct_id",oa="__alias",ia="__timers",sa=[Jr,Yr,Xr,ea,ta,na,ra,aa,oa,ia],ua=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;"cookie"!==t&&"localStorage"!==t&&(dn.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&cn.localStorage.is_supported()?this.storage=cn.localStorage:this.storage=cn.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};ua.prototype.properties=function(){var e={};return this.load(),cn.each(this.props,(function(t,n){cn.include(sa,n)||(e[n]=t)})),e},ua.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=cn.extend({},e))}},ua.prototype.upgrade=function(){var e,t;this.storage===cn.localStorage?(e=cn.cookie.parse(this.name),cn.cookie.remove(this.name),cn.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===cn.cookie&&(t=cn.localStorage.parse(this.name),cn.localStorage.remove(this.name),t&&this.register_once(t))},ua.prototype.save=function(){this.disabled||this.storage.set(this.name,cn.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},ua.prototype.load_prop=function(e){return this.load(),this.props[e]},ua.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},ua.prototype.clear=function(){this.remove(),this.props={}},ua.prototype.register_once=function(e,t,n){return!!cn.isObject(e)&&(void 0===t&&(t="None"),this.expire_days=void 0===n?this.default_expiry:n,this.load(),cn.each(e,(function(e,n){this.props.hasOwnProperty(n)&&this.props[n]!==t||(this.props[n]=e)}),this),this.save(),!0)},ua.prototype.register=function(e,t){return!!cn.isObject(e)&&(this.expire_days=void 0===t?this.default_expiry:t,this.load(),cn.extend(this.props,e),this.save(),!0)},ua.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},ua.prototype.update_search_keyword=function(e){this.register(cn.info.searchInfo(e))},ua.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:cn.info.referringDomain(e)||"$direct"},"")},ua.prototype.get_referrer_info=function(){return cn.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},ua.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},ua.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},ua.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},ua.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},ua.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},ua.prototype.get_cross_subdomain=function(){return this.cross_subdomain},ua.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},ua.prototype._add_to_people_queue=function(e,t){var n=this._get_queue_key(e),r=t[e],a=this._get_or_create_queue(zr),o=this._get_or_create_queue($r),i=this._get_or_create_queue(qr),s=this._get_or_create_queue(Ur),u=this._get_or_create_queue(Hr),l=this._get_or_create_queue(Vr,[]),c=this._get_or_create_queue(Zr,[]);n===Jr?(cn.extend(a,r),this._pop_from_people_queue(Ur,r),this._pop_from_people_queue(Hr,r),this._pop_from_people_queue(qr,r)):n===Yr?(cn.each(r,(function(e,t){t in o||(o[t]=e)})),this._pop_from_people_queue(qr,r)):n===Xr?cn.each(r,(function(e){cn.each([a,o,s,u],(function(t){e in t&&delete t[e]})),cn.each(c,(function(t){e in t&&delete t[e]})),i[e]=!0})):n===ea?(cn.each(r,(function(e,t){t in a?a[t]+=e:(t in s||(s[t]=0),s[t]+=e)}),this),this._pop_from_people_queue(qr,r)):n===ra?(cn.each(r,(function(e,t){cn.isArray(e)&&(t in u||(u[t]=[]),u[t]=u[t].concat(e))}
2)),this._pop_from_people_queue(qr,r)):n===na?(l.push(r),this._pop_from_people_queue(Zr,r)):n===ta&&(c.push(r),this._pop_from_people_queue(qr,r)),dn.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),dn.log(t),this.save()},ua.prototype._pop_from_people_queue=function(e,t){var n=this.props[this._get_queue_key(e)];cn.isUndefined(n)||cn.each(t,(function(t,r){e===Zr||e===Vr?cn.each(n,(function(e){e[r]===t&&delete e[r]})):delete n[r]}),this)},ua.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},ua.prototype._get_queue_key=function(e){return e===zr?Jr:e===$r?Yr:e===qr?Xr:e===Ur?ea:e===Zr?ta:e===Vr?na:e===Hr?ra:void dn.error("Invalid queue:",e)},ua.prototype._get_or_create_queue=function(e,t){var n=this._get_queue_key(e);return t=cn.isUndefined(t)?{}:t,this.props[n]||(this.props[n]=t)},ua.prototype.set_event_timer=function(e,t){var n=this.load_prop(ia)||{};n[e]=t,this.props[ia]=n,this.save()},ua.prototype.remove_event_timer=function(e){var t=(this.load_prop(ia)||{})[e];return cn.isUndefined(t)||(delete this.props[ia][e],this.save()),t};var la,ca=function(e,t){throw new Error(e+" not available in this build.")},da=function(e){return e},pa=function(){},fa="mixpanel",ha="base64",ma="$device:",ga=lt.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,va=!ga&&-1===nn.indexOf("MSIE")&&-1===nn.indexOf("Mozilla"),ya=null;Yt.sendBeacon&&(ya=function(){return Yt.sendBeacon.apply(Yt,arguments)});var ba={track:"track/",engage:"engage/",groups:"groups/",record:"record/"},Da={api_host:"https://api-js.mixpanel.com",api_routes:ba,api_method:"POST",api_transport:"XHR",api_payload_format:ha,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:pa,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:pa,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video",record_canvas:!1,record_collect_fonts:!1,record_idle_timeout_ms:18e5,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:Ut,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},ka=!1,wa=function(){},_a=function(e,t,n){var r,a=n===fa?la:la[n];if(a&&0===Qr)r=a;else{if(a&&!cn.isArray(a))return void dn.error("You have already initialized "+n);r=new wa}if(r._cached_groups={},r._init(e,t,n),r.people=new Kr,r.people._init(r),!r.get_config("skip_first_touch_marketing")){var o=cn.info.campaignParams(null),i={},s=!1;cn.each(o,(function(e,t){i["initial_"+t]=e,e&&(s=!0)})),s&&r.people.set_once(i)}return pt.DEBUG=pt.DEBUG||r.get_config("debug"),!cn.isUndefined(a)&&cn.isArray(a)&&(r._execute_array.call(r.people,a.people),r._execute_array(a)),r};wa.prototype.init=function(e,t,n){if(cn.isUndefined(n))this.report_error("You must name your new library: init(token, config, name)");else{if(n!==fa){var r=_a(e,t,n);return la[n]=r,r._loaded(),r}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},wa.prototype._init=function(e,t,n){t=t||{},this.__loaded=!0,this.config={};var r={};"api_payload_format"in t||(t.api_host||Da.api_host).match(/\.mixpanel\.com/)&&(r.a
2pi_payload_format="json");if(this.set_config(cn.extend({},Da,r,t,{name:n,token:e,callback_fn:(n===fa?n:fa+"."+n)+"._jsc"})),this._jsc=pa,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(cn.localStorage.is_supported(!0)&&ga){if(this.init_batchers(),ya&&lt.addEventListener){var a=cn.bind((function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})}),this);lt.addEventListener("pagehide",(function(e){e.persisted&&a()})),lt.addEventListener("visibilitychange",(function(){"hidden"===Xt.visibilityState&&a()}))}}else this._batch_requests=!1,dn.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),cn.each(this.get_batcher_configs(),(function(e){dn.log("Clearing batch queue "+e.queue_key),cn.localStorage.remove(e.queue_key)}));this.persistence=this.cookie=new ua(this.config),this.unpersisted_superprops={},this._gdpr_init();var o=cn.UUID();this.get_distinct_id()||this.register_once({distinct_id:ma+o,$device_id:o},""),this.autocapture=new Rr(this),this.autocapture.init(),this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent")&&this.start_session_recording()},wa.prototype.start_session_recording=Tn((function(){if(lt.MutationObserver){var e=cn.bind((function(){this._recorder=this._recorder||new lt.__mp_recorder(this),this._recorder.startRecording()}),this);cn.isUndefined(lt.__mp_recorder)?ca(this.get_config("recorder_src"),e):e()}else dn.critical("Browser does not support MutationObserver; skipping session recording")})),wa.prototype.stop_session_recording=function(){this._recorder?this._recorder.stopRecording():dn.critical("Session recorder module not loaded")},wa.prototype.get_session_recording_properties=function(){var e={},t=this._get_session_replay_id();return t&&(e.$mp_replay_id=t),e},wa.prototype.get_session_replay_url=function(){var e=null,t=this._get_session_replay_id();t&&(e="https://mixpanel.com/projects/replay-redirect?"+cn.HTTPBuildQuery({replay_id:t,distinct_id:this.get_distinct_id(),token:this.get_config("token")}));return e},wa.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},wa.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=cn.info.campaignParams(null);cn.each(e,function(e,t){this.unregister(t)}.bind(this))}},wa.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(Xt.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(cn.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(Xt.referrer)},wa.prototype._dom_loaded=function(){cn.each(this.__dom_loaded_queue,(function(e){this._track_dom.apply(this,e)}),this),this.has_opted_out_tracking()||cn.each(this.__request_queue,(function(e){this._send_request.apply(this,e)}),this),delete this.__dom_loaded_queue,delete this.__request_queue},wa.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!ka)return this.__dom_loaded_queue.push([e,t]),!1;var n=(new e).init(this);return n.track.apply(n,t)},wa.prototype._prepare_callback=function(e,t){if(cn.isUndefined(e))return null;if(ga){return function(n){e(n,t)}}var n=this._jsc,r=""+Math.floor(1e8*Math.random()),a=this.get_config("callback_fn")+"["+r+"]";return n[r]=function(a){delete n[r],e(a,t)},a},wa.prototype._send_request=function(e,t,n,r){var a=!0;if(va)return this.__request_queue.push(arguments),a;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},i=null;r||!cn.isFunction(n)&&"string"!=typeof n||(r=n,n=null),n=cn.extend(o,n||{}),ga||(n.method="GET");var s="POST"===n.method,u=ya&&s&&"sendbeacon"===n.transport.toLowerCase(),l=n.verbose;t.verbose&&(l=!0),this.get_config("test")&&(t.test=1),l&&(t.verbose=1),this.get_config("img")&&(t.img=1),ga||(r?t.callback=r:(l||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=(new Date).getTime().toString(),s&&(i="data="+encodeURIComponent(t.data),delete t.data),e+="?"+cn.HTTPBuildQuery(t);var c=this;if("img"in t){var d=Xt.createElement("img");d.src=e,Xt.body.appendChild(d)}else if(u){try{a=ya(e,i)}catch(v){c.report_error(v),a=!1}try{r&&r(a?1:0)}catch(v){c.report_error(v)}}else if(ga)try{var p=new XMLHttpRequest;p.open(n.method,e,!0);var f=this.get_config("xhr_headers");if(s&&(f["Content-Type"]="application/x-www-form-urlencoded"),cn.each(f,(function(e,t){p.setRequestHeader(t,e)})),n.timeout_ms&&void 0!==p.timeout){p.timeout=n.timeout_ms;var h=(new Date).getTime()}p.withCredentials=!0,p.onreadystatechange=function(){var e;if(4===p.readyState)if(200===p.status){if(r)if(l){var t;try{t=cn.JSONDecode(p.responseText)}catch(v){if(c.report_error(v),!n.ignore_json_errors)return;t=p.responseText}r(t)}else r(Number(p.responseText))}else if(e=p.timeout&&!p.status&&(new Date).getTime()-h>=p.timeout?"timeout":"Bad HTTP status: "+p.status+" "+p.statusText,c.report_error(e),r)if(l){var a=p.responseHeaders||{};r({status:0,httpStatusCode:p.status,error:e,retryAfter:a["Retry-After"]})}else r(0)},p.send(i)}catch(v){c.report_error(v),a=!1}else{var m=Xt.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var g=Xt.getElementsByTagName("script")[0];g.parentNode.insertBefore(m,g)}return a},wa.prototype._execute_array=function(e){var t,n=[],r=[],a=[];cn.each(e,(function(e){e&&(t=e[0],cn.isArray(t)?a.push(e):"function"==typeof e?e.call(this):cn.isArray(e)&&"alias"===t?n.push(e):cn.isArray(e)&&-1!==t.indexOf("track")&&"function"==typeof this[t]?a.push(e):r.push(e))}),this);var o=function(e,t){cn.each(e,(function(e){if(cn.isArray(e[0])){var n=t;cn.each(e,(function(e){n=n[e[0]].apply(n,e.slice(1))}))}else this[e[0]].apply(this,e.slice(1))}),t)};o(n,this),o(r,this),o(a,this)},wa.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},wa.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token"),t=this.get_config("api_routes");return this._batcher_configs=this._batcher_configs||{events:{type:"events",endpoint:"/"+t.track,queue_key:e+"_ev"},people:{type:"people",endpoint:"/"+t.engage,queue_key:e+"_pp"},groups:{type:"groups",endpoint:"/"+t.groups,queue_key:e+"_gr"}},this._batcher_configs},wa.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=cn.bind((function(e){return new Gn(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:cn.bind((function(t,n,r){this._send_request(this.get_config("api_host")+e.endpoint,this._encode_data_for_request(t),n,this._prepare_callback(r,t))}),this),beforeSendHook:cn.bind((function(t){return this._run_hook("before_send_"+e.type,t)}),this),stopAllBatchingFunc:cn.bind(this.stop_batch_senders,this),usePersistence:!0})}),this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},wa.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,cn.each(this.request_batchers,(function(e){e.start()})))},wa.prototype.stop_batch_senders=function(){this._batch_requests=!1,cn.each(this.request_batchers,(function(e){e.stop(),e.clear()}
2))},wa.prototype.push=function(e){this._execute_array([e])},wa.prototype.disable=function(e){void 0===e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},wa.prototype._encode_data_for_request=function(e){var t=cn.JSONEncode(e);return this.get_config("api_payload_format")===ha&&(t=cn.base64Encode(t)),{data:t}},wa.prototype._track_or_batch=function(e,t){var n=cn.truncate(e.data,255),r=e.endpoint,a=e.batcher,o=e.should_send_immediately,i=e.send_request_options||{};t=t||pa;var s=!0,u=cn.bind((function(){return i.skip_hooks||(n=this._run_hook("before_send_"+e.type,n)),n?(dn.log("MIXPANEL REQUEST:"),dn.log(n),this._send_request(r,this._encode_data_for_request(n),i,this._prepare_callback(t,n))):null}),this);return this._batch_requests&&!o?a.enqueue(n).then((function(e){e?t(1,n):u()})):s=u(),s&&n},wa.prototype.track=Tn((function(e,t,n,r){r||"function"!=typeof n||(r=n,n=null);var a=(n=n||{}).transport;a&&(n.transport=a);var o=n.send_immediately;if("function"!=typeof r&&(r=pa),cn.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=cn.extend({},t)).token=this.get_config("token");var i=this.persistence.remove_event_timer(e);if(!cn.isUndefined(i)){var s=(new Date).getTime()-i;t.$duration=parseFloat((s/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?cn.info.marketingParams():{};t=cn.extend({},cn.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var l=this.get_config("property_blacklist");cn.isArray(l)?cn.each(l,(function(e){delete t[e]})):this.report_error("Invalid value for property_blacklist config: "+l);var c={event:e,properties:t};return this._track_or_batch({type:"events",data:c,endpoint:this.get_config("api_host")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:n},r)}r(0)}})),wa.prototype.set_group=Tn((function(e,t,n){cn.isArray(t)||(t=[t]);var r={};return r[e]=t,this.register(r),this.people.set(e,t,n)})),wa.prototype.add_group=Tn((function(e,t,n){var r=this.get_property(e),a={};return void 0===r?(a[e]=[t],this.register(a)):-1===r.indexOf(t)&&(r.push(t),a[e]=r,this.register(a)),this.people.union(e,t,n)})),wa.prototype.remove_group=Tn((function(e,t,n){var r=this.get_property(e);if(void 0!==r){var a=r.indexOf(t);a>-1&&(r.splice(a,1),this.register({group_key:r})),0===r.length&&this.unregister(e)}return this.people.remove(e,t,n)})),wa.prototype.track_with_groups=Tn((function(e,t,n,r){var a=cn.extend({},t||{});return cn.each(n,(function(e,t){null!=e&&(a[t]=e)})),this.track(e,a,r)})),wa.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},wa.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},wa.prototype.get_group=function(e,t){var n=this._create_map_key(e,t),r=this._cached_groups[n];return void 0!==r&&r._group_key===e&&r._group_id===t||((r=new Gr)._init(this,e,t),this._cached_groups[n]=r),r},wa.prototype.track_pageview=Tn((function(e,t){"object"!=typeof e&&(e={});var n=(t=t||{}).event_name||"$mp_web_page_view",r=cn.extend(cn.info.mpPageViewProperties(),cn.info.campaignParams(),cn.info.clickParams()),a=cn.extend({},r,e);return this.track(n,a)})),wa.prototype.track_links=function(){return this._track_dom.call(this,Mr,arguments)},wa.prototype.track_forms=function(){return this._track_dom.call(this,Lr,arguments)},wa.prototype.time_event=function(e){cn.isUndefined(e)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(e)||this.persistence.set_event_timer(e,(new Date).getTime())};var Ea={persistent:!0},Ca=function(e){var t;return t=cn.isObject(e)?e:cn.isUndefined(e)?{}:{days:e},cn.extend({},Ea,t)};wa.prototype.register=function(e,t){var n=Ca(t);n.persistent?this.persistence.register(e,n.days):cn.extend(this.unpersisted_superprops,e)},wa.prototype.register_once=function(e,t,n){var r=Ca(n);r.persistent?this.persistence.register_once(e,t,r.days):(void 0===t&&(t="None"),cn.each(e,(function(e,n){this.unpersisted_superprops.hasOwnProperty(n)&&this.unpersisted_superprops[n]!==t||(this.unpersisted_superprops[n]=e)}),this))},wa.prototype.unregister=function(e,t){(t=Ca(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]},wa.prototype._register_single=function(e,t){var n={};n[e]=t,this.register(n)},wa.prototype.identify=function(e,t,n,r,a,o,i,s){var u=this.get_distinct_id();if(e&&u!==e){if("string"==typeof e&&0===e.indexOf(ma))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var l=u;this.register_once({$had_persisted_distinct_id:!0,$device_id:l},"")}e!==u&&e!==this.get_property(oa)&&(this.unregister(oa),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,n,r,a,o,i,s),e!==u&&this.track("$identify",{distinct_id:e,$anon_distinct_id:u},{skip_hooks:!0})},wa.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var e=cn.UUID();this.register_once({distinct_id:ma+e,$device_id:e},"")},wa.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},wa.prototype.alias=function(e,t){if(e===this.get_property(aa))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var n=this;return cn.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(oa,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},(function(){n.identify(e)}))):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},wa.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},wa.prototype.set_config=function(e){cn.isObject(e)&&(cn.extend(this.config,e),e.batch_size&&cn.each(this.request_batchers,(function(e){e.resetBatchSize()})),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),pt.DEBUG=pt.DEBUG||this.get_config("debug"),"autocapture"in e&&this.autocapture&&this.autocapture.init())},wa.prototype.get_config=function(e){return this.config[e]},wa.prototype._run_hook=function(e){var t=(this.config.hooks[e]||da).apply(this,Gt.call(arguments,1
2));return void 0===t&&(this.report_error(e+" hook did not return a value"),t=null),t},wa.prototype.get_property=function(e){return this.persistence.load_prop([e])},wa.prototype.toString=function(){var e=this.get_config("name");return e!==fa&&(e=fa+"."+e),e},wa.prototype._event_is_disabled=function(e){return cn.isBlockedUA(nn)||this._flags.disable_all_events||cn.include(this.__disabled_events,e)},wa.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&cn.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!cn.cookie.get("mp_optout")||(cn.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},wa.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t),t?this.stop_batch_senders():this._batchers_were_started&&this.start_batch_senders()},wa.prototype._gdpr_call_func=function(e,t){return t=cn.extend({track:cn.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),cn.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},wa.prototype.opt_in_tracking=function(e){e=cn.extend({enable_persistence:!0},e),this._gdpr_call_func(Fn,e),this._gdpr_update_persistence(e)},wa.prototype.opt_out_tracking=function(e){(e=cn.extend({clear_persistence:!0,delete_user:!0},e)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(xn,e),this._gdpr_update_persistence(e)},wa.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(An,e)},wa.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(In,e)},wa.prototype.clear_opt_in_out_tracking=function(e){e=cn.extend({enable_persistence:!0},e),this._gdpr_call_func(Pn,e),this._gdpr_update_persistence(e)},wa.prototype.report_error=function(e,t){dn.error.apply(dn.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){dn.error(t)}},wa.prototype.init=wa.prototype.init,wa.prototype.reset=wa.prototype.reset,wa.prototype.disable=wa.prototype.disable,wa.prototype.time_event=wa.prototype.time_event,wa.prototype.track=wa.prototype.track,wa.prototype.track_links=wa.prototype.track_links,wa.prototype.track_forms=wa.prototype.track_forms,wa.prototype.track_pageview=wa.prototype.track_pageview,wa.prototype.register=wa.prototype.register,wa.prototype.register_once=wa.prototype.register_once,wa.prototype.unregister=wa.prototype.unregister,wa.prototype.identify=wa.prototype.identify,wa.prototype.alias=wa.prototype.alias,wa.prototype.name_tag=wa.prototype.name_tag,wa.prototype.set_config=wa.prototype.set_config,wa.prototype.get_config=wa.prototype.get_config,wa.prototype.get_property=wa.prototype.get_property,wa.prototype.get_distinct_id=wa.prototype.get_distinct_id,wa.prototype.toString=wa.prototype.toString,wa.prototype.opt_out_tracking=wa.prototype.opt_out_tracking,wa.prototype.opt_in_tracking=wa.prototype.opt_in_tracking,wa.prototype.has_opted_out_tracking=wa.prototype.has_opted_out_tracking,wa.prototype.has_opted_in_tracking=wa.prototype.has_opted_in_tracking,wa.prototype.clear_opt_in_out_tracking=wa.prototype.clear_opt_in_out_tracking,wa.prototype.get_group=wa.prototype.get_group,wa.prototype.set_group=wa.prototype.set_group,wa.prototype.add_group=wa.prototype.add_group,wa.prototype.remove_group=wa.prototype.remove_group,wa.prototype.track_with_groups=wa.prototype.track_with_groups,wa.prototype.start_batch_senders=wa.prototype.start_batch_senders,wa.prototype.stop_batch_senders=wa.prototype.stop_batch_senders,wa.prototype.start_session_recording=wa.prototype.start_session_recording,wa.prototype.stop_session_recording=wa.prototype.stop_session_recording,wa.prototype.get_session_recording_properties=wa.prototype.get_session_recording_properties,wa.prototype.get_session_replay_url=wa.prototype.get_session_replay_url,wa.prototype.DEFAULT_API_ROUTES=ba,ua.prototype.properties=ua.prototype.properties,ua.prototype.update_search_keyword=ua.prototype.update_search_keyword,ua.prototype.update_referrer_info=ua.prototype.update_referrer_info,ua.prototype.get_cross_subdomain=ua.prototype.get_cross_subdomain,ua.prototype.clear=ua.prototype.clear;var Sa={},Fa=function(){la.init=function(e,t,n){if(n)return la[n]||(la[n]=Sa[n]=_a(e,t,n),la[n]._loaded()),la[n];var r=la;Sa[fa]?r=Sa[fa]:e&&((r=_a(e,t,fa))._loaded(),Sa[fa]=r),la=r,1===Qr&&(lt[fa]=la),cn.each(Sa,(function(e,t){t!==fa&&(la[t]=e)})),la._=cn}};var xa=(ca=function(e,t){t()},Qr=0,la=new wa,Fa(),la.init(),function(){function e(){e.done||(e.done=!0,ka=!0,va=!1,cn.each(Sa,(function(e){e._dom_loaded()})))}if(Xt.addEventListener)"complete"===Xt.readyState?e():Xt.addEventListener("DOMContentLoaded",e,!1);else if(Xt.attachEvent){Xt.attachEvent("onreadystatechange",e);var t=!1;try{t=null===lt.frameElement}catch(n){}Xt.documentElement.doScroll&&t&&function t(){try{Xt.documentElement.doScroll("left")}catch(n){return void setTimeout(t,1)}e()}()}cn.register_event(lt,"load",e,!0)}(),la)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this}
2,n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),l=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),u(l,i(e,c,d)),1===e?(u(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){u(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),l=document.querySelector(r.parent);return u(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),u=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function l(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;l(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);l(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},5302:(e,t,n)=>{var r=n(4634);e.exports=h,e.exports.parse=o,e.exports.compile=function(e,t){return u(o(e,t),t)},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,s=0,u="",l=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(u+=e.slice(s,f),s=f+d.length,p)u+=p[1];else{var h=e[s],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],D=n[7];u&&(r.push(u),u="");var k=null!=m&&null!=h&&h!==m,w="+"===b||"*"===b,_="?"===b||"*"===b,E=m||l,C=v||y,S=m||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||o++,prefix:m||"",delimiter:E,optional:_,repeat:w,partial:k,asterisk:!!D,pattern:C?c(C):D?".*":i(E,S)})}}return s<e.length&&(u+=e.substr(s)),u&&r.push(u),r}function i(e,t){return!t||t.indexOf(e)>-1?"[^"+l(e)+"]+?":l(t)+"|(?:(?!"+l(t)+")[^"+l(e)+"])+?"}function s(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",p(t)));return function(t,a){for(var o="",i=t||{},u=(a||{}).pretty?s:encodeURIComponent,l=0;l<e.length;l++){var c=e[l];
vendor: 2,119 bytes, line 2
2if("string"!=typeof c){var d,p=i[c.name];if(null==p){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(p)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=u(p[f]),!n[l].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===f?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(p),!n[l].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function p(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",s=0;s<e.length;s++){var u=e[s];if("string"==typeof u)i+=l(u);else{var c=l(u.prefix),f="(?:"+u.pattern+")";t.push(u),u.repeat&&(f+="(?:"+c+f+")*"),i+=f=u.optional?u.partial?c+"("+f+")?":"(?:"+c+"("+f+"))?":c+"("+f+")"}}var h=l(n.delimiter||"/"),m=i.slice(-h.length)===h;return a||(i=(m?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=o?"$":a&&m?"":"(?="+h+"|$)",d(new RegExp("^"+i,p(n)),t)}function h(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(h(e[a],t,n).source);return d(new RegExp("(?:"+r.join("|")+")",p(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},6969:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}
2.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"}
2,gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"}
2,mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"}
2,qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"}
2,"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722:(e,t,n)=>{const r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>
2{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)}))}i.silent=!1,e.exports=i},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var u=0;u<s.length&&!(a>=o.length);u++){var l=s[u];if("string"==typeof l||l.content&&"string"==typeof l.content){var c=o[a],d=n.tokenStack[c],p="string"==typeof l?l:l.content,f=t(r,c),h=p.indexOf(f);if(h>-1){++a;var m=p.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=p.substring(h+f.length),y=[];m&&y.push.apply(y,i([m])),y.push(g),v&&y.push.apply(y,i([v])),"string"==typeof l?s.splice.apply(s,[u,1].concat(y)):l.content=y}}else l.content&&i(l.content)}return s}(n.tokens)}}}})}(Prism)},8692:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8692},3157:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function a(r,o){if(!(r in n)){o.push(r);var i=o.indexOf(r);if(i<o.length-1)throw new Error("Circular dependency: "+o.slice(i).join(" -> "));var s={},u=e[r];if(u){function l(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in s))for(var i in a(t,o),s[t]=!0,n[t])s[i]=!0}t(u.require,l),t(u.optional,l),t(u.modify,l)}n[r]=s,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,s){var u=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),l=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(u);i=i.map(l),s=(s||[]).map(l);var c=n(i),d=n(s);i.forEach((function e(n){var r=u[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var p,f=r(u),h=c;a(h);){for(var m in p={},h){var g=u[m];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var v in d)if(!(v in c))for(var y in f(v))if(y in c){p[v]=!0;break}for(var b in h=p)c[b]=!0}var D={getIds:function(){var e=[];return D.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,s={},u={};function l(e){if(e in s)return s[e];u[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var p=i(c.map((function(e){var t=l(e);return delete u[e],t})));o?a=o(p,(function(){return r(e)})):r(e)}return s[e]=a}for(var c in n)l(c);var d=[];for(var p in u)d.push(s[p]);return i(d)}(f,c,t,n)}};return D}}();e.exports=t},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
vendor: 4,709 bytes, line 2
2:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(9982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function u(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},h={};function m(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(h,e)||!d.call(f,e)&&(p.test(e)?h[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
2-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var D=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),w=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),F=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var j=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var P=Symbol.iterator;function N(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var R,B=Object.assign;function M(e){if(void 0===R)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var L=!1;function z(e,t){if(!e||L)return"";L=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"==typeof l.stack){for(var a=l.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var u="\n"+a[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=i&&0<=s);break}}}finally{L=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function $(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case w:return"Portal";case C:return"Profiler";case E:return"StrictMode";case A:return"Suspense";case I:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case F:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case x:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:q(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return q(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Z(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Y(e,t){J(e,t);var n=Z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 4,510 bytes, line 2
2function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Z(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Z(n)}}function oe(e,t){var n=Z(t.value),r=Z(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ve=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var De=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 5,858 bytes, line 2
2odeType?e.parentNode:e}var we=null,_e=null,Ee=null;function Ce(e){if(e=ba(e)){if("function"!=typeof we)throw Error(o(280));var t=e.stateNode;t&&(t=ka(t),we(e.stateNode,e.type,t))}}function Se(e){_e?Ee?Ee.push(e):Ee=[e]:_e=e}function Fe(){if(_e){var e=_e,t=Ee;if(Ee=_e=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function xe(e,t){return e(t)}function Ae(){}var Ie=!1;function Te(e,t,n){if(Ie)return e(t,n);Ie=!0;try{return xe(e,t,n)}finally{Ie=!1,(null!==_e||null!==Ee)&&(Ae(),Fe())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var je=!1;if(c)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){je=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(ce){je=!1}function Ne(e,t,n,r,a,o,i,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var Re=!1,Be=null,Me=!1,Le=null,ze={onError:function(e){Re=!0,Be=e}};function $e(e,t,n,r,a,o,i,s,u){Re=!1,Be=null,Ne.apply(ze,arguments)}function qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(qe(e)!==e)throw Error(o(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=qe(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return Ze(a),e;if(i===r)return Ze(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,u=a.child;u;){if(u===n){s=!0,n=a,r=i;break}if(u===r){s=!0,r=a,n=i;break}u=u.sibling}if(!s){for(u=i.child;u;){if(u===n){s=!0,n=i,r=a;break}if(u===r){s=!0,r=i,n=a;break}u=u.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var We=a.unstable_scheduleCallback,Ge=a.unstable_cancelCallback,Ke=a.unstable_shouldYield,Qe=a.unstable_requestPaint,Je=a.unstable_now,Ye=a.unstable_getCurrentPriorityLevel,Xe=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var lt=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=dt(s):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=lt;return!(4194240&(lt<<=1))&&(lt=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function Dt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var kt,wt,_t,Et,Ct,St=!1,Ft=[],xt=null,At=null,It=null,Tt=new Map,Ot=new Map,jt=[],Pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Nt(e,t){switch(e){case"focusin":case"focusout":xt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":It=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Rt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&wt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.pu
vendor: 5,438 bytes, line 2
2sh(a),e)}function Bt(e){var t=ya(e.target);if(null!==t){var n=qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Ct(e.priority,(function(){_t(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);De=r,n.target.dispatchEvent(r),De=null,t.shift()}return!0}function Lt(e,t,n){Mt(e)&&n.delete(t)}function zt(){St=!1,null!==xt&&Mt(xt)&&(xt=null),null!==At&&Mt(At)&&(At=null),null!==It&&Mt(It)&&(It=null),Tt.forEach(Lt),Ot.forEach(Lt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,St||(St=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,zt)))}function qt(e){function t(t){return $t(t,e)}if(0<Ft.length){$t(Ft[0],e);for(var n=1;n<Ft.length;n++){var r=Ft[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==xt&&$t(xt,e),null!==At&&$t(At,e),null!==It&&$t(It,e),Tt.forEach(t),Ot.forEach(t),n=0;n<jt.length;n++)(r=jt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<jt.length&&null===(n=jt[0]).blockedOn;)Bt(n),null===n.blockedOn&&jt.shift()}var Ut=D.ReactCurrentBatchConfig,Zt=!0;function Ht(e,t,n,r){var a=bt,o=Ut.transition;Ut.transition=null;try{bt=1,Wt(e,t,n,r)}finally{bt=a,Ut.transition=o}}function Vt(e,t,n,r){var a=bt,o=Ut.transition;Ut.transition=null;try{bt=4,Wt(e,t,n,r)}finally{bt=a,Ut.transition=o}}function Wt(e,t,n,r){if(Zt){var a=Kt(e,t,n,r);if(null===a)Zr(e,t,r,Gt,n),Nt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return xt=Rt(xt,e,t,n,r,a),!0;case"dragenter":return At=Rt(At,e,t,n,r,a),!0;case"mouseover":return It=Rt(It,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Tt.set(o,Rt(Tt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Ot.set(o,Rt(Ot.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<Pt.indexOf(e)){for(;null!==a;){var o=ba(a);if(null!==o&&kt(o),null===(o=Kt(e,t,n,r))&&Zr(e,t,r,Gt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Zr(e,t,r,null,n)}}var Gt=null;function Kt(e,t,n,r){if(Gt=null,null!==(e=ya(e=ke(r))))if(null===(t=qe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ye()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Jt=null,Yt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Yt,r=n.length,a="value"in Jt?Jt.value:Jt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Xt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return B(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,un,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(ln),dn=B({},ln,{view:0,detail:0}),pn=an(dn),fn=B({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,346 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(on=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=on=0,un=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=an(fn),mn=an(B({},fn,{dataTransfer:0})),gn=an(B({},dn,{relatedTarget:0})),vn=an(B({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=B({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(yn),Dn=an(B({},ln,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function Cn(){return En}var Sn=B({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Fn=an(Sn),xn=an(B({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=an(B({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),In=an(B({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=B({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),On=an(Tn),jn=[9,13,27,32],Pn=c&&"CompositionEvent"in window,Nn=null;c&&"documentMode"in document&&(Nn=document.documentMode);var Rn=c&&"TextEvent"in window&&!Nn,Bn=c&&(!Pn||Nn&&8<Nn&&11>=Nn),Mn=String.fromCharCode(32),Ln=!1;function zn(e,t){switch(e){case"keyup":return-1!==jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var qn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){Se(r),0<(t=Vr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Wn=null;function Gn(e){Mr(e,0)}function Kn(e){if(W(Da(e)))return e}function Qn(e,t){if("change"===e)return t}var Jn=!1;if(c){var Yn;if(c){var Xn="oninput"in document;if(!Xn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xn="function"==typeof er.oninput}Yn=Xn}else Yn=!1;Jn=Yn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Wn=Vn=null)}function nr(e){if("value"===e.propertyName&&Kn(Wn)){var t=[];Hn(t,Wn,e,ke(e)),Te(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Wn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Wn)}function or(e,t){if("click"===e)return Kn(t)}function ir(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(sr(e,t))return!0;
vendor: 4,828 bytes, line 2
2if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function Dr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==G(r)||("selectionStart"in(r=gr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Vr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},_r={},Er={};function Cr(e){if(_r[e])return _r[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return _r[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var Sr=Cr("animationend"),Fr=Cr("animationiteration"),xr=Cr("animationstart"),Ar=Cr("transitionend"),Ir=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){Ir.set(e,t),u(t,[e])}for(var jr=0;jr<Tr.length;jr++){var Pr=Tr[jr];Or(Pr.toLowerCase(),"on"+(Pr[0].toUpperCase()+Pr.slice(1)))}Or(Sr,"onAnimationEnd"),Or(Fr,"onAnimationIteration"),Or(xr,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Ar,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Br(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,u,l){if($e.apply(this,arguments),Re){if(!Re)throw Error(o(198));var c=Be;Re=!1,Be=null,Me||(Me=!0,Le=c)}}(r,t,void 0,e),e.currentTarget=null}function Mr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==o&&a.isPropagationStopped())break e;Br(a,s,l),o=u}else for(i=0;i<r.length;i++){if(u=(s=r[i]).instance,l=s.currentTarget,s=s.listener,u!==o&&a.isPropagationStopped())break e;Br(a,s,l),o=u}}}if(Me)throw e=Le,Me=!1,Le=null,e}function Lr(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function qr(e){if(!e[$r]){e[$r]=!0,i.forEach((function(t){"selectionchange"!==t&&(Rr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,zr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Qt(t)){case 1:var a=Ht;break;case 4:a=Vt;break;default:a=Wt}n=a.bind(null,t,n,e),a=void 0,!je||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Zr(e,t,n,r,a){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=ya(s)))return;if(5===(u=i.tag)||6===u){r=o=i;continue e}s=s.parentNode}}r=r.return}Te((function(){var r=o,a=ke(n),i=[];e:{var s=Ir.get(e);if(void 0!==s){var u=cn,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Fn;break;case"focusin":l="focus",u=gn;break;case"focusout":l="blur",u=gn;break;case"beforeblur":case"afterblur":u=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=An;break;case Sr:case Fr:case xr:u=vn;break;case Ar:u=In;break;case"scroll":u=pn;break;case"wheel":u=On;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=xn}var c=!!(4&t),d=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Oe(h,p))&&c.push(Hr(h,m,f)))),d)break;h=h.return}0<c.length&&(s=new u(s,l,null,n,a),i.push({event:s,listeners:c}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===De||!(l=n.relatedTarget||n.fromElement)||!ya(l)&&!l[ha])&&(u||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(l=(l=n.relatedTarget||n.toElement)?ya(l):null)&&(l!==(d=qe(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(u=null,l=r),u!==l)){if(c=hn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=xn,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==u?s:Da(u),f=null==l?s:Da(l),(s=new c(m,h+"leave",u,n,a)).target=d,s.relatedTarget=f,m=null,ya(a)===r&&((c=new c(p,h+"enter",l,n,a)).target=f,c.relatedTarget=d,m=c),d=m,u&&l)e:{for(p=l,h=0,f=c=u;f;f=Wr(f))h++;for(f=0,m=p;m;m=Wr(m))f++;for(;0<h-f;)c=Wr(c),h--;for(;0<f-h;)p=Wr(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Wr(c),p=Wr(p)}c=null}else c=null;null!==u&&Gr(i,s,u,c,!1),null!==l&&null!==d&&Gr(i,d,l,c,!0)}if("select"===(u=(s=r?Da(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var g=Qn;else if(Zn(s))if(Jn)g=ir;else{g=ar;var v=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Hn(i,g,n,a):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?Da(r):window,e){case"focusin":(Zn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,Dr(i,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":Dr(i,n,a)}var y;if(Pn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else qn?zn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Bn&&"ko"!==n.locale&&(qn||"onCompositionStart"!==b?"onCompositionEnd"===b&&qn&&(y=en()):(Yt="value"in(Jt=a)?Jt.value:Jt.textContent,qn=!0)),0<(v=Vr(r,b)).length&&(b=new Dn(b,e,null,n,a),i.push({event:b,listeners:v}
vendor: 4,407 bytes, line 2
2),y?b.data=y:null!==(y=$n(n))&&(b.data=y))),(y=Rn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(Ln=!0,Mn);case"textInput":return(e=t.data)===Mn&&Ln?null:e;default:return null}}(e,n):function(e,t){if(qn)return"compositionend"===e||!Pn&&zn(e,t)?(e=en(),Xt=Yt=Jt=null,qn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(a=new Dn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=y))}Mr(i,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Oe(e,n))&&r.unshift(Hr(e,o,a)),null!=(o=Oe(e,t))&&r.push(Hr(e,o,a))),e=e.return}return r}function Wr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,u=s.alternate,l=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==l&&(s=l,a?null!=(u=Oe(n,o))&&i.unshift(Hr(n,u,s)):a||null!=(u=Oe(n,o))&&i.push(Hr(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Kr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Jr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Qr,"")}function Yr(e,t,n){if(t=Jr(t),Jr(e)!==t&&n)throw Error(o(425))}function Xr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function ua(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void qt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);qt(t)}function la(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,fa="__reactProps$"+da,ha="__reactContainer$"+da,ma="__reactEvents$"+da,ga="__reactListeners$"+da,va="__reactHandles$"+da;function ya(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[pa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[pa]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Da(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ka(e){return e[fa]||null}var wa=[],_a=-1;function Ea(e){return{current:e}}function Ca(e){0>_a||(e.current=wa[_a],wa[_a]=null,_a--)}function Sa(e,t){_a++,wa[_a]=e.current,e.current=t}var Fa={},xa=Ea(Fa),Aa=Ea(!1),Ia=Fa;function Ta(e,t){var n=e.type.contextTypes;if(!n)return Fa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Oa(e){return null!=(e=e.childContextTypes)}function ja(){Ca(Aa),Ca(xa)}function Pa(e,t,n){if(xa.current!==Fa)throw Error(o(168));Sa(xa,t),Sa(Aa,n)}function Na(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,U(e)||"Unknown",a));return B({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fa,Ia=xa.current,Sa(xa,e),Sa(Aa,Aa.current),!0}
vendor: 28,812 bytes, line 2
2function Ba(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Na(e,t,Ia),r.__reactInternalMemoizedMergedChildContext=e,Ca(Aa),Ca(xa),Sa(xa,e)):Ca(Aa),Sa(Aa,n)}var Ma=null,La=!1,za=!1;function $a(e){null===Ma?Ma=[e]:Ma.push(e)}function qa(){if(!za&&null!==Ma){za=!0;var e=0,t=bt;try{var n=Ma;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ma=null,La=!1}catch(a){throw null!==Ma&&(Ma=Ma.slice(e+1)),We(Xe,qa),a}finally{bt=t,za=!1}}return null}var Ua=[],Za=0,Ha=null,Va=0,Wa=[],Ga=0,Ka=null,Qa=1,Ja="";function Ya(e,t){Ua[Za++]=Va,Ua[Za++]=Ha,Ha=e,Va=t}function Xa(e,t,n){Wa[Ga++]=Qa,Wa[Ga++]=Ja,Wa[Ga++]=Ka,Ka=e;var r=Qa;e=Ja;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Qa=1<<32-it(t)+a|n<<a|r,Ja=o+e}else Qa=1<<o|n<<a|r,Ja=e}function eo(e){null!==e.return&&(Ya(e,1),Xa(e,1,0))}function to(e){for(;e===Ha;)Ha=Ua[--Za],Ua[Za]=null,Va=Ua[--Za],Ua[Za]=null;for(;e===Ka;)Ka=Wa[--Ga],Wa[Ga]=null,Ja=Wa[--Ga],Wa[Ga]=null,Qa=Wa[--Ga],Wa[Ga]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Tl(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=la(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ka?{id:Qa,overflow:Ja}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Tl(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return!(!(1&e.mode)||128&e.flags)}function lo(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(uo(e))throw Error(o(418));t=la(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw fo(),Error(o(418));for(;t;)io(e,t),t=la(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=la(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?la(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=ro;e;)e=la(e.nextSibling)}function ho(){ro=no=null,ao=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=D.ReactCurrentBatchConfig;function vo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bo(e){return(0,e._init)(e._payload)}function Do(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=jl(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Bl(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function l(e,t,n,r){var o=n.type;return o===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===O&&bo(o)===t.type)?((r=a(t,n.props)).ref=vo(e,t,n),r.return=e,r):((r=Pl(n.type,n.key,n.props,null,e.mode,r)).ref=vo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ml(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Nl(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Bl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Pl(t.type,t.key,t.props,null,e.mode,n)).ref=vo(e,null,t),n.return=e,n;case w:return(t=Ml(t,e.mode,n)).return=e,t;case O:return p(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Nl(t,e.mode,n,null)).return=e,t;yo(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?l(e,t,n,r):null;case w:return n.key===a?c(e,t,n,r):null;case O:return f(e,t,(a=n._init)(n._payload),r)}if(te(n)||N(n))return null!==a?null:d(e,t,n,r,null);yo(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return l(t,e=e.get(null===r.key?n:r.key)||null,r,a);case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case O:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||N(r))return d(t,e=e.get(n)||null,r,a,null);yo(t,r)}return null}function m(a,o,s,u){for(var l=null,c=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=f(a,d,s[m],u);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(a,d),o=i(v,o,m),null===c?l=v:c.sibling=v,c=v,d=g}if(m===s.length)return n(a,d),ao&&Ya(a,m),l;if(null===d){for(;m<s.length;m++)null!==(d=p(a,s[m],u))&&(o=i(d,o,m),null===c?l=d:c.sibling=d,c=d);return ao&&Ya(a,m),l}for(d=r(a,d);m<s.length;m++)null!==(g=h(d,a,m,s[m],u))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=i(g,o,m),null===c?l=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(a,e)})),ao&&Ya(a,m),l}function g(a,s,u,l){var c=N(u);if("function"!=typeof c)throw Error(o(150));if(null==(u=c.call(u)))throw Error(o(151));for(var d=c=null,m=s,g=s=0,v=null,y=u.next();null!==m&&!y.done;g++,y=u.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=f(a,m,y.value,l);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(a,m),s=i(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(a,m),ao&&Ya(a,g),c;if(null===m){for(;!y.done;g++,y=u.next())null!==(y=p(a,y.value,l))&&(s=i(y,s,g),null===d?c=y:d.sibling=y,d=y);return ao&&Ya(a,g),c}for(m=r(a,m);!y.done;g++,y=u.next())null!==(y=h(m,a,g,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(a,e)})),ao&&Ya(a,g),c}return function e(r,o,i,u){if("object"==typeof i&&null!==i&&i.type===_&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var l=i.key,c=o;null!==c;){if(c.key===l){if((l=i.type)===_){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===O&&bo(l)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=vo(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===_?((o=Nl(i.props.children,r.mode,u,i.key)).return=r,r=o):((u=Pl(i.type,i.key,i.props,null,r.mode,u)).ref=vo(r,o,i),u.return=r,r=u)}return s(r);case w:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Ml(i,r.mode,u)).return=r,r=o}return s(r);case O:return e(r,o,(c=i._init)(i._payload),u)}if(te(i))return m(r,o,i,u);if(N(i))return g(r,o,i,u);yo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Bl(i,r.mode,u)).return=r,r=o),s(r)):n(r,o)}}var ko=Do(!0),wo=Do(!1),_o=Ea(null),Eo=null,Co=null,So=null;function Fo(){So=Co=Eo=null}function xo(e){var t=_o.current;Ca(_o),e._currentValue=t}function Ao(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Io(e,t){Eo=e,So=Co=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(bs=!0),e.firstContext=null)}function To(e){var t=e._currentValue;if(So!==e)if(e={context:e,memoizedValue:t,next:null},null===Co){if(null===Eo)throw Error(o(308));Co=e,Eo.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var Oo=null;function jo(e){null===Oo?Oo=[e]:Oo.push(e)}function Po(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,jo(t)):(n.next=a.next,a.next=n),t.interleaved=n,No(e,r)}function No(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ro=!1;function Bo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Lo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&xu){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,No(e,n)}return null===(a=r.interleaved)?(t.next=t,jo(r)):(t.next=a.next,a.next=t),r.interleaved=t,No(e,n)}function $o(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function qo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Uo(e,t,n,r){var a=e.updateQueue;Ro=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var u=s,l=u.next;u.next=null,null===i?o=l:i.next=l,i=u;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(null!==o){var d=a.baseState;for(i=0,c=l=u=null,s=o;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=B({},d,p);break e;case 2:Ro=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(l=c=f,u=d):c=c.next=f,i|=p;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(p=s).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===c&&(u=d),a.baseState=u,a.firstBaseUpdate=l,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Ru|=i,e.lanes=i,e.memoizedState=d}}function Zo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var Ho={},Vo=Ea(Ho),Wo=Ea(Ho),Go=Ea(Ho);function Ko(e){if(e===Ho)throw Error(o(174));return e}function Qo(e,t){switch(Sa(Go,t),Sa(Wo,e),Sa(Vo,Ho),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(Vo),Sa(Vo,t)}function Jo(){Ca(Vo),Ca(Wo),Ca(Go)}function Yo(e){Ko(Go.current);var t=Ko(Vo.current),n=ue(t,e.type);t!==n&&(Sa(Wo,e),Sa(Vo,n))}function Xo(e){Wo.current===e&&(Ca(Vo),Ca(Wo))}var ei=Ea(0);function ti(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ni=[];function ri(){for(var e=0;e<ni.length;e++)ni[e]._workInProgressVersionPrimary=null;ni.length=0}var ai=D.ReactCurrentDispatcher,oi=D.ReactCurrentBatchConfig,ii=0,si=null,ui=null,li=null,ci=!1,di=!1,pi=0,fi=0;function hi(){throw Error(o(321))}function mi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function gi(e,t,n,r,a,i){if(ii=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?Xi:es,e=n(r,a),di){i=0;do{if(di=!1,pi=0,25<=i)throw Error(o(301));i+=1,li=ui=null,t.updateQueue=null,ai.current=ts,e=n(r,a)}while(di)}if(ai.current=Yi,t=null!==ui&&null!==ui.next,ii=0,li=ui=si=null,ci=!1,t)throw Error(o(300));return e}function vi(){var e=0!==pi;return pi=0,e}function yi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===li?si.memoizedState=li=e:li=li.next=e,li}function bi(){if(null===ui){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=ui.next;var t=null===li?si.memoizedState:li.next;if(null!==t)li=t,ui=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ui=e).memoizedState,baseState:ui.baseState,baseQueue:ui.baseQueue,queue:ui.queue,next:null},null===li?si.memoizedState=li=e:li=li.next=e}return li}function Di(e,t){return"function"==typeof t?t(e):t}function ki(e){var t=bi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ui,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var u=s=null,l=null,c=i;do{var d=c.lane;if((ii&d)===d)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(u=l=p,s=r):l=l.next=p,si.lanes|=d,Ru|=d}c=c.next}while(null!==c&&c!==i);null===l?s=r:l.next=u,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,si.lanes|=i,Ru|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function wi(e){var t=bi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(bs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function _i(){}function Ei(e,t){var n=si,r=bi(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,bs=!0),r=r.queue,Ri(Fi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==li&&1&li.memoizedState.tag){if(n.flags|=2048,Ti(9,Si.bind(null,n,r,a,t),void 0,null),null===Au)throw Error(o(349));30&ii||Ci(n,t,a)}return a}function Ci(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Si(e,t,n,r){t.value=n,t.getSnapshot=r,xi(t)&&Ai(e)}function Fi(e,t,n){return n((function(){xi(t)&&Ai(e)}))}function xi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ai(e){var t=No(e,1);null!==t&&nl(t,e,1,-1)}function Ii(e){var t=yi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Di,lastRenderedState:e},t.queue=e,e=e.dispatch=Gi.bind(null,si,e),[t.memoizedState,e]}function Ti(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Oi(){return bi().memoizedState}function ji(e,t,n,r){var a=yi();si.flags|=e,a.memoizedState=Ti(1|t,n,void 0,void 0===r?null:r)}function Pi(e,t,n,r){var a=bi();r=void 0===r?null:r;var o=void 0;if(null!==ui){var i=ui.memoizedState;if(o=i.destroy,null!==r&&mi(r,i.deps))return void(a.memoizedState=Ti(t,n,o,r))}si.flags|=e,a.memoizedState=Ti(1|t,n,o,r)}function Ni(e,t){return ji(8390656,8,e,t)}function Ri(e,t){return Pi(2048,8,e,t)}function Bi(e,t){return Pi(4,2,e,t)}function Mi(e,t){return Pi(4,4,e,t)}function Li(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function zi(e,t,n){return n=null!=n?n.concat([e]):null,Pi(4,4,Li.bind(null,t,e),n)}function $i(){}function qi(e,t){var n=bi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ui(e,t){var n=bi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Zi(e,t,n){return 21&ii?(sr(n,t)||(n=mt(),si.lanes|=n,Ru|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n)}function Hi(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{bt=n,oi.transition=r}}function Vi(){return bi().memoizedState}function Wi(e,t,n){var r=tl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ki(e))Qi(t,n);else if(null!==(n=Po(e,t,n,r))){nl(n,e,r,el()),Ji(n,t,r)}}function Gi(e,t,n){var r=tl(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ki(e))Qi(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var u=t.interleaved;return null===u?(a.next=a,jo(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(l){}null!==(n=Po(e,t,a,r))&&(nl(n,e,r,a=el()),Ji(n,t,r))}}function Ki(e){var t=e.alternate;return e===si||null!==t&&t===si}function Qi(e,t){di=ci=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ji(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Yi={readContext:To,useCallback:hi,useContext:hi,useEffect:hi,useImperativeHandle:hi,useInsertionEffect:hi,useLayoutEffect:hi,useMemo:hi,useReducer:hi,useRef:hi,useState:hi,useDebugValue:hi,useDeferredValue:hi,useTransition:hi,useMutableSource:hi,useSyncExternalStore:hi,useId:hi,unstable_isNewReconciler:!1},Xi={readContext:To,useCallback:function(e,t){return yi().memoizedState=[e,void 0===t?null:t],e},useContext:To,useEffect:Ni,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ji(4194308,4,Li.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ji(4194308,4,e,t)},useInsertionEffect:function(e,t){return ji(4,2,e,t)},useMemo:function(e,t){var n=yi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Wi.bind(null,si,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},yi().memoizedState=e},useState:Ii,useDebugValue:$i,useDeferredValue:function(e){return yi().memoizedState=e},useTransition:function(){var e=Ii(!1),t=e[0];return e=Hi.bind(null,e[1]),yi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=si,a=yi();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Au)throw Error(o(349));30&ii||Ci(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Ni(Fi.bind(null,r,i,e),[e]),r.flags|=2048,Ti(9,Si.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=yi(),t=Au.identifierPrefix;if(ao){var n=Ja;t=":"+t+"R"+(n=(Qa&~(1<<32-it(Qa)-1)).toString(32)+n),0<(n=pi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:To,useCallback:qi,useContext:To,useEffect:Ri,useImperativeHandle:zi,useInsertionEffect:Bi,useLayoutEffect:Mi,useMemo:Ui,useReducer:ki,useRef:Oi,useState:function(){return ki(Di)},useDebugValue:$i,useDeferredValue:function(e){return Zi(bi(),ui.memoizedState,e)},useTransition:function(){return[ki(Di)[0],bi().memoizedState]},useMutableSource:_i,useSyncExternalStore:Ei,useId:Vi,unstable_isNewReconciler:!1},ts={readContext:To,useCallback:qi,useContext:To,useEffect:Ri,useImperativeHandle:zi,useInsertionEffect:Bi,useLayoutEffect:Mi,useMemo:Ui,useReducer:wi,useRef:Oi,useState:function(){return wi(Di)},useDebugValue:$i,useDeferredValue:function(e){var t=bi();return null===ui?t.memoizedState=e:Zi(t,ui.memoizedState,e)},useTransition:function(){return[wi(Di)[0],bi().memoizedState]},useMutableSource:_i,useSyncExternalStore:Ei,useId:Vi,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=B({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:B({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var as={isMounted:function(e){return!!(e=e._reactInternals)&&qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=el(),a=tl(e),o=Lo(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=zo(e,o,a))&&(nl(t,e,a,r),$o(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=el(),a=tl(e),o=Lo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=zo(e,o,a))&&(nl(t,e,a,r),$o(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=el(),r=tl(e),a=Lo(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=zo(e,a,r))&&(nl(t,e,r,n),$o(t,e,r))}};function os(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(a,o))}function is(e,t,n){var r=!1,a=Fa,o=t.contextType;return"object"==typeof o&&null!==o?o=To(o):(a=Oa(t)?Ia:xa.current,o=(r=null!=(r=t.contextTypes))?Ta(e,a):Fa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=as,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&as.enqueueReplaceState(t,t.state,null)}function us(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Bo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=To(o):(o=Oa(t)?Ia:xa.current,a.context=Ta(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&as.enqueueReplaceState(a,a.state,null),Uo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function ls(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function cs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=Lo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zu||(Zu=!0,Hu=r),ds(0,t)},n}function hs(e,t,n){(n=Lo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===Vu?Vu=new Set([this]):Vu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cl.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Lo(-1,1)).tag=2,zo(n,t,1))),n.lanes|=1),e)}var ys=D.ReactCurrentOwner,bs=!1;function Ds(e,t,n,r){t.child=null===e?wo(t,null,n,r):ko(t,e.child,n,r)}function ks(e,t,n,r,a){n=n.render;var o=t.ref;return Io(t,a),r=gi(e,t,n,r,o,a),n=vi(),null===e||bs?(ao&&n&&eo(t),t.flags|=1,Ds(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Zs(e,t,a))}function ws(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Ol(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Pl(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,_s(e,t,o,r,a))}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)return Zs(e,t,a)}return t.flags|=1,(e=jl(o,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=o,!(e.lanes&a))return t.lanes=e.lanes,Zs(e,t,a);131072&e.flags&&(bs=!0)}}return Ss(e,t,n,r,a)}function Es(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Sa(ju,Ou),Ou|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Sa(ju,Ou),Ou|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Sa(ju,Ou),Ou|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Sa(ju,Ou),Ou|=r;return Ds(e,t,a,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ss(e,t,n,r,a){var o=Oa(n)?Ia:xa.current;return o=Ta(t,o),Io(t,a),n=gi(e,t,n,r,o,a),r=vi(),null===e||bs?(ao&&r&&eo(t),t.flags|=1,Ds(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Zs(e,t,a))}function Fs(e,t,n,r,a){if(Oa(n)){var o=!0;Ra(t)}else o=!1;if(Io(t,a),null===t.stateNode)Us(e,t),is(t,n,r),us(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var u=i.context,l=n.contextType;"object"==typeof l&&null!==l?l=To(l):l=Ta(t,l=Oa(n)?Ia:xa.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||u!==l)&&ss(t,i,r,l),Ro=!1;var p=t.memoizedState;i.state=p,Uo(t,r,i,a),u=t.memoizedState,s!==r||p!==u||Aa.current||Ro?("function"==typeof c&&(rs(t,
vendor: 19,051 bytes, line 2
2n,c,r),u=t.memoizedState),(s=Ro||os(t,n,s,r,p,u,l))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=l,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Mo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ns(t.type,s),i.props=l,d=t.pendingProps,p=i.context,"object"==typeof(u=n.contextType)&&null!==u?u=To(u):u=Ta(t,u=Oa(n)?Ia:xa.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||p!==u)&&ss(t,i,r,u),Ro=!1,p=t.memoizedState,i.state=p,Uo(t,r,i,a);var h=t.memoizedState;s!==d||p!==h||Aa.current||Ro?("function"==typeof f&&(rs(t,n,f,r),h=t.memoizedState),(l=Ro||os(t,n,l,r,p,h,u)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=u,r=l):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return xs(e,t,n,r,o,a)}function xs(e,t,n,r,a,o){Cs(e,t);var i=!!(128&t.flags);if(!r&&!i)return a&&Ba(t,n,!1),Zs(e,t,o);r=t.stateNode,ys.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ko(t,e.child,null,o),t.child=ko(t,null,s,o)):Ds(e,t,s,o),t.memoizedState=r.state,a&&Ba(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Pa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Pa(0,t.context,!1),Qo(e,t.containerInfo)}function Is(e,t,n,r,a){return ho(),mo(a),t.flags|=256,Ds(e,t,n,r),t.child}var Ts,Os,js,Ps,Ns={dehydrated:null,treeContext:null,retryLane:0};function Rs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bs(e,t,n){var r,a=t.pendingProps,i=ei.current,s=!1,u=!!(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Sa(ei,1&i),null===e)return lo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=a.children,e=a.fallback,s?(a=t.mode,s=t.child,u={mode:"hidden",children:u},1&a||null===s?s=Rl(u,a,0,null):(s.childLanes=0,s.pendingProps=u),e=Nl(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rs(n),t.memoizedState=Ns,e):Ms(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,Ls(e,t,s,r=cs(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Rl({mode:"visible",children:r.children},a,0,null),(i=Nl(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&ko(t,e.child,null,s),t.child.memoizedState=Rs(s),t.memoizedState=Ns,i);if(!(1&t.mode))return Ls(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Ls(e,t,s,r=cs(i=Error(o(419)),r,void 0))}if(u=!!(s&e.childLanes),bs||u){if(null!==(r=Au)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=a&(r.suspendedLanes|s)?0:a)&&a!==i.retryLane&&(i.retryLane=a,No(e,a),nl(r,e,a,-1))}return ml(),Ls(e,t,s,r=cs(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Fl.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=la(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Wa[Ga++]=Qa,Wa[Ga++]=Ja,Wa[Ga++]=Ka,Qa=e.id,Ja=e.overflow,Ka=t),t=Ms(t,r.children),t.flags|=4096,t)}(e,t,u,a,r,i,n);if(s){s=a.fallback,u=t.mode,r=(i=e.child).sibling;var l={mode:"hidden",children:a.children};return 1&u||t.child===i?(a=jl(i,l)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=l,t.deletions=null),null!==r?s=jl(r,s):(s=Nl(s,u,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,u=null===(u=e.child.memoizedState)?Rs(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=Ns,a}return e=(s=e.child).sibling,a=jl(s,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Ms(e,t){return(t=Rl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ls(e,t,n,r){return null!==r&&mo(r),ko(t,e.child,null,n),(e=Ms(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function zs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ao(e.return,t,n)}function $s(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function qs(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Ds(e,t,r.children,n),2&(r=ei.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zs(e,n,t);else if(19===e.tag)zs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Sa(ei,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$s(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ti(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$s(t,!0,n,null,o);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Us(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ru|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=jl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=jl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hs(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ws(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vs(t),null;case 1:case 17:return Oa(t.type)&&ja(),Vs(t),null;case 3:return r=t.stateNode,Jo(),Ca(Aa),Ca(xa),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(il(oo),oo=null))),Os(e,t),Vs(t),null;case 5:Xo(t);var a=Ko(Go.current);if(n=t.type,null!==e&&null!=t.stateNode)js(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Vs(t),null}if(e=Ko(Vo.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[fa]=i,e=!!(1&t.mode),n){case"dialog":Lr("cancel",r),Lr("close",r);break;case"iframe":case"object":case"embed":Lr("load",r);break;case"video":case"audio":for(a=0;a<Nr.length;a++)Lr(Nr[a],r);break;case"source":Lr("error",r);break;case"img":case"image":case"link":Lr("error",r),Lr("load",r);break;case"details":Lr("toggle",r);break;case"input":Q(r,i),Lr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Lr("invalid",r);break;case"textarea":ae(r,i),Lr("invalid",r)}for(var u in ye(n,i),a=null,i)if(i.hasOwnProperty(u)){var l=i[u];"children"===u?"string"==typeof l?r.textContent!==l&&(!0!==i.suppressHydrationWarning&&Yr(r.textContent,l,e),a=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==i.suppressHydrationWarning&&Yr(r.textContent,l,e),a=["children",""+l]):s.hasOwnProperty(u)&&null!=l&&"onScroll"===u&&Lr("scroll",r)}switch(n){case"input":V(r),X(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Xr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[pa]=t,e[fa]=r,Ts(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Lr("cancel",e),Lr("close",e),a=r;break;case"iframe":case"object":case"embed":Lr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Nr.length;a++)Lr(Nr[a],e);a=r;break;case"source":Lr("error",e),a=r;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),a=r;break;case"details":Lr("toggle",e),a=r;break;case"input":Q(e,r),a=K(e,r),Lr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=B({},r,{value:void 0}),Lr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Lr("invalid",e)}for(i in ye(n,a),l=a)if(l.hasOwnProperty(i)){var c=l[i];"style"===i?ge(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=c&&"onScroll"===i&&Lr("scroll",e):null!=c&&b(e,i,c,u))}switch(n){case"input":V(e),X(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Z(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vs(t),null;case 6:if(e&&null!=t.stateNode)Ps(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Ko(Go.current),Ko(Vo.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Yr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return Vs(t),null;case 13:if(Ca(ei),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&1&t.mode&&!(128&t.flags))fo(),ho(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else ho(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vs(t),i=!1}else null!==oo&&(il(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ei.current?0===Pu&&(Pu=3):ml())),null!==t.updateQueue&&(t.flags|=4),Vs(t),null);case 4:return Jo(),Os(e,t),null===e&&qr(t.stateNode.containerInfo),Vs(t),null;case 10:return xo(t.type._context),Vs(t),null;case 19:if(Ca(ei),null===(i=t.memoizedState))return Vs(t),null;if(r=!!(128&t.flags),null===(u=i.rendering))if(r)Hs(i,!1);else{if(0!==Pu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(u=ti(e))){for(t.flags|=128,Hs(i,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(u=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,e=u.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Sa(ei,1&ei.current|2),t.child}e=e.sibling}null!==i.tail&&Je()>qu&&(t.flags|=128,r=!0,Hs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Hs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!u.alternate&&!ao)return Vs(t),null}else 2*Je()-i.renderingStartTime>qu&&1073741824!==n&&(t.flags|=128,r=!0,Hs(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=i.last)?n.sibling=u:t.child=u,i.last=u)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Je(),t.sibling=null,n=ei.current,Sa(ei,r?1&n|2:1&n),t):(Vs(t),null);case 22:case 23:return dl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ou)&&(Vs(t),6&t.subtreeFlags&&(t.flags|=8192)):Vs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Gs(e,t){switch(to(t),t.tag){case 1:return Oa(t.type)&&ja(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),Ca(Aa),Ca(xa),ri(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Xo(t),null;case 13:if(Ca(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(ei),null;case 4:return Jo(),null;case 10:return xo(t.type._context),null;case 22:case 23:return dl(),null;default:return null}}Ts=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Os=function(){},js=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Ko(Vo.current);var o,i=null;switch(n){case"input":a=K(e,a),r=K(e,r),i=[];break;case"select":a=B({},a,{value:void 0}),r=B({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Xr)}for(c in ye(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var u=a[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(u=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&l!==u&&(null!=l||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(i=i||[]).push(c,l)):"children"===c?"string"!=typeof l&&"number"!=typeof l||(i=i||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&Lr("scroll",e),i||u===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Ps=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Qs=!1,Js="function"==typeof WeakSet?WeakSet:Set,Ys=null;function Xs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){El(e,t,r)}else n.current=null}function eu(e,t,n){try{n()}catch(r){El(e,t,r)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&eu(t,n,o)}a=a.next}while(a!==r)}}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function au(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[fa],delete t[ma],delete t[ga],delete t[va])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iu(e){return 5===e.tag||3===e.tag||4===e.tag}function su(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Xr));
vendor: 5,746 bytes, line 2
2else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function lu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(lu(e,t,n),e=e.sibling;null!==e;)lu(e,t,n),e=e.sibling}var cu=null,du=!1;function pu(e,t,n){for(n=n.child;null!==n;)fu(e,t,n),n=n.sibling}function fu(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Qs||Xs(n,t);case 6:var r=cu,a=du;cu=null,pu(e,t,n),du=a,null!==(cu=r)&&(du?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(du?(e=cu,n=n.stateNode,8===e.nodeType?ua(e.parentNode,n):1===e.nodeType&&ua(e,n),qt(e)):ua(cu,n.stateNode));break;case 4:r=cu,a=du,cu=n.stateNode.containerInfo,du=!0,pu(e,t,n),cu=r,du=a;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&eu(n,t,i),a=a.next}while(a!==r)}pu(e,t,n);break;case 1:if(!Qs&&(Xs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){El(n,t,s)}pu(e,t,n);break;case 21:pu(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,pu(e,t,n),Qs=r):pu(e,t,n);break;default:pu(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach((function(t){var r=xl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:cu=u.stateNode,du=!1;break e;case 3:case 4:cu=u.stateNode.containerInfo,du=!0;break e}u=u.return}if(null===cu)throw Error(o(160));fu(i,s,a),cu=null,du=!1;var l=a.alternate;null!==l&&(l.return=null),a.return=null}catch(c){El(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gu(t,e),t=t.sibling}function gu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),vu(e),4&r){try{nu(3,e,e.return),ru(3,e)}catch(g){El(e,e.return,g)}try{nu(5,e,e.return)}catch(g){El(e,e.return,g)}}break;case 1:mu(t,e),vu(e),512&r&&null!==n&&Xs(n,n.return);break;case 5:if(mu(t,e),vu(e),512&r&&null!==n&&Xs(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(g){El(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,u=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===u&&"radio"===i.type&&null!=i.name&&J(a,i),be(u,s);var c=be(u,i);for(s=0;s<l.length;s+=2){var d=l[s],p=l[s+1];"style"===d?ge(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):b(a,d,p,c)}switch(u){case"input":Y(a,i);break;case"textarea":oe(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(a,!!i.multiple,h,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[fa]=i}catch(g){El(e,e.return,g)}}break;case 6:if(mu(t,e),vu(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(g){El(e,e.return,g)}}break;case 3:if(mu(t,e),vu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{qt(t.containerInfo)}catch(g){El(e,e.return,g)}break;case 4:default:mu(t,e),vu(e);break;case 13:mu(t,e),vu(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||($u=Je())),4&r&&hu(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(c=Qs)||d,mu(t,e),Qs=c):mu(t,e),vu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Ys=e,d=e.child;null!==d;){for(p=Ys=d;null!==Ys;){switch(h=(f=Ys).child,f.tag){case 0:case 11:case 14:case 15:nu(4,f,f.return);break;case 1:Xs(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){El(r,n,g)}}break;case 5:Xs(f,f.return);break;case 22:if(null!==f.memoizedState){ku(p);continue}}null!==h?(h.return=f,Ys=h):ku(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(u=p.stateNode,s=null!=(l=p.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,u.style.display=me("display",s))}catch(g){El(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(g){El(e,e.return,g)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:mu(t,e),vu(e),4&r&&hu(e);case 21:}}function vu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iu(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),lu(e,su(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;uu(e,su(e),i);break;default:throw Error(o(161))}}catch(s){El(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yu(e,t,n){Ys=e,bu(e,t,n)}function bu(e,t,n){for(var r=!!(1&e.mode);null!==Ys;){var a=Ys,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Ks;if(!i){var s=a.alternate,u=null!==s&&null!==s.memoizedState||Qs;s=Ks;var l=Qs;if(Ks=i,(Qs=u)&&!l)for(Ys=a;null!==Ys;
vendor: 9,146 bytes, line 2
2)u=(i=Ys).child,22===i.tag&&null!==i.memoizedState?wu(a):null!==u?(u.return=i,Ys=u):wu(a);for(;null!==o;)Ys=o,bu(o,t,n),o=o.sibling;Ys=a,Ks=s,Qs=l}Du(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Ys=o):Du(e)}}function Du(e){for(;null!==Ys;){var t=Ys;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Qs||ru(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Zo(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Zo(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&qt(p)}}}break;default:throw Error(o(163))}Qs||512&t.flags&&au(t)}catch(f){El(t,t.return,f)}}if(t===e){Ys=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ys=n;break}Ys=t.return}}function ku(e){for(;null!==Ys;){var t=Ys;if(t===e){Ys=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ys=n;break}Ys=t.return}}function wu(e){for(;null!==Ys;){var t=Ys;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ru(4,t)}catch(u){El(t,n,u)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(u){El(t,a,u)}}var o=t.return;try{au(t)}catch(u){El(t,o,u)}break;case 5:var i=t.return;try{au(t)}catch(u){El(t,i,u)}}}catch(u){El(t,t.return,u)}if(t===e){Ys=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Ys=s;break}Ys=t.return}}var _u,Eu=Math.ceil,Cu=D.ReactCurrentDispatcher,Su=D.ReactCurrentOwner,Fu=D.ReactCurrentBatchConfig,xu=0,Au=null,Iu=null,Tu=0,Ou=0,ju=Ea(0),Pu=0,Nu=null,Ru=0,Bu=0,Mu=0,Lu=null,zu=null,$u=0,qu=1/0,Uu=null,Zu=!1,Hu=null,Vu=null,Wu=!1,Gu=null,Ku=0,Qu=0,Ju=null,Yu=-1,Xu=0;function el(){return 6&xu?Je():-1!==Yu?Yu:Yu=Je()}function tl(e){return 1&e.mode?2&xu&&0!==Tu?Tu&-Tu:null!==go.transition?(0===Xu&&(Xu=mt()),Xu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Qt(e.type):1}function nl(e,t,n,r){if(50<Qu)throw Qu=0,Ju=null,Error(o(185));vt(e,n,r),2&xu&&e===Au||(e===Au&&(!(2&xu)&&(Bu|=n),4===Pu&&sl(e,Tu)),rl(e,r),1===n&&0===xu&&!(1&t.mode)&&(qu=Je()+500,La&&qa()))}function rl(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,u=a[i];-1===u?s&n&&!(s&r)||(a[i]=ft(s,t)):u<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=pt(e,e===Au?Tu:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){La=!0,$a(e)}(ul.bind(null,e)):$a(ul.bind(null,e)),ia((function(){!(6&xu)&&qa()})),n=null;else{switch(Dt(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Al(n,al.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function al(e,t){if(Yu=-1,Xu=0,6&xu)throw Error(o(327));var n=e.callbackNode;if(wl()&&e.callbackNode!==n)return null;var r=pt(e,e===Au?Tu:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gl(e,r);else{t=r;var a=xu;xu|=2;var i=hl();for(Au===e&&Tu===t||(Uu=null,qu=Je()+500,pl(e,t));;)try{yl();break}catch(u){fl(e,u)}Fo(),Cu.current=i,xu=a,null!==Iu?t=0:(Au=null,Tu=0,t=Pu)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=ol(e,a))),1===t)throw n=Nu,pl(e,0),sl(e,r),rl(e,Je()),n;if(6===t)sl(e,r);else{if(a=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=gl(e,r),2===t&&(i=ht(e),0!==i&&(r=i,t=ol(e,i))),1!==t)))throw n=Nu,pl(e,0),sl(e,r),rl(e,Je()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:kl(e,zu,Uu);break;case 3:if(sl(e,r),(130023424&r)===r&&10<(t=$u+500-Je())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){el(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(kl.bind(null,e,zu,Uu),t);break}kl(e,zu,Uu);break;case 4:if(sl(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Eu(r/1960))-r)){e.timeoutHandle=ra(kl.bind(null,e,zu,Uu),r);break}kl(e,zu,Uu);break;default:throw Error(o(329))}}}return rl(e,Je()),e.callbackNode===n?al.bind(null,e):null}function ol(e,t){var n=Lu;return e.current.memoizedState.isDehydrated&&(pl(e,t).flags|=256),2!==(e=gl(e,t))&&(t=zu,zu=n,null!==t&&il(t)),e}function il(e){null===zu?zu=e:zu.push.apply(zu,e)}function sl(e,t){for(t&=~Mu,t&=~Bu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function ul(e){if(6&xu)throw Error(o(327));wl();var t=pt(e,0);if(!(1&t))return rl(e,Je()),null;var n=gl(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ol(e,r))}if(1===n)throw n=Nu,pl(e,0),sl(e,t),rl(e,Je()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,kl(e,zu,Uu),rl(e,Je()),null}function ll(e,t){var n=xu;xu|=1;try{return e(t)}finally{0===(xu=n)&&(qu=Je()+500,La&&qa())}}function cl(e){null!==Gu&&0===Gu.tag&&!(6&xu)&&wl();var t=xu;xu|=1;var n=Fu.transition,r=bt;try{if(Fu.transition=null,bt=1,e)return e()}finally{bt=r,Fu.transition=n,!(6&(xu=t))&&qa()}}function dl(){Ou=ju.current,Ca(ju)}function pl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Iu)for(n=Iu.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&ja();break;case 3:Jo(),Ca(Aa),Ca(xa),ri();break;case 5:Xo(r);break;case 4:Jo();break;case 13:case 19:Ca(ei);break;case 10:xo(r.type._context);break;case 22:case 23:dl()}n=n.return}if(Au=e,Iu=e=jl(e.current,null),Tu=Ou=t,Pu=0,Nu=null,Mu=Bu=Ru=0,zu=Lu=null,null!==Oo){for(t=0;t<Oo.length;t++)if(null!==(r=(n=Oo[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}Oo=null}return e}function fl(e,t){for(;;){var n=Iu;try{if(Fo(),ai.current=Yi,ci){for(var r=si.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ci=!1}if(ii=0,li=ui=si=null,di=!1,pi=0,Su.current=null,null===n||null===n.return){Pu=1,Nu=t,Iu=null;break}e:{var i=e,s=n.return,u=n,l=t;if(t=Tu,u.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l,d=u,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,vs(h,s,u,0,t),1&h.mode&&ms(i,c,t),l=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(l),t.updateQueue=g}else m.add(l);break e}if(!(1&t)){ms(i,c,t),ml();break e}l=Error(o(426))}else if(ao&&1&u.mode){var v=gs(s);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vs(v,s,u,0,t),mo(ls(l,u));break e}}i=l=ls(l,u),4!==Pu&&(Pu=2),null===Lu?Lu=[i]:Lu.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,qo(i,fs(0,l,t));break e;case 1:u=l;var y=i.type,b=i.stateNode;if(!(128&i.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Vu&&Vu.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,qo(i,hs(i,u,t));break e}}i=i.return}while(null!==i)}Dl(n)}catch(D){t=D,Iu===n&&null!==n&&(Iu=n=n.return);continue}break}}function hl(){var e=Cu.current;return Cu.current=Yi,null===e?Yi:e}function ml(){0!==Pu&&3!==Pu&&2!==Pu||(Pu=4),null===Au||!(268435455&Ru)&&!(268435455&Bu)||sl(Au,Tu)}function gl(e,t){var n=xu;xu|=2;var r=hl();for(Au===e&&Tu===t||(Uu=null,pl(e,t));;)try{vl();break}catch(a){fl(e,a)}if(Fo(),xu=n,Cu.current=r,null!==Iu)throw Error(o(261));return Au=null,Tu=0,Pu}function vl(){for(;null!==Iu;)bl(Iu)}function yl(){for(;null!==Iu&&!Ke();)bl(Iu)}function bl(e){var t=_u(e.alternate,e,Ou);e.memoizedProps=e.pendingProps,null===t?Dl(e):Iu=t,Su.current=null}function Dl(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Iu=n);if(null===e)return Pu=6,void(Iu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ws(n,t,Ou)))return void(Iu=n);if(null!==(t=t.sibling))return void(Iu=t);Iu=t=e}while(null!==t);0===Pu&&(Pu=5)}function kl(e,t,n){var r=bt,a=Fu.transition;try{Fu.transition=null,bt=1,function(e,t,n,r){do{wl()}while(null!==Gu);if(6&xu)throw Error(o(327));
vendor: 5,376 bytes, line 2
2n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Au&&(Iu=Au=null,Tu=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Wu||(Wu=!0,Al(tt,(function(){return wl(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=Fu.transition,Fu.transition=null;var s=bt;bt=1;var u=xu;xu|=4,Su.current=null,function(e,t){if(ea=Zt,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var s=0,u=-1,l=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==n||0!==a&&3!==p.nodeType||(u=s+a),p!==i||0!==r&&3!==p.nodeType||(l=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===n&&++c===a&&(u=s),f===i&&++d===r&&(l=s),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}n=-1===u||-1===l?null:{start:u,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Zt=!1,Ys=t;null!==Ys;)if(e=(t=Ys).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ys=e;else for(;null!==Ys;){t=Ys;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var D=t.stateNode.containerInfo;1===D.nodeType?D.textContent="":9===D.nodeType&&D.documentElement&&D.removeChild(D.documentElement);break;default:throw Error(o(163))}}catch(k){El(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Ys=e;break}Ys=t.return}m=tu,tu=!1}(e,n),gu(n,e),hr(ta),Zt=!!ea,ta=ea=null,e.current=n,yu(n,e,a),Qe(),xu=u,bt=s,Fu.transition=i}else e.current=n;if(Wu&&(Wu=!1,Gu=e,Ku=a),i=e.pendingLanes,0===i&&(Vu=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),rl(e,Je()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Zu)throw Zu=!1,e=Hu,Hu=null,e;!!(1&Ku)&&0!==e.tag&&wl(),i=e.pendingLanes,1&i?e===Ju?Qu++:(Qu=0,Ju=e):Qu=0,qa()}(e,t,n,r)}finally{Fu.transition=a,bt=r}return null}function wl(){if(null!==Gu){var e=Dt(Ku),t=Fu.transition,n=bt;try{if(Fu.transition=null,bt=16>e?16:e,null===Gu)var r=!1;else{if(e=Gu,Gu=null,Ku=0,6&xu)throw Error(o(331));var a=xu;for(xu|=4,Ys=e.current;null!==Ys;){var i=Ys,s=i.child;if(16&Ys.flags){var u=i.deletions;if(null!==u){for(var l=0;l<u.length;l++){var c=u[l];for(Ys=c;null!==Ys;){var d=Ys;switch(d.tag){case 0:case 11:case 15:nu(8,d,i)}var p=d.child;if(null!==p)p.return=d,Ys=p;else for(;null!==Ys;){var f=(d=Ys).sibling,h=d.return;if(ou(d),d===c){Ys=null;break}if(null!==f){f.return=h,Ys=f;break}Ys=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Ys=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Ys=s;else e:for(;null!==Ys;){if(2048&(i=Ys).flags)switch(i.tag){case 0:case 11:case 15:nu(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Ys=y;break e}Ys=i.return}}var b=e.current;for(Ys=b;null!==Ys;){var D=(s=Ys).child;if(2064&s.subtreeFlags&&null!==D)D.return=s,Ys=D;else e:for(s=b;null!==Ys;){if(2048&(u=Ys).flags)try{switch(u.tag){case 0:case 11:case 15:ru(9,u)}}catch(w){El(u,u.return,w)}if(u===s){Ys=null;break e}var k=u.sibling;if(null!==k){k.return=u.return,Ys=k;break e}Ys=u.return}}if(xu=a,qa(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(w){}r=!0}return r}finally{bt=n,Fu.transition=t}}return!1}function _l(e,t,n){e=zo(e,t=fs(0,t=ls(n,t),1),1),t=el(),null!==e&&(vt(e,1,t),rl(e,t))}function El(e,t,n){if(3===e.tag)_l(e,e,n);else for(;null!==t;){if(3===t.tag){_l(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vu||!Vu.has(r))){t=zo(t,e=hs(t,e=ls(n,e),1),1),e=el(),null!==t&&(vt(t,1,e),rl(t,e));break}}t=t.return}}function Cl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=el(),e.pingedLanes|=e.suspendedLanes&n,Au===e&&(Tu&n)===n&&(4===Pu||3===Pu&&(130023424&Tu)===Tu&&500>Je()-$u?pl(e,0):Mu|=n),rl(e,t)}function Sl(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=el();null!==(e=No(e,t))&&(vt(e,t,n),rl(e,n))}function Fl(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Sl(e,n)}function xl(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Sl(e,n)}function Al(e,t){return We(e,t)}function Il(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 14,121 bytes, line 2
2ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tl(e,t,n,r){return new Il(e,t,n,r)}function Ol(e){return!(!(e=e.prototype)||!e.isReactComponent)}function jl(e,t){var n=e.alternate;return null===n?((n=Tl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pl(e,t,n,r,a,i){var s=2;if(r=e,"function"==typeof e)Ol(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case _:return Nl(n.children,a,i,t);case E:s=8,a|=8;break;case C:return(e=Tl(12,n,t,2|a)).elementType=C,e.lanes=i,e;case A:return(e=Tl(13,n,t,a)).elementType=A,e.lanes=i,e;case I:return(e=Tl(19,n,t,a)).elementType=I,e.lanes=i,e;case j:return Rl(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case F:s=9;break e;case x:s=11;break e;case T:s=14;break e;case O:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Tl(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Nl(e,t,n,r){return(e=Tl(7,e,r,t)).lanes=n,e}function Rl(e,t,n,r){return(e=Tl(22,e,r,t)).elementType=j,e.lanes=n,e.stateNode={isHidden:!1},e}function Bl(e,t,n){return(e=Tl(6,e,null,t)).lanes=n,e}function Ml(e,t,n){return(t=Tl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ll(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function zl(e,t,n,r,a,o,i,s,u){return e=new Ll(e,t,n,s,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Tl(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bo(o),e}function $l(e){if(!e)return Fa;e:{if(qe(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oa(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Oa(n))return Na(e,n,t)}return t}function ql(e,t,n,r,a,o,i,s,u){return(e=zl(n,r,!0,e,0,o,0,s,u)).context=$l(null),n=e.current,(o=Lo(r=el(),a=tl(n))).callback=null!=t?t:null,zo(n,o,a),e.current.lanes=a,vt(e,a,r),rl(e,r),e}function Ul(e,t,n,r){var a=t.current,o=el(),i=tl(a);return n=$l(n),null===t.context?t.context=n:t.pendingContext=n,(t=Lo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=zo(a,t,i))&&(nl(e,a,i,o),$o(e,a,i)),i}function Zl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vl(e,t){Hl(e,t),(e=e.alternate)&&Hl(e,t)}_u=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Aa.current)bs=!0;else{if(!(e.lanes&n||128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:As(t),ho();break;case 5:Yo(t);break;case 1:Oa(t.type)&&Ra(t);break;case 4:Qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Sa(_o,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Sa(ei,1&ei.current),t.flags|=128,null):n&t.child.childLanes?Bs(e,t,n):(Sa(ei,1&ei.current),null!==(e=Zs(e,t,n))?e.sibling:null);Sa(ei,1&ei.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return qs(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Sa(ei,ei.current),r)break;return null;case 22:case 23:return t.lanes=0,Es(e,t,n)}return Zs(e,t,n)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,ao&&1048576&t.flags&&Xa(t,Va,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var a=Ta(t,xa.current);Io(t,n),a=gi(null,t,r,e,a,n);var i=vi();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oa(r)?(i=!0,Ra(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Bo(t),a.updater=as,t.stateNode=a,a._reactInternals=t,us(t,r,e,n),t=xs(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),Ds(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Ol(e)?1:0;if(null!=e){if((e=e.$$typeof)===x)return 11;if(e===T)return 14}return 2}(r),e=ns(r,e),a){case 0:t=Ss(null,t,r,e,n);break e;case 1:t=Fs(null,t,r,e,n);break e;case 11:t=ks(null,t,r,e,n);break e;case 14:t=ws(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ss(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 1:return r=t.type,a=t.pendingProps,Fs(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 3:e:{if(As(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Mo(e,t),Uo(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Is(e,t,r,n,a=ls(Error(o(423)),t));break e}if(r!==a){t=Is(e,t,r,n,a=ls(Error(o(424)),t));break e}for(ro=la(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=wo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=Zs(e,t,n);break e}Ds(e,t,r,n)}t=t.child}return t;case 5:return Yo(t),null===e&&lo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),Cs(e,t),Ds(e,t,s,n),t.child;case 6:return null===e&&lo(t),null;case 13:return Bs(e,t,n);case 4:return Qo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ko(t,null,r,n):Ds(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ks(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 7:return Ds(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ds(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Sa(_o,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Aa.current){t=Zs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var u=i.dependencies;if(null!==u){s=i.child;for(var l=u.firstContext;null!==l;){if(l.context===r){if(1===i.tag){(l=Lo(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),Ao(i.return,n,t),u.lanes|=n;break}l=l.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),Ao(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}Ds(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Io(t,n),r=r(a=To(a)),t.flags|=1,Ds(e,t,r,n),t.child;case 14:return a=ns(r=t.type,t.pendingProps),ws(e,t,r,a=ns(r.type,a),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ns(r,a),Us(e,t),t.tag=1,Oa(r)?(e=!0,Ra(t)):e=!1,Io(t,n),is(t,r,a),us(t,r,a,n),xs(null,t,r,!0,e,n);case 19:return qs(e,t,n);case 22:return Es(e,t,n)}throw Error(o(156,t.tag))};var Wl="function"==typeof reportError?reportError:function(e){console.error(e)};function Gl(e){this._internalRoot=e}function Kl(e){this._internalRoot=e}function Ql(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yl(){}function Xl(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var s=a;a=function(){var e=Zl(i);s.call(e)}}Ul(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Zl(i);o.call(e)}}var i=ql(t,r,e,0,null,!1,0,"",Yl);return e._reactRootContainer=i,e[ha]=i.current,qr(8===e.nodeType?e.parentNode:e),cl(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var s=r;r=function(){var e=Zl(u);s.call(e)}}var u=zl(e,0,!1,null,0,!1,0,"",Yl);return e._reactRootContainer=u,e[ha]=u.current,qr(8===e.nodeType?e.parentNode:e),cl((function(){Ul(t,u,n,r)})),u}(n,t,e,a,r);return Zl(i)}Kl.prototype.render=Gl.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Ul(e,t,null,null)},Kl.prototype.unmount=Gl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cl((function(){Ul(null,e,null,null)})),t[ha]=null}},Kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jt.length&&0!==t&&t<jt[n].priority;n++);jt.splice(n,0,e),0===n&&Bt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),rl(t,Je()),!(6&xu)&&(qu=Je()+500,qa()))}break;case 13:cl((function(){var t=No(e,1);if(null!==t){var n=el();nl(t,e,1,n)}})),Vl(e,1)}},wt=function(e){if(13===e.tag){var t=No(e,134217728);if(null!==t)nl(t,e,134217728,el());Vl(e,134217728)}},_t=function(e){if(13===e.tag){var t=tl(e),n=No(e,t);if(null!==n)nl(n,e,t,el());Vl(e,t)}},Et=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},we=function(e,t,n){switch(t){case"input":if(Y(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ka(r);if(!a)throw Error(o(90));W(r),Y(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},xe=ll,Ae=cl;var ec={usingClientEntryPoint:!1,Events:[ba,Da,ka,Se,Fe,ll]},tc={findFiberByHostInstance:ya,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:D.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{at=rc.inject(nc),ot=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ql(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Ql(e))throw Error(o(299));var n=!1,r="",a=Wl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=zl(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,qr(8===e.nodeType?e.parentNode:e),new Gl(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return cl(e)},t.hydrate=function(e,t,n){if(!Jl(t))throw Error(o(200));return Xl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ql(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=Wl;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=ql(t,null,e,1,null!=n?n:null,a,0,i,s),e[ha]=t.current,qr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Kl(t)},t.render=function(e,t,n){if(!Jl(t))throw Error(o(200));return Xl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Jl(e))throw Error(o(40));return!!e._reactRootContainer&&(cl((function(){Xl(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=ll,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Jl(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Xl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"}
vendor: 5,090 bytes, line 2
2,5338:(e,t,n)=>{"use strict";var r=n(961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(2551)},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,u,l,c;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(u=s;0!=u--;)if(!o(e[u],i[u]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!i.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!o(u.value[1],i.get(u.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!i.has(u.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(u=s;0!=u--;)if(e[u]!==i[u])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(i,l[u]))return!1;if(t&&e instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!e.$$typeof)&&!o(e[l[u]],i[l[u]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},545:(e,t,n)=>{"use strict";n.d(t,{mg:()=>X,vd:()=>H});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),s=n.n(i),u=n(311),l=n.n(u),c=n(2833),d=n.n(c);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},v={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},b={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},D=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},w=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),_=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=_(e,g.TITLE),n=_(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=_(e,"defaultTitle");return t||r||void 0},C=function(e){return _(e,"onChangeClientState")||function(){}},S=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},F=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},x=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var s=o[i],u=s.toLowerCase();-1===t.indexOf(u)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][l]&&(a[n][l]=!0,!0)}
2)).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var s=o[i],u=p({},r[s],a[s]);r[s]=u}return e}),[]).reverse()},A=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},I=function(e){return Array.isArray(e)?e.join(""):e},T=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},j=[g.NOSCRIPT,g.SCRIPT,g.STYLE],P=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},N=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},B=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},M=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=R(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=N(n),o=I(t);return a?"<"+e+' data-rh="true" '+a+">"+P(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+P(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t)},toString:function(){return N(t)}};default:return{toComponent:function(){return B(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+P(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===j.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},L=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,s=e.title,u=void 0===s?"":s,l=e.titleAttributes,c=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=T(e.metaTags,b),o=T(t,v),i=T(n,y);return{priorityMethods:{toComponent:function(){return[].concat(B(g.META,a.priority),B(g.LINK,o.priority),B(g.SCRIPT,i.priority))},toString:function(){return M(g.META,a.priority,r)+" "+M(g.LINK,o.priority,r)+" "+M(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);f=h.priorityMethods,c=h.linkTags,d=h.metaTags,p=h.scriptTags}return{priority:f,base:M(g.BASE,t,r),bodyAttributes:M("bodyAttributes",n,r),htmlAttributes:M("htmlAttributes",a,r),link:M(g.LINK,c,r),meta:M(g.META,d,r),noscript:M(g.NOSCRIPT,o,r),script:M(g.SCRIPT,p,r),style:M(g.STYLE,i,r),title:M(g.TITLE,{title:u,titleAttributes:l},r)}},z=[],$=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=L({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},q=r.createContext({}),U=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),Z="undefined"!=typeof document,H=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement(q.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);H.canUseDOM=Z,H.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)}
vendor: 3,878 bytes, line 2
2)),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),s=0;s<i.length;s+=1){var u=i[s],l=t[u]||"";n.getAttribute(u)!==l&&n.setAttribute(u,l),-1===a.indexOf(u)&&a.push(u);var c=o.indexOf(u);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},G=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,u=e.scriptTags,l=e.styleTags,c=e.title,d=e.titleAttributes;W(g.BODY,e.bodyAttributes),W(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=I(e)),W(g.TITLE,t)}(c,d);var p={baseTag:V(g.BASE,n),linkTags:V(g.LINK,a),metaTags:V(g.META,o),noscriptTags:V(g.NOSCRIPT,i),scriptTags:V(g.SCRIPT,u),styleTags:V(g.STYLE,l)},f={},h={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(h[e]=p[e].oldTags)})),t&&t(),s(e,f,h)},K=null,Q=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:F(["href"],e),bodyAttributes:S("bodyAttributes",e),defer:_(e,"defer"),encode:_(e,"encodeSpecialCharacters"),htmlAttributes:S("htmlAttributes",e),linkTags:x(g.LINK,["rel","href"],e),metaTags:x(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:x(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:x(g.SCRIPT,["src","innerHTML"],e),styleTags:x(g.STYLE,["cssText"],e),title:E(e),titleAttributes:S("titleAttributes",e),prioritizeSeoTags:A(e,"prioritizeSeoTags")});H.canUseDOM?(t=o,K&&cancelAnimationFrame(K),t.defer?K=requestAnimationFrame((function(){G(t,(function(){K=null}))})):(G(t),K=null)):L&&(a=L(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Q.propTypes={context:U.isRequired},Q.displayName="HelmetDispatcher";var J=["children"],Y=["children"],X=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(O(this.props,"helmetData"),O(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case g.BODY:return p({},a,{bodyAttributes:p({},o)});case g.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n}
2,n.warnOnInvalidChildren=function(e,t){return l()(D.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+D.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),l()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=m(r,J),s=Object.keys(i).reduce((function(e,t){return e[w[t]||t]=i[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():n.warnOnInvalidChildren(e,o),u){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,Y),a=p({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof $||(o=new $(o.context,o.instances)),o?r.createElement(Q,p({},a,{context:o.value,helmetData:void 0})):r.createElement(q.Consumer,null,(function(e){return r.createElement(Q,p({},a,{context:e}))}))},t}(r.Component);X.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},X.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},X.displayName="Helmet"},2799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,D=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case m:case u:return e;default:return t}}case a:return t}}}function w(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return w(e)||k(e)===c},t.isConcurrentMode=w,t.isContextConsumer=function(e){return k(e)===l},t.isContextProvider=function(e){return k(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===D||e.$$typeof===v)},t.typeOf=k},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},3259:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var s=n(6540),u=[],l=[];var c=s.createContext(null);function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function h(e,t){var d,p;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var h=i({loader:null,loading:null,delay:200,timeout:null,render:f,
2webpack:null,modules:null},t),m=null;function g(){return m||(m=e(h.loader)),m.promise}return u.push(g),"function"==typeof h.webpack&&l.push((function(){if((0,h.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),p=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),m=e(h.loader),r._loadModule()})),g(),r.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context&&Array.isArray(h.modules)&&h.modules.forEach((function(t){e.context.report(t)})),m.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),h.timeout));var n=function(){t({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts()};m.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(s.Component),o(d,"contextType",c),p}function m(e){return h(d,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return h(p,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return s.createElement(c.Provider,{value:{report:this.props.report}},s.Children.only(this.props.children))},t}(s.Component);function v(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return v(e)}))}m.Capture=g,m.preloadAll=function(){return new Promise((function(e,t){v(u).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){v(l).then(e,e)}))},e.exports=m},2831:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,v:()=>s});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.B6)(t,e):n.length?n[n.length-1].match:r.Ix.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map((function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})}))):null}},4625:(e,t,n)=>{"use strict";n.d(t,{I9:()=>d,Kd:()=>c,N_:()=>v,k2:()=>D});var r=n(6347),a=n(2892),o=n(6540),i=n(1513),s=n(8168),u=n(8587),l=n(1561),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.TM)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);var p=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},h=function(e){return e},m=o.forwardRef;void 0===m&&(m=h);var g=m((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,u.A)(e,["innerRef","navigate","onClick"]),l=i.target,c=(0,s.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||l&&"_self"!==l||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=h!==m&&t||n,o.createElement("a",c)}));var v=m((function(e,t){var n=e.component,a=void 0===n?g:n,c=e.replace,d=e.to,v=e.innerRef,y=(0,u.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,l.A)(!1);var n=e.history,r=f(p(d,e.location),e.location),u=r?n.createHref(r):"",g=(0,s.A)({},y,{href:u,navigate:function(){var t=p(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(f(t));(c||r?n.replace:n.push)(t)}});
2return h!==m?g.ref=t||v:g.innerRef=v,o.createElement(a,g)}))})),y=function(e){return e},b=o.forwardRef;void 0===b&&(b=y);var D=b((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,h=e.className,m=e.exact,g=e.isActive,D=e.location,k=e.sensitive,w=e.strict,_=e.style,E=e.to,C=e.innerRef,S=(0,u.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,l.A)(!1);var n=D||e.location,i=f(p(E,n),n),u=i.pathname,F=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=F?(0,r.B6)(n.pathname,{path:F,exact:m,sensitive:k,strict:w}):null,A=!!(g?g(x,n):x),I="function"==typeof h?h(A):h,T="function"==typeof _?_(A):_;A&&(I=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(I,c),T=(0,s.A)({},T,d));var O=(0,s.A)({"aria-current":A&&a||null,className:I,style:T,to:i},S);return y!==b?O.ref=t||C:O.innerRef=C,o.createElement(v,O)}))}))},6347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>_,Ix:()=>b,W6:()=>O,XZ:()=>y,dO:()=>I,qh:()=>E,zy:()=>j});var r=n(2892),a=n(6540),o=n(5556),i=n.n(o),s=n(1513),u=n(1561),l=n(8168),c=n(5302),d=n.n(c),p=(n(4363),n(8587)),f=(n(4146),1073741823),h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var m=a.createContext||function(e,t){var n,o,s="__create-react-context-"+function(){var e="__global_unique_id__";return h[e]=(h[e]||0)+1}()+"__",u=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);u.childContextTypes=((n={})[s]=i().object.isRequired,n);var l=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(0|e.observedBits)&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return l.contextTypes=((o={})[s]=i().object,o),{Provider:u,Consumer:l}},g=function(e){var t=m();return t.displayName=e,t},v=g("Router-History"),y=g("Router"),b=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var D={},k=1e4,w=0;function _(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,s=void 0!==i&&i,u=n.sensitive,l=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=D[n]||(D[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return w<k&&(r[e]=o,w++),o}
2(n,{end:o,strict:s,sensitive:l}),a=r.regexp,i=r.keys,u=a.exec(e);if(!u)return null;var c=u[0],p=u.slice(1),f=e===c;return o&&!f?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,u.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?_(n.pathname,e.props):t.match,o=(0,l.A)({},t,{location:n,match:r}),i=e.props,s=i.children,c=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===a.Children.count(e)}(s)&&(s=null),a.createElement(y.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:c?a.createElement(c,o):d?d(o):null:"function"==typeof s?s(o):null)}))},t}(a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,l.A)({},t,{pathname:t.pathname.substr(n.length)})}function F(e){return"string"==typeof e?e:(0,s.AO)(e)}function x(e){return function(){(0,u.A)(!1)}}function A(){}a.Component;var I=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,u.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?_(o.pathname,(0,l.A)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var T=a.useContext;function O(){return T(v)}function j(){return T(y).location}},1020:(e,t,n)=>{"use strict";var r=n(6540),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,o={},l=null,c=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:l,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=l,t.jsxs=l},5287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var D=b.prototype=new y;D.constructor=b,m(D,v.prototype),D.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,_={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=t[a]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===o[a]&&(o[a]=u[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:_.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var F=/\/+/g;function x(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}
vendor: 4,257 bytes, line 2
2if(u)return i=i(u=e),e=""===o?"."+x(u,0):o,k(i)?(a="",null!=e&&(a=e.replace(F,"$&/")+"/"),A(i,t,a,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||u&&u.key===i.key?"":(""+i.key).replace(F,"$&/")+"/")+e)),t.push(i)),1;if(u=0,o=""===o?".":o+":",k(e))for(var l=0;l<e.length;l++){var c=o+x(s=e[l],l);u+=A(s,t,a,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),l=0;!(s=e.next()).done;)u+=A(s=s.value,t,a,c=o+x(s,l++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function I(e,t,n){if(null==e)return e;var r=[],a=0;return A(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},j={transition:null},P={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:j,ReactCurrentOwner:_};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,n){I(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=a,t.Profiler=i,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.act=N,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)w.call(t,l)&&!E.hasOwnProperty(l)&&(a[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return O.current.useCallback(e,t)},t.useContext=function(e){return O.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return O.current.useDeferredValue(e)},t.useEffect=function(e,t){return O.current.useEffect(e,t)},t.useId=function(){return O.current.useId()},t.useImperativeHandle=function(e,t,n){return O.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return O.current.useMemo(e,t)},t.useReducer=function(e,t,n){return O.current.useReducer(e,t,n)},t.useRef=function(e){return O.current.useRef(e)},t.useState=function(e){return O.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return O.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return O.current.useTransition()},t.version="18.3.1"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)}
vendor: 5,077 bytes, line 2
2,4848:(e,t,n)=>{"use strict";e.exports=n(1020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,u=e[s],l=s+1,c=e[l];if(0>o(u,n))l<a&&0>o(c,u)?(e[r]=c,e[l]=n,r=l):(e[r]=u,e[s]=n,r=s);else{if(!(l<a&&0>o(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var l=[],c=[],d=1,p=null,f=3,h=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function D(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function k(e){if(g=!1,D(e),!m)if(null!==r(l))m=!0,j(w);else{var t=r(c);null!==t&&P(k,t.startTime-e)}}function w(e,n){m=!1,g&&(g=!1,y(S),S=-1),h=!0;var o=f;try{for(D(n),p=r(l);null!==p&&(!(p.expirationTime>n)||e&&!A());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===r(l)&&a(l),D(n)}else a(l);p=r(l)}if(null!==p)var u=!0;else{var d=r(c);null!==d&&P(k,d.startTime-n),u=!1}return u}finally{p=null,f=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,E=!1,C=null,S=-1,F=5,x=-1;function A(){return!(t.unstable_now()-x<F)}function I(){if(null!==C){var e=t.unstable_now();x=e;var n=!0;try{n=C(!0,e)}finally{n?_():(E=!1,C=null)}}else E=!1}if("function"==typeof b)_=function(){b(I)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,O=T.port2;T.port1.onmessage=I,_=function(){O.postMessage(null)}}else _=function(){v(I,0)};function j(e){C=e,E||(E=!0,_())}function P(e,n){S=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,j(w))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(l)&&e===r(c)&&(g?(y(S),S=-1):g=!0,P(k,o-i))):(e.sortIndex=s,n(l,e),m||h||(m=!0,j(w))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},2833:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var l=o[u];if(!s(l))return!1;var c=e[l],d=t[l];if(!1===(a=n?n.call(r,c,d,l):void 0)||void 0===a&&c!==d)return!1}return!0}},4784:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={title:"Addressfinder",favicon:"img/favicon.ico",titleDelimiter:"|",url:"https://addressfinder.com",baseUrl:"/au/docs/",trailingSlash:!1,noIndex:!1,customFields:{mixpanelApiToken:"b77148177f4115ae2538bf5e7ca04d72",basePortalUrl:"https://portal.addressfinder.net",baseWebsiteUrl:"https://addressfinder.com",baseApiUrl:"https://api.addressfinder.io",currentLocale:"au",nodeEnvironment:"production",apiStatusCheckUrl:"https://api.addressfinder.io/monitoring/check",apiStatusPageUrl:"https://secure-stats.pingdom.com/luuecxuwpb1s/1213677"},onBrokenLinks:"warn",markdown:{format:"mdx",mermaid:!1,emoji:!0,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}
2,hooks:{onBrokenMarkdownLinks:"warn",onBrokenMarkdownImages:"throw"}},i18n:{defaultLocale:"au",locales:["au","nz"],path:"i18n",localeConfigs:{au:{label:"Australia",htmlLang:"en-au",path:"au"},nz:{label:"New Zealand",htmlLang:"en-nz",path:"nz"}}},presets:[["@docusaurus/preset-classic",{blog:!1,docs:{routeBasePath:"",sidebarPath:"./sidebars.ts",admonitions:{keywords:["note","tip","info","danger","warning","success","experimental"],extendDefaults:!0}},theme:{customCss:"./src/css/custom.css"},googleTagManager:{containerId:"GTM-54VFWT6"},sitemap:{lastmod:"date",changefreq:"weekly",priority:.5,ignorePatterns:["/tags/**"],filename:"sitemap.xml"}}]],themeConfig:{image:"img/og-image.png",metadata:[{name:"description",content:"Data verification documentation and guides from Addressfinder, making address verification easy."}],navbar:{items:[{label:"Docs",to:"/",position:"right"},{label:"API",to:"/api/overview",position:"right"},{label:"Pricing",href:"https://addressfinder.com/au/pricing",position:"right",target:"_self"}],logo:{alt:"Addressfinder",src:"img/logo.svg",srcDark:"img/logo-dark.svg",href:"https://addressfinder.com/au",target:"_self"},hideOnScroll:!1},footer:{logo:{alt:"Addressfinder",src:"img/logo.svg",srcDark:"img/logo-dark.svg",href:"https://addressfinder.com/au",target:"_self"},copyright:"Copyright \xa9 2026 Addressfinder",links:[{title:"API Docs",items:[{label:"Address (AU)",to:"/api/au/au-address-autocomplete-api"},{label:"Address (NZ)",to:"/api/nz/nz-address-autocomplete-api"},{label:"Address (Int)",to:"/api/international/int-address-autocomplete-api"},{label:"Email verification",to:"/api/email-verification-api"},{label:"Phone verification",to:"/api/phone-verification-api"},{label:"Error codes",to:"/api/error-codes"},{label:"Status",to:"https://secure-stats.pingdom.com/luuecxuwpb1s/1213677"}]},{title:"Integrations",items:[{label:"Shopify Plus",to:"/integrations/shopify"},{label:"WooCommerce",to:"/integrations/woocommerce"},{label:"Magento",to:"/integrations/magento"},{label:"BigCommerce",to:"/integrations/bigcommerce"},{label:"Hubspot",to:"/integrations/hubspot"},{label:"Spiffy Stores",to:"/integrations/spiffy-stores"},{label:"All integrations",to:"/integrations/overview"}]},{title:"Widget Docs",items:[{label:"Address widget",to:"/address-widget/integration-guide"},{label:"Code generator",to:"/address-widget/code-generator"},{label:"Best practices",to:"/address-widget/best-practices"},{label:"International address",to:"/location-widgets/international-address-autocomplete/integration-guide"},{label:"Location widget",to:"/location-widgets/location-autocomplete"},{label:"Email guide",to:"/email-verification/integration"},{label:"Phone guide",to:"/phone-verification/integration"}]},{title:"Account",items:[{label:"Orgs & Projects",to:"/portal-and-account/organisations-and-projects"},{label:"Domains",to:"/portal-and-account/domains"},{label:"User roles",to:"/portal-and-account/user-roles"},{label:"SSO & SAML",to:"/portal-and-account/sso-and-saml"},{label:"Pricing",href:"https://addressfinder.com/au/pricing"},{label:"Support",href:"https://addressfinder.com/au/contact"}]},{title:"Features",items:[{label:"Address verification",href:"https://addressfinder.com/au/address-ver
2ification"},{label:"Address autocomplete",href:"https://addressfinder.com/au/address-autocomplete"},{label:"Bulk verification",href:"https://addressfinder.com/au/bulk-verification"},{label:"Email verification",href:"https://addressfinder.com/au/email-verification"},{label:"Phone verification",href:"https://addressfinder.com/au/phone-verification"}]}],style:"light"},algolia:{appId:"AY52WZ1GZ2",apiKey:"1aaeb345b8a172ac289dc74e3010697e",indexName:"addressfinder-index",searchPagePath:!1,contextualSearch:!0,searchParameters:{}},prism:{theme:{plain:{color:"#18181b",backgroundColor:"#fafafa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#6ba455"}},{types:["punctuation"],style:{color:"#18181b"}},{types:["property","tag","boolean","number","constant","symbol","deleted"],style:{color:"#3b82f6"}},{types:["selector","attr-name","string","char","builtin","inserted"],style:{color:"#95261f"}},{types:["operator","entity","url","language-cssstring","stylestring"],style:{color:"#18181b",background:"#fafafa"}},{types:["atrule","attr-value","keyword"],style:{color:"#3b82f6"}},{types:["function"],style:{color:"#9333ea"}},{types:["regex","important","variable"],style:{color:"#95261f"}}]},darkTheme:{plain:{color:"#fafafa",backgroundColor:"#27272a"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#6ba455"}},{types:["punctuation"],style:{color:"#fafafa"}},{types:["property","tag","boolean","number","constant","symbol","deleted"],style:{color:"#5eabfd"}},{types:["selector","attr-name","string","char","builtin","inserted"],style:{color:"#fafafa"}},{types:["operator","entity","url","language-cssstring","stylestring"],style:{color:"#fafafa",background:"#27272a"}},{types:["atrule","attr-value","keyword"],style:{color:"#6fb3cf"}},{types:["function"],style:{color:"#b168c0"}},{types:["regex","important","variable"],style:{color:"#e39d7c"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},blog:{sidebar:{groupByYear:!0}},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},plugins:[null],baseUrlIssueBanner:!0,future:{v4:{removeLegacyPostBuildHeadAttribute:!1,useCssCascadeLayers:!1},experimental_faster:{swcJsLoader:!1,swcJsMinimizer:!1,swcHtmlMinimizer:!1,lightningCssMinimizer
vendor: 15,866 bytes, line 2
2:!1,mdxCrossCompilerCache:!1,rspackBundler:!1,rspackPersistentCache:!1,ssgWorkerThreads:!1},experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],tagline:""}},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},2892:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},4164:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},1765:(e,t,n)=>{"use strict";n.d(t,{My:()=>E,f4:()=>X});var r,a,o,i,s=n(6540),u=n(4164),l=Object.create,c=Object.defineProperty,d=Object.defineProperties,p=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,g=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,b=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&b(e,n,t[n]);if(m)for(var n of m(t))y.call(t,n)&&b(e,n,t[n]);return e},k=(e,t)=>d(e,f(t)),w=(e,t)=>{var n={};for(var r in e)v.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&m)for(var r of m(e))t.indexOf(r)<0&&y.call(e,r)&&(n[r]=e[r]);return n},_=(r={"../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var u in n)n.hasOwnProperty(u)&&(i[u]=n[u]);n.hasOwnProperty(s)||(i[s]=o[s])}var l=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===l&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],a||s);var u=t[s],l=r.util.type(u);"Object"!==l||o[i(u)]?"Array"!==l||o[i(u)]||(o[i(u)]=!0,e(u,n,s,o)):(o[i(u)]=!0,e(u,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new s;return u(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,s,c,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var h=0;h<f.length;++h){if(d&&d.cause==p+","+h)return;var m=f[h],g=m.inside,v=!!m.lookbehind,y=!!m.greedy,b=m.alias;if(y&&!m.pattern.global){var D=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,D+"g")}for(var k=m.pattern||m,w=s.next,_=c;w!==t.tail&&!(d&&_>=d.reach);_+=w.value.length,w=w.next){var E=w.value;if(t.length>e.length)return;if(!(E instanceof a)){var C,S=1;if(y){if(!(C=o(k,_,e,v))||C.index>=e.length)break;var F=C.index,x=C.index+C[0].length,A=_;for(A+=w.value.length;F>=A;)A+=(w=w.next).value.length;if(_=A-=w.value.length,w.value instanceof a)continue;for(var I=w;I!==t.tail&&(A<x||"string"==typeof I.value);I=I.next)S++,A+=I.value.length;S--,E=e.slice(_,A),C.index-=_}else if(!(C=o(k,0,E,v)))continue;F=C.index;var T=C[0],O=E.slice(0,F),j=E.slice(F+T.length),P=_+E.length;d&&P>d.reach&&(d.reach=P);var N=w.prev;if(O&&(N=u(t,N,O),_+=O.length),l(t,N,S),w=u(t,N,new a(p,g?r.tokenize(T,g):T,b,T)),j&&u(t,w,j),S>1){var R={cause:p+","+h,reach:P};i(e,t,n,w.prev,_,R),d&&R.reach>d.reach&&(d.reach=R.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function l(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var s="";for(var u in o.attributes)s+=" "+u+'="'+(o.attributes[u]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[h(r)[0]])((a={exports:{}}).exports,a),a.exports}),E=((e,t,n)=>(n=null!=e?l(g(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of h(t))v.call(e,a)||a===n||c(e,a,{get:()=>t[a],enumerable:!(r=p(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:c(n,"default",{value:e,enumerable:!0}),e)))(_());E.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},E.languages.markup.tag.inside["attr-value"].inside.entity=E.languages.markup.entity,E.languages.markup.doctype.inside["internal-subset"].inside=E.languages.markup,E.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(E.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:E.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:E.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},E.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(E.languages.markup.tag,"addAttribute",{value:function(e,t){E.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:E.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),E.languages.html=E.languages.markup,E.languages.mathml=E.languages.markup,E.languages.svg=E.languages.markup,E.languages.xml=E.languages.extend("markup",{}),E.languages.ssml=E.languages.xml,E.languages.atom=E.languages.xml,E.languages.rss=E.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",a=(r=RegExp(r+"-"+r),{pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"});e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":a}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(E),E.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},E.languages.javascript=E.languages.extend("clike",{"class-name":[E.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),E.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,E.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:E.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:E.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:E.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:E.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:E.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),E.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2}
2)*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:E.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),E.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),E.languages.markup&&(E.languages.markup.tag.addInlined("script","javascript"),E.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),E.languages.js=E.languages.javascript,E.languages.actionscript=E.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),E.languages.actionscript["class-name"].alias="function",delete E.languages.actionscript.parameter,delete E.languages.actionscript["literal-property"],E.languages.markup&&E.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:E.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(E),i=(o=E).languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},Object.defineProperty(i,"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach((function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=o.languages[e]){var a,i=a[r];if((i=i||(a=o.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,u=i.length;s<u;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),n(i[s]);else n(i)}}))}}),i.addSupport(["java","javascript","php"],i),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]
vendor: 45,627 bytes, line 2
2*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(E),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(E),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(E),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var l,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),u(n)):s[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(l="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=l,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(l);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},u=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(E),E.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:E.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},E.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,f(c(0),"property-mutation"),0<a.length)){var s=p(/^\{$/,/^\}$/);if(-1!==s)for(var u=n;u<s;u++){var l=t[u];"variable"===l.type&&0<=a.indexOf(l.content)&&f(l,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0==--a)return o}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),E.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function u(t,n,i){var u=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),l=0,c={},d=(u=s(u.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=l++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return l=0,function t(n){for(var o=0;o<n.length;o++){if(l>=d.length)return;var i,u,p,f,h,m,g,v=n[o];"string"==typeof v||"string"==typeof v.content?(i=d[l],-1!==(g=(m="string"==typeof v?v:v.content).indexOf(i))&&(++l,u=m.substring(0,g),h=c[i],p=void 0,(f={})["interpolation-punctuation"]=a,3===(f=e.tokenize(h,f)).length&&((p=[1,1]).push.apply(p,s(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,h),f=m.substring(g+i.length),h=[],u&&h.push(u),h.push(p),f&&(t(m=[f]),h.push.apply(h,m)),"string"==typeof v?(n.splice.apply(n,[o,1].concat(h)),o+=h.length-1):v.content=h)):(g=v.content,Array.isArray(g)?t(g):t([g]))}}(u),new e.Token(i,u,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var l={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in l&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,s,l=n[r];"string"!=typeof l&&(o=l.content,Array.isArray(o)?"template-string"===l.type?(l=o[1],3===o.length&&"string"!=typeof l&&"embedded-code"===l.type&&(i=c(l),l=l.alias,l=Array.isArray(l)?l[0]:l,s=e.languages[l])&&(o[1]=u(i,s,l))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(E),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(E),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(E),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(E),E.languages.n4js=E.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),E.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),E.languages.n4jsd=E.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(E),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:s(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=s(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=s(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(E),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(E),E.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},E.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=E.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(E),E.languages.c=E.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),E.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),E.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},E.languages.c.string],char:E.languages.c.char,comment:E.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:E.languages.c}}}}),E.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete E.languages.c.boolean,E.languages.objectivec=E.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete E.languages.objectivec["class-name"],E.languages.objc=E.languages.objectivec,E.languages.reason=E.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),E.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete E.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(E),E.languages.go=E.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),E.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete E.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(E),E.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},E.languages.python["string-interpolation"].inside.interpolation.inside.rest=E.languages.python,E.languages.py=E.languages.python,E.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},E.languages.webmanifest=E.languages.json;((e,t)=>
vendor: 5,038 bytes, line 2
2{for(var n in t)c(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>C,duotoneDark:()=>S,duotoneLight:()=>F,github:()=>x,gruvboxMaterialDark:()=>H,gruvboxMaterialLight:()=>V,jettwaveDark:()=>$,jettwaveLight:()=>q,nightOwl:()=>A,nightOwlLight:()=>I,oceanicNext:()=>j,okaidia:()=>P,oneDark:()=>U,oneLight:()=>Z,palenight:()=>N,shadesOfPurple:()=>R,synthwave84:()=>B,ultramin:()=>M,vsDark:()=>L,vsLight:()=>z});var C={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},S={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},F={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},x={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},A={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},I={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}}
vendor: 6,236 bytes, line 2
2,{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},T="#c5a5c5",O="#8dc891",j={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:T}},{types:["attr-value"],style:{color:O}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:O}},{types:["punctuation"],style:{color:O}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:T}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},P={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},N={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},R={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},M={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]}
2,L={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},z={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}}
vendor: 5,644 bytes, line 2
2,{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},$={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},q={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},U={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},Z={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},H={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},V={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},W=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;
2return r&&!r.includes(t)||n.types.forEach((t=>{const n=D(D({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=k(D({},n),{backgroundColor:void 0}),r},G=/\r\n|\r|\n/,K=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Q=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},J=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,s=[];const u=[s];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,l=t[i];const c=n[i][o];if("string"==typeof c?(l=i>0?l:["plain"],e=c):(l=Q(l,c.type),c.alias&&(l=Q(l,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(l),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(G),p=d.length;s.push({types:l,content:d[0]});for(let t=1;t<p;t++)K(s),u.push(s=[]),s.push({types:l,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return K(s),u},Y=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,s.useState)(W(t,e)),a=(0,s.useRef)(),o=(0,s.useRef)();return(0,s.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(W(t,e)))}),[e,t]),n})(o,r),l=(e=>(0,s.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=w(n,["className","style","line"]);const s=k(D({},i),{className:(0,u.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof a&&(s.style=D(D({},s.style||{}),a)),s}),[e]))(i),c=(e=>{const t=(0,s.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,s.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=w(n,["token","className","style"]);const s=k(D({},i),{className:(0,u.A)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(s.style=D(D({},s.style||{}),o)),s}),[t])})(i),d=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,s.useRef)(e);return(0,s.useMemo)((()=>{if(null==n)return J([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),J(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:d,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:c})},X=e=>(0,s.createElement)(Y,k(D({},e),{prism:e.prism||E,theme:e.theme||L,code:e.code,language:e.language}))},1561:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},1635:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>P,__assign:()=>o,__asyncDelegator:()=>C,__asyncGenerator:()=>E,__asyncValues:()=>S,__await:()=>_,__awaiter:()=>h,__classPrivateFieldGet:()=>T,__classPrivateFieldIn:()=>j,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>R,__esDecorate:()=>l,__exportStar:()=>v,__extends:()=>a,__generator:()=>m,__importDefault:()=>I,__importStar:()=>
vendor: 4,121 bytes, line 2
2A,__makeTemplateObject:()=>F,__metadata:()=>f,__param:()=>u,__propKey:()=>d,__read:()=>b,__rest:()=>i,__runInitializers:()=>c,__setFunctionName:()=>p,__spread:()=>D,__spreadArray:()=>w,__spreadArrays:()=>k,__values:()=>y,default:()=>B});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},o.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function s(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,u=r.kind,l="getter"===u?"get":"setter"===u?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var g=(0,n[f])("accessor"===u?{get:d.get,set:d.set}:d[l],h);if("accessor"===u){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=i(g.get))&&(d.get=s),(s=i(g.set))&&(d.set=s),(s=i(g.init))&&a.unshift(s)}else(s=i(g))&&("field"===u?a.unshift(s):d[l]=s)}c&&Object.defineProperty(c,r.name,d),p=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}u((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}
vendor: 5,549 bytes, line 2
2if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(u){s=[6,u],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function D(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function k(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,s=o.length;i<s;i++,a++)r[a]=o[i];return r}function w(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,l)}})),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=a[e](t)).value instanceof _?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(r){c(o[0][3],r)}var n}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function C(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:!1}:a?a(t):t}:a}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function F(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};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return x(t,e),t}function I(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function j(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 P(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,a;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function R(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,(function(e){return t(e),a()}))}else r|=1}catch(i){t(i)}
2if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}const B={__extends:a,__assign:o,__rest:i,__decorate:s,__param:u,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:D,__spreadArrays:k,__spreadArray:w,__await:_,__asyncGenerator:E,__asyncDelegator:C,__asyncValues:S,__makeTemplateObject:F,__importStar:A,__importDefault:I,__classPrivateFieldGet:T,__classPrivateFieldSet:O,__classPrivateFieldIn:j,__addDisposableResource:P,__disposeResources:R}},2654:e=>{"use strict";e.exports={}},4054:e=>{"use strict";e.exports=JSON.parse('{"/au/docs/-d28":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/au/docs/-089":{"__comp":"a7bd4aaa","__props":"33f358af"},"/au/docs/-626":{"__comp":"a94703ab"},"/au/docs/address-widget/advanced-options-8a6":{"__comp":"17896441","content":"c31e23b0"},"/au/docs/address-widget/best-practices-cac":{"__comp":"17896441","content":"a60946ff"},"/au/docs/address-widget/code-examples-917":{"__comp":"17896441","content":"bd598580"},"/au/docs/address-widget/code-generator-eed":{"__comp":"17896441","content":"d0cf1c80"},"/au/docs/address-widget/data-sources-fa3":{"__comp":"17896441","content":"963c935b"},"/au/docs/address-widget/integration-guide-4d8":{"__comp":"17896441","content":"f4c8b390"},"/au/docs/address-widget/javascript-reference-fd7":{"__comp":"17896441","content":"36eae857"},"/au/docs/api/au/au-address-autocomplete-api-692":{"__comp":"17896441","content":"91897ade"},"/au/docs/api/au/au-address-metadata-api-917":{"__comp":"17896441","content":"c7f8fca6"},"/au/docs/api/au/au-address-verification-api-3c2":{"__comp":"17896441","content":"aaff6b3f"},"/au/docs/api/au/au-location-autocomplete-api-a8a":{"__comp":"17896441","content":"59f1c016"},"/au/docs/api/au/au-location-metadata-api-c75":{"__comp":"17896441","content":"08601da4"},"/au/docs/api/authentication/oauth2-client-credentials-fbe":{"__comp":"17896441","content":"ef6c3898"},"/au/docs/api/authentication/overview-a78":{"__comp":"17896441","content":"e2091f6b"},"/au/docs/api/email-verification-api-569":{"__comp":"17896441","content":"9fdba668"},"/au/docs/api/error-codes-9b8":{"__comp":"17896441","content":"e687f2b9"},"/au/docs/api/international/int-address-autocomplete-api-c31":{"__comp":"17896441","content":"fd1caa35"},"/au/docs/api/international/int-address-metadata-api-bff":{"__comp":"17896441","content":"f22b33b9"},"/au/docs/api/nz/nz-address-autocomplete-api-516":{"__comp":"17896441","content":"3282e528"},"/au/docs/api/nz/nz-address-metadata-api-0d8":{"__comp":"17896441","content":"e9a19cf3"},"/au/docs/api/nz/nz-address-reverse-geocode-api-bb8":{"__comp":"17896441","content":"33dcc2a4"},"/au/docs/api/nz/nz-address-verification-api-e1c":{"__comp":"17896441","content":"923a889d"},"/au/docs/api/nz/nz-location-autocomplete-api-48e":{"__comp":"17896441","content":"336bd038"},"/au/docs/api/nz/nz-location-metadata-api-e8b":{"__comp":"17896441","content":"6b97c64b"},"/au/docs/api/nz/nz-poi-autocomplete-api-a09":{"__comp":"17896441","content":"15f3469a"},"/au/docs/api/nz/nz-poi-metadata-api-5c5":{"__comp":"17896441","content":"88e08049"},"/au/docs/api/overview-5a4":{"__comp":"17896441","content":"65df3d35"},"/au/docs/api/phone-verification-api-677":{"__comp":"17896441","content":"65718fec"},"/au/docs/bulk-verification-6ba":{"__comp":"17896441","content":"f7946140"},"/au/docs/email-verification/code-examples-b39":{"__comp":"17896441","content":"a0072a8d"},"/au/docs/email-verification/integration-144":{"__comp":"17896441","content":"b49277b6"},"/au/docs/email-verification/javascript-reference-a22":{"__comp":"17896441","content":"1b412ed3"},"/au/docs/email-verification/metadata-fe7":{"__comp":"17896441","content":"2df9876c"},"/au/docs/email-verification/widget-options-fa7":{"__comp":"17896441","content":"f4ca300a"},"/au/docs/faq-d43":{"__comp":"17896441","content":"ea313555"},"/au/docs/integrations/bigcommerce-055":{"__comp":"17896441","content":"401f0b95"},"/au/docs/integrations/drupal-909":{"__comp":"17896441","content":"1ab7b523"},"/au/docs/integrations/gravity-forms-c76":{"__comp":"17896441","content":"6534d8a1"},"/au/docs/integrations/hubspot-c9a":{"__comp":"17896441","content":"a332b307"}
2,"/au/docs/integrations/hubspot2-b32":{"__comp":"17896441","content":"2764ca60"},"/au/docs/integrations/magento-ad8":{"__comp":"17896441","content":"3e746c0c"},"/au/docs/integrations/microsoft-dynamics-365-fef":{"__comp":"17896441","content":"62ad5d90"},"/au/docs/integrations/overview-54f":{"__comp":"17896441","content":"fbb106eb"},"/au/docs/integrations/react-c2e":{"__comp":"17896441","content":"b82941ba"},"/au/docs/integrations/ruby-8f7":{"__comp":"17896441","content":"59b11e03"},"/au/docs/integrations/salesforce-cae":{"__comp":"17896441","content":"10b5aab9"},"/au/docs/integrations/shopify-6a1":{"__comp":"17896441","content":"5b8dc148"},"/au/docs/integrations/spiffy-stores-dfd":{"__comp":"17896441","content":"08b5bdf1"},"/au/docs/integrations/storeconnect-44a":{"__comp":"17896441","content":"8ca8b9c7"},"/au/docs/integrations/vue-c83":{"__comp":"17896441","content":"148e5a40"},"/au/docs/integrations/woocommerce-df4":{"__comp":"17896441","content":"de96bf61"},"/au/docs/integrations/zapier-134":{"__comp":"17896441","content":"5a32fcdd"},"/au/docs/location-widgets/address-reverse-geocoding-c54":{"__comp":"17896441","content":"6bdbcf0f"},"/au/docs/location-widgets/international-address-autocomplete/integration-guide-164":{"__comp":"17896441","content":"bcc464af"},"/au/docs/location-widgets/international-address-autocomplete/international-metadata-a6f":{"__comp":"17896441","content":"bfc0aa82"},"/au/docs/location-widgets/international-address-autocomplete/javascript-reference-ece":{"__comp":"17896441","content":"018f2844"},"/au/docs/location-widgets/international-address-autocomplete/widget-options-d6e":{"__comp":"17896441","content":"e6b363d6"},"/au/docs/location-widgets/location-autocomplete-677":{"__comp":"17896441","content":"5e354c05"},"/au/docs/location-widgets/points-of-interest-09b":{"__comp":"17896441","content":"ecdef33e"},"/au/docs/phone-verification/code-examples-345":{"__comp":"17896441","content":"acaff4cb"},"/au/docs/phone-verification/integration-ec7":{"__comp":"17896441","content":"adea16f2"},"/au/docs/phone-verification/javascript-reference-ddd":{"__comp":"17896441","content":"2f2a3455"},"/au/docs/phone-verification/metadata-7bf":{"__comp":"17896441","content":"5b0c5851"},"/au/docs/phone-verification/widget-options-428":{"__comp":"17896441","content":"f6a0906e"},"/au/docs/portal-and-account/billing-b48":{"__comp":"17896441","content":"495f7eb7"},"/au/docs/portal-and-account/domains-a4b":{"__comp":"17896441","content":"d75a8edd"},"/au/docs/portal-and-account/organisations-and-projects-654":{"__comp":"17896441","content":"42e12a54"},"/au/docs/portal-and-account/portal-sign-in-3a2":{"__comp":"17896441","content":"2568f174"},"/au/docs/portal-and-account/sso-and-saml-ada":{"__comp":"17896441","content":"ea577a34"},"/au/docs/portal-and-account/user-roles-8e9":{"__comp":"17896441","content":"514c493f"},"/au/docs/search-e90":{"__comp":"17896441","content":"1d8d7b8d"},"/au/docs/-9f9":{"__comp":"17896441","content":"d589d3a7"}}')}},e=>{e.O(0,[1869],(()=>{return t=5172,e(e.s=t);var t}));e.O()}]);

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