!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f52f7953-938a-4a50-9356-53e4407d37aa",e._sentryDebugIdIdentifier="sentry-dbid-f52f7953-938a-4a50-9356-53e4407d37aa")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{62584:function(e,t,r){let n=r(78624),i=r(67460),o=r(51257),a=r(66893),{commonTrailingPseudos:s}=r(23358),l={};function u(e,{className:t,modifier:r,prefix:n}){let i=n(`.not-${t}`).slice(1),o=e.startsWith(">")?`${"DEFAULT"===r?`.${t}`:`.${t}-${r}`} `:"",[a,l]=s(e);return a?`:where(${o}${l}):not(:where([class~="${i}"],[class~="${i}"] *))${a}`:`:where(${o}${e}):not(:where([class~="${i}"],[class~="${i}"] *))`}function c(e){return"object"==typeof e&&null!==e}e.exports=n.withOptions(({className:e="prose",target:t="modern"}={})=>function({addVariant:r,addComponents:n,theme:a,prefix:s}){let d=a("typography"),f={className:e,prefix:s};for(let[n,...i]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){i=0===i.length?[n]:i;let o="legacy"===t?i.map(e=>`& ${e}`):i.join(", ");r(`${e}-${n}`,"legacy"===t?o:`& :is(${u(o,f)})`)}n(Object.keys(d).map(r=>({["DEFAULT"===r?`.${e}`:`.${e}-${r}`]:function(e={},{target:t,className:r,modifier:n,prefix:a}){return Object.fromEntries(Object.entries(i({},...Object.keys(e).filter(e=>l[e]).map(t=>l[t](e[t])),...o(e.css||{}))).map(([e,i])=>(function e(i,o){return"legacy"===t||Array.isArray(o)?[i,o]:c(o)?Object.values(o).some(c)?[u(i,{className:r,modifier:n,prefix:a}),o,Object.fromEntries(Object.entries(o).map(([t,r])=>e(t,r)))]:[u(i,{className:r,modifier:n,prefix:a}),o]:[i,o]})(e,i)))}(d[r],{target:t,className:e,modifier:r,prefix:s})})))},()=>({theme:{typography:a}}))},66893:function(e,t,r){let n=r(25957),i=e=>e.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),o=e=>`${i(e/16)}rem`,a=(e,t)=>`${i(e/t)}em`,s=e=>{let t=parseInt((e=3===(e=e.replace("#","")).length?e.replace(/./g,"$&$&"):e).substring(0,2),16),r=parseInt(e.substring(2,4),16),n=parseInt(e.substring(4,6),16);return`${t} ${r} ${n}`},l={sm:{css:[{fontSize:o(14),lineHeight:i(24/14),p:{marginTop:a(16,14),marginBottom:a(16,14)},'[class~="lead"]':{fontSize:a(18,14),lineHeight:i(28/18),marginTop:a(16,18),marginBottom:a(16,18)},blockquote:{marginTop:a(24,18),marginBottom:a(24,18),paddingLeft:a(20,18)},h1:{fontSize:a(30,14),marginTop:"0",marginBottom:a(24,30),lineHeight:i(1.2)},h2:{fontSize:a(20,14),marginTop:a(32,20),marginBottom:a(16,20),lineHeight:i(1.4)},h3:{fontSize:a(18,14),marginTop:a(28,18),marginBottom:a(8,18),lineHeight:i(28/18)},h4:{marginTop:a(20,14),marginBottom:a(8,14),lineHeight:i(20/14)},img:{marginTop:a(24,14),marginBottom:a(24,14)},picture:{marginTop:a(24,14),marginBottom:a(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:a(24,14),marginBottom:a(24,14)},kbd:{fontSize:a(12,14),borderRadius:o(5),paddingTop:a(2,14),paddingRight:a(5,14),paddingBottom:a(2,14),paddingLeft:a(5,14)},code:{fontSize:a(12,14)},"h2 code":{fontSize:a(18,20)},"h3 code":{fontSize:a(16,18)},pre:{fontSize:a(12,14),lineHeight:i(20/12),marginTop:a(20,12),marginBottom:a(20,12),borderRadius:o(4),paddingTop:a(8,12),paddingRight:a(12,12),paddingBottom:a(8,12),paddingLeft:a(12,12)},ol:{marginTop:a(16,14),marginBottom:a(16,14),paddingLeft:a(22,14)},ul:{marginTop:a(16,14),marginBottom:a(16,14),paddingLeft:a(22,14)},li:{marginTop:a(4,14),marginBottom:a(4,14)},"ol > li":{paddingLeft:a(6,14)},"ul > li":{paddingLeft:a(6,14)},"> ul > li p":{marginTop:a(8,14),marginBottom:a(8,14)},"> ul > li > *:first-child":{marginTop:a(16,14)},"> ul > li > *:last-child":{marginBottom:a(16,14)},"> ol > li > *:first-child":{marginTop:a(16,14)},"> ol > li > *:last-child":{marginBottom:a(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:a(8,14),marginBottom:a(8,14)},dl:{marginTop:a(16,14),marginBottom:a(16,14)},dt:{marginTop:a(16,14)},dd:{marginTop:a(4,14),paddingLeft:a(22,14)},hr:{marginTop:a(40,14),marginBottom:a(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:a(12,14),lineHeight:i(1.5)},"thead th":{paddingRight:a(12,12),paddingBottom:a(8,12),paddingLeft:a(12,12)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:a(8,12),paddingRight:a(12,12),paddingBottom:a(8,12),paddingLeft:a(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:a(24,14),marginBottom:a(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:a(12,14),lineHeight:i(16/12),marginTop:a(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:o(16),lineHeight:i(1.75),p:{marginTop:a(20,16),marginBottom:a(20,16)},'[class~="lead"]':{fontSize:a(20,16),lineHeight:i(1.6),marginTop:a(24,20),marginBottom:a(24,20)},blockquote:{marginTop:a(32,20),marginBottom:a(32,20),paddingLeft:a(20,20)},h1:{fontSize:a(36,16),marginTop:"0",marginBottom:a(32,36),lineHeight:i(40/36)},h2:{fontSize:a(24,16),marginTop:a(48,24),marginBottom:a(24,24),lineHeight:i(32/24)},h3:{fontSize:a(20,16),marginTop:a(32,20),marginBottom:a(12,20),lineHeight:i(1.6)},h4:{marginTop:a(24,16),marginBottom:a(8,16),lineHeight:i(1.5)},img:{marginTop:a(32,16),marginBottom:a(32,16)},picture:{marginTop:a(32,16),marginBottom:a(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:a(32,16),marginBottom:a(32,16)},kbd:{fontSize:a(14,16),borderRadius:o(5),paddingTop:a(3,16),paddingRight:a(6,16),paddingBottom:a(3,16),paddingLeft:a(6,16)},code:{fontSize:a(14,16)},"h2 code":{fontSize:a(21,24)},"h3 code":{fontSize:a(18,20)},pre:{fontSize:a(14,16),lineHeight:i(24/14),marginTop:a(24,14),marginBottom:a(24,14),borderRadius:o(6),paddingTop:a(12,14),paddingRight:a(16,14),paddingBottom:a(12,14),paddingLeft:a(16,14)},ol:{marginTop:a(20,16),marginBottom:a(20,16),paddingLeft:a(26,16)},ul:{marginTop:a(20,16),marginBottom:a(20,16),paddingLeft:a(26,16)},li:{marginTop:a(8,16),marginBottom:a(8,16)},"ol > li":{paddingLeft:a(6,16)},"ul > li":{paddingLeft:a(6,16)},"> ul > li p":{marginTop:a(12,16),marginBottom:a(12,16)},"> ul > li > *:first-child":{marginTop:a(20,16)},"> ul > li > *:last-child":{marginBottom:a(20,16)},"> ol > li > *:first-child":{marginTop:a(20,16)},"> ol > li > *:last-child":{marginBottom:a(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:a(12,16),marginBottom:a(12,16)},dl:{marginTop:a(20,16),marginBottom:a(20,16)},dt:{marginTop:a(20,16)},dd:{marginTop:a(8,16),paddingLeft:a(26,16)},hr:{marginTop:a(48,16),marginBottom:a(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:a(14,16),lineHeight:i(24/14)},"thead th":{paddingRight:a(8,14),paddingBottom:a(8,14),paddingLeft:a(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:a(8,14),paddingRight:a(8,14),paddingBottom:a(8,14),paddingLeft:a(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:a(32,16),marginBottom:a(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:a(14,16),lineHeight:i(20/14),marginTop:a(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:o(18),lineHeight:i(32/18),p:{marginTop:a(24,18),marginBottom:a(24,18)},'[class~="lead"]':{fontSize:a(22,18),lineHeight:i(32/22),marginTop:a(24,22),marginBottom:a(24,22)},blockquote:{marginTop:a(40,24),marginBottom:a(40,24),paddingLeft:a(24,24)},h1:{fontSize:a(48,18),marginTop:"0",marginBottom:a(40,48),lineHeight:i(1)},h2:{fontSize:a(30,18),marginTop:a(56,30),marginBottom:a(32,30),lineHeight:i(40/30)},h3:{fontSize:a(24,18),marginTop:a(40,24),marginBottom:a(16,24),lineHeight:i(1.5)},h4:{marginTop:a(32,18),marginBottom:a(8,18),lineHeight:i(28/18)},img:{marginTop:a(32,18),marginBottom:a(32,18)},picture:{marginTop:a(32,18),marginBottom:a(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:a(32,18),marginBottom:a(32,18)},kbd:{fontSize:a(16,18),borderRadius:o(5),paddingTop:a(4,18),paddingRight:a(8,18),paddingBottom:a(4,18),paddingLeft:a(8,18)},code:{fontSize:a(16,18)},"h2 code":{fontSize:a(26,30)},"h3 code":{fontSize:a(21,24)},pre:{fontSize:a(16,18),lineHeight:i(1.75),marginTop:a(32,16),marginBottom:a(32,16),borderRadius:o(6),paddingTop:a(16,16),paddingRight:a(24,16),paddingBottom:a(16,16),paddingLeft:a(24,16)},ol:{marginTop:a(24,18),marginBottom:a(24,18),paddingLeft:a(28,18)},ul:{marginTop:a(24,18),marginBottom:a(24,18),paddingLeft:a(28,18)},li:{marginTop:a(12,18),marginBottom:a(12,18)},"ol > li":{paddingLeft:a(8,18)},"ul > li":{paddingLeft:a(8,18)},"> ul > li p":{marginTop:a(16,18),marginBottom:a(16,18)},"> ul > li > *:first-child":{marginTop:a(24,18)},"> ul > li > *:last-child":{marginBottom:a(24,18)},"> ol > li > *:first-child":{marginTop:a(24,18)},"> ol > li > *:last-child":{marginBottom:a(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:a(16,18),marginBottom:a(16,18)},dl:{marginTop:a(24,18),marginBottom:a(24,18)},dt:{marginTop:a(24,18)},dd:{marginTop:a(12,18),paddingLeft:a(28,18)},hr:{marginTop:a(56,18),marginBottom:a(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:a(16,18),lineHeight:i(1.5)},"thead th":{paddingRight:a(12,16),paddingBottom:a(12,16),paddingLeft:a(12,16)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:a(12,16),paddingRight:a(12,16),paddingBottom:a(12,16),paddingLeft:a(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:a(32,18),marginBottom:a(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:a(16,18),lineHeight:i(1.5),marginTop:a(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:o(20),lineHeight:i(1.8),p:{marginTop:a(24,20),marginBottom:a(24,20)},'[class~="lead"]':{fontSize:a(24,20),lineHeight:i(1.5),marginTop:a(24,24),marginBottom:a(24,24)},blockquote:{marginTop:a(48,30),marginBottom:a(48,30),paddingLeft:a(32,30)},h1:{fontSize:a(56,20),marginTop:"0",marginBottom:a(48,56),lineHeight:i(1)},h2:{fontSize:a(36,20),marginTop:a(56,36),marginBottom:a(32,36),lineHeight:i(40/36)},h3:{fontSize:a(30,20),marginTop:a(48,30),marginBottom:a(20,30),lineHeight:i(40/30)},h4:{marginTop:a(36,20),marginBottom:a(12,20),lineHeight:i(1.6)},img:{marginTop:a(40,20),marginBottom:a(40,20)},picture:{marginTop:a(40,20),marginBottom:a(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:a(40,20),marginBottom:a(40,20)},kbd:{fontSize:a(18,20),borderRadius:o(5),paddingTop:a(5,20),paddingRight:a(8,20),paddingBottom:a(5,20),paddingLeft:a(8,20)},code:{fontSize:a(18,20)},"h2 code":{fontSize:a(31,36)},"h3 code":{fontSize:a(27,30)},pre:{fontSize:a(18,20),lineHeight:i(32/18),marginTop:a(36,18),marginBottom:a(36,18),borderRadius:o(8),paddingTop:a(20,18),paddingRight:a(24,18),paddingBottom:a(20,18),paddingLeft:a(24,18)},ol:{marginTop:a(24,20),marginBottom:a(24,20),paddingLeft:a(32,20)},ul:{marginTop:a(24,20),marginBottom:a(24,20),paddingLeft:a(32,20)},li:{marginTop:a(12,20),marginBottom:a(12,20)},"ol > li":{paddingLeft:a(8,20)},"ul > li":{paddingLeft:a(8,20)},"> ul > li p":{marginTop:a(16,20),marginBottom:a(16,20)},"> ul > li > *:first-child":{marginTop:a(24,20)},"> ul > li > *:last-child":{marginBottom:a(24,20)},"> ol > li > *:first-child":{marginTop:a(24,20)},"> ol > li > *:last-child":{marginBottom:a(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:a(16,20),marginBottom:a(16,20)},dl:{marginTop:a(24,20),marginBottom:a(24,20)},dt:{marginTop:a(24,20)},dd:{marginTop:a(12,20),paddingLeft:a(32,20)},hr:{marginTop:a(56,20),marginBottom:a(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:a(18,20),lineHeight:i(28/18)},"thead th":{paddingRight:a(12,18),paddingBottom:a(16,18),paddingLeft:a(12,18)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:a(16,18),paddingRight:a(12,18),paddingBottom:a(16,18),paddingLeft:a(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:a(40,20),marginBottom:a(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:a(18,20),lineHeight:i(28/18),marginTop:a(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:o(24),lineHeight:i(40/24),p:{marginTop:a(32,24),marginBottom:a(32,24)},'[class~="lead"]':{fontSize:a(30,24),lineHeight:i(44/30),marginTop:a(32,30),marginBottom:a(32,30)},blockquote:{marginTop:a(64,36),marginBottom:a(64,36),paddingLeft:a(40,36)},h1:{fontSize:a(64,24),marginTop:"0",marginBottom:a(56,64),lineHeight:i(1)},h2:{fontSize:a(48,24),marginTop:a(72,48),marginBottom:a(40,48),lineHeight:i(52/48)},h3:{fontSize:a(36,24),marginTop:a(56,36),marginBottom:a(24,36),lineHeight:i(44/36)},h4:{marginTop:a(40,24),marginBottom:a(16,24),lineHeight:i(1.5)},img:{marginTop:a(48,24),marginBottom:a(48,24)},picture:{marginTop:a(48,24),marginBottom:a(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:a(48,24),marginBottom:a(48,24)},kbd:{fontSize:a(20,24),borderRadius:o(6),paddingTop:a(6,24),paddingRight:a(8,24),paddingBottom:a(6,24),paddingLeft:a(8,24)},code:{fontSize:a(20,24)},"h2 code":{fontSize:a(42,48)},"h3 code":{fontSize:a(32,36)},pre:{fontSize:a(20,24),lineHeight:i(1.8),marginTop:a(40,20),marginBottom:a(40,20),borderRadius:o(8),paddingTop:a(24,20),paddingRight:a(32,20),paddingBottom:a(24,20),paddingLeft:a(32,20)},ol:{marginTop:a(32,24),marginBottom:a(32,24),paddingLeft:a(38,24)},ul:{marginTop:a(32,24),marginBottom:a(32,24),paddingLeft:a(38,24)},li:{marginTop:a(12,24),marginBottom:a(12,24)},"ol > li":{paddingLeft:a(10,24)},"ul > li":{paddingLeft:a(10,24)},"> ul > li p":{marginTop:a(20,24),marginBottom:a(20,24)},"> ul > li > *:first-child":{marginTop:a(32,24)},"> ul > li > *:last-child":{marginBottom:a(32,24)},"> ol > li > *:first-child":{marginTop:a(32,24)},"> ol > li > *:last-child":{marginBottom:a(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:a(16,24),marginBottom:a(16,24)},dl:{marginTop:a(32,24),marginBottom:a(32,24)},dt:{marginTop:a(32,24)},dd:{marginTop:a(12,24),paddingLeft:a(38,24)},hr:{marginTop:a(72,24),marginBottom:a(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:a(20,24),lineHeight:i(1.4)},"thead th":{paddingRight:a(12,20),paddingBottom:a(16,20),paddingLeft:a(12,20)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:a(16,20),paddingRight:a(12,20),paddingBottom:a(16,20),paddingLeft:a(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:a(48,24),marginBottom:a(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:a(20,24),lineHeight:i(1.6),marginTop:a(20,20)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},slate:{css:{"--tw-prose-body":n.slate[700],"--tw-prose-headings":n.slate[900],"--tw-prose-lead":n.slate[600],"--tw-prose-links":n.slate[900],"--tw-prose-bold":n.slate[900],"--tw-prose-counters":n.slate[500],"--tw-prose-bullets":n.slate[300],"--tw-prose-hr":n.slate[200],"--tw-prose-quotes":n.slate[900],"--tw-prose-quote-borders":n.slate[200],"--tw-prose-captions":n.slate[500],"--tw-prose-kbd":n.slate[900],"--tw-prose-kbd-shadows":s(n.slate[900]),"--tw-prose-code":n.slate[900],"--tw-prose-pre-code":n.slate[200],"--tw-prose-pre-bg":n.slate[800],"--tw-prose-th-borders":n.slate[300],"--tw-prose-td-borders":n.slate[200],"--tw-prose-invert-body":n.slate[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.slate[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.slate[400],"--tw-prose-invert-bullets":n.slate[600],"--tw-prose-invert-hr":n.slate[700],"--tw-prose-invert-quotes":n.slate[100],"--tw-prose-invert-quote-borders":n.slate[700],"--tw-prose-invert-captions":n.slate[400],"--tw-prose-invert-kbd":n.white,"--tw-prose-invert-kbd-shadows":s(n.white),"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.slate[600],"--tw-prose-invert-td-borders":n.slate[700]}},gray:{css:{"--tw-prose-body":n.gray[700],"--tw-prose-headings":n.gray[900],"--tw-prose-lead":n.gray[600],"--tw-prose-links":n.gray[900],"--tw-prose-bold":n.gray[900],"--tw-prose-counters":n.gray[500],"--tw-prose-bullets":n.gray[300],"--tw-prose-hr":n.gray[200],"--tw-prose-quotes":n.gray[900],"--tw-prose-quote-borders":n.gray[200],"--tw-prose-captions":n.gray[500],"--tw-prose-kbd":n.gray[900],"--tw-prose-kbd-shadows":s(n.gray[900]),"--tw-prose-code":n.gray[900],"--tw-prose-pre-code":n.gray[200],"--tw-prose-pre-bg":n.gray[800],"--tw-prose-th-borders":n.gray[300],"--tw-prose-td-borders":n.gray[200],"--tw-prose-invert-body":n.gray[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.gray[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.gray[400],"--tw-prose-invert-bullets":n.gray[600],"--tw-prose-invert-hr":n.gray[700],"--tw-prose-invert-quotes":n.gray[100],"--tw-prose-invert-quote-borders":n.gray[700],"--tw-prose-invert-captions":n.gray[400],"--tw-prose-invert-kbd":n.white,"--tw-prose-invert-kbd-shadows":s(n.white),"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.gray[600],"--tw-prose-invert-td-borders":n.gray[700]}},zinc:{css:{"--tw-prose-body":n.zinc[700],"--tw-prose-headings":n.zinc[900],"--tw-prose-lead":n.zinc[600],"--tw-prose-links":n.zinc[900],"--tw-prose-bold":n.zinc[900],"--tw-prose-counters":n.zinc[500],"--tw-prose-bullets":n.zinc[300],"--tw-prose-hr":n.zinc[200],"--tw-prose-quotes":n.zinc[900],"--tw-prose-quote-borders":n.zinc[200],"--tw-prose-captions":n.zinc[500],"--tw-prose-kbd":n.zinc[900],"--tw-prose-kbd-shadows":s(n.zinc[900]),"--tw-prose-code":n.zinc[900],"--tw-prose-pre-code":n.zinc[200],"--tw-prose-pre-bg":n.zinc[800],"--tw-prose-th-borders":n.zinc[300],"--tw-prose-td-borders":n.zinc[200],"--tw-prose-invert-body":n.zinc[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.zinc[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.zinc[400],"--tw-prose-invert-bullets":n.zinc[600],"--tw-prose-invert-hr":n.zinc[700],"--tw-prose-invert-quotes":n.zinc[100],"--tw-prose-invert-quote-borders":n.zinc[700],"--tw-prose-invert-captions":n.zinc[400],"--tw-prose-invert-kbd":n.white,"--tw-prose-invert-kbd-shadows":s(n.white),"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.zinc[600],"--tw-prose-invert-td-borders":n.zinc[700]}},neutral:{css:{"--tw-prose-body":n.neutral[700],"--tw-prose-headings":n.neutral[900],"--tw-prose-lead":n.neutral[600],"--tw-prose-links":n.neutral[900],"--tw-prose-bold":n.neutral[900],"--tw-prose-counters":n.neutral[500],"--tw-prose-bullets":n.neutral[300],"--tw-prose-hr":n.neutral[200],"--tw-prose-quotes":n.neutral[900],"--tw-prose-quote-borders":n.neutral[200],"--tw-prose-captions":n.neutral[500],"--tw-prose-kbd":n.neutral[900],"--tw-prose-kbd-shadows":s(n.neutral[900]),"--tw-prose-code":n.neutral[900],"--tw-prose-pre-code":n.neutral[200],"--tw-prose-pre-bg":n.neutral[800],"--tw-prose-th-borders":n.neutral[300],"--tw-prose-td-borders":n.neutral[200],"--tw-prose-invert-body":n.neutral[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.neutral[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.neutral[400],"--tw-prose-invert-bullets":n.neutral[600],"--tw-prose-invert-hr":n.neutral[700],"--tw-prose-invert-quotes":n.neutral[100],"--tw-prose-invert-quote-borders":n.neutral[700],"--tw-prose-invert-captions":n.neutral[400],"--tw-prose-invert-kbd":n.white,"--tw-prose-invert-kbd-shadows":s(n.white),"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.neutral[600],"--tw-prose-invert-td-borders":n.neutral[700]}},stone:{css:{"--tw-prose-body":n.stone[700],"--tw-prose-headings":n.stone[900],"--tw-prose-lead":n.stone[600],"--tw-prose-links":n.stone[900],"--tw-prose-bold":n.stone[900],"--tw-prose-counters":n.stone[500],"--tw-prose-bullets":n.stone[300],"--tw-prose-hr":n.stone[200],"--tw-prose-quotes":n.stone[900],"--tw-prose-quote-borders":n.stone[200],"--tw-prose-captions":n.stone[500],"--tw-prose-kbd":n.stone[900],"--tw-prose-kbd-shadows":s(n.stone[900]),"--tw-prose-code":n.stone[900],"--tw-prose-pre-code":n.stone[200],"--tw-prose-pre-bg":n.stone[800],"--tw-prose-th-borders":n.stone[300],"--tw-prose-td-borders":n.stone[200],"--tw-prose-invert-body":n.stone[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.stone[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.stone[400],"--tw-prose-invert-bullets":n.stone[600],"--tw-prose-invert-hr":n.stone[700],"--tw-prose-invert-quotes":n.stone[100],"--tw-prose-invert-quote-borders":n.stone[700],"--tw-prose-invert-captions":n.stone[400],"--tw-prose-invert-kbd":n.white,"--tw-prose-invert-kbd-shadows":s(n.white),"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.stone[600],"--tw-prose-invert-td-borders":n.stone[700]}},red:{css:{"--tw-prose-links":n.red[600],"--tw-prose-invert-links":n.red[500]}},orange:{css:{"--tw-prose-links":n.orange[600],"--tw-prose-invert-links":n.orange[500]}},amber:{css:{"--tw-prose-links":n.amber[600],"--tw-prose-invert-links":n.amber[500]}},yellow:{css:{"--tw-prose-links":n.yellow[600],"--tw-prose-invert-links":n.yellow[500]}},lime:{css:{"--tw-prose-links":n.lime[600],"--tw-prose-invert-links":n.lime[500]}},green:{css:{"--tw-prose-links":n.green[600],"--tw-prose-invert-links":n.green[500]}},emerald:{css:{"--tw-prose-links":n.emerald[600],"--tw-prose-invert-links":n.emerald[500]}},teal:{css:{"--tw-prose-links":n.teal[600],"--tw-prose-invert-links":n.teal[500]}},cyan:{css:{"--tw-prose-links":n.cyan[600],"--tw-prose-invert-links":n.cyan[500]}},sky:{css:{"--tw-prose-links":n.sky[600],"--tw-prose-invert-links":n.sky[500]}},blue:{css:{"--tw-prose-links":n.blue[600],"--tw-prose-invert-links":n.blue[500]}},indigo:{css:{"--tw-prose-links":n.indigo[600],"--tw-prose-invert-links":n.indigo[500]}},violet:{css:{"--tw-prose-links":n.violet[600],"--tw-prose-invert-links":n.violet[500]}},purple:{css:{"--tw-prose-links":n.purple[600],"--tw-prose-invert-links":n.purple[500]}},fuchsia:{css:{"--tw-prose-links":n.fuchsia[600],"--tw-prose-invert-links":n.fuchsia[500]}},pink:{css:{"--tw-prose-links":n.pink[600],"--tw-prose-invert-links":n.pink[500]}},rose:{css:{"--tw-prose-links":n.rose[600],"--tw-prose-invert-links":n.rose[500]}},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-kbd":"var(--tw-prose-invert-kbd)","--tw-prose-kbd-shadows":"var(--tw-prose-invert-kbd-shadows)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}};e.exports={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",p:{},'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},dt:{color:"var(--tw-prose-headings)",fontWeight:"600"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:1},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderLeftWidth:"0.25rem",borderLeftColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700",color:"inherit"},img:{},picture:{display:"block"},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-prose-kbd)",boxShadow:"0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left",marginTop:a(32,16),marginBottom:a(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-prose-th-borders)"},"tfoot td":{verticalAlign:"top"},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"}},l.gray.css,...l.base.css]},...l}},23358:function(e,t,r){let n=r(71046),i=r(92864),o=i();e.exports={isUsableColor:(e,t)=>n(t)&&"gray"!==e&&t[600],commonTrailingPseudos(e){let t=o.astSync(e),r=[];for(let[e,n]of t.nodes.entries())for(let[t,i]of[...n.nodes].reverse().entries()){if("pseudo"!==i.type||!i.value.startsWith("::"))break;r[t]=r[t]||[],r[t][e]=i}let n=i.selector();for(let e of r)if(e){if(new Set([...e.map(e=>e.value)]).size>1)break;e.forEach(e=>e.remove()),n.prepend(e[0])}return n.nodes.length?[n.toString(),t.toString()]:[null,e]}}},60296:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n=r(92379),i=r(10546);let o={linear:"cubic-bezier(.250, .250, .750, .750)",ease:"cubic-bezier(.250, .100, .250, 1)","ease-in":"cubic-bezier(.420, 0, 1, 1)","ease-out":"cubic-bezier(.000, 0, .580, 1)","ease-in-out":"cubic-bezier(.420, 0, .580, 1)","ease-in-back":"cubic-bezier(.6, -.28, .735, .045)","ease-out-back":"cubic-bezier(.175, .885, .32, 1.275)","ease-in-out-back":"cubic-bezier(.68, -.55, .265, 1.55)","ease-in-sine":"cubic-bezier(.47, 0, .745, .715)","ease-out-sine":"cubic-bezier(.39, .575, .565, 1)","ease-in-out-sine":"cubic-bezier(.445, .05, .55, .95)","ease-in-quad":"cubic-bezier(.55, .085, .68, .53)","ease-out-quad":"cubic-bezier(.25, .46, .45, .94)","ease-in-out-quad":"cubic-bezier(.455, .03, .515, .955)","ease-in-cubic":"cubic-bezier(.55, .085, .68, .53)","ease-out-cubic":"cubic-bezier(.25, .46, .45, .94)","ease-in-out-cubic":"cubic-bezier(.455, .03, .515, .955)","ease-in-quart":"cubic-bezier(.55, .085, .68, .53)","ease-out-quart":"cubic-bezier(.25, .46, .45, .94)","ease-in-out-quart":"cubic-bezier(.455, .03, .515, .955)"},a=(0,n.forwardRef)(({as:e="div",cascade:t=!1,disabled:r=!1,waitMount:a=!1,duration:l,threshold:u=.2,className:c="",cascadeIncrement:d,triggerOnce:f=!1,animationName:p,timingFunction:h,whenInView:m=!1,delay:g=0,style:v,children:y,...b},w)=>{let _=(0,n.useMemo)(()=>{if(r)return;let e={...v};return d&&(e["--increment"]=`${d}ms`),l&&(e["--duration"]=`${l}ms`),h&&(e["--easing"]=o[h]||h),g&&(t?e["--initial-delay"]=`${g}ms`:e["--delay"]=g),m&&!g&&(e["--initial-delay"]="100ms"),p&&(e["--animationName"]=p),e},[v,p,g,l,h,t,r]),[x,S]=(0,n.useState)(()=>!m&&!a),{ref:E,inView:k=!0}=(0,i.YD)({skip:!m,triggerOnce:f,threshold:u});(0,n.useEffect)(()=>{m&&S(k)},[k]),(0,n.useEffect)(()=>{a&&S(!0)},[]);let T=s(w,E);return n.createElement(e,{style:_,className:r?c:c+(x?` biaf biaf${t?"Cascade":"NonCascade"}`:" biaf biafHidden"),ref:T,...b},y)});function s(...e){return(0,n.useCallback)(t=>{for(let r of e)"function"==typeof r?r(t):r&&(r.current=t)},[...e])}(0,n.forwardRef)(function({as:e="div",duration:t,waitMount:r,threshold:a=.2,className:l="",cascadeIncrement:u=100,triggerOnce:c=!1,animationName:d="babyFadeTextUp",timingFunction:f,whenInView:p=!1,delay:h=0,style:m,children:g,...v},y){let b=(0,n.useMemo)(()=>{let e={...m};return t&&(e["--duration"]=`${t}ms`),f&&(e["--easing"]=o[f]||f),d&&(e["--animationName"]=d),e},[m]),[w,_]=(0,n.useState)(()=>!p&&!r),{ref:x,inView:S=!0}=(0,i.YD)({skip:!p,triggerOnce:c,threshold:a});(0,n.useEffect)(()=>{p&&_(S)},[S]),(0,n.useEffect)(()=>{r&&_(!0)},[]);let E=s(y,x),k=(0,n.useMemo)(()=>(function({inView:e}){if("string"!=typeof g)return g;let t=g.split(" ").filter(Boolean);return t.map((r,i)=>{let o={};return o["--text-delay"]=`${h+u*i}ms`,n.createElement("span",{className:e?" biaf biafTextWord":" biaf biafHidden",style:o,key:i},i!==t.length-1?r+" ":r)})})({inView:w}),[g,w,d,h,t,f,u]);return n.createElement(e,{className:l+" biafTextWrapper",style:b,ref:E,...v},k)})},65443:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&e.push(a)}}else if("object"===o){if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(r=(function(){return i}).apply(t,[]))&&(e.exports=r)}()},19841:function(e,t,r){"use strict";t.Z=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n);else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(n&&(n+=" "),n+=t);return n}},94559:function(e){"use strict";var t={}.hasOwnProperty,r=function(e,r){if(!e)return r;var n={};for(var i in r)n[i]=t.call(e,i)?e[i]:r[i];return n},n=/[ -,\.\/:-@\[-\^`\{-~]/,i=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,a=function e(t,a){"single"!=(a=r(a,e.options)).quotes&&"double"!=a.quotes&&(a.quotes="single");for(var s="double"==a.quotes?'"':"'",l=a.isIdentifier,u=t.charAt(0),c="",d=0,f=t.length;d<f;){var p=t.charAt(d++),h=p.charCodeAt(),m=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&d<f){var g=t.charCodeAt(d++);(64512&g)==56320?h=((1023&h)<<10)+(1023&g)+65536:d--}m="\\"+h.toString(16).toUpperCase()+" "}else m=a.escapeEverything?n.test(p)?"\\"+p:"\\"+h.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(p)?"\\"+h.toString(16).toUpperCase()+" ":"\\"==p||!l&&('"'==p&&s==p||"'"==p&&s==p)||l&&i.test(p)?"\\"+p:p;c+=m}return(l&&(/^-[-\d]/.test(c)?c="\\-"+c.slice(1):/\d/.test(u)&&(c="\\3"+u+" "+c.slice(1))),c=c.replace(o,function(e,t,r){return t&&t.length%2?e:(t||"")+r}),!l&&a.wrap)?s+c+s:c};a.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},a.version="3.0.0",e.exports=a},88970:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(n=r=t.ElementType||(t.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},46785:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=r(88970),a=r(40910);i(r(40910),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?o.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},40910:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=r(88970),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),x(this,e)},e}();t.Node=s;var l=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=c;var d=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=a.ElementType.Directive,n}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,n)||this;return o.name=t,o.attribs=r,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}})},enumerable:!1,configurable:!0}),t}(f);function g(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function y(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function _(e){return e.type===a.ElementType.Root}function x(e,t){if(void 0===t&&(t=!1),y(e))r=new u(e.data);else if(b(e))r=new c(e.data);else if(g(e)){var r,n=t?S(e.children):[],i=new m(e.name,o({},e.attribs),n);n.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),r=i}else if(v(e)){var n=t?S(e.children):[],a=new p(n);n.forEach(function(e){return e.parent=a}),r=a}else if(_(e)){var n=t?S(e.children):[],s=new h(n);n.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else if(w(e)){var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}else throw Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function S(e){for(var t=e.map(function(e){return x(e,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=v,t.isText=y,t.isComment=b,t.isDirective=w,t.isDocument=_,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=x},38774:function(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,a){if("function"!=typeof n)throw TypeError("The listener must be a function");var s=new i(n,o||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=Array(o);i<o;i++)a[i]=n[i].fn;return a},s.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,i,o,a){var s=r?r+e:e;if(!this._events[s])return!1;var l,u,c=this._events[s],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,o),!0;case 6:return c.fn.call(c.context,t,n,i,o,a),!0}for(u=1,l=Array(d-1);u<d;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var f,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,n);break;case 4:c[u].fn.call(c[u].context,t,n,i);break;default:if(!l)for(f=1,l=Array(d-1);f<d;f++)l[f-1]=arguments[f];c[u].fn.apply(c[u].context,l)}}return!0},s.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||n&&s.context!==n||a(this,o);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==t||i&&!s[l].once||n&&s[l].context!==n)&&u.push(s[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s},46128:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(r=t.cmp,function(e){return function(t,n){return r({key:t,value:e[t]},{key:n,value:e[n]})}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t)){for(r=0,a="[";r<t.length;r++)r&&(a+=","),a+=e(t[r])||"null";return a+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw TypeError("Converting circular structure to JSON")}var r,a,s=o.push(t)-1,l=Object.keys(t).sort(i&&i(t));for(r=0,a="";r<l.length;r++){var u=l[r],c=e(t[u]);c&&(a&&(a+=","),a+=JSON.stringify(u)+":"+c)}return o.splice(s,1),"{"+a+"}"}}(e)}},39745:function(){(function(){"use strict";function e(e){var t=!0,r=!1,n=null,i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function o(e){return!!e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList}function a(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function s(e){t=!1}function l(){document.addEventListener("mousemove",u),document.addEventListener("mousedown",u),document.addEventListener("mouseup",u),document.addEventListener("pointermove",u),document.addEventListener("pointerdown",u),document.addEventListener("pointerup",u),document.addEventListener("touchmove",u),document.addEventListener("touchstart",u),document.addEventListener("touchend",u)}function u(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",u),document.removeEventListener("mousedown",u),document.removeEventListener("mouseup",u),document.removeEventListener("pointermove",u),document.removeEventListener("pointerdown",u),document.removeEventListener("pointerup",u),document.removeEventListener("touchmove",u),document.removeEventListener("touchstart",u),document.removeEventListener("touchend",u))}document.addEventListener("keydown",function(r){r.metaKey||r.altKey||r.ctrlKey||(o(e.activeElement)&&a(e.activeElement),t=!0)},!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(r&&(t=!0),l())},!0),l(),e.addEventListener("focus",function(e){var r,n,s;o(e.target)&&(t||(n=(r=e.target).type,"INPUT"===(s=r.tagName)&&i[n]&&!r.readOnly||"TEXTAREA"===s&&!r.readOnly||r.isContentEditable))&&a(e.target)},!0),e.addEventListener("blur",function(e){if(o(e.target)){var t;(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(r=!0,window.clearTimeout(n),n=window.setTimeout(function(){r=!1},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")))}},!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)})()},17931:function(e,t){t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},57852:function(e){var t,r="html",n="head",i="body",o=/<([a-zA-Z]+[0-9]?)/,a=/<head[^]*>/i,s=/<body[^]*>/i,l=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var d=new c;l=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();l=function(e,t){return t?f.documentElement.querySelector(t).innerHTML=e:f.documentElement.innerHTML=e,f}}var p="object"==typeof document?document.createElement("template"):{};p.content&&(t=function(e){return p.innerHTML=e,p.content.childNodes}),e.exports=function(e){var c,d,f,p,h=e.match(o);switch(h&&h[1]&&(c=h[1].toLowerCase()),c){case r:return d=u(e),!a.test(e)&&(f=d.querySelector(n))&&f.parentNode.removeChild(f),!s.test(e)&&(f=d.querySelector(i))&&f.parentNode.removeChild(f),d.querySelectorAll(r);case n:case i:if(p=(d=l(e)).querySelectorAll(c),s.test(e)&&a.test(e))return p[0].parentNode.childNodes;return p;default:if(t)return t(e);return(f=l(e,i).querySelector(i)).childNodes}}},76008:function(e,t,r){for(var n,i=r(46785),o=r(17931).CASE_SENSITIVE_TAG_NAMES,a=i.Comment,s=i.Element,l=i.ProcessingInstruction,u=i.Text,c={},d=0,f=o.length;d<f;d++)c[(n=o[d]).toLowerCase()]=n;t.e=function e(t,r,n){r=r||null;for(var i=[],o=0,d=t.length;o<d;o++){var f,p,h=t[o];switch(h.nodeType){case 1:(p=new s(c[f=(f=h.nodeName).toLowerCase()]||f,function(e){for(var t,r={},n=0,i=e.length;n<i;n++)r[(t=e[n]).name]=t.value;return r}(h.attributes))).children=e(h.childNodes,p);break;case 3:p=new u(h.nodeValue);break;case 8:p=new a(h.nodeValue);break;default:continue}var m=i[o-1]||null;m&&(m.next=p),p.parent=r,p.prev=m,p.next=null,i.push(p)}return n&&((p=new l(n.substring(0,n.indexOf(" ")).toLowerCase(),n)).next=i[0]||null,p.parent=r,i.unshift(p),i[1]&&(i[1].prev=i[0])),i}},14272:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(10958),i=r(61836),o=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}t.default=function(e,t){void 0===e&&(e={});var r={},u=!!(e.type&&s[e.type]);for(var c in e){var d=e[c];if((0,n.isCustomAttribute)(c)){r[c]=d;continue}var f=c.toLowerCase(),p=l(f);if(p){var h=(0,n.getPropertyInfo)(p);switch(o.includes(p)&&a.includes(t)&&!u&&(p=l("default"+f)),r[p]=d,h&&h.type){case n.BOOLEAN:r[p]=!0;break;case n.OVERLOADED_BOOLEAN:""===d&&(r[p]=!0)}continue}i.PRESERVE_CUSTOM_ATTRIBUTES&&(r[c]=d)}return(0,i.setStyleProp)(e.style,r),r}},74597:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(92379),o=n(r(14272)),a=r(61836),s={cloneElement:i.cloneElement,createElement:i.createElement,isValidElement:i.isValidElement};t.default=function e(t,r){for(var n=[],i="function"==typeof(null==r?void 0:r.replace),l=(null==r?void 0:r.transform)||a.returnFirstArg,u=(null==r?void 0:r.library)||s,c=u.cloneElement,d=u.createElement,f=u.isValidElement,p=t.length,h=0;h<p;h++){var m=t[h];if(i){var g=r.replace(m,h);if(f(g)){p>1&&(g=c(g,{key:g.key||h})),n.push(l(g,m,h));continue}}if("text"===m.type){var v=!m.data.trim().length;if(v&&m.parent&&!(0,a.canTextBeChildOfNode)(m.parent)||(null==r?void 0:r.trim)&&v)continue;n.push(l(m.data,m,h));continue}var y={};a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===m.type&&(0,a.isCustomComponent)(m.name,m.attribs)?((0,a.setStyleProp)(m.attribs.style,m.attribs),y=m.attribs):m.attribs&&(y=(0,o.default)(m.attribs,m.name));var b=void 0;switch(m.type){case"script":case"style":m.children[0]&&(y.dangerouslySetInnerHTML={__html:m.children[0].data});break;case"tag":"textarea"===m.name&&m.children[0]?y.defaultValue=m.children[0].data:m.children&&m.children.length&&(b=e(m.children,r));break;default:continue}p>1&&(y.key=h),n.push(l(d(m.name,y,b),m,h))}return 1===n.length?n[0]:n}},25521:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0;var i=n(r(70580));t.htmlToDOM=i.default;var o=n(r(14272));t.attributesToProps=o.default;var a=n(r(74597));t.domToReact=a.default;var s=r(46785);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1};t.default=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return e?(0,a.default)((0,i.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]}},61836:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=t.setStyleProp=t.isCustomComponent=void 0;var i=r(92379),o=n(r(69124)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):!!(t&&"string"==typeof t.is)};var s={reactCompat:!0};t.setStyleProp=function(e,t){if("string"==typeof e){if(!e.trim()){t.style={};return}try{t.style=(0,o.default)(e,s)}catch(e){t.style={}}}},t.PRESERVE_CUSTOM_ATTRIBUTES=Number(i.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},87673:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,d=1;function f(e){var t=e.match(r);t&&(c+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new h(e),v(n),t}}function h(e){this.start=e,this.end={line:c,column:d},this.source=l.source}h.prototype.content=e;var m=[];function g(t){var r=Error(l.source+":"+c+":"+d+": "+t);if(r.reason=t,r.filename=l.source,r.line=c,r.column=d,r.source=e,l.silent)m.push(r);else throw r}function v(t){var r=t.exec(e);if(r){var n=r[0];return f(n),e=e.slice(n.length),r}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return g("End of comment missing");var n=e.slice(2,r-2);return d+=2,f(n),e=e.slice(r),d+=2,t({type:"comment",comment:n})}}return v(n),function(){var e,r=[];for(y(r);e=function(){var e=p(),r=v(i);if(r){if(b(),!v(o))return g("property missing ':'");var n=v(a),l=e({type:"declaration",property:u(r[0].replace(t,"")),value:n?u(n[0].replace(t,"")):""});return v(s),l}}();)!1!==e&&(r.push(e),y(r));return r}()}},64085:function(e){"use strict";e.exports=e=>{if("string"!=typeof e)throw TypeError("Expected a string");try{return new URL(e),!0}catch{return!1}}},51257:function(e){var t=Array.isArray;e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return t(e)?e:[e]}},71046:function(e){var t,r,n=Object.prototype,i=Function.prototype.toString,o=n.hasOwnProperty,a=i.call(Object),s=n.toString,l=(t=Object.getPrototypeOf,r=Object,function(e){return t(r(e))});e.exports=function(e){if(!(e&&"object"==typeof e)||"[object Object]"!=s.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=l(e);if(null===t)return!0;var r=o.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&i.call(r)==a}},67460:function(e,t,r){e=r.nmd(e);var n,i,o,a,s,l,u,c,d,f,p,h="__lodash_hash_undefined__",m="[object Arguments]",g="[object Function]",v="[object Object]",y=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[m]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object Boolean]"]=w["[object DataView]"]=w["[object Date]"]=w["[object Error]"]=w[g]=w["[object Map]"]=w["[object Number]"]=w[v]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object WeakMap]"]=!1;var _="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,x="object"==typeof self&&self&&self.Object===Object&&self,S=_||x||Function("return this")(),E=t&&!t.nodeType&&t,k=E&&e&&!e.nodeType&&e,T=k&&k.exports===E,A=T&&_.process,P=function(){try{var e=k&&k.require&&k.require("util").types;if(e)return e;return A&&A.binding&&A.binding("util")}catch(e){}}(),O=P&&P.isTypedArray,j=Array.prototype,C=Function.prototype,M=Object.prototype,N=S["__core-js_shared__"],L=C.toString,R=M.hasOwnProperty,I=(u=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",D=M.toString,F=L.call(Object),B=RegExp("^"+L.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=T?S.Buffer:void 0,z=S.Symbol,$=S.Uint8Array,H=U?U.allocUnsafe:void 0,G=(c=Object.getPrototypeOf,d=Object,function(e){return c(d(e))}),V=Object.create,q=M.propertyIsEnumerable,W=j.splice,Y=z?z.toStringTag:void 0,X=function(){try{var e=ep(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Z=U?U.isBuffer:void 0,J=Math.max,K=Date.now,Q=ep(S,"Map"),ee=ep(Object,"create"),et=function(){function e(){}return function(t){if(!ek(t))return{};if(V)return V(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function er(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function en(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ei(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eo(e){var t=this.__data__=new en(e);this.size=t.size}function ea(e,t,r){(void 0===r||ey(e[t],r))&&(void 0!==r||t in e)||el(e,t,r)}function es(e,t){for(var r=e.length;r--;)if(ey(e[r][0],t))return r;return -1}function el(e,t,r){"__proto__"==t&&X?X(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}er.prototype.clear=function(){this.__data__=ee?ee(null):{},this.size=0},er.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},er.prototype.get=function(e){var t=this.__data__;if(ee){var r=t[e];return r===h?void 0:r}return R.call(t,e)?t[e]:void 0},er.prototype.has=function(e){var t=this.__data__;return ee?void 0!==t[e]:R.call(t,e)},er.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ee&&void 0===t?h:t,this},en.prototype.clear=function(){this.__data__=[],this.size=0},en.prototype.delete=function(e){var t=this.__data__,r=es(t,e);return!(r<0)&&(r==t.length-1?t.pop():W.call(t,r,1),--this.size,!0)},en.prototype.get=function(e){var t=this.__data__,r=es(t,e);return r<0?void 0:t[r][1]},en.prototype.has=function(e){return es(this.__data__,e)>-1},en.prototype.set=function(e,t){var r=this.__data__,n=es(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},ei.prototype.clear=function(){this.size=0,this.__data__={hash:new er,map:new(Q||en),string:new er}},ei.prototype.delete=function(e){var t=ef(this,e).delete(e);return this.size-=t?1:0,t},ei.prototype.get=function(e){return ef(this,e).get(e)},ei.prototype.has=function(e){return ef(this,e).has(e)},ei.prototype.set=function(e,t){var r=ef(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},eo.prototype.clear=function(){this.__data__=new en,this.size=0},eo.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},eo.prototype.get=function(e){return this.__data__.get(e)},eo.prototype.has=function(e){return this.__data__.has(e)},eo.prototype.set=function(e,t){var r=this.__data__;if(r instanceof en){var n=r.__data__;if(!Q||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ei(n)}return r.set(e,t),this.size=r.size,this};var eu=function(e,t,r){for(var n=-1,i=Object(e),o=r(e),a=o.length;a--;){var s=o[++n];if(!1===t(i[s],s,i))break}return e};function ec(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Y&&Y in Object(e)?function(e){var t=R.call(e,Y),r=e[Y];try{e[Y]=void 0;var n=!0}catch(e){}var i=D.call(e);return n&&(t?e[Y]=r:delete e[Y]),i}(e):D.call(e)}function ed(e){return eT(e)&&ec(e)==m}function ef(e,t){var r,n=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?n["string"==typeof t?"string":"hash"]:n.map}function ep(e,t){var r=null==e?void 0:e[t];return!(!ek(r)||I&&I in r)&&(eS(r)?B:y).test(function(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(r))?r:void 0}function eh(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&b.test(e))&&e>-1&&e%1==0&&e<t}function em(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||M)}function eg(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ev=(n=X?function(e,t){return X(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:ej,i=0,o=0,function(){var e=K(),t=16-(e-o);if(o=e,t>0){if(++i>=800)return arguments[0]}else i=0;return n.apply(void 0,arguments)});function ey(e,t){return e===t||e!=e&&t!=t}var eb=ed(function(){return arguments}())?ed:function(e){return eT(e)&&R.call(e,"callee")&&!q.call(e,"callee")},ew=Array.isArray;function e_(e){return null!=e&&eE(e.length)&&!eS(e)}var ex=Z||function(){return!1};function eS(e){if(!ek(e))return!1;var t=ec(e);return t==g||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eE(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function ek(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eT(e){return null!=e&&"object"==typeof e}var eA=O?function(e){return O(e)}:function(e){return eT(e)&&eE(e.length)&&!!w[ec(e)]};function eP(e){return e_(e)?function(e,t){var r=ew(e),n=!r&&eb(e),i=!r&&!n&&ex(e),o=!r&&!n&&!i&&eA(e),a=r||n||i||o,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var u in e)(t||R.call(e,u))&&!(a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||eh(u,l)))&&s.push(u);return s}(e,!0):function(e){if(!ek(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=em(e),r=[];for(var n in e)"constructor"==n&&(t||!R.call(e,n))||r.push(n);return r}(e)}var eO=(f=function(e,t,r){!function e(t,r,n,i,o){t!==r&&eu(r,function(a,s){if(o||(o=new eo),ek(a))(function(e,t,r,n,i,o,a){var s=eg(e,r),l=eg(t,r),u=a.get(l);if(u){ea(e,r,u);return}var c=o?o(s,l,r+"",e,t,a):void 0,d=void 0===c;if(d){var f,p,h,m=ew(l),g=!m&&ex(l),y=!m&&!g&&eA(l);c=l,m||g||y?ew(s)?c=s:eT(s)&&e_(s)?c=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(s):g?(d=!1,c=function(e,t){if(t)return e.slice();var r=e.length,n=H?H(r):new e.constructor(r);return e.copy(n),n}(l,!0)):y?(d=!1,new $(p=new(f=l.buffer).constructor(f.byteLength)).set(new $(f)),h=p,c=new l.constructor(h,l.byteOffset,l.length)):c=[]:function(e){if(!eT(e)||ec(e)!=v)return!1;var t=G(e);if(null===t)return!0;var r=R.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&L.call(r)==F}(l)||eb(l)?(c=s,eb(s)?c=function(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=void 0;void 0===l&&(l=e[s]),i?el(r,s,l):function(e,t,r){var n=e[t];R.call(e,t)&&ey(n,r)&&(void 0!==r||t in e)||el(e,t,r)}(r,s,l)}return r}(s,eP(s)):(!ek(s)||eS(s))&&(c="function"!=typeof l.constructor||em(l)?{}:et(G(l)))):d=!1}d&&(a.set(l,c),i(c,l,n,o,a),a.delete(l)),ea(e,r,c)})(t,r,s,n,e,i,o);else{var l=i?i(eg(t,s),a,s+"",t,r,o):void 0;void 0===l&&(l=a),ea(t,s,l)}},eP)}(e,t,r)},ev((a=p=function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(i=f.length>3&&"function"==typeof i?(n--,i):void 0,o&&function(e,t,r){if(!ek(r))return!1;var n=typeof t;return("number"==n?!!(e_(r)&&eh(t,r.length)):"string"==n&&(t in r))&&ey(r[t],e)}(t[0],t[1],o)&&(i=n<3?void 0:i,n=1),e=Object(e);++r<n;){var a=t[r];a&&f(e,a,r,i)}return e},s=void 0,l=ej,s=J(void 0===s?a.length-1:s,0),function(){for(var e=arguments,t=-1,r=J(e.length-s,0),n=Array(r);++t<r;)n[t]=e[s+t];t=-1;for(var i=Array(s+1);++t<s;)i[t]=e[t];return i[s]=l(n),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(a,this,i)}),p+""));function ej(e){return e}e.exports=eO},64932:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,s)}l((n=n.apply(e,t||[])).next())})},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=i(r(55663));function a(e,t="maxAge"){let r,i,a;let s=()=>n(this,void 0,void 0,function*(){if(void 0!==r)return;let s=s=>n(this,void 0,void 0,function*(){a=o.default();let n=s[1][t]-Date.now();if(n<=0){e.delete(s[0]),a.resolve();return}return r=s[0],"function"==typeof(i=setTimeout(()=>{e.delete(s[0]),a&&a.resolve()},n)).unref&&i.unref(),a.promise});try{for(let t of e)yield s(t)}catch(e){}r=void 0}),l=()=>{r=void 0,void 0!==i&&(clearTimeout(i),i=void 0),void 0!==a&&(a.reject(void 0),a=void 0)},u=e.set.bind(e);return e.set=(t,n)=>{e.has(t)&&e.delete(t);let i=u(t,n);return r&&r===t&&l(),s(),i},s(),e}t.default=a,e.exports=a,e.exports.default=a},35005:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(87684)}])},53286:function(e,t,r){"use strict";r.d(t,{A:function(){return i},E:function(){return o}});var n=r(16309);let i=(0,n.cn)(!0),o=(0,n.cn)({pageId:""})},87634:function(e,t,r){"use strict";r.d(t,{SV:function(){return l},cB:function(){return a}});var n=r(651);r(92379);var i=r(74738),o=r(60812);async function a(e,t){console.log(t,e),i.Tb(e,{extra:{msg:t}}),await i.yl(1e3)}function s(e){let{error:t,resetErrorBoundary:r}=e;return(0,n.jsxs)("div",{role:"alert",children:[(0,n.jsx)("div",{children:"Something went wrong:"}),(0,n.jsx)("pre",{className:"truncate text-red-500",children:t.message})]})}let l=e=>{let{children:t}=e;return(0,n.jsx)(o.SV,{onError:(e,t)=>{a(e,t.componentStack)},fallbackRender:s,children:t})}},96586:function(e,t,r){"use strict";r.d(t,{$:function(){return a}});var n=r(651),i=r(19841);r(92379);var o=r(73146);function a(e){var t,r;let{...i}=e,o=i.json;return(null==o?void 0:null===(t=o.singleRow)||void 0===t?void 0:t.length)?(0,n.jsx)(s,{...i}):(null==o?void 0:null===(r=o.columns)||void 0===r?void 0:r.length)?(0,n.jsx)(l,{...i}):(0,n.jsx)("div",{className:"pb-[62px]"})}function s(e){var t;let{json:r,className:a,businessName:s,justifyAround:l,...u}=e;return(null==r?void 0:null===(t=r.singleRow)||void 0===t?void 0:t.length)?(0,n.jsx)("div",{className:(0,i.Z)("w-full text-sm py-10 opacity-90 items-center","font-medium flex-col flex",a),...u,children:(0,n.jsx)("div",{className:(0,i.Z)("flex flex-col items-center gap-8","md:flex-row"),children:null==r?void 0:r.singleRow.map((e,t)=>(0,n.jsx)("div",{className:"opacity-60",children:(0,n.jsx)(o.D,{href:e.url,children:e.content},e.url+t)},t))})}):null}function l(e){let{className:t="",json:r,justifyAround:a=!1,businessName:s="Notaku",...l}=e,u=null==r?void 0:r.columns;return u&&0!==u.length?(0,n.jsx)("div",{className:(0,i.Z)("opacity-90 font-medium text-sm py-10 w-full",t),...l,children:(0,n.jsx)("div",{className:(0,i.Z)("space-y-10 items-stretch flex-col flex md:space-y-0","md:space-x-10 md:flex-row",a?"justify-around":"justify-between"),children:u.map((e,t)=>(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsx)("div",{className:"block w-auto font-medium",children:e.columnName}),e.links.map((e,t)=>(0,n.jsx)("div",{className:"opacity-60",children:(0,n.jsx)(o.D,{href:e.url,children:e.content},e.url+t)},t))]},t))})}):(0,n.jsx)("div",{})}},50696:function(e,t,r){"use strict";let n;r.d(t,{u:function(){return I}});var i=r(651),o=r(48612),a=r(92379),s=r(22135),l=r(32846),u=r(9616),c=r(48968),d=r(49714),f=r(56227),p=r(6426),h=r(25233),m=r(15388);function g(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];e&&r.length>0&&e.classList.add(...r)}function v(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];e&&r.length>0&&e.classList.remove(...r)}var y=r(93981),b=r(39806),w=r(1246);function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(/\s+/).filter(e=>e.length>1)}let x=(0,a.createContext)(null);x.displayName="TransitionContext";var S=((n=S||{}).Visible="visible",n.Hidden="hidden",n);let E=(0,a.createContext)(null);function k(e){return"children"in e?k(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function T(e,t){let r=(0,d.E)(e),n=(0,a.useRef)([]),i=(0,u.t)(),o=(0,s.G)(),c=(0,l.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.l4.Hidden,a=n.current.findIndex(t=>{let{el:r}=t;return r===e});-1!==a&&((0,m.E)(t,{[w.l4.Unmount](){n.current.splice(a,1)},[w.l4.Hidden](){n.current[a].state="hidden"}}),o.microTask(()=>{var e;!k(n)&&i.current&&(null==(e=r.current)||e.call(r))}))}),f=(0,l.z)(e=>{let t=n.current.find(t=>{let{el:r}=t;return r===e});return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>c(e,w.l4.Unmount)}),p=(0,a.useRef)([]),h=(0,a.useRef)(Promise.resolve()),g=(0,a.useRef)({enter:[],leave:[],idle:[]}),v=(0,l.z)((e,r,n)=>{p.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(t=>{let[r]=t;return r!==e})),null==t||t.chains.current[r].push([e,new Promise(e=>{p.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(g.current[r].map(e=>{let[t,r]=e;return r})).then(()=>e())})]),"enter"===r?h.current=h.current.then(()=>null==t?void 0:t.wait.current).then(()=>n(r)):n(r)}),y=(0,l.z)((e,t,r)=>{Promise.all(g.current[t].splice(0).map(e=>{let[t,r]=e;return r})).then(()=>{var e;null==(e=p.current.shift())||e()}).then(()=>r(t))});return(0,a.useMemo)(()=>({children:n,register:f,unregister:c,onStart:v,onStop:y,wait:h,chains:g}),[f,c,n,v,y,g,h])}function A(){}E.displayName="NestingContext";let P=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function O(e){var t;let r={};for(let n of P)r[n]=null!=(t=e[n])?t:A;return r}let j=w.AN.RenderStrategy,C=(0,w.yV)(function(e,t){let{show:r,appear:n=!1,unmount:i=!0,...o}=e,s=(0,a.useRef)(null),u=(0,p.T)(s,t);(0,f.H)();let d=(0,y.oJ)();if(void 0===r&&null!==d&&(r=(d&y.ZM.Open)===y.ZM.Open),![!0,!1].includes(r))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[h,m]=(0,a.useState)(r?"visible":"hidden"),g=T(()=>{m("hidden")}),[v,b]=(0,a.useState)(!0),_=(0,a.useRef)([r]);(0,c.e)(()=>{!1!==v&&_.current[_.current.length-1]!==r&&(_.current.push(r),b(!1))},[_,r]);let S=(0,a.useMemo)(()=>({show:r,appear:n,initial:v}),[r,n,v]);(0,a.useEffect)(()=>{if(r)m("visible");else if(k(g)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&m("hidden")}else m("hidden")},[r,g]);let A={unmount:i},P=(0,l.z)(()=>{var t;v&&b(!1),null==(t=e.beforeEnter)||t.call(e)}),O=(0,l.z)(()=>{var t;v&&b(!1),null==(t=e.beforeLeave)||t.call(e)});return a.createElement(E.Provider,{value:g},a.createElement(x.Provider,{value:S},(0,w.sY)({ourProps:{...A,as:a.Fragment,children:a.createElement(M,{ref:u,...A,...o,beforeEnter:P,beforeLeave:O})},theirProps:{},defaultTag:a.Fragment,features:j,visible:"visible"===h,name:"Transition"})))}),M=(0,w.yV)(function(e,t){var r,n,i;let o;let{beforeEnter:S,afterEnter:A,beforeLeave:P,afterLeave:C,enter:M,enterFrom:N,enterTo:L,entered:R,leave:I,leaveFrom:D,leaveTo:F,...B}=e,U=(0,a.useRef)(null),z=(0,p.T)(U,t),$=null==(r=B.unmount)||r?w.l4.Unmount:w.l4.Hidden,{show:H,appear:G,initial:V}=function(){let e=(0,a.useContext)(x);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[q,W]=(0,a.useState)(H?"visible":"hidden"),Y=function(){let e=(0,a.useContext)(E);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:X,unregister:Z}=Y;(0,a.useEffect)(()=>X(U),[X,U]),(0,a.useEffect)(()=>{if($===w.l4.Hidden&&U.current){if(H&&"visible"!==q){W("visible");return}return(0,m.E)(q,{hidden:()=>Z(U),visible:()=>X(U)})}},[q,U,X,Z,H,$]);let J=(0,d.E)({base:_(B.className),enter:_(M),enterFrom:_(N),enterTo:_(L),entered:_(R),leave:_(I),leaveFrom:_(D),leaveTo:_(F)}),K=(i={beforeEnter:S,afterEnter:A,beforeLeave:P,afterLeave:C},o=(0,a.useRef)(O(i)),(0,a.useEffect)(()=>{o.current=O(i)},[i]),o),Q=(0,f.H)();(0,a.useEffect)(()=>{if(Q&&"visible"===q&&null===U.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[U,q,Q]);let ee=G&&H&&V,et=Q&&(!V||G)?H?"enter":"leave":"idle",er=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,r]=(0,a.useState)(e),n=(0,u.t)(),i=(0,a.useCallback)(e=>{n.current&&r(t=>t|e)},[t,n]),o=(0,a.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:o,removeFlag:(0,a.useCallback)(e=>{n.current&&r(t=>t&~e)},[r,n]),toggleFlag:(0,a.useCallback)(e=>{n.current&&r(t=>t^e)},[r])}}(0),en=(0,l.z)(e=>(0,m.E)(e,{enter:()=>{er.addFlag(y.ZM.Opening),K.current.beforeEnter()},leave:()=>{er.addFlag(y.ZM.Closing),K.current.beforeLeave()},idle:()=>{}})),ei=(0,l.z)(e=>(0,m.E)(e,{enter:()=>{er.removeFlag(y.ZM.Opening),K.current.afterEnter()},leave:()=>{er.removeFlag(y.ZM.Closing),K.current.afterLeave()},idle:()=>{}})),eo=T(()=>{W("hidden"),Z(U)},Y),ea=(0,a.useRef)(!1);!function(e){let{immediate:t,container:r,direction:n,classes:i,onStart:o,onStop:a}=e,l=(0,u.t)(),f=(0,s.G)(),p=(0,d.E)(n);(0,c.e)(()=>{t&&(p.current="enter")},[t]),(0,c.e)(()=>{let e=(0,h.k)();f.add(e.dispose);let t=r.current;if(t&&"idle"!==p.current&&l.current){var n,s,u;let r,l,c,d,f,y,b;return e.dispose(),o.current(p.current),e.add((n=i.current,s="enter"===p.current,u=()=>{e.dispose(),a.current(p.current)},l=s?"enter":"leave",c=(0,h.k)(),d=void 0!==u?(r={called:!1},function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!r.called)return r.called=!0,u(...t)}):()=>{},"enter"===l&&(t.removeAttribute("hidden"),t.style.display=""),f=(0,m.E)(l,{enter:()=>n.enter,leave:()=>n.leave}),y=(0,m.E)(l,{enter:()=>n.enterTo,leave:()=>n.leaveTo}),b=(0,m.E)(l,{enter:()=>n.enterFrom,leave:()=>n.leaveFrom}),v(t,...n.base,...n.enter,...n.enterTo,...n.enterFrom,...n.leave,...n.leaveFrom,...n.leaveTo,...n.entered),g(t,...n.base,...f,...b),c.nextFrame(()=>{v(t,...n.base,...f,...b),g(t,...n.base,...f,...y),function(e,t){let r=(0,h.k)();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:i}=getComputedStyle(e),[o,a]=[n,i].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),s=o+a;if(0!==s){r.group(r=>{r.setTimeout(()=>{t(),r.dispose()},s),r.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&r.dispose()})});let n=r.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),n())})}else t();r.add(()=>t()),r.dispose}(t,()=>(v(t,...n.base,...f),g(t,...n.base,...n.entered),d()))}),c.dispose)),e.dispose}},[n])}({immediate:ee,container:U,classes:J,direction:et,onStart:(0,d.E)(e=>{ea.current=!0,eo.onStart(U,e,en)}),onStop:(0,d.E)(e=>{ea.current=!1,eo.onStop(U,e,ei),"leave"!==e||k(eo)||(W("hidden"),Z(U))})});let es=B;return ee?es={...es,className:(0,b.A)(B.className,...J.current.enter,...J.current.enterFrom)}:ea.current&&(es.className=(0,b.A)(B.className,null==(n=U.current)?void 0:n.className),""===es.className&&delete es.className),a.createElement(E.Provider,{value:eo},a.createElement(y.up,{value:(0,m.E)(q,{visible:y.ZM.Open,hidden:y.ZM.Closed})|er.flags},(0,w.sY)({ourProps:{ref:z},theirProps:es,defaultTag:"div",features:j,visible:"visible"===q,name:"Transition.Child"})))}),N=(0,w.yV)(function(e,t){let r=null!==(0,a.useContext)(x),n=null!==(0,y.oJ)();return a.createElement(a.Fragment,null,!r&&n?a.createElement(C,{ref:t,...e}):a.createElement(M,{ref:t,...e}))}),L=Object.assign(C,{Child:N,Root:C});var R=r(19841);function I(e){let{children:t,disclosure:r}=e;return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(L,{appear:!0,show:r.isOpen,as:a.Fragment,children:(0,i.jsxs)(o.V,{as:"div",className:"fixed z-50 inset-0 overflow-y-auto px-4",onClose:r.onClose,children:[(0,i.jsx)(L.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,i.jsx)(o.V.Overlay,{style:{transition:"background 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important",backdropFilter:"saturate(180%) blur(8px)","-webkit-backdrop-filter":"saturate(180%) blur(8px)",background:"rgba(0, 0, 0, 0.3)"},onClick:r.onClose,className:"fixed inset-0 bg-black/10 cursor-pointer"})}),(0,i.jsx)(L.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,i.jsxs)("div",{className:"mt-8 z-10 gap-5 md:gap-8 flex flex-col items-center relative md:mt-24 dark:bg-gray-800 bg-white p-5 md:p-8 rounded-lg mx-auto max-w-[600px]",children:[t,(0,i.jsx)(D,{onClick:r.onClose})]})})]})})})}function D(e){let{className:t="",...r}=e;return(0,i.jsx)("button",{className:(0,R.Z)("top-2 text-gray-400 shrink-0 rounded right-2","p-1 bg-gray-100/60 backdrop-blur appearance-none","absolute dark:text-gray-400 dark:bg-gray-700/50",t),"aria-label":"Close",type:"button",...r,children:(0,i.jsx)(F,{className:"h-6 w-6"})})}function F(e){return(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"m12 10.586l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.414 1.414l-4.95-4.95l-4.95 4.95l-1.414-1.414l4.95-4.95l-4.95-4.95L7.05 5.636z"})})}},84614:function(e,t,r){"use strict";r.d(t,{l:function(){return a}});var n=r(651),i=r(42135),o=r(19841);function a(e){let{className:t="",...r}=e,a="https://notaku.so",{showNotakuBadge:s,hidePoweredBy:l,affiliateName:u}=(0,i.Xi)(),{poweredBy:c}=(0,i.Q6)();return u&&(a+="?via=".concat(u)),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:(0,o.Z)("mt-10 text-[11px] tracking-wide",l?"opacity-0":"opacity-70",t),...r,children:[(0,n.jsxs)("span",{className:"",children:[c," "]}),(0,n.jsx)("a",{className:"font-semibold underline",href:a,target:"_blank",children:"Notaku"})]})})}r(92379)},73146:function(e,t,r){"use strict";r.d(t,{D:function(){return l}});var n=r(651),i=r(42135),o=r(65443),a=r.n(o),s=r(29938);function l(e){let{className:t="",href:r="",...o}=e,{host:l}=(0,i.Xi)();r||(r="");let u=!r.startsWith("/")&&(0,s.X)(r)!==(0,s.X)("https://"+l);return(0,n.jsx)("a",{target:u?"_blank":void 0,className:a()("active:opacity-40 active:underline hover:underline",t),href:r,...o})}},26516:function(e,t,r){"use strict";r.d(t,{zx:function(){return p},gh:function(){return h},II:function(){return f},gx:function(){return d}});var n=r(651),i=r(65443),o=r.n(i),a=r(92379),s=r(81337),l=r.n(s),u=r(19841);function c(e){let{className:t=""}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l(),{id:"8de04c0bb1cde875",children:'.spinner.jsx-8de04c0bb1cde875{position:relative;pointer-events:none}.spinner.jsx-8de04c0bb1cde875::after{content:"";position:absolute!important;top:-webkit-calc(50% - (1em/2));top:-moz-calc(50% - (1em/2));top:calc(50% - (1em/2));left:-webkit-calc(50% - (1em/2));left:-moz-calc(50% - (1em/2));left:calc(50% - (1em/2));display:block;width:1em;height:1em;border:2px solid currentColor;-webkit-border-radius:9999px;-moz-border-radius:9999px;border-radius:9999px;border-right-color:transparent;border-top-color:transparent;-webkit-animation:spinAround 500ms infinite linear;-moz-animation:spinAround 500ms infinite linear;-o-animation:spinAround 500ms infinite linear;animation:spinAround 500ms infinite linear}@-webkit-keyframes spinAround{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes spinAround{from{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes spinAround{from{-o-transform:rotate(0deg);transform:rotate(0deg)}to{-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinAround{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}'}),(0,n.jsx)("div",{className:"jsx-8de04c0bb1cde875 "+((0,u.Z)("spinner w-5 h-5",t)||"")})]})}let d=(0,a.forwardRef)(function(e,t){let{className:r,...i}=e;return(0,n.jsx)("textarea",{ref:t,className:o()("w-full tracking-wide text-gray-900 ","rounded-lg px-2.5 py-[6px] border-gray-300 focus:ring-2 block","bg-gray-50 focus:ring-gray-400/70 ring-1 ring-gray-200 dark:ring-gray-800 focus:border-gray-500","dark:text-white dark:placeholder-gray-400","dark:focus:ring-gray-500 dark:focus:ring-gray-500 "," dark:bg-gray-700",r),...i})}),f=(0,a.forwardRef)(function(e,t){let{className:r,...i}=e;return(0,n.jsx)("input",{ref:t,className:o()("w-full tracking-wide text-gray-900 ","rounded-lg px-2.5 py-[6px] border-gray-300 focus:ring-2 block","bg-gray-50 focus:ring-gray-400/70 ring-1 ring-gray-200 dark:ring-gray-800 focus:border-gray-500","dark:text-white dark:placeholder-gray-400","dark:focus:ring-gray-500 dark:focus:ring-gray-500 "," dark:bg-gray-700",r),...i})}),p=(0,a.forwardRef)(function(e,t){let{className:r,children:i,isLoading:a=!1,...s}=e;return(0,n.jsx)("button",{type:"button",className:o()("w-full  text-center rounded-lg px-4 transition-colors","justify-center items-center duration-200 font-semibold ","flex dark:bg-gray-700 sm:w-auto hover:bg-gray-300","focus:ring-gray-300 focus:ring-2 focus:outline-none","dark:hover:bg-sky-100 dark:focus:ring-gray-500","dark:bg-sky-200 min-w-[140px] min-h-[42px] bg-gray-200 text-gray-800"),...s,children:a?(0,n.jsx)(c,{}):i})});function h(e){let{className:t,...r}=e;return(0,n.jsx)("button",{className:o()("p-2 py-[6px] ","max-w-max justify-center font-medium items-center shrink-0 min-h-[34px]","flex gap-2 ease-in-out appearance-none active:opacity-100","duration-[300ms] whitespace-nowrap hover:bg-gray-100 dark:hover:bg-gray-800 transition-all rounded",t),type:"button",...r})}},83135:function(e,t,r){"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function i(e,t){return function e(t,r,n){try{var i,o;if(!(null==t?void 0:null===(i=t.children)||void 0===i?void 0:i.length))return null;for(let i=0;i<t.children.length;i++){let a=t.children[i];if(a.slug&&a.id===r)return{previous:t.children[i-1]||t,current:a,next:(null==a?void 0:null===(o=a.children)||void 0===o?void 0:o[0])||t.children[i+1]||function(){if(!n)return;let e=n.children.findIndex(e=>e.id===t.id);return n.children[e+1]}()};let s=e(a,r,t);if(s)return s}}catch(e){return console.error("Error searching subtree",e),null}}({children:[e]},t,null)}r.d(t,{cs:function(){return n},jd:function(){return i}}),r(92379)},42135:function(e,t,r){"use strict";let n,i;r.d(t,{XP:function(){return G},Re:function(){return z},RK:function(){return ei},wA:function(){return q},Ds:function(){return X},Yg:function(){return I},B2:function(){return E.B2},Vd:function(){return V},hD:function(){return W},If:function(){return _.If},ff:function(){return R},bX:function(){return er},Xi:function(){return et},aQ:function(){return D},KM:function(){return Z},nw:function(){return J},Yn:function(){return U},JQ:function(){return ee},x1:function(){return Q},Sl:function(){return Y},Q6:function(){return en},Ri:function(){return B}});var o=r(651),a=r(81337),s=r.n(a),l=r(92379),u=r(53691),c=r.n(u);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var p=["keyOverride"],h=["crossOrigin"],m={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},g=function(e,t,r){void 0===t&&(t=[]);var n=void 0===r?{}:r,i=n.defaultWidth,o=n.defaultHeight;return t.reduce(function(t,r,n){return t.push(l.createElement("meta",{key:"og:"+e+":0"+n,property:"og:"+e,content:r.url})),r.alt&&t.push(l.createElement("meta",{key:"og:"+e+":alt0"+n,property:"og:"+e+":alt",content:r.alt})),r.secureUrl&&t.push(l.createElement("meta",{key:"og:"+e+":secure_url0"+n,property:"og:"+e+":secure_url",content:r.secureUrl.toString()})),r.type&&t.push(l.createElement("meta",{key:"og:"+e+":type0"+n,property:"og:"+e+":type",content:r.type.toString()})),r.width?t.push(l.createElement("meta",{key:"og:"+e+":width0"+n,property:"og:"+e+":width",content:r.width.toString()})):i&&t.push(l.createElement("meta",{key:"og:"+e+":width0"+n,property:"og:"+e+":width",content:i.toString()})),r.height?t.push(l.createElement("meta",{key:"og:"+e+":height"+n,property:"og:"+e+":height",content:r.height.toString()})):o&&t.push(l.createElement("meta",{key:"og:"+e+":height"+n,property:"og:"+e+":height",content:o.toString()})),t},[])},v=function(e){var t,r,n,i,o,a=[];e.titleTemplate&&(m.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,m.templateTitle&&(s=m.templateTitle.replace(/%s/g,function(){return s}))):e.defaultTitle&&(s=e.defaultTitle),s&&a.push(l.createElement("title",{key:"title"},s));var u=void 0===e.noindex?m.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,c=void 0===e.nofollow?m.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,v=e.norobots||m.norobots,y="";if(e.robotsProps){var b=e.robotsProps,w=b.nosnippet,_=b.maxSnippet,x=b.maxImagePreview,S=b.maxVideoPreview,E=b.noarchive,k=b.noimageindex,T=b.notranslate,A=b.unavailableAfter;y=(w?",nosnippet":"")+(_?",max-snippet:"+_:"")+(x?",max-image-preview:"+x:"")+(E?",noarchive":"")+(A?",unavailable_after:"+A:"")+(k?",noimageindex":"")+(S?",max-video-preview:"+S:"")+(T?",notranslate":"")}if(e.norobots&&(m.norobots=!0),u||c?(e.dangerouslySetAllPagesToNoIndex&&(m.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(m.nofollow=!0),a.push(l.createElement("meta",{key:"robots",name:"robots",content:(u?"noindex":"index")+","+(c?"nofollow":"follow")+y}))):(!v||y)&&a.push(l.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+y})),e.description&&a.push(l.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&a.push(l.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&a.push(l.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){a.push(l.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&a.push(l.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&a.push(l.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&a.push(l.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&a.push(l.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||s)&&a.push(l.createElement("meta",{key:"og:title",property:"og:title",content:(null==(i=e.openGraph)?void 0:i.title)||s})),(null!=(r=e.openGraph)&&r.description||e.description)&&a.push(l.createElement("meta",{key:"og:description",property:"og:description",content:(null==(o=e.openGraph)?void 0:o.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&a.push(l.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var P=e.openGraph.type.toLowerCase();a.push(l.createElement("meta",{key:"og:type",property:"og:type",content:P})),"profile"===P&&e.openGraph.profile?(e.openGraph.profile.firstName&&a.push(l.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&a.push(l.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&a.push(l.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&a.push(l.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===P&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){a.push(l.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&a.push(l.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&a.push(l.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,t){a.push(l.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===P&&e.openGraph.article?(e.openGraph.article.publishedTime&&a.push(l.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&a.push(l.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&a.push(l.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){a.push(l.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&a.push(l.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){a.push(l.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===P||"video.episode"===P||"video.tv_show"===P||"video.other"===P)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&a.push(l.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&a.push(l.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){a.push(l.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){a.push(l.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&a.push(l.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&a.push(l.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,t){a.push(l.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&a.push(l.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(m.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(m.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&a.push.apply(a,g("image",e.openGraph.images,{defaultWidth:m.defaultOpenGraphImageWidth,defaultHeight:m.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(m.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(m.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&a.push.apply(a,g("video",e.openGraph.videos,{defaultWidth:m.defaultOpenGraphVideoWidth,defaultHeight:m.defaultOpenGraphVideoHeight})),e.openGraph.audio&&a.push.apply(a,g("audio",e.openGraph.audio)),e.openGraph.locale&&a.push(l.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&a.push(l.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&a.push(l.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,r,n=e.keyOverride,i=f(e,p);a.push(l.createElement("meta",d({key:"meta:"+(null!=(t=null!=(r=null!=n?n:i.name)?r:i.property)?t:i.httpEquiv)},i)))}),null!=(n=e.additionalLinkTags)&&n.length&&e.additionalLinkTags.forEach(function(e){var t,r=e.crossOrigin,n=f(e,h);a.push(l.createElement("link",d({key:"link"+(null!=(t=n.keyOverride)?t:n.href)+n.rel},n,{crossOrigin:"anonymous"===r||"use-credentials"===r||""===r?r:void 0})))}),a},y=function(e){return l.createElement(c(),null,v(e))},b=function(e){var t=e.title,r=e.themeColor,n=e.noindex,i=e.nofollow,o=e.robotsProps,a=e.description,s=e.canonical,u=e.openGraph,c=e.facebook,d=e.twitter,f=e.additionalMetaTags,p=e.titleTemplate,h=e.defaultTitle,m=e.mobileAlternate,g=e.languageAlternates,v=e.additionalLinkTags;return l.createElement(l.Fragment,null,l.createElement(y,{title:t,themeColor:r,noindex:n,nofollow:i,robotsProps:o,description:a,canonical:s,facebook:c,openGraph:u,additionalMetaTags:f,twitter:d,titleTemplate:p,defaultTitle:h,mobileAlternate:m,languageAlternates:g,additionalLinkTags:v}))};RegExp("["+Object.keys(Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"})).join("")+"]","g");var w=r(61248),_=r(58064),x=r(51682),S=r(19614),E=r(91313),k=r(65443),T=r.n(k),A=r(11354);let P={"Asia/Barnaul":"RU","Africa/Nouakchott":"MR","Africa/Lusaka":"ZM","Asia/Pyongyang":"KP","Europe/Bratislava":"SK","America/Belize":"BZ","America/Maceio":"BR","Pacific/Chuuk":"FM","Indian/Comoro":"KM","Pacific/Palau":"PW","Asia/Jakarta":"ID","Africa/Windhoek":"NA","America/Chihuahua":"MX","America/Nome":"US","Africa/Mbabane":"SZ","Africa/Porto-Novo":"BJ","Europe/San_Marino":"SM","Pacific/Fakaofo":"TK","America/Denver":"US","Europe/Belgrade":"RS","America/Indiana/Tell_City":"US","America/Fortaleza":"BR","America/Halifax":"CA","Europe/Bucharest":"RO","America/Indiana/Petersburg":"US","Europe/Kirov":"RU","Europe/Athens":"GR","America/Argentina/Ushuaia":"AR","Europe/Monaco":"MC","Europe/Vilnius":"LT","Europe/Copenhagen":"DK","Pacific/Kanton":"KI","America/Caracas":"VE","Asia/Almaty":"KZ","Europe/Paris":"FR","Africa/Blantyre":"MW","Asia/Muscat":"OM","America/North_Dakota/Beulah":"US","America/Matamoros":"MX","Asia/Irkutsk":"RU","America/Costa_Rica":"CR","America/Araguaina":"BR","Atlantic/Canary":"ES","America/Santo_Domingo":"DO","America/Vancouver":"CA","Africa/Addis_Ababa":"ET","Africa/Accra":"GH","Pacific/Kwajalein":"MH","Asia/Baghdad":"IQ","Australia/Adelaide":"AU","Australia/Hobart":"AU","America/Guayaquil":"EC","America/Argentina/Tucuman":"AR","Australia/Lindeman":"AU","America/New_York":"US","Pacific/Fiji":"FJ","America/Antigua":"AG","Africa/Casablanca":"MA","America/Paramaribo":"SR","Africa/Cairo":"EG","America/Cayenne":"GF","America/Detroit":"US","Antarctica/Syowa":"AQ","Africa/Douala":"CM","America/Argentina/La_Rioja":"AR","Africa/Lagos":"NG","America/St_Barthelemy":"BL","Asia/Nicosia":"CY","Asia/Macau":"MO","Europe/Riga":"LV","Asia/Ashgabat":"TM","Indian/Antananarivo":"MG","America/Argentina/San_Juan":"AR","Asia/Aden":"YE","Asia/Tomsk":"RU","America/Asuncion":"PY","Pacific/Bougainville":"PG","Asia/Vientiane":"LA","America/Mazatlan":"MX","Africa/Luanda":"AO","Europe/Oslo":"NO","Africa/Kinshasa":"CD","Europe/Warsaw":"PL","America/Grand_Turk":"TC","Asia/Seoul":"KR","Africa/Tripoli":"LY","America/St_Thomas":"VI","Asia/Kathmandu":"NP","Pacific/Pitcairn":"PN","Pacific/Nauru":"NR","America/Curacao":"CW","Asia/Kabul":"AF","Pacific/Tongatapu":"TO","Europe/Simferopol":"UA","Asia/Ust-Nera":"RU","Africa/Mogadishu":"SO","Indian/Mayotte":"YT","Pacific/Niue":"NU","America/Thunder_Bay":"CA","Atlantic/Azores":"PT","Pacific/Gambier":"PF","Europe/Stockholm":"SE","Africa/Libreville":"GA","America/Punta_Arenas":"CL","America/Guatemala":"GT","America/Noronha":"BR","Europe/Helsinki":"FI","Asia/Gaza":"PS","Pacific/Kosrae":"FM","America/Aruba":"AW","America/Nassau":"BS","Asia/Choibalsan":"MN","America/Winnipeg":"CA","America/Anguilla":"AI","Asia/Thimphu":"BT","Asia/Beirut":"LB","Atlantic/Faroe":"FO","Europe/Berlin":"DE","Europe/Amsterdam":"NL","Pacific/Honolulu":"US","America/Regina":"CA","America/Scoresbysund":"GL","Europe/Vienna":"AT","Europe/Tirane":"AL","Africa/El_Aaiun":"EH","America/Creston":"CA","Asia/Qostanay":"KZ","Asia/Ho_Chi_Minh":"VN","Europe/Samara":"RU","Europe/Rome":"IT","Australia/Eucla":"AU","America/El_Salvador":"SV","America/Chicago":"US","Africa/Abidjan":"CI","Asia/Kamchatka":"RU","Pacific/Tarawa":"KI","America/Santiago":"CL","America/Bahia":"BR","Indian/Christmas":"CX","Asia/Atyrau":"KZ","Asia/Dushanbe":"TJ","Europe/Ulyanovsk":"RU","America/Yellowknife":"CA","America/Recife":"BR","Australia/Sydney":"AU","America/Fort_Nelson":"CA","Pacific/Efate":"VU","Europe/Saratov":"RU","Africa/Banjul":"GM","Asia/Omsk":"RU","Europe/Ljubljana":"SI","Europe/Budapest":"HU","Europe/Astrakhan":"RU","America/Argentina/Buenos_Aires":"AR","Pacific/Chatham":"NZ","America/Argentina/Salta":"AR","Africa/Niamey":"NE","Asia/Pontianak":"ID","Indian/Reunion":"RE","Asia/Hong_Kong":"HK","Antarctica/McMurdo":"AQ","Africa/Malabo":"GQ","America/Los_Angeles":"US","America/Argentina/Cordoba":"AR","Pacific/Pohnpei":"FM","America/Tijuana":"MX","America/Campo_Grande":"BR","America/Dawson_Creek":"CA","Asia/Novosibirsk":"RU","Pacific/Pago_Pago":"AS","Asia/Jerusalem":"IL","Europe/Sarajevo":"BA","Africa/Freetown":"SL","Asia/Yekaterinburg":"RU","America/Juneau":"US","Africa/Ouagadougou":"BF","Africa/Monrovia":"LR","Europe/Kiev":"UA","America/Argentina/San_Luis":"AR","Asia/Tokyo":"JP","Asia/Qatar":"QA","America/La_Paz":"BO","America/Bogota":"CO","America/Thule":"GL","Asia/Manila":"PH","Asia/Hovd":"MN","Asia/Tehran":"IR","Atlantic/Madeira":"PT","America/Metlakatla":"US","Europe/Vatican":"VA","Asia/Bishkek":"KG","Asia/Dili":"TL","Antarctica/Palmer":"AQ","Atlantic/Cape_Verde":"CV","Indian/Chagos":"IO","America/Kentucky/Monticello":"US","Africa/Algiers":"DZ","Africa/Maseru":"LS","Asia/Kuala_Lumpur":"MY","Africa/Khartoum":"SD","America/Argentina/Rio_Gallegos":"AR","America/Blanc-Sablon":"CA","Africa/Maputo":"MZ","America/Tortola":"VG","Atlantic/Bermuda":"BM","America/Argentina/Catamarca":"AR","America/Cayman":"KY","America/Puerto_Rico":"PR","Pacific/Majuro":"MH","Europe/Busingen":"DE","Pacific/Midway":"UM","Indian/Cocos":"CC","Asia/Singapore":"SG","America/Boise":"US","America/Nuuk":"GL","America/Goose_Bay":"CA","Australia/Broken_Hill":"AU","Africa/Dar_es_Salaam":"TZ","Africa/Asmara":"ER","Asia/Samarkand":"UZ","Asia/Tbilisi":"GE","America/Argentina/Jujuy":"AR","America/Indiana/Winamac":"US","America/Porto_Velho":"BR","Asia/Magadan":"RU","Europe/Zaporozhye":"UA","Antarctica/Casey":"AQ","Asia/Shanghai":"CN","Pacific/Norfolk":"NF","Europe/Guernsey":"GG","Australia/Brisbane":"AU","Antarctica/DumontDUrville":"AQ","America/Havana":"CU","America/Atikokan":"CA","America/Mexico_City":"MX","America/Rankin_Inlet":"CA","America/Cuiaba":"BR","America/Resolute":"CA","Africa/Ceuta":"ES","Arctic/Longyearbyen":"SJ","Pacific/Guam":"GU","Asia/Damascus":"SY","Asia/Colombo":"LK","Asia/Yerevan":"AM","America/Montserrat":"MS","America/Belem":"BR","Europe/Kaliningrad":"RU","Atlantic/South_Georgia":"GS","Asia/Tashkent":"UZ","Asia/Kolkata":"IN","America/St_Johns":"CA","Asia/Srednekolymsk":"RU","Asia/Yakutsk":"RU","Europe/Prague":"CZ","Africa/Djibouti":"DJ","Asia/Dubai":"AE","Europe/Uzhgorod":"UA","America/Edmonton":"CA","Asia/Famagusta":"CY","America/Indiana/Knox":"US","Asia/Hebron":"PS","Asia/Taipei":"TW","Europe/London":"GB","Africa/Dakar":"SN","Australia/Darwin":"AU","America/Glace_Bay":"CA","Antarctica/Vostok":"AQ","America/Indiana/Vincennes":"US","America/Nipigon":"CA","Asia/Kuwait":"KW","Pacific/Guadalcanal":"SB","America/Toronto":"CA","Africa/Gaborone":"BW","Africa/Bujumbura":"BI","Africa/Lubumbashi":"CD","America/Merida":"MX","America/Marigot":"MF","Europe/Zagreb":"HR","Pacific/Easter":"CL","America/Santarem":"BR","Pacific/Noumea":"NC","America/Sitka":"US","Atlantic/Stanley":"FK","Pacific/Funafuti":"TV","America/Iqaluit":"CA","America/Rainy_River":"CA","America/Anchorage":"US","America/Lima":"PE","Asia/Baku":"AZ","America/Indiana/Vevay":"US","Asia/Ulaanbaatar":"MN","America/Managua":"NI","Asia/Krasnoyarsk":"RU","Asia/Qyzylorda":"KZ","America/Eirunepe":"BR","Europe/Podgorica":"ME","Europe/Chisinau":"MD","Europe/Mariehamn":"AX","Europe/Volgograd":"RU","Africa/Nairobi":"KE","Europe/Isle_of_Man":"IM","America/Menominee":"US","Africa/Harare":"ZW","Asia/Anadyr":"RU","America/Moncton":"CA","Indian/Maldives":"MV","America/Whitehorse":"CA","Antarctica/Mawson":"AQ","Europe/Madrid":"ES","America/Argentina/Mendoza":"AR","America/Manaus":"BR","Africa/Bangui":"CF","Indian/Mauritius":"MU","Africa/Tunis":"TN","Australia/Lord_Howe":"AU","America/Kentucky/Louisville":"US","America/North_Dakota/Center":"US","Asia/Novokuznetsk":"RU","Asia/Makassar":"ID","America/Port_of_Spain":"TT","America/Bahia_Banderas":"MX","Pacific/Auckland":"NZ","America/Sao_Paulo":"BR","Asia/Dhaka":"BD","America/Pangnirtung":"CA","Europe/Dublin":"IE","Asia/Brunei":"BN","Africa/Brazzaville":"CG","America/Montevideo":"UY","America/Jamaica":"JM","America/Indiana/Indianapolis":"US","America/Kralendijk":"BQ","Europe/Gibraltar":"GI","Pacific/Marquesas":"PF","Pacific/Apia":"WS","Europe/Jersey":"JE","America/Phoenix":"US","Africa/Ndjamena":"TD","Asia/Karachi":"PK","Africa/Kampala":"UG","Asia/Sakhalin":"RU","America/Martinique":"MQ","Europe/Moscow":"RU","Africa/Conakry":"GN","America/Barbados":"BB","Africa/Lome":"TG","America/Ojinaga":"MX","America/Tegucigalpa":"HN","Asia/Bangkok":"TH","Africa/Johannesburg":"ZA","Europe/Vaduz":"LI","Africa/Sao_Tome":"ST","America/Cambridge_Bay":"CA","America/Lower_Princes":"SX","America/Miquelon":"PM","America/St_Kitts":"KN","Australia/Melbourne":"AU","Europe/Minsk":"BY","Asia/Vladivostok":"RU","Europe/Sofia":"BG","Antarctica/Davis":"AQ","Pacific/Galapagos":"EC","America/North_Dakota/New_Salem":"US","Asia/Amman":"JO","Pacific/Wallis":"WF","America/Hermosillo":"MX","Pacific/Kiritimati":"KI","Antarctica/Macquarie":"AU","America/Guyana":"GY","Asia/Riyadh":"SA","Pacific/Tahiti":"PF","America/St_Vincent":"VC","America/Cancun":"MX","America/Grenada":"GD","Pacific/Wake":"UM","America/Dawson":"CA","Europe/Brussels":"BE","Indian/Kerguelen":"TF","America/Yakutat":"US","Indian/Mahe":"SC","Atlantic/Reykjavik":"IS","America/Panama":"PA","America/Guadeloupe":"GP","Europe/Malta":"MT","Antarctica/Troll":"AQ","Asia/Jayapura":"ID","Asia/Bahrain":"BH","Asia/Chita":"RU","Europe/Tallinn":"EE","Asia/Khandyga":"RU","America/Rio_Branco":"BR","Atlantic/St_Helena":"SH","Africa/Juba":"SS","America/Adak":"US","Pacific/Saipan":"MP","America/St_Lucia":"LC","America/Inuvik":"CA","Europe/Luxembourg":"LU","Africa/Bissau":"GW","Asia/Oral":"KZ","America/Boa_Vista":"BR","Europe/Skopje":"MK","America/Port-au-Prince":"HT","Pacific/Port_Moresby":"PG","Europe/Andorra":"AD","America/Indiana/Marengo":"US","Africa/Kigali":"RW","Africa/Bamako":"ML","America/Dominica":"DM","Asia/Aqtobe":"KZ","Europe/Istanbul":"TR","Pacific/Rarotonga":"CK","America/Danmarkshavn":"GL","Europe/Zurich":"CH","Asia/Yangon":"MM","America/Monterrey":"MX","Europe/Lisbon":"PT","Asia/Kuching":"MY","Antarctica/Rothera":"AQ","Australia/Perth":"AU","Asia/Phnom_Penh":"KH","America/Swift_Current":"CA","Asia/Aqtau":"KZ","Asia/Urumqi":"CN","Asia/Calcutta":"IN"},O=!1;function j(e){let{cookieName:t}=e;if(n)return n;let r={};document.cookie.split(";").forEach(function(e){let[t,n]=e.split("=");r[t.trim()]=n});let i=r[t];return i&&(n=i),i}var C=r(41718),M=r(27811),N=r.n(M),L=r(91997);function R(e,t){let{isDark:r}=(0,_.If)();return r?t:e}function I(e){let{logo:t,isDark:r,isFallback:n}=e;if(n)return(0,o.jsx)("div",{className:T()("rounded-sm w-[120px] h-[calc(var(--header-height)-40px)]","bg-[color:var(--skeleton-bg)]")});if(!t||"none"===t.type)return null;if("url"===t.type){let e=r?t.darkModeSrc:t.lightModeSrc;return e?(e=(0,x.j2)(e),(0,o.jsx)("img",{alt:"logo",className:"h-[32px]",style:{maxWidth:"var(--sidenav-width)"},src:e})):null}if("html"===t.type){let e=r?t.darkModeHtml:t.lightModeHtml;return e?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s(),{id:"17c78790290568ae",children:".logoHtmlElement>*{height:32px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;max-width:var(--sidenav-width)}"}),(0,o.jsx)("span",{style:{maxWidth:"var(--sidenav-width)"},dangerouslySetInnerHTML:{__html:e.trim()},className:"jsx-17c78790290568ae flex items-center h-[32px] logoHtmlElement"},"logo-element")]}):null}return null}function D(e){let{notionPageId:t,notionWebsiteId:r}=e;!function(e){let t,{token:r="",datasource:i="analytics_events",cookieName:o="analytics-session-id",namespace:a,eventsEndpoint:s="",globalAttributes:l={}}=e;if(O)return;async function u(e,t){let u;(function(e){let{cookieName:t}=e,r=j({cookieName:t})||"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)),i="".concat(t,"=").concat(r,"; Max-Age=1800; path=/; secure");document.cookie=i,n=r})({cookieName:o}),u=s||"https://api.tinybird.co/v0/events?name=".concat(i,"&token=").concat(r),t=JSON.stringify(t=Object.assign({},t,l));let c=new XMLHttpRequest;c.open("POST",u,!0),c.setRequestHeader("Content-Type","application/json"),c.send(JSON.stringify({timestamp:new Date().toISOString(),action:e,version:"1",session_id:j({cookieName:o})||"iframe",payload:t,namespace:a}))}function c(){let e,t;if(!window.__nightmare&&!window.navigator.webdriver){try{e=P[Intl.DateTimeFormat().resolvedOptions().timeZone],t=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.userLanguage||navigator.language||navigator.browserLanguage||"en"}catch(e){}setTimeout(()=>{u("page_hit",{"user-agent":window.navigator.userAgent,locale:t,location:e,referrer:document.referrer,pathname:window.location.pathname,href:window.location.href})},300)}}O=!0,window.addEventListener("hashchange",c);let d=window.history;if(d.pushState){let e=d.pushState;d.pushState=function(){e.apply(this,arguments),c()},window.addEventListener("popstate",c)}"prerender"===document.visibilityState?document.addEventListener("visibilitychange",function(){t||"visible"!==document.visibilityState||c()}):c()}({namespace:r,eventsEndpoint:E.sb+"/api/view"})}function F(){return"previewProps"===window.name}function B(e){let t=(0,w.useRouter)(),r=(0,w.usePathname)(),n=(0,l.useRef)([r]),i=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(e)return window.addEventListener("message",r),()=>{window.removeEventListener("message",r)};function r(e){var r;if("object"==typeof e.data&&(null===(r=e.data)||void 0===r?void 0:r.goBack)&&n.current.length>1){n.current.pop();let e=n.current[n.current.length-1];i.current=!0,t.replace(e)}}},[r,e])}function U(e){let[t,r]=(0,l.useState)(null),n=(0,l.useRef)(e);return n.current={...e,...t},(0,l.useEffect)(()=>{if(F())return console.log("Preview props enabled"),window.addEventListener("message",e),()=>{window.removeEventListener("message",e)};function e(e){N().start();try{if(console.log("got postMessage",e),"object"!=typeof e.data)return;e.data.newPageProps&&r(t=>{let r={...t,...e.data.newPageProps};return console.log("updating page props",r),n.current={...n.current,...r},r})}finally{N().done()}}},[]),n.current}function z(){return null}function $(e){if(!e)return"";let t=new URL(e).pathname.split("/").filter(Boolean);return 0===t.length?"":t[t.length-1].replace(/\+/g," ")}function H(e){if(!e)return"";let t=new URL("https://fonts.googleapis.com/css");return t.searchParams.set("display","swap"),t.searchParams.set("family",$(e)),t.toString()}function G(){let{customTextFontUrl:e,customUiFontUrl:t}=et(),r=$(t),n=$(e),i="ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n    Helvetica, 'Apple Color Emoji', Arial, sans-serif, 'Segoe UI Emoji',\n    'Segoe UI Symbol'";return r&&(r="'".concat(r,"', ").concat(i)),n&&(n="'".concat(n,"', ").concat(i)),r&&!n&&(n=i),(0,o.jsxs)(o.Fragment,{children:[e&&(0,o.jsx)("link",{rel:"stylesheet",href:H(e)},e),t&&(0,o.jsx)("link",{rel:"stylesheet",href:H(t)},t),r&&(0,o.jsx)(s(),{id:"2fa8462844ce6084",dynamic:[r],children:"body{font-family:".concat(r,"}")}),n&&(0,o.jsx)(s(),{id:"e0f2a8ab698c1c9b",dynamic:[n],children:".mainContent{font-family:".concat(n,"}")})]})}function V(e){return e?new A.PF(e).isDark()?"text-gray-100":"text-gray-700":""}let q=38;async function W(e){await fetch("".concat(E.sb||"","/api/feedback"),{body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json"}})}function Y(e){let{fn:t,successMessage:r="",errorMessage:n="Error"}=e,[i,o]=l.useState(!1);return{isLoading:i,fn:async function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];try{o(!0);let e=await t(...n);if(null==e?void 0:e.skipToast)return e;return r&&L.ZP.success(r),e}catch(e){return console.error(e),e instanceof Error&&!(null==e?void 0:e.skipToast)&&L.ZP.error(e.message,{}),e}finally{o(!1)}}}}function X(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];clearTimeout(t),t=setTimeout(()=>{e(...i)},r)}}function Z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"var(--default-max-width, 1400px)",{fullWidth:t}=et();return t&&(e="100%"),{"--max-width":e}}function J(){let{passwordProtected:e}=et();(0,l.useEffect)(()=>{setTimeout(()=>{!e&&C.Z.get("notakuPassword")&&C.Z.remove("notakuPassword")},1e3)},[])}let K=new Set(["topBannerHtml","sidebarTree","footerJson","logoHref","headerNavLinks","versions","defaultVersionName","backgroundJson","customTextFontUrl","emailsEnabled","customUiFontUrl","fullWidth","userInterfaceLanguage","topBannerColors","hideColorModeSwitch","initialColorMode"]);function Q(e){if((0,l.useEffect)(()=>{F()||(i=e)},[]),e&&i&&e.versionSlug===i.versionSlug)for(let t of K)e[t]=i[t];return e}let ee=e=>{let t=(0,w.usePathname)(),[r,n]=(0,l.useState)(t);r!==t&&n(t),(0,l.useEffect)(()=>{t!==r&&e(t)},[t,r,e])};function et(){let e=(0,l.useContext)(S.J);return e.isWidget||(e.isWidget=(0,E.Qd)()),{...E.Of,...e}}function er(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:120,n=l.useRef({firstTime:!0,clearFunc:null});l.useEffect(()=>{let{firstTime:t,clearFunc:i}=n.current;if(t){n.current.firstTime=!1;return}let o=setTimeout(()=>{i&&"function"==typeof i&&i(),n.current.clearFunc=e()},r);return()=>{clearTimeout(o)}},[r,...t])}function en(){let{userInterfaceLanguage:e}=et();return E.m4[e]||E.m4.en}function ei(e){if(!e)return null;let{title:t,faviconUrl:r,ogImgSrc:n,description:i,canonicalDomain:a}=e;if(a){if(a.startsWith("http")||(a="https://".concat(a)),null==e?void 0:e.slug){var s;let t="/".concat((null==e?void 0:null===(s=e.slug)||void 0===s?void 0:s.join("/"))||"");a="".concat(a).concat(t)}else a=void 0}return(0,o.jsx)(b,{title:t,description:(0,x.iW)(i)||"",openGraph:{title:t,type:"website",images:n?[{url:n}]:void 0},twitter:{cardType:"summary_large_image"},canonical:a||void 0,additionalLinkTags:[{rel:"icon",href:r},{rel:"apple-touch-icon",href:r}]})}},96695:function(e,t,r){"use strict";e.exports=r(70580)},19614:function(e,t,r){"use strict";r.d(t,{j:function(){return C},J:function(){return j}});var n=r(651),i=r(16309),o=r(92379),a=r(91313),s=r(42135),l=r(22551);function u(e){let{children:t,...r}=e,{initialColorMode:i,hideColorModeSwitch:o}=(0,s.Xi)();return(0,n.jsx)(l.f,{attribute:"class",forcedTheme:o?i:void 0,enableSystem:!i,defaultTheme:i||void 0,enableColorScheme:!1,children:t,...r})}var c=r(4403),d=r(65162),f=r(91997),p=r(81337),h=r.n(p),m=r(65443),g=r.n(m),v=r(41718);let y=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{d:"M10 12a2 2 0 100-4 2 2 0 000 4z"}),o.createElement("path",{fillRule:"evenodd",d:"M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z",clipRule:"evenodd"}))}),b=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{fillRule:"evenodd",d:"M3.707 2.293a1 1 0 00-1.414 1.414l14 14a1 1 0 001.414-1.414l-1.473-1.473A10.014 10.014 0 0019.542 10C18.268 5.943 14.478 3 10 3a9.958 9.958 0 00-4.512 1.074l-1.78-1.781zm4.261 4.26l1.514 1.515a2.003 2.003 0 012.45 2.45l1.514 1.514a4 4 0 00-5.478-5.478z",clipRule:"evenodd"}),o.createElement("path",{d:"M12.454 16.697L9.75 13.992a4 4 0 01-3.742-3.741L2.335 6.578A9.98 9.98 0 00.458 10c1.274 4.057 5.065 7 9.542 7 .847 0 1.669-.105 2.454-.303z"}))});var w=r(84614),_=r(44675);async function x(e){let{siteId:t}=e;try{let e=new URL((_.env.BASE_PATH||"")+"/api/wall",window.location.origin);e.searchParams.set("siteId",t);let r=await fetch(e.toString(),{method:"POST"}),n=await r.json();return!(null==n?void 0:n.forbidden)}catch(e){return console.error("cannot check password:",e),!1}}function S(e){let{siteId:t}=e,[r,i]=(0,o.useState)(""),[a,s]=(0,o.useState)(""),[l,u]=(0,o.useState)(!1),[c,d]=(0,o.useState)(!1);async function f(){d(!0);try{var e,n;if(v.Z.set("notakuPassword",r,{httpOnly:!1,secure:"https:"===window.location.protocol,path:"/",sameSite:(null===(n=window.location)||void 0===n?void 0:null===(e=n.search)||void 0===e?void 0:e.includes("previewProps=true"))?"None":"Lax",expires:2147483647}),!await x({siteId:t}))return d(!1),s("Wrong password");window.location.reload()}catch(e){console.error("cannot submit password:",e)}}return(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex p-8 mx-auto bg-white dark:bg-gray-900",children:(0,n.jsxs)("form",{onSubmit:e=>{e.preventDefault(),f()},className:g()("space-y-6 px-4 mx-auto max-w-screen-2xl justify-center","items-center flex-col flex appearance-none md:px-8","pb-[30vh]"),children:[(0,n.jsxs)("div",{className:"space-y-6 flex flex-col items-center",children:[(0,n.jsx)("div",{className:g()("text-gray-900 text-center text-2xl mb-4 font-medium","dark:text-gray-300"),children:"You need a password to access this site"}),(0,n.jsxs)("div",{className:"relative w-full",children:[(0,n.jsx)("input",{type:l?"text":"password",id:"confirm_password",value:r,onChange:e=>{i(e.target.value)},className:g()("w-full tracking-widest text-sm text-gray-900","rounded-lg p-2.5 border-gray-300 border block","bg-gray-50 focus:ring-gray-500 focus:border-gray-500","dark:text-white dark:placeholder-gray-400","dark:focus:ring-gray-500 dark:focus:border-gray-500","dark:border-gray-600 dark:bg-gray-700"),placeholder:"•••••••••••••••",required:!0}),(0,n.jsx)("div",{className:g()("text-sm right-0 pr-3 leading-5 items-center inset-y-0","flex absolute"),children:(0,n.jsx)(l?y:b,{onClick:()=>{u(e=>!e)},className:"h-5 cursor-pointer text-[color:currentColor]"})})]}),(0,n.jsx)("div",{className:g()("text-sm text-red-500 text-center font-medium","dark:text-red-400 min-h-[20px]"),children:a})]}),(0,n.jsx)("div",{className:"flex flex-col items-center space-y-6",children:(0,n.jsx)("button",{type:"submit",className:g()("w-full text-white text-center rounded-lg px-5","justify-center items-center font-semibold","flex bg-gray-700 sm:w-auto hover:bg-gray-800","focus:ring-gray-300 focus:ring focus:outline-none","dark:hover:bg-gray-700 dark:focus:ring-gray-800","dark:bg-gray-600 min-w-[140px] min-h-[46px]"),children:c?(0,n.jsx)(E,{}):"Continue"})}),(0,n.jsx)("div",{className:"fixed bottom-[30px] text-center self-center !opacity-60",children:(0,n.jsx)(w.l,{className:""})})]})})}function E(e){let{className:t=""}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h(),{id:"8de04c0bb1cde875",children:'.spinner.jsx-8de04c0bb1cde875{position:relative;pointer-events:none}.spinner.jsx-8de04c0bb1cde875::after{content:"";position:absolute!important;top:-webkit-calc(50% - (1em/2));top:-moz-calc(50% - (1em/2));top:calc(50% - (1em/2));left:-webkit-calc(50% - (1em/2));left:-moz-calc(50% - (1em/2));left:calc(50% - (1em/2));display:block;width:1em;height:1em;border:2px solid currentColor;-webkit-border-radius:9999px;-moz-border-radius:9999px;border-radius:9999px;border-right-color:transparent;border-top-color:transparent;-webkit-animation:spinAround 500ms infinite linear;-moz-animation:spinAround 500ms infinite linear;-o-animation:spinAround 500ms infinite linear;animation:spinAround 500ms infinite linear}@-webkit-keyframes spinAround{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes spinAround{from{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes spinAround{from{-o-transform:rotate(0deg);transform:rotate(0deg)}to{-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinAround{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}'}),(0,n.jsx)("div",{className:"jsx-8de04c0bb1cde875 "+(g()("spinner w-5 h-5",t)||"")})]})}var k=r(87634),T=r(64194),A=r(74717),P=r(59157),O=r(36327);let j=(0,o.createContext)(a.Of);function C(e){let{children:t,mapPageUrl:l,pageProps:p}=e,h=(0,s.x1)(p);h=(0,s.Yn)(h);let m=(0,o.useMemo)(()=>({...h,mapPageUrl:l||(0,a.Fi)(h)}),[h]);return((0,s.aQ)({notionPageId:m.pageId||"",notionWebsiteId:m.siteId||""}),(0,o.useEffect)(()=>{let e=(0,P.Z)({},(0,A.j)());if(h.userInterfaceLanguage&&!e.locale){let e=h.userInterfaceLanguage;Promise.all([r.e(8299),r.e(9958)]).then(r.bind(r,49958)).then(t=>{let r=t[e];if(!(null==r?void 0:r.code)){console.warn("Cannot find locale ".concat(e));return}!function(e){(0,O.Z)(1,arguments);var t={},r=(0,A.j)();for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(void 0===e[i]?delete t[i]:t[i]=e[i]);(0,A.b)(t)}({locale:r})})}},[h.userInterfaceLanguage]),p.forbidden)?(0,n.jsxs)(T.k,{children:[(0,n.jsx)(f.x7,{}),(0,n.jsx)(u,{children:(0,n.jsx)(S,{siteId:h.siteId})})]}):(0,a.nK)(h)||h.statusCode>200?(0,n.jsx)(T.k,{children:(0,n.jsx)(u,{children:t})}):(0,n.jsxs)(k.SV,{children:[(0,n.jsx)(s.RK,{...m}),(0,n.jsx)(T.k,{children:(0,n.jsx)(d.StyleRegistry,{children:(0,n.jsx)(i.zt,{children:(0,n.jsx)(j.Provider,{value:m,children:(0,n.jsxs)(c.C0,{...m,children:[(0,n.jsx)(f.x7,{}),(0,n.jsx)(u,{children:(0,n.jsx)(T.k,{children:t})})]})})})})})]})}},91313:function(e,t,r){"use strict";r.d(t,{B2:function(){return d},Fi:function(){return f},Of:function(){return h},PZ:function(){return m},Qd:function(){return p},m4:function(){return g},nK:function(){return a},nP:function(){return s},sb:function(){return o},wE:function(){return l}});var n=r(51682),i=r(49127);r(92379),r(46128);let o="";function a(e){if(!e)return!0;for(let t in e)return!1;return!0}function s(e,t){if(!e)return[];let r=[];e.depth=0;var n=[e];let i=new Set;if(!(t&&t(e,null))){for(;n.length>0;){let e=n.shift();if(!i.has(e.id)&&(i.add(e.id),r.push(e),e.children))for(var o=0;o<e.children.length;o++){let a=e.children[o];if(!i.has(a.id)){if(a.depth=(e.depth||0)+1,t&&t(a,e))return[...r,a];n.push(a)}}}return r}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32;if(!e)return"";if(e.length<t+1)return e;(e=e.trim()).startsWith("/")&&(e=e.slice(1));let r=e.slice(0,-(t+1)).trim();return r?function(e){try{return decodeURIComponent(e)}catch(t){return console.error("tryUrlDecode",t),e}}(r):e.slice(-t)}let u=new Map,c=function(e){if(!e)return{};if(u.has(e))return u.get(e);let t={};return s(e,(e,r)=>(t[e.id]=r,!1)),u.set(e,t),t};function d(e,t){if(!e)throw Error("id is required in getPageNodesPath");let r=c(t),n=r[e];if(!n)return[];let i=n.children.find(t=>t.id===e);if(!i)throw Error("Cannot find page with id ".concat(e," in tree"));let o=[],a=i;for(;a;)o.push(a),a=r[a.id];return o.reverse()}function f(e){return(t,r)=>{let o=e.versionSlug;"/"===o&&(o=""),o||(o="");let a=(0,i.q5)(t);return a&&a!==e.rootPageId?e.usePrettyUrls?o+function(e,t,r){if(e===(null==t?void 0:t.id))return"";let o=d(e,t);if(!(null==o?void 0:o.length)||o.find(e=>e.slug&&e.slug.length<=33||e.hasDuplicates)){let r=null==o?void 0:o[(null==o?void 0:o.length)-1];if(!r)return"/"+(0,i.q5)(e,{uuid:!1});let a=(0,n.Hp)(t.id)(r.slug,r.title);if(a)return a}return"/"+o.slice(1).map(e=>l(e.slug)).join("/")}(a,e.sidebarTree,0):o+(0,n.Hp)(e.rootPageId)(a,r):o||"/"}}function p(e){return e?!!(null==e?void 0:e.widget):"widget"===window.name}let h={pageId:"",mapPageUrl:(0,n.Hp)(""),host:"",siteId:"",versionSlug:"",rootPageId:"",lastUpdated:"",sidebarTree:{children:[],depth:0,slug:""},tableOfContents:[],recordMap:{block:{}},headerNavLinks:[],topBannerHtml:"",isWidget:p&&p(),versions:[]},m=["description","collection description","article description"],g={en:{searchPlaceholder:"Type a command or search...",askAI:"Ask AI",semanticSearch:"Semantic Search",semanticSearchPlaceholder:"Search using synonyms, concepts, or keywords...",askAiPlaceholder:"Ask anything...",noResultsFound:"No results found",lightMode:"Light",darkMode:"Dark",systemMode:"System",searchButton:"Search",helpful:"Helpful?",content:"Content",share:"Share",getUpdates:"Get updates",date:"Date",poweredBy:"Powered by",madeWith:"Made with",didAnswerQuestion:"Did this answer your question?"},es:{searchPlaceholder:"Escribe un comando o busca...",askAI:"Pregunta a la IA",semanticSearch:"B\xfasqueda sem\xe1ntica",semanticSearchPlaceholder:"Busca usando sin\xf3nimos, conceptos o palabras clave...",askAiPlaceholder:"Pregunta cualquier cosa...",noResultsFound:"No se encontraron resultados",lightMode:"Claro",darkMode:"Oscuro",systemMode:"Sistema",searchButton:"Buscar",helpful:"\xbf\xdatil?",content:"Contenido",share:"Compartir",getUpdates:"Recibir actualizaciones",date:"Fecha",poweredBy:"Con tecnolog\xeda de",madeWith:"Hecho con",didAnswerQuestion:"\xbfEsto respondi\xf3 a tu pregunta?"},fr:{searchPlaceholder:"Tapez une commande ou cherchez...",askAI:"Demander \xe0 l'IA",semanticSearch:"Recherche s\xe9mantique",semanticSearchPlaceholder:"Cherchez avec des synonymes, concepts ou mots-cl\xe9s...",askAiPlaceholder:"Demandez n'importe quoi...",noResultsFound:"Aucun r\xe9sultat trouv\xe9",lightMode:"Lumi\xe8re",darkMode:"Sombre",systemMode:"Syst\xe8me",searchButton:"Chercher",helpful:"Utile ?",content:"Contenu",share:"Partager",getUpdates:"Recevoir des mises \xe0 jour",date:"Date",poweredBy:"Propuls\xe9 par",madeWith:"Fait avec",didAnswerQuestion:"Cela a-t-il r\xe9pondu \xe0 votre question ?"},de:{searchPlaceholder:"Geben Sie einen Befehl ein oder suchen Sie...",askAI:"Frage die KI",semanticSearch:"Semantische Suche",semanticSearchPlaceholder:"Suche mit Synonymen, Konzepten oder Schl\xfcsselw\xf6rtern...",askAiPlaceholder:"Fragen Sie irgendetwas...",noResultsFound:"Keine Ergebnisse gefunden",lightMode:"Hell",darkMode:"Dunkel",systemMode:"System",searchButton:"Suche",helpful:"Hilfreich?",content:"Inhalt",share:"Teilen",getUpdates:"Updates erhalten",date:"Datum",poweredBy:"Bereitgestellt von",madeWith:"Gemacht mit",didAnswerQuestion:"Hat dies Ihre Frage beantwortet?"},it:{searchPlaceholder:"Digita un comando o cerca...",askAI:"Chiedi all'IA",semanticSearch:"Ricerca semantica",semanticSearchPlaceholder:"Cerca usando sinonimi, concetti o parole chiave...",askAiPlaceholder:"Chiedi qualsiasi cosa...",noResultsFound:"Nessun risultato trovato",lightMode:"Chiaro",darkMode:"Scuro",systemMode:"Sistema",searchButton:"Cerca",helpful:"Utile?",content:"Contenuto",share:"Condividi",getUpdates:"Ricevi aggiornamenti",date:"Data",poweredBy:"Alimentato da",madeWith:"Fatto con",didAnswerQuestion:"Questo ha risposto alla tua domanda?"},ja:{searchPlaceholder:"コマンドを入力するか検索...",askAI:"AIに尋ねる",semanticSearch:"セマンティック検索",semanticSearchPlaceholder:"同義語、概念、キーワードを使用して検索...",askAiPlaceholder:"何でも聞いて...",noResultsFound:"結果が見つかりませんでした",lightMode:"ライト",darkMode:"ダーク",systemMode:"システム",searchButton:"検索",helpful:"役に立ちましたか？",content:"コンテンツ",share:"共有",getUpdates:"更新を受け取る",date:"日付",poweredBy:"提供",madeWith:"製作",didAnswerQuestion:"これはあなたの質問に答えましたか？"},cn:{searchPlaceholder:"输入命令或搜索...",askAI:"询问AI",semanticSearch:"语义搜索",semanticSearchPlaceholder:"使用同义词、概念或关键词搜索...",askAiPlaceholder:"问任何事...",noResultsFound:"未找到结果",lightMode:"浅色模式",darkMode:"深色模式",systemMode:"系统模式",searchButton:"搜索",helpful:"有帮助吗？",content:"内容",share:"分享",getUpdates:"获取更新",date:"日期",poweredBy:"由...提供支持",madeWith:"用爱制作",didAnswerQuestion:"这回答了你的问题吗？"},kr:{searchPlaceholder:"명령어를 입력하거나 검색...",askAI:"AI에게 물어보기",semanticSearch:"의미 검색",semanticSearchPlaceholder:"동의어, 개념 또는 키워드를 사용하여 검색...",askAiPlaceholder:"무엇이든 물어보세요...",noResultsFound:"결과를 찾을 수 없음",lightMode:"라이트",darkMode:"다크",systemMode:"시스템",searchButton:"검색",helpful:"도움이 되었나요?",content:"콘텐츠",share:"공유하기",getUpdates:"업데이트 받기",date:"날짜",poweredBy:"제공",madeWith:"제작",didAnswerQuestion:"이것이 당신의 질문에 답변했나요?"},ru:{searchPlaceholder:"Введите команду или поиск...",askAI:"Спросить ИИ",semanticSearch:"Семантический поиск",semanticSearchPlaceholder:"Поиск с использованием синонимов, концепций или ключевых слов...",askAiPlaceholder:"Спросите что угодно...",noResultsFound:"Результатов не найдено",lightMode:"Светлый",darkMode:"Темный",systemMode:"Системный",searchButton:"Поиск",helpful:"Полезно?",content:"Содержание",share:"Поделиться",getUpdates:"Получать обновления",date:"Дата",poweredBy:"При поддержке",madeWith:"Сделано с",didAnswerQuestion:"Это ответило на ваш вопрос?"},pt:{searchPlaceholder:"Digite um comando ou pesquise...",askAI:"Perguntar \xe0 IA",semanticSearch:"Pesquisa Sem\xe2ntica",semanticSearchPlaceholder:"Pesquise usando sin\xf4nimos, conceitos ou palavras-chave...",askAiPlaceholder:"Pergunte qualquer coisa...",noResultsFound:"Nenhum resultado encontrado",lightMode:"Claro",darkMode:"Escuro",systemMode:"Sistema",searchButton:"Pesquisar",helpful:"\xdatil?",content:"Conte\xfado",share:"Compartilhar",getUpdates:"Receber atualiza\xe7\xf5es",date:"Data",poweredBy:"Desenvolvido por",madeWith:"Feito com",didAnswerQuestion:"Isso respondeu \xe0 sua pergunta?"}}},34167:function(e,t,r){"use strict";let n=r(25957),i={50:n.neutral["50"],100:n.neutral["100"],200:n.neutral["200"],300:n.neutral["300"],400:n.neutral["400"],500:n.neutral["500"],600:"#42474D",700:"#36393F",800:"#2F3136",850:"#212225",900:"#171717"};e.exports={mode:"jit",content:["./src/**/*.{js,ts,jsx,tsx}","../docs-website/src/**/*.{js,ts,jsx,tsx}","../blog-website/src/**/*.{js,ts,jsx,tsx}","../notion-renderer/src/**/*.{js,ts,jsx,tsx}","../prompt/src/**/*.{js,ts,jsx,tsx}"],darkMode:"class",theme:{extend:{colors:{gray:i}}},plugins:[r(62584)]},e.exports.gray=i},27517:function(e,t,r){"use strict";let n,i,o,a,s,l,u,c,d,f,p,h,m;var g=r(99953);function v(e,t,r=[t],n="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:r.map(e=>({name:`${n}:@sentry/${e}`,version:g.J})),version:g.J}),e._metadata=i}var y=r(74738),b=r(74542);function w(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||function(){let e=(0,b.s3)();return e&&e.getOptions()}();return!!t&&(t.enableTracing||"tracesSampleRate"in t||"tracesSampler"in t)}var _=r(91943),x=r(45140),S=r(42587),E=r(82238);let k=[];function T(e,t){for(let r of t)r&&r.afterAllSetup&&r.afterAllSetup(e)}function A(e,t,r){if(r[t.name]){E.X&&_.kg.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,-1===k.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),k.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}E.X&&_.kg.log(`Integration installed: ${t.name}`)}let P=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],O=(e={})=>({name:"InboundFilters",processEvent:(t,r,n)=>{var i,o;return((i=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:P],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,n.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(t)?(E.X&&_.kg.warn(`Event dropped due to being internal Sentry Error.
Event: ${(0,x.jH)(t)}`),0):(o=i.ignoreErrors,!t.type&&o&&o.length&&(function(e){let t;let r=[];e.message&&r.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(r.push(t.value),t.type&&r.push(`${t.type}: ${t.value}`)),r})(t).some(e=>(0,S.U0)(e,o)))?(E.X&&_.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${(0,x.jH)(t)}`),0):!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let r=e.transaction;return!!r&&(0,S.U0)(r,t)}(t,i.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let r=j(e);return!!r&&(0,S.U0)(r,t)}(t,i.denyUrls)?function(e,t){if(!t||!t.length)return!0;let r=j(e);return!r||(0,S.U0)(r,t)}(t,i.allowUrls)||(E.X&&_.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${(0,x.jH)(t)}.
Url: ${j(t)}`),0):(E.X&&_.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${(0,x.jH)(t)}.
Url: ${j(t)}`),0):(E.X&&_.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${(0,x.jH)(t)}`),0))?t:null}});function j(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(t):null}catch(t){return E.X&&_.kg.error(`Cannot extract url for event ${(0,x.jH)(e)}`),null}}var C=r(36722);let M=new WeakMap,N=()=>({name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,C.HK)(this),r=M.has((0,b.s3)())&&void 0!==t?t:this;return n.apply(r,e)}}catch(e){}},setup(e){M.set(e,!0)}}),L=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var r;if((r=e)&&(function(e,t){let r=e.message,n=t.message;return!!((r||n)&&(!r||n)&&(r||!n)&&r===n&&I(e,t)&&R(e,t))}(t,r)||function(e,t){let r=D(t),n=D(e);return!!(r&&n&&r.type===n.type&&r.value===n.value&&I(e,t)&&R(e,t))}(t,r)))return E.X&&_.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function R(e,t){let r=F(e),n=F(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],i=r[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function I(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return!(r.join("")!==n.join(""))}catch(e){return!1}}function D(e){return e.exception&&e.exception.values&&e.exception.values[0]}function F(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){}}var B=r(84609),U=r(86402);let z=U.GLOBAL_OBJ;function $(){if(!("fetch"in z))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function H(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var G=r(97110);let V={},q={};function W(e,t){V[e]=V[e]||[],V[e].push(t)}function Y(e,t){q[e]||(t(),q[e]=!0)}function X(e,t){let r=e&&V[e];if(r)for(let n of r)try{n(t)}catch(t){B.X&&_.kg.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${(0,G.$P)(n)}
Error:`,t)}}let Z=U.GLOBAL_OBJ,J=U.GLOBAL_OBJ;function K(e){let t="history";W(t,e),Y(t,Q)}function Q(){if(!function(){let e=Z.chrome,t=e&&e.app&&e.app.runtime,r="history"in Z&&!!Z.history.pushState&&!!Z.history.replaceState;return!t&&r}())return;let e=J.onpopstate;function t(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let e=i,t=String(r);i=t,X("history",{from:e,to:t})}return e.apply(this,t)}}J.onpopstate=function(...t){let r=J.location.href,n=i;if(i=r,X("history",{from:n,to:r}),e)try{return e.apply(this,t)}catch(e){}},(0,C.hl)(J.history,"pushState",t),(0,C.hl)(J.history,"replaceState",t)}let ee=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function et(e,t=!1){let{host:r,path:n,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${r}${o?`:${o}`:""}/${n?`${n}/`:n}${a}`}function er(e){let t=ee.exec(e);if(!t){(0,_.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[r,n,i="",o,a="",s]=t.slice(1),l="",u=s,c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return en({host:o,pass:i,path:l,projectId:u,port:a,protocol:r,publicKey:n})}function en(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}var ei=r(58394),eo=r(97378),ea=r(12978);function es(e,t=[]){return[e,t]}function el(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function eu(e){return U.GLOBAL_OBJ.__SENTRY__&&U.GLOBAL_OBJ.__SENTRY__.encodePolyfill?U.GLOBAL_OBJ.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}let ec={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function ed(e){if(!e||!e.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}class ef extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}var ep=r(17151),eh=r(96412),em=r(27396);function eg(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)||t<0||t>1){E.X&&_.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}var ev=r(51159);let ey="Not capturing exception because it's already been captured.";class eb{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){let t="string"==typeof e?er(e):en(e);if(t&&function(e){if(!B.X)return!0;let{port:t,projectId:r,protocol:n}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(_.kg.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"===n||"https"===n?!(t&&isNaN(parseInt(t,10)))||(_.kg.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(_.kg.error(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):(_.kg.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}(e.dsn):E.X&&_.kg.warn("No DSN provided, client will not send events."),this._dsn){var t,r,n;let i=(t=this._dsn,r=e.tunnel,n=e._metadata?e._metadata.sdk:void 0,r||`${function(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}(t)}${t.projectId}/envelope/?${(0,C._j)({sentry_key:t.publicKey,sentry_version:"7",...n&&{sentry_client:`${n.name}/${n.version}`}})}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:i})}}captureException(e,t,r){let n=(0,x.DM)();if((0,x.YO)(e))return E.X&&_.kg.log(ey),n;let i={event_id:n,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,r))),i.event_id}captureMessage(e,t,r,n){let i={event_id:(0,x.DM)(),...r},o=(0,ei.Le)(e)?e:String(e),a=(0,ei.pt)(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(a.then(e=>this._captureEvent(e,i,n))),i.event_id}captureEvent(e,t,r){let n=(0,x.DM)();if(t&&t.originalException&&(0,x.YO)(t.originalException))return E.X&&_.kg.log(ey),n;let i={event_id:n,...t},o=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,o||r)),i.event_id}captureSession(e){"string"!=typeof e.release?E.X&&_.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,em.CT)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(r=>t.flush(e).then(e=>r&&e))):(0,eo.WD)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];A(this,e,this._integrations),t||T(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=function(e,t,r,n){var i;let o=ed(r),a=e.type&&"replay_event"!==e.type?e.type:"event";(i=r&&r.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let s=function(e,t,r,n){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:et(n)},...i&&{trace:(0,C.Jr)({...i})}}}(e,o,n,t);return delete e.sdkProcessingMetadata,es(s,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=function(e,t){let[r,n]=e;return[r,[...n,t]]}(r,function(e){let t="string"==typeof e.data?eu(e.data):e.data;return[(0,C.Jr)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}(e));let n=this.sendEnvelope(r);n&&n.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=function(e,t,r,n){let i=ed(r);return es({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:et(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,r){if(this._options.sendClientReports){let r=`${e}:${t}`;E.X&&_.kg.log(`Adding outcome: "${r}"`),this._outcomes[r]=this._outcomes[r]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(E.X&&_.kg.error("Error while sending event:",e),e)):(E.X&&_.kg.error("Transport disabled"),(0,eo.WD)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let r={};return t.forEach(t=>{t&&A(e,t,r)}),r}(this,e),T(this,e)}_updateSessionFromEvent(e,t){let r=!1,n=!1,i=t.exception&&t.exception.values;if(i)for(let e of(n=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){r=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&r)&&((0,em.CT)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new eo.cW(t=>{let r=0,n=setInterval(()=>{0==this._numProcessing?(clearInterval(n),t(!0)):(r+=1,e&&r>=e&&(clearInterval(n),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,n=(0,b.aF)()){let i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(0,ev.R)(i,e,t,r,this,n).then(e=>{if(null===e)return e;let t={...n.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){let{traceId:r,spanId:n,parentSpanId:i,dsc:o}=t;e.contexts={trace:(0,C.Jr)({trace_id:r,span_id:n,parent_span_id:i}),...e.contexts};let a=o||(0,ep._l)(r,this);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e})}_captureEvent(e,t={},r){return this._processEvent(e,t,r).then(e=>e.event_id,e=>{E.X&&("log"===e.logLevel?_.kg.log(e.message):_.kg.warn(e))})}_processEvent(e,t,r){let n=this.getOptions(),{sampleRate:i}=n,o=e_(e),a=ew(e),s=e.type||"error",l=`before send for type \`${s}\``,u=void 0===i?void 0:eg(i);if(a&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",e),(0,eo.$2)(new ef(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let c="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,r,d).then(r=>{if(null===r)throw this.recordDroppedEvent("event_processor",c,e),new ef("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?r:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if((0,ei.J8)(e))return e.then(e=>{if(!(0,ei.PO)(e)&&null!==e)throw new ef(r);return e},e=>{throw new ef(`${t} rejected with ${e}`)});if(!(0,ei.PO)(e)&&null!==e)throw new ef(r);return e}(function(e,t,r){let{beforeSend:n,beforeSendTransaction:i,beforeSendSpan:o}=e;if(ew(t)&&n)return n(t,r);if(e_(t)){if(t.spans&&o){let e=[];for(let r of t.spans){let t=o(r);t&&e.push(t)}t.spans=e}if(i)return i(t,r)}return t}(n,r,t),l)}).then(n=>{if(null===n)throw this.recordDroppedEvent("before_send",c,e),new ef(`${l} returned \`null\`, will not send event.`,"log");let i=r&&r.getSession();!o&&i&&this._updateSessionFromEvent(i,n);let a=n.transaction_info;return o&&a&&n.transaction!==e.transaction&&(n.transaction_info={...a,source:"custom"}),this.sendEvent(n,t),n}).then(null,e=>{if(e instanceof ef)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new ef(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(t=>{let[r,n]=t.split(":");return{reason:r,category:n,quantity:e[t]}})}}function ew(e){return void 0===e.type}function e_(e){return"transaction"===e.type}var ex=r(94542);let eS="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function eE(e,t){let r=eT(e,t),n={type:t&&t.name,value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function ek(e,t){return{exception:{values:[eE(e,t)]}}}function eT(e,t){let r=t.stacktrace||t.stack||"",n=t&&eA.test(t.message)?1:0,i="number"==typeof t.framesToPop?t.framesToPop:0;try{return e(r,n,i)}catch(e){}return[]}let eA=/Minified React error #\d+;/i;function eP(e,t,r,n,i){let o;if((0,ei.VW)(t)&&t.error)return ek(e,t.error);if((0,ei.TX)(t)||(0,ei.fm)(t)){if("stack"in t)o=ek(e,t);else{let i=t.name||((0,ei.TX)(t)?"DOMError":"DOMException"),a=t.message?`${i}: ${t.message}`:i;o=eO(e,a,r,n),(0,x.Db)(o,a)}return"code"in t&&(o.tags={...o.tags,"DOMException.code":`${t.code}`}),o}return(0,ei.VZ)(t)?ek(e,t):((0,ei.PO)(t)||(0,ei.cO)(t)?o=function(e,t,r,n){let i=(0,b.s3)(),o=i&&i.getOptions().normalizeDepth,a=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(r instanceof Error)return r}}(t),s={__serialized__:(0,ea.Qy)(t,o)};if(a)return{exception:{values:[eE(e,a)]},extra:s};let l={exception:{values:[{type:(0,ei.cO)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=(0,C.zf)(e),n=t?"promise rejection":"exception";if((0,ei.VW)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,ei.cO)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}(t,{isUnhandledRejection:n})}]},extra:s};if(r){let t=eT(e,r);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,r,i):(o=eO(e,t,r,n),(0,x.Db)(o,`${t}`,void 0)),(0,x.EG)(o,{synthetic:!0}),o)}function eO(e,t,r,n){let i={};if(n&&r){let n=eT(e,r);n.length&&(i.exception={values:[{value:t,stacktrace:{frames:n}}]})}if((0,ei.Le)(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return i.logentry={message:e,params:r},i}return i.message=t,i}let ej=U.GLOBAL_OBJ,eC=0;function eM(e,t={},r){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)return t;if((0,C.HK)(e))return e}catch(t){return e}let n=function(){let n=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);let i=n.map(e=>eM(e,t));return e.apply(this,i)}catch(e){throw eC++,setTimeout(()=>{eC--}),(0,b.$e)(r=>{r.addEventProcessor(e=>(t.mechanism&&((0,x.Db)(e,void 0,void 0),(0,x.EG)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,y.Tb)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch(e){}(0,C.$Q)(n,e),(0,C.xp)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch(e){}return n}class eN extends eb{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};v(t,"browser",["browser"],ej.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&ej.document&&ej.document.addEventListener("visibilitychange",()=>{"hidden"===ej.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return function(e,t,r,n){let i=eP(e,t,r&&r.syntheticException||void 0,n);return(0,x.EG)(i),i.level="error",r&&r.event_id&&(i.event_id=r.event_id),(0,eo.WD)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return function(e,t,r="info",n,i){let o=eO(e,t,n&&n.syntheticException||void 0,i);return o.level=r,n&&n.event_id&&(o.event_id=n.event_id),(0,eo.WD)(o)}(this._options.stackParser,e,t,r,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){eS&&_.kg.warn("SDK not enabled, will not capture user feedback.");return}let t=function(e,{metadata:t,tunnel:r,dsn:n}){return es({event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!r&&!!n&&{dsn:et(n)}},[[{type:"user_report"},e]])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r)}_flushOutcomes(){var e;let t=this._clearOutcomes();if(0===t.length){eS&&_.kg.log("No outcomes to send");return}if(!this._dsn){eS&&_.kg.log("No dsn provided, will not send outcomes");return}eS&&_.kg.log("Sending outcomes:",t);let r=es((e=this._options.tunnel&&et(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:(0,ex.yW)(),discarded_events:t}]]);this.sendEnvelope(r)}}function eL(){if(!J.document)return;let e=X.bind(null,"dom"),t=eR(e,!0);J.document.addEventListener("click",t,!1),J.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=J[t]&&J[t].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&((0,C.hl)(r,"addEventListener",function(t){return function(r,n,i){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=n[r]=n[r]||{refCount:0};if(!o.handler){let n=eR(e);o.handler=n,t.call(this,r,n,i)}o.refCount++}catch(e){}return t.call(this,r,n,i)}}),(0,C.hl)(r,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},i=r[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,n),i.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,r,n)}}))})}function eR(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;let n=function(e){try{return e.target}catch(e){return null}}(r);if("keypress"===r.type&&(!n||!n.tagName||"INPUT"!==n.tagName&&"TEXTAREA"!==n.tagName&&!n.isContentEditable))return;(0,C.xp)(r,"_sentryCaptured",!0),n&&!n._sentryId&&(0,C.xp)(n,"_sentryId",(0,x.DM)());let i="keypress"===r.type?"input":r.type;!function(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==s)return!1}catch(e){}return!0}(r)&&(e({event:r,name:i,global:t}),a=r.type,s=n?n._sentryId:void 0),clearTimeout(o),o=J.setTimeout(()=>{s=void 0,a=void 0},1e3)}}let eI="__sentry_xhr_v3__";function eD(e){W("xhr",e),Y("xhr",eF)}function eF(){if(!J.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;(0,C.hl)(e,"open",function(e){return function(...t){let r=1e3*(0,ex.ph)(),n=(0,ei.HD)(t[0])?t[0].toUpperCase():void 0,i=function(e){if((0,ei.HD)(e))return e;try{return e.toString()}catch(e){}}(t[1]);if(!n||!i)return e.apply(this,t);this[eI]={method:n,url:i,request_headers:{}},"POST"===n&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let o=()=>{let e=this[eI];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}X("xhr",{endTimestamp:1e3*(0,ex.ph)(),startTimestamp:r,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,C.hl)(this,"onreadystatechange",function(e){return function(...t){return o(),e.apply(this,t)}}):this.addEventListener("readystatechange",o),(0,C.hl)(this,"setRequestHeader",function(e){return function(...t){let[r,n]=t,i=this[eI];return i&&(0,ei.HD)(r)&&(0,ei.HD)(n)&&(i.request_headers[r.toLowerCase()]=n),e.apply(this,t)}}),e.apply(this,t)}}),(0,C.hl)(e,"send",function(e){return function(...t){let r=this[eI];return r&&(void 0!==t[0]&&(r.body=t[0]),X("xhr",{startTimestamp:1e3*(0,ex.ph)(),xhr:this})),e.apply(this,t)}})}function eB(e,t){let r=(0,b.s3)(),n=(0,b.aF)();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=r.getOptions();if(o<=0)return;let a={timestamp:(0,ex.yW)(),...e},s=i?(0,_.Cf)(()=>i(a,t)):a;null!==s&&(r.emit&&r.emit("beforeAddBreadcrumb",s,t),n.addBreadcrumb(s,o))}function eU(){"console"in U.GLOBAL_OBJ&&_.RU.forEach(function(e){e in U.GLOBAL_OBJ.console&&(0,C.hl)(U.GLOBAL_OBJ.console,e,function(t){return _.LD[e]=t,function(...t){X("console",{args:t,level:e});let r=_.LD[e];r&&r.apply(U.GLOBAL_OBJ.console,t)}})})}function ez(e){let t="fetch";W(t,e),Y(t,e$)}function e$(){(function(){if("string"==typeof EdgeRuntime)return!0;if(!$())return!1;if(H(z.fetch))return!0;let e=!1,t=z.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=H(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){B.X&&_.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e})()&&(0,C.hl)(U.GLOBAL_OBJ,"fetch",function(e){return function(...t){let{method:r,url:n}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:eG(t),method:eH(r,"method")?String(r.method).toUpperCase():"GET"}}let t=e[0];return{url:eG(t),method:eH(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:r,url:n},startTimestamp:1e3*(0,ex.ph)()};return X("fetch",{...i}),e.apply(U.GLOBAL_OBJ,t).then(e=>(X("fetch",{...i,endTimestamp:1e3*(0,ex.ph)(),response:e}),e),e=>{throw X("fetch",{...i,endTimestamp:1e3*(0,ex.ph)(),error:e}),e})}})}function eH(e,t){return!!e&&"object"==typeof e&&!!e[t]}function eG(e){return"string"==typeof e?e:e?eH(e,"url")?e.url:e.toString?e.toString():"":""}var eV=r(6830);let eq=["fatal","error","warning","log","info","debug"];function eW(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}let eY=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var r;t.console&&function(e){let t="console";W(t,e),Y(t,eU)}(function(t){var r;if((0,b.s3)()!==e)return;let n={category:"console",data:{arguments:t.args,logger:"console"},level:"warn"===(r=t.level)?"warning":eq.includes(r)?r:"log",message:(0,S.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,S.nK)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}eB(n,{input:t.args,level:t.level})}),t.dom&&(W("dom",(r=t.dom,function(t){let n,i;if((0,b.s3)()!==e)return;let o="object"==typeof r?r.serializeAttribute:void 0,a="object"==typeof r&&"number"==typeof r.maxStringLength?r.maxStringLength:void 0;a&&a>1024&&(eS&&_.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof o&&(o=[o]);try{let e=t.event,r=e&&e.target?e.target:e;n=(0,eV.Rt)(r,{keyAttrs:o,maxStringLength:a}),i=(0,eV.iY)(r)}catch(e){n="<unknown>"}if(0===n.length)return;let s={category:`ui.${t.name}`,message:n};i&&(s.data={"ui.component_name":i}),eB(s,{event:t.event,name:t.name,global:t.global})})),Y("dom",eL)),t.xhr&&eD(function(t){if((0,b.s3)()!==e)return;let{startTimestamp:r,endTimestamp:n}=t,i=t.xhr[eI];if(!r||!n||!i)return;let{method:o,url:a,status_code:s,body:l}=i;eB({category:"xhr",data:{method:o,url:a,status_code:s},type:"http"},{xhr:t.xhr,input:l,startTimestamp:r,endTimestamp:n})}),t.fetch&&ez(function(t){if((0,b.s3)()!==e)return;let{startTimestamp:r,endTimestamp:n}=t;if(!(!n||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error)eB({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:r,endTimestamp:n});else{let e=t.response;eB({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:r,endTimestamp:n})}}}),t.history&&K(function(t){if((0,b.s3)()!==e)return;let r=t.from,n=t.to,i=eW(ej.location.href),o=r?eW(r):void 0,a=eW(n);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),eB({category:"navigation",data:{from:r,to:n}})}),t.sentry&&e.on("beforeSendEvent",function(t){(0,b.s3)()===e&&eB({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,x.jH)(t)},{event:t})})}}},eX=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],eZ=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,C.hl)(ej,"setTimeout",eJ),t.setInterval&&(0,C.hl)(ej,"setInterval",eJ),t.requestAnimationFrame&&(0,C.hl)(ej,"requestAnimationFrame",eK),t.XMLHttpRequest&&"XMLHttpRequest"in ej&&(0,C.hl)(XMLHttpRequest.prototype,"send",eQ);let e=t.eventTarget;e&&(Array.isArray(e)?e:eX).forEach(e0)}}};function eJ(e){return function(...t){let r=t[0];return t[0]=eM(r,{mechanism:{data:{function:(0,G.$P)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function eK(e){return function(t){return e.apply(this,[eM(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,G.$P)(e)},handled:!1,type:"instrument"}})])}}function eQ(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,C.hl)(r,e,function(t){let r={mechanism:{data:{function:e,handler:(0,G.$P)(t)},handled:!1,type:"instrument"}},n=(0,C.HK)(t);return n&&(r.mechanism.data.handler=(0,G.$P)(n)),eM(t,r)})}),e.apply(this,t)}}function e0(e){let t=ej[e]&&ej[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&((0,C.hl)(t,"addEventListener",function(t){return function(r,n,i){try{"function"==typeof n.handleEvent&&(n.handleEvent=eM(n.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,G.$P)(n),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[r,eM(n,{mechanism:{data:{function:"addEventListener",handler:(0,G.$P)(n),target:e},handled:!1,type:"instrument"}}),i])}}),(0,C.hl)(t,"removeEventListener",function(e){return function(t,r,n){try{let i=r&&r.__sentry_wrapped__;i&&e.call(this,t,i,n)}catch(e){}return e.call(this,t,r,n)}}))}let e1=null;function e2(e){let t="error";W(t,e),Y(t,e4)}function e4(){e1=U.GLOBAL_OBJ.onerror,U.GLOBAL_OBJ.onerror=function(e,t,r,n,i){return X("error",{column:n,error:i,line:r,msg:e,url:t}),!!e1&&!e1.__SENTRY_LOADER__&&e1.apply(this,arguments)},U.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}let e5=null;function e3(e){let t="unhandledrejection";W(t,e),Y(t,e6)}function e6(){e5=U.GLOBAL_OBJ.onunhandledrejection,U.GLOBAL_OBJ.onunhandledrejection=function(e){return X("unhandledrejection",e),!e5||!!e5.__SENTRY_LOADER__||e5.apply(this,arguments)},U.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let e8=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(e2(t=>{let{stackParser:r,attachStacktrace:n}=e7();if((0,b.s3)()!==e||eC>0)return;let{msg:i,url:o,line:a,column:s,error:l}=t,u=function(e,t,r,n){let i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(n,10))?void 0:n,c=isNaN(parseInt(r,10))?void 0:r,d=(0,ei.HD)(t)&&t.length>0?t:(0,eV.l4)();return 0===l.length&&l.push({colno:u,filename:d,function:G.Fi,in_app:!0,lineno:c}),e}(eP(r,l||i,void 0,n,!1),o,a,s);u.level="error",(0,y.eN)(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),e9("onerror")),t.onunhandledrejection&&(e3(t=>{let{stackParser:r,attachStacktrace:n}=e7();if((0,b.s3)()!==e||eC>0)return;let i=function(e){if((0,ei.pt)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),o=(0,ei.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:eP(r,i,void 0,n,!0);o.level="error",(0,y.eN)(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}),e9("onunhandledrejection"))}}};function e9(e){eS&&_.kg.log(`Global Handler attached: ${e}`)}function e7(){let e=(0,b.s3)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let te=()=>({name:"HttpContext",preprocessEvent(e){if(!ej.navigator&&!ej.location&&!ej.document)return;let t=e.request&&e.request.url||ej.location&&ej.location.href,{referrer:r}=ej.document||{},{userAgent:n}=ej.navigator||{},i={...e.request&&e.request.headers,...r&&{Referer:r},...n&&{"User-Agent":n}},o={...e.request,...t&&{url:t},headers:i};e.request=o}});function tt(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function tr(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}let tn=(e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,i){let o=i.getOptions();!function(e,t,r=250,n,i,o,a){if(!o.exception||!o.exception.values||!a||!(0,ei.V9)(a.originalException,Error))return;let s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;s&&(o.exception.values=(function e(t,r,n,i,o,a,s,l){if(a.length>=n+1)return a;let u=[...a];if((0,ei.V9)(i[o],Error)){tt(s,l);let a=t(r,i[o]),c=u.length;tr(a,o,c,l),u=e(t,r,n,i[o],o,[a,...u],a,c)}return Array.isArray(i.errors)&&i.errors.forEach((i,a)=>{if((0,ei.V9)(i,Error)){tt(s,l);let c=t(r,i),d=u.length;tr(c,`errors[${a}]`,d,l),u=e(t,r,n,i,o,[c,...u],c,d)}}),u})(e,t,i,a.originalException,n,o.exception.values,s,0).map(e=>(e.value&&(e.value=(0,S.$G)(e.value,r)),e)))}(eE,o.stackParser,o.maxValueLength,r,t,e,n)}}};function ti(e,t,r,n){let i={filename:e,function:"<anonymous>"===t?G.Fi:t,in_app:!0};return void 0!==r&&(i.lineno=r),void 0!==n&&(i.colno=n),i}let to=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ta=/\((\S*)(?::(\d+))(?::(\d+))\)/,ts=[30,e=>{let t=to.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){let e=ta.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}let[e,r]=tf(t[1]||G.Fi,t[2]);return ti(r,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],tl=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tu=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tc=[50,e=>{let t=tl.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=tu.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||G.Fi;return[r,e]=tf(r,e),ti(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],td=(0,G.pE)(ts,tc),tf=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:G.Fi,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},tp="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,th={};function tm(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function tg(e,t=function(e){let t=th[e];if(t)return t;let r=J[e];if(H(r))return th[e]=r.bind(J);let n=J.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(t){tp&&_.kg.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?th[e]=r.bind(J):r}("fetch")){let r=0,n=0;return function(e,t,r=function(e){let t=[];function r(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(n){if(!(void 0===e||t.length<e))return(0,eo.$2)(new ef("Not adding Promise because buffer limit was reached."));let i=n();return -1===t.indexOf(i)&&t.push(i),i.then(()=>r(i)).then(null,()=>r(i).then(null,()=>{})),i},drain:function(e){return new eo.cW((r,n)=>{let i=t.length;if(!i)return r(!0);let o=setTimeout(()=>{e&&e>0&&r(!1)},e);t.forEach(e=>{(0,eo.WD)(e).then(()=>{--i||(clearTimeout(o),r(!0))},n)})})}}}(e.bufferSize||64)){let n={};return{send:function(i){let o=[];if(el(i,(t,r)=>{let i=ec[r];if(function(e,t,r=Date.now()){return(e[t]||e.all||0)>r}(n,i)){let n=tm(t,r);e.recordDroppedEvent("ratelimit_backoff",i,n)}else o.push(t)}),0===o.length)return(0,eo.WD)({});let a=es(i[0],o),s=t=>{el(a,(r,n)=>{let i=tm(r,n);e.recordDroppedEvent(t,ec[n],i)})};return r.add(()=>t({body:function(e){let[t,r]=e,n=JSON.stringify(t);function i(e){"string"==typeof n?n="string"==typeof e?n+e:[eu(n),e]:n.push("string"==typeof e?eu(e):e)}for(let e of r){let[t,r]=e;if(i(`
${JSON.stringify(t)}
`),"string"==typeof r||r instanceof Uint8Array)i(r);else{let e;try{e=JSON.stringify(r)}catch(t){e=JSON.stringify((0,ea.Fv)(r))}i(e)}}return"string"==typeof n?n:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n)}(a)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&E.X&&_.kg.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),n=function(e,{statusCode:t,headers:r},n=Date.now()){let i={...e},o=r&&r["x-sentry-rate-limits"],a=r&&r["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,r,,,o]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(i[e]=n+s):i[e]=n+s;else i.all=n+s}else a?i.all=n+function(e,t=Date.now()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let n=Date.parse(`${e}`);return isNaN(n)?6e4:n-t}(a,n):429===t&&(i.all=n+6e4);return i}(n,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>{if(e instanceof ef)return E.X&&_.kg.error("Skipped sending event because buffer is full."),s("queue_overflow"),(0,eo.WD)({});throw e})},flush:e=>r.drain(e)}}(e,function(i){let o=i.body.length;r+=o,n++;let a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};if(!t)return th.fetch=void 0,(0,eo.$2)("No fetch implementation available");try{return t(e.url,a).then(e=>(r-=o,n--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return th.fetch=void 0,r-=o,n--,(0,eo.$2)(e)}})}function tv(e){return[O(),N(),eZ(),eY(),e8(),tn(),L(),te()]}var ty=r(44675),tb=r(19086),tw=r(77264),t_=r(69521),tx=r(66582);class tS{constructor(e={}){this._traceId=e.traceId||(0,x.DM)(),this._spanId=e.spanId||(0,x.DM)().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:eh.ve}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}}var tE=r(46966);function tk(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let r=e.attributes||{},n=r[t_.E1],i=r[t_.Wb];"string"==typeof n&&"number"==typeof i&&(t[e.name]={value:i,unit:n})}),t}let tT="_sentryScope",tA="_sentryIsolationScope";function tP(e){return{scope:e[tT],isolationScope:e[tA]}}class tO{constructor(e={}){this._traceId=e.traceId||(0,x.DM)(),this._spanId=e.spanId||(0,x.DM)().substring(16),this._startTime=e.startTimestamp||(0,ex.ph)(),this._attributes={},this.setAttributes({[t_.S3]:"manual",[t_.$J]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?eh.i0:eh.ve}}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach(t=>this.setAttribute(t,e[t]))}updateStartTime(e){this._startTime=(0,eh.$k)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=(0,eh.$k)(e),function(e){if(!E.X)return;let{description:t="< unknown name >",op:r="< unknown op >"}=(0,eh.XU)(e),{spanId:n}=e.spanContext(),i=(0,eh.Gx)(e)===e,o=`[Tracing] Finishing "${r}" ${i?"root ":""}span "${t}" with ID ${n}`;_.kg.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return(0,C.Jr)({data:this._attributes,description:this._name,op:this._attributes[t_.$J],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,eh._4)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[t_.S3],_metrics_summary:(0,tE.y)(this),profile_id:this._attributes[t_.p6],exclusive_time:this._attributes[t_.JQ],measurements:tk(this._events),is_segment:this._isStandaloneSpan&&(0,eh.Gx)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,eh.Gx)(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){E.X&&_.kg.log("[Tracing] Adding an event to span:",e);let n=tj(t)?t:r||(0,ex.ph)(),i=tj(t)?{}:t||{},o={name:e,time:(0,eh.$k)(n),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,b.s3)();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,eh.Gx)(this)))return;if(this._isStandaloneSpan){(function(e){let t=(0,b.s3)();if(!t)return;let r=e[1];if(!r||0===r.length){t.recordDroppedEvent("before_send","span");return}let n=t.getTransport();n&&n.send(e).then(null,e=>{E.X&&_.kg.error("Error while sending span:",e)})})(function(e,t){let r=(0,ep.jC)(e[0]),n=t&&t.getDsn(),i=t&&t.getOptions().tunnel,o={sent_at:new Date().toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!i&&n&&{dsn:et(n)}},a=t&&t.getOptions().beforeSendSpan,s=a?e=>a((0,eh.XU)(e)):e=>(0,eh.XU)(e),l=[];for(let t of e){let e=s(t);e&&l.push([{type:"span"},e])}return es(o,l)}([this],e));return}let t=this._convertSpanToTransaction();t&&(tP(this).scope||(0,b.nZ)()).captureEvent(t)}_convertSpanToTransaction(){if(!tC((0,eh.XU)(this)))return;this._name||(E.X&&_.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=tP(this),r=(e||(0,b.nZ)()).getClient()||(0,b.s3)();if(!0!==this._sampled){E.X&&_.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),r&&r.recordDroppedEvent("sample_rate","transaction");return}let n=(0,eh.Dp)(this).filter(e=>e!==this&&!(e instanceof tO&&e.isStandaloneSpan())).map(e=>(0,eh.XU)(e)).filter(tC),i=this._attributes[t_.Zj],o={contexts:{trace:(0,eh.HR)(this)},spans:n.length>1e3?n.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):n,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...(0,C.Jr)({dynamicSamplingContext:(0,ep.jC)(this)})},_metrics_summary:(0,tE.y)(this),...i&&{transaction_info:{source:i}}},a=tk(this._events);return a&&Object.keys(a).length&&(E.X&&_.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(a,void 0,2)),o.measurements=a),o}}function tj(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function tC(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}let tM="__SENTRY_SUPPRESS_TRACING__";function tN(e){let t=tL();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,eh.$k)(e.startTime),delete r.startTime,r}return t}(e),n=e.scope||(0,b.nZ)(),i=function(e){let t=(0,tx.Y)(e);if(!t)return;let r=(0,b.s3)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,eh.Gx)(t):t}(n);return e.onlyIfParent&&!i?new tS:function({parentSpan:e,spanContext:t,forceTransaction:r,scope:n}){var i;let o;if(!w())return new tS;let a=(0,b.aF)();if(e&&!r)o=function(e,t,r){let{spanId:n,traceId:i}=e.spanContext(),o=!t.getScopeData().sdkProcessingMetadata[tM]&&(0,eh.Tt)(e),a=o?new tO({...r,parentSpanId:n,traceId:i,sampled:o}):new tS({traceId:i});(0,eh.j5)(e,a);let s=(0,b.s3)();return s&&(s.emit("spanStart",a),r.endTimestamp&&s.emit("spanEnd",a)),a}(e,n,t),(0,eh.j5)(e,o);else if(e){let r=(0,ep.jC)(e),{traceId:i,spanId:a}=e.spanContext(),s=(0,eh.Tt)(e);o=tR({traceId:i,parentSpanId:a,...t},n,s),(0,ep.Lh)(o,r)}else{let{traceId:e,dsc:r,parentSpanId:i,sampled:s}={...a.getPropagationContext(),...n.getPropagationContext()};o=tR({traceId:e,parentSpanId:i,...t},n,s),r&&(0,ep.Lh)(o,r)}return function(e){if(!E.X)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:n}=(0,eh.XU)(e),{spanId:i}=e.spanContext(),o=(0,eh.Tt)(e),a=(0,eh.Gx)(e),s=a===e,l=`[Tracing] Starting ${o?"sampled":"unsampled"} ${s?"root ":""}span`,u=[`op: ${r}`,`name: ${t}`,`ID: ${i}`];if(n&&u.push(`parent ID: ${n}`),!s){let{op:e,description:t}=(0,eh.XU)(a);u.push(`root ID: ${a.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}_.kg.log(`${l}
  ${u.join("\n  ")}`)}(o),(i=o)&&((0,C.xp)(i,tA,a),(0,C.xp)(i,tT,n)),o}({parentSpan:i,spanContext:r,forceTransaction:e.forceTransaction,scope:n})}function tL(){let e=(0,tb.c)();return(0,tw.G)(e)}function tR(e,t,r){let n=(0,b.s3)(),i=n&&n.getOptions()||{},{name:o="",attributes:a}=e,[s,l]=t.getScopeData().sdkProcessingMetadata[tM]?[!1]:function(e,t){let r;if(!w(e))return[!1];let n=eg(r="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1);return void 0===n?(E.X&&_.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):n?Math.random()<n?[!0,n]:(E.X&&_.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[!1,n]):(E.X&&_.kg.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,n])}(i,{name:o,parentSampled:r,attributes:a,transactionContext:{name:o,parentSampled:r}}),u=new tO({...e,attributes:{[t_.Zj]:"custom",...e.attributes},sampled:s});return void 0!==l&&u.setAttribute(t_.TE,l),n&&n.emit("spanStart",u),u}let tI=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",tD=(e,t,r,n)=>{let i,o;return a=>{t.value>=0&&(a||n)&&((o=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=tI(t.value,r),e(t))}},tF=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,tB=()=>J.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],tU=()=>{let e=tB();return e&&e.activationStart||0},tz=(e,t)=>{let r=tB(),n="navigate";return r&&(J.document&&J.document.prerendering||tU()>0?n="prerender":J.document&&J.document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:tF(),navigationType:n}},t$=(e,t,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},tH=e=>{let t=t=>{("pagehide"===t.type||J.document&&"hidden"===J.document.visibilityState)&&e(t)};J.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},tG=e=>{let t=!1;return r=>{t||(e(r),t=!0)}},tV=-1,tq=()=>{tV="hidden"!==J.document.visibilityState||J.document.prerendering?1/0:0},tW=e=>{"hidden"===J.document.visibilityState&&tV>-1&&(tV="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("visibilitychange",tW,!0),removeEventListener("prerenderingchange",tW,!0))},tY=()=>{addEventListener("visibilitychange",tW,!0),addEventListener("prerenderingchange",tW,!0)},tX=()=>(J.document&&tV<0&&(tq(),tY()),{get firstHiddenTime(){return tV}}),tZ=e=>{J.document&&J.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},tJ=[1800,3e3],tK=(e,t={})=>{tZ(()=>{let r;let n=tX(),i=tz("FCP"),o=t$("paint",e=>{e.forEach(e=>{"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<n.firstHiddenTime&&(i.value=Math.max(e.startTime-tU(),0),i.entries.push(e),r(!0)))})});o&&(r=tD(e,i,tJ,t.reportAllChanges))})},tQ=[.1,.25],t0=(e,t={})=>{tK(tG(()=>{let r;let n=tz("CLS",0),i=0,o=[],a=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=o[0],r=o[o.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e])}}),i>n.value&&(n.value=i,n.entries=o,r())},s=t$("layout-shift",a);s&&(r=tD(e,n,tQ,t.reportAllChanges),tH(()=>{a(s.takeRecords()),r(!0)}),setTimeout(r,0))}))},t1=[100,300],t2=(e,t={})=>{tZ(()=>{let r;let n=tX(),i=tz("FID"),o=e=>{e.startTime<n.firstHiddenTime&&(i.value=e.processingStart-e.startTime,i.entries.push(e),r(!0))},a=e=>{e.forEach(o)},s=t$("first-input",a);r=tD(e,i,t1,t.reportAllChanges),s&&tH(tG(()=>{a(s.takeRecords()),s.disconnect()}))})},t4=0,t5=1/0,t3=0,t6=e=>{e.forEach(e=>{e.interactionId&&(t5=Math.min(t5,e.interactionId),t4=(t3=Math.max(t3,e.interactionId))?(t3-t5)/7+1:0)})},t8=()=>l?t4:performance.interactionCount||0,t9=()=>{"interactionCount"in performance||l||(l=t$("event",t6,{type:"event",buffered:!0,durationThreshold:0}))},t7=[200,500],re=()=>t8()-0,rt=[],rr={},rn=e=>{let t=rt[rt.length-1],r=rr[e.interactionId];if(r||rt.length<10||e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};rr[t.id]=t,rt.push(t)}rt.sort((e,t)=>t.latency-e.latency),rt.splice(10).forEach(e=>{delete rr[e.id]})}},ri=()=>{let e=Math.min(rt.length-1,Math.floor(re()/50));return rt[e]},ro=(e,t={})=>{tZ(()=>{let r;t9();let n=tz("INP"),i=e=>{e.forEach(e=>{e.interactionId&&rn(e),"first-input"!==e.entryType||rt.some(t=>t.entries.some(t=>e.duration===t.duration&&e.startTime===t.startTime))||rn(e)});let t=ri();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},o=t$("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});r=tD(e,n,t7,t.reportAllChanges),o&&("PerformanceEventTiming"in J&&"interactionId"in PerformanceEventTiming.prototype&&o.observe({type:"first-input",buffered:!0}),tH(()=>{i(o.takeRecords()),n.value<0&&re()>0&&(n.value=0,n.entries=[]),r(!0)}))})},ra=[2500,4e3],rs={},rl=(e,t={})=>{tZ(()=>{let r;let n=tX(),i=tz("LCP"),o=e=>{let t=e[e.length-1];t&&t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-tU(),0),i.entries=[t],r())},a=t$("largest-contentful-paint",o);if(a){r=tD(e,i,ra,t.reportAllChanges);let n=tG(()=>{rs[i.id]||(o(a.takeRecords()),a.disconnect(),rs[i.id]=!0,r(!0))});["keydown","click"].forEach(e=>{J.document&&addEventListener(e,()=>setTimeout(n,0),!0)}),tH(n)}})},ru=[800,1800],rc=e=>{J.document&&J.document.prerendering?tZ(()=>rc(e)):J.document&&"complete"!==J.document.readyState?addEventListener("load",()=>rc(e),!0):setTimeout(e,0)},rd=(e,t={})=>{let r=tz("TTFB"),n=tD(e,r,ru,t.reportAllChanges);rc(()=>{let e=tB();if(e){let t=e.responseStart;if(t<=0||t>performance.now())return;r.value=Math.max(t-tU(),0),r.entries=[e],n(!0)}})},rf={},rp={};function rh(e,t){return rx(e,t),rp[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),t$(e,t=>{rm(e,{entries:t})},t)}(e),rp[e]=!0),rS(e,t)}function rm(e,t){let r=rf[e];if(r&&r.length)for(let n of r)try{n(t)}catch(t){tp&&_.kg.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${(0,G.$P)(n)}
Error:`,t)}}function rg(){return t0(e=>{rm("cls",{metric:e}),u=e},{reportAllChanges:!0})}function rv(){return t2(e=>{rm("fid",{metric:e}),c=e})}function ry(){return rl(e=>{rm("lcp",{metric:e}),d=e})}function rb(){return rd(e=>{rm("ttfb",{metric:e}),f=e})}function rw(){return ro(e=>{rm("inp",{metric:e}),p=e})}function r_(e,t,r,n,i=!1){let o;return rx(e,t),rp[e]||(o=r(),rp[e]=!0),n&&t({metric:n}),rS(e,t,i?o:void 0)}function rx(e,t){rf[e]=rf[e]||[],rf[e].push(t)}function rS(e,t,r){return()=>{r&&r();let n=rf[e];if(!n)return;let i=n.indexOf(t);-1!==i&&n.splice(i,1)}}function rE(e){return"number"==typeof e&&isFinite(e)}function rk(e,t,r,{...n}){let i=(0,eh.XU)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),function(e,t){let r=tL();return r.withActiveSpan?r.withActiveSpan(e,t):(0,b.$e)(r=>((0,tx.D)(r,e||void 0),t(r)))}(e,()=>{let e=tN({startTime:t,...n});return e&&e.end(r),e})}function rT(){return J&&J.addEventListener&&J.performance}function rA(e){return e/1e3}let rP=0,rO={};function rj(e,t,r,n,i,o){let a=o?t[o]:t[`${r}End`],s=t[`${r}Start`];s&&a&&rk(e,n+rA(s),n+rA(a),{op:"browser",name:i||r,attributes:{[t_.S3]:"auto.ui.browser.metrics"}})}function rC(e,t,r,n){let i=t[r];null!=i&&i<2147483647&&(e[n]=i)}let rM={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};var rN=r(12536);let rL={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function rR(e,t={}){let r;let n=new Map,i=!1,o="externalFinish",a=!t.disableAutoFinish,{idleTimeout:s=rL.idleTimeout,finalTimeout:l=rL.finalTimeout,childSpanTimeout:u=rL.childSpanTimeout,beforeSpanEnd:c}=t,d=(0,b.s3)();if(!d||!w())return new tS;let f=(0,b.nZ)(),p=(0,eh.HN)(),h=function(e){let t=tN(e);return(0,tx.D)((0,b.nZ)(),t),E.X&&_.kg.log("[Tracing] Started span is an idle span"),t}(e);function m(e=(0,ex.ph)()){let t=(0,eh.Dp)(h).filter(e=>e!==h);if(!t.length){h.end(e);return}let r=t.map(e=>(0,eh.XU)(e).timestamp).filter(e=>!!e),n=r.length?Math.max(...r):void 0,i=(0,eh.$k)(e),o=(0,eh.XU)(h).start_timestamp;h.end(Math.min(o?o+l/1e3:1/0,Math.max(o||-1/0,Math.min(i,n||1/0))))}function g(){r&&(clearTimeout(r),r=void 0)}function v(e){g(),r=setTimeout(()=>{!i&&0===n.size&&a&&(o="idleTimeout",m(e))},s)}function y(e){r=setTimeout(()=>{!i&&a&&(o="heartbeatFailed",m(e))},u)}return d.on("spanStart",e=>{if(!i&&e!==h&&!(0,eh.XU)(e).timestamp&&(0,eh.Dp)(h).includes(e)){var t;t=e.spanContext().spanId,g(),n.set(t,!0),y((0,ex.ph)()+u/1e3)}}),d.on("spanEnd",e=>{var t;i||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&v((0,ex.ph)()+s/1e3),e===h&&function(){i=!0,n.clear(),c&&c(h),(0,tx.D)(f,p);let e=(0,eh.XU)(h),{timestamp:t,start_timestamp:r}=e;if(!t||!r)return;(e.data||{})[t_.ju]||h.setAttribute(t_.ju,o),_.kg.log(`[Tracing] Idle span "${e.op}" finished`);let a=(0,eh.Dp)(h).filter(e=>e!==h),u=0;a.forEach(e=>{e.isRecording()&&(e.setStatus({code:rN.jt,message:"cancelled"}),e.end(t),E.X&&_.kg.log("[Tracing] Cancelling span since span ended early",JSON.stringify(e,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=(0,eh.XU)(e),i=n<=t,o=r-n<(l+s)/1e3;if(E.X){let t=JSON.stringify(e,void 0,2);i?o||_.kg.log("[Tracing] Discarding span since it finished after idle span final timeout",t):_.kg.log("[Tracing] Discarding span since it happened after idle span was finished",t)}(!o||!i)&&((0,eh.ed)(h,e),u++)}),u>0&&h.setAttribute("sentry.idle_span_discarded_spans",u)}())}),d.on("idleSpanEnableAutoFinish",e=>{e===h&&(a=!0,v(),n.size&&y())}),t.disableAutoFinish||v(),setTimeout(()=>{i||(h.setStatus({code:rN.jt,message:"deadline_exceeded"}),o="finalTimeout",m())},l),h}let rI=!1;function rD(){let e=(0,eh.HN)(),t=e&&(0,eh.Gx)(e);if(t){let e="internal_error";E.X&&_.kg.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:rN.jt,message:e})}}rD.tag="sentry_tracingErrorCallback";var rF=r(89214),rB=r(88611),rU=r(43214);let rz={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function r$(e){let{url:t}=(0,eh.XU)(e).data||{};if(!t||"string"!=typeof t)return;let r=rh("resource",({entries:n})=>{n.forEach(n=>{"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)&&n.name.endsWith(t)&&((function(e){let{name:t,version:r}=function(e){let t="unknown",r="unknown",n="";for(let i of e){if("/"===i){[t,r]=e.split("/");break}if(!isNaN(Number(i))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=i}return n===e&&(t=n),{name:t,version:r}}(e.nextHopProtocol),n=[];return(n.push(["network.protocol.version",r],["network.protocol.name",t]),ex.Z1)?[...n,["http.request.redirect_start",rH(e.redirectStart)],["http.request.fetch_start",rH(e.fetchStart)],["http.request.domain_lookup_start",rH(e.domainLookupStart)],["http.request.domain_lookup_end",rH(e.domainLookupEnd)],["http.request.connect_start",rH(e.connectStart)],["http.request.secure_connection_start",rH(e.secureConnectionStart)],["http.request.connection_end",rH(e.connectEnd)],["http.request.request_start",rH(e.requestStart)],["http.request.response_start",rH(e.responseStart)],["http.request.response_end",rH(e.responseEnd)]]:n})(n).forEach(t=>e.setAttribute(...t)),setTimeout(r))})})}function rH(e=0){return((ex.Z1||performance.timeOrigin)+e)/1e3}function rG(e){try{return new URL(e,ej.location.origin).href}catch(e){return}}let rV={...rL,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!0,_experiments:{},...rz},rq=(e={})=>{rI||(rI=!0,e2(rD),e3(rD));let{enableInp:t,enableLongTask:r,_experiments:{enableInteractions:n},beforeStartSpan:i,idleTimeout:o,finalTimeout:a,childSpanTimeout:s,markBackgroundSpan:l,traceFetch:g,traceXHR:v,shouldCreateSpanForRequest:y,enableHTTPTimings:x,instrumentPageLoad:E,instrumentNavigation:k}={...rV,...e},T=function(){let e=rT();if(e&&ex.Z1){e.mark&&J.performance.mark("sentry-tracing-init");let t=r_("fid",({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let r=rA(ex.Z1),n=rA(t.startTime);tp&&_.kg.log("[Measurements] Adding FID"),rO.fid={value:e.value,unit:"millisecond"},rO["mark.fid"]={value:r+n,unit:"second"}},rv,c),r=function(e,t=!1){return r_("cls",e,rg,u,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(tp&&_.kg.log("[Measurements] Adding CLS"),rO.cls={value:e.value,unit:""},m=t)},!0),n=function(e,t=!1){return r_("lcp",e,ry,d,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(tp&&_.kg.log("[Measurements] Adding LCP"),rO.lcp={value:e.value,unit:"millisecond"},h=t)},!0),i=r_("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(tp&&_.kg.log("[Measurements] Adding TTFB"),rO.ttfb={value:e.value,unit:"millisecond"})},rb,f);return()=>{t(),r(),n(),i()}}return()=>void 0}();t&&function(){if(rT()&&ex.Z1){let e=r_("inp",({metric:e})=>{let t;let r=(0,b.s3)();if(!r||void 0==e.value)return;let n=e.entries.find(t=>t.duration===e.value&&rM[t.name]);if(!n)return;let i=rM[n.name],o=r.getOptions(),a=rA(ex.Z1+n.startTime),s=rA(e.value),l=(0,b.nZ)(),u=(0,eh.HN)(),c=u?(0,eh.Gx)(u):void 0,d=c?(0,eh.XU)(c).description:void 0,f=l.getUser(),p=r.getIntegrationByName("Replay"),h=p&&p.getReplayId(),m=void 0!==f?f.email||f.id||f.ip_address:void 0;try{t=l.getScopeData().contexts.profile.profile_id}catch(e){}let g=tN({name:(0,eV.Rt)(n.target),op:`ui.interaction.${i}`,attributes:(0,C.Jr)({release:o.release,environment:o.environment,transaction:d,[t_.JQ]:e.value,user:m||void 0,profile_id:t||void 0,replay_id:h||void 0}),startTime:a,experimental:{standalone:!0}});g.addEvent("inp",{[t_.E1]:"millisecond",[t_.Wb]:e.value}),g.end(a+s)},rw,p)}}(),r&&rh("longtask",({entries:e})=>{for(let t of e){if(!(0,eh.HN)())return;let e=rA(ex.Z1+t.startTime),r=rA(t.duration),n=tN({name:"Main UI thread blocked",op:"ui.long-task",startTime:e,attributes:{[t_.S3]:"auto.ui.browser.metrics"}});n&&n.end(e+r)}}),n&&rh("event",({entries:e})=>{for(let t of e){if(!(0,eh.HN)())return;if("click"===t.name){let e=rA(ex.Z1+t.startTime),r=rA(t.duration),n={name:(0,eV.Rt)(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[t_.S3]:"auto.ui.browser.metrics"}},i=(0,eV.iY)(t.target);i&&(n.attributes["ui.component_name"]=i);let o=tN(n);o&&o.end(e+r)}}});let A={name:void 0,source:void 0};function P(e,t){let r="pageload"===t.op,n=i?i(t):t,l=n.attributes||{};t.name!==n.name&&(l[t_.Zj]="custom",n.attributes=l),A.name=n.name,A.source=l[t_.Zj];let u=rR(n,{idleTimeout:o,finalTimeout:a,childSpanTimeout:s,disableAutoFinish:r,beforeSpanEnd:e=>{T(),function(e){let t=rT();if(!t||!J.performance.getEntries||!ex.Z1)return;tp&&_.kg.log("[Tracing] Adding & adjusting spans using Performance API");let r=rA(ex.Z1),n=t.getEntries(),{op:i,start_timestamp:o}=(0,eh.XU)(e);if(n.slice(rP).forEach(t=>{let n=rA(t.startTime),a=rA(t.duration);if("navigation"!==i||!o||!(r+n<o))switch(t.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{rj(e,t,n,r)}),rj(e,t,"secureConnection",r,"TLS/SSL","connectEnd"),rj(e,t,"fetch",r,"cache","domainLookupStart"),rj(e,t,"domainLookup",r,"DNS"),t.responseEnd&&(rk(e,r+rA(t.requestStart),r+rA(t.responseEnd),{op:"browser",name:"request",attributes:{[t_.S3]:"auto.ui.browser.metrics"}}),rk(e,r+rA(t.responseStart),r+rA(t.responseEnd),{op:"browser",name:"response",attributes:{[t_.S3]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":{(function(e,t,r,n,i){let o=i+r;rk(e,o,o+n,{name:t.name,op:t.entryType,attributes:{[t_.S3]:"auto.resource.browser.metrics"}})})(e,t,n,a,r);let i=tX(),o=t.startTime<i.firstHiddenTime;"first-paint"===t.name&&o&&(tp&&_.kg.log("[Measurements] Adding FP"),rO.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(tp&&_.kg.log("[Measurements] Adding FCP"),rO.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":(function(e,t,r,n,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let a=eW(r),s={[t_.S3]:"auto.resource.browser.metrics"};rC(s,t,"transferSize","http.response_transfer_size"),rC(s,t,"encodedBodySize","http.response_content_length"),rC(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop()),a.host&&(s["server.address"]=a.host),s["url.same_origin"]=r.includes(J.location.origin);let l=o+n;rk(e,l,l+i,{name:r.replace(J.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})})(e,t,t.name,n,a,r)}}),rP=Math.max(n.length-1,0),function(e){let t=J.navigator;if(!t)return;let r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),rE(r.rtt)&&(rO["connection.rtt"]={value:r.rtt,unit:"millisecond"})),rE(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),rE(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===i){(function(e){let t=tB();if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(tp&&_.kg.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})})(rO),["fcp","fp","lcp"].forEach(e=>{if(!rO[e]||!o||r>=o)return;let t=rO[e].value,n=Math.abs((r+rA(t)-o)*1e3),i=n-t;tp&&_.kg.log(`[Measurements] Normalized ${e} from ${t} to ${n} (${i})`),rO[e].value=n});let t=rO["mark.fid"];t&&rO.fid&&(rk(e,t.value,t.value+rA(rO.fid.value),{name:"first input delay",op:"ui.action",attributes:{[t_.S3]:"auto.ui.browser.metrics"}}),delete rO["mark.fid"]),"fcp"in rO||delete rO.cls,Object.keys(rO).forEach(e=>{!function(e,t,r){let n=(0,eh.HN)(),i=n&&(0,eh.Gx)(n);i&&i.addEvent(e,{[t_.Wb]:t,[t_.E1]:r})}(e,rO[e].value,rO[e].unit)}),h&&(tp&&_.kg.log("[Measurements] Adding LCP Data"),h.element&&e.setAttribute("lcp.element",(0,eV.Rt)(h.element)),h.id&&e.setAttribute("lcp.id",h.id),h.url&&e.setAttribute("lcp.url",h.url.trim().slice(0,200)),e.setAttribute("lcp.size",h.size)),m&&m.sources&&(tp&&_.kg.log("[Measurements] Adding CLS Data"),m.sources.forEach((t,r)=>e.setAttribute(`cls.source.${r+1}`,(0,eV.Rt)(t.node))))}h=void 0,m=void 0,rO={}}(e)}});function c(){["interactive","complete"].includes(ej.document.readyState)&&e.emit("idleSpanEnableAutoFinish",u)}return r&&ej.document&&(ej.document.addEventListener("readystatechange",()=>{c()}),c()),u}return{name:"BrowserTracing",afterAllSetup(e){let t,r;let i=ej.location&&ej.location.href;e.on("startNavigationSpan",r=>{(0,b.s3)()===e&&(t&&(eS&&_.kg.log(`[Tracing] Finishing current root span with op: ${(0,eh.XU)(t).op}`),t.end()),t=P(e,{op:"navigation",...r}))}),e.on("startPageLoadSpan",(r,n={})=>{if((0,b.s3)()!==e)return;t&&(eS&&_.kg.log(`[Tracing] Finishing current root span with op: ${(0,eh.XU)(t).op}`),t.end());let i=n.sentryTrace||rX("sentry-trace"),o=n.baggage||rX("baggage"),a=(0,rF.pT)(i,o);(0,b.nZ)().setPropagationContext(a),t=P(e,{op:"pageload",...r})}),e.on("spanEnd",e=>{let t=(0,eh.XU)(e).op;if(e!==(0,eh.Gx)(e)||"navigation"!==t&&"pageload"!==t)return;let r=(0,b.nZ)(),n=r.getPropagationContext();r.setPropagationContext({...n,sampled:void 0!==n.sampled?n.sampled:(0,eh.Tt)(e),dsc:n.dsc||(0,ep.jC)(e)})}),ej.location&&(E&&rW(e,{name:ej.location.pathname,startTime:ex.Z1?ex.Z1/1e3:void 0,attributes:{[t_.Zj]:"url",[t_.S3]:"auto.pageload.browser"}}),k&&K(({to:t,from:r})=>{if(void 0===r&&i&&-1!==i.indexOf(t)){i=void 0;return}r!==t&&(i=void 0,rY(e,{name:ej.location.pathname,attributes:{[t_.Zj]:"url",[t_.S3]:"auto.navigation.browser"}}))})),l&&(ej&&ej.document?ej.document.addEventListener("visibilitychange",()=>{let e=(0,eh.HN)();if(!e)return;let t=(0,eh.Gx)(e);if(ej.document.hidden&&t){let e="cancelled",{op:r,status:n}=(0,eh.XU)(t);eS&&_.kg.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),n||t.setStatus({code:rN.jt,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):eS&&_.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),n&&ej.document&&addEventListener("click",()=>{let e="ui.action.click",t=(0,eh.HN)(),n=t&&(0,eh.Gx)(t);if(n&&["navigation","pageload"].includes((0,eh.XU)(n).op)){eS&&_.kg.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(r&&(r.setAttribute(t_.ju,"interactionInterrupted"),r.end(),r=void 0),!A.name){eS&&_.kg.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}r=rR({name:A.name,op:e,attributes:{[t_.Zj]:A.source||"url"}},{idleTimeout:o,finalTimeout:a,childSpanTimeout:s})},{once:!1,capture:!0}),function(e){let{traceFetch:t,traceXHR:r,shouldCreateSpanForRequest:n,enableHTTPTimings:i,tracePropagationTargets:o}={traceFetch:rz.traceFetch,traceXHR:rz.traceXHR,...e},a="function"==typeof n?n:e=>!0,s=e=>(function(e,t){let r=ej.location&&ej.location.href;if(r){let n,i;try{n=new URL(e,r),i=new URL(r).origin}catch(e){return!1}let o=n.origin===i;return t?(0,S.U0)(n.toString(),t)||o&&(0,S.U0)(n.pathname,t):o}{let r=!!e.match(/^\/(?!\/)/);return t?(0,S.U0)(e,t):r}})(e,o),l={};t&&ez(e=>{let t=function(e,t,r,n,i="auto.http.browser"){if(!e.fetchData)return;let o=w()&&t(e.fetchData.url);if(e.endTimestamp&&o){let t=e.fetchData.__span;if(!t)return;let r=n[t];r&&(function(e,t){if(t.response){(0,rN.Q0)(e,t.response.status);let r=t.response&&t.response.headers&&t.response.headers.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:rN.jt,message:"internal_error"});e.end()}(r,e),delete n[t]);return}let a=(0,b.nZ)(),s=(0,b.s3)(),{method:l,url:u}=e.fetchData,c=function(e){try{return new URL(e).href}catch(e){return}}(u),d=c?eW(c).host:void 0,f=!!(0,eh.HN)(),p=o&&f?tN({name:`${l} ${u}`,attributes:{url:u,type:"fetch","http.method":l,"http.url":c,"server.address":d,[t_.S3]:i,[t_.$J]:"http.client"}}):new tS;if(e.fetchData.__span=p.spanContext().spanId,n[p.spanContext().spanId]=p,r(e.fetchData.url)&&s){let t=e.args[0];e.args[1]=e.args[1]||{};let r=e.args[1];r.headers=function(e,t,r,n,i){let{traceId:o,spanId:a,sampled:s,dsc:l}={...(0,b.aF)().getPropagationContext(),...r.getPropagationContext()},u=i?(0,eh.Hb)(i):(0,rF.$p)(o,a,s),c=(0,rU.IQ)(l||(i?(0,ep.jC)(i):(0,ep._l)(o,t))),d=n.headers||("undefined"!=typeof Request&&(0,ei.V9)(e,Request)?e.headers:void 0);if(!d)return{"sentry-trace":u,baggage:c};if("undefined"!=typeof Headers&&(0,ei.V9)(d,Headers)){let e=new Headers(d);return e.append("sentry-trace",u),c&&e.append(rU.bU,c),e}if(Array.isArray(d)){let e=[...d,["sentry-trace",u]];return c&&e.push([rU.bU,c]),e}{let e="baggage"in d?d.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),c&&t.push(c),{...d,"sentry-trace":u,baggage:t.length>0?t.join(","):void 0}}}(t,s,a,r,w()&&f?p:void 0)}return p}(e,a,s,l);if(t){let r=rG(e.fetchData.url),n=r?eW(r).host:void 0;t.setAttributes({"http.url":r,"server.address":n})}i&&t&&r$(t)}),r&&eD(e=>{let t=function(e,t,r,n){let i=e.xhr,o=i&&i[eI];if(!i||i.__sentry_own_request__||!o)return;let a=w()&&t(o.url);if(e.endTimestamp&&a){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=n[e];t&&void 0!==o.status_code&&((0,rN.Q0)(t,o.status_code),t.end(),delete n[e]);return}let s=rG(o.url),l=s?eW(s).host:void 0,u=!!(0,eh.HN)(),c=a&&u?tN({name:`${o.method} ${o.url}`,attributes:{type:"xhr","http.method":o.method,"http.url":s,url:o.url,"server.address":l,[t_.S3]:"auto.http.browser",[t_.$J]:"http.client"}}):new tS;i.__sentry_xhr_span_id__=c.spanContext().spanId,n[i.__sentry_xhr_span_id__]=c;let d=(0,b.s3)();return i.setRequestHeader&&r(o.url)&&d&&function(e,t,r){let n=(0,b.nZ)(),{traceId:i,spanId:o,sampled:a,dsc:s}={...(0,b.aF)().getPropagationContext(),...n.getPropagationContext()};(function(e,t,r){try{e.setRequestHeader("sentry-trace",t),r&&e.setRequestHeader(rU.bU,r)}catch(e){}})(e,r&&w()?(0,eh.Hb)(r):(0,rF.$p)(i,o,a),(0,rU.IQ)(s||(r?(0,ep.jC)(r):(0,ep._l)(i,t))))}(i,d,w()&&u?c:void 0),c}(e,a,s,l);i&&t&&r$(t)})}({traceFetch:g,traceXHR:v,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:y,enableHTTPTimings:x})}}};function rW(e,t,r){e.emit("startPageLoadSpan",t,r),(0,b.nZ)().setTransactionName(t.name);let n=(0,eh.HN)();return"pageload"===(n&&(0,eh.XU)(n).op)?n:void 0}function rY(e,t){(0,b.aF)().setPropagationContext((0,rB.Q)()),(0,b.nZ)().setPropagationContext((0,rB.Q)()),e.emit("startNavigationSpan",t),(0,b.nZ)().setTransactionName(t.name);let r=(0,eh.HN)();return"navigation"===(r&&(0,eh.XU)(r).op)?r:void 0}function rX(e){let t=(0,eV.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}var rZ=r(71605);let rJ="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,rK=rZ.events?rZ:rZ.default,rQ=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function r0(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let i=n>=0?e[n]:"/";i&&(t=`${i}/${t}`,r="/"===i.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;r)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function r1(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}let r2=(e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in U.GLOBAL_OBJ&&void 0!==U.GLOBAL_OBJ.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let i=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),o=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(i||o){let e;let o=i?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,a=t?function(e,t){e=r0(e).slice(1),t=r0(t).slice(1);let r=r1(e.split("/")),n=r1(t.split("/")),i=Math.min(r.length,n.length),o=i;for(let e=0;e<i;e++)if(r[e]!==n[e]){o=e;break}let a=[];for(let e=o;e<r.length;e++)a.push("..");return(a=a.concat(n.slice(o))).join("/")}(t,o):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=rQ.exec(t);return r?r.slice(1):[]}(o)[2];n.filename=`${r}${a}`}return n}}({isBrowser:n,root:t,prefix:r});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t&&t.frames&&t.frames.map(e=>i(e))}}}})}}}catch(t){return e}}(t)),t}}},r4=({assetPrefixPath:e})=>({...r2({iteratee:t=>{try{let{origin:r}=new URL(t.filename);t.filename=function(e){let t;let r=e[0],n=1;for(;n<e.length;){let i=e[n],o=e[n+1];if(n+=2,("optionalAccess"===i||"optionalCall"===i)&&null==r)return;"access"===i||"optionalAccess"===i?(t=r,r=o(r)):("call"===i||"optionalCall"===i)&&(r=o((...e)=>r.call(t,...e)),t=void 0)}return r}([t,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(r,"app://"),"access",e=>e.replace,"call",t=>t(e,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}}),name:"NextjsClientStackFrameNormalization"}),r5=U.GLOBAL_OBJ,r3=U.GLOBAL_OBJ;!function(e){let t={environment:function(e){let t=e?"production":ty.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=tv(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&w(e)&&t.push(function(e={}){let t=rq({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:r=!0,instrumentNavigation:n=!0}=e;return{...t,afterAllSetup(e){var i;n&&(i=e,ej.document.getElementById("__NEXT_DATA__")?rK.events.on("routeChangeStart",e=>{let t,r;let n=e.split(/[\?#]/,1)[0],o=function(e){let t=(ej.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let r=function(e){let t=e.split("/"),r="";t[t.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}(t);return e.match(r)})}(n);o?(t=o,r="route"):(t=n,r="url"),rY(i,{name:t,attributes:{[t_.$J]:"navigation",[t_.S3]:"auto.navigation.nextjs.pages_router_instrumentation",[t_.Zj]:r}})}):ez(e=>{if(void 0!==e.endTimestamp||"GET"!==e.fetchData.method)return;let t=function(e){if(!e[0]||"object"!=typeof e[0]||void 0===e[0].searchParams||!e[1]||"object"!=typeof e[1]||!("headers"in e[1]))return null;try{let t=e[0],r=e[1].headers;if("1"!==r.RSC||"1"===r["Next-Router-Prefetch"])return null;return{targetPathname:t.pathname}}catch(e){return null}}(e.args);null!==t&&rY(i,{name:t.targetPathname,attributes:{[t_.$J]:"navigation",[t_.S3]:"auto.navigation.nextjs.app_router_instrumentation",[t_.Zj]:"url"}})})),t.afterAllSetup(e),r&&(ej.document.getElementById("__NEXT_DATA__")?function(e){let{route:t,params:r,sentryTrace:n,baggage:i}=function(){let e;let t=ej.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){rJ&&_.kg.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:i,props:o}=e;return r.route=n,r.params=i,o&&o.pageProps&&(r.sentryTrace=o.pageProps._sentryTraceData,r.baggage=o.pageProps._sentryBaggage),r}();rW(e,{name:t||ej.location.pathname,startTime:ex.Z1?ex.Z1/1e3:void 0,attributes:{[t_.$J]:"pageload",[t_.S3]:"auto.pageload.nextjs.pages_router_instrumentation",[t_.Zj]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:n,baggage:i})}(e):rW(e,{name:ej.location.pathname,startTime:ex.Z1?ex.Z1/1e3:void 0,attributes:{[t_.$J]:"pageload",[t_.S3]:"auto.pageload.nextjs.app_router_instrumentation",[t_.Zj]:"url"}}))}}}());let r=r3.__rewriteFramesAssetPrefixPath__||"";return t.push(r4({assetPrefixPath:r})),t}(e),...e};(function(e){let t=r5.__sentryRewritesTunnelPath__;if(t&&e.dsn){let r=er(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let i=n[1],o=n[2],a=`${t}?o=${i}&p=${r.projectId}`;o&&(a+=`&r=${o}`),e.tunnel=a,rJ&&_.kg.info(`Tunneling events to "${a}"`)}else rJ&&_.kg.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}})(t),v(t,"nextjs",["nextjs","react"]),function(e){let t={...e};v(t,"react"),function(e={}){let t=function(e={}){return{defaultIntegrations:tv(),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:ej.SENTRY_RELEASE&&ej.SENTRY_RELEASE.id?ej.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0,...e}}(e);if(function(){let e=ej.chrome?"chrome":"browser",t=ej[e],r=t&&t.runtime&&t.runtime.id,n=ej.location&&ej.location.href||"",i=!!r&&ej===ej.top&&["chrome-extension:","moz-extension:","ms-browser-extension:"].some(e=>n.startsWith(`${e}//`));return!!r&&!i}()){(0,_.Cf)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}eS&&!$()&&_.kg.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."),function(e,t){!0===t.debug&&(E.X?_.kg.enable():(0,_.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,b.nZ)().update(t.initialScope);let r=new e(t);(0,b.nZ)().setClient(r),r.init()}(eN,{...t,stackParser:(0,G.Sq)(t.stackParser||td),integrations:function(e){let t=e.defaultIntegrations||[],r=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let n=function(e){let t={};return e.forEach(e=>{let{name:r}=e,n=t[r];n&&!n.isDefaultInstance&&e.isDefaultInstance||(t[r]=e)}),Object.keys(t).map(e=>t[e])}(Array.isArray(r)?[...t,...r]:"function"==typeof r?(0,x.lE)(r(t)):t),i=function(e,t){for(let r=0;r<e.length;r++)if(!0===t(e[r]))return r;return -1}(n,e=>"Debug"===e.name);if(-1!==i){let[e]=n.splice(i,1);n.push(e)}return n}(t),transport:t.transport||tg}),t.autoSessionTracking&&function(){if(void 0===ej.document){eS&&_.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}(0,y.yj)({ignoreDuration:!0}),(0,y.cg)(),K(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,y.yj)({ignoreDuration:!0}),(0,y.cg)())})}()}(t)}(t),(0,y.YA)("runtime","browser");let r=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;r.id="NextClient404Filter",(0,y.Qy)(r)}({dsn:"https://8e1b867120a6445e8b659c1abe8b4fdb@o1062497.ingest.sentry.io/6079200",tracesSampleRate:.01,beforeSend:e=>(null==e?void 0:e.message)&&["https://reactjs.org/docs/error-decoder.html?invariant=418","https://reactjs.org/docs/error-decoder.html?invariant=425","https://reactjs.org/docs/error-decoder.html?invariant=423","This Suspense boundary received an update before it finished hydrating"].map(t=>{var r;return null==e?void 0:null===(r=e.message)||void 0===r?void 0:r.includes(t)})?(console.log("ignoring minified React error",e),null):e,debug:!1});var r6=window;r6.__sentryRewritesTunnelPath__=void 0,r6.SENTRY_RELEASE={id:"054c4770ac0a21af4ab457dbe4b5dc80d753c405"},r6.__sentryBasePath=void 0,r6.__rewriteFramesAssetPrefixPath__=""},59157:function(e,t,r){"use strict";function n(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}r.d(t,{Z:function(){return n}})},74717:function(e,t,r){"use strict";r.d(t,{b:function(){return o},j:function(){return i}});var n={};function i(){return n}function o(e){n=e}},36327:function(e,t,r){"use strict";function n(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}r.d(t,{Z:function(){return n}})},87684:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{default:function(){return oc}});var i,o=r(651);r(39745),r(6517),r(72698),r(72632),r(20492);var a=r(19841),s=r(50696),l=r(26516),u=r(58064),c=r(29938),d=r(92379),f=r(42135);let p=(0,d.createContext)({strict:!1}),h={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},m={};for(let e in h)m[e]={isEnabled:t=>h[e].some(e=>!!t[e])};function g(e){for(let t in e)m[t]={...m[t],...e[t]}}function v({children:e,features:t,strict:r=!1}){let[,n]=(0,d.useState)(!y(t)),i=(0,d.useRef)(void 0);if(!y(t)){let{renderer:e,...r}=t;i.current=e,g(r)}return(0,d.useEffect)(()=>{y(t)&&t().then(({renderer:e,...t})=>{g(t),i.current=e,n(!0)})},[]),(0,o.jsx)(p.Provider,{value:{renderer:i.current,strict:r},children:e})}function y(e){return"function"==typeof e}function b(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let w=e=>Array.isArray(e);function _(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function x(e){return"string"==typeof e||Array.isArray(e)}function S(e){let t=[{},{}];return null==e||e.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function E(e,t,r,n){if("function"==typeof t){let[i,o]=S(n);t=t(void 0!==r?r:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=S(n);t=t(void 0!==r?r:e.custom,i,o)}return t}function k(e,t,r){let n=e.getProps();return E(n,t,void 0!==r?r:n.custom,e)}let T=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],A=["initial",...T],P=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],O=new Set(P),j=e=>1e3*e,C=e=>e/1e3,M={type:"spring",stiffness:500,damping:25,restSpeed:10},N=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),L={type:"keyframes",duration:.8},R={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},I=(e,{keyframes:t})=>t.length>2?L:O.has(e)?e.startsWith("scale")?N(t[1]):M:R;function D(e,t){return e[t]||e.default||e}let F={skipAnimations:!1,useManualTiming:!1},B={current:!1},U=e=>null!==e;function z(e,{repeat:t,repeatType:r="loop"},n){let i=e.filter(U),o=t&&"loop"!==r&&t%2==1?0:i.length-1;return o&&void 0!==n?n:i[o]}let $=e=>e;class H{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let G=["read","resolveKeyframes","update","preRender","render","postRender"];function V(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},o=G.reduce((e,t)=>(e[t]=function(e){let t=new H,r=new H,n=0,i=!1,o=!1,a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{let l=s&&i,u=l?t:r;return o&&a.add(e),u.add(e)&&l&&i&&(n=t.order.length),e},cancel:e=>{r.remove(e),a.delete(e)},process:l=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.clear(),n=t.order.length)for(let r=0;r<n;r++){let n=t.order[r];a.has(n)&&(s.schedule(n),e()),n(l)}i=!1,o&&(o=!1,s.process(l))}};return s}(()=>r=!0),e),{}),a=e=>{o[e].process(i)},s=()=>{let o=F.useManualTiming?i.timestamp:performance.now();r=!1,i.delta=n?1e3/60:Math.max(Math.min(o-i.timestamp,40),1),i.timestamp=o,i.isProcessing=!0,G.forEach(a),i.isProcessing=!1,r&&t&&(n=!1,e(s))},l=()=>{r=!0,n=!0,i.isProcessing||e(s)};return{schedule:G.reduce((e,t)=>{let n=o[t];return e[t]=(e,t=!1,i=!1)=>(r||l(),n.schedule(e,t,i)),e},{}),cancel:e=>G.forEach(t=>o[t].cancel(e)),state:i,steps:o}}let{schedule:q,cancel:W,state:Y,steps:X}=V("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:$,!0);function Z(){n=void 0}let J={now:()=>(void 0===n&&J.set(Y.isProcessing||F.useManualTiming?Y.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(Z)}},K=e=>/^0[^.\s]+$/u.test(e),Q=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ee=e=>t=>"string"==typeof t&&t.startsWith(e),et=ee("--"),er=ee("var(--"),en=e=>!!er(e)&&ei.test(e.split("/*")[0].trim()),ei=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,eo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ea=(e,t,r)=>r>t?t:r<e?e:r,es={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},el={...es,transform:e=>ea(0,1,e)},eu={...es,default:1},ec=e=>Math.round(1e5*e)/1e5,ed=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ef=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ep=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function eh(e){return"string"==typeof e}let em=e=>({test:t=>eh(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),eg=em("deg"),ev=em("%"),ey=em("px"),eb=em("vh"),ew=em("vw"),e_={...ev,parse:e=>ev.parse(e)/100,transform:e=>ev.transform(100*e)},ex=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),eS=e=>e===es||e===ey,eE=(e,t)=>parseFloat(e.split(", ")[t]),ek=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/u);if(i)return eE(i[1],t);{let t=n.match(/^matrix\((.+)\)$/u);return t?eE(t[1],e):0}},eT=new Set(["x","y","z"]),eA=P.filter(e=>!eT.has(e)),eP={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ek(4,13),y:ek(5,14)};eP.translateX=eP.x,eP.translateY=eP.y;let eO=e=>t=>t.test(e),ej=[es,ey,ev,eg,ew,eb,{test:e=>"auto"===e,parse:e=>e}],eC=e=>ej.find(eO(e)),eM=new Set,eN=!1,eL=!1;function eR(){if(eL){let e=Array.from(eM).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=function(e){let t=[];return eA.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{var n;null===(n=e.getValue(t))||void 0===n||n.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eL=!1,eN=!1,eM.forEach(e=>e.complete()),eM.clear()}function eI(){eM.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eL=!0)})}class eD{constructor(e,t,r,n,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eM.add(this),eN||(eN=!0,q.read(eI),q.resolveKeyframes(eR))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let i=0;i<e.length;i++)if(null===e[i]){if(0===i){let i=null==n?void 0:n.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}else e[i]=e[i-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),eM.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,eM.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let eF=(e,t)=>r=>!!(eh(r)&&ep.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),eB=(e,t,r)=>n=>{if(!eh(n))return n;let[i,o,a,s]=n.match(ed);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},eU=e=>ea(0,255,e),ez={...es,transform:e=>Math.round(eU(e))},e$={test:eF("rgb","red"),parse:eB("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+ez.transform(e)+", "+ez.transform(t)+", "+ez.transform(r)+", "+ec(el.transform(n))+")"},eH={test:eF("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:e$.transform},eG={test:eF("hsl","hue"),parse:eB("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+ev.transform(ec(t))+", "+ev.transform(ec(r))+", "+ec(el.transform(n))+")"},eV={test:e=>e$.test(e)||eH.test(e)||eG.test(e),parse:e=>e$.test(e)?e$.parse(e):eG.test(e)?eG.parse(e):eH.parse(e),transform:e=>eh(e)?e:e.hasOwnProperty("red")?e$.transform(e):eG.transform(e)},eq="number",eW="color",eY=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function eX(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,a=t.replace(eY,e=>(eV.test(e)?(n.color.push(o),i.push(eW),r.push(eV.parse(e))):e.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(e)):(n.number.push(o),i.push(eq),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:a,indexes:n,types:i}}function eZ(e){return eX(e).values}function eJ(e){let{split:t,types:r}=eX(e),n=t.length;return e=>{let i="";for(let o=0;o<n;o++)if(i+=t[o],void 0!==e[o]){let t=r[o];t===eq?i+=ec(e[o]):t===eW?i+=eV.transform(e[o]):i+=e[o]}return i}}let eK=e=>"number"==typeof e?0:e,eQ={test:function(e){var t,r;return isNaN(e)&&eh(e)&&((null===(t=e.match(ed))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(ef))||void 0===r?void 0:r.length)||0)>0},parse:eZ,createTransformer:eJ,getAnimatableNone:function(e){let t=eZ(e);return eJ(e)(t.map(eK))}},e0=new Set(["brightness","contrast","saturate","opacity"]);function e1(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(ed)||[];if(!n)return e;let i=r.replace(n,""),o=e0.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}let e2=/\b([a-z-]*)\(.*?\)/gu,e4={...eQ,getAnimatableNone:e=>{let t=e.match(e2);return t?t.map(e1).join(" "):e}},e5={...es,transform:Math.round},e3={borderWidth:ey,borderTopWidth:ey,borderRightWidth:ey,borderBottomWidth:ey,borderLeftWidth:ey,borderRadius:ey,radius:ey,borderTopLeftRadius:ey,borderTopRightRadius:ey,borderBottomRightRadius:ey,borderBottomLeftRadius:ey,width:ey,maxWidth:ey,height:ey,maxHeight:ey,size:ey,top:ey,right:ey,bottom:ey,left:ey,padding:ey,paddingTop:ey,paddingRight:ey,paddingBottom:ey,paddingLeft:ey,margin:ey,marginTop:ey,marginRight:ey,marginBottom:ey,marginLeft:ey,rotate:eg,rotateX:eg,rotateY:eg,rotateZ:eg,scale:eu,scaleX:eu,scaleY:eu,scaleZ:eu,skew:eg,skewX:eg,skewY:eg,distance:ey,translateX:ey,translateY:ey,translateZ:ey,x:ey,y:ey,z:ey,perspective:ey,transformPerspective:ey,opacity:el,originX:e_,originY:e_,originZ:ey,zIndex:e5,backgroundPositionX:ey,backgroundPositionY:ey,fillOpacity:el,strokeOpacity:el,numOctaves:e5},e6={...e3,color:eV,backgroundColor:eV,outlineColor:eV,fill:eV,stroke:eV,borderColor:eV,borderTopColor:eV,borderRightColor:eV,borderBottomColor:eV,borderLeftColor:eV,filter:e4,WebkitFilter:e4},e8=e=>e6[e];function e9(e,t){let r=e8(e);return r!==e4&&(r=eQ),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let e7=new Set(["auto","none","0"]);class te extends eD{constructor(e,t,r,n){super(e,t,r,n,null==n?void 0:n.owner,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&en(n=n.trim())){let i=function e(t,r,n=1){$(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,o]=function(e){let t=eo.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${null!=r?r:n}`,i]}(t);if(!i)return;let a=window.getComputedStyle(r).getPropertyValue(i);if(a){let e=a.trim();return Q(e)?parseFloat(e):e}return en(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!ex.has(r)||2!==e.length)return;let[n,i]=e,o=eC(n),a=eC(i);if(o!==a){if(eS(o)&&eS(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var n;("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||K(n))&&r.push(t)}r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!e7.has(t)&&eX(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=e9(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eP[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){var e;let{element:t,name:r,unresolvedKeyframes:n}=this;if(!t.current)return;let i=t.getValue(r);i&&i.jump(this.measuredOrigin,!1);let o=n.length-1,a=n[o];n[o]=eP[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}function tt(e){let t;return()=>(void 0===t&&(t=e()),t)}let tr=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eQ.test(e)||"0"===e)&&!e.startsWith("url("));class tn{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(eI(),eR()),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:i,delay:o,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=tr(i,t),s=tr(o,t);return $(a===s,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||"spring"===r&&n)}(e,r,n,i)){if(B.current||!o){null==s||s(z(e,this.options,t)),null==a||a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function ti(e,t,r){var n,i;let o=Math.max(t-5,0);return n=r-e(o),(i=t-o)?1e3/i*n:0}function to(e,t){return e*Math.sqrt(1-t*t)}let ta=["duration","bounce"],ts=["stiffness","damping","mass"];function tl(e,t){return t.some(t=>void 0!==e[t])}function tu({keyframes:e,restDelta:t,restSpeed:r,...n}){let i;let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tl(e,ts)&&tl(e,ta)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;$(e<=j(10),"Spring duration must be 10 seconds or less");let a=1-t;a=ea(.05,1,a),e=ea(.01,10,C(e)),a<1?(i=t=>{let n=t*a,i=n*e;return .001-(n-r)/to(t,a)*Math.exp(-i)},o=t=>{let n=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=to(Math.pow(t,2),a);return(n*r+r-o)*Math.exp(-n)*(-i(t)+.001>0?-1:1)/s}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,o,5/e);if(e=j(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-C(n.velocity||0)}),h=f||0,m=u/(2*Math.sqrt(l*c)),g=a-o,v=C(Math.sqrt(l/c)),y=5>Math.abs(g);if(r||(r=y?.01:2),t||(t=y?.005:.5),m<1){let e=to(v,m);i=t=>a-Math.exp(-m*v*t)*((h+m*v*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===m)i=e=>a-Math.exp(-v*e)*(g+(h+v*g)*e);else{let e=v*Math.sqrt(m*m-1);i=t=>{let r=Math.exp(-m*v*t),n=Math.min(e*t,300);return a-r*((h+m*v*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}return{calculatedDuration:p&&d||null,next:e=>{let n=i(e);if(p)s.done=e>=d;else{let o=h;0!==e&&(o=m<1?ti(i,e,n):0);let l=Math.abs(o)<=r,u=Math.abs(a-n)<=t;s.done=l&&u}return s.value=s.done?a:n,s}}}function tc({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,f;let p=e[0],h={done:!1,value:p},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,v=r*t,y=p+v,b=void 0===a?y:a(y);b!==y&&(v=b-p);let w=e=>-v*Math.exp(-e/n),_=e=>b+w(e),x=e=>{let t=w(e),r=_(e);h.done=Math.abs(t)<=u,h.value=h.done?b:r},S=e=>{m(h.value)&&(d=e,f=tu({keyframes:[h.value,g(h.value)],velocity:ti(_,e,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,x(e),S(e)),void 0!==d&&e>=d)?f.next(e-d):(t||x(e),h)}}}let td=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function tf(e,t,r,n){if(e===t&&r===n)return $;let i=t=>(function(e,t,r,n,i){let o,a;let s=0;do(o=td(a=t+(r-t)/2,n,i)-e)>0?r=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:td(i(e),t,n)}let tp=tf(.42,0,1,1),th=tf(0,0,.58,1),tm=tf(.42,0,.58,1),tg=e=>Array.isArray(e)&&"number"!=typeof e[0],tv=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ty=e=>t=>1-e(1-t),tb=e=>1-Math.sin(Math.acos(e)),tw=ty(tb),t_=tv(tb),tx=tf(.33,1.53,.69,.99),tS=ty(tx),tE=tv(tS),tk={linear:$,easeIn:tp,easeInOut:tm,easeOut:th,circIn:tb,circInOut:t_,circOut:tw,backIn:tS,backInOut:tE,backOut:tx,anticipate:e=>(e*=2)<1?.5*tS(e):.5*(2-Math.pow(2,-10*(e-1)))},tT=e=>{if(Array.isArray(e)){$(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return tf(t,r,n,i)}return"string"==typeof e?($(void 0!==tk[e],`Invalid easing type '${e}'`),tk[e]):e},tA=(e,t)=>r=>t(e(r)),tP=(...e)=>e.reduce(tA),tO=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n},tj=(e,t,r)=>e+(t-e)*r;function tC(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}let tM=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},tN=[eH,e$,eG],tL=e=>tN.find(t=>t.test(e));function tR(e){let t=tL(e);$(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===eG&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=tC(s,n,e+1/3),o=tC(s,n,e),a=tC(s,n,e-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let tI=(e,t)=>{let r=tR(e),n=tR(t),i={...r};return e=>(i.red=tM(r.red,n.red,e),i.green=tM(r.green,n.green,e),i.blue=tM(r.blue,n.blue,e),i.alpha=tj(r.alpha,n.alpha,e),e$.transform(i))},tD=new Set(["none","hidden"]);function tF(e,t){return r=>r>0?t:e}function tB(e,t){return r=>tj(e,t,r)}function tU(e){return"number"==typeof e?tB:"string"==typeof e?en(e)?tF:eV.test(e)?tI:tH:Array.isArray(e)?tz:"object"==typeof e?eV.test(e)?tI:t$:tF}function tz(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>tU(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function t$(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=tU(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let tH=(e,t)=>{let r=eQ.createTransformer(t),n=eX(e),i=eX(t);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?tD.has(e)&&!i.values.length||tD.has(t)&&!n.values.length?tD.has(e)?r=>r<=0?e:t:r=>r>=1?t:e:tP(tz(function(e,t){var r;let n=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][i[a]],l=null!==(r=e.values[s])&&void 0!==r?r:0;n[o]=l,i[a]++}return n}(n,i),i.values),r):($(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),tF(e,t))};function tG(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?tj(e,t,r):tU(e)(e,t)}function tV({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=tg(n)?n.map(tT):tT(n),o={done:!1,value:t[0]},a=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if($(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];if(2===o&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],i=r||tG,o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=tP(Array.isArray(t)?t[r]||$:t,o)),n.push(o)}return n}(t,n,i),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=tO(e[r],e[r+1],t);return a[r](n)};return r?t=>l(ea(e[0],e[o-1],t)):l}((r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=tO(0,t,n);e.push(tj(r,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||tm).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}let tq=e=>{let t=({timestamp:t})=>e(t);return{start:()=>q.update(t,!0),stop:()=>W(t),now:()=>Y.isProcessing?Y.timestamp:J.now()}},tW={decay:tc,inertia:tc,tween:tV,keyframes:tV,spring:tu},tY=e=>e/100;class tX extends tn{constructor({KeyframeResolver:e=eD,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:r,motionValue:n,keyframes:i}=this.options,o=(e,t)=>this.onKeyframesResolved(e,t);r&&n&&n.owner?this.resolver=n.owner.resolveKeyframes(i,o,r,n):this.resolver=new e(i,o,r,n),this.resolver.scheduleResolve()}initPlayback(e){let t,r;let{type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=this.options,l=tW[n]||tV;l!==tV&&"number"!=typeof e[0]&&(t=tP(tY,tG(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:c}=u,d=c+o;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:n,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;if(null===this.startTime)return i.next(0);let{delay:d,repeat:f,repeatType:p,repeatDelay:h,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=i;if(f){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,f+1))%2&&("reverse"===p?(r=1-r,h&&(r-=h/c)):"mirror"===p&&(b=o)),y=ea(0,1,r)*c}let w=v?{done:!1,value:s[0]}:b.next(y);a&&(w.value=a(w.value));let{done:_}=w;v||null===l||(_=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&_);return x&&void 0!==n&&(w.value=z(s,this.options,n)),m&&m(w.value),x&&this.finish(),w}get duration(){let{resolved:e}=this;return e?C(e.calculatedDuration):0}get time(){return C(this.currentTime)}set time(e){e=j(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=C(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tq,onPlay:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=r),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let tZ=e=>Array.isArray(e)&&"number"==typeof e[0],tJ=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,tK={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tJ([0,.65,.55,1]),circOut:tJ([.55,0,1,.45]),backIn:tJ([.31,.01,.66,-.59]),backOut:tJ([.33,1.53,.69,.99])};function tQ(e){return t0(e)||tK.easeOut}function t0(e){if(e)return tZ(e)?tJ(e):Array.isArray(e)?e.map(tQ):tK[e]}let t1=tt(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),t2=new Set(["opacity","clipPath","filter","transform"]);class t4 extends tn{constructor(e){super(e);let{name:t,motionValue:r,keyframes:n}=this.options;this.resolver=new te(n,(e,t)=>this.onKeyframesResolved(e,t),t,r),this.resolver.scheduleResolve()}initPlayback(e,t){var r,n;let{duration:i=300,times:o,ease:a,type:s,motionValue:l,name:u}=this.options;if(!(null===(r=l.owner)||void 0===r?void 0:r.current))return!1;if("spring"===(n=this.options).type||"backgroundColor"===n.name||!function e(t){return!!(!t||"string"==typeof t&&t in tK||tZ(t)||Array.isArray(t)&&t.every(e))}(n.ease)){let{onComplete:t,onUpdate:r,motionValue:n,...l}=this.options,u=function(e,t){let r=new tX({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},i=[],o=0;for(;!n.done&&o<2e4;)i.push((n=r.sample(o)).value),o+=10;return{times:void 0,keyframes:i,duration:o-10,ease:"linear"}}(e,l);1===(e=u.keyframes).length&&(e[1]=e[0]),i=u.duration,o=u.times,a=u.ease,s="keyframes"}let c=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=t0(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:o,ease:a});return c.startTime=J.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:r}=this.options;l.set(z(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:o,type:s,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return C(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return C(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=j(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return $;let{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return $}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:n,type:i,ease:o,times:a}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,...l}=this.options,u=new tX({...l,keyframes:r,duration:n,type:i,ease:o,times:a,isGenerator:!0}),c=j(this.time);e.setWithVelocity(u.sample(c-10).value,u.sample(c).value,10)}this.cancel()}}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:o,type:a}=e;return t1()&&r&&t2.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!n&&"mirror"!==i&&0!==o&&"inertia"!==a}}let t5=tt(()=>void 0!==window.ScrollTimeline);class t3{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e){let t=this.animations.map(t=>{if(!t5()||!t.attachTimeline)return t.pause(),function(e,t){let r;let n=()=>{let{currentTime:n}=t,i=(null===n?0:n.value)/100;r!==i&&e(i),r=i};return q.update(n,!0),()=>W(n)}(e=>{t.time=t.duration*e},e);t.attachTimeline(e)});return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let t6=(e,t,r,n={},i,o)=>a=>{let s=D(n,e)||{},l=s.delay||n.delay||0,{elapsed:u=0}=n;u-=j(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(c={...c,...I(e,c)}),c.duration&&(c.duration=j(c.duration)),c.repeatDelay&&(c.repeatDelay=j(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(d=!0)),(B.current||F.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),d&&!o&&void 0!==t.get()){let e=z(c.keyframes,s);if(void 0!==e)return q.update(()=>{c.onUpdate(e),c.onComplete()}),new t3([])}return!o&&t4.supports(c)?new t4(c):new tX(c)},t8=e=>!!(e&&e.getVelocity);function t9(e){return!!(t8(e)&&e.add)}let t7=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),re=e=>w(e)?e[e.length-1]||0:e;class rt{constructor(){this.subscriptions=[]}add(e){var t;return -1===(t=this.subscriptions).indexOf(e)&&t.push(e),()=>(function(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)})(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let rr=e=>!isNaN(parseFloat(e)),rn={current:void 0};class ri{constructor(e,t={}){this.version="11.2.9",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=J.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=J.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=rr(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new rt);let r=this.events[e].add(t);return"change"===e?()=>{r(),q.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return rn.current&&rn.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=J.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ro(e,t){return new ri(e,t)}let ra=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),rs="data-"+ra("framerAppearId");function rl(e,t,{delay:r=0,transitionOverride:n,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t,u=e.getValue("willChange");n&&(a=n);let c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let n=e.getValue(t,null!==(o=e.latestValues[t])&&void 0!==o?o:null),i=l[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let s={delay:r,elapsed:0,...D(a||{},t)},f=!1;if(window.HandoffAppearAnimations){let r=e.getProps()[rs];if(r){let e=window.HandoffAppearAnimations(r,t,n,q);null!==e&&(s.elapsed=e,f=!0)}}n.start(t6(t,n,i,e.shouldReduceMotion&&O.has(t)?{type:!1}:s,e,f));let p=n.animation;p&&(t9(u)&&(u.add(t),p.then(()=>u.remove(t))),c.push(p))}return s&&Promise.all(c).then(()=>{q.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=k(e,t)||{};for(let t in i={...i,...r}){let r=re(i[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ro(r))}}(e,s)})}),c}function ru(e,t,r={}){var n;let i=k(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(o=r.transitionOverride);let a=i?()=>Promise.all(rl(e,i,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,n=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*n,l=1===i?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(rc).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(ru(e,t,{...o,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+n,a,s,r)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(r.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}}function rc(e,t){return e.sortNodePosition(t)}let rd=[...T].reverse(),rf=T.length;function rp(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class rh{constructor(e){this.isMounted=!1,this.node=e}update(){}}class rm extends rh{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>ru(e,t,r)));else if("string"==typeof t)n=ru(e,t,r);else{let i="function"==typeof t?k(e,t,r.custom):t;n=Promise.all(rl(e,i,r))}return n.then(()=>{q.postRender(()=>{e.notify("AnimationComplete",t)})})})(e,t,r))),r={animate:rp(!0),whileInView:rp(),whileHover:rp(),whileTap:rp(),whileDrag:rp(),whileFocus:rp(),exit:rp()},n=!0,i=t=>(r,n)=>{var i;let o=k(e,n,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(o){let{transition:e,transitionEnd:t,...n}=o;r={...r,...n,...t}}return r};function o(o){let a=e.getProps(),s=e.getVariantContext(!0)||{},l=[],u=new Set,c={},d=1/0;for(let t=0;t<rf;t++){var f;let p=rd[t],h=r[p],m=void 0!==a[p]?a[p]:s[p],g=x(m),v=p===o?h.isActive:null;!1===v&&(d=t);let y=m===s[p]&&m!==a[p]&&g;if(y&&n&&e.manuallyAnimateOnMount&&(y=!1),h.protectedKeys={...c},!h.isActive&&null===v||!m&&!h.prevProp||b(m)||"boolean"==typeof m)continue;let S=(f=h.prevProp,("string"==typeof m?m!==f:!!Array.isArray(m)&&!_(m,f))||p===o&&h.isActive&&!y&&g||t>d&&g),E=!1,k=Array.isArray(m)?m:[m],T=k.reduce(i(p),{});!1===v&&(T={});let{prevResolvedValues:A={}}=h,P={...A,...T},O=t=>{S=!0,u.has(t)&&(E=!0,u.delete(t)),h.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in P){let t=T[e],r=A[e];if(!c.hasOwnProperty(e))(w(t)&&w(r)?_(t,r):t===r)?void 0!==t&&u.has(e)?O(e):h.protectedKeys[e]=!0:null!=t?O(e):u.add(e)}h.prevProp=m,h.prevResolvedValues=T,h.isActive&&(c={...c,...T}),n&&e.blockInitialAnimation&&(S=!1),S&&(!y||E)&&l.push(...k.map(e=>({animation:e,options:{type:p}})))}if(u.size){let t={};u.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=null!=n?n:null}),l.push({animation:t})}let p=!!l.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(p=!1),n=!1,p?t(l):Promise.resolve()}return{animateChanges:o,setActive:function(t,n){var i;if(r[t].isActive===n)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let a=o(t);for(let e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),b(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let rg=0;class rv extends rh{constructor(){super(...arguments),this.id=rg++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function ry(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let rb=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function rw(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let r_=e=>t=>rb(t)&&e(t,rw(t));function rx(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let rS=rx("dragHorizontal"),rE=rx("dragVertical");function rk(){let e=function(e){let t=!1;if("y"===e)t=rE();else if("x"===e)t=rS();else{let e=rS(),r=rE();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}(!0);return!e||(e(),!1)}function rT(e,t){var r,n,i;let o=t?"pointerenter":"pointerleave",a=t?"onHoverStart":"onHoverEnd";return r=e.current,n=(r,n)=>{if("touch"===r.pointerType||rk())return;let i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);let o=i[a];o&&q.postRender(()=>o(r,n))},i={passive:!e.getProps()[a]},ry(r,o,r_(n),i)}class rA extends rh{mount(){this.unmount=tP(rT(this.node,!0),rT(this.node,!1))}unmount(){}}class rP extends rh{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tP(ry(this.node.current,"focus",()=>this.onFocus()),ry(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let rO=(e,t)=>!!t&&(e===t||rO(e,t.parentElement));function rj(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,rw(r))}class rC extends rh{constructor(){super(...arguments),this.removeStartListeners=$,this.removeEndListeners=$,this.removeAccessibleListeners=$,this.startPointerPress=(e,t)=>{var r,n,i,o,a,s,l,u;if(this.isPressing)return;this.removeEndListeners();let c=this.node.getProps(),d=(r=window,n="pointerup",i=(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:i}=this.node.getProps(),o=i||rO(this.node.current,e.target)?r:n;o&&q.update(()=>o(e,t))},o={passive:!(c.onTap||c.onPointerUp)},ry(r,n,r_(i),o)),f=(a=window,s="pointercancel",l=(e,t)=>this.cancelPress(e,t),u={passive:!(c.onTapCancel||c.onPointerCancel)},ry(a,s,r_(l),u));this.removeEndListeners=tP(d,f),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=ry(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=ry(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&rj("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&q.postRender(()=>r(e,t))})}),rj("down",(e,t)=>{this.startPress(e,t)}))}),t=ry(this.node.current,"blur",()=>{this.isPressing&&rj("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=tP(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&q.postRender(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!rk()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&q.postRender(()=>r(e,t))}mount(){var e,t,r,n;let i=this.node.getProps(),o=(e=i.globalTapTarget?window:this.node.current,t="pointerdown",r=this.startPointerPress,n={passive:!(i.onTapStart||i.onPointerStart)},ry(e,t,r_(r),n)),a=ry(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tP(o,a)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let rM=new WeakMap,rN=new WeakMap,rL=e=>{let t=rM.get(e.target);t&&t(e)},rR=e=>{e.forEach(rL)},rI={some:0,all:1};class rD extends rh{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:rI[n]};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;rN.has(r)||rN.set(r,{});let n=rN.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(rR,{root:e,...t})),n[i]}(t);return rM.set(e,r),n.observe(e),()=>{rM.delete(e),n.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=t?r:n;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}let rF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rB=P.length,rU=(e,t)=>t&&"number"==typeof e?t.transform(e):e;function rz(e,t,r,n){let{style:i,vars:o,transform:a,transformOrigin:s}=e,l=!1,u=!1,c=!0;for(let e in t){let r=t[e];if(et(e)){o[e]=r;continue}let n=e3[e],d=rU(r,n);if(O.has(e)){if(l=!0,a[e]=d,!c)continue;r!==(n.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,s[e]=d):i[e]=d}if(!t.transform&&(l||n?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let o="";for(let t=0;t<rB;t++){let r=P[t];if(void 0!==e[r]){let t=rF[r]||r;o+=`${t}(${e[r]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,n?"":o):r&&n&&(o="none"),o}(e.transform,r,c,n):i.transform&&(i.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=s;i.transformOrigin=`${e} ${t} ${r}`}}let r$={};function rH(e,{layout:t,layoutId:r}){return O.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!r$[e]||"opacity"===e)}function rG(e,t,r){var n;let{style:i}=e,o={};for(let a in i)(t8(i[a])||t.style&&t8(t.style[a])||rH(a,e)||(null===(n=null==r?void 0:r.getValue(a))||void 0===n?void 0:n.liveStyle)!==void 0)&&(o[a]=i[a]);return o}function rV(e,{style:t,vars:r},n,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(o,r[o])}let rq=()=>({min:0,max:0}),rW=()=>({x:rq(),y:rq()});function rY(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let rX="undefined"!=typeof document,rZ={current:null},rJ={current:!1};function rK(e){return b(e.animate)||A.some(t=>x(e[t]))}function rQ(e){return!!(rK(e)||e.variants)}let r0=new WeakMap,r1=[...ej,eV,eQ],r2=e=>r1.find(eO(e)),r4=Object.keys(m),r5=r4.length,r3=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],r6=A.length;class r8{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:i,visualState:o},a={}){this.resolveKeyframes=(e,t,r,n)=>new this.KeyframeResolver(e,t,r,n,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eD,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>q.render(this.render,!1,!0);let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=rK(t),this.isVariantNode=rQ(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==s[e]&&t8(t)&&(t.set(s[e],!1),t9(u)&&u.add(e))}}mount(e){this.current=e,r0.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),rJ.current||function(){if(rJ.current=!0,rX){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rZ.current=e.matches;e.addListener(t),t()}else rZ.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rZ.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var e;for(let e in r0.delete(this.current),this.projection&&this.projection.unmount(),W(this.notifyUpdate),W(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let t in this.features)null===(e=this.features[t])||void 0===e||e.unmount();this.current=null}bindToMotionValue(e,t){let r=O.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&q.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,i){let o,a;for(let e=0;e<r5;e++){let r=r4[e],{isEnabled:n,Feature:i,ProjectionNode:s,MeasureLayout:l}=m[r];s&&(o=s),n(t)&&(!this.features[r]&&i&&(this.features[r]=new i(this)),l&&(a=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&o){let{layoutId:e,layout:r,drag:n,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection=new o(this.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(this.parent)),this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!n||a&&rY(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rW()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<r3.length;t++){let r=r3[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){let{willChange:n}=t;for(let i in t){let o=t[i],a=r[i];if(t8(o))e.addValue(i,o),t9(n)&&n.add(i);else if(t8(a))e.addValue(i,ro(o,{owner:e})),t9(n)&&n.remove(i);else if(a!==o){if(e.hasValue(i)){let t=e.getValue(i);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(i);e.addValue(i,ro(void 0!==t?t:o,{owner:e}))}}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<r6;e++){let r=A[e],n=this.props[r];(x(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=ro(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let n=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&(Q(n)||K(n))?n=parseFloat(n):!r2(n)&&eQ.test(t)&&(n=e9(e,t)),this.setBaseTarget(e,t8(n)?n.get():n)),t8(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let r;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=E(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(r=i[e])}if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||t8(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new rt),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class r9 extends r8{constructor(){super(...arguments),this.KeyframeResolver=te}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class r7 extends r9{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(O.has(t)){let e=e8(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=(et(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}build(e,t,r,n){rz(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return rG(e,t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;t8(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){rV(e,t,r,n)}}function ne(e,t,r){let n=rG(e,t,r);for(let r in e)(t8(e[r])||t8(t[r]))&&(n[-1!==P.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}function nt(e,t,r){return"string"==typeof e?e:ey.transform(t+r*e)}let nr={offset:"stroke-dashoffset",array:"stroke-dasharray"},nn={offset:"strokeDashoffset",array:"strokeDasharray"};function ni(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d,f){if(rz(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==i||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,r){let n=nt(t,e.x,e.width),i=nt(r,e.y,e.height);return`${n} ${i}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==a&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?nr:nn;e[o.offset]=ey.transform(-n);let a=ey.transform(t),s=ey.transform(r);e[o.array]=`${a} ${s}`}(p,a,s,l,!1)}let no=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function na(e,t,r,n){for(let r in rV(e,t,void 0,n),t.attrs)e.setAttribute(no.has(r)?r:ra(r),t.attrs[r])}let ns=e=>"string"==typeof e&&"svg"===e.toLowerCase();class nl extends r9{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(O.has(t)){let e=e8(t);return e&&e.default||0}return t=no.has(t)?t:ra(t),e.getAttribute(t)}measureInstanceViewportBox(){return rW()}scrapeMotionValuesFromProps(e,t,r){return ne(e,t,r)}build(e,t,r,n){ni(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){na(e,t,r,n)}mount(e){this.isSVGTag=ns(e.tagName),super.mount(e)}}let nu=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nc(e){if("string"!=typeof e||e.includes("-"));else if(nu.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let nd={renderer:(e,t)=>nc(e)?new nl(t,{enableHardwareAcceleration:!1}):new r7(t,{allowProjection:e!==d.Fragment,enableHardwareAcceleration:!0}),animation:{Feature:rm},exit:{Feature:rv},inView:{Feature:rD},tap:{Feature:rC},focus:{Feature:rP},hover:{Feature:rA}},nf=(0,d.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),np=(0,d.createContext)({}),nh=(0,d.createContext)(null),nm=rX?d.useLayoutEffect:d.useEffect,{schedule:ng,cancel:nv}=V(queueMicrotask,!1);function ny(e){return Array.isArray(e)?e.join(" "):e}let nb=(0,d.createContext)({}),nw=(0,d.createContext)({}),n_=Symbol.for("motionComponentSymbol"),nx=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nS(e,t,r){for(let n in t)t8(t[n])||rH(n,r)||(e[n]=t[n])}let nE=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nk(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||nE.has(e)}let nT=e=>!nk(e);try{(i=require("@emotion/is-prop-valid").default)&&(nT=e=>e.startsWith("on")?!nk(e):i(e))}catch(e){}let nA=()=>({...nx(),attrs:{}}),nP=e=>(t,r)=>{let n=(0,d.useContext)(np),i=(0,d.useContext)(nh),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){let a={latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=function(e){let t=t8(e)?e.get():e;return t7(t)?t.toValue():t}(o[e]);let{initial:a,animate:s}=e,l=rK(e),u=rQ(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===a)?s:a;return d&&"boolean"!=typeof d&&!b(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{let r=E(e,t);if(!r)return;let{transitionEnd:n,transition:o,...a}=r;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in n)i[e]=n[e]}),i}(n,i,o,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a})(e,t,n,i);return r?o():function(e){let t=(0,d.useRef)(null);return null===t.current&&(t.current=e()),t.current}(o)},nO={useVisualState:nP({scrapeMotionValuesFromProps:ne,createRenderState:nA,onMount:(e,t,{renderState:r,latestValues:n})=>{q.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),q.render(()=>{ni(r,n,{enableHardwareAcceleration:!1},ns(t.tagName),e.transformTemplate),na(t,r)})}})},nj={useVisualState:nP({scrapeMotionValuesFromProps:rG,createRenderState:nx})},nC=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&g(e);let a=(0,d.forwardRef)(function(a,s){var l;let u;let c={...(0,d.useContext)(nf),...a,layoutId:function({layoutId:e}){let t=(0,d.useContext)(nb).id;return t&&void 0!==e?t+"-"+e:e}(a)},{isStatic:f}=c,h=function(e){let{initial:t,animate:r}=function(e,t){if(rK(e)){let{initial:t,animate:r}=e;return{initial:!1===t||x(t)?t:void 0,animate:x(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,d.useContext)(np));return(0,d.useMemo)(()=>({initial:t,animate:r}),[ny(t),ny(r)])}(a),m=n(a,f);if(!f&&rX){h.visualElement=function(e,t,r,n){let{visualElement:i}=(0,d.useContext)(np),o=(0,d.useContext)(p),a=(0,d.useContext)(nh),s=(0,d.useContext)(nf).reducedMotion,l=(0,d.useRef)();n=n||o.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:i,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let u=l.current;(0,d.useInsertionEffect)(()=>{u&&u.update(r,a)});let c=(0,d.useRef)(!!(r[rs]&&!window.HandoffComplete));return nm(()=>{u&&(ng.render(u.render),c.current&&u.animationState&&u.animationState.animateChanges())}),(0,d.useEffect)(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}(i,m,c,t);let r=(0,d.useContext)(nw),n=(0,d.useContext)(p).strict;h.visualElement&&(u=h.visualElement.loadFeatures(c,n,e,r))}return(0,o.jsxs)(np.Provider,{value:h,children:[u&&h.visualElement?(0,o.jsx)(u,{visualElement:h.visualElement,...c}):null,r(i,a,(l=h.visualElement,(0,d.useCallback)(e=>{e&&m.mount&&m.mount(e),l&&(e?l.mount(e):l.unmount()),s&&("function"==typeof s?s(e):rY(s)&&(s.current=e))},[l])),m,f,h.visualElement)]})});return a[n_]=i,a}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}(function(e,{forwardMotionProps:t=!1},r,n){return{...nc(e)?nO:nj,preloadedFeatures:r,useRender:function(e=!1){return(t,r,n,{latestValues:i},o)=>{let a=(nc(t)?function(e,t,r,n){let i=(0,d.useMemo)(()=>{let r=nA();return ni(r,t,{enableHardwareAcceleration:!1},ns(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};nS(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t,r){let n={},i=function(e,t,r){let n=e.style||{},i={};return nS(i,n,e),Object.assign(i,function({transformTemplate:e},t,r){return(0,d.useMemo)(()=>{let n=nx();return rz(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),i}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n})(r,i,o,t),s=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(nT(i)||!0===r&&nk(i)||!t&&!nk(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),l=t!==d.Fragment?{...s,...a,ref:n}:{},{children:u}=r,c=(0,d.useMemo)(()=>t8(u)?u.get():u,[u]);return(0,d.createElement)(t,{...l,children:c})}}(t),createVisualElement:n,Component:e}}),nM=e=>{let{size:t,className:r=""}=e,{toggleColorMode:n}=(0,u.If)(),i=(0,f.ff)(nL,nN);return(0,o.jsx)(v,{features:nd,children:(0,o.jsx)(l.gh,{className:r,"aria-label":"Switch color mode",onClick:()=>n(),children:(0,o.jsx)(i,{width:t,height:t})})})},nN=e=>{let{style:t,width:r,height:n,...i}=e,a={key:"sun",whileTap:nI,style:{...t,originX:"50%",originY:"50%"},...i};return(0,o.jsx)(nC.svg,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",width:r+0,height:n+0,...a,children:(0,o.jsx)(nC.path,{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,initial:"initial",animate:"animate",whileTap:"whileTap",variants:{initial:{scale:.6,rotate:-90},animate:{scale:1,rotate:0,transition:nR}},d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})},nL=e=>{let{...t}=e;return(0,o.jsx)(nC.svg,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:{opacity:.8},...t,children:(0,o.jsx)(nC.path,{d:"M 43.81 29.354 C 43.688 28.958 43.413 28.626 43.046 28.432 C 42.679 28.238 42.251 28.198 41.854 28.321 C 36.161 29.886 30.067 28.272 25.894 24.096 C 21.722 19.92 20.113 13.824 21.683 8.133 C 21.848 7.582 21.697 6.985 21.29 6.578 C 20.884 6.172 20.287 6.022 19.736 6.187 C 10.659 8.728 4.691 17.389 5.55 26.776 C 6.408 36.163 13.847 43.598 23.235 44.451 C 32.622 45.304 41.28 39.332 43.816 30.253 C 43.902 29.96 43.9 29.647 43.81 29.354 Z",fill:"currentColor",initial:"initial",animate:"animate",whileTap:"whileTap",variants:{initial:{scale:.6,rotate:90},animate:{scale:1,rotate:0,transition:nR},whileTap:nI}})},"moon")},nR={type:"spring",stiffness:200,damping:10},nI={scale:.95,rotate:15};var nD=r(81337),nF=r.n(nD),nB=r(60296),nU=function(){return(nU=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var nz=r(24715),n$=r(71614),nH=(0,r(55686)._)(),nG=function(){},nV=d.forwardRef(function(e,t){var r=d.useRef(null),n=d.useState({onScrollCapture:nG,onWheelCapture:nG,onTouchMoveCapture:nG}),i=n[0],o=n[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,m=e.inert,g=e.allowPinchZoom,v=e.as,y=e.gapMode,b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=(0,n$.q)([r,t]),_=nU(nU({},b),i);return d.createElement(d.Fragment,null,c&&d.createElement(p,{sideCar:nH,removeScrollBar:u,shards:f,noIsolation:h,inert:m,setCallbacks:o,allowPinchZoom:!!g,lockRef:r,gapMode:y}),a?d.cloneElement(d.Children.only(s),nU(nU({},_),{ref:w})):d.createElement(void 0===v?"div":v,nU({},_,{className:l,ref:w}),s))});nV.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},nV.classNames={fullWidth:nz.zi,zeroRight:nz.pF};var nq=r(1507),nW=r(77412),nY=r(18500),nX=!1;if("undefined"!=typeof window)try{var nZ=Object.defineProperty({},"passive",{get:function(){return nX=!0,!0}});window.addEventListener("test",nZ,nZ),window.removeEventListener("test",nZ,nZ)}catch(e){nX=!1}var nJ=!!nX&&{passive:!1},nK=function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},nQ=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),n0(e,n)){var i=n1(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},n0=function(e,t){return"v"===e?nK(t,"overflowY"):nK(t,"overflowX")},n1=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},n2=function(e,t,r,n,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,d=s>0,f=0,p=0;do{var h=n1(e,l),m=h[0],g=h[1]-h[2]-a*m;(m||g)&&n0(e,l)&&(f+=g,p+=m),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(f)||!i&&s>f)?c=!0:!d&&(i&&1>Math.abs(p)||!i&&-s>p)&&(c=!0),c},n4=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},n5=function(e){return[e.deltaX,e.deltaY]},n3=function(e){return e&&"current"in e?e.current:e},n6=0,n8=[],n9=(0,nq.L)(nH,function(e){var t=d.useRef([]),r=d.useRef([0,0]),n=d.useRef(),i=d.useState(n6++)[0],o=d.useState(nY.Ws)[0],a=d.useRef(e);d.useEffect(function(){a.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(n3),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var i,o=n4(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=nQ(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=nQ(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var p=n.current||i;return n2(p,t,e,"h"===p?l:u,!0)},[]),l=d.useCallback(function(e){if(n8.length&&n8[n8.length-1]===o){var r="deltaY"in e?n5(e):n4(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(a.current.shards||[]).map(n3).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=d.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=d.useCallback(function(e){r.current=n4(e),n.current=void 0},[]),f=d.useCallback(function(t){u(t.type,n5(t),t.target,s(t,e.lockRef.current))},[]),p=d.useCallback(function(t){u(t.type,n4(t),t.target,s(t,e.lockRef.current))},[]);d.useEffect(function(){return n8.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,nJ),document.addEventListener("touchmove",l,nJ),document.addEventListener("touchstart",c,nJ),function(){n8=n8.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,nJ),document.removeEventListener("touchmove",l,nJ),document.removeEventListener("touchstart",c,nJ)}},[]);var h=e.removeScrollBar,m=e.inert;return d.createElement(d.Fragment,null,m?d.createElement(o,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,h?d.createElement(nW.jp,{gapMode:e.gapMode}):null)}),n7=d.forwardRef(function(e,t){return d.createElement(nV,nU({},e,{ref:t,sideCar:n9}))});n7.classNames=nV.classNames;let ie=d.forwardRef(function(e,t){let{className:r="",icon:n=null,...i}=e,{activeClass:s,eventHandlers:l}=(0,u.CX)({className:"hover:bg-gray-200 dark:hover:bg-gray-800",time:40});return(0,o.jsx)("button",{className:(0,a.Z)("rounded-md p-2 max-w-max justify-center items-center","font-semibold flex appearance-none hover:bg-gray-200","dark:hover:bg-gray-800",s,r),ref:t,...l,...i,children:n&&(0,d.cloneElement)(n,{className:"w-6 h-6"})})});function it(e){let{isOpen:t,onClose:r,children:n}=e,i=d.useRef();return((0,f.JQ)(r),(0,u.rf)(()=>{t&&requestAnimationFrame(()=>{var e;null===(e=i.current)||void 0===e||e.focus()})},[t]),t)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(nF(),{id:"f84536bb4c7c3006",children:"@-webkit-keyframes notakuNavNavigation{from{-webkit-transform:scale(.1);transform:scale(.1);opacity:0}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-moz-keyframes notakuNavNavigation{from{-moz-transform:scale(.1);transform:scale(.1);opacity:0}to{-moz-transform:scale(1);transform:scale(1);opacity:1}}@-o-keyframes notakuNavNavigation{from{-o-transform:scale(.1);transform:scale(.1);opacity:0}to{-o-transform:scale(1);transform:scale(1);opacity:1}}@keyframes notakuNavNavigation{from{-webkit-transform:scale(.1);-moz-transform:scale(.1);-o-transform:scale(.1);transform:scale(.1);opacity:0}to{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1);opacity:1}}"}),(0,o.jsx)(n7,{forwardProps:!0,children:(0,o.jsx)(nB.A,{animationName:"notakuNavNavigation",duration:180,cascade:!0,children:(0,o.jsxs)("div",{className:"jsx-f84536bb4c7c3006 "+((0,a.Z)("z-50 w-screen px-4 pb-4 overflow-auto inset-0","h-screen flex-col flex fixed bg-white dark:bg-gray-900")||""),children:[(0,o.jsx)("div",{className:"jsx-f84536bb4c7c3006",children:(0,o.jsx)("div",{className:"jsx-f84536bb4c7c3006 flex flex-col justify-end py-2",children:(0,o.jsx)("div",{className:"jsx-f84536bb4c7c3006 flex flex-col space-y-5",children:(0,o.jsx)(ie,{className:"self-end",ref:i,onClick:r,icon:(0,o.jsx)(ii,{})})})})}),n]})})})]}):null}let ir=d.forwardRef((e,t)=>{let{className:r="",...n}=e;return(0,o.jsx)(ie,{ref:t,className:(0,a.Z)("block md:hidden active:opacity-40",r),"aria-label":"Open menu",icon:(0,o.jsx)(io,{className:""}),...n})});function ii(e){let{}=e;return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}function io(e){let{className:t}=e;return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:(0,a.Z)(t,"font-bold w-6 h-6"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}ir.displayName="MobileNavButton";var ia=r(91313),is=r(51682),il=r(65443),iu=r.n(il),ic=r(10013),id=r.n(ic),ip=r(49127),ih=r(61248);let im=id()(()=>Promise.all([r.e(1336),r.e(542),r.e(8918),r.e(3937),r.e(1426)]).then(r.bind(r,51426)).then(e=>e.SearchAndChat),{loadableGenerated:{webpack:()=>[51426]},ssr:!1});function ig(e){let{button:t=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(iv,{className:"hidden md:flex"}),(0,o.jsx)(ib,{className:"md:hidden"})]}),...r}=e,n="true"===(0,ih.useSearchParams)().get("openAI"),[i,a]=(0,d.useState)(n),{rootPageId:s,chatEnabled:l,chatbotName:u,initialChatMessage:c,mapPageUrl:p,versionSlug:h,primaryColor:m,sidebarTree:g,siteId:v,userInterfaceLanguage:y}=(0,f.Xi)();m||(m="#F97316");let b=d.useMemo(()=>{var e;return(null==g?void 0:null===(e=g.children)||void 0===e?void 0:e.map(e=>({slug:e.slug,namespace:s,name:e.title,text:"",type:"page"})))||[]},[g,s]),w=!l;return n&&null==l&&(w=!1),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{onClick:()=>a(!0),className:"",children:t}),(0,o.jsx)(im,{body:{siteId:v,rootPageId:s},disableChat:w,chatbotName:u,initialMessage:c,primaryColor:m,namespace:s,api:ia.sb+"/api/docs-chat",getSearchData:()=>iE({rootPageId:s}),isOpen:i,setOpen:a,currentPageText:"",initialResults:b,slugToHref:e=>{var t;let r;return t={slug:e},p((0,ip.q5)(t.slug),(0,ia.wE)(t.slug))+(0,is.z$)(t.slug)},uiOverrides:ia.m4[y],...r})]})}let iv=d.forwardRef(function(e,t){let{className:r,style:n={},...i}=e,a=iS(),{searchButton:s}=(0,f.Q6)();return(0,o.jsxs)("button",{className:iu()("whitespace-nowrap rounded-md","ring-gray-300 h-[34px] px-2 items-center flex-1 flex","-ml-2 bg-gray-100 dark:bg-gray-800 focus:outline-none","dark:ring-gray-700",r),ref:t,"aria-label":"Search",...i,children:[(0,o.jsx)(iw,{style:{...n,strokeWidth:"20px"},className:"font-bold opacity-60 w-6"}),(0,o.jsxs)("div",{className:"flex items-center w-full ml-3 space-x-3",children:[(0,o.jsx)("div",{className:"opacity-70",children:s}),(0,o.jsxs)("div",{className:"flex space-x-2",children:[(0,o.jsx)(iy,{children:a[0]}),(0,o.jsx)(iy,{children:"K"})]})]})]})});function iy(e){let{className:t="",...r}=e;return(0,o.jsx)("abbr",{className:iu()("text-sm rounded opacity-60 no-underline","leading-tight font-mono font-bold border-gray-300","border bg-gray-100 appearance-none dark:border-0","dark:bg-gray-700 px-[5px]",t),...r})}let ib=d.forwardRef(function(e,t){let{className:r,style:n={},...i}=e;return iS(),(0,o.jsx)(l.gh,{className:(0,is.AK)("relative mt-[2px] group",r),ref:t,"aria-label":"Search",...i,children:(0,o.jsx)(iw,{style:{...n,strokeWidth:"20px"},className:"font-bold h-[22px]"})})});function iw(e){let{className:t="",style:r={}}=e;return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,style:r,viewBox:"0 0 20 20",fill:"currentColor",children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}let i_=["Ctrl","Control"],ix=["⌘","Command"];function iS(){let[e,t]=d.useState(ix);return d.useEffect(()=>{"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)||t(i_))},[]),e}async function iE(e){let{rootPageId:t}=e,r=await fetch("".concat(ia.sb,"/api/search-data?rootPageId=").concat(t),{headers:{Accept:"application/json"}});return r.ok?await r.json():{}}var ik=r(64194);let iT=!0,iA=(0,d.forwardRef)((e,t)=>{let{pageId:r,title:n,iconUrl:i=null,collapseIcon:s,children:l=null,className:c,...p}=e,h=(0,d.useRef)(null);(0,d.useImperativeHandle)(t,()=>h.current);let{mapPageUrl:m,pageId:g}=(0,f.Xi)(),{colorMode:v}=(0,f.If)(),y=(0,d.useMemo)(()=>m(r,n||""),[r,n]),b=r===g;(0,u.Gw)(()=>{if(b){let e=h.current;e&&iT&&e.scrollIntoView({block:"center"}),iT=!1}},[b]);let w=(0,d.useMemo)(()=>{if(!i)return null;let{isUrl:e,value:t}=(0,is.m_)(i,{parent_table:"space",id:r},"dark"===v);return e?(0,o.jsx)("div",{className:"navIcon",children:(0,o.jsx)("img",{alt:"",src:t})}):(0,o.jsx)("div",{className:"navIcon",children:t})},[i,v,r]);return(0,o.jsxs)(ik.M,{href:y,ref:h,prefetch:!1,className:(0,a.Z)("w-full shrink-0 select-none rounded-sm relative","pl-2 overflow-x-visible outline-none navLink","items-start inline-flex group cursor-pointer","-ml-2 py-[0.4em] my-[2px] min-h-[2.2em]",c,b?"text-black dark:text-white":"text-gray-700 dark:text-gray-300"),...p,children:[(0,o.jsx)("div",{className:(0,a.Z)("rounded ring-gray-400 inset-0 flex absolute","group-hover:opacity-100 group-hover:bg-gray-200/70","group-active:ring-1 group-active:bg-gray-200","dark:ring-gray-600 dark:group-hover:bg-gray-800","dark:group-active:bg-gray-800",b?"bg-gray-100 dark:bg-gray-800 opacity-100":"")}),w,(0,o.jsx)("div",{className:(0,a.Z)("relative grow"),children:l}),s]})});function iP(e){let{versionSlug:t,onChange:r,versions:n,defaultVersionName:i}=e;return((0,ih.useRouter)(),null==n?void 0:n.length)?(0,o.jsxs)("div",{className:"relative max-w-full font-medium",children:[(0,o.jsxs)("select",{onChange:r,value:t,className:iu()("w-full focus-ring-1 bg-white pr-[34px] min-w-max shrink-0 border dark:border-0 dark:bg-gray-800 text-gray-900 rounded-lg ring-gray-300","px-3 cursor-pointer block appearance-none"," focus:ring-blue-500 dark:text-white dark:ring-gray-700","dark:placeholder-gray-400 dark:focus:ring-blue-500","py-[0.4em] my-[4px]"),children:[(0,o.jsx)("option",{value:"/",children:i}),n.map((e,t)=>(0,o.jsx)("option",{value:e.slug,children:e.name},e.slug+t))]}),(0,o.jsx)(iO,{})]}):null}iA.displayName="NavLink";let iO=e=>{let t="1.6em";return(0,o.jsx)("div",{style:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",right:"6px",zIndex:100,transform:"translateY(-50%) "},className:"",children:(0,o.jsx)("svg",{viewBox:"0 0 24 24",style:{width:t,height:t,opacity:.6,flexShrink:0},...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})})},ij=(0,a.Z)("font-bold !text-gray-900 dark:!text-gray-100"),iC=(0,a.Z)("!text-gray-600 dark:!text-gray-300"),iM=0,iN=e=>{var t;let{className:r="",...n}=e,{sidebarTree:i,pageId:s,versions:l,versionSlug:c="/",defaultVersionName:p}=(0,f.Xi)(),h=(0,ih.useRouter)(),m=(0,d.useRef)(null);if((0,u.Gw)(()=>(iM&&(m.current.scrollTop=iM),()=>{var e;iM=null===(e=m.current)||void 0===e?void 0:e.scrollTop}),[]),!i.children||!s)return null;let g=(0,f.B2)(s,i);return(0,o.jsxs)("nav",{className:(0,a.Z)("relative px-2 pb-6 overflow-y-scroll overflow-x-visible","flex-col flex",r),ref:m,"aria-label":"Main navigation",...n,children:[!!(null==l?void 0:l.length)&&(0,o.jsx)("div",{className:"mb-2 self-start w-full sticky rounded top-0 -ml-0 pr-2 z-10 bg-white dark:bg-gray-900",children:(0,o.jsx)(iP,{versions:l,versionSlug:c,defaultVersionName:p,onChange(e){let t=e.target.value;h.push(t)}})}),(0,o.jsx)(iA,{iconUrl:i.iconUrl,className:ij,pageId:i.id,title:i.title,children:i.title}),null==i?void 0:null===(t=i.children)||void 0===t?void 0:t.map(e=>(0,o.jsx)(iL,{parents:g,hideDivider:!0,...e},e.slug)),(0,o.jsx)("div",{className:"flex-1"})]})},iL=e=>{let{children:t,depth:r=0,title:n="",iconUrl:i="",id:s,parents:l}=e,u=!!(null==t?void 0:t.length),{collapseAllNavs:c}=(0,f.Xi)(),d=t&&t.filter(e=>e.title).map(e=>(0,o.jsx)(iL,{className:r<=1?ij:iC,parents:l,...e,depth:r+1},e.id||e.title));return u?(0,o.jsx)("div",{className:(0,a.Z)("",r<=1?"mt-2":""),children:(0,o.jsx)(iR,{depth:r,iconUrl:i,id:s,title:n,children:t,initialIsOpen:!c&&r<=1&&t.length<50,subTree:d,parents:l})}):(0,o.jsxs)("div",{className:(0,a.Z)("flex flex-col overflow-x-visible",!1),children:[(0,o.jsx)(iA,{className:(0,a.Z)(r<=1&&"mt-2",r<=1?ij:iC),iconUrl:i,pageId:s,title:n,children:n}),d]})};function iR(e){let{title:t,id:r,iconUrl:n,children:i,depth:s,subTree:l,parents:c,initialIsOpen:p=!1}=e,{sidebarTree:h,rootPageId:m,pageId:g}=(0,f.Xi)(),v=(0,d.useMemo)(()=>r===m||!!c.find(e=>e.id===r),[c,g,m]),y=p||v,{toggle:b,isOpen:w,onOpen:_,onClose:x}=(0,u.qY)(y);return(0,d.useEffect)(()=>{y&&!w&&_(),!y&&w&&x()},[y]),(0,o.jsxs)("div",{className:"flex flex-col overflow-x-visible select-none",children:[(0,o.jsx)("span",{className:(0,a.Z)("relative overflow-x-visible items-center flex","cursor-pointer"),children:(0,o.jsx)(iA,{className:s<=1?ij:iC,iconUrl:n,pageId:r,onClick:_,title:t,collapseIcon:(0,o.jsx)(w?iD:iI,{onClick:e=>{b(),e.stopPropagation(),e.preventDefault()},onPointerDown:e=>{e.stopPropagation()},onTouchStart:e=>{e.stopPropagation()},className:(0,a.Z)("rounded justify-self-end flex-shrink-0 flex-grow-0","hover:bg-gray-100 dark:hover:bg-gray-700"),style:{opacity:.6,height:"1.4em",width:"1.4em",padding:"0.4em",marginRight:"0.5em"}}),children:t})}),(0,o.jsx)("div",{className:"relative ml-4 overflow-x-visible",children:(0,o.jsxs)(iF,{className:"relative pl-12 -left-12",style:{position:"relative",paddingLeft:50,left:-50,marginRight:-50},isOpen:w,children:[(0,o.jsx)("div",{className:"absolute inset-0  top-3 bottom-3",style:{left:34}}),l]})})]})}let iI=e=>(0,o.jsx)("svg",{viewBox:"0 0 5 8",fill:"currentColor","aria-label":"Open",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,o.jsx)("path",{d:"M0 0.724246C0 0.111374 0.681914 -0.223425 1.13107 0.168926L4.66916 3.25957C5.11028 3.6449 5.11028 4.3551 4.66916 4.74043L1.13107 7.83107C0.681913 8.22342 0 7.88863 0 7.27575V0.724246Z",fill:"currentColor"})}),iD=e=>(0,o.jsx)("svg",{viewBox:"0 0 8 6",fill:"currentColor","aria-label":"Close",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,o.jsx)("path",{d:"M7.27575 0.5C7.88863 0.5 8.22342 1.18191 7.83107 1.63107L4.74043 5.16916C4.3551 5.61028 3.6449 5.61028 3.25957 5.16916L0.168926 1.63107C-0.223425 1.18191 0.111375 0.5 0.724247 0.5L7.27575 0.5Z",fill:"currentColor"})}),iF=e=>{let{children:t,style:r={},className:n="",isOpen:i}=e;return(0,o.jsx)(o.Fragment,{children:i&&(0,o.jsx)("div",{"data-name":"collapse",className:(0,a.Z)("",n),style:{...r,overflowY:"hidden",overflowX:"visible"},children:t},"content")})};var iB=r(83135);let iU=e=>{var t;let{logo:r,tree:n=null,items:i,className:s="",...l}=e,[c,p]=(0,d.useState)(!1),{sidebarTree:h,isWidget:m,hideColorModeSwitch:g}=(0,f.Xi)(),v=!(null==h?void 0:null===(t=h.children)||void 0===t?void 0:t.length),y=d.useRef(),[b,w]=(0,d.useState)(-1);return(0,u.rf)(()=>{var e;null===(e=y.current)||void 0===e||e.focus()},[c]),m&&(r=null),(0,o.jsxs)(d.Fragment,{children:[(0,o.jsxs)("div",{className:(0,iB.cs)("relative justify-center items-center header","flex",s),...l,children:[(0,o.jsx)("div",{style:{boxShadow:"0px 4px 10px rgba(0,0,0,0.05)"},className:"header-bg"}),(0,o.jsxs)("div",{className:"relative flex items-center w-full h-full text-gray-600 dark:text-gray-200",children:[(0,o.jsx)("div",{className:(0,a.Z)(" md:w-[calc(var(--sidenav-width)-var(--page-x-padding)-11px)]"),children:r&&(0,o.jsx)(iz,{className:"md:mr-8",children:r})}),(0,o.jsx)("div",{className:" h-[60%] mr-[var(--content-x-padding)]"}),Array.isArray(i)?(0,o.jsx)("div",{className:"items-center hidden mr-4 md:mr-8 space-x-8 md:flex",children:i.map((e,t)=>(0,o.jsx)("span",{onMouseEnter:()=>w(t),onMouseLeave:()=>w(-1),className:(0,iB.cs)("transition-opacity duration-[400ms] ease-in-out",-1===b?"":b===t?"opacity-100":"opacity-40"),children:e},t))}):i,(0,o.jsx)("div",{className:"grow"}),(0,o.jsxs)("div",{className:(0,a.Z)("flex gap-4 items-center h-[60%] md:pl-[calc(var(--content-x-padding)/2)]","lg:w-[var(--toc-width)] "),children:[!g&&(0,o.jsx)(nM,{size:22,className:""}),(0,o.jsx)("div",{className:"",children:(0,o.jsx)(ig,{})})]}),!v&&(0,o.jsx)(ir,{ref:y,onClick:()=>p(!0),className:" ","aria-label":"nav"})]})]}),(0,o.jsx)(it,{isOpen:c,onClose:()=>p(!1),children:(0,o.jsx)(iN,{className:"",tree:n})})]})};function iz(e){let{className:t="",children:r,...n}=e,{host:i,logoHref:s="/"}=(0,f.Xi)();return(0,o.jsx)(c.r,{target:void 0,"aria-label":"home",href:s||"/",children:(0,o.jsx)("div",{className:(0,a.Z)("flex items-center min-w-[40px] active:opacity-40",t),children:r})})}var i$=r(91997);let iH=!1;async function iG(){let e=0;for(;"undefined"==typeof grecaptcha;)if(e+=1,await new Promise(e=>setTimeout(e,300)),e>30)throw Error("grecaptcha not loaded");return{getToken:()=>new Promise((e,t)=>{grecaptcha.enterprise.ready(async function(){try{let t=await grecaptcha.enterprise.execute("6LdV27IjAAAAAAvOw0JhXyP7cqDcNfsgwHj0hGQl",{action:"email_subscribe"});e(t)}catch(e){i$.ZP.error("Recaptcha failed"),t(e)}})})}}async function iV(e){let{getToken:t}=await iG(),r=await t(),n=await fetch("".concat(ia.sb||"","/api/email-subscribe"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,token:r})}),i=await n.json();if(200===n.status)return i;throw Error(null==i?void 0:i.error)}let iq=e=>{let{logo:t,tree:r=null,hideSearchButton:n=!1,items:i,className:a="",useBgOpacity:s=!0,childClassName:l="",...c}=e,{isWidget:p,hideColorModeSwitch:h,backgroundJson:m,siteType:g,emailsEnabled:v}=(0,f.Xi)(),[y,b]=(0,d.useState)(!1),w=d.useRef();(0,u.rf)(()=>{var e;null===(e=w.current)||void 0===e||e.focus()},[y]);let[_,x]=(0,d.useState)(-1),[S,E]=(0,d.useState)(!1);(0,d.useEffect)(()=>{let e=()=>{E(window.scrollY>0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]);let k=!!(v||i.length)&&!p,T=S||(null==m?void 0:m.type)==="patterns"||(null==m?void 0:m.type)==="dots";T=!1,p&&(s=!1);let A=(0,u.qY)();return(0,o.jsxs)(d.Fragment,{children:[(0,o.jsx)("div",{style:{transition:"box-shadow 0.2s ease-in-out"},className:iu()("z-30 w-full top-0 sticky justify-center items-center","flex backdrop-blur-md mb-[50px]",T&&"ring-1 ring-gray-200 dark:ring-gray-700","bg-white dark:bg-gray-900",s&&"bg-opacity-30",a),children:(0,o.jsx)("div",{style:{boxShadow:"0px 4px 30px rgba(0,0,0,0.07)"},className:"w-full flex justify-center",children:(0,o.jsx)("div",{className:(0,iB.cs)("w-full px-[var(--page-x-padding)] max-w-[var(--max-width)]","h-[var(--header-height)] md:[--mr:24px] [--mr:16px]",l),...c,children:(0,o.jsxs)("div",{className:iu()("w-full text-gray-600 relative items-center h-full","flex dark:text-gray-200"),children:[t&&(0,o.jsx)(iz,{className:"md:mr-8",children:t}),t&&(0,o.jsx)("div",{className:"flex-1"}),Array.isArray(i)?(0,o.jsx)("div",{className:"items-center hidden w-auto mr-8 space-x-8 md:flex",children:i.map((e,t)=>(0,o.jsx)("span",{onMouseEnter:()=>x(t),onMouseLeave:()=>x(-1),className:(0,iB.cs)("transition-opacity duration-[400ms] ease-in-out",-1===_?"":_===t?"opacity-100":"opacity-40"),children:e},t))}):i,!t&&(0,o.jsx)("div",{className:"flex-1"}),!n&&(0,o.jsx)(ig,{button:(0,o.jsx)(ib,{className:iu()("mr-[var(--mr)]",h&&!v&&"md:mr-0")})}),v&&(0,o.jsx)("div",{className:iu()("mr-[var(--mr)]",h&&"md:mr-0"),children:(0,o.jsx)(iW,{disclosure:A,onClick:()=>{}})}),!h&&(0,o.jsx)(nM,{size:22,className:iu()("md:mr-0",k&&"mr-[var(--mr)] ")}),k&&(0,o.jsx)(ir,{ref:w,onClick:()=>b(!0),className:"block opacity-60 md:hidden","aria-label":"nav"})]})})})}),(0,o.jsx)(it,{isOpen:y,onClose:()=>b(!1),children:(0,o.jsx)("div",{className:"flex flex-col p-4 space-y-4",children:Array.isArray(i)?i.map((e,t)=>(0,d.cloneElement)(e,{key:t})):i})})]})};function iW(e){let{onClick:t,disclosure:r,button:n=null,className:i=""}=e,{siteId:a,siteType:u}=(0,f.Xi)(),[c,p]=(0,d.useState)(""),[h,m]=(0,d.useState)(""),{fn:g,isLoading:v}=(0,f.Sl)({async fn(){let e=Math.floor(new Date().getTimezoneOffset()/60);try{await iV({email:c,siteId:a,utcOffset:e})}catch(e){m("Could not subscribe: ".concat(e.message));return}r.onClose()},successMessage:"Thanks for subscribing!"});(0,d.useEffect)(()=>{m("")},[r.isOpen]);let y="blog"===u?(0,o.jsx)(o.Fragment,{children:"Get the latest blog posts in your inbox"}):"changelog"===u?(0,o.jsx)(o.Fragment,{children:"Get notified of new features"}):"roadmap"===u?(0,o.jsx)(o.Fragment,{children:"Get notified of roadmap updates"}):"";return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{onClick:()=>{null==t||t(),function(){if(iH)return;let e=document.createElement("script");e.src="https://recaptcha.net/recaptcha/enterprise.js?render=6LdV27IjAAAAAAvOw0JhXyP7cqDcNfsgwHj0hGQl",document.body.appendChild(e),iH=!0}(),r.onOpen()},children:n||(0,o.jsxs)(l.gh,{className:"!gap-2",children:[(0,o.jsx)(iY,{className:"h-[26px] "}),(0,o.jsx)("div",{className:"hidden md:block tracking-normal",children:"Get updates"})]})}),(0,o.jsx)(s.u,{disclosure:r,children:(0,o.jsxs)("form",{onSubmit:e=>{e.preventDefault(),g()},className:"flex flex-col space-y-6 items-center w-full max-w-[400px]",children:[(0,o.jsx)("div",{className:"text-center space-y-5",children:(0,o.jsx)("div",{className:"text-2xl font-medium",children:y})}),(0,o.jsx)(l.II,{value:c,onChange:e=>{p(e.target.value)},type:"email",name:"email",placeholder:"hello@example.com",required:!0}),(0,o.jsx)(l.zx,{type:"submit",isLoading:v,children:"Sign Up"}),h&&(0,o.jsx)("div",{className:"dark:text-red-300 text-red-500 text-sm",children:h})]})})]})}function iY(e){return(0,o.jsx)("svg",{viewBox:"0 0 20 20",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07c-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17c-.3.41-.11.87.13 1.07z"})})}var iX=r(73146),iZ=r(53286),iJ=r(16309);function iK(e){var t,r,n;let{topBannerColors:i,topBannerHtml:a}=e,s=a.slice(0,100).replace(/\n/g,"")+"-top-banner",[l,c]=(0,iJ.KO)(iZ.A);if((0,u.Gw)(()=>{try{let e=localStorage.getItem(s);"false"===e?c(!1):c(!0)}catch(e){console.error(e)}},[]),!a||!l)return null;let d=(null==i?void 0:null===(t=i.colors)||void 0===t?void 0:t[0])||"#8b5cf6",p=(null==i?void 0:null===(r=i.colors)||void 0===r?void 0:r[1])||"#3b82f6",h=(null==i?void 0:null===(n=i.colors)||void 0===n?void 0:n[2])||"#4f46e5";return(0,o.jsxs)("div",{style:{background:"linear-gradient(100deg, ".concat(d,", ").concat(p,", ").concat(h,")"),height:f.wA},className:iu()("w-full text-white text-sm space-x-1 relative","opacity-80 justify-center items-center ","font-medium flex"),children:[(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:a},className:"text-center"}),(0,o.jsx)(iQ,{onClick:()=>{c(!1);try{localStorage.setItem(s,"false")}catch(e){}}})]})}function iQ(e){let{className:t="",...r}=e;return(0,o.jsx)("button",{"aria-label":"close top banner",className:(0,a.Z)("text-white/80 shrink-0 rounded right-2 p-1 bg-gray-400/20","backdrop-blur appearance-none absolute",t),type:"button",...r,children:(0,o.jsx)(i0,{className:"h-4 w-4"})})}function i0(e){return(0,o.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"m12 10.586l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.414 1.414l-4.95-4.95l-4.95 4.95l-1.414-1.414l4.95-4.95l-4.95-4.95L7.05 5.636z"})})}var i1=r(96695),i2=r(25521);function i4(e){let{}=e,{injectCodeInHead:t}=(0,f.Xi)(),r=(0,d.useMemo)(()=>t?function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:(0,i2.domToReact)((0,i1.default)(e),{})}(t):null,[t]);return(0,o.jsx)(o.Fragment,{children:r})}i2.default;var i5=r(96586),i3=r(84614),i6=r(11354),i8=r(34167);let i9=id()(()=>Promise.all([r.e(8938),r.e(4502)]).then(r.bind(r,94502)).then(e=>e.PatternBg),{loadableGenerated:{webpack:()=>[94502]}});function i7(e){let{json:t}=e;if(null==t?void 0:t.helpDeskBackground)return null;let r=t?"patterns"===t.type?(0,o.jsx)(i9,{json:t}):"blur"===t.type?(0,o.jsx)(ot,{json:t}):"dots"===t.type?(0,o.jsx)(oe,{json:t}):null:null;return r?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(nF(),{id:"ab6f63dc06a4a81f",dynamic:[new i6.PF(i8.gray["900"]).alpha(0).toRgbString(),new i6.PF(i8.gray["900"]).alpha(1).toRgbString()],children:'.notaku-cover.__jsx-style-dynamic-selector:after{content:""!important;position:absolute!important;bottom:-2px!important;left:0!important;background-image:-webkit-linear-gradient(top,rgba(251,252,255,0)10%,rgba(255,255,255,1)100%)!important;background-image:-moz-linear-gradient(top,rgba(251,252,255,0)10%,rgba(255,255,255,1)100%)!important;background-image:-o-linear-gradient(top,rgba(251,252,255,0)10%,rgba(255,255,255,1)100%)!important;background-image:linear-gradient(to bottom,rgba(251,252,255,0)10%,rgba(255,255,255,1)100%)!important;opacity:1!important;width:100%!important;height:100%!important}.dark .notaku-cover.__jsx-style-dynamic-selector:after{background-image:-webkit-linear-gradient(top,'.concat(new i6.PF(i8.gray["900"]).alpha(0).toRgbString()," 10%,").concat(new i6.PF(i8.gray["900"]).alpha(1).toRgbString()," 100%)!important;background-image:-moz-linear-gradient(top,").concat(new i6.PF(i8.gray["900"]).alpha(0).toRgbString()," 10%,").concat(new i6.PF(i8.gray["900"]).alpha(1).toRgbString()," 100%)!important;background-image:-o-linear-gradient(top,").concat(new i6.PF(i8.gray["900"]).alpha(0).toRgbString()," 10%,").concat(new i6.PF(i8.gray["900"]).alpha(1).toRgbString()," 100%)!important;background-image:linear-gradient(to bottom,").concat(new i6.PF(i8.gray["900"]).alpha(0).toRgbString()," 10%,").concat(new i6.PF(i8.gray["900"]).alpha(1).toRgbString()," 100%)!important}")}),(0,o.jsxs)("div",{className:nF().dynamic([["ab6f63dc06a4a81f",[new i6.PF(i8.gray["900"]).alpha(0).toRgbString(),new i6.PF(i8.gray["900"]).alpha(1).toRgbString()]]])+" -z-0 bg-container absolute w-full h-[100vh] overflow-hidden",children:[r,(0,o.jsx)("div",{className:nF().dynamic([["ab6f63dc06a4a81f",[new i6.PF(i8.gray["900"]).alpha(0).toRgbString(),new i6.PF(i8.gray["900"]).alpha(1).toRgbString()]]])+" notaku-cover"})]})]}):null}function oe(e){let{json:t}=e;return(0,o.jsx)("div",{style:{height:500},className:nF().dynamic([["6727963ea27496cf",[new i6.PF(i8.gray["900"]).alpha(1).toRgbString(),500,500]]])+" w-full mt-[calc(var(--header-height))] dots",children:(0,o.jsx)(nF(),{id:"6727963ea27496cf",dynamic:[new i6.PF(i8.gray["900"]).alpha(1).toRgbString(),500,500],children:".dots.__jsx-style-dynamic-selector{--start:#d7d7d7;--stop:#d6d6d6;--bg:#fff}.dark .dots.__jsx-style-dynamic-selector{--start:#2f2f2f;--stop:#313131;--bg:".concat(new i6.PF(i8.gray["900"]).alpha(1).toRgbString(),"}.dots.__jsx-style-dynamic-selector{background:-webkit-linear-gradient(top,transparent 0,var(--bg)").concat(500,"px),0 0/20px 20px -webkit-radial-gradient(var(--start)1px,transparent 0),10px 10px/20px 20px -webkit-radial-gradient(var(--stop)1px,transparent 0);background:-moz-linear-gradient(top,transparent 0,var(--bg)").concat(500,"px),0 0/20px 20px -moz-radial-gradient(var(--start)1px,transparent 0),10px 10px/20px 20px -moz-radial-gradient(var(--stop)1px,transparent 0);background:-o-linear-gradient(top,transparent 0,var(--bg)").concat(500,"px),0 0/20px 20px -o-radial-gradient(var(--start)1px,transparent 0),10px 10px/20px 20px -o-radial-gradient(var(--stop)1px,transparent 0);background:linear-gradient(180deg,transparent 0,var(--bg)").concat(500,"px),0 0/20px 20px radial-gradient(var(--start)1px,transparent 0),10px 10px/20px 20px radial-gradient(var(--stop)1px,transparent 0)}")})})}function ot(e){let{json:t,className:r=""}=e;if("blur"!==t.type)return null;let[n,i,s]=null==t?void 0:t.colors;return(0,o.jsx)("div",{className:iu()("dark:opacity-50",r),children:(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",xmlnsXlink:"http://www.w3.org/1999/xlink",className:(0,a.Z)("w-full origin-top mx-auto lg:scale-100 dark:saturate-200","dark:brightness-150 scale-[150%]"),style:{opacity:.5},viewBox:"0 0 ".concat(800," 650"),children:[(0,o.jsx)("defs",{children:(0,o.jsx)("filter",{id:"bbblurry-filter",x:"-100%",y:"-100%",width:"400%",height:"400%",filterUnits:"objectBoundingBox",primitiveUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:(0,o.jsx)("feGaussianBlur",{stdDeviation:100,x:"0%",y:"0%",width:"100%",height:"100%",in:"SourceGraphic",edgeMode:"none",result:"blur"})})}),(0,o.jsxs)("g",{filter:"url(#bbblurry-filter)",children:[(0,o.jsx)("ellipse",{rx:96,ry:96,cx:600,cy:"172.91720581054688",fill:n}),(0,o.jsx)("ellipse",{rx:120,ry:120,cx:500,cy:"0",fill:i}),(0,o.jsx)("ellipse",{rx:96,ry:96,cx:700,cy:"12.91720581054688",fill:s})]})]})})}let or=d.forwardRef(function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))});var on=r(87634);function oi(e){var t;let{children:r}=e,{sidebarTree:n,topBannerHtml:i,topBannerColors:s,backgroundJson:l,isWidget:u,headerNavLinks:c=[],logoJson:p}=(0,f.Xi)();(0,f.Ri)(u);let h=(0,d.useMemo)(()=>c.map((e,t)=>(0,o.jsx)(iX.D,{className:(0,iB.cs)("font-medium"),href:e.url||"",children:e.content},e.url+t)),[c]),m=!(null==n?void 0:null===(t=n.children)||void 0===t?void 0:t.length),{isDark:g}=(0,f.If)(),v=(0,d.useMemo)(()=>(0,f.Yg)({logo:p,isDark:g,isFallback:!1}),[p,g,!1]),[y]=(0,iJ.KO)(iZ.A),b=(0,f.KM)();return(0,o.jsxs)("div",{style:{"--banner-height":y&&i?f.wA+"px":"0px",...b},id:"bannerHeightSetter",className:(0,a.Z)(m?"only-one-page":""),children:[(0,o.jsx)(f.XP,{}),(0,o.jsx)(i4,{}),(0,o.jsx)(f.Re,{}),(0,o.jsx)(i7,{json:l}),i&&!u&&(0,o.jsx)(iK,{topBannerHtml:i,topBannerColors:s}),(0,o.jsxs)("div",{className:(0,a.Z)("w-full visibleInPrint relative overflow-x-visible","mx-auto h-full"),style:{maxWidth:"var(--max-width)"},children:[(0,o.jsx)(iU,{className:"",logo:v,items:h}),(0,o.jsxs)("div",{className:(0,a.Z)("w-full overflow-x-visible items-stretch h-full","flex"),children:[(0,o.jsx)("div",{className:"sidenav-bg"}),(0,o.jsx)(iN,{className:"overflow-y-auto text-sm sidenav hiddenInPrint"}),r]})]})]})}function oo(e){let{children:t}=e,{headerNavLinks:r=[],logoJson:n,faviconUrl:i,ogImgSrc:s,footerJson:l,topBannerHtml:u,title:c,seoTitleSuffix:p,description:h,backgroundJson:m,topBannerColors:g,isCollectionPage:v,versions:y,versionSlug:b,defaultVersionName:w}=(0,f.Xi)(),_=(0,d.useMemo)(()=>{let e=r.map((e,t)=>(0,o.jsx)(iX.D,{className:"font-medium",href:e.url||"",children:e.content},e.url+t));return(null==y?void 0:y.length)&&e.push((0,o.jsx)(iP,{versions:y,versionSlug:b,defaultVersionName:w,onChange(e){let t=e.target.value;k.push(t)}})),e},[r,w,b,y]),{isDark:x}=(0,f.If)(),S=(0,d.useMemo)(()=>(0,f.Yg)({logo:n,isDark:x}),[n,x]),E=(0,ih.usePathname)();p&&"".concat(c," - ").concat(p);let k=(0,ih.useRouter)(),T=(null==m?void 0:m.helpDeskBackground)||"",A=(0,f.KM)("1100px"),P="/"===E||b===E;return(0,o.jsxs)("div",{style:{...A},className:(0,a.Z)("h-full min-h-screen flex flex-col"),children:[(0,o.jsx)(i4,{}),(0,o.jsx)(f.Re,{}),(0,o.jsx)(f.XP,{}),T&&(0,o.jsx)("div",{style:{backgroundColor:T},className:(0,is.AK)("absolute w-full top-0 left-0 right-0 dark:brightness-[120%]",P?"h-[360px]":v?"h-full md:h-[500px]":"h-[360px]")}),(0,o.jsx)(i7,{json:m}),u&&(0,o.jsx)(iK,{topBannerHtml:u,topBannerColors:g}),(0,o.jsx)(iq,{hideSearchButton:!0,logo:S,useBgOpacity:!1,items:_,className:"dark:!bg-gray-850"}),(0,o.jsxs)("div",{className:(0,a.Z)("flex relative flex-col w-full mx-auto ","visibleInPrint","h-full flex flex-col items-center gap-8"),style:{maxWidth:"var(--max-width)",padding:"0 var(--page-x-padding)"},children:[(0,o.jsx)(oa,{}),(0,o.jsx)("div",{className:(0,a.Z)("items-start w-full h-full"),children:t})]}),(0,o.jsx)("div",{className:"mt-20 flex-auto"}),(0,o.jsx)(i5.$,{className:"!py-14",json:l}),(0,o.jsx)(i3.l,{className:(0,is.AK)("!mb-10 text-center")})]},E)}function oa(){let e=(0,u.qY)(!1),{pageId:t,sidebarTree:r,backgroundJson:n}=(0,f.Xi)(),i=(null==r?void 0:r.title)||"",s=(0,f.Vd)((null==n?void 0:n.helpDeskBackground)||""),l=(0,d.useRef)(),[c,p]=(0,d.useState)();(0,d.useEffect)(()=>{let e=(0,f.Ds)(function(){var e;let t=null===(e=l.current)||void 0===e?void 0:e.getBoundingClientRect();if(!t)return;let{width:r,left:n,top:i,right:o}=t;p({width:r,left:n,top:i,right:o})},100);return window.addEventListener("resize",e),window.addEventListener("scroll",e),e(),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}},[]);let{searchButton:h}=(0,f.Q6)();return(0,o.jsxs)(o.Fragment,{children:[i&&(0,o.jsx)("h1",{id:(0,ip.Gw)(t||""),style:{marginTop:0},className:(0,a.Z)("whitespace-pre-wrap z-10 text-center max-w-max font-bold !pt-0","!text-[30px]",s),children:i}),(0,o.jsxs)("div",{className:"w-full",children:[e.isOpen&&(0,o.jsx)(nB.A,{animationName:"simpleAppear",onClick:()=>{e.onClose()},duration:200,style:{transition:"background 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important",backdropFilter:"saturate(120%)",background:"rgba(0, 0, 0, 0.4)"},className:"fixed inset-0 z-20 bg-black/10"}),(0,o.jsx)(ig,{position:c,button:(0,o.jsxs)("button",{ref:l,className:"dark:bg-gray-850 bg-white border dark:border-0 w-full p-4 flex items-center justify-start rounded-md !max-w-full z-20 shadow-[0px_0px_100px_rgba(0,0,0,0.04)]",children:[(0,o.jsx)(or,{className:"w-5 mr-3"}),(0,o.jsx)("div",{className:"",children:h})]})})]})]})}function os(e){let{children:t}=e,{faviconUrl:r,ogImgSrc:n,footerJson:i,topBannerHtml:s,title:l,seoTitleSuffix:u,injectCodeInHead:c,hidePoweredBy:p,description:h,backgroundJson:m,topBannerColors:g,affiliateName:v,headerNavLinks:y=[],logoJson:b}=(0,f.Xi)(),w=(0,d.useMemo)(()=>y.map((e,t)=>(0,o.jsx)(iX.D,{className:"font-medium",href:e.url||"",children:e.content},e.url+t)),[y]),{isDark:_}=(0,f.If)(),x=(0,d.useMemo)(()=>(0,f.Yg)({logo:b,isDark:_}),[b,_]),S=(0,f.KM)("1000px");return u&&"".concat(l," - ").concat(u),(0,o.jsxs)("div",{style:S,className:(0,a.Z)("h-full"),children:[(0,o.jsx)(i4,{}),(0,o.jsx)(f.Re,{}),(0,o.jsx)(f.XP,{}),(0,o.jsx)(i7,{json:m}),s&&(0,o.jsx)(iK,{topBannerHtml:s,topBannerColors:g}),(0,o.jsx)(iq,{className:"",logo:x,items:w}),(0,o.jsxs)("div",{className:(0,a.Z)("relative flex flex-col w-full mx-auto ","visibleInPrint","h-full min-h-screen"),style:{maxWidth:"var(--max-width)",padding:"0 var(--page-x-padding)"},children:[(0,o.jsx)("div",{className:(0,a.Z)("items-start w-full h-full"),children:t}),(0,o.jsx)("div",{className:"flex-auto"}),(0,o.jsx)("div",{className:"mt-20"}),(0,o.jsx)(i5.$,{className:"!py-14",json:i}),(0,o.jsx)(i3.l,{className:(0,is.AK)("!mb-10 text-center")})]})]})}function ol(e){let{children:t,pageProps:r}=e,n=(0,f.Xi)(),i="help_desk"===n.siteType?oo:"simple"===n.siteType?os:oi;return(0,o.jsx)(on.SV,{children:(0,o.jsx)(i,{children:t})})}var ou=r(19614);function oc(e){let{pageProps:t,Component:r}=e;return t.statusCode>200?(0,o.jsx)(ou.j,{pageProps:t,children:(0,o.jsx)(r,{...t})}):(0,o.jsx)(ou.j,{pageProps:t,children:(0,o.jsx)(ol,{pageProps:t,children:(0,o.jsx)(r,{...t})})})}},43566:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return u.ServerInsertedHTMLContext},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},useParams:function(){return p},usePathname:function(){return d},useRouter:function(){return f},useSearchParams:function(){return c},useSelectedLayoutSegment:function(){return m},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return u.useServerInsertedHTML}});let n=r(92379),i=r(39140),o=r(22996),a=r(17117),s=r(66922),l=r(91420),u=r(83371);function c(){let e=(0,n.useContext)(o.SearchParamsContext);return(0,n.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function d(){return(0,n.useContext)(o.PathnameContext)}function f(){let e=(0,n.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,n.useContext)(o.PathParamsContext)}function h(e){void 0===e&&(e="children");let t=(0,n.useContext)(i.LayoutRouterContext);return t?function e(t,r,n,i){let o;if(void 0===n&&(n=!0),void 0===i&&(i=[]),n)o=t[1][r];else{var l;let e=t[1];o=null!=(l=e.children)?l:Object.values(e)[0]}if(!o)return i;let u=o[0],c=(0,a.getSegmentValue)(u);return!c||c.startsWith(s.PAGE_SEGMENT_KEY)?i:(i.push(c),e(o,r,!1,i))}(t.tree,e):null}function m(e){void 0===e&&(e="children");let t=h(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91420:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return n.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect}});let n=r(77673),i=r(39675);class o extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new o}delete(){throw new o}set(){throw new o}sort(){throw new o}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39675:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return i},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51063:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77673:function(e,t,r){"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return u},getRedirectStatusCodeFromError:function(){return m},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return p},isRedirectError:function(){return f},permanentRedirect:function(){return d},redirect:function(){return c}});let o=r(82704),a=r(99925),s=r(51063),l="NEXT_REDIRECT";function u(e,t,r){void 0===r&&(r=s.RedirectStatusCode.TemporaryRedirect);let n=Error(l);n.digest=l+";"+t+";"+e+";"+r+";";let i=o.requestAsyncStorage.getStore();return i&&(n.mutableCookies=i.mutableCookies),n}function c(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw u(e,t,(null==r?void 0:r.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw u(e,t,(null==r?void 0:r.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,i]=e.digest.split(";",4),o=Number(i);return t===l&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(o)&&o in s.RedirectStatusCode}function p(e){return f(e)?e.digest.split(";",3)[2]:null}function h(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function m(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(i=n||(n={})).push="push",i.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},17117:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62782:function(e,t){"use strict";var r,n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return p}});let a="refresh",s="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",f="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=r||(r={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(o=n||(n={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40823:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(83638),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91876:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let n=r(75336),i=r(651),o=n._(r(92379)),a=r(57992),s=r(30436),l=r(53613),u=r(7366),c=r(26153),d=r(93985),f=r(39140),p=r(41696),h=r(40823),m=r(27938),g=r(62782),v=new Set;function y(e,t,r,n,i,o){if(o||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,r,n))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=o.default.forwardRef(function(e,t){let r,n;let{href:l,as:v,children:w,prefetch:_=null,passHref:x,replace:S,shallow:E,scroll:k,locale:T,onClick:A,onMouseEnter:P,onTouchStart:O,legacyBehavior:j=!1,...C}=e;r=w,j&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let M=o.default.useContext(d.RouterContext),N=o.default.useContext(f.AppRouterContext),L=null!=M?M:N,R=!M,I=!1!==_,D=null===_?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:F,as:B}=o.default.useMemo(()=>{if(!M){let e=b(l);return{href:e,as:v?b(v):e}}let[e,t]=(0,a.resolveHref)(M,l,!0);return{href:e,as:v?(0,a.resolveHref)(M,v):t||e}},[M,l,v]),U=o.default.useRef(F),z=o.default.useRef(B);j&&(n=o.default.Children.only(r));let $=j?n&&"object"==typeof n&&n.ref:t,[H,G,V]=(0,p.useIntersection)({rootMargin:"200px"}),q=o.default.useCallback(e=>{(z.current!==B||U.current!==F)&&(V(),z.current=B,U.current=F),H(e),$&&("function"==typeof $?$(e):"object"==typeof $&&($.current=e))},[B,$,F,V,H]);o.default.useEffect(()=>{L&&G&&I&&y(L,F,B,{locale:T},{kind:D},R)},[B,F,G,T,I,null==M?void 0:M.locale,L,R,D]);let W={ref:q,onClick(e){j||"function"!=typeof A||A(e),j&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),L&&!e.defaultPrevented&&function(e,t,r,n,i,a,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:u,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})};c?o.default.startTransition(f):f()}(e,L,F,B,S,E,k,T,R)},onMouseEnter(e){j||"function"!=typeof P||P(e),j&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),L&&(I||!R)&&y(L,F,B,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:D},R)},onTouchStart:function(e){j||"function"!=typeof O||O(e),j&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),L&&(I||!R)&&y(L,F,B,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:D},R)}};if((0,u.isAbsoluteUrl)(B))W.href=B;else if(!j||x||"a"===n.type&&!("href"in n.props)){let e=void 0!==T?T:null==M?void 0:M.locale,t=(null==M?void 0:M.isLocaleDomain)&&(0,h.getDomainLocale)(B,e,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);W.href=t||(0,m.addBasePath)((0,c.addLocale)(B,e,null==M?void 0:M.defaultLocale))}return j?o.default.cloneElement(n,W):(0,i.jsx)("a",{...C,...W,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41696:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(92379),i=r(70027),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!o,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),a.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,r,t,c,f.current]),[p,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5231:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return s},noSSR:function(){return a}});let n=r(75336);r(651),r(92379);let i=n._(r(86675));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let s=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=s?s().then(o):Promise.resolve(o(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25400:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(75336)._(r(92379)).default.createContext(null)},86675:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(75336)._(r(92379)),i=r(25400),o=[],a=[],s=!1;function l(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function l(){if(!o){let t=new u(e,r);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!s){let e=r.webpack?r.webpack():r.modules;e&&a.push(t=>{for(let r of e)if(t.includes(r))return l()})}function c(e,t){!function(){l();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let a=n.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),n.default.useMemo(()=>{var t;return a.loading||a.error?n.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:o.retry}):a.loaded?n.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return c.preload=()=>l(),c.displayName="LoadableComponent",n.default.forwardRef(c)}(l,e)}function d(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(s=!0,t());d(a,e).then(r,r)})),window.__NEXT_PRELOADREADY=c.preloadReady;let f=c},83371:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let n=r(10865)._(r(92379)),i=n.default.createContext(null);function o(e){let t=(0,n.useContext)(i);t&&t(e)}},30914:function(e,t,r){"use strict";var n=r(44675);r(41098);var i=r(92379),o=i&&"object"==typeof i&&"default"in i?i:{default:i},a=void 0!==n&&n.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,o=void 0===i?a:i;u(s(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(u(s(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];u(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,r){t&&u(s(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},d={};function f(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return d[n]||(d[n]="jsx-"+c(e+"-"+r)),d[n]}function p(e,t){var r=e+t;return d[r]||(d[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[r]}var h=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),n&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=o,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=f(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:f(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var g=o.default.useInsertionEffect||o.default.useLayoutEffect,v=new h;function y(e){var t=v||i.useContext(m);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return f(e[0],e[1])}).join(" ")},t.StyleRegistry=function(e){var t=e.registry,r=e.children,n=i.useContext(m),a=i.useState(function(){return n||t||new h})[0];return o.default.createElement(m.Provider,{value:a},r)},t.style=y},65162:function(e,t,r){"use strict";e.exports=r(30914)},81337:function(e,t,r){"use strict";e.exports=r(30914).style},29938:function(e,t,r){"use strict";r.d(t,{X:function(){return s},r:function(){return l}});var n=r(651);r(92379);var i=r(4403),o=r(51682),a=r(64194);function s(e){try{return new URL(e).hostname.split(".").slice(-2).join(".").replace(/:\d+$/,"")}catch(e){return""}}let l=e=>{let{href:t,className:r,prefetch:l,...u}=e;t||(t="");let{host:c}=(0,i.Bm)(),d=t&&!t.startsWith("/")&&s(t)!==s("https://"+c);return t?d?(0,n.jsx)("a",{target:d?"_blank":void 0,href:t,className:(0,o.AK)("active:opacity-40 appearance-none",r),...u}):(0,n.jsx)(a.M,{prefetch:!1,href:t||"",scroll:!0,className:(0,o.AK)("transition-opacity appearance-none active:opacity-40",r),...u}):(0,n.jsx)("span",{className:(0,o.AK)("active:opacity-40",r),...u})}},4403:function(e,t,r){"use strict";r.d(t,{Bm:function(){return h},C0:function(){return f},EW:function(){return p}});var n=r(651),i=r(87634),o=r(60812),a=r(92379),s=r(16309),l=r(51682),u=r(58064);let c={host:"",isPrivate:!1,recordMap:{block:{},collection:{},collection_view:{},collection_query:{},notion_user:{},signed_urls:{}},mapPageUrl:(0,l.Hp)(""),mapImageUrl:l.zM,searchNotion:null,fullPage:!1,darkMode:!1,previewImages:!1,showCollectionViewDropdown:!0,showTableOfContents:!1,minTableOfContentsItems:3,defaultPageIcon:null,defaultPageCover:null,defaultPageCoverPosition:.5,zoom:null},d=a.createContext(c),f=e=>{let{children:t,mapImageUrl:r,rootPageId:i,...o}=e,{isDark:a}=(0,u.If)(),f=(0,s.b9)(u._5);return(0,n.jsx)(d.Provider,{value:{...c,...o,rootPageId:i,darkMode:a,onHeadingInView:e=>{let{inView:t,id:r}=e;t||f(""),f(r)},mapImageUrl:null!=r?r:l.zM},children:t})};function p(e){let{children:t}=e;return(0,n.jsx)(o.SV,{onError:e=>{null===i.cB||void 0===i.cB||(0,i.cB)(e,"notion renderer")},fallback:(0,n.jsx)("div",{className:"failed-loading-notaku-block"}),children:t})}d.Consumer;let h=()=>a.useContext(d)},58064:function(e,t,r){"use strict";r.d(t,{CX:function(){return c},De:function(){return s},Gw:function(){return h},If:function(){return m},MW:function(){return a},_5:function(){return p},jU:function(){return u},m9:function(){return l},qY:function(){return d},rf:function(){return f}}),r(64085);var n=r(22551),i=r(92379),o=r(16309);let a=(0,o.cn)({headings:[],currentSection:""});function s(e){for(let t in e)null==e[t]&&delete e[t];return e}let l=e=>{let t=e=>{let t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);let r=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);t.select();let n=document.execCommand("copy");return document.body.removeChild(t),r&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),n},[r,n]=i.useState(!1),o=i.useCallback(()=>{r||n(t(e))},[e]);return i.useEffect(()=>{let e=setTimeout(()=>n(!1),1e3);return()=>{clearTimeout(e)}},[r]),i.useEffect(()=>()=>n(!1),[e]),[r,o]},u=!0;function c(e){let{className:t="!opacity-100",time:r=400,useOnClick:n=!1,removeOnRouteComplete:o=!1}=e,[a,s]=i.useState("");function l(){t&&(s(t),o||setTimeout(()=>{s("")},r))}return{activeClass:a,eventHandlers:n?{onclick:l}:{onPointerDown:l,onTouchStart:l}}}function d(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[t,r]=(0,i.useState)(e);return{isOpen:t,toggle:()=>r(!t),onClose(){r(!1)},onOpen(){r(!0)}}}let f=(e,t)=>{let r=(0,i.useRef)(!1),n=(0,i.useRef)(!1);(0,i.useEffect)(()=>{if(r.current&&n.current)return e();n.current=!0},t),(0,i.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])},p=(0,o.cn)(""),h=i.useLayoutEffect;function m(){let{resolvedTheme:e,setTheme:t}=(0,n.F)(),[r,o]=(0,i.useState)(()=>"light");return(0,i.useEffect)(()=>{o(e)},[e]),{toggleColorMode:function(){t("dark"===r?"light":"dark")},colorMode:r,isDark:"dark"===r}}},64194:function(e,t,r){"use strict";r.d(t,{M:function(){return u},k:function(){return c}});var n=r(651),i=r(92379),o=r(9373),a=r.n(o),s=r(32587),l=r.n(s);let u=(0,i.forwardRef)(function(e,t){let{href:r,children:i,...o}=e;return(0,n.jsx)(a(),{prefetch:!1,...o,ref:t,href:r,children:i})});function c(e){let{children:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l(),{color:"#29D",startPosition:.3,stopDelayMs:200,height:4,options:{showSpinner:!1},showOnShallow:!0}),t]})}},51682:function(e,t,r){"use strict";r.d(t,{j2:function(){return u},AK:function(){return x},cs:function(){return x},zM:function(){return c},Hp:function(){return d},z$:function(){return h},iW:function(){return m},p6:function(){return b},c8:function(){return v},m_:function(){return f},H4:function(){return _},zw:function(){return S},WR:function(){return E},ZV:function(){return p},P2:function(){return g}});var n=r(74263);n.YU,n.pJ,n.eV,n.US;let i=n.tH;n.Y2;var o=r(49127),a=r(88245),s=r.n(a);let l=new TextEncoder;function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return"";if(e.startsWith("/"))throw Error("url should not start with /");if(e.startsWith("http://localhost:"))return e;let r="https://image-forwarder.notaku.so";if(e.startsWith(r))return e;let n=new URL("/"+i.stringify(l.encode(e)),r);return t&&n.searchParams.set("private","true"),n.toString()}function c(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:800,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];try{if(!e)return null;if(e.startsWith("data:"))return e;if(e.startsWith("/images")&&(e="https://www.notion.so".concat(e)),!e.startsWith("https://images.unsplash.com")){e="https://www.notion.so".concat(e.startsWith("/image")?e:"/image/".concat(encodeURIComponent(e)));let n=new URL(e),i=(null==t?void 0:t.parent_table)==="space"?"block":null==t?void 0:t.parent_table;("collection"===i||"team"===i)&&(i="block"),i||(i="block"),n.searchParams.set("table",i),(null==t?void 0:t.space_id)&&n.searchParams.set("spaceId",null==t?void 0:t.space_id),(null==t?void 0:t.id)&&n.searchParams.set("id",null==t?void 0:t.id),n.searchParams.set("cache","v2"),n.searchParams.set("width",String(r)),e=n.toString()}return u(e,n)}catch(e){return""}}let d=e=>(t,r)=>{let n=(0,o.q5)(t,{uuid:!1});if(!n)return"";if(e&&n===e)return"/";{let e=encodeURI(s()(null==r?void 0:r.replace(/\+/g," "),{lower:!0,trim:!0}));return"/".concat(e?e+"-":"").concat(n)}};function f(e,t,r){return e?e&&function e(t,{lenient:r=!1}={}){if("string"!=typeof t)throw TypeError("Expected a string");if((t=t.trim()).includes(" "))return!1;try{return new URL(t),!0}catch{if(r)return e(`https://${t}`);return!1}}(e)?{isUrl:!0,value:c(e,t,200),size:"20px"}:e&&e.startsWith("/icons/")?{isUrl:!0,value:"https://www.notion.so"+e+"?mode="+(r?"dark":"light"),size:"24px"}:{isUrl:!1,value:null==e?void 0:e.trim(),size:"24px"}:{isUrl:!1,value:""}}function p(e,t){return e&&t&&(0,o.Ho)(e,t)||""}function h(e){let t=e.indexOf("#");return -1===t?"":e.slice(t)}let m=e=>{if("string"==typeof e)return e;if(!e)return"";if(!Array.isArray(e))return e;{let t="";for(let r of e){let[e,n]=r;t+=e||""}return t.trim()}};function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,r=!1;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];r||(e(...i),r=!0,setTimeout(()=>{r=!1},t))}}let v=e=>b("".concat(e.start_time||""," ").concat(e.start_date," ").concat(e.time_zone||"")),y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],b=e=>{let t=new Date(e),r=t.getMonth();return"".concat(y[r]," ").concat(t.getDate(),", ").concat(t.getFullYear())},w=e=>{let t;let r=[],n=-1;return Object.keys(e).forEach(i=>{var o,a;let s=null===(o=e[i])||void 0===o?void 0:o.value;s&&(null===(a=s.content)||void 0===a||a.forEach(i=>{var o,a;let s=null===(a=e[i])||void 0===a?void 0:null===(o=a.value)||void 0===o?void 0:o.type;s&&s!==t&&(n++,t=s,r[n]=[]),n>-1&&r[n].push(i)})),t=void 0}),r},_=(e,t)=>{var r,n,i;let o=null===(i=t[e])||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:null===(r=n.format)||void 0===r?void 0:r.list_start_index;if(o)return o;let a=w(t).find(t=>t.includes(e));if(a)return a.indexOf(e)+1},x=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(e=>!!e).join(" ")};function S(e){return e?{[e.endsWith("_background")?"backgroundColor":"color"]:"var(--notion-".concat(e,")")}:{}}let E="space-y-3 flex flex-col items-stretch"},41098:function(){},20492:function(){},6517:function(){},72698:function(){},72632:function(){},10013:function(e,t,r){e.exports=r(5231)},53691:function(e,t,r){e.exports=r(46294)},9373:function(e,t,r){e.exports=r(91876)},61248:function(e,t,r){e.exports=r(43566)},71605:function(e,t,r){e.exports=r(85544)},32587:function(e,t,r){let n;var i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,c=e=>o(e,"__esModule",{value:!0}),d=(e,t)=>o(e,"name",{value:t,configurable:!0}),f=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))!u.call(e,i)&&(r||"default"!==i)&&o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},p=(e,t)=>f(c(o(null!=e?i(l(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),h=(n="undefined"!=typeof WeakMap?new WeakMap:0,(e,t)=>n&&n.get(e)||(t=f(c({}),e,1),n&&n.set(e,t),t)),m={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(m,{default:()=>_});var g=p(r(71605)),v=p(r(27811)),y=p(r(39519)),b=p(r(92379)),w=d(({color:e="#29D",startPosition:t=.3,stopDelayMs:r=200,height:n=3,showOnShallow:i=!0,options:o,nonce:a,transformCSS:s=d(e=>b.createElement("style",{nonce:a},e),"transformCSS")})=>{let l=null;b.useEffect(()=>(o&&v.configure(o),g.default.events.on("routeChangeStart",u),g.default.events.on("routeChangeComplete",c),g.default.events.on("routeChangeError",f),()=>{g.default.events.off("routeChangeStart",u),g.default.events.off("routeChangeComplete",c),g.default.events.off("routeChangeError",f)}),[]);let u=d((e,{shallow:r})=>{(!r||i)&&(v.set(t),v.start())},"routeChangeStart"),c=d((e,{shallow:t})=>{(!t||i)&&(l&&clearTimeout(l),l=setTimeout(()=>{v.done(!0)},r))},"routeChangeEnd"),f=d((e,t,{shallow:n})=>{(!n||i)&&(l&&clearTimeout(l),l=setTimeout(()=>{v.done(!0)},r))},"routeChangeError");return s(`
    #nprogress {
      pointer-events: none;
    }
    #nprogress .bar {
      background: ${e};
      position: fixed;
      z-index: 9999;
      top: 0;
      left: 0;
      width: 100%;
      height: ${n}px;
    }
    #nprogress .peg {
      display: block;
      position: absolute;
      right: 0px;
      width: 100px;
      height: 100%;
      box-shadow: 0 0 10px ${e}, 0 0 5px ${e};
      opacity: 1;
      -webkit-transform: rotate(3deg) translate(0px, -4px);
      -ms-transform: rotate(3deg) translate(0px, -4px);
      transform: rotate(3deg) translate(0px, -4px);
    }
    #nprogress .spinner {
      display: block;
      position: fixed;
      z-index: 1031;
      top: 15px;
      right: 15px;
    }
    #nprogress .spinner-icon {
      width: 18px;
      height: 18px;
      box-sizing: border-box;
      border: solid 2px transparent;
      border-top-color: ${e};
      border-left-color: ${e};
      border-radius: 50%;
      -webkit-animation: nprogresss-spinner 400ms linear infinite;
      animation: nprogress-spinner 400ms linear infinite;
    }
    .nprogress-custom-parent {
      overflow: hidden;
      position: relative;
    }
    .nprogress-custom-parent #nprogress .spinner,
    .nprogress-custom-parent #nprogress .bar {
      position: absolute;
    }
    @-webkit-keyframes nprogress-spinner {
      0% {
        -webkit-transform: rotate(0deg);
      }
      100% {
        -webkit-transform: rotate(360deg);
      }
    }
    @keyframes nprogress-spinner {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
  `)},"NextNProgress");w.propTypes={color:y.string,startPosition:y.number,stopDelayMs:y.number,height:y.number,showOnShallow:y.bool,options:y.object,nonce:y.string,transformCSS:y.func};var _=b.memo(w);e.exports=h(m)},27811:function(e,t,r){var n,i;void 0!==(i="function"==typeof(n=function(){var e,t,r,n={};n.version="0.2.0";var i=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 o(e,t,r){return e<t?t:e>r?r:e}n.configure=function(e){var t,r;for(t in e)void 0!==(r=e[t])&&e.hasOwnProperty(t)&&(i[t]=r);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,i.minimum,1),n.status=1===e?null:e;var r=n.render(!t),l=r.querySelector(i.barSelector),u=i.speed,c=i.easing;return r.offsetWidth,a(function(t){var o,a;""===i.positionUsing&&(i.positionUsing=n.getPositioningCSS()),s(l,(o=e,(a="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+u+"ms "+c,a)),1===e?(s(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){s(r,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){n.remove(),t()},u)},u)):setTimeout(t,u)}),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())},i.trickleSpeed)};return i.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)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*i.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},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=i.template;var r,o=t.querySelector(i.barSelector),a=e?"-100":(-1+(n.status||0))*100,l=document.querySelector(i.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),!i.showSpinner&&(r=t.querySelector(i.spinnerSelector))&&f(r),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},n.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(i.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 a=(r=[],function(e){r.push(e),1==r.length&&function e(){var t=r.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function r(r,n,i){var o;n=t[o=(o=n).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var r=document.body.style;if(t in r)return t;for(var n,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((n=e[i]+o)in r)return n;return t}(o)),r.style[n]=i}return function(e,t){var n,i,o=arguments;if(2==o.length)for(n in t)void 0!==(i=t[n])&&t.hasOwnProperty(n)&&r(e,n,i);else r(e,o[1],o[2])}}();function l(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var r=d(e),n=r+t;l(r,t)||(e.className=n.substring(1))}function c(e,t){var r,n=d(e);l(e,t)&&(r=n.replace(" "+t+" "," "),e.className=r.substring(1,r.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?n.call(t,r,t,e):n)&&(e.exports=i)},55663:function(e){"use strict";e.exports=()=>{let e={};return e.promise=new Promise((t,r)=>{e.resolve=t,e.reject=r}),e}},99088:function(e){var t=String,r=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=r(),e.exports.createColors=r},92864:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(85270))&&n.__esModule?n:{default:n},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(31642));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}var s=function(e){return new i.default(e)};Object.assign(s,o),delete s.__esModule,t.default=s,e.exports=t.default},26682:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i,o=E(r(49700)),a=E(r(92847)),s=E(r(29979)),l=E(r(5525)),u=E(r(69707)),c=E(r(28735)),d=E(r(68997)),f=E(r(28169)),p=S(r(59665)),h=E(r(45957)),m=E(r(9750)),g=E(r(73072)),v=E(r(79036)),y=S(r(59504)),b=S(r(24421)),w=S(r(81781)),_=r(36880);function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function E(e){return e&&e.__esModule?e:{default:e}}var k=((n={})[b.space]=!0,n[b.cr]=!0,n[b.feed]=!0,n[b.newline]=!0,n[b.tab]=!0,n),T=Object.assign({},k,((i={})[b.comment]=!0,i));function A(e){return{line:e[y.FIELDS.START_LINE],column:e[y.FIELDS.START_COL]}}function P(e){return{line:e[y.FIELDS.END_LINE],column:e[y.FIELDS.END_COL]}}function O(e,t,r,n){return{start:{line:e,column:t},end:{line:r,column:n}}}function j(e){return O(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],e[y.FIELDS.END_LINE],e[y.FIELDS.END_COL])}function C(e,t){if(e)return O(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],t[y.FIELDS.END_LINE],t[y.FIELDS.END_COL])}function M(e,t){var r=e[t];if("string"==typeof r)return -1!==r.indexOf("\\")&&((0,_.ensureObject)(e,"raws"),e[t]=(0,_.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function N(e,t){for(var r=-1,n=[];-1!==(r=e.indexOf(t,r+1));)n.push(r);return n}var L=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,y.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=C(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new o.default({source:r}),this.root.errorGenerator=this._errorGenerator();var n=new a.default({source:{start:{line:1,column:1}}});this.root.append(n),this.current=n,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?Error(t):e.rule.error(t,r)}},t.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[y.FIELDS.TYPE]!==b.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[y.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[y.FIELDS.START_POS]);var r=e.length,n={source:O(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[y.FIELDS.START_POS]};if(1===r&&!~[b.word].indexOf(e[0][y.FIELDS.TYPE]))return this.expected("attribute",e[0][y.FIELDS.START_POS]);for(var i=0,o="",a="",s=null,l=!1;i<r;){var u=e[i],c=this.content(u),d=e[i+1];switch(u[y.FIELDS.TYPE]){case b.space:if(l=!0,this.options.lossy)break;if(s){(0,_.ensureObject)(n,"spaces",s);var f=n.spaces[s].after||"";n.spaces[s].after=f+c;var h=(0,_.getProp)(n,"raws","spaces",s,"after")||null;h&&(n.raws.spaces[s].after=h+c)}else o+=c,a+=c;break;case b.asterisk:d[y.FIELDS.TYPE]===b.equals?(n.operator=c,s="operator"):n.namespace&&("namespace"!==s||l)||!d||(o&&((0,_.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=o,o=""),a&&((0,_.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=o,a=""),n.namespace=(n.namespace||"")+c,(0,_.getProp)(n,"raws","namespace")&&(n.raws.namespace+=c),s="namespace"),l=!1;break;case b.dollar:if("value"===s){var m=(0,_.getProp)(n,"raws","value");n.value+="$",m&&(n.raws.value=m+"$");break}case b.caret:d[y.FIELDS.TYPE]===b.equals&&(n.operator=c,s="operator"),l=!1;break;case b.combinator:if("~"===c&&d[y.FIELDS.TYPE]===b.equals&&(n.operator=c,s="operator"),"|"!==c){l=!1;break}d[y.FIELDS.TYPE]===b.equals?(n.operator=c,s="operator"):n.namespace||n.attribute||(n.namespace=!0),l=!1;break;case b.word:if(d&&"|"===this.content(d)&&e[i+2]&&e[i+2][y.FIELDS.TYPE]!==b.equals&&!n.operator&&!n.namespace)n.namespace=c,s="namespace";else if(n.attribute&&("attribute"!==s||l)){if((n.value||""===n.value)&&("value"!==s||l)){var g="i"===c||"I"===c;(n.value||""===n.value)&&(n.quoteMark||l)?(n.insensitive=g,g&&"I"!==c||((0,_.ensureObject)(n,"raws"),n.raws.insensitiveFlag=c),s="insensitive",o&&((0,_.ensureObject)(n,"spaces","insensitive"),n.spaces.insensitive.before=o,o=""),a&&((0,_.ensureObject)(n,"raws","spaces","insensitive"),n.raws.spaces.insensitive.before=a,a="")):(n.value||""===n.value)&&(s="value",n.value+=c,n.raws.value&&(n.raws.value+=c))}else{var v=(0,_.unesc)(c),w=(0,_.getProp)(n,"raws","value")||"",x=n.value||"";n.value=x+v,n.quoteMark=null,(v!==c||w)&&((0,_.ensureObject)(n,"raws"),n.raws.value=(w||x)+c),s="value"}}else o&&((0,_.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=o,o=""),a&&((0,_.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=a,a=""),n.attribute=(n.attribute||"")+c,(0,_.getProp)(n,"raws","attribute")&&(n.raws.attribute+=c),s="attribute";l=!1;break;case b.str:if(!n.attribute||!n.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:u[y.FIELDS.START_POS]});var S=(0,p.unescapeValue)(c),E=S.unescaped,k=S.quoteMark;n.value=E,n.quoteMark=k,s="value",(0,_.ensureObject)(n,"raws"),n.raws.value=c,l=!1;break;case b.equals:if(!n.attribute)return this.expected("attribute",u[y.FIELDS.START_POS],c);if(n.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:u[y.FIELDS.START_POS]});n.operator=n.operator?n.operator+c:c,s="operator",l=!1;break;case b.comment:if(s){if(l||d&&d[y.FIELDS.TYPE]===b.space||"insensitive"===s){var T=(0,_.getProp)(n,"spaces",s,"after")||"",A=(0,_.getProp)(n,"raws","spaces",s,"after")||T;(0,_.ensureObject)(n,"raws","spaces",s),n.raws.spaces[s].after=A+c}else{var P=n[s]||"",j=(0,_.getProp)(n,"raws",s)||P;(0,_.ensureObject)(n,"raws"),n.raws[s]=j+c}}else a+=c;break;default:return this.error('Unexpected "'+c+'" found.',{index:u[y.FIELDS.START_POS]})}i++}M(n,"attribute"),M(n,"namespace"),this.newNode(new p.default(n)),this.position++},t.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],n="",i=void 0;do if(k[this.currToken[y.FIELDS.TYPE]])this.options.lossy||(n+=this.content());else if(this.currToken[y.FIELDS.TYPE]===b.comment){var o={};n&&(o.before=n,n=""),i=new l.default({value:this.content(),source:j(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS],spaces:o}),r.push(i)}while(++this.position<e);if(n){if(i)i.spaces.after=n;else if(!this.options.lossy){var a=this.tokens[t],s=this.tokens[this.position-1];r.push(new d.default({value:"",source:O(a[y.FIELDS.START_LINE],a[y.FIELDS.START_COL],s[y.FIELDS.END_LINE],s[y.FIELDS.END_COL]),sourceIndex:a[y.FIELDS.START_POS],spaces:{before:n,after:""}}))}}return r},t.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var n="",i="";return e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t),a=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&0===o.length),i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===a.length)}),i===n&&(i=void 0),{space:n,rawSpace:i}},t.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][y.FIELDS.TYPE]===b.slash&&this.tokens[e+1]&&this.tokens[e+1][y.FIELDS.TYPE]===b.word&&this.tokens[e+2]&&this.tokens[e+2][y.FIELDS.TYPE]===b.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,_.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var n=new m.default({value:"/"+t+"/",source:O(this.currToken[y.FIELDS.START_LINE],this.currToken[y.FIELDS.START_COL],this.tokens[this.position+2][y.FIELDS.END_LINE],this.tokens[this.position+2][y.FIELDS.END_COL]),sourceIndex:this.currToken[y.FIELDS.START_POS],raws:r});return this.position=this.position+3,n}this.unexpected()},t.combinator=function(){var e,t=this;if("|"===this.content())return this.namespace();var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][y.FIELDS.TYPE]===b.comma){var n=this.parseWhitespaceEquivalentTokens(r);if(n.length>0){var i=this.current.last;if(i){var o=this.convertWhitespaceNodesToSpace(n),a=o.space,s=o.rawSpace;void 0!==s&&(i.rawSpaceAfter+=s),i.spaces.after+=a}else n.forEach(function(e){return t.newNode(e)})}return}var l=this.currToken,u=void 0;if(r>this.position&&(u=this.parseWhitespaceEquivalentTokens(r)),this.isNamedCombinator()?e=this.namedCombinator():this.currToken[y.FIELDS.TYPE]===b.combinator?(e=new m.default({value:this.content(),source:j(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS]}),this.position++):k[this.currToken[y.FIELDS.TYPE]]||u||this.unexpected(),e){if(u){var c=this.convertWhitespaceNodesToSpace(u),d=c.space,f=c.rawSpace;e.spaces.before=d,e.rawSpaceBefore=f}}else{var p=this.convertWhitespaceNodesToSpace(u,!0),h=p.space,g=p.rawSpace;g||(g=h);var v={},w={spaces:{}};h.endsWith(" ")&&g.endsWith(" ")?(v.before=h.slice(0,h.length-1),w.spaces.before=g.slice(0,g.length-1)):h.startsWith(" ")&&g.startsWith(" ")?(v.after=h.slice(1),w.spaces.after=g.slice(1)):w.value=g,e=new m.default({value:" ",source:C(l,this.tokens[this.position-1]),sourceIndex:l[y.FIELDS.START_POS],spaces:v,raws:w})}return this.currToken&&this.currToken[y.FIELDS.TYPE]===b.space&&(e.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(e)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new a.default({source:{start:A(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},t.comment=function(){var e=this.currToken;this.newNode(new l.default({value:this.content(),source:j(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},t.error=function(e,t){throw this.root.error(e,t)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[y.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[y.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[y.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[y.FIELDS.START_POS])},t.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[y.FIELDS.TYPE]===b.word?(this.position++,this.word(e)):this.nextToken[y.FIELDS.TYPE]===b.asterisk?(this.position++,this.universal(e)):void 0},t.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken)){this.position++;return}var e=this.currToken;this.newNode(new g.default({value:this.content(),source:j(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===w.PSEUDO){var r=new a.default({source:{start:A(this.tokens[this.position-1])}}),n=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===b.closeParenthesis&&t--,t?this.parse():(this.current.source.end=P(this.currToken),this.current.parent.source.end=P(this.currToken),this.position++);this.current=n}else{for(var i,o=this.currToken,s="(";this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===b.closeParenthesis&&t--,i=this.currToken,s+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",s,s):this.newNode(new d.default({value:s,source:O(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],i[y.FIELDS.END_LINE],i[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[y.FIELDS.START_POS])},t.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[y.FIELDS.TYPE]===b.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[y.FIELDS.TYPE]!==b.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[y.FIELDS.START_POS]):void this.splitWord(!1,function(n,i){t+=n,e.newNode(new f.default({value:t,source:C(r,e.currToken),sourceIndex:r[y.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[y.FIELDS.TYPE]===b.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[y.FIELDS.START_POS]})}):this.expected(["pseudo-class","pseudo-element"],this.position-1)},t.space=function(){var e=this.content();0===this.position||this.prevToken[y.FIELDS.TYPE]===b.comma||this.prevToken[y.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(e){return"comment"===e.type})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[y.FIELDS.TYPE]===b.comma||this.nextToken[y.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},t.string=function(){var e=this.currToken;this.newNode(new d.default({value:this.content(),source:j(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},t.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new h.default({value:this.content(),source:j(r),sourceIndex:r[y.FIELDS.START_POS]}),e),this.position++},t.splitWord=function(e,t){for(var r=this,n=this.nextToken,i=this.content();n&&~[b.dollar,b.caret,b.equals,b.word].indexOf(n[y.FIELDS.TYPE]);){this.position++;var o=this.content();if(i+=o,o.lastIndexOf("\\")===o.length-1){var a=this.nextToken;a&&a[y.FIELDS.TYPE]===b.space&&(i+=this.requiredSpace(this.content(a)),this.position++)}n=this.nextToken}var l=N(i,".").filter(function(e){var t="\\"===i[e-1],r=/^\d+\.\d+%$/.test(i);return!t&&!r}),d=N(i,"#").filter(function(e){return"\\"!==i[e-1]}),f=N(i,"#{");f.length&&(d=d.filter(function(e){return!~f.indexOf(e)}));var p=(0,v.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,r){return r===e.indexOf(t)})}([0].concat(l,d)));p.forEach(function(n,o){var a,f=p[o+1]||i.length,h=i.slice(n,f);if(0===o&&t)return t.call(r,h,p.length);var m=r.currToken,g=m[y.FIELDS.START_POS]+p[o],v=O(m[1],m[2]+n,m[3],m[2]+(f-1));if(~l.indexOf(n)){var b={value:h.slice(1),source:v,sourceIndex:g};a=new s.default(M(b,"value"))}else if(~d.indexOf(n)){var w={value:h.slice(1),source:v,sourceIndex:g};a=new u.default(M(w,"value"))}else{var _={value:h,source:v,sourceIndex:g};M(_,"value"),a=new c.default(_)}r.newNode(a,e),e=null}),this.position++},t.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(e){switch(this.currToken[y.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:e&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(e,t,r){if(Array.isArray(e)){var n=e.pop();e=e.join(", ")+" or "+n}var i=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+i+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+i+" "+e+".",{index:t})},t.requiredSpace=function(e){return this.options.lossy?" ":e},t.optionalSpace=function(e){return this.options.lossy?"":e},t.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},t.parseParenthesisToken=function(e){var t=this.content(e);return e[y.FIELDS.TYPE]===b.space?this.requiredSpace(t):t},t.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,M(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},t.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[y.FIELDS.START_POS],e[y.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!T[this.tokens[t][y.FIELDS.TYPE]])return t;t++}return -1},function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();t.default=L,e.exports=t.default},85270:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(26682))&&n.__esModule?n:{default:n},o=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new i.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(i=o.toString(),e.selector=i),{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),n=this.func(r);if(n&&"function"==typeof n.then)throw Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=r.toString(),e.selector=i),{transform:n,root:r,string:i}},t.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then(function(e){return e.string||e.root.toString()})},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}();t.default=o,e.exports=t.default},59665:function(e,t,r){"use strict";t.__esModule=!0,t.unescapeValue=m,t.default=void 0;var n,i=l(r(94559)),o=l(r(1798)),a=l(r(94881)),s=r(81781);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=r(20342),d=/^('|")([^]*)\1$/,f=c(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),p=c(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=c(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function m(e){var t=!1,r=null,n=e,i=n.match(d);return i&&(r=i[1],n=i[2]),(n=(0,o.default)(n))!==e&&(t=!0),{deprecatedUsage:t,unescaped:n,quoteMark:r}}var g=function(e){function t(t){var r;return void 0===t&&(t={}),(r=e.call(this,function(e){if(void 0!==e.quoteMark||void 0===e.value)return e;h();var t=m(e.value),r=t.quoteMark,n=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=n,e.quoteMark=r,e}(t))||this).type=s.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:c(function(){return r.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:c(function(){return r.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,u(t,e);var r,n=t.prototype;return n.getQuotedValue=function(e){void 0===e&&(e={});var t=v[this._determineQuoteMark(e)];return(0,i.default)(this._value,t)},n._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},n.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},n.smartQuoteMark=function(e){var r=this.value,n=r.replace(/[^']/g,"").length,o=r.replace(/[^"]/g,"").length;if(n+o===0){var a=(0,i.default)(r,{isIdentifier:!0});if(a===r)return t.NO_QUOTE;var s=this.preferredQuoteMark(e);if(s===t.NO_QUOTE){var l=this.quoteMark||e.quoteMark||t.DOUBLE_QUOTE,u=v[l];if((0,i.default)(r,u).length<a.length)return l}return s}return o===n?this.preferredQuoteMark(e):o<n?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(e){var r=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===r&&(r=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===r&&(r=t.DOUBLE_QUOTE),r},n._syncRawValue=function(){var e=(0,i.default)(this._value,v[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},n._handleEscapes=function(e,t){if(this._constructed){var r=(0,i.default)(t,{isIdentifier:!0});r!==t?this.raws[e]=r:delete this.raws[e]}},n._spacesFor=function(e){return Object.assign({before:"",after:""},this.spaces[e]||{},this.raws.spaces&&this.raws.spaces[e]||{})},n._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=y);var n=this._spacesFor(t);return r(this.stringifyProperty(e),n)},n.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e||(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e))return t;t+=this.stringifyProperty("attribute").length+r.after.length;var n=this._spacesFor("operator");t+=n.before.length;var i=this.stringifyProperty("operator");if("operator"===e)return i?t:-1;t+=i.length+n.after.length;var o=this._spacesFor("value");t+=o.before.length;var a=this.stringifyProperty("value");return"value"===e?a?t:-1:(t+=a.length+o.after.length+this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive)?t:-1},n.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",function(t,r){return!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),y(t,r)}))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},r=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){p()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){if(!this._constructed){this._quoteMark=e;return}this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=m(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;r&&f(),(n!==this._value||i!==this._quoteMark)&&(this._value=n,this._quoteMark=i,this._syncRawValue())}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),t}(a.default);t.default=g,g.NO_QUOTE=null,g.SINGLE_QUOTE="'",g.DOUBLE_QUOTE='"';var v=((n={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}})[null]={isIdentifier:!0},n);function y(e,t){return""+t.before+e+t.after}},29979:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=s(r(94559)),i=r(36880),o=s(r(46385)),a=r(81781);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t;function r(t){var r;return(r=e.call(this,t)||this).type=a.CLASS,r._constructed=!0,r}return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,l(r,e),r.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},t=[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,n.default)(e,{isIdentifier:!0});t!==e?((0,i.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,t),r}(o.default);t.default=u,e.exports=t.default},9750:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(46385))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.COMBINATOR,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(i.default);t.default=s,e.exports=t.default},5525:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(46385))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.COMMENT,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(i.default);t.default=s,e.exports=t.default},23384:function(e,t,r){"use strict";t.__esModule=!0,t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var n=m(r(59665)),i=m(r(29979)),o=m(r(9750)),a=m(r(5525)),s=m(r(69707)),l=m(r(73072)),u=m(r(28169)),c=m(r(49700)),d=m(r(92847)),f=m(r(68997)),p=m(r(28735)),h=m(r(45957));function m(e){return e&&e.__esModule?e:{default:e}}t.attribute=function(e){return new n.default(e)},t.className=function(e){return new i.default(e)},t.combinator=function(e){return new o.default(e)},t.comment=function(e){return new a.default(e)},t.id=function(e){return new s.default(e)},t.nesting=function(e){return new l.default(e)},t.pseudo=function(e){return new u.default(e)},t.root=function(e){return new c.default(e)},t.selector=function(e){return new d.default(e)},t.string=function(e){return new f.default(e)},t.tag=function(e){return new p.default(e)},t.universal=function(e){return new h.default(e)}},54821:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(46385))&&n.__esModule?n:{default:n},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(81781));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,l(t,e);var r,n=t.prototype;return n.append=function(e){return e.parent=this,this.nodes.push(e),this},n.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},n.at=function(e){return this.nodes[e]},n.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},n.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},n.removeAll=function(){for(var e,t=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,void 0)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n+1,0,t),t.parent=this,this.indexes)n<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},n.insertBefore=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n,0,t),t.parent=this,this.indexes)(r=this.indexes[i])<=n&&(this.indexes[i]=r+1);return this},n._findChildAtPosition=function(e,t){var r=void 0;return this.each(function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i)return r=i,!1}else if(n.isAtPosition(e,t))return r=n,!1}),r},n.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t,r,n=this.lastEach;if(this.indexes[n]=0,this.length){for(;this.indexes[n]<this.length&&(t=this.indexes[n],!1!==(r=e(this.at(t),t)));)this.indexes[n]+=1;if(delete this.indexes[n],!1===r)return!1}},n.walk=function(e){return this.each(function(t,r){var n=e(t,r);if(!1!==n&&t.length&&(n=t.walk(e)),!1===n)return!1})},n.walkAttributes=function(e){var t=this;return this.walk(function(r){if(r.type===o.ATTRIBUTE)return e.call(t,r)})},n.walkClasses=function(e){var t=this;return this.walk(function(r){if(r.type===o.CLASS)return e.call(t,r)})},n.walkCombinators=function(e){var t=this;return this.walk(function(r){if(r.type===o.COMBINATOR)return e.call(t,r)})},n.walkComments=function(e){var t=this;return this.walk(function(r){if(r.type===o.COMMENT)return e.call(t,r)})},n.walkIds=function(e){var t=this;return this.walk(function(r){if(r.type===o.ID)return e.call(t,r)})},n.walkNesting=function(e){var t=this;return this.walk(function(r){if(r.type===o.NESTING)return e.call(t,r)})},n.walkPseudos=function(e){var t=this;return this.walk(function(r){if(r.type===o.PSEUDO)return e.call(t,r)})},n.walkTags=function(e){var t=this;return this.walk(function(r){if(r.type===o.TAG)return e.call(t,r)})},n.walkUniversals=function(e){var t=this;return this.walk(function(r){if(r.type===o.UNIVERSAL)return e.call(t,r)})},n.split=function(e){var t=this,r=[];return this.reduce(function(n,i,o){var a=e.call(t,i);return r.push(i),a?(n.push(r),r=[]):o===t.length-1&&n.push(r),n},[])},n.map=function(e){return this.nodes.map(e)},n.reduce=function(e,t){return this.nodes.reduce(e,t)},n.every=function(e){return this.nodes.every(e)},n.some=function(e){return this.nodes.some(e)},n.filter=function(e){return this.nodes.filter(e)},n.sort=function(e){return this.nodes.sort(e)},n.toString=function(){return this.map(String).join("")},r=[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),t}(i.default);t.default=u,e.exports=t.default},1079:function(e,t,r){"use strict";t.__esModule=!0,t.isNode=a,t.isPseudoElement=w,t.isPseudoClass=function(e){return h(e)&&!w(e)},t.isContainer=function(e){return!!(a(e)&&e.walk)},t.isNamespace=function(e){return l(e)||y(e)},t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var n,i=r(81781),o=((n={})[i.ATTRIBUTE]=!0,n[i.CLASS]=!0,n[i.COMBINATOR]=!0,n[i.COMMENT]=!0,n[i.ID]=!0,n[i.NESTING]=!0,n[i.PSEUDO]=!0,n[i.ROOT]=!0,n[i.SELECTOR]=!0,n[i.STRING]=!0,n[i.TAG]=!0,n[i.UNIVERSAL]=!0,n);function a(e){return"object"==typeof e&&o[e.type]}function s(e,t){return a(t)&&t.type===e}var l=s.bind(null,i.ATTRIBUTE);t.isAttribute=l;var u=s.bind(null,i.CLASS);t.isClassName=u;var c=s.bind(null,i.COMBINATOR);t.isCombinator=c;var d=s.bind(null,i.COMMENT);t.isComment=d;var f=s.bind(null,i.ID);t.isIdentifier=f;var p=s.bind(null,i.NESTING);t.isNesting=p;var h=s.bind(null,i.PSEUDO);t.isPseudo=h;var m=s.bind(null,i.ROOT);t.isRoot=m;var g=s.bind(null,i.SELECTOR);t.isSelector=g;var v=s.bind(null,i.STRING);t.isString=v;var y=s.bind(null,i.TAG);t.isTag=y;var b=s.bind(null,i.UNIVERSAL);function w(e){return h(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}t.isUniversal=b},69707:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(46385))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.ID,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(i.default);t.default=s,e.exports=t.default},31642:function(e,t,r){"use strict";t.__esModule=!0;var n=r(81781);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))});var i=r(23384);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||(t[e]=i[e]))});var o=r(1079);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||(t[e]=o[e]))})},94881:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=o(r(94559)),i=r(36880);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e);var r,o=t.prototype;return o.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},o.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},r=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e){this._namespace=e,this.raws&&delete this.raws.namespace;return}var t=(0,n.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,i.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(!this.namespace)return"";var e=this.stringifyProperty("namespace");return!0===e?"":e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),t}(o(r(46385)).default);t.default=s,e.exports=t.default},73072:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(46385))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.NESTING,r.value="&",r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(i.default);t.default=s,e.exports=t.default},46385:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=r(36880),i=function e(t,r){if("object"!=typeof t||null===t)return t;var n=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var o=t[i],a=typeof o;"parent"===i&&"object"===a?r&&(n[i]=r):o instanceof Array?n[i]=o.map(function(t){return e(t,n)}):n[i]=e(o,n)}return n},o=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(e){void 0===e&&(e={});var t=i(this);for(var r in e)t[r]=e[r];return t},t.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var n=this[e],i=this.raws[e];this[e]=n+t,i||r!==t?this.raws[e]=(i||n)+r:delete this.raws[e]},t.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},t.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},t.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e)&&!(this.source.end.line<e)&&(this.source.start.line!==e||!(this.source.start.column>t))&&(this.source.end.line!==e||!(this.source.end.column<t))},t.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,n.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set:function(e){(0,n.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}]),e}();t.default=o,e.exports=t.default},28169:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(54821))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.PSEUDO,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},t}(i.default);t.default=s,e.exports=t.default},49700:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(54821))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.ROOT,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e);var r,n=t.prototype;return n.toString=function(){var e=this.reduce(function(e,t){return e.push(String(t)),e},[]).join(",");return this.trailingComma?e+",":e},n.error=function(e,t){return this._error?this._error(e,t):Error(e)},r=[{key:"errorGenerator",set:function(e){this._error=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),t}(i.default);t.default=s,e.exports=t.default},92847:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(54821))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.SELECTOR,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(i.default);t.default=s,e.exports=t.default},68997:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(46385))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.STRING,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(i.default);t.default=s,e.exports=t.default},28735:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(94881))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.TAG,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(i.default);t.default=s,e.exports=t.default},81781:function(e,t){"use strict";t.__esModule=!0,t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0,t.TAG="tag",t.STRING="string",t.SELECTOR="selector",t.ROOT="root",t.PSEUDO="pseudo",t.NESTING="nesting",t.ID="id",t.COMMENT="comment",t.COMBINATOR="combinator",t.CLASS="class",t.ATTRIBUTE="attribute",t.UNIVERSAL="universal"},45957:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(94881))&&n.__esModule?n:{default:n},o=r(81781);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=o.UNIVERSAL,r.value="*",r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(i.default);t.default=s,e.exports=t.default},79036:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){return e.sort(function(e,t){return e-t})},e.exports=t.default},24421:function(e,t){"use strict";t.__esModule=!0,t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0,t.ampersand=38,t.asterisk=42,t.at=64,t.comma=44,t.colon=58,t.semicolon=59,t.openParenthesis=40,t.closeParenthesis=41,t.openSquare=91,t.closeSquare=93,t.dollar=36,t.tilde=126,t.caret=94,t.plus=43,t.equals=61,t.pipe=124,t.greaterThan=62,t.space=32,t.singleQuote=39,t.doubleQuote=34,t.slash=47,t.bang=33,t.backslash=92,t.cr=13,t.feed=12,t.newline=10,t.tab=9,t.str=39,t.comment=-1,t.word=-2,t.combinator=-3},59504:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){var t,r,n,i,a,c,d,f,p,h,m,g,v=[],y=e.css.valueOf(),b=y.length,w=-1,_=1,x=0,S=0;function E(t,r){if(e.safe)y+=r,f=y.length-1;else throw e.error("Unclosed "+t,_,x-w,x)}for(;x<b;){switch((t=y.charCodeAt(x))===o.newline&&(w=x,_+=1),t){case o.space:case o.tab:case o.newline:case o.cr:case o.feed:f=x;do f+=1,(t=y.charCodeAt(f))===o.newline&&(w=f,_+=1);while(t===o.space||t===o.newline||t===o.tab||t===o.cr||t===o.feed);g=o.space,n=_,r=f-w-1,S=f;break;case o.plus:case o.greaterThan:case o.tilde:case o.pipe:f=x;do f+=1,t=y.charCodeAt(f);while(t===o.plus||t===o.greaterThan||t===o.tilde||t===o.pipe);g=o.combinator,n=_,r=x-w,S=f;break;case o.asterisk:case o.ampersand:case o.bang:case o.comma:case o.equals:case o.dollar:case o.caret:case o.openSquare:case o.closeSquare:case o.colon:case o.semicolon:case o.openParenthesis:case o.closeParenthesis:f=x,g=t,n=_,r=x-w,S=f+1;break;case o.singleQuote:case o.doubleQuote:m=t===o.singleQuote?"'":'"',f=x;do for(i=!1,-1===(f=y.indexOf(m,f+1))&&E("quote",m),a=f;y.charCodeAt(a-1)===o.backslash;)a-=1,i=!i;while(i);g=o.str,n=_,r=x-w,S=f+1;break;default:t===o.slash&&y.charCodeAt(x+1)===o.asterisk?(0===(f=y.indexOf("*/",x+2)+1)&&E("comment","*/"),(c=(d=y.slice(x,f+1).split("\n")).length-1)>0?(p=_+c,h=f-d[c].length):(p=_,h=w),g=o.comment,_=p,n=p,r=f-h):t===o.slash?(f=x,g=t,n=_,r=x-w,S=f+1):(f=function(e,t){var r,n=t;do{if(l[r=e.charCodeAt(n)])break;r===o.backslash?n=function(e,t){var r=t,n=e.charCodeAt(r+1);if(s[n]);else if(u[n]){var i=0;do r++,i++,n=e.charCodeAt(r+1);while(u[n]&&i<6);i<6&&n===o.space&&r++}else r++;return r}(e,n)+1:n++}while(n<e.length);return n-1}(y,x),g=o.word,n=_,r=f-w),S=f+1}v.push([g,_,x-w,n,r,x,S]),h&&(w=h,h=null),x=S}return v},t.FIELDS=void 0;var n,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(24421));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}for(var s=((n={})[o.tab]=!0,n[o.newline]=!0,n[o.cr]=!0,n[o.feed]=!0,n),l=((i={})[o.space]=!0,i[o.tab]=!0,i[o.newline]=!0,i[o.cr]=!0,i[o.feed]=!0,i[o.ampersand]=!0,i[o.asterisk]=!0,i[o.bang]=!0,i[o.comma]=!0,i[o.colon]=!0,i[o.semicolon]=!0,i[o.openParenthesis]=!0,i[o.closeParenthesis]=!0,i[o.openSquare]=!0,i[o.closeSquare]=!0,i[o.singleQuote]=!0,i[o.doubleQuote]=!0,i[o.plus]=!0,i[o.pipe]=!0,i[o.tilde]=!0,i[o.greaterThan]=!0,i[o.equals]=!0,i[o.dollar]=!0,i[o.caret]=!0,i[o.slash]=!0,i),u={},c="0123456789abcdefABCDEF",d=0;d<c.length;d++)u[c.charCodeAt(d)]=!0;t.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}},61548:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();e[i]||(e[i]={}),e=e[i]}},e.exports=t.default},67158:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default},36880:function(e,t,r){"use strict";t.__esModule=!0,t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var n=s(r(1798));t.unesc=n.default;var i=s(r(67158));t.getProp=i.default;var o=s(r(61548));t.ensureObject=o.default;var a=s(r(5994));function s(e){return e&&e.__esModule?e:{default:e}}t.stripComments=a.default},5994:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){for(var t="",r=e.indexOf("/*"),n=0;r>=0;){t+=e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0)return t;n=i+2,r=e.indexOf("/*",n)}return t+e.slice(n)},e.exports=t.default},1798:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){if(!r.test(e))return e;for(var t="",n=0;n<e.length;n++){if("\\"===e[n]){var i=function(e){for(var t=e.toLowerCase(),r="",n=!1,i=0;i<6&&void 0!==t[i];i++){var o=t.charCodeAt(i),a=o>=97&&o<=102||o>=48&&o<=57;if(n=32===o,!a)break;r+=t[i]}if(0!==r.length){var s=parseInt(r,16);return s>=55296&&s<=57343||0===s||s>1114111?["�",r.length+(n?1:0)]:[String.fromCodePoint(s),r.length+(n?1:0)]}}(e.slice(n+1,n+7));if(void 0!==i){t+=i[0],n+=i[1];continue}if("\\"===e[n+1]){t+="\\",n++;continue}e.length===n+1&&(t+=e[n]);continue}t+=e[n]}return t};var r=/\\/;e.exports=t.default},44675:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l=[],u=!1,c=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},84835:function(e,t,r){"use strict";var n=r(11596);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},39519:function(e,t,r){e.exports=r(84835)()},11596:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},60812:function(e,t,r){"use strict";r.d(t,{SV:function(){return a}});var n=r(92379);let i=(0,n.createContext)(null),o={didCatch:!1,error:null};class a extends n.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=o}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,r,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];null===(t=(r=this.props).onReset)||void 0===t||t.call(r,{args:i,reason:"imperative-api"}),this.setState(o)}}componentDidCatch(e,t){var r,n;null===(r=(n=this.props).onError)||void 0===r||r.call(n,e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:n}=this.props;if(r&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,n)){var i,a;null===(i=(a=this.props).onReset)||void 0===i||i.call(a,{next:n,prev:e.resetKeys,reason:"keys"}),this.setState(o)}}render(){let{children:e,fallbackRender:t,FallbackComponent:r,fallback:o}=this.props,{didCatch:a,error:s}=this.state,l=e;if(a){let e={error:s,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)l=t(e);else if(r)l=(0,n.createElement)(r,e);else if(null===o||(0,n.isValidElement)(o))l=o;else throw s}return(0,n.createElement)(i.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},l)}}},10958:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}let i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{i[e]=new n(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{i[e]=new n(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{i[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{i[e]=new n(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"].forEach(e=>{i[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{i[e]=new n(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{i[e]=new n(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{i[e]=new n(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{i[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)});let o=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["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-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"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{i[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)}),i.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{i[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:s,SAME:l,possibleStandardNames:u}=r(81043),c=RegExp.prototype.test.bind(RegExp("^(data|aria)-[: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]*$")),d=Object.keys(u).reduce((e,t)=>{let r=u[t];return r===l?e[t]=t:r===s?e[t.toLowerCase()]=t:e[t]=r,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=d},81043:function(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},24715:function(e,t,r){"use strict";r.d(t,{Av:function(){return a},pF:function(){return n},xv:function(){return o},zi:function(){return i}});var n="right-scroll-bar-position",i="width-before-scroll-bar",o="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},77412:function(e,t,r){"use strict";r.d(t,{jp:function(){return f}});var n=r(92379),i=r(18500),o=r(24715),a={left:0,top:0,right:0,gap:0},s=function(e){return parseInt(e||"",10)||0},l=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[s(r),s(n),s(i)]},u=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=l(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},c=(0,i.Ws)(),d=function(e,t,r,n){var i=e.left,a=e.top,s=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n  .".concat(o.xv," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(l,"px ").concat(n,";\n  }\n  body {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(o.pF," {\n    right: ").concat(l,"px ").concat(n,";\n  }\n  \n  .").concat(o.zi," {\n    margin-right: ").concat(l,"px ").concat(n,";\n  }\n  \n  .").concat(o.pF," .").concat(o.pF," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(o.zi," .").concat(o.zi," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body {\n    ").concat(o.Av,": ").concat(l,"px;\n  }\n")},f=function(e){var t=e.noRelative,r=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i,a=n.useMemo(function(){return u(o)},[o]);return n.createElement(c,{styles:d(a,!t,o,r?"":"!important")})}},18500:function(e,t,r){"use strict";r.d(t,{Ws:function(){return s}});var n,i=r(92379),o=function(){var e=0,t=null;return{add:function(i){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n||r.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=i:o.appendChild(document.createTextNode(i)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a=function(){var e=o();return function(t,r){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},s=function(){var e=a();return function(t){return e(t.styles,t.dynamic),null}}},74263:function(e,t){"use strict";function r(e,t,r){if(void 0===r&&(r={}),!t.codes){t.codes={};for(var n,i=0;i<t.chars.length;++i)t.codes[t.chars[i]]=i}if(!r.loose&&e.length*t.bits&7)throw SyntaxError("Invalid padding");for(var o=e.length;"="===e[o-1];)if(--o,!r.loose&&!((e.length-o)*t.bits&7))throw SyntaxError("Invalid padding");for(var a=new(null!=(n=r.out)?n:Uint8Array)(o*t.bits/8|0),s=0,l=0,u=0,c=0;c<o;++c){var d=t.codes[e[c]];if(void 0===d)throw SyntaxError("Invalid character "+e[c]);l=l<<t.bits|d,(s+=t.bits)>=8&&(s-=8,a[u++]=255&l>>s)}if(s>=t.bits||255&l<<8-s)throw SyntaxError("Unexpected end of data");return a}function n(e,t,r){void 0===r&&(r={});for(var n=r.pad,i=(1<<t.bits)-1,o="",a=0,s=0,l=0;l<e.length;++l)for(s=s<<8|255&e[l],a+=8;a>t.bits;)a-=t.bits,o+=t.chars[i&s>>a];if(a&&(o+=t.chars[i&s<<t.bits-a]),void 0===n||n)for(;o.length*t.bits&7;)o+="=";return o}var i={chars:"0123456789ABCDEF",bits:4},o={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bits:5},a={chars:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bits:5},s={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bits:6},l={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bits:6};t.YU={parse:function(e,t){return r(e.toUpperCase(),i,t)},stringify:function(e,t){return n(e,i,t)}},t.pJ={parse:function(e,t){return void 0===t&&(t={}),r(t.loose?e.toUpperCase().replace(/0/g,"O").replace(/1/g,"L").replace(/8/g,"B"):e,o,t)},stringify:function(e,t){return n(e,o,t)}},t.eV={parse:function(e,t){return r(e,a,t)},stringify:function(e,t){return n(e,a,t)}},t.US={parse:function(e,t){return r(e,s,t)},stringify:function(e,t){return n(e,s,t)}},t.tH={parse:function(e,t){return r(e,l,t)},stringify:function(e,t){return n(e,l,t)}},t.Y2={parse:r,stringify:n}},88245:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","ǈ":"LJ","ǉ":"lj","ǋ":"NJ","ǌ":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","∑":"soma","\xa3":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function r(r,n){if("string"!=typeof r)throw Error("slugify: string argument expected");var i=t[(n="string"==typeof n?{replacement:n}:n||{}).locale]||{},o=void 0===n.replacement?"-":n.replacement,a=void 0===n.trim||n.trim,s=r.normalize().split("").reduce(function(t,r){var a=i[r]||e[r]||r;return a===o&&(a=" "),t+a.replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return n.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),a&&(s=s.trim()),s=s.replace(/\s+/g,o),n.lower&&(s=s.toLowerCase()),s}return r.extend=function(t){Object.assign(e,t)},r},e.exports=t(),e.exports.default=t()},69124:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(10375)),o=r(2049);t.default=function(e,t){var r={};return e&&"string"==typeof e&&(0,i.default)(e,function(e,n){e&&n&&(r[(0,o.camelCase)(e,t)]=n)}),r}},2049:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||r.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(o,l)).replace(n,s))}},10375:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(87673));t.default=function(e,t){var r=null;if(!e||"string"!=typeof e)return r;var n=(0,i.default)(e),o="function"==typeof t;return n.forEach(function(e){if("declaration"===e.type){var n=e.property,i=e.value;o?t(n,i,e):i&&((r=r||{})[n]=i)}}),r}},25957:function(e,t,r){let n=r(48064);e.exports=(n.__esModule?n:{default:n}).default},48064:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let i=(n=r(80882))&&n.__esModule?n:{default:n};function o({version:e,from:t,to:r}){i.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${r}\`.`,"Update your configuration file to silence this warning."])}let a={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}},21569:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let i=((n=r(85133))&&n.__esModule?n:{default:n}).default},85133:function(e,t){"use strict";function r(e,t){return{handler:e,config:t}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.withOptions=function(e,t=()=>({})){let r=function(r){return{__options:r,handler:e(r),config:t(r)}};return r.__isOptionsFunction=!0,r.__pluginFunction=e,r.__configFunction=t,r};let n=r},80882:function(e,t,r){"use strict";var n,i=r(44675);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{dim:function(){return l},default:function(){return u}});let o=(n=r(99088))&&n.__esModule?n:{default:n},a=new Set;function s(e,t,r){(void 0===i||!i.env.JEST_WORKER_ID)&&(r&&a.has(r)||(r&&a.add(r),console.warn(""),t.forEach(t=>console.warn(e,"-",t))))}function l(e){return o.default.dim(e)}let u={info(e,t){s(o.default.bold(o.default.cyan("info")),...Array.isArray(e)?[e]:[t,e])},warn(e,t){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(e)?[e]:[t,e])},risk(e,t){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(e)?[e]:[t,e])}}},78624:function(e,t,r){let n=r(21569);e.exports=(n.__esModule?n:{default:n}).default},71614:function(e,t,r){"use strict";r.d(t,{q:function(){return i}});var n=r(92379);function i(e,t){var r,i,o;return r=t||null,i=function(t){return e.forEach(function(e){return"function"==typeof e?e(t):e&&(e.current=t),e})},(o=(0,n.useState)(function(){return{value:r,callback:i,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=i,o.facade}},1507:function(e,t,r){"use strict";r.d(t,{L:function(){return a}});var n=r(98001),i=r(92379),o=function(e){var t=e.sideCar,r=(0,n._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw Error("Sidecar medium not found");return i.createElement(o,(0,n.pi)({},r))};function a(e,t){return e.useMedium(t),o}o.isSideCarExport=!0},55686:function(e,t,r){"use strict";r.d(t,{_:function(){return o}});var n=r(98001);function i(e){return e}function o(e){void 0===e&&(e={});var t,r,o,a=(void 0===t&&(t=i),r=[],o=!1,{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var n=t(e,o);return r.push(n),function(){r=r.filter(function(e){return e!==n})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}});return a.options=(0,n.pi)({async:!0,ssr:!1},e),a}},20342:function(e,t,r){e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}};function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},17082:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(48632).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99925:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});let n=r(17082);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48632:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return o}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let i=globalThis.AsyncLocalStorage;function o(){return i?new i:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61072:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(48632).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return n.requestAsyncStorage}});let n=r(61072);function i(e){let t=n.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77264:function(e,t,r){"use strict";r.d(t,{G:function(){return f}});var n=r(19086),i=r(58394),o=r(86402),a=r(2018);class s{constructor(e,t){let r,n;r=e||new a.s,n=t||new a.s,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t;let r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return(0,i.J8)(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}_popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}}function l(){let e=(0,n.c)(),t=(0,n.q)(e);return t.stack=t.stack||new s((0,o.Y)("defaultCurrentScope",()=>new a.s),(0,o.Y)("defaultIsolationScope",()=>new a.s))}function u(e){return l().withScope(e)}function c(e,t){let r=l();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function d(e){return l().withScope(()=>e(l().getIsolationScope()))}function f(e){let t=(0,n.q)(e);return t.acs?t.acs:{withIsolationScope:d,withScope:u,withSetScope:c,withSetIsolationScope:(e,t)=>d(t),getCurrentScope:()=>l().getScope(),getIsolationScope:()=>l().getIsolationScope()}}},19086:function(e,t,r){"use strict";r.d(t,{c:function(){return o},q:function(){return a}});var n=r(86402),i=r(99953);function o(){return a(n.GLOBAL_OBJ),n.GLOBAL_OBJ}function a(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||i.J,t[i.J]=t[i.J]||{}}},78182:function(e,t,r){"use strict";r.d(t,{J:function(){return n}});let n="production"},74542:function(e,t,r){"use strict";r.d(t,{$e:function(){return c},aF:function(){return l},lW:function(){return u},nZ:function(){return s},s3:function(){return d}});var n=r(86402),i=r(77264),o=r(19086),a=r(2018);function s(){let e=(0,o.c)();return(0,i.G)(e).getCurrentScope()}function l(){let e=(0,o.c)();return(0,i.G)(e).getIsolationScope()}function u(){return(0,n.Y)("globalScope",()=>new a.s)}function c(...e){let t=(0,o.c)(),r=(0,i.G)(t);if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function d(){return s().getClient()}},82238:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});let n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},74738:function(e,t,r){"use strict";r.d(t,{Qy:function(){return h},Tb:function(){return c},YA:function(){return f},cg:function(){return y},eN:function(){return d},yj:function(){return m},yl:function(){return p}});var n=r(91943),i=r(86402),o=r(78182),a=r(74542),s=r(82238),l=r(27396),u=r(51159);function c(e,t){return(0,a.nZ)().captureException(e,(0,u.U0)(t))}function d(e,t){return(0,a.nZ)().captureEvent(e,t)}function f(e,t){(0,a.aF)().setTag(e,t)}async function p(e){let t=(0,a.s3)();return t?t.flush(e):(s.X&&n.kg.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function h(e){(0,a.aF)().addEventProcessor(e)}function m(e){let t=(0,a.s3)(),r=(0,a.aF)(),n=(0,a.nZ)(),{release:s,environment:u=o.J}=t&&t.getOptions()||{},{userAgent:c}=i.GLOBAL_OBJ.navigator||{},d=(0,l.Hv)({release:s,environment:u,user:n.getUser()||r.getUser(),...c&&{userAgent:c},...e}),f=r.getSession();return f&&"ok"===f.status&&(0,l.CT)(f,{status:"exited"}),g(),r.setSession(d),n.setSession(d),d}function g(){let e=(0,a.aF)(),t=(0,a.nZ)(),r=t.getSession()||e.getSession();r&&(0,l.RJ)(r),v(),e.setSession(),t.setSession()}function v(){let e=(0,a.aF)(),t=(0,a.nZ)(),r=(0,a.s3)(),n=t.getSession()||e.getSession();n&&r&&r.captureSession(n)}function y(e=!1){if(e){g();return}v()}},46966:function(e,t,r){"use strict";r.d(t,{y:function(){return i}});var n=r(36722);function i(e){let t=e._sentryMetrics;if(!t)return;let r={};for(let[,[e,i]]of t)r[e]||(r[e]=[]),r[e].push((0,n.Jr)(i));return r}},2018:function(e,t,r){"use strict";r.d(t,{s:function(){return d}});var n=r(88611),i=r(58394),o=r(94542),a=r(45140),s=r(91943),l=r(27396),u=r(66582);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=(0,n.Q)()}clone(){let e=new c;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,u.D)(e,(0,u.Y)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,l.CT)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,[r,n]=t instanceof d?[t.getScopeData(),t.getRequestSession()]:(0,i.PO)(t)?[e,e.requestSession]:[],{tags:o,extra:a,user:s,contexts:l,level:u,fingerprint:c=[],propagationContext:f}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...a},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),u&&(this._level=u),c.length&&(this._fingerprint=c),f&&(this._propagationContext=f),n&&(this._requestSession=n),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,(0,u.D)(this,void 0),this._attachments=[],this._propagationContext=(0,n.Q)(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:(0,o.yW)(),...e},i=this._breadcrumbs;return i.push(n),this._breadcrumbs=i.length>r?i.slice(-r):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,u.Y)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t&&t.event_id?t.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture exception!"),r;let n=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:n,...t,event_id:r},this),r}captureMessage(e,t,r){let n=r&&r.event_id?r.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture message!"),n;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...r,event_id:n},this),n}captureEvent(e,t){let r=t&&t.event_id?t.event_id:(0,a.DM)();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):s.kg.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}let d=c},69521:function(e,t,r){"use strict";r.d(t,{$J:function(){return o},E1:function(){return l},JQ:function(){return d},S3:function(){return a},TE:function(){return i},Wb:function(){return u},Zj:function(){return n},ju:function(){return s},p6:function(){return c}});let n="sentry.source",i="sentry.sample_rate",o="sentry.op",a="sentry.origin",s="sentry.idle_span_finish_reason",l="sentry.measurement_unit",u="sentry.measurement_value",c="sentry.profile_id",d="sentry.exclusive_time"},27396:function(e,t,r){"use strict";r.d(t,{CT:function(){return s},Hv:function(){return a},RJ:function(){return l}});var n=r(94542),i=r(45140),o=r(36722);function a(e){let t=(0,n.ph)(),r={sid:(0,i.DM)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,o.Jr)({sid:`${r.sid}`,init:r.init,started:new Date(1e3*r.started).toISOString(),timestamp:new Date(1e3*r.timestamp).toISOString(),status:r.status,errors:r.errors,did:"number"==typeof r.did||"string"==typeof r.did?`${r.did}`:void 0,duration:r.duration,abnormal_mechanism:r.abnormal_mechanism,attrs:{release:r.release,environment:r.environment,ip_address:r.ipAddress,user_agent:r.userAgent}})};return e&&s(r,e),r}function s(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,n.ph)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,i.DM)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function l(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),s(e,r)}},17151:function(e,t,r){"use strict";r.d(t,{Lh:function(){return u},_l:function(){return c},jC:function(){return d}});var n=r(36722),i=r(78182),o=r(74542),a=r(69521),s=r(96412);let l="_frozenDsc";function u(e,t){(0,n.xp)(e,l,t)}function c(e,t){let r=t.getOptions(),{publicKey:o}=t.getDsn()||{},a=(0,n.Jr)({environment:r.environment||i.J,release:r.release,public_key:o,trace_id:e});return t.emit("createDsc",a),a}function d(e){let t=(0,o.s3)();if(!t)return{};let r=c((0,s.XU)(e).trace_id||"",t),n=(0,s.Gx)(e);if(!n)return r;let i=n[l];if(i)return i;let u=(0,s.XU)(n),d=u.data||{},f=d[a.TE];null!=f&&(r.sample_rate=`${f}`);let p=d[a.Zj];return p&&"url"!==p&&(r.transaction=u.description),r.sampled=String((0,s.Tt)(n)),t.emit("createDsc",r),r}},12536:function(e,t,r){"use strict";r.d(t,{OP:function(){return i},Q0:function(){return a},jt:function(){return o},pq:function(){return n}});let n=0,i=1,o=2;function a(e,t){e.setAttribute("http.response.status_code",t);let r=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:o,message:"unauthenticated"};case 403:return{code:o,message:"permission_denied"};case 404:return{code:o,message:"not_found"};case 409:return{code:o,message:"already_exists"};case 413:return{code:o,message:"failed_precondition"};case 429:return{code:o,message:"resource_exhausted"};case 499:return{code:o,message:"cancelled"};default:return{code:o,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:o,message:"unimplemented"};case 503:return{code:o,message:"unavailable"};case 504:return{code:o,message:"deadline_exceeded"};default:return{code:o,message:"internal_error"}}return{code:o,message:"unknown_error"}}(t);"unknown_error"!==r.message&&e.setStatus(r)}},51159:function(e,t,r){"use strict";r.d(t,{U0:function(){return x},R:function(){return w}});var n=r(45140),i=r(94542),o=r(42587),a=r(86402),s=r(12978),l=r(78182),u=r(74542),c=r(97378),d=r(91943),f=r(58394),p=r(82238),h=r(2018),m=r(36722),g=r(17151),v=r(96412);function y(e,t){let{extra:r,tags:n,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:u,eventProcessors:c,attachments:d,propagationContext:f,transactionName:p,span:h}=t;b(e,"extra",r),b(e,"tags",n),b(e,"user",i),b(e,"contexts",o),b(e,"sdkProcessingMetadata",s),a&&(e.level=a),p&&(e.transactionName=p),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function b(e,t,r){if(r&&Object.keys(r).length)for(let n in e[t]={...e[t]},r)Object.prototype.hasOwnProperty.call(r,n)&&(e[t][n]=r[n])}function w(e,t,r,b,w,x){let{normalizeDepth:S=3,normalizeMaxBreadth:E=1e3}=e,k={...t,event_id:t.event_id||r.event_id||(0,n.DM)(),timestamp:t.timestamp||(0,i.yW)()},T=r.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:r,release:n,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?r:l.J),void 0===e.release&&void 0!==n&&(e.release=n),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=(0,o.$G)(e.message,a));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,o.$G)(s.value,a));let u=e.request;u&&u.url&&(u.url=(0,o.$G)(u.url,a))})(k,e),T.length>0&&(k.sdk=k.sdk||{},k.sdk.integrations=[...k.sdk.integrations||[],...T]),void 0===t.type&&function(e,t){let r;let n=a.GLOBAL_OBJ._sentryDebugIds;if(!n)return;let i=_.get(t);i?r=i:(r=new Map,_.set(t,r));let o=Object.keys(n).reduce((e,i)=>{let o;let a=r.get(i);a?o=a:(o=t(i),r.set(i,o));for(let t=o.length-1;t>=0;t--){let r=o[t];if(r.filename){e[r.filename]=n[i];break}}return e},{});try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=o[e.filename])})})}catch(e){}}(k,e.stackParser);let A=function(e,t){if(!t)return e;let r=e?e.clone():new h.s;return r.update(t),r}(b,r.captureContext);r.mechanism&&(0,n.EG)(k,r.mechanism);let P=w?w.getEventProcessors():[],O=(0,u.lW)().getScopeData();x&&y(O,x.getScopeData()),A&&y(O,A.getScopeData());let j=[...r.attachments||[],...O.attachments];return j.length&&(r.attachments=j),function(e,t){let{fingerprint:r,span:i,breadcrumbs:o,sdkProcessingMetadata:a}=t;(function(e,t){let{extra:r,tags:n,user:i,contexts:o,level:a,transactionName:s}=t,l=(0,m.Jr)(r);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});let u=(0,m.Jr)(n);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let c=(0,m.Jr)(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});let d=(0,m.Jr)(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),i&&function(e,t){e.contexts={trace:(0,v.wy)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,g.jC)(t),...e.sdkProcessingMetadata};let r=(0,v.Gx)(t),n=(0,v.XU)(r).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,i),e.fingerprint=e.fingerprint?(0,n.lE)(e.fingerprint):[],r&&(e.fingerprint=e.fingerprint.concat(r)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint,function(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}(e,o),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...a}}(k,O),(function e(t,r,n,i=0){return new c.cW((o,a)=>{let s=t[i];if(null===r||"function"!=typeof s)o(r);else{let l=s({...r},n);p.X&&s.id&&null===l&&d.kg.log(`Event processor "${s.id}" dropped event`),(0,f.J8)(l)?l.then(r=>e(t,r,n,i+1).then(o)).then(null,a):e(t,l,n,i+1).then(o).then(null,a)}})})([...P,...O.eventProcessors],k,r).then(e=>(e&&function(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.keys(t).forEach(e=>{r.push({type:"sourcemap",code_file:e,debug_id:t[e]})})}(e),"number"==typeof S&&S>0)?function(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,s.Fv)(e.data,t,r)}}))},...e.user&&{user:(0,s.Fv)(e.user,t,r)},...e.contexts&&{contexts:(0,s.Fv)(e.contexts,t,r)},...e.extra&&{extra:(0,s.Fv)(e.extra,t,r)}};return e.contexts&&e.contexts.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,s.Fv)(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,s.Fv)(e.data,t,r)}}))),n}(e,S,E):e)}let _=new WeakMap;function x(e){return e?e instanceof h.s||"function"==typeof e||Object.keys(e).some(e=>S.includes(e))?{captureContext:e}:e:void 0}let S=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},66582:function(e,t,r){"use strict";r.d(t,{D:function(){return o},Y:function(){return a}});var n=r(36722);let i="_sentrySpan";function o(e,t){t?(0,n.xp)(e,i,t):delete e[i]}function a(e){return e[i]}},96412:function(e,t,r){"use strict";r.d(t,{$k:function(){return y},Dp:function(){return A},Gx:function(){return P},HN:function(){return O},HR:function(){return m},Hb:function(){return v},Tt:function(){return _},XU:function(){return w},_4:function(){return x},ed:function(){return T},i0:function(){return h},j5:function(){return k},ve:function(){return p},wy:function(){return g}});var n=r(36722),i=r(89214),o=r(94542),a=r(77264),s=r(19086),l=r(74542),u=r(46966),c=r(69521),d=r(12536),f=r(66582);let p=0,h=1;function m(e){let{spanId:t,traceId:r}=e.spanContext(),{data:i,op:o,parent_span_id:a,status:s,origin:l}=w(e);return(0,n.Jr)({parent_span_id:a,span_id:t,trace_id:r,data:i,op:o,status:s,origin:l})}function g(e){let{spanId:t,traceId:r}=e.spanContext(),{parent_span_id:i}=w(e);return(0,n.Jr)({parent_span_id:i,span_id:t,trace_id:r})}function v(e){let{traceId:t,spanId:r}=e.spanContext(),n=_(e);return(0,i.$p)(t,r,n)}function y(e){return"number"==typeof e?b(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?b(e.getTime()):(0,o.ph)()}function b(e){return e>9999999999?e/1e3:e}function w(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();try{let{spanId:t,traceId:r}=e.spanContext();if(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:i,startTime:o,name:a,endTime:s,parentSpanId:l,status:d}=e;return(0,n.Jr)({span_id:t,trace_id:r,data:i,description:a,parent_span_id:l,start_timestamp:y(o),timestamp:y(s)||void 0,status:x(d),op:i[c.$J],origin:i[c.S3],_metrics_summary:(0,u.y)(e)})}return{span_id:t,trace_id:r}}catch(e){return{}}}function _(e){let{traceFlags:t}=e.spanContext();return t===h}function x(e){return e&&e.code!==d.pq?e.code===d.OP?"ok":e.message||"unknown_error":void 0}let S="_sentryChildSpans",E="_sentryRootSpan";function k(e,t){let r=e[E]||e;(0,n.xp)(t,E,r),e[S]?e[S].add(t):(0,n.xp)(e,S,new Set([t]))}function T(e,t){e[S]&&e[S].delete(t)}function A(e){let t=new Set;return function e(r){if(!t.has(r)&&_(r))for(let n of(t.add(r),r[S]?Array.from(r[S]):[]))e(n)}(e),Array.from(t)}function P(e){return e[E]||e}function O(){let e=(0,s.c)(),t=(0,a.G)(e);return t.getActiveSpan?t.getActiveSpan():(0,f.Y)((0,l.nZ)())}},43214:function(e,t,r){"use strict";r.d(t,{EN:function(){return u},IQ:function(){return c},bU:function(){return a}});var n=r(84609),i=r(58394),o=r(91943);let a="baggage",s="sentry-",l=/^sentry-/;function u(e){let t=e&&((0,i.HD)(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>{let r=d(t);for(let t of Object.keys(r))e[t]=r[t];return e},{}):d(e):void 0;if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.match(l)&&(e[t.slice(s.length)]=r),e),{});return Object.keys(r).length>0?r:void 0}function c(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,r],i)=>{let a=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,s=0===i?a:`${e},${a}`;return s.length>8192?(n.X&&o.kg.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${s}${t}`]=r),e),{}))}function d(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,r])=>(e[t]=r,e),{})}},6830:function(e,t,r){"use strict";r.d(t,{Rt:function(){return o},iY:function(){return l},l4:function(){return a},qT:function(){return s}});var n=r(58394);let i=r(86402).GLOBAL_OBJ;function o(e,t={}){if(!e)return"<unknown>";try{let r,o=e,a=[],s=0,l=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;o&&s++<5&&(r=function(e,t){let r,o,a,s,l;let u=[];if(!e||!e.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}u.push(e.tagName.toLowerCase());let c=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(c&&c.length)c.forEach(e=>{u.push(`[${e[0]}="${e[1]}"]`)});else if(e.id&&u.push(`#${e.id}`),(r=e.className)&&(0,n.HD)(r))for(l=0,o=r.split(/\s+/);l<o.length;l++)u.push(`.${o[l]}`);let d=["aria-label","type","name","title","alt"];for(l=0;l<d.length;l++)a=d[l],(s=e.getAttribute(a))&&u.push(`[${a}="${s}"]`);return u.join("")}(o,u),"html"!==r&&(!(s>1)||!(l+3*a.length+r.length>=c)));)a.push(r),l+=r.length,o=o.parentNode;return a.reverse().join(" > ")}catch(e){return"<unknown>"}}function a(){try{return i.document.location.href}catch(e){return""}}function s(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}function l(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},84609:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});let n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},58394:function(e,t,r){"use strict";r.d(t,{Cy:function(){return v},HD:function(){return u},J8:function(){return g},Kj:function(){return m},Le:function(){return c},PO:function(){return f},TX:function(){return s},V9:function(){return y},VW:function(){return a},VZ:function(){return i},cO:function(){return p},fm:function(){return l},kK:function(){return h},pt:function(){return d},y1:function(){return b}});let n=Object.prototype.toString;function i(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(e,Error)}}function o(e,t){return n.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function l(e){return o(e,"DOMException")}function u(e){return o(e,"String")}function c(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||c(e)||"object"!=typeof e&&"function"!=typeof e}function f(e){return o(e,"Object")}function p(e){return"undefined"!=typeof Event&&y(e,Event)}function h(e){return"undefined"!=typeof Element&&y(e,Element)}function m(e){return o(e,"RegExp")}function g(e){return!!(e&&e.then&&"function"==typeof e.then)}function v(e){return f(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function y(e,t){try{return e instanceof t}catch(e){return!1}}function b(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}},91943:function(e,t,r){"use strict";r.d(t,{Cf:function(){return s},LD:function(){return a},RU:function(){return o},kg:function(){return l}});var n=r(84609),i=r(86402);let o=["debug","info","warn","error","log","assert","trace"],a={};function s(e){if(!("console"in i.GLOBAL_OBJ))return e();let t=i.GLOBAL_OBJ.console,r={},n=Object.keys(a);n.forEach(e=>{let n=a[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}let l=function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return n.X?o.forEach(r=>{t[r]=(...t)=>{e&&s(()=>{i.GLOBAL_OBJ.console[r](`Sentry Logger [${r}]:`,...t)})}}):o.forEach(e=>{t[e]=()=>void 0}),t}()},45140:function(e,t,r){"use strict";r.d(t,{DM:function(){return o},Db:function(){return l},EG:function(){return u},YO:function(){return c},jH:function(){return s},lE:function(){return d}});var n=r(36722),i=r(86402);function o(){let e=i.GLOBAL_OBJ,t=e.crypto||e.msCrypto,r=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(r=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&r())>>e/4).toString(16))}function a(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function s(e){let{message:t,event_id:r}=e;if(t)return t;let n=a(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function l(e,t,r){let n=e.exception=e.exception||{},i=n.values=n.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=r||"Error")}function u(e,t){let r=a(e);if(!r)return;let n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){let e={...n&&n.data,...t.data};r.mechanism.data=e}}function c(e){if(e&&e.__sentry_captured__)return!0;try{(0,n.xp)(e,"__sentry_captured__",!0)}catch(e){}return!1}function d(e){return Array.isArray(e)?e:[e]}},12978:function(e,t,r){"use strict";r.d(t,{Fv:function(){return a},Qy:function(){return function e(t,r=3,n=102400){let i=a(t,r);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>n?e(t,r-1,n):i}}});var n=r(58394),i=r(36722),o=r(97110);function a(e,t=100,r=Infinity){try{return function e(t,r,a=Infinity,s=Infinity,l=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(r){if(e)return!!t.has(r)||(t.add(r),!1);for(let e=0;e<t.length;e++)if(t[e]===r)return!0;return t.push(r),!1},function(r){if(e)t.delete(r);else for(let e=0;e<t.length;e++)if(t[e]===r){t.splice(e,1);break}}]}()){let[u,c]=l;if(null==r||["number","boolean","string"].includes(typeof r)&&!Number.isNaN(r))return r;let d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,n.y1)(t))return"[VueViewModel]";if((0,n.Cy)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,o.$P)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let r=function(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(r))return`[HTMLElement: ${r}]`;return`[object ${r}]`}catch(e){return`**non-serializable** (${e})`}}(t,r);if(!d.startsWith("[object "))return d;if(r.__sentry_skip_normalization__)return r;let f="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:a;if(0===f)return d.replace("object ","");if(u(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,f-1,s,l)}catch(e){}let p=Array.isArray(r)?[]:{},h=0,m=(0,i.Sh)(r);for(let t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(h>=s){p[t]="[MaxProperties ~]";break}let r=m[t];p[t]=e(t,r,f-1,s,l),h++}return c(r),p}("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},36722:function(e,t,r){"use strict";r.d(t,{$Q:function(){return c},HK:function(){return d},Jr:function(){return v},Sh:function(){return p},_j:function(){return f},hl:function(){return l},xp:function(){return u},zf:function(){return g}});var n=r(6830),i=r(84609),o=r(58394),a=r(91943),s=r(42587);function l(e,t,r){if(!(t in e))return;let n=e[t],i=r(n);"function"==typeof i&&c(i,n),e[t]=i}function u(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch(r){i.X&&a.kg.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function c(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,u(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function f(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function p(e){if((0,o.VZ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if(!(0,o.cO)(e))return e;{let t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...m(e)};return"undefined"!=typeof CustomEvent&&(0,o.V9)(e,CustomEvent)&&(t.detail=e.detail),t}}function h(e){try{return(0,o.kK)(e)?(0,n.Rt)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function m(e){if("object"!=typeof e||null===e)return{};{let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}function g(e,t=40){let r=Object.keys(p(e));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=t)return(0,s.$G)(r[0],t);for(let e=r.length;e>0;e--){let n=r.slice(0,e).join(", ");if(!(n.length>t)){if(e===r.length)return n;return(0,s.$G)(n,t)}}return""}function v(e){return function e(t,r){if(function(e){if(!(0,o.PO)(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let n=r.get(t);if(void 0!==n)return n;let i={};for(let n of(r.set(t,i),Object.keys(t)))void 0!==t[n]&&(i[n]=e(t[n],r));return i}if(Array.isArray(t)){let n=r.get(t);if(void 0!==n)return n;let i=[];return r.set(t,i),t.forEach(t=>{i.push(e(t,r))}),i}return t}(e,new Map)}},88611:function(e,t,r){"use strict";r.d(t,{Q:function(){return i}});var n=r(45140);function i(){return{traceId:(0,n.DM)(),spanId:(0,n.DM)().substring(16)}}},97110:function(e,t,r){"use strict";r.d(t,{$P:function(){return u},Fi:function(){return n},Sq:function(){return s},pE:function(){return a}});let n="?",i=/\(error: (.*)\)/,o=/captureMessage|captureException/;function a(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,a=0)=>{let s=[],l=e.split("\n");for(let e=r;e<l.length;e++){let r=l[e];if(r.length>1024)continue;let n=i.test(r)?r.replace(i,"$1"):r;if(!n.match(/\S*Error: /)){for(let e of t){let t=e(n);if(t){s.push(t);break}}if(s.length>=50+a)break}}return function(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),o.test(t[t.length-1].function||"")&&(t.pop(),o.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||n}))}(s.slice(a))}}function s(e){return Array.isArray(e)?a(...e):e}let l="<anonymous>";function u(e){try{if(!e||"function"!=typeof e)return l;return e.name||l}catch(e){return l}}},42587:function(e,t,r){"use strict";r.d(t,{$G:function(){return i},U0:function(){return a},nK:function(){return o}});var n=r(58394);function i(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let i=e[t];try{(0,n.y1)(i)?r.push("[VueViewModel]"):r.push(String(i))}catch(e){r.push("[value cannot be serialized]")}}return r.join(t)}function a(e,t=[],r=!1){return t.some(t=>(function(e,t,r=!1){return!!(0,n.HD)(e)&&((0,n.Kj)(t)?t.test(e):!!(0,n.HD)(t)&&(r?e===t:e.includes(t)))})(e,t,r))}},97378:function(e,t,r){"use strict";r.d(t,{$2:function(){return s},WD:function(){return a},cW:function(){return l}});var n,i,o=r(58394);function a(e){return new l(t=>{t(e)})}function s(e){return new l((t,r)=>{r(e)})}(n=i||(i={}))[n.PENDING=0]="PENDING",n[n.RESOLVED=1]="RESOLVED",n[n.REJECTED=2]="REJECTED";class l{constructor(e){l.prototype.__init.call(this),l.prototype.__init2.call(this),l.prototype.__init3.call(this),l.prototype.__init4.call(this),this._state=i.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new l((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new l((t,r)=>{let n,i;return this.then(t=>{i=!1,n=t,e&&e()},t=>{i=!0,n=t,e&&e()}).then(()=>{if(i){r(n);return}t(n)})})}__init(){this._resolve=e=>{this._setResult(i.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(i.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===i.PENDING){if((0,o.J8)(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===i.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===i.RESOLVED&&e[1](this._value),this._state===i.REJECTED&&e[2](this._value),e[0]=!0)})}}}},94542:function(e,t,r){"use strict";r.d(t,{Z1:function(){return a},ph:function(){return o},yW:function(){return i}});var n=r(86402);function i(){return Date.now()/1e3}let o=function(){let{performance:e}=n.GLOBAL_OBJ;if(!e||!e.now)return i;let t=Date.now()-e.now(),r=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(r+e.now())/1e3}(),a=(()=>{let{performance:e}=n.GLOBAL_OBJ;if(!e||!e.now)return;let t=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+t-r):36e5,o=e.timing&&e.timing.navigationStart,a="number"==typeof o?Math.abs(o+t-r):36e5;return i<36e5||a<36e5?i<=a?e.timeOrigin:o:r})()},89214:function(e,t,r){"use strict";r.d(t,{$p:function(){return s},pT:function(){return a}});var n=r(43214),i=r(45140);let o=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e,t){let r=function(e){let t;if(!e)return;let r=e.match(o);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}(e),a=(0,n.EN)(t),{traceId:s,parentSpanId:l,parentSampled:u}=r||{};return r?{traceId:s||(0,i.DM)(),parentSpanId:l||(0,i.DM)().substring(16),spanId:(0,i.DM)().substring(16),sampled:u,dsc:a||{}}:{traceId:s||(0,i.DM)(),spanId:(0,i.DM)().substring(16)}}function s(e=(0,i.DM)(),t=(0,i.DM)().substring(16),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}},99953:function(e,t,r){"use strict";r.d(t,{J:function(){return n}});let n="8.7.0"},86402:function(e,t,r){"use strict";r.d(t,{GLOBAL_OBJ:function(){return i},Y:function(){return o}});var n=r(99953);let i=globalThis;function o(e,t,r){let o=r||i,a=o.__SENTRY__=o.__SENTRY__||{},s=a[n.J]=a[n.J]||{};return s[e]||(s[e]=t())}},11354:function(e,t,r){"use strict";r.d(t,{PF:function(){return A},Vi:function(){return P}});var n={grad:.9,turn:360,rad:360/(2*Math.PI)},i=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},o=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},a=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},s=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},l=function(e){return{r:a(e.r,0,255),g:a(e.g,0,255),b:a(e.b,0,255),a:a(e.a)}},u=function(e){return{r:o(e.r),g:o(e.g),b:o(e.b),a:o(e.a,3)}},c=/^#([0-9a-f]{3,8})$/i,d=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},f=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=Math.max(t,r,n),a=o-Math.min(t,r,n),s=a?o===t?(r-n)/a:o===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:o?a/o*100:0,v:o/255*100,a:i}},p=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),a=n*(1-r),s=n*(1-(t-o)*r),l=n*(1-(1-t+o)*r),u=o%6;return{r:255*[n,s,a,a,l,n][u],g:255*[l,n,n,s,a,a][u],b:255*[a,a,l,n,n,s][u],a:i}},h=function(e){return{h:s(e.h),s:a(e.s,0,100),l:a(e.l,0,100),a:a(e.a)}},m=function(e){return{h:o(e.h),s:o(e.s),l:o(e.l),a:o(e.a,3)}},g=function(e){var t,r;return p((t=e.s,{h:e.h,s:(t*=((r=e.l)<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}))},v=function(e){var t,r,n,i;return{h:(t=f(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a}},y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,b=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,w=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,x={string:[[function(e){var t=c.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?o(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?o(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=w.exec(e)||_.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:l({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t,r,i=y.exec(e)||b.exec(e);return i?g(h({h:(t=i[1],void 0===(r=i[2])&&(r="deg"),Number(t)*(n[r]||1)),s:Number(i[3]),l:Number(i[4]),a:void 0===i[5]?1:Number(i[5])/(i[6]?100:1)})):null},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,o=e.a;return i(t)&&i(r)&&i(n)?l({r:Number(t),g:Number(r),b:Number(n),a:Number(void 0===o?1:o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,o=e.a;return i(t)&&i(r)&&i(n)?g(h({h:Number(t),s:Number(r),l:Number(n),a:Number(void 0===o?1:o)})):null},"hsl"],[function(e){var t,r=e.h,n=e.s,o=e.v,l=e.a;return i(r)&&i(n)&&i(o)?p({h:s((t={h:Number(r),s:Number(n),v:Number(o),a:Number(void 0===l?1:l)}).h),s:a(t.s,0,100),v:a(t.v,0,100),a:a(t.a)}):null},"hsv"]]},S=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},E=function(e,t){var r=v(e);return{h:r.h,s:a(r.s+100*t,0,100),l:r.l,a:r.a}},k=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},T=function(e,t){var r=v(e);return{h:r.h,s:r.s,l:a(r.l+100*t,0,100),a:r.a}},A=function(){function e(e){this.parsed=("string"==typeof e?S(e.trim(),x.string):"object"==typeof e&&null!==e?S(e,x.object):[null,void 0])[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return o(k(this.rgba),2)},e.prototype.isDark=function(){return .5>k(this.rgba)},e.prototype.isLight=function(){return k(this.rgba)>=.5},e.prototype.toHex=function(){var e,t,r,n,i,a;return t=(e=u(this.rgba)).r,r=e.g,n=e.b,a=(i=e.a)<1?d(o(255*i)):"","#"+d(t)+d(r)+d(n)+a},e.prototype.toRgb=function(){return u(this.rgba)},e.prototype.toRgbString=function(){var e,t,r,n,i;return t=(e=u(this.rgba)).r,r=e.g,n=e.b,(i=e.a)<1?"rgba("+t+", "+r+", "+n+", "+i+")":"rgb("+t+", "+r+", "+n+")"},e.prototype.toHsl=function(){return m(v(this.rgba))},e.prototype.toHslString=function(){var e,t,r,n,i;return t=(e=m(v(this.rgba))).h,r=e.s,n=e.l,(i=e.a)<1?"hsla("+t+", "+r+"%, "+n+"%, "+i+")":"hsl("+t+", "+r+"%, "+n+"%)"},e.prototype.toHsv=function(){var e;return{h:o((e=f(this.rgba)).h),s:o(e.s),v:o(e.v),a:o(e.a,3)}},e.prototype.invert=function(){var e;return P({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a})},e.prototype.saturate=function(e){return void 0===e&&(e=.1),P(E(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),P(E(this.rgba,-e))},e.prototype.grayscale=function(){return P(E(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),P(T(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),P(T(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){var t;return"number"==typeof e?P({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):o(this.rgba.a,3)},e.prototype.hue=function(e){var t=v(this.rgba);return"number"==typeof e?P({h:e,s:t.s,l:t.l,a:t.a}):o(t.h)},e.prototype.isEqual=function(e){return this.toHex()===P(e).toHex()},e}(),P=function(e){return e instanceof A?e:new A(e)}},70580:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return a}});var n=r(57852),i=r(76008).e,o=/<(![a-zA-Z\s]+)>/;function a(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,r=e.match(o);return r&&r[1]&&(t=r[1]),i(n(e),null,t)}},16309:function(e,t,r){"use strict";r.d(t,{zt:function(){return y},cn:function(){return b},KO:function(){return _},b9:function(){return w}});var n=r(92379);let i=0,o=Symbol(),a=e=>!!e[o],s=e=>!e[o].c,l=e=>{var t;let{b:r,c:n}=e[o];n&&(n(),null==(t=f.get(r))||t())},u=(e,t)=>{let r=e[o].o,n=t[o].o;return r===n||e===n||a(r)&&u(r,t)},c=(e,t)=>{let r={b:e,o:t,c:null},n=new Promise(e=>{r.c=()=>{r.c=null,e()},t.finally(r.c)});return n[o]=r,n},d=e=>c(e[o].b,e[o].o),f=new WeakMap,p=e=>"init"in e,h=e=>{let t,r;let n=new WeakMap,i=new WeakMap,o=new Map;if(t=new Set,r=new Set,e)for(let[t,r]of e){let e={v:r,r:0,y:!0,d:new Map};Object.freeze(e),p(t)||console.warn("Found initial value for derived atom which can cause unexpected behavior",t),n.set(t,e)}let f=new WeakMap,h=(e,t,r)=>{let n=f.get(t);n||(n=new Map,f.set(t,n)),r.then(()=>{n.get(e)!==r||(n.delete(e),n.size||f.delete(t))}),n.set(e,r)},m=e=>{let t=new Set,r=f.get(e);return r&&(f.delete(e),r.forEach((e,r)=>{l(e),t.add(r)})),t},g=new WeakMap,v=e=>{let t=g.get(e);return t||(t=new Map,g.set(e,t)),t},y=(e,t)=>{if(e){let r=v(e),n=r.get(t);return!n&&((n=y(e.p,t))&&"p"in n&&s(n.p)&&(n=void 0),n&&r.set(t,n)),n}return n.get(t)},b=(e,t,r)=>{if(Object.freeze(r),e)v(e).set(t,r);else{let e=n.get(t);n.set(t,r),o.has(t)||o.set(t,e)}},w=(e,t=new Map,r)=>{if(!r)return t;let n=new Map,i=!1;return(r.forEach(r=>{var o;let a=(null==(o=y(e,r))?void 0:o.r)||0;n.set(r,a),t.get(r)!==a&&(i=!0)}),t.size!==n.size||i)?n:t},_=(e,t,r,n,i)=>{let o=y(e,t);if(o){if(i&&(!("p"in o)||!u(o.p,i)))return o;"p"in o&&l(o.p)}let a={v:r,r:(null==o?void 0:o.r)||0,y:!0,d:w(e,null==o?void 0:o.d,n)},s=!(null==o?void 0:o.y);return(o&&"v"in o&&Object.is(o.v,r)?a.d===o.d||a.d.size===o.d.size&&Array.from(a.d.keys()).every(e=>o.d.has(e))||(s=!0,Promise.resolve().then(()=>{D(e)})):(s=!0,++a.r,a.d.has(t)&&(a.d=new Map(a.d).set(t,a.r))),o&&!s)?o:(b(e,t,a),a)},x=(e,t,r,n,i)=>{let o=y(e,t);if(o){if(i&&(!("p"in o)||!u(o.p,i)))return o;"p"in o&&l(o.p)}let a={e:r,r:((null==o?void 0:o.r)||0)+1,y:!0,d:w(e,null==o?void 0:o.d,n)};return b(e,t,a),a},S=(e,t,r,n)=>{let i=y(e,t);if(i&&"p"in i){if(u(i.p,r)&&!s(i.p))return i.y?i:{...i,y:!0};l(i.p)}h(e,t,r);let o={p:r,r:((null==i?void 0:i.r)||0)+1,y:!0,d:w(e,null==i?void 0:i.d,n)};return b(e,t,o),o},E=(e,t,r,n)=>{if(r instanceof Promise){let i=c(r,r.then(r=>{_(e,t,r,n,i)}).catch(r=>{if(r instanceof Promise)return a(r)?r.then(()=>{T(e,t,!0)}):r;x(e,t,r,n,i)}));return S(e,t,i,n)}return _(e,t,r,n)},k=(e,t)=>{let r=y(e,t);r?b(e,t,{...r,y:!1}):console.warn("[Bug] could not invalidate non existing atom",t)},T=(e,t,r)=>{if(!r){let r=y(e,t);if(r){if(r.y&&"p"in r&&!s(r.p))return r;if(r.d.forEach((r,n)=>{if(n!==t){if(i.has(n)){let t=y(e,n);t&&!t.y&&T(e,n)}else T(e,n)}}),Array.from(r.d).every(([t,r])=>{let n=y(e,t);return n&&!("p"in n)&&n.r===r}))return r.y?r:{...r,y:!0}}}let n=new Set;try{let r=t.read(r=>{n.add(r);let i=r===t?y(e,r):T(e,r);if(i){if("e"in i)throw i.e;if("p"in i)throw i.p;return i.v}if(p(r))return r.init;throw Error("no atom init")});return E(e,t,r,n)}catch(r){if(r instanceof Promise)return S(e,t,a(r)&&s(r)?d(r):c(r,r),n);return x(e,t,r,n)}},A=(e,t)=>{let r=i.get(t);return r||(r=L(e,t)),r},P=(e,t)=>!t.l.size&&(!t.t.size||1===t.t.size&&t.t.has(e)),O=(e,t)=>{let r=i.get(t);r&&P(t,r)&&R(e,t)},j=(e,t)=>{let r=i.get(t);null==r||r.t.forEach(r=>{r!==t&&(k(e,r),j(e,r))})},C=(e,t,r)=>{let n=!0,i=(t,r)=>{let n=T(e,t);if("e"in n)throw n.e;if("p"in n){if(null==r?void 0:r.unstable_promise)return n.p.then(()=>{let o=y(e,t);return o&&"p"in o&&o.p===n.p?new Promise(e=>setTimeout(e)).then(()=>i(t,r)):i(t,r)});throw console.info("Reading pending atom state in write operation. We throw a promise for now.",t),n.p}if("v"in n)return n.v;throw console.warn("[Bug] no value found while reading atom in write operation. This is probably a bug.",t),Error("no value found")},o=t.write(i,(r,i)=>{let o;if(r===t){if(!p(r))throw Error("atom not writable");m(r).forEach(t=>{t!==e&&E(t,r,i)}),y(e,r)!==E(e,r,i)&&j(e,r)}else o=C(e,r,i);return n||D(e),o},r);return n=!1,o},M=(e,t,r)=>{let n=C(r,e,t);return D(r),n},N=e=>!!e.write,L=(e,t,n)=>{let o={t:new Set(n&&[n]),l:new Set};if(i.set(t,o),r.add(t),T(void 0,t).d.forEach((r,n)=>{let o=i.get(n);o?o.t.add(t):n!==t&&L(e,n,t)}),N(t)&&t.onMount){let r=t.onMount(r=>M(t,r,e));e=void 0,r&&(o.u=r)}return o},R=(e,t)=>{var n;let o=null==(n=i.get(t))?void 0:n.u;o&&o(),i.delete(t),r.delete(t);let a=y(e,t);a?("p"in a&&l(a.p),a.d.forEach((r,n)=>{if(n!==t){let r=i.get(n);r&&(r.t.delete(t),P(n,r)&&R(e,n))}})):console.warn("[Bug] could not find atom state to unmount",t)},I=(e,t,r,n)=>{let o=new Set(r.d.keys());null==n||n.forEach((r,n)=>{if(o.has(n)){o.delete(n);return}let a=i.get(n);a&&(a.t.delete(t),P(n,a)&&R(e,n))}),o.forEach(r=>{let n=i.get(r);n?n.t.add(t):i.has(t)&&L(e,r,t)})},D=e=>{if(e){v(e).forEach((t,r)=>{if(t!==n.get(r)){let t=i.get(r);null==t||t.l.forEach(t=>t(e))}});return}for(;o.size;){let e=Array.from(o);o.clear(),e.forEach(([e,t])=>{let r=y(void 0,e);if(r&&r.d!==(null==t?void 0:t.d)&&I(void 0,e,r,null==t?void 0:t.d),t&&!t.y&&(null==r?void 0:r.y))return;let n=i.get(e);null==n||n.l.forEach(e=>e())})}t.forEach(e=>e())},F=e=>{v(e).forEach((t,r)=>{let i=n.get(r);(!i||t.r>i.r||t.y!==i.y||t.r===i.r&&t.d!==i.d)&&(n.set(r,t),t.d!==(null==i?void 0:i.d)&&I(e,r,t,null==i?void 0:i.d))})};return{r:(e,t)=>T(t,e),w:M,c:(e,t)=>{t&&F(t),D(void 0)},s:(e,t,r)=>{let n=A(r,e).l;return n.add(t),()=>{n.delete(t),O(r,e)}},h:(e,t)=>{for(let[r,n]of e)p(r)&&(E(t,r,n),j(t,r));D(t)},n:e=>(t.add(e),()=>{t.delete(e)}),l:()=>r.values(),a:e=>n.get(e),m:e=>i.get(e)}},m=(e,t)=>({s:t?t(e).SECRET_INTERNAL_store:h(e)}),g=new Map,v=e=>(g.has(e)||g.set(e,(0,n.createContext)(m())),g.get(e)),y=({children:e,initialValues:t,scope:r,unstable_createStore:i,unstable_enableVersionedWrite:o})=>{let[a,s]=(0,n.useState)({});(0,n.useEffect)(()=>{let e=l.current;e.w&&(e.s.c(null,a),delete a.p,e.v=a)},[a]);let l=(0,n.useRef)();if(!l.current){let e=m(t,i);if(o){let t=0;e.w=e=>{s(r=>{let n=t?r:{p:r};return e(n),n})},e.v=a,e.r=e=>{++t,e(),--t}}l.current=e}let u=v(r);return(0,n.createElement)(u.Provider,{value:l.current},e)};function b(e,t){return function(e,t){let r=`atom${++i}`,n={toString:()=>r};return"function"==typeof e?n.read=e:(n.init=e,n.read=e=>e(n),n.write=(e,t,r)=>t(n,"function"==typeof r?r(e(n)):r)),t&&(n.write=t),n}(e,t)}function w(e,t){let r=v(t),{s:i,w:o}=(0,n.useContext)(r);return(0,n.useCallback)(t=>{if(!("write"in e))throw Error("not writable atom");let r=r=>i.w(e,t,r);return o?o(r):r()},[i,o,e])}function _(e,t){return"scope"in e&&(console.warn("atom.scope is deprecated. Please do useAtom(atom, scope) instead."),t=e.scope),[function(e,t){let r=v(t),i=(0,n.useContext)(r),{s:o,v:a}=i,s=t=>{let r=o.r(e,t);if(!r.y)throw Error("should not be invalidated");if("e"in r)throw r.e;if("p"in r)throw r.p;if("v"in r)return r.v;throw Error("no atom value")},[[l,u,c],d]=(0,n.useReducer)((t,r)=>{let n=s(r);return Object.is(t[1],n)&&t[2]===e?t:[r,n,e]},a,t=>{let r=s(t);return[t,r,e]}),f=u;return c!==e&&(d(l),f=s(l)),(0,n.useEffect)(()=>{let{v:t}=i;t&&o.c(e,t);let r=o.s(e,d,t);return d(t),r},[o,e,i]),(0,n.useEffect)(()=>{o.c(e,l)}),(0,n.useDebugValue)(f),f}(e,t),w(e,t)]}},41718:function(e,t){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var n=function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=t.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},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:"/"});t.Z=n},22551:function(e,t,r){"use strict";r.d(t,{F:function(){return u},f:function(){return c}});var n=r(92379),i=["light","dark"],o="(prefers-color-scheme: dark)",a="undefined"==typeof window,s=n.createContext(void 0),l={setTheme:e=>{},themes:[]},u=()=>{var e;return null!=(e=n.useContext(s))?e:l},c=e=>n.useContext(s)?e.children:n.createElement(f,{...e}),d=["light","dark"],f=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:a=!0,storageKey:l="theme",themes:u=d,defaultTheme:c=r?"system":"light",attribute:f="data-theme",value:v,children:y,nonce:b})=>{let[w,_]=n.useState(()=>h(l,c)),[x,S]=n.useState(()=>h(l)),E=v?Object.values(v):u,k=n.useCallback(e=>{let n=e;if(!n)return;"system"===e&&r&&(n=g());let o=v?v[n]:n,s=t?m():null,l=document.documentElement;if("class"===f?(l.classList.remove(...E),o&&l.classList.add(o)):o?l.setAttribute(f,o):l.removeAttribute(f),a){let e=i.includes(c)?c:null,t=i.includes(n)?n:e;l.style.colorScheme=t}null==s||s()},[]),T=n.useCallback(e=>{let t="function"==typeof e?e(e):e;_(t);try{localStorage.setItem(l,t)}catch(e){}},[e]),A=n.useCallback(t=>{S(g(t)),"system"===w&&r&&!e&&k("system")},[w,e]);n.useEffect(()=>{let e=window.matchMedia(o);return e.addListener(A),A(e),()=>e.removeListener(A)},[A]),n.useEffect(()=>{let e=e=>{e.key===l&&T(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[T]),n.useEffect(()=>{k(null!=e?e:w)},[e,w]);let P=n.useMemo(()=>({theme:w,setTheme:T,forcedTheme:e,resolvedTheme:"system"===w?x:w,themes:r?[...u,"system"]:u,systemTheme:r?x:void 0}),[w,T,e,x,r,u]);return n.createElement(s.Provider,{value:P},n.createElement(p,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:r,enableColorScheme:a,storageKey:l,themes:u,defaultTheme:c,attribute:f,value:v,children:y,attrs:E,nonce:b}),y)},p=n.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:a,enableColorScheme:s,defaultTheme:l,value:u,attrs:c,nonce:d})=>{let f="system"===l,p="class"===r?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${r}',s='setAttribute';`,h=s?(i.includes(l)?l:null)?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(e,t=!1,n=!0)=>{let o=u?u[e]:e,a=t?e+"|| ''":`'${o}'`,l="";return s&&n&&!t&&i.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===r?t||o?l+=`c.add(${a})`:l+="null":o&&(l+=`d[s](n,${a})`),l},g=e?`!function(){${p}${m(e)}}()`:a?`!function(){try{${p}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${f})){var t='${o}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}${f?"":"else{"+m(l,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${p}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}else{${m(l,!1,!1)};}${h}}catch(t){}}();`;return n.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:g}})}),h=(e,t)=>{let r;if(!a){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},m=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},g=e=>(e||(e=window.matchMedia(o)),e.matches?"dark":"light")},48612:function(e,t,r){"use strict";let n,i,o,a,s,l,u,c,d,f,p,h,m,g;r.d(t,{V:function(){return eI}});var v,y,b,w=r(92379),_=r.t(w,2),x=r(22135),S=r(32846),E=r(49714);function k(e,t,r,n){let i=(0,E.E)(r);(0,w.useEffect)(()=>{function r(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)},[e,t,n])}var T=r(9616),A=r(41847);function P(e){let t=(0,S.z)(e),r=(0,w.useRef)(!1);(0,w.useEffect)(()=>(r.current=!1,()=>{r.current=!0,(0,A.Y)(()=>{r.current&&t()})}),[t])}var O=r(73379);function j(e){return O.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function C(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,w.useMemo)(()=>j(...t),[...t])}var M=r(56227),N=r(6426);function L(e,t,r){let n=(0,E.E)(t);(0,w.useEffect)(()=>{function t(e){n.current(e)}return window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r)},[e,r])}var R=((n=R||{})[n.Forwards=0]="Forwards",n[n.Backwards=1]="Backwards",n);function I(e,t){let r=(0,w.useRef)([]),n=(0,S.z)(e);(0,w.useEffect)(()=>{let e=[...r.current];for(let[i,o]of t.entries())if(r.current[i]!==o){let i=n(t,e);return r.current=t,i}},[n,...t])}var D=r(1246),F=((i=F||{})[i.None=1]="None",i[i.Focusable=2]="Focusable",i[i.Hidden=4]="Hidden",i);let B=(0,D.yV)(function(e,t){var r;let{features:n=1,...i}=e,o={ref:t,"aria-hidden":(2&n)==2||(null!=(r=i["aria-hidden"])?r:void 0),style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,D.sY)({ourProps:o,theirProps:i,slot:{},defaultTag:"div",name:"Hidden"})}),U=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&U[0]!==e.target&&(U.unshift(e.target),(U=U.filter(e=>null!=e&&e.isConnected)).splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var z=r(15388);let $=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var H=((o=H||{})[o.First=1]="First",o[o.Previous=2]="Previous",o[o.Next=4]="Next",o[o.Last=8]="Last",o[o.WrapAround=16]="WrapAround",o[o.NoScroll=32]="NoScroll",o),G=((a=G||{})[a.Error=0]="Error",a[a.Overflow=1]="Overflow",a[a.Success=2]="Success",a[a.Underflow=3]="Underflow",a),V=((s=V||{})[s.Previous=-1]="Previous",s[s.Next=1]="Next",s),q=((l=q||{})[l.Strict=0]="Strict",l[l.Loose=1]="Loose",l),W=((u=W||{})[u.Keyboard=0]="Keyboard",u[u.Mouse=1]="Mouse",u);function Y(e){null==e||e.focus({preventScroll:!0})}function X(e,t){var r,n,i;let{sorted:o=!0,relativeTo:a=null,skipElements:s=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?o?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,r)=>{let n=t(e),i=t(r);if(null===n||null===i)return 0;let o=n.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(e):e:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll($)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e);s.length>0&&u.length>1&&(u=u.filter(e=>!s.includes(e))),a=null!=a?a:l.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(a))-1;if(4&t)return Math.max(0,u.indexOf(a))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,h=u.length,m;do{if(p>=h||p+h<=0)return 0;let e=d+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}null==(m=u[e])||m.focus(f),p+=c}while(m!==l.activeElement);return 6&t&&null!=(i=null==(n=null==(r=m)?void 0:r.matches)?void 0:n.call(r,"textarea,input"))&&i&&m.select(),2}function Z(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));var J=((c=J||{})[c.None=1]="None",c[c.InitialFocus=2]="InitialFocus",c[c.TabLock=4]="TabLock",c[c.FocusLock=8]="FocusLock",c[c.RestoreFocus=16]="RestoreFocus",c[c.All=30]="All",c);let K=Object.assign((0,D.yV)(function(e,t){let r,n=(0,w.useRef)(null),i=(0,N.T)(n,t),{initialFocus:o,containers:a,features:s=30,...l}=e;(0,M.H)()||(s=1);let u=C(n);(function(e,t){let{ownerDocument:r}=e,n=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,w.useRef)(U.slice());return I((e,r)=>{let[n]=e,[i]=r;!0===i&&!1===n&&(0,A.Y)(()=>{t.current.splice(0)}),!1===i&&!0===n&&(t.current=U.slice())},[e,U,t]),(0,S.z)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(t);I(()=>{t||(null==r?void 0:r.activeElement)===(null==r?void 0:r.body)&&Y(n())},[t]),P(()=>{t&&Y(n())})})({ownerDocument:u},!!(16&s));let c=function(e,t){let{ownerDocument:r,container:n,initialFocus:i}=e,o=(0,w.useRef)(null),a=(0,T.t)();return I(()=>{if(!t)return;let e=n.current;e&&(0,A.Y)(()=>{if(!a.current)return;let t=null==r?void 0:r.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===t){o.current=t;return}}else if(e.contains(t)){o.current=t;return}null!=i&&i.current?Y(i.current):X(e,H.First)===G.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),o.current=null==r?void 0:r.activeElement})},[t]),o}({ownerDocument:u,container:n,initialFocus:o},!!(2&s));(function(e,t){let{ownerDocument:r,container:n,containers:i,previousActiveElement:o}=e,a=(0,T.t)();k(null==r?void 0:r.defaultView,"focus",e=>{if(!t||!a.current)return;let r=Z(i);n.current instanceof HTMLElement&&r.add(n.current);let s=o.current;if(!s)return;let l=e.target;l&&l instanceof HTMLElement?Q(r,l)?(o.current=l,Y(l)):(e.preventDefault(),e.stopPropagation(),Y(s)):Y(o.current)},!0)})({ownerDocument:u,container:n,containers:a,previousActiveElement:c},!!(8&s));let d=(r=(0,w.useRef)(0),L("keydown",e=>{"Tab"===e.key&&(r.current=e.shiftKey?1:0)},!0),r),f=(0,S.z)(e=>{let t=n.current;t&&(0,z.E)(d.current,{[R.Forwards]:()=>{X(t,H.First,{skipElements:[e.relatedTarget]})},[R.Backwards]:()=>{X(t,H.Last,{skipElements:[e.relatedTarget]})}})}),p=(0,x.G)(),h=(0,w.useRef)(!1);return w.createElement(w.Fragment,null,!!(4&s)&&w.createElement(B,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:F.Focusable}),(0,D.sY)({ourProps:{ref:i,onKeyDown(e){"Tab"==e.key&&(h.current=!0,p.requestAnimationFrame(()=>{h.current=!1}))},onBlur(e){let t=Z(a);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(Q(t,r)||(h.current?X(n.current,(0,z.E)(d.current,{[R.Forwards]:()=>H.Next,[R.Backwards]:()=>H.Previous})|H.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&Y(e.target)))}},theirProps:l,defaultTag:"div",name:"FocusTrap"}),!!(4&s)&&w.createElement(B,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:F.Focusable}))}),{features:J});function Q(e,t){for(let r of e)if(r.contains(t))return!0;return!1}var ee=r(95295),et=r(48968);let er=(0,w.createContext)(!1);function en(e){return w.createElement(er.Provider,{value:e.force},e.children)}let ei=w.Fragment,eo=w.Fragment,ea=(0,w.createContext)(null),es=(0,w.createContext)(null),el=Object.assign((0,D.yV)(function(e,t){let r=(0,w.useRef)(null),n=(0,N.T)((0,N.h)(e=>{r.current=e}),t),i=C(r),o=function(e){let t=(0,w.useContext)(er),r=(0,w.useContext)(ea),n=C(e),[i,o]=(0,w.useState)(()=>{if(!t&&null!==r||O.O.isServer)return null;let e=null==n?void 0:n.getElementById("headlessui-portal-root");if(e)return e;if(null===n)return null;let i=n.createElement("div");return i.setAttribute("id","headlessui-portal-root"),n.body.appendChild(i)});return(0,w.useEffect)(()=>{null!==i&&(null!=n&&n.body.contains(i)||null==n||n.body.appendChild(i))},[i,n]),(0,w.useEffect)(()=>{t||null!==r&&o(r.current)},[r,o,t]),i}(r),[a]=(0,w.useState)(()=>{var e;return O.O.isServer?null:null!=(e=null==i?void 0:i.createElement("div"))?e:null}),s=(0,w.useContext)(es),l=(0,M.H)();return(0,et.e)(()=>{!o||!a||o.contains(a)||(a.setAttribute("data-headlessui-portal",""),o.appendChild(a))},[o,a]),(0,et.e)(()=>{if(a&&s)return s.register(a)},[s,a]),P(()=>{var e;o&&a&&(a instanceof Node&&o.contains(a)&&o.removeChild(a),o.childNodes.length<=0&&(null==(e=o.parentElement)||e.removeChild(o)))}),l&&o&&a?(0,ee.createPortal)((0,D.sY)({ourProps:{ref:n},theirProps:e,defaultTag:ei,name:"Portal"}),a):null}),{Group:(0,D.yV)(function(e,t){let{target:r,...n}=e,i={ref:(0,N.T)(t)};return w.createElement(ea.Provider,{value:r},(0,D.sY)({ourProps:i,theirProps:n,defaultTag:eo,name:"Popover.Group"}))})}),{useState:eu,useEffect:ec,useLayoutEffect:ed,useDebugValue:ef}=_;void 0!==window.document&&window.document.createElement;let ep=_.useSyncExternalStore;var eh=r(25233);function em(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}let eg=(v=()=>new Map,y={PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:(0,eh.k)(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT(e){let t,{doc:r,d:n,meta:i}=e,o={doc:r,d:n,meta:function(e){let t={};for(let r of e)Object.assign(t,r(t));return t}(i)},a=[em()?{before(e){let{doc:t,d:r,meta:n}=e;function i(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}r.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,eh.k)();e.style(t.documentElement,"scrollBehavior","auto"),r.add(()=>r.microTask(()=>e.dispose()))}let n=null!=(e=window.scrollY)?e:window.pageYOffset,o=null;r.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let r=e.target.closest("a");if(!r)return;let{hash:n}=new URL(r.href),a=t.querySelector(n);a&&!i(a)&&(o=a)}catch(e){}},!0),r.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement){if(i(e.target)){let t=e.target;for(;t.parentElement&&i(t.parentElement);)t=t.parentElement;r.style(t,"overscrollBehavior","contain")}else r.style(e.target,"touchAction","none")}}),r.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement){if(i(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),r.add(()=>{var e;n!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,n),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{},{before(e){var r;let{doc:n}=e,i=n.documentElement;t=(null!=(r=n.defaultView)?r:window).innerWidth-i.clientWidth},after(e){let{doc:r,d:n}=e,i=r.documentElement,o=i.clientWidth-i.offsetWidth,a=t-o;n.style(i,"paddingRight","".concat(a,"px"))}},{before(e){let{doc:t,d:r}=e;r.style(t.documentElement,"overflow","hidden")}}];a.forEach(e=>{let{before:t}=e;return null==t?void 0:t(o)}),a.forEach(e=>{let{after:t}=e;return null==t?void 0:t(o)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}},d=v(),f=new Set,{getSnapshot:()=>d,subscribe:e=>(f.add(e),()=>f.delete(e)),dispatch(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];let i=y[e].call(d,...r);i&&(d=i,f.forEach(e=>e()))}});eg.subscribe(()=>{let e=eg.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&eg.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&eg.dispatch("TEARDOWN",r)}});let ev=null!=(b=w.useId)?b:function(){let e=(0,M.H)(),[t,r]=w.useState(e?()=>O.O.nextId():null);return(0,et.e)(()=>{null===t&&r(O.O.nextId())},[t]),null!=t?""+t:void 0},ey=new Map,eb=new Map;function ew(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,et.e)(()=>{var r;if(!t)return;let n="function"==typeof e?e():e.current;if(!n)return;let i=null!=(r=eb.get(n))?r:0;return eb.set(n,i+1),0!==i||(ey.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0),function(){var e;if(!n)return;let t=null!=(e=eb.get(n))?e:1;if(1===t?eb.delete(n):eb.set(n,t-1),1!==t)return;let r=ey.get(n);r&&(null===r["aria-hidden"]?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",r["aria-hidden"]),n.inert=r.inert,ey.delete(n))}},[e,t])}function e_(e,t,r){let n=(0,E.E)(t);(0,w.useEffect)(()=>{function t(e){n.current(e)}return document.addEventListener(e,t,r),()=>document.removeEventListener(e,t,r)},[e,r])}var ex=r(93981);let eS=(0,w.createContext)(()=>{});eS.displayName="StackContext";var eE=((p=eE||{})[p.Add=0]="Add",p[p.Remove=1]="Remove",p);function ek(e){let{children:t,onUpdate:r,type:n,element:i,enabled:o}=e,a=(0,w.useContext)(eS),s=(0,S.z)(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];null==r||r(...t),a(...t)});return(0,et.e)(()=>{let e=void 0===o||!0===o;return e&&s(0,n,i),()=>{e&&s(1,n,i)}},[s,n,i,o]),w.createElement(eS.Provider,{value:s},t)}let eT=(0,w.createContext)(null),eA=Object.assign((0,D.yV)(function(e,t){let r=ev(),{id:n="headlessui-description-".concat(r),...i}=e,o=function e(){let t=(0,w.useContext)(eT);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),a=(0,N.T)(t);(0,et.e)(()=>o.register(n),[n,o.register]);let s={ref:a,...o.props,id:n};return(0,D.sY)({ourProps:s,theirProps:i,slot:o.slot||{},defaultTag:"p",name:o.name||"Description"})}),{});var eP=((h=eP||{}).Space=" ",h.Enter="Enter",h.Escape="Escape",h.Backspace="Backspace",h.Delete="Delete",h.ArrowLeft="ArrowLeft",h.ArrowUp="ArrowUp",h.ArrowRight="ArrowRight",h.ArrowDown="ArrowDown",h.Home="Home",h.End="End",h.PageUp="PageUp",h.PageDown="PageDown",h.Tab="Tab",h),eO=((m=eO||{})[m.Open=0]="Open",m[m.Closed=1]="Closed",m),ej=((g=ej||{})[g.SetTitleId=0]="SetTitleId",g);let eC={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},eM=(0,w.createContext)(null);function eN(e){let t=(0,w.useContext)(eM);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eN),t}return t}function eL(e,t){return(0,z.E)(t.type,eC,e,t)}eM.displayName="DialogContext";let eR=D.AN.RenderStrategy|D.AN.Static,eI=Object.assign((0,D.yV)(function(e,t){let r,n,i,o,a,s=ev(),{id:l="headlessui-dialog-".concat(s),open:u,onClose:c,initialFocus:d,role:f="dialog",__demoMode:p=!1,...h}=e,[m,g]=(0,w.useState)(0),v=(0,w.useRef)(!1);f="dialog"===f||"alertdialog"===f?f:(v.current||(v.current=!0,console.warn("Invalid role [".concat(f,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let y=(0,ex.oJ)();void 0===u&&null!==y&&(u=(y&ex.ZM.Open)===ex.ZM.Open);let b=(0,w.useRef)(null),_=(0,N.T)(b,t),x=C(b),E=e.hasOwnProperty("open")||null!==y,T=e.hasOwnProperty("onClose");if(!E&&!T)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!E)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!T)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof u)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(u));if("function"!=typeof c)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(c));let A=u?0:1,[P,O]=(0,w.useReducer)(eL,{titleId:null,descriptionId:null,panelRef:(0,w.createRef)()}),R=(0,S.z)(()=>c(!1)),I=(0,S.z)(e=>O({type:0,id:e})),U=!!(0,M.H)()&&!p&&0===A,H=m>1,G=null!==(0,w.useContext)(eM),[V,W]=(r=(0,w.useContext)(es),n=(0,w.useRef)([]),i=(0,S.z)(e=>(n.current.push(e),r&&r.register(e),()=>o(e))),o=(0,S.z)(e=>{let t=n.current.indexOf(e);-1!==t&&n.current.splice(t,1),r&&r.unregister(e)}),a=(0,w.useMemo)(()=>({register:i,unregister:o,portals:n}),[i,o,n]),[n,(0,w.useMemo)(()=>function(e){let{children:t}=e;return w.createElement(es.Provider,{value:a},t)},[a])]),{resolveContainers:Y,mainTreeNodeRef:X,MainTreeNode:Z}=function(){var e;let{defaultContainers:t=[],portals:r,mainTreeNodeRef:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,w.useRef)(null!=(e=null==n?void 0:n.current)?e:null),o=C(i),a=(0,S.z)(()=>{var e,n,a;let s=[];for(let e of t)null!==e&&(e instanceof HTMLElement?s.push(e):"current"in e&&e.current instanceof HTMLElement&&s.push(e.current));if(null!=r&&r.current)for(let e of r.current)s.push(e);for(let t of null!=(e=null==o?void 0:o.querySelectorAll("html > *, body > *"))?e:[])t!==document.body&&t!==document.head&&t instanceof HTMLElement&&"headlessui-portal-root"!==t.id&&(t.contains(i.current)||t.contains(null==(a=null==(n=i.current)?void 0:n.getRootNode())?void 0:a.host)||s.some(e=>t.contains(e))||s.push(t));return s});return{resolveContainers:a,contains:(0,S.z)(e=>a().some(t=>t.contains(e))),mainTreeNodeRef:i,MainTreeNode:(0,w.useMemo)(()=>function(){return null!=n?null:w.createElement(B,{features:F.Hidden,ref:i})},[i,n])}}({portals:V,defaultContainers:[{get current(){var J;return null!=(J=P.panelRef.current)?J:b.current}}]}),Q=null!==y&&(y&ex.ZM.Closing)===ex.ZM.Closing,ee=!G&&!Q&&U;ew((0,w.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==x?void 0:x.querySelectorAll("body > *"))?e:[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains(X.current)&&e instanceof HTMLElement))?t:null},[X]),ee);let er=!!H||U;ew((0,w.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==x?void 0:x.querySelectorAll("[data-headlessui-portal]"))?e:[]).find(e=>e.contains(X.current)&&e instanceof HTMLElement))?t:null},[X]),er),function(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,w.useRef)(!1);function i(r,i){if(!n.current||r.defaultPrevented)return;let o=i(r);if(null!==o&&o.getRootNode().contains(o)&&o.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(o)||r.composed&&r.composedPath().includes(e))return}return!function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=j(e))?void 0:t.body)&&(0,z.E)(r,{0:()=>e.matches($),1(){let t=e;for(;null!==t;){if(t.matches($))return!0;t=t.parentElement}return!1}})}(o,q.Loose)&&-1!==o.tabIndex&&r.preventDefault(),t(r,o)}}(0,w.useEffect)(()=>{requestAnimationFrame(()=>{n.current=r})},[r]);let o=(0,w.useRef)(null);e_("pointerdown",e=>{var t,r;n.current&&(o.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),e_("mousedown",e=>{var t,r;n.current&&(o.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),e_("click",e=>{em()||/Android/gi.test(window.navigator.userAgent)||o.current&&(i(e,()=>o.current),o.current=null)},!0),e_("touchend",e=>i(e,()=>e.target instanceof HTMLElement?e.target:null),!0),L("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}(Y,R,!(!U||H));let ei=!(H||0!==A);k(null==x?void 0:x.defaultView,"keydown",e=>{ei&&(e.defaultPrevented||e.key===eP.Escape&&(e.preventDefault(),e.stopPropagation(),R()))}),function(e,t){var r;let n,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];r=e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],o]}},n=ep(eg.subscribe,eg.getSnapshot,eg.getSnapshot),(i=e?n.get(e):void 0)&&i.count,(0,et.e)(()=>{if(!(!e||!t))return eg.dispatch("PUSH",e,r),()=>eg.dispatch("POP",e,r)},[t,e])}(x,!(Q||0!==A||G),Y),(0,w.useEffect)(()=>{if(0!==A||!b.current)return;let e=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&R()}});return e.observe(b.current),()=>e.disconnect()},[A,b,R]);let[eo,ea]=function(){let[e,t]=(0,w.useState)([]);return[e.length>0?e.join(" "):void 0,(0,w.useMemo)(()=>function(e){let r=(0,S.z)(e=>(t(t=>[...t,e]),()=>t(t=>{let r=t.slice(),n=r.indexOf(e);return -1!==n&&r.splice(n,1),r}))),n=(0,w.useMemo)(()=>({register:r,slot:e.slot,name:e.name,props:e.props}),[r,e.slot,e.name,e.props]);return w.createElement(eT.Provider,{value:n},e.children)},[t])]}(),eu=(0,w.useMemo)(()=>[{dialogState:A,close:R,setTitleId:I},P],[A,P,R,I]),ec=(0,w.useMemo)(()=>({open:0===A}),[A]),ed={ref:_,id:l,role:f,"aria-modal":0===A||void 0,"aria-labelledby":P.titleId,"aria-describedby":eo};return w.createElement(ek,{type:"Dialog",enabled:0===A,element:b,onUpdate:(0,S.z)((e,t)=>{"Dialog"===t&&(0,z.E)(e,{[eE.Add]:()=>g(e=>e+1),[eE.Remove]:()=>g(e=>e-1)})})},w.createElement(en,{force:!0},w.createElement(el,null,w.createElement(eM.Provider,{value:eu},w.createElement(el.Group,{target:b},w.createElement(en,{force:!1},w.createElement(ea,{slot:ec,name:"Dialog.Description"},w.createElement(K,{initialFocus:d,containers:Y,features:U?(0,z.E)(H?"parent":"leaf",{parent:K.features.RestoreFocus,leaf:K.features.All&~K.features.FocusLock}):K.features.None},w.createElement(W,null,(0,D.sY)({ourProps:ed,theirProps:h,slot:ec,defaultTag:"div",features:eR,visible:0===A,name:"Dialog"}))))))))),w.createElement(Z,null))}),{Backdrop:(0,D.yV)(function(e,t){let r=ev(),{id:n="headlessui-dialog-backdrop-".concat(r),...i}=e,[{dialogState:o},a]=eN("Dialog.Backdrop"),s=(0,N.T)(t);(0,w.useEffect)(()=>{if(null===a.panelRef.current)throw Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[a.panelRef]);let l=(0,w.useMemo)(()=>({open:0===o}),[o]);return w.createElement(en,{force:!0},w.createElement(el,null,(0,D.sY)({ourProps:{ref:s,id:n,"aria-hidden":!0},theirProps:i,slot:l,defaultTag:"div",name:"Dialog.Backdrop"})))}),Panel:(0,D.yV)(function(e,t){let r=ev(),{id:n="headlessui-dialog-panel-".concat(r),...i}=e,[{dialogState:o},a]=eN("Dialog.Panel"),s=(0,N.T)(t,a.panelRef),l=(0,w.useMemo)(()=>({open:0===o}),[o]),u=(0,S.z)(e=>{e.stopPropagation()});return(0,D.sY)({ourProps:{ref:s,id:n,onClick:u},theirProps:i,slot:l,defaultTag:"div",name:"Dialog.Panel"})}),Overlay:(0,D.yV)(function(e,t){let r=ev(),{id:n="headlessui-dialog-overlay-".concat(r),...i}=e,[{dialogState:o,close:a}]=eN("Dialog.Overlay"),s=(0,N.T)(t),l=(0,S.z)(e=>{if(e.target===e.currentTarget){if(function(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(null==t?void 0:t.getAttribute("disabled"))==="";return!(n&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),a()}}),u=(0,w.useMemo)(()=>({open:0===o}),[o]);return(0,D.sY)({ourProps:{ref:s,id:n,"aria-hidden":!0,onClick:l},theirProps:i,slot:u,defaultTag:"div",name:"Dialog.Overlay"})}),Title:(0,D.yV)(function(e,t){let r=ev(),{id:n="headlessui-dialog-title-".concat(r),...i}=e,[{dialogState:o,setTitleId:a}]=eN("Dialog.Title"),s=(0,N.T)(t);(0,w.useEffect)(()=>(a(n),()=>a(null)),[n,a]);let l=(0,w.useMemo)(()=>({open:0===o}),[o]);return(0,D.sY)({ourProps:{ref:s,id:n},theirProps:i,slot:l,defaultTag:"h2",name:"Dialog.Title"})}),Description:eA})},22135:function(e,t,r){"use strict";r.d(t,{G:function(){return o}});var n=r(92379),i=r(25233);function o(){let[e]=(0,n.useState)(i.k);return(0,n.useEffect)(()=>()=>e.dispose(),[e]),e}},32846:function(e,t,r){"use strict";r.d(t,{z:function(){return o}});var n=r(92379),i=r(49714);let o=function(e){let t=(0,i.E)(e);return n.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.current(...r)},[t])}},9616:function(e,t,r){"use strict";r.d(t,{t:function(){return o}});var n=r(92379),i=r(48968);function o(){let e=(0,n.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},48968:function(e,t,r){"use strict";r.d(t,{e:function(){return o}});var n=r(92379),i=r(73379);let o=(e,t)=>{i.O.isServer?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)}},49714:function(e,t,r){"use strict";r.d(t,{E:function(){return o}});var n=r(92379),i=r(48968);function o(e){let t=(0,n.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},56227:function(e,t,r){"use strict";r.d(t,{H:function(){return a}});var n,i=r(92379),o=r(73379);function a(){let e;let t=(e="undefined"==typeof document,(0,(n||(n=r.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[a,s]=i.useState(o.O.isHandoffComplete);return a&&!1===o.O.isHandoffComplete&&s(!1),i.useEffect(()=>{!0!==a&&s(!0)},[a]),i.useEffect(()=>o.O.handoff(),[]),!t&&a}},6426:function(e,t,r){"use strict";r.d(t,{T:function(){return s},h:function(){return a}});var n=r(92379),i=r(32846);let o=Symbol();function a(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[o]:t})}function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let a=(0,n.useRef)(t);(0,n.useEffect)(()=>{a.current=t},[t]);let s=(0,i.z)(e=>{for(let t of a.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[o]))?void 0:s}},93981:function(e,t,r){"use strict";let n;r.d(t,{ZM:function(){return a},oJ:function(){return s},up:function(){return l}});var i=r(92379);let o=(0,i.createContext)(null);o.displayName="OpenClosedContext";var a=((n=a||{})[n.Open=1]="Open",n[n.Closed=2]="Closed",n[n.Closing=4]="Closing",n[n.Opening=8]="Opening",n);function s(){return(0,i.useContext)(o)}function l(e){let{value:t,children:r}=e;return i.createElement(o.Provider,{value:t},r)}},39806:function(e,t,r){"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}r.d(t,{A:function(){return n}})},25233:function(e,t,r){"use strict";r.d(t,{k:function(){return function e(){let t=[],r={addEventListener:(e,t,n,i)=>(e.addEventListener(t,n,i),r.add(()=>e.removeEventListener(t,n,i))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i=requestAnimationFrame(...t);return r.add(()=>cancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.requestAnimationFrame(()=>r.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i=setTimeout(...t);return r.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let o={current:!0};return(0,n.Y)(()=>{o.current&&t[0]()}),r.add(()=>{o.current=!1})},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add(()=>{Object.assign(e.style,{[t]:n})})},group(t){let r=e();return t(r),this.add(()=>r.dispose())},add:e=>(t.push(e),()=>{let r=t.indexOf(e);if(r>=0)for(let e of t.splice(r,1))e()}),dispose(){for(let e of t.splice(0))e()}};return r}}});var n=r(41847)},73379:function(e,t,r){"use strict";r.d(t,{O:function(){return s}});var n=Object.defineProperty,i=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,o=(e,t,r)=>(i(e,"symbol"!=typeof t?t+"":t,r),r);class a{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}}let s=new a},15388:function(e,t,r){"use strict";function n(e,t){for(var r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(e in t){let r=t[e];return"function"==typeof r?r(...i):r}let a=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,n),a}r.d(t,{E:function(){return n}})},41847:function(e,t,r){"use strict";function n(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}r.d(t,{Y:function(){return n}})},1246:function(e,t,r){"use strict";let n,i;r.d(t,{AN:function(){return l},l4:function(){return u},sY:function(){return c},yV:function(){return h}});var o=r(92379),a=r(39806),s=r(15388),l=((n=l||{})[n.None=0]="None",n[n.RenderStrategy=1]="RenderStrategy",n[n.Static=2]="Static",n),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c(e){let{ourProps:t,theirProps:r,slot:n,defaultTag:i,features:o,visible:a=!0,name:l,mergeRefs:u}=e;u=null!=u?u:f;let c=p(r,t);if(a)return d(c,n,i,l,u);let h=null!=o?o:0;if(2&h){let{static:e=!1,...t}=c;if(e)return d(t,n,i,l,u)}if(1&h){let{unmount:e=!0,...t}=c;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,i,l,u)})}return d(c,n,i,l,u)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,{as:s=r,children:l,refName:u="ref",...c}=g(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},f="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let h={};if(t){let e=!1,r=[];for(let[n,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&r.push(n);e&&(h["data-headlessui-state"]=r.join(" "))}if(s===o.Fragment&&Object.keys(m(c)).length>0){if(!(0,o.isValidElement)(f)||Array.isArray(f)&&f.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(n,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(c).map(e=>"  - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>"  - ".concat(e)).join("\n")].join("\n"));let e=f.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return(0,a.A)(null==e?void 0:e.className(...r),c.className)}:(0,a.A)(null==e?void 0:e.className,c.className);return(0,o.cloneElement)(f,Object.assign({},p(f.props,m(g(c,["ref"]))),h,d,{ref:i(f.ref,d.ref)},t?{className:t}:{}))}return(0,o.createElement)(s,Object.assign({},g(c,["ref"]),s!==o.Fragment&&d,s!==o.Fragment&&h),f)}function f(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every(e=>null==e)?void 0:e=>{for(let r of t)null!=r&&("function"==typeof r?r(e):r.current=e)}}function p(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(0===t.length)return{};if(1===t.length)return t[0];let n={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):n[t]=e[t];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(i).map(e=>[e,void 0])));for(let e in i)Object.assign(n,{[e](t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];for(let r of i[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;r(t,...n)}}});return n}function h(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}},49127:function(e,t,r){"use strict";r.d(t,{c5:function(){return F},Ck:function(){return U},cj:function(){return $},Ho:function(){return B},Co:function(){return z},o1:function(){return V},Ru:function(){return G},FB:function(){return D},q5:function(){return X},Gw:function(){return Z}}),r(38774),new WeakMap;var n,i,o,a,s,l,u,c,d,f,p,h,m,g,v,y,b,w,_,x,S,E=function(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},k=function(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};i=new WeakMap,o=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,f=new WeakMap,new WeakMap,p=new WeakMap,h=new WeakMap,m=new WeakMap,new WeakMap,n=new WeakSet,g=function(){return k(this,o,"f")||k(this,a,"f")<k(this,s,"f")},v=function(){return k(this,p,"f")<k(this,h,"f")},y=function(){k(this,n,"m",x).call(this),k(this,n,"m",_).call(this),E(this,d,void 0,"f")},b=function(){let e=Date.now();if(void 0===k(this,c,"f")){let t=k(this,u,"f")-e;if(!(t<0))return void 0===k(this,d,"f")&&E(this,d,setTimeout(()=>{k(this,n,"m",y).call(this)},t),"f"),!0;E(this,a,k(this,i,"f")?k(this,p,"f"):0,"f")}return!1},w=function(){if(0===k(this,f,"f").size)return k(this,c,"f")&&clearInterval(k(this,c,"f")),E(this,c,void 0,"f"),this.emit("empty"),0===k(this,p,"f")&&this.emit("idle"),!1;if(!k(this,m,"f")){let e=!k(this,n,"a",b);if(k(this,n,"a",g)&&k(this,n,"a",v)){let t=k(this,f,"f").dequeue();return!!t&&(this.emit("active"),t(),e&&k(this,n,"m",_).call(this),!0)}}return!1},_=function(){k(this,o,"f")||void 0!==k(this,c,"f")||(E(this,c,setInterval(()=>{k(this,n,"m",x).call(this)},k(this,l,"f")),"f"),E(this,u,Date.now()+k(this,l,"f"),"f"))},x=function(){0===k(this,a,"f")&&0===k(this,p,"f")&&k(this,c,"f")&&(clearInterval(k(this,c,"f")),E(this,c,void 0,"f")),E(this,a,k(this,i,"f")?k(this,p,"f"):0,"f"),k(this,n,"m",S).call(this)},S=function(){for(;k(this,n,"m",w).call(this););};let T=(e,t,r,n)=>{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(A(i,o)||!n)&&Object.defineProperty(e,r,o)},A=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},P=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r)},O=(e,t)=>`/* Wrapped ${e}*/
${t}`,j=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),C=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),M=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=O.bind(null,n,t.toString());Object.defineProperty(i,"name",C),Object.defineProperty(e,"toString",{...j,value:i})};var N=r(64932);let L=new WeakMap,R=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),I=(e,{stripHash:t})=>{let r=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!r)throw Error(`Invalid URL: ${e}`);let{type:n,data:i,hash:o}=r.groups,a=n.split(";");o=t?"":o;let s=!1;"base64"===a[a.length-1]&&(a.pop(),s=!0);let l=(a.shift()||"").toLowerCase(),u=[...a.map(e=>{let[t,r=""]=e.split("=").map(e=>e.trim());return"charset"===t&&"us-ascii"===(r=r.toLowerCase())?"":`${t}${r?`=${r}`:""}`}).filter(Boolean)];return s&&u.push("base64"),(u.length>0||l&&"text/plain"!==l)&&u.unshift(l),`data:${u.join(";")},${s?i.trim():i}${o?`#${o}`:""}`};Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var D=e=>{var t;return e?Array.isArray(e)?null!=(t=null==e?void 0:e.reduce((e,t)=>e+("⁍"!==t[0]&&"‣"!==t[0]?t[0]:""),""))?t:"":e:""};function F(e,t){var r,n,i,o,a,s,l;let u=e.collection_id||(null==(n=null==(r=e.format)?void 0:r.collection_pointer)?void 0:n.id);if(u)return u;let c=null==(i=null==e?void 0:e.view_ids)?void 0:i[0];if(c){let e=null==(a=null==(o=t.collection_view)?void 0:o[c])?void 0:a.value;if(e)return null==(l=null==(s=e.format)?void 0:s.collection_pointer)?void 0:l.id}return null}function B(e,t){var r,n;if(null!=(r=e.properties)&&r.title)return D(e.properties.title);if("collection_view_page"===e.type||"collection_view"===e.type){let r=F(e,t);if(r){let e=null==(n=t.collection[r])?void 0:n.value;if(e)return D(e.name)}}return""}function U(e,t){var r,n,i;if(null!=(r=e.format)&&r.page_icon)return null==(n=e.format)?void 0:n.page_icon;if("collection_view_page"===e.type||"collection_view"===e.type){let r=F(e,t);if(r){let e=null==(i=t.collection[r])?void 0:i.value;if(e)return e.icon}}return null}var z=e=>{if(e&&Array.isArray(e)){if("d"===e[0])return e[1];for(let t of e){let e=z(t);if(e)return e}}return null},$=(e,t,{inclusive:r=!1}={})=>{var n,i;let o=e;for(;null!=o;){if(r&&(null==o?void 0:o.type)==="page")return o;let e=o.parent_id,a=o.parent_table;if(!e)break;if("collection"===a)o=null==(n=t.collection[e])?void 0:n.value;else if((null==(o=null==(i=t.block[e])?void 0:i.value)?void 0:o.type)==="page")return o}return null},H={header:0,sub_header:1,sub_sub_header:2},G=(e,t)=>{var r;let n=(null!=(r=e.content)?r:[]).map(e=>{var r,n;let i=null==(r=t.block[e])?void 0:r.value;if(i){let{type:t}=i;if("header"===t||"sub_header"===t||"sub_sub_header"===t)return{id:e,type:t,text:D(null==(n=i.properties)?void 0:n.title),indentLevel:H[t]}}return null}).filter(Boolean),i=[{actual:-1,effective:-1}];for(let e of n){let{indentLevel:t}=e;for(;;){let{actual:r,effective:n}=i[i.length-1];if(t>r)e.indentLevel=n+1,i.push({actual:t,effective:e.indentLevel});else if(t===r){e.indentLevel=n;break}else i.pop()}}return n},V=(e,t)=>{let r=t||Object.keys(e.block)[0],n=new Set;return function t(i){var o,a,s,l;if(n.has(i))return;n.add(i);let u=null==(o=e.block[i])?void 0:o.value;if(!u)return;let{content:c,type:d,properties:f,format:p}=u;if(f)for(let e of Object.keys(f)){let r=f[e];r.map(e=>{var r,n;let i=null==(n=null==(r=null==e?void 0:e[0])?void 0:r[1])?void 0:n[0];(null==i?void 0:i[0])==="p"&&i[1]&&t(i[1])});let n=null==(s=null==(a=null==r?void 0:r[0])?void 0:a[1])?void 0:s[0];(null==n?void 0:n[0])==="p"&&n[1]&&t(n[1])}if(p){let e=null==(l=p.transclusion_reference_pointer)?void 0:l.id;e&&t(e)}if(!(!c||!Array.isArray(c))&&!(i!==r&&("page"===d||"collection_view_page"===d)))for(let e of c)t(e)}(r),Array.from(n)},q=(e="")=>`${e.substr(0,8)}-${e.substr(8,4)}-${e.substr(12,4)}-${e.substr(16,4)}-${e.substr(20)}`,W=/\b([a-f0-9]{32})\b/,Y=/\b([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})\b/,X=(e="",{uuid:t=!0}={})=>{if(!e)return null;let r=(e=e.split("?")[0]).match(W);if(r)return t?q(r[1]):r[1];let n=e.match(Y);return n?t?n[1]:n[1].replace(/-/g,""):null},Z=e=>e.replace(/-/g,""),J=function(e,{cacheKey:t,cache:r=new Map,maxAge:n}={}){"number"==typeof n&&N(r);let i=function(...i){let o=t?t(i):i[0],a=r.get(o);if(a)return a.data;let s=e.apply(this,i);return r.set(o,{data:s,maxAge:n?Date.now()+n:Number.POSITIVE_INFINITY}),s};return function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))T(e,t,n,r);P(e,t),M(e,t,n)}(i,e,{ignoreNonConfigurable:!0}),L.set(i,r),i}(e=>{if(!e)return"";try{if(e.startsWith("https://www.notion.so/image/")){let t=new URL(e),r=decodeURIComponent(t.pathname.substr(7)),n=J(r);t.pathname=`/image/${encodeURIComponent(n)}`,e=t.toString()}return function(e,t){if(t={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...t},e=e.trim(),/^data:/i.test(e))return I(e,t);if(/^view-source:/i.test(e))throw Error("`view-source:` is not supported as it is a non-standard protocol");let r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let n=new URL(e);if(t.forceHttp&&t.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===n.protocol&&(n.protocol="http:"),t.forceHttps&&"http:"===n.protocol&&(n.protocol="https:"),t.stripAuthentication&&(n.username="",n.password=""),t.stripHash?n.hash="":t.stripTextFragment&&(n.hash=n.hash.replace(/#?:~:text.*?$/i,"")),n.pathname){let e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,t=0,r="";for(;;){let i=e.exec(n.pathname);if(!i)break;let o=i[0],a=i.index;r+=n.pathname.slice(t,a).replace(/\/{2,}/g,"/")+o,t=a+o.length}r+=n.pathname.slice(t,n.pathname.length).replace(/\/{2,}/g,"/"),n.pathname=r}if(n.pathname)try{n.pathname=decodeURI(n.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=n.pathname.split("/");R(e[e.length-1],t.removeDirectoryIndex)&&(e=e.slice(0,-1),n.pathname=e.slice(1).join("/")+"/")}if(n.hostname&&(n.hostname=n.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(n.hostname)&&(n.hostname=n.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let e of[...n.searchParams.keys()])R(e,t.removeQueryParameters)&&n.searchParams.delete(e);if(Array.isArray(t.keepQueryParameters)||!0!==t.removeQueryParameters||(n.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(let e of[...n.searchParams.keys()])R(e,t.keepQueryParameters)||n.searchParams.delete(e);if(t.sortQueryParameters){n.searchParams.sort();try{n.search=decodeURIComponent(n.search)}catch{}}t.removeTrailingSlash&&(n.pathname=n.pathname.replace(/\/$/,"")),t.removeExplicitPort&&n.port&&(n.port="");let i=e;return e=n.toString(),t.removeSingleSlash||"/"!==n.pathname||i.endsWith("/")||""!==n.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===n.pathname)&&""===n.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}(e,{stripProtocol:!0,stripWWW:!0,stripHash:!0,stripTextFragment:!0,removeQueryParameters:!0})}catch(e){return""}})},91997:function(e,t,r){"use strict";let n,i;r.d(t,{x7:function(){return ed},ZP:function(){return ef},Am:function(){return F}});var o,a=r(92379);let s={data:""},l=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||s,u=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,c=/\/\*[^]*?\*\/|  +/g,d=/\n+/g,f=(e,t)=>{let r="",n="",i="";for(let o in e){let a=e[o];"@"==o[0]?"i"==o[1]?r=o+" "+a+";":n+="f"==o[1]?f(a,o):o+"{"+f(a,"k"==o[1]?"":t)+"}":"object"==typeof a?n+=f(a,t?t.replace(/([^,])+/g,e=>o.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):o):null!=a&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=f.p?f.p(o,a):o+":"+a+";")}return r+(t&&i?t+"{"+i+"}":i)+n},p={},h=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+h(e[r]);return t}return e},m=(e,t,r,n,i)=>{var o;let a=h(e),s=p[a]||(p[a]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return"go"+r})(a));if(!p[s]){let t=a!==e?e:(e=>{let t,r,n=[{}];for(;t=u.exec(e.replace(c,""));)t[4]?n.shift():t[3]?(r=t[3].replace(d," ").trim(),n.unshift(n[0][r]=n[0][r]||{})):n[0][t[1]]=t[2].replace(d," ").trim();return n[0]})(e);p[s]=f(i?{["@keyframes "+s]:t}:t,r?"":"."+s)}let l=r&&p.g?p.g:null;return r&&(p.g=p[s]),o=p[s],l?t.data=t.data.replace(l,o):-1===t.data.indexOf(o)&&(t.data=n?o+t.data:t.data+o),s},g=(e,t,r)=>e.reduce((e,n,i)=>{let o=t[i];if(o&&o.call){let e=o(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":f(e,""):!1===e?"":e}return e+n+(null==o?"":o)},"");function v(e){let t=this||{},r=e.call?e(t.p):e;return m(r.unshift?r.raw?g(r,[].slice.call(arguments,1),t.p):r.reduce((e,r)=>Object.assign(e,r&&r.call?r(t.p):r),{}):r,l(t.target),t.g,t.o,t.k)}v.bind({g:1});let y,b,w,_=v.bind({k:1});function x(e,t){let r=this||{};return function(){let n=arguments;function i(o,a){let s=Object.assign({},o),l=s.className||i.className;r.p=Object.assign({theme:b&&b()},s),r.o=/ *go\d+/.test(l),s.className=v.apply(r,n)+(l?" "+l:""),t&&(s.ref=a);let u=e;return e[0]&&(u=s.as||e,delete s.as),w&&u[0]&&w(s),y(u,s)}return t?t(i):i}}var S=e=>"function"==typeof e,E=(e,t)=>S(e)?e(t):e,k=(n=0,()=>(++n).toString()),T=()=>{if(void 0===i&&"u">typeof window){let e=matchMedia("(prefers-reduced-motion: reduce)");i=!e||e.matches}return i},A=new Map,P=e=>{if(A.has(e))return;let t=setTimeout(()=>{A.delete(e),N({type:4,toastId:e})},1e3);A.set(e,t)},O=e=>{let t=A.get(e);t&&clearTimeout(t)},j=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&O(t.toast.id),{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return e.toasts.find(e=>e.id===r.id)?j(e,{type:1,toast:r}):j(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?P(n):e.toasts.forEach(e=>{P(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===n||void 0===n?{...e,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+i}))}}},C=[],M={toasts:[],pausedAt:void 0},N=e=>{M=j(M,e),C.forEach(e=>{e(M)})},L={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},R=(e={})=>{let[t,r]=(0,a.useState)(M);(0,a.useEffect)(()=>(C.push(r),()=>{let e=C.indexOf(r);e>-1&&C.splice(e,1)}),[t]);let n=t.toasts.map(t=>{var r,n;return{...e,...e[t.type],...t,duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||L[t.type],style:{...e.style,...null==(n=e[t.type])?void 0:n.style,...t.style}}});return{...t,toasts:n}},I=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(null==r?void 0:r.id)||k()}),D=e=>(t,r)=>{let n=I(t,e,r);return N({type:2,toast:n}),n.id},F=(e,t)=>D("blank")(e,t);F.error=D("error"),F.success=D("success"),F.loading=D("loading"),F.custom=D("custom"),F.dismiss=e=>{N({type:3,toastId:e})},F.remove=e=>N({type:4,toastId:e}),F.promise=(e,t,r)=>{let n=F.loading(t.loading,{...r,...null==r?void 0:r.loading});return e.then(e=>(F.success(E(t.success,e),{id:n,...r,...null==r?void 0:r.success}),e)).catch(e=>{F.error(E(t.error,e),{id:n,...r,...null==r?void 0:r.error})}),e};var B=(e,t)=>{N({type:1,toast:{id:e,height:t}})},U=()=>{N({type:5,time:Date.now()})},z=e=>{let{toasts:t,pausedAt:r}=R(e);(0,a.useEffect)(()=>{if(r)return;let e=Date.now(),n=t.map(t=>{if(t.duration===1/0)return;let r=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(r<0){t.visible&&F.dismiss(t.id);return}return setTimeout(()=>F.dismiss(t.id),r)});return()=>{n.forEach(e=>e&&clearTimeout(e))}},[t,r]);let n=(0,a.useCallback)(()=>{r&&N({type:6,time:Date.now()})},[r]),i=(0,a.useCallback)((e,r)=>{let{reverseOrder:n=!1,gutter:i=8,defaultPosition:o}=r||{},a=t.filter(t=>(t.position||o)===(e.position||o)&&t.height),s=a.findIndex(t=>t.id===e.id),l=a.filter((e,t)=>t<s&&e.visible).length;return a.filter(e=>e.visible).slice(...n?[l+1]:[0,l]).reduce((e,t)=>e+(t.height||0)+i,0)},[t]);return{toasts:t,handlers:{updateHeight:B,startPause:U,endPause:n,calculateOffset:i}}},$=_`
from {
  transform: scale(0) rotate(45deg);
	opacity: 0;
}
to {
 transform: scale(1) rotate(45deg);
  opacity: 1;
}`,H=_`
from {
  transform: scale(0);
  opacity: 0;
}
to {
  transform: scale(1);
  opacity: 1;
}`,G=_`
from {
  transform: scale(0) rotate(90deg);
	opacity: 0;
}
to {
  transform: scale(1) rotate(90deg);
	opacity: 1;
}`,V=x("div")`
  width: 20px;
  opacity: 0;
  height: 20px;
  border-radius: 10px;
  background: ${e=>e.primary||"#ff4b4b"};
  position: relative;
  transform: rotate(45deg);

  animation: ${$} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
  animation-delay: 100ms;

  &:after,
  &:before {
    content: '';
    animation: ${H} 0.15s ease-out forwards;
    animation-delay: 150ms;
    position: absolute;
    border-radius: 3px;
    opacity: 0;
    background: ${e=>e.secondary||"#fff"};
    bottom: 9px;
    left: 4px;
    height: 2px;
    width: 12px;
  }

  &:before {
    animation: ${G} 0.15s ease-out forwards;
    animation-delay: 180ms;
    transform: rotate(90deg);
  }
`,q=_`
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
`,W=x("div")`
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: ${e=>e.secondary||"#e0e0e0"};
  border-right-color: ${e=>e.primary||"#616161"};
  animation: ${q} 1s linear infinite;
`,Y=_`
from {
  transform: scale(0) rotate(45deg);
	opacity: 0;
}
to {
  transform: scale(1) rotate(45deg);
	opacity: 1;
}`,X=_`
0% {
	height: 0;
	width: 0;
	opacity: 0;
}
40% {
  height: 0;
	width: 6px;
	opacity: 1;
}
100% {
  opacity: 1;
  height: 10px;
}`,Z=x("div")`
  width: 20px;
  opacity: 0;
  height: 20px;
  border-radius: 10px;
  background: ${e=>e.primary||"#61d345"};
  position: relative;
  transform: rotate(45deg);

  animation: ${Y} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
  animation-delay: 100ms;
  &:after {
    content: '';
    box-sizing: border-box;
    animation: ${X} 0.2s ease-out forwards;
    opacity: 0;
    animation-delay: 200ms;
    position: absolute;
    border-right: 2px solid;
    border-bottom: 2px solid;
    border-color: ${e=>e.secondary||"#fff"};
    bottom: 6px;
    left: 6px;
    height: 10px;
    width: 6px;
  }
`,J=x("div")`
  position: absolute;
`,K=x("div")`
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  min-height: 20px;
`,Q=_`
from {
  transform: scale(0.6);
  opacity: 0.4;
}
to {
  transform: scale(1);
  opacity: 1;
}`,ee=x("div")`
  position: relative;
  transform: scale(0.6);
  opacity: 0.4;
  min-width: 20px;
  animation: ${Q} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
`,et=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return void 0!==t?"string"==typeof t?a.createElement(ee,null,t):t:"blank"===r?null:a.createElement(K,null,a.createElement(W,{...n}),"loading"!==r&&a.createElement(J,null,"error"===r?a.createElement(V,{...n}):a.createElement(Z,{...n})))},er=e=>`
0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
`,en=e=>`
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}
`,ei=x("div")`
  display: flex;
  align-items: center;
  background: #fff;
  color: #363636;
  line-height: 1.3;
  will-change: transform;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
  max-width: 350px;
  pointer-events: auto;
  padding: 8px 10px;
  border-radius: 8px;
`,eo=x("div")`
  display: flex;
  justify-content: center;
  margin: 4px 10px;
  color: inherit;
  flex: 1 1 auto;
  white-space: pre-line;
`,ea=(e,t)=>{let r=e.includes("top")?1:-1,[n,i]=T()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[er(r),en(r)];return{animation:t?`${_(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${_(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},es=a.memo(({toast:e,position:t,style:r,children:n})=>{let i=e.height?ea(e.position||t||"top-center",e.visible):{opacity:0},o=a.createElement(et,{toast:e}),s=a.createElement(eo,{...e.ariaProps},E(e.message,e));return a.createElement(ei,{className:e.className,style:{...i,...r,...e.style}},"function"==typeof n?n({icon:o,message:s}):a.createElement(a.Fragment,null,o,s))});o=a.createElement,f.p=void 0,y=o,b=void 0,w=void 0;var el=({id:e,className:t,style:r,onHeightUpdate:n,children:i})=>{let o=a.useCallback(t=>{if(t){let r=()=>{n(e,t.getBoundingClientRect().height)};r(),new MutationObserver(r).observe(t,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return a.createElement("div",{ref:o,className:t,style:r},i)},eu=(e,t)=>{let r=e.includes("top"),n=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:T()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...r?{top:0}:{bottom:0},...n}},ec=v`
  z-index: 9999;
  > * {
    pointer-events: auto;
  }
`,ed=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:o,containerClassName:s})=>{let{toasts:l,handlers:u}=z(r);return a.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...o},className:s,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(r=>{let o=r.position||t,s=eu(o,u.calculateOffset(r,{reverseOrder:e,gutter:n,defaultPosition:t}));return a.createElement(el,{id:r.id,key:r.id,onHeightUpdate:u.updateHeight,className:r.visible?ec:"",style:s},"custom"===r.type?E(r.message,r):i?i(r):a.createElement(es,{toast:r,position:o}))}))},ef=F},10546:function(e,t,r){"use strict";r.d(t,{YD:function(){return u}});var n=r(92379),i=Object.defineProperty,o=new Map,a=new WeakMap,s=0,l=void 0;function u({threshold:e,delay:t,trackVisibility:r,rootMargin:i,root:u,triggerOnce:c,skip:d,initialInView:f,fallbackInView:p,onChange:h}={}){var m;let[g,v]=n.useState(null),y=n.useRef(),[b,w]=n.useState({inView:!!f,entry:void 0});y.current=h,n.useEffect(()=>{let n;if(!d&&g)return n=function(e,t,r={},n=l){if(void 0===window.IntersectionObserver&&void 0!==n){let i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:u,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?(r=e.root)?(a.has(r)||(s+=1,a.set(r,s.toString())),a.get(r)):"0":e[t]}`}).toString(),r=o.get(t);if(!r){let n;let i=new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{var r;let o=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(r=i.get(t.target))||r.forEach(e=>{e(o,t)})})},e);n=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:a,elements:i},o.set(t,r)}return r}(r),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),u.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),u.unobserve(e)),0===c.size&&(u.disconnect(),o.delete(i))}}(g,(e,t)=>{w({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&c&&n&&(n(),n=void 0)},{root:u,rootMargin:i,threshold:e,trackVisibility:r,delay:t},p),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,g,u,i,c,d,r,p,t]);let _=null==(m=b.entry)?void 0:m.target,x=n.useRef();g||!_||c||d||x.current===_||(x.current=_,w({inView:!!f,entry:void 0}));let S=[v,b.inView,b.entry];return S.ref=S[0],S.inView=S[1],S.entry=S[2],S}n.Component},98001:function(e,t,r){"use strict";r.d(t,{_T:function(){return i},ev:function(){return o},pi:function(){return n}});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function o(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(27517),t(35005),t(85544)}),_N_E=e.O()}]);